1 package antlr; 2 3 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 txt) { 19 super(t, txt); 20 } 21 22 public CommonHiddenStreamToken(String 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 |