[−][src]Struct antlr_rust::atn_config::ATNConfig
Fields
semantic_context: Box<SemanticContext>reaches_into_outer_context: isizeImplementations
impl ATNConfig[src]
pub fn default_hash(&self) -> u64[src]
pub fn new(
state: ATNStateRef,
alt: isize,
context: Option<Arc<PredictionContext>>
) -> ATNConfig[src]
state: ATNStateRef,
alt: isize,
context: Option<Arc<PredictionContext>>
) -> ATNConfig
pub fn new_with_semantic(
state: ATNStateRef,
alt: isize,
context: Option<Arc<PredictionContext>>,
semantic_context: Box<SemanticContext>
) -> ATNConfig[src]
state: ATNStateRef,
alt: isize,
context: Option<Arc<PredictionContext>>,
semantic_context: Box<SemanticContext>
) -> ATNConfig
pub fn new_lexer_atnconfig6(
_state: ATNStateRef,
_alt: isize,
_context: Arc<PredictionContext>
) -> ATNConfig[src]
_state: ATNStateRef,
_alt: isize,
_context: Arc<PredictionContext>
) -> ATNConfig
pub fn cloned_with_new_semantic(
&self,
target: &dyn ATNState,
ctx: Box<SemanticContext>
) -> ATNConfig[src]
&self,
target: &dyn ATNState,
ctx: Box<SemanticContext>
) -> ATNConfig
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]
&self,
target: &dyn ATNState,
ctx: Option<Arc<PredictionContext>>
) -> ATNConfig
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]
fn hash<H: Hasher>(&self, state: &mut H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<ATNConfig> for ATNConfig[src]
Auto Trait Implementations
impl RefUnwindSafe for ATNConfig
impl Send for ATNConfig
impl Sync for ATNConfig
impl Unpin for ATNConfig
impl UnwindSafe for ATNConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> NodeText for T[src]
impl<'input, T> NodeText for T where
T: CustomRuleContext<'input>, [src]
T: CustomRuleContext<'input>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,