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(); }
public static GlobalMethodTable GetInstance() { return(_self ?? (_self = new GlobalMethodTable())); }