KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > persistence > antlr > CommonHiddenStreamToken


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