Lines Matching full:follow
99 /// symbols that can follow rule ref.
101 const UnitType* match(ANTLR_UINT32 ttype, BitsetListType* follow);
118 /// follow the one we were looking for, in which case the one we were looking for is
121 bool mismatchIsMissingToken(IntStreamType* input, BitsetListType* follow);
124 /// differently. Override and call mismatchRecover(input, ttype, follow)
131 void mismatch(ANTLR_UINT32 ttype, BitsetListType* follow);
198 /// follow that rule reference on the stack; this amounts to
200 /// enclosing rule. This local follow set only includes tokens
209 /// can legally follow a call to r *or* any rule that called r.
224 /// At each rule invocation, the set of tokens that could follow
226 /// follow sets:
228 /// FOLLOW(b1_in_a) = FIRST(']') = ']'
229 /// FOLLOW(b2_in_a) = FIRST(')') = ')'
230 /// FOLLOW(c_in_b) = FIRST('^') = '^'
236 /// and, hence, the follow context stack is:
238 /// depth local follow set after call to rule
247 /// For error recovery, we cannot consider FOLLOW(c)
249 /// all context-sensitive FOLLOW sets--the set of all tokens that
250 /// could follow any reference in the call chain. We need to
251 /// resync to one of those tokens. Note that FOLLOW(c)='^' and if
284 /// Like Grosch I implemented local FOLLOW sets that are combined
289 /// Compute the context-sensitive FOLLOW set for current rule.
292 /// This is the set of token types that can follow a specific rule
296 /// definition of plain FOLLOW for rule r:
298 /// FOLLOW(r)={x | S=>*alpha r beta in G and x in FIRST(beta)}
302 /// FOLLOW(r) is the set of all tokens that can possibly follow
310 /// stat : ID '=' expr ';' // FOLLOW(stat)=={EOF}
313 /// expr : atom ('+' atom)* ; // FOLLOW(expr)=={';','.',')'}
314 /// atom : INT // FOLLOW(atom)=={'+',')',';','.'}
318 /// The FOLLOW sets are all inclusive whereas context-sensitive
319 /// FOLLOW sets are precisely what could follow a rule reference.
333 /// What can follow that specific nested ref to atom? Exactly ')'
335 /// input. Contrast this with the FOLLOW(atom)={'+',')',';','.'}.
375 /// is in the set of tokens that can follow the ')' token
382 const UnitType* recoverFromMismatchedToken( ANTLR_UINT32 ttype, BitsetListType* follow);
387 const UnitType* recoverFromMismatchedSet(BitsetListType* follow);
396 bool recoverFromMismatchedElement(BitsetListType* follow);
478 BitsetListType* follow);