KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > antlr > CommonHiddenStreamToken


1 package antlr;
2
3 /* ANTLR Translator Generator
4  * Project led by Terence Parr at http://www.jGuru.com
5  * Software rights: http://www.antlr.org/RIGHTS.html
6  *
7  * $Id: //depot/code/org.antlr/main/main/antlr/CommonHiddenStreamToken.java#4 $
8  */

9
10 public class CommonHiddenStreamToken extends CommonToken {
11     protected CommonHiddenStreamToken hiddenBefore;
12     protected CommonHiddenStreamToken hiddenAfter;
13
14     public CommonHiddenStreamToken() {
15         super();
16     }
17
18     public CommonHiddenStreamToken(int t, String JavaDoc txt) {
19         super(t, txt);
20     }
21
22     public CommonHiddenStreamToken(String JavaDoc s) {
23         super(s);
24     }
25
26     public CommonHiddenStreamToken getHiddenAfter() {
27         return hiddenAfter;
28     }
29
30     public CommonHiddenStreamToken getHiddenBefore() {
31         return hiddenBefore;
32     }
33
34     protected void setHiddenAfter(CommonHiddenStreamToken t) {
35         hiddenAfter = t;
36     }
37
38     protected void setHiddenBefore(CommonHiddenStreamToken t) {
39         hiddenBefore = t;
40     }
41 }
42
Popular Tags