public ProfilingATNSimulator(Parser parser) {super(parser,parser.getInterpreter().atn,parser.getInterpreter().decisionToDFA,parser.getInterpreter().sharedContextCache);numDecisions = atn.decisionToState.size();decisions = new DecisionInfo[numDecisions];for (int i=0; i<numDecisions; i++) {decisions[i] = new DecisionInfo(i);}}
public ProfilingATNSimulator(Parser parser): base(parser,parser.Interpreter.atn,parser.Interpreter.decisionToDFA,parser.Interpreter.getSharedContextCache()){numDecisions = atn.decisionToState.Count;decisions = new DecisionInfo[numDecisions];for (int i = 0; i < numDecisions; i++){decisions[i] = new DecisionInfo(i);}}