Skip to content

Latest commit

 

History

History
220 lines (217 loc) · 8.22 KB

CONVERSION.md

File metadata and controls

220 lines (217 loc) · 8.22 KB

Conversion progress

The following files are present in the optimized Java release. As the functionality of each file is implemented and verified by two core contributors to the TypeScript target, it will be checked off. If a file is determined to not be necessary for the TypeScript target, it will be crossed out and checked off.

Prior to checking off an item here, the source file(s) where the matching functionality is implemented in TypeScript will need a comment indicating the names of the two contributors who verified that the conversion is complete and the semantics of the original code have been preserved. When the conversion is complete, this file and the sign-off comments in individual files can be removed and the antlr4 submodule commit will track the progress made on this code base.

  • ANTLRErrorListener.java
  • ANTLRErrorStrategy.java
  • ANTLRFileStream.java (Intentionally omitted)
  • ANTLRInputStream.java
    • ANTLRInputStream.constructor() (Not needed after other APIs omitted)
    • ANTLRInputStream.constructor(char[], number) (No equivalent TypeScript representation)
    • ANTLRInputStream.constructor(Reader) (Intentionally omitted)
    • ANTLRInputStream.constructor(Reader, number) (Intentionally omitted)
    • ANTLRInputStream.constructor(Reader, number, number) (Intentionally omitted)
    • ANTLRInputStream.constructor(InputStream) (Intentionally omitted)
    • ANTLRInputStream.constructor(InputStream, number) (Intentionally omitted)
    • ANTLRInputStream.constructor(InputStream, number, number) (Intentionally omitted)
    • ANTLRInputStream.load(Reader, number, number) (Intentionally omitted)
  • BailErrorStrategy.java
  • BaseErrorListener.java
  • BufferedTokenStream.java
  • CharStream.java
  • CommonToken.java
  • CommonTokenFactory.java
  • CommonTokenStream.java
  • ConsoleErrorListener.java
  • DefaultErrorStrategy.java
  • Dependents.java
  • DiagnosticErrorListener.java
  • FailedPredicateException.java
  • InputMismatchException.java
  • InterpreterRuleContext.java
  • IntStream.java
  • Lexer.java
  • LexerInterpreter.java
  • LexerNoViableAltException.java
  • ListTokenSource.java
  • NoViableAltException.java
  • Parser.java
    • Parser.compileParseTreePattern
    • Parser.getParseInfo
    • Parser.setProfile
  • ParserErrorListener.java
  • ParserInterpreter.java
  • ParserRuleContext.java
  • ProxyErrorListener.java
  • ProxyParserErrorListener.java
  • RecognitionException.java
  • Recognizer.java
  • RuleContext.java
  • RuleContextWithAltNum.java
  • RuleDependencies.java (Not needed since TypeScript allows multiple decorators on one element)
  • RuleDependency.java
  • RuleVersion.java
  • Token.java
  • TokenFactory.java
  • TokenSource.java
  • TokenStream.java
  • TokenStreamRewriter.java
  • UnbufferedCharStream.java
  • UnbufferedTokenStream.java
  • Vocabulary.java
  • VocabularyImpl.java
  • WritableToken.java
  • atn\AbstractPredicateTransition.java
  • atn\ActionTransition.java
  • atn\AmbiguityInfo.java
  • atn\ArrayPredictionContext.java
  • atn\ATN.java
    • ATN.addState(undefined) (Use addState(new InvalidState()) instead)
  • atn\ATNConfig.java
  • atn\ATNConfigSet.java
  • atn\ATNDeserializationOptions.java
  • atn\ATNDeserializer.java
  • atn\ATNSerializer.java
  • atn\ATNSimulator.java
  • atn\ATNState.java
    • atn\ATNStateType.ts
  • atn\ATNType.java
  • atn\AtomTransition.java
  • atn\BasicBlockStartState.java
  • atn\BasicState.java
  • atn\BlockEndState.java
  • atn\BlockStartState.java
  • atn\ConflictInfo.java
  • atn\ContextSensitivityInfo.java
  • atn\DecisionEventInfo.java
  • atn\DecisionInfo.java
  • atn\DecisionState.java
  • atn\EmptyPredictionContext.java
  • atn\EpsilonTransition.java
  • atn\ErrorInfo.java
  • atn\LexerAction.java
  • atn\LexerActionExecutor.java
  • atn\LexerActionType.java
  • atn\LexerATNSimulator.java
  • atn\LexerChannelAction.java
  • atn\LexerCustomAction.java
  • atn\LexerIndexedCustomAction.java
  • atn\LexerModeAction.java
  • atn\LexerMoreAction.java
  • atn\LexerPopModeAction.java
  • atn\LexerPushModeAction.java
  • atn\LexerSkipAction.java
  • atn\LexerTypeAction.java
  • atn\LL1Analyzer.java
  • atn\LookaheadEventInfo.java
  • atn\LoopEndState.java
  • atn\NotSetTransition.java
  • atn\OrderedATNConfigSet.java
  • atn\ParseInfo.java
  • atn\ParserATNSimulator.java
    • Ability to pass undefined as the Parser instance
  • atn\PlusBlockStartState.java
  • atn\PlusLoopbackState.java
  • atn\PrecedencePredicateTransition.java
  • atn\PredicateEvalInfo.java
  • atn\PredicateTransition.java
  • atn\PredictionContext.java
    • PredictionContext.fromRuleContext
    • PredictionContext.toString (Doesn't actually exist in the Java target)
    • PredictionContext.toStrings
  • atn\PredictionContextCache.java
  • atn\PredictionMode.java
  • atn\ProfilingATNSimulator.java
  • atn\RangeTransition.java
  • atn\RuleStartState.java
  • atn\RuleStopState.java
  • atn\RuleTransition.java
  • atn\SemanticContext.java
  • atn\SetTransition.java
  • atn\SimulatorState.java
  • atn\SingletonPredictionContext.java
  • atn\StarBlockStartState.java
  • atn\StarLoopbackState.java
  • atn\StarLoopEntryState.java
  • atn\TokensStartState.java
  • atn\Transition.java
    • atn\TransitionType.ts
    • Transition.serializationTypes?
  • atn\WildcardTransition.java
  • dfa\AbstractEdgeMap.java
  • dfa\AcceptStateInfo.java
  • dfa\ArrayEdgeMap.java
  • dfa\DFA.java
  • dfa\DFASerializer.java
  • dfa\DFAState.java
  • dfa\EdgeMap.java
  • dfa\EmptyEdgeMap.java
  • dfa\LexerDFASerializer.java
  • dfa\SingletonEdgeMap.java
  • dfa\SparseEdgeMap.java
  • misc\AbstractEqualityComparator.java (Unnecessary in TypeScript)
  • misc\Args.java
  • misc\Array2DHashSet.java
  • misc\DoubleKeyMap.java
  • misc\EqualityComparator.java
  • misc\FlexibleHashMap.java
  • misc\Func0.java (Unnecessary in TypeScript)
  • misc\Func1.java (Unnecessary in TypeScript)
  • misc\IntegerList.java
  • misc\IntegerStack.java
  • misc\Interval.java
  • misc\IntervalSet.java
  • misc\IntSet.java
  • misc\LogManager.java
  • misc\MultiMap.java
  • misc\MurmurHash.java
  • misc\NotNull.java
  • misc\Nullable.java
  • misc\NullUsageProcessor.java
  • misc\ObjectEqualityComparator.java
  • misc\OrderedHashSet.java
  • misc\ParseCancellationException.java
  • misc\Predicate.java (Unnecessary in TypeScript)
  • misc\RuleDependencyChecker.java
  • misc\RuleDependencyProcessor.java
  • misc\TestRig.java (Deprecated prior to TypeScript port)
  • misc\Tuple.java (Unnecessary in TypeScript)
  • misc\Tuple2.java (Unnecessary in TypeScript)
  • misc\Tuple3.java (Unnecessary in TypeScript)
  • misc\Utils.java (Partial, rather language specific)
  • tree\AbstractParseTreeVisitor.java
  • tree\ErrorNode.java (No separate interface in TypeScript)
  • tree\ErrorNodeImpl.java (Moved to ErrorNode)
  • tree\ParseTree.java
  • tree\ParseTreeListener.java
  • tree\ParseTreeProperty.java
  • tree\ParseTreeVisitor.java
  • tree\ParseTreeWalker.java
  • tree\RuleNode.java
  • tree\SyntaxTree.java
  • tree\TerminalNode.java (No separate interface in TypeScript)
  • tree\TerminalNodeImpl.java (Moved to TerminalNode)
  • tree\Tree.java
  • tree\Trees.java
  • tree\pattern\Chunk.java
  • tree\pattern\ParseTreeMatch.java
  • tree\pattern\ParseTreePattern.java
  • tree\pattern\ParseTreePatternMatcher.java
  • tree\pattern\RuleTagToken.java
  • tree\pattern\TagChunk.java
  • tree\pattern\TextChunk.java
  • tree\pattern\TokenTagToken.java
  • tree\xpath\XPath.java
  • tree\xpath\XPathElement.java
  • tree\xpath\XPathLexer.g4
  • tree\xpath\XPathLexerErrorListener.java
  • tree\xpath\XPathRuleAnywhereElement.java
  • tree\xpath\XPathRuleElement.java
  • tree\xpath\XPathTokenAnywhereElement.java
  • tree\xpath\XPathTokenElement.java
  • tree\xpath\XPathWildcardAnywhereElement.java
  • tree\xpath\XPathWildcardElement.java