Lines Matching refs:follow
141 public virtual object Match( IIntStream input, int ttype, BitSet follow ) in Match() argument
157 matchedSymbol = RecoverFromMismatchedToken( input, ttype, follow ); in Match()
174 public virtual bool MismatchIsMissingToken( IIntStream input, BitSet follow ) in MismatchIsMissingToken() argument
176 if ( follow == null ) in MismatchIsMissingToken()
183 if ( follow.Member( TokenTypes.EndOfRule ) ) in MismatchIsMissingToken()
186 follow = follow.Or( viableTokensFollowingThisRule ); in MismatchIsMissingToken()
189 follow.Remove( TokenTypes.EndOfRule ); in MismatchIsMissingToken()
202 if ( follow.Member( input.LA( 1 ) ) || follow.Member( TokenTypes.EndOfRule ) ) in MismatchIsMissingToken()
695 … protected virtual object RecoverFromMismatchedToken( IIntStream input, int ttype, BitSet follow ) in RecoverFromMismatchedToken() argument
717 if ( MismatchIsMissingToken( input, follow ) ) in RecoverFromMismatchedToken()
719 object inserted = GetMissingSymbol( input, e, ttype, follow ); in RecoverFromMismatchedToken()
732 BitSet follow ) in RecoverFromMismatchedSet() argument
734 if ( MismatchIsMissingToken( input, follow ) ) in RecoverFromMismatchedSet()
739 return GetMissingSymbol( input, e, TokenTypes.Invalid, follow ); in RecoverFromMismatchedSet()
785 BitSet follow ) in GetMissingSymbol() argument