public void setRootScope() { scope = new NameBindingScope(this); self = scope.declareSelf(); super = scope.declareSuper(); thisContext = scope.declareThisContext(); }
public PseudovariableThisContext declareThisContext() { StackResidentDeclaration thisContext; if (!localBindings.TryGetValue(Context.ThisContextSymbol, out thisContext)) { thisContext = new PseudovariableThisContext(this); localBindings[Context.ThisContextSymbol] = thisContext; } return((PseudovariableThisContext)thisContext); }