Skip to main content

Module types

Module types 

Source
Expand description

Sub-scanners for each literal and identifier kind.

Each sub-module is an impl Tokenizer block that handles one token class:

  • character_literal - single-quoted 'x' characters
  • identifier - keywords and user-defined names
  • number_literal - integers and floats
  • string_literal - double-quoted "โ€ฆ" strings

Modulesยง

character_literal ๐Ÿ”’
Single-quoted character literal scanner.
identifier ๐Ÿ”’
Identifier and keyword scanner.
number_literal ๐Ÿ”’
Integer and float literal scanner.
string_literal ๐Ÿ”’
Double-quoted string literal scanner.