Esempio n. 1
0
 internal VAR get_outer_local(string id, BLOCK block, int depth, YYLTYPE location)
 {
     if (defined_statically(id))
         return new StaticOuterVar(id, block, depth, location);
     else if (defined_dynamically(id))
         return new DynamicOuterVar(id, block, depth, location);
     else
         return block_parent.get_outer_local(id, block, depth + 1, location);
 }
Esempio n. 2
0
 internal DynamicLocalVar(string vid, BLOCK block, YYLTYPE location): base(vid, block, location)
 {
 }
Esempio n. 3
0
 internal DynamicOuterVar(string vid, BLOCK block, int depth, YYLTYPE location): base(vid, block, depth, location)
 {
 }
Esempio n. 4
0
 internal StaticOuterVar(string vid, BLOCK block, int depth, YYLTYPE location): base(vid, location)
 {
     this.block = block;
     this.depth = depth;
 }