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