Top Deprecated
ANTLR 4.13.1

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
org.antlr.v4.codegen.model.Recognizer.tokenNames

This field is provided only for compatibility with code generation targets which have not yet been updated to use literalNames and symbolicNames.

org.antlr.v4.runtime.ANTLRFileStream

as of 4.7 Please use CharStreams interface.

org.antlr.v4.runtime.ANTLRInputStream

as of 4.7 Please use CharStreams interface.

org.antlr.v4.runtime.LexerInterpreter(String grammarFileName, Collection<String> tokenNames, Collection<String> ruleNames, Collection<String> modeNames, ATN atn, CharStream input)

org.antlr.v4.runtime.LexerInterpreter(String grammarFileName, Vocabulary vocabulary, Collection<String> ruleNames, Collection<String> modeNames, ATN atn, CharStream input)

org.antlr.v4.runtime.Recognizer.getTokenErrorDisplay(Token t)

This method is not called by the ANTLR 4 Runtime. Specific implementations of ANTLRErrorStrategy may provide a similar feature when necessary. For example, see DefaultErrorStrategy#getTokenErrorDisplay.

org.antlr.v4.runtime.dfa.DFA.setPrecedenceDfa(boolean
true if this is a precedence DFA; otherwise, false
precedenceDfa
)

This method no longer performs any action.

org.antlr.v4.runtime.misc.NotNull

THIS IS HERE FOR BACKWARD COMPATIBILITY WITH 4.5 ONLY. It will disappear in 4.6+

org.antlr.v4.tool.ErrorType.ALL_OPS_NEED_SAME_ASSOC

This warning is no longer applicable with the current syntax for specifying associativity.

org.antlr.v4.tool.ErrorType.LEXER_ACTION_PLACEMENT_ISSUE

This error is no longer issued by ANTLR 4.2.