Struct rurtle::lex::MetaToken [] [src]

pub struct MetaToken {
    pub token: Token,
    pub line_number: u32,
}

This struct contains a token and some additional meta information

Fields

token

The actual token

line_number

Line number in which the token was found. Lines start with 1.

Trait Implementations

Derived Implementations

impl Debug for MetaToken

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for MetaToken

fn clone(&self) -> MetaToken

fn clone_from(&mut self, source: &Self)