-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathccScheme.js
More file actions
94 lines (88 loc) · 1.27 KB
/
Copy pathccScheme.js
File metadata and controls
94 lines (88 loc) · 1.27 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
ccScheme = {
"+":1,
"-":1,
"*":1,
"/":1,
"%":1,
"++":1,
"--":1,
"=":1,
"+=":1,
"-=":1,
"*=":1,
"/=":1,
">>=":1,
"<<=":1,
"&=":1,
"|=":1,
"^=":1,
"&":1,
"|":1,
"^":1,
"~":1,
"<<":1,
">>":1,
"==":1,
"!=":1,
"===":1,
"!==":1,
">":1,
">=":1,
"<":1,
"<=":1,
"&&":1,
"||":1,
"!":1,
",":1,
"sizeof":1,
"->":1,
"int":2,
"byte":2,
"short":2,
"long":2,
"float":2,
"double":2,
"char":2,
"void":2,
"auto":3,
"break":3,
"case":3,
"const":3,
"continue":3,
"default":3,
"do":3,
"else":3,
"enum":3,
"extern":3,
"for":3,
"goto":3,
"if":3,
"register":3,
"return":3,
"signed":3,
"static":3,
"struct":3,
"switch":3,
"typedef":3,
"union":3,
"unsigned":3,
"volatile":3,
"while":3,
"(":4,
")":4,
"{":4,
"}":4,
"[":4,
"]":4,
"sqString":5,
"dqString":5,
"linCom":6
}
ccStyles = {
1:"font-weight:600;color:#008800;",
2:"font-weight:600;color:#551A8B;",
3:"font-weight:600;color:#00DDFF;",
4:"font-weight:600",
5:"color:#0044DD",
6:"color:#888888;font-style:italic"
}