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 GlobalSymbolTable GetInstance()
 {
     return(_self ?? (_self = new GlobalSymbolTable()));
 }
Example #3
0
 private GlobalMethodTable()
 {
     _tables      = new Dictionary <ulong, MethodTable>();
     _typeTable   = TypeTable.GetInstance();
     _symbolTable = GlobalSymbolTable.GetInstance();
 }