Enum umbra_lang::TokenType [−][src]
pub enum TokenType { Identifier, Number, String, Container, Symbol, Comment, }
Expand description
Easily differentiates Token
s.
Variants
Anything alphanumeric not beginning with a number.
Anything numeric containing at most one .
and e
each.
Anything enclosed by double quotes. May contain escaped quotes, newlines, tabs, and backslashes.
A collection of untokenized data.
Enclosed in either ()
, []
, or {}
.
Another symbol, typically an operator. May have multiple characters.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for TokenType
impl UnwindSafe for TokenType
Blanket Implementations
Mutably borrows from an owned value. Read more