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

            if (!localBindings.TryGetValue(Context.SelfSymbol, out self))
            {
                self = new PseudovariableSelf(this);
                localBindings[Context.SelfSymbol] = self;
            }
            return((PseudovariableSelf)self);
        }