Example #1
0
 public ProgramGraph()
 {
     _refCounter      = 1;
     _current         = null;
     _root            = new ScopeNode("#ROOT#", ulong.MaxValue);
     _symbolTable     = GlobalSymbolTable.GetInstance();
     _methodTable     = GlobalMethodTable.GetInstance();
     _current         = _root;
     ProgramInit      = false;
     _instructionBase = new InstructionBase();
 }
Example #2
0
 public static GlobalMethodTable GetInstance()
 {
     return(_self ?? (_self = new GlobalMethodTable()));
 }