-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTokenKind.cs
More file actions
51 lines (38 loc) · 685 Bytes
/
TokenKind.cs
File metadata and controls
51 lines (38 loc) · 685 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
namespace Parser
{
public enum TokenKind
{
NONE,
ID,
NUM,
STRING,
WS, // WhiteSpace
PLUS,
MINUS,
MUL,
DIV,
PERCENT,
DOUBLE_EQUAL,
NOT_EQUAL,
SINGLE_AND,
NOT,
XOR,
LESS_THAN,
LESS_OR_EQUAl,
MORE_THAN,
MORE_OR_EQUAL,
DOUBLE_AND,
DOUBLE_VERTICAL_LINE,
NULL_COALESCE,
QUESTION_MARK,
COLON,
OPEN_BRACKET,
CLOSE_BRACKET,
OPEN_SQUARE_BRACKET,
CLOSE_SQUARE_BRACKET,
DOT,
COMMA,
EOF,
TEXT // The default token
}
}