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 AlternativeElement extends GrammarElement {
10: AlternativeElement next;
11: protected int autoGenType = AUTO_GEN_NONE;
12:
13: protected String enclosingRuleName;
14:
15: public AlternativeElement(Grammar g) {
16: super (g);
17: }
18:
19: public AlternativeElement(Grammar g, Token start) {
20: super (g, start);
21: }
22:
23: public AlternativeElement(Grammar g, Token start, int autoGenType_) {
24: super (g, start);
25: autoGenType = autoGenType_;
26: }
27:
28: public int getAutoGenType() {
29: return autoGenType;
30: }
31:
32: public void setAutoGenType(int a) {
33: autoGenType = a;
34: }
35:
36: public String getLabel() {
37: return null;
38: }
39:
40: public void setLabel(String label) {
41: }
42: }
|