enum Kaze::TokenType
Overview
Enum consisting of all the possible token types.
Defined in:
token_type.crEnum Members
-
LEFT_PAREN =
0
-
RIGHT_PAREN =
1
-
COMMA =
2
-
COLON =
3
-
DOT =
4
-
MINUS =
5
-
PERCENT =
6
-
PLUS =
7
-
QUESTION =
8
-
SEMICOLON =
9
-
SLASH =
10
-
STAR =
11
-
BANG_EQUAL =
12
-
EQUAL =
13
-
EQUAL_EQUAL =
14
-
GREATER =
15
-
GREATER_EQUAL =
16
-
LEFT_ARROW =
17
-
LESS =
18
-
LESS_EQUAL =
19
-
IDENTIFIER =
20
-
STRING =
21
-
NUMBER =
22
-
AND =
23
-
BEGIN =
24
-
BREAK =
25
-
CLASS =
26
-
DO =
27
-
ELSE =
28
-
END =
29
-
FALSE =
30
-
FUN =
31
-
FOR =
32
-
IF =
33
-
LAMBDA =
34
-
NIL =
35
-
NOT =
36
-
OR =
37
-
RETURN =
38
-
SELF =
39
-
SUPER =
40
-
THEN =
41
-
TRUE =
42
-
VAR =
43
-
WHILE =
44
-
EOF =
45
Instance Method Summary
- #and?
- #bang_equal?
- #begin?
- #break?
- #class?
- #colon?
- #comma?
- #do?
- #dot?
- #else?
- #end?
- #eof?
- #equal?
- #equal_equal?
- #false?
- #for?
- #fun?
- #greater?
- #greater_equal?
- #identifier?
- #if?
- #lambda?
- #left_arrow?
- #left_paren?
- #less?
- #less_equal?
- #minus?
- #nil?
- #not?
- #number?
- #or?
- #percent?
- #plus?
- #question?
- #return?
- #right_paren?
- #self?
- #semicolon?
- #slash?
- #star?
- #string?
- #super?
- #then?
- #true?
- #var?
- #while?