No API in this release is deprecated for removal.
as of 4.7 Please use CharStreams interface.
CharStreams
Use seek(0) instead.
seek(0)
Use enterRecursionRule(ParserRuleContext, int, int, int) instead.
enterRecursionRule(ParserRuleContext, int, int, int)
Use ParserInterpreter(String, Vocabulary, Collection, ATN, TokenStream) instead.
ParserInterpreter(String, Vocabulary, Collection, ATN, TokenStream)
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.
ANTLRErrorStrategy
DefaultErrorStrategy#getTokenErrorDisplay
Use getVocabulary() instead.
getVocabulary()
Use RuleTransition(RuleStartState, int, int, ATNState) instead.
RuleTransition(RuleStartState, int, int, ATNState)
true
false
This method no longer performs any action.
Use toString(Vocabulary) instead.
toString(Vocabulary)
Use DFASerializer(DFA, Vocabulary) instead.
DFASerializer(DFA, Vocabulary)
Use elementName(Vocabulary, int) instead.
elementName(Vocabulary, int)
THIS IS HERE FOR BACKWARD COMPATIBILITY WITH 4.5 ONLY. It will disappear in 4.6+
Use VOCABULARY instead.
VOCABULARY