Files
DefinitelyTyped/types/antlr4/index.d.ts
Alex Miller 7f757779c4 🤖 Merge PR #62582 [Antlr] Add and fix types for Antlr 4.11 by @Codex-
* antlr: Update tree typings

* antlr: Add some misc typings.

* antlr: Update error types.

* antlr: Add some atn types.

* antlr: Add some contexts.

* antlr: Add some state.

* antlr: Add various.

* antlr: Add some root level types.

* antlr: Complete more types from Parser to dependents.

* antlr: Add many atn types.

* antlr: Finish atn types.

* antlr: Finish DFA types.

* antlr: Clean up types.

* antlr: add utils tests.

* antlr: add dfa tests.

* antlr: add atn tests.

* antlr: add more atn tests.

* antlr: finish atn tests.

* antlr: add action tests.

* antlr: add context tests.

* antlr: finish dfa tests.

* antlr: add error tests.

* antlr: add misc tests.

* antlr: add state tests.

* antlr: add transition tests.

* antlr: add tree tests.

* antlr: add root tests.

* antlr: remove relying on lib.dom.

* antlr: lexer technically handles null.

* antlr4-autosuggest: Update to use new types

* antlr: ParserRuleContext child method actually returns a base ParseTree.
2022-11-02 13:34:43 -07:00

50 lines
1.9 KiB
TypeScript

// Type definitions for antlr4 4.11
// Project: https://github.com/antlr/antlr4
// Definitions by: Marlon Chatman <https://github.com/mcchatman8009>
// Matteo Mortari <https://github.com/tarilabs>
// Jon Gellin <https://github.com/jgellin-sf>
// Alex Miller <https://github.com/codex->
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { default as atn } from './atn/index';
import { default as dfa } from './dfa/index';
import { default as tree } from './tree/index';
import { default as error } from './error/index';
import { default as Token } from './Token';
import { default as CommonToken } from './CommonToken';
import { default as CharStreams } from './CharStreams';
import { default as InputStream } from './InputStream';
import { default as FileStream } from './FileStream';
import { default as CommonTokenStream } from './CommonTokenStream';
import { default as Lexer } from './Lexer';
import { default as Parser } from './Parser';
import { default as PredictionContextCache } from './atn/PredictionContextCache';
import { default as ParserRuleContext } from './context/ParserRuleContext';
import { default as Interval } from './misc/Interval';
import { default as IntervalSet } from './misc/IntervalSet';
import { default as LL1Analyzer } from './atn/LL1Analyzer';
import { default as Utils } from './utils/index';
declare namespace antlr4 {
export { atn };
export { dfa };
export { tree };
export { error };
export { Token };
export { CommonToken };
export { CharStreams };
export { InputStream };
export { FileStream };
export { CommonTokenStream };
export { Lexer };
export { Parser };
export { PredictionContextCache };
export { ParserRuleContext };
export { Interval };
export { IntervalSet };
export { LL1Analyzer };
export { Utils };
}
export default antlr4;