Trait tokenizer_lib::TokenTrait
source · [−]pub trait TokenTrait: PartialEq {
fn is_skippable(&self) -> bool { ... }
}Expand description
PartialEq is required for comparing tokens with TokenReader::expect_next
Provided methods
fn is_skippable(&self) -> bool
fn is_skippable(&self) -> bool
Use this for nully tokens. Will be skipped TokenReader::expect_next