@types/antlr4
Advanced tools
Comparing version 4.11.2 to 4.11.3
@@ -1,3 +0,3 @@ | ||
import HashCode from '../misc/HashCode'; | ||
import LexerActionType from '../atn/LexerActionType'; | ||
import LexerActionType from "../atn/LexerActionType"; | ||
import HashCode from "../misc/HashCode"; | ||
@@ -4,0 +4,0 @@ export default abstract class LexerAction { |
@@ -1,3 +0,3 @@ | ||
import Transition from '../transition/Transition'; | ||
import Transition from "../transition/Transition"; | ||
export default abstract class AbstractPredicateTransition extends Transition {} |
@@ -1,10 +0,10 @@ | ||
import LexerAction from '../action/LexerAction'; | ||
import RuleContext from '../context/RuleContext'; | ||
import IntervalSet from '../misc/IntervalSet'; | ||
import ATNState from '../state/ATNState'; | ||
import DecisionState from '../state/DecisionState'; | ||
import RuleStartState from '../state/RuleStartState'; | ||
import RuleStopState from '../state/RuleStopState'; | ||
import TokensStartState from '../state/TokensStartState'; | ||
import Token from '../Token'; | ||
import LexerAction from "../action/LexerAction"; | ||
import RuleContext from "../context/RuleContext"; | ||
import IntervalSet from "../misc/IntervalSet"; | ||
import ATNState from "../state/ATNState"; | ||
import DecisionState from "../state/DecisionState"; | ||
import RuleStartState from "../state/RuleStartState"; | ||
import RuleStopState from "../state/RuleStopState"; | ||
import TokensStartState from "../state/TokensStartState"; | ||
import Token from "../Token"; | ||
@@ -11,0 +11,0 @@ export default class ATN { |
@@ -1,7 +0,7 @@ | ||
import PredictionContext from '../context/PredictionContext'; | ||
import HashCode from '../misc/HashCode'; | ||
import ATNState from '../state/ATNState'; | ||
import SemanticContext from './SemanticContext'; | ||
import PredictionContext from "../context/PredictionContext"; | ||
import HashCode from "../misc/HashCode"; | ||
import ATNState from "../state/ATNState"; | ||
import SemanticContext from "./SemanticContext"; | ||
export interface ATNConfigConfig extends Pick<ATNConfig, 'state' | 'alt' | 'context' | 'semanticContext'> { | ||
export interface ATNConfigConfig extends Pick<ATNConfig, "state" | "alt" | "context" | "semanticContext"> { | ||
reachesIntoOuterContext: number; | ||
@@ -8,0 +8,0 @@ precedenceFilterSuppressed: boolean; |
@@ -1,8 +0,8 @@ | ||
import BitSet from '../misc/BitSet'; | ||
import HashCode from '../misc/HashCode'; | ||
import HashSet from '../misc/HashSet'; | ||
import ATNConfig from './ATNConfig'; | ||
import ATNSimulator from './ATNSimulator'; | ||
import SemanticContext from './SemanticContext'; | ||
import DoubleDict from '../utils/DoubleDict'; | ||
import BitSet from "../misc/BitSet"; | ||
import HashCode from "../misc/HashCode"; | ||
import HashSet from "../misc/HashSet"; | ||
import DoubleDict from "../utils/DoubleDict"; | ||
import ATNConfig from "./ATNConfig"; | ||
import ATNSimulator from "./ATNSimulator"; | ||
import SemanticContext from "./SemanticContext"; | ||
@@ -9,0 +9,0 @@ /** |
@@ -1,9 +0,9 @@ | ||
import BasicState from '../state/BasicState'; | ||
import ATN from './ATN'; | ||
import StarLoopEntryState from '../state/StarLoopEntryState'; | ||
import ATNDeserializationOptions from './ATNDeserializationOptions'; | ||
import LexerAction from '../action/LexerAction'; | ||
import IntervalSet from '../misc/IntervalSet'; | ||
import ATNState from '../state/ATNState'; | ||
import Transition from '../transition/Transition'; | ||
import LexerAction from "../action/LexerAction"; | ||
import IntervalSet from "../misc/IntervalSet"; | ||
import ATNState from "../state/ATNState"; | ||
import BasicState from "../state/BasicState"; | ||
import StarLoopEntryState from "../state/StarLoopEntryState"; | ||
import Transition from "../transition/Transition"; | ||
import ATN from "./ATN"; | ||
import ATNDeserializationOptions from "./ATNDeserializationOptions"; | ||
@@ -10,0 +10,0 @@ export default class ATNDeserializer { |
@@ -1,5 +0,5 @@ | ||
import PredictionContext from '../context/PredictionContext'; | ||
import DFAState from '../dfa/DFAState'; | ||
import ATN from './ATN'; | ||
import PredictionContextCache from './PredictionContextCache'; | ||
import PredictionContext from "../context/PredictionContext"; | ||
import DFAState from "../dfa/DFAState"; | ||
import ATN from "./ATN"; | ||
import PredictionContextCache from "./PredictionContextCache"; | ||
@@ -6,0 +6,0 @@ export default class ATNSimulator { |
@@ -1,6 +0,6 @@ | ||
import ATN from './ATN'; | ||
import ATNDeserializer from './ATNDeserializer'; | ||
import LexerATNSimulator from './LexerATNSimulator'; | ||
import ParserATNSimulator from './ParserATNSimulator'; | ||
import PredictionMode from './PredictionMode'; | ||
import ATN from "./ATN"; | ||
import ATNDeserializer from "./ATNDeserializer"; | ||
import LexerATNSimulator from "./LexerATNSimulator"; | ||
import ParserATNSimulator from "./ParserATNSimulator"; | ||
import PredictionMode from "./PredictionMode"; | ||
@@ -7,0 +7,0 @@ declare namespace atn { |
@@ -1,5 +0,5 @@ | ||
import InputStream from '../InputStream'; | ||
import HashCode from '../misc/HashCode'; | ||
import LexerAction from '../action/LexerAction'; | ||
import Lexer from '../Lexer'; | ||
import LexerAction from "../action/LexerAction"; | ||
import InputStream from "../InputStream"; | ||
import Lexer from "../Lexer"; | ||
import HashCode from "../misc/HashCode"; | ||
@@ -6,0 +6,0 @@ export default class LexerActionExecutor { |
@@ -1,4 +0,4 @@ | ||
import ATNState from '../state/ATNState'; | ||
import ATNConfig from './ATNConfig'; | ||
import LexerActionExecutor from './LexerActionExecutor'; | ||
import ATNState from "../state/ATNState"; | ||
import ATNConfig from "./ATNConfig"; | ||
import LexerActionExecutor from "./LexerActionExecutor"; | ||
@@ -5,0 +5,0 @@ export default class LexerATNConfig extends ATNConfig { |
@@ -1,16 +0,16 @@ | ||
import OrderedATNConfigSet from './OrderedATNConfigSet'; | ||
import LexerATNConfig from './LexerATNConfig'; | ||
import ATNSimulator from './ATNSimulator'; | ||
import ATN from './ATN'; | ||
import Lexer from '../Lexer'; | ||
import PredictionContextCache from './PredictionContextCache'; | ||
import InputStream from '../InputStream'; | ||
import DFAState from '../dfa/DFAState'; | ||
import ATNConfigSet from './ATNConfigSet'; | ||
import LexerActionExecutor from './LexerActionExecutor'; | ||
import Transition from '../transition/Transition'; | ||
import DecisionState from '../state/DecisionState'; | ||
import ATNConfig from './ATNConfig'; | ||
import DFA from '../dfa/DFA'; | ||
import ATNState from '../state/ATNState'; | ||
import DFA from "../dfa/DFA"; | ||
import DFAState from "../dfa/DFAState"; | ||
import InputStream from "../InputStream"; | ||
import Lexer from "../Lexer"; | ||
import ATNState from "../state/ATNState"; | ||
import DecisionState from "../state/DecisionState"; | ||
import Transition from "../transition/Transition"; | ||
import ATN from "./ATN"; | ||
import ATNConfig from "./ATNConfig"; | ||
import ATNConfigSet from "./ATNConfigSet"; | ||
import ATNSimulator from "./ATNSimulator"; | ||
import LexerActionExecutor from "./LexerActionExecutor"; | ||
import LexerATNConfig from "./LexerATNConfig"; | ||
import OrderedATNConfigSet from "./OrderedATNConfigSet"; | ||
import PredictionContextCache from "./PredictionContextCache"; | ||
@@ -17,0 +17,0 @@ export class SimState { |
@@ -1,6 +0,6 @@ | ||
import RuleContext from '../context/RuleContext'; | ||
import IntervalSet from '../misc/IntervalSet'; | ||
import ATNState from '../state/ATNState'; | ||
import BlockEndState from '../state/BlockEndState'; | ||
import Token from '../Token'; | ||
import RuleContext from "../context/RuleContext"; | ||
import IntervalSet from "../misc/IntervalSet"; | ||
import ATNState from "../state/ATNState"; | ||
import BlockEndState from "../state/BlockEndState"; | ||
import Token from "../Token"; | ||
@@ -7,0 +7,0 @@ export default class LL1Analyzer { |
@@ -1,2 +0,2 @@ | ||
import ATNConfigSet from './ATNConfigSet'; | ||
import ATNConfigSet from "./ATNConfigSet"; | ||
@@ -3,0 +3,0 @@ export default class OrderedATNConfigSet extends ATNConfigSet { |
@@ -1,21 +0,21 @@ | ||
import ATNSimulator from './ATNSimulator'; | ||
import DoubleDict from '../utils/DoubleDict'; | ||
import DFAState from '../dfa/DFAState'; | ||
import ATNConfigSet from './ATNConfigSet'; | ||
import PredPrediction from '../dfa/PredPrediction'; | ||
import BitSet from '../misc/BitSet'; | ||
import ATNConfig from './ATNConfig'; | ||
import NoViableAltException from '../error/NoViableAltException'; | ||
import Parser from '../Parser'; | ||
import ATN from './ATN'; | ||
import PredictionContextCache from './PredictionContextCache'; | ||
import DFA from '../dfa/DFA'; | ||
import ParserRuleContext from '../context/ParserRuleContext'; | ||
import TokenStream from '../TokenStream'; | ||
import DecisionState from '../state/DecisionState'; | ||
import ATNState from '../state/ATNState'; | ||
import RuleContext from '../context/RuleContext'; | ||
import Transition from '../transition/Transition'; | ||
import SemanticContext from './SemanticContext'; | ||
import HashSet from '../misc/HashSet'; | ||
import ParserRuleContext from "../context/ParserRuleContext"; | ||
import RuleContext from "../context/RuleContext"; | ||
import DFA from "../dfa/DFA"; | ||
import DFAState from "../dfa/DFAState"; | ||
import PredPrediction from "../dfa/PredPrediction"; | ||
import NoViableAltException from "../error/NoViableAltException"; | ||
import BitSet from "../misc/BitSet"; | ||
import HashSet from "../misc/HashSet"; | ||
import Parser from "../Parser"; | ||
import ATNState from "../state/ATNState"; | ||
import DecisionState from "../state/DecisionState"; | ||
import TokenStream from "../TokenStream"; | ||
import Transition from "../transition/Transition"; | ||
import DoubleDict from "../utils/DoubleDict"; | ||
import ATN from "./ATN"; | ||
import ATNConfig from "./ATNConfig"; | ||
import ATNConfigSet from "./ATNConfigSet"; | ||
import ATNSimulator from "./ATNSimulator"; | ||
import PredictionContextCache from "./PredictionContextCache"; | ||
import SemanticContext from "./SemanticContext"; | ||
@@ -22,0 +22,0 @@ export default class ParserATNSimulator extends ATNSimulator { |
@@ -1,5 +0,5 @@ | ||
import ParserRuleContext from '../context/ParserRuleContext'; | ||
import HashCode from '../misc/HashCode'; | ||
import Parser from '../Parser'; | ||
import SemanticContext from './SemanticContext'; | ||
import ParserRuleContext from "../context/ParserRuleContext"; | ||
import HashCode from "../misc/HashCode"; | ||
import Parser from "../Parser"; | ||
import SemanticContext from "./SemanticContext"; | ||
@@ -6,0 +6,0 @@ export default class PrecedencePredicate extends SemanticContext { |
@@ -1,5 +0,5 @@ | ||
import RuleContext from '../context/RuleContext'; | ||
import HashCode from '../misc/HashCode'; | ||
import Recognizer from '../Recognizer'; | ||
import SemanticContext from './SemanticContext'; | ||
import RuleContext from "../context/RuleContext"; | ||
import HashCode from "../misc/HashCode"; | ||
import Recognizer from "../Recognizer"; | ||
import SemanticContext from "./SemanticContext"; | ||
@@ -6,0 +6,0 @@ export default class Predicate extends SemanticContext { |
@@ -1,3 +0,3 @@ | ||
import PredictionContext from '../context/PredictionContext'; | ||
import HashMap from '../misc/HashMap'; | ||
import PredictionContext from "../context/PredictionContext"; | ||
import HashMap from "../misc/HashMap"; | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
import BitSet from '../misc/BitSet'; | ||
import AltDict from '../misc/AltDict'; | ||
import ATNConfigSet from './ATNConfigSet'; | ||
import AltDict from "../misc/AltDict"; | ||
import BitSet from "../misc/BitSet"; | ||
import ATNConfigSet from "./ATNConfigSet"; | ||
@@ -5,0 +5,0 @@ export default PredictionMode; |
@@ -1,5 +0,5 @@ | ||
import HashCode from '../misc/HashCode'; | ||
import RuleContext from '../context/RuleContext'; | ||
import Recognizer from '../Recognizer'; | ||
import Predicate from './Predicate'; | ||
import RuleContext from "../context/RuleContext"; | ||
import HashCode from "../misc/HashCode"; | ||
import Recognizer from "../Recognizer"; | ||
import Predicate from "./Predicate"; | ||
@@ -6,0 +6,0 @@ /** |
@@ -1,5 +0,5 @@ | ||
import Token from './Token'; | ||
import Interval from './misc/IntervalSet'; | ||
import TokenSource from './TokenSource'; | ||
import TokenStream from './TokenStream'; | ||
import Interval from "./misc/IntervalSet"; | ||
import Token from "./Token"; | ||
import TokenSource from "./TokenSource"; | ||
import TokenStream from "./TokenStream"; | ||
@@ -50,3 +50,3 @@ /** | ||
LA(i: number): Token['type']; | ||
LA(i: number): Token["type"]; | ||
@@ -53,0 +53,0 @@ LB(k: number): Token; |
@@ -1,2 +0,2 @@ | ||
import InputStream from './InputStream'; | ||
import InputStream from "./InputStream"; | ||
@@ -3,0 +3,0 @@ declare namespace CharStreams { |
@@ -1,2 +0,2 @@ | ||
import Token from './Token'; | ||
import Token from "./Token"; | ||
@@ -6,3 +6,3 @@ export default class CommonToken extends Token { | ||
constructor(source?: Token['source'], type?: number, channel?: number, start?: number, stop?: number); | ||
constructor(source?: Token["source"], type?: number, channel?: number, start?: number, stop?: number); | ||
@@ -9,0 +9,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
import CommonToken from './CommonToken'; | ||
import Token from './Token'; | ||
import CommonToken from "./CommonToken"; | ||
import Token from "./Token"; | ||
@@ -22,3 +22,3 @@ export class TokenFactory {} | ||
create( | ||
source: Token['source'] | undefined, | ||
source: Token["source"] | undefined, | ||
type: number | undefined, | ||
@@ -25,0 +25,0 @@ text: string | null, |
@@ -1,4 +0,4 @@ | ||
import BufferedTokenStream from './BufferedTokenStream'; | ||
import Token from './Token'; | ||
import Lexer from './Lexer'; | ||
import BufferedTokenStream from "./BufferedTokenStream"; | ||
import Lexer from "./Lexer"; | ||
import Token from "./Token"; | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,8 +0,8 @@ | ||
import RuleContext from './RuleContext'; | ||
import Token from '../Token'; | ||
import ErrorNode from '../tree/ErrorNode'; | ||
import ParseTreeListener from '../tree/ParseTreeListener'; | ||
import RecognitionException from '../error/RecognitionException'; | ||
import TerminalNode from '../tree/TerminalNode'; | ||
import ParseTree from '../tree/ParseTree'; | ||
import RecognitionException from "../error/RecognitionException"; | ||
import Token from "../Token"; | ||
import ErrorNode from "../tree/ErrorNode"; | ||
import ParseTree from "../tree/ParseTree"; | ||
import ParseTreeListener from "../tree/ParseTreeListener"; | ||
import TerminalNode from "../tree/TerminalNode"; | ||
import RuleContext from "./RuleContext"; | ||
@@ -33,3 +33,3 @@ export default class ParserRuleContext extends RuleContext { | ||
getChild<T extends ParseTree>(i: number, type?: { new (...args: any[]): T }): T | null; | ||
getChild<T extends ParseTree>(i: number, type?: { new(...args: any[]): T }): T | null; | ||
@@ -40,5 +40,5 @@ getToken(ttype: number, i: number): Token; | ||
getTypedRuleContext<T extends ParserRuleContext>(cxtType: { new (...args: any[]): T }, i: number): T; | ||
getTypedRuleContext<T extends ParserRuleContext>(cxtType: { new(...args: any[]): T }, i: number): T; | ||
getTypedRuleContexts<T extends ParserRuleContext>(cxtType: { new (...args: any[]): T }): T[]; | ||
getTypedRuleContexts<T extends ParserRuleContext>(cxtType: { new(...args: any[]): T }): T[]; | ||
} |
@@ -1,2 +0,2 @@ | ||
import HashCode from '../misc/HashCode'; | ||
import HashCode from "../misc/HashCode"; | ||
@@ -3,0 +3,0 @@ export default class PredictionContext { |
@@ -1,5 +0,5 @@ | ||
import Interval from '../misc/Interval'; | ||
import Parser from '../Parser'; | ||
import ParseTreeVisitor from '../tree/ParseTreeVisitor'; | ||
import RuleNode from '../tree/RuleNode'; | ||
import Interval from "../misc/Interval"; | ||
import Parser from "../Parser"; | ||
import ParseTreeVisitor from "../tree/ParseTreeVisitor"; | ||
import RuleNode from "../tree/RuleNode"; | ||
@@ -6,0 +6,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
import ATN from '../atn/ATN'; | ||
import HashSet from '../misc/HashSet'; | ||
import DFAState from './DFAState'; | ||
import ATN from "../atn/ATN"; | ||
import HashSet from "../misc/HashSet"; | ||
import DFAState from "./DFAState"; | ||
@@ -5,0 +5,0 @@ export default class DFA { |
@@ -1,3 +0,3 @@ | ||
import DFA from './DFA'; | ||
import DFAState from './DFAState'; | ||
import DFA from "./DFA"; | ||
import DFAState from "./DFAState"; | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,5 +0,5 @@ | ||
import ATNConfigSet from '../atn/ATNConfigSet'; | ||
import LexerActionExecutor from '../atn/LexerActionExecutor'; | ||
import HashSet from '../misc/HashSet'; | ||
import PredPrediction from './PredPrediction'; | ||
import ATNConfigSet from "../atn/ATNConfigSet"; | ||
import LexerActionExecutor from "../atn/LexerActionExecutor"; | ||
import HashSet from "../misc/HashSet"; | ||
import PredPrediction from "./PredPrediction"; | ||
@@ -6,0 +6,0 @@ /** |
@@ -1,5 +0,5 @@ | ||
import DFA from './DFA'; | ||
import DFASerializer from './DFASerializer'; | ||
import LexerDFASerializer from './LexerDFASerializer'; | ||
import PredPrediction from './PredPrediction'; | ||
import DFA from "./DFA"; | ||
import DFASerializer from "./DFASerializer"; | ||
import LexerDFASerializer from "./LexerDFASerializer"; | ||
import PredPrediction from "./PredPrediction"; | ||
@@ -6,0 +6,0 @@ declare namespace dfa { |
@@ -1,3 +0,3 @@ | ||
import DFASerializer from './DFASerializer'; | ||
import DFASerializer from "./DFASerializer"; | ||
export default class LexerDFASerializer extends DFASerializer {} |
@@ -1,2 +0,2 @@ | ||
import SemanticContext from '../atn/SemanticContext'; | ||
import SemanticContext from "../atn/SemanticContext"; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
import Parser from '../Parser'; | ||
import Token from '../Token'; | ||
import DefaultErrorStrategy from './DefaultErrorStrategy'; | ||
import Parser from "../Parser"; | ||
import Token from "../Token"; | ||
import DefaultErrorStrategy from "./DefaultErrorStrategy"; | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import ErrorListener from './ErrorListener'; | ||
import ErrorListener from "./ErrorListener"; | ||
@@ -9,3 +9,2 @@ /** | ||
* line _line_:_charPositionInLine_ _msg_ | ||
* | ||
*/ | ||
@@ -12,0 +11,0 @@ export default class ConsoleErrorListener extends ErrorListener { |
@@ -1,10 +0,10 @@ | ||
import ErrorStrategy from './ErrorStrategy'; | ||
import IntervalSet from '../misc/IntervalSet'; | ||
import Parser from '../Parser'; | ||
import RecognitionException from './RecognitionException'; | ||
import NoViableAltException from './NoViableAltException'; | ||
import FailedPredicateException from './FailedPredicateException'; | ||
import InputMismatchException from './InputMismatchException'; | ||
import Token from '../Token'; | ||
import ParserRuleContext from '../context/ParserRuleContext'; | ||
import ParserRuleContext from "../context/ParserRuleContext"; | ||
import IntervalSet from "../misc/IntervalSet"; | ||
import Parser from "../Parser"; | ||
import Token from "../Token"; | ||
import ErrorStrategy from "./ErrorStrategy"; | ||
import FailedPredicateException from "./FailedPredicateException"; | ||
import InputMismatchException from "./InputMismatchException"; | ||
import NoViableAltException from "./NoViableAltException"; | ||
import RecognitionException from "./RecognitionException"; | ||
@@ -244,7 +244,6 @@ /** | ||
* override this method to create the appropriate tokens. | ||
* | ||
*/ | ||
getMissingSymbol(recognizer: Parser): Token; | ||
getExpectedTokens(recognizer: Parser): ReturnType<Parser['getExpectedTokens']>; | ||
getExpectedTokens(recognizer: Parser): ReturnType<Parser["getExpectedTokens"]>; | ||
@@ -251,0 +250,0 @@ /** |
@@ -1,6 +0,6 @@ | ||
import ATNConfigSet from '../atn/ATNConfigSet'; | ||
import DFA from '../dfa/DFA'; | ||
import BitSet from '../misc/BitSet'; | ||
import Parser from '../Parser'; | ||
import ErrorListener from './ErrorListener'; | ||
import ATNConfigSet from "../atn/ATNConfigSet"; | ||
import DFA from "../dfa/DFA"; | ||
import BitSet from "../misc/BitSet"; | ||
import Parser from "../Parser"; | ||
import ErrorListener from "./ErrorListener"; | ||
@@ -7,0 +7,0 @@ /** |
@@ -1,7 +0,7 @@ | ||
import ATNConfigSet from '../atn/ATNConfigSet'; | ||
import DFA from '../dfa/DFA'; | ||
import BitSet from '../misc/BitSet'; | ||
import Recognizer from '../Recognizer'; | ||
import Token from '../Token'; | ||
import RecognitionException from './RecognitionException'; | ||
import ATNConfigSet from "../atn/ATNConfigSet"; | ||
import DFA from "../dfa/DFA"; | ||
import BitSet from "../misc/BitSet"; | ||
import Recognizer from "../Recognizer"; | ||
import Token from "../Token"; | ||
import RecognitionException from "./RecognitionException"; | ||
@@ -8,0 +8,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
import Parser from '../Parser'; | ||
import RecognitionException from './RecognitionException'; | ||
import Parser from "../Parser"; | ||
import RecognitionException from "./RecognitionException"; | ||
@@ -4,0 +4,0 @@ export default class ErrorStrategy { |
@@ -1,3 +0,3 @@ | ||
import Parser from '../Parser'; | ||
import RecognitionException from './RecognitionException'; | ||
import Parser from "../Parser"; | ||
import RecognitionException from "./RecognitionException"; | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,11 +0,11 @@ | ||
import RecognitionException from './RecognitionException'; | ||
import NoViableAltException from './NoViableAltException'; | ||
import LexerNoViableAltException from './LexerNoViableAltException'; | ||
import InputMismatchException from './InputMismatchException'; | ||
import FailedPredicateException from './FailedPredicateException'; | ||
import DiagnosticErrorListener from './DiagnosticErrorListener'; | ||
import BailErrorStrategy from './BailErrorStrategy'; | ||
import DefaultErrorStrategy from './DefaultErrorStrategy'; | ||
import ErrorListener from './ErrorListener'; | ||
import ParseCancellationException from './ParseCancellationException'; | ||
import BailErrorStrategy from "./BailErrorStrategy"; | ||
import DefaultErrorStrategy from "./DefaultErrorStrategy"; | ||
import DiagnosticErrorListener from "./DiagnosticErrorListener"; | ||
import ErrorListener from "./ErrorListener"; | ||
import FailedPredicateException from "./FailedPredicateException"; | ||
import InputMismatchException from "./InputMismatchException"; | ||
import LexerNoViableAltException from "./LexerNoViableAltException"; | ||
import NoViableAltException from "./NoViableAltException"; | ||
import ParseCancellationException from "./ParseCancellationException"; | ||
import RecognitionException from "./RecognitionException"; | ||
@@ -12,0 +12,0 @@ declare namespace error { |
@@ -1,2 +0,2 @@ | ||
import RecognitionException from './RecognitionException'; | ||
import RecognitionException from "./RecognitionException"; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,5 +0,5 @@ | ||
import ATNConfigSet from '../atn/ATNConfigSet'; | ||
import InputStream from '../InputStream'; | ||
import Lexer from '../Lexer'; | ||
import RecognitionException from './RecognitionException'; | ||
import ATNConfigSet from "../atn/ATNConfigSet"; | ||
import InputStream from "../InputStream"; | ||
import Lexer from "../Lexer"; | ||
import RecognitionException from "./RecognitionException"; | ||
@@ -6,0 +6,0 @@ export default class LexerNoViableAltException extends RecognitionException { |
@@ -1,7 +0,7 @@ | ||
import ATNConfigSet from '../atn/ATNConfigSet'; | ||
import ParserRuleContext from '../context/ParserRuleContext'; | ||
import Parser from '../Parser'; | ||
import Token from '../Token'; | ||
import TokenStream from '../TokenStream'; | ||
import RecognitionException from './RecognitionException'; | ||
import ATNConfigSet from "../atn/ATNConfigSet"; | ||
import ParserRuleContext from "../context/ParserRuleContext"; | ||
import Parser from "../Parser"; | ||
import Token from "../Token"; | ||
import TokenStream from "../TokenStream"; | ||
import RecognitionException from "./RecognitionException"; | ||
@@ -8,0 +8,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import ErrorListener from './ErrorListener'; | ||
import ErrorListener from "./ErrorListener"; | ||
@@ -3,0 +3,0 @@ export default class ProxyErrorListener extends ErrorListener { |
@@ -1,6 +0,6 @@ | ||
import InputStream from '../InputStream'; | ||
import RuleContext from '../context/RuleContext'; | ||
import Recognizer from '../Recognizer'; | ||
import Token from '../Token'; | ||
import IntervalSet from '../misc/IntervalSet'; | ||
import RuleContext from "../context/RuleContext"; | ||
import InputStream from "../InputStream"; | ||
import IntervalSet from "../misc/IntervalSet"; | ||
import Recognizer from "../Recognizer"; | ||
import Token from "../Token"; | ||
@@ -7,0 +7,0 @@ export interface RecognitionExceptionOpts { |
@@ -1,2 +0,2 @@ | ||
import InputStream from './InputStream'; | ||
import InputStream from "./InputStream"; | ||
@@ -3,0 +3,0 @@ /** |
@@ -9,20 +9,20 @@ // Type definitions for antlr4 4.11 | ||
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'; | ||
import { default as atn } from "./atn/index"; | ||
import { default as LL1Analyzer } from "./atn/LL1Analyzer"; | ||
import { default as PredictionContextCache } from "./atn/PredictionContextCache"; | ||
import { default as CharStreams } from "./CharStreams"; | ||
import { default as CommonToken } from "./CommonToken"; | ||
import { default as CommonTokenStream } from "./CommonTokenStream"; | ||
import { default as ParserRuleContext } from "./context/ParserRuleContext"; | ||
import { default as dfa } from "./dfa/index"; | ||
import { default as error } from "./error/index"; | ||
import { default as FileStream } from "./FileStream"; | ||
import { default as InputStream } from "./InputStream"; | ||
import { default as Lexer } from "./Lexer"; | ||
import { default as Interval } from "./misc/Interval"; | ||
import { default as IntervalSet } from "./misc/IntervalSet"; | ||
import { default as Parser } from "./Parser"; | ||
import { default as Token } from "./Token"; | ||
import { default as tree } from "./tree/index"; | ||
import { default as Utils } from "./utils/index"; | ||
@@ -29,0 +29,0 @@ declare namespace antlr4 { |
@@ -1,6 +0,6 @@ | ||
import Recognizer from './Recognizer'; | ||
import CommonToken from './CommonToken'; | ||
import Token from './Token'; | ||
import RecognitionException from './error/RecognitionException'; | ||
import InputStream from './InputStream'; | ||
import CommonToken from "./CommonToken"; | ||
import RecognitionException from "./error/RecognitionException"; | ||
import InputStream from "./InputStream"; | ||
import Recognizer from "./Recognizer"; | ||
import Token from "./Token"; | ||
@@ -7,0 +7,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import Interval from './Interval'; | ||
import Interval from "./Interval"; | ||
@@ -3,0 +3,0 @@ export default class IntervalSet { |
{ | ||
"name": "@types/antlr4", | ||
"version": "4.11.2", | ||
"version": "4.11.3", | ||
"description": "TypeScript definitions for antlr4", | ||
@@ -38,4 +38,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/antlr4", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "b2fccf2cfab9e101592a5a0547c0f9f52e3478faca1505dc4f1096e76cf4b109", | ||
"typeScriptVersion": "4.2" | ||
"typesPublisherContentHash": "3e4c3798e0f0ca0884dacddf9907ce006913329055063f3f8946c87940bc9d87", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -1,10 +0,10 @@ | ||
import ATN from './atn/ATN'; | ||
import CommonTokenFactory from './CommonTokenFactory'; | ||
import CommonTokenStream from './CommonTokenStream'; | ||
import Recognizer from './Recognizer'; | ||
import Token from './Token'; | ||
import ParseTreeListener from './tree/ParseTreeListener'; | ||
import ParserRuleContext from './context/ParserRuleContext'; | ||
import ErrorStrategy from './error/ErrorStrategy'; | ||
import RecognitionException from './error/RecognitionException'; | ||
import ATN from "./atn/ATN"; | ||
import CommonTokenFactory from "./CommonTokenFactory"; | ||
import CommonTokenStream from "./CommonTokenStream"; | ||
import ParserRuleContext from "./context/ParserRuleContext"; | ||
import ErrorStrategy from "./error/ErrorStrategy"; | ||
import RecognitionException from "./error/RecognitionException"; | ||
import Recognizer from "./Recognizer"; | ||
import Token from "./Token"; | ||
import ParseTreeListener from "./tree/ParseTreeListener"; | ||
@@ -144,3 +144,3 @@ export default class Parser extends Recognizer { | ||
*/ | ||
getCurrentToken(): ReturnType<CommonTokenStream['LT']>; | ||
getCurrentToken(): ReturnType<CommonTokenStream["LT"]>; | ||
@@ -147,0 +147,0 @@ notifyErrorListeners(msg: string, offendingToken: Token, err?: RecognitionException): void; |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Sun, 04 Dec 2022 00:02:53 GMT | ||
* Last updated: Fri, 22 Sep 2023 18:11:03 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
@@ -1,8 +0,8 @@ | ||
import ATNSimulator from './atn/ATNSimulator'; | ||
import ConsoleErrorListener from './error/ConsoleErrorListener'; | ||
import ErrorListener from './error/ErrorListener'; | ||
import ProxyErrorListener from './error/ProxyErrorListener'; | ||
import Token from './Token'; | ||
import ParserRuleContext from './context/ParserRuleContext'; | ||
import RecognitionException from './error/RecognitionException'; | ||
import ATNSimulator from "./atn/ATNSimulator"; | ||
import ParserRuleContext from "./context/ParserRuleContext"; | ||
import ConsoleErrorListener from "./error/ConsoleErrorListener"; | ||
import ErrorListener from "./error/ErrorListener"; | ||
import ProxyErrorListener from "./error/ProxyErrorListener"; | ||
import RecognitionException from "./error/RecognitionException"; | ||
import Token from "./Token"; | ||
@@ -20,3 +20,3 @@ export default class Recognizer { | ||
getTokenNames(): Array<string | '<INVALID'>; | ||
getTokenNames(): Array<string | "<INVALID">; | ||
@@ -23,0 +23,0 @@ getTokenTypeMap(): Record<string, number>; |
@@ -1,4 +0,4 @@ | ||
import ATN from '../atn/ATN'; | ||
import IntervalSet from '../misc/IntervalSet'; | ||
import Transition from '../transition/Transition'; | ||
import ATN from "../atn/ATN"; | ||
import IntervalSet from "../misc/IntervalSet"; | ||
import Transition from "../transition/Transition"; | ||
@@ -22,15 +22,15 @@ export default class ATNState { | ||
static readonly serializationNames: [ | ||
'INVALID', | ||
'BASIC', | ||
'RULE_START', | ||
'BLOCK_START', | ||
'PLUS_BLOCK_START', | ||
'STAR_BLOCK_START', | ||
'TOKEN_START', | ||
'RULE_STOP', | ||
'BLOCK_END', | ||
'STAR_LOOP_BACK', | ||
'STAR_LOOP_ENTRY', | ||
'PLUS_LOOP_BACK', | ||
'LOOP_END', | ||
"INVALID", | ||
"BASIC", | ||
"RULE_START", | ||
"BLOCK_START", | ||
"PLUS_BLOCK_START", | ||
"STAR_BLOCK_START", | ||
"TOKEN_START", | ||
"RULE_STOP", | ||
"BLOCK_END", | ||
"STAR_LOOP_BACK", | ||
"STAR_LOOP_ENTRY", | ||
"PLUS_LOOP_BACK", | ||
"LOOP_END", | ||
]; | ||
@@ -37,0 +37,0 @@ |
@@ -1,2 +0,2 @@ | ||
import ATNState from './ATNState'; | ||
import ATNState from "./ATNState"; | ||
@@ -3,0 +3,0 @@ export default class BasicState extends ATNState { |
@@ -1,2 +0,2 @@ | ||
import ATNState from './ATNState'; | ||
import ATNState from "./ATNState"; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import ATNState from './ATNState'; | ||
import ATNState from "./ATNState"; | ||
@@ -3,0 +3,0 @@ export default class DecisionState extends ATNState { |
@@ -1,2 +0,2 @@ | ||
import ATNState from './ATNState'; | ||
import ATNState from "./ATNState"; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import ATNState from './ATNState'; | ||
import ATNState from "./ATNState"; | ||
@@ -3,0 +3,0 @@ export default class StarLoopbackState extends ATNState { |
@@ -1,3 +0,3 @@ | ||
import DecisionState from './DecisionState'; | ||
import StarLoopbackState from './StarLoopbackState'; | ||
import DecisionState from "./DecisionState"; | ||
import StarLoopbackState from "./StarLoopbackState"; | ||
@@ -4,0 +4,0 @@ export default class StarLoopEntryState extends DecisionState { |
@@ -1,2 +0,2 @@ | ||
import DecisionState from './DecisionState'; | ||
import DecisionState from "./DecisionState"; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
import InputStream from './InputStream'; | ||
import Lexer from './Lexer'; | ||
import InputStream from "./InputStream"; | ||
import Lexer from "./Lexer"; | ||
@@ -4,0 +4,0 @@ export type TokenSourceTuple = [Lexer, InputStream] | [null, null]; |
@@ -1,3 +0,3 @@ | ||
import ATNState from '../state/ATNState'; | ||
import Transition from './Transition'; | ||
import ATNState from "../state/ATNState"; | ||
import Transition from "./Transition"; | ||
@@ -4,0 +4,0 @@ export default class ActionTransition extends Transition { |
@@ -1,4 +0,4 @@ | ||
import IntervalSet from '../misc/IntervalSet'; | ||
import ATNState from '../state/ATNState'; | ||
import Transition from './Transition'; | ||
import IntervalSet from "../misc/IntervalSet"; | ||
import ATNState from "../state/ATNState"; | ||
import Transition from "./Transition"; | ||
@@ -5,0 +5,0 @@ export default class AtomTransition extends Transition { |
@@ -1,3 +0,3 @@ | ||
import ATNState from '../state/ATNState'; | ||
import Transition from './Transition'; | ||
import ATNState from "../state/ATNState"; | ||
import Transition from "./Transition"; | ||
@@ -4,0 +4,0 @@ export default class EpsilonTransition extends Transition { |
@@ -1,4 +0,4 @@ | ||
import AbstractPredicateTransition from '../atn/AbstractPredicateTransition'; | ||
import PrecedencePredicate from '../atn/PrecedencePredicate'; | ||
import ATNState from '../state/ATNState'; | ||
import AbstractPredicateTransition from "../atn/AbstractPredicateTransition"; | ||
import PrecedencePredicate from "../atn/PrecedencePredicate"; | ||
import ATNState from "../state/ATNState"; | ||
@@ -5,0 +5,0 @@ export default class PrecedencePredicateTransition extends AbstractPredicateTransition { |
@@ -1,4 +0,4 @@ | ||
import AbstractPredicateTransition from '../atn/AbstractPredicateTransition'; | ||
import Predicate from '../atn/Predicate'; | ||
import ATNState from '../state/ATNState'; | ||
import AbstractPredicateTransition from "../atn/AbstractPredicateTransition"; | ||
import Predicate from "../atn/Predicate"; | ||
import ATNState from "../state/ATNState"; | ||
@@ -5,0 +5,0 @@ export default class PredicateTransition extends AbstractPredicateTransition { |
@@ -1,4 +0,4 @@ | ||
import Transition from './Transition'; | ||
import IntervalSet from '../misc/IntervalSet'; | ||
import ATNState from '../state/ATNState'; | ||
import IntervalSet from "../misc/IntervalSet"; | ||
import ATNState from "../state/ATNState"; | ||
import Transition from "./Transition"; | ||
@@ -5,0 +5,0 @@ export default class RangeTransition extends Transition { |
@@ -1,4 +0,4 @@ | ||
import ATNState from '../state/ATNState'; | ||
import RuleStartState from '../state/RuleStartState'; | ||
import Transition from './Transition'; | ||
import ATNState from "../state/ATNState"; | ||
import RuleStartState from "../state/RuleStartState"; | ||
import Transition from "./Transition"; | ||
@@ -5,0 +5,0 @@ export default class RuleTransition extends Transition { |
@@ -1,4 +0,4 @@ | ||
import IntervalSet from '../misc/IntervalSet'; | ||
import ATNState from '../state/ATNState'; | ||
import Transition from './Transition'; | ||
import IntervalSet from "../misc/IntervalSet"; | ||
import ATNState from "../state/ATNState"; | ||
import Transition from "./Transition"; | ||
@@ -5,0 +5,0 @@ export default class SetTransition extends Transition { |
@@ -1,3 +0,3 @@ | ||
import IntervalSet from '../misc/IntervalSet'; | ||
import ATNState from '../state/ATNState'; | ||
import IntervalSet from "../misc/IntervalSet"; | ||
import ATNState from "../state/ATNState"; | ||
@@ -29,13 +29,13 @@ /** | ||
static readonly serializationNames: [ | ||
'INVALID', | ||
'EPSILON', | ||
'RANGE', | ||
'RULE', | ||
'PREDICATE', | ||
'ATOM', | ||
'ACTION', | ||
'SET', | ||
'NOT_SET', | ||
'WILDCARD', | ||
'PRECEDENCE', | ||
"INVALID", | ||
"EPSILON", | ||
"RANGE", | ||
"RULE", | ||
"PREDICATE", | ||
"ATOM", | ||
"ACTION", | ||
"SET", | ||
"NOT_SET", | ||
"WILDCARD", | ||
"PRECEDENCE", | ||
]; | ||
@@ -42,0 +42,0 @@ static readonly serializationTypes: { |
@@ -1,2 +0,2 @@ | ||
import Transition from './Transition'; | ||
import Transition from "./Transition"; | ||
@@ -3,0 +3,0 @@ export default class WildcardTransition extends Transition { |
@@ -1,2 +0,2 @@ | ||
import TerminalNode from './TerminalNode'; | ||
import TerminalNode from "./TerminalNode"; | ||
@@ -3,0 +3,0 @@ export default class ErrorNode extends TerminalNode { |
@@ -1,8 +0,8 @@ | ||
import { default as Trees } from './Trees'; | ||
import RuleNode from './RuleNode'; | ||
import ErrorNode from './ErrorNode'; | ||
import TerminalNode from './TerminalNode'; | ||
import ParseTreeListener from './ParseTreeListener'; | ||
import ParseTreeVisitor from './ParseTreeVisitor'; | ||
import ParseTreeWalker from './ParseTreeWalker'; | ||
import ErrorNode from "./ErrorNode"; | ||
import ParseTreeListener from "./ParseTreeListener"; | ||
import ParseTreeVisitor from "./ParseTreeVisitor"; | ||
import ParseTreeWalker from "./ParseTreeWalker"; | ||
import RuleNode from "./RuleNode"; | ||
import TerminalNode from "./TerminalNode"; | ||
import { default as Trees } from "./Trees"; | ||
@@ -9,0 +9,0 @@ declare namespace tree { |
@@ -1,3 +0,3 @@ | ||
import SyntaxTree from './SyntaxTree'; | ||
import SyntaxTree from "./SyntaxTree"; | ||
export default class ParseTree extends SyntaxTree {} |
@@ -1,4 +0,4 @@ | ||
import ParserRuleContext from '../context/ParserRuleContext'; | ||
import ErrorNode from './ErrorNode'; | ||
import TerminalNode from './TerminalNode'; | ||
import ParserRuleContext from "../context/ParserRuleContext"; | ||
import ErrorNode from "./ErrorNode"; | ||
import TerminalNode from "./TerminalNode"; | ||
@@ -5,0 +5,0 @@ export default class ParseTreeListener { |
@@ -1,5 +0,5 @@ | ||
import ParseTree from './ParseTree'; | ||
import RuleNode from './RuleNode'; | ||
import TerminalNode from './TerminalNode'; | ||
import ErrorNode from './ErrorNode'; | ||
import ErrorNode from "./ErrorNode"; | ||
import ParseTree from "./ParseTree"; | ||
import RuleNode from "./RuleNode"; | ||
import TerminalNode from "./TerminalNode"; | ||
@@ -6,0 +6,0 @@ export default class ParseTreeVisitor { |
@@ -1,4 +0,4 @@ | ||
import ParseTree from './ParseTree'; | ||
import ParseTreeListener from './ParseTreeListener'; | ||
import RuleNode from './RuleNode'; | ||
import ParseTree from "./ParseTree"; | ||
import ParseTreeListener from "./ParseTreeListener"; | ||
import RuleNode from "./RuleNode"; | ||
@@ -5,0 +5,0 @@ export default class ParseTreeWalker { |
@@ -1,3 +0,3 @@ | ||
import RuleContext from '../context/RuleContext'; | ||
import ParseTree from './ParseTree'; | ||
import RuleContext from "../context/RuleContext"; | ||
import ParseTree from "./ParseTree"; | ||
@@ -4,0 +4,0 @@ export default class RuleNode extends ParseTree { |
@@ -1,3 +0,3 @@ | ||
import Tree from './Tree'; | ||
import Tree from "./Tree"; | ||
export default class SyntaxTree extends Tree {} |
@@ -1,5 +0,5 @@ | ||
import ParseTree from './ParseTree'; | ||
import ParseTreeVisitor from './ParseTreeVisitor'; | ||
import Interval from '../misc/Interval'; | ||
import Token from '../Token'; | ||
import Interval from "../misc/Interval"; | ||
import Token from "../Token"; | ||
import ParseTree from "./ParseTree"; | ||
import ParseTreeVisitor from "./ParseTreeVisitor"; | ||
@@ -6,0 +6,0 @@ export default class TerminalNode implements ParseTree { |
154437
3579