Enum zaplib_components::TokenType
source · [−]pub enum TokenType {
Show 39 variants
Whitespace,
Newline,
Keyword,
Flow,
Fn,
TypeDef,
Impl,
Looping,
Identifier,
Call,
Macro,
TypeName,
ThemeName,
BuiltinType,
Hash,
Color,
Regex,
String,
Number,
Bool,
StringMultiBegin,
StringChunk,
StringMultiEnd,
CommentLine,
CommentMultiBegin,
CommentChunk,
CommentMultiEnd,
ParenOpen,
ParenClose,
Operator,
Namespace,
Splat,
Delimiter,
Colon,
Warning,
Error,
Defocus,
Unexpected,
Eof,
}
Variants
Whitespace
Newline
Keyword
Flow
Fn
TypeDef
Impl
Looping
Identifier
Call
Macro
TypeName
ThemeName
BuiltinType
Hash
Color
Regex
String
Number
Bool
StringMultiBegin
StringChunk
StringMultiEnd
CommentLine
CommentMultiBegin
CommentChunk
CommentMultiEnd
ParenOpen
ParenClose
Operator
Namespace
Splat
Delimiter
Colon
Warning
Error
Defocus
Unexpected
Eof
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TokenType
impl UnwindSafe for TokenType
Blanket Implementations
Mutably borrows from an owned value. Read more