01: package antlr;
02:
03: /* ANTLR Translator Generator
04: * Project led by Terence Parr at http://www.cs.usfca.edu
05: * Software rights: http://www.antlr.org/license.html
06: */
07:
08: class StringLiteralSymbol extends TokenSymbol {
09: protected String label; // was this string literal labeled?
10:
11: public StringLiteralSymbol(String r) {
12: super (r);
13: }
14:
15: public String getLabel() {
16: return label;
17: }
18:
19: public void setLabel(String label) {
20: this.label = label;
21: }
22: }
|