antlr4ng
Version:
Alternative JavaScript/TypeScript runtime for ANTLR4
13 lines (12 loc) • 519 B
TypeScript
import { PredictionContext } from "./PredictionContext.js";
export declare class ArrayPredictionContext extends PredictionContext {
readonly parents: Array<PredictionContext | null>;
readonly returnStates: number[];
constructor(parents: Array<PredictionContext | null>, returnStates: number[]);
isEmpty(): boolean;
get length(): number;
getParent(index: number): PredictionContext | null;
getReturnState(index: number): number;
equals(other: unknown): boolean;
toString(): string;
}