Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "antlr4ng", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "Alternative JavaScript/TypeScript runtime for ANTLR4", |
@@ -7,3 +7,2 @@ /* | ||
import { Parser } from "../Parser.js"; | ||
import { Token } from "../Token.js"; | ||
@@ -22,5 +21,4 @@ import { RecognitionException } from "../error/RecognitionException.js"; | ||
public exception?: RecognitionException; | ||
public parser?: Parser; | ||
public constructor(parent?: ParserRuleContext, invokingStateNumber?: number); | ||
public constructor(parent: ParserRuleContext | null, invokingStateNumber: number); | ||
@@ -36,9 +34,8 @@ public copyFrom(ctx: ParserRuleContext): void; | ||
public getTokens(ttype: number): TerminalNode[]; | ||
public getTypedRuleContext<T extends ParserRuleContext, P extends Parser>( | ||
ctxType: new (parser?: P, parent?: ParserRuleContext, invokingState?: number, ...args: unknown[]) => T, | ||
i: number): T; | ||
public getTypedRuleContexts<T extends ParserRuleContext, P extends Parser>( | ||
ctxType: new (parser?: P, parent?: ParserRuleContext, invokingState?: number, ...args: unknown[]) => T): T[]; | ||
public getTypedRuleContext<T extends ParserRuleContext>( | ||
ctxType: new (parent: ParserRuleContext | null, invokingState: number) => T, i: number): T; | ||
public getTypedRuleContexts<T extends ParserRuleContext>( | ||
ctxType: new (parent: ParserRuleContext | null, invokingState?: number) => T): T[]; | ||
public get ruleIndex(): number; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3369288
3783