/*! * 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 { ATN } from "./ATN"; import { ATNStateType } from "./ATNStateType"; import { IntervalSet } from "../misc/IntervalSet"; import { Transition } from "./Transition"; /** * The following images show the relation of states and * {@link ATNState#transitions} for various grammar constructs. * * * Solid edges marked with an ε indicate a required * {@link EpsilonTransition}. * * * Dashed edges indicate locations where any transition derived from * {@link Transition} might appear. * * * Dashed nodes are place holders for either a sequence of linked * {@link BasicState} states or the inclusion of a block representing a nested * construct in one of the forms below. * * * Nodes showing multiple outgoing alternatives with a `...` support * any number of alternatives (one or more). Nodes without the `...` only * support the exact number of alternatives shown in the diagram. * *