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

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

Implementations

impl<'input, Ctx: CustomRuleContext<'input> + 'input> BaseParserRuleContext<'input, Ctx>[src]

pub fn new_parser_ctx(
    parent_ctx: Option<Rc<<Ctx::Ctx as ParserNodeType<'input>>::Type>>,
    invoking_state: isize,
    ext: Ctx
) -> Self
[src]

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

Trait Implementations

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

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

impl<'input, Ctx: CustomRuleContext<'input>> CustomRuleContext<'input> for BaseParserRuleContext<'input, Ctx>[src]

type TF = Ctx::TF

type Ctx = Ctx::Ctx

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

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

type Target = Ctx

The resulting type after dereferencing.

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

impl<'input, Ctx: CustomRuleContext<'input> + TidAble<'input>> ParseTree<'input> for BaseParserRuleContext<'input, Ctx>[src]

impl<'input, Ctx: CustomRuleContext<'input> + TidAble<'input>> ParserRuleContext<'input> for BaseParserRuleContext<'input, Ctx>[src]

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

impl<'input, Ctx: CustomRuleContext<'input>> TidAble<'input> for BaseParserRuleContext<'input, Ctx> where
    Ctx: TidAble<'input>, 
[src]

type Static = __BaseParserRuleContextinputCtx_should_never_exist<Ctx::Static>

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

Auto Trait Implementations

impl<'input, Ctx> !RefUnwindSafe for BaseParserRuleContext<'input, Ctx>

impl<'input, Ctx> !Send for BaseParserRuleContext<'input, Ctx>

impl<'input, Ctx> !Sync for BaseParserRuleContext<'input, Ctx>

impl<'input, Ctx> Unpin for BaseParserRuleContext<'input, Ctx> where
    Ctx: Unpin,
    <<Ctx as CustomRuleContext<'input>>::TF as TokenFactory<'input>>::Tok: Unpin

impl<'input, Ctx> !UnwindSafe for BaseParserRuleContext<'input, 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<'input, T, I> CustomRuleContext<'input> for T where
    I: ParserRuleContext<'input> + 'input + ?Sized,
    T: DerefSeal<Target = I> + 'input + Debug + Tid<'input>, 
[src]

type TF = <I as CustomRuleContext<'input>>::TF

type Ctx = <I as CustomRuleContext<'input>>::Ctx

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

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

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

impl<'input, T> RuleContextExt<'input> for T where
    T: 'input + ParserRuleContext<'input> + ?Sized
[src]

impl<'a, T> Tid<'a> for T where
    T: TidAble<'a> + ?Sized
[src]

impl<'a, X> TidExt<'a> for X where
    X: Tid<'a> + ?Sized
[src]

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