The tokenizer (lexer) for `Odin` files, used to create tooling.

Collection Info

View Source
Collection
core
Path
odin/tokenizer
Entries
42

Source Files

Constants

2

Types

9

Procedures

28

Variables

3

tokens #

Source
tokens: [119]string = [Token_Kind.COUNT]string{"Invalid", "EOF", "Comment", "FileTag", "", "identifier", "integer", "float", "imaginary", "rune", "string", "", "", "=", "!", "#", "@", "$", "^", "?", "+", "-", "*", "/", "%", "%%", "&", "|", "~", "&~", "<<", ">>", "&&", "||", "", "+=", "-=", "*=", "/=", "%=", "%%=", "&=", "|=", "~=", "&~=", "<<=", ">>=", "&&=", "||=", "", "++", "--", "->", "---", "", "==", "!=", "<", ">", "<=", ">=", "", "(", ")", "[", "]", "{", "}", ":", ";", ".", ",", "..", "..<", "..=", "", "", "import", "foreign", "package", "typeid", "when", "where", "if", "else", "for", "switch", "in", "not_in", "do", "case", "break", "continue", "fallthrough", "defer", "return", "proc", "struct", "union", "enum", "bit_set", "bit_field", "map", "dynamic", "auto_cast", "cast", "transmute", "distinct", "using", "context", "or_else", "or_return", "or_break", "or_continue", "asm", "inline", "no_inline", "matrix", ""}