@guihz/trading-vue-editor-tes 0.0.1
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/README.md +30 -0
- package/lib/App.d.ts +3 -0
- package/lib/api/api.d.ts +1 -0
- package/lib/api/server.d.ts +8 -0
- package/lib/assets/parserTccWorker-CFBnUzVu.js +99 -0
- package/lib/assets/scriptsRunWorker-CSDMAOri.js +66 -0
- package/lib/components/editor/config/monarchTokens.d.ts +205 -0
- package/lib/components/editor/constants/contents.d.ts +40 -0
- package/lib/components/editor/constants/locals.d.ts +3 -0
- package/lib/components/editor/index.d.ts +21 -0
- package/lib/components/editor/parseScript/buildInConstants.d.ts +252 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/array.d.ts +144 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/color.d.ts +25 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/errorListener.d.ts +8 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/index.d.ts +12 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/input.d.ts +70 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/map.d.ts +37 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/math.d.ts +47 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/matrix.d.ts +136 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/string.d.ts +43 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/ta.d.ts +116 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/timeframe.d.ts +19 -0
- package/lib/components/editor/parseScript/buildInVariables.d.ts +122 -0
- package/lib/components/editor/parseScript/constants.d.ts +56 -0
- package/lib/components/editor/parseScript/enum.d.ts +248 -0
- package/lib/components/editor/parseScript/parseToJs.d.ts +44 -0
- package/lib/components/editor/parseScript/type.d.ts +27 -0
- package/lib/components/editor/parseScript/userTypeClass.d.ts +12 -0
- package/lib/components/editor/parseScript/utils.d.ts +8 -0
- package/lib/components/editor/parseScript/visitorParser.d.ts +303 -0
- package/lib/components/editor/parseScript/visitorUtils.d.ts +30 -0
- package/lib/components/editor/parseScript/workerStorage.d.ts +12 -0
- package/lib/components/editor/tokenizer/config.d.ts +40 -0
- package/lib/components/editor/tokenizer/utils.d.ts +33 -0
- package/lib/components/editor/type/index.d.ts +70 -0
- package/lib/components/editor/utils/color.d.ts +33 -0
- package/lib/components/editor/utils/completions.d.ts +61 -0
- package/lib/components/editor/utils/decorations.d.ts +23 -0
- package/lib/components/editor/utils/initEditor.d.ts +23 -0
- package/lib/components/editor/utils/overlayWidgets.d.ts +22 -0
- package/lib/components/editor/utils/parse.d.ts +43 -0
- package/lib/components/editor/utils/parserTccWorker.d.ts +25 -0
- package/lib/components/editor/utils/signatureHelp.d.ts +29 -0
- package/lib/components/editor/utils/suggestions.d.ts +18 -0
- package/lib/components/editor/utils/test.d.ts +22 -0
- package/lib/components/editor/utils/tools.d.ts +1 -0
- package/lib/main.d.ts +1 -0
- package/lib/packages/index.d.ts +5 -0
- package/lib/tccParser/LexerBase.d.ts +19 -0
- package/lib/tccParser/tccScriptParserVisitor.d.ts +486 -0
- package/lib/trading-vue-editor.js +64939 -0
- package/lib/trading-vue-editor.umd.cjs +144 -0
- package/package.json +53 -0
@@ -0,0 +1,486 @@
|
|
1
|
+
/// <reference path="../../src/vite-env.d.ts" />
|
2
|
+
import { ParseTreeVisitor } from 'antlr4';
|
3
|
+
import { ProgramContext } from "./tccScriptParser";
|
4
|
+
import { GlobalStmtContext } from "./tccScriptParser";
|
5
|
+
import { BlockStmtContext } from "./tccScriptParser";
|
6
|
+
import { StmtContext } from "./tccScriptParser";
|
7
|
+
import { SimpleStmtContext } from "./tccScriptParser";
|
8
|
+
import { FlowStmtContext } from "./tccScriptParser";
|
9
|
+
import { BlockContext } from "./tccScriptParser";
|
10
|
+
import { BlockLineContext } from "./tccScriptParser";
|
11
|
+
import { VariableDeclarationStmtContext } from "./tccScriptParser";
|
12
|
+
import { DeclareAssignContext } from "./tccScriptParser";
|
13
|
+
import { AgainAssignContext } from "./tccScriptParser";
|
14
|
+
import { VarModifierContext } from "./tccScriptParser";
|
15
|
+
import { BlockSequenceContext } from "./tccScriptParser";
|
16
|
+
import { ExpressionSequenceContext } from "./tccScriptParser";
|
17
|
+
import { ExpressionBlockSequenceContext } from "./tccScriptParser";
|
18
|
+
import { VarBlockStmtContext } from "./tccScriptParser";
|
19
|
+
import { VarSingleContext } from "./tccScriptParser";
|
20
|
+
import { VarMultipleContext } from "./tccScriptParser";
|
21
|
+
import { BlockExpressionContext } from "./tccScriptParser";
|
22
|
+
import { ParenthesizedExpressionContext } from "./tccScriptParser";
|
23
|
+
import { AdditiveExpressionContext } from "./tccScriptParser";
|
24
|
+
import { RelationalExpressionContext } from "./tccScriptParser";
|
25
|
+
import { TernaryExpressionContext } from "./tccScriptParser";
|
26
|
+
import { LogicalAndExpressionContext } from "./tccScriptParser";
|
27
|
+
import { NameExpressionContext } from "./tccScriptParser";
|
28
|
+
import { LiteralExpressionContext } from "./tccScriptParser";
|
29
|
+
import { LogicalOrExpressionContext } from "./tccScriptParser";
|
30
|
+
import { UnaryExpressionContext } from "./tccScriptParser";
|
31
|
+
import { NotExpressionContext } from "./tccScriptParser";
|
32
|
+
import { MemberIndexExpressionContext } from "./tccScriptParser";
|
33
|
+
import { MethodExpressionContext } from "./tccScriptParser";
|
34
|
+
import { EqualityExpressionContext } from "./tccScriptParser";
|
35
|
+
import { MultiplicativeExpressionContext } from "./tccScriptParser";
|
36
|
+
import { BrackethesizedContext } from "./tccScriptParser";
|
37
|
+
import { ArgumentsContext } from "./tccScriptParser";
|
38
|
+
import { ArgumentContext } from "./tccScriptParser";
|
39
|
+
import { IfStatementContext } from "./tccScriptParser";
|
40
|
+
import { ForToStatementContext } from "./tccScriptParser";
|
41
|
+
import { ForInStatementContext } from "./tccScriptParser";
|
42
|
+
import { SwitchStatementContext } from "./tccScriptParser";
|
43
|
+
import { CaseClauseContext } from "./tccScriptParser";
|
44
|
+
import { DefaultCaluseContext } from "./tccScriptParser";
|
45
|
+
import { WhileStatementContext } from "./tccScriptParser";
|
46
|
+
import { ImportStmtContext } from "./tccScriptParser";
|
47
|
+
import { ImportElementContext } from "./tccScriptParser";
|
48
|
+
import { LiteralContext } from "./tccScriptParser";
|
49
|
+
import { MethodStmtContext } from "./tccScriptParser";
|
50
|
+
import { MethodElementContext } from "./tccScriptParser";
|
51
|
+
import { MethodNameContext } from "./tccScriptParser";
|
52
|
+
import { ArrowFunctionContext } from "./tccScriptParser";
|
53
|
+
import { ArrowFunctionParametersContext } from "./tccScriptParser";
|
54
|
+
import { FormalParameterListContext } from "./tccScriptParser";
|
55
|
+
import { FormalParameterArgContext } from "./tccScriptParser";
|
56
|
+
import { ArrowMethodContext } from "./tccScriptParser";
|
57
|
+
import { ArrowMethodParametersContext } from "./tccScriptParser";
|
58
|
+
import { TypeStatementContext } from "./tccScriptParser";
|
59
|
+
import { TypeElementContext } from "./tccScriptParser";
|
60
|
+
import { AssignmentOperatorContext } from "./tccScriptParser";
|
61
|
+
import { TypeMapContext } from "./tccScriptParser";
|
62
|
+
import { TypeSeriesContext } from "./tccScriptParser";
|
63
|
+
import { TypeArrayContext } from "./tccScriptParser";
|
64
|
+
import { TypeGatherContext } from "./tccScriptParser";
|
65
|
+
import { IdentifierContext } from "./tccScriptParser";
|
66
|
+
import { TypeNameContext } from "./tccScriptParser";
|
67
|
+
import { NameContext } from "./tccScriptParser";
|
68
|
+
/**
|
69
|
+
* This interface defines a complete generic visitor for a parse tree produced
|
70
|
+
* by `tccScriptParser`.
|
71
|
+
*
|
72
|
+
* @param <Result> The return type of the visit operation. Use `void` for
|
73
|
+
* operations with no return type.
|
74
|
+
*/
|
75
|
+
export default class tccScriptParserVisitor<Result> extends ParseTreeVisitor<Result> {
|
76
|
+
/**
|
77
|
+
* Visit a parse tree produced by `tccScriptParser.program`.
|
78
|
+
* @param ctx the parse tree
|
79
|
+
* @return the visitor result
|
80
|
+
*/
|
81
|
+
visitProgram?: (ctx: ProgramContext) => Result;
|
82
|
+
/**
|
83
|
+
* Visit a parse tree produced by `tccScriptParser.globalStmt`.
|
84
|
+
* @param ctx the parse tree
|
85
|
+
* @return the visitor result
|
86
|
+
*/
|
87
|
+
visitGlobalStmt?: (ctx: GlobalStmtContext) => Result;
|
88
|
+
/**
|
89
|
+
* Visit a parse tree produced by `tccScriptParser.blockStmt`.
|
90
|
+
* @param ctx the parse tree
|
91
|
+
* @return the visitor result
|
92
|
+
*/
|
93
|
+
visitBlockStmt?: (ctx: BlockStmtContext) => Result;
|
94
|
+
/**
|
95
|
+
* Visit a parse tree produced by `tccScriptParser.stmt`.
|
96
|
+
* @param ctx the parse tree
|
97
|
+
* @return the visitor result
|
98
|
+
*/
|
99
|
+
visitStmt?: (ctx: StmtContext) => Result;
|
100
|
+
/**
|
101
|
+
* Visit a parse tree produced by `tccScriptParser.simpleStmt`.
|
102
|
+
* @param ctx the parse tree
|
103
|
+
* @return the visitor result
|
104
|
+
*/
|
105
|
+
visitSimpleStmt?: (ctx: SimpleStmtContext) => Result;
|
106
|
+
/**
|
107
|
+
* Visit a parse tree produced by `tccScriptParser.flowStmt`.
|
108
|
+
* @param ctx the parse tree
|
109
|
+
* @return the visitor result
|
110
|
+
*/
|
111
|
+
visitFlowStmt?: (ctx: FlowStmtContext) => Result;
|
112
|
+
/**
|
113
|
+
* Visit a parse tree produced by `tccScriptParser.block`.
|
114
|
+
* @param ctx the parse tree
|
115
|
+
* @return the visitor result
|
116
|
+
*/
|
117
|
+
visitBlock?: (ctx: BlockContext) => Result;
|
118
|
+
/**
|
119
|
+
* Visit a parse tree produced by `tccScriptParser.blockLine`.
|
120
|
+
* @param ctx the parse tree
|
121
|
+
* @return the visitor result
|
122
|
+
*/
|
123
|
+
visitBlockLine?: (ctx: BlockLineContext) => Result;
|
124
|
+
/**
|
125
|
+
* Visit a parse tree produced by `tccScriptParser.variableDeclarationStmt`.
|
126
|
+
* @param ctx the parse tree
|
127
|
+
* @return the visitor result
|
128
|
+
*/
|
129
|
+
visitVariableDeclarationStmt?: (ctx: VariableDeclarationStmtContext) => Result;
|
130
|
+
/**
|
131
|
+
* Visit a parse tree produced by the `DeclareAssign`
|
132
|
+
* labeled alternative in `tccScriptParser.variableDeclarationList`.
|
133
|
+
* @param ctx the parse tree
|
134
|
+
* @return the visitor result
|
135
|
+
*/
|
136
|
+
visitDeclareAssign?: (ctx: DeclareAssignContext) => Result;
|
137
|
+
/**
|
138
|
+
* Visit a parse tree produced by the `AgainAssign`
|
139
|
+
* labeled alternative in `tccScriptParser.variableDeclarationList`.
|
140
|
+
* @param ctx the parse tree
|
141
|
+
* @return the visitor result
|
142
|
+
*/
|
143
|
+
visitAgainAssign?: (ctx: AgainAssignContext) => Result;
|
144
|
+
/**
|
145
|
+
* Visit a parse tree produced by `tccScriptParser.varModifier`.
|
146
|
+
* @param ctx the parse tree
|
147
|
+
* @return the visitor result
|
148
|
+
*/
|
149
|
+
visitVarModifier?: (ctx: VarModifierContext) => Result;
|
150
|
+
/**
|
151
|
+
* Visit a parse tree produced by `tccScriptParser.blockSequence`.
|
152
|
+
* @param ctx the parse tree
|
153
|
+
* @return the visitor result
|
154
|
+
*/
|
155
|
+
visitBlockSequence?: (ctx: BlockSequenceContext) => Result;
|
156
|
+
/**
|
157
|
+
* Visit a parse tree produced by `tccScriptParser.expressionSequence`.
|
158
|
+
* @param ctx the parse tree
|
159
|
+
* @return the visitor result
|
160
|
+
*/
|
161
|
+
visitExpressionSequence?: (ctx: ExpressionSequenceContext) => Result;
|
162
|
+
/**
|
163
|
+
* Visit a parse tree produced by `tccScriptParser.expressionBlockSequence`.
|
164
|
+
* @param ctx the parse tree
|
165
|
+
* @return the visitor result
|
166
|
+
*/
|
167
|
+
visitExpressionBlockSequence?: (ctx: ExpressionBlockSequenceContext) => Result;
|
168
|
+
/**
|
169
|
+
* Visit a parse tree produced by `tccScriptParser.varBlockStmt`.
|
170
|
+
* @param ctx the parse tree
|
171
|
+
* @return the visitor result
|
172
|
+
*/
|
173
|
+
visitVarBlockStmt?: (ctx: VarBlockStmtContext) => Result;
|
174
|
+
/**
|
175
|
+
* Visit a parse tree produced by the `VarSingle`
|
176
|
+
* labeled alternative in `tccScriptParser.varArrayDeclaration`.
|
177
|
+
* @param ctx the parse tree
|
178
|
+
* @return the visitor result
|
179
|
+
*/
|
180
|
+
visitVarSingle?: (ctx: VarSingleContext) => Result;
|
181
|
+
/**
|
182
|
+
* Visit a parse tree produced by the `VarMultiple`
|
183
|
+
* labeled alternative in `tccScriptParser.varArrayDeclaration`.
|
184
|
+
* @param ctx the parse tree
|
185
|
+
* @return the visitor result
|
186
|
+
*/
|
187
|
+
visitVarMultiple?: (ctx: VarMultipleContext) => Result;
|
188
|
+
/**
|
189
|
+
* Visit a parse tree produced by `tccScriptParser.blockExpression`.
|
190
|
+
* @param ctx the parse tree
|
191
|
+
* @return the visitor result
|
192
|
+
*/
|
193
|
+
visitBlockExpression?: (ctx: BlockExpressionContext) => Result;
|
194
|
+
/**
|
195
|
+
* Visit a parse tree produced by the `ParenthesizedExpression`
|
196
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
197
|
+
* @param ctx the parse tree
|
198
|
+
* @return the visitor result
|
199
|
+
*/
|
200
|
+
visitParenthesizedExpression?: (ctx: ParenthesizedExpressionContext) => Result;
|
201
|
+
/**
|
202
|
+
* Visit a parse tree produced by the `AdditiveExpression`
|
203
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
204
|
+
* @param ctx the parse tree
|
205
|
+
* @return the visitor result
|
206
|
+
*/
|
207
|
+
visitAdditiveExpression?: (ctx: AdditiveExpressionContext) => Result;
|
208
|
+
/**
|
209
|
+
* Visit a parse tree produced by the `RelationalExpression`
|
210
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
211
|
+
* @param ctx the parse tree
|
212
|
+
* @return the visitor result
|
213
|
+
*/
|
214
|
+
visitRelationalExpression?: (ctx: RelationalExpressionContext) => Result;
|
215
|
+
/**
|
216
|
+
* Visit a parse tree produced by the `TernaryExpression`
|
217
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
218
|
+
* @param ctx the parse tree
|
219
|
+
* @return the visitor result
|
220
|
+
*/
|
221
|
+
visitTernaryExpression?: (ctx: TernaryExpressionContext) => Result;
|
222
|
+
/**
|
223
|
+
* Visit a parse tree produced by the `LogicalAndExpression`
|
224
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
225
|
+
* @param ctx the parse tree
|
226
|
+
* @return the visitor result
|
227
|
+
*/
|
228
|
+
visitLogicalAndExpression?: (ctx: LogicalAndExpressionContext) => Result;
|
229
|
+
/**
|
230
|
+
* Visit a parse tree produced by the `NameExpression`
|
231
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
232
|
+
* @param ctx the parse tree
|
233
|
+
* @return the visitor result
|
234
|
+
*/
|
235
|
+
visitNameExpression?: (ctx: NameExpressionContext) => Result;
|
236
|
+
/**
|
237
|
+
* Visit a parse tree produced by the `LiteralExpression`
|
238
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
239
|
+
* @param ctx the parse tree
|
240
|
+
* @return the visitor result
|
241
|
+
*/
|
242
|
+
visitLiteralExpression?: (ctx: LiteralExpressionContext) => Result;
|
243
|
+
/**
|
244
|
+
* Visit a parse tree produced by the `LogicalOrExpression`
|
245
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
246
|
+
* @param ctx the parse tree
|
247
|
+
* @return the visitor result
|
248
|
+
*/
|
249
|
+
visitLogicalOrExpression?: (ctx: LogicalOrExpressionContext) => Result;
|
250
|
+
/**
|
251
|
+
* Visit a parse tree produced by the `UnaryExpression`
|
252
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
253
|
+
* @param ctx the parse tree
|
254
|
+
* @return the visitor result
|
255
|
+
*/
|
256
|
+
visitUnaryExpression?: (ctx: UnaryExpressionContext) => Result;
|
257
|
+
/**
|
258
|
+
* Visit a parse tree produced by the `NotExpression`
|
259
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
260
|
+
* @param ctx the parse tree
|
261
|
+
* @return the visitor result
|
262
|
+
*/
|
263
|
+
visitNotExpression?: (ctx: NotExpressionContext) => Result;
|
264
|
+
/**
|
265
|
+
* Visit a parse tree produced by the `MemberIndexExpression`
|
266
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
267
|
+
* @param ctx the parse tree
|
268
|
+
* @return the visitor result
|
269
|
+
*/
|
270
|
+
visitMemberIndexExpression?: (ctx: MemberIndexExpressionContext) => Result;
|
271
|
+
/**
|
272
|
+
* Visit a parse tree produced by the `MethodExpression`
|
273
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
274
|
+
* @param ctx the parse tree
|
275
|
+
* @return the visitor result
|
276
|
+
*/
|
277
|
+
visitMethodExpression?: (ctx: MethodExpressionContext) => Result;
|
278
|
+
/**
|
279
|
+
* Visit a parse tree produced by the `EqualityExpression`
|
280
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
281
|
+
* @param ctx the parse tree
|
282
|
+
* @return the visitor result
|
283
|
+
*/
|
284
|
+
visitEqualityExpression?: (ctx: EqualityExpressionContext) => Result;
|
285
|
+
/**
|
286
|
+
* Visit a parse tree produced by the `MultiplicativeExpression`
|
287
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
288
|
+
* @param ctx the parse tree
|
289
|
+
* @return the visitor result
|
290
|
+
*/
|
291
|
+
visitMultiplicativeExpression?: (ctx: MultiplicativeExpressionContext) => Result;
|
292
|
+
/**
|
293
|
+
* Visit a parse tree produced by `tccScriptParser.brackethesized`.
|
294
|
+
* @param ctx the parse tree
|
295
|
+
* @return the visitor result
|
296
|
+
*/
|
297
|
+
visitBrackethesized?: (ctx: BrackethesizedContext) => Result;
|
298
|
+
/**
|
299
|
+
* Visit a parse tree produced by `tccScriptParser.arguments`.
|
300
|
+
* @param ctx the parse tree
|
301
|
+
* @return the visitor result
|
302
|
+
*/
|
303
|
+
visitArguments?: (ctx: ArgumentsContext) => Result;
|
304
|
+
/**
|
305
|
+
* Visit a parse tree produced by `tccScriptParser.argument`.
|
306
|
+
* @param ctx the parse tree
|
307
|
+
* @return the visitor result
|
308
|
+
*/
|
309
|
+
visitArgument?: (ctx: ArgumentContext) => Result;
|
310
|
+
/**
|
311
|
+
* Visit a parse tree produced by `tccScriptParser.ifStatement`.
|
312
|
+
* @param ctx the parse tree
|
313
|
+
* @return the visitor result
|
314
|
+
*/
|
315
|
+
visitIfStatement?: (ctx: IfStatementContext) => Result;
|
316
|
+
/**
|
317
|
+
* Visit a parse tree produced by the `ForToStatement`
|
318
|
+
* labeled alternative in `tccScriptParser.forStatement`.
|
319
|
+
* @param ctx the parse tree
|
320
|
+
* @return the visitor result
|
321
|
+
*/
|
322
|
+
visitForToStatement?: (ctx: ForToStatementContext) => Result;
|
323
|
+
/**
|
324
|
+
* Visit a parse tree produced by the `ForInStatement`
|
325
|
+
* labeled alternative in `tccScriptParser.forStatement`.
|
326
|
+
* @param ctx the parse tree
|
327
|
+
* @return the visitor result
|
328
|
+
*/
|
329
|
+
visitForInStatement?: (ctx: ForInStatementContext) => Result;
|
330
|
+
/**
|
331
|
+
* Visit a parse tree produced by `tccScriptParser.switchStatement`.
|
332
|
+
* @param ctx the parse tree
|
333
|
+
* @return the visitor result
|
334
|
+
*/
|
335
|
+
visitSwitchStatement?: (ctx: SwitchStatementContext) => Result;
|
336
|
+
/**
|
337
|
+
* Visit a parse tree produced by `tccScriptParser.caseClause`.
|
338
|
+
* @param ctx the parse tree
|
339
|
+
* @return the visitor result
|
340
|
+
*/
|
341
|
+
visitCaseClause?: (ctx: CaseClauseContext) => Result;
|
342
|
+
/**
|
343
|
+
* Visit a parse tree produced by `tccScriptParser.defaultCaluse`.
|
344
|
+
* @param ctx the parse tree
|
345
|
+
* @return the visitor result
|
346
|
+
*/
|
347
|
+
visitDefaultCaluse?: (ctx: DefaultCaluseContext) => Result;
|
348
|
+
/**
|
349
|
+
* Visit a parse tree produced by `tccScriptParser.whileStatement`.
|
350
|
+
* @param ctx the parse tree
|
351
|
+
* @return the visitor result
|
352
|
+
*/
|
353
|
+
visitWhileStatement?: (ctx: WhileStatementContext) => Result;
|
354
|
+
/**
|
355
|
+
* Visit a parse tree produced by `tccScriptParser.importStmt`.
|
356
|
+
* @param ctx the parse tree
|
357
|
+
* @return the visitor result
|
358
|
+
*/
|
359
|
+
visitImportStmt?: (ctx: ImportStmtContext) => Result;
|
360
|
+
/**
|
361
|
+
* Visit a parse tree produced by `tccScriptParser.importElement`.
|
362
|
+
* @param ctx the parse tree
|
363
|
+
* @return the visitor result
|
364
|
+
*/
|
365
|
+
visitImportElement?: (ctx: ImportElementContext) => Result;
|
366
|
+
/**
|
367
|
+
* Visit a parse tree produced by `tccScriptParser.literal`.
|
368
|
+
* @param ctx the parse tree
|
369
|
+
* @return the visitor result
|
370
|
+
*/
|
371
|
+
visitLiteral?: (ctx: LiteralContext) => Result;
|
372
|
+
/**
|
373
|
+
* Visit a parse tree produced by `tccScriptParser.methodStmt`.
|
374
|
+
* @param ctx the parse tree
|
375
|
+
* @return the visitor result
|
376
|
+
*/
|
377
|
+
visitMethodStmt?: (ctx: MethodStmtContext) => Result;
|
378
|
+
/**
|
379
|
+
* Visit a parse tree produced by `tccScriptParser.methodElement`.
|
380
|
+
* @param ctx the parse tree
|
381
|
+
* @return the visitor result
|
382
|
+
*/
|
383
|
+
visitMethodElement?: (ctx: MethodElementContext) => Result;
|
384
|
+
/**
|
385
|
+
* Visit a parse tree produced by `tccScriptParser.methodName`.
|
386
|
+
* @param ctx the parse tree
|
387
|
+
* @return the visitor result
|
388
|
+
*/
|
389
|
+
visitMethodName?: (ctx: MethodNameContext) => Result;
|
390
|
+
/**
|
391
|
+
* Visit a parse tree produced by `tccScriptParser.arrowFunction`.
|
392
|
+
* @param ctx the parse tree
|
393
|
+
* @return the visitor result
|
394
|
+
*/
|
395
|
+
visitArrowFunction?: (ctx: ArrowFunctionContext) => Result;
|
396
|
+
/**
|
397
|
+
* Visit a parse tree produced by `tccScriptParser.arrowFunctionParameters`.
|
398
|
+
* @param ctx the parse tree
|
399
|
+
* @return the visitor result
|
400
|
+
*/
|
401
|
+
visitArrowFunctionParameters?: (ctx: ArrowFunctionParametersContext) => Result;
|
402
|
+
/**
|
403
|
+
* Visit a parse tree produced by `tccScriptParser.formalParameterList`.
|
404
|
+
* @param ctx the parse tree
|
405
|
+
* @return the visitor result
|
406
|
+
*/
|
407
|
+
visitFormalParameterList?: (ctx: FormalParameterListContext) => Result;
|
408
|
+
/**
|
409
|
+
* Visit a parse tree produced by `tccScriptParser.formalParameterArg`.
|
410
|
+
* @param ctx the parse tree
|
411
|
+
* @return the visitor result
|
412
|
+
*/
|
413
|
+
visitFormalParameterArg?: (ctx: FormalParameterArgContext) => Result;
|
414
|
+
/**
|
415
|
+
* Visit a parse tree produced by `tccScriptParser.arrowMethod`.
|
416
|
+
* @param ctx the parse tree
|
417
|
+
* @return the visitor result
|
418
|
+
*/
|
419
|
+
visitArrowMethod?: (ctx: ArrowMethodContext) => Result;
|
420
|
+
/**
|
421
|
+
* Visit a parse tree produced by `tccScriptParser.arrowMethodParameters`.
|
422
|
+
* @param ctx the parse tree
|
423
|
+
* @return the visitor result
|
424
|
+
*/
|
425
|
+
visitArrowMethodParameters?: (ctx: ArrowMethodParametersContext) => Result;
|
426
|
+
/**
|
427
|
+
* Visit a parse tree produced by `tccScriptParser.typeStatement`.
|
428
|
+
* @param ctx the parse tree
|
429
|
+
* @return the visitor result
|
430
|
+
*/
|
431
|
+
visitTypeStatement?: (ctx: TypeStatementContext) => Result;
|
432
|
+
/**
|
433
|
+
* Visit a parse tree produced by `tccScriptParser.typeElement`.
|
434
|
+
* @param ctx the parse tree
|
435
|
+
* @return the visitor result
|
436
|
+
*/
|
437
|
+
visitTypeElement?: (ctx: TypeElementContext) => Result;
|
438
|
+
/**
|
439
|
+
* Visit a parse tree produced by `tccScriptParser.assignmentOperator`.
|
440
|
+
* @param ctx the parse tree
|
441
|
+
* @return the visitor result
|
442
|
+
*/
|
443
|
+
visitAssignmentOperator?: (ctx: AssignmentOperatorContext) => Result;
|
444
|
+
/**
|
445
|
+
* Visit a parse tree produced by `tccScriptParser.typeMap`.
|
446
|
+
* @param ctx the parse tree
|
447
|
+
* @return the visitor result
|
448
|
+
*/
|
449
|
+
visitTypeMap?: (ctx: TypeMapContext) => Result;
|
450
|
+
/**
|
451
|
+
* Visit a parse tree produced by `tccScriptParser.typeSeries`.
|
452
|
+
* @param ctx the parse tree
|
453
|
+
* @return the visitor result
|
454
|
+
*/
|
455
|
+
visitTypeSeries?: (ctx: TypeSeriesContext) => Result;
|
456
|
+
/**
|
457
|
+
* Visit a parse tree produced by `tccScriptParser.typeArray`.
|
458
|
+
* @param ctx the parse tree
|
459
|
+
* @return the visitor result
|
460
|
+
*/
|
461
|
+
visitTypeArray?: (ctx: TypeArrayContext) => Result;
|
462
|
+
/**
|
463
|
+
* Visit a parse tree produced by `tccScriptParser.typeGather`.
|
464
|
+
* @param ctx the parse tree
|
465
|
+
* @return the visitor result
|
466
|
+
*/
|
467
|
+
visitTypeGather?: (ctx: TypeGatherContext) => Result;
|
468
|
+
/**
|
469
|
+
* Visit a parse tree produced by `tccScriptParser.identifier`.
|
470
|
+
* @param ctx the parse tree
|
471
|
+
* @return the visitor result
|
472
|
+
*/
|
473
|
+
visitIdentifier?: (ctx: IdentifierContext) => Result;
|
474
|
+
/**
|
475
|
+
* Visit a parse tree produced by `tccScriptParser.typeName`.
|
476
|
+
* @param ctx the parse tree
|
477
|
+
* @return the visitor result
|
478
|
+
*/
|
479
|
+
visitTypeName?: (ctx: TypeNameContext) => Result;
|
480
|
+
/**
|
481
|
+
* Visit a parse tree produced by `tccScriptParser.name`.
|
482
|
+
* @param ctx the parse tree
|
483
|
+
* @return the visitor result
|
484
|
+
*/
|
485
|
+
visitName?: (ctx: NameContext) => Result;
|
486
|
+
}
|