-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNinaEnums.cs
52 lines (45 loc) · 918 Bytes
/
NinaEnums.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
46
47
48
49
50
51
52
namespace Nina;
enum NinaCodeBlockType {
None,
Operator, Symbol, Keyword, Identifier, String, Number
}
enum NinaExprTreeType {
None,
Void, Operator, Data, Placeholder, CompiledBlock
}
enum NinaSymbolType {
None,
Sem, CBraL, CBraR
}
enum NinaKeywordType {
None,
Var, Const, Func,
If, Else, Elseif, While, Return, Break, Continue,
Try, Catch,
With
}
enum NinaOperatorType {
None,
Com, Equ,
LOr, LAnd, Or, XOr, And, LEqu, LNEqu,
More, Less, MoreE, LessE,
SftL, SftR,
Add, Sub, Mut, Div, Rem, Pow,
Not, LNot, Pos, Neg, Typeof, Object, Array, At,
BraL, BraR, MBraL, MBraR, Dot, Arr
}
enum NinaScopeType {
None = 0,
Root = 1 << 1,
Function = 1 << 2,
If = 1 << 3,
Else = 1 << 4,
Elseif = 1 << 5,
While = 1 << 6,
Try = 1 << 7,
Catch = 1 << 8
}
enum NinaWithStatementTypes {
None,
Strongly, Chinese
}