antlr4ng
Version:
Alternative JavaScript/TypeScript runtime for ANTLR4
15 lines (14 loc) • 683 B
TypeScript
import { SemanticContext } from "./SemanticContext.js";
import { AbstractPredicateTransition } from "./AbstractPredicateTransition.js";
import { ATNState } from "./ATNState.js";
export declare class PredicateTransition extends AbstractPredicateTransition {
readonly ruleIndex: number;
readonly predIndex: number;
readonly isCtxDependent: boolean;
constructor(target: ATNState, ruleIndex: number, predIndex: number, isCtxDependent: boolean);
get isEpsilon(): boolean;
matches(_symbol: number, _minVocabSymbol: number, _maxVocabSymbol: number): boolean;
get transitionType(): number;
getPredicate(): SemanticContext.Predicate;
toString(): string;
}