[][src]Struct antlr_rust::token_factory::CommonTokenFactory

pub struct CommonTokenFactory;

Default token factory

Trait Implementations

impl Debug for CommonTokenFactory[src]

impl Default for CommonTokenFactory[src]

impl Default for &CommonTokenFactory[src]

impl<'a> TidAble<'a> for CommonTokenFactory[src]

impl<'a> TokenFactory<'a> for CommonTokenFactory[src]

type Inner = CommonToken<'a>

Type of tokens emitted by this factory.

type Tok = Box<Self::Inner>

Ownership of the emitted tokens

type Data = str

Type of the underlying storage

type From = Cow<'a, str>

Type of the CharStream that factory can produce tokens from

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> NodeText for T[src]

impl<'a, T> Tid<'a> for T where
    T: TidAble<'a> + ?Sized
[src]

impl<'a, X> TidExt<'a> for X where
    X: Tid<'a> + ?Sized
[src]

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.

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.