pub trait RuleContextExt<'input>: ParserRuleContext<'input> {
// Required method
fn to_string<Z>(
self: &Rc<Self>,
rule_names: Option<&[&str]>,
stop: Option<Rc<Z>>,
) -> String
where Z: ParserRuleContext<'input, Ctx = Self::Ctx, TF = Self::TF> + ?Sized + 'input,
Self::Ctx: ParserNodeType<'input, Type = Z>,
Self: CoerceTo<Z>;
}
Expand description
Extention trait implemented for all ParserRuleContext
s
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.