Top Deprecated
ANTLR 4 Runtime (Optimized) 4.9.0

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
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.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.atn.ATNSimulator.edgeFactory(ATN atn, int type, int src, int trg, int arg1, int arg2, int arg3, List<IntervalSet> sets)

Use ATNDeserializer#edgeFactory instead.

org.antlr.v4.runtime.atn.ParserATNSimulator.optimize_hidden_conflicted_configs

This flag is not currently used by the ATN simulator.

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.dfa.SparseEdgeMap.SparseEdgeMap(SparseEdgeMap<T> map, int maxSparseSize)

Deprecated as a consequence of SparseEdgeMap being deprecated. See corresponding docs for further information.

org.antlr.v4.runtime.dfa.SparseEdgeMap.remove(int key)

Deprecated as a consequence of SparseEdgeMap being deprecated. See corresponding docs for further information.