[][src]Struct antlr_rust::parser_rule_context::BaseParserRuleContext

pub struct BaseParserRuleContext<Ctx: CustomRuleContext> { /* fields omitted */ }

Methods

impl<Ctx: CustomRuleContext> BaseParserRuleContext<Ctx>[src]

pub fn new_parser_ctx(
    parent_ctx: Option<ParserRuleContextType>,
    invoking_state: isize,
    ext: Ctx
) -> Self
[src]

pub fn copy_from<T: ParserRuleContext + ?Sized>(ctx: &T, ext: Ctx) -> Self[src]

pub fn to_string(
    self: Rc<Self>,
    rule_names: Option<&[&str]>,
    stop: Option<Rc<dyn ParserRuleContext>>
) -> String
[src]

Trait Implementations

impl<Ctx: CustomRuleContext> Borrow<Ctx> for BaseParserRuleContext<Ctx>[src]

impl<Ctx: CustomRuleContext> BorrowMut<Ctx> for BaseParserRuleContext<Ctx>[src]

impl<Ctx: CustomRuleContext> CustomRuleContext for BaseParserRuleContext<Ctx>[src]

impl<Ctx: CustomRuleContext> Debug for BaseParserRuleContext<Ctx>[src]

impl Debug for BaseParserRuleContext<TerminalNodeCtx>[src]

impl Debug for BaseParserRuleContext<ErrorNodeCtx>[src]

impl<Ctx: CustomRuleContext> Deref for BaseParserRuleContext<Ctx>[src]

type Target = Ctx

The resulting type after dereferencing.

impl<Ctx: CustomRuleContext> DerefMut for BaseParserRuleContext<Ctx>[src]

impl<Ctx: CustomRuleContext> ParseTree for BaseParserRuleContext<Ctx>[src]

impl<Ctx: CustomRuleContext> ParserRuleContext for BaseParserRuleContext<Ctx>[src]

impl<Ctx: CustomRuleContext> RuleContext for BaseParserRuleContext<Ctx>[src]

impl<Ctx: CustomRuleContext> Tree for BaseParserRuleContext<Ctx>[src]

Auto Trait Implementations

impl<Ctx> !RefUnwindSafe for BaseParserRuleContext<Ctx>

impl<Ctx> !Send for BaseParserRuleContext<Ctx>

impl<Ctx> !Sync for BaseParserRuleContext<Ctx>

impl<Ctx> Unpin for BaseParserRuleContext<Ctx> where
    Ctx: Unpin

impl<Ctx> !UnwindSafe for BaseParserRuleContext<Ctx>

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, I> CustomRuleContext for T where
    I: ParserRuleContext + ?Sized,
    T: 'static + DerefSeal<Target = I> + Debug
[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 where
    T: Tree
[src]

impl<T> NodeText for T where
    T: ParserRuleContext
[src]

impl<T, I> ParseTree for T where
    I: ParserRuleContext + ?Sized,
    T: 'static + DerefSeal<Target = I> + Debug
[src]

impl<T, I> ParserRuleContext for T where
    I: ParserRuleContext + ?Sized,
    T: 'static + DerefSeal<Target = I> + Debug
[src]

impl<T, I> RuleContext for T where
    I: ParserRuleContext + ?Sized,
    T: 'static + DerefSeal<Target = I> + Debug
[src]

impl<T, I> Tree for T where
    I: ParserRuleContext + ?Sized,
    T: 'static + DerefSeal<Target = I> + Debug
[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.