Deprecated API

Deprecated Methods
antlr.RecognitionException.getErrorMessage()
          As of ANTLR 2.7.0 
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 is static, it cannot be overridden to avoid these problems. ANTLR no longer uses this method internally or in generated code. 
antlr.Tool.panic()
          as of 2.7.2 use Tool.fatalError(String). By default this method executes fatalError("panic");. 
antlr.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 is static, it cannot be overridden to avoid these problems. ANTLR no longer uses this method internally or in generated code. 
antlr.Tool.panic(String)
          as of 2.7.2 use Tool.fatalError(String). By defaykt this method executes fatalError("panic: " + s);. 
antlr.TreeParser.setASTNodeType(String)
          since 2.7.2 
antlr.Parser.setASTNodeType(String)
          since 2.7.1 
antlr.ASTFactory.setASTNodeType(String)
          since 2.7.1 
 

Deprecated Constructors
antlr.NoViableAltForCharException(char, String, int)
          As of ANTLR 2.7.2 use NoViableAltForCharException.NoViableAltForCharException(char, String, int, int) 
antlr.RecognitionException(String, String, int)
          As of ANTLR 2.7.2 use #RecognitionException(char, String, int, int)  
antlr.SemanticException(String, String, int)
          As of ANTLR 2.7.2 use #SemanticException(char, String, int, int)  
 



Copyright 1999-2003 Oliver Zeigermann. All Rights Reserved.