01: package persistence.antlr;
02:
03: /* ANTLR Translator Generator
04: * Project led by Terence Parr at http://www.jGuru.com
05: * Software rights: http://www.antlr.org/license.html
06: *
07: */
08:
09: abstract class BlockWithImpliedExitPath extends AlternativeBlock {
10: protected int exitLookaheadDepth; // lookahead needed to handle optional path
11: /** lookahead to bypass block; set
12: * by deterministic(). 1..k of Lookahead
13: */
14: protected Lookahead[] exitCache = new Lookahead[grammar.maxk + 1];
15:
16: public BlockWithImpliedExitPath(Grammar g) {
17: super (g);
18: }
19:
20: public BlockWithImpliedExitPath(Grammar g, Token start) {
21: super (g, start, false);
22: }
23: }
|