[][src]Trait antlr_rust::common_token_factory::TokenFactory

pub trait TokenFactory: Sync {
    fn create(
        &self,
        source: Option<&mut dyn CharStream>,
        ttype: isize,
        channel: isize,
        start: isize,
        stop: isize,
        line: isize,
        column: isize
    ) -> Box<dyn Token>; }

Required methods

fn create(
    &self,
    source: Option<&mut dyn CharStream>,
    ttype: isize,
    channel: isize,
    start: isize,
    stop: isize,
    line: isize,
    column: isize
) -> Box<dyn Token>

Loading content...

Implementors

impl TokenFactory for CommonTokenFactory[src]

Loading content...