[][src]Enum antlr_rust::atn_state::ATNStateType

pub enum ATNStateType {
    RuleStartState {
        stop_state: ATNStateRef,
        is_left_recursive: bool,
    },
    RuleStopState,
    BlockEndState(ATNStateRef),
    LoopEndState(ATNStateRef),
    StarLoopbackState,
    BasicState,
    DecisionState {
        decision: isize,
        nongreedy: bool,
        state: ATNDecisionState,
    },
    InvalidState,
}

Variants

RuleStartState

Fields of RuleStartState

stop_state: ATNStateRefis_left_recursive: bool
RuleStopState
BlockEndState(ATNStateRef)
LoopEndState(ATNStateRef)
StarLoopbackState
BasicState
DecisionState

Fields of DecisionState

decision: isizenongreedy: boolstate: ATNDecisionState
InvalidState

Trait Implementations

impl Debug for ATNStateType[src]

impl Eq for ATNStateType[src]

impl PartialEq<ATNStateType> for ATNStateType[src]

impl StructuralEq for ATNStateType[src]

impl StructuralPartialEq for ATNStateType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.