Struct unflow::grammar::designparser::DesignParserExt[][src]

pub struct DesignParserExt {}

Trait Implementations

impl<'input, I: TokenStream<'input, TF = LocalTokenFactory<'input>> + TidAble<'input>> Actions<'input, BaseParser<'input, DesignParserExt, I, DesignParserContextType, dyn DesignListener<'input> + 'input>> for DesignParserExt[src]

fn get_grammar_file_name(&self) -> &str[src]

Name of the file this recognizer was generated from

fn get_rule_names(&self) -> &[&str][src]

Returns array of rule names. Used for debugging and error reporting Read more

fn get_vocabulary(&self) -> &dyn Vocabulary[src]

fn sempred(
    _localctx: Option<&<<P as Recognizer<'a>>::Node as ParserNodeType<'a>>::Type>,
    _rule_index: isize,
    _action_index: isize,
    _recog: &mut P
) -> bool
[src]

fn action(
    _localctx: Option<&<<P as Recognizer<'a>>::Node as ParserNodeType<'a>>::Type>,
    _rule_index: isize,
    _action_index: isize,
    _recog: &mut P
)
[src]

fn get_atn(&self) -> &ATN[src]

impl<'input> TokenAware<'input> for DesignParserExt[src]

type TF = LocalTokenFactory<'input>

impl<'input, I: TokenStream<'input, TF = LocalTokenFactory<'input>> + TidAble<'input>> ParserRecog<'input, BaseParser<'input, DesignParserExt, I, DesignParserContextType, dyn DesignListener<'input> + 'input>> for DesignParserExt[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> NodeText for T[src]

pub default fn get_node_text(&self, _rule_names: &[&str]) -> String[src]

Returns text representation of current node type, rule name for context nodes and token text for terminal nodes Read more

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.