Lines Matching refs:ruleIndex
911 def getRuleMemoization(self, ruleIndex, ruleStartIndex): argument
920 if ruleIndex not in self._state.ruleMemo:
921 self._state.ruleMemo[ruleIndex] = {}
923 return self._state.ruleMemo[ruleIndex].get(
928 def alreadyParsedRule(self, input, ruleIndex): argument
940 stopIndex = self.getRuleMemoization(ruleIndex, input.index())
953 def memoize(self, input, ruleIndex, ruleStartIndex, success): argument
964 if ruleIndex in self._state.ruleMemo:
965 self._state.ruleMemo[ruleIndex][ruleStartIndex] = stopTokenIndex
968 def traceIn(self, ruleName, ruleIndex, inputSymbol): argument
977 def traceOut(self, ruleName, ruleIndex, inputSymbol): argument
1343 def traceIn(self, ruleName, ruleIndex): argument
1349 BaseRecognizer.traceIn(self, ruleName, ruleIndex, inputSymbol)
1352 def traceOut(self, ruleName, ruleIndex): argument
1358 BaseRecognizer.traceOut(self, ruleName, ruleIndex, inputSymbol)
1416 def traceIn(self, ruleName, ruleIndex): argument
1417 BaseRecognizer.traceIn(self, ruleName, ruleIndex, self.input.LT(1))
1420 def traceOut(self, ruleName, ruleIndex): argument
1421 BaseRecognizer.traceOut(self, ruleName, ruleIndex, self.input.LT(1))