enum Cryox::TokenType
Defined in:
cryox/token_type.crEnum Members
-
LEFT_PAREN =
0
-
Single-character tokens.
-
RIGHT_PAREN =
1
-
LEFT_BRACE =
2
-
RIGHT_BRACE =
3
-
COMMA =
4
-
DOT =
5
-
MINUS =
6
-
PLUS =
7
-
SEMICOLON =
8
-
SLASH =
9
-
STAR =
10
-
BANG =
11
-
One or two character tokens.
-
BANG_EQUAL =
12
-
EQUAL =
13
-
EQUAL_EQUAL =
14
-
GREATER =
15
-
GREATER_EQUAL =
16
-
LESS =
17
-
LESS_EQUAL =
18
-
IDENTIFIER =
19
-
Literals.
-
STRING =
20
-
NUMBER =
21
-
AND =
22
-
Keywords.
-
CLASS =
23
-
ELSE =
24
-
FALSE =
25
-
FUN =
26
-
FOR =
27
-
IF =
28
-
NIL =
29
-
OR =
30
-
PRINT =
31
-
RETURN =
32
-
SUPER =
33
-
THIS =
34
-
TRUE =
35
-
VAR =
36
-
WHILE =
37
-
EOF =
38
Instance Method Summary
- #and?
- #bang?
- #bang_equal?
- #class?
- #comma?
- #dot?
- #else?
- #eof?
- #equal?
- #equal_equal?
- #false?
- #for?
- #fun?
- #greater?
- #greater_equal?
- #identifier?
- #if?
- #left_brace?
- #left_paren?
- #less?
- #less_equal?
- #minus?
- #nil?
- #number?
- #or?
- #plus?
- #print?
- #return?
- #right_brace?
- #right_paren?
- #semicolon?
- #slash?
- #star?
- #string?
- #super?
- #this?
- #true?
- #var?
- #while?