[][src]Struct antlr_rust::atn_config::ATNConfig

pub struct ATNConfig {
    pub semantic_context: Box<SemanticContext>,
    pub reaches_into_outer_context: isize,
    // some fields omitted
}

Fields

semantic_context: Box<SemanticContext>reaches_into_outer_context: isize

Implementations

impl ATNConfig[src]

pub fn default_hash(&self) -> u64[src]

pub fn new(
    state: ATNStateRef,
    alt: isize,
    context: Option<Arc<PredictionContext>>
) -> ATNConfig
[src]

pub fn new_with_semantic(
    state: ATNStateRef,
    alt: isize,
    context: Option<Arc<PredictionContext>>,
    semantic_context: Box<SemanticContext>
) -> ATNConfig
[src]

pub fn new_lexer_atnconfig6(
    _state: ATNStateRef,
    _alt: isize,
    _context: Arc<PredictionContext>
) -> ATNConfig
[src]

pub fn cloned_with_new_semantic(
    &self,
    target: &dyn ATNState,
    ctx: Box<SemanticContext>
) -> ATNConfig
[src]

pub fn cloned(&self, target: &dyn ATNState) -> ATNConfig[src]

pub fn cloned_with_new_ctx(
    &self,
    target: &dyn ATNState,
    ctx: Option<Arc<PredictionContext>>
) -> ATNConfig
[src]

pub fn get_state(&self) -> ATNStateRef[src]

pub fn get_alt(&self) -> isize[src]

pub fn get_context(&self) -> Option<&Arc<PredictionContext>>[src]

pub fn take_context(&mut self) -> Arc<PredictionContext>[src]

pub fn set_context(&mut self, _v: Arc<PredictionContext>)[src]

pub fn get_reaches_into_outer_context(&self) -> isize[src]

pub fn set_reaches_into_outer_context(&mut self, _v: isize)[src]

pub fn is_precedence_filter_suppressed(&self) -> bool[src]

pub fn set_precedence_filter_suppressed(&mut self, _v: bool)[src]

Trait Implementations

impl Clone for ATNConfig[src]

impl Debug for ATNConfig[src]

impl Eq for ATNConfig[src]

impl Hash for ATNConfig[src]

impl PartialEq<ATNConfig> for ATNConfig[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> NodeText for T[src]

impl<'input, T> NodeText for T where
    T: CustomRuleContext<'input>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.