File tree Expand file tree Collapse file tree 2 files changed +62
-6
lines changed Expand file tree Collapse file tree 2 files changed +62
-6
lines changed Original file line number Diff line number Diff line change 4949// $D191: Start Menu Map Group 2
5050function StartMenuMapGroup2() => bitcount( 0xd191 )
5151
52+ class Test {
53+ t_var = 0
54+ t_newvar = "213"
55+
56+ function DoSomething(v5, v56) {
57+ this.t_var = v5
58+ }
59+ }
60+
5261// $D192: Start Menu Map Group 3
5362function StartMenuMapGroup3() => bitcount( 0xd192 )
5463
Original file line number Diff line number Diff line change 55 */
66function RAScript ( hljs ) {
77 return {
8- case_insensitive : true ,
9- keywords : [
10- 'else' ,
11- 'for' ,
12- 'if' ,
13- 'while'
8+ case_insensitive : false ,
9+ contains : [
10+ hljs . C_LINE_COMMENT_MODE ,
11+ hljs . QUOTE_STRING_MODE ,
12+ hljs . C_NUMBER_MODE ,
13+ hljs . COMMENT (
14+ '/\\*' ,
15+ '\\*/' ,
16+ ) ,
17+ {
18+ className : 'variable.language' ,
19+ begin : / \b ( t h i s ) \b /
20+ } ,
21+ {
22+ className : 'keyword' ,
23+ begin : / \b ( f u n c t i o n | c l a s s | e l s e | f o r | i f | i n | r e t u r n ) \b /
24+ } ,
25+ {
26+ className : 'literal' ,
27+ begin : / \b ( t r u e | f a l s e ) \b /
28+ } ,
29+ {
30+ begin : [
31+ / f u n c t i o n [ \t ] + / ,
32+ / [ a - z A - Z _ ] [ \w ] * / ,
33+ / \( /
34+ ] ,
35+ beginScope : {
36+ 2 : "title.function"
37+ } ,
38+ } ,
39+ {
40+ begin : [
41+ / c l a s s [ \t ] + / ,
42+ / [ a - z A - Z _ ] [ \w ] * /
43+ ] ,
44+ beginScope : {
45+ 2 : "title.class"
46+ } ,
47+ } ,
48+ {
49+ begin : [
50+ / [ a - z A - Z _ ] [ \w ] * / ,
51+ / \( /
52+ ] ,
53+ beginScope : {
54+ 1 : "title.function.invoke"
55+ } ,
56+ } ,
57+ {
58+ className : 'variable' ,
59+ begin : / [ a - z A - Z _ ] [ \w ] * / ,
60+ }
1461 ]
1562 }
1663}
You can’t perform that action at this time.
0 commit comments