KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > persistence > antlr > StringLiteralSymbol


1 package persistence.antlr;
2
3 /* ANTLR Translator Generator
4  * Project led by Terence Parr at http://www.jGuru.com
5  * Software rights: http://www.antlr.org/license.html
6  *
7  */

8
9 class StringLiteralSymbol extends TokenSymbol {
10     protected String JavaDoc label; // was this string literal labeled?
11

12
13     public StringLiteralSymbol(String JavaDoc r) {
14         super(r);
15     }
16
17     public String JavaDoc getLabel() {
18         return label;
19     }
20
21     public void setLabel(String JavaDoc label) {
22         this.label = label;
23     }
24 }
25
Popular Tags