antlr4ng
Version:
Alternative JavaScript/TypeScript runtime for ANTLR4
11 lines (10 loc) • 408 B
TypeScript
import { DecisionEventInfo } from "./DecisionEventInfo.js";
export interface LookaheadEventInfo extends DecisionEventInfo {
/**
* The alternative chosen by adaptivePredict(), not necessarily
* the outermost alt shown for a rule; left-recursive rules have
* user-level alts that differ from the rewritten rule with a (...) block
* and a (..)* loop.
*/
predictedAlt: number;
}