@irrelon/battlescript 4.0.0 → 4.1.2
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 +77 -3
- package/bin/index.js +16304 -14772
- package/bin/index.js.map +1 -1
- package/bin/index.ts +20 -3
- package/dist/bin/functionality.cjs +16324 -14768
- package/dist/bin/functionality.cjs.map +1 -1
- package/dist/bin/functionality.d.ts +9 -0
- package/dist/bin/functionality.d.ts.map +1 -1
- package/dist/bin/{functionality.js → functionality.mjs} +15994 -14449
- package/dist/bin/functionality.mjs.map +1 -0
- package/dist/bin/index.d.ts +2 -2
- package/dist/bin/index.d.ts.map +1 -1
- package/dist/exports/typescript/enums/EnumNodeKind.d.ts +4 -1
- package/dist/exports/typescript/enums/EnumNodeKind.d.ts.map +1 -1
- package/dist/exports/typescript/enums/EnumNodeProp.d.ts +56 -54
- package/dist/exports/typescript/enums/EnumNodeProp.d.ts.map +1 -1
- package/dist/exports/typescript/helpers/miniAstLayout.d.ts.map +1 -1
- package/dist/index.cjs +16442 -14929
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +16431 -14930
- package/dist/index.mjs.map +1 -1
- package/dist/nativeLibraries/index.d.ts.map +1 -1
- package/dist/nativeLibraries/time/index.d.ts +1 -1
- package/dist/services/cppGenerator/ProtocolToCpp.d.ts +71 -0
- package/dist/services/cppGenerator/ProtocolToCpp.d.ts.map +1 -0
- package/dist/services/cppGenerator/index.d.ts +2 -0
- package/dist/services/cppGenerator/index.d.ts.map +1 -0
- package/dist/services/fullAst/BattleScriptFromAST.d.ts +11 -1
- package/dist/services/fullAst/BattleScriptFromAST.d.ts.map +1 -1
- package/dist/services/fullAst/BattleScriptToAST.d.ts +7 -4
- package/dist/services/fullAst/BattleScriptToAST.d.ts.map +1 -1
- package/dist/services/fullAst/index.d.ts +1 -0
- package/dist/services/fullAst/index.d.ts.map +1 -1
- package/dist/services/fullAst/normaliseFormatting.d.ts +9 -0
- package/dist/services/fullAst/normaliseFormatting.d.ts.map +1 -0
- package/dist/services/grammar/ts/language/BattleScriptLexer.d.ts +85 -81
- package/dist/services/grammar/ts/language/BattleScriptLexer.d.ts.map +1 -1
- package/dist/services/grammar/ts/language/BattleScriptListener.d.ts +49 -5
- package/dist/services/grammar/ts/language/BattleScriptListener.d.ts.map +1 -1
- package/dist/services/grammar/ts/language/BattleScriptParser.d.ts +245 -185
- package/dist/services/grammar/ts/language/BattleScriptParser.d.ts.map +1 -1
- package/dist/services/grammar/ts/language/BattleScriptVisitor.d.ts +31 -3
- package/dist/services/grammar/ts/language/BattleScriptVisitor.d.ts.map +1 -1
- package/dist/services/index.d.ts +1 -0
- package/dist/services/index.d.ts.map +1 -1
- package/dist/services/miniAst/BattleScriptToMiniAST.d.ts.map +1 -1
- package/dist/services/miniAst/binaryTypeToByteSize.d.ts +1 -1
- package/dist/services/miniAst/miniAstLayout.d.ts.map +1 -1
- package/dist/services/parser.d.ts +2 -2
- package/dist/services/parser.d.ts.map +1 -1
- package/dist/tests/miniAst/ordering.test.d.ts +2 -0
- package/dist/tests/miniAst/ordering.test.d.ts.map +1 -0
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/BattleScriptDiagnostic.d.ts +19 -0
- package/dist/types/BattleScriptDiagnostic.d.ts.map +1 -0
- package/dist/types/BattleScriptTransformerOptions.d.ts +7 -0
- package/dist/types/BattleScriptTransformerOptions.d.ts.map +1 -1
- package/dist/types/VisitOptions.d.ts +6 -0
- package/dist/types/VisitOptions.d.ts.map +1 -1
- package/dist/types/ast/nodes/AssignmentPatternNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/AstNode.d.ts +2 -2
- package/dist/types/ast/nodes/AstNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/AstNodeBase.d.ts +7 -0
- package/dist/types/ast/nodes/AstNodeBase.d.ts.map +1 -1
- package/dist/types/ast/nodes/CancelStatementNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/CatchStatementNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/ConstantDeclarationNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/EveryExpressionNode.d.ts +1 -0
- package/dist/types/ast/nodes/EveryExpressionNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/ExportNamedDeclarationNode.d.ts +2 -4
- package/dist/types/ast/nodes/ExportNamedDeclarationNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/ExportSpecifierNode.d.ts +2 -4
- package/dist/types/ast/nodes/ExportSpecifierNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/ExpressionStatementNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/FunctionDefinitionNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/IdentifierNode.d.ts +2 -2
- package/dist/types/ast/nodes/IdentifierNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/IfStatementNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/ImportDeclarationNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/ImportSpecifierNode.d.ts +2 -4
- package/dist/types/ast/nodes/ImportSpecifierNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/InterfaceNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/InterfacePropertyDeclarationNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/ObjectExpressionNode.d.ts +9 -2
- package/dist/types/ast/nodes/ObjectExpressionNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/ParityDeclarationNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/ProgramPropertyDeclarationNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/ProtocolDeclarationNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/ProtocolTypeNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/RestElementNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/ResumeStatementNode.d.ts +11 -0
- package/dist/types/ast/nodes/ResumeStatementNode.d.ts.map +1 -0
- package/dist/types/ast/nodes/ReturnStatementNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/StartStatementNode.d.ts +11 -0
- package/dist/types/ast/nodes/StartStatementNode.d.ts.map +1 -0
- package/dist/types/ast/nodes/StateDeclarationNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/StateModuleDeclarationNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/StateModuleEventDeclarationNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/StepDeclarationNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/StopStatementNode.d.ts +11 -0
- package/dist/types/ast/nodes/StopStatementNode.d.ts.map +1 -0
- package/dist/types/ast/nodes/VariableDeclarationNode.d.ts.map +1 -1
- package/dist/types/ast/nodes/index.d.ts +3 -0
- package/dist/types/ast/nodes/index.d.ts.map +1 -1
- package/dist/types/ast/unions/ProtocolBodyUnion.d.ts +2 -2
- package/dist/types/ast/unions/ProtocolBodyUnion.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +6 -4
- package/dist/bin/functionality.js.map +0 -1
|
@@ -36,87 +36,91 @@ export declare class BattleScriptParser extends Parser {
|
|
|
36
36
|
static readonly RETURN = 25;
|
|
37
37
|
static readonly EVERY = 26;
|
|
38
38
|
static readonly LIMIT = 27;
|
|
39
|
-
static readonly
|
|
40
|
-
static readonly
|
|
41
|
-
static readonly
|
|
42
|
-
static readonly
|
|
43
|
-
static readonly
|
|
44
|
-
static readonly
|
|
45
|
-
static readonly
|
|
46
|
-
static readonly
|
|
47
|
-
static readonly
|
|
48
|
-
static readonly
|
|
49
|
-
static readonly
|
|
50
|
-
static readonly
|
|
51
|
-
static readonly
|
|
52
|
-
static readonly
|
|
53
|
-
static readonly
|
|
54
|
-
static readonly
|
|
55
|
-
static readonly
|
|
56
|
-
static readonly
|
|
57
|
-
static readonly
|
|
58
|
-
static readonly
|
|
59
|
-
static readonly
|
|
60
|
-
static readonly
|
|
61
|
-
static readonly
|
|
62
|
-
static readonly
|
|
63
|
-
static readonly
|
|
64
|
-
static readonly
|
|
65
|
-
static readonly
|
|
66
|
-
static readonly
|
|
67
|
-
static readonly
|
|
68
|
-
static readonly
|
|
69
|
-
static readonly
|
|
70
|
-
static readonly
|
|
71
|
-
static readonly
|
|
72
|
-
static readonly
|
|
73
|
-
static readonly
|
|
74
|
-
static readonly
|
|
75
|
-
static readonly
|
|
76
|
-
static readonly
|
|
77
|
-
static readonly
|
|
78
|
-
static readonly
|
|
79
|
-
static readonly
|
|
80
|
-
static readonly
|
|
81
|
-
static readonly
|
|
82
|
-
static readonly
|
|
83
|
-
static readonly
|
|
84
|
-
static readonly
|
|
85
|
-
static readonly
|
|
86
|
-
static readonly
|
|
87
|
-
static readonly
|
|
88
|
-
static readonly
|
|
89
|
-
static readonly
|
|
90
|
-
static readonly
|
|
91
|
-
static readonly
|
|
92
|
-
static readonly
|
|
93
|
-
static readonly
|
|
94
|
-
static readonly
|
|
95
|
-
static readonly
|
|
96
|
-
static readonly
|
|
97
|
-
static readonly
|
|
98
|
-
static readonly
|
|
99
|
-
static readonly
|
|
100
|
-
static readonly
|
|
101
|
-
static readonly
|
|
102
|
-
static readonly
|
|
103
|
-
static readonly
|
|
104
|
-
static readonly
|
|
105
|
-
static readonly
|
|
106
|
-
static readonly
|
|
107
|
-
static readonly
|
|
108
|
-
static readonly
|
|
109
|
-
static readonly
|
|
110
|
-
static readonly
|
|
111
|
-
static readonly
|
|
112
|
-
static readonly
|
|
113
|
-
static readonly
|
|
114
|
-
static readonly
|
|
115
|
-
static readonly
|
|
116
|
-
static readonly
|
|
117
|
-
static readonly
|
|
118
|
-
static readonly
|
|
119
|
-
static readonly
|
|
39
|
+
static readonly KEEP = 28;
|
|
40
|
+
static readonly AFTER = 29;
|
|
41
|
+
static readonly STOP = 30;
|
|
42
|
+
static readonly START = 31;
|
|
43
|
+
static readonly RESUME = 32;
|
|
44
|
+
static readonly CANCEL = 33;
|
|
45
|
+
static readonly FOR = 34;
|
|
46
|
+
static readonly EVALUATE = 35;
|
|
47
|
+
static readonly CASE = 36;
|
|
48
|
+
static readonly BREAK = 37;
|
|
49
|
+
static readonly CONTINUE = 38;
|
|
50
|
+
static readonly FALLBACK = 39;
|
|
51
|
+
static readonly CATCH = 40;
|
|
52
|
+
static readonly AS = 41;
|
|
53
|
+
static readonly ENUM = 42;
|
|
54
|
+
static readonly ANY = 43;
|
|
55
|
+
static readonly PROTOCOL = 44;
|
|
56
|
+
static readonly DEFINE = 45;
|
|
57
|
+
static readonly REQUIRE = 46;
|
|
58
|
+
static readonly TERMINATE = 47;
|
|
59
|
+
static readonly STEP = 48;
|
|
60
|
+
static readonly DECODE = 49;
|
|
61
|
+
static readonly ENCODE = 50;
|
|
62
|
+
static readonly END = 51;
|
|
63
|
+
static readonly FORWARD = 52;
|
|
64
|
+
static readonly REWIND = 53;
|
|
65
|
+
static readonly OFFSET = 54;
|
|
66
|
+
static readonly XOR = 55;
|
|
67
|
+
static readonly XNOR = 56;
|
|
68
|
+
static readonly BITS = 57;
|
|
69
|
+
static readonly BYTES = 58;
|
|
70
|
+
static readonly RULE = 59;
|
|
71
|
+
static readonly PARITY = 60;
|
|
72
|
+
static readonly CONST = 61;
|
|
73
|
+
static readonly TYPE_OBJECT = 62;
|
|
74
|
+
static readonly TYPE_ARRAY = 63;
|
|
75
|
+
static readonly TYPE_STRING = 64;
|
|
76
|
+
static readonly TYPE_INT = 65;
|
|
77
|
+
static readonly TYPE_UINT = 66;
|
|
78
|
+
static readonly TYPE_FLOAT = 67;
|
|
79
|
+
static readonly TYPE_DOUBLE = 68;
|
|
80
|
+
static readonly TYPE_BOOLEAN = 69;
|
|
81
|
+
static readonly TYPE_NULL = 70;
|
|
82
|
+
static readonly TYPE_VOID = 71;
|
|
83
|
+
static readonly TYPE_UNDEFINED = 72;
|
|
84
|
+
static readonly NUMBER = 73;
|
|
85
|
+
static readonly BOOLEAN = 74;
|
|
86
|
+
static readonly STRING = 75;
|
|
87
|
+
static readonly COMMENT = 76;
|
|
88
|
+
static readonly ARROW_OPERATOR = 77;
|
|
89
|
+
static readonly INCREMENT = 78;
|
|
90
|
+
static readonly DECREMENT = 79;
|
|
91
|
+
static readonly PLUS = 80;
|
|
92
|
+
static readonly MINUS = 81;
|
|
93
|
+
static readonly DIVIDE = 82;
|
|
94
|
+
static readonly MULTIPLY = 83;
|
|
95
|
+
static readonly REMAINDER = 84;
|
|
96
|
+
static readonly QUESTION_MARK = 85;
|
|
97
|
+
static readonly ASSIGN = 86;
|
|
98
|
+
static readonly PLUS_ASSIGN = 87;
|
|
99
|
+
static readonly MINUS_ASSIGN = 88;
|
|
100
|
+
static readonly AND = 89;
|
|
101
|
+
static readonly OR = 90;
|
|
102
|
+
static readonly NOT = 91;
|
|
103
|
+
static readonly EQUALS = 92;
|
|
104
|
+
static readonly NOT_EQUALS = 93;
|
|
105
|
+
static readonly GT = 94;
|
|
106
|
+
static readonly LT = 95;
|
|
107
|
+
static readonly GTE = 96;
|
|
108
|
+
static readonly LTE = 97;
|
|
109
|
+
static readonly REST = 98;
|
|
110
|
+
static readonly PERIOD = 99;
|
|
111
|
+
static readonly COMMA = 100;
|
|
112
|
+
static readonly WILDCARD = 101;
|
|
113
|
+
static readonly PARENS_START = 102;
|
|
114
|
+
static readonly PARENS_END = 103;
|
|
115
|
+
static readonly BRACES_START = 104;
|
|
116
|
+
static readonly BRACES_END = 105;
|
|
117
|
+
static readonly BRACKETS_START = 106;
|
|
118
|
+
static readonly BRACKETS_END = 107;
|
|
119
|
+
static readonly DOUBLE_COLON = 108;
|
|
120
|
+
static readonly SEMI_COLON = 109;
|
|
121
|
+
static readonly COLON = 110;
|
|
122
|
+
static readonly IDENTIFIER = 111;
|
|
123
|
+
static readonly WS = 112;
|
|
120
124
|
static readonly RULE_root = 0;
|
|
121
125
|
static readonly RULE_importDeclaration = 1;
|
|
122
126
|
static readonly RULE_includeStatement = 2;
|
|
@@ -151,74 +155,78 @@ export declare class BattleScriptParser extends Parser {
|
|
|
151
155
|
static readonly RULE_everyDeclaration = 31;
|
|
152
156
|
static readonly RULE_limitClause = 32;
|
|
153
157
|
static readonly RULE_cancelStatement = 33;
|
|
154
|
-
static readonly
|
|
155
|
-
static readonly
|
|
156
|
-
static readonly
|
|
157
|
-
static readonly
|
|
158
|
-
static readonly
|
|
159
|
-
static readonly
|
|
160
|
-
static readonly
|
|
161
|
-
static readonly
|
|
162
|
-
static readonly
|
|
163
|
-
static readonly
|
|
164
|
-
static readonly
|
|
165
|
-
static readonly
|
|
166
|
-
static readonly
|
|
167
|
-
static readonly
|
|
168
|
-
static readonly
|
|
169
|
-
static readonly
|
|
170
|
-
static readonly
|
|
171
|
-
static readonly
|
|
172
|
-
static readonly
|
|
173
|
-
static readonly
|
|
174
|
-
static readonly
|
|
175
|
-
static readonly
|
|
176
|
-
static readonly
|
|
177
|
-
static readonly
|
|
178
|
-
static readonly
|
|
179
|
-
static readonly
|
|
180
|
-
static readonly
|
|
181
|
-
static readonly
|
|
182
|
-
static readonly
|
|
183
|
-
static readonly
|
|
184
|
-
static readonly
|
|
185
|
-
static readonly
|
|
186
|
-
static readonly
|
|
187
|
-
static readonly
|
|
188
|
-
static readonly
|
|
189
|
-
static readonly
|
|
190
|
-
static readonly
|
|
191
|
-
static readonly
|
|
192
|
-
static readonly
|
|
193
|
-
static readonly
|
|
194
|
-
static readonly
|
|
195
|
-
static readonly
|
|
196
|
-
static readonly
|
|
197
|
-
static readonly
|
|
198
|
-
static readonly
|
|
199
|
-
static readonly
|
|
200
|
-
static readonly
|
|
201
|
-
static readonly
|
|
202
|
-
static readonly
|
|
203
|
-
static readonly
|
|
204
|
-
static readonly
|
|
205
|
-
static readonly
|
|
206
|
-
static readonly
|
|
207
|
-
static readonly
|
|
208
|
-
static readonly
|
|
209
|
-
static readonly
|
|
210
|
-
static readonly
|
|
211
|
-
static readonly
|
|
212
|
-
static readonly
|
|
213
|
-
static readonly
|
|
214
|
-
static readonly
|
|
215
|
-
static readonly
|
|
216
|
-
static readonly
|
|
217
|
-
static readonly
|
|
218
|
-
static readonly
|
|
219
|
-
static readonly
|
|
220
|
-
static readonly
|
|
221
|
-
static readonly
|
|
158
|
+
static readonly RULE_stopStatement = 34;
|
|
159
|
+
static readonly RULE_startStatement = 35;
|
|
160
|
+
static readonly RULE_resumeStatement = 36;
|
|
161
|
+
static readonly RULE_breakStatement = 37;
|
|
162
|
+
static readonly RULE_continueStatement = 38;
|
|
163
|
+
static readonly RULE_functionNameIdentifier = 39;
|
|
164
|
+
static readonly RULE_functionDeclaration = 40;
|
|
165
|
+
static readonly RULE_functionDefinition = 41;
|
|
166
|
+
static readonly RULE_functionParameters = 42;
|
|
167
|
+
static readonly RULE_functionParameter = 43;
|
|
168
|
+
static readonly RULE_assignmentPattern = 44;
|
|
169
|
+
static readonly RULE_restElement = 45;
|
|
170
|
+
static readonly RULE_ifStatement = 46;
|
|
171
|
+
static readonly RULE_elseStatement = 47;
|
|
172
|
+
static readonly RULE_elseIfStatement = 48;
|
|
173
|
+
static readonly RULE_variableDeclaration = 49;
|
|
174
|
+
static readonly RULE_variableDeclarator = 50;
|
|
175
|
+
static readonly RULE_variableDeclaratorWithInit = 51;
|
|
176
|
+
static readonly RULE_catchStatement = 52;
|
|
177
|
+
static readonly RULE_catchAsStatement = 53;
|
|
178
|
+
static readonly RULE_comment = 54;
|
|
179
|
+
static readonly RULE_returnStatement = 55;
|
|
180
|
+
static readonly RULE_forStatement = 56;
|
|
181
|
+
static readonly RULE_evaluateCase = 57;
|
|
182
|
+
static readonly RULE_evaluateCaseTest = 58;
|
|
183
|
+
static readonly RULE_wildcard = 59;
|
|
184
|
+
static readonly RULE_evaluateFallback = 60;
|
|
185
|
+
static readonly RULE_evaluateBranch = 61;
|
|
186
|
+
static readonly RULE_evaluateArguments = 62;
|
|
187
|
+
static readonly RULE_evaluateStatement = 63;
|
|
188
|
+
static readonly RULE_callArguments = 64;
|
|
189
|
+
static readonly RULE_protocolDeclaration = 65;
|
|
190
|
+
static readonly RULE_protocolComparator = 66;
|
|
191
|
+
static readonly RULE_defineStatement = 67;
|
|
192
|
+
static readonly RULE_requireStatement = 68;
|
|
193
|
+
static readonly RULE_terminateFlag = 69;
|
|
194
|
+
static readonly RULE_protocolOpStatement = 70;
|
|
195
|
+
static readonly RULE_booleanOp = 71;
|
|
196
|
+
static readonly RULE_forwardStatement = 72;
|
|
197
|
+
static readonly RULE_offsetStatement = 73;
|
|
198
|
+
static readonly RULE_rewindStatement = 74;
|
|
199
|
+
static readonly RULE_stepDeclaration = 75;
|
|
200
|
+
static readonly RULE_protocolPhase = 76;
|
|
201
|
+
static readonly RULE_parityDeclaration = 77;
|
|
202
|
+
static readonly RULE_ruleStatement = 78;
|
|
203
|
+
static readonly RULE_protocolBody = 79;
|
|
204
|
+
static readonly RULE_stepBody = 80;
|
|
205
|
+
static readonly RULE_endStatement = 81;
|
|
206
|
+
static readonly RULE_enumDeclaration = 82;
|
|
207
|
+
static readonly RULE_enumBody = 83;
|
|
208
|
+
static readonly RULE_enumAssignment = 84;
|
|
209
|
+
static readonly RULE_token = 85;
|
|
210
|
+
static readonly RULE_debuggerStatement = 86;
|
|
211
|
+
static readonly RULE_blockStatement = 87;
|
|
212
|
+
static readonly RULE_literal = 88;
|
|
213
|
+
static readonly RULE_valueInternal = 89;
|
|
214
|
+
static readonly RULE_lineEnd = 90;
|
|
215
|
+
static readonly RULE_customType = 91;
|
|
216
|
+
static readonly RULE_dataType = 92;
|
|
217
|
+
static readonly RULE_type = 93;
|
|
218
|
+
static readonly RULE_protocolType = 94;
|
|
219
|
+
static readonly RULE_protocolReadType = 95;
|
|
220
|
+
static readonly RULE_arrayExpressionInternal = 96;
|
|
221
|
+
static readonly RULE_objectExpressionInternal = 97;
|
|
222
|
+
static readonly RULE_objectProperty = 98;
|
|
223
|
+
static readonly RULE_stringLiteral = 99;
|
|
224
|
+
static readonly RULE_numberLiteral = 100;
|
|
225
|
+
static readonly RULE_booleanLiteral = 101;
|
|
226
|
+
static readonly RULE_nullLiteral = 102;
|
|
227
|
+
static readonly RULE_undefinedLiteral = 103;
|
|
228
|
+
static readonly RULE_pureIdentifier = 104;
|
|
229
|
+
static readonly RULE_looseIdentifier = 105;
|
|
222
230
|
static readonly ruleNames: string[];
|
|
223
231
|
private static readonly _LITERAL_NAMES;
|
|
224
232
|
private static readonly _SYMBOLIC_NAMES;
|
|
@@ -264,6 +272,9 @@ export declare class BattleScriptParser extends Parser {
|
|
|
264
272
|
everyDeclaration(): EveryDeclarationContext;
|
|
265
273
|
limitClause(): LimitClauseContext;
|
|
266
274
|
cancelStatement(): CancelStatementContext;
|
|
275
|
+
stopStatement(): StopStatementContext;
|
|
276
|
+
startStatement(): StartStatementContext;
|
|
277
|
+
resumeStatement(): ResumeStatementContext;
|
|
267
278
|
breakStatement(): BreakStatementContext;
|
|
268
279
|
continueStatement(): ContinueStatementContext;
|
|
269
280
|
functionNameIdentifier(): FunctionNameIdentifierContext;
|
|
@@ -333,7 +344,8 @@ export declare class BattleScriptParser extends Parser {
|
|
|
333
344
|
booleanLiteral(): BooleanLiteralContext;
|
|
334
345
|
nullLiteral(): NullLiteralContext;
|
|
335
346
|
undefinedLiteral(): UndefinedLiteralContext;
|
|
336
|
-
|
|
347
|
+
pureIdentifier(): PureIdentifierContext;
|
|
348
|
+
looseIdentifier(): LooseIdentifierContext;
|
|
337
349
|
sempred(_localctx: RuleContext, ruleIndex: number, predIndex: number): boolean;
|
|
338
350
|
private expression_sempred;
|
|
339
351
|
private customType_sempred;
|
|
@@ -341,6 +353,7 @@ export declare class BattleScriptParser extends Parser {
|
|
|
341
353
|
private static readonly _serializedATNSegments;
|
|
342
354
|
private static readonly _serializedATNSegment0;
|
|
343
355
|
private static readonly _serializedATNSegment1;
|
|
356
|
+
private static readonly _serializedATNSegment2;
|
|
344
357
|
static readonly _serializedATN: string;
|
|
345
358
|
static __ATN: ATN;
|
|
346
359
|
static get _ATN(): ATN;
|
|
@@ -376,8 +389,8 @@ export declare class IncludeStatementContext extends ParserRuleContext {
|
|
|
376
389
|
}
|
|
377
390
|
export declare class ImportNativeContext extends ParserRuleContext {
|
|
378
391
|
IMPORT(): TerminalNode;
|
|
379
|
-
|
|
380
|
-
|
|
392
|
+
looseIdentifier(): LooseIdentifierContext[];
|
|
393
|
+
looseIdentifier(i: number): LooseIdentifierContext;
|
|
381
394
|
DOUBLE_COLON(): TerminalNode;
|
|
382
395
|
lineEnd(): LineEndContext;
|
|
383
396
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
@@ -391,7 +404,7 @@ export declare class ImportExternalContext extends ParserRuleContext {
|
|
|
391
404
|
NAMESPACE(): TerminalNode | undefined;
|
|
392
405
|
stringLiteral(): StringLiteralContext;
|
|
393
406
|
lineEnd(): LineEndContext;
|
|
394
|
-
|
|
407
|
+
looseIdentifier(): LooseIdentifierContext | undefined;
|
|
395
408
|
FROM(): TerminalNode | undefined;
|
|
396
409
|
BRACES_START(): TerminalNode | undefined;
|
|
397
410
|
importSpecifier(): ImportSpecifierContext[];
|
|
@@ -406,8 +419,8 @@ export declare class ImportExternalContext extends ParserRuleContext {
|
|
|
406
419
|
accept<Result>(visitor: BattleScriptVisitor<Result>): Result;
|
|
407
420
|
}
|
|
408
421
|
export declare class ImportSpecifierContext extends ParserRuleContext {
|
|
409
|
-
|
|
410
|
-
|
|
422
|
+
looseIdentifier(): LooseIdentifierContext[];
|
|
423
|
+
looseIdentifier(i: number): LooseIdentifierContext;
|
|
411
424
|
AS(): TerminalNode | undefined;
|
|
412
425
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
413
426
|
get ruleIndex(): number;
|
|
@@ -428,7 +441,7 @@ export declare class ProgramDeclarationContext extends ParserRuleContext {
|
|
|
428
441
|
accept<Result>(visitor: BattleScriptVisitor<Result>): Result;
|
|
429
442
|
}
|
|
430
443
|
export declare class ProgramPropertyContext extends ParserRuleContext {
|
|
431
|
-
|
|
444
|
+
looseIdentifier(): LooseIdentifierContext;
|
|
432
445
|
valueInternal(): ValueInternalContext;
|
|
433
446
|
lineEnd(): LineEndContext;
|
|
434
447
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
@@ -439,7 +452,7 @@ export declare class ProgramPropertyContext extends ParserRuleContext {
|
|
|
439
452
|
}
|
|
440
453
|
export declare class ExposeDeclarationContext extends ParserRuleContext {
|
|
441
454
|
EXPOSE(): TerminalNode;
|
|
442
|
-
|
|
455
|
+
looseIdentifier(): LooseIdentifierContext;
|
|
443
456
|
BRACES_START(): TerminalNode;
|
|
444
457
|
BRACES_END(): TerminalNode;
|
|
445
458
|
groupDeclaration(): GroupDeclarationContext[];
|
|
@@ -454,7 +467,7 @@ export declare class ExposeDeclarationContext extends ParserRuleContext {
|
|
|
454
467
|
}
|
|
455
468
|
export declare class GroupDeclarationContext extends ParserRuleContext {
|
|
456
469
|
GROUP(): TerminalNode;
|
|
457
|
-
|
|
470
|
+
looseIdentifier(): LooseIdentifierContext;
|
|
458
471
|
BRACES_START(): TerminalNode;
|
|
459
472
|
BRACES_END(): TerminalNode;
|
|
460
473
|
configPropertyBody(): ConfigPropertyBodyContext[];
|
|
@@ -467,7 +480,7 @@ export declare class GroupDeclarationContext extends ParserRuleContext {
|
|
|
467
480
|
}
|
|
468
481
|
export declare class ConfigPropertyContext extends ParserRuleContext {
|
|
469
482
|
type(): TypeContext;
|
|
470
|
-
|
|
483
|
+
looseIdentifier(): LooseIdentifierContext;
|
|
471
484
|
BRACES_START(): TerminalNode;
|
|
472
485
|
BRACES_END(): TerminalNode;
|
|
473
486
|
lineEnd(): LineEndContext;
|
|
@@ -480,7 +493,7 @@ export declare class ConfigPropertyContext extends ParserRuleContext {
|
|
|
480
493
|
accept<Result>(visitor: BattleScriptVisitor<Result>): Result;
|
|
481
494
|
}
|
|
482
495
|
export declare class ConfigPropertyBodyContext extends ParserRuleContext {
|
|
483
|
-
|
|
496
|
+
looseIdentifier(): LooseIdentifierContext;
|
|
484
497
|
COLON(): TerminalNode;
|
|
485
498
|
expression(): ExpressionContext;
|
|
486
499
|
lineEnd(): LineEndContext;
|
|
@@ -510,8 +523,8 @@ export declare class RootBodyContext extends ParserRuleContext {
|
|
|
510
523
|
}
|
|
511
524
|
export declare class InterfaceDeclarationContext extends ParserRuleContext {
|
|
512
525
|
INTERFACE(): TerminalNode;
|
|
513
|
-
|
|
514
|
-
|
|
526
|
+
looseIdentifier(): LooseIdentifierContext[];
|
|
527
|
+
looseIdentifier(i: number): LooseIdentifierContext;
|
|
515
528
|
BRACES_START(): TerminalNode;
|
|
516
529
|
BRACES_END(): TerminalNode;
|
|
517
530
|
EXTENDS(): TerminalNode | undefined;
|
|
@@ -525,7 +538,7 @@ export declare class InterfaceDeclarationContext extends ParserRuleContext {
|
|
|
525
538
|
}
|
|
526
539
|
export declare class InterfacePropertyContext extends ParserRuleContext {
|
|
527
540
|
type(): TypeContext;
|
|
528
|
-
|
|
541
|
+
looseIdentifier(): LooseIdentifierContext;
|
|
529
542
|
lineEnd(): LineEndContext;
|
|
530
543
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
531
544
|
get ruleIndex(): number;
|
|
@@ -535,6 +548,9 @@ export declare class InterfacePropertyContext extends ParserRuleContext {
|
|
|
535
548
|
}
|
|
536
549
|
export declare class StatementContext extends ParserRuleContext {
|
|
537
550
|
ifStatement(): IfStatementContext | undefined;
|
|
551
|
+
stopStatement(): StopStatementContext | undefined;
|
|
552
|
+
startStatement(): StartStatementContext | undefined;
|
|
553
|
+
resumeStatement(): ResumeStatementContext | undefined;
|
|
538
554
|
variableDeclaration(): VariableDeclarationContext | undefined;
|
|
539
555
|
functionDeclaration(): FunctionDeclarationContext | undefined;
|
|
540
556
|
functionDefinition(): FunctionDefinitionContext | undefined;
|
|
@@ -583,8 +599,8 @@ export declare class ExportNamedContext extends ParserRuleContext {
|
|
|
583
599
|
accept<Result>(visitor: BattleScriptVisitor<Result>): Result;
|
|
584
600
|
}
|
|
585
601
|
export declare class ExportSpecifierContext extends ParserRuleContext {
|
|
586
|
-
|
|
587
|
-
|
|
602
|
+
looseIdentifier(): LooseIdentifierContext[];
|
|
603
|
+
looseIdentifier(i: number): LooseIdentifierContext;
|
|
588
604
|
AS(): TerminalNode | undefined;
|
|
589
605
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
590
606
|
get ruleIndex(): number;
|
|
@@ -633,8 +649,8 @@ export declare class ExpressionStatementContext extends ParserRuleContext {
|
|
|
633
649
|
accept<Result>(visitor: BattleScriptVisitor<Result>): Result;
|
|
634
650
|
}
|
|
635
651
|
export declare class NamespacedIdentifierContext extends ParserRuleContext {
|
|
636
|
-
|
|
637
|
-
|
|
652
|
+
looseIdentifier(): LooseIdentifierContext[];
|
|
653
|
+
looseIdentifier(i: number): LooseIdentifierContext;
|
|
638
654
|
DOUBLE_COLON(): TerminalNode;
|
|
639
655
|
PERIOD(): TerminalNode[];
|
|
640
656
|
PERIOD(i: number): TerminalNode;
|
|
@@ -770,13 +786,14 @@ export declare class EveryExpressionContext extends ExpressionContext {
|
|
|
770
786
|
expression(): ExpressionContext;
|
|
771
787
|
blockStatement(): BlockStatementContext;
|
|
772
788
|
limitClause(): LimitClauseContext | undefined;
|
|
789
|
+
KEEP(): TerminalNode | undefined;
|
|
773
790
|
constructor(ctx: ExpressionContext);
|
|
774
791
|
enterRule(listener: BattleScriptListener): void;
|
|
775
792
|
exitRule(listener: BattleScriptListener): void;
|
|
776
793
|
accept<Result>(visitor: BattleScriptVisitor<Result>): Result;
|
|
777
794
|
}
|
|
778
795
|
export declare class PrimaryExpressionContext extends ParserRuleContext {
|
|
779
|
-
|
|
796
|
+
looseIdentifier(): LooseIdentifierContext | undefined;
|
|
780
797
|
PARENS_START(): TerminalNode | undefined;
|
|
781
798
|
expression(): ExpressionContext | undefined;
|
|
782
799
|
PARENS_END(): TerminalNode | undefined;
|
|
@@ -888,6 +905,36 @@ export declare class CancelStatementContext extends ParserRuleContext {
|
|
|
888
905
|
exitRule(listener: BattleScriptListener): void;
|
|
889
906
|
accept<Result>(visitor: BattleScriptVisitor<Result>): Result;
|
|
890
907
|
}
|
|
908
|
+
export declare class StopStatementContext extends ParserRuleContext {
|
|
909
|
+
STOP(): TerminalNode;
|
|
910
|
+
lineEnd(): LineEndContext;
|
|
911
|
+
token(): TokenContext | undefined;
|
|
912
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
913
|
+
get ruleIndex(): number;
|
|
914
|
+
enterRule(listener: BattleScriptListener): void;
|
|
915
|
+
exitRule(listener: BattleScriptListener): void;
|
|
916
|
+
accept<Result>(visitor: BattleScriptVisitor<Result>): Result;
|
|
917
|
+
}
|
|
918
|
+
export declare class StartStatementContext extends ParserRuleContext {
|
|
919
|
+
START(): TerminalNode;
|
|
920
|
+
lineEnd(): LineEndContext;
|
|
921
|
+
token(): TokenContext | undefined;
|
|
922
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
923
|
+
get ruleIndex(): number;
|
|
924
|
+
enterRule(listener: BattleScriptListener): void;
|
|
925
|
+
exitRule(listener: BattleScriptListener): void;
|
|
926
|
+
accept<Result>(visitor: BattleScriptVisitor<Result>): Result;
|
|
927
|
+
}
|
|
928
|
+
export declare class ResumeStatementContext extends ParserRuleContext {
|
|
929
|
+
RESUME(): TerminalNode;
|
|
930
|
+
lineEnd(): LineEndContext;
|
|
931
|
+
token(): TokenContext | undefined;
|
|
932
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
933
|
+
get ruleIndex(): number;
|
|
934
|
+
enterRule(listener: BattleScriptListener): void;
|
|
935
|
+
exitRule(listener: BattleScriptListener): void;
|
|
936
|
+
accept<Result>(visitor: BattleScriptVisitor<Result>): Result;
|
|
937
|
+
}
|
|
891
938
|
export declare class BreakStatementContext extends ParserRuleContext {
|
|
892
939
|
BREAK(): TerminalNode;
|
|
893
940
|
lineEnd(): LineEndContext;
|
|
@@ -908,7 +955,7 @@ export declare class ContinueStatementContext extends ParserRuleContext {
|
|
|
908
955
|
}
|
|
909
956
|
export declare class FunctionNameIdentifierContext extends ParserRuleContext {
|
|
910
957
|
namespacedIdentifier(): NamespacedIdentifierContext | undefined;
|
|
911
|
-
|
|
958
|
+
looseIdentifier(): LooseIdentifierContext | undefined;
|
|
912
959
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
913
960
|
get ruleIndex(): number;
|
|
914
961
|
enterRule(listener: BattleScriptListener): void;
|
|
@@ -957,7 +1004,7 @@ export declare class FunctionParametersContext extends ParserRuleContext {
|
|
|
957
1004
|
export declare class FunctionParameterContext extends ParserRuleContext {
|
|
958
1005
|
assignmentPattern(): AssignmentPatternContext | undefined;
|
|
959
1006
|
type(): TypeContext | undefined;
|
|
960
|
-
|
|
1007
|
+
looseIdentifier(): LooseIdentifierContext | undefined;
|
|
961
1008
|
restElement(): RestElementContext | undefined;
|
|
962
1009
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
963
1010
|
get ruleIndex(): number;
|
|
@@ -969,7 +1016,7 @@ export declare class AssignmentPatternContext extends ParserRuleContext {
|
|
|
969
1016
|
type(): TypeContext;
|
|
970
1017
|
ASSIGN(): TerminalNode;
|
|
971
1018
|
expression(): ExpressionContext;
|
|
972
|
-
|
|
1019
|
+
looseIdentifier(): LooseIdentifierContext | undefined;
|
|
973
1020
|
restElement(): RestElementContext | undefined;
|
|
974
1021
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
975
1022
|
get ruleIndex(): number;
|
|
@@ -979,7 +1026,7 @@ export declare class AssignmentPatternContext extends ParserRuleContext {
|
|
|
979
1026
|
}
|
|
980
1027
|
export declare class RestElementContext extends ParserRuleContext {
|
|
981
1028
|
REST(): TerminalNode;
|
|
982
|
-
|
|
1029
|
+
looseIdentifier(): LooseIdentifierContext;
|
|
983
1030
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
984
1031
|
get ruleIndex(): number;
|
|
985
1032
|
enterRule(listener: BattleScriptListener): void;
|
|
@@ -1033,7 +1080,7 @@ export declare class VariableDeclarationContext extends ParserRuleContext {
|
|
|
1033
1080
|
}
|
|
1034
1081
|
export declare class VariableDeclaratorContext extends ParserRuleContext {
|
|
1035
1082
|
type(): TypeContext;
|
|
1036
|
-
|
|
1083
|
+
pureIdentifier(): PureIdentifierContext;
|
|
1037
1084
|
ASSIGN(): TerminalNode | undefined;
|
|
1038
1085
|
expression(): ExpressionContext | undefined;
|
|
1039
1086
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
@@ -1044,7 +1091,7 @@ export declare class VariableDeclaratorContext extends ParserRuleContext {
|
|
|
1044
1091
|
}
|
|
1045
1092
|
export declare class VariableDeclaratorWithInitContext extends ParserRuleContext {
|
|
1046
1093
|
type(): TypeContext;
|
|
1047
|
-
|
|
1094
|
+
pureIdentifier(): PureIdentifierContext;
|
|
1048
1095
|
ASSIGN(): TerminalNode;
|
|
1049
1096
|
expression(): ExpressionContext;
|
|
1050
1097
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
@@ -1055,7 +1102,7 @@ export declare class VariableDeclaratorWithInitContext extends ParserRuleContext
|
|
|
1055
1102
|
}
|
|
1056
1103
|
export declare class CatchStatementContext extends ParserRuleContext {
|
|
1057
1104
|
CATCH(): TerminalNode;
|
|
1058
|
-
|
|
1105
|
+
pureIdentifier(): PureIdentifierContext;
|
|
1059
1106
|
blockStatement(): BlockStatementContext;
|
|
1060
1107
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1061
1108
|
get ruleIndex(): number;
|
|
@@ -1065,8 +1112,8 @@ export declare class CatchStatementContext extends ParserRuleContext {
|
|
|
1065
1112
|
}
|
|
1066
1113
|
export declare class CatchAsStatementContext extends ParserRuleContext {
|
|
1067
1114
|
CATCH(): TerminalNode;
|
|
1068
|
-
|
|
1069
|
-
|
|
1115
|
+
pureIdentifier(): PureIdentifierContext[];
|
|
1116
|
+
pureIdentifier(i: number): PureIdentifierContext;
|
|
1070
1117
|
AS(): TerminalNode;
|
|
1071
1118
|
blockStatement(): BlockStatementContext;
|
|
1072
1119
|
COMMA(): TerminalNode[];
|
|
@@ -1223,7 +1270,7 @@ export declare class ProtocolDeclarationContext extends ParserRuleContext {
|
|
|
1223
1270
|
export declare class ProtocolComparatorContext extends ParserRuleContext {
|
|
1224
1271
|
EQUALS(): TerminalNode | undefined;
|
|
1225
1272
|
NOT_EQUALS(): TerminalNode | undefined;
|
|
1226
|
-
|
|
1273
|
+
looseIdentifier(): LooseIdentifierContext | undefined;
|
|
1227
1274
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1228
1275
|
get ruleIndex(): number;
|
|
1229
1276
|
enterRule(listener: BattleScriptListener): void;
|
|
@@ -1413,7 +1460,7 @@ export declare class EndStatementContext extends ParserRuleContext {
|
|
|
1413
1460
|
}
|
|
1414
1461
|
export declare class EnumDeclarationContext extends ParserRuleContext {
|
|
1415
1462
|
ENUM(): TerminalNode;
|
|
1416
|
-
|
|
1463
|
+
looseIdentifier(): LooseIdentifierContext;
|
|
1417
1464
|
BRACES_START(): TerminalNode;
|
|
1418
1465
|
BRACES_END(): TerminalNode;
|
|
1419
1466
|
enumBody(): EnumBodyContext[];
|
|
@@ -1425,7 +1472,7 @@ export declare class EnumDeclarationContext extends ParserRuleContext {
|
|
|
1425
1472
|
accept<Result>(visitor: BattleScriptVisitor<Result>): Result;
|
|
1426
1473
|
}
|
|
1427
1474
|
export declare class EnumBodyContext extends ParserRuleContext {
|
|
1428
|
-
|
|
1475
|
+
looseIdentifier(): LooseIdentifierContext | undefined;
|
|
1429
1476
|
SEMI_COLON(): TerminalNode | undefined;
|
|
1430
1477
|
COMMA(): TerminalNode | undefined;
|
|
1431
1478
|
enumAssignment(): EnumAssignmentContext | undefined;
|
|
@@ -1437,7 +1484,7 @@ export declare class EnumBodyContext extends ParserRuleContext {
|
|
|
1437
1484
|
accept<Result>(visitor: BattleScriptVisitor<Result>): Result;
|
|
1438
1485
|
}
|
|
1439
1486
|
export declare class EnumAssignmentContext extends ParserRuleContext {
|
|
1440
|
-
|
|
1487
|
+
looseIdentifier(): LooseIdentifierContext;
|
|
1441
1488
|
ASSIGN(): TerminalNode;
|
|
1442
1489
|
literal(): LiteralContext;
|
|
1443
1490
|
SEMI_COLON(): TerminalNode | undefined;
|
|
@@ -1449,7 +1496,7 @@ export declare class EnumAssignmentContext extends ParserRuleContext {
|
|
|
1449
1496
|
accept<Result>(visitor: BattleScriptVisitor<Result>): Result;
|
|
1450
1497
|
}
|
|
1451
1498
|
export declare class TokenContext extends ParserRuleContext {
|
|
1452
|
-
|
|
1499
|
+
looseIdentifier(): LooseIdentifierContext | undefined;
|
|
1453
1500
|
primaryExpression(): PrimaryExpressionContext | undefined;
|
|
1454
1501
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1455
1502
|
get ruleIndex(): number;
|
|
@@ -1506,7 +1553,7 @@ export declare class LineEndContext extends ParserRuleContext {
|
|
|
1506
1553
|
accept<Result>(visitor: BattleScriptVisitor<Result>): Result;
|
|
1507
1554
|
}
|
|
1508
1555
|
export declare class CustomTypeContext extends ParserRuleContext {
|
|
1509
|
-
|
|
1556
|
+
pureIdentifier(): PureIdentifierContext | undefined;
|
|
1510
1557
|
customType(): CustomTypeContext | undefined;
|
|
1511
1558
|
BRACKETS_START(): TerminalNode | undefined;
|
|
1512
1559
|
BRACKETS_END(): TerminalNode | undefined;
|
|
@@ -1588,6 +1635,8 @@ export declare class ArrayExpressionInternalContext extends ParserRuleContext {
|
|
|
1588
1635
|
export declare class ObjectExpressionInternalContext extends ParserRuleContext {
|
|
1589
1636
|
BRACES_START(): TerminalNode;
|
|
1590
1637
|
BRACES_END(): TerminalNode;
|
|
1638
|
+
comment(): CommentContext[];
|
|
1639
|
+
comment(i: number): CommentContext;
|
|
1591
1640
|
objectProperty(): ObjectPropertyContext[];
|
|
1592
1641
|
objectProperty(i: number): ObjectPropertyContext;
|
|
1593
1642
|
COMMA(): TerminalNode[];
|
|
@@ -1601,7 +1650,7 @@ export declare class ObjectExpressionInternalContext extends ParserRuleContext {
|
|
|
1601
1650
|
export declare class ObjectPropertyContext extends ParserRuleContext {
|
|
1602
1651
|
COLON(): TerminalNode;
|
|
1603
1652
|
expression(): ExpressionContext;
|
|
1604
|
-
|
|
1653
|
+
looseIdentifier(): LooseIdentifierContext | undefined;
|
|
1605
1654
|
stringLiteral(): StringLiteralContext | undefined;
|
|
1606
1655
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1607
1656
|
get ruleIndex(): number;
|
|
@@ -1649,7 +1698,15 @@ export declare class UndefinedLiteralContext extends ParserRuleContext {
|
|
|
1649
1698
|
exitRule(listener: BattleScriptListener): void;
|
|
1650
1699
|
accept<Result>(visitor: BattleScriptVisitor<Result>): Result;
|
|
1651
1700
|
}
|
|
1652
|
-
export declare class
|
|
1701
|
+
export declare class PureIdentifierContext extends ParserRuleContext {
|
|
1702
|
+
IDENTIFIER(): TerminalNode;
|
|
1703
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1704
|
+
get ruleIndex(): number;
|
|
1705
|
+
enterRule(listener: BattleScriptListener): void;
|
|
1706
|
+
exitRule(listener: BattleScriptListener): void;
|
|
1707
|
+
accept<Result>(visitor: BattleScriptVisitor<Result>): Result;
|
|
1708
|
+
}
|
|
1709
|
+
export declare class LooseIdentifierContext extends ParserRuleContext {
|
|
1653
1710
|
IDENTIFIER(): TerminalNode | undefined;
|
|
1654
1711
|
PROTOCOL(): TerminalNode | undefined;
|
|
1655
1712
|
DEFINE(): TerminalNode | undefined;
|
|
@@ -1662,6 +1719,9 @@ export declare class IdentifierContext extends ParserRuleContext {
|
|
|
1662
1719
|
FORWARD(): TerminalNode | undefined;
|
|
1663
1720
|
REWIND(): TerminalNode | undefined;
|
|
1664
1721
|
OFFSET(): TerminalNode | undefined;
|
|
1722
|
+
STOP(): TerminalNode | undefined;
|
|
1723
|
+
START(): TerminalNode | undefined;
|
|
1724
|
+
RESUME(): TerminalNode | undefined;
|
|
1665
1725
|
XOR(): TerminalNode | undefined;
|
|
1666
1726
|
XNOR(): TerminalNode | undefined;
|
|
1667
1727
|
BITS(): TerminalNode | undefined;
|