@guihz/trading-vue-editor-tes 0.0.302 → 0.1.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/lib/assets/editor.worker-BxEYBjj-.js +7352 -0
- package/lib/assets/parserTccWorker-D5cq4N-Y.js +80540 -0
- package/lib/assets/scriptsRunWorker-CaEvEpNA.js +37748 -0
- package/lib/components/diffEditor/index.d.ts +1 -0
- package/lib/components/editor/config/monarchTokens.d.ts +2 -4
- package/lib/components/editor/constants/common.d.ts +38 -0
- package/lib/components/editor/constants/locals.d.ts +1 -0
- package/lib/components/editor/index.d.ts +1 -0
- package/lib/components/editor/tokenizer/utils.d.ts +0 -16
- package/lib/components/editor/type/index.d.ts +32 -1
- package/lib/components/editor/utils/completions.d.ts +3 -1
- package/lib/components/editor/utils/importLibrary.d.ts +2 -160
- package/lib/components/editor/utils/initEditor.d.ts +3 -0
- package/lib/components/editor/utils/parse.d.ts +2 -0
- package/lib/components/editor/utils/parserTccWorker.d.ts +1 -7
- package/lib/components/editor/utils/scriptsRunWorker.d.ts +1 -1
- package/lib/components/editor/utils/signatureHelp.d.ts +2 -0
- package/lib/components/editor/utils/tools.d.ts +6 -0
- package/lib/components/editor/v3/config/monarchTokens.d.ts +3 -0
- package/lib/components/editor/v3/constants/contents_zh.d.ts +6 -0
- package/lib/components/editor/{constants/contents.d.ts → v3/constants/index.d.ts} +1 -5
- package/lib/components/editor/v3/parseScript/buildInConstants.d.ts +179 -0
- package/lib/components/editor/v3/parseScript/buildInFuncNamespace/index.d.ts +9 -0
- package/lib/components/editor/v3/parseScript/buildInFuncNamespace/input.d.ts +43 -0
- package/lib/components/editor/v3/parseScript/buildInFuncNamespace/math.d.ts +50 -0
- package/lib/components/editor/v3/parseScript/buildInFuncNamespace/strategy.d.ts +243 -0
- package/lib/components/editor/v3/parseScript/buildInFuncNamespace/ta.d.ts +102 -0
- package/lib/components/editor/{parseScript → v3/parseScript}/buildInFuncNamespace/timeframe.d.ts +1 -1
- package/lib/components/editor/v3/parseScript/buildInVarNamespace/barstate.d.ts +19 -0
- package/lib/components/editor/v3/parseScript/buildInVarNamespace/index.d.ts +4 -0
- package/lib/components/editor/v3/parseScript/buildInVarNamespace/strategy.d.ts +126 -0
- package/lib/components/editor/v3/parseScript/buildInVarNamespace/syminfo.d.ts +22 -0
- package/lib/components/editor/v3/parseScript/buildInVarNamespace/ta.d.ts +17 -0
- package/lib/components/editor/v3/parseScript/buildInVariables.d.ts +96 -0
- package/lib/components/editor/v3/parseScript/constants.d.ts +119 -0
- package/lib/components/editor/v3/parseScript/enum.d.ts +283 -0
- package/lib/components/editor/v3/parseScript/parseToJs.d.ts +65 -0
- package/lib/components/editor/v3/parseScript/runType.d.ts +119 -0
- package/lib/components/editor/v3/parseScript/strategyNamespace/index.d.ts +2 -0
- package/lib/components/editor/{parseScript → v3/parseScript}/type.d.ts +1 -1
- package/lib/components/editor/v3/parseScript/utils.d.ts +21 -0
- package/lib/components/editor/v3/parseScript/visitorParser.d.ts +321 -0
- package/lib/components/editor/v3/parseScript/visitorUtils.d.ts +25 -0
- package/lib/components/editor/v3/parserTccWorker.d.ts +32 -0
- package/lib/components/editor/v3/scriptsRunWorker.d.ts +11 -0
- package/lib/{tccParser → components/editor/v3/tccParser}/LexerBase.d.ts +1 -1
- package/lib/components/editor/v3/tccParser/tccScriptParserVisitor.d.ts +359 -0
- package/lib/components/editor/v4/config/monarchTokens.d.ts +205 -0
- package/lib/components/editor/v4/constants/contents_zh.d.ts +6 -0
- package/lib/components/editor/v4/constants/index.d.ts +44 -0
- package/lib/components/editor/v4/parseScript/buildInConstants.d.ts +308 -0
- package/lib/components/editor/v4/parseScript/buildInFuncNamespace/array.d.ts +84 -0
- package/lib/components/editor/v4/parseScript/buildInFuncNamespace/box.d.ts +60 -0
- package/lib/components/editor/v4/parseScript/buildInFuncNamespace/errorListener.d.ts +9 -0
- package/lib/components/editor/v4/parseScript/buildInFuncNamespace/index.d.ts +17 -0
- package/lib/components/editor/v4/parseScript/buildInFuncNamespace/input.d.ts +44 -0
- package/lib/components/editor/v4/parseScript/buildInFuncNamespace/label.d.ts +61 -0
- package/lib/components/editor/v4/parseScript/buildInFuncNamespace/line.d.ts +62 -0
- package/lib/components/editor/v4/parseScript/buildInFuncNamespace/math.d.ts +50 -0
- package/lib/components/editor/v4/parseScript/buildInFuncNamespace/strategy.d.ts +244 -0
- package/lib/components/editor/v4/parseScript/buildInFuncNamespace/string.d.ts +38 -0
- package/lib/components/editor/v4/parseScript/buildInFuncNamespace/ta.d.ts +118 -0
- package/lib/components/editor/v4/parseScript/buildInFuncNamespace/table.d.ts +87 -0
- package/lib/components/editor/v4/parseScript/buildInFuncNamespace/timeframe.d.ts +22 -0
- package/lib/components/editor/{parseScript → v4/parseScript}/buildInVarNamespace/barstate.d.ts +1 -1
- package/lib/components/editor/v4/parseScript/buildInVarNamespace/index.d.ts +8 -0
- package/lib/components/editor/v4/parseScript/buildInVarNamespace/strategy.d.ts +126 -0
- package/lib/components/editor/v4/parseScript/buildInVarNamespace/syminfo.d.ts +18 -0
- package/lib/components/editor/v4/parseScript/buildInVarNamespace/ta.d.ts +34 -0
- package/lib/components/editor/{parseScript → v4/parseScript}/constants.d.ts +1 -160
- package/lib/components/editor/v4/parseScript/constantsRun.d.ts +3 -0
- package/lib/components/editor/v4/parseScript/enum.d.ts +282 -0
- package/lib/components/editor/v4/parseScript/parseToJs.d.ts +65 -0
- package/lib/components/editor/v4/parseScript/strategyNamespace/index.d.ts +2 -0
- package/lib/components/editor/v4/parseScript/strategyNamespace/risk.d.ts +22 -0
- package/lib/components/editor/v4/parseScript/type.d.ts +39 -0
- package/lib/components/editor/v4/parseScript/utils.d.ts +21 -0
- package/lib/components/editor/v4/parseScript/visitorParser.d.ts +323 -0
- package/lib/components/editor/v4/parseScript/visitorUtils.d.ts +29 -0
- package/lib/components/editor/v4/parserTccWorker.d.ts +32 -0
- package/lib/components/editor/v4/scriptsRunWorker.d.ts +11 -0
- package/lib/components/editor/v4/tccParser/LexerBase.d.ts +19 -0
- package/lib/components/editor/v4/tccParser/tccScriptParserVisitor.d.ts +401 -0
- package/lib/components/editor/v5/config/monarchTokens.d.ts +205 -0
- package/lib/components/editor/v5/constants/contents_en.d.ts +6 -0
- package/lib/components/editor/{constants → v5/constants}/contents_zh.d.ts +1 -1
- package/lib/components/editor/v5/constants/index.d.ts +41 -0
- package/lib/components/editor/{parseScript → v5/parseScript}/buildInFuncNamespace/box.d.ts +1 -1
- package/lib/components/editor/v5/parseScript/buildInFuncNamespace/color.d.ts +25 -0
- package/lib/components/editor/v5/parseScript/buildInFuncNamespace/errorListener.d.ts +9 -0
- package/lib/components/editor/{parseScript → v5/parseScript}/buildInFuncNamespace/label.d.ts +1 -1
- package/lib/components/editor/{parseScript → v5/parseScript}/buildInFuncNamespace/line.d.ts +1 -1
- package/lib/components/editor/{parseScript → v5/parseScript}/buildInFuncNamespace/linefill.d.ts +1 -1
- package/lib/components/editor/{parseScript → v5/parseScript}/buildInFuncNamespace/log.d.ts +1 -1
- package/lib/components/editor/{parseScript → v5/parseScript}/buildInFuncNamespace/map.d.ts +1 -1
- package/lib/components/editor/{parseScript → v5/parseScript}/buildInFuncNamespace/math.d.ts +1 -1
- package/lib/components/editor/{parseScript → v5/parseScript}/buildInFuncNamespace/polyline.d.ts +1 -1
- package/lib/components/editor/{parseScript → v5/parseScript}/buildInFuncNamespace/strategy.d.ts +1 -1
- package/lib/components/editor/{parseScript → v5/parseScript}/buildInFuncNamespace/ta.d.ts +1 -1
- package/lib/components/editor/{parseScript → v5/parseScript}/buildInFuncNamespace/table.d.ts +1 -1
- package/lib/components/editor/v5/parseScript/buildInFuncNamespace/timeframe.d.ts +22 -0
- package/lib/components/editor/v5/parseScript/buildInVarNamespace/barstate.d.ts +22 -0
- package/lib/components/editor/{parseScript → v5/parseScript}/buildInVarNamespace/chart.d.ts +1 -1
- package/lib/components/editor/v5/parseScript/buildInVarNamespace/dividends.d.ts +8 -0
- package/lib/components/editor/v5/parseScript/buildInVarNamespace/earnings.d.ts +9 -0
- package/lib/components/editor/v5/parseScript/buildInVarNamespace/session.d.ts +12 -0
- package/lib/components/editor/{parseScript → v5/parseScript}/buildInVarNamespace/strategy.d.ts +1 -1
- package/lib/components/editor/{parseScript → v5/parseScript}/buildInVarNamespace/syminfo.d.ts +1 -1
- package/lib/components/editor/{parseScript → v5/parseScript}/buildInVarNamespace/ta.d.ts +4 -3
- package/lib/components/editor/v5/parseScript/buildInVarNamespace/timeframe.d.ts +16 -0
- package/lib/components/editor/v5/parseScript/constants.d.ts +124 -0
- package/lib/components/editor/v5/parseScript/constantsRun.d.ts +3 -0
- package/lib/components/editor/{parseScript → v5/parseScript}/parseToJs.d.ts +1 -1
- package/lib/components/editor/{parseScript → v5/parseScript}/parseToLibJs.d.ts +1 -1
- package/lib/components/editor/v5/parseScript/strategyNamespace/risk.d.ts +22 -0
- package/lib/components/editor/v5/parseScript/type.d.ts +39 -0
- package/lib/components/editor/{parseScript → v5/parseScript}/userTypeClass.d.ts +1 -1
- package/lib/components/editor/{parseScript → v5/parseScript}/utils.d.ts +1 -1
- package/lib/components/editor/{parseScript → v5/parseScript}/visitorParser.d.ts +1 -1
- package/lib/components/editor/{parseScript → v5/parseScript}/visitorUtils.d.ts +2 -2
- package/lib/components/editor/v5/parserTccWorker.d.ts +40 -0
- package/lib/components/editor/v5/scriptsRunWorker.d.ts +11 -0
- package/lib/components/editor/v5/tccParser/LexerBase.d.ts +19 -0
- package/lib/{tccParser → components/editor/v5/tccParser}/tccScriptParserVisitor.d.ts +1 -1
- package/lib/components/referenceManual/components/ContentItem.d.ts +2 -0
- package/lib/components/referenceManual/index.d.ts +2 -0
- package/lib/components/referenceManualPage/components/ContentItem.d.ts +1 -0
- package/lib/components/referenceManualPage/components/ManualLeft.d.ts +5 -0
- package/lib/components/referenceManualPage/index.d.ts +2 -0
- package/lib/index-Ce2gRdFk.js +12813 -0
- package/lib/index-CjECfhIW.js +28088 -0
- package/lib/index-UdtfRBFV.js +59792 -0
- package/lib/monarchTokens-Cj3v8l0Q.js +526 -0
- package/lib/monarchTokens-CnFYyHnR.js +191 -0
- package/lib/monarchTokens-oh3fO2YY.js +563 -0
- package/lib/packages/index.d.ts +3 -3
- package/lib/trading-vue-editor.es.packages.js +6356 -66629
- package/lib/trading-vue-editor.umd.packages.mjs +117 -75
- package/lib/utils/tools.d.ts +7 -2
- package/package.json +1 -1
- package/lib/assets/editor.worker-CT5Cb1wO.js +0 -11
- package/lib/assets/parserTccWorker-cjv11J0f.js +0 -279
- package/lib/assets/scriptsRunWorker-ISxcgzMz.js +0 -91
- /package/lib/components/editor/{parseScript → v3/parseScript}/buildInFuncNamespace/errorListener.d.ts +0 -0
- /package/lib/components/editor/{parseScript → v3/parseScript}/constantsRun.d.ts +0 -0
- /package/lib/components/editor/{parseScript → v3/parseScript}/strategyNamespace/risk.d.ts +0 -0
- /package/lib/components/editor/{parseScript → v4/parseScript}/buildInFuncNamespace/color.d.ts +0 -0
- /package/lib/components/editor/{parseScript → v4/parseScript}/buildInVarNamespace/dividends.d.ts +0 -0
- /package/lib/components/editor/{parseScript → v4/parseScript}/buildInVarNamespace/earnings.d.ts +0 -0
- /package/lib/components/editor/{parseScript → v4/parseScript}/buildInVarNamespace/session.d.ts +0 -0
- /package/lib/components/editor/{parseScript → v4/parseScript}/buildInVarNamespace/timeframe.d.ts +0 -0
- /package/lib/components/editor/{constants → v5/constants}/newContents_en.d.ts +0 -0
- /package/lib/components/editor/{constants → v5/constants}/newContents_zh.d.ts +0 -0
- /package/lib/components/editor/{parseScript → v5/parseScript}/buildInConstants.d.ts +0 -0
- /package/lib/components/editor/{parseScript → v5/parseScript}/buildInFuncNamespace/array.d.ts +0 -0
- /package/lib/components/editor/{parseScript → v5/parseScript}/buildInFuncNamespace/chartPoint.d.ts +0 -0
- /package/lib/components/editor/{parseScript → v5/parseScript}/buildInFuncNamespace/index.d.ts +0 -0
- /package/lib/components/editor/{parseScript → v5/parseScript}/buildInFuncNamespace/input.d.ts +0 -0
- /package/lib/components/editor/{parseScript → v5/parseScript}/buildInFuncNamespace/matrix.d.ts +0 -0
- /package/lib/components/editor/{parseScript → v5/parseScript}/buildInFuncNamespace/runtime.d.ts +0 -0
- /package/lib/components/editor/{parseScript → v5/parseScript}/buildInFuncNamespace/string.d.ts +0 -0
- /package/lib/components/editor/{parseScript → v5/parseScript}/buildInFuncNamespace/syminfo.d.ts +0 -0
- /package/lib/components/editor/{parseScript → v5/parseScript}/buildInVarNamespace/index.d.ts +0 -0
- /package/lib/components/editor/{parseScript → v5/parseScript}/enum.d.ts +0 -0
- /package/lib/components/editor/{parseScript → v5/parseScript}/strategyNamespace/closedtrades.d.ts +0 -0
- /package/lib/components/editor/{parseScript → v5/parseScript}/strategyNamespace/index.d.ts +0 -0
- /package/lib/components/editor/{parseScript → v5/parseScript}/strategyNamespace/opentrades.d.ts +0 -0
@@ -0,0 +1,401 @@
|
|
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 { AgainAssignNameContext } from "./tccScriptParser";
|
15
|
+
import { VarModifierContext } from "./tccScriptParser";
|
16
|
+
import { BlockSequenceContext } from "./tccScriptParser";
|
17
|
+
import { ExpressionSequenceContext } from "./tccScriptParser";
|
18
|
+
import { ExpressionBlockSequenceContext } from "./tccScriptParser";
|
19
|
+
import { VarBlockStmtContext } from "./tccScriptParser";
|
20
|
+
import { VarSingleContext } from "./tccScriptParser";
|
21
|
+
import { VarMultipleContext } from "./tccScriptParser";
|
22
|
+
import { BlockExpressionContext } from "./tccScriptParser";
|
23
|
+
import { ParenthesizedExpressionContext } from "./tccScriptParser";
|
24
|
+
import { AdditiveExpressionContext } from "./tccScriptParser";
|
25
|
+
import { RelationalExpressionContext } from "./tccScriptParser";
|
26
|
+
import { TernaryExpressionContext } from "./tccScriptParser";
|
27
|
+
import { LogicalAndExpressionContext } from "./tccScriptParser";
|
28
|
+
import { NameExpressionContext } from "./tccScriptParser";
|
29
|
+
import { LiteralExpressionContext } from "./tccScriptParser";
|
30
|
+
import { LogicalOrExpressionContext } from "./tccScriptParser";
|
31
|
+
import { UnaryExpressionContext } from "./tccScriptParser";
|
32
|
+
import { NotExpressionContext } from "./tccScriptParser";
|
33
|
+
import { MemberIndexExpressionContext } from "./tccScriptParser";
|
34
|
+
import { MethodExpressionContext } from "./tccScriptParser";
|
35
|
+
import { EqualityExpressionContext } from "./tccScriptParser";
|
36
|
+
import { MultiplicativeExpressionContext } from "./tccScriptParser";
|
37
|
+
import { BrackethesizedContext } from "./tccScriptParser";
|
38
|
+
import { ArgumentsContext } from "./tccScriptParser";
|
39
|
+
import { ArgumentContext } from "./tccScriptParser";
|
40
|
+
import { IfStatementContext } from "./tccScriptParser";
|
41
|
+
import { ForToStatementContext } from "./tccScriptParser";
|
42
|
+
import { LiteralContext } from "./tccScriptParser";
|
43
|
+
import { MethodStmtContext } from "./tccScriptParser";
|
44
|
+
import { MethodElementContext } from "./tccScriptParser";
|
45
|
+
import { MethodNameContext } from "./tccScriptParser";
|
46
|
+
import { ArrowFunctionContext } from "./tccScriptParser";
|
47
|
+
import { ArrowFunctionParametersContext } from "./tccScriptParser";
|
48
|
+
import { FormalParameterListContext } from "./tccScriptParser";
|
49
|
+
import { FormalParameterArgContext } from "./tccScriptParser";
|
50
|
+
import { AssignmentOperatorContext } from "./tccScriptParser";
|
51
|
+
import { TypeArrayContext } from "./tccScriptParser";
|
52
|
+
import { TypeGatherContext } from "./tccScriptParser";
|
53
|
+
import { IdentifierContext } from "./tccScriptParser";
|
54
|
+
import { TypeNameContext } from "./tccScriptParser";
|
55
|
+
import { NameContext } from "./tccScriptParser";
|
56
|
+
/**
|
57
|
+
* This interface defines a complete generic visitor for a parse tree produced
|
58
|
+
* by `tccScriptParser`.
|
59
|
+
*
|
60
|
+
* @param <Result> The return type of the visit operation. Use `void` for
|
61
|
+
* operations with no return type.
|
62
|
+
*/
|
63
|
+
export default class tccScriptParserVisitor<Result> extends ParseTreeVisitor<Result> {
|
64
|
+
/**
|
65
|
+
* Visit a parse tree produced by `tccScriptParser.program`.
|
66
|
+
* @param ctx the parse tree
|
67
|
+
* @return the visitor result
|
68
|
+
*/
|
69
|
+
visitProgram?: (ctx: ProgramContext) => Result;
|
70
|
+
/**
|
71
|
+
* Visit a parse tree produced by `tccScriptParser.globalStmt`.
|
72
|
+
* @param ctx the parse tree
|
73
|
+
* @return the visitor result
|
74
|
+
*/
|
75
|
+
visitGlobalStmt?: (ctx: GlobalStmtContext) => Result;
|
76
|
+
/**
|
77
|
+
* Visit a parse tree produced by `tccScriptParser.blockStmt`.
|
78
|
+
* @param ctx the parse tree
|
79
|
+
* @return the visitor result
|
80
|
+
*/
|
81
|
+
visitBlockStmt?: (ctx: BlockStmtContext) => Result;
|
82
|
+
/**
|
83
|
+
* Visit a parse tree produced by `tccScriptParser.stmt`.
|
84
|
+
* @param ctx the parse tree
|
85
|
+
* @return the visitor result
|
86
|
+
*/
|
87
|
+
visitStmt?: (ctx: StmtContext) => Result;
|
88
|
+
/**
|
89
|
+
* Visit a parse tree produced by `tccScriptParser.simpleStmt`.
|
90
|
+
* @param ctx the parse tree
|
91
|
+
* @return the visitor result
|
92
|
+
*/
|
93
|
+
visitSimpleStmt?: (ctx: SimpleStmtContext) => Result;
|
94
|
+
/**
|
95
|
+
* Visit a parse tree produced by `tccScriptParser.flowStmt`.
|
96
|
+
* @param ctx the parse tree
|
97
|
+
* @return the visitor result
|
98
|
+
*/
|
99
|
+
visitFlowStmt?: (ctx: FlowStmtContext) => Result;
|
100
|
+
/**
|
101
|
+
* Visit a parse tree produced by `tccScriptParser.block`.
|
102
|
+
* @param ctx the parse tree
|
103
|
+
* @return the visitor result
|
104
|
+
*/
|
105
|
+
visitBlock?: (ctx: BlockContext) => Result;
|
106
|
+
/**
|
107
|
+
* Visit a parse tree produced by `tccScriptParser.blockLine`.
|
108
|
+
* @param ctx the parse tree
|
109
|
+
* @return the visitor result
|
110
|
+
*/
|
111
|
+
visitBlockLine?: (ctx: BlockLineContext) => Result;
|
112
|
+
/**
|
113
|
+
* Visit a parse tree produced by `tccScriptParser.variableDeclarationStmt`.
|
114
|
+
* @param ctx the parse tree
|
115
|
+
* @return the visitor result
|
116
|
+
*/
|
117
|
+
visitVariableDeclarationStmt?: (ctx: VariableDeclarationStmtContext) => Result;
|
118
|
+
/**
|
119
|
+
* Visit a parse tree produced by the `DeclareAssign`
|
120
|
+
* labeled alternative in `tccScriptParser.variableDeclarationList`.
|
121
|
+
* @param ctx the parse tree
|
122
|
+
* @return the visitor result
|
123
|
+
*/
|
124
|
+
visitDeclareAssign?: (ctx: DeclareAssignContext) => Result;
|
125
|
+
/**
|
126
|
+
* Visit a parse tree produced by the `AgainAssign`
|
127
|
+
* labeled alternative in `tccScriptParser.variableDeclarationList`.
|
128
|
+
* @param ctx the parse tree
|
129
|
+
* @return the visitor result
|
130
|
+
*/
|
131
|
+
visitAgainAssign?: (ctx: AgainAssignContext) => Result;
|
132
|
+
/**
|
133
|
+
* Visit a parse tree produced by `tccScriptParser.againAssignName`.
|
134
|
+
* @param ctx the parse tree
|
135
|
+
* @return the visitor result
|
136
|
+
*/
|
137
|
+
visitAgainAssignName?: (ctx: AgainAssignNameContext) => Result;
|
138
|
+
/**
|
139
|
+
* Visit a parse tree produced by `tccScriptParser.varModifier`.
|
140
|
+
* @param ctx the parse tree
|
141
|
+
* @return the visitor result
|
142
|
+
*/
|
143
|
+
visitVarModifier?: (ctx: VarModifierContext) => Result;
|
144
|
+
/**
|
145
|
+
* Visit a parse tree produced by `tccScriptParser.blockSequence`.
|
146
|
+
* @param ctx the parse tree
|
147
|
+
* @return the visitor result
|
148
|
+
*/
|
149
|
+
visitBlockSequence?: (ctx: BlockSequenceContext) => Result;
|
150
|
+
/**
|
151
|
+
* Visit a parse tree produced by `tccScriptParser.expressionSequence`.
|
152
|
+
* @param ctx the parse tree
|
153
|
+
* @return the visitor result
|
154
|
+
*/
|
155
|
+
visitExpressionSequence?: (ctx: ExpressionSequenceContext) => Result;
|
156
|
+
/**
|
157
|
+
* Visit a parse tree produced by `tccScriptParser.expressionBlockSequence`.
|
158
|
+
* @param ctx the parse tree
|
159
|
+
* @return the visitor result
|
160
|
+
*/
|
161
|
+
visitExpressionBlockSequence?: (ctx: ExpressionBlockSequenceContext) => Result;
|
162
|
+
/**
|
163
|
+
* Visit a parse tree produced by `tccScriptParser.varBlockStmt`.
|
164
|
+
* @param ctx the parse tree
|
165
|
+
* @return the visitor result
|
166
|
+
*/
|
167
|
+
visitVarBlockStmt?: (ctx: VarBlockStmtContext) => Result;
|
168
|
+
/**
|
169
|
+
* Visit a parse tree produced by the `VarSingle`
|
170
|
+
* labeled alternative in `tccScriptParser.varArrayDeclaration`.
|
171
|
+
* @param ctx the parse tree
|
172
|
+
* @return the visitor result
|
173
|
+
*/
|
174
|
+
visitVarSingle?: (ctx: VarSingleContext) => Result;
|
175
|
+
/**
|
176
|
+
* Visit a parse tree produced by the `VarMultiple`
|
177
|
+
* labeled alternative in `tccScriptParser.varArrayDeclaration`.
|
178
|
+
* @param ctx the parse tree
|
179
|
+
* @return the visitor result
|
180
|
+
*/
|
181
|
+
visitVarMultiple?: (ctx: VarMultipleContext) => Result;
|
182
|
+
/**
|
183
|
+
* Visit a parse tree produced by `tccScriptParser.blockExpression`.
|
184
|
+
* @param ctx the parse tree
|
185
|
+
* @return the visitor result
|
186
|
+
*/
|
187
|
+
visitBlockExpression?: (ctx: BlockExpressionContext) => Result;
|
188
|
+
/**
|
189
|
+
* Visit a parse tree produced by the `ParenthesizedExpression`
|
190
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
191
|
+
* @param ctx the parse tree
|
192
|
+
* @return the visitor result
|
193
|
+
*/
|
194
|
+
visitParenthesizedExpression?: (ctx: ParenthesizedExpressionContext) => Result;
|
195
|
+
/**
|
196
|
+
* Visit a parse tree produced by the `AdditiveExpression`
|
197
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
198
|
+
* @param ctx the parse tree
|
199
|
+
* @return the visitor result
|
200
|
+
*/
|
201
|
+
visitAdditiveExpression?: (ctx: AdditiveExpressionContext) => Result;
|
202
|
+
/**
|
203
|
+
* Visit a parse tree produced by the `RelationalExpression`
|
204
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
205
|
+
* @param ctx the parse tree
|
206
|
+
* @return the visitor result
|
207
|
+
*/
|
208
|
+
visitRelationalExpression?: (ctx: RelationalExpressionContext) => Result;
|
209
|
+
/**
|
210
|
+
* Visit a parse tree produced by the `TernaryExpression`
|
211
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
212
|
+
* @param ctx the parse tree
|
213
|
+
* @return the visitor result
|
214
|
+
*/
|
215
|
+
visitTernaryExpression?: (ctx: TernaryExpressionContext) => Result;
|
216
|
+
/**
|
217
|
+
* Visit a parse tree produced by the `LogicalAndExpression`
|
218
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
219
|
+
* @param ctx the parse tree
|
220
|
+
* @return the visitor result
|
221
|
+
*/
|
222
|
+
visitLogicalAndExpression?: (ctx: LogicalAndExpressionContext) => Result;
|
223
|
+
/**
|
224
|
+
* Visit a parse tree produced by the `NameExpression`
|
225
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
226
|
+
* @param ctx the parse tree
|
227
|
+
* @return the visitor result
|
228
|
+
*/
|
229
|
+
visitNameExpression?: (ctx: NameExpressionContext) => Result;
|
230
|
+
/**
|
231
|
+
* Visit a parse tree produced by the `LiteralExpression`
|
232
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
233
|
+
* @param ctx the parse tree
|
234
|
+
* @return the visitor result
|
235
|
+
*/
|
236
|
+
visitLiteralExpression?: (ctx: LiteralExpressionContext) => Result;
|
237
|
+
/**
|
238
|
+
* Visit a parse tree produced by the `LogicalOrExpression`
|
239
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
240
|
+
* @param ctx the parse tree
|
241
|
+
* @return the visitor result
|
242
|
+
*/
|
243
|
+
visitLogicalOrExpression?: (ctx: LogicalOrExpressionContext) => Result;
|
244
|
+
/**
|
245
|
+
* Visit a parse tree produced by the `UnaryExpression`
|
246
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
247
|
+
* @param ctx the parse tree
|
248
|
+
* @return the visitor result
|
249
|
+
*/
|
250
|
+
visitUnaryExpression?: (ctx: UnaryExpressionContext) => Result;
|
251
|
+
/**
|
252
|
+
* Visit a parse tree produced by the `NotExpression`
|
253
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
254
|
+
* @param ctx the parse tree
|
255
|
+
* @return the visitor result
|
256
|
+
*/
|
257
|
+
visitNotExpression?: (ctx: NotExpressionContext) => Result;
|
258
|
+
/**
|
259
|
+
* Visit a parse tree produced by the `MemberIndexExpression`
|
260
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
261
|
+
* @param ctx the parse tree
|
262
|
+
* @return the visitor result
|
263
|
+
*/
|
264
|
+
visitMemberIndexExpression?: (ctx: MemberIndexExpressionContext) => Result;
|
265
|
+
/**
|
266
|
+
* Visit a parse tree produced by the `MethodExpression`
|
267
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
268
|
+
* @param ctx the parse tree
|
269
|
+
* @return the visitor result
|
270
|
+
*/
|
271
|
+
visitMethodExpression?: (ctx: MethodExpressionContext) => Result;
|
272
|
+
/**
|
273
|
+
* Visit a parse tree produced by the `EqualityExpression`
|
274
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
275
|
+
* @param ctx the parse tree
|
276
|
+
* @return the visitor result
|
277
|
+
*/
|
278
|
+
visitEqualityExpression?: (ctx: EqualityExpressionContext) => Result;
|
279
|
+
/**
|
280
|
+
* Visit a parse tree produced by the `MultiplicativeExpression`
|
281
|
+
* labeled alternative in `tccScriptParser.singleExpression`.
|
282
|
+
* @param ctx the parse tree
|
283
|
+
* @return the visitor result
|
284
|
+
*/
|
285
|
+
visitMultiplicativeExpression?: (ctx: MultiplicativeExpressionContext) => Result;
|
286
|
+
/**
|
287
|
+
* Visit a parse tree produced by `tccScriptParser.brackethesized`.
|
288
|
+
* @param ctx the parse tree
|
289
|
+
* @return the visitor result
|
290
|
+
*/
|
291
|
+
visitBrackethesized?: (ctx: BrackethesizedContext) => Result;
|
292
|
+
/**
|
293
|
+
* Visit a parse tree produced by `tccScriptParser.arguments`.
|
294
|
+
* @param ctx the parse tree
|
295
|
+
* @return the visitor result
|
296
|
+
*/
|
297
|
+
visitArguments?: (ctx: ArgumentsContext) => Result;
|
298
|
+
/**
|
299
|
+
* Visit a parse tree produced by `tccScriptParser.argument`.
|
300
|
+
* @param ctx the parse tree
|
301
|
+
* @return the visitor result
|
302
|
+
*/
|
303
|
+
visitArgument?: (ctx: ArgumentContext) => Result;
|
304
|
+
/**
|
305
|
+
* Visit a parse tree produced by `tccScriptParser.ifStatement`.
|
306
|
+
* @param ctx the parse tree
|
307
|
+
* @return the visitor result
|
308
|
+
*/
|
309
|
+
visitIfStatement?: (ctx: IfStatementContext) => Result;
|
310
|
+
/**
|
311
|
+
* Visit a parse tree produced by the `ForToStatement`
|
312
|
+
* labeled alternative in `tccScriptParser.forStatement`.
|
313
|
+
* @param ctx the parse tree
|
314
|
+
* @return the visitor result
|
315
|
+
*/
|
316
|
+
visitForToStatement?: (ctx: ForToStatementContext) => Result;
|
317
|
+
/**
|
318
|
+
* Visit a parse tree produced by `tccScriptParser.literal`.
|
319
|
+
* @param ctx the parse tree
|
320
|
+
* @return the visitor result
|
321
|
+
*/
|
322
|
+
visitLiteral?: (ctx: LiteralContext) => Result;
|
323
|
+
/**
|
324
|
+
* Visit a parse tree produced by `tccScriptParser.methodStmt`.
|
325
|
+
* @param ctx the parse tree
|
326
|
+
* @return the visitor result
|
327
|
+
*/
|
328
|
+
visitMethodStmt?: (ctx: MethodStmtContext) => Result;
|
329
|
+
/**
|
330
|
+
* Visit a parse tree produced by `tccScriptParser.methodElement`.
|
331
|
+
* @param ctx the parse tree
|
332
|
+
* @return the visitor result
|
333
|
+
*/
|
334
|
+
visitMethodElement?: (ctx: MethodElementContext) => Result;
|
335
|
+
/**
|
336
|
+
* Visit a parse tree produced by `tccScriptParser.methodName`.
|
337
|
+
* @param ctx the parse tree
|
338
|
+
* @return the visitor result
|
339
|
+
*/
|
340
|
+
visitMethodName?: (ctx: MethodNameContext) => Result;
|
341
|
+
/**
|
342
|
+
* Visit a parse tree produced by `tccScriptParser.arrowFunction`.
|
343
|
+
* @param ctx the parse tree
|
344
|
+
* @return the visitor result
|
345
|
+
*/
|
346
|
+
visitArrowFunction?: (ctx: ArrowFunctionContext) => Result;
|
347
|
+
/**
|
348
|
+
* Visit a parse tree produced by `tccScriptParser.arrowFunctionParameters`.
|
349
|
+
* @param ctx the parse tree
|
350
|
+
* @return the visitor result
|
351
|
+
*/
|
352
|
+
visitArrowFunctionParameters?: (ctx: ArrowFunctionParametersContext) => Result;
|
353
|
+
/**
|
354
|
+
* Visit a parse tree produced by `tccScriptParser.formalParameterList`.
|
355
|
+
* @param ctx the parse tree
|
356
|
+
* @return the visitor result
|
357
|
+
*/
|
358
|
+
visitFormalParameterList?: (ctx: FormalParameterListContext) => Result;
|
359
|
+
/**
|
360
|
+
* Visit a parse tree produced by `tccScriptParser.formalParameterArg`.
|
361
|
+
* @param ctx the parse tree
|
362
|
+
* @return the visitor result
|
363
|
+
*/
|
364
|
+
visitFormalParameterArg?: (ctx: FormalParameterArgContext) => Result;
|
365
|
+
/**
|
366
|
+
* Visit a parse tree produced by `tccScriptParser.assignmentOperator`.
|
367
|
+
* @param ctx the parse tree
|
368
|
+
* @return the visitor result
|
369
|
+
*/
|
370
|
+
visitAssignmentOperator?: (ctx: AssignmentOperatorContext) => Result;
|
371
|
+
/**
|
372
|
+
* Visit a parse tree produced by `tccScriptParser.typeArray`.
|
373
|
+
* @param ctx the parse tree
|
374
|
+
* @return the visitor result
|
375
|
+
*/
|
376
|
+
visitTypeArray?: (ctx: TypeArrayContext) => Result;
|
377
|
+
/**
|
378
|
+
* Visit a parse tree produced by `tccScriptParser.typeGather`.
|
379
|
+
* @param ctx the parse tree
|
380
|
+
* @return the visitor result
|
381
|
+
*/
|
382
|
+
visitTypeGather?: (ctx: TypeGatherContext) => Result;
|
383
|
+
/**
|
384
|
+
* Visit a parse tree produced by `tccScriptParser.identifier`.
|
385
|
+
* @param ctx the parse tree
|
386
|
+
* @return the visitor result
|
387
|
+
*/
|
388
|
+
visitIdentifier?: (ctx: IdentifierContext) => Result;
|
389
|
+
/**
|
390
|
+
* Visit a parse tree produced by `tccScriptParser.typeName`.
|
391
|
+
* @param ctx the parse tree
|
392
|
+
* @return the visitor result
|
393
|
+
*/
|
394
|
+
visitTypeName?: (ctx: TypeNameContext) => Result;
|
395
|
+
/**
|
396
|
+
* Visit a parse tree produced by `tccScriptParser.name`.
|
397
|
+
* @param ctx the parse tree
|
398
|
+
* @return the visitor result
|
399
|
+
*/
|
400
|
+
visitName?: (ctx: NameContext) => Result;
|
401
|
+
}
|
@@ -0,0 +1,205 @@
|
|
1
|
+
import { languages, editor } from 'monaco-editor';
|
2
|
+
export declare const LANGAGE_NAME = "tccScript";
|
3
|
+
export declare const LANGUAGE_MONARCH_TOKENS: languages.IMonarchLanguage;
|
4
|
+
export declare const CONFIGURATION: languages.LanguageConfiguration;
|
5
|
+
export declare const COLORS: {
|
6
|
+
"color-white": string;
|
7
|
+
"color-black": string;
|
8
|
+
"color-transparent": string;
|
9
|
+
"color-cold-gray-50": string;
|
10
|
+
"color-cold-gray-100": string;
|
11
|
+
"color-cold-gray-150": string;
|
12
|
+
"color-cold-gray-200": string;
|
13
|
+
"color-cold-gray-250": string;
|
14
|
+
"color-cold-gray-300": string;
|
15
|
+
"color-cold-gray-350": string;
|
16
|
+
"color-cold-gray-400": string;
|
17
|
+
"color-cold-gray-450": string;
|
18
|
+
"color-cold-gray-500": string;
|
19
|
+
"color-cold-gray-550": string;
|
20
|
+
"color-cold-gray-600": string;
|
21
|
+
"color-cold-gray-650": string;
|
22
|
+
"color-cold-gray-700": string;
|
23
|
+
"color-cold-gray-750": string;
|
24
|
+
"color-cold-gray-800": string;
|
25
|
+
"color-cold-gray-850": string;
|
26
|
+
"color-cold-gray-900": string;
|
27
|
+
"color-cold-gray-950": string;
|
28
|
+
"color-ripe-red-50": string;
|
29
|
+
"color-ripe-red-100": string;
|
30
|
+
"color-ripe-red-200": string;
|
31
|
+
"color-ripe-red-300": string;
|
32
|
+
"color-ripe-red-400": string;
|
33
|
+
"color-ripe-red-500": string;
|
34
|
+
"color-ripe-red-600": string;
|
35
|
+
"color-ripe-red-700": string;
|
36
|
+
"color-ripe-red-800": string;
|
37
|
+
"color-ripe-red-900": string;
|
38
|
+
"color-ripe-red-a100": string;
|
39
|
+
"color-ripe-red-a200": string;
|
40
|
+
"color-ripe-red-a400": string;
|
41
|
+
"color-ripe-red-a600": string;
|
42
|
+
"color-ripe-red-a700": string;
|
43
|
+
"color-ripe-red-a800": string;
|
44
|
+
"color-ripe-red-a900": string;
|
45
|
+
"color-tan-orange-50": string;
|
46
|
+
"color-tan-orange-100": string;
|
47
|
+
"color-tan-orange-200": string;
|
48
|
+
"color-tan-orange-300": string;
|
49
|
+
"color-tan-orange-400": string;
|
50
|
+
"color-tan-orange-500": string;
|
51
|
+
"color-tan-orange-600": string;
|
52
|
+
"color-tan-orange-700": string;
|
53
|
+
"color-tan-orange-800": string;
|
54
|
+
"color-tan-orange-900": string;
|
55
|
+
"color-tan-orange-a200": string;
|
56
|
+
"color-tan-orange-a400": string;
|
57
|
+
"color-tan-orange-a600": string;
|
58
|
+
"color-tan-orange-a700": string;
|
59
|
+
"color-tan-orange-a800": string;
|
60
|
+
"color-tan-orange-a900": string;
|
61
|
+
"color-iguana-green-100": string;
|
62
|
+
"color-iguana-green-200": string;
|
63
|
+
"color-iguana-green-300": string;
|
64
|
+
"color-iguana-green-400": string;
|
65
|
+
"color-iguana-green-500": string;
|
66
|
+
"color-iguana-green-600": string;
|
67
|
+
"color-iguana-green-700": string;
|
68
|
+
"color-iguana-green-800": string;
|
69
|
+
"color-iguana-green-900": string;
|
70
|
+
"color-iguana-green-a700": string;
|
71
|
+
"color-banana-yellow-100": string;
|
72
|
+
"color-banana-yellow-200": string;
|
73
|
+
"color-banana-yellow-300": string;
|
74
|
+
"color-banana-yellow-400": string;
|
75
|
+
"color-banana-yellow-500": string;
|
76
|
+
"color-banana-yellow-600": string;
|
77
|
+
"color-banana-yellow-700": string;
|
78
|
+
"color-banana-yellow-800": string;
|
79
|
+
"color-banana-yellow-900": string;
|
80
|
+
"color-banana-yellow-a400": string;
|
81
|
+
"color-banana-yellow-a700": string;
|
82
|
+
"color-tv-blue-50": string;
|
83
|
+
"color-tv-blue-100": string;
|
84
|
+
"color-tv-blue-200": string;
|
85
|
+
"color-tv-blue-300": string;
|
86
|
+
"color-tv-blue-400": string;
|
87
|
+
"color-tv-blue-500": string;
|
88
|
+
"color-tv-blue-600": string;
|
89
|
+
"color-tv-blue-700": string;
|
90
|
+
"color-tv-blue-800": string;
|
91
|
+
"color-tv-blue-900": string;
|
92
|
+
"color-tv-blue-a100": string;
|
93
|
+
"color-tv-blue-a200": string;
|
94
|
+
"color-tv-blue-a400": string;
|
95
|
+
"color-tv-blue-a600": string;
|
96
|
+
"color-tv-blue-a700": string;
|
97
|
+
"color-tv-blue-a800": string;
|
98
|
+
"color-tv-blue-a900": string;
|
99
|
+
"color-deep-blue-50": string;
|
100
|
+
"color-deep-blue-100": string;
|
101
|
+
"color-deep-blue-200": string;
|
102
|
+
"color-deep-blue-300": string;
|
103
|
+
"color-deep-blue-400": string;
|
104
|
+
"color-deep-blue-500": string;
|
105
|
+
"color-deep-blue-700": string;
|
106
|
+
"color-deep-blue-800": string;
|
107
|
+
"color-deep-blue-900": string;
|
108
|
+
"color-deep-blue-a100": string;
|
109
|
+
"color-deep-blue-a200": string;
|
110
|
+
"color-deep-blue-a400": string;
|
111
|
+
"color-deep-blue-a700": string;
|
112
|
+
"color-minty-green-50": string;
|
113
|
+
"color-minty-green-100": string;
|
114
|
+
"color-minty-green-200": string;
|
115
|
+
"color-minty-green-300": string;
|
116
|
+
"color-minty-green-400": string;
|
117
|
+
"color-minty-green-500": string;
|
118
|
+
"color-minty-green-600": string;
|
119
|
+
"color-minty-green-700": string;
|
120
|
+
"color-minty-green-800": string;
|
121
|
+
"color-minty-green-900": string;
|
122
|
+
"color-minty-green-a400": string;
|
123
|
+
"color-minty-green-a600": string;
|
124
|
+
"color-minty-green-a700": string;
|
125
|
+
"color-minty-green-a800": string;
|
126
|
+
"color-minty-green-a900": string;
|
127
|
+
"color-grapes-purple-50": string;
|
128
|
+
"color-grapes-purple-100": string;
|
129
|
+
"color-grapes-purple-200": string;
|
130
|
+
"color-grapes-purple-300": string;
|
131
|
+
"color-grapes-purple-400": string;
|
132
|
+
"color-grapes-purple-500": string;
|
133
|
+
"color-grapes-purple-600": string;
|
134
|
+
"color-grapes-purple-700": string;
|
135
|
+
"color-grapes-purple-800": string;
|
136
|
+
"color-grapes-purple-900": string;
|
137
|
+
"color-grapes-purple-a100": string;
|
138
|
+
"color-grapes-purple-a200": string;
|
139
|
+
"color-grapes-purple-a400": string;
|
140
|
+
"color-grapes-purple-a700": string;
|
141
|
+
"color-berry-pink-100": string;
|
142
|
+
"color-berry-pink-200": string;
|
143
|
+
"color-berry-pink-300": string;
|
144
|
+
"color-berry-pink-400": string;
|
145
|
+
"color-berry-pink-500": string;
|
146
|
+
"color-berry-pink-600": string;
|
147
|
+
"color-berry-pink-700": string;
|
148
|
+
"color-berry-pink-800": string;
|
149
|
+
"color-berry-pink-900": string;
|
150
|
+
"color-berry-pink-a100": string;
|
151
|
+
"color-berry-pink-a200": string;
|
152
|
+
"color-berry-pink-a400": string;
|
153
|
+
"color-sky-blue-100": string;
|
154
|
+
"color-sky-blue-200": string;
|
155
|
+
"color-sky-blue-300": string;
|
156
|
+
"color-sky-blue-400": string;
|
157
|
+
"color-sky-blue-500": string;
|
158
|
+
"color-sky-blue-600": string;
|
159
|
+
"color-sky-blue-700": string;
|
160
|
+
"color-sky-blue-800": string;
|
161
|
+
"color-sky-blue-900": string;
|
162
|
+
"color-sky-blue-a400": string;
|
163
|
+
"color-sky-blue-a700": string;
|
164
|
+
"color-deep-blue-600": string;
|
165
|
+
"color-forest-green-50": string;
|
166
|
+
"color-forest-green-100": string;
|
167
|
+
"color-forest-green-200": string;
|
168
|
+
"color-forest-green-300": string;
|
169
|
+
"color-forest-green-400": string;
|
170
|
+
"color-forest-green-500": string;
|
171
|
+
"color-forest-green-600": string;
|
172
|
+
"color-forest-green-700": string;
|
173
|
+
"color-forest-green-800": string;
|
174
|
+
"color-forest-green-900": string;
|
175
|
+
"color-facebook": string;
|
176
|
+
"color-deep-facebook": string;
|
177
|
+
"color-twitter": string;
|
178
|
+
"color-deep-twitter": string;
|
179
|
+
"color-youtube": string;
|
180
|
+
"color-linkedin": string;
|
181
|
+
"color-seeking-alpha-brand": string;
|
182
|
+
};
|
183
|
+
export declare const VS: editor.IStandaloneThemeData;
|
184
|
+
export declare const VS_DARK: editor.IStandaloneThemeData;
|
185
|
+
export declare const QQSTRING_REG: RegExp;
|
186
|
+
export declare const QSTRING_REG: RegExp;
|
187
|
+
export declare const DEFAULT_COLORS: {
|
188
|
+
"color.aqua": string;
|
189
|
+
"color.black": string;
|
190
|
+
"color.blue": string;
|
191
|
+
"color.fuchsia": string;
|
192
|
+
"color.gray": string;
|
193
|
+
"color.green": string;
|
194
|
+
"color.lime": string;
|
195
|
+
"color.maroon": string;
|
196
|
+
"color.navy": string;
|
197
|
+
"color.olive": string;
|
198
|
+
"color.orange": string;
|
199
|
+
"color.purple": string;
|
200
|
+
"color.red": string;
|
201
|
+
"color.silver": string;
|
202
|
+
"color.teal": string;
|
203
|
+
"color.white": string;
|
204
|
+
"color.yellow": string;
|
205
|
+
};
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { IDocValue, IKeyValueStr, IKeys } from '../../type';
|
2
|
+
interface IKeyMaps {
|
3
|
+
[key: string]: Map<string, IDocValue[]>;
|
4
|
+
}
|
5
|
+
export declare const SNIPPET_COMPLETIONS: {
|
6
|
+
label: string;
|
7
|
+
insertText: string;
|
8
|
+
kind: string;
|
9
|
+
}[];
|
10
|
+
export declare const NOT_SHOW_KEYWORDS: string[];
|
11
|
+
export declare const COMPLETE_KEYS: string[];
|
12
|
+
export declare const HOVER_KEYS: string[];
|
13
|
+
export declare const BUILD_IN_VALUE: IKeyValueStr;
|
14
|
+
export declare const ALL_KINDS: {
|
15
|
+
argument: string;
|
16
|
+
keyword: string;
|
17
|
+
field: string;
|
18
|
+
userFunction: string;
|
19
|
+
builtInFunction: string;
|
20
|
+
library: string;
|
21
|
+
userVariable: string;
|
22
|
+
builtInVariable: string;
|
23
|
+
namespace: string;
|
24
|
+
operator: string;
|
25
|
+
constant: string;
|
26
|
+
annotation: string;
|
27
|
+
userMethod: string;
|
28
|
+
builtinMethod: string;
|
29
|
+
userType: string;
|
30
|
+
builtinType: string;
|
31
|
+
};
|
32
|
+
export declare const DEFAULT_DETIALS: IKeyValueStr;
|
33
|
+
export declare const KEY_LIST: IKeys, KEY_MAP_LIST: IKeyMaps;
|
34
|
+
export declare const MANUAL_KEYS: IKeys;
|
35
|
+
export declare const CONTENT_GROUPS: {
|
36
|
+
title: string;
|
37
|
+
key: string;
|
38
|
+
prefix: string;
|
39
|
+
index: number;
|
40
|
+
}[];
|
41
|
+
export {};
|