示例#1
0
 public void setRootScope()
 {
     scope       = new NameBindingScope(this);
     self        = scope.declareSelf();
     super       = scope.declareSuper();
     thisContext = scope.declareThisContext();
 }
示例#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);
        }