Package antlr

Class MismatchedTokenException

    • Constructor Detail

      • MismatchedTokenException

        public MismatchedTokenException()
        Looking for AST wildcard, didn't find it
      • MismatchedTokenException

        public MismatchedTokenException​(java.lang.String[] tokenNames_,
                                        AST node_,
                                        int lower,
                                        int upper_,
                                        boolean matchNot)
      • MismatchedTokenException

        public MismatchedTokenException​(java.lang.String[] tokenNames_,
                                        AST node_,
                                        int expecting_,
                                        boolean matchNot)
      • MismatchedTokenException

        public MismatchedTokenException​(java.lang.String[] tokenNames_,
                                        AST node_,
                                        BitSet set_,
                                        boolean matchNot)
      • MismatchedTokenException

        public MismatchedTokenException​(java.lang.String[] tokenNames_,
                                        Token token_,
                                        int lower,
                                        int upper_,
                                        boolean matchNot,
                                        java.lang.String fileName_)
      • MismatchedTokenException

        public MismatchedTokenException​(java.lang.String[] tokenNames_,
                                        Token token_,
                                        int expecting_,
                                        boolean matchNot,
                                        java.lang.String fileName_)
      • MismatchedTokenException

        public MismatchedTokenException​(java.lang.String[] tokenNames_,
                                        Token token_,
                                        BitSet set_,
                                        boolean matchNot,
                                        java.lang.String fileName_)
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Returns a clean error message (no line number/column information)
        Overrides:
        getMessage in class java.lang.Throwable