@lcap/nasl 3.8.3-beta.1 → 3.8.3-beta.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/.nyc_output/943352aa-23df-44e0-863b-3dcd3e8bf57a.json +1 -0
- package/.nyc_output/processinfo/943352aa-23df-44e0-863b-3dcd3e8bf57a.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/coverage/cobertura-coverage.xml +66121 -10220
- package/coverage/index.html +50 -395
- package/coverage/src/automate/engine/index.html +19 -19
- package/coverage/src/automate/engine/utils.js.html +101 -101
- package/coverage/src/bak/index.html +19 -19
- package/coverage/src/bak/translator.js.html +96 -141
- package/coverage/src/breakpoint/generator/AfterStartNode.ts.html +13 -13
- package/coverage/src/breakpoint/generator/BeforeEndNode.ts.html +13 -13
- package/coverage/src/breakpoint/generator/BreakpointNode.ts.html +29 -29
- package/coverage/src/breakpoint/generator/CallbackNode.ts.html +10 -10
- package/coverage/src/breakpoint/generator/index.html +47 -47
- package/coverage/src/breakpoint/generator/index.ts.html +20 -20
- package/coverage/src/breakpoint/index.html +7 -7
- package/coverage/src/breakpoint/index.ts.html +6 -6
- package/coverage/src/breakpoint/shared/constants.ts.html +7 -7
- package/coverage/src/breakpoint/shared/index.html +45 -45
- package/coverage/src/breakpoint/shared/index.ts.html +5 -5
- package/coverage/src/breakpoint/shared/operations.ts.html +15 -15
- package/coverage/src/breakpoint/shared/socket.ts.html +85 -85
- package/coverage/src/breakpoint/shared/utils.ts.html +49 -49
- package/coverage/src/breakpoint/store/core.ts.html +100 -100
- package/coverage/src/breakpoint/store/dock.ts.html +46 -46
- package/coverage/src/breakpoint/store/index.html +33 -33
- package/coverage/src/breakpoint/store/index.ts.html +7 -7
- package/coverage/src/common/BaseNode.ts.html +350 -1187
- package/coverage/src/common/Command.ts.html +20 -20
- package/coverage/src/common/EventEmitter.ts.html +31 -49
- package/coverage/src/common/Messager.ts.html +28 -28
- package/coverage/src/common/asyncFuncMap.ts.html +7 -7
- package/coverage/src/common/index.html +55 -70
- package/coverage/src/common/index.ts.html +8 -11
- package/coverage/src/concepts/Abort__.ts.html +20 -56
- package/coverage/src/concepts/Anchor__.ts.html +51 -117
- package/coverage/src/concepts/AnonymousFunction__.ts.html +232 -343
- package/coverage/src/concepts/App__.ts.html +1283 -2681
- package/coverage/src/concepts/Argument__.ts.html +135 -135
- package/coverage/src/concepts/Assignee__.ts.html +91 -250
- package/coverage/src/concepts/AssignmentLine__.ts.html +28 -88
- package/coverage/src/concepts/Assignment__.ts.html +110 -206
- package/coverage/src/concepts/Attribute__.ts.html +50 -239
- package/coverage/src/concepts/AuthInterface__.ts.html +32 -26
- package/coverage/src/concepts/AuthLogicForCallInterface__.ts.html +188 -203
- package/coverage/src/concepts/AuthLogic__.ts.html +28 -43
- package/coverage/src/concepts/BackendVariable__.ts.html +132 -438
- package/coverage/src/concepts/Backend__.ts.html +57 -156
- package/coverage/src/concepts/BatchAssignment__.ts.html +270 -420
- package/coverage/src/concepts/BinaryExpression__.ts.html +158 -266
- package/coverage/src/concepts/BindAttribute__.ts.html +204 -399
- package/coverage/src/concepts/BindDirective__.ts.html +73 -217
- package/coverage/src/concepts/BindEvent__.ts.html +161 -293
- package/coverage/src/concepts/BindStyle__.ts.html +58 -139
- package/coverage/src/concepts/BooleanLiteral__.ts.html +33 -63
- package/coverage/src/concepts/CallAuthInterface__.ts.html +95 -236
- package/coverage/src/concepts/CallConnector__.ts.html +69 -108
- package/coverage/src/concepts/CallFunction__.ts.html +234 -399
- package/coverage/src/concepts/CallInterface__.ts.html +145 -241
- package/coverage/src/concepts/CallLogic__.ts.html +525 -633
- package/coverage/src/concepts/CallQueryComponent__.ts.html +232 -385
- package/coverage/src/concepts/Comment__.ts.html +27 -63
- package/coverage/src/concepts/CompletionProperty__.ts.html +51 -72
- package/coverage/src/concepts/ConfigGroup__.ts.html +51 -99
- package/coverage/src/concepts/ConfigPropertyValue__.ts.html +34 -40
- package/coverage/src/concepts/ConfigProperty__.ts.html +78 -150
- package/coverage/src/concepts/Configuration__.ts.html +48 -99
- package/coverage/src/concepts/Connection__.ts.html +64 -154
- package/coverage/src/concepts/ConnectorTrigger__.ts.html +32 -35
- package/coverage/src/concepts/Connector__.ts.html +228 -3117
- package/coverage/src/concepts/Constant__.ts.html +74 -374
- package/coverage/src/concepts/DataSource__.ts.html +104 -173
- package/coverage/src/concepts/DatabaseTypeAnnotation__.ts.html +21 -27
- package/coverage/src/concepts/Destination__.ts.html +121 -190
- package/coverage/src/concepts/End__.ts.html +40 -76
- package/coverage/src/concepts/EntityIndex__.ts.html +44 -80
- package/coverage/src/concepts/EntityProperty__.ts.html +158 -440
- package/coverage/src/concepts/Entity__.ts.html +161 -326
- package/coverage/src/concepts/EnumItem__.ts.html +33 -66
- package/coverage/src/concepts/Enum__.ts.html +64 -139
- package/coverage/src/concepts/Event__.ts.html +51 -87
- package/coverage/src/concepts/ExternalDestination__.ts.html +60 -126
- package/coverage/src/concepts/ForEachStatement__.ts.html +152 -239
- package/coverage/src/concepts/FrontendLibrary__.ts.html +69 -153
- package/coverage/src/concepts/FrontendVariable__.ts.html +19 -76
- package/coverage/src/concepts/Frontend__.ts.html +161 -884
- package/coverage/src/concepts/Function__.ts.html +171 -396
- package/coverage/src/concepts/Identifier__.ts.html +100 -130
- package/coverage/src/concepts/IfStatement__.ts.html +110 -209
- package/coverage/src/concepts/Integration__.ts.html +57 -132
- package/coverage/src/concepts/InterfaceParam__.ts.html +76 -310
- package/coverage/src/concepts/Interface__.ts.html +183 -324
- package/coverage/src/concepts/JSBlock__.ts.html +26 -59
- package/coverage/src/concepts/JavaLogic__.ts.html +28 -58
- package/coverage/src/concepts/LogicItem__.ts.html +73 -151
- package/coverage/src/concepts/Logic__.ts.html +509 -965
- package/coverage/src/concepts/MatchCase__.ts.html +158 -281
- package/coverage/src/concepts/Match__.ts.html +121 -280
- package/coverage/src/concepts/MemberExpression__.ts.html +172 -256
- package/coverage/src/concepts/MicroApp__.ts.html +34 -25
- package/coverage/src/concepts/Module__.ts.html +1270 -1375
- package/coverage/src/concepts/MsgTriggerEvent__.ts.html +46 -94
- package/coverage/src/concepts/MsgTriggerLauncher__.ts.html +48 -93
- package/coverage/src/concepts/Namespace__.ts.html +630 -1251
- package/coverage/src/concepts/NewComposite__.ts.html +341 -557
- package/coverage/src/concepts/NewList__.ts.html +111 -291
- package/coverage/src/concepts/NewMap__.ts.html +128 -332
- package/coverage/src/concepts/New__.ts.html +21 -57
- package/coverage/src/concepts/NullLiteral__.ts.html +23 -56
- package/coverage/src/concepts/NumericLiteral__.ts.html +51 -114
- package/coverage/src/concepts/OqlQueryComponent__.ts.html +76 -211
- package/coverage/src/concepts/OverriddenLogic__.ts.html +394 -643
- package/coverage/src/concepts/Param__.ts.html +174 -315
- package/coverage/src/concepts/Point__.ts.html +21 -27
- package/coverage/src/concepts/ProcessComponent__.ts.html +67 -145
- package/coverage/src/concepts/ProcessElement__.ts.html +281 -854
- package/coverage/src/concepts/ProcessOutcome__.ts.html +25 -100
- package/coverage/src/concepts/ProcessOutcomes__.ts.html +26 -113
- package/coverage/src/concepts/Process__.ts.html +201 -552
- package/coverage/src/concepts/QueryAggregateExpression__.ts.html +35 -89
- package/coverage/src/concepts/QueryFieldExpression__.ts.html +35 -62
- package/coverage/src/concepts/QueryFromExpression__.ts.html +47 -119
- package/coverage/src/concepts/QueryGroupByExpression__.ts.html +37 -97
- package/coverage/src/concepts/QueryJoinExpression__.ts.html +69 -153
- package/coverage/src/concepts/QueryLimitExpression__.ts.html +36 -105
- package/coverage/src/concepts/QueryOrderByExpression__.ts.html +36 -108
- package/coverage/src/concepts/QuerySelectExpression__.ts.html +50 -101
- package/coverage/src/concepts/Rect__.ts.html +25 -25
- package/coverage/src/concepts/Return__.ts.html +131 -368
- package/coverage/src/concepts/Role__.ts.html +37 -67
- package/coverage/src/concepts/SelectMembers__.ts.html +57 -141
- package/coverage/src/concepts/Slot__.ts.html +40 -64
- package/coverage/src/concepts/SqlQueryComponent__.ts.html +62 -122
- package/coverage/src/concepts/Start__.ts.html +25 -58
- package/coverage/src/concepts/StringInterpolation__.ts.html +77 -185
- package/coverage/src/concepts/StringLiteral__.ts.html +47 -158
- package/coverage/src/concepts/StructureProperty__.ts.html +78 -306
- package/coverage/src/concepts/Structure__.ts.html +90 -285
- package/coverage/src/concepts/SwitchCase__.ts.html +66 -141
- package/coverage/src/concepts/SwitchStatement__.ts.html +58 -136
- package/coverage/src/concepts/Theme__.ts.html +24 -36
- package/coverage/src/concepts/Transactional__.ts.html +33 -36
- package/coverage/src/concepts/TriggerEvent__.ts.html +480 -63
- package/coverage/src/concepts/TriggerLauncher__.ts.html +43 -73
- package/coverage/src/concepts/TypeAnnotation__.ts.html +231 -564
- package/coverage/src/concepts/TypeParam__.ts.html +23 -59
- package/coverage/src/concepts/UnaryExpression__.ts.html +47 -131
- package/coverage/src/concepts/Unparsed__.ts.html +29 -59
- package/coverage/src/concepts/UseComponent__.ts.html +21 -27
- package/coverage/src/concepts/ValidationRule__.ts.html +96 -234
- package/coverage/src/concepts/Variable__.ts.html +132 -456
- package/coverage/src/concepts/ViewBlock__.ts.html +23 -26
- package/coverage/src/concepts/ViewComponent__.ts.html +157 -394
- package/coverage/src/concepts/ViewElement__.ts.html +514 -910
- package/coverage/src/concepts/View__.ts.html +425 -1271
- package/coverage/src/concepts/WhileStatement__.ts.html +79 -175
- package/coverage/src/concepts/basics/stdlib/index.html +85 -85
- package/coverage/src/concepts/basics/stdlib/index.ts.html +29 -167
- package/coverage/src/concepts/basics/stdlib/nasl.auth.ts.html +152 -206
- package/coverage/src/concepts/basics/stdlib/nasl.browser.ts.html +139 -172
- package/coverage/src/concepts/basics/stdlib/nasl.collection.ts.html +47 -92
- package/coverage/src/concepts/basics/stdlib/nasl.configuration.ts.html +31 -130
- package/coverage/src/concepts/basics/stdlib/nasl.core.ts.html +43 -61
- package/coverage/src/concepts/basics/stdlib/nasl.event.ts.html +23 -53
- package/coverage/src/concepts/basics/stdlib/nasl.http.ts.html +167 -203
- package/coverage/src/concepts/basics/stdlib/nasl.interface.ts.html +45 -78
- package/coverage/src/concepts/basics/stdlib/nasl.io.ts.html +51 -81
- package/coverage/src/concepts/basics/stdlib/nasl.logging.ts.html +66 -69
- package/coverage/src/concepts/basics/stdlib/nasl.process.ts.html +606 -654
- package/coverage/src/concepts/basics/stdlib/nasl.ui.ts.html +993 -1050
- package/coverage/src/concepts/basics/stdlib/nasl.util.ts.html +2131 -2236
- package/coverage/src/concepts/basics/stdlib/nasl.validation.ts.html +563 -596
- package/coverage/src/concepts/basics/stdlib/reference2TypeAnnotationList.ts.html +40 -28
- package/coverage/src/concepts/basics/stdlib/timeZone.ts.html +9 -9
- package/coverage/src/concepts/basics/types/coreTypeList.ts.html +7 -7
- package/coverage/src/concepts/basics/types/index.html +16 -16
- package/coverage/src/concepts/basics/types/index.ts.html +18 -18
- package/coverage/src/concepts/index.html +1215 -1365
- package/coverage/src/concepts/index.ts.html +7 -31
- package/coverage/src/concepts/index__.ts.html +8 -38
- package/coverage/src/config.ts.html +20 -2
- package/coverage/src/decorators/index.html +32 -32
- package/coverage/src/decorators/index.ts.html +93 -108
- package/coverage/src/decorators/promise.ts.html +26 -26
- package/coverage/src/eventBus.ts.html +7 -7
- package/coverage/src/generator/compileComponent.ts.html +10 -10
- package/coverage/src/generator/genBundleFiles.ts.html +45 -273
- package/coverage/src/generator/genHash.ts.html +8 -8
- package/coverage/src/generator/genMetaData.ts.html +49 -280
- package/coverage/src/generator/genReleaseBody.ts.html +98 -113
- package/coverage/src/generator/icestark.ts.html +8 -14
- package/coverage/src/generator/index.html +87 -87
- package/coverage/src/generator/index.ts.html +6 -6
- package/coverage/src/generator/microApp.ts.html +10 -10
- package/coverage/src/generator/permission.ts.html +80 -152
- package/coverage/src/generator/qiankun.ts.html +7 -13
- package/coverage/src/generator/styleReplacer.ts.html +17 -17
- package/coverage/src/index.html +10 -40
- package/coverage/src/index.ts.html +12 -15
- package/coverage/src/manager/diagnostic.ts.html +31 -28
- package/coverage/src/manager/index.html +27 -27
- package/coverage/src/manager/stepRecorder.ts.html +17 -17
- package/coverage/src/natural/genNaturalTS.ts.html +30 -30
- package/coverage/src/natural/index.html +41 -41
- package/coverage/src/natural/index.ts.html +6 -6
- package/coverage/src/natural/naslStdlibMap.ts.html +10 -10
- package/coverage/src/natural/transformTSCode.ts.html +137 -197
- package/coverage/src/sentry/index.html +19 -19
- package/coverage/src/sentry/index.ts.html +43 -49
- package/coverage/src/server/createUiTs.ts.html +37 -46
- package/coverage/src/server/entity2LogicNamespace.ts.html +21 -21
- package/coverage/src/server/event.js.html +7 -7
- package/coverage/src/server/extendBaseNode.ts.html +90 -132
- package/coverage/src/server/formatTsUtils.ts.html +105 -108
- package/coverage/src/server/getConnector.ts.html +24 -96
- package/coverage/src/server/getExtensionModules.ts.html +14 -14
- package/coverage/src/server/getFunctions.ts.html +15 -15
- package/coverage/src/server/getInterfaces.ts.html +18 -18
- package/coverage/src/server/getLogging.ts.html +11 -11
- package/coverage/src/server/getLogics.ts.html +74 -122
- package/coverage/src/server/getMemberIdentifier.ts.html +163 -358
- package/coverage/src/server/getProcessComponents.ts.html +13 -13
- package/coverage/src/server/getProcesses.ts.html +86 -236
- package/coverage/src/server/getValidates.ts.html +14 -17
- package/coverage/src/server/index.html +181 -181
- package/coverage/src/server/index.ts.html +8 -11
- package/coverage/src/server/naslServer.ts.html +1270 -1933
- package/coverage/src/server/naslStdlibMap.ts.html +10 -10
- package/coverage/src/server/process2LogicNamespace.ts.html +20 -20
- package/coverage/src/server/translator.ts.html +89 -134
- package/coverage/src/service/creator/add.configs.js.html +17 -35
- package/coverage/src/service/creator/errHandles.js.html +45 -36
- package/coverage/src/service/creator/index.html +35 -35
- package/coverage/src/service/creator/index.js.html +14 -14
- package/coverage/src/service/datasource/api.js.html +7 -7
- package/coverage/src/service/datasource/index.html +12 -12
- package/coverage/src/service/datasource/index.js.html +5 -5
- package/coverage/src/service/logic/api.js.html +7 -7
- package/coverage/src/service/logic/index.html +12 -12
- package/coverage/src/service/logic/index.js.html +5 -5
- package/coverage/src/service/storage/api.js.html +7 -7
- package/coverage/src/service/storage/index.html +56 -56
- package/coverage/src/service/storage/index.ts.html +5 -5
- package/coverage/src/service/storage/init.ts.html +624 -1758
- package/coverage/src/service/storage/jsoner.ts.html +23 -86
- package/coverage/src/service/storage/map.ts.html +21 -21
- package/coverage/src/service/storage/service.ts.html +14 -14
- package/coverage/src/service/storage/storagePoint.ts.html +9 -9
- package/coverage/src/templator/genCallComponentLogic.ts.html +12 -12
- package/coverage/src/templator/genCreateBlock.ts.html +94 -154
- package/coverage/src/templator/genCurdEditMultipleKeyBlock.ts.html +90 -90
- package/coverage/src/templator/genCurdMultipleKeyBlock.ts.html +150 -132
- package/coverage/src/templator/genEditTableBlock.ts.html +41 -104
- package/coverage/src/templator/genEnumSelectBlock.ts.html +12 -93
- package/coverage/src/templator/genGetBlock.ts.html +18 -18
- package/coverage/src/templator/genGridViewBlock.ts.html +35 -35
- package/coverage/src/templator/genListViewBlock.ts.html +15 -15
- package/coverage/src/templator/genQueryComponent.ts.html +35 -35
- package/coverage/src/templator/genSelectBlock.ts.html +20 -101
- package/coverage/src/templator/genTableBlock.ts.html +33 -96
- package/coverage/src/templator/genUpdateBlock.ts.html +78 -162
- package/coverage/src/templator/index.html +147 -147
- package/coverage/src/templator/index.ts.html +12 -12
- package/coverage/src/templator/utils.ts.html +32 -95
- package/coverage/src/translator/constant.ts.html +7 -7
- package/coverage/src/translator/index.html +28 -43
- package/coverage/src/translator/index.ts.html +6 -6
- package/coverage/src/translator/utils.ts.html +71 -452
- package/coverage/src/utils/cookie.ts.html +19 -19
- package/coverage/src/utils/env.ts.html +2 -2
- package/coverage/src/utils/index.html +37 -82
- package/coverage/src/utils/index.ts.html +798 -66
- package/coverage/src/utils/logger.ts.html +1 -1
- package/coverage/src/utils/sortTsString.ts.html +18 -33
- package/coverage/src/utils/string.ts.html +50 -8
- package/coverage/src/utils/time-slicing/controller.ts.html +8 -8
- package/coverage/src/utils/time-slicing/index.html +64 -79
- package/coverage/src/utils/time-slicing/index.ts.html +8 -8
- package/coverage/src/utils/time-slicing/page-state.ts.html +1 -1
- package/coverage/src/utils/time-slicing/performance.ts.html +4 -4
- package/coverage/src/utils/time-slicing/runner.ts.html +51 -51
- package/coverage/src/utils/time-slicing/tool.ts.html +29 -29
- package/coverage/src/utils/time-slicing/utils.ts.html +16 -16
- package/coverage/src/utils/time-slicing/wrapper.ts.html +50 -50
- package/coverage/src/utils/time-slicing.ts.html +1 -1
- package/coverage/src/utils/traverse.ts.html +27 -27
- package/coverage/src/utils/types.ts.html +1 -1
- package/coverage/src/utils/window.ts.html +1 -1
- package/out/common/BaseNode.d.ts +9 -4
- package/out/common/BaseNode.js +43 -10
- package/out/common/BaseNode.js.map +1 -1
- package/out/concepts/AuthLogicForCallInterface__.js +2 -50
- package/out/concepts/AuthLogicForCallInterface__.js.map +1 -1
- package/out/concepts/BusinessComponent__.js +2 -42
- package/out/concepts/BusinessComponent__.js.map +1 -1
- package/out/concepts/BusinessLogic__.js +2 -50
- package/out/concepts/BusinessLogic__.js.map +1 -1
- package/out/concepts/CallFunction__.d.ts +1 -1
- package/out/concepts/CallFunction__.js +1 -1
- package/out/concepts/Identifier__.d.ts +2 -0
- package/out/concepts/Identifier__.js +51 -5
- package/out/concepts/Identifier__.js.map +1 -1
- package/out/concepts/Logic__.js +6 -101
- package/out/concepts/Logic__.js.map +1 -1
- package/out/concepts/MemberExpression__.d.ts +1 -1
- package/out/concepts/MemberExpression__.js +15 -3
- package/out/concepts/MemberExpression__.js.map +1 -1
- package/out/concepts/OverriddenLogic__.js +2 -50
- package/out/concepts/OverriddenLogic__.js.map +1 -1
- package/out/concepts/ProcessElementV2__.js +4 -0
- package/out/concepts/ProcessElementV2__.js.map +1 -1
- package/out/concepts/ProcessElement__.js +4 -0
- package/out/concepts/ProcessElement__.js.map +1 -1
- package/out/concepts/ProcessV2__.js +4 -0
- package/out/concepts/ProcessV2__.js.map +1 -1
- package/out/concepts/Process__.js +4 -0
- package/out/concepts/Process__.js.map +1 -1
- package/out/concepts/SubLogic__.js +5 -50
- package/out/concepts/SubLogic__.js.map +1 -1
- package/out/concepts/View__.js +10 -49
- package/out/concepts/View__.js.map +1 -1
- package/out/natural/transformTS2UI.js +3 -3
- package/out/natural/transformTS2UI.js.map +1 -1
- package/out/natural/transforms/transform2LogicItem.js +3 -3
- package/out/natural/transforms/transform2LogicItem.js.map +1 -1
- package/out/server/naslServer.js +17 -2
- package/out/server/naslServer.js.map +1 -1
- package/out/server/semanticData.d.ts +32 -0
- package/out/server/semanticData.js +371 -0
- package/out/server/semanticData.js.map +1 -0
- package/out/templator/block2nasl/viewMergeBlock.js +2 -1
- package/out/templator/block2nasl/viewMergeBlock.js.map +1 -1
- package/package.json +1 -1
- package/src/common/BaseNode.ts +50 -8
- package/src/concepts/AuthLogicForCallInterface__.ts +3 -56
- package/src/concepts/BusinessComponent__.ts +6 -51
- package/src/concepts/BusinessLogic__.ts +4 -56
- package/src/concepts/CallFunction__.ts +1 -1
- package/src/concepts/Identifier__.ts +57 -6
- package/src/concepts/Logic__.ts +9 -111
- package/src/concepts/MemberExpression__.ts +21 -7
- package/src/concepts/OverriddenLogic__.ts +4 -56
- package/src/concepts/ProcessElementV2__.ts +4 -0
- package/src/concepts/ProcessElement__.ts +4 -0
- package/src/concepts/ProcessV2__.ts +5 -0
- package/src/concepts/Process__.ts +4 -0
- package/src/concepts/SubLogic__.ts +6 -56
- package/src/concepts/View__.ts +14 -54
- package/src/natural/transformTS2UI.ts +7 -7
- package/src/natural/transforms/transform2LogicItem.ts +3 -3
- package/src/server/naslServer.ts +22 -2
- package/src/server/semanticData.ts +447 -0
- package/src/templator/block2nasl/viewMergeBlock.ts +2 -1
- package/src/translator/utils.ts +1 -1
- package/test/concepts/logic/__snapshots__/toEmbeddedTS.spec.ts.snap +182 -0
- package/test/concepts/logic/constant.ts +5 -0
- package/test/concepts/logic/fixtures/variable-host-call-logic-member-expression.json +267 -0
- package/test/concepts/logic/fixtures/variable-host-call-logic-nested-member-expression copy.json +457 -0
- package/test/concepts/logic/fixtures/variable-host-call-logic-with-handle-error-member-expression.json +267 -0
- package/test/concepts/logic/toEmbeddedTS.spec.ts +15 -0
- package/.nyc_output/fe4ca6db-1eb6-4898-8aa5-ba8f8d4128f2.json +0 -1
- package/.nyc_output/processinfo/fe4ca6db-1eb6-4898-8aa5-ba8f8d4128f2.json +0 -1
- package/coverage/src/common/utils.ts.html +0 -136
- package/coverage/src/concepts/AbstractInterface__.ts.html +0 -277
- package/coverage/src/concepts/Block__.ts.html +0 -907
- package/coverage/src/concepts/CountersignPolicy__.ts.html +0 -319
- package/coverage/src/concepts/DefaultValue__.ts.html +0 -1024
- package/coverage/src/concepts/I18nInfo__.ts.html +0 -424
- package/coverage/src/concepts/ImportedInterface__.ts.html +0 -262
- package/coverage/src/concepts/MetadataType__.ts.html +0 -2035
- package/coverage/src/concepts/MultiApprovalPolicy__.ts.html +0 -301
- package/coverage/src/concepts/SequentialPolicy__.ts.html +0 -265
- package/coverage/src/concepts/StaticString__.ts.html +0 -397
- package/coverage/src/concepts/basics/constants.ts.html +0 -88
- package/coverage/src/concepts/basics/index.html +0 -116
- package/coverage/src/concepts/utils/asserts.ts.html +0 -28675
- package/coverage/src/concepts/utils/index.html +0 -131
- package/coverage/src/concepts/utils/types.ts.html +0 -2092
- package/coverage/src/translator/types.ts.html +0 -256
- package/coverage/src/utils/i18nInfo.ts.html +0 -166
- package/coverage/src/utils/time-slicing/constant.ts.html +0 -196
- package/dist/README.md +0 -97
- package/dist/index.d.ts +0 -26
- package/dist/index.js +0 -397
- package/dist/index.js.map +0 -1
- package/dist/package.json +0 -91
- package/dist/src/automate/engine/index.d.ts +0 -4
- package/dist/src/automate/engine/operators.d.ts +0 -26
- package/dist/src/automate/engine/uniqueName.d.ts +0 -12
- package/dist/src/automate/engine/utils.d.ts +0 -25
- package/dist/src/automate/engine/viewCache.d.ts +0 -19
- package/dist/src/automate/template/myProcess.d.ts +0 -10
- package/dist/src/automate/upgrader/2.12.d.ts +0 -7
- package/dist/src/automate/upgrader/2.14-components.d.ts +0 -1115
- package/dist/src/automate/upgrader/2.14.d.ts +0 -10
- package/dist/src/automate/upgrader/2.14.old.d.ts +0 -1
- package/dist/src/automate/upgrader/2.16.d.ts +0 -10
- package/dist/src/automate/upgrader/2.17.d.ts +0 -21
- package/dist/src/automate/upgrader/2.18.d.ts +0 -10
- package/dist/src/automate/upgrader/2.20.d.ts +0 -17
- package/dist/src/bak/translator.d.ts +0 -1
- package/dist/src/breakpoint/generator/AfterStartNode.d.ts +0 -7
- package/dist/src/breakpoint/generator/BeforeEndNode.d.ts +0 -7
- package/dist/src/breakpoint/generator/BreakpointNode.d.ts +0 -20
- package/dist/src/breakpoint/generator/CallbackNode.d.ts +0 -4
- package/dist/src/breakpoint/generator/FragmentNode.d.ts +0 -4
- package/dist/src/breakpoint/generator/index.d.ts +0 -4
- package/dist/src/breakpoint/index.d.ts +0 -3
- package/dist/src/breakpoint/shared/constants.d.ts +0 -37
- package/dist/src/breakpoint/shared/index.d.ts +0 -3
- package/dist/src/breakpoint/shared/operations.d.ts +0 -10
- package/dist/src/breakpoint/shared/socket.d.ts +0 -48
- package/dist/src/breakpoint/shared/utils.d.ts +0 -27
- package/dist/src/breakpoint/store/core.d.ts +0 -80
- package/dist/src/breakpoint/store/dock.d.ts +0 -1
- package/dist/src/breakpoint/store/index.d.ts +0 -2
- package/dist/src/common/BaseNode.d.ts +0 -384
- package/dist/src/common/Command.d.ts +0 -21
- package/dist/src/common/ComponentAPI.d.ts +0 -112
- package/dist/src/common/EventEmitter.d.ts +0 -61
- package/dist/src/common/Messager.d.ts +0 -91
- package/dist/src/common/asyncFuncMap.d.ts +0 -2
- package/dist/src/common/index.d.ts +0 -4
- package/dist/src/common/utils.d.ts +0 -2
- package/dist/src/concepts/Abort__.d.ts +0 -31
- package/dist/src/concepts/AbstractInterface__.d.ts +0 -25
- package/dist/src/concepts/Anchor__.d.ts +0 -42
- package/dist/src/concepts/AnonymousFunction__.d.ts +0 -144
- package/dist/src/concepts/App__.d.ts +0 -1711
- package/dist/src/concepts/Argument__.d.ts +0 -64
- package/dist/src/concepts/Assignee__.d.ts +0 -294
- package/dist/src/concepts/AssignmentLine__.d.ts +0 -43
- package/dist/src/concepts/Assignment__.d.ts +0 -57
- package/dist/src/concepts/Attribute__.d.ts +0 -75
- package/dist/src/concepts/AuthInterface__.d.ts +0 -38
- package/dist/src/concepts/AuthLogicForCallInterface__.d.ts +0 -145
- package/dist/src/concepts/AuthLogic__.d.ts +0 -69
- package/dist/src/concepts/BackendVariable__.d.ts +0 -118
- package/dist/src/concepts/Backend__.d.ts +0 -127
- package/dist/src/concepts/BaseSetter__.d.ts +0 -25
- package/dist/src/concepts/BatchAssignment__.d.ts +0 -244
- package/dist/src/concepts/BinaryExpression__.d.ts +0 -61
- package/dist/src/concepts/BindAttribute__.d.ts +0 -284
- package/dist/src/concepts/BindDirective__.d.ts +0 -156
- package/dist/src/concepts/BindEvent__.d.ts +0 -246
- package/dist/src/concepts/BindStyle__.d.ts +0 -127
- package/dist/src/concepts/Block__.d.ts +0 -88
- package/dist/src/concepts/BooleanLiteral__.d.ts +0 -44
- package/dist/src/concepts/BusinessComponent__.d.ts +0 -640
- package/dist/src/concepts/BusinessLogic__.d.ts +0 -44
- package/dist/src/concepts/CallAuthInterface__.d.ts +0 -132
- package/dist/src/concepts/CallConnector__.d.ts +0 -55
- package/dist/src/concepts/CallEvent__.d.ts +0 -100
- package/dist/src/concepts/CallFunction__.d.ts +0 -171
- package/dist/src/concepts/CallInterface__.d.ts +0 -143
- package/dist/src/concepts/CallLogic__.d.ts +0 -224
- package/dist/src/concepts/CallQueryComponent__.d.ts +0 -383
- package/dist/src/concepts/CapsulesSetter__.d.ts +0 -109
- package/dist/src/concepts/Comment__.d.ts +0 -41
- package/dist/src/concepts/CompletionProperty__.d.ts +0 -87
- package/dist/src/concepts/ConfigGroup__.d.ts +0 -121
- package/dist/src/concepts/ConfigPropertyValue__.d.ts +0 -42
- package/dist/src/concepts/ConfigProperty__.d.ts +0 -147
- package/dist/src/concepts/Configuration__.d.ts +0 -120
- package/dist/src/concepts/Connection__.d.ts +0 -159
- package/dist/src/concepts/ConnectorLogic__.d.ts +0 -33
- package/dist/src/concepts/ConnectorTriggerLauncher__.d.ts +0 -44
- package/dist/src/concepts/ConnectorTrigger__.d.ts +0 -76
- package/dist/src/concepts/Connector__.d.ts +0 -532
- package/dist/src/concepts/Constant__.d.ts +0 -94
- package/dist/src/concepts/CountersignPolicy__.d.ts +0 -29
- package/dist/src/concepts/DataSource__.d.ts +0 -163
- package/dist/src/concepts/DatabaseTypeAnnotation__.d.ts +0 -35
- package/dist/src/concepts/DefaultValue__.d.ts +0 -94
- package/dist/src/concepts/Destination__.d.ts +0 -150
- package/dist/src/concepts/End__.d.ts +0 -30
- package/dist/src/concepts/EntityIndex__.d.ts +0 -93
- package/dist/src/concepts/EntityProperty__.d.ts +0 -255
- package/dist/src/concepts/Entity__.d.ts +0 -332
- package/dist/src/concepts/EnumItem__.d.ts +0 -83
- package/dist/src/concepts/EnumSelectSetter__.d.ts +0 -109
- package/dist/src/concepts/Enum__.d.ts +0 -133
- package/dist/src/concepts/EventDeclaration__.d.ts +0 -41
- package/dist/src/concepts/Event__.d.ts +0 -149
- package/dist/src/concepts/ExternalDestination__.d.ts +0 -63
- package/dist/src/concepts/ForEachStatement__.d.ts +0 -126
- package/dist/src/concepts/FrontendLibrary__.d.ts +0 -208
- package/dist/src/concepts/FrontendType__.d.ts +0 -304
- package/dist/src/concepts/FrontendVariable__.d.ts +0 -41
- package/dist/src/concepts/Frontend__.d.ts +0 -389
- package/dist/src/concepts/Function__.d.ts +0 -399
- package/dist/src/concepts/I18nInfo__.d.ts +0 -47
- package/dist/src/concepts/IconSetter__.d.ts +0 -29
- package/dist/src/concepts/Identifier__.d.ts +0 -66
- package/dist/src/concepts/IfStatement__.d.ts +0 -155
- package/dist/src/concepts/ImageSetter__.d.ts +0 -25
- package/dist/src/concepts/ImportedInterface__.d.ts +0 -29
- package/dist/src/concepts/InputSetter__.d.ts +0 -29
- package/dist/src/concepts/Integration__.d.ts +0 -127
- package/dist/src/concepts/InterfaceParam__.d.ts +0 -119
- package/dist/src/concepts/InterfaceTriggerEvent__.d.ts +0 -34
- package/dist/src/concepts/Interface__.d.ts +0 -323
- package/dist/src/concepts/JSBlock__.d.ts +0 -38
- package/dist/src/concepts/JavaLogic__.d.ts +0 -50
- package/dist/src/concepts/LogicDeclaration__.d.ts +0 -289
- package/dist/src/concepts/LogicItem__.d.ts +0 -171
- package/dist/src/concepts/Logic__.d.ts +0 -632
- package/dist/src/concepts/MatchCase__.d.ts +0 -264
- package/dist/src/concepts/Match__.d.ts +0 -122
- package/dist/src/concepts/MemberExpression__.d.ts +0 -64
- package/dist/src/concepts/MetadataType__.d.ts +0 -220
- package/dist/src/concepts/MicroApp__.d.ts +0 -53
- package/dist/src/concepts/Module__.d.ts +0 -1142
- package/dist/src/concepts/MsgTriggerEvent__.d.ts +0 -138
- package/dist/src/concepts/MsgTriggerLauncher__.d.ts +0 -119
- package/dist/src/concepts/MultiApprovalPolicy__.d.ts +0 -25
- package/dist/src/concepts/Namespace__.d.ts +0 -1060
- package/dist/src/concepts/NewComposite__.d.ts +0 -346
- package/dist/src/concepts/NewList__.d.ts +0 -135
- package/dist/src/concepts/NewMap__.d.ts +0 -226
- package/dist/src/concepts/New__.d.ts +0 -30
- package/dist/src/concepts/NullLiteral__.d.ts +0 -36
- package/dist/src/concepts/NumberInputSetter__.d.ts +0 -45
- package/dist/src/concepts/NumericLiteral__.d.ts +0 -53
- package/dist/src/concepts/OqlQueryComponent__.d.ts +0 -67
- package/dist/src/concepts/OverriddenLogic__.d.ts +0 -615
- package/dist/src/concepts/Paginate__.d.ts +0 -59
- package/dist/src/concepts/ParamWithGroup__.d.ts +0 -44
- package/dist/src/concepts/Param__.d.ts +0 -140
- package/dist/src/concepts/Point__.d.ts +0 -33
- package/dist/src/concepts/ProcessComponent__.d.ts +0 -214
- package/dist/src/concepts/ProcessElement__.d.ts +0 -620
- package/dist/src/concepts/ProcessOutcome__.d.ts +0 -35
- package/dist/src/concepts/ProcessOutcomes__.d.ts +0 -35
- package/dist/src/concepts/Process__.d.ts +0 -605
- package/dist/src/concepts/PropDeclaration__.d.ts +0 -99
- package/dist/src/concepts/PropertySelectSetter__.d.ts +0 -25
- package/dist/src/concepts/QueryAggregateExpression__.d.ts +0 -50
- package/dist/src/concepts/QueryFieldExpression__.d.ts +0 -66
- package/dist/src/concepts/QueryFromExpression__.d.ts +0 -107
- package/dist/src/concepts/QueryGroupByExpression__.d.ts +0 -46
- package/dist/src/concepts/QueryJoinExpression__.d.ts +0 -194
- package/dist/src/concepts/QueryLimitExpression__.d.ts +0 -46
- package/dist/src/concepts/QueryOrderByExpression__.d.ts +0 -57
- package/dist/src/concepts/QuerySelectExpression__.d.ts +0 -213
- package/dist/src/concepts/Rect__.d.ts +0 -41
- package/dist/src/concepts/Return__.d.ts +0 -120
- package/dist/src/concepts/Role__.d.ts +0 -58
- package/dist/src/concepts/SelectMembers__.d.ts +0 -134
- package/dist/src/concepts/SequentialPolicy__.d.ts +0 -25
- package/dist/src/concepts/SetterOption__.d.ts +0 -49
- package/dist/src/concepts/SlotDeclaration__.d.ts +0 -213
- package/dist/src/concepts/Slot__.d.ts +0 -53
- package/dist/src/concepts/SqlQueryComponent__.d.ts +0 -63
- package/dist/src/concepts/Start__.d.ts +0 -30
- package/dist/src/concepts/StaticString__.d.ts +0 -49
- package/dist/src/concepts/StringInterpolation__.d.ts +0 -122
- package/dist/src/concepts/StringLiteral__.d.ts +0 -51
- package/dist/src/concepts/StructureProperty__.d.ts +0 -119
- package/dist/src/concepts/Structure__.d.ts +0 -243
- package/dist/src/concepts/SwitchCase__.d.ts +0 -91
- package/dist/src/concepts/SwitchSetter__.d.ts +0 -25
- package/dist/src/concepts/SwitchStatement__.d.ts +0 -90
- package/dist/src/concepts/ThemeVariable__.d.ts +0 -29
- package/dist/src/concepts/Theme__.d.ts +0 -39
- package/dist/src/concepts/Transactional__.d.ts +0 -85
- package/dist/src/concepts/TriggerEvent__.d.ts +0 -42
- package/dist/src/concepts/TriggerLauncher__.d.ts +0 -76
- package/dist/src/concepts/TypeAnnotation__.d.ts +0 -303
- package/dist/src/concepts/TypeParam__.d.ts +0 -34
- package/dist/src/concepts/UnaryExpression__.d.ts +0 -45
- package/dist/src/concepts/Unparsed__.d.ts +0 -41
- package/dist/src/concepts/UseComponent__.d.ts +0 -33
- package/dist/src/concepts/ValidationRule__.d.ts +0 -133
- package/dist/src/concepts/Variable__.d.ts +0 -137
- package/dist/src/concepts/ViewBlockWithImage__.d.ts +0 -33
- package/dist/src/concepts/ViewBlock__.d.ts +0 -37
- package/dist/src/concepts/ViewComponentDeclaration__.d.ts +0 -721
- package/dist/src/concepts/ViewElement__.d.ts +0 -652
- package/dist/src/concepts/View__.d.ts +0 -728
- package/dist/src/concepts/WhileStatement__.d.ts +0 -94
- package/dist/src/concepts/basics/constants.d.ts +0 -1
- package/dist/src/concepts/basics/stdlib/index.d.ts +0 -16
- package/dist/src/concepts/basics/stdlib/nasl.auth.d.ts +0 -9
- package/dist/src/concepts/basics/stdlib/nasl.browser.d.ts +0 -5
- package/dist/src/concepts/basics/stdlib/nasl.collection.d.ts +0 -9
- package/dist/src/concepts/basics/stdlib/nasl.configuration.d.ts +0 -9
- package/dist/src/concepts/basics/stdlib/nasl.core.d.ts +0 -7
- package/dist/src/concepts/basics/stdlib/nasl.event.d.ts +0 -5
- package/dist/src/concepts/basics/stdlib/nasl.http.d.ts +0 -9
- package/dist/src/concepts/basics/stdlib/nasl.interface.d.ts +0 -9
- package/dist/src/concepts/basics/stdlib/nasl.io.d.ts +0 -5
- package/dist/src/concepts/basics/stdlib/nasl.logging.d.ts +0 -5
- package/dist/src/concepts/basics/stdlib/nasl.process.d.ts +0 -9
- package/dist/src/concepts/basics/stdlib/nasl.ui.d.ts +0 -9
- package/dist/src/concepts/basics/stdlib/nasl.util.d.ts +0 -6
- package/dist/src/concepts/basics/stdlib/nasl.validation.d.ts +0 -5
- package/dist/src/concepts/basics/stdlib/reference2TypeAnnotationList.d.ts +0 -4
- package/dist/src/concepts/basics/stdlib/timeZone.d.ts +0 -5
- package/dist/src/concepts/basics/types/coreTypeList.d.ts +0 -2
- package/dist/src/concepts/basics/types/index.d.ts +0 -17
- package/dist/src/concepts/index.d.ts +0 -7
- package/dist/src/concepts/index__.d.ts +0 -156
- package/dist/src/concepts/utils/asserts.d.ts +0 -7825
- package/dist/src/concepts/utils/quick-info.d.ts +0 -13
- package/dist/src/concepts/utils/types.d.ts +0 -510
- package/dist/src/config.d.ts +0 -52
- package/dist/src/decorators/index.d.ts +0 -67
- package/dist/src/decorators/promise.d.ts +0 -7
- package/dist/src/enums/KEYWORDS.d.ts +0 -6
- package/dist/src/enums/LEVEL_NAME_MAP.d.ts +0 -26
- package/dist/src/eventBus.d.ts +0 -3
- package/dist/src/generator/compileComponent.d.ts +0 -11
- package/dist/src/generator/genBundleFiles.d.ts +0 -37
- package/dist/src/generator/genHash.d.ts +0 -7
- package/dist/src/generator/genMetaData.d.ts +0 -31
- package/dist/src/generator/icestark.d.ts +0 -2
- package/dist/src/generator/index.d.ts +0 -7
- package/dist/src/generator/microApp.d.ts +0 -2
- package/dist/src/generator/permission.d.ts +0 -14
- package/dist/src/generator/qiankun.d.ts +0 -2
- package/dist/src/generator/release-body/body.d.ts +0 -42
- package/dist/src/generator/release-body/data.d.ts +0 -45
- package/dist/src/generator/release-body/index.d.ts +0 -2
- package/dist/src/generator/release-body/internal.d.ts +0 -622
- package/dist/src/generator/release-body/types.d.ts +0 -57
- package/dist/src/generator/release-body/utils.d.ts +0 -418
- package/dist/src/generator/release-body/validation.d.ts +0 -3
- package/dist/src/generator/styleReplacer.d.ts +0 -3
- package/dist/src/index.d.ts +0 -14
- package/dist/src/manager/diagnostic.d.ts +0 -39
- package/dist/src/manager/stepRecorder.d.ts +0 -20
- package/dist/src/natural/componentData.d.ts +0 -31
- package/dist/src/natural/genNaturalTS.d.ts +0 -241
- package/dist/src/natural/index.d.ts +0 -6
- package/dist/src/natural/naslStdlibMap.d.ts +0 -1
- package/dist/src/natural/prompt/analyzeClaims.d.ts +0 -1
- package/dist/src/natural/prompt/analyzeFormatOutput.d.ts +0 -1
- package/dist/src/natural/prompt/analyzeTasks.d.ts +0 -1
- package/dist/src/natural/prompt/executeClaims.d.ts +0 -1
- package/dist/src/natural/transformTSCode.d.ts +0 -7
- package/dist/src/sentry/index.d.ts +0 -34
- package/dist/src/server/createUiTs.d.ts +0 -17
- package/dist/src/server/entity2LogicNamespace.d.ts +0 -10
- package/dist/src/server/event.d.ts +0 -30
- package/dist/src/server/extendBaseNode.d.ts +0 -1
- package/dist/src/server/formatTsUtils.d.ts +0 -36
- package/dist/src/server/getConnector.d.ts +0 -15
- package/dist/src/server/getExtensionModules.d.ts +0 -3
- package/dist/src/server/getFunctions.d.ts +0 -3
- package/dist/src/server/getInterfaces.d.ts +0 -2
- package/dist/src/server/getLogging.d.ts +0 -1
- package/dist/src/server/getLogics.d.ts +0 -5
- package/dist/src/server/getMemberIdentifier.d.ts +0 -17
- package/dist/src/server/getProcessComponents.d.ts +0 -2
- package/dist/src/server/getProcesses.d.ts +0 -33
- package/dist/src/server/getScope.d.ts +0 -13
- package/dist/src/server/getValidates.d.ts +0 -3
- package/dist/src/server/index.d.ts +0 -5
- package/dist/src/server/naslServer.d.ts +0 -391
- package/dist/src/server/naslStdlibMap.d.ts +0 -2
- package/dist/src/server/process2LogicNamespace.d.ts +0 -26
- package/dist/src/server/translator.d.ts +0 -26
- package/dist/src/service/creator/add.configs.d.ts +0 -1
- package/dist/src/service/creator/errHandles.d.ts +0 -18
- package/dist/src/service/creator/index.d.ts +0 -1
- package/dist/src/service/datasource/api.d.ts +0 -12
- package/dist/src/service/datasource/index.d.ts +0 -2
- package/dist/src/service/logic/api.d.ts +0 -9
- package/dist/src/service/logic/checktypeSocket.d.ts +0 -5
- package/dist/src/service/logic/index.d.ts +0 -2
- package/dist/src/service/storage/api.d.ts +0 -54
- package/dist/src/service/storage/index.d.ts +0 -2
- package/dist/src/service/storage/init.d.ts +0 -105
- package/dist/src/service/storage/jsoner.d.ts +0 -36
- package/dist/src/service/storage/map.d.ts +0 -4
- package/dist/src/service/storage/service.d.ts +0 -25
- package/dist/src/service/storage/storagePoint.d.ts +0 -17
- package/dist/src/service/video/BaseService.d.ts +0 -7
- package/dist/src/service/video/MainCallbackService.d.ts +0 -12
- package/dist/src/service/video/VideoTranscribe.d.ts +0 -15
- package/dist/src/service/video/publishService.d.ts +0 -1
- package/dist/src/templator/genCallComponentLogic.d.ts +0 -17
- package/dist/src/templator/genCreateBlock.d.ts +0 -10
- package/dist/src/templator/genCurdEditMultipleKeyBlock.d.ts +0 -8
- package/dist/src/templator/genCurdMultipleKeyBlock.d.ts +0 -61
- package/dist/src/templator/genEditTableBlock.d.ts +0 -51
- package/dist/src/templator/genEnumSelectBlock.d.ts +0 -10
- package/dist/src/templator/genGetBlock.d.ts +0 -6
- package/dist/src/templator/genGridViewBlock.d.ts +0 -55
- package/dist/src/templator/genListViewBlock.d.ts +0 -19
- package/dist/src/templator/genQueryComponent.d.ts +0 -34
- package/dist/src/templator/genSelectBlock.d.ts +0 -45
- package/dist/src/templator/genTableBlock.d.ts +0 -55
- package/dist/src/templator/genUpdateBlock.d.ts +0 -6
- package/dist/src/templator/index.d.ts +0 -19
- package/dist/src/templator/utils.d.ts +0 -683
- package/dist/src/translator/constant.d.ts +0 -6
- package/dist/src/translator/index.d.ts +0 -3
- package/dist/src/translator/types.d.ts +0 -85
- package/dist/src/translator/utils.d.ts +0 -47
- package/dist/src/utils/cookie.d.ts +0 -9
- package/dist/src/utils/create.d.ts +0 -2
- package/dist/src/utils/env.d.ts +0 -2
- package/dist/src/utils/file.d.ts +0 -33
- package/dist/src/utils/i18nInfo.d.ts +0 -5
- package/dist/src/utils/index.d.ts +0 -72
- package/dist/src/utils/logger.d.ts +0 -8
- package/dist/src/utils/sortTsString.d.ts +0 -1
- package/dist/src/utils/string.d.ts +0 -64
- package/dist/src/utils/time-slicing/constant.d.ts +0 -35
- package/dist/src/utils/time-slicing/controller.d.ts +0 -53
- package/dist/src/utils/time-slicing/index.d.ts +0 -5
- package/dist/src/utils/time-slicing/page-state.d.ts +0 -2
- package/dist/src/utils/time-slicing/performance.d.ts +0 -11
- package/dist/src/utils/time-slicing/runner.d.ts +0 -12
- package/dist/src/utils/time-slicing/tool.d.ts +0 -24
- package/dist/src/utils/time-slicing/utils.d.ts +0 -62
- package/dist/src/utils/time-slicing/wrapper.d.ts +0 -18
- package/dist/src/utils/traverse.d.ts +0 -36
- package/dist/src/utils/types.d.ts +0 -13
- package/dist/src/utils/window.d.ts +0 -7
- package/dist/test/concepts/anonymous-function/constant.d.ts +0 -2
- package/dist/test/concepts/anonymous-function/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/anonymous-function/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/anonymous-function/toVue.spec.d.ts +0 -1
- package/dist/test/concepts/assignment/constant.d.ts +0 -2
- package/dist/test/concepts/assignment/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/assignment/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/assignment/toVue.spec.d.ts +0 -1
- package/dist/test/concepts/batch-assignment/constant.d.ts +0 -2
- package/dist/test/concepts/batch-assignment/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/batch-assignment/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/batch-assignment/toVue.spec.d.ts +0 -1
- package/dist/test/concepts/binary-expression/constant.d.ts +0 -2
- package/dist/test/concepts/binary-expression/getQuickInfoOffset.spec.d.ts +0 -1
- package/dist/test/concepts/binary-expression/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/binary-expression/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/binary-expression/toVue.spec.d.ts +0 -1
- package/dist/test/concepts/boolean-literal/constant.d.ts +0 -2
- package/dist/test/concepts/boolean-literal/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/boolean-literal/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/boolean-literal/toVue.spec.d.ts +0 -1
- package/dist/test/concepts/call-function/constant.d.ts +0 -2
- package/dist/test/concepts/call-function/getQuickInfoOffset.spec.d.ts +0 -1
- package/dist/test/concepts/call-function/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/call-function/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/call-interface/constant.d.ts +0 -2
- package/dist/test/concepts/call-interface/getQuickInfoOffset.spec.d.ts +0 -1
- package/dist/test/concepts/call-interface/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/call-interface/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/call-logic/constant.d.ts +0 -2
- package/dist/test/concepts/call-logic/getQuickInfoOffset.spec.d.ts +0 -1
- package/dist/test/concepts/call-logic/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/call-logic/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/call-logic/toUI.spec.d.ts +0 -1
- package/dist/test/concepts/call-logic/toVue.spec.d.ts +0 -1
- package/dist/test/concepts/call-logic/toVueDesigner.spec.d.ts +0 -1
- package/dist/test/concepts/data-source/constant.d.ts +0 -2
- package/dist/test/concepts/data-source/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/data-source/toEmbeddedTSFile.spec.d.ts +0 -1
- package/dist/test/concepts/entity/constant.d.ts +0 -2
- package/dist/test/concepts/entity/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/entity/toEmbeddedTSFile.spec.d.ts +0 -1
- package/dist/test/concepts/identifier/constant.d.ts +0 -2
- package/dist/test/concepts/identifier/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/identifier/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/identifier/toVue.spec.d.ts +0 -1
- package/dist/test/concepts/match/constant.d.ts +0 -2
- package/dist/test/concepts/match/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/match/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/member-expression/constant.d.ts +0 -2
- package/dist/test/concepts/member-expression/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/member-expression/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/member-expression/toVue.spec.d.ts +0 -1
- package/dist/test/concepts/new-composite/constant.d.ts +0 -2
- package/dist/test/concepts/new-composite/getQuickInfoOffset.spec.d.ts +0 -1
- package/dist/test/concepts/new-composite/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/new-composite/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/new-list/constant.d.ts +0 -2
- package/dist/test/concepts/new-list/getQuickInfoOffset.spec.d.ts +0 -1
- package/dist/test/concepts/new-list/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/new-list/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/new-map/constant.d.ts +0 -2
- package/dist/test/concepts/new-map/getQuickInfoOffset.spec.d.ts +0 -1
- package/dist/test/concepts/new-map/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/new-map/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/null-literal/constant.d.ts +0 -2
- package/dist/test/concepts/null-literal/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/null-literal/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/null-literal/toVue.spec.d.ts +0 -1
- package/dist/test/concepts/numeric-literal/constant.d.ts +0 -2
- package/dist/test/concepts/numeric-literal/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/numeric-literal/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/numeric-literal/toVue.spec.d.ts +0 -1
- package/dist/test/concepts/string-literal/constant.d.ts +0 -2
- package/dist/test/concepts/string-literal/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/string-literal/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/string-literal/toVue.spec.d.ts +0 -1
- package/dist/test/concepts/utils.d.ts +0 -13
- package/dist/test/concepts/validation-rule/constant.d.ts +0 -2
- package/dist/test/concepts/validation-rule/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/validation-rule/toJS.spec.d.ts +0 -1
- package/dist/test/concepts/validation-rule/validation-rule.spec.d.ts +0 -1
- package/dist/test/concepts/view-element/constant.d.ts +0 -2
- package/dist/test/concepts/view-element/toEmbeddedTS.spec.d.ts +0 -1
- package/dist/test/concepts/view-element/toVue.spec.d.ts +0 -1
- package/dist/test/setup.d.ts +0 -1
- package/dist/test/time-slicing/runner.spec.d.ts +0 -1
- package/dist/test/time-slicing/time-slicing-nodejs.spec.d.ts +0 -1
- package/dist/test/time-slicing/utils.d.ts +0 -1
- package/dist/test/time-slicing/wrapper.spec.d.ts +0 -1
|
@@ -1,615 +0,0 @@
|
|
|
1
|
-
import type { EmbeddedTSFileGenerator } from '../utils';
|
|
2
|
-
import { TranslatorState, TranslatorGenerator } from '../translator';
|
|
3
|
-
import type ForEachStatement from './ForEachStatement__';
|
|
4
|
-
import type Assignment from './Assignment__';
|
|
5
|
-
import type BatchAssignment from './BatchAssignment__';
|
|
6
|
-
import type MatchCase from './MatchCase__';
|
|
7
|
-
import type Logic from './Logic__';
|
|
8
|
-
import Module from './Module__';
|
|
9
|
-
import View from './View__';
|
|
10
|
-
import Frontend from './Frontend__';
|
|
11
|
-
import ProcessElement from './ProcessElement__';
|
|
12
|
-
import Process from './Process__';
|
|
13
|
-
import { EventPayload } from '../common/EventEmitter';
|
|
14
|
-
import BaseNode from '../common/BaseNode';
|
|
15
|
-
import Transactional from './Transactional__';
|
|
16
|
-
import TypeParam from './TypeParam__';
|
|
17
|
-
import Param from './Param__';
|
|
18
|
-
import Return from './Return__';
|
|
19
|
-
import Variable from './Variable__';
|
|
20
|
-
import LogicItem from './LogicItem__';
|
|
21
|
-
/**
|
|
22
|
-
* 覆写逻辑
|
|
23
|
-
*/
|
|
24
|
-
export declare class OverriddenLogic extends BaseNode {
|
|
25
|
-
/** 类名 */
|
|
26
|
-
static readonly ConceptName: string;
|
|
27
|
-
/**
|
|
28
|
-
* 是否为抽象类
|
|
29
|
-
* 抽象类不能产生 concept: string
|
|
30
|
-
*/
|
|
31
|
-
static isAbstract: boolean;
|
|
32
|
-
/** 继承链 */
|
|
33
|
-
static readonly inheritanceChain: string[];
|
|
34
|
-
/**
|
|
35
|
-
* 产品概念
|
|
36
|
-
*/
|
|
37
|
-
readonly concept: 'OverriddenLogic';
|
|
38
|
-
/**
|
|
39
|
-
* 覆写的模块
|
|
40
|
-
*/
|
|
41
|
-
overriddenModule: string;
|
|
42
|
-
/**
|
|
43
|
-
* 覆写逻辑名称
|
|
44
|
-
*/
|
|
45
|
-
name: string;
|
|
46
|
-
/**
|
|
47
|
-
* 覆写逻辑描述
|
|
48
|
-
*/
|
|
49
|
-
description: string;
|
|
50
|
-
/**
|
|
51
|
-
* 触发方式
|
|
52
|
-
*/
|
|
53
|
-
triggerType: string;
|
|
54
|
-
/**
|
|
55
|
-
* 定时任务表达式
|
|
56
|
-
*/
|
|
57
|
-
cron: string;
|
|
58
|
-
/**
|
|
59
|
-
* 事务
|
|
60
|
-
*/
|
|
61
|
-
transactional: Transactional;
|
|
62
|
-
/**
|
|
63
|
-
* 类型参数列表
|
|
64
|
-
*/
|
|
65
|
-
typeParams?: Array<TypeParam>;
|
|
66
|
-
/**
|
|
67
|
-
* 输入参数列表
|
|
68
|
-
*/
|
|
69
|
-
params: Array<Param>;
|
|
70
|
-
/**
|
|
71
|
-
* 输出参数列表
|
|
72
|
-
*/
|
|
73
|
-
returns: Array<Return>;
|
|
74
|
-
/**
|
|
75
|
-
* 变量列表
|
|
76
|
-
*/
|
|
77
|
-
variables: Array<Variable>;
|
|
78
|
-
/**
|
|
79
|
-
* 逻辑项列表
|
|
80
|
-
*/
|
|
81
|
-
body: Array<LogicItem>;
|
|
82
|
-
/**
|
|
83
|
-
* 逻辑项列表
|
|
84
|
-
*/
|
|
85
|
-
playground: Array<LogicItem>;
|
|
86
|
-
/**
|
|
87
|
-
* @param source 需要合并的部分参数
|
|
88
|
-
*/
|
|
89
|
-
constructor(source?: Partial<OverriddenLogic>);
|
|
90
|
-
static from(source: any, parentNode?: any, parentKey?: string): OverriddenLogic;
|
|
91
|
-
/**
|
|
92
|
-
* 设置覆写的模块
|
|
93
|
-
*/
|
|
94
|
-
setOverriddenModule(overriddenModule: string): void;
|
|
95
|
-
/**
|
|
96
|
-
* 设置覆写逻辑名称
|
|
97
|
-
*/
|
|
98
|
-
setName(name: string): void;
|
|
99
|
-
/**
|
|
100
|
-
* 设置覆写逻辑描述
|
|
101
|
-
*/
|
|
102
|
-
setDescription(description: string): void;
|
|
103
|
-
/**
|
|
104
|
-
* 设置触发方式
|
|
105
|
-
*/
|
|
106
|
-
setTriggerType(triggerType: string): void;
|
|
107
|
-
/**
|
|
108
|
-
* 设置定时任务表达式
|
|
109
|
-
*/
|
|
110
|
-
setCron(cron: string): void;
|
|
111
|
-
/**
|
|
112
|
-
* 设置事务
|
|
113
|
-
*/
|
|
114
|
-
setTransactional(transactional: Transactional): void;
|
|
115
|
-
getTypeParamExistingNames(excludedList?: Array<TypeParam>): string[];
|
|
116
|
-
getTypeParamUniqueName(name?: string): string;
|
|
117
|
-
/**
|
|
118
|
-
* 插入类型参数
|
|
119
|
-
* @internal
|
|
120
|
-
* @param name 类型参数名称,如果不填会自动生成一个唯一名称
|
|
121
|
-
*/
|
|
122
|
-
_insertTypeParamAt(name: string, index: number): TypeParam;
|
|
123
|
-
/**
|
|
124
|
-
* 插入类型参数
|
|
125
|
-
* @internal
|
|
126
|
-
* @param typeParamOptions 类型参数参数
|
|
127
|
-
*/
|
|
128
|
-
_insertTypeParamAt(typeParamOptions: Partial<TypeParam>, index: number): TypeParam;
|
|
129
|
-
/**
|
|
130
|
-
* 插入类型参数
|
|
131
|
-
* @internal
|
|
132
|
-
* @param typeParam 已有的类型参数实例
|
|
133
|
-
*/
|
|
134
|
-
_insertTypeParamAt(typeParam: TypeParam, index: number): TypeParam;
|
|
135
|
-
/**
|
|
136
|
-
* 插入类型参数
|
|
137
|
-
* @param name 类型参数名称,如果不填会自动生成一个唯一名称
|
|
138
|
-
*/
|
|
139
|
-
insertTypeParamAt(name: string, index: number): TypeParam;
|
|
140
|
-
/**
|
|
141
|
-
* 插入类型参数
|
|
142
|
-
* @param typeParamOptions 类型参数参数
|
|
143
|
-
*/
|
|
144
|
-
insertTypeParamAt(typeParamOptions: Partial<TypeParam>, index: number): TypeParam;
|
|
145
|
-
/**
|
|
146
|
-
* 插入类型参数
|
|
147
|
-
* @param typeParam 已有的类型参数实例
|
|
148
|
-
*/
|
|
149
|
-
insertTypeParamAt(typeParam: TypeParam, index: number): TypeParam;
|
|
150
|
-
/**
|
|
151
|
-
* 添加类型参数
|
|
152
|
-
* @internal
|
|
153
|
-
* @param name 类型参数名称,如果不填会自动生成一个唯一名称
|
|
154
|
-
*/
|
|
155
|
-
_addTypeParam(name?: string): TypeParam;
|
|
156
|
-
/**
|
|
157
|
-
* 添加类型参数
|
|
158
|
-
* @internal
|
|
159
|
-
* @param typeParamOptions 类型参数参数
|
|
160
|
-
*/
|
|
161
|
-
_addTypeParam(typeParamOptions: Partial<TypeParam>): TypeParam;
|
|
162
|
-
/**
|
|
163
|
-
* 添加类型参数
|
|
164
|
-
* @internal
|
|
165
|
-
* @param typeParam 已有的类型参数实例
|
|
166
|
-
*/
|
|
167
|
-
_addTypeParam(typeParam: TypeParam): TypeParam;
|
|
168
|
-
/**
|
|
169
|
-
* 添加类型参数
|
|
170
|
-
* @internal
|
|
171
|
-
* @param name 类型参数名称,如果不填会自动生成一个唯一名称
|
|
172
|
-
*/
|
|
173
|
-
addTypeParam(name?: string): TypeParam;
|
|
174
|
-
/**
|
|
175
|
-
* 添加类型参数
|
|
176
|
-
* @param typeParamOptions 类型参数参数
|
|
177
|
-
*/
|
|
178
|
-
addTypeParam(typeParamOptions: Partial<TypeParam>): TypeParam;
|
|
179
|
-
/**
|
|
180
|
-
* 添加类型参数
|
|
181
|
-
* @param typeParam 已有的类型参数实例
|
|
182
|
-
*/
|
|
183
|
-
addTypeParam(typeParam: TypeParam): TypeParam;
|
|
184
|
-
getParamUniqueName(name?: string): string;
|
|
185
|
-
/**
|
|
186
|
-
* 插入输入参数
|
|
187
|
-
* @internal
|
|
188
|
-
* @param name 输入参数名称,如果不填会自动生成一个唯一名称
|
|
189
|
-
*/
|
|
190
|
-
_insertParamAt(name: string, index: number): Param;
|
|
191
|
-
/**
|
|
192
|
-
* 插入输入参数
|
|
193
|
-
* @internal
|
|
194
|
-
* @param paramOptions 输入参数参数
|
|
195
|
-
*/
|
|
196
|
-
_insertParamAt(paramOptions: Partial<Param>, index: number): Param;
|
|
197
|
-
/**
|
|
198
|
-
* 插入输入参数
|
|
199
|
-
* @internal
|
|
200
|
-
* @param param 已有的输入参数实例
|
|
201
|
-
*/
|
|
202
|
-
_insertParamAt(param: Param, index: number): Param;
|
|
203
|
-
/**
|
|
204
|
-
* 插入输入参数
|
|
205
|
-
* @param name 输入参数名称,如果不填会自动生成一个唯一名称
|
|
206
|
-
*/
|
|
207
|
-
insertParamAt(name: string, index: number): Param;
|
|
208
|
-
/**
|
|
209
|
-
* 插入输入参数
|
|
210
|
-
* @param paramOptions 输入参数参数
|
|
211
|
-
*/
|
|
212
|
-
insertParamAt(paramOptions: Partial<Param>, index: number): Param;
|
|
213
|
-
/**
|
|
214
|
-
* 插入输入参数
|
|
215
|
-
* @param param 已有的输入参数实例
|
|
216
|
-
*/
|
|
217
|
-
insertParamAt(param: Param, index: number): Param;
|
|
218
|
-
/**
|
|
219
|
-
* 添加输入参数
|
|
220
|
-
* @internal
|
|
221
|
-
* @param name 输入参数名称,如果不填会自动生成一个唯一名称
|
|
222
|
-
*/
|
|
223
|
-
_addParam(name?: string): Param;
|
|
224
|
-
/**
|
|
225
|
-
* 添加输入参数
|
|
226
|
-
* @internal
|
|
227
|
-
* @param paramOptions 输入参数参数
|
|
228
|
-
*/
|
|
229
|
-
_addParam(paramOptions: Partial<Param>): Param;
|
|
230
|
-
/**
|
|
231
|
-
* 添加输入参数
|
|
232
|
-
* @internal
|
|
233
|
-
* @param param 已有的输入参数实例
|
|
234
|
-
*/
|
|
235
|
-
_addParam(param: Param): Param;
|
|
236
|
-
/**
|
|
237
|
-
* 添加输入参数
|
|
238
|
-
* @internal
|
|
239
|
-
* @param name 输入参数名称,如果不填会自动生成一个唯一名称
|
|
240
|
-
*/
|
|
241
|
-
addParam(name?: string): Param;
|
|
242
|
-
/**
|
|
243
|
-
* 添加输入参数
|
|
244
|
-
* @param paramOptions 输入参数参数
|
|
245
|
-
*/
|
|
246
|
-
addParam(paramOptions: Partial<Param>): Param;
|
|
247
|
-
/**
|
|
248
|
-
* 添加输入参数
|
|
249
|
-
* @param param 已有的输入参数实例
|
|
250
|
-
*/
|
|
251
|
-
addParam(param: Param): Param;
|
|
252
|
-
getReturnUniqueName(name?: string): string;
|
|
253
|
-
/**
|
|
254
|
-
* 插入输出参数
|
|
255
|
-
* @internal
|
|
256
|
-
* @param name 输出参数名称,如果不填会自动生成一个唯一名称
|
|
257
|
-
*/
|
|
258
|
-
_insertReturnAt(name: string, index: number): Return;
|
|
259
|
-
/**
|
|
260
|
-
* 插入输出参数
|
|
261
|
-
* @internal
|
|
262
|
-
* @param retOptions 输出参数参数
|
|
263
|
-
*/
|
|
264
|
-
_insertReturnAt(retOptions: Partial<Return>, index: number): Return;
|
|
265
|
-
/**
|
|
266
|
-
* 插入输出参数
|
|
267
|
-
* @internal
|
|
268
|
-
* @param ret 已有的输出参数实例
|
|
269
|
-
*/
|
|
270
|
-
_insertReturnAt(ret: Return, index: number): Return;
|
|
271
|
-
/**
|
|
272
|
-
* 插入输出参数
|
|
273
|
-
* @param name 输出参数名称,如果不填会自动生成一个唯一名称
|
|
274
|
-
*/
|
|
275
|
-
insertReturnAt(name: string, index: number): Return;
|
|
276
|
-
/**
|
|
277
|
-
* 插入输出参数
|
|
278
|
-
* @param retOptions 输出参数参数
|
|
279
|
-
*/
|
|
280
|
-
insertReturnAt(retOptions: Partial<Return>, index: number): Return;
|
|
281
|
-
/**
|
|
282
|
-
* 插入输出参数
|
|
283
|
-
* @param ret 已有的输出参数实例
|
|
284
|
-
*/
|
|
285
|
-
insertReturnAt(ret: Return, index: number): Return;
|
|
286
|
-
/**
|
|
287
|
-
* 添加输出参数
|
|
288
|
-
* @internal
|
|
289
|
-
* @param name 输出参数名称,如果不填会自动生成一个唯一名称
|
|
290
|
-
*/
|
|
291
|
-
_addReturn(name?: string): Return;
|
|
292
|
-
/**
|
|
293
|
-
* 添加输出参数
|
|
294
|
-
* @internal
|
|
295
|
-
* @param retOptions 输出参数参数
|
|
296
|
-
*/
|
|
297
|
-
_addReturn(retOptions: Partial<Return>): Return;
|
|
298
|
-
/**
|
|
299
|
-
* 添加输出参数
|
|
300
|
-
* @internal
|
|
301
|
-
* @param ret 已有的输出参数实例
|
|
302
|
-
*/
|
|
303
|
-
_addReturn(ret: Return): Return;
|
|
304
|
-
/**
|
|
305
|
-
* 添加输出参数
|
|
306
|
-
* @internal
|
|
307
|
-
* @param name 输出参数名称,如果不填会自动生成一个唯一名称
|
|
308
|
-
*/
|
|
309
|
-
addReturn(name?: string): Return;
|
|
310
|
-
/**
|
|
311
|
-
* 添加输出参数
|
|
312
|
-
* @param retOptions 输出参数参数
|
|
313
|
-
*/
|
|
314
|
-
addReturn(retOptions: Partial<Return>): Return;
|
|
315
|
-
/**
|
|
316
|
-
* 添加输出参数
|
|
317
|
-
* @param ret 已有的输出参数实例
|
|
318
|
-
*/
|
|
319
|
-
addReturn(ret: Return): Return;
|
|
320
|
-
getVariableUniqueName(name?: string): string;
|
|
321
|
-
/**
|
|
322
|
-
* 插入变量
|
|
323
|
-
* @internal
|
|
324
|
-
* @param name 变量名称,如果不填会自动生成一个唯一名称
|
|
325
|
-
*/
|
|
326
|
-
_insertVariableAt(name: string, index: number): Variable;
|
|
327
|
-
/**
|
|
328
|
-
* 插入变量
|
|
329
|
-
* @internal
|
|
330
|
-
* @param variableOptions 变量参数
|
|
331
|
-
*/
|
|
332
|
-
_insertVariableAt(variableOptions: Partial<Variable>, index: number): Variable;
|
|
333
|
-
/**
|
|
334
|
-
* 插入变量
|
|
335
|
-
* @internal
|
|
336
|
-
* @param variable 已有的变量实例
|
|
337
|
-
*/
|
|
338
|
-
_insertVariableAt(variable: Variable, index: number): Variable;
|
|
339
|
-
/**
|
|
340
|
-
* 插入变量
|
|
341
|
-
* @param name 变量名称,如果不填会自动生成一个唯一名称
|
|
342
|
-
*/
|
|
343
|
-
insertVariableAt(name: string, index: number): Variable;
|
|
344
|
-
/**
|
|
345
|
-
* 插入变量
|
|
346
|
-
* @param variableOptions 变量参数
|
|
347
|
-
*/
|
|
348
|
-
insertVariableAt(variableOptions: Partial<Variable>, index: number): Variable;
|
|
349
|
-
/**
|
|
350
|
-
* 插入变量
|
|
351
|
-
* @param variable 已有的变量实例
|
|
352
|
-
*/
|
|
353
|
-
insertVariableAt(variable: Variable, index: number): Variable;
|
|
354
|
-
/**
|
|
355
|
-
* 添加变量
|
|
356
|
-
* @internal
|
|
357
|
-
* @param name 变量名称,如果不填会自动生成一个唯一名称
|
|
358
|
-
*/
|
|
359
|
-
_addVariable(name?: string): Variable;
|
|
360
|
-
/**
|
|
361
|
-
* 添加变量
|
|
362
|
-
* @internal
|
|
363
|
-
* @param variableOptions 变量参数
|
|
364
|
-
*/
|
|
365
|
-
_addVariable(variableOptions: Partial<Variable>): Variable;
|
|
366
|
-
/**
|
|
367
|
-
* 添加变量
|
|
368
|
-
* @internal
|
|
369
|
-
* @param variable 已有的变量实例
|
|
370
|
-
*/
|
|
371
|
-
_addVariable(variable: Variable): Variable;
|
|
372
|
-
/**
|
|
373
|
-
* 添加变量
|
|
374
|
-
* @internal
|
|
375
|
-
* @param name 变量名称,如果不填会自动生成一个唯一名称
|
|
376
|
-
*/
|
|
377
|
-
addVariable(name?: string): Variable;
|
|
378
|
-
/**
|
|
379
|
-
* 添加变量
|
|
380
|
-
* @param variableOptions 变量参数
|
|
381
|
-
*/
|
|
382
|
-
addVariable(variableOptions: Partial<Variable>): Variable;
|
|
383
|
-
/**
|
|
384
|
-
* 添加变量
|
|
385
|
-
* @param variable 已有的变量实例
|
|
386
|
-
*/
|
|
387
|
-
addVariable(variable: Variable): Variable;
|
|
388
|
-
/**
|
|
389
|
-
* 插入逻辑项
|
|
390
|
-
* @internal
|
|
391
|
-
* @param logicItemOptions 逻辑项参数
|
|
392
|
-
*/
|
|
393
|
-
_insertItemInBodyAt(logicItemOptions: Partial<LogicItem>, index: number): LogicItem;
|
|
394
|
-
/**
|
|
395
|
-
* 插入逻辑项
|
|
396
|
-
* @internal
|
|
397
|
-
* @param logicItem 已有的逻辑项实例
|
|
398
|
-
*/
|
|
399
|
-
_insertItemInBodyAt(logicItem: LogicItem, index: number): LogicItem;
|
|
400
|
-
/**
|
|
401
|
-
* 插入逻辑项
|
|
402
|
-
* @param logicItemOptions 逻辑项参数
|
|
403
|
-
*/
|
|
404
|
-
insertItemInBodyAt(logicItemOptions: Partial<LogicItem>, index: number): LogicItem;
|
|
405
|
-
/**
|
|
406
|
-
* 插入逻辑项
|
|
407
|
-
* @param logicItem 已有的逻辑项实例
|
|
408
|
-
*/
|
|
409
|
-
insertItemInBodyAt(logicItem: LogicItem, index: number): LogicItem;
|
|
410
|
-
/**
|
|
411
|
-
* 添加逻辑项
|
|
412
|
-
* @internal
|
|
413
|
-
* @param logicItemOptions 逻辑项参数
|
|
414
|
-
*/
|
|
415
|
-
_addItemInBody(logicItemOptions: Partial<LogicItem>): LogicItem;
|
|
416
|
-
/**
|
|
417
|
-
* 添加逻辑项
|
|
418
|
-
* @internal
|
|
419
|
-
* @param logicItem 已有的逻辑项实例
|
|
420
|
-
*/
|
|
421
|
-
_addItemInBody(logicItem: LogicItem): LogicItem;
|
|
422
|
-
/**
|
|
423
|
-
* 添加逻辑项
|
|
424
|
-
* @param logicItemOptions 逻辑项参数
|
|
425
|
-
*/
|
|
426
|
-
addItemInBody(logicItemOptions: Partial<LogicItem>): LogicItem;
|
|
427
|
-
/**
|
|
428
|
-
* 添加逻辑项
|
|
429
|
-
* @param logicItem 已有的逻辑项实例
|
|
430
|
-
*/
|
|
431
|
-
addItemInBody(logicItem: LogicItem): LogicItem;
|
|
432
|
-
/**
|
|
433
|
-
* 插入逻辑项
|
|
434
|
-
* @internal
|
|
435
|
-
* @param logicItemOptions 逻辑项参数
|
|
436
|
-
*/
|
|
437
|
-
_insertItemInPlaygroundAt(logicItemOptions: Partial<LogicItem>, index: number): LogicItem;
|
|
438
|
-
/**
|
|
439
|
-
* 插入逻辑项
|
|
440
|
-
* @internal
|
|
441
|
-
* @param logicItem 已有的逻辑项实例
|
|
442
|
-
*/
|
|
443
|
-
_insertItemInPlaygroundAt(logicItem: LogicItem, index: number): LogicItem;
|
|
444
|
-
/**
|
|
445
|
-
* 插入逻辑项
|
|
446
|
-
* @param logicItemOptions 逻辑项参数
|
|
447
|
-
*/
|
|
448
|
-
insertItemInPlaygroundAt(logicItemOptions: Partial<LogicItem>, index: number): LogicItem;
|
|
449
|
-
/**
|
|
450
|
-
* 插入逻辑项
|
|
451
|
-
* @param logicItem 已有的逻辑项实例
|
|
452
|
-
*/
|
|
453
|
-
insertItemInPlaygroundAt(logicItem: LogicItem, index: number): LogicItem;
|
|
454
|
-
/**
|
|
455
|
-
* 添加逻辑项
|
|
456
|
-
* @internal
|
|
457
|
-
* @param logicItemOptions 逻辑项参数
|
|
458
|
-
*/
|
|
459
|
-
_addItemInPlayground(logicItemOptions: Partial<LogicItem>): LogicItem;
|
|
460
|
-
/**
|
|
461
|
-
* 添加逻辑项
|
|
462
|
-
* @internal
|
|
463
|
-
* @param logicItem 已有的逻辑项实例
|
|
464
|
-
*/
|
|
465
|
-
_addItemInPlayground(logicItem: LogicItem): LogicItem;
|
|
466
|
-
/**
|
|
467
|
-
* 添加逻辑项
|
|
468
|
-
* @param logicItemOptions 逻辑项参数
|
|
469
|
-
*/
|
|
470
|
-
addItemInPlayground(logicItemOptions: Partial<LogicItem>): LogicItem;
|
|
471
|
-
/**
|
|
472
|
-
* 添加逻辑项
|
|
473
|
-
* @param logicItem 已有的逻辑项实例
|
|
474
|
-
*/
|
|
475
|
-
addItemInPlayground(logicItem: LogicItem): LogicItem;
|
|
476
|
-
/**
|
|
477
|
-
* 删除类型参数
|
|
478
|
-
* @param name 类型参数名称
|
|
479
|
-
*/
|
|
480
|
-
removeTypeParam(name: string): void;
|
|
481
|
-
/**
|
|
482
|
-
* 删除类型参数
|
|
483
|
-
* @param typeParam 已有的类型参数实例
|
|
484
|
-
*/
|
|
485
|
-
removeTypeParam(typeParam: TypeParam): void;
|
|
486
|
-
/**
|
|
487
|
-
* 删除输入参数
|
|
488
|
-
* @param name 输入参数名称
|
|
489
|
-
*/
|
|
490
|
-
removeParam(name: string): void;
|
|
491
|
-
/**
|
|
492
|
-
* 删除输入参数
|
|
493
|
-
* @param param 已有的输入参数实例
|
|
494
|
-
*/
|
|
495
|
-
removeParam(param: Param): void;
|
|
496
|
-
/**
|
|
497
|
-
* 删除输出参数
|
|
498
|
-
* @param name 输出参数名称
|
|
499
|
-
*/
|
|
500
|
-
removeReturn(name: string): void;
|
|
501
|
-
/**
|
|
502
|
-
* 删除输出参数
|
|
503
|
-
* @param ret 已有的输出参数实例
|
|
504
|
-
*/
|
|
505
|
-
removeReturn(ret: Return): void;
|
|
506
|
-
/**
|
|
507
|
-
* 删除变量
|
|
508
|
-
* @param name 变量名称
|
|
509
|
-
*/
|
|
510
|
-
removeVariable(name: string): void;
|
|
511
|
-
/**
|
|
512
|
-
* 删除变量
|
|
513
|
-
* @param variable 已有的变量实例
|
|
514
|
-
*/
|
|
515
|
-
removeVariable(variable: Variable): void;
|
|
516
|
-
/**
|
|
517
|
-
* 删除逻辑项
|
|
518
|
-
* @param logicItem 已有的逻辑项实例
|
|
519
|
-
*/
|
|
520
|
-
removeItemInBody(logicItem: LogicItem): void;
|
|
521
|
-
/**
|
|
522
|
-
* 删除逻辑项
|
|
523
|
-
* @param logicItem 已有的逻辑项实例
|
|
524
|
-
*/
|
|
525
|
-
removeItemInPlayground(logicItem: LogicItem): void;
|
|
526
|
-
/**
|
|
527
|
-
* 祖先 Module
|
|
528
|
-
*/
|
|
529
|
-
get module(): Module;
|
|
530
|
-
/**
|
|
531
|
-
* 祖先 View
|
|
532
|
-
*/
|
|
533
|
-
get view(): View;
|
|
534
|
-
/**
|
|
535
|
-
* 祖先 Frontend
|
|
536
|
-
*/
|
|
537
|
-
get frontend(): Frontend;
|
|
538
|
-
/**
|
|
539
|
-
* 祖先 ProcessElement
|
|
540
|
-
*/
|
|
541
|
-
get processElement(): ProcessElement;
|
|
542
|
-
/**
|
|
543
|
-
* 祖先 Process
|
|
544
|
-
*/
|
|
545
|
-
get process(): Process;
|
|
546
|
-
get calleewholeKey(): string;
|
|
547
|
-
setCronAndTriggerType(cron: string, triggerType: string): void;
|
|
548
|
-
/**
|
|
549
|
-
* 创建的时候 打开事务 通过开关设置数据库事务
|
|
550
|
-
*/
|
|
551
|
-
openTransactional(flag: boolean): void;
|
|
552
|
-
findLogicItemByConcept(concept: string): LogicItem;
|
|
553
|
-
onChange($event?: EventPayload): void;
|
|
554
|
-
getVarExistingNames(excludedList?: Array<Param | Return | Variable>): any[];
|
|
555
|
-
toJSContent(code: string, state?: TranslatorState): string;
|
|
556
|
-
toJS(state?: TranslatorState, type?: string): string;
|
|
557
|
-
toProcessService(): {
|
|
558
|
-
config: {
|
|
559
|
-
serviceType: string;
|
|
560
|
-
};
|
|
561
|
-
url: {
|
|
562
|
-
method: string;
|
|
563
|
-
path: string;
|
|
564
|
-
};
|
|
565
|
-
};
|
|
566
|
-
toService(): {
|
|
567
|
-
config: {
|
|
568
|
-
serviceType: string;
|
|
569
|
-
};
|
|
570
|
-
url: {
|
|
571
|
-
method: string;
|
|
572
|
-
path: string;
|
|
573
|
-
};
|
|
574
|
-
};
|
|
575
|
-
toEmbeddedTSInProcess(state?: TranslatorState, prependCode?: string, noName?: boolean, prefix?: boolean): TranslatorGenerator;
|
|
576
|
-
toEmbeddedTSNoExport(state?: TranslatorState): string;
|
|
577
|
-
toEmbeddedTS(state?: TranslatorState, prefix?: string): TranslatorGenerator;
|
|
578
|
-
toNaturalTS(state?: TranslatorState): string;
|
|
579
|
-
toTextualNASL(state?: TranslatorState, prefix?: string, logicName?: string, currentNode?: BaseNode): string;
|
|
580
|
-
getRightCode(code: string, assignment: Assignment | BatchAssignment, rightNode: any): Generator<any, string, any>;
|
|
581
|
-
handleReplaceCode(code: string, variable: string, replaceCode: string): string;
|
|
582
|
-
handleForEachCode(code: string, forEachStatement: ForEachStatement): Generator<any, string, any>;
|
|
583
|
-
handleMatchCaseCode(code: string, matchCase: MatchCase): Generator<any, string, any>;
|
|
584
|
-
getNamespace(): string;
|
|
585
|
-
getTsNamespace(): string;
|
|
586
|
-
/**
|
|
587
|
-
* 生成宿主语言的文件路径
|
|
588
|
-
* @param name 一般不用传,用于 rename
|
|
589
|
-
*/
|
|
590
|
-
getEmbeddedFilePath(name?: string): string;
|
|
591
|
-
toEmbeddedTSFile(): EmbeddedTSFileGenerator;
|
|
592
|
-
static getDefaultOptions(): {
|
|
593
|
-
body: {
|
|
594
|
-
concept: string;
|
|
595
|
-
label: string;
|
|
596
|
-
kind: string;
|
|
597
|
-
type: string;
|
|
598
|
-
}[];
|
|
599
|
-
};
|
|
600
|
-
saveStructureOfCallQueryComponents(root?: BaseNode | Logic): Promise<void>;
|
|
601
|
-
setTransactionEnabled(flag: boolean): void;
|
|
602
|
-
fake: boolean;
|
|
603
|
-
getPath: () => string;
|
|
604
|
-
delete(): void;
|
|
605
|
-
haveError: boolean;
|
|
606
|
-
isSmpty: boolean;
|
|
607
|
-
get pathName(): string;
|
|
608
|
-
getEventLogicName(type?: string): string;
|
|
609
|
-
virtualParams: Array<Param>;
|
|
610
|
-
get getLogicBelongTo(): string;
|
|
611
|
-
static checkLogicReturnTypeHasError(logic: Logic): boolean;
|
|
612
|
-
get getIsEmptyLogic(): boolean;
|
|
613
|
-
getOverriddenDepLogic(): Logic;
|
|
614
|
-
}
|
|
615
|
-
export default OverriddenLogic;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { TranslatorGenerator } from '../translator';
|
|
2
|
-
import { Range, GetCode } from './utils/quick-info';
|
|
3
|
-
import LogicItem from './LogicItem__';
|
|
4
|
-
import TypeAnnotation from './TypeAnnotation__';
|
|
5
|
-
/**
|
|
6
|
-
* 分页
|
|
7
|
-
*/
|
|
8
|
-
export declare class Paginate extends LogicItem {
|
|
9
|
-
/** 类名 */
|
|
10
|
-
static readonly ConceptName: string;
|
|
11
|
-
/**
|
|
12
|
-
* 是否为抽象类
|
|
13
|
-
* 抽象类不能产生 concept: string
|
|
14
|
-
*/
|
|
15
|
-
static isAbstract: boolean;
|
|
16
|
-
/** 继承链 */
|
|
17
|
-
static readonly inheritanceChain: string[];
|
|
18
|
-
/**
|
|
19
|
-
* 产品概念
|
|
20
|
-
*/
|
|
21
|
-
readonly concept: 'Paginate';
|
|
22
|
-
/**
|
|
23
|
-
* 分页对象
|
|
24
|
-
*/
|
|
25
|
-
list: LogicItem;
|
|
26
|
-
/**
|
|
27
|
-
* 页数
|
|
28
|
-
*/
|
|
29
|
-
page: LogicItem;
|
|
30
|
-
/**
|
|
31
|
-
* 每页记录数
|
|
32
|
-
*/
|
|
33
|
-
size: LogicItem;
|
|
34
|
-
/**
|
|
35
|
-
* 类型
|
|
36
|
-
*/
|
|
37
|
-
typeAnnotation: TypeAnnotation;
|
|
38
|
-
/**
|
|
39
|
-
* @param source 需要合并的部分参数
|
|
40
|
-
*/
|
|
41
|
-
constructor(source?: Partial<Paginate>);
|
|
42
|
-
static from(source: any, parentNode?: any, parentKey?: string): Paginate;
|
|
43
|
-
/**
|
|
44
|
-
* 设置分页对象
|
|
45
|
-
*/
|
|
46
|
-
setList(list: LogicItem): void;
|
|
47
|
-
/**
|
|
48
|
-
* 设置页数
|
|
49
|
-
*/
|
|
50
|
-
setPage(page: LogicItem): void;
|
|
51
|
-
/**
|
|
52
|
-
* 设置每页记录数
|
|
53
|
-
*/
|
|
54
|
-
setSize(size: LogicItem): void;
|
|
55
|
-
toNaturalTS(state?: import("../translator").TranslatorState): string;
|
|
56
|
-
toEmbeddedTS(state?: import("../translator").TranslatorState): TranslatorGenerator;
|
|
57
|
-
getQuickInfoOffset(range: Range, getCode: GetCode): import("./utils/quick-info").QuickInfoData;
|
|
58
|
-
}
|
|
59
|
-
export default Paginate;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { TranslatorState } from '../translator';
|
|
2
|
-
import Param from './Param__';
|
|
3
|
-
/**
|
|
4
|
-
* 带分组的参数
|
|
5
|
-
*/
|
|
6
|
-
export declare class ParamWithGroup extends Param {
|
|
7
|
-
/** 类名 */
|
|
8
|
-
static readonly ConceptName: string;
|
|
9
|
-
/**
|
|
10
|
-
* 是否为抽象类
|
|
11
|
-
* 抽象类不能产生 concept: string
|
|
12
|
-
*/
|
|
13
|
-
static isAbstract: boolean;
|
|
14
|
-
/** 继承链 */
|
|
15
|
-
static readonly inheritanceChain: string[];
|
|
16
|
-
/**
|
|
17
|
-
* 产品概念
|
|
18
|
-
*/
|
|
19
|
-
readonly concept: 'ParamWithGroup';
|
|
20
|
-
/**
|
|
21
|
-
* 标题
|
|
22
|
-
*/
|
|
23
|
-
title: string;
|
|
24
|
-
/**
|
|
25
|
-
* 分组
|
|
26
|
-
*/
|
|
27
|
-
group: string;
|
|
28
|
-
/**
|
|
29
|
-
* @param source 需要合并的部分参数
|
|
30
|
-
*/
|
|
31
|
-
constructor(source?: Partial<ParamWithGroup>);
|
|
32
|
-
static from(source: any, parentNode?: any, parentKey?: string): ParamWithGroup;
|
|
33
|
-
/**
|
|
34
|
-
* 设置标题
|
|
35
|
-
*/
|
|
36
|
-
setTitle(title: string): void;
|
|
37
|
-
/**
|
|
38
|
-
* 设置分组
|
|
39
|
-
*/
|
|
40
|
-
setGroup(group: string): void;
|
|
41
|
-
static getDefaultOptions(): any;
|
|
42
|
-
toTextualNASL(state?: TranslatorState, dontType?: boolean): string;
|
|
43
|
-
}
|
|
44
|
-
export default ParamWithGroup;
|