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) { super(parser, parser.getInterpreter().atn); optimize_ll1 = false; reportAmbiguities = true; numDecisions = atn.decisionToState.size(); decisions = new DecisionInfo[numDecisions]; for (int i=0; i<numDecisions; i++) { decisions[i] = new DecisionInfo(i); } }
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) { 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) { 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); } }