enum Token::Type
Defined in:
scanner/token.crEnum Members
-
Comment =
0
-
Special
-
WhiteSpace =
1
-
LeftParen =
2
-
Single-character tokens.
-
RightParen =
3
-
LeftBrace =
4
-
RightBrace =
5
-
Comma =
6
-
Dot =
7
-
Minus =
8
-
Plus =
9
-
SemiColon =
10
-
Slash =
11
-
Star =
12
-
Bang =
13
-
One or two character tokens.
-
BangEqual =
14
-
Equal =
15
-
EqualEqual =
16
-
Greater =
17
-
GreaterEqual =
18
-
Less =
19
-
LessEqual =
20
-
Identifier =
21
-
Literals.
-
String =
22
-
Number =
23
-
And =
24
-
Keywords.
-
Class =
25
-
Else =
26
-
False =
27
-
Fun =
28
-
For =
29
-
If =
30
-
Nil =
31
-
Or =
32
-
Print =
33
-
Return =
34
-
Super =
35
-
This =
36
-
True =
37
-
Var =
38
-
While =
39
-
Eof =
40
Instance Method Summary
- #and?
- #bang?
- #bang_equal?
- #class?
- #comma?
- #comment?
- #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?
- #semi_colon?
- #slash?
- #star?
- #string?
- #super?
- #this?
- #true?
- #var?
- #while?
- #white_space?