[−][src]Trait antlr_rust::rule_context::CustomRuleContext
Implemented by generated parser for context extension for particular rule
Associated Types
type TF: TokenFactory<'input> + 'input
[src]
type Ctx: ParserNodeType<'input, TF = Self::TF>
[src]
Type that describes type of context nodes, stored in this context
Required methods
pub fn get_rule_index(&self) -> usize
[src]
Rule index that corresponds to this context type
Provided methods
pub fn get_alt_number(&self) -> isize
[src]
pub fn set_alt_number(&self, _alt_number: isize)
[src]
Implementors
impl<'input, Ctx: CustomRuleContext<'input>> CustomRuleContext<'input> for BaseParserRuleContext<'input, Ctx>
[src]
impl<'input, ExtCtx: CustomRuleContext<'input>> CustomRuleContext<'input> for BaseRuleContext<'input, ExtCtx>
[src]
impl<'input, Node: ParserNodeType<'input>, T: 'static> CustomRuleContext<'input> for LeafNode<'input, Node, T>
[src]
impl<'input, T, I: ?Sized> CustomRuleContext<'input> for T where
T: DerefSeal<Target = I> + 'input + Debug + Tid<'input>,
I: ParserRuleContext<'input> + 'input,
[src]
T: DerefSeal<Target = I> + 'input + Debug + Tid<'input>,
I: ParserRuleContext<'input> + 'input,