Lines Matching refs:follow
197 def match(self, input, ttype, follow): argument
221 matchedSymbol = self.recoverFromMismatchedToken(input, ttype, follow)
236 def mismatchIsMissingToken(self, input, follow): argument
237 if follow is None:
243 if EOR_TOKEN_TYPE in follow:
245 follow = follow | viableTokensFollowingThisRule
249 follow = follow - set([EOR_TOKEN_TYPE])
254 if input.LA(1) in follow or EOR_TOKEN_TYPE in follow:
668 def recoverFromMismatchedToken(self, input, ttype, follow): argument
720 if self.mismatchIsMissingToken(input, follow):
721 inserted = self.getMissingSymbol(input, e, ttype, follow)
733 def recoverFromMismatchedSet(self, input, e, follow): argument
736 if self.mismatchIsMissingToken(input, follow):
739 return self.getMissingSymbol(input, e, INVALID_TOKEN_TYPE, follow)
760 def getMissingSymbol(self, input, e, expectedTokenType, follow): argument
1383 def getMissingSymbol(self, input, e, expectedTokenType, follow): argument