UNPKG

antlr4ng

Version:

Alternative JavaScript/TypeScript runtime for ANTLR4

12 lines (11 loc) 484 B
import { PredictionContext } from "./PredictionContext.js"; export declare class SingletonPredictionContext extends PredictionContext { readonly parent: PredictionContext | null; readonly returnState: number; constructor(parent: PredictionContext | undefined, returnState: number); getParent(_index: number): PredictionContext | null; getReturnState(_index: number): number; equals(other: unknown): boolean; toString(): string; get length(): number; }