UNPKG

antlr4ng

Version:

Alternative JavaScript/TypeScript runtime for ANTLR4

10 lines (9 loc) 301 B
import type { SemanticContext } from "../atn/SemanticContext.js"; /** Map a predicate to a predicted alternative. */ export interface PredPrediction { pred: SemanticContext; alt: number; } export declare namespace PredPrediction { const toString: (prediction: PredPrediction) => string; }