antlr4ng
Version:
Alternative JavaScript/TypeScript runtime for ANTLR4
14 lines (13 loc) • 490 B
TypeScript
import { IntervalSet } from "../misc/IntervalSet.js";
import { Transition } from "./Transition.js";
import { ATNState } from "./ATNState.js";
export declare class AtomTransition extends Transition {
#private;
/** The token type or character value; or, signifies special label. */
labelValue: number;
constructor(target: ATNState, label: number);
get label(): IntervalSet;
get transitionType(): number;
matches(symbol: number): boolean;
toString(): string;
}