-
Methods Method Description antlr.ASTFactory.setASTNodeType(String) since 2.7.1antlr.Parser.panic() as of 2.7.2. This method calls System.exit() and writes directly to stderr, which is usually not appropriate when a parser is embedded into a larger application. Since the method isstatic
, it cannot be overridden to avoid these problems. ANTLR no longer uses this method internally or in generated code.antlr.Parser.setASTNodeType(String) since 2.7.1antlr.RecognitionException.getErrorMessage() As of ANTLR 2.7.0antlr.Tool.panic() as of 2.7.2 useTool.fatalError(String)
. By default this method executesfatalError("panic");
.antlr.TreeParser.panic() as of 2.7.2. This method calls System.exit() and writes directly to stderr, which is usually not appropriate when a parser is embedded into a larger application. Since the method isstatic
, it cannot be overridden to avoid these problems. ANTLR no longer uses this method internally or in generated code.antlr.TreeParser.setASTNodeType(String) since 2.7.2
-
Constructors Constructor Description antlr.NoViableAltForCharException(char, String, int) As of ANTLR 2.7.2 use {@see #NoViableAltForCharException(char, String, int, int) }antlr.RecognitionException(String, String, int) As of ANTLR 2.7.2 use {@see #RecognitionException(char, String, int, int) }antlr.SemanticException(String, String, int) As of ANTLR 2.7.2 use {@see #SemanticException(char, String, int, int) }