Lines Matching refs:FOLLOW
550 * FOLLOW(b1_in_a) = FIRST(']') = ']'
551 * FOLLOW(b2_in_a) = FIRST(')') = ')'
552 * FOLLOW(c_in_b) = FIRST('^') = '^'
569 * For error recovery, we cannot consider FOLLOW(c)
571 * all context-sensitive FOLLOW sets--the set of all tokens that
573 * resync to one of those tokens. Note that FOLLOW(c)='^' and if
606 * Like Grosch I implemented local FOLLOW sets that are combined
614 /** Compute the context-sensitive FOLLOW set for current rule.
619 * definition of plain FOLLOW for rule r:
621 * FOLLOW(r)={x | S=>*alpha r beta in G and x in FIRST(beta)}
625 * FOLLOW(r) is the set of all tokens that can possibly follow
633 * stat : ID '=' expr ';' // FOLLOW(stat)=={EOF}
636 * expr : atom ('+' atom)* ; // FOLLOW(expr)=={';','.',')'}
637 * atom : INT // FOLLOW(atom)=={'+',')',';','.'}
641 * The FOLLOW sets are all inclusive whereas context-sensitive
642 * FOLLOW sets are precisely what could follow a rule reference.
658 * input. Contrast this with the FOLLOW(atom)={'+',')',';','.'}.