enum Lit::TokenType
Defined in:
lit/token_type.crEnum Members
-
LEFT_PAREN =
0
-
RIGHT_PAREN =
1
-
LEFT_BRACKET =
2
-
RIGHT_BRACKET =
3
-
LEFT_BRACE =
4
-
RIGHT_BRACE =
5
-
COMMA =
6
-
DOT =
7
-
COLON =
8
-
SEMICOLON =
9
-
PLUS =
10
-
Math
-
MINUS =
11
-
SLASH =
12
-
STAR =
13
-
STAR_STAR =
14
-
PERCENT =
15
-
EQUAL =
16
-
EQUAL_EQUAL =
17
-
GREATER =
18
-
GREATER_EQUAL =
19
-
LESS =
20
-
LESS_EQUAL =
21
-
BAR =
22
-
BANG =
23
-
BANG_EQUAL =
24
-
QUESTION =
25
-
PIPE_OPERATOR =
26
-
NUMBER =
27
-
Literals
-
STRING =
28
-
IDENTIFIER =
29
-
AND =
30
-
Keywords
-
ELSE =
31
-
FALSE =
32
-
FN =
33
-
IF =
34
-
LET =
35
-
NIL =
36
-
OR =
37
-
PRINT =
38
-
PUTS =
39
-
RETURN =
40
-
TRUE =
41
-
WHILE =
42
-
EOF =
43
Instance Method Summary
- #and?
- #bang?
- #bang_equal?
- #bar?
- #colon?
- #comma?
- #dot?
- #else?
- #eof?
- #equal?
- #equal_equal?
- #false?
- #fn?
- #greater?
- #greater_equal?
- #identifier?
- #if?
- #left_brace?
- #left_bracket?
- #left_paren?
- #less?
- #less_equal?
- #let?
- #minus?
- #nil?
- #number?
- #or?
- #percent?
- #pipe_operator?
- #plus?
- #print?
- #puts?
- #question?
- #return?
- #right_brace?
- #right_bracket?
- #right_paren?
- #semicolon?
- #slash?
- #star?
- #star_star?
- #string?
- #true?
- #while?