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

            if (!localBindings.TryGetValue(Context.ThisContextSymbol, out thisContext))
            {
                thisContext = new PseudovariableThisContext(this);
                localBindings[Context.ThisContextSymbol] = thisContext;
            }
            return((PseudovariableThisContext)thisContext);
        }