Trait xxcalc::StringProcessor
[−]
[src]
pub trait StringProcessor { fn process(self: &mut Self, line: &str) -> &Tokens; }
Transforms text expression into list of tokens.
A StringProcessor
can be implemented for a tokenizer (lexer)
which converts some text expression into a list of tokens.
Required Methods
Implementors
impl StringProcessor for Tokenizer