KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > antlr > debug > GuessingEvent


1 package antlr.debug;
2
3 public abstract class GuessingEvent extends Event {
4     private int guessing;
5
6
7     public GuessingEvent(Object JavaDoc source) {
8         super(source);
9     }
10     public GuessingEvent(Object JavaDoc source, int type) {
11         super(source, type);
12     }
13     public int getGuessing() {
14         return guessing;
15     }
16     void setGuessing(int guessing) {
17         this.guessing = guessing;
18     }
19     /** This should NOT be called from anyone other than ParserEventSupport! */
20     void setValues(int type, int guessing) {
21         super.setValues(type);
22         setGuessing(guessing);
23     }
24 }
Popular Tags