antlr4ts
Version:
ANTLR 4 runtime for JavaScript written in Typescript
18 lines (17 loc) • 739 B
TypeScript
/*!
* Copyright 2016 The ANTLR Project. All rights reserved.
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
*/
import { ATNState } from "./ATNState";
import { IntervalSet } from "../misc/IntervalSet";
import { Transition } from "./Transition";
import { TransitionType } from "./TransitionType";
/** A transition containing a set of values. */
export declare class SetTransition extends Transition {
set: IntervalSet;
constructor(target: ATNState, set: IntervalSet);
get serializationType(): TransitionType;
get label(): IntervalSet;
matches(symbol: number, minVocabSymbol: number, maxVocabSymbol: number): boolean;
toString(): string;
}