5 public class TokenEventArgs
: ANTLREventArgs
7 public TokenEventArgs()
10 public TokenEventArgs(int type
, int amount
, int val
)
12 setValues(type
, amount
, val
);
15 public virtual int Amount
17 get { return amount; }
18 set { this.amount = value; }
21 public virtual int Value
23 get { return this.value_; }
24 set { this.value_ = value; }
30 public static int LA
= 0;
31 public static int CONSUME
= 1;
34 /// <summary>This should NOT be called from anyone other than ParserEventSupport!
36 internal void setValues(int type
, int amount
, int val
)
43 public override string ToString()
46 return "ParserTokenEvent [LA," + Amount
+ "," + Value
+ "]";
48 return "ParserTokenEvent [consume,1," + Value
+ "]";