ANTLR Runtime Source Code

ANTLR is a powerful parser generator for multiple programming languages including Java.

ANTLR contains 2 major modules:

  • Runtime - For building and executing parsers/lexers generated in Java.
  • Tool (The Parser Generator) - For generating parsers/lexers Java class.

ANTLR Runtime Source Code files are provided in the distribution packge (antlr4-4.10.1.zip). You can download them at ANTLR Website.

You can also browse the source code below:

✍: FYIcenter

Package Content:

org/antlr/v4/runtime/ANTLRErrorListener.java
org/antlr/v4/runtime/ANTLRErrorStrategy.java
org/antlr/v4/runtime/ANTLRFileStream.java
org/antlr/v4/runtime/ANTLRInputStream.java
org/antlr/v4/runtime/atn/AbstractPredicateTransition.java
org/antlr/v4/runtime/atn/ActionTransition.java
org/antlr/v4/runtime/atn/AmbiguityInfo.java
org/antlr/v4/runtime/atn/ArrayPredictionContext.java
org/antlr/v4/runtime/atn/ATN.java
org/antlr/v4/runtime/atn/ATNConfig.java
org/antlr/v4/runtime/atn/ATNConfigSet.java
org/antlr/v4/runtime/atn/ATNDeserializationOptions.java
org/antlr/v4/runtime/atn/ATNDeserializer.java
org/antlr/v4/runtime/atn/ATNSerializer.java
org/antlr/v4/runtime/atn/ATNSimulator.java
org/antlr/v4/runtime/atn/ATNState.java
org/antlr/v4/runtime/atn/ATNType.java
org/antlr/v4/runtime/atn/AtomTransition.java
org/antlr/v4/runtime/atn/BasicBlockStartState.java
org/antlr/v4/runtime/atn/BasicState.java
org/antlr/v4/runtime/atn/BlockEndState.java
org/antlr/v4/runtime/atn/BlockStartState.java
org/antlr/v4/runtime/atn/CodePointTransitions.java
org/antlr/v4/runtime/atn/ContextSensitivityInfo.java
org/antlr/v4/runtime/atn/DecisionEventInfo.java
org/antlr/v4/runtime/atn/DecisionInfo.java
org/antlr/v4/runtime/atn/DecisionState.java
org/antlr/v4/runtime/atn/EmptyPredictionContext.java
org/antlr/v4/runtime/atn/EpsilonTransition.java
org/antlr/v4/runtime/atn/ErrorInfo.java
org/antlr/v4/runtime/atn/LexerAction.java
org/antlr/v4/runtime/atn/LexerActionExecutor.java
org/antlr/v4/runtime/atn/LexerActionType.java
org/antlr/v4/runtime/atn/LexerATNConfig.java
org/antlr/v4/runtime/atn/LexerATNSimulator.java
org/antlr/v4/runtime/atn/LexerChannelAction.java
org/antlr/v4/runtime/atn/LexerCustomAction.java
org/antlr/v4/runtime/atn/LexerIndexedCustomAction.java
org/antlr/v4/runtime/atn/LexerModeAction.java
org/antlr/v4/runtime/atn/LexerMoreAction.java
org/antlr/v4/runtime/atn/LexerPopModeAction.java
org/antlr/v4/runtime/atn/LexerPushModeAction.java
org/antlr/v4/runtime/atn/LexerSkipAction.java
org/antlr/v4/runtime/atn/LexerTypeAction.java
org/antlr/v4/runtime/atn/LL1Analyzer.java
org/antlr/v4/runtime/atn/LookaheadEventInfo.java
org/antlr/v4/runtime/atn/LoopEndState.java
org/antlr/v4/runtime/atn/NotSetTransition.java
org/antlr/v4/runtime/atn/OrderedATNConfigSet.java
org/antlr/v4/runtime/atn/ParseInfo.java
org/antlr/v4/runtime/atn/ParserATNSimulator.java
org/antlr/v4/runtime/atn/PlusBlockStartState.java
org/antlr/v4/runtime/atn/PlusLoopbackState.java
org/antlr/v4/runtime/atn/PrecedencePredicateTransition.java
org/antlr/v4/runtime/atn/PredicateEvalInfo.java
org/antlr/v4/runtime/atn/PredicateTransition.java
org/antlr/v4/runtime/atn/PredictionContext.java
org/antlr/v4/runtime/atn/PredictionContextCache.java
org/antlr/v4/runtime/atn/PredictionMode.java
org/antlr/v4/runtime/atn/ProfilingATNSimulator.java
org/antlr/v4/runtime/atn/RangeTransition.java
org/antlr/v4/runtime/atn/RuleStartState.java
org/antlr/v4/runtime/atn/RuleStopState.java
org/antlr/v4/runtime/atn/RuleTransition.java
org/antlr/v4/runtime/atn/SemanticContext.java
org/antlr/v4/runtime/atn/SetTransition.java
org/antlr/v4/runtime/atn/SingletonPredictionContext.java
org/antlr/v4/runtime/atn/StarBlockStartState.java
org/antlr/v4/runtime/atn/StarLoopbackState.java
org/antlr/v4/runtime/atn/StarLoopEntryState.java
org/antlr/v4/runtime/atn/TokensStartState.java
org/antlr/v4/runtime/atn/Transition.java
org/antlr/v4/runtime/atn/WildcardTransition.java
org/antlr/v4/runtime/BailErrorStrategy.java
org/antlr/v4/runtime/BaseErrorListener.java
org/antlr/v4/runtime/BufferedTokenStream.java
org/antlr/v4/runtime/CharStream.java
org/antlr/v4/runtime/CharStreams.java
org/antlr/v4/runtime/CodePointBuffer.java
org/antlr/v4/runtime/CodePointCharStream.java
org/antlr/v4/runtime/CommonToken.java
org/antlr/v4/runtime/CommonTokenFactory.java
org/antlr/v4/runtime/CommonTokenStream.java
org/antlr/v4/runtime/ConsoleErrorListener.java
org/antlr/v4/runtime/DefaultErrorStrategy.java
org/antlr/v4/runtime/dfa/DFA.java
org/antlr/v4/runtime/dfa/DFASerializer.java
org/antlr/v4/runtime/dfa/DFAState.java
org/antlr/v4/runtime/dfa/LexerDFASerializer.java
org/antlr/v4/runtime/DiagnosticErrorListener.java
org/antlr/v4/runtime/FailedPredicateException.java
org/antlr/v4/runtime/InputMismatchException.java
org/antlr/v4/runtime/InterpreterRuleContext.java
org/antlr/v4/runtime/IntStream.java
org/antlr/v4/runtime/Lexer.java
org/antlr/v4/runtime/LexerInterpreter.java
org/antlr/v4/runtime/LexerNoViableAltException.java
org/antlr/v4/runtime/ListTokenSource.java
org/antlr/v4/runtime/misc/AbstractEqualityComparator.java
org/antlr/v4/runtime/misc/Array2DHashSet.java
org/antlr/v4/runtime/misc/DoubleKeyMap.java
org/antlr/v4/runtime/misc/EqualityComparator.java
org/antlr/v4/runtime/misc/FlexibleHashMap.java
org/antlr/v4/runtime/misc/IntegerList.java
org/antlr/v4/runtime/misc/IntegerStack.java
org/antlr/v4/runtime/misc/InterpreterDataReader.java
org/antlr/v4/runtime/misc/Interval.java
org/antlr/v4/runtime/misc/IntervalSet.java
org/antlr/v4/runtime/misc/IntSet.java
org/antlr/v4/runtime/misc/LogManager.java
org/antlr/v4/runtime/misc/MultiMap.java
org/antlr/v4/runtime/misc/MurmurHash.java
org/antlr/v4/runtime/misc/NotNull.java
org/antlr/v4/runtime/misc/ObjectEqualityComparator.java
org/antlr/v4/runtime/misc/OrderedHashSet.java
org/antlr/v4/runtime/misc/Pair.java
org/antlr/v4/runtime/misc/ParseCancellationException.java
org/antlr/v4/runtime/misc/Predicate.java
org/antlr/v4/runtime/misc/TestRig.java
org/antlr/v4/runtime/misc/Triple.java
org/antlr/v4/runtime/misc/Utils.java
org/antlr/v4/runtime/NoViableAltException.java
org/antlr/v4/runtime/Parser.java
org/antlr/v4/runtime/ParserInterpreter.java
org/antlr/v4/runtime/ParserRuleContext.java
org/antlr/v4/runtime/ProxyErrorListener.java
org/antlr/v4/runtime/RecognitionException.java
org/antlr/v4/runtime/Recognizer.java
org/antlr/v4/runtime/RuleContext.java
org/antlr/v4/runtime/RuleContextWithAltNum.java
org/antlr/v4/runtime/RuntimeMetaData.java
org/antlr/v4/runtime/Token.java
org/antlr/v4/runtime/TokenFactory.java
org/antlr/v4/runtime/TokenSource.java
org/antlr/v4/runtime/TokenStream.java
org/antlr/v4/runtime/TokenStreamRewriter.java
org/antlr/v4/runtime/tree/AbstractParseTreeVisitor.java
org/antlr/v4/runtime/tree/ErrorNode.java
org/antlr/v4/runtime/tree/ErrorNodeImpl.java
org/antlr/v4/runtime/tree/IterativeParseTreeWalker.java
org/antlr/v4/runtime/tree/ParseTree.java
org/antlr/v4/runtime/tree/ParseTreeListener.java
org/antlr/v4/runtime/tree/ParseTreeProperty.java
org/antlr/v4/runtime/tree/ParseTreeVisitor.java
org/antlr/v4/runtime/tree/ParseTreeWalker.java
org/antlr/v4/runtime/tree/pattern/Chunk.java
org/antlr/v4/runtime/tree/pattern/ParseTreeMatch.java
org/antlr/v4/runtime/tree/pattern/ParseTreePattern.java
org/antlr/v4/runtime/tree/pattern/ParseTreePatternMatcher.java
org/antlr/v4/runtime/tree/pattern/RuleTagToken.java
org/antlr/v4/runtime/tree/pattern/TagChunk.java
org/antlr/v4/runtime/tree/pattern/TextChunk.java
org/antlr/v4/runtime/tree/pattern/TokenTagToken.java
org/antlr/v4/runtime/tree/RuleNode.java
org/antlr/v4/runtime/tree/SyntaxTree.java
org/antlr/v4/runtime/tree/TerminalNode.java
org/antlr/v4/runtime/tree/TerminalNodeImpl.java
org/antlr/v4/runtime/tree/Tree.java
org/antlr/v4/runtime/tree/Trees.java
org/antlr/v4/runtime/tree/xpath/XPath.java
org/antlr/v4/runtime/tree/xpath/XPathElement.java
org/antlr/v4/runtime/tree/xpath/XPathLexer.java
org/antlr/v4/runtime/tree/xpath/XPathLexerErrorListener.java
org/antlr/v4/runtime/tree/xpath/XPathRuleAnywhereElement.java
org/antlr/v4/runtime/tree/xpath/XPathRuleElement.java
org/antlr/v4/runtime/tree/xpath/XPathTokenAnywhereElement.java
org/antlr/v4/runtime/tree/xpath/XPathTokenElement.java
org/antlr/v4/runtime/tree/xpath/XPathWildcardAnywhereElement.java
org/antlr/v4/runtime/tree/xpath/XPathWildcardElement.java
org/antlr/v4/runtime/UnbufferedCharStream.java
org/antlr/v4/runtime/UnbufferedTokenStream.java
org/antlr/v4/runtime/Vocabulary.java
org/antlr/v4/runtime/VocabularyImpl.java
org/antlr/v4/runtime/WritableToken.java

 

ANTLR Tool Source Code

What Is ANTLR Parser Generator

Download and Review ANTLR Parser Generator

⇑⇑ FAQ for ANTLR Parser Generator

2018-10-21, 7905👍, 0💬