Package antlr.debug

Class ParserMatchEvent

    • Field Detail

      • 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 Detail

      • 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 Detail

      • 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!