Beispiel #1
0
 public void setRootScope()
 {
     scope       = new NameBindingScope(this);
     self        = scope.declareSelf();
     super       = scope.declareSuper();
     thisContext = scope.declareThisContext();
 }
Beispiel #2
0
        public PseudovariableSuper declareSuper()
        {
            StackResidentDeclaration super;

            if (!localBindings.TryGetValue(Context.SuperSymbol, out super))
            {
                super = new PseudovariableSuper(this);
                localBindings[Context.SuperSymbol] = super;
            }
            return((PseudovariableSuper)super);
        }