GuessingEvent.java
上传用户:afrynkmhm
上传日期:2007-01-06
资源大小:1262k
文件大小:1k
源码类别:

编译器/解释器

开发平台:

Others

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