pub type WhereCommandContext<'input> = BaseParserRuleContext<'input, WhereCommandContextExt<'input>>;Aliased Type§
pub struct WhereCommandContext<'input> {
pub exception: Option<Box<ANTLRError>>,
/* private fields */
}Fields§
§exception: Option<Box<ANTLRError>>error if there was any in this node
Trait Implementations§
Source§impl<'input> Borrow<CommandContextExt<'input>> for WhereCommandContext<'input>
impl<'input> Borrow<CommandContextExt<'input>> for WhereCommandContext<'input>
Source§fn borrow(&self) -> &CommandContextExt<'input>
fn borrow(&self) -> &CommandContextExt<'input>
Immutably borrows from an owned value. Read more
Source§impl<'input> BorrowMut<CommandContextExt<'input>> for WhereCommandContext<'input>
impl<'input> BorrowMut<CommandContextExt<'input>> for WhereCommandContext<'input>
Source§fn borrow_mut(&mut self) -> &mut CommandContextExt<'input>
fn borrow_mut(&mut self) -> &mut CommandContextExt<'input>
Mutably borrows from an owned value. Read more
impl<'input> CommandContextAttrs<'input> for WhereCommandContext<'input>
impl<'input> HamelinParserContext<'input> for WhereCommandContext<'input>
Source§impl<'input, 'a> Listenable<dyn HamelinListener<'input> + 'a> for WhereCommandContext<'input>
impl<'input, 'a> Listenable<dyn HamelinListener<'input> + 'a> for WhereCommandContext<'input>
Source§fn enter(&self, listener: &mut (dyn HamelinListener<'input> + 'a))
fn enter(&self, listener: &mut (dyn HamelinListener<'input> + 'a))
Calls corresponding enter callback on listener
TSource§fn exit(&self, listener: &mut (dyn HamelinListener<'input> + 'a))
fn exit(&self, listener: &mut (dyn HamelinListener<'input> + 'a))
Calls corresponding exit callback on listener
TSource§impl<'input, 'a> Visitable<dyn HamelinVisitor<'input> + 'a> for WhereCommandContext<'input>
impl<'input, 'a> Visitable<dyn HamelinVisitor<'input> + 'a> for WhereCommandContext<'input>
Source§fn accept(&self, visitor: &mut (dyn HamelinVisitor<'input> + 'a))
fn accept(&self, visitor: &mut (dyn HamelinVisitor<'input> + 'a))
Calls corresponding visit callback on visitor
VisSource§impl<'input> WhereCommandContextAttrs<'input> for WhereCommandContext<'input>
impl<'input> WhereCommandContextAttrs<'input> for WhereCommandContext<'input>
Source§fn WHERE_COMMAND(
&self,
) -> Option<Rc<TerminalNode<'input, HamelinParserContextType>>>where
Self: Sized,
fn WHERE_COMMAND(
&self,
) -> Option<Rc<TerminalNode<'input, HamelinParserContextType>>>where
Self: Sized,
Retrieves first TerminalNode corresponding to token WHERE_COMMAND
Returns
None if there is no child corresponding to token WHERE_COMMAND