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