@irrelon/battlescript 3.1.4 → 3.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/functionality.ts +10 -0
- package/bin/index.js +407 -318
- package/bin/index.js.map +1 -1
- package/bin/index.ts +2 -0
- package/dist/bin/functionality.d.ts.map +1 -1
- package/dist/index.js +397 -316
- package/dist/index.js.map +1 -1
- package/dist/services/grammar/ts/language/BattleScriptLexer.d.ts.map +1 -1
- package/dist/services/parser.d.ts.map +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/ast/nodes/RootNode.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23835,7 +23835,7 @@ BattleScriptLexer._SYMBOLIC_NAMES = [
|
|
|
23835
23835
|
];
|
|
23836
23836
|
BattleScriptLexer.VOCABULARY = new VocabularyImplExports.VocabularyImpl(BattleScriptLexer._LITERAL_NAMES, BattleScriptLexer._SYMBOLIC_NAMES, []);
|
|
23837
23837
|
BattleScriptLexer._serializedATNSegments = 2;
|
|
23838
|
-
BattleScriptLexer._serializedATNSegment0 = "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x02Y\
|
|
23838
|
+
BattleScriptLexer._serializedATNSegment0 = "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x02Y\u02A8\b\x01" +
|
|
23839
23839
|
"\x04\x02\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06" +
|
|
23840
23840
|
"\x04\x07\t\x07\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\v\t\v\x04\f\t\f\x04\r" +
|
|
23841
23841
|
"\t\r\x04\x0E\t\x0E\x04\x0F\t\x0F\x04\x10\t\x10\x04\x11\t\x11\x04\x12\t" +
|
|
@@ -23883,170 +23883,171 @@ BattleScriptLexer._serializedATNSegment0 = "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u
|
|
|
23883
23883
|
"\n2\r2\x0E2\u0205\x032\x032\x052\u020A\n2\x032\x062\u020D\n2\r2\x0E2\u020E" +
|
|
23884
23884
|
"\x052\u0211\n2\x052\u0213\n2\x033\x033\x033\x033\x033\x033\x033\x033\x03" +
|
|
23885
23885
|
"3\x053\u021E\n3\x034\x034\x074\u0222\n4\f4\x0E4\u0225\v4\x034\x034\x03" +
|
|
23886
|
-
"5\x035\x075\
|
|
23887
|
-
"\
|
|
23888
|
-
"\
|
|
23889
|
-
"
|
|
23890
|
-
"
|
|
23891
|
-
"
|
|
23892
|
-
"
|
|
23893
|
-
"
|
|
23894
|
-
"
|
|
23895
|
-
"\
|
|
23896
|
-
"\
|
|
23897
|
-
"\x02\x11
|
|
23898
|
-
"
|
|
23899
|
-
"
|
|
23900
|
-
"
|
|
23901
|
-
"
|
|
23902
|
-
"
|
|
23903
|
-
"
|
|
23904
|
-
"
|
|
23905
|
-
"\
|
|
23906
|
-
"\
|
|
23907
|
-
"\
|
|
23908
|
-
"\
|
|
23909
|
-
"\
|
|
23910
|
-
"\
|
|
23911
|
-
"\
|
|
23912
|
-
"
|
|
23913
|
-
"\x02\x02\x02\x02
|
|
23914
|
-
"\x02\x02
|
|
23915
|
-
"
|
|
23916
|
-
"\x02\x02\
|
|
23917
|
-
"\
|
|
23918
|
-
"\x02\x02\x02\
|
|
23919
|
-
"\x02\
|
|
23920
|
-
"
|
|
23921
|
-
"\x02\x02\
|
|
23922
|
-
"\
|
|
23923
|
-
"\x02\x02\x02\
|
|
23924
|
-
"\x02\
|
|
23925
|
-
"
|
|
23926
|
-
"\x02\x02\x02\x02\
|
|
23927
|
-
"\x02\x02\x02\x02\
|
|
23928
|
-
"\x02\x02\x02\x02\
|
|
23929
|
-
"\x02\x02\x02\x02\
|
|
23930
|
-
"\x02\x02\x02\x02\
|
|
23931
|
-
"\x02\x02\x02\x02\
|
|
23932
|
-
"\x02\x02\x02\x02\
|
|
23933
|
-
"\x02\x02\x02\x02\
|
|
23934
|
-
"\x02\x02\x02\
|
|
23935
|
-
"\x02\
|
|
23936
|
-
"\
|
|
23937
|
-
"\x02\x02\
|
|
23938
|
-
"\x02\x02\
|
|
23939
|
-
"\x03\x02\x02\x02
|
|
23940
|
-
"\x03\x02\x02\x02\
|
|
23941
|
-
"\x03\x02\x02\x02
|
|
23942
|
-
"\x03\x02\x02\
|
|
23943
|
-
"\x03\x02\x02\
|
|
23944
|
-
"\x03\x02\x02\
|
|
23945
|
-
"\x03\x02\x02\
|
|
23946
|
-
"\x03\x02\x02\
|
|
23947
|
-
"\x03\x02\x02\
|
|
23948
|
-
"\x03\x02\x02\
|
|
23949
|
-
"\x03\x02\x02\
|
|
23950
|
-
"\x03\x02\x02\
|
|
23951
|
-
"\x03\x02\x02\
|
|
23952
|
-
"\x03\x02\x02\
|
|
23953
|
-
"\x03\x02\x02\
|
|
23954
|
-
"\x03\x02\x02\
|
|
23955
|
-
"\x03\x02\x02\x02\
|
|
23956
|
-
"\
|
|
23957
|
-
"\x02\
|
|
23958
|
-
"\x02\x02\x02\
|
|
23959
|
-
"\x03\x02\x02\x02\
|
|
23960
|
-
"\
|
|
23961
|
-
"\x02\
|
|
23962
|
-
"\x02\x02\x02\
|
|
23963
|
-
"\x03\x02\x02\x02\
|
|
23964
|
-
"\
|
|
23965
|
-
"
|
|
23966
|
-
"\
|
|
23967
|
-
"\
|
|
23968
|
-
"
|
|
23969
|
-
"\x02\
|
|
23970
|
-
"\
|
|
23971
|
-
"
|
|
23972
|
-
"\
|
|
23973
|
-
"\
|
|
23974
|
-
"\x02\
|
|
23975
|
-
"\
|
|
23976
|
-
"
|
|
23977
|
-
"\x02\
|
|
23978
|
-
"\
|
|
23979
|
-
"\
|
|
23980
|
-
"
|
|
23981
|
-
"\
|
|
23982
|
-
"\
|
|
23983
|
-
"
|
|
23984
|
-
"\
|
|
23985
|
-
"\
|
|
23986
|
-
"
|
|
23987
|
-
"\x02\
|
|
23988
|
-
"\
|
|
23989
|
-
"
|
|
23990
|
-
"\
|
|
23991
|
-
"\
|
|
23992
|
-
"\
|
|
23993
|
-
"\x02\
|
|
23994
|
-
"
|
|
23995
|
-
"\
|
|
23996
|
-
"\
|
|
23997
|
-
"\
|
|
23998
|
-
"\
|
|
23999
|
-
"\x02\
|
|
24000
|
-
"\x02\x02\
|
|
24001
|
-
"\
|
|
24002
|
-
"\
|
|
24003
|
-
"\
|
|
24004
|
-
"\x02\
|
|
24005
|
-
"
|
|
24006
|
-
"\
|
|
24007
|
-
"\
|
|
24008
|
-
"\
|
|
24009
|
-
"\
|
|
24010
|
-
"\
|
|
24011
|
-
"\x02\
|
|
24012
|
-
"\x02\x02\
|
|
24013
|
-
"\x07g\x02\x02\
|
|
24014
|
-
"\x07g\x02\x02\
|
|
24015
|
-
"\
|
|
24016
|
-
"\
|
|
24017
|
-
"\
|
|
24018
|
-
"\x02\
|
|
24019
|
-
"
|
|
24020
|
-
"\
|
|
24021
|
-
"\
|
|
24022
|
-
"
|
|
24023
|
-
"\
|
|
24024
|
-
"\
|
|
24025
|
-
"\x02\
|
|
24026
|
-
"\x02\x02\
|
|
24027
|
-
"\
|
|
24028
|
-
"\
|
|
24029
|
-
"\
|
|
24030
|
-
"\x02\
|
|
24031
|
-
"\x02\x02\
|
|
24032
|
-
"\
|
|
24033
|
-
"
|
|
24034
|
-
"\
|
|
24035
|
-
"\
|
|
24036
|
-
"\x02\
|
|
24037
|
-
"\x02\x02\
|
|
24038
|
-
"\
|
|
24039
|
-
"\
|
|
24040
|
-
"\
|
|
24041
|
-
"\
|
|
24042
|
-
"\x02\
|
|
24043
|
-
"\x02\x02\
|
|
24044
|
-
"\
|
|
24045
|
-
"\
|
|
24046
|
-
"\
|
|
24047
|
-
"\
|
|
24048
|
-
"\x02\
|
|
24049
|
-
"
|
|
23886
|
+
"5\x035\x035\x035\x075\u022D\n5\f5\x0E5\u0230\v5\x035\x035\x035\x035\x07" +
|
|
23887
|
+
"5\u0236\n5\f5\x0E5\u0239\v5\x035\x035\x055\u023D\n5\x036\x036\x076\u0241" +
|
|
23888
|
+
"\n6\f6\x0E6\u0244\v6\x036\x066\u0247\n6\r6\x0E6\u0248\x036\x066\u024C" +
|
|
23889
|
+
"\n6\r6\x0E6\u024D\x056\u0250\n6\x037\x037\x037\x038\x038\x038\x039\x03" +
|
|
23890
|
+
"9\x039\x03:\x03:\x03;\x03;\x03<\x03<\x03=\x03=\x03>\x03>\x03?\x03?\x03" +
|
|
23891
|
+
"@\x03@\x03@\x03A\x03A\x03A\x03B\x03B\x03B\x03C\x03C\x03C\x03D\x03D\x03" +
|
|
23892
|
+
"E\x03E\x03E\x03F\x03F\x03F\x03G\x03G\x03H\x03H\x03I\x03I\x03I\x03J\x03" +
|
|
23893
|
+
"J\x03J\x03K\x03K\x03K\x03K\x03L\x03L\x03M\x03M\x03N\x03N\x03O\x03O\x03" +
|
|
23894
|
+
"P\x03P\x03Q\x03Q\x03R\x03R\x03S\x03S\x03T\x03T\x03U\x03U\x03U\x03V\x03" +
|
|
23895
|
+
"V\x03W\x03W\x03X\x06X\u02A3\nX\rX\x0EX\u02A4\x03X\x03X\x03\u0237\x02\x02" +
|
|
23896
|
+
"Y\x03\x02\x03\x05\x02\x04\x07\x02\x05\t\x02\x06\v\x02\x07\r\x02\b\x0F" +
|
|
23897
|
+
"\x02\t\x11\x02\n\x13\x02\v\x15\x02\f\x17\x02\r\x19\x02\x0E\x1B\x02\x0F" +
|
|
23898
|
+
"\x1D\x02\x10\x1F\x02\x11!\x02\x12#\x02\x13%\x02\x14\'\x02\x15)\x02\x16" +
|
|
23899
|
+
"+\x02\x17-\x02\x18/\x02\x191\x02\x1A3\x02\x1B5\x02\x1C7\x02\x1D9\x02\x1E" +
|
|
23900
|
+
";\x02\x1F=\x02 ?\x02!A\x02\"C\x02#E\x02$G\x02%I\x02&K\x02\'M\x02(O\x02" +
|
|
23901
|
+
")Q\x02*S\x02+U\x02,W\x02-Y\x02.[\x02/]\x020_\x021a\x022c\x023e\x024g\x02" +
|
|
23902
|
+
"5i\x026k\x027m\x028o\x029q\x02:s\x02;u\x02<w\x02=y\x02>{\x02?}\x02@\x7F" +
|
|
23903
|
+
"\x02A\x81\x02B\x83\x02C\x85\x02D\x87\x02E\x89\x02F\x8B\x02G\x8D\x02H\x8F" +
|
|
23904
|
+
"\x02I\x91\x02J\x93\x02K\x95\x02L\x97\x02M\x99\x02N\x9B\x02O\x9D\x02P\x9F" +
|
|
23905
|
+
"\x02Q\xA1\x02R\xA3\x02S\xA5\x02T\xA7\x02U\xA9\x02V\xAB\x02W\xAD\x02X\xAF" +
|
|
23906
|
+
"\x02Y\x03\x02\v\x03\x022;\x04\x02GGgg\x04\x02--//\x03\x02$$\x04\x02\f" +
|
|
23907
|
+
"\f\x0F\x0F\x04\x02C\\c|\x06\x022;C\\aac|\x03\x02aa\x05\x02\v\f\x0F\x0F" +
|
|
23908
|
+
"\"\"\x02\u02BC\x02\x03\x03\x02\x02\x02\x02\x05\x03\x02\x02\x02\x02\x07" +
|
|
23909
|
+
"\x03\x02\x02\x02\x02\t\x03\x02\x02\x02\x02\v\x03\x02\x02\x02\x02\r\x03" +
|
|
23910
|
+
"\x02\x02\x02\x02\x0F\x03\x02\x02\x02\x02\x11\x03\x02\x02\x02\x02\x13\x03" +
|
|
23911
|
+
"\x02\x02\x02\x02\x15\x03\x02\x02\x02\x02\x17\x03\x02\x02\x02\x02\x19\x03" +
|
|
23912
|
+
"\x02\x02\x02\x02\x1B\x03\x02\x02\x02\x02\x1D\x03\x02\x02\x02\x02\x1F\x03" +
|
|
23913
|
+
"\x02\x02\x02\x02!\x03\x02\x02\x02\x02#\x03\x02\x02\x02\x02%\x03\x02\x02" +
|
|
23914
|
+
"\x02\x02\'\x03\x02\x02\x02\x02)\x03\x02\x02\x02\x02+\x03\x02\x02\x02\x02" +
|
|
23915
|
+
"-\x03\x02\x02\x02\x02/\x03\x02\x02\x02\x021\x03\x02\x02\x02\x023\x03\x02" +
|
|
23916
|
+
"\x02\x02\x025\x03\x02\x02\x02\x027\x03\x02\x02\x02\x029\x03\x02\x02\x02" +
|
|
23917
|
+
"\x02;\x03\x02\x02\x02\x02=\x03\x02\x02\x02\x02?\x03\x02\x02\x02\x02A\x03" +
|
|
23918
|
+
"\x02\x02\x02\x02C\x03\x02\x02\x02\x02E\x03\x02\x02\x02\x02G\x03\x02\x02" +
|
|
23919
|
+
"\x02\x02I\x03\x02\x02\x02\x02K\x03\x02\x02\x02\x02M\x03\x02\x02\x02\x02" +
|
|
23920
|
+
"O\x03\x02\x02\x02\x02Q\x03\x02\x02\x02\x02S\x03\x02\x02\x02\x02U\x03\x02" +
|
|
23921
|
+
"\x02\x02\x02W\x03\x02\x02\x02\x02Y\x03\x02\x02\x02\x02[\x03\x02\x02\x02" +
|
|
23922
|
+
"\x02]\x03\x02\x02\x02\x02_\x03\x02\x02\x02\x02a\x03\x02\x02\x02\x02c\x03" +
|
|
23923
|
+
"\x02\x02\x02\x02e\x03\x02\x02\x02\x02g\x03\x02\x02\x02\x02i\x03\x02\x02" +
|
|
23924
|
+
"\x02\x02k\x03\x02\x02\x02\x02m\x03\x02\x02\x02\x02o\x03\x02\x02\x02\x02" +
|
|
23925
|
+
"q\x03\x02\x02\x02\x02s\x03\x02\x02\x02\x02u\x03\x02\x02\x02\x02w\x03\x02" +
|
|
23926
|
+
"\x02\x02\x02y\x03\x02\x02\x02\x02{\x03\x02\x02\x02\x02}\x03\x02\x02\x02" +
|
|
23927
|
+
"\x02\x7F\x03\x02\x02\x02\x02\x81\x03\x02\x02\x02\x02\x83\x03\x02\x02\x02" +
|
|
23928
|
+
"\x02\x85\x03\x02\x02\x02\x02\x87\x03\x02\x02\x02\x02\x89\x03\x02\x02\x02" +
|
|
23929
|
+
"\x02\x8B\x03\x02\x02\x02\x02\x8D\x03\x02\x02\x02\x02\x8F\x03\x02\x02\x02" +
|
|
23930
|
+
"\x02\x91\x03\x02\x02\x02\x02\x93\x03\x02\x02\x02\x02\x95\x03\x02\x02\x02" +
|
|
23931
|
+
"\x02\x97\x03\x02\x02\x02\x02\x99\x03\x02\x02\x02\x02\x9B\x03\x02\x02\x02" +
|
|
23932
|
+
"\x02\x9D\x03\x02\x02\x02\x02\x9F\x03\x02\x02\x02\x02\xA1\x03\x02\x02\x02" +
|
|
23933
|
+
"\x02\xA3\x03\x02\x02\x02\x02\xA5\x03\x02\x02\x02\x02\xA7\x03\x02\x02\x02" +
|
|
23934
|
+
"\x02\xA9\x03\x02\x02\x02\x02\xAB\x03\x02\x02\x02\x02\xAD\x03\x02\x02\x02" +
|
|
23935
|
+
"\x02\xAF\x03\x02\x02\x02\x03\xB1\x03\x02\x02\x02\x05\xBA\x03\x02\x02\x02" +
|
|
23936
|
+
"\x07\xC1\x03\x02\x02\x02\t\xC6\x03\x02\x02\x02\v\xCE\x03\x02\x02\x02\r" +
|
|
23937
|
+
"\xD5\x03\x02\x02\x02\x0F\xDC\x03\x02\x02\x02\x11\xE0\x03\x02\x02\x02\x13" +
|
|
23938
|
+
"\xE5\x03\x02\x02\x02\x15\xEF\x03\x02\x02\x02\x17\xF6\x03\x02\x02\x02\x19" +
|
|
23939
|
+
"\xFE\x03\x02\x02\x02\x1B\u0105\x03\x02\x02\x02\x1D\u010B\x03\x02\x02\x02" +
|
|
23940
|
+
"\x1F\u0113\x03\x02\x02\x02!\u011A\x03\x02\x02\x02#\u0123\x03\x02\x02\x02" +
|
|
23941
|
+
"%\u012D\x03\x02\x02\x02\'\u0135\x03\x02\x02\x02)\u013B\x03\x02\x02\x02" +
|
|
23942
|
+
"+\u0141\x03\x02\x02\x02-\u0144\x03\x02\x02\x02/\u0149\x03\x02\x02\x02" +
|
|
23943
|
+
"1\u0150\x03\x02\x02\x023\u0156\x03\x02\x02\x025\u015C\x03\x02\x02\x02" +
|
|
23944
|
+
"7\u0162\x03\x02\x02\x029\u0169\x03\x02\x02\x02;\u016D\x03\x02\x02\x02" +
|
|
23945
|
+
"=\u0176\x03\x02\x02\x02?\u017B\x03\x02\x02\x02A\u0181\x03\x02\x02\x02" +
|
|
23946
|
+
"C\u018A\x03\x02\x02\x02E\u0193\x03\x02\x02\x02G\u0199\x03\x02\x02\x02" +
|
|
23947
|
+
"I\u019C\x03\x02\x02\x02K\u01A2\x03\x02\x02\x02M\u01A9\x03\x02\x02\x02" +
|
|
23948
|
+
"O\u01AF\x03\x02\x02\x02Q\u01B6\x03\x02\x02\x02S\u01BA\x03\x02\x02\x02" +
|
|
23949
|
+
"U\u01BF\x03\x02\x02\x02W\u01C5\x03\x02\x02\x02Y\u01CC\x03\x02\x02\x02" +
|
|
23950
|
+
"[\u01D1\x03\x02\x02\x02]\u01D6\x03\x02\x02\x02_\u01DB\x03\x02\x02\x02" +
|
|
23951
|
+
"a\u01E5\x03\x02\x02\x02c\u0212\x03\x02\x02\x02e\u021D\x03\x02\x02\x02" +
|
|
23952
|
+
"g\u021F\x03\x02\x02\x02i\u023C\x03\x02\x02\x02k\u024F\x03\x02\x02\x02" +
|
|
23953
|
+
"m\u0251\x03\x02\x02\x02o\u0254\x03\x02\x02\x02q\u0257\x03\x02\x02\x02" +
|
|
23954
|
+
"s\u025A\x03\x02\x02\x02u\u025C\x03\x02\x02\x02w\u025E\x03\x02\x02\x02" +
|
|
23955
|
+
"y\u0260\x03\x02\x02\x02{\u0262\x03\x02\x02\x02}\u0264\x03\x02\x02\x02" +
|
|
23956
|
+
"\x7F\u0266\x03\x02\x02\x02\x81\u0269\x03\x02\x02\x02\x83\u026C\x03\x02" +
|
|
23957
|
+
"\x02\x02\x85\u026F\x03\x02\x02\x02\x87\u0272\x03\x02\x02\x02\x89\u0274" +
|
|
23958
|
+
"\x03\x02\x02\x02\x8B\u0277\x03\x02\x02\x02\x8D\u027A\x03\x02\x02\x02\x8F" +
|
|
23959
|
+
"\u027C\x03\x02\x02\x02\x91\u027E\x03\x02\x02\x02\x93\u0281\x03\x02\x02" +
|
|
23960
|
+
"\x02\x95\u0284\x03\x02\x02\x02\x97\u0288\x03\x02\x02\x02\x99\u028A\x03" +
|
|
23961
|
+
"\x02\x02\x02\x9B\u028C\x03\x02\x02\x02\x9D\u028E\x03\x02\x02\x02\x9F\u0290" +
|
|
23962
|
+
"\x03\x02\x02\x02\xA1\u0292\x03\x02\x02\x02\xA3\u0294\x03\x02\x02\x02\xA5" +
|
|
23963
|
+
"\u0296\x03\x02\x02\x02\xA7\u0298\x03\x02\x02\x02\xA9\u029A\x03\x02\x02" +
|
|
23964
|
+
"\x02\xAB\u029D\x03\x02\x02\x02\xAD\u029F\x03\x02\x02\x02\xAF\u02A2\x03" +
|
|
23965
|
+
"\x02\x02\x02\xB1\xB2\x07g\x02\x02\xB2\xB3\x07z\x02\x02\xB3\xB4\x07v\x02" +
|
|
23966
|
+
"\x02\xB4\xB5\x07g\x02\x02\xB5\xB6\x07t\x02\x02\xB6\xB7\x07p\x02\x02\xB7" +
|
|
23967
|
+
"\xB8\x07c\x02\x02\xB8\xB9\x07n\x02\x02\xB9\x04\x03\x02\x02\x02\xBA\xBB" +
|
|
23968
|
+
"\x07p\x02\x02\xBB\xBC\x07c\x02\x02\xBC\xBD\x07v\x02\x02\xBD\xBE\x07k\x02" +
|
|
23969
|
+
"\x02\xBE\xBF\x07x\x02\x02\xBF\xC0\x07g\x02\x02\xC0\x06\x03\x02\x02\x02" +
|
|
23970
|
+
"\xC1\xC2\x07r\x02\x02\xC2\xC3\x07w\x02\x02\xC3\xC4\x07t\x02\x02\xC4\xC5" +
|
|
23971
|
+
"\x07g\x02\x02\xC5\b\x03\x02\x02\x02\xC6\xC7\x07f\x02\x02\xC7\xC8\x07g" +
|
|
23972
|
+
"\x02\x02\xC8\xC9\x07e\x02\x02\xC9\xCA\x07n\x02\x02\xCA\xCB\x07c\x02\x02" +
|
|
23973
|
+
"\xCB\xCC\x07t\x02\x02\xCC\xCD\x07g\x02\x02\xCD\n\x03\x02\x02\x02\xCE\xCF" +
|
|
23974
|
+
"\x07k\x02\x02\xCF\xD0\x07o\x02\x02\xD0\xD1\x07r\x02\x02\xD1\xD2\x07q\x02" +
|
|
23975
|
+
"\x02\xD2\xD3\x07t\x02\x02\xD3\xD4\x07v\x02\x02\xD4\f\x03\x02\x02\x02\xD5" +
|
|
23976
|
+
"\xD6\x07g\x02\x02\xD6\xD7\x07z\x02\x02\xD7\xD8\x07r\x02\x02\xD8\xD9\x07" +
|
|
23977
|
+
"q\x02\x02\xD9\xDA\x07t\x02\x02\xDA\xDB\x07v\x02\x02\xDB\x0E\x03\x02\x02" +
|
|
23978
|
+
"\x02\xDC\xDD\x07w\x02\x02\xDD\xDE\x07u\x02\x02\xDE\xDF\x07g\x02\x02\xDF" +
|
|
23979
|
+
"\x10\x03\x02\x02\x02\xE0\xE1\x07h\x02\x02\xE1\xE2\x07t\x02\x02\xE2\xE3" +
|
|
23980
|
+
"\x07q\x02\x02\xE3\xE4\x07o\x02\x02\xE4\x12\x03\x02\x02\x02\xE5\xE6\x07" +
|
|
23981
|
+
"p\x02\x02\xE6\xE7\x07c\x02\x02\xE7\xE8\x07o\x02\x02\xE8\xE9\x07g\x02\x02" +
|
|
23982
|
+
"\xE9\xEA\x07u\x02\x02\xEA\xEB\x07r\x02\x02\xEB\xEC\x07c\x02\x02\xEC\xED" +
|
|
23983
|
+
"\x07e\x02\x02\xED\xEE\x07g\x02\x02\xEE\x14\x03\x02\x02\x02\xEF\xF0\x07" +
|
|
23984
|
+
"f\x02\x02\xF0\xF1\x07g\x02\x02\xF1\xF2\x07h\x02\x02\xF2\xF3\x07k\x02\x02" +
|
|
23985
|
+
"\xF3\xF4\x07p\x02\x02\xF4\xF5\x07g\x02\x02\xF5\x16\x03\x02\x02\x02\xF6" +
|
|
23986
|
+
"\xF7\x07r\x02\x02\xF7\xF8\x07t\x02\x02\xF8\xF9\x07q\x02\x02\xF9\xFA\x07" +
|
|
23987
|
+
"i\x02\x02\xFA\xFB\x07t\x02\x02\xFB\xFC\x07c\x02\x02\xFC\xFD\x07o\x02\x02" +
|
|
23988
|
+
"\xFD\x18\x03\x02\x02\x02\xFE\xFF\x07g\x02\x02\xFF\u0100\x07z\x02\x02\u0100" +
|
|
23989
|
+
"\u0101\x07r\x02\x02\u0101\u0102\x07q\x02\x02\u0102\u0103\x07u\x02\x02" +
|
|
23990
|
+
"\u0103\u0104\x07g\x02\x02\u0104\x1A\x03\x02\x02\x02\u0105\u0106\x07i\x02" +
|
|
23991
|
+
"\x02\u0106\u0107\x07t\x02\x02\u0107\u0108\x07q\x02\x02\u0108\u0109\x07" +
|
|
23992
|
+
"w\x02\x02\u0109\u010A\x07r\x02\x02\u010A\x1C\x03\x02\x02\x02\u010B\u010C" +
|
|
23993
|
+
"\x07f\x02\x02\u010C\u010D\x07g\x02\x02\u010D\u010E\x07h\x02\x02\u010E" +
|
|
23994
|
+
"\u010F\x07c\x02\x02\u010F\u0110\x07w\x02\x02\u0110\u0111\x07n\x02\x02" +
|
|
23995
|
+
"\u0111\u0112\x07v\x02\x02\u0112\x1E\x03\x02\x02\x02\u0113\u0114\x07u\x02" +
|
|
23996
|
+
"\x02\u0114\u0115\x07y\x02\x02\u0115\u0116\x07k\x02\x02\u0116\u0117\x07" +
|
|
23997
|
+
"v\x02\x02\u0117\u0118\x07e\x02\x02\u0118\u0119\x07j\x02\x02\u0119 \x03" +
|
|
23998
|
+
"\x02\x02\x02\u011A\u011B\x07h\x02\x02\u011B\u011C\x07w\x02\x02\u011C\u011D" +
|
|
23999
|
+
"\x07p\x02\x02\u011D\u011E\x07e\x02\x02\u011E\u011F\x07v\x02\x02\u011F" +
|
|
24000
|
+
"\u0120\x07k\x02\x02\u0120\u0121\x07q\x02\x02\u0121\u0122\x07p\x02\x02" +
|
|
24001
|
+
"\u0122\"\x03\x02\x02\x02\u0123\u0124\x07k\x02\x02\u0124\u0125\x07p\x02" +
|
|
24002
|
+
"\x02\u0125\u0126\x07v\x02\x02\u0126\u0127\x07g\x02\x02\u0127\u0128\x07" +
|
|
24003
|
+
"t\x02\x02\u0128\u0129\x07h\x02\x02\u0129\u012A\x07c\x02\x02\u012A\u012B" +
|
|
24004
|
+
"\x07e\x02\x02\u012B\u012C\x07g\x02\x02\u012C$\x03\x02\x02\x02\u012D\u012E" +
|
|
24005
|
+
"\x07g\x02\x02\u012E\u012F\x07z\x02\x02\u012F\u0130\x07v\x02\x02\u0130" +
|
|
24006
|
+
"\u0131\x07g\x02\x02\u0131\u0132\x07p\x02\x02\u0132\u0133\x07f\x02\x02" +
|
|
24007
|
+
"\u0133\u0134\x07u\x02\x02\u0134&\x03\x02\x02\x02\u0135\u0136\x07u\x02" +
|
|
24008
|
+
"\x02\u0136\u0137\x07v\x02\x02\u0137\u0138\x07c\x02\x02\u0138\u0139\x07" +
|
|
24009
|
+
"v\x02\x02\u0139\u013A\x07g\x02\x02\u013A(\x03\x02\x02\x02\u013B\u013C" +
|
|
24010
|
+
"\x07g\x02\x02\u013C\u013D\x07x\x02\x02\u013D\u013E\x07g\x02\x02\u013E" +
|
|
24011
|
+
"\u013F\x07p\x02\x02\u013F\u0140\x07v\x02\x02\u0140*\x03\x02\x02\x02\u0141" +
|
|
24012
|
+
"\u0142\x07k\x02\x02\u0142\u0143\x07h\x02\x02\u0143,\x03\x02\x02\x02\u0144" +
|
|
24013
|
+
"\u0145\x07g\x02\x02\u0145\u0146\x07n\x02\x02\u0146\u0147\x07u\x02\x02" +
|
|
24014
|
+
"\u0147\u0148\x07g\x02\x02\u0148.\x03\x02\x02\x02\u0149\u014A\x07t\x02" +
|
|
24015
|
+
"\x02\u014A\u014B\x07g\x02\x02\u014B\u014C\x07v\x02\x02\u014C\u014D\x07" +
|
|
24016
|
+
"w\x02\x02\u014D\u014E\x07t\x02\x02\u014E\u014F\x07p\x02\x02\u014F0\x03" +
|
|
24017
|
+
"\x02\x02\x02\u0150\u0151\x07g\x02\x02\u0151\u0152\x07x\x02\x02\u0152\u0153" +
|
|
24018
|
+
"\x07g\x02\x02\u0153\u0154\x07t\x02\x02\u0154\u0155\x07{\x02\x02\u0155" +
|
|
24019
|
+
"2\x03\x02\x02\x02\u0156\u0157\x07n\x02\x02\u0157\u0158\x07k\x02\x02\u0158" +
|
|
24020
|
+
"\u0159\x07o\x02\x02\u0159\u015A\x07k\x02\x02\u015A\u015B\x07v\x02\x02" +
|
|
24021
|
+
"\u015B4\x03\x02\x02\x02\u015C\u015D\x07c\x02\x02\u015D\u015E\x07h\x02" +
|
|
24022
|
+
"\x02\u015E\u015F\x07v\x02\x02\u015F\u0160\x07g\x02\x02\u0160\u0161\x07" +
|
|
24023
|
+
"t\x02\x02\u01616\x03\x02\x02\x02\u0162\u0163\x07e\x02\x02\u0163\u0164" +
|
|
24024
|
+
"\x07c\x02\x02\u0164\u0165\x07p\x02\x02\u0165\u0166\x07e\x02\x02\u0166" +
|
|
24025
|
+
"\u0167\x07g\x02\x02\u0167\u0168\x07n\x02\x02\u01688\x03\x02\x02\x02\u0169" +
|
|
24026
|
+
"\u016A\x07h\x02\x02\u016A\u016B\x07q\x02\x02\u016B\u016C\x07t\x02\x02" +
|
|
24027
|
+
"\u016C:\x03\x02\x02\x02\u016D\u016E\x07g\x02\x02\u016E\u016F\x07x\x02" +
|
|
24028
|
+
"\x02\u016F\u0170\x07c\x02\x02\u0170\u0171\x07n\x02\x02\u0171\u0172\x07" +
|
|
24029
|
+
"w\x02\x02\u0172\u0173\x07c\x02\x02\u0173\u0174\x07v\x02\x02\u0174\u0175" +
|
|
24030
|
+
"\x07g\x02\x02\u0175<\x03\x02\x02\x02\u0176\u0177\x07e\x02\x02\u0177\u0178" +
|
|
24031
|
+
"\x07c\x02\x02\u0178\u0179\x07u\x02\x02\u0179\u017A\x07g\x02\x02\u017A" +
|
|
24032
|
+
">\x03\x02\x02\x02\u017B\u017C\x07d\x02\x02\u017C\u017D\x07t\x02\x02\u017D" +
|
|
24033
|
+
"\u017E\x07g\x02\x02\u017E\u017F\x07c\x02\x02\u017F\u0180\x07m\x02\x02" +
|
|
24034
|
+
"\u0180@\x03\x02\x02\x02\u0181\u0182\x07e\x02\x02\u0182\u0183\x07q\x02" +
|
|
24035
|
+
"\x02\u0183\u0184\x07p\x02\x02\u0184\u0185\x07v\x02\x02\u0185\u0186\x07" +
|
|
24036
|
+
"k\x02\x02\u0186\u0187\x07p\x02\x02\u0187\u0188\x07w\x02\x02\u0188\u0189" +
|
|
24037
|
+
"\x07g\x02\x02\u0189B\x03\x02\x02\x02\u018A\u018B\x07h\x02\x02\u018B\u018C" +
|
|
24038
|
+
"\x07c\x02\x02\u018C\u018D\x07n\x02\x02\u018D\u018E\x07n\x02\x02\u018E" +
|
|
24039
|
+
"\u018F\x07d\x02\x02\u018F\u0190\x07c\x02\x02\u0190\u0191\x07e\x02\x02" +
|
|
24040
|
+
"\u0191\u0192\x07m\x02\x02\u0192D\x03\x02\x02\x02\u0193\u0194\x07e\x02" +
|
|
24041
|
+
"\x02\u0194\u0195\x07c\x02\x02\u0195\u0196\x07v\x02\x02\u0196\u0197\x07" +
|
|
24042
|
+
"e\x02\x02\u0197\u0198\x07j\x02\x02\u0198F\x03\x02\x02\x02\u0199\u019A" +
|
|
24043
|
+
"\x07c\x02\x02\u019A\u019B\x07u\x02\x02\u019BH\x03\x02\x02\x02\u019C\u019D" +
|
|
24044
|
+
"\x07e\x02\x02\u019D\u019E\x07q\x02\x02\u019E\u019F\x07p\x02\x02\u019F" +
|
|
24045
|
+
"\u01A0\x07u\x02\x02\u01A0\u01A1\x07v\x02\x02\u01A1J\x03\x02\x02\x02\u01A2" +
|
|
24046
|
+
"\u01A3\x07q\x02\x02\u01A3\u01A4\x07d\x02\x02\u01A4\u01A5\x07l\x02\x02" +
|
|
24047
|
+
"\u01A5\u01A6\x07g\x02\x02\u01A6\u01A7\x07e\x02\x02\u01A7\u01A8\x07v\x02" +
|
|
24048
|
+
"\x02\u01A8L\x03\x02\x02\x02\u01A9\u01AA\x07c\x02\x02\u01AA\u01AB\x07t" +
|
|
24049
|
+
"\x02\x02\u01AB\u01AC\x07t\x02\x02\u01AC\u01AD\x07c\x02\x02\u01AD\u01AE" +
|
|
24050
|
+
"\x07{\x02\x02\u01AEN\x03\x02\x02\x02\u01AF\u01B0\x07u\x02\x02\u01B0\u01B1" +
|
|
24050
24051
|
"\x07v\x02\x02\u01B1\u01B2\x07t\x02\x02\u01B2\u01B3\x07k\x02\x02\u01B3" +
|
|
24051
24052
|
"\u01B4\x07p\x02\x02\u01B4\u01B5\x07i\x02\x02\u01B5P\x03\x02\x02\x02\u01B6" +
|
|
24052
24053
|
"\u01B7\x07k\x02\x02\u01B7\u01B8\x07p\x02\x02\u01B8\u01B9\x07v\x02\x02" +
|
|
@@ -24089,59 +24090,65 @@ BattleScriptLexer._serializedATNSegment0 = "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u
|
|
|
24089
24090
|
"\x02\x02\x02\u0211\u0213\x03\x02\x02\x02\u0212\u01EA\x03\x02\x02\x02\u0212" +
|
|
24090
24091
|
"\u0201\x03\x02\x02\x02\u0213d\x03\x02\x02\x02\u0214\u0215\x07v\x02\x02" +
|
|
24091
24092
|
"\u0215\u0216\x07t\x02\x02\u0216\u0217\x07w\x02\x02\u0217\u021E\x07g\x02" +
|
|
24092
|
-
"\x02\u0218\u0219\x07h\x02\x02\u0219\u021A\x07c
|
|
24093
|
-
|
|
24094
|
-
"\x03\x02\x02\x02\u021D\u0218\x03\x02\x02\x02
|
|
24095
|
-
|
|
24096
|
-
"\u0220\x03\x02\x02\x02\u0222\u0225\x03\x02\x02\x02\u0223\u0221
|
|
24097
|
-
"\x02\x02\u0223\u0224\x03\x02\x02\x02\u0224\u0226\x03\x02\x02\x02
|
|
24098
|
-
"\u0223\x03\x02\x02\x02\u0226\u0227\x07$\x02\x02\u0227h\x03\x02\x02
|
|
24099
|
-
"\u0228\
|
|
24100
|
-
"\x02\x02\u022B\
|
|
24101
|
-
"\
|
|
24102
|
-
"\x02\u022F\
|
|
24103
|
-
"\
|
|
24104
|
-
"\u0234\
|
|
24105
|
-
"\x02\x02\
|
|
24106
|
-
"\x03\x02\x02\x02\u0239\u0237\x03\x02\x02\x02\
|
|
24107
|
-
"\
|
|
24108
|
-
"\x02\x02\
|
|
24109
|
-
"\
|
|
24110
|
-
"\x02\
|
|
24111
|
-
"\
|
|
24112
|
-
"\
|
|
24113
|
-
"\
|
|
24114
|
-
"\
|
|
24115
|
-
"\x02\
|
|
24116
|
-
"\
|
|
24117
|
-
"\x03\x02\x02\x02\
|
|
24118
|
-
"\
|
|
24119
|
-
"\
|
|
24120
|
-
"\x02\
|
|
24121
|
-
"\x02\x02\
|
|
24122
|
-
"\x02\x02\
|
|
24123
|
-
"\
|
|
24124
|
-
"\
|
|
24125
|
-
"\
|
|
24126
|
-
"
|
|
24127
|
-
"\x07
|
|
24128
|
-
"\
|
|
24129
|
-
"
|
|
24130
|
-
"\x02\
|
|
24131
|
-
"
|
|
24132
|
-
"\x03\x02\x02\x02\
|
|
24133
|
-
"\
|
|
24134
|
-
"\
|
|
24135
|
-
"\x02\x02\
|
|
24136
|
-
"\
|
|
24137
|
-
"\
|
|
24138
|
-
"\
|
|
24139
|
-
"\x02\x02\
|
|
24140
|
-
"\x03\x02\x02\x02\
|
|
24141
|
-
"\
|
|
24142
|
-
"\x02\x02\
|
|
24143
|
-
"\
|
|
24144
|
-
"\x02"
|
|
24093
|
+
"\x02\u0218\u0219\x07h\x02\x02\u0219\u021A\x07c";
|
|
24094
|
+
BattleScriptLexer._serializedATNSegment1 = "\x02\x02\u021A\u021B\x07n\x02\x02\u021B\u021C\x07u\x02\x02\u021C\u021E" +
|
|
24095
|
+
"\x07g\x02\x02\u021D\u0214\x03\x02\x02\x02\u021D\u0218\x03\x02\x02\x02" +
|
|
24096
|
+
"\u021Ef\x03\x02\x02\x02\u021F\u0223\x07$\x02\x02\u0220\u0222\n\x05\x02" +
|
|
24097
|
+
"\x02\u0221\u0220\x03\x02\x02\x02\u0222\u0225\x03\x02\x02\x02\u0223\u0221" +
|
|
24098
|
+
"\x03\x02\x02\x02\u0223\u0224\x03\x02\x02\x02\u0224\u0226\x03\x02\x02\x02" +
|
|
24099
|
+
"\u0225\u0223\x03\x02\x02\x02\u0226\u0227\x07$\x02\x02\u0227h\x03\x02\x02" +
|
|
24100
|
+
"\x02\u0228\u0229\x071\x02\x02\u0229\u022A\x071\x02\x02\u022A\u022E\x03" +
|
|
24101
|
+
"\x02\x02\x02\u022B\u022D\n\x06\x02\x02\u022C\u022B\x03\x02\x02\x02\u022D" +
|
|
24102
|
+
"\u0230\x03\x02\x02\x02\u022E\u022C\x03\x02\x02\x02\u022E\u022F\x03\x02" +
|
|
24103
|
+
"\x02\x02\u022F\u023D\x03\x02\x02\x02\u0230\u022E\x03\x02\x02\x02\u0231" +
|
|
24104
|
+
"\u0232\x071\x02\x02\u0232\u0233\x07,\x02\x02\u0233\u0237\x03\x02\x02\x02" +
|
|
24105
|
+
"\u0234\u0236\v\x02\x02\x02\u0235\u0234\x03\x02\x02\x02\u0236\u0239\x03" +
|
|
24106
|
+
"\x02\x02\x02\u0237\u0238\x03\x02\x02\x02\u0237\u0235\x03\x02\x02\x02\u0238" +
|
|
24107
|
+
"\u023A\x03\x02\x02\x02\u0239\u0237\x03\x02\x02\x02\u023A\u023B\x07,\x02" +
|
|
24108
|
+
"\x02\u023B\u023D\x071\x02\x02\u023C\u0228\x03\x02\x02\x02\u023C\u0231" +
|
|
24109
|
+
"\x03\x02\x02\x02\u023Dj\x03\x02\x02\x02\u023E\u0242\t\x07\x02\x02\u023F" +
|
|
24110
|
+
"\u0241\t\b\x02\x02\u0240\u023F\x03\x02\x02\x02\u0241\u0244\x03\x02\x02" +
|
|
24111
|
+
"\x02\u0242\u0240\x03\x02\x02\x02\u0242\u0243\x03\x02\x02\x02\u0243\u0250" +
|
|
24112
|
+
"\x03\x02\x02\x02\u0244\u0242\x03\x02\x02\x02\u0245\u0247\t\t\x02\x02\u0246" +
|
|
24113
|
+
"\u0245\x03\x02\x02\x02\u0247\u0248\x03\x02\x02\x02\u0248\u0246\x03\x02" +
|
|
24114
|
+
"\x02\x02\u0248\u0249\x03\x02\x02\x02\u0249\u024B\x03\x02\x02\x02\u024A" +
|
|
24115
|
+
"\u024C\t\b\x02\x02\u024B\u024A\x03\x02\x02\x02\u024C\u024D\x03\x02\x02" +
|
|
24116
|
+
"\x02\u024D\u024B\x03\x02\x02\x02\u024D\u024E\x03\x02\x02\x02\u024E\u0250" +
|
|
24117
|
+
"\x03\x02\x02\x02\u024F\u023E\x03\x02\x02\x02\u024F\u0246\x03\x02\x02\x02" +
|
|
24118
|
+
"\u0250l\x03\x02\x02\x02\u0251\u0252\x07?\x02\x02\u0252\u0253\x07@\x02" +
|
|
24119
|
+
"\x02\u0253n\x03\x02\x02\x02\u0254\u0255\x07-\x02\x02\u0255\u0256\x07-" +
|
|
24120
|
+
"\x02\x02\u0256p\x03\x02\x02\x02\u0257\u0258\x07/\x02\x02\u0258\u0259\x07" +
|
|
24121
|
+
"/\x02\x02\u0259r\x03\x02\x02\x02\u025A\u025B\x07-\x02\x02\u025Bt\x03\x02" +
|
|
24122
|
+
"\x02\x02\u025C\u025D\x07/\x02\x02\u025Dv\x03\x02\x02\x02\u025E\u025F\x07" +
|
|
24123
|
+
"1\x02\x02\u025Fx\x03\x02\x02\x02\u0260\u0261\x07,\x02\x02\u0261z\x03\x02" +
|
|
24124
|
+
"\x02\x02\u0262\u0263\x07\'\x02\x02\u0263|\x03\x02\x02\x02\u0264\u0265" +
|
|
24125
|
+
"\x07?\x02\x02\u0265~\x03\x02\x02\x02\u0266\u0267\x07-\x02\x02\u0267\u0268" +
|
|
24126
|
+
"\x07?\x02\x02\u0268\x80\x03\x02\x02\x02\u0269\u026A\x07/\x02\x02\u026A" +
|
|
24127
|
+
"\u026B\x07?\x02\x02\u026B\x82\x03\x02\x02\x02\u026C\u026D\x07(\x02\x02" +
|
|
24128
|
+
"\u026D\u026E\x07(\x02\x02\u026E\x84\x03\x02\x02\x02\u026F\u0270\x07~\x02" +
|
|
24129
|
+
"\x02\u0270\u0271\x07~\x02\x02\u0271\x86\x03\x02\x02\x02\u0272\u0273\x07" +
|
|
24130
|
+
"#\x02\x02\u0273\x88\x03\x02\x02\x02\u0274\u0275\x07?\x02\x02\u0275\u0276" +
|
|
24131
|
+
"\x07?\x02\x02\u0276\x8A\x03\x02\x02\x02\u0277\u0278\x07#\x02\x02\u0278" +
|
|
24132
|
+
"\u0279\x07?\x02\x02\u0279\x8C\x03\x02\x02\x02\u027A\u027B\x07@\x02\x02" +
|
|
24133
|
+
"\u027B\x8E\x03\x02\x02\x02\u027C\u027D\x07>\x02\x02\u027D\x90\x03\x02" +
|
|
24134
|
+
"\x02\x02\u027E\u027F\x07@\x02\x02\u027F\u0280\x07?\x02\x02\u0280\x92\x03" +
|
|
24135
|
+
"\x02\x02\x02\u0281\u0282\x07>\x02\x02\u0282\u0283\x07?\x02\x02\u0283\x94" +
|
|
24136
|
+
"\x03\x02\x02\x02\u0284\u0285\x070\x02\x02\u0285\u0286\x070\x02\x02\u0286" +
|
|
24137
|
+
"\u0287\x070\x02\x02\u0287\x96\x03\x02\x02\x02\u0288\u0289\x070\x02\x02" +
|
|
24138
|
+
"\u0289\x98\x03\x02\x02\x02\u028A\u028B\x07.\x02\x02\u028B\x9A\x03\x02" +
|
|
24139
|
+
"\x02\x02\u028C\u028D\x07a\x02\x02\u028D\x9C\x03\x02\x02\x02\u028E\u028F" +
|
|
24140
|
+
"\x07*\x02\x02\u028F\x9E\x03\x02\x02\x02\u0290\u0291\x07+\x02\x02\u0291" +
|
|
24141
|
+
"\xA0\x03\x02\x02\x02\u0292\u0293\x07}\x02\x02\u0293\xA2\x03\x02\x02\x02" +
|
|
24142
|
+
"\u0294\u0295\x07\x7F\x02\x02\u0295\xA4\x03\x02\x02\x02\u0296\u0297\x07" +
|
|
24143
|
+
"]\x02\x02\u0297\xA6\x03\x02\x02\x02\u0298\u0299\x07_\x02\x02\u0299\xA8" +
|
|
24144
|
+
"\x03\x02\x02\x02\u029A\u029B\x07<\x02\x02\u029B\u029C\x07<\x02\x02\u029C" +
|
|
24145
|
+
"\xAA\x03\x02\x02\x02\u029D\u029E\x07=\x02\x02\u029E\xAC\x03\x02\x02\x02" +
|
|
24146
|
+
"\u029F\u02A0\x07<\x02\x02\u02A0\xAE\x03\x02\x02\x02\u02A1\u02A3\t\n\x02" +
|
|
24147
|
+
"\x02\u02A2\u02A1\x03\x02\x02\x02\u02A3\u02A4\x03\x02\x02\x02\u02A4\u02A2" +
|
|
24148
|
+
"\x03\x02\x02\x02\u02A4\u02A5\x03\x02\x02\x02\u02A5\u02A6\x03\x02\x02\x02" +
|
|
24149
|
+
"\u02A6\u02A7\bX\x02\x02\u02A7\xB0\x03\x02\x02\x02\x18\x02\u01EC\u01F2" +
|
|
24150
|
+
"\u01F4\u01F8\u01FD\u01FF\u0205\u0209\u020E\u0210\u0212\u021D\u0223\u022E" +
|
|
24151
|
+
"\u0237\u023C\u0242\u0248\u024D\u024F\u02A4\x03\b\x02\x02";
|
|
24145
24152
|
BattleScriptLexer._serializedATN = UtilsExports.join([
|
|
24146
24153
|
BattleScriptLexer._serializedATNSegment0,
|
|
24147
24154
|
BattleScriptLexer._serializedATNSegment1,
|
|
@@ -24364,10 +24371,10 @@ class BattleScriptFromAST {
|
|
|
24364
24371
|
return this.multiLine(this.inline(`${this.getTokenLiteralText(BattleScriptLexer.INTERFACE)} `, this.visit(node.name), node.extends ? ` ${this.getTokenLiteralText(BattleScriptLexer.EXTENDS)} ${this.visit(node.extends)}` : null, " {"), this.newLine(), this.indent(), this.visit(node.properties), this.dedent(), "}", this.newLine());
|
|
24365
24372
|
}
|
|
24366
24373
|
visitStateDeclaration(node, options) {
|
|
24367
|
-
return this.multiLine(this.inline(`${this.getTokenLiteralText(BattleScriptLexer.STATE)} `, this.visit(node.condition)), this.visit(node.body), node.comment ? "
|
|
24374
|
+
return this.multiLine(this.inline(`${this.getTokenLiteralText(BattleScriptLexer.STATE)} `, this.visit(node.condition)), this.visit(node.body), node.comment ? " // " + node.comment : null, this.newLine(), this.newLine());
|
|
24368
24375
|
}
|
|
24369
24376
|
visitEventDeclaration(node, options = {}) {
|
|
24370
|
-
return this.multiLine(this.inline(`${this.getTokenLiteralText(BattleScriptLexer.EVENT)} `, this.visit(node.event), "(", this.visit(node.arguments), ") => "), this.visit(node.body), node.comment ? "
|
|
24377
|
+
return this.multiLine(this.inline(`${this.getTokenLiteralText(BattleScriptLexer.EVENT)} `, this.visit(node.event), "(", this.visit(node.arguments), ") => "), this.visit(node.body), node.comment ? " // " + node.comment : null, this.newLine());
|
|
24371
24378
|
}
|
|
24372
24379
|
visitBlockStatement(node, options = {}) {
|
|
24373
24380
|
return this.raw("{", this.newLine(), this.indent(), this.visit(node.body), this.dedent(), this.inline("}"));
|
|
@@ -24446,13 +24453,13 @@ class BattleScriptFromAST {
|
|
|
24446
24453
|
return this.raw(this.inline(`${this.getTokenLiteralText(BattleScriptLexer.FALLBACK)}`, " ", this.visit(node.body), this.newLine()));
|
|
24447
24454
|
}
|
|
24448
24455
|
visitConstantDeclaration(node, options = {}) {
|
|
24449
|
-
return this.inline(this.getTokenLiteralText(BattleScriptLexer.CONST), " ", this.commaSeparatedList(node.declarations), ";", node.comment ? "
|
|
24456
|
+
return this.inline(this.getTokenLiteralText(BattleScriptLexer.CONST), " ", this.commaSeparatedList(node.declarations), ";", node.comment ? " // " + node.comment : null, this.newLine());
|
|
24450
24457
|
}
|
|
24451
24458
|
visitConstantDeclarator(node, options = {}) {
|
|
24452
24459
|
return this.raw(this.visit(node.type), " ", this.visit(node.id), node.init ? " = " + this.visit(node.init) : null);
|
|
24453
24460
|
}
|
|
24454
24461
|
visitVariableDeclaration(node, options = {}) {
|
|
24455
|
-
return this.inline(this.commaSeparatedList(node.declarations), ";", node.comment ? "
|
|
24462
|
+
return this.inline(this.commaSeparatedList(node.declarations), ";", node.comment ? " // " + node.comment : null, this.newLine());
|
|
24456
24463
|
}
|
|
24457
24464
|
visitVariableDeclarator(node, options = {}) {
|
|
24458
24465
|
return this.raw(this.visit(node.type), " ", this.visit(node.id), node.init ? " = " + this.visit(node.init) : null);
|
|
@@ -24476,7 +24483,7 @@ class BattleScriptFromAST {
|
|
|
24476
24483
|
return this.inline(node.text, this.newLine());
|
|
24477
24484
|
}
|
|
24478
24485
|
visitReturn(node, options) {
|
|
24479
|
-
return this.inline(this.getTokenLiteralText(BattleScriptLexer.RETURN), node.argument !== null ? " " + this.visit(node.argument) : null, ";", node.comment ? "
|
|
24486
|
+
return this.inline(this.getTokenLiteralText(BattleScriptLexer.RETURN), node.argument !== null ? " " + this.visit(node.argument) : null, ";", node.comment ? " // " + node.comment : null, this.newLine());
|
|
24480
24487
|
}
|
|
24481
24488
|
visitLiteral(node, options) {
|
|
24482
24489
|
return node.raw;
|
|
@@ -25807,7 +25814,7 @@ var body$3 = [
|
|
|
25807
25814
|
kind: "FUNCTION_DECLARATION",
|
|
25808
25815
|
returnType: {
|
|
25809
25816
|
kind: "DATA_TYPE",
|
|
25810
|
-
value: "
|
|
25817
|
+
value: "void",
|
|
25811
25818
|
meta: {
|
|
25812
25819
|
start: {
|
|
25813
25820
|
line: 1,
|
|
@@ -25816,8 +25823,8 @@ var body$3 = [
|
|
|
25816
25823
|
},
|
|
25817
25824
|
stop: {
|
|
25818
25825
|
line: 1,
|
|
25819
|
-
column:
|
|
25820
|
-
offset:
|
|
25826
|
+
column: 11,
|
|
25827
|
+
offset: 10
|
|
25821
25828
|
}
|
|
25822
25829
|
}
|
|
25823
25830
|
},
|
|
@@ -25827,13 +25834,13 @@ var body$3 = [
|
|
|
25827
25834
|
meta: {
|
|
25828
25835
|
start: {
|
|
25829
25836
|
line: 1,
|
|
25830
|
-
column:
|
|
25831
|
-
offset:
|
|
25837
|
+
column: 12,
|
|
25838
|
+
offset: 12
|
|
25832
25839
|
},
|
|
25833
25840
|
stop: {
|
|
25834
25841
|
line: 1,
|
|
25835
|
-
column:
|
|
25836
|
-
offset:
|
|
25842
|
+
column: 29,
|
|
25843
|
+
offset: 28
|
|
25837
25844
|
}
|
|
25838
25845
|
}
|
|
25839
25846
|
},
|
|
@@ -25846,26 +25853,26 @@ var body$3 = [
|
|
|
25846
25853
|
meta: {
|
|
25847
25854
|
start: {
|
|
25848
25855
|
line: 1,
|
|
25849
|
-
column:
|
|
25850
|
-
offset:
|
|
25856
|
+
column: 38,
|
|
25857
|
+
offset: 38
|
|
25851
25858
|
},
|
|
25852
25859
|
stop: {
|
|
25853
25860
|
line: 1,
|
|
25854
|
-
column:
|
|
25855
|
-
offset:
|
|
25861
|
+
column: 42,
|
|
25862
|
+
offset: 41
|
|
25856
25863
|
}
|
|
25857
25864
|
}
|
|
25858
25865
|
},
|
|
25859
25866
|
meta: {
|
|
25860
25867
|
start: {
|
|
25861
25868
|
line: 1,
|
|
25862
|
-
column:
|
|
25863
|
-
offset:
|
|
25869
|
+
column: 35,
|
|
25870
|
+
offset: 35
|
|
25864
25871
|
},
|
|
25865
25872
|
stop: {
|
|
25866
25873
|
line: 1,
|
|
25867
|
-
column:
|
|
25868
|
-
offset:
|
|
25874
|
+
column: 42,
|
|
25875
|
+
offset: 41
|
|
25869
25876
|
}
|
|
25870
25877
|
},
|
|
25871
25878
|
type: {
|
|
@@ -25874,13 +25881,13 @@ var body$3 = [
|
|
|
25874
25881
|
meta: {
|
|
25875
25882
|
start: {
|
|
25876
25883
|
line: 1,
|
|
25877
|
-
column:
|
|
25878
|
-
offset:
|
|
25884
|
+
column: 31,
|
|
25885
|
+
offset: 31
|
|
25879
25886
|
},
|
|
25880
25887
|
stop: {
|
|
25881
25888
|
line: 1,
|
|
25882
|
-
column:
|
|
25883
|
-
offset:
|
|
25889
|
+
column: 34,
|
|
25890
|
+
offset: 33
|
|
25884
25891
|
}
|
|
25885
25892
|
}
|
|
25886
25893
|
}
|
|
@@ -25896,8 +25903,8 @@ var body$3 = [
|
|
|
25896
25903
|
},
|
|
25897
25904
|
stop: {
|
|
25898
25905
|
line: 1,
|
|
25899
|
-
column:
|
|
25900
|
-
offset:
|
|
25906
|
+
column: 44,
|
|
25907
|
+
offset: 43
|
|
25901
25908
|
}
|
|
25902
25909
|
}
|
|
25903
25910
|
},
|
|
@@ -25905,17 +25912,17 @@ var body$3 = [
|
|
|
25905
25912
|
kind: "FUNCTION_DECLARATION",
|
|
25906
25913
|
returnType: {
|
|
25907
25914
|
kind: "DATA_TYPE",
|
|
25908
|
-
value: "
|
|
25915
|
+
value: "void",
|
|
25909
25916
|
meta: {
|
|
25910
25917
|
start: {
|
|
25911
25918
|
line: 2,
|
|
25912
25919
|
column: 7,
|
|
25913
|
-
offset:
|
|
25920
|
+
offset: 52
|
|
25914
25921
|
},
|
|
25915
25922
|
stop: {
|
|
25916
25923
|
line: 2,
|
|
25917
|
-
column:
|
|
25918
|
-
offset:
|
|
25924
|
+
column: 11,
|
|
25925
|
+
offset: 55
|
|
25919
25926
|
}
|
|
25920
25927
|
}
|
|
25921
25928
|
},
|
|
@@ -25925,13 +25932,13 @@ var body$3 = [
|
|
|
25925
25932
|
meta: {
|
|
25926
25933
|
start: {
|
|
25927
25934
|
line: 2,
|
|
25928
|
-
column:
|
|
25929
|
-
offset:
|
|
25935
|
+
column: 12,
|
|
25936
|
+
offset: 57
|
|
25930
25937
|
},
|
|
25931
25938
|
stop: {
|
|
25932
25939
|
line: 2,
|
|
25933
|
-
column:
|
|
25934
|
-
offset:
|
|
25940
|
+
column: 28,
|
|
25941
|
+
offset: 72
|
|
25935
25942
|
}
|
|
25936
25943
|
}
|
|
25937
25944
|
},
|
|
@@ -25942,13 +25949,13 @@ var body$3 = [
|
|
|
25942
25949
|
meta: {
|
|
25943
25950
|
start: {
|
|
25944
25951
|
line: 2,
|
|
25945
|
-
column:
|
|
25946
|
-
offset:
|
|
25952
|
+
column: 37,
|
|
25953
|
+
offset: 82
|
|
25947
25954
|
},
|
|
25948
25955
|
stop: {
|
|
25949
25956
|
line: 2,
|
|
25950
|
-
column:
|
|
25951
|
-
offset:
|
|
25957
|
+
column: 47,
|
|
25958
|
+
offset: 91
|
|
25952
25959
|
}
|
|
25953
25960
|
},
|
|
25954
25961
|
type: {
|
|
@@ -25957,13 +25964,13 @@ var body$3 = [
|
|
|
25957
25964
|
meta: {
|
|
25958
25965
|
start: {
|
|
25959
25966
|
line: 2,
|
|
25960
|
-
column:
|
|
25961
|
-
offset:
|
|
25967
|
+
column: 30,
|
|
25968
|
+
offset: 75
|
|
25962
25969
|
},
|
|
25963
25970
|
stop: {
|
|
25964
25971
|
line: 2,
|
|
25965
|
-
column:
|
|
25966
|
-
offset:
|
|
25972
|
+
column: 36,
|
|
25973
|
+
offset: 80
|
|
25967
25974
|
}
|
|
25968
25975
|
}
|
|
25969
25976
|
}
|
|
@@ -25975,12 +25982,12 @@ var body$3 = [
|
|
|
25975
25982
|
start: {
|
|
25976
25983
|
line: 2,
|
|
25977
25984
|
column: 0,
|
|
25978
|
-
offset:
|
|
25985
|
+
offset: 45
|
|
25979
25986
|
},
|
|
25980
25987
|
stop: {
|
|
25981
25988
|
line: 2,
|
|
25982
|
-
column:
|
|
25983
|
-
offset:
|
|
25989
|
+
column: 49,
|
|
25990
|
+
offset: 93
|
|
25984
25991
|
}
|
|
25985
25992
|
}
|
|
25986
25993
|
},
|
|
@@ -25988,17 +25995,17 @@ var body$3 = [
|
|
|
25988
25995
|
kind: "FUNCTION_DECLARATION",
|
|
25989
25996
|
returnType: {
|
|
25990
25997
|
kind: "DATA_TYPE",
|
|
25991
|
-
value: "
|
|
25998
|
+
value: "void",
|
|
25992
25999
|
meta: {
|
|
25993
26000
|
start: {
|
|
25994
26001
|
line: 3,
|
|
25995
26002
|
column: 7,
|
|
25996
|
-
offset:
|
|
26003
|
+
offset: 102
|
|
25997
26004
|
},
|
|
25998
26005
|
stop: {
|
|
25999
26006
|
line: 3,
|
|
26000
|
-
column:
|
|
26001
|
-
offset:
|
|
26007
|
+
column: 11,
|
|
26008
|
+
offset: 105
|
|
26002
26009
|
}
|
|
26003
26010
|
}
|
|
26004
26011
|
},
|
|
@@ -26008,13 +26015,13 @@ var body$3 = [
|
|
|
26008
26015
|
meta: {
|
|
26009
26016
|
start: {
|
|
26010
26017
|
line: 3,
|
|
26011
|
-
column:
|
|
26012
|
-
offset:
|
|
26018
|
+
column: 12,
|
|
26019
|
+
offset: 107
|
|
26013
26020
|
},
|
|
26014
26021
|
stop: {
|
|
26015
26022
|
line: 3,
|
|
26016
|
-
column:
|
|
26017
|
-
offset:
|
|
26023
|
+
column: 26,
|
|
26024
|
+
offset: 120
|
|
26018
26025
|
}
|
|
26019
26026
|
}
|
|
26020
26027
|
},
|
|
@@ -26026,12 +26033,12 @@ var body$3 = [
|
|
|
26026
26033
|
start: {
|
|
26027
26034
|
line: 3,
|
|
26028
26035
|
column: 0,
|
|
26029
|
-
offset:
|
|
26036
|
+
offset: 95
|
|
26030
26037
|
},
|
|
26031
26038
|
stop: {
|
|
26032
26039
|
line: 3,
|
|
26033
|
-
column:
|
|
26034
|
-
offset:
|
|
26040
|
+
column: 30,
|
|
26041
|
+
offset: 124
|
|
26035
26042
|
}
|
|
26036
26043
|
}
|
|
26037
26044
|
},
|
|
@@ -26039,17 +26046,17 @@ var body$3 = [
|
|
|
26039
26046
|
kind: "FUNCTION_DECLARATION",
|
|
26040
26047
|
returnType: {
|
|
26041
26048
|
kind: "DATA_TYPE",
|
|
26042
|
-
value: "
|
|
26049
|
+
value: "void",
|
|
26043
26050
|
meta: {
|
|
26044
26051
|
start: {
|
|
26045
26052
|
line: 4,
|
|
26046
26053
|
column: 7,
|
|
26047
|
-
offset:
|
|
26054
|
+
offset: 133
|
|
26048
26055
|
},
|
|
26049
26056
|
stop: {
|
|
26050
26057
|
line: 4,
|
|
26051
|
-
column:
|
|
26052
|
-
offset:
|
|
26058
|
+
column: 11,
|
|
26059
|
+
offset: 136
|
|
26053
26060
|
}
|
|
26054
26061
|
}
|
|
26055
26062
|
},
|
|
@@ -26059,13 +26066,13 @@ var body$3 = [
|
|
|
26059
26066
|
meta: {
|
|
26060
26067
|
start: {
|
|
26061
26068
|
line: 4,
|
|
26062
|
-
column:
|
|
26063
|
-
offset:
|
|
26069
|
+
column: 12,
|
|
26070
|
+
offset: 138
|
|
26064
26071
|
},
|
|
26065
26072
|
stop: {
|
|
26066
26073
|
line: 4,
|
|
26067
|
-
column:
|
|
26068
|
-
offset:
|
|
26074
|
+
column: 29,
|
|
26075
|
+
offset: 154
|
|
26069
26076
|
}
|
|
26070
26077
|
}
|
|
26071
26078
|
},
|
|
@@ -26076,13 +26083,13 @@ var body$3 = [
|
|
|
26076
26083
|
meta: {
|
|
26077
26084
|
start: {
|
|
26078
26085
|
line: 4,
|
|
26079
|
-
column:
|
|
26080
|
-
offset:
|
|
26086
|
+
column: 35,
|
|
26087
|
+
offset: 161
|
|
26081
26088
|
},
|
|
26082
26089
|
stop: {
|
|
26083
26090
|
line: 4,
|
|
26084
|
-
column:
|
|
26085
|
-
offset:
|
|
26091
|
+
column: 43,
|
|
26092
|
+
offset: 168
|
|
26086
26093
|
}
|
|
26087
26094
|
},
|
|
26088
26095
|
type: {
|
|
@@ -26091,13 +26098,13 @@ var body$3 = [
|
|
|
26091
26098
|
meta: {
|
|
26092
26099
|
start: {
|
|
26093
26100
|
line: 4,
|
|
26094
|
-
column:
|
|
26095
|
-
offset:
|
|
26101
|
+
column: 31,
|
|
26102
|
+
offset: 157
|
|
26096
26103
|
},
|
|
26097
26104
|
stop: {
|
|
26098
26105
|
line: 4,
|
|
26099
|
-
column:
|
|
26100
|
-
offset:
|
|
26106
|
+
column: 34,
|
|
26107
|
+
offset: 159
|
|
26101
26108
|
}
|
|
26102
26109
|
}
|
|
26103
26110
|
}
|
|
@@ -26108,13 +26115,13 @@ var body$3 = [
|
|
|
26108
26115
|
meta: {
|
|
26109
26116
|
start: {
|
|
26110
26117
|
line: 4,
|
|
26111
|
-
column:
|
|
26112
|
-
offset:
|
|
26118
|
+
column: 49,
|
|
26119
|
+
offset: 175
|
|
26113
26120
|
},
|
|
26114
26121
|
stop: {
|
|
26115
26122
|
line: 4,
|
|
26116
|
-
column:
|
|
26117
|
-
offset:
|
|
26123
|
+
column: 55,
|
|
26124
|
+
offset: 180
|
|
26118
26125
|
}
|
|
26119
26126
|
},
|
|
26120
26127
|
type: {
|
|
@@ -26123,13 +26130,13 @@ var body$3 = [
|
|
|
26123
26130
|
meta: {
|
|
26124
26131
|
start: {
|
|
26125
26132
|
line: 4,
|
|
26126
|
-
column:
|
|
26127
|
-
offset:
|
|
26133
|
+
column: 45,
|
|
26134
|
+
offset: 171
|
|
26128
26135
|
},
|
|
26129
26136
|
stop: {
|
|
26130
26137
|
line: 4,
|
|
26131
|
-
column:
|
|
26132
|
-
offset:
|
|
26138
|
+
column: 48,
|
|
26139
|
+
offset: 173
|
|
26133
26140
|
}
|
|
26134
26141
|
}
|
|
26135
26142
|
}
|
|
@@ -26140,13 +26147,13 @@ var body$3 = [
|
|
|
26140
26147
|
meta: {
|
|
26141
26148
|
start: {
|
|
26142
26149
|
line: 4,
|
|
26143
|
-
column:
|
|
26144
|
-
offset:
|
|
26150
|
+
column: 64,
|
|
26151
|
+
offset: 190
|
|
26145
26152
|
},
|
|
26146
26153
|
stop: {
|
|
26147
26154
|
line: 4,
|
|
26148
|
-
column:
|
|
26149
|
-
offset:
|
|
26155
|
+
column: 76,
|
|
26156
|
+
offset: 201
|
|
26150
26157
|
}
|
|
26151
26158
|
},
|
|
26152
26159
|
type: {
|
|
@@ -26155,13 +26162,13 @@ var body$3 = [
|
|
|
26155
26162
|
meta: {
|
|
26156
26163
|
start: {
|
|
26157
26164
|
line: 4,
|
|
26158
|
-
column:
|
|
26159
|
-
offset:
|
|
26165
|
+
column: 57,
|
|
26166
|
+
offset: 183
|
|
26160
26167
|
},
|
|
26161
26168
|
stop: {
|
|
26162
26169
|
line: 4,
|
|
26163
|
-
column:
|
|
26164
|
-
offset:
|
|
26170
|
+
column: 63,
|
|
26171
|
+
offset: 188
|
|
26165
26172
|
}
|
|
26166
26173
|
}
|
|
26167
26174
|
}
|
|
@@ -26173,28 +26180,95 @@ var body$3 = [
|
|
|
26173
26180
|
start: {
|
|
26174
26181
|
line: 4,
|
|
26175
26182
|
column: 0,
|
|
26176
|
-
offset:
|
|
26183
|
+
offset: 126
|
|
26177
26184
|
},
|
|
26178
26185
|
stop: {
|
|
26179
26186
|
line: 4,
|
|
26180
|
-
column:
|
|
26181
|
-
offset:
|
|
26187
|
+
column: 78,
|
|
26188
|
+
offset: 203
|
|
26182
26189
|
}
|
|
26183
26190
|
}
|
|
26184
26191
|
},
|
|
26185
26192
|
{
|
|
26186
|
-
kind: "
|
|
26187
|
-
|
|
26193
|
+
kind: "FUNCTION_DECLARATION",
|
|
26194
|
+
returnType: {
|
|
26195
|
+
kind: "DATA_TYPE",
|
|
26196
|
+
value: "bool",
|
|
26197
|
+
meta: {
|
|
26198
|
+
start: {
|
|
26199
|
+
line: 5,
|
|
26200
|
+
column: 7,
|
|
26201
|
+
offset: 212
|
|
26202
|
+
},
|
|
26203
|
+
stop: {
|
|
26204
|
+
line: 5,
|
|
26205
|
+
column: 11,
|
|
26206
|
+
offset: 215
|
|
26207
|
+
}
|
|
26208
|
+
}
|
|
26209
|
+
},
|
|
26210
|
+
id: {
|
|
26211
|
+
kind: "IDENTIFIER",
|
|
26212
|
+
value: "std::debug.setSerialLogEnabled",
|
|
26213
|
+
meta: {
|
|
26214
|
+
start: {
|
|
26215
|
+
line: 5,
|
|
26216
|
+
column: 12,
|
|
26217
|
+
offset: 217
|
|
26218
|
+
},
|
|
26219
|
+
stop: {
|
|
26220
|
+
line: 5,
|
|
26221
|
+
column: 42,
|
|
26222
|
+
offset: 246
|
|
26223
|
+
}
|
|
26224
|
+
}
|
|
26225
|
+
},
|
|
26226
|
+
params: [
|
|
26227
|
+
{
|
|
26228
|
+
kind: "IDENTIFIER",
|
|
26229
|
+
value: "newVal",
|
|
26230
|
+
meta: {
|
|
26231
|
+
start: {
|
|
26232
|
+
line: 5,
|
|
26233
|
+
column: 49,
|
|
26234
|
+
offset: 254
|
|
26235
|
+
},
|
|
26236
|
+
stop: {
|
|
26237
|
+
line: 5,
|
|
26238
|
+
column: 55,
|
|
26239
|
+
offset: 259
|
|
26240
|
+
}
|
|
26241
|
+
},
|
|
26242
|
+
type: {
|
|
26243
|
+
kind: "DATA_TYPE",
|
|
26244
|
+
value: "bool",
|
|
26245
|
+
meta: {
|
|
26246
|
+
start: {
|
|
26247
|
+
line: 5,
|
|
26248
|
+
column: 44,
|
|
26249
|
+
offset: 249
|
|
26250
|
+
},
|
|
26251
|
+
stop: {
|
|
26252
|
+
line: 5,
|
|
26253
|
+
column: 48,
|
|
26254
|
+
offset: 252
|
|
26255
|
+
}
|
|
26256
|
+
}
|
|
26257
|
+
}
|
|
26258
|
+
}
|
|
26259
|
+
],
|
|
26260
|
+
isNative: true,
|
|
26261
|
+
isPure: false,
|
|
26188
26262
|
meta: {
|
|
26189
26263
|
start: {
|
|
26190
26264
|
line: 5,
|
|
26191
26265
|
column: 0,
|
|
26192
|
-
offset:
|
|
26266
|
+
offset: 205
|
|
26193
26267
|
},
|
|
26194
26268
|
stop: {
|
|
26195
26269
|
line: 5,
|
|
26196
|
-
column:
|
|
26197
|
-
offset:
|
|
26270
|
+
column: 57,
|
|
26271
|
+
offset: 261
|
|
26198
26272
|
}
|
|
26199
26273
|
}
|
|
26200
26274
|
}
|
|
@@ -27863,10 +27937,11 @@ function getAllNativeLibraryFunctions(rootNode) {
|
|
|
27863
27937
|
];
|
|
27864
27938
|
}
|
|
27865
27939
|
|
|
27866
|
-
var version = "3.1.
|
|
27940
|
+
var version = "3.1.5";
|
|
27867
27941
|
var binaryVersion = 7;
|
|
27868
27942
|
|
|
27869
27943
|
function toAstSync(inputPath, outputPath) {
|
|
27944
|
+
console.log(`[BattleScript ${version}] toAstSync: ${inputPath}`);
|
|
27870
27945
|
try {
|
|
27871
27946
|
const sourceCode = readFileSync(inputPath, "utf-8");
|
|
27872
27947
|
const ast = fromSourceCodeToFullAst(sourceCode, { filePath: inputPath, includeMetaData: true });
|
|
@@ -27916,6 +27991,7 @@ const rootToAstNode = (instance, ctx) => {
|
|
|
27916
27991
|
}
|
|
27917
27992
|
// Non-native import (source is a local file)
|
|
27918
27993
|
// Check we can locate the file
|
|
27994
|
+
console.log(`[BattleScript ${version}] Processing import compilation unit: `, importNode.source.value);
|
|
27919
27995
|
const filePath = join(dirname(instance._filePath), importNode.source.value);
|
|
27920
27996
|
const importedAst = toAstSync(filePath);
|
|
27921
27997
|
return importedAst.body;
|
|
@@ -28221,7 +28297,7 @@ class BattleScriptToAST extends AbstractParseTreeVisitorExports.AbstractParseTre
|
|
|
28221
28297
|
const inlineComment = this.optional(lineEnd, "inlineComment");
|
|
28222
28298
|
if (!inlineComment)
|
|
28223
28299
|
return;
|
|
28224
|
-
return inlineComment ? inlineComment.text.replace(
|
|
28300
|
+
return inlineComment ? inlineComment.text.replace(/^\/\/\s*/, "") : undefined;
|
|
28225
28301
|
};
|
|
28226
28302
|
this.optional = (ctx, key) => {
|
|
28227
28303
|
return ctx[key] ? ctx[key]() : null;
|
|
@@ -38999,19 +39075,23 @@ function getParser(inputText) {
|
|
|
38999
39075
|
}
|
|
39000
39076
|
// Function to Parse and Convert BattleScript to JSON
|
|
39001
39077
|
function fromSourceCodeToFullAst(inputText, options) {
|
|
39078
|
+
console.log(`[BattleScript ${version}] Parsing source code...`);
|
|
39002
39079
|
const parser = getParser(inputText);
|
|
39003
39080
|
const tree = parser.root();
|
|
39081
|
+
console.log(`[BattleScript ${version}] Transforming source code -> AST...`);
|
|
39004
39082
|
const transformer = new BattleScriptToAST(options?.filePath || "-", inputText);
|
|
39005
39083
|
transformer.filePath(options?.filePath);
|
|
39006
39084
|
transformer.sourceCode(inputText);
|
|
39007
39085
|
return transformer.visit(tree, options);
|
|
39008
39086
|
}
|
|
39009
39087
|
function fromFullAstToSourceCode(ast, options = { includeMetaData: true }) {
|
|
39088
|
+
console.log(`[BattleScript ${version}] Transforming AST -> Source code...`);
|
|
39010
39089
|
const transformer = new BattleScriptFromAST(options.filePath || "-", JSON.stringify(ast, null, 4));
|
|
39011
39090
|
return transformer.visit(ast);
|
|
39012
39091
|
}
|
|
39013
39092
|
function fromSourceCodeToMiniAst(source, options = { includeMetaData: true }) {
|
|
39014
39093
|
const ast = fromSourceCodeToFullAst(source, options);
|
|
39094
|
+
console.log(`[BattleScript ${version}] Transforming AST -> MiniAST...`);
|
|
39015
39095
|
const transformer = new BattleScriptToMiniAST(options?.filePath || "-", source);
|
|
39016
39096
|
transformer.filePath(options?.filePath);
|
|
39017
39097
|
transformer.sourceCode(source); // Add for debugging purposes
|
|
@@ -39025,6 +39105,7 @@ function fromBinaryToMiniAst(data, options = { includeMetaData: true }) {
|
|
|
39025
39105
|
}
|
|
39026
39106
|
function fromSourceCodeToBinary(source, options = { includeMetaData: true }) {
|
|
39027
39107
|
const miniAstJson = fromSourceCodeToMiniAst(source, options);
|
|
39108
|
+
console.log(`[BattleScript ${version}] Transforming MiniAST -> Binary...`);
|
|
39028
39109
|
return fromMiniAstToBinary(miniAstJson, options);
|
|
39029
39110
|
}
|
|
39030
39111
|
function fromSourceCodeToByteCode(source, options = { includeMetaData: true }) {
|