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: class ZeroOrMoreBlock extends BlockWithImpliedExitPath {
10:
11: public ZeroOrMoreBlock(Grammar g) {
12: super (g);
13: }
14:
15: public ZeroOrMoreBlock(Grammar g, Token start) {
16: super (g, start);
17: }
18:
19: public void generate() {
20: grammar.generator.gen(this );
21: }
22:
23: public Lookahead look(int k) {
24: return grammar.theLLkAnalyzer.look(k, this );
25: }
26:
27: public String toString() {
28: return super .toString() + "*";
29: }
30: }
|