示例#1
0
        private List <string> ASMCLabels;             // extern labels

        public ScopeStructure(ScopeStructure <T> parentScope)
        {
            this.ParentScope    = parentScope;
            this.childScopes    = new List <ScopeStructure <T> >();
            this.definedSymbols = new Dictionary <string, IExpression <T> >();
            this.localLabels    = new Dictionary <string, int>();
            this.ASMCLabels     = new List <string>();
        }
 public void AddChildScope(ScopeStructure <T> newChildScope)
 {
     this.childScopes.Add(newChildScope);
 }