Package antlr.debug

Class ParserMatchEvent

All Implemented Interfaces:
Serializable

public class ParserMatchEvent extends GuessingEvent
See Also:
  • Field Details

    • TOKEN

      public static int TOKEN
    • BITSET

      public static int BITSET
    • CHAR

      public static int CHAR
    • CHAR_BITSET

      public static int CHAR_BITSET
    • STRING

      public static int STRING
    • CHAR_RANGE

      public static int CHAR_RANGE
  • Constructor Details

    • ParserMatchEvent

      public ParserMatchEvent(Object source)
    • ParserMatchEvent

      public ParserMatchEvent(Object source, int type, int value, Object target, String text, int guessing, boolean inverse, boolean matched)
  • Method Details

    • getTarget

      public Object getTarget()
    • getText

      public String getText()
    • getValue

      public int getValue()
    • isInverse

      public boolean isInverse()
    • isMatched

      public boolean isMatched()
    • setInverse

      void setInverse(boolean inverse)
    • setMatched

      void setMatched(boolean matched)
    • setTarget

      void setTarget(Object target)
    • setText

      void setText(String text)
    • setValue

      void setValue(int value)
    • setValues

      void setValues(int type, int value, Object target, String text, int guessing, boolean inverse, boolean matched)
      This should NOT be called from anyone other than ParserEventSupport!
    • toString

      public String toString()
      Overrides:
      toString in class EventObject