[−][src]Struct antlr_rust::rule_context::BaseRuleContext
Trait Implementations
impl<Ctx: CustomRuleContext> RuleContext for BaseRuleContext<Ctx>
[src]
fn get_invoking_state(&self) -> isize
[src]
fn set_invoking_state(&self, t: isize)
[src]
fn get_parent_ctx(&self) -> Option<Rc<dyn ParserRuleContext>>
[src]
fn set_parent(&self, parent: &Option<Rc<dyn ParserRuleContext>>)
[src]
fn is_empty(&self) -> bool
[src]
Auto Trait Implementations
impl<Ctx> !RefUnwindSafe for BaseRuleContext<Ctx>
impl<Ctx> !Send for BaseRuleContext<Ctx>
impl<Ctx> !Sync for BaseRuleContext<Ctx>
impl<Ctx> Unpin for BaseRuleContext<Ctx> where
Ctx: Unpin,
Ctx: Unpin,
impl<Ctx> !UnwindSafe for BaseRuleContext<Ctx>
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,
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, I> RuleContext for T where
I: ParserRuleContext + ?Sized,
T: 'static + DerefSeal<Target = I> + Debug,
[src]
I: ParserRuleContext + ?Sized,
T: 'static + DerefSeal<Target = I> + Debug,
fn get_invoking_state(&Self) -> isize
[src]
fn set_invoking_state(&Self, isize)
[src]
fn is_empty(&Self) -> bool
[src]
fn get_parent_ctx(&Self) -> Option<Rc<dyn ParserRuleContext + 'static>>
[src]
fn set_parent(&Self, &Option<Rc<dyn ParserRuleContext + 'static>>)
[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.
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>,