Lines Matching defs:set

91             set;
128 * to the set of symbols that can follow rule ref.
173 // if current token is consistent with what could come after set
181 // in follow set to indicate that the fall of the start symbol is
182 // in the set (EOF can follow).
200 * 3. consume until token found in resynch set
306 " expecting set " + mse.Expecting;
310 " expecting set " + mse.Expecting;
381 // where LT(1) is in the recovery token set so nothing is
404 /* Compute the error recovery set for the current rule. During
405 * rule invocation, the parser pushes the set of tokens that can
408 * enclosing rule. This local follow set only includes tokens
418 * You don't want the exact set of viable next tokens because the
432 * At each rule invocation, the set of tokens that could follow
446 * depth local follow set after call to rule
456 * (context-sensitive or otherwise). We need the combined set of
457 * all context-sensitive FOLLOW sets--the set of all tokens that
462 * In this case, for input "[]", LA(1) is in this set so we would
467 * set). The rule exception handler tries to recover, but finds
468 * the same recovery set and doesn't consume anything. Rule b
473 * for the token that was a member of the recovery set.
500 * Compute the context-sensitive FOLLOW set for current rule.
501 * This is set of token types that can follow a specific rule
502 * reference given a specific call chain. You get the set of
510 * where x in T* and alpha, beta in V*; T is set of terminals and
511 * V is the set of terminals and nonterminals. In other words,
512 * FOLLOW(r) is the set of all tokens that can possibly follow
516 * than covering superset) set of following tokens.
547 * You want the exact viable token set when recovering from a
549 * the viable next token set, then you know there is most likely
558 // if EOR is in set i. When it sees a set w/o EOR, it stops adding.
574 // Only leave EOR in set if at top (start rule); this lets
613 * is in the set of tokens that can follow the ')' token
713 /** <summary>Consume tokens until one matches the given token set</summary> */
714 public virtual void ConsumeUntil(IIntStream input, BitSet set) {
715 //System.out.println("consumeUntil("+set.toString(getTokenNames())+")");
717 while (ttype != TokenTypes.EndOfFile && !set.Member(ttype)) {
724 /** <summary>Push a rule's follow set using our own hardcoded stack</summary> */
780 set {