-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathToken.cs
45 lines (44 loc) · 1.39 KB
/
Token.cs
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class Token
{
/// Token type
public enum eTOKEN
{
eTOKEN_ERROR = -1, /// Error
eTOKEN_NULL = 0, /// Null
eTOKEN_INT, /// Int
eTOKEN_FLOAT, /// Float
eTOKEN_VAR, /// Var
eTOKEN_STR, /// String
eTOKEN_NOT, /// !
eTOKEN_SHARP, /// #
eTOKEN_DOLLAR, /// $
eTOKEN_PERCENT, /// %
eTOKEN_AND, /// &
eTOKEN_LPAREN, /// (
eTOKEN_RPAREN, /// )
eTOKEN_MUL, /// *
eTOKEN_PLUS, /// +
eTOKEN_COMMA, /// ,
eTOKEN_DOT, /// .
eTOKEN_DIV, /// /
eTOKEN_COLON, /// :
eTOKEN_SEMICOLON, /// ;
eTOKEN_LANGLE, /// <
eTOKEN_ASSIGN, /// =
eTOKEN_RANGLE, /// >
eTOKEN_QUESTION, /// ?
eTOKEN_AT, /// @
eTOKEN_LSQUARE, /// [
eTOKEN_RSQUARE, /// ]
eTOKEN_XOR, /// ^
eTOKEN_LCURLY, /// {
eTOKEN_OR, /// |
eTOKEN_RCURLY, /// }
eTOKEN_TILD, /// ~
};
}