Logo Search packages:      
Sourcecode: jflex version File versions

boolean java_cup::runtime::lr_parser::advance_lookahead (  )  [inline, protected]

Advance to next "parse ahead" input Symbol. Return true if we have input to advance to, false otherwise.

Definition at line 1000 of file lr_parser.java.

References error_sync_size(), and lookahead_pos.

Referenced by parse_lookahead(), and try_parse_ahead().

    {
      /* advance the input location */
      lookahead_pos++;

      /* return true if we didn't go off the end */
      return lookahead_pos < error_sync_size();
    }


Generated by  Doxygen 1.6.0   Back to index