[−][src]Trait antlr_rust::parser_rule_context::RuleContextExt
Extention trait implemented for all ParserRuleContext
s
Required methods
pub fn to_string<Z: ?Sized>(
self: &Rc<Self>,
rule_names: Option<&[&str]>,
stop: Option<Rc<Z>>
) -> String where
Z: ParserRuleContext<'input, Ctx = Self::Ctx, TF = Self::TF> + 'input,
Self::Ctx: ParserNodeType<'input, Type = Z>,
Rc<Self>: CoerceUnsized<Rc<Z>>,
[src]
self: &Rc<Self>,
rule_names: Option<&[&str]>,
stop: Option<Rc<Z>>
) -> String where
Z: ParserRuleContext<'input, Ctx = Self::Ctx, TF = Self::TF> + 'input,
Self::Ctx: ParserNodeType<'input, Type = Z>,
Rc<Self>: CoerceUnsized<Rc<Z>>,
Prints list of parent rules
Implementors
impl<'input, T: ParserRuleContext<'input> + ?Sized + 'input> RuleContextExt<'input> for T
[src]
pub fn to_string<Z: ?Sized>(
self: &Rc<Self>,
rule_names: Option<&[&str]>,
stop: Option<Rc<Z>>
) -> String where
Z: ParserRuleContext<'input, Ctx = T::Ctx, TF = T::TF> + 'input,
T::Ctx: ParserNodeType<'input, Type = Z>,
Rc<T>: CoerceUnsized<Rc<Z>>,
[src]
self: &Rc<Self>,
rule_names: Option<&[&str]>,
stop: Option<Rc<Z>>
) -> String where
Z: ParserRuleContext<'input, Ctx = T::Ctx, TF = T::TF> + 'input,
T::Ctx: ParserNodeType<'input, Type = Z>,
Rc<T>: CoerceUnsized<Rc<Z>>,
pub fn accept_children<V: ?Sized>(&self, visitor: &mut V) where
V: ParseTreeVisitor<'input, Self::Ctx>,
<Self::Ctx as ParserNodeType<'input>>::Type: VisitableDyn<V>,
[src]
V: ParseTreeVisitor<'input, Self::Ctx>,
<Self::Ctx as ParserNodeType<'input>>::Type: VisitableDyn<V>,