Skip to main content

ocelot_parser/lexer/
token_type.rs

1/// Token kinds needed for the first script-style `println()` programs.
2#[derive(Debug, Clone, PartialEq, Eq)]
3pub enum TokenType {
4    Identifier,
5    String,
6    LeftParen,
7    RightParen,
8    LeftBrace,
9    RightBrace,
10    Semicolon,
11    Test,
12    Unexpected,
13    EndOfFile,
14}