Lines Matching refs:LA
134 if (input.LA(1) == ttype) {
156 return input.LA(2) == ttype;
183 if (follow.Member(input.LA(1)) || follow.Member(TokenTypes.EndOfRule)) {
462 * In this case, for input "[]", LA(1) is in this set so we would
466 * exception (since LA(1) is not in the viable following token
548 * token mismatch. Upon token mismatch, if LA(1) is member of
591 * LA(1) is not what we are looking for. If LA(2) has the right token,
592 * however, then assume LA(1) is some extra spurious token. Delete it
593 * and LA(2) as if we were doing a normal match(), which advances the
612 * mismatched token error. To recover, it sees that LA(1)==';'
706 int ttype = input.LA(1);
709 ttype = input.LA(1);
716 int ttype = input.LA(1);
718 //System.out.println("consume during recover LA(1)="+getTokenNames()[input.LA(1)]);
720 ttype = input.LA(1);