01: package antlr.debug;
02:
03: public abstract class GuessingEvent extends Event {
04: private int guessing;
05:
06: public GuessingEvent(Object source) {
07: super (source);
08: }
09:
10: public GuessingEvent(Object source, int type) {
11: super (source, type);
12: }
13:
14: public int getGuessing() {
15: return guessing;
16: }
17:
18: void setGuessing(int guessing) {
19: this .guessing = guessing;
20: }
21:
22: /** This should NOT be called from anyone other than ParserEventSupport! */
23: void setValues(int type, int guessing) {
24: super.setValues(type);
25: setGuessing(guessing);
26: }
27: }
|