AssignmentContext

Type Alias AssignmentContext 

Source
pub type AssignmentContext<'input> = BaseParserRuleContext<'input, AssignmentContextExt<'input>>;

Aliased Type§

pub struct AssignmentContext<'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> AssignmentContextAttrs<'input> for AssignmentContext<'input>

Source§

fn identifier(&self) -> Option<Rc<IdentifierContextAll<'input>>>
where Self: Sized,

Source§

fn ASSIGN(&self) -> Option<Rc<TerminalNode<'input, HamelinParserContextType>>>
where Self: Sized,

Retrieves first TerminalNode corresponding to token ASSIGN Returns None if there is no child corresponding to token ASSIGN
Source§

fn expression(&self) -> Option<Rc<ExpressionContextAll<'input>>>
where Self: Sized,

Source§

impl<'input, 'a> Listenable<dyn HamelinListener<'input> + 'a> for AssignmentContext<'input>

Source§

fn enter(&self, listener: &mut (dyn HamelinListener<'input> + 'a))

Calls corresponding enter callback on listener T
Source§

fn exit(&self, listener: &mut (dyn HamelinListener<'input> + 'a))

Calls corresponding exit callback on listener T
Source§

impl<'input, 'a> Visitable<dyn HamelinVisitor<'input> + 'a> for AssignmentContext<'input>

Source§

fn accept(&self, visitor: &mut (dyn HamelinVisitor<'input> + 'a))

Calls corresponding visit callback on visitorVis
Source§

impl<'input> HamelinParserContext<'input> for AssignmentContext<'input>