Trait unflow::grammar::designparser::Config_valueContextAttrs [−][src]
pub trait Config_valueContextAttrs<'input>: DesignParserContext<'input> + BorrowMut<Config_valueContextExt<'input>> { fn DIGITS_IDENTIFIER(
&self
) -> Option<Rc<TerminalNode<'input, DesignParserContextType>>>
where
Self: Sized, { ... } fn unit(&self) -> Option<Rc<UnitContextAll<'input>>>
where
Self: Sized, { ... } fn DECIMAL_LITERAL(
&self
) -> Option<Rc<TerminalNode<'input, DesignParserContextType>>>
where
Self: Sized, { ... } fn FLOAT_LITERAL(
&self
) -> Option<Rc<TerminalNode<'input, DesignParserContextType>>>
where
Self: Sized, { ... } fn IDENTIFIER_all(
&self
) -> Vec<Rc<TerminalNode<'input, DesignParserContextType>>>
where
Self: Sized, { ... } fn IDENTIFIER(
&self,
i: usize
) -> Option<Rc<TerminalNode<'input, DesignParserContextType>>>
where
Self: Sized, { ... } fn COMMA(&self) -> Option<Rc<TerminalNode<'input, DesignParserContextType>>>
where
Self: Sized, { ... } fn STRING_LITERAL(
&self
) -> Option<Rc<TerminalNode<'input, DesignParserContextType>>>
where
Self: Sized, { ... } }
Provided methods
fn DIGITS_IDENTIFIER(
&self
) -> Option<Rc<TerminalNode<'input, DesignParserContextType>>> where
Self: Sized,
[src]
&self
) -> Option<Rc<TerminalNode<'input, DesignParserContextType>>> where
Self: Sized,
Expand description
Retrieves first TerminalNode corresponding to token DIGITS_IDENTIFIER
Returns None
if there is no child corresponding to token DIGITS_IDENTIFIER
fn unit(&self) -> Option<Rc<UnitContextAll<'input>>> where
Self: Sized,
[src]
Self: Sized,
fn DECIMAL_LITERAL(
&self
) -> Option<Rc<TerminalNode<'input, DesignParserContextType>>> where
Self: Sized,
[src]
&self
) -> Option<Rc<TerminalNode<'input, DesignParserContextType>>> where
Self: Sized,
Expand description
Retrieves first TerminalNode corresponding to token DECIMAL_LITERAL
Returns None
if there is no child corresponding to token DECIMAL_LITERAL
fn FLOAT_LITERAL(
&self
) -> Option<Rc<TerminalNode<'input, DesignParserContextType>>> where
Self: Sized,
[src]
&self
) -> Option<Rc<TerminalNode<'input, DesignParserContextType>>> where
Self: Sized,
Expand description
Retrieves first TerminalNode corresponding to token FLOAT_LITERAL
Returns None
if there is no child corresponding to token FLOAT_LITERAL
fn IDENTIFIER_all(
&self
) -> Vec<Rc<TerminalNode<'input, DesignParserContextType>>> where
Self: Sized,
[src]
&self
) -> Vec<Rc<TerminalNode<'input, DesignParserContextType>>> where
Self: Sized,
Expand description
Retrieves all TerminalNode
s corresponding to token IDENTIFIER in current rule
fn IDENTIFIER(
&self,
i: usize
) -> Option<Rc<TerminalNode<'input, DesignParserContextType>>> where
Self: Sized,
[src]
&self,
i: usize
) -> Option<Rc<TerminalNode<'input, DesignParserContextType>>> where
Self: Sized,
Expand description
Retrieves ’i’s TerminalNode corresponding to token IDENTIFIER, starting from 0.
Returns None
if number of children corresponding to token IDENTIFIER is less or equal than i
.
fn COMMA(&self) -> Option<Rc<TerminalNode<'input, DesignParserContextType>>> where
Self: Sized,
[src]
Self: Sized,
Expand description
Retrieves first TerminalNode corresponding to token COMMA
Returns None
if there is no child corresponding to token COMMA
fn STRING_LITERAL(
&self
) -> Option<Rc<TerminalNode<'input, DesignParserContextType>>> where
Self: Sized,
[src]
&self
) -> Option<Rc<TerminalNode<'input, DesignParserContextType>>> where
Self: Sized,
Expand description
Retrieves first TerminalNode corresponding to token STRING_LITERAL
Returns None
if there is no child corresponding to token STRING_LITERAL