code: TypedScope createScope(Node n) {
      TypedScope s = memoized.get(n);
      return s != null
          ? s
          : createScope(n, createScope(NodeUtil.getEnclosingScopeRoot(n.getParent())));
    }
docs: Create a scope if it doesn't already exist, looking up in the map for the parent scope.