@lcap/nasl 3.8.2-beta.8 → 3.8.2-beta.9
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.js +5 -3
- package/out/common/BaseNode.js.map +1 -1
- package/out/common/ComponentAPI.d.ts +9 -0
- package/out/concepts/AuthLogicForCallInterface__.js +21 -6
- package/out/concepts/AuthLogicForCallInterface__.js.map +1 -1
- package/out/concepts/BusinessComponent__.js +24 -8
- package/out/concepts/BusinessComponent__.js.map +1 -1
- package/out/concepts/BusinessLogic__.js +21 -6
- package/out/concepts/BusinessLogic__.js.map +1 -1
- package/out/concepts/CallInterface__.js +2 -1
- package/out/concepts/CallInterface__.js.map +1 -1
- package/out/concepts/CallLogic__.d.ts +1 -0
- package/out/concepts/CallLogic__.js +25 -10
- package/out/concepts/CallLogic__.js.map +1 -1
- package/out/concepts/Logic__.js +22 -7
- package/out/concepts/Logic__.js.map +1 -1
- package/out/concepts/MemberExpression__.js +19 -13
- package/out/concepts/MemberExpression__.js.map +1 -1
- package/out/concepts/OverriddenLogic__.js +21 -6
- package/out/concepts/OverriddenLogic__.js.map +1 -1
- package/out/concepts/ViewElement__.js +1 -1
- package/out/concepts/ViewElement__.js.map +1 -1
- package/out/concepts/View__.js +32 -14
- package/out/concepts/View__.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.processV2.js +78 -0
- package/out/concepts/basics/stdlib/nasl.processV2.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.ui.js +40 -40
- package/out/concepts/basics/stdlib/nasl.ui.js.map +1 -1
- package/out/generator/genBundleFiles.js +1 -1
- package/out/generator/genBundleFiles.js.map +1 -1
- package/out/generator/release-body/utils.js +1 -1
- package/out/natural/transformTS2UI.js +20 -14
- package/out/natural/transformTS2UI.js.map +1 -1
- package/out/server/getMemberIdentifier.js +11 -17
- package/out/server/getMemberIdentifier.js.map +1 -1
- package/out/server/naslServer.js +7 -2
- package/out/server/naslServer.js.map +1 -1
- package/package.json +1 -1
- package/sandbox/stdlib/nasl.processV2.ts +19 -0
- package/sandbox/stdlib/nasl.ui.ts +8 -8
- package/src/common/BaseNode.ts +5 -3
- package/src/common/ComponentAPI.ts +7 -0
- package/src/concepts/AuthLogicForCallInterface__.ts +23 -6
- package/src/concepts/BusinessComponent__.ts +26 -8
- package/src/concepts/BusinessLogic__.ts +23 -6
- package/src/concepts/CallInterface__.ts +2 -2
- package/src/concepts/CallLogic__.ts +31 -10
- package/src/concepts/Logic__.ts +27 -10
- package/src/concepts/MemberExpression__.ts +20 -13
- package/src/concepts/OverriddenLogic__.ts +23 -6
- package/src/concepts/ViewElement__.ts +1 -2
- package/src/concepts/View__.ts +35 -14
- package/src/concepts/basics/stdlib/nasl.processV2.ts +79 -0
- package/src/concepts/basics/stdlib/nasl.ui.ts +40 -40
- package/src/generator/genBundleFiles.ts +1 -1
- package/src/generator/release-body/utils.ts +1 -1
- package/src/natural/transformTS2UI.ts +19 -14
- package/src/server/getMemberIdentifier.ts +14 -14
- package/src/server/naslServer.ts +7 -2
- package/test/concepts/member-expression/__snapshots__/toJS.spec.ts.snap +1 -1
- package/test/concepts/member-expression/__snapshots__/toVue.spec.ts.snap +1 -1
- 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
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">11.14% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>97/870</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">5.84% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>34/582</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">6.33% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>9/142</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">10.77% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>89/826</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -2504,163 +2504,7 @@
|
|
|
2504
2504
|
<a name='L2439'></a><a href='#L2439'>2439</a>
|
|
2505
2505
|
<a name='L2440'></a><a href='#L2440'>2440</a>
|
|
2506
2506
|
<a name='L2441'></a><a href='#L2441'>2441</a>
|
|
2507
|
-
<a name='L2442'></a><a href='#L2442'>2442</a>
|
|
2508
|
-
<a name='L2443'></a><a href='#L2443'>2443</a>
|
|
2509
|
-
<a name='L2444'></a><a href='#L2444'>2444</a>
|
|
2510
|
-
<a name='L2445'></a><a href='#L2445'>2445</a>
|
|
2511
|
-
<a name='L2446'></a><a href='#L2446'>2446</a>
|
|
2512
|
-
<a name='L2447'></a><a href='#L2447'>2447</a>
|
|
2513
|
-
<a name='L2448'></a><a href='#L2448'>2448</a>
|
|
2514
|
-
<a name='L2449'></a><a href='#L2449'>2449</a>
|
|
2515
|
-
<a name='L2450'></a><a href='#L2450'>2450</a>
|
|
2516
|
-
<a name='L2451'></a><a href='#L2451'>2451</a>
|
|
2517
|
-
<a name='L2452'></a><a href='#L2452'>2452</a>
|
|
2518
|
-
<a name='L2453'></a><a href='#L2453'>2453</a>
|
|
2519
|
-
<a name='L2454'></a><a href='#L2454'>2454</a>
|
|
2520
|
-
<a name='L2455'></a><a href='#L2455'>2455</a>
|
|
2521
|
-
<a name='L2456'></a><a href='#L2456'>2456</a>
|
|
2522
|
-
<a name='L2457'></a><a href='#L2457'>2457</a>
|
|
2523
|
-
<a name='L2458'></a><a href='#L2458'>2458</a>
|
|
2524
|
-
<a name='L2459'></a><a href='#L2459'>2459</a>
|
|
2525
|
-
<a name='L2460'></a><a href='#L2460'>2460</a>
|
|
2526
|
-
<a name='L2461'></a><a href='#L2461'>2461</a>
|
|
2527
|
-
<a name='L2462'></a><a href='#L2462'>2462</a>
|
|
2528
|
-
<a name='L2463'></a><a href='#L2463'>2463</a>
|
|
2529
|
-
<a name='L2464'></a><a href='#L2464'>2464</a>
|
|
2530
|
-
<a name='L2465'></a><a href='#L2465'>2465</a>
|
|
2531
|
-
<a name='L2466'></a><a href='#L2466'>2466</a>
|
|
2532
|
-
<a name='L2467'></a><a href='#L2467'>2467</a>
|
|
2533
|
-
<a name='L2468'></a><a href='#L2468'>2468</a>
|
|
2534
|
-
<a name='L2469'></a><a href='#L2469'>2469</a>
|
|
2535
|
-
<a name='L2470'></a><a href='#L2470'>2470</a>
|
|
2536
|
-
<a name='L2471'></a><a href='#L2471'>2471</a>
|
|
2537
|
-
<a name='L2472'></a><a href='#L2472'>2472</a>
|
|
2538
|
-
<a name='L2473'></a><a href='#L2473'>2473</a>
|
|
2539
|
-
<a name='L2474'></a><a href='#L2474'>2474</a>
|
|
2540
|
-
<a name='L2475'></a><a href='#L2475'>2475</a>
|
|
2541
|
-
<a name='L2476'></a><a href='#L2476'>2476</a>
|
|
2542
|
-
<a name='L2477'></a><a href='#L2477'>2477</a>
|
|
2543
|
-
<a name='L2478'></a><a href='#L2478'>2478</a>
|
|
2544
|
-
<a name='L2479'></a><a href='#L2479'>2479</a>
|
|
2545
|
-
<a name='L2480'></a><a href='#L2480'>2480</a>
|
|
2546
|
-
<a name='L2481'></a><a href='#L2481'>2481</a>
|
|
2547
|
-
<a name='L2482'></a><a href='#L2482'>2482</a>
|
|
2548
|
-
<a name='L2483'></a><a href='#L2483'>2483</a>
|
|
2549
|
-
<a name='L2484'></a><a href='#L2484'>2484</a>
|
|
2550
|
-
<a name='L2485'></a><a href='#L2485'>2485</a>
|
|
2551
|
-
<a name='L2486'></a><a href='#L2486'>2486</a>
|
|
2552
|
-
<a name='L2487'></a><a href='#L2487'>2487</a>
|
|
2553
|
-
<a name='L2488'></a><a href='#L2488'>2488</a>
|
|
2554
|
-
<a name='L2489'></a><a href='#L2489'>2489</a>
|
|
2555
|
-
<a name='L2490'></a><a href='#L2490'>2490</a>
|
|
2556
|
-
<a name='L2491'></a><a href='#L2491'>2491</a>
|
|
2557
|
-
<a name='L2492'></a><a href='#L2492'>2492</a>
|
|
2558
|
-
<a name='L2493'></a><a href='#L2493'>2493</a>
|
|
2559
|
-
<a name='L2494'></a><a href='#L2494'>2494</a>
|
|
2560
|
-
<a name='L2495'></a><a href='#L2495'>2495</a>
|
|
2561
|
-
<a name='L2496'></a><a href='#L2496'>2496</a>
|
|
2562
|
-
<a name='L2497'></a><a href='#L2497'>2497</a>
|
|
2563
|
-
<a name='L2498'></a><a href='#L2498'>2498</a>
|
|
2564
|
-
<a name='L2499'></a><a href='#L2499'>2499</a>
|
|
2565
|
-
<a name='L2500'></a><a href='#L2500'>2500</a>
|
|
2566
|
-
<a name='L2501'></a><a href='#L2501'>2501</a>
|
|
2567
|
-
<a name='L2502'></a><a href='#L2502'>2502</a>
|
|
2568
|
-
<a name='L2503'></a><a href='#L2503'>2503</a>
|
|
2569
|
-
<a name='L2504'></a><a href='#L2504'>2504</a>
|
|
2570
|
-
<a name='L2505'></a><a href='#L2505'>2505</a>
|
|
2571
|
-
<a name='L2506'></a><a href='#L2506'>2506</a>
|
|
2572
|
-
<a name='L2507'></a><a href='#L2507'>2507</a>
|
|
2573
|
-
<a name='L2508'></a><a href='#L2508'>2508</a>
|
|
2574
|
-
<a name='L2509'></a><a href='#L2509'>2509</a>
|
|
2575
|
-
<a name='L2510'></a><a href='#L2510'>2510</a>
|
|
2576
|
-
<a name='L2511'></a><a href='#L2511'>2511</a>
|
|
2577
|
-
<a name='L2512'></a><a href='#L2512'>2512</a>
|
|
2578
|
-
<a name='L2513'></a><a href='#L2513'>2513</a>
|
|
2579
|
-
<a name='L2514'></a><a href='#L2514'>2514</a>
|
|
2580
|
-
<a name='L2515'></a><a href='#L2515'>2515</a>
|
|
2581
|
-
<a name='L2516'></a><a href='#L2516'>2516</a>
|
|
2582
|
-
<a name='L2517'></a><a href='#L2517'>2517</a>
|
|
2583
|
-
<a name='L2518'></a><a href='#L2518'>2518</a>
|
|
2584
|
-
<a name='L2519'></a><a href='#L2519'>2519</a>
|
|
2585
|
-
<a name='L2520'></a><a href='#L2520'>2520</a>
|
|
2586
|
-
<a name='L2521'></a><a href='#L2521'>2521</a>
|
|
2587
|
-
<a name='L2522'></a><a href='#L2522'>2522</a>
|
|
2588
|
-
<a name='L2523'></a><a href='#L2523'>2523</a>
|
|
2589
|
-
<a name='L2524'></a><a href='#L2524'>2524</a>
|
|
2590
|
-
<a name='L2525'></a><a href='#L2525'>2525</a>
|
|
2591
|
-
<a name='L2526'></a><a href='#L2526'>2526</a>
|
|
2592
|
-
<a name='L2527'></a><a href='#L2527'>2527</a>
|
|
2593
|
-
<a name='L2528'></a><a href='#L2528'>2528</a>
|
|
2594
|
-
<a name='L2529'></a><a href='#L2529'>2529</a>
|
|
2595
|
-
<a name='L2530'></a><a href='#L2530'>2530</a>
|
|
2596
|
-
<a name='L2531'></a><a href='#L2531'>2531</a>
|
|
2597
|
-
<a name='L2532'></a><a href='#L2532'>2532</a>
|
|
2598
|
-
<a name='L2533'></a><a href='#L2533'>2533</a>
|
|
2599
|
-
<a name='L2534'></a><a href='#L2534'>2534</a>
|
|
2600
|
-
<a name='L2535'></a><a href='#L2535'>2535</a>
|
|
2601
|
-
<a name='L2536'></a><a href='#L2536'>2536</a>
|
|
2602
|
-
<a name='L2537'></a><a href='#L2537'>2537</a>
|
|
2603
|
-
<a name='L2538'></a><a href='#L2538'>2538</a>
|
|
2604
|
-
<a name='L2539'></a><a href='#L2539'>2539</a>
|
|
2605
|
-
<a name='L2540'></a><a href='#L2540'>2540</a>
|
|
2606
|
-
<a name='L2541'></a><a href='#L2541'>2541</a>
|
|
2607
|
-
<a name='L2542'></a><a href='#L2542'>2542</a>
|
|
2608
|
-
<a name='L2543'></a><a href='#L2543'>2543</a>
|
|
2609
|
-
<a name='L2544'></a><a href='#L2544'>2544</a>
|
|
2610
|
-
<a name='L2545'></a><a href='#L2545'>2545</a>
|
|
2611
|
-
<a name='L2546'></a><a href='#L2546'>2546</a>
|
|
2612
|
-
<a name='L2547'></a><a href='#L2547'>2547</a>
|
|
2613
|
-
<a name='L2548'></a><a href='#L2548'>2548</a>
|
|
2614
|
-
<a name='L2549'></a><a href='#L2549'>2549</a>
|
|
2615
|
-
<a name='L2550'></a><a href='#L2550'>2550</a>
|
|
2616
|
-
<a name='L2551'></a><a href='#L2551'>2551</a>
|
|
2617
|
-
<a name='L2552'></a><a href='#L2552'>2552</a>
|
|
2618
|
-
<a name='L2553'></a><a href='#L2553'>2553</a>
|
|
2619
|
-
<a name='L2554'></a><a href='#L2554'>2554</a>
|
|
2620
|
-
<a name='L2555'></a><a href='#L2555'>2555</a>
|
|
2621
|
-
<a name='L2556'></a><a href='#L2556'>2556</a>
|
|
2622
|
-
<a name='L2557'></a><a href='#L2557'>2557</a>
|
|
2623
|
-
<a name='L2558'></a><a href='#L2558'>2558</a>
|
|
2624
|
-
<a name='L2559'></a><a href='#L2559'>2559</a>
|
|
2625
|
-
<a name='L2560'></a><a href='#L2560'>2560</a>
|
|
2626
|
-
<a name='L2561'></a><a href='#L2561'>2561</a>
|
|
2627
|
-
<a name='L2562'></a><a href='#L2562'>2562</a>
|
|
2628
|
-
<a name='L2563'></a><a href='#L2563'>2563</a>
|
|
2629
|
-
<a name='L2564'></a><a href='#L2564'>2564</a>
|
|
2630
|
-
<a name='L2565'></a><a href='#L2565'>2565</a>
|
|
2631
|
-
<a name='L2566'></a><a href='#L2566'>2566</a>
|
|
2632
|
-
<a name='L2567'></a><a href='#L2567'>2567</a>
|
|
2633
|
-
<a name='L2568'></a><a href='#L2568'>2568</a>
|
|
2634
|
-
<a name='L2569'></a><a href='#L2569'>2569</a>
|
|
2635
|
-
<a name='L2570'></a><a href='#L2570'>2570</a>
|
|
2636
|
-
<a name='L2571'></a><a href='#L2571'>2571</a>
|
|
2637
|
-
<a name='L2572'></a><a href='#L2572'>2572</a>
|
|
2638
|
-
<a name='L2573'></a><a href='#L2573'>2573</a>
|
|
2639
|
-
<a name='L2574'></a><a href='#L2574'>2574</a>
|
|
2640
|
-
<a name='L2575'></a><a href='#L2575'>2575</a>
|
|
2641
|
-
<a name='L2576'></a><a href='#L2576'>2576</a>
|
|
2642
|
-
<a name='L2577'></a><a href='#L2577'>2577</a>
|
|
2643
|
-
<a name='L2578'></a><a href='#L2578'>2578</a>
|
|
2644
|
-
<a name='L2579'></a><a href='#L2579'>2579</a>
|
|
2645
|
-
<a name='L2580'></a><a href='#L2580'>2580</a>
|
|
2646
|
-
<a name='L2581'></a><a href='#L2581'>2581</a>
|
|
2647
|
-
<a name='L2582'></a><a href='#L2582'>2582</a>
|
|
2648
|
-
<a name='L2583'></a><a href='#L2583'>2583</a>
|
|
2649
|
-
<a name='L2584'></a><a href='#L2584'>2584</a>
|
|
2650
|
-
<a name='L2585'></a><a href='#L2585'>2585</a>
|
|
2651
|
-
<a name='L2586'></a><a href='#L2586'>2586</a>
|
|
2652
|
-
<a name='L2587'></a><a href='#L2587'>2587</a>
|
|
2653
|
-
<a name='L2588'></a><a href='#L2588'>2588</a>
|
|
2654
|
-
<a name='L2589'></a><a href='#L2589'>2589</a>
|
|
2655
|
-
<a name='L2590'></a><a href='#L2590'>2590</a>
|
|
2656
|
-
<a name='L2591'></a><a href='#L2591'>2591</a>
|
|
2657
|
-
<a name='L2592'></a><a href='#L2592'>2592</a>
|
|
2658
|
-
<a name='L2593'></a><a href='#L2593'>2593</a>
|
|
2659
|
-
<a name='L2594'></a><a href='#L2594'>2594</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">2074x</span>
|
|
2660
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2661
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2662
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2663
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2507
|
+
<a name='L2442'></a><a href='#L2442'>2442</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
2664
2508
|
<span class="cline-any cline-yes">1x</span>
|
|
2665
2509
|
<span class="cline-any cline-yes">1x</span>
|
|
2666
2510
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -2670,17 +2514,19 @@
|
|
|
2670
2514
|
<span class="cline-any cline-neutral"> </span>
|
|
2671
2515
|
<span class="cline-any cline-neutral"> </span>
|
|
2672
2516
|
<span class="cline-any cline-neutral"> </span>
|
|
2673
|
-
<span class="cline-any cline-
|
|
2674
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2675
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2676
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2677
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2517
|
+
<span class="cline-any cline-yes">1x</span>
|
|
2678
2518
|
<span class="cline-any cline-yes">1x</span>
|
|
2679
2519
|
<span class="cline-any cline-neutral"> </span>
|
|
2520
|
+
<span class="cline-any cline-yes">1x</span>
|
|
2521
|
+
<span class="cline-any cline-yes">1x</span>
|
|
2522
|
+
<span class="cline-any cline-yes">1x</span>
|
|
2523
|
+
<span class="cline-any cline-yes">1x</span>
|
|
2524
|
+
<span class="cline-any cline-yes">1x</span>
|
|
2680
2525
|
<span class="cline-any cline-neutral"> </span>
|
|
2681
2526
|
<span class="cline-any cline-neutral"> </span>
|
|
2682
|
-
<span class="cline-any cline-
|
|
2683
|
-
<span class="cline-any cline-
|
|
2527
|
+
<span class="cline-any cline-yes">1x</span>
|
|
2528
|
+
<span class="cline-any cline-yes">1x</span>
|
|
2529
|
+
<span class="cline-any cline-yes">1x</span>
|
|
2684
2530
|
<span class="cline-any cline-neutral"> </span>
|
|
2685
2531
|
<span class="cline-any cline-neutral"> </span>
|
|
2686
2532
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -2691,18 +2537,13 @@
|
|
|
2691
2537
|
<span class="cline-any cline-neutral"> </span>
|
|
2692
2538
|
<span class="cline-any cline-yes">1x</span>
|
|
2693
2539
|
<span class="cline-any cline-neutral"> </span>
|
|
2694
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2695
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2696
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2697
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2698
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2699
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2700
2540
|
<span class="cline-any cline-yes">1x</span>
|
|
2701
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2702
2541
|
<span class="cline-any cline-yes">1x</span>
|
|
2703
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2704
2542
|
<span class="cline-any cline-yes">1x</span>
|
|
2705
|
-
<span class="cline-any cline-
|
|
2543
|
+
<span class="cline-any cline-yes">1x</span>
|
|
2544
|
+
<span class="cline-any cline-yes">1x</span>
|
|
2545
|
+
<span class="cline-any cline-yes">1x</span>
|
|
2546
|
+
<span class="cline-any cline-yes">1x</span>
|
|
2706
2547
|
<span class="cline-any cline-yes">1x</span>
|
|
2707
2548
|
<span class="cline-any cline-neutral"> </span>
|
|
2708
2549
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -2710,11 +2551,7 @@
|
|
|
2710
2551
|
<span class="cline-any cline-neutral"> </span>
|
|
2711
2552
|
<span class="cline-any cline-neutral"> </span>
|
|
2712
2553
|
<span class="cline-any cline-neutral"> </span>
|
|
2713
|
-
<span class="cline-any cline-
|
|
2714
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2715
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2716
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2717
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2554
|
+
<span class="cline-any cline-yes">1x</span>
|
|
2718
2555
|
<span class="cline-any cline-neutral"> </span>
|
|
2719
2556
|
<span class="cline-any cline-neutral"> </span>
|
|
2720
2557
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -2724,6 +2561,7 @@
|
|
|
2724
2561
|
<span class="cline-any cline-neutral"> </span>
|
|
2725
2562
|
<span class="cline-any cline-yes">1x</span>
|
|
2726
2563
|
<span class="cline-any cline-neutral"> </span>
|
|
2564
|
+
<span class="cline-any cline-yes">1x</span>
|
|
2727
2565
|
<span class="cline-any cline-neutral"> </span>
|
|
2728
2566
|
<span class="cline-any cline-neutral"> </span>
|
|
2729
2567
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -2734,10 +2572,6 @@
|
|
|
2734
2572
|
<span class="cline-any cline-neutral"> </span>
|
|
2735
2573
|
<span class="cline-any cline-neutral"> </span>
|
|
2736
2574
|
<span class="cline-any cline-neutral"> </span>
|
|
2737
|
-
<span class="cline-any cline-yes">1x</span>
|
|
2738
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2739
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2740
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2741
2575
|
<span class="cline-any cline-neutral"> </span>
|
|
2742
2576
|
<span class="cline-any cline-neutral"> </span>
|
|
2743
2577
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -2746,11 +2580,6 @@
|
|
|
2746
2580
|
<span class="cline-any cline-neutral"> </span>
|
|
2747
2581
|
<span class="cline-any cline-neutral"> </span>
|
|
2748
2582
|
<span class="cline-any cline-neutral"> </span>
|
|
2749
|
-
<span class="cline-any cline-yes">1x</span>
|
|
2750
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2751
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2752
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2753
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2754
2583
|
<span class="cline-any cline-neutral"> </span>
|
|
2755
2584
|
<span class="cline-any cline-yes">1x</span>
|
|
2756
2585
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -2758,11 +2587,6 @@
|
|
|
2758
2587
|
<span class="cline-any cline-neutral"> </span>
|
|
2759
2588
|
<span class="cline-any cline-neutral"> </span>
|
|
2760
2589
|
<span class="cline-any cline-neutral"> </span>
|
|
2761
|
-
<span class="cline-any cline-yes">1x</span>
|
|
2762
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2763
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2764
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2765
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2766
2590
|
<span class="cline-any cline-neutral"> </span>
|
|
2767
2591
|
<span class="cline-any cline-yes">1x</span>
|
|
2768
2592
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -2770,8 +2594,8 @@
|
|
|
2770
2594
|
<span class="cline-any cline-neutral"> </span>
|
|
2771
2595
|
<span class="cline-any cline-neutral"> </span>
|
|
2772
2596
|
<span class="cline-any cline-neutral"> </span>
|
|
2773
|
-
<span class="cline-any cline-yes">1x</span>
|
|
2774
2597
|
<span class="cline-any cline-neutral"> </span>
|
|
2598
|
+
<span class="cline-any cline-yes">1x</span>
|
|
2775
2599
|
<span class="cline-any cline-neutral"> </span>
|
|
2776
2600
|
<span class="cline-any cline-neutral"> </span>
|
|
2777
2601
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -2785,60 +2609,64 @@
|
|
|
2785
2609
|
<span class="cline-any cline-neutral"> </span>
|
|
2786
2610
|
<span class="cline-any cline-neutral"> </span>
|
|
2787
2611
|
<span class="cline-any cline-neutral"> </span>
|
|
2612
|
+
<span class="cline-any cline-yes">1x</span>
|
|
2788
2613
|
<span class="cline-any cline-neutral"> </span>
|
|
2789
2614
|
<span class="cline-any cline-neutral"> </span>
|
|
2790
2615
|
<span class="cline-any cline-neutral"> </span>
|
|
2791
|
-
<span class="cline-any cline-yes">297x</span>
|
|
2792
2616
|
<span class="cline-any cline-neutral"> </span>
|
|
2793
2617
|
<span class="cline-any cline-neutral"> </span>
|
|
2794
2618
|
<span class="cline-any cline-neutral"> </span>
|
|
2619
|
+
<span class="cline-any cline-yes">1x</span>
|
|
2795
2620
|
<span class="cline-any cline-neutral"> </span>
|
|
2796
2621
|
<span class="cline-any cline-neutral"> </span>
|
|
2797
2622
|
<span class="cline-any cline-neutral"> </span>
|
|
2798
2623
|
<span class="cline-any cline-neutral"> </span>
|
|
2799
2624
|
<span class="cline-any cline-neutral"> </span>
|
|
2625
|
+
<span class="cline-any cline-yes">249x</span>
|
|
2800
2626
|
<span class="cline-any cline-neutral"> </span>
|
|
2801
|
-
<span class="cline-any cline-yes">297x</span>
|
|
2802
2627
|
<span class="cline-any cline-neutral"> </span>
|
|
2803
2628
|
<span class="cline-any cline-neutral"> </span>
|
|
2804
2629
|
<span class="cline-any cline-neutral"> </span>
|
|
2805
2630
|
<span class="cline-any cline-neutral"> </span>
|
|
2631
|
+
<span class="cline-any cline-yes">249x</span>
|
|
2806
2632
|
<span class="cline-any cline-neutral"> </span>
|
|
2807
2633
|
<span class="cline-any cline-neutral"> </span>
|
|
2808
2634
|
<span class="cline-any cline-neutral"> </span>
|
|
2809
2635
|
<span class="cline-any cline-neutral"> </span>
|
|
2810
2636
|
<span class="cline-any cline-neutral"> </span>
|
|
2811
|
-
<span class="cline-any cline-yes">
|
|
2637
|
+
<span class="cline-any cline-yes">249x</span>
|
|
2812
2638
|
<span class="cline-any cline-neutral"> </span>
|
|
2813
2639
|
<span class="cline-any cline-neutral"> </span>
|
|
2814
2640
|
<span class="cline-any cline-neutral"> </span>
|
|
2815
2641
|
<span class="cline-any cline-neutral"> </span>
|
|
2816
2642
|
<span class="cline-any cline-neutral"> </span>
|
|
2643
|
+
<span class="cline-any cline-yes">249x</span>
|
|
2817
2644
|
<span class="cline-any cline-neutral"> </span>
|
|
2818
2645
|
<span class="cline-any cline-neutral"> </span>
|
|
2819
2646
|
<span class="cline-any cline-neutral"> </span>
|
|
2820
2647
|
<span class="cline-any cline-neutral"> </span>
|
|
2821
|
-
<span class="cline-any cline-yes">297x</span>
|
|
2822
2648
|
<span class="cline-any cline-neutral"> </span>
|
|
2649
|
+
<span class="cline-any cline-yes">249x</span>
|
|
2823
2650
|
<span class="cline-any cline-neutral"> </span>
|
|
2824
2651
|
<span class="cline-any cline-neutral"> </span>
|
|
2825
2652
|
<span class="cline-any cline-neutral"> </span>
|
|
2826
2653
|
<span class="cline-any cline-neutral"> </span>
|
|
2827
2654
|
<span class="cline-any cline-neutral"> </span>
|
|
2655
|
+
<span class="cline-any cline-yes">249x</span>
|
|
2828
2656
|
<span class="cline-any cline-neutral"> </span>
|
|
2829
2657
|
<span class="cline-any cline-neutral"> </span>
|
|
2830
2658
|
<span class="cline-any cline-neutral"> </span>
|
|
2831
|
-
<span class="cline-any cline-yes">297x</span>
|
|
2832
2659
|
<span class="cline-any cline-neutral"> </span>
|
|
2833
2660
|
<span class="cline-any cline-neutral"> </span>
|
|
2661
|
+
<span class="cline-any cline-no"> </span>
|
|
2834
2662
|
<span class="cline-any cline-neutral"> </span>
|
|
2835
2663
|
<span class="cline-any cline-neutral"> </span>
|
|
2836
2664
|
<span class="cline-any cline-neutral"> </span>
|
|
2837
2665
|
<span class="cline-any cline-neutral"> </span>
|
|
2838
2666
|
<span class="cline-any cline-neutral"> </span>
|
|
2839
2667
|
<span class="cline-any cline-neutral"> </span>
|
|
2668
|
+
<span class="cline-any cline-no"> </span>
|
|
2840
2669
|
<span class="cline-any cline-neutral"> </span>
|
|
2841
|
-
<span class="cline-any cline-yes">297x</span>
|
|
2842
2670
|
<span class="cline-any cline-neutral"> </span>
|
|
2843
2671
|
<span class="cline-any cline-neutral"> </span>
|
|
2844
2672
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -2850,19 +2678,16 @@
|
|
|
2850
2678
|
<span class="cline-any cline-neutral"> </span>
|
|
2851
2679
|
<span class="cline-any cline-neutral"> </span>
|
|
2852
2680
|
<span class="cline-any cline-neutral"> </span>
|
|
2853
|
-
<span class="cline-any cline-no"> </span>
|
|
2854
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2855
2681
|
<span class="cline-any cline-neutral"> </span>
|
|
2682
|
+
<span class="cline-any cline-yes">14x</span>
|
|
2856
2683
|
<span class="cline-any cline-neutral"> </span>
|
|
2857
2684
|
<span class="cline-any cline-neutral"> </span>
|
|
2858
2685
|
<span class="cline-any cline-neutral"> </span>
|
|
2859
|
-
<span class="cline-any cline-no"> </span>
|
|
2860
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2861
2686
|
<span class="cline-any cline-neutral"> </span>
|
|
2862
2687
|
<span class="cline-any cline-neutral"> </span>
|
|
2863
2688
|
<span class="cline-any cline-neutral"> </span>
|
|
2689
|
+
<span class="cline-any cline-no"> </span>
|
|
2864
2690
|
<span class="cline-any cline-neutral"> </span>
|
|
2865
|
-
<span class="cline-any cline-yes">14x</span>
|
|
2866
2691
|
<span class="cline-any cline-neutral"> </span>
|
|
2867
2692
|
<span class="cline-any cline-neutral"> </span>
|
|
2868
2693
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -2874,11 +2699,6 @@
|
|
|
2874
2699
|
<span class="cline-any cline-neutral"> </span>
|
|
2875
2700
|
<span class="cline-any cline-neutral"> </span>
|
|
2876
2701
|
<span class="cline-any cline-neutral"> </span>
|
|
2877
|
-
<span class="cline-any cline-no"> </span>
|
|
2878
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2879
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2880
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2881
|
-
<span class="cline-any cline-neutral"> </span>
|
|
2882
2702
|
<span class="cline-any cline-neutral"> </span>
|
|
2883
2703
|
<span class="cline-any cline-no"> </span>
|
|
2884
2704
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -2887,13 +2707,13 @@
|
|
|
2887
2707
|
<span class="cline-any cline-neutral"> </span>
|
|
2888
2708
|
<span class="cline-any cline-neutral"> </span>
|
|
2889
2709
|
<span class="cline-any cline-neutral"> </span>
|
|
2890
|
-
<span class="cline-any cline-yes">
|
|
2891
|
-
<span class="cline-any cline-yes">
|
|
2892
|
-
<span class="cline-any cline-yes">
|
|
2710
|
+
<span class="cline-any cline-yes">249x</span>
|
|
2711
|
+
<span class="cline-any cline-yes">249x</span>
|
|
2712
|
+
<span class="cline-any cline-yes">249x</span>
|
|
2893
2713
|
<span class="cline-any cline-neutral"> </span>
|
|
2894
2714
|
<span class="cline-any cline-neutral"> </span>
|
|
2895
2715
|
<span class="cline-any cline-neutral"> </span>
|
|
2896
|
-
<span class="cline-any cline-yes">
|
|
2716
|
+
<span class="cline-any cline-yes">79x</span>
|
|
2897
2717
|
<span class="cline-any cline-neutral"> </span>
|
|
2898
2718
|
<span class="cline-any cline-neutral"> </span>
|
|
2899
2719
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -2911,6 +2731,7 @@
|
|
|
2911
2731
|
<span class="cline-any cline-neutral"> </span>
|
|
2912
2732
|
<span class="cline-any cline-neutral"> </span>
|
|
2913
2733
|
<span class="cline-any cline-neutral"> </span>
|
|
2734
|
+
<span class="cline-any cline-neutral"> </span>
|
|
2914
2735
|
<span class="cline-any cline-no"> </span>
|
|
2915
2736
|
<span class="cline-any cline-neutral"> </span>
|
|
2916
2737
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -3000,6 +2821,7 @@
|
|
|
3000
2821
|
<span class="cline-any cline-no"> </span>
|
|
3001
2822
|
<span class="cline-any cline-neutral"> </span>
|
|
3002
2823
|
<span class="cline-any cline-neutral"> </span>
|
|
2824
|
+
<span class="cline-any cline-neutral"> </span>
|
|
3003
2825
|
<span class="cline-any cline-no"> </span>
|
|
3004
2826
|
<span class="cline-any cline-neutral"> </span>
|
|
3005
2827
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -3027,7 +2849,6 @@
|
|
|
3027
2849
|
<span class="cline-any cline-neutral"> </span>
|
|
3028
2850
|
<span class="cline-any cline-no"> </span>
|
|
3029
2851
|
<span class="cline-any cline-no"> </span>
|
|
3030
|
-
<span class="cline-any cline-no"> </span>
|
|
3031
2852
|
<span class="cline-any cline-neutral"> </span>
|
|
3032
2853
|
<span class="cline-any cline-no"> </span>
|
|
3033
2854
|
<span class="cline-any cline-no"> </span>
|
|
@@ -3177,7 +2998,6 @@
|
|
|
3177
2998
|
<span class="cline-any cline-neutral"> </span>
|
|
3178
2999
|
<span class="cline-any cline-no"> </span>
|
|
3179
3000
|
<span class="cline-any cline-no"> </span>
|
|
3180
|
-
<span class="cline-any cline-no"> </span>
|
|
3181
3001
|
<span class="cline-any cline-neutral"> </span>
|
|
3182
3002
|
<span class="cline-any cline-no"> </span>
|
|
3183
3003
|
<span class="cline-any cline-no"> </span>
|
|
@@ -3327,7 +3147,6 @@
|
|
|
3327
3147
|
<span class="cline-any cline-neutral"> </span>
|
|
3328
3148
|
<span class="cline-any cline-no"> </span>
|
|
3329
3149
|
<span class="cline-any cline-no"> </span>
|
|
3330
|
-
<span class="cline-any cline-no"> </span>
|
|
3331
3150
|
<span class="cline-any cline-neutral"> </span>
|
|
3332
3151
|
<span class="cline-any cline-no"> </span>
|
|
3333
3152
|
<span class="cline-any cline-no"> </span>
|
|
@@ -3477,7 +3296,6 @@
|
|
|
3477
3296
|
<span class="cline-any cline-neutral"> </span>
|
|
3478
3297
|
<span class="cline-any cline-no"> </span>
|
|
3479
3298
|
<span class="cline-any cline-no"> </span>
|
|
3480
|
-
<span class="cline-any cline-no"> </span>
|
|
3481
3299
|
<span class="cline-any cline-neutral"> </span>
|
|
3482
3300
|
<span class="cline-any cline-no"> </span>
|
|
3483
3301
|
<span class="cline-any cline-no"> </span>
|
|
@@ -3616,7 +3434,6 @@
|
|
|
3616
3434
|
<span class="cline-any cline-neutral"> </span>
|
|
3617
3435
|
<span class="cline-any cline-no"> </span>
|
|
3618
3436
|
<span class="cline-any cline-no"> </span>
|
|
3619
|
-
<span class="cline-any cline-no"> </span>
|
|
3620
3437
|
<span class="cline-any cline-neutral"> </span>
|
|
3621
3438
|
<span class="cline-any cline-no"> </span>
|
|
3622
3439
|
<span class="cline-any cline-no"> </span>
|
|
@@ -3717,7 +3534,6 @@
|
|
|
3717
3534
|
<span class="cline-any cline-neutral"> </span>
|
|
3718
3535
|
<span class="cline-any cline-no"> </span>
|
|
3719
3536
|
<span class="cline-any cline-no"> </span>
|
|
3720
|
-
<span class="cline-any cline-no"> </span>
|
|
3721
3537
|
<span class="cline-any cline-neutral"> </span>
|
|
3722
3538
|
<span class="cline-any cline-no"> </span>
|
|
3723
3539
|
<span class="cline-any cline-no"> </span>
|
|
@@ -3837,23 +3653,15 @@
|
|
|
3837
3653
|
<span class="cline-any cline-neutral"> </span>
|
|
3838
3654
|
<span class="cline-any cline-no"> </span>
|
|
3839
3655
|
<span class="cline-any cline-no"> </span>
|
|
3840
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3841
|
-
<span class="cline-any cline-no"> </span>
|
|
3842
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3843
|
-
<span class="cline-any cline-no"> </span>
|
|
3844
|
-
<span class="cline-any cline-no"> </span>
|
|
3845
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3846
3656
|
<span class="cline-any cline-no"> </span>
|
|
3847
3657
|
<span class="cline-any cline-no"> </span>
|
|
3848
3658
|
<span class="cline-any cline-no"> </span>
|
|
3849
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3850
3659
|
<span class="cline-any cline-no"> </span>
|
|
3851
3660
|
<span class="cline-any cline-no"> </span>
|
|
3852
3661
|
<span class="cline-any cline-no"> </span>
|
|
3853
3662
|
<span class="cline-any cline-no"> </span>
|
|
3854
3663
|
<span class="cline-any cline-neutral"> </span>
|
|
3855
3664
|
<span class="cline-any cline-neutral"> </span>
|
|
3856
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3857
3665
|
<span class="cline-any cline-no"> </span>
|
|
3858
3666
|
<span class="cline-any cline-neutral"> </span>
|
|
3859
3667
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -3893,23 +3701,15 @@
|
|
|
3893
3701
|
<span class="cline-any cline-neutral"> </span>
|
|
3894
3702
|
<span class="cline-any cline-no"> </span>
|
|
3895
3703
|
<span class="cline-any cline-no"> </span>
|
|
3896
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3897
|
-
<span class="cline-any cline-no"> </span>
|
|
3898
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3899
|
-
<span class="cline-any cline-no"> </span>
|
|
3900
|
-
<span class="cline-any cline-no"> </span>
|
|
3901
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3902
3704
|
<span class="cline-any cline-no"> </span>
|
|
3903
3705
|
<span class="cline-any cline-no"> </span>
|
|
3904
3706
|
<span class="cline-any cline-no"> </span>
|
|
3905
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3906
3707
|
<span class="cline-any cline-no"> </span>
|
|
3907
3708
|
<span class="cline-any cline-no"> </span>
|
|
3908
3709
|
<span class="cline-any cline-no"> </span>
|
|
3909
3710
|
<span class="cline-any cline-no"> </span>
|
|
3910
3711
|
<span class="cline-any cline-neutral"> </span>
|
|
3911
3712
|
<span class="cline-any cline-neutral"> </span>
|
|
3912
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3913
3713
|
<span class="cline-any cline-no"> </span>
|
|
3914
3714
|
<span class="cline-any cline-neutral"> </span>
|
|
3915
3715
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -3949,23 +3749,15 @@
|
|
|
3949
3749
|
<span class="cline-any cline-neutral"> </span>
|
|
3950
3750
|
<span class="cline-any cline-no"> </span>
|
|
3951
3751
|
<span class="cline-any cline-no"> </span>
|
|
3952
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3953
|
-
<span class="cline-any cline-no"> </span>
|
|
3954
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3955
|
-
<span class="cline-any cline-no"> </span>
|
|
3956
|
-
<span class="cline-any cline-no"> </span>
|
|
3957
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3958
3752
|
<span class="cline-any cline-no"> </span>
|
|
3959
3753
|
<span class="cline-any cline-no"> </span>
|
|
3960
3754
|
<span class="cline-any cline-no"> </span>
|
|
3961
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3962
3755
|
<span class="cline-any cline-no"> </span>
|
|
3963
3756
|
<span class="cline-any cline-no"> </span>
|
|
3964
3757
|
<span class="cline-any cline-no"> </span>
|
|
3965
3758
|
<span class="cline-any cline-no"> </span>
|
|
3966
3759
|
<span class="cline-any cline-neutral"> </span>
|
|
3967
3760
|
<span class="cline-any cline-neutral"> </span>
|
|
3968
|
-
<span class="cline-any cline-neutral"> </span>
|
|
3969
3761
|
<span class="cline-any cline-no"> </span>
|
|
3970
3762
|
<span class="cline-any cline-neutral"> </span>
|
|
3971
3763
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -4005,21 +3797,13 @@
|
|
|
4005
3797
|
<span class="cline-any cline-neutral"> </span>
|
|
4006
3798
|
<span class="cline-any cline-no"> </span>
|
|
4007
3799
|
<span class="cline-any cline-no"> </span>
|
|
4008
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4009
|
-
<span class="cline-any cline-no"> </span>
|
|
4010
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4011
3800
|
<span class="cline-any cline-no"> </span>
|
|
4012
3801
|
<span class="cline-any cline-no"> </span>
|
|
4013
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4014
|
-
<span class="cline-any cline-no"> </span>
|
|
4015
3802
|
<span class="cline-any cline-no"> </span>
|
|
4016
3803
|
<span class="cline-any cline-no"> </span>
|
|
4017
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4018
3804
|
<span class="cline-any cline-no"> </span>
|
|
4019
3805
|
<span class="cline-any cline-no"> </span>
|
|
4020
3806
|
<span class="cline-any cline-no"> </span>
|
|
4021
|
-
<span class="cline-any cline-no"> </span>
|
|
4022
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4023
3807
|
<span class="cline-any cline-neutral"> </span>
|
|
4024
3808
|
<span class="cline-any cline-neutral"> </span>
|
|
4025
3809
|
<span class="cline-any cline-no"> </span>
|
|
@@ -4061,23 +3845,15 @@
|
|
|
4061
3845
|
<span class="cline-any cline-neutral"> </span>
|
|
4062
3846
|
<span class="cline-any cline-no"> </span>
|
|
4063
3847
|
<span class="cline-any cline-no"> </span>
|
|
4064
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4065
|
-
<span class="cline-any cline-no"> </span>
|
|
4066
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4067
|
-
<span class="cline-any cline-no"> </span>
|
|
4068
|
-
<span class="cline-any cline-no"> </span>
|
|
4069
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4070
3848
|
<span class="cline-any cline-no"> </span>
|
|
4071
3849
|
<span class="cline-any cline-no"> </span>
|
|
4072
3850
|
<span class="cline-any cline-no"> </span>
|
|
4073
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4074
3851
|
<span class="cline-any cline-no"> </span>
|
|
4075
3852
|
<span class="cline-any cline-no"> </span>
|
|
4076
3853
|
<span class="cline-any cline-no"> </span>
|
|
4077
3854
|
<span class="cline-any cline-no"> </span>
|
|
4078
3855
|
<span class="cline-any cline-neutral"> </span>
|
|
4079
3856
|
<span class="cline-any cline-neutral"> </span>
|
|
4080
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4081
3857
|
<span class="cline-any cline-no"> </span>
|
|
4082
3858
|
<span class="cline-any cline-neutral"> </span>
|
|
4083
3859
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -4114,23 +3890,15 @@
|
|
|
4114
3890
|
<span class="cline-any cline-neutral"> </span>
|
|
4115
3891
|
<span class="cline-any cline-no"> </span>
|
|
4116
3892
|
<span class="cline-any cline-no"> </span>
|
|
4117
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4118
|
-
<span class="cline-any cline-no"> </span>
|
|
4119
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4120
|
-
<span class="cline-any cline-no"> </span>
|
|
4121
|
-
<span class="cline-any cline-no"> </span>
|
|
4122
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4123
3893
|
<span class="cline-any cline-no"> </span>
|
|
4124
3894
|
<span class="cline-any cline-no"> </span>
|
|
4125
3895
|
<span class="cline-any cline-no"> </span>
|
|
4126
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4127
3896
|
<span class="cline-any cline-no"> </span>
|
|
4128
3897
|
<span class="cline-any cline-no"> </span>
|
|
4129
3898
|
<span class="cline-any cline-no"> </span>
|
|
4130
3899
|
<span class="cline-any cline-no"> </span>
|
|
4131
3900
|
<span class="cline-any cline-neutral"> </span>
|
|
4132
3901
|
<span class="cline-any cline-neutral"> </span>
|
|
4133
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4134
3902
|
<span class="cline-any cline-no"> </span>
|
|
4135
3903
|
<span class="cline-any cline-neutral"> </span>
|
|
4136
3904
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -4160,7 +3928,6 @@
|
|
|
4160
3928
|
<span class="cline-any cline-neutral"> </span>
|
|
4161
3929
|
<span class="cline-any cline-no"> </span>
|
|
4162
3930
|
<span class="cline-any cline-no"> </span>
|
|
4163
|
-
<span class="cline-any cline-no"> </span>
|
|
4164
3931
|
<span class="cline-any cline-neutral"> </span>
|
|
4165
3932
|
<span class="cline-any cline-neutral"> </span>
|
|
4166
3933
|
<span class="cline-any cline-no"> </span>
|
|
@@ -4188,7 +3955,7 @@
|
|
|
4188
3955
|
<span class="cline-any cline-neutral"> </span>
|
|
4189
3956
|
<span class="cline-any cline-neutral"> </span>
|
|
4190
3957
|
<span class="cline-any cline-neutral"> </span>
|
|
4191
|
-
<span class="cline-any cline-
|
|
3958
|
+
<span class="cline-any cline-no"> </span>
|
|
4192
3959
|
<span class="cline-any cline-neutral"> </span>
|
|
4193
3960
|
<span class="cline-any cline-neutral"> </span>
|
|
4194
3961
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -4381,12 +4148,6 @@
|
|
|
4381
4148
|
<span class="cline-any cline-neutral"> </span>
|
|
4382
4149
|
<span class="cline-any cline-neutral"> </span>
|
|
4383
4150
|
<span class="cline-any cline-yes">1x</span>
|
|
4384
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4385
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4386
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4387
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4388
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4389
|
-
<span class="cline-any cline-no"> </span>
|
|
4390
4151
|
<span class="cline-any cline-no"> </span>
|
|
4391
4152
|
<span class="cline-any cline-no"> </span>
|
|
4392
4153
|
<span class="cline-any cline-no"> </span>
|
|
@@ -4402,11 +4163,13 @@
|
|
|
4402
4163
|
<span class="cline-any cline-no"> </span>
|
|
4403
4164
|
<span class="cline-any cline-no"> </span>
|
|
4404
4165
|
<span class="cline-any cline-neutral"> </span>
|
|
4166
|
+
<span class="cline-any cline-neutral"> </span>
|
|
4405
4167
|
<span class="cline-any cline-no"> </span>
|
|
4406
4168
|
<span class="cline-any cline-no"> </span>
|
|
4407
4169
|
<span class="cline-any cline-no"> </span>
|
|
4408
4170
|
<span class="cline-any cline-no"> </span>
|
|
4409
4171
|
<span class="cline-any cline-neutral"> </span>
|
|
4172
|
+
<span class="cline-any cline-neutral"> </span>
|
|
4410
4173
|
<span class="cline-any cline-no"> </span>
|
|
4411
4174
|
<span class="cline-any cline-no"> </span>
|
|
4412
4175
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -4425,51 +4188,37 @@
|
|
|
4425
4188
|
<span class="cline-any cline-neutral"> </span>
|
|
4426
4189
|
<span class="cline-any cline-no"> </span>
|
|
4427
4190
|
<span class="cline-any cline-no"> </span>
|
|
4428
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4429
4191
|
<span class="cline-any cline-no"> </span>
|
|
4430
4192
|
<span class="cline-any cline-neutral"> </span>
|
|
4431
4193
|
<span class="cline-any cline-neutral"> </span>
|
|
4432
4194
|
<span class="cline-any cline-neutral"> </span>
|
|
4433
|
-
<span class="cline-any cline-no"> </span>
|
|
4434
|
-
<span class="cline-any cline-no"> </span>
|
|
4435
|
-
<span class="cline-any cline-no"> </span>
|
|
4436
4195
|
<span class="cline-any cline-neutral"> </span>
|
|
4437
4196
|
<span class="cline-any cline-no"> </span>
|
|
4438
4197
|
<span class="cline-any cline-no"> </span>
|
|
4439
4198
|
<span class="cline-any cline-no"> </span>
|
|
4440
4199
|
<span class="cline-any cline-neutral"> </span>
|
|
4441
4200
|
<span class="cline-any cline-neutral"> </span>
|
|
4442
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4443
4201
|
<span class="cline-any cline-no"> </span>
|
|
4444
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4445
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4446
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4447
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4448
4202
|
<span class="cline-any cline-no"> </span>
|
|
4449
4203
|
<span class="cline-any cline-no"> </span>
|
|
4450
4204
|
<span class="cline-any cline-neutral"> </span>
|
|
4451
4205
|
<span class="cline-any cline-neutral"> </span>
|
|
4206
|
+
<span class="cline-any cline-neutral"> </span>
|
|
4452
4207
|
<span class="cline-any cline-no"> </span>
|
|
4453
4208
|
<span class="cline-any cline-neutral"> </span>
|
|
4454
4209
|
<span class="cline-any cline-neutral"> </span>
|
|
4455
4210
|
<span class="cline-any cline-neutral"> </span>
|
|
4456
4211
|
<span class="cline-any cline-yes">1x</span>
|
|
4457
|
-
<span class="cline-any cline-yes">18x</span>
|
|
4458
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4459
|
-
<span class="cline-any cline-yes">18x</span>
|
|
4460
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4461
|
-
<span class="cline-any cline-yes">18x</span>
|
|
4462
4212
|
<span class="cline-any cline-neutral"> </span>
|
|
4463
|
-
<span class="cline-any cline-yes">
|
|
4464
|
-
<span class="cline-any cline-
|
|
4465
|
-
<span class="cline-any cline-yes">18x</span>
|
|
4213
|
+
<span class="cline-any cline-yes">7x</span>
|
|
4214
|
+
<span class="cline-any cline-yes">7x</span>
|
|
4466
4215
|
<span class="cline-any cline-no"> </span>
|
|
4467
|
-
<span class="cline-any cline-yes">18x</span>
|
|
4468
4216
|
<span class="cline-any cline-yes">7x</span>
|
|
4469
|
-
<span class="cline-any cline-yes">
|
|
4470
|
-
<span class="cline-any cline-
|
|
4217
|
+
<span class="cline-any cline-yes">7x</span>
|
|
4218
|
+
<span class="cline-any cline-no"> </span>
|
|
4219
|
+
<span class="cline-any cline-no"> </span>
|
|
4471
4220
|
<span class="cline-any cline-neutral"> </span>
|
|
4472
|
-
<span class="cline-any cline-yes">
|
|
4221
|
+
<span class="cline-any cline-yes">7x</span>
|
|
4473
4222
|
<span class="cline-any cline-no"> </span>
|
|
4474
4223
|
<span class="cline-any cline-no"> </span>
|
|
4475
4224
|
<span class="cline-any cline-no"> </span>
|
|
@@ -4478,22 +4227,23 @@
|
|
|
4478
4227
|
<span class="cline-any cline-no"> </span>
|
|
4479
4228
|
<span class="cline-any cline-neutral"> </span>
|
|
4480
4229
|
<span class="cline-any cline-neutral"> </span>
|
|
4481
|
-
<span class="cline-any cline-yes">
|
|
4482
|
-
<span class="cline-any cline-
|
|
4483
|
-
<span class="cline-any cline-
|
|
4484
|
-
<span class="cline-any cline-
|
|
4485
|
-
<span class="cline-any cline-
|
|
4230
|
+
<span class="cline-any cline-yes">7x</span>
|
|
4231
|
+
<span class="cline-any cline-no"> </span>
|
|
4232
|
+
<span class="cline-any cline-no"> </span>
|
|
4233
|
+
<span class="cline-any cline-no"> </span>
|
|
4234
|
+
<span class="cline-any cline-no"> </span>
|
|
4486
4235
|
<span class="cline-any cline-neutral"> </span>
|
|
4487
|
-
<span class="cline-any cline-
|
|
4236
|
+
<span class="cline-any cline-no"> </span>
|
|
4488
4237
|
<span class="cline-any cline-neutral"> </span>
|
|
4489
4238
|
<span class="cline-any cline-neutral"> </span>
|
|
4490
4239
|
<span class="cline-any cline-yes">7x</span>
|
|
4491
4240
|
<span class="cline-any cline-neutral"> </span>
|
|
4492
4241
|
<span class="cline-any cline-neutral"> </span>
|
|
4493
|
-
<span class="cline-any cline-yes">18x</span>
|
|
4494
4242
|
<span class="cline-any cline-neutral"> </span>
|
|
4495
|
-
<span class="cline-any cline-yes">
|
|
4496
|
-
<span class="cline-any cline-yes">
|
|
4243
|
+
<span class="cline-any cline-yes">7x</span>
|
|
4244
|
+
<span class="cline-any cline-yes">7x</span>
|
|
4245
|
+
<span class="cline-any cline-yes">7x</span>
|
|
4246
|
+
<span class="cline-any cline-yes">309x</span>
|
|
4497
4247
|
<span class="cline-any cline-yes">6x</span>
|
|
4498
4248
|
<span class="cline-any cline-yes">6x</span>
|
|
4499
4249
|
<span class="cline-any cline-yes">2x</span>
|
|
@@ -4511,7 +4261,6 @@
|
|
|
4511
4261
|
<span class="cline-any cline-no"> </span>
|
|
4512
4262
|
<span class="cline-any cline-neutral"> </span>
|
|
4513
4263
|
<span class="cline-any cline-neutral"> </span>
|
|
4514
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4515
4264
|
<span class="cline-any cline-no"> </span>
|
|
4516
4265
|
<span class="cline-any cline-no"> </span>
|
|
4517
4266
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -4526,53 +4275,61 @@
|
|
|
4526
4275
|
<span class="cline-any cline-neutral"> </span>
|
|
4527
4276
|
<span class="cline-any cline-neutral"> </span>
|
|
4528
4277
|
<span class="cline-any cline-neutral"> </span>
|
|
4278
|
+
<span class="cline-any cline-yes">309x</span>
|
|
4279
|
+
<span class="cline-any cline-no"> </span>
|
|
4280
|
+
<span class="cline-any cline-no"> </span>
|
|
4529
4281
|
<span class="cline-any cline-neutral"> </span>
|
|
4530
|
-
<span class="cline-any cline-yes">18x</span>
|
|
4531
|
-
<span class="cline-any cline-yes">8x</span>
|
|
4532
|
-
<span class="cline-any cline-yes">8x</span>
|
|
4533
4282
|
<span class="cline-any cline-neutral"> </span>
|
|
4534
4283
|
<span class="cline-any cline-neutral"> </span>
|
|
4535
|
-
<span class="cline-any cline-yes">18x</span>
|
|
4536
4284
|
<span class="cline-any cline-neutral"> </span>
|
|
4537
|
-
<span class="cline-any cline-yes">
|
|
4538
|
-
<span class="cline-any cline-yes">18x</span>
|
|
4539
|
-
<span class="cline-any cline-no"> </span>
|
|
4285
|
+
<span class="cline-any cline-yes">7x</span>
|
|
4540
4286
|
<span class="cline-any cline-no"> </span>
|
|
4287
|
+
<span class="cline-any cline-neutral"> </span>
|
|
4541
4288
|
<span class="cline-any cline-no"> </span>
|
|
4542
4289
|
<span class="cline-any cline-neutral"> </span>
|
|
4543
4290
|
<span class="cline-any cline-neutral"> </span>
|
|
4544
4291
|
<span class="cline-any cline-neutral"> </span>
|
|
4545
|
-
<span class="cline-any cline-
|
|
4546
|
-
<span class="cline-any cline-
|
|
4547
|
-
<span class="cline-any cline-
|
|
4292
|
+
<span class="cline-any cline-neutral"> </span>
|
|
4293
|
+
<span class="cline-any cline-neutral"> </span>
|
|
4294
|
+
<span class="cline-any cline-neutral"> </span>
|
|
4295
|
+
<span class="cline-any cline-neutral"> </span>
|
|
4296
|
+
<span class="cline-any cline-neutral"> </span>
|
|
4297
|
+
<span class="cline-any cline-neutral"> </span>
|
|
4298
|
+
<span class="cline-any cline-neutral"> </span>
|
|
4299
|
+
<span class="cline-any cline-neutral"> </span>
|
|
4300
|
+
<span class="cline-any cline-neutral"> </span>
|
|
4301
|
+
<span class="cline-any cline-yes">7x</span>
|
|
4302
|
+
<span class="cline-any cline-no"> </span>
|
|
4548
4303
|
<span class="cline-any cline-no"> </span>
|
|
4549
4304
|
<span class="cline-any cline-neutral"> </span>
|
|
4550
|
-
<span class="cline-any cline-yes">
|
|
4551
|
-
<span class="cline-any cline-yes">3x</span>
|
|
4552
|
-
<span class="cline-any cline-yes">3x</span>
|
|
4553
|
-
<span class="cline-any cline-yes">3x</span>
|
|
4305
|
+
<span class="cline-any cline-yes">7x</span>
|
|
4554
4306
|
<span class="cline-any cline-neutral"> </span>
|
|
4555
4307
|
<span class="cline-any cline-neutral"> </span>
|
|
4308
|
+
<span class="cline-any cline-yes">7x</span>
|
|
4309
|
+
<span class="cline-any cline-neutral"> </span>
|
|
4556
4310
|
<span class="cline-any cline-neutral"> </span>
|
|
4557
|
-
<span class="cline-any cline-
|
|
4558
|
-
<span class="cline-any cline-
|
|
4559
|
-
<span class="cline-any cline-yes">8x</span>
|
|
4311
|
+
<span class="cline-any cline-no"> </span>
|
|
4312
|
+
<span class="cline-any cline-no"> </span>
|
|
4560
4313
|
<span class="cline-any cline-no"> </span>
|
|
4561
4314
|
<span class="cline-any cline-neutral"> </span>
|
|
4562
|
-
<span class="cline-any cline-yes">8x</span>
|
|
4563
|
-
<span class="cline-any cline-yes">8x</span>
|
|
4564
|
-
<span class="cline-any cline-yes">8x</span>
|
|
4565
|
-
<span class="cline-any cline-yes">8x</span>
|
|
4566
4315
|
<span class="cline-any cline-neutral"> </span>
|
|
4316
|
+
<span class="cline-any cline-yes">7x</span>
|
|
4317
|
+
<span class="cline-any cline-yes">3x</span>
|
|
4318
|
+
<span class="cline-any cline-yes">3x</span>
|
|
4319
|
+
<span class="cline-any cline-yes">3x</span>
|
|
4320
|
+
<span class="cline-any cline-yes">3x</span>
|
|
4567
4321
|
<span class="cline-any cline-neutral"> </span>
|
|
4568
4322
|
<span class="cline-any cline-neutral"> </span>
|
|
4569
|
-
<span class="cline-any cline-yes">18x</span>
|
|
4570
4323
|
<span class="cline-any cline-neutral"> </span>
|
|
4324
|
+
<span class="cline-any cline-yes">7x</span>
|
|
4571
4325
|
<span class="cline-any cline-no"> </span>
|
|
4572
4326
|
<span class="cline-any cline-no"> </span>
|
|
4573
4327
|
<span class="cline-any cline-no"> </span>
|
|
4574
4328
|
<span class="cline-any cline-no"> </span>
|
|
4575
4329
|
<span class="cline-any cline-neutral"> </span>
|
|
4330
|
+
<span class="cline-any cline-neutral"> </span>
|
|
4331
|
+
<span class="cline-any cline-neutral"> </span>
|
|
4332
|
+
<span class="cline-any cline-yes">7x</span>
|
|
4576
4333
|
<span class="cline-any cline-no"> </span>
|
|
4577
4334
|
<span class="cline-any cline-no"> </span>
|
|
4578
4335
|
<span class="cline-any cline-no"> </span>
|
|
@@ -4582,7 +4339,6 @@
|
|
|
4582
4339
|
<span class="cline-any cline-no"> </span>
|
|
4583
4340
|
<span class="cline-any cline-neutral"> </span>
|
|
4584
4341
|
<span class="cline-any cline-neutral"> </span>
|
|
4585
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4586
4342
|
<span class="cline-any cline-no"> </span>
|
|
4587
4343
|
<span class="cline-any cline-neutral"> </span>
|
|
4588
4344
|
<span class="cline-any cline-no"> </span>
|
|
@@ -4601,10 +4357,8 @@
|
|
|
4601
4357
|
<span class="cline-any cline-no"> </span>
|
|
4602
4358
|
<span class="cline-any cline-neutral"> </span>
|
|
4603
4359
|
<span class="cline-any cline-neutral"> </span>
|
|
4604
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4605
4360
|
<span class="cline-any cline-no"> </span>
|
|
4606
4361
|
<span class="cline-any cline-no"> </span>
|
|
4607
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4608
4362
|
<span class="cline-any cline-no"> </span>
|
|
4609
4363
|
<span class="cline-any cline-neutral"> </span>
|
|
4610
4364
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -4637,7 +4391,6 @@
|
|
|
4637
4391
|
<span class="cline-any cline-no"> </span>
|
|
4638
4392
|
<span class="cline-any cline-no"> </span>
|
|
4639
4393
|
<span class="cline-any cline-neutral"> </span>
|
|
4640
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4641
4394
|
<span class="cline-any cline-no"> </span>
|
|
4642
4395
|
<span class="cline-any cline-no"> </span>
|
|
4643
4396
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -4659,20 +4412,11 @@
|
|
|
4659
4412
|
<span class="cline-any cline-no"> </span>
|
|
4660
4413
|
<span class="cline-any cline-neutral"> </span>
|
|
4661
4414
|
<span class="cline-any cline-neutral"> </span>
|
|
4662
|
-
<span class="cline-any cline-
|
|
4663
|
-
<span class="cline-any cline-yes">18x</span>
|
|
4664
|
-
<span class="cline-any cline-yes">18x</span>
|
|
4665
|
-
<span class="cline-any cline-no"> </span>
|
|
4415
|
+
<span class="cline-any cline-yes">7x</span>
|
|
4666
4416
|
<span class="cline-any cline-no"> </span>
|
|
4667
4417
|
<span class="cline-any cline-neutral"> </span>
|
|
4668
|
-
<span class="cline-any cline-yes">18x</span>
|
|
4669
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4670
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4671
|
-
<span class="cline-any cline-yes">18x</span>
|
|
4672
|
-
<span class="cline-any cline-yes">8x</span>
|
|
4673
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4674
4418
|
<span class="cline-any cline-neutral"> </span>
|
|
4675
|
-
<span class="cline-any cline-yes">
|
|
4419
|
+
<span class="cline-any cline-yes">7x</span>
|
|
4676
4420
|
<span class="cline-any cline-no"> </span>
|
|
4677
4421
|
<span class="cline-any cline-no"> </span>
|
|
4678
4422
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -4680,48 +4424,30 @@
|
|
|
4680
4424
|
<span class="cline-any cline-no"> </span>
|
|
4681
4425
|
<span class="cline-any cline-neutral"> </span>
|
|
4682
4426
|
<span class="cline-any cline-neutral"> </span>
|
|
4683
|
-
<span class="cline-any cline-yes">
|
|
4427
|
+
<span class="cline-any cline-yes">7x</span>
|
|
4684
4428
|
<span class="cline-any cline-yes">28x</span>
|
|
4685
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4686
4429
|
<span class="cline-any cline-yes">28x</span>
|
|
4687
4430
|
<span class="cline-any cline-neutral"> </span>
|
|
4688
4431
|
<span class="cline-any cline-neutral"> </span>
|
|
4689
4432
|
<span class="cline-any cline-neutral"> </span>
|
|
4690
|
-
<span class="cline-any cline-yes">18x</span>
|
|
4691
|
-
<span class="cline-any cline-no"> </span>
|
|
4692
|
-
<span class="cline-any cline-no"> </span>
|
|
4693
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4694
4433
|
<span class="cline-any cline-neutral"> </span>
|
|
4695
|
-
<span class="cline-any cline-yes">
|
|
4696
|
-
<span class="cline-any cline-yes">18x</span>
|
|
4697
|
-
<span class="cline-any cline-yes">54x</span>
|
|
4698
|
-
<span class="cline-any cline-yes">22x</span>
|
|
4699
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4700
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4701
|
-
<span class="cline-any cline-yes">54x</span>
|
|
4702
|
-
<span class="cline-any cline-yes">26x</span>
|
|
4434
|
+
<span class="cline-any cline-yes">7x</span>
|
|
4703
4435
|
<span class="cline-any cline-no"> </span>
|
|
4704
4436
|
<span class="cline-any cline-no"> </span>
|
|
4705
4437
|
<span class="cline-any cline-neutral"> </span>
|
|
4706
4438
|
<span class="cline-any cline-neutral"> </span>
|
|
4439
|
+
<span class="cline-any cline-yes">7x</span>
|
|
4440
|
+
<span class="cline-any cline-yes">7x</span>
|
|
4441
|
+
<span class="cline-any cline-no"> </span>
|
|
4707
4442
|
<span class="cline-any cline-neutral"> </span>
|
|
4708
|
-
<span class="cline-any cline-
|
|
4709
|
-
<span class="cline-any cline-yes">
|
|
4710
|
-
<span class="cline-any cline-yes">18x</span>
|
|
4711
|
-
<span class="cline-any cline-yes">18x</span>
|
|
4712
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4713
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4714
|
-
<span class="cline-any cline-yes">18x</span>
|
|
4715
|
-
<span class="cline-any cline-yes">18x</span>
|
|
4716
|
-
<span class="cline-any cline-yes">11x</span>
|
|
4717
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4718
|
-
<span class="cline-any cline-yes">18x</span>
|
|
4719
|
-
<span class="cline-any cline-yes">18x</span>
|
|
4443
|
+
<span class="cline-any cline-yes">7x</span>
|
|
4444
|
+
<span class="cline-any cline-yes">7x</span>
|
|
4720
4445
|
<span class="cline-any cline-neutral"> </span>
|
|
4721
4446
|
<span class="cline-any cline-neutral"> </span>
|
|
4722
4447
|
<span class="cline-any cline-neutral"> </span>
|
|
4723
4448
|
<span class="cline-any cline-yes">1x</span>
|
|
4724
4449
|
<span class="cline-any cline-neutral"> </span>
|
|
4450
|
+
<span class="cline-any cline-neutral"> </span>
|
|
4725
4451
|
<span class="cline-any cline-no"> </span>
|
|
4726
4452
|
<span class="cline-any cline-no"> </span>
|
|
4727
4453
|
<span class="cline-any cline-no"> </span>
|
|
@@ -4751,16 +4477,8 @@
|
|
|
4751
4477
|
<span class="cline-any cline-no"> </span>
|
|
4752
4478
|
<span class="cline-any cline-no"> </span>
|
|
4753
4479
|
<span class="cline-any cline-no"> </span>
|
|
4754
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4755
|
-
<span class="cline-any cline-no"> </span>
|
|
4756
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4757
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4758
|
-
<span class="cline-any cline-no"> </span>
|
|
4759
|
-
<span class="cline-any cline-no"> </span>
|
|
4760
|
-
<span class="cline-any cline-no"> </span>
|
|
4761
4480
|
<span class="cline-any cline-no"> </span>
|
|
4762
4481
|
<span class="cline-any cline-neutral"> </span>
|
|
4763
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4764
4482
|
<span class="cline-any cline-no"> </span>
|
|
4765
4483
|
<span class="cline-any cline-neutral"> </span>
|
|
4766
4484
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -4769,17 +4487,9 @@
|
|
|
4769
4487
|
<span class="cline-any cline-no"> </span>
|
|
4770
4488
|
<span class="cline-any cline-no"> </span>
|
|
4771
4489
|
<span class="cline-any cline-no"> </span>
|
|
4772
|
-
<span class="cline-any cline-no"> </span>
|
|
4773
4490
|
<span class="cline-any cline-neutral"> </span>
|
|
4774
|
-
<span class="cline-any cline-no"> </span>
|
|
4775
|
-
<span class="cline-any cline-no"> </span>
|
|
4776
4491
|
<span class="cline-any cline-neutral"> </span>
|
|
4777
4492
|
<span class="cline-any cline-no"> </span>
|
|
4778
|
-
<span class="cline-any cline-no"> </span>
|
|
4779
|
-
<span class="cline-any cline-no"> </span>
|
|
4780
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4781
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4782
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4783
4493
|
<span class="cline-any cline-neutral"> </span>
|
|
4784
4494
|
<span class="cline-any cline-neutral"> </span>
|
|
4785
4495
|
<span class="cline-any cline-no"> </span>
|
|
@@ -4796,6 +4506,7 @@
|
|
|
4796
4506
|
<span class="cline-any cline-no"> </span>
|
|
4797
4507
|
<span class="cline-any cline-no"> </span>
|
|
4798
4508
|
<span class="cline-any cline-neutral"> </span>
|
|
4509
|
+
<span class="cline-any cline-neutral"> </span>
|
|
4799
4510
|
<span class="cline-any cline-no"> </span>
|
|
4800
4511
|
<span class="cline-any cline-no"> </span>
|
|
4801
4512
|
<span class="cline-any cline-no"> </span>
|
|
@@ -4815,6 +4526,7 @@
|
|
|
4815
4526
|
<span class="cline-any cline-no"> </span>
|
|
4816
4527
|
<span class="cline-any cline-no"> </span>
|
|
4817
4528
|
<span class="cline-any cline-no"> </span>
|
|
4529
|
+
<span class="cline-any cline-no"> </span>
|
|
4818
4530
|
<span class="cline-any cline-neutral"> </span>
|
|
4819
4531
|
<span class="cline-any cline-no"> </span>
|
|
4820
4532
|
<span class="cline-any cline-no"> </span>
|
|
@@ -4822,6 +4534,7 @@
|
|
|
4822
4534
|
<span class="cline-any cline-neutral"> </span>
|
|
4823
4535
|
<span class="cline-any cline-neutral"> </span>
|
|
4824
4536
|
<span class="cline-any cline-neutral"> </span>
|
|
4537
|
+
<span class="cline-any cline-neutral"> </span>
|
|
4825
4538
|
<span class="cline-any cline-no"> </span>
|
|
4826
4539
|
<span class="cline-any cline-neutral"> </span>
|
|
4827
4540
|
<span class="cline-any cline-no"> </span>
|
|
@@ -4839,8 +4552,6 @@
|
|
|
4839
4552
|
<span class="cline-any cline-no"> </span>
|
|
4840
4553
|
<span class="cline-any cline-no"> </span>
|
|
4841
4554
|
<span class="cline-any cline-no"> </span>
|
|
4842
|
-
<span class="cline-any cline-no"> </span>
|
|
4843
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4844
4555
|
<span class="cline-any cline-neutral"> </span>
|
|
4845
4556
|
<span class="cline-any cline-neutral"> </span>
|
|
4846
4557
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -4878,7 +4589,6 @@
|
|
|
4878
4589
|
<span class="cline-any cline-no"> </span>
|
|
4879
4590
|
<span class="cline-any cline-no"> </span>
|
|
4880
4591
|
<span class="cline-any cline-no"> </span>
|
|
4881
|
-
<span class="cline-any cline-no"> </span>
|
|
4882
4592
|
<span class="cline-any cline-neutral"> </span>
|
|
4883
4593
|
<span class="cline-any cline-neutral"> </span>
|
|
4884
4594
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -4893,8 +4603,6 @@
|
|
|
4893
4603
|
<span class="cline-any cline-neutral"> </span>
|
|
4894
4604
|
<span class="cline-any cline-neutral"> </span>
|
|
4895
4605
|
<span class="cline-any cline-no"> </span>
|
|
4896
|
-
<span class="cline-any cline-no"> </span>
|
|
4897
|
-
<span class="cline-any cline-neutral"> </span>
|
|
4898
4606
|
<span class="cline-any cline-neutral"> </span>
|
|
4899
4607
|
<span class="cline-any cline-no"> </span>
|
|
4900
4608
|
<span class="cline-any cline-no"> </span>
|
|
@@ -5012,13 +4720,8 @@
|
|
|
5012
4720
|
<span class="cline-any cline-no"> </span>
|
|
5013
4721
|
<span class="cline-any cline-no"> </span>
|
|
5014
4722
|
<span class="cline-any cline-no"> </span>
|
|
5015
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5016
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5017
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5018
4723
|
<span class="cline-any cline-no"> </span>
|
|
5019
4724
|
<span class="cline-any cline-neutral"> </span>
|
|
5020
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5021
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5022
4725
|
<span class="cline-any cline-no"> </span>
|
|
5023
4726
|
<span class="cline-any cline-no"> </span>
|
|
5024
4727
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -5035,6 +4738,7 @@
|
|
|
5035
4738
|
<span class="cline-any cline-neutral"> </span>
|
|
5036
4739
|
<span class="cline-any cline-neutral"> </span>
|
|
5037
4740
|
<span class="cline-any cline-no"> </span>
|
|
4741
|
+
<span class="cline-any cline-neutral"> </span>
|
|
5038
4742
|
<span class="cline-any cline-no"> </span>
|
|
5039
4743
|
<span class="cline-any cline-no"> </span>
|
|
5040
4744
|
<span class="cline-any cline-no"> </span>
|
|
@@ -5056,7 +4760,7 @@
|
|
|
5056
4760
|
<span class="cline-any cline-neutral"> </span>
|
|
5057
4761
|
<span class="cline-any cline-neutral"> </span>
|
|
5058
4762
|
<span class="cline-any cline-neutral"> </span>
|
|
5059
|
-
<span class="cline-any cline-yes">
|
|
4763
|
+
<span class="cline-any cline-yes">249x</span>
|
|
5060
4764
|
<span class="cline-any cline-neutral"> </span>
|
|
5061
4765
|
<span class="cline-any cline-neutral"> </span>
|
|
5062
4766
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -5097,7 +4801,6 @@
|
|
|
5097
4801
|
<span class="cline-any cline-neutral"> </span>
|
|
5098
4802
|
<span class="cline-any cline-neutral"> </span>
|
|
5099
4803
|
<span class="cline-any cline-no"> </span>
|
|
5100
|
-
<span class="cline-any cline-no"> </span>
|
|
5101
4804
|
<span class="cline-any cline-neutral"> </span>
|
|
5102
4805
|
<span class="cline-any cline-neutral"> </span>
|
|
5103
4806
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -5136,15 +4839,13 @@
|
|
|
5136
4839
|
<span class="cline-any cline-neutral"> </span>
|
|
5137
4840
|
<span class="cline-any cline-neutral"> </span>
|
|
5138
4841
|
<span class="cline-any cline-neutral"> </span>
|
|
5139
|
-
<span class="cline-any cline-yes">
|
|
4842
|
+
<span class="cline-any cline-yes">249x</span>
|
|
5140
4843
|
<span class="cline-any cline-neutral"> </span>
|
|
5141
4844
|
<span class="cline-any cline-neutral"> </span>
|
|
5142
|
-
<span class="cline-any cline-yes">
|
|
4845
|
+
<span class="cline-any cline-yes">249x</span>
|
|
5143
4846
|
<span class="cline-any cline-neutral"> </span>
|
|
5144
4847
|
<span class="cline-any cline-neutral"> </span>
|
|
5145
4848
|
<span class="cline-any cline-no"> </span>
|
|
5146
|
-
<span class="cline-any cline-no"> </span>
|
|
5147
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5148
4849
|
<span class="cline-any cline-neutral"> </span>
|
|
5149
4850
|
<span class="cline-any cline-neutral"> </span>
|
|
5150
4851
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -5205,7 +4906,7 @@
|
|
|
5205
4906
|
<span class="cline-any cline-neutral"> </span>
|
|
5206
4907
|
<span class="cline-any cline-neutral"> </span>
|
|
5207
4908
|
<span class="cline-any cline-neutral"> </span>
|
|
5208
|
-
<span class="cline-any cline-yes">
|
|
4909
|
+
<span class="cline-any cline-yes">249x</span>
|
|
5209
4910
|
<span class="cline-any cline-neutral"> </span>
|
|
5210
4911
|
<span class="cline-any cline-neutral"> </span>
|
|
5211
4912
|
<span class="cline-any cline-no"> </span>
|
|
@@ -5235,11 +4936,6 @@
|
|
|
5235
4936
|
<span class="cline-any cline-neutral"> </span>
|
|
5236
4937
|
<span class="cline-any cline-neutral"> </span>
|
|
5237
4938
|
<span class="cline-any cline-neutral"> </span>
|
|
5238
|
-
<span class="cline-any cline-no"> </span>
|
|
5239
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5240
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5241
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5242
|
-
<span class="cline-any cline-neutral"> </span>
|
|
5243
4939
|
<span class="cline-any cline-neutral"> </span>
|
|
5244
4940
|
<span class="cline-any cline-neutral"> </span>
|
|
5245
4941
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -5249,14 +4945,7 @@
|
|
|
5249
4945
|
<span class="cline-any cline-neutral"> </span>
|
|
5250
4946
|
<span class="cline-any cline-neutral"> </span>
|
|
5251
4947
|
<span class="cline-any cline-neutral"> </span>
|
|
5252
|
-
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import {
|
|
5253
|
-
wrapForEachToGenerator as wrapForEach,
|
|
5254
|
-
wrapIteratorToGenerator as wrapIterator,
|
|
5255
|
-
runGeneratorSync as runSync,
|
|
5256
|
-
returnOrigin,
|
|
5257
|
-
} from '../utils/time-slicing';
|
|
5258
|
-
import { waitOqlQueryComponentChildrenFinish } from '../common';
|
|
5259
|
-
import type { EmbeddedTSFileGenerator } from '../utils';
|
|
4948
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import { v4 as uuidv4 } from 'uuid';
|
|
5260
4949
|
import { FrontendLibrary } from './FrontendLibrary__';
|
|
5261
4950
|
import {
|
|
5262
4951
|
TranslatorState,
|
|
@@ -5265,67 +4954,59 @@ import {
|
|
|
5265
4954
|
indent,
|
|
5266
4955
|
createCompilerState,
|
|
5267
4956
|
embeddedTSEmitter,
|
|
5268
|
-
withSourceMapGenerator,
|
|
5269
|
-
withGenerator,
|
|
5270
|
-
TranslatorGenerator,
|
|
5271
4957
|
} from '../translator';
|
|
5272
|
-
import
|
|
5273
|
-
import
|
|
5274
|
-
import
|
|
5275
|
-
import
|
|
5276
|
-
import
|
|
5277
|
-
import
|
|
5278
|
-
import
|
|
5279
|
-
import
|
|
5280
|
-
import
|
|
5281
|
-
import
|
|
5282
|
-
import
|
|
5283
|
-
import
|
|
5284
|
-
import
|
|
5285
|
-
import
|
|
5286
|
-
import
|
|
4958
|
+
import Namespace from './Namespace__';
|
|
4959
|
+
import CallQueryComponent from './CallQueryComponent__';
|
|
4960
|
+
import ForEachStatement from './ForEachStatement__';
|
|
4961
|
+
import Assignment from './Assignment__';
|
|
4962
|
+
import Identifier from './Identifier__';
|
|
4963
|
+
import BindEvent from './BindEvent__';
|
|
4964
|
+
import BatchAssignment from './BatchAssignment__';
|
|
4965
|
+
import OqlQueryComponent from './OqlQueryComponent__';
|
|
4966
|
+
import Match from './Match__';
|
|
4967
|
+
import MatchCase from './MatchCase__';
|
|
4968
|
+
import TypeAnnotation from './TypeAnnotation__';
|
|
4969
|
+
import CallInterface from './CallInterface__';
|
|
4970
|
+
import CallLogic from './CallLogic__';
|
|
4971
|
+
import ViewElement from './ViewElement__';
|
|
4972
|
+
import { SynatxNode } from './types__';
|
|
5287
4973
|
|
|
5288
4974
|
//================================================================================
|
|
5289
4975
|
// 从这里开始到结尾注释之间的代码由 NASL Workbench 自动生成,请不手动修改!
|
|
5290
4976
|
// ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
|
|
5291
4977
|
//================================================================================
|
|
5292
4978
|
import { EventPayload, Params } from '../common/EventEmitter';
|
|
5293
|
-
import { concept, excludedInJSON, property,
|
|
4979
|
+
import { concept, excludedInJSON, property, className } from '../decorators';
|
|
5294
4980
|
|
|
5295
4981
|
import * as utils from '../utils';
|
|
5296
|
-
import * as types from './utils/types';
|
|
5297
|
-
import * as asserts from './utils/asserts';
|
|
5298
|
-
import { v4 as uuidv4 } from 'uuid';
|
|
5299
4982
|
import BaseNode from '../common/BaseNode';
|
|
5300
|
-
import
|
|
5301
|
-
import
|
|
5302
|
-
import
|
|
5303
|
-
import
|
|
5304
|
-
import
|
|
5305
|
-
import
|
|
5306
|
-
import
|
|
5307
|
-
import
|
|
5308
|
-
import
|
|
5309
|
-
import
|
|
5310
|
-
import
|
|
5311
|
-
import
|
|
5312
|
-
import
|
|
4983
|
+
import Transactional from './Transactional__';
|
|
4984
|
+
import TypeParam from './TypeParam__';
|
|
4985
|
+
import Param from './Param__';
|
|
4986
|
+
import Return from './Return__';
|
|
4987
|
+
import Variable from './Variable__';
|
|
4988
|
+
import LogicItem from './LogicItem__';
|
|
4989
|
+
import Module from './Module__';
|
|
4990
|
+
import Connector from './Connector__';
|
|
4991
|
+
import View from './View__';
|
|
4992
|
+
import ProcessElement from './ProcessElement__';
|
|
4993
|
+
import App from './App__';
|
|
4994
|
+
import Frontend from './Frontend__';
|
|
4995
|
+
import Process from './Process__';
|
|
5313
4996
|
|
|
5314
4997
|
/**
|
|
5315
4998
|
* 逻辑
|
|
5316
4999
|
*/
|
|
5000
|
+
@className
|
|
5317
5001
|
@concept('逻辑')
|
|
5002
|
+
// @ts-ignore
|
|
5318
5003
|
export class Logic extends BaseNode {
|
|
5319
5004
|
/** 类名 */
|
|
5320
|
-
static readonly ConceptName
|
|
5321
|
-
|
|
5322
|
-
/** 继承链 */
|
|
5323
|
-
static readonly inheritanceChain: string[] = ['BaseNode'];
|
|
5005
|
+
static readonly ConceptName = 'Logic';
|
|
5324
5006
|
|
|
5325
5007
|
/**
|
|
5326
5008
|
* 产品概念
|
|
5327
5009
|
*/
|
|
5328
|
-
@property('concept')
|
|
5329
5010
|
// @ts-ignore
|
|
5330
5011
|
readonly concept!: 'Logic' | 'AuthLogic' | 'AuthLogicForCallInterface';
|
|
5331
5012
|
|
|
@@ -5333,104 +5014,85 @@ export class Logic extends BaseNode {
|
|
|
5333
5014
|
* 逻辑名称
|
|
5334
5015
|
*/
|
|
5335
5016
|
@property()
|
|
5017
|
+
// @ts-ignore
|
|
5336
5018
|
name!: string;
|
|
5337
5019
|
|
|
5338
5020
|
/**
|
|
5339
5021
|
* 逻辑标题
|
|
5340
5022
|
*/
|
|
5341
5023
|
@property()
|
|
5024
|
+
// @ts-ignore
|
|
5342
5025
|
title!: string;
|
|
5343
5026
|
|
|
5344
5027
|
/**
|
|
5345
5028
|
* 逻辑描述
|
|
5346
5029
|
*/
|
|
5347
5030
|
@property()
|
|
5031
|
+
// @ts-ignore
|
|
5348
5032
|
description!: string;
|
|
5349
5033
|
|
|
5350
5034
|
/**
|
|
5351
5035
|
* 触发方式
|
|
5352
5036
|
*/
|
|
5353
5037
|
@property()
|
|
5038
|
+
// @ts-ignore
|
|
5354
5039
|
triggerType!: string;
|
|
5355
5040
|
|
|
5356
5041
|
/**
|
|
5357
5042
|
* 定时任务表达式
|
|
5358
5043
|
*/
|
|
5359
5044
|
@property()
|
|
5045
|
+
// @ts-ignore
|
|
5360
5046
|
cron!: string;
|
|
5361
5047
|
|
|
5362
5048
|
/**
|
|
5363
5049
|
* 是否可覆写
|
|
5364
5050
|
*/
|
|
5365
5051
|
@property()
|
|
5052
|
+
// @ts-ignore
|
|
5366
5053
|
overridable!: boolean;
|
|
5367
5054
|
|
|
5368
5055
|
/**
|
|
5369
5056
|
* 事务
|
|
5370
5057
|
*/
|
|
5371
|
-
@property(
|
|
5372
|
-
|
|
5373
|
-
})
|
|
5058
|
+
@property('Transactional')
|
|
5059
|
+
// @ts-ignore
|
|
5374
5060
|
transactional!: Transactional;
|
|
5375
5061
|
|
|
5376
5062
|
/**
|
|
5377
5063
|
* 类型参数列表
|
|
5378
5064
|
*/
|
|
5379
|
-
@property(
|
|
5380
|
-
objectRef: 'TypeParam',
|
|
5381
|
-
isArray: true,
|
|
5382
|
-
defaultValue: null,
|
|
5383
|
-
})
|
|
5065
|
+
@property('TypeParam')
|
|
5384
5066
|
typeParams: Array<TypeParam> = null;
|
|
5385
5067
|
|
|
5386
5068
|
/**
|
|
5387
5069
|
* 输入参数列表
|
|
5388
5070
|
*/
|
|
5389
|
-
@property(
|
|
5390
|
-
objectRef: 'Param',
|
|
5391
|
-
isArray: true,
|
|
5392
|
-
defaultValue: [],
|
|
5393
|
-
})
|
|
5071
|
+
@property('Param')
|
|
5394
5072
|
params: Array<Param> = [];
|
|
5395
5073
|
|
|
5396
5074
|
/**
|
|
5397
5075
|
* 输出参数列表
|
|
5398
5076
|
*/
|
|
5399
|
-
@property(
|
|
5400
|
-
objectRef: 'Return',
|
|
5401
|
-
isArray: true,
|
|
5402
|
-
defaultValue: [],
|
|
5403
|
-
})
|
|
5077
|
+
@property('Return')
|
|
5404
5078
|
returns: Array<Return> = [];
|
|
5405
5079
|
|
|
5406
5080
|
/**
|
|
5407
5081
|
* 变量列表
|
|
5408
5082
|
*/
|
|
5409
|
-
@property(
|
|
5410
|
-
objectRef: 'Variable',
|
|
5411
|
-
isArray: true,
|
|
5412
|
-
defaultValue: [],
|
|
5413
|
-
})
|
|
5083
|
+
@property('Variable')
|
|
5414
5084
|
variables: Array<Variable> = [];
|
|
5415
5085
|
|
|
5416
5086
|
/**
|
|
5417
5087
|
* 逻辑项列表
|
|
5418
5088
|
*/
|
|
5419
|
-
@property(
|
|
5420
|
-
objectRef: 'LogicItem',
|
|
5421
|
-
isArray: true,
|
|
5422
|
-
defaultValue: [],
|
|
5423
|
-
})
|
|
5089
|
+
@property('LogicItem')
|
|
5424
5090
|
body: Array<LogicItem> = [];
|
|
5425
5091
|
|
|
5426
5092
|
/**
|
|
5427
5093
|
* 逻辑项列表
|
|
5428
5094
|
*/
|
|
5429
|
-
@property(
|
|
5430
|
-
objectRef: 'LogicItem',
|
|
5431
|
-
isArray: true,
|
|
5432
|
-
defaultValue: [],
|
|
5433
|
-
})
|
|
5095
|
+
@property('LogicItem')
|
|
5434
5096
|
playground: Array<LogicItem> = [];
|
|
5435
5097
|
|
|
5436
5098
|
/**
|
|
@@ -5439,36 +5101,42 @@ export class Logic extends BaseNode {
|
|
|
5439
5101
|
<span class="fstat-no" title="function not covered" > get m</span>odule() {
|
|
5440
5102
|
<span class="cstat-no" title="statement not covered" > return this.getAncestor('Module') as Module;</span>
|
|
5441
5103
|
}
|
|
5104
|
+
|
|
5442
5105
|
/**
|
|
5443
5106
|
* 祖先 App
|
|
5444
5107
|
*/
|
|
5445
5108
|
<span class="fstat-no" title="function not covered" > get a</span>pp() {
|
|
5446
5109
|
<span class="cstat-no" title="statement not covered" > return this.getAncestor('App') as App;</span>
|
|
5447
5110
|
}
|
|
5111
|
+
|
|
5448
5112
|
/**
|
|
5449
5113
|
* 祖先 Connector
|
|
5450
5114
|
*/
|
|
5451
5115
|
<span class="fstat-no" title="function not covered" > get c</span>onnector() {
|
|
5452
5116
|
<span class="cstat-no" title="statement not covered" > return this.getAncestor('Connector') as Connector;</span>
|
|
5453
5117
|
}
|
|
5118
|
+
|
|
5454
5119
|
/**
|
|
5455
5120
|
* 祖先 View
|
|
5456
5121
|
*/
|
|
5457
5122
|
get view() {
|
|
5458
5123
|
return this.getAncestor('View') as View;
|
|
5459
5124
|
}
|
|
5125
|
+
|
|
5460
5126
|
/**
|
|
5461
5127
|
* 祖先 Frontend
|
|
5462
5128
|
*/
|
|
5463
5129
|
<span class="fstat-no" title="function not covered" > get f</span>rontend() {
|
|
5464
5130
|
<span class="cstat-no" title="statement not covered" > return this.getAncestor('Frontend') as Frontend;</span>
|
|
5465
5131
|
}
|
|
5132
|
+
|
|
5466
5133
|
/**
|
|
5467
5134
|
* 祖先 ProcessElement
|
|
5468
5135
|
*/
|
|
5469
5136
|
<span class="fstat-no" title="function not covered" > get p</span>rocessElement() {
|
|
5470
5137
|
<span class="cstat-no" title="statement not covered" > return this.getAncestor('ProcessElement') as ProcessElement;</span>
|
|
5471
5138
|
}
|
|
5139
|
+
|
|
5472
5140
|
/**
|
|
5473
5141
|
* 祖先 Process
|
|
5474
5142
|
*/
|
|
@@ -5480,7 +5148,7 @@ export class Logic extends BaseNode {
|
|
|
5480
5148
|
* @param source 需要合并的部分参数
|
|
5481
5149
|
*/
|
|
5482
5150
|
constructor(source?: Partial<Logic>) {
|
|
5483
|
-
source =
|
|
5151
|
+
source = { ...Logic.getDefaultOptions(), ...source};
|
|
5484
5152
|
super(source);
|
|
5485
5153
|
super.subConstructor(source);
|
|
5486
5154
|
}
|
|
@@ -5493,17 +5161,18 @@ export class Logic extends BaseNode {
|
|
|
5493
5161
|
* 从父级删除该节点
|
|
5494
5162
|
* @internal
|
|
5495
5163
|
*/
|
|
5496
|
-
<span class="fstat-no" title="function not covered" > _delete() {
|
|
5164
|
+
<span class="fstat-no" title="function not covered" > _delete(</span>) {
|
|
5497
5165
|
let params: Params = <span class="cstat-no" title="statement not covered" >null;</span>
|
|
5498
5166
|
<span class="cstat-no" title="statement not covered" > if (this.parentNode) {</span>
|
|
5499
5167
|
<span class="cstat-no" title="statement not covered" > params = (this.parentNode as any)?.__removeLogic?.(this);</span>
|
|
5500
5168
|
}
|
|
5501
5169
|
<span class="cstat-no" title="statement not covered" > return params;</span>
|
|
5502
5170
|
}
|
|
5171
|
+
|
|
5503
5172
|
/**
|
|
5504
5173
|
* 设置逻辑名称
|
|
5505
5174
|
*/
|
|
5506
|
-
<span class="fstat-no" title="function not covered" > setName(
|
|
5175
|
+
<span class="fstat-no" title="function not covered" > setName(</span>name: string) {
|
|
5507
5176
|
const object = <span class="cstat-no" title="statement not covered" >{</span>
|
|
5508
5177
|
name,
|
|
5509
5178
|
};
|
|
@@ -5516,7 +5185,7 @@ export class Logic extends BaseNode {
|
|
|
5516
5185
|
/**
|
|
5517
5186
|
* 设置逻辑标题
|
|
5518
5187
|
*/
|
|
5519
|
-
<span class="fstat-no" title="function not covered" > setTitle(
|
|
5188
|
+
<span class="fstat-no" title="function not covered" > setTitle(</span>title: string) {
|
|
5520
5189
|
const object = <span class="cstat-no" title="statement not covered" >{</span>
|
|
5521
5190
|
title,
|
|
5522
5191
|
};
|
|
@@ -5528,7 +5197,7 @@ export class Logic extends BaseNode {
|
|
|
5528
5197
|
/**
|
|
5529
5198
|
* 设置逻辑描述
|
|
5530
5199
|
*/
|
|
5531
|
-
<span class="fstat-no" title="function not covered" > setDescription(
|
|
5200
|
+
<span class="fstat-no" title="function not covered" > setDescription(</span>description: string) {
|
|
5532
5201
|
const object = <span class="cstat-no" title="statement not covered" >{</span>
|
|
5533
5202
|
description,
|
|
5534
5203
|
};
|
|
@@ -5540,7 +5209,7 @@ export class Logic extends BaseNode {
|
|
|
5540
5209
|
/**
|
|
5541
5210
|
* 设置触发方式
|
|
5542
5211
|
*/
|
|
5543
|
-
<span class="fstat-no" title="function not covered" > setTriggerType(
|
|
5212
|
+
<span class="fstat-no" title="function not covered" > setTriggerType(</span>triggerType: string) {
|
|
5544
5213
|
const object = <span class="cstat-no" title="statement not covered" >{</span>
|
|
5545
5214
|
triggerType,
|
|
5546
5215
|
};
|
|
@@ -5552,7 +5221,7 @@ export class Logic extends BaseNode {
|
|
|
5552
5221
|
/**
|
|
5553
5222
|
* 设置定时任务表达式
|
|
5554
5223
|
*/
|
|
5555
|
-
<span class="fstat-no" title="function not covered" > setCron(
|
|
5224
|
+
<span class="fstat-no" title="function not covered" > setCron(</span>cron: string) {
|
|
5556
5225
|
const object = <span class="cstat-no" title="statement not covered" >{</span>
|
|
5557
5226
|
cron,
|
|
5558
5227
|
};
|
|
@@ -5564,7 +5233,7 @@ export class Logic extends BaseNode {
|
|
|
5564
5233
|
/**
|
|
5565
5234
|
* 设置是否可覆写
|
|
5566
5235
|
*/
|
|
5567
|
-
<span class="fstat-no" title="function not covered" > setOverridable(
|
|
5236
|
+
<span class="fstat-no" title="function not covered" > setOverridable(</span>overridable: boolean) {
|
|
5568
5237
|
const object = <span class="cstat-no" title="statement not covered" >{</span>
|
|
5569
5238
|
overridable,
|
|
5570
5239
|
};
|
|
@@ -5576,7 +5245,7 @@ export class Logic extends BaseNode {
|
|
|
5576
5245
|
/**
|
|
5577
5246
|
* 设置事务
|
|
5578
5247
|
*/
|
|
5579
|
-
<span class="fstat-no" title="function not covered" > setTransactional(
|
|
5248
|
+
<span class="fstat-no" title="function not covered" > setTransactional(</span>transactional: Transactional) {
|
|
5580
5249
|
<span class="cstat-no" title="statement not covered" > transactional._delete();</span>
|
|
5581
5250
|
const relationOptions = <span class="cstat-no" title="statement not covered" >{ parentNode: this, parentKey: 'transactional' };</span>
|
|
5582
5251
|
<span class="cstat-no" title="statement not covered" > Object.assign(transactional, relationOptions);</span>
|
|
@@ -5588,11 +5257,12 @@ export class Logic extends BaseNode {
|
|
|
5588
5257
|
});
|
|
5589
5258
|
}
|
|
5590
5259
|
|
|
5591
|
-
<span class="fstat-no" title="function not covered" > getTypeParamExistingNames(
|
|
5260
|
+
<span class="fstat-no" title="function not covered" > getTypeParamExistingNames(</span>excludedList: Array<TypeParam> = <span class="branch-0 cbranch-no" title="branch not covered" >[])</span> {
|
|
5592
5261
|
const excludedSet = <span class="cstat-no" title="statement not covered" >new Set(excludedList);</span>
|
|
5593
|
-
<span class="cstat-no" title="statement not covered" > return ((this.typeParams as TypeParam[]) || []).filter(
|
|
5262
|
+
<span class="cstat-no" title="statement not covered" > return ((this.typeParams as TypeParam[]) || []).filter(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >!excludedSet.has(item))</span>.map(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >item.name)</span>;</span>
|
|
5594
5263
|
}
|
|
5595
|
-
|
|
5264
|
+
|
|
5265
|
+
<span class="fstat-no" title="function not covered" > getTypeParamUniqueName(</span>name = <span class="branch-0 cbranch-no" title="branch not covered" >'typeParam1')</span> {
|
|
5596
5266
|
<span class="cstat-no" title="statement not covered" > return utils.unique(name, this.getTypeParamExistingNames(), undefined, false);</span>
|
|
5597
5267
|
}
|
|
5598
5268
|
|
|
@@ -5617,10 +5287,9 @@ export class Logic extends BaseNode {
|
|
|
5617
5287
|
*/
|
|
5618
5288
|
_insertTypeParamAt(typeParam: TypeParam, index: number): TypeParam;
|
|
5619
5289
|
|
|
5620
|
-
<span class="fstat-no" title="function not covered" > _insertTypeParamAt(
|
|
5290
|
+
<span class="fstat-no" title="function not covered" > _insertTypeParamAt(</span>options: string | Partial<TypeParam> | TypeParam, index: number) {
|
|
5621
5291
|
const typeParamOptions: any = <span class="cstat-no" title="statement not covered" >{};</span>
|
|
5622
5292
|
const relationOptions = <span class="cstat-no" title="statement not covered" >{ parentNode: this, parentKey: 'typeParams' };</span>
|
|
5623
|
-
const <span class="cstat-no" title="statement not covered" >TypeParam = getConceptConstructor('TypeParam');</span>
|
|
5624
5293
|
let typeParam: TypeParam;
|
|
5625
5294
|
<span class="cstat-no" title="statement not covered" > if (!options) {</span>
|
|
5626
5295
|
<span class="cstat-no" title="statement not covered" > typeParam = TypeParam.from(</span>
|
|
@@ -5631,7 +5300,7 @@ export class Logic extends BaseNode {
|
|
|
5631
5300
|
this,
|
|
5632
5301
|
'typeParams',
|
|
5633
5302
|
);
|
|
5634
|
-
<span class="cstat-no" title="statement not covered" >
|
|
5303
|
+
} else <span class="cstat-no" title="statement not covered" >if (typeof options === 'string') {</span>
|
|
5635
5304
|
<span class="cstat-no" title="statement not covered" > typeParam = TypeParam.from(</span>
|
|
5636
5305
|
{
|
|
5637
5306
|
...typeParamOptions,
|
|
@@ -5640,8 +5309,8 @@ export class Logic extends BaseNode {
|
|
|
5640
5309
|
this,
|
|
5641
5310
|
'typeParams',
|
|
5642
5311
|
);
|
|
5643
|
-
<span class="cstat-no" title="statement not covered" >
|
|
5644
|
-
<span class="cstat-no" title="statement not covered" > options.ensureDelete();
|
|
5312
|
+
} else <span class="cstat-no" title="statement not covered" >if (options instanceof TypeParam) {</span>
|
|
5313
|
+
<span class="cstat-no" title="statement not covered" > options.ensureDelete(); </span>// 同一实例不支持多处存在
|
|
5645
5314
|
<span class="cstat-no" title="statement not covered" > typeParam = options;</span>
|
|
5646
5315
|
<span class="cstat-no" title="statement not covered" > Object.assign(typeParam, relationOptions);</span>
|
|
5647
5316
|
} else {
|
|
@@ -5676,7 +5345,7 @@ export class Logic extends BaseNode {
|
|
|
5676
5345
|
*/
|
|
5677
5346
|
insertTypeParamAt(typeParam: TypeParam, index: number): TypeParam;
|
|
5678
5347
|
|
|
5679
|
-
<span class="fstat-no" title="function not covered" > insertTypeParamAt(
|
|
5348
|
+
<span class="fstat-no" title="function not covered" > insertTypeParamAt(</span>options: string | Partial<TypeParam> | TypeParam, index: number) {
|
|
5680
5349
|
const node = <span class="cstat-no" title="statement not covered" >this._insertTypeParamAt(options as any, index);</span>
|
|
5681
5350
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
5682
5351
|
index,
|
|
@@ -5707,7 +5376,7 @@ export class Logic extends BaseNode {
|
|
|
5707
5376
|
*/
|
|
5708
5377
|
_addTypeParam(typeParam: TypeParam): TypeParam;
|
|
5709
5378
|
|
|
5710
|
-
<span class="fstat-no" title="function not covered" > _addTypeParam(
|
|
5379
|
+
<span class="fstat-no" title="function not covered" > _addTypeParam(</span>options?: string | Partial<TypeParam> | TypeParam) {
|
|
5711
5380
|
const index = <span class="cstat-no" title="statement not covered" >this.typeParams.length;</span>
|
|
5712
5381
|
<span class="cstat-no" title="statement not covered" > return this._insertTypeParamAt(options as any, index);</span>
|
|
5713
5382
|
}
|
|
@@ -5731,7 +5400,7 @@ export class Logic extends BaseNode {
|
|
|
5731
5400
|
*/
|
|
5732
5401
|
addTypeParam(typeParam: TypeParam): TypeParam;
|
|
5733
5402
|
|
|
5734
|
-
<span class="fstat-no" title="function not covered" > addTypeParam(
|
|
5403
|
+
<span class="fstat-no" title="function not covered" > addTypeParam(</span>options?: string | Partial<TypeParam> | TypeParam) {
|
|
5735
5404
|
const node = <span class="cstat-no" title="statement not covered" >this._addTypeParam(options as any);</span>
|
|
5736
5405
|
const index = <span class="cstat-no" title="statement not covered" >this.typeParams.indexOf(node);</span>
|
|
5737
5406
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
@@ -5742,7 +5411,7 @@ export class Logic extends BaseNode {
|
|
|
5742
5411
|
<span class="cstat-no" title="statement not covered" > return node;</span>
|
|
5743
5412
|
}
|
|
5744
5413
|
|
|
5745
|
-
<span class="fstat-no" title="function not covered" > getParamUniqueName(
|
|
5414
|
+
<span class="fstat-no" title="function not covered" > getParamUniqueName(</span>name = <span class="branch-0 cbranch-no" title="branch not covered" >'param1')</span> {
|
|
5746
5415
|
<span class="cstat-no" title="statement not covered" > return utils.unique(name, this.getVarExistingNames(), undefined, false);</span>
|
|
5747
5416
|
}
|
|
5748
5417
|
|
|
@@ -5767,10 +5436,9 @@ export class Logic extends BaseNode {
|
|
|
5767
5436
|
*/
|
|
5768
5437
|
_insertParamAt(param: Param, index: number): Param;
|
|
5769
5438
|
|
|
5770
|
-
<span class="fstat-no" title="function not covered" > _insertParamAt(
|
|
5439
|
+
<span class="fstat-no" title="function not covered" > _insertParamAt(</span>options: string | Partial<Param> | Param, index: number) {
|
|
5771
5440
|
const paramOptions: any = <span class="cstat-no" title="statement not covered" >{};</span>
|
|
5772
5441
|
const relationOptions = <span class="cstat-no" title="statement not covered" >{ parentNode: this, parentKey: 'params' };</span>
|
|
5773
|
-
const <span class="cstat-no" title="statement not covered" >Param = getConceptConstructor('Param');</span>
|
|
5774
5442
|
let param: Param;
|
|
5775
5443
|
<span class="cstat-no" title="statement not covered" > if (!options) {</span>
|
|
5776
5444
|
<span class="cstat-no" title="statement not covered" > param = Param.from(</span>
|
|
@@ -5781,7 +5449,7 @@ export class Logic extends BaseNode {
|
|
|
5781
5449
|
this,
|
|
5782
5450
|
'params',
|
|
5783
5451
|
);
|
|
5784
|
-
<span class="cstat-no" title="statement not covered" >
|
|
5452
|
+
} else <span class="cstat-no" title="statement not covered" >if (typeof options === 'string') {</span>
|
|
5785
5453
|
<span class="cstat-no" title="statement not covered" > param = Param.from(</span>
|
|
5786
5454
|
{
|
|
5787
5455
|
...paramOptions,
|
|
@@ -5790,8 +5458,8 @@ export class Logic extends BaseNode {
|
|
|
5790
5458
|
this,
|
|
5791
5459
|
'params',
|
|
5792
5460
|
);
|
|
5793
|
-
<span class="cstat-no" title="statement not covered" >
|
|
5794
|
-
<span class="cstat-no" title="statement not covered" > options.ensureDelete();
|
|
5461
|
+
} else <span class="cstat-no" title="statement not covered" >if (options instanceof Param) {</span>
|
|
5462
|
+
<span class="cstat-no" title="statement not covered" > options.ensureDelete(); </span>// 同一实例不支持多处存在
|
|
5795
5463
|
<span class="cstat-no" title="statement not covered" > param = options;</span>
|
|
5796
5464
|
<span class="cstat-no" title="statement not covered" > Object.assign(param, relationOptions);</span>
|
|
5797
5465
|
} else {
|
|
@@ -5826,7 +5494,7 @@ export class Logic extends BaseNode {
|
|
|
5826
5494
|
*/
|
|
5827
5495
|
insertParamAt(param: Param, index: number): Param;
|
|
5828
5496
|
|
|
5829
|
-
<span class="fstat-no" title="function not covered" > insertParamAt(
|
|
5497
|
+
<span class="fstat-no" title="function not covered" > insertParamAt(</span>options: string | Partial<Param> | Param, index: number) {
|
|
5830
5498
|
const node = <span class="cstat-no" title="statement not covered" >this._insertParamAt(options as any, index);</span>
|
|
5831
5499
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
5832
5500
|
index,
|
|
@@ -5857,7 +5525,7 @@ export class Logic extends BaseNode {
|
|
|
5857
5525
|
*/
|
|
5858
5526
|
_addParam(param: Param): Param;
|
|
5859
5527
|
|
|
5860
|
-
<span class="fstat-no" title="function not covered" > _addParam(
|
|
5528
|
+
<span class="fstat-no" title="function not covered" > _addParam(</span>options?: string | Partial<Param> | Param) {
|
|
5861
5529
|
const index = <span class="cstat-no" title="statement not covered" >this.params.length;</span>
|
|
5862
5530
|
<span class="cstat-no" title="statement not covered" > return this._insertParamAt(options as any, index);</span>
|
|
5863
5531
|
}
|
|
@@ -5881,7 +5549,7 @@ export class Logic extends BaseNode {
|
|
|
5881
5549
|
*/
|
|
5882
5550
|
addParam(param: Param): Param;
|
|
5883
5551
|
|
|
5884
|
-
<span class="fstat-no" title="function not covered" > addParam(
|
|
5552
|
+
<span class="fstat-no" title="function not covered" > addParam(</span>options?: string | Partial<Param> | Param) {
|
|
5885
5553
|
const node = <span class="cstat-no" title="statement not covered" >this._addParam(options as any);</span>
|
|
5886
5554
|
const index = <span class="cstat-no" title="statement not covered" >this.params.indexOf(node);</span>
|
|
5887
5555
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
@@ -5892,7 +5560,7 @@ export class Logic extends BaseNode {
|
|
|
5892
5560
|
<span class="cstat-no" title="statement not covered" > return node;</span>
|
|
5893
5561
|
}
|
|
5894
5562
|
|
|
5895
|
-
<span class="fstat-no" title="function not covered" > getReturnUniqueName(
|
|
5563
|
+
<span class="fstat-no" title="function not covered" > getReturnUniqueName(</span>name = <span class="branch-0 cbranch-no" title="branch not covered" >'result')</span> {
|
|
5896
5564
|
<span class="cstat-no" title="statement not covered" > return utils.unique(name, this.getVarExistingNames(), undefined, false);</span>
|
|
5897
5565
|
}
|
|
5898
5566
|
|
|
@@ -5917,10 +5585,9 @@ export class Logic extends BaseNode {
|
|
|
5917
5585
|
*/
|
|
5918
5586
|
_insertReturnAt(ret: Return, index: number): Return;
|
|
5919
5587
|
|
|
5920
|
-
<span class="fstat-no" title="function not covered" > _insertReturnAt(
|
|
5588
|
+
<span class="fstat-no" title="function not covered" > _insertReturnAt(</span>options: string | Partial<Return> | Return, index: number) {
|
|
5921
5589
|
const retOptions: any = <span class="cstat-no" title="statement not covered" >{};</span>
|
|
5922
5590
|
const relationOptions = <span class="cstat-no" title="statement not covered" >{ parentNode: this, parentKey: 'returns' };</span>
|
|
5923
|
-
const <span class="cstat-no" title="statement not covered" >Return = getConceptConstructor('Return');</span>
|
|
5924
5591
|
let ret: Return;
|
|
5925
5592
|
<span class="cstat-no" title="statement not covered" > if (!options) {</span>
|
|
5926
5593
|
<span class="cstat-no" title="statement not covered" > ret = Return.from(</span>
|
|
@@ -5931,7 +5598,7 @@ export class Logic extends BaseNode {
|
|
|
5931
5598
|
this,
|
|
5932
5599
|
'returns',
|
|
5933
5600
|
);
|
|
5934
|
-
<span class="cstat-no" title="statement not covered" >
|
|
5601
|
+
} else <span class="cstat-no" title="statement not covered" >if (typeof options === 'string') {</span>
|
|
5935
5602
|
<span class="cstat-no" title="statement not covered" > ret = Return.from(</span>
|
|
5936
5603
|
{
|
|
5937
5604
|
...retOptions,
|
|
@@ -5940,8 +5607,8 @@ export class Logic extends BaseNode {
|
|
|
5940
5607
|
this,
|
|
5941
5608
|
'returns',
|
|
5942
5609
|
);
|
|
5943
|
-
<span class="cstat-no" title="statement not covered" >
|
|
5944
|
-
<span class="cstat-no" title="statement not covered" > options.ensureDelete();
|
|
5610
|
+
} else <span class="cstat-no" title="statement not covered" >if (options instanceof Return) {</span>
|
|
5611
|
+
<span class="cstat-no" title="statement not covered" > options.ensureDelete(); </span>// 同一实例不支持多处存在
|
|
5945
5612
|
<span class="cstat-no" title="statement not covered" > ret = options;</span>
|
|
5946
5613
|
<span class="cstat-no" title="statement not covered" > Object.assign(ret, relationOptions);</span>
|
|
5947
5614
|
} else {
|
|
@@ -5976,7 +5643,7 @@ export class Logic extends BaseNode {
|
|
|
5976
5643
|
*/
|
|
5977
5644
|
insertReturnAt(ret: Return, index: number): Return;
|
|
5978
5645
|
|
|
5979
|
-
<span class="fstat-no" title="function not covered" > insertReturnAt(
|
|
5646
|
+
<span class="fstat-no" title="function not covered" > insertReturnAt(</span>options: string | Partial<Return> | Return, index: number) {
|
|
5980
5647
|
const node = <span class="cstat-no" title="statement not covered" >this._insertReturnAt(options as any, index);</span>
|
|
5981
5648
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
5982
5649
|
index,
|
|
@@ -6007,7 +5674,7 @@ export class Logic extends BaseNode {
|
|
|
6007
5674
|
*/
|
|
6008
5675
|
_addReturn(ret: Return): Return;
|
|
6009
5676
|
|
|
6010
|
-
<span class="fstat-no" title="function not covered" > _addReturn(
|
|
5677
|
+
<span class="fstat-no" title="function not covered" > _addReturn(</span>options?: string | Partial<Return> | Return) {
|
|
6011
5678
|
const index = <span class="cstat-no" title="statement not covered" >this.returns.length;</span>
|
|
6012
5679
|
<span class="cstat-no" title="statement not covered" > return this._insertReturnAt(options as any, index);</span>
|
|
6013
5680
|
}
|
|
@@ -6031,7 +5698,7 @@ export class Logic extends BaseNode {
|
|
|
6031
5698
|
*/
|
|
6032
5699
|
addReturn(ret: Return): Return;
|
|
6033
5700
|
|
|
6034
|
-
<span class="fstat-no" title="function not covered" > addReturn(
|
|
5701
|
+
<span class="fstat-no" title="function not covered" > addReturn(</span>options?: string | Partial<Return> | Return) {
|
|
6035
5702
|
const node = <span class="cstat-no" title="statement not covered" >this._addReturn(options as any);</span>
|
|
6036
5703
|
const index = <span class="cstat-no" title="statement not covered" >this.returns.indexOf(node);</span>
|
|
6037
5704
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
@@ -6042,7 +5709,7 @@ export class Logic extends BaseNode {
|
|
|
6042
5709
|
<span class="cstat-no" title="statement not covered" > return node;</span>
|
|
6043
5710
|
}
|
|
6044
5711
|
|
|
6045
|
-
<span class="fstat-no" title="function not covered" > getVariableUniqueName(
|
|
5712
|
+
<span class="fstat-no" title="function not covered" > getVariableUniqueName(</span>name = <span class="branch-0 cbranch-no" title="branch not covered" >'variable1')</span> {
|
|
6046
5713
|
<span class="cstat-no" title="statement not covered" > return utils.unique(name, this.getVarExistingNames(), undefined, false);</span>
|
|
6047
5714
|
}
|
|
6048
5715
|
|
|
@@ -6067,10 +5734,9 @@ export class Logic extends BaseNode {
|
|
|
6067
5734
|
*/
|
|
6068
5735
|
_insertVariableAt(variable: Variable, index: number): Variable;
|
|
6069
5736
|
|
|
6070
|
-
<span class="fstat-no" title="function not covered" > _insertVariableAt(
|
|
5737
|
+
<span class="fstat-no" title="function not covered" > _insertVariableAt(</span>options: string | Partial<Variable> | Variable, index: number) {
|
|
6071
5738
|
const variableOptions: any = <span class="cstat-no" title="statement not covered" >{};</span>
|
|
6072
5739
|
const relationOptions = <span class="cstat-no" title="statement not covered" >{ parentNode: this, parentKey: 'variables' };</span>
|
|
6073
|
-
const <span class="cstat-no" title="statement not covered" >Variable = getConceptConstructor('Variable');</span>
|
|
6074
5740
|
let variable: Variable;
|
|
6075
5741
|
<span class="cstat-no" title="statement not covered" > if (!options) {</span>
|
|
6076
5742
|
<span class="cstat-no" title="statement not covered" > variable = Variable.from(</span>
|
|
@@ -6081,7 +5747,7 @@ export class Logic extends BaseNode {
|
|
|
6081
5747
|
this,
|
|
6082
5748
|
'variables',
|
|
6083
5749
|
);
|
|
6084
|
-
<span class="cstat-no" title="statement not covered" >
|
|
5750
|
+
} else <span class="cstat-no" title="statement not covered" >if (typeof options === 'string') {</span>
|
|
6085
5751
|
<span class="cstat-no" title="statement not covered" > variable = Variable.from(</span>
|
|
6086
5752
|
{
|
|
6087
5753
|
...variableOptions,
|
|
@@ -6090,8 +5756,8 @@ export class Logic extends BaseNode {
|
|
|
6090
5756
|
this,
|
|
6091
5757
|
'variables',
|
|
6092
5758
|
);
|
|
6093
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6094
|
-
<span class="cstat-no" title="statement not covered" > options.ensureDelete();
|
|
5759
|
+
} else <span class="cstat-no" title="statement not covered" >if (options instanceof Variable) {</span>
|
|
5760
|
+
<span class="cstat-no" title="statement not covered" > options.ensureDelete(); </span>// 同一实例不支持多处存在
|
|
6095
5761
|
<span class="cstat-no" title="statement not covered" > variable = options;</span>
|
|
6096
5762
|
<span class="cstat-no" title="statement not covered" > Object.assign(variable, relationOptions);</span>
|
|
6097
5763
|
} else {
|
|
@@ -6126,7 +5792,7 @@ export class Logic extends BaseNode {
|
|
|
6126
5792
|
*/
|
|
6127
5793
|
insertVariableAt(variable: Variable, index: number): Variable;
|
|
6128
5794
|
|
|
6129
|
-
<span class="fstat-no" title="function not covered" > insertVariableAt(
|
|
5795
|
+
<span class="fstat-no" title="function not covered" > insertVariableAt(</span>options: string | Partial<Variable> | Variable, index: number) {
|
|
6130
5796
|
const node = <span class="cstat-no" title="statement not covered" >this._insertVariableAt(options as any, index);</span>
|
|
6131
5797
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
6132
5798
|
index,
|
|
@@ -6157,7 +5823,7 @@ export class Logic extends BaseNode {
|
|
|
6157
5823
|
*/
|
|
6158
5824
|
_addVariable(variable: Variable): Variable;
|
|
6159
5825
|
|
|
6160
|
-
<span class="fstat-no" title="function not covered" > _addVariable(
|
|
5826
|
+
<span class="fstat-no" title="function not covered" > _addVariable(</span>options?: string | Partial<Variable> | Variable) {
|
|
6161
5827
|
const index = <span class="cstat-no" title="statement not covered" >this.variables.length;</span>
|
|
6162
5828
|
<span class="cstat-no" title="statement not covered" > return this._insertVariableAt(options as any, index);</span>
|
|
6163
5829
|
}
|
|
@@ -6181,7 +5847,7 @@ export class Logic extends BaseNode {
|
|
|
6181
5847
|
*/
|
|
6182
5848
|
addVariable(variable: Variable): Variable;
|
|
6183
5849
|
|
|
6184
|
-
<span class="fstat-no" title="function not covered" > addVariable(
|
|
5850
|
+
<span class="fstat-no" title="function not covered" > addVariable(</span>options?: string | Partial<Variable> | Variable) {
|
|
6185
5851
|
const node = <span class="cstat-no" title="statement not covered" >this._addVariable(options as any);</span>
|
|
6186
5852
|
const index = <span class="cstat-no" title="statement not covered" >this.variables.indexOf(node);</span>
|
|
6187
5853
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
@@ -6206,13 +5872,12 @@ export class Logic extends BaseNode {
|
|
|
6206
5872
|
*/
|
|
6207
5873
|
_insertItemInBodyAt(logicItem: LogicItem, index: number): LogicItem;
|
|
6208
5874
|
|
|
6209
|
-
<span class="fstat-no" title="function not covered" > _insertItemInBodyAt(
|
|
5875
|
+
<span class="fstat-no" title="function not covered" > _insertItemInBodyAt(</span>options: Partial<LogicItem> | LogicItem, index: number) {
|
|
6210
5876
|
const logicItemOptions: any = <span class="cstat-no" title="statement not covered" >{};</span>
|
|
6211
5877
|
const relationOptions = <span class="cstat-no" title="statement not covered" >{ parentNode: this, parentKey: 'body' };</span>
|
|
6212
|
-
const <span class="cstat-no" title="statement not covered" >LogicItem = getConceptConstructor('LogicItem');</span>
|
|
6213
5878
|
let logicItem: LogicItem;
|
|
6214
|
-
<span class="cstat-no" title="statement not covered" > if (
|
|
6215
|
-
<span class="cstat-no" title="statement not covered" > options.ensureDelete();
|
|
5879
|
+
<span class="cstat-no" title="statement not covered" > if (options instanceof LogicItem) {</span>
|
|
5880
|
+
<span class="cstat-no" title="statement not covered" > options.ensureDelete(); </span>// 同一实例不支持多处存在
|
|
6216
5881
|
<span class="cstat-no" title="statement not covered" > logicItem = options;</span>
|
|
6217
5882
|
<span class="cstat-no" title="statement not covered" > Object.assign(logicItem, relationOptions);</span>
|
|
6218
5883
|
} else {
|
|
@@ -6241,7 +5906,7 @@ export class Logic extends BaseNode {
|
|
|
6241
5906
|
*/
|
|
6242
5907
|
insertItemInBodyAt(logicItem: LogicItem, index: number): LogicItem;
|
|
6243
5908
|
|
|
6244
|
-
<span class="fstat-no" title="function not covered" > insertItemInBodyAt(
|
|
5909
|
+
<span class="fstat-no" title="function not covered" > insertItemInBodyAt(</span>options: Partial<LogicItem> | LogicItem, index: number) {
|
|
6245
5910
|
const node = <span class="cstat-no" title="statement not covered" >this._insertItemInBodyAt(options as any, index);</span>
|
|
6246
5911
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
6247
5912
|
index,
|
|
@@ -6265,7 +5930,7 @@ export class Logic extends BaseNode {
|
|
|
6265
5930
|
*/
|
|
6266
5931
|
_addItemInBody(logicItem: LogicItem): LogicItem;
|
|
6267
5932
|
|
|
6268
|
-
<span class="fstat-no" title="function not covered" > _addItemInBody(
|
|
5933
|
+
<span class="fstat-no" title="function not covered" > _addItemInBody(</span>options?: Partial<LogicItem> | LogicItem) {
|
|
6269
5934
|
const index = <span class="cstat-no" title="statement not covered" >this.body.length;</span>
|
|
6270
5935
|
<span class="cstat-no" title="statement not covered" > return this._insertItemInBodyAt(options as any, index);</span>
|
|
6271
5936
|
}
|
|
@@ -6282,7 +5947,7 @@ export class Logic extends BaseNode {
|
|
|
6282
5947
|
*/
|
|
6283
5948
|
addItemInBody(logicItem: LogicItem): LogicItem;
|
|
6284
5949
|
|
|
6285
|
-
<span class="fstat-no" title="function not covered" > addItemInBody(
|
|
5950
|
+
<span class="fstat-no" title="function not covered" > addItemInBody(</span>options?: Partial<LogicItem> | LogicItem) {
|
|
6286
5951
|
const node = <span class="cstat-no" title="statement not covered" >this._addItemInBody(options as any);</span>
|
|
6287
5952
|
const index = <span class="cstat-no" title="statement not covered" >this.body.indexOf(node);</span>
|
|
6288
5953
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
@@ -6307,13 +5972,12 @@ export class Logic extends BaseNode {
|
|
|
6307
5972
|
*/
|
|
6308
5973
|
_insertItemInPlaygroundAt(logicItem: LogicItem, index: number): LogicItem;
|
|
6309
5974
|
|
|
6310
|
-
<span class="fstat-no" title="function not covered" > _insertItemInPlaygroundAt(
|
|
5975
|
+
<span class="fstat-no" title="function not covered" > _insertItemInPlaygroundAt(</span>options: Partial<LogicItem> | LogicItem, index: number) {
|
|
6311
5976
|
const logicItemOptions: any = <span class="cstat-no" title="statement not covered" >{};</span>
|
|
6312
5977
|
const relationOptions = <span class="cstat-no" title="statement not covered" >{ parentNode: this, parentKey: 'playground' };</span>
|
|
6313
|
-
const <span class="cstat-no" title="statement not covered" >LogicItem = getConceptConstructor('LogicItem');</span>
|
|
6314
5978
|
let logicItem: LogicItem;
|
|
6315
|
-
<span class="cstat-no" title="statement not covered" > if (
|
|
6316
|
-
<span class="cstat-no" title="statement not covered" > options.ensureDelete();
|
|
5979
|
+
<span class="cstat-no" title="statement not covered" > if (options instanceof LogicItem) {</span>
|
|
5980
|
+
<span class="cstat-no" title="statement not covered" > options.ensureDelete(); </span>// 同一实例不支持多处存在
|
|
6317
5981
|
<span class="cstat-no" title="statement not covered" > logicItem = options;</span>
|
|
6318
5982
|
<span class="cstat-no" title="statement not covered" > Object.assign(logicItem, relationOptions);</span>
|
|
6319
5983
|
} else {
|
|
@@ -6342,7 +6006,7 @@ export class Logic extends BaseNode {
|
|
|
6342
6006
|
*/
|
|
6343
6007
|
insertItemInPlaygroundAt(logicItem: LogicItem, index: number): LogicItem;
|
|
6344
6008
|
|
|
6345
|
-
<span class="fstat-no" title="function not covered" > insertItemInPlaygroundAt(
|
|
6009
|
+
<span class="fstat-no" title="function not covered" > insertItemInPlaygroundAt(</span>options: Partial<LogicItem> | LogicItem, index: number) {
|
|
6346
6010
|
const node = <span class="cstat-no" title="statement not covered" >this._insertItemInPlaygroundAt(options as any, index);</span>
|
|
6347
6011
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
6348
6012
|
index,
|
|
@@ -6366,7 +6030,7 @@ export class Logic extends BaseNode {
|
|
|
6366
6030
|
*/
|
|
6367
6031
|
_addItemInPlayground(logicItem: LogicItem): LogicItem;
|
|
6368
6032
|
|
|
6369
|
-
<span class="fstat-no" title="function not covered" > _addItemInPlayground(
|
|
6033
|
+
<span class="fstat-no" title="function not covered" > _addItemInPlayground(</span>options?: Partial<LogicItem> | LogicItem) {
|
|
6370
6034
|
const index = <span class="cstat-no" title="statement not covered" >this.playground.length;</span>
|
|
6371
6035
|
<span class="cstat-no" title="statement not covered" > return this._insertItemInPlaygroundAt(options as any, index);</span>
|
|
6372
6036
|
}
|
|
@@ -6383,7 +6047,7 @@ export class Logic extends BaseNode {
|
|
|
6383
6047
|
*/
|
|
6384
6048
|
addItemInPlayground(logicItem: LogicItem): LogicItem;
|
|
6385
6049
|
|
|
6386
|
-
<span class="fstat-no" title="function not covered" > addItemInPlayground(
|
|
6050
|
+
<span class="fstat-no" title="function not covered" > addItemInPlayground(</span>options?: Partial<LogicItem> | LogicItem) {
|
|
6387
6051
|
const node = <span class="cstat-no" title="statement not covered" >this._addItemInPlayground(options as any);</span>
|
|
6388
6052
|
const index = <span class="cstat-no" title="statement not covered" >this.playground.indexOf(node);</span>
|
|
6389
6053
|
<span class="cstat-no" title="statement not covered" > node.create({</span>
|
|
@@ -6406,12 +6070,12 @@ export class Logic extends BaseNode {
|
|
|
6406
6070
|
*/
|
|
6407
6071
|
removeTransactional(transactional: Transactional): void;
|
|
6408
6072
|
|
|
6409
|
-
<span class="fstat-no" title="function not covered" > removeTransactional(
|
|
6073
|
+
<span class="fstat-no" title="function not covered" > removeTransactional(</span>options: string | Transactional) {
|
|
6410
6074
|
let transactional: Transactional;
|
|
6411
6075
|
<span class="cstat-no" title="statement not covered" > if (typeof options === 'string') {</span>
|
|
6412
6076
|
<span class="cstat-no" title="statement not covered" > transactional = this.transactional;</span>
|
|
6413
6077
|
<span class="cstat-no" title="statement not covered" > if (!transactional) {</span>
|
|
6414
|
-
<span class="cstat-no" title="statement not covered" > throw new Error(
|
|
6078
|
+
<span class="cstat-no" title="statement not covered" > throw new Error(`找不到事务 ${ options}`);</span>
|
|
6415
6079
|
}
|
|
6416
6080
|
} else {
|
|
6417
6081
|
<span class="cstat-no" title="statement not covered" > transactional = options;</span>
|
|
@@ -6419,8 +6083,8 @@ export class Logic extends BaseNode {
|
|
|
6419
6083
|
<span class="cstat-no" title="statement not covered" > return transactional.delete();</span>
|
|
6420
6084
|
}
|
|
6421
6085
|
|
|
6422
|
-
<span class="fstat-no" title="function not covered" > __removeTransactional(
|
|
6423
|
-
const parentKey = <span class="cstat-no" title="statement not covered" >transactional
|
|
6086
|
+
<span class="fstat-no" title="function not covered" > __removeTransactional(</span>transactional: Transactional) {
|
|
6087
|
+
const {parentKey} = <span class="cstat-no" title="statement not covered" >transactional;</span>
|
|
6424
6088
|
const params: Params = <span class="cstat-no" title="statement not covered" >{</span>
|
|
6425
6089
|
parentNode: this,
|
|
6426
6090
|
parentKey,
|
|
@@ -6430,21 +6094,13 @@ export class Logic extends BaseNode {
|
|
|
6430
6094
|
};
|
|
6431
6095
|
<span class="cstat-no" title="statement not covered" > if (parentKey) {</span>
|
|
6432
6096
|
<span class="cstat-no" title="statement not covered" > params.parentKey = parentKey;</span>
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
// @ts-ignore
|
|
6436
|
-
const n = <span class="cstat-no" title="statement not covered" >transactional.__v_raw || transactional;</span>
|
|
6437
|
-
<span class="cstat-no" title="statement not covered" > if (Array.isArray((t as any)[parentKey])) {</span>
|
|
6438
|
-
// @ts-ignore
|
|
6439
|
-
const index = (<span class="cstat-no" title="statement not covered" >t as any)[parentKey].findIndex((<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >el) => (e</span>l.__v_raw || el) === n)</span>;</span>
|
|
6097
|
+
<span class="cstat-no" title="statement not covered" > if (Array.isArray((this as any)[parentKey])) {</span>
|
|
6098
|
+
const index = (<span class="cstat-no" title="statement not covered" >this as any)[parentKey].indexOf(transactional);</span>
|
|
6440
6099
|
<span class="cstat-no" title="statement not covered" > ~index && (this as any)[parentKey].splice(index, 1);</span>
|
|
6441
6100
|
<span class="cstat-no" title="statement not covered" > params.index = index;</span>
|
|
6442
|
-
} else {
|
|
6443
|
-
|
|
6444
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6445
|
-
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
6446
|
-
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
6447
|
-
}
|
|
6101
|
+
} else <span class="cstat-no" title="statement not covered" >if ((this as any)[parentKey] === transactional) {</span>
|
|
6102
|
+
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
6103
|
+
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
6448
6104
|
}
|
|
6449
6105
|
}
|
|
6450
6106
|
<span class="cstat-no" title="statement not covered" > return params;</span>
|
|
@@ -6462,12 +6118,12 @@ export class Logic extends BaseNode {
|
|
|
6462
6118
|
*/
|
|
6463
6119
|
removeTypeParam(typeParam: TypeParam): void;
|
|
6464
6120
|
|
|
6465
|
-
<span class="fstat-no" title="function not covered" > removeTypeParam(
|
|
6121
|
+
<span class="fstat-no" title="function not covered" > removeTypeParam(</span>options: string | TypeParam) {
|
|
6466
6122
|
let typeParam: TypeParam;
|
|
6467
6123
|
<span class="cstat-no" title="statement not covered" > if (typeof options === 'string') {</span>
|
|
6468
|
-
<span class="cstat-no" title="statement not covered" > typeParam = (this.typeParams as TypeParam[]).find(
|
|
6124
|
+
<span class="cstat-no" title="statement not covered" > typeParam = (this.typeParams as TypeParam[]).find(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >item.name === options)</span>;</span>
|
|
6469
6125
|
<span class="cstat-no" title="statement not covered" > if (!typeParam) {</span>
|
|
6470
|
-
<span class="cstat-no" title="statement not covered" > throw new Error(
|
|
6126
|
+
<span class="cstat-no" title="statement not covered" > throw new Error(`找不到类型参数 ${ options}`);</span>
|
|
6471
6127
|
}
|
|
6472
6128
|
} else {
|
|
6473
6129
|
<span class="cstat-no" title="statement not covered" > typeParam = options;</span>
|
|
@@ -6475,8 +6131,8 @@ export class Logic extends BaseNode {
|
|
|
6475
6131
|
<span class="cstat-no" title="statement not covered" > return typeParam.delete();</span>
|
|
6476
6132
|
}
|
|
6477
6133
|
|
|
6478
|
-
<span class="fstat-no" title="function not covered" > __removeTypeParam(
|
|
6479
|
-
const parentKey = <span class="cstat-no" title="statement not covered" >typeParam
|
|
6134
|
+
<span class="fstat-no" title="function not covered" > __removeTypeParam(</span>typeParam: TypeParam) {
|
|
6135
|
+
const {parentKey} = <span class="cstat-no" title="statement not covered" >typeParam;</span>
|
|
6480
6136
|
const params: Params = <span class="cstat-no" title="statement not covered" >{</span>
|
|
6481
6137
|
parentNode: this,
|
|
6482
6138
|
parentKey,
|
|
@@ -6486,21 +6142,13 @@ export class Logic extends BaseNode {
|
|
|
6486
6142
|
};
|
|
6487
6143
|
<span class="cstat-no" title="statement not covered" > if (parentKey) {</span>
|
|
6488
6144
|
<span class="cstat-no" title="statement not covered" > params.parentKey = parentKey;</span>
|
|
6489
|
-
|
|
6490
|
-
|
|
6491
|
-
// @ts-ignore
|
|
6492
|
-
const n = <span class="cstat-no" title="statement not covered" >typeParam.__v_raw || typeParam;</span>
|
|
6493
|
-
<span class="cstat-no" title="statement not covered" > if (Array.isArray((t as any)[parentKey])) {</span>
|
|
6494
|
-
// @ts-ignore
|
|
6495
|
-
const index = (<span class="cstat-no" title="statement not covered" >t as any)[parentKey].findIndex((<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >el) => (e</span>l.__v_raw || el) === n)</span>;</span>
|
|
6145
|
+
<span class="cstat-no" title="statement not covered" > if (Array.isArray((this as any)[parentKey])) {</span>
|
|
6146
|
+
const index = (<span class="cstat-no" title="statement not covered" >this as any)[parentKey].indexOf(typeParam);</span>
|
|
6496
6147
|
<span class="cstat-no" title="statement not covered" > ~index && (this as any)[parentKey].splice(index, 1);</span>
|
|
6497
6148
|
<span class="cstat-no" title="statement not covered" > params.index = index;</span>
|
|
6498
|
-
} else {
|
|
6499
|
-
|
|
6500
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6501
|
-
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
6502
|
-
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
6503
|
-
}
|
|
6149
|
+
} else <span class="cstat-no" title="statement not covered" >if ((this as any)[parentKey] === typeParam) {</span>
|
|
6150
|
+
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
6151
|
+
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
6504
6152
|
}
|
|
6505
6153
|
}
|
|
6506
6154
|
<span class="cstat-no" title="statement not covered" > return params;</span>
|
|
@@ -6518,12 +6166,12 @@ export class Logic extends BaseNode {
|
|
|
6518
6166
|
*/
|
|
6519
6167
|
removeParam(param: Param): void;
|
|
6520
6168
|
|
|
6521
|
-
<span class="fstat-no" title="function not covered" > removeParam(
|
|
6169
|
+
<span class="fstat-no" title="function not covered" > removeParam(</span>options: string | Param) {
|
|
6522
6170
|
let param: Param;
|
|
6523
6171
|
<span class="cstat-no" title="statement not covered" > if (typeof options === 'string') {</span>
|
|
6524
|
-
<span class="cstat-no" title="statement not covered" > param = (this.params as Param[]).find(
|
|
6172
|
+
<span class="cstat-no" title="statement not covered" > param = (this.params as Param[]).find(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >item.name === options)</span>;</span>
|
|
6525
6173
|
<span class="cstat-no" title="statement not covered" > if (!param) {</span>
|
|
6526
|
-
<span class="cstat-no" title="statement not covered" > throw new Error(
|
|
6174
|
+
<span class="cstat-no" title="statement not covered" > throw new Error(`找不到输入参数 ${ options}`);</span>
|
|
6527
6175
|
}
|
|
6528
6176
|
} else {
|
|
6529
6177
|
<span class="cstat-no" title="statement not covered" > param = options;</span>
|
|
@@ -6531,8 +6179,8 @@ export class Logic extends BaseNode {
|
|
|
6531
6179
|
<span class="cstat-no" title="statement not covered" > return param.delete();</span>
|
|
6532
6180
|
}
|
|
6533
6181
|
|
|
6534
|
-
<span class="fstat-no" title="function not covered" > __removeParam(
|
|
6535
|
-
const parentKey = <span class="cstat-no" title="statement not covered" >param
|
|
6182
|
+
<span class="fstat-no" title="function not covered" > __removeParam(</span>param: Param) {
|
|
6183
|
+
const {parentKey} = <span class="cstat-no" title="statement not covered" >param;</span>
|
|
6536
6184
|
const params: Params = <span class="cstat-no" title="statement not covered" >{</span>
|
|
6537
6185
|
parentNode: this,
|
|
6538
6186
|
parentKey,
|
|
@@ -6542,21 +6190,13 @@ export class Logic extends BaseNode {
|
|
|
6542
6190
|
};
|
|
6543
6191
|
<span class="cstat-no" title="statement not covered" > if (parentKey) {</span>
|
|
6544
6192
|
<span class="cstat-no" title="statement not covered" > params.parentKey = parentKey;</span>
|
|
6545
|
-
|
|
6546
|
-
|
|
6547
|
-
// @ts-ignore
|
|
6548
|
-
const n = <span class="cstat-no" title="statement not covered" >param.__v_raw || param;</span>
|
|
6549
|
-
<span class="cstat-no" title="statement not covered" > if (Array.isArray((t as any)[parentKey])) {</span>
|
|
6550
|
-
// @ts-ignore
|
|
6551
|
-
const index = (<span class="cstat-no" title="statement not covered" >t as any)[parentKey].findIndex((<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >el) => (e</span>l.__v_raw || el) === n)</span>;</span>
|
|
6193
|
+
<span class="cstat-no" title="statement not covered" > if (Array.isArray((this as any)[parentKey])) {</span>
|
|
6194
|
+
const index = (<span class="cstat-no" title="statement not covered" >this as any)[parentKey].indexOf(param);</span>
|
|
6552
6195
|
<span class="cstat-no" title="statement not covered" > ~index && (this as any)[parentKey].splice(index, 1);</span>
|
|
6553
6196
|
<span class="cstat-no" title="statement not covered" > params.index = index;</span>
|
|
6554
|
-
} else {
|
|
6555
|
-
|
|
6556
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6557
|
-
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
6558
|
-
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
6559
|
-
}
|
|
6197
|
+
} else <span class="cstat-no" title="statement not covered" >if ((this as any)[parentKey] === param) {</span>
|
|
6198
|
+
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
6199
|
+
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
6560
6200
|
}
|
|
6561
6201
|
}
|
|
6562
6202
|
<span class="cstat-no" title="statement not covered" > return params;</span>
|
|
@@ -6574,12 +6214,12 @@ export class Logic extends BaseNode {
|
|
|
6574
6214
|
*/
|
|
6575
6215
|
removeReturn(ret: Return): void;
|
|
6576
6216
|
|
|
6577
|
-
<span class="fstat-no" title="function not covered" > removeReturn(
|
|
6217
|
+
<span class="fstat-no" title="function not covered" > removeReturn(</span>options: string | Return) {
|
|
6578
6218
|
let ret: Return;
|
|
6579
6219
|
<span class="cstat-no" title="statement not covered" > if (typeof options === 'string') {</span>
|
|
6580
|
-
<span class="cstat-no" title="statement not covered" > ret = (this.returns as Return[]).find(
|
|
6220
|
+
<span class="cstat-no" title="statement not covered" > ret = (this.returns as Return[]).find(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >item.name === options)</span>;</span>
|
|
6581
6221
|
<span class="cstat-no" title="statement not covered" > if (!ret) {</span>
|
|
6582
|
-
<span class="cstat-no" title="statement not covered" > throw new Error(
|
|
6222
|
+
<span class="cstat-no" title="statement not covered" > throw new Error(`找不到输出参数 ${ options}`);</span>
|
|
6583
6223
|
}
|
|
6584
6224
|
} else {
|
|
6585
6225
|
<span class="cstat-no" title="statement not covered" > ret = options;</span>
|
|
@@ -6587,8 +6227,8 @@ export class Logic extends BaseNode {
|
|
|
6587
6227
|
<span class="cstat-no" title="statement not covered" > return ret.delete();</span>
|
|
6588
6228
|
}
|
|
6589
6229
|
|
|
6590
|
-
<span class="fstat-no" title="function not covered" > __removeReturn(
|
|
6591
|
-
const parentKey = <span class="cstat-no" title="statement not covered" >ret
|
|
6230
|
+
<span class="fstat-no" title="function not covered" > __removeReturn(</span>ret: Return) {
|
|
6231
|
+
const {parentKey} = <span class="cstat-no" title="statement not covered" >ret;</span>
|
|
6592
6232
|
const params: Params = <span class="cstat-no" title="statement not covered" >{</span>
|
|
6593
6233
|
parentNode: this,
|
|
6594
6234
|
parentKey,
|
|
@@ -6598,21 +6238,13 @@ export class Logic extends BaseNode {
|
|
|
6598
6238
|
};
|
|
6599
6239
|
<span class="cstat-no" title="statement not covered" > if (parentKey) {</span>
|
|
6600
6240
|
<span class="cstat-no" title="statement not covered" > params.parentKey = parentKey;</span>
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
// @ts-ignore
|
|
6604
|
-
const n = <span class="cstat-no" title="statement not covered" >ret.__v_raw || ret;</span>
|
|
6605
|
-
<span class="cstat-no" title="statement not covered" > if (Array.isArray((t as any)[parentKey])) {</span>
|
|
6606
|
-
// @ts-ignore
|
|
6607
|
-
const index = (<span class="cstat-no" title="statement not covered" >t as any)[parentKey].findIndex((<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >el) => (e</span>l.__v_raw || el) === n)</span>;</span>
|
|
6241
|
+
<span class="cstat-no" title="statement not covered" > if (Array.isArray((this as any)[parentKey])) {</span>
|
|
6242
|
+
const index = (<span class="cstat-no" title="statement not covered" >this as any)[parentKey].indexOf(ret);</span>
|
|
6608
6243
|
<span class="cstat-no" title="statement not covered" > ~index && (this as any)[parentKey].splice(index, 1);</span>
|
|
6609
6244
|
<span class="cstat-no" title="statement not covered" > params.index = index;</span>
|
|
6610
|
-
} else {
|
|
6611
|
-
|
|
6612
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6613
|
-
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
6614
|
-
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
6615
|
-
}
|
|
6245
|
+
} else <span class="cstat-no" title="statement not covered" >if ((this as any)[parentKey] === ret) {</span>
|
|
6246
|
+
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
6247
|
+
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
6616
6248
|
}
|
|
6617
6249
|
}
|
|
6618
6250
|
<span class="cstat-no" title="statement not covered" > return params;</span>
|
|
@@ -6630,12 +6262,12 @@ export class Logic extends BaseNode {
|
|
|
6630
6262
|
*/
|
|
6631
6263
|
removeVariable(variable: Variable): void;
|
|
6632
6264
|
|
|
6633
|
-
<span class="fstat-no" title="function not covered" > removeVariable(
|
|
6265
|
+
<span class="fstat-no" title="function not covered" > removeVariable(</span>options: string | Variable) {
|
|
6634
6266
|
let variable: Variable;
|
|
6635
6267
|
<span class="cstat-no" title="statement not covered" > if (typeof options === 'string') {</span>
|
|
6636
|
-
<span class="cstat-no" title="statement not covered" > variable = (this.variables as Variable[]).find(
|
|
6268
|
+
<span class="cstat-no" title="statement not covered" > variable = (this.variables as Variable[]).find(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >item.name === options)</span>;</span>
|
|
6637
6269
|
<span class="cstat-no" title="statement not covered" > if (!variable) {</span>
|
|
6638
|
-
<span class="cstat-no" title="statement not covered" > throw new Error(
|
|
6270
|
+
<span class="cstat-no" title="statement not covered" > throw new Error(`找不到变量 ${ options}`);</span>
|
|
6639
6271
|
}
|
|
6640
6272
|
} else {
|
|
6641
6273
|
<span class="cstat-no" title="statement not covered" > variable = options;</span>
|
|
@@ -6643,8 +6275,8 @@ export class Logic extends BaseNode {
|
|
|
6643
6275
|
<span class="cstat-no" title="statement not covered" > return variable.delete();</span>
|
|
6644
6276
|
}
|
|
6645
6277
|
|
|
6646
|
-
<span class="fstat-no" title="function not covered" > __removeVariable(
|
|
6647
|
-
const parentKey = <span class="cstat-no" title="statement not covered" >variable
|
|
6278
|
+
<span class="fstat-no" title="function not covered" > __removeVariable(</span>variable: Variable) {
|
|
6279
|
+
const {parentKey} = <span class="cstat-no" title="statement not covered" >variable;</span>
|
|
6648
6280
|
const params: Params = <span class="cstat-no" title="statement not covered" >{</span>
|
|
6649
6281
|
parentNode: this,
|
|
6650
6282
|
parentKey,
|
|
@@ -6654,21 +6286,13 @@ export class Logic extends BaseNode {
|
|
|
6654
6286
|
};
|
|
6655
6287
|
<span class="cstat-no" title="statement not covered" > if (parentKey) {</span>
|
|
6656
6288
|
<span class="cstat-no" title="statement not covered" > params.parentKey = parentKey;</span>
|
|
6657
|
-
|
|
6658
|
-
|
|
6659
|
-
// @ts-ignore
|
|
6660
|
-
const n = <span class="cstat-no" title="statement not covered" >variable.__v_raw || variable;</span>
|
|
6661
|
-
<span class="cstat-no" title="statement not covered" > if (Array.isArray((t as any)[parentKey])) {</span>
|
|
6662
|
-
// @ts-ignore
|
|
6663
|
-
const index = (<span class="cstat-no" title="statement not covered" >t as any)[parentKey].findIndex((<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >el) => (e</span>l.__v_raw || el) === n)</span>;</span>
|
|
6289
|
+
<span class="cstat-no" title="statement not covered" > if (Array.isArray((this as any)[parentKey])) {</span>
|
|
6290
|
+
const index = (<span class="cstat-no" title="statement not covered" >this as any)[parentKey].indexOf(variable);</span>
|
|
6664
6291
|
<span class="cstat-no" title="statement not covered" > ~index && (this as any)[parentKey].splice(index, 1);</span>
|
|
6665
6292
|
<span class="cstat-no" title="statement not covered" > params.index = index;</span>
|
|
6666
|
-
} else {
|
|
6667
|
-
|
|
6668
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6669
|
-
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
6670
|
-
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
6671
|
-
}
|
|
6293
|
+
} else <span class="cstat-no" title="statement not covered" >if ((this as any)[parentKey] === variable) {</span>
|
|
6294
|
+
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
6295
|
+
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
6672
6296
|
}
|
|
6673
6297
|
}
|
|
6674
6298
|
<span class="cstat-no" title="statement not covered" > return params;</span>
|
|
@@ -6680,8 +6304,8 @@ export class Logic extends BaseNode {
|
|
|
6680
6304
|
*/
|
|
6681
6305
|
removeItemInBody(logicItem: LogicItem): void;
|
|
6682
6306
|
|
|
6683
|
-
<span class="fstat-no" title="function not covered" > removeItemInBody(
|
|
6684
|
-
|
|
6307
|
+
<span class="fstat-no" title="function not covered" > removeItemInBody(</span>options: LogicItem) {
|
|
6308
|
+
const logicItem: LogicItem = <span class="cstat-no" title="statement not covered" >options;</span>
|
|
6685
6309
|
<span class="cstat-no" title="statement not covered" > return logicItem.delete();</span>
|
|
6686
6310
|
}
|
|
6687
6311
|
|
|
@@ -6691,13 +6315,13 @@ export class Logic extends BaseNode {
|
|
|
6691
6315
|
*/
|
|
6692
6316
|
removeItemInPlayground(logicItem: LogicItem): void;
|
|
6693
6317
|
|
|
6694
|
-
<span class="fstat-no" title="function not covered" > removeItemInPlayground(
|
|
6695
|
-
|
|
6318
|
+
<span class="fstat-no" title="function not covered" > removeItemInPlayground(</span>options: LogicItem) {
|
|
6319
|
+
const logicItem: LogicItem = <span class="cstat-no" title="statement not covered" >options;</span>
|
|
6696
6320
|
<span class="cstat-no" title="statement not covered" > return logicItem.delete();</span>
|
|
6697
6321
|
}
|
|
6698
6322
|
|
|
6699
|
-
<span class="fstat-no" title="function not covered" > __removeLogicItem(
|
|
6700
|
-
const parentKey = <span class="cstat-no" title="statement not covered" >logicItem
|
|
6323
|
+
<span class="fstat-no" title="function not covered" > __removeLogicItem(</span>logicItem: LogicItem) {
|
|
6324
|
+
const {parentKey} = <span class="cstat-no" title="statement not covered" >logicItem;</span>
|
|
6701
6325
|
const params: Params = <span class="cstat-no" title="statement not covered" >{</span>
|
|
6702
6326
|
parentNode: this,
|
|
6703
6327
|
parentKey,
|
|
@@ -6707,21 +6331,13 @@ export class Logic extends BaseNode {
|
|
|
6707
6331
|
};
|
|
6708
6332
|
<span class="cstat-no" title="statement not covered" > if (parentKey) {</span>
|
|
6709
6333
|
<span class="cstat-no" title="statement not covered" > params.parentKey = parentKey;</span>
|
|
6710
|
-
|
|
6711
|
-
|
|
6712
|
-
// @ts-ignore
|
|
6713
|
-
const n = <span class="cstat-no" title="statement not covered" >logicItem.__v_raw || logicItem;</span>
|
|
6714
|
-
<span class="cstat-no" title="statement not covered" > if (Array.isArray((t as any)[parentKey])) {</span>
|
|
6715
|
-
// @ts-ignore
|
|
6716
|
-
const index = (<span class="cstat-no" title="statement not covered" >t as any)[parentKey].findIndex((<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >el) => (e</span>l.__v_raw || el) === n)</span>;</span>
|
|
6334
|
+
<span class="cstat-no" title="statement not covered" > if (Array.isArray((this as any)[parentKey])) {</span>
|
|
6335
|
+
const index = (<span class="cstat-no" title="statement not covered" >this as any)[parentKey].indexOf(logicItem);</span>
|
|
6717
6336
|
<span class="cstat-no" title="statement not covered" > ~index && (this as any)[parentKey].splice(index, 1);</span>
|
|
6718
6337
|
<span class="cstat-no" title="statement not covered" > params.index = index;</span>
|
|
6719
|
-
} else {
|
|
6720
|
-
|
|
6721
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6722
|
-
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
6723
|
-
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
6724
|
-
}
|
|
6338
|
+
} else <span class="cstat-no" title="statement not covered" >if ((this as any)[parentKey] === logicItem) {</span>
|
|
6339
|
+
<span class="cstat-no" title="statement not covered" > params.index = 0;</span>
|
|
6340
|
+
(<span class="cstat-no" title="statement not covered" >this as any)[parentKey] = undefined;</span>
|
|
6725
6341
|
}
|
|
6726
6342
|
}
|
|
6727
6343
|
<span class="cstat-no" title="statement not covered" > return params;</span>
|
|
@@ -6737,7 +6353,7 @@ export class Logic extends BaseNode {
|
|
|
6737
6353
|
}
|
|
6738
6354
|
|
|
6739
6355
|
// 设置定时任务
|
|
6740
|
-
<span class="fstat-no" title="function not covered" > setCronAndTriggerType(
|
|
6356
|
+
<span class="fstat-no" title="function not covered" > setCronAndTriggerType(</span>cron: string, triggerType: string) {
|
|
6741
6357
|
const object = <span class="cstat-no" title="statement not covered" >{</span>
|
|
6742
6358
|
cron,
|
|
6743
6359
|
triggerType,
|
|
@@ -6750,8 +6366,7 @@ export class Logic extends BaseNode {
|
|
|
6750
6366
|
/**
|
|
6751
6367
|
* 创建的时候 打开事务 通过开关设置数据库事务
|
|
6752
6368
|
*/
|
|
6753
|
-
<span class="fstat-no" title="function not covered" > openTransactional(
|
|
6754
|
-
const <span class="cstat-no" title="statement not covered" >Transactional = getConceptConstructor('Transactional');</span>
|
|
6369
|
+
<span class="fstat-no" title="function not covered" > openTransactional(</span>flag: boolean) {
|
|
6755
6370
|
<span class="cstat-no" title="statement not covered" > if (flag) {</span>
|
|
6756
6371
|
const transactional = <span class="cstat-no" title="statement not covered" >new Transactional({</span>
|
|
6757
6372
|
enabled: flag,
|
|
@@ -6763,11 +6378,11 @@ export class Logic extends BaseNode {
|
|
|
6763
6378
|
}
|
|
6764
6379
|
}
|
|
6765
6380
|
|
|
6766
|
-
<span class="fstat-no" title="function not covered" > findLogicItemByConcept(
|
|
6381
|
+
<span class="fstat-no" title="function not covered" > findLogicItemByConcept(</span>concept: string) {
|
|
6767
6382
|
let result: any;
|
|
6768
6383
|
|
|
6769
6384
|
<span class="cstat-no" title="statement not covered" > utils.traverse(</span>
|
|
6770
|
-
|
|
6385
|
+
<span class="fstat-no" title="function not covered" > (c</span>urrent) => {
|
|
6771
6386
|
<span class="cstat-no" title="statement not covered" > if ((current.node as any).concept === concept) <span class="cstat-no" title="statement not covered" >return (result = current.node);</span></span>
|
|
6772
6387
|
},
|
|
6773
6388
|
{ node: this },
|
|
@@ -6780,11 +6395,11 @@ export class Logic extends BaseNode {
|
|
|
6780
6395
|
<span class="cstat-no" title="statement not covered" > return result as LogicItem;</span>
|
|
6781
6396
|
}
|
|
6782
6397
|
|
|
6783
|
-
onChange(
|
|
6784
|
-
this.emit('change', $event)
|
|
6398
|
+
<span class="fstat-no" title="function not covered" > onChange(</span>$event?: EventPayload): void {
|
|
6399
|
+
<span class="cstat-no" title="statement not covered" > this.emit('change', $event);</span>
|
|
6785
6400
|
}
|
|
6786
6401
|
|
|
6787
|
-
<span class="fstat-no" title="function not covered" > getVarExistingNames(
|
|
6402
|
+
<span class="fstat-no" title="function not covered" > getVarExistingNames(</span>excludedList: Array<Param | Return | Variable> = <span class="branch-0 cbranch-no" title="branch not covered" >[])</span> {
|
|
6788
6403
|
const excludedSet = <span class="cstat-no" title="statement not covered" >new Set(excludedList);</span>
|
|
6789
6404
|
const varList: any[] = <span class="cstat-no" title="statement not covered" >[];</span>
|
|
6790
6405
|
<span class="cstat-no" title="statement not covered" > if (Array.isArray(this.params)) {</span>
|
|
@@ -6808,7 +6423,7 @@ export class Logic extends BaseNode {
|
|
|
6808
6423
|
}
|
|
6809
6424
|
}
|
|
6810
6425
|
|
|
6811
|
-
<span class="cstat-no" title="statement not covered" > this.traverseChildren(
|
|
6426
|
+
<span class="cstat-no" title="statement not covered" > this.traverseChildren(<span class="fstat-no" title="function not covered" >(e</span>l) => {</span>
|
|
6812
6427
|
<span class="cstat-no" title="statement not covered" > if (el?.concept === 'ForEachStatement') {</span>
|
|
6813
6428
|
<span class="cstat-no" title="statement not covered" > if ((el as ForEachStatement)?.item) {</span>
|
|
6814
6429
|
<span class="cstat-no" title="statement not covered" > varList.push((el as ForEachStatement)?.item);</span>
|
|
@@ -6818,37 +6433,37 @@ export class Logic extends BaseNode {
|
|
|
6818
6433
|
}
|
|
6819
6434
|
}
|
|
6820
6435
|
});
|
|
6821
|
-
<span class="cstat-no" title="statement not covered" > return varList.filter(
|
|
6436
|
+
<span class="cstat-no" title="statement not covered" > return varList.filter(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >!excludedSet.has(item))</span>.map(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >item?.name)</span>;</span>
|
|
6822
6437
|
}
|
|
6823
6438
|
|
|
6824
|
-
<span class="fstat-no" title="function not covered" > toJSContent(
|
|
6439
|
+
<span class="fstat-no" title="function not covered" > toJSContent(</span>code: string, state?: TranslatorState): string {
|
|
6825
6440
|
// params
|
|
6826
6441
|
<span class="cstat-no" title="statement not covered" > if (Array.isArray(this.params)) {</span>
|
|
6827
|
-
<span class="cstat-no" title="statement not covered" > this.params.forEach(
|
|
6442
|
+
<span class="cstat-no" title="statement not covered" > this.params.forEach(<span class="fstat-no" title="function not covered" >(p</span>aram) => {</span>
|
|
6828
6443
|
<span class="cstat-no" title="statement not covered" > code += `${indent((state?.tabSize || 0) + 1)}`;</span>
|
|
6829
|
-
<span class="cstat-no" title="statement not covered" > code += param.toJS(state);</span>
|
|
6444
|
+
<span class="cstat-no" title="statement not covered" > code += param.toJS(shiftState(state, code, { inline: true }));</span>
|
|
6830
6445
|
<span class="cstat-no" title="statement not covered" > code += ';\n';</span>
|
|
6831
6446
|
});
|
|
6832
6447
|
}
|
|
6833
6448
|
// variables
|
|
6834
6449
|
<span class="cstat-no" title="statement not covered" > if (Array.isArray(this.variables)) {</span>
|
|
6835
|
-
<span class="cstat-no" title="statement not covered" > this.variables.forEach(
|
|
6450
|
+
<span class="cstat-no" title="statement not covered" > this.variables.forEach(<span class="fstat-no" title="function not covered" >(v</span>ariable) => {</span>
|
|
6836
6451
|
<span class="cstat-no" title="statement not covered" > code += `${indent((state?.tabSize || 0) + 1)}let `;</span>
|
|
6837
|
-
<span class="cstat-no" title="statement not covered" > code += variable.toJS(state);</span>
|
|
6452
|
+
<span class="cstat-no" title="statement not covered" > code += variable.toJS(shiftState(state, code, { inline: true }));</span>
|
|
6838
6453
|
<span class="cstat-no" title="statement not covered" > code += ';\n';</span>
|
|
6839
6454
|
});
|
|
6840
6455
|
}
|
|
6841
6456
|
|
|
6842
6457
|
// returns
|
|
6843
6458
|
<span class="cstat-no" title="statement not covered" > if (Array.isArray(this.returns)) {</span>
|
|
6844
|
-
<span class="cstat-no" title="statement not covered" > this.returns.forEach(
|
|
6459
|
+
<span class="cstat-no" title="statement not covered" > this.returns.forEach(<span class="fstat-no" title="function not covered" >(r</span>et) => {</span>
|
|
6845
6460
|
<span class="cstat-no" title="statement not covered" > code += `${indent((state?.tabSize || 0) + 1)}let `;</span>
|
|
6846
|
-
<span class="cstat-no" title="statement not covered" > code += ret.toJS(state);</span>
|
|
6461
|
+
<span class="cstat-no" title="statement not covered" > code += ret.toJS(shiftState(state, code, { inline: true }));</span>
|
|
6847
6462
|
<span class="cstat-no" title="statement not covered" > code += ';\n';</span>
|
|
6848
6463
|
});
|
|
6849
6464
|
}
|
|
6850
6465
|
<span class="cstat-no" title="statement not covered" > if (Array.isArray(this.body)) {</span>
|
|
6851
|
-
<span class="cstat-no" title="statement not covered" > this.body.forEach(
|
|
6466
|
+
<span class="cstat-no" title="statement not covered" > this.body.forEach(<span class="fstat-no" title="function not covered" >(i</span>tem) => {</span>
|
|
6852
6467
|
<span class="cstat-no" title="statement not covered" > code += item.toJS && item.toJS(shiftState(state, code, { tabSize: (state?.tabSize || 0) + 1 }));</span>
|
|
6853
6468
|
<span class="cstat-no" title="statement not covered" > code += '\n';</span>
|
|
6854
6469
|
});
|
|
@@ -6857,7 +6472,7 @@ export class Logic extends BaseNode {
|
|
|
6857
6472
|
<span class="cstat-no" title="statement not covered" > return code;</span>
|
|
6858
6473
|
}
|
|
6859
6474
|
|
|
6860
|
-
<span class="fstat-no" title="function not covered" > toJS(
|
|
6475
|
+
<span class="fstat-no" title="function not covered" > toJS(</span>state?: TranslatorState, type?: string): string {
|
|
6861
6476
|
let code = <span class="cstat-no" title="statement not covered" >'';</span>
|
|
6862
6477
|
<span class="cstat-no" title="statement not covered" > if (type === 'IIFE') {</span>
|
|
6863
6478
|
<span class="cstat-no" title="statement not covered" > code += `await (async () => {\n`;</span>
|
|
@@ -6880,7 +6495,7 @@ export class Logic extends BaseNode {
|
|
|
6880
6495
|
<span class="cstat-no" title="statement not covered" > return code;</span>
|
|
6881
6496
|
}
|
|
6882
6497
|
|
|
6883
|
-
<span class="fstat-no" title="function not covered" > toProcessService() {
|
|
6498
|
+
<span class="fstat-no" title="function not covered" > toProcessService(</span>) {
|
|
6884
6499
|
<span class="cstat-no" title="statement not covered" > return {</span>
|
|
6885
6500
|
config: {
|
|
6886
6501
|
serviceType: 'micro',
|
|
@@ -6892,7 +6507,7 @@ export class Logic extends BaseNode {
|
|
|
6892
6507
|
};
|
|
6893
6508
|
}
|
|
6894
6509
|
|
|
6895
|
-
<span class="fstat-no" title="function not covered" > toService() {
|
|
6510
|
+
<span class="fstat-no" title="function not covered" > toService(</span>) {
|
|
6896
6511
|
const { parentNode } = <span class="cstat-no" title="statement not covered" >this;</span>
|
|
6897
6512
|
const { concept, name: entityName } = <span class="cstat-no" title="statement not covered" >parentNode || {};</span>
|
|
6898
6513
|
const logicName = <span class="cstat-no" title="statement not covered" >this.name;</span>
|
|
@@ -6901,7 +6516,7 @@ export class Logic extends BaseNode {
|
|
|
6901
6516
|
let path = <span class="cstat-no" title="statement not covered" >`/api/lcplogics/${logicName}`;</span>
|
|
6902
6517
|
<span class="cstat-no" title="statement not covered" > if (concept === 'Module') {</span>
|
|
6903
6518
|
<span class="cstat-no" title="statement not covered" > path = `/api/${entityName.replace('-', '_')}/${logicName}`;</span>
|
|
6904
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6519
|
+
} else <span class="cstat-no" title="statement not covered" >if (concept === 'Namespace') {</span>
|
|
6905
6520
|
<span class="cstat-no" title="statement not covered" > serviceType = 'entity';</span>
|
|
6906
6521
|
let entityPath = <span class="cstat-no" title="statement not covered" >entityName.replace(/[A-Z]/g, <span class="fstat-no" title="function not covered" >(c</span>har, index) => {</span>
|
|
6907
6522
|
const lowerChar = <span class="cstat-no" title="statement not covered" >char.toLowerCase();</span>
|
|
@@ -6972,271 +6587,257 @@ export class Logic extends BaseNode {
|
|
|
6972
6587
|
};
|
|
6973
6588
|
}
|
|
6974
6589
|
|
|
6975
|
-
@
|
|
6976
|
-
<span class="fstat-no" title="function not covered" >
|
|
6977
|
-
<span class="branch-0 cbranch-no" title="branch not covered" > state = createCompilerState(),</span>
|
|
6978
|
-
prependCode?: string,
|
|
6979
|
-
noName?: boolean,
|
|
6980
|
-
prefix?: boolean,
|
|
6981
|
-
): TranslatorGenerator {
|
|
6982
|
-
const self = <span class="cstat-no" title="statement not covered" >this;</span>
|
|
6590
|
+
@withSourceMap()
|
|
6591
|
+
<span class="fstat-no" title="function not covered" > toEmbeddedTSInProcess(</span>state?: TranslatorState, prependCode?: string, noName?: boolean, prefix?: boolean): string {
|
|
6983
6592
|
let code = <span class="cstat-no" title="statement not covered" >'';</span>
|
|
6984
|
-
<span class="cstat-no" title="statement not covered" > if (!prefix) <span class="cstat-no" title="statement not covered" >code += `${noName ? '' : `${
|
|
6985
|
-
else <span class="cstat-no" title="statement not covered" >code += `function ${
|
|
6986
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6987
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
6988
|
-
<span class="cstat-no" title="statement not covered" > if (index !==
|
|
6593
|
+
<span class="cstat-no" title="statement not covered" > if (!prefix) <span class="cstat-no" title="statement not covered" >code += `${noName ? '' : `${this.name}:`} function(`;</span></span>
|
|
6594
|
+
else <span class="cstat-no" title="statement not covered" >code += `function ${this.name}(`; </span>// 加空格会导致无法查询到引用
|
|
6595
|
+
<span class="cstat-no" title="statement not covered" > this.params.forEach(<span class="fstat-no" title="function not covered" >(p</span>aram, index) => {</span>
|
|
6596
|
+
<span class="cstat-no" title="statement not covered" > code += param.toEmbeddedTS(shiftState(state, code, { inline: true }));</span>
|
|
6597
|
+
<span class="cstat-no" title="statement not covered" > if (index !== this.params.length - 1) <span class="cstat-no" title="statement not covered" >code += ', ';</span></span>
|
|
6989
6598
|
});
|
|
6990
6599
|
<span class="cstat-no" title="statement not covered" > code += `) {\n`;</span>
|
|
6991
6600
|
<span class="cstat-no" title="statement not covered" > code += prependCode || '';</span>
|
|
6992
6601
|
<span class="cstat-no" title="statement not covered" > code += '\n';</span>
|
|
6993
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6602
|
+
<span class="cstat-no" title="statement not covered" > this.variables.forEach(<span class="fstat-no" title="function not covered" >(v</span>ariable) => {</span>
|
|
6994
6603
|
<span class="cstat-no" title="statement not covered" > code += `${indent((state?.tabSize || 0) + 1)}let `;</span>
|
|
6995
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
6604
|
+
<span class="cstat-no" title="statement not covered" > code += variable.toEmbeddedTS(shiftState(state, code, { inline: true }));</span>
|
|
6996
6605
|
<span class="cstat-no" title="statement not covered" > code += ';\n';</span>
|
|
6997
6606
|
});
|
|
6998
|
-
|
|
6607
|
+
|
|
6608
|
+
<span class="cstat-no" title="statement not covered" > this.returns.forEach(<span class="fstat-no" title="function not covered" >(r</span>et) => {</span>
|
|
6999
6609
|
<span class="cstat-no" title="statement not covered" > code += `${indent((state?.tabSize || 0) + 1)}let `;</span>
|
|
7000
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
6610
|
+
<span class="cstat-no" title="statement not covered" > code += ret.toEmbeddedTS(shiftState(state, code, { inline: true }));</span>
|
|
7001
6611
|
<span class="cstat-no" title="statement not covered" > code += ';\n';</span>
|
|
7002
6612
|
});
|
|
7003
|
-
|
|
7004
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6613
|
+
|
|
6614
|
+
<span class="cstat-no" title="statement not covered" > if (!this.body.length && this.returns.length) {</span>
|
|
6615
|
+
<span class="cstat-no" title="statement not covered" > code += `${indent((state?.tabSize || 0) + 1)}return ${this.returns[0].name};\n`;</span>
|
|
7005
6616
|
} else {
|
|
7006
|
-
<span class="cstat-no" title="statement not covered" > if ((
|
|
7007
|
-
<span class="cstat-no" title="statement not covered" > if (
|
|
6617
|
+
<span class="cstat-no" title="statement not covered" > if ((this.parentNode as any).type === 'ExclusiveGateway') {</span>
|
|
6618
|
+
<span class="cstat-no" title="statement not covered" > if (this.body.length <= 1) {</span>
|
|
7008
6619
|
<span class="cstat-no" title="statement not covered" > code += indent((state?.tabSize || 0) + 1);</span>
|
|
7009
6620
|
<span class="cstat-no" title="statement not covered" > code += 'const __LogicEmpty: any = null;';</span>
|
|
7010
6621
|
}
|
|
7011
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7012
|
-
|
|
7013
|
-
!
|
|
7014
|
-
!
|
|
6622
|
+
} else <span class="cstat-no" title="statement not covered" >if (</span>
|
|
6623
|
+
this.body.length <= 2 &&
|
|
6624
|
+
!(this.parentNode instanceof Namespace) &&
|
|
6625
|
+
!(this.parentNode instanceof Process)
|
|
7015
6626
|
) {
|
|
7016
6627
|
<span class="cstat-no" title="statement not covered" > code += indent((state?.tabSize || 0) + 1);</span>
|
|
7017
6628
|
<span class="cstat-no" title="statement not covered" > code += `${indent(state?.tabSize || 0 + 4)}const __LogicEmpty: any = null;`;</span>
|
|
7018
6629
|
}
|
|
7019
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7020
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
7021
|
-
returnOrigin('');
|
|
6630
|
+
<span class="cstat-no" title="statement not covered" > this.body.forEach(<span class="fstat-no" title="function not covered" >(i</span>tem) => {</span>
|
|
6631
|
+
<span class="cstat-no" title="statement not covered" > code += item.toEmbeddedTS && item.toEmbeddedTS(shiftState(state, code, { tabSize: (state?.tabSize || 0) + 1 }));</span>
|
|
7022
6632
|
<span class="cstat-no" title="statement not covered" > code += ';\n';</span>
|
|
7023
6633
|
});
|
|
7024
6634
|
}
|
|
6635
|
+
|
|
7025
6636
|
// 在body渲染完成之后把其余的节点放到下面
|
|
7026
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7027
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
6637
|
+
<span class="cstat-no" title="statement not covered" > this.playground.forEach(<span class="fstat-no" title="function not covered" >(i</span>tem) => {</span>
|
|
6638
|
+
<span class="cstat-no" title="statement not covered" > code += item.toEmbeddedTS(shiftState(state, code, { tabSize: (state?.tabSize || 0) + 1 }));</span>
|
|
7028
6639
|
<span class="cstat-no" title="statement not covered" > code += '\n';</span>
|
|
7029
6640
|
});
|
|
6641
|
+
|
|
7030
6642
|
<span class="cstat-no" title="statement not covered" > code += `${indent(state?.tabSize || 0 + 4)}}`;</span>
|
|
7031
6643
|
<span class="cstat-no" title="statement not covered" > code += '\n';</span>
|
|
7032
6644
|
<span class="cstat-no" title="statement not covered" > return code;</span>
|
|
7033
6645
|
}
|
|
7034
6646
|
|
|
7035
|
-
<span class="fstat-no" title="function not covered" > toEmbeddedTSNoExport(
|
|
7036
|
-
<span class="cstat-no" title="statement not covered" > return
|
|
6647
|
+
<span class="fstat-no" title="function not covered" > toEmbeddedTSNoExport(</span>state?: TranslatorState): string {
|
|
6648
|
+
<span class="cstat-no" title="statement not covered" > return this.toEmbeddedTS(state, 'noExport');</span>
|
|
7037
6649
|
}
|
|
7038
6650
|
|
|
7039
|
-
|
|
7040
|
-
|
|
7041
|
-
<span class="cstat-no" title="statement not covered" > if (this.connector && this.integration) {</span>
|
|
7042
|
-
<span class="cstat-no" title="statement not covered" > return `${this.name}${CUSTOM_CONNECTOR_EDITABLE_SUFFIX}`;</span>
|
|
7043
|
-
}
|
|
7044
|
-
// 由于Logic name 已经是符合函数预期的,因此不再需要做格式化
|
|
7045
|
-
<span class="cstat-no" title="statement not covered" > return this.name;</span>
|
|
7046
|
-
}
|
|
7047
|
-
|
|
7048
|
-
@withSourceMapGenerator
|
|
7049
|
-
*toEmbeddedTS(<span class="branch-0 cbranch-no" title="branch not covered" >state = createCompilerState(), p</span>refix?: string, hideDefaultValue?: boolean): TranslatorGenerator {
|
|
7050
|
-
const self = this;
|
|
7051
|
-
// 等待 oql 查询返回内容
|
|
7052
|
-
yield waitOqlQueryComponentChildrenFinish(self);
|
|
6651
|
+
@withSourceMap()
|
|
6652
|
+
toEmbeddedTS(state?: TranslatorState, prefix?: string): string {
|
|
7053
6653
|
// 如果传了不要前缀那就为空, 要不用传进来的,要是都没有就默认导出
|
|
7054
6654
|
let code = '';
|
|
7055
|
-
// 用来储存默认值翻译结构是__IDENTIFIER__或者__IDENTIFIER__()的节点
|
|
7056
|
-
const IDENTIFIERMAP = new Set<Variable | Return>();
|
|
7057
|
-
|
|
7058
6655
|
<span class="missing-if-branch" title="if path not taken" >I</span>if (!prefix) {
|
|
7059
|
-
<span class="cstat-no" title="statement not covered" > code += `export function ${
|
|
7060
|
-
} else if (prefix === 'noExport') {
|
|
7061
|
-
code += `function ${
|
|
7062
|
-
<span class="
|
|
7063
|
-
code += `${
|
|
6656
|
+
<span class="cstat-no" title="statement not covered" > code += `export function ${this.name}`;</span>
|
|
6657
|
+
} else <span class="missing-if-branch" title="else path not taken" >E</span>if (prefix === 'noExport') {
|
|
6658
|
+
code += `function ${this.name}`;
|
|
6659
|
+
} else <span class="cstat-no" title="statement not covered" >if (prefix === 'inObject') {</span>
|
|
6660
|
+
<span class="cstat-no" title="statement not covered" > code += `${this.name}`;</span>
|
|
7064
6661
|
}
|
|
7065
|
-
<span class="missing-if-branch" title="if path not taken" >I</span>if (
|
|
6662
|
+
<span class="missing-if-branch" title="if path not taken" >I</span>if (this.typeParams?.length) {
|
|
7066
6663
|
<span class="cstat-no" title="statement not covered" > code += '<';</span>
|
|
7067
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7068
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
7069
|
-
<span class="cstat-no" title="statement not covered" > if (typeParamIndex !==
|
|
6664
|
+
<span class="cstat-no" title="statement not covered" > this.typeParams.forEach(<span class="fstat-no" title="function not covered" >(t</span>ypeParam, typeParamIndex) => {</span>
|
|
6665
|
+
<span class="cstat-no" title="statement not covered" > code += typeParam.toEmbeddedTS(shiftState(state, code, { inline: true }));</span>
|
|
6666
|
+
<span class="cstat-no" title="statement not covered" > if (typeParamIndex !== this.typeParams.length - 1) <span class="cstat-no" title="statement not covered" >code += ', ';</span></span>
|
|
7070
6667
|
});
|
|
7071
6668
|
<span class="cstat-no" title="statement not covered" > code += '>';</span>
|
|
7072
6669
|
}
|
|
7073
6670
|
// 有参数长度
|
|
7074
|
-
if (
|
|
7075
|
-
code += '('
|
|
7076
|
-
|
|
7077
|
-
code +=
|
|
7078
|
-
if (index !==
|
|
6671
|
+
<span class="missing-if-branch" title="if path not taken" >I</span>if (this.params.length) {
|
|
6672
|
+
<span class="cstat-no" title="statement not covered" > code += '(';</span>
|
|
6673
|
+
<span class="cstat-no" title="statement not covered" > this.params.forEach(<span class="fstat-no" title="function not covered" >(p</span>aram, index) => {</span>
|
|
6674
|
+
<span class="cstat-no" title="statement not covered" > code += param.toEmbeddedTS(shiftState(state, code));</span>
|
|
6675
|
+
<span class="cstat-no" title="statement not covered" > if (index !== this.params.length - 1) <span class="cstat-no" title="statement not covered" >code += ', ';</span></span>
|
|
7079
6676
|
});
|
|
7080
|
-
code += ')'
|
|
6677
|
+
<span class="cstat-no" title="statement not covered" > code += ')';</span>
|
|
7081
6678
|
} else {
|
|
7082
6679
|
// 没有参数的
|
|
7083
6680
|
code += '()';
|
|
7084
6681
|
}
|
|
6682
|
+
|
|
7085
6683
|
// 需要类型推导的局部变量/返回值需要调整申明顺序
|
|
7086
6684
|
const advanceMap: Map<Return | Variable, Assignment | BatchAssignment> = new Map();
|
|
7087
|
-
|
|
7088
|
-
|
|
7089
|
-
if (el && (
|
|
7090
|
-
<span class="missing-if-branch" title="else path not taken" >E</span>if (
|
|
7091
|
-
const advanceVar =
|
|
6685
|
+
const needGetSourceMapOqlList: Promise<any>[] = [];
|
|
6686
|
+
this.traverseChildren((el) => {
|
|
6687
|
+
if (el && (el instanceof BatchAssignment || (el instanceof Assignment && el.left?.name))) {
|
|
6688
|
+
<span class="missing-if-branch" title="else path not taken" >E</span>if (el instanceof Assignment) {
|
|
6689
|
+
const advanceVar = this.variables?.find(
|
|
7092
6690
|
(variable) => !variable.typeAnnotation && <span class="branch-1 cbranch-no" title="branch not covered" >el.left?.name === variable.name,</span>
|
|
7093
6691
|
);
|
|
7094
|
-
<span class="missing-if-branch" title="if path not taken" >I</span>if (advanceVar && <span class="branch-1 cbranch-no" title="branch not covered" >!advanceMap.get(advanceVar))
|
|
6692
|
+
<span class="missing-if-branch" title="if path not taken" >I</span>if (advanceVar && <span class="branch-1 cbranch-no" title="branch not covered" >!advanceMap.get(advanceVar))</span> {
|
|
7095
6693
|
<span class="cstat-no" title="statement not covered" > advanceMap.set(advanceVar, el);</span>
|
|
7096
6694
|
}
|
|
7097
|
-
const advanceRn =
|
|
7098
|
-
<span class="missing-if-branch" title="if path not taken" >I</span>if (advanceRn && <span class="branch-1 cbranch-no" title="branch not covered" >!advanceMap.get(advanceRn))
|
|
6695
|
+
const advanceRn = this.returns?.find(<span class="fstat-no" title="function not covered" >(r</span>et) => <span class="cstat-no" title="statement not covered" >!ret.typeAnnotation && el.left?.name === ret.name)</span>;
|
|
6696
|
+
<span class="missing-if-branch" title="if path not taken" >I</span>if (advanceRn && <span class="branch-1 cbranch-no" title="branch not covered" >!advanceMap.get(advanceRn))</span> {
|
|
7099
6697
|
<span class="cstat-no" title="statement not covered" > advanceMap.set(advanceRn, el);</span>
|
|
7100
6698
|
}
|
|
7101
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7102
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6699
|
+
} else <span class="cstat-no" title="statement not covered" >if (el instanceof BatchAssignment) {</span>
|
|
6700
|
+
<span class="cstat-no" title="statement not covered" > el.assignmentLines.forEach(<span class="fstat-no" title="function not covered" >({</span> leftIndex }) => {</span>
|
|
7103
6701
|
const leftCode =
|
|
7104
6702
|
<span class="cstat-no" title="statement not covered" > leftIndex.length === 1</span>
|
|
7105
|
-
?
|
|
7106
|
-
:
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
(<span class="fstat-no" title="function not covered" >variable) => <span class="cstat-no" title="statement not covered" >!</span>variable.typeAnnotation && leftCode === variable.name,</span>
|
|
6703
|
+
? el.left.expression.toEmbeddedTS(shiftState(state, code, { inline: true }))
|
|
6704
|
+
: el.left.members[leftIndex[1]]?.toEmbeddedTS(shiftState(state, code, { inline: true }));
|
|
6705
|
+
const advanceVar = <span class="cstat-no" title="statement not covered" >this.variables?.find(</span>
|
|
6706
|
+
<span class="fstat-no" title="function not covered" > (v</span>ariable) => <span class="cstat-no" title="statement not covered" >!variable.typeAnnotation && leftCode === variable.name,</span>
|
|
7110
6707
|
);
|
|
7111
6708
|
<span class="cstat-no" title="statement not covered" > if (advanceVar && !advanceMap.get(advanceVar)) {</span>
|
|
7112
6709
|
<span class="cstat-no" title="statement not covered" > advanceMap.set(advanceVar, el);</span>
|
|
7113
6710
|
}
|
|
7114
|
-
const advanceRn = <span class="cstat-no" title="statement not covered" >
|
|
6711
|
+
const advanceRn = <span class="cstat-no" title="statement not covered" >this.returns?.find(<span class="fstat-no" title="function not covered" >(r</span>et) => <span class="cstat-no" title="statement not covered" >!ret.typeAnnotation && leftCode === ret.name)</span>;</span>
|
|
7115
6712
|
<span class="cstat-no" title="statement not covered" > if (advanceRn && !advanceMap.get(advanceRn)) {</span>
|
|
7116
6713
|
<span class="cstat-no" title="statement not covered" > advanceMap.set(advanceRn, el);</span>
|
|
7117
6714
|
}
|
|
7118
6715
|
});
|
|
7119
6716
|
}
|
|
7120
6717
|
}
|
|
6718
|
+
// 如果有sql查询组件就需要把他们存起来
|
|
6719
|
+
<span class="missing-if-branch" title="if path not taken" >I</span>if (el instanceof OqlQueryComponent) {
|
|
6720
|
+
<span class="cstat-no" title="statement not covered" > if (!el.codeSourceMap) {</span>
|
|
6721
|
+
<span class="cstat-no" title="statement not covered" > needGetSourceMapOqlList.push(el.requestEmbeddedTS());</span>
|
|
6722
|
+
}
|
|
6723
|
+
}
|
|
7121
6724
|
});
|
|
6725
|
+
|
|
6726
|
+
<span class="missing-if-branch" title="if path not taken" >I</span>if (needGetSourceMapOqlList.length) {
|
|
6727
|
+
<span class="cstat-no" title="statement not covered" > Promise.all(needGetSourceMapOqlList).then(<span class="fstat-no" title="function not covered" >() =</span>> {</span>
|
|
6728
|
+
// 触发一下更新重新生成代码
|
|
6729
|
+
(<span class="cstat-no" title="statement not covered" >this.app as any)?.naslServer?.embeddedTSEmitter.emit('change', {</span>
|
|
6730
|
+
value: [
|
|
6731
|
+
{
|
|
6732
|
+
originEvent: {
|
|
6733
|
+
action: 'update',
|
|
6734
|
+
target: this,
|
|
6735
|
+
},
|
|
6736
|
+
},
|
|
6737
|
+
],
|
|
6738
|
+
});
|
|
6739
|
+
});
|
|
6740
|
+
}
|
|
7122
6741
|
// 兼容 return 没有类型情况
|
|
7123
|
-
if (
|
|
7124
|
-
code += ': '
|
|
7125
|
-
code +=
|
|
7126
|
-
returnOrigin('');
|
|
6742
|
+
<span class="missing-if-branch" title="if path not taken" >I</span>if (this.returns.length && <span class="branch-1 cbranch-no" title="branch not covered" >this.returns[0].typeAnnotation)</span> {
|
|
6743
|
+
<span class="cstat-no" title="statement not covered" > code += ': ';</span>
|
|
6744
|
+
<span class="cstat-no" title="statement not covered" > code += this.returns[0].typeAnnotation?.toEmbeddedTS(shiftState(state, code, { inline: true }));</span>
|
|
7127
6745
|
}
|
|
7128
6746
|
code += '{\n';
|
|
6747
|
+
|
|
7129
6748
|
// 用于虚拟节点的查找引用
|
|
7130
|
-
|
|
7131
|
-
|
|
6749
|
+
this.virtualParams &&
|
|
6750
|
+
Array.isArray(this.virtualParams) &&
|
|
6751
|
+
this.virtualParams.forEach(<span class="fstat-no" title="function not covered" >(p</span>aram) => {
|
|
7132
6752
|
<span class="cstat-no" title="statement not covered" > code += indent((state?.tabSize || 0) + 1);</span>
|
|
7133
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
6753
|
+
<span class="cstat-no" title="statement not covered" > code += param.toEmbeddedNameTS(shiftState(state, code, { inline: true }));</span>
|
|
7134
6754
|
<span class="cstat-no" title="statement not covered" > code += '\n';</span>
|
|
7135
|
-
}
|
|
7136
|
-
}
|
|
6755
|
+
});
|
|
7137
6756
|
|
|
7138
|
-
|
|
7139
|
-
const ts = yield* variable.defaultValue?.toEmbeddedTS?.() ?? utils.returnOrigin('');
|
|
7140
|
-
<span class="missing-if-branch" title="if path not taken" >I</span>if (['__IDENTIFIER__', '__IDENTIFIER__()'].includes(ts)) {
|
|
7141
|
-
<span class="cstat-no" title="statement not covered" > IDENTIFIERMAP.add(variable);</span>
|
|
7142
|
-
}
|
|
6757
|
+
this.variables.forEach((variable) => {
|
|
7143
6758
|
<span class="missing-if-branch" title="else path not taken" >E</span>if (!advanceMap.get(variable)) {
|
|
7144
|
-
code += `${indent((state?.tabSize || <span class="branch-1 cbranch-no" title="branch not covered" >0) + 1
|
|
7145
|
-
code +=
|
|
6759
|
+
code += `${indent((state?.tabSize || <span class="branch-1 cbranch-no" title="branch not covered" >0)</span> + 1)}let `;
|
|
6760
|
+
code += variable.toEmbeddedTS(shiftState(state, code, { inline: true }));
|
|
7146
6761
|
code += ';\n';
|
|
7147
6762
|
}
|
|
7148
|
-
}
|
|
7149
|
-
|
|
7150
|
-
for (const ret of self.returns) {
|
|
7151
|
-
const ts = yield* ret.defaultValue?.toEmbeddedTS?.() ?? returnOrigin('');
|
|
7152
|
-
<span class="missing-if-branch" title="if path not taken" >I</span>if (['__IDENTIFIER__', '__IDENTIFIER__()'].includes(ts)) {
|
|
7153
|
-
<span class="cstat-no" title="statement not covered" > IDENTIFIERMAP.add(ret);</span>
|
|
7154
|
-
}
|
|
7155
|
-
<span class="missing-if-branch" title="else path not taken" >E</span>if (!advanceMap.get(ret)) {
|
|
7156
|
-
code += `${indent((state?.tabSize || 0) + 1)}let `;
|
|
7157
|
-
code += yield* ret.toEmbeddedTS(shiftState(state, code, { inline: true }));
|
|
7158
|
-
code += ';\n';
|
|
7159
|
-
}
|
|
7160
|
-
}
|
|
6763
|
+
});
|
|
7161
6764
|
|
|
7162
|
-
|
|
7163
|
-
|
|
7164
|
-
<span class="cstat-no" title="statement not covered" > if (node.defaultValue?.expression && !IDENTIFIERMAP.has(node)) {</span>
|
|
6765
|
+
this.returns.forEach(<span class="fstat-no" title="function not covered" >(r</span>et) => {
|
|
6766
|
+
<span class="cstat-no" title="statement not covered" > if (!advanceMap.get(ret)) {</span>
|
|
7165
6767
|
<span class="cstat-no" title="statement not covered" > code += `${indent((state?.tabSize || 0) + 1)}let `;</span>
|
|
7166
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
7167
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6768
|
+
<span class="cstat-no" title="statement not covered" > code += ret.toEmbeddedTS(shiftState(state, code, { inline: true }));</span>
|
|
6769
|
+
<span class="cstat-no" title="statement not covered" > code += ';\n';</span>
|
|
7168
6770
|
}
|
|
6771
|
+
});
|
|
6772
|
+
|
|
6773
|
+
advanceMap.forEach(<span class="fstat-no" title="function not covered" >(a</span>ssignment, node) => {
|
|
7169
6774
|
<span class="cstat-no" title="statement not covered" > code += `${indent((state?.tabSize || 0) + 1)}// @ts-ignore\n`;</span>
|
|
7170
6775
|
<span class="cstat-no" title="statement not covered" > code += `${indent((state?.tabSize || 0) + 1)}let `;</span>
|
|
7171
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
7172
|
-
<span class="cstat-no" title="statement not covered" > if (
|
|
7173
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6776
|
+
<span class="cstat-no" title="statement not covered" > code += node.toEmbeddedTS(shiftState(state, code, { inline: true }));</span>
|
|
6777
|
+
<span class="cstat-no" title="statement not covered" > if (assignment instanceof BatchAssignment) {</span>
|
|
6778
|
+
<span class="cstat-no" title="statement not covered" > assignment.assignmentLines.forEach(<span class="fstat-no" title="function not covered" >({</span> leftIndex, rightIndex }) => {</span>
|
|
7174
6779
|
const leftCode =
|
|
7175
6780
|
<span class="cstat-no" title="statement not covered" > leftIndex.length === 1</span>
|
|
7176
|
-
?
|
|
7177
|
-
:
|
|
7178
|
-
returnOrigin('');
|
|
6781
|
+
? assignment.left.expression.toEmbeddedTS(shiftState(state, code, { inline: true }))
|
|
6782
|
+
: assignment.left.members[leftIndex[1]]?.toEmbeddedTS(shiftState(state, code, { inline: true }));
|
|
7179
6783
|
<span class="cstat-no" title="statement not covered" > if (leftCode === node.name) {</span>
|
|
7180
6784
|
const rightNode: any =
|
|
7181
6785
|
<span class="cstat-no" title="statement not covered" > rightIndex.length === 1</span>
|
|
7182
6786
|
? assignment.rights[rightIndex[0]]?.expression
|
|
7183
6787
|
: assignment.rights[rightIndex[0]]?.members[rightIndex[1]];
|
|
7184
6788
|
// 当右边有明确类型时,直接使用其类型。旧版本数据查询不能直接使用其 typeAnnotation
|
|
7185
|
-
<span class="cstat-no" title="statement not covered" > if (rightNode?.typeAnnotation && !(
|
|
6789
|
+
<span class="cstat-no" title="statement not covered" > if (rightNode?.typeAnnotation && !(rightNode instanceof CallQueryComponent && !rightNode.isAutoInfer())) {</span>
|
|
7186
6790
|
<span class="cstat-no" title="statement not covered" > if (rightNode.concept === 'NewComposite' && rightNode.typeAnnotation?.typeKind === 'anonymousStructure') {</span>
|
|
7187
6791
|
<span class="cstat-no" title="statement not covered" > code += '= ';</span>
|
|
7188
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
7189
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6792
|
+
<span class="cstat-no" title="statement not covered" > code += rightNode.getInitCode(shiftState(state, code, { inline: true })) || 'null';</span>
|
|
6793
|
+
} else <span class="cstat-no" title="statement not covered" >if (rightNode.concept === 'NewComposite' && rightNode.typeAnnotation?.typeKind === 'generic') {</span>
|
|
7190
6794
|
<span class="cstat-no" title="statement not covered" > code += '= ';</span>
|
|
7191
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
6795
|
+
<span class="cstat-no" title="statement not covered" > code += rightNode.getNewCompositeCode(shiftState(state, code, { inline: true })) || 'null';</span>
|
|
7192
6796
|
} else {
|
|
7193
6797
|
<span class="cstat-no" title="statement not covered" > code += ': ';</span>
|
|
7194
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
7195
|
-
returnOrigin('null');
|
|
6798
|
+
<span class="cstat-no" title="statement not covered" > code += rightNode.typeAnnotation?.toEmbeddedTS(shiftState(state, code, { inline: true })) || 'null';</span>
|
|
7196
6799
|
}
|
|
7197
6800
|
} else {
|
|
7198
6801
|
<span class="cstat-no" title="statement not covered" > code += ' = ';</span>
|
|
7199
|
-
const rightCode = <span class="cstat-no" title="statement not covered" >
|
|
7200
|
-
|
|
7201
|
-
<span class="cstat-no" title="statement not covered" > code += yield* self.getRightCode(rightCode, assignment, rightNode);</span>
|
|
6802
|
+
const rightCode = <span class="cstat-no" title="statement not covered" >rightNode?.toEmbeddedTS(shiftState(state, code, { inline: true }));</span>
|
|
6803
|
+
<span class="cstat-no" title="statement not covered" > code += this.getRightCode(rightCode, assignment, rightNode);</span>
|
|
7202
6804
|
}
|
|
7203
6805
|
}
|
|
7204
6806
|
});
|
|
7205
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6807
|
+
} else <span class="cstat-no" title="statement not covered" >if (</span>
|
|
7206
6808
|
['NewList', 'NewMap'].includes(assignment.right?.concept) &&
|
|
7207
6809
|
!(assignment.right as any)?.typeAnnotation
|
|
7208
6810
|
) {
|
|
7209
6811
|
const rightNode: any = <span class="cstat-no" title="statement not covered" >assignment.right;</span>
|
|
7210
6812
|
<span class="cstat-no" title="statement not covered" > code += ' = ';</span>
|
|
7211
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
7212
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6813
|
+
<span class="cstat-no" title="statement not covered" > code += rightNode.getInitCode(shiftState(state, code, { inline: true }));</span>
|
|
6814
|
+
} else <span class="cstat-no" title="statement not covered" >if (</span>
|
|
7213
6815
|
assignment.right?.concept === 'NewComposite' &&
|
|
7214
6816
|
(assignment.right as any)?.typeAnnotation?.typeKind === 'anonymousStructure'
|
|
7215
6817
|
) {
|
|
7216
6818
|
const rightNode: any = <span class="cstat-no" title="statement not covered" >assignment.right;</span>
|
|
7217
6819
|
<span class="cstat-no" title="statement not covered" > code += ' = ';</span>
|
|
7218
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
7219
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6820
|
+
<span class="cstat-no" title="statement not covered" > code += rightNode.getInitCode(shiftState(state, code, { inline: true }));</span>
|
|
6821
|
+
} else <span class="cstat-no" title="statement not covered" >if (</span>
|
|
7220
6822
|
assignment.right?.concept === 'NewComposite' &&
|
|
7221
6823
|
(assignment.right as any)?.typeAnnotation?.typeKind === 'generic'
|
|
7222
6824
|
) {
|
|
7223
6825
|
const rightNode: any = <span class="cstat-no" title="statement not covered" >assignment.right;</span>
|
|
7224
6826
|
<span class="cstat-no" title="statement not covered" > code += ' = ';</span>
|
|
7225
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
6827
|
+
<span class="cstat-no" title="statement not covered" > code += rightNode.getNewCompositeCode(shiftState(state, code, { inline: true }));</span>
|
|
7226
6828
|
} else {
|
|
7227
6829
|
const rightNode: any = <span class="cstat-no" title="statement not covered" >assignment.right;</span>
|
|
7228
6830
|
// 当右边有明确类型时,直接使用其类型。旧版本数据查询不能直接使用其 typeAnnotation
|
|
7229
|
-
<span class="cstat-no" title="statement not covered" > if (rightNode?.typeAnnotation && !(
|
|
6831
|
+
<span class="cstat-no" title="statement not covered" > if (rightNode?.typeAnnotation && !(rightNode instanceof CallQueryComponent && !rightNode.isAutoInfer())) {</span>
|
|
7230
6832
|
<span class="cstat-no" title="statement not covered" > code += ': ';</span>
|
|
7231
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
7232
|
-
returnOrigin('null');
|
|
6833
|
+
<span class="cstat-no" title="statement not covered" > code += rightNode.typeAnnotation?.toEmbeddedTS(shiftState(state, code, { inline: true })) || 'null';</span>
|
|
7233
6834
|
} else {
|
|
7234
6835
|
<span class="cstat-no" title="statement not covered" > code += ' = ';</span>
|
|
7235
6836
|
let rightCode = <span class="cstat-no" title="statement not covered" >'';</span>
|
|
7236
6837
|
// 因为右侧枚举要赋值就得new 一下;
|
|
7237
6838
|
<span class="cstat-no" title="statement not covered" > if (</span>
|
|
7238
6839
|
rightNode &&
|
|
7239
|
-
|
|
6840
|
+
rightNode instanceof Identifier &&
|
|
7240
6841
|
rightNode.namespace &&
|
|
7241
6842
|
rightNode.namespace.endsWith('enums')
|
|
7242
6843
|
) {
|
|
@@ -7244,76 +6845,49 @@ export class Logic extends BaseNode {
|
|
|
7244
6845
|
}
|
|
7245
6846
|
<span class="cstat-no" title="statement not covered" > rightCode +=</span>
|
|
7246
6847
|
rightNode && rightNode.toEmbeddedTS
|
|
7247
|
-
?
|
|
6848
|
+
? rightNode.toEmbeddedTS(shiftState(state, code, { inline: true }))
|
|
7248
6849
|
: '__RIGHT__';
|
|
7249
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
6850
|
+
<span class="cstat-no" title="statement not covered" > code += this.getRightCode(rightCode, assignment, rightNode);</span>
|
|
7250
6851
|
}
|
|
7251
6852
|
}
|
|
7252
6853
|
<span class="cstat-no" title="statement not covered" > code += ';\n';</span>
|
|
7253
6854
|
});
|
|
7254
6855
|
|
|
7255
|
-
|
|
7256
|
-
|
|
7257
|
-
for (const node of IDENTIFIERMAP.values()) {
|
|
7258
|
-
<span class="cstat-no" title="statement not covered" > code += yield* node.defaultValue.toEmbeddedTS(shiftState(state, code, { inline: true }));</span>
|
|
7259
|
-
<span class="cstat-no" title="statement not covered" > code += '; ';</span>
|
|
7260
|
-
}
|
|
7261
|
-
code += '\n';
|
|
7262
|
-
}
|
|
7263
|
-
|
|
7264
|
-
if (!this.body.length && this.returns.length) {
|
|
7265
|
-
code += `${indent((state?.tabSize || 0) + 1)}return ${this.returns[0].name};\n`;
|
|
6856
|
+
<span class="missing-if-branch" title="if path not taken" >I</span>if (!this.body.length && <span class="branch-1 cbranch-no" title="branch not covered" >this.returns.length)</span> {
|
|
6857
|
+
<span class="cstat-no" title="statement not covered" > code += `${indent((state?.tabSize || 0) + 1)}return ${this.returns[0].name};\n`;</span>
|
|
7266
6858
|
} else {
|
|
7267
6859
|
// 如果长度小于2 并且不是虚拟节点就 加 报错,
|
|
7268
|
-
<span class="missing-if-branch" title="if path not taken" >I</span>if (
|
|
7269
|
-
<span class="cstat-no" title="statement not covered" > if (
|
|
6860
|
+
<span class="missing-if-branch" title="if path not taken" >I</span>if (this.body.length <= 2 && <span class="branch-1 cbranch-no" title="branch not covered" >!(this.parentNode instanceof Namespace))</span> {
|
|
6861
|
+
<span class="cstat-no" title="statement not covered" > if (this.body.length && this.body[0].concept === 'JavaLogic') {</span>
|
|
7270
6862
|
<span class="cstat-no" title="statement not covered" > code += '';</span>
|
|
7271
6863
|
} else {
|
|
7272
6864
|
<span class="cstat-no" title="statement not covered" > code += indent((state?.tabSize || 0) + 1);</span>
|
|
7273
6865
|
<span class="cstat-no" title="statement not covered" > code += 'const __LogicEmpty: any = null;';</span>
|
|
7274
6866
|
}
|
|
7275
6867
|
}
|
|
7276
|
-
|
|
7277
|
-
code +=
|
|
7278
|
-
returnOrigin('');
|
|
6868
|
+
this.body.forEach((item) => {
|
|
6869
|
+
code += item.toEmbeddedTS && item.toEmbeddedTS(shiftState(state, code, { tabSize: (state?.tabSize || <span class="branch-1 cbranch-no" title="branch not covered" >0)</span> + 1 }));
|
|
7279
6870
|
code += ';\n';
|
|
7280
6871
|
});
|
|
7281
6872
|
}
|
|
6873
|
+
|
|
7282
6874
|
// 在body渲染完成之后把其余的节点放到下面
|
|
7283
|
-
|
|
7284
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
6875
|
+
this.playground.forEach(<span class="fstat-no" title="function not covered" >(i</span>tem) => {
|
|
6876
|
+
<span class="cstat-no" title="statement not covered" > code += item.toEmbeddedTS(shiftState(state, code, { tabSize: (state?.tabSize || 0) + 1 }));</span>
|
|
7285
6877
|
<span class="cstat-no" title="statement not covered" > code += ';\n';</span>
|
|
7286
6878
|
});
|
|
7287
6879
|
|
|
7288
|
-
<span class="
|
|
7289
|
-
|
|
7290
|
-
|
|
7291
|
-
code += `${indent((state?.tabSize || 0) + 1)}/* -----以下是 ${name} 的默认值草稿------ */\n`;
|
|
7292
|
-
}
|
|
7293
|
-
|
|
7294
|
-
for (const item1 of arr) {
|
|
7295
|
-
for (const item of item1.defaultValue?.playground ?? []) {
|
|
7296
|
-
<span class="cstat-no" title="statement not covered" > code += yield* item.toEmbeddedTS(shiftState(state, code, { tabSize: (state?.tabSize || 0) + 1 }));</span>
|
|
7297
|
-
<span class="cstat-no" title="statement not covered" > code += ';\n';</span>
|
|
7298
|
-
}
|
|
7299
|
-
}
|
|
7300
|
-
}
|
|
7301
|
-
|
|
7302
|
-
yield* setPlaygroundCode(self.variables, 'variables');
|
|
7303
|
-
yield* setPlaygroundCode(self.returns, 'returns');
|
|
7304
|
-
yield* setPlaygroundCode(self.params, 'params');
|
|
7305
|
-
}
|
|
7306
|
-
|
|
7307
|
-
code += `${indent(state?.tabSize || 0)}}`;
|
|
7308
|
-
if (prefix === 'inObject') {
|
|
7309
|
-
code += `,`;
|
|
6880
|
+
code += `${indent(state?.tabSize || <span class="branch-1 cbranch-no" title="branch not covered" >0)</span>}}`;
|
|
6881
|
+
<span class="missing-if-branch" title="if path not taken" >I</span>if (prefix === 'inObject') {
|
|
6882
|
+
<span class="cstat-no" title="statement not covered" > code += `,`;</span>
|
|
7310
6883
|
}
|
|
7311
6884
|
code += '\n';
|
|
7312
6885
|
return code;
|
|
7313
6886
|
}
|
|
7314
6887
|
|
|
7315
6888
|
@withSourceMap()
|
|
7316
|
-
<span class="fstat-no" title="function not covered" > toNaturalTS(<span class="branch-0 cbranch-no" title="branch not covered" >
|
|
6889
|
+
<span class="fstat-no" title="function not covered" > toNaturalTS(</span>state = <span class="branch-0 cbranch-no" title="branch not covered" >createCompilerState(),</span> prefix?: string, logicName?: string, currentNode?: BaseNode): string {
|
|
6890
|
+
|
|
7317
6891
|
// 如果传了不要前缀那就为空, 要不用传进来的,要是都没有就默认导出
|
|
7318
6892
|
let code = <span class="cstat-no" title="statement not covered" >'';</span>
|
|
7319
6893
|
<span class="cstat-no" title="statement not covered" > if (currentNode === this) {</span>
|
|
@@ -7324,26 +6898,27 @@ ${indent(state.tabSize)} */\n`;
|
|
|
7324
6898
|
<span class="cstat-no" title="statement not covered" > if (!logicName) {</span>
|
|
7325
6899
|
const { name, parentNode } = <span class="cstat-no" title="statement not covered" >this;</span>
|
|
7326
6900
|
<span class="cstat-no" title="statement not covered" > if (parentNode?.concept === 'View') {</span>
|
|
7327
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7328
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7329
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6901
|
+
<span class="cstat-no" title="statement not covered" > logicName = `viewLogic_${name}`;</span>
|
|
6902
|
+
} else <span class="cstat-no" title="statement not covered" >if (parentNode?.concept === 'BindEvent') {</span>
|
|
6903
|
+
<span class="cstat-no" title="statement not covered" > logicName = `on_${(parentNode?.parentNode)?.name}_${name}`;</span>
|
|
7330
6904
|
} else {
|
|
7331
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6905
|
+
<span class="cstat-no" title="statement not covered" > logicName = this.name;</span>
|
|
7332
6906
|
}
|
|
7333
6907
|
}
|
|
7334
6908
|
|
|
7335
6909
|
<span class="cstat-no" title="statement not covered" > if (!prefix) {</span>
|
|
7336
6910
|
<span class="cstat-no" title="statement not covered" > code += `${indent(state.tabSize)}export ${currentNode !== this ? 'declare function' : 'function'} ${logicName}`;</span>
|
|
7337
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6911
|
+
} else <span class="cstat-no" title="statement not covered" >if (prefix === 'noExport') {</span>
|
|
7338
6912
|
<span class="cstat-no" title="statement not covered" > code += `${indent(state.tabSize)}${currentNode !== this ? 'declare function' : 'function'} ${logicName}`;</span>
|
|
7339
|
-
<span class="cstat-no" title="statement not covered" >
|
|
6913
|
+
} else <span class="cstat-no" title="statement not covered" >if (prefix === 'inObject') {</span>
|
|
7340
6914
|
<span class="cstat-no" title="statement not covered" > code += `${logicName}`;</span>
|
|
7341
6915
|
}
|
|
7342
6916
|
<span class="cstat-no" title="statement not covered" > if (this.typeParams?.length) {</span>
|
|
7343
6917
|
<span class="cstat-no" title="statement not covered" > code += '<';</span>
|
|
7344
6918
|
<span class="cstat-no" title="statement not covered" > this.typeParams.forEach(<span class="fstat-no" title="function not covered" >(t</span>ypeParam, typeParamIndex) => {</span>
|
|
7345
6919
|
<span class="cstat-no" title="statement not covered" > code += typeParam.toNaturalTS(shiftState(state, code, { inline: true }));</span>
|
|
7346
|
-
<span class="cstat-no" title="statement not covered" > if (typeParamIndex !== this.typeParams.length - 1)
|
|
6920
|
+
<span class="cstat-no" title="statement not covered" > if (typeParamIndex !== this.typeParams.length - 1)</span>
|
|
6921
|
+
<span class="cstat-no" title="statement not covered" > code += ', ';</span>
|
|
7347
6922
|
});
|
|
7348
6923
|
<span class="cstat-no" title="statement not covered" > code += '>';</span>
|
|
7349
6924
|
}
|
|
@@ -7351,28 +6926,11 @@ ${indent(state.tabSize)} */\n`;
|
|
|
7351
6926
|
<span class="cstat-no" title="statement not covered" > code += '(';</span>
|
|
7352
6927
|
<span class="cstat-no" title="statement not covered" > this.params.forEach(<span class="fstat-no" title="function not covered" >(p</span>aram, index) => {</span>
|
|
7353
6928
|
<span class="cstat-no" title="statement not covered" > code += param.toNaturalTS(shiftState(state, code, { inline: true }));</span>
|
|
7354
|
-
<span class="cstat-no" title="statement not covered" > if (index !== this.params.length - 1)
|
|
6929
|
+
<span class="cstat-no" title="statement not covered" > if (index !== this.params.length - 1)</span>
|
|
6930
|
+
<span class="cstat-no" title="statement not covered" > code += ', ';</span>
|
|
7355
6931
|
});
|
|
7356
6932
|
|
|
7357
6933
|
<span class="cstat-no" title="statement not covered" > code += ')';</span>
|
|
7358
|
-
|
|
7359
|
-
// 需要类型推导的局部变量/返回值需要调整申明顺序
|
|
7360
|
-
const advanceMap: Map<Return | Variable, Assignment | BatchAssignment> = <span class="cstat-no" title="statement not covered" >new Map();</span>
|
|
7361
|
-
<span class="cstat-no" title="statement not covered" > this.traverseChildren((<span class="fstat-no" title="function not covered" >el) => {</span></span>
|
|
7362
|
-
<span class="cstat-no" title="statement not covered" > if (el && (asserts.isBatchAssignment(el) || (asserts.isAssignment(el) && el.left?.name))) {</span>
|
|
7363
|
-
const jsCode = <span class="cstat-no" title="statement not covered" >el.toJS();</span>
|
|
7364
|
-
const advanceVar = <span class="cstat-no" title="statement not covered" >this.variables?.find(</span>
|
|
7365
|
-
(<span class="fstat-no" title="function not covered" >variable) => <span class="cstat-no" title="statement not covered" >!</span>variable.typeAnnotation && jsCode.includes(`${variable.name} = `),</span>
|
|
7366
|
-
);
|
|
7367
|
-
<span class="cstat-no" title="statement not covered" > if (advanceVar && !advanceMap.get(advanceVar)) {</span>
|
|
7368
|
-
<span class="cstat-no" title="statement not covered" > advanceMap.set(advanceVar, el);</span>
|
|
7369
|
-
}
|
|
7370
|
-
const advanceRn = <span class="cstat-no" title="statement not covered" >this.returns?.find((<span class="fstat-no" title="function not covered" >ret) => <span class="cstat-no" title="statement not covered" >!</span>ret.typeAnnotation && jsCode.includes(`${ret.name} = `))</span>;</span>
|
|
7371
|
-
<span class="cstat-no" title="statement not covered" > if (advanceRn && !advanceMap.get(advanceRn)) {</span>
|
|
7372
|
-
<span class="cstat-no" title="statement not covered" > advanceMap.set(advanceRn, el);</span>
|
|
7373
|
-
}
|
|
7374
|
-
}
|
|
7375
|
-
});
|
|
7376
6934
|
|
|
7377
6935
|
// 兼容 return 没有类型情况
|
|
7378
6936
|
<span class="cstat-no" title="statement not covered" > if (this.returns.length && this.returns[0].typeAnnotation) {</span>
|
|
@@ -7384,30 +6942,32 @@ ${indent(state.tabSize)} */\n`;
|
|
|
7384
6942
|
<span class="cstat-no" title="statement not covered" > code += ';';</span>
|
|
7385
6943
|
} else {
|
|
7386
6944
|
<span class="cstat-no" title="statement not covered" > code += ' {\n';</span>
|
|
7387
|
-
<span class="cstat-no" title="statement not covered" > this.variables.forEach(
|
|
6945
|
+
<span class="cstat-no" title="statement not covered" > this.variables.forEach(<span class="fstat-no" title="function not covered" >(v</span>ariable) => {</span>
|
|
7388
6946
|
<span class="cstat-no" title="statement not covered" > code += `${indent(state.tabSize + 1)}let `;</span>
|
|
7389
6947
|
<span class="cstat-no" title="statement not covered" > code += variable.toNaturalTS(shiftState(state, code, { inline: true }));</span>
|
|
7390
6948
|
<span class="cstat-no" title="statement not covered" > code += ';\n';</span>
|
|
7391
6949
|
});
|
|
7392
|
-
|
|
6950
|
+
|
|
6951
|
+
<span class="cstat-no" title="statement not covered" > this.returns.forEach(<span class="fstat-no" title="function not covered" >(r</span>et) => {</span>
|
|
7393
6952
|
<span class="cstat-no" title="statement not covered" > code += `${indent(state.tabSize + 1)}let `;</span>
|
|
7394
6953
|
<span class="cstat-no" title="statement not covered" > code += ret.toNaturalTS(shiftState(state, code, { inline: true }));</span>
|
|
7395
6954
|
<span class="cstat-no" title="statement not covered" > code += ';\n';</span>
|
|
7396
6955
|
});
|
|
7397
|
-
|
|
6956
|
+
|
|
7398
6957
|
<span class="cstat-no" title="statement not covered" > if (!this.body.length && this.returns.length) {</span>
|
|
7399
6958
|
<span class="cstat-no" title="statement not covered" > if (!state.focusedNodePath || `${this.nodePath}.body[0]` === state.focusedNodePath)</span>
|
|
7400
6959
|
<span class="cstat-no" title="statement not covered" > code += `${indent(state.tabSize + 1)}// 当前位置\n`;</span>
|
|
7401
6960
|
<span class="cstat-no" title="statement not covered" > code += `${indent(state.tabSize + 1)}return ${this.returns[0].name};\n`;</span>
|
|
7402
6961
|
} else {
|
|
7403
|
-
<span class="cstat-no" title="statement not covered" > this.body.forEach(
|
|
6962
|
+
<span class="cstat-no" title="statement not covered" > this.body.forEach(<span class="fstat-no" title="function not covered" >(i</span>tem) => {</span>
|
|
7404
6963
|
let partialCode = <span class="cstat-no" title="statement not covered" >'';</span>
|
|
7405
6964
|
|
|
7406
|
-
<span class="cstat-no" title="statement not covered" > if (!state.focusedNodePath && item.concept === 'End')
|
|
6965
|
+
<span class="cstat-no" title="statement not covered" > if (!state.focusedNodePath && item.concept === 'End')</span>
|
|
6966
|
+
<span class="cstat-no" title="statement not covered" > code += `${indent(state.tabSize + 1)}// 当前位置\n`;</span>
|
|
7407
6967
|
<span class="cstat-no" title="statement not covered" > if (item.toNaturalTS) {</span>
|
|
7408
6968
|
<span class="cstat-no" title="statement not covered" > partialCode = item.toNaturalTS(shiftState(state, code, { tabSize: state.tabSize + 1 }));</span>
|
|
7409
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7410
|
-
<span class="cstat-no" title="statement not covered" > partialCode =
|
|
6969
|
+
} else <span class="cstat-no" title="statement not covered" >if (item.toEmbeddedTS) {</span>
|
|
6970
|
+
<span class="cstat-no" title="statement not covered" > partialCode = item.toEmbeddedTS(shiftState(state, code, { tabSize: state.tabSize + 1 }));</span>
|
|
7411
6971
|
}
|
|
7412
6972
|
<span class="cstat-no" title="statement not covered" > if (partialCode.trim()) {</span>
|
|
7413
6973
|
<span class="cstat-no" title="statement not covered" > code += partialCode;</span>
|
|
@@ -7415,6 +6975,7 @@ ${indent(state.tabSize)} */\n`;
|
|
|
7415
6975
|
}
|
|
7416
6976
|
});
|
|
7417
6977
|
}
|
|
6978
|
+
|
|
7418
6979
|
<span class="cstat-no" title="statement not covered" > code += `${indent(state.tabSize)}}`;</span>
|
|
7419
6980
|
}
|
|
7420
6981
|
<span class="cstat-no" title="statement not covered" > if (prefix === 'inObject') {</span>
|
|
@@ -7424,40 +6985,38 @@ ${indent(state.tabSize)} */\n`;
|
|
|
7424
6985
|
<span class="cstat-no" title="statement not covered" > return code;</span>
|
|
7425
6986
|
}
|
|
7426
6987
|
|
|
7427
|
-
<span class="fstat-no" title="function not covered" >
|
|
6988
|
+
<span class="fstat-no" title="function not covered" > getRightCode(</span>code: string, assignment: Assignment | BatchAssignment, rightNode: any): string {
|
|
7428
6989
|
<span class="cstat-no" title="statement not covered" > code = code.replaceAll('\n', ' ');</span>
|
|
7429
|
-
<span class="cstat-no" title="statement not covered" > if (
|
|
6990
|
+
<span class="cstat-no" title="statement not covered" > if (assignment instanceof Assignment && !assignment.right) <span class="cstat-no" title="statement not covered" >return code;</span></span>
|
|
7430
6991
|
|
|
7431
6992
|
// 调用接口,参数替换成 null
|
|
7432
|
-
<span class="cstat-no" title="statement not covered" > if (
|
|
6993
|
+
<span class="cstat-no" title="statement not covered" > if (rightNode instanceof CallInterface) {</span>
|
|
7433
6994
|
const { _interface } = <span class="cstat-no" title="statement not covered" >rightNode.getModuleInterface();</span>
|
|
7434
|
-
<span class="cstat-no" title="statement not covered" > return _interface</span>
|
|
7435
|
-
? `${rightNode.tsCalleeKey}(${(_interface as unknown as Interface).params.map(<span class="fstat-no" title="function not covered" >() => <span class="cstat-no" title="statement not covered" >'</span>null')</span>.join(',')})`
|
|
7436
|
-
: null;
|
|
6995
|
+
<span class="cstat-no" title="statement not covered" > return _interface ? `${rightNode.tsCalleeKey}(${_interface.params.map(<span class="fstat-no" title="function not covered" >() =</span>> <span class="cstat-no" title="statement not covered" >'null')</span>.join(',')})` : null;</span>
|
|
7437
6996
|
}
|
|
7438
6997
|
|
|
7439
6998
|
// 调用服务端逻辑,参数替换成 null
|
|
7440
|
-
<span class="cstat-no" title="statement not covered" > if (
|
|
6999
|
+
<span class="cstat-no" title="statement not covered" > if (rightNode instanceof CallLogic && rightNode.calleeNamespace === 'app.logics') {</span>
|
|
7441
7000
|
const calleeName = <span class="cstat-no" title="statement not covered" >rightNode?.calleeName;</span>
|
|
7442
|
-
const calleeLogic = <span class="cstat-no" title="statement not covered" >this.app.logics.find(
|
|
7443
|
-
<span class="cstat-no" title="statement not covered" > return calleeLogic ? `app.logics.${calleeName}(${calleeLogic.params.map(<span class="fstat-no" title="function not covered" >()
|
|
7001
|
+
const calleeLogic = <span class="cstat-no" title="statement not covered" >this.app.logics.find(<span class="fstat-no" title="function not covered" >(l</span>) => <span class="cstat-no" title="statement not covered" >l.name === calleeName)</span>;</span>
|
|
7002
|
+
<span class="cstat-no" title="statement not covered" > return calleeLogic ? `app.logics.${calleeName}(${calleeLogic.params.map(<span class="fstat-no" title="function not covered" >() =</span>> <span class="cstat-no" title="statement not covered" >'null')</span>.join(',')})` : null;</span>
|
|
7444
7003
|
}
|
|
7445
7004
|
|
|
7446
7005
|
// ForEachStatement 内部变量需要替换处理,如 item、index
|
|
7447
7006
|
const forEachStatement = <span class="cstat-no" title="statement not covered" >assignment.getAncestor('ForEachStatement') as ForEachStatement;</span>
|
|
7448
7007
|
<span class="cstat-no" title="statement not covered" > if (forEachStatement) {</span>
|
|
7449
|
-
<span class="cstat-no" title="statement not covered" > code =
|
|
7008
|
+
<span class="cstat-no" title="statement not covered" > code = this.handleForEachCode(code, forEachStatement);</span>
|
|
7450
7009
|
}
|
|
7451
7010
|
// Match 需要针对分支缩小类型范围
|
|
7452
7011
|
const matchCase = <span class="cstat-no" title="statement not covered" >assignment.getAncestor('MatchCase') as MatchCase;</span>
|
|
7453
7012
|
<span class="cstat-no" title="statement not covered" > if (matchCase) {</span>
|
|
7454
|
-
<span class="cstat-no" title="statement not covered" > code =
|
|
7013
|
+
<span class="cstat-no" title="statement not covered" > code = this.handleMatchCaseCode(code, matchCase);</span>
|
|
7455
7014
|
}
|
|
7456
7015
|
<span class="cstat-no" title="statement not covered" > return code;</span>
|
|
7457
7016
|
}
|
|
7458
7017
|
|
|
7459
|
-
<span class="fstat-no" title="function not covered" > handleReplaceCode(
|
|
7460
|
-
<span class="cstat-no" title="statement not covered" > return code.replace(/\S+/g,
|
|
7018
|
+
<span class="fstat-no" title="function not covered" > handleReplaceCode(</span>code: string, variable: string, replaceCode: string) {
|
|
7019
|
+
<span class="cstat-no" title="statement not covered" > return code.replace(/\S+/g, <span class="fstat-no" title="function not covered" >($</span>1) => {</span>
|
|
7461
7020
|
<span class="cstat-no" title="statement not covered" > if ($1 === `${variable},`) <span class="cstat-no" title="statement not covered" >return `${replaceCode},`;</span></span>
|
|
7462
7021
|
<span class="cstat-no" title="statement not covered" > if ($1 === variable) <span class="cstat-no" title="statement not covered" >return replaceCode;</span></span>
|
|
7463
7022
|
|
|
@@ -7470,44 +7029,41 @@ ${indent(state.tabSize)} */\n`;
|
|
|
7470
7029
|
<span class="cstat-no" title="statement not covered" > if ($1.includes(`,${variable},`)) <span class="cstat-no" title="statement not covered" >fnCode = $1.replaceAll(`,${variable},`, `,${replaceCode},`);</span></span>
|
|
7471
7030
|
<span class="cstat-no" title="statement not covered" > if ($1.includes(`,${variable}.`)) <span class="cstat-no" title="statement not covered" >fnCode = $1.replaceAll(`,${variable}.`, `,${replaceCode}.`);</span></span>
|
|
7472
7031
|
<span class="cstat-no" title="statement not covered" > if ($1.includes(`,${variable})`)) <span class="cstat-no" title="statement not covered" >fnCode = $1.replaceAll(`,${variable})`, `,${replaceCode})`);</span></span>
|
|
7473
|
-
<span class="cstat-no" title="statement not covered" > if ($1.includes(`...[${variable}.`)) <span class="cstat-no" title="statement not covered" >fnCode = $1.replaceAll(`...[${variable}.`, `...[${replaceCode}.`);</span></span>
|
|
7474
7032
|
<span class="cstat-no" title="statement not covered" > return fnCode;</span>
|
|
7475
7033
|
});
|
|
7476
7034
|
}
|
|
7477
7035
|
|
|
7478
|
-
<span class="fstat-no" title="function not covered" >
|
|
7036
|
+
<span class="fstat-no" title="function not covered" > handleForEachCode(</span>code: string, forEachStatement: ForEachStatement): string {
|
|
7479
7037
|
const { item, index, each } = <span class="cstat-no" title="statement not covered" >forEachStatement;</span>
|
|
7480
7038
|
<span class="cstat-no" title="statement not covered" > if (code.includes(item.name)) {</span>
|
|
7481
|
-
const eachTSCode = <span class="cstat-no" title="statement not covered" >each ?
|
|
7039
|
+
const eachTSCode = <span class="cstat-no" title="statement not covered" >each ? each.toEmbeddedTS() : '__IDENTIFIER__'</span>
|
|
7482
7040
|
<span class="cstat-no" title="statement not covered" > code = this.handleReplaceCode(</span>
|
|
7483
7041
|
code,
|
|
7484
7042
|
item.name,
|
|
7485
7043
|
eachTSCode === '__IDENTIFIER__' ? eachTSCode : `${eachTSCode}.__get(0)`,
|
|
7486
7044
|
);
|
|
7487
7045
|
}
|
|
7488
|
-
<span class="cstat-no" title="statement not covered" > if (code.includes(index.name))
|
|
7489
|
-
<span class="cstat-no" title="statement not covered" > code = this.handleReplaceCode(code, index.name, 'new nasl.core.Long(0)');</span>
|
|
7490
|
-
}
|
|
7046
|
+
<span class="cstat-no" title="statement not covered" > if (code.includes(index.name)) <span class="cstat-no" title="statement not covered" >code = this.handleReplaceCode(code, index.name, 'new nasl.core.Long(0)');</span></span>
|
|
7491
7047
|
|
|
7492
7048
|
const parentForEachStatement = <span class="cstat-no" title="statement not covered" >forEachStatement.getAncestor('ForEachStatement') as ForEachStatement;</span>
|
|
7493
7049
|
<span class="cstat-no" title="statement not covered" > if (parentForEachStatement) {</span>
|
|
7494
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7050
|
+
<span class="cstat-no" title="statement not covered" > this.handleForEachCode(code, parentForEachStatement);</span>
|
|
7495
7051
|
}
|
|
7496
7052
|
<span class="cstat-no" title="statement not covered" > return code;</span>
|
|
7497
7053
|
}
|
|
7498
7054
|
|
|
7499
|
-
<span class="fstat-no" title="function not covered" >
|
|
7055
|
+
<span class="fstat-no" title="function not covered" > handleMatchCaseCode(</span>code: string, matchCase: MatchCase): string {
|
|
7500
7056
|
const match = <span class="cstat-no" title="statement not covered" >matchCase.getAncestor('Match') as Match;</span>
|
|
7501
|
-
const expressionTsCode = <span class="cstat-no" title="statement not covered" >
|
|
7057
|
+
const expressionTsCode = <span class="cstat-no" title="statement not covered" >match.expression.toEmbeddedTS();</span>
|
|
7502
7058
|
<span class="cstat-no" title="statement not covered" > if (code.includes(expressionTsCode)) {</span>
|
|
7503
7059
|
let typeCode = <span class="cstat-no" title="statement not covered" >'';</span>
|
|
7504
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7505
|
-
<span class="cstat-no" title="statement not covered" > if (
|
|
7060
|
+
<span class="cstat-no" title="statement not covered" > matchCase.patterns.forEach(<span class="fstat-no" title="function not covered" >(p</span>attern, index) => {</span>
|
|
7061
|
+
<span class="cstat-no" title="statement not covered" > if (pattern instanceof TypeAnnotation) {</span>
|
|
7506
7062
|
<span class="cstat-no" title="statement not covered" > if (index === 0) {</span>
|
|
7507
|
-
<span class="cstat-no" title="statement not covered" > typeCode +=
|
|
7063
|
+
<span class="cstat-no" title="statement not covered" > typeCode += pattern.toEmbeddedTS();</span>
|
|
7508
7064
|
} else {
|
|
7509
7065
|
<span class="cstat-no" title="statement not covered" > typeCode += '|';</span>
|
|
7510
|
-
<span class="cstat-no" title="statement not covered" > typeCode +=
|
|
7066
|
+
<span class="cstat-no" title="statement not covered" > typeCode += pattern.toEmbeddedTS();</span>
|
|
7511
7067
|
}
|
|
7512
7068
|
}
|
|
7513
7069
|
});
|
|
@@ -7517,12 +7073,12 @@ ${indent(state.tabSize)} */\n`;
|
|
|
7517
7073
|
}
|
|
7518
7074
|
const parentMatchCase = <span class="cstat-no" title="statement not covered" >match.getAncestor('MatchCase') as MatchCase;</span>
|
|
7519
7075
|
<span class="cstat-no" title="statement not covered" > if (parentMatchCase) {</span>
|
|
7520
|
-
<span class="cstat-no" title="statement not covered" > code =
|
|
7076
|
+
<span class="cstat-no" title="statement not covered" > code = this.handleMatchCaseCode(code, parentMatchCase);</span>
|
|
7521
7077
|
}
|
|
7522
7078
|
<span class="cstat-no" title="statement not covered" > return code;</span>
|
|
7523
7079
|
}
|
|
7524
7080
|
|
|
7525
|
-
<span class="fstat-no" title="function not covered" > getNamespace(): string {
|
|
7081
|
+
<span class="fstat-no" title="function not covered" > getNamespace(</span>): string {
|
|
7526
7082
|
<span class="cstat-no" title="statement not covered" > if (this.parentNode) {</span>
|
|
7527
7083
|
const parentNamespace = (<span class="cstat-no" title="statement not covered" >this.parentNode as any)?.getNamespace();</span>
|
|
7528
7084
|
// 针对Connector, 其对应的引入入口只有连接器。且唯一标识由
|
|
@@ -7565,7 +7121,7 @@ ${indent(state.tabSize)} */\n`;
|
|
|
7565
7121
|
<span class="cstat-no" title="statement not covered" > throw new Error('无法获取命名空间,请设置 parentNode!');</span>
|
|
7566
7122
|
}
|
|
7567
7123
|
|
|
7568
|
-
<span class="fstat-no" title="function not covered" > getTsNamespace(): string {
|
|
7124
|
+
<span class="fstat-no" title="function not covered" > getTsNamespace(</span>): string {
|
|
7569
7125
|
<span class="cstat-no" title="statement not covered" > if (this.parentNode) {</span>
|
|
7570
7126
|
const parentNamespace = (<span class="cstat-no" title="statement not covered" >this.parentNode as any)?.getTsNamespace();</span>
|
|
7571
7127
|
// 对于parent类型为Namespace的情况,getTsNamespace 已经返回了具体的 name,
|
|
@@ -7601,16 +7157,11 @@ ${indent(state.tabSize)} */\n`;
|
|
|
7601
7157
|
* 生成宿主语言的文件路径
|
|
7602
7158
|
* @param name 一般不用传,用于 rename
|
|
7603
7159
|
*/
|
|
7604
|
-
<span class="fstat-no" title="function not covered" > getEmbeddedFilePath(
|
|
7160
|
+
<span class="fstat-no" title="function not covered" > getEmbeddedFilePath(</span>name = <span class="branch-0 cbranch-no" title="branch not covered" >this.name)</span> {
|
|
7605
7161
|
let _path = <span class="cstat-no" title="statement not covered" >'';</span>
|
|
7606
7162
|
<span class="cstat-no" title="statement not covered" > if (this.module) {</span>
|
|
7607
7163
|
<span class="cstat-no" title="statement not covered" > _path = `/${this.module.parentKey}/${this.module.name}`;</span>
|
|
7608
|
-
}
|
|
7609
|
-
// 由于 getAncestor逻辑变更导致现在在module 上也可以获取 connector ,导致之前的 else if 逻辑失效
|
|
7610
|
-
// 现断层处理
|
|
7611
|
-
<span class="cstat-no" title="statement not covered" > if (this.connector) {</span>
|
|
7612
|
-
// 自定义连接器 编辑态文件对应parentKey 为 connectors,
|
|
7613
|
-
// 稳定态文件对应parentKey 为 dependencies
|
|
7164
|
+
} else <span class="cstat-no" title="statement not covered" >if (this.connector) {</span>
|
|
7614
7165
|
// 自定义连接器有分组的概念因此,需要做文件夹处理
|
|
7615
7166
|
<span class="cstat-no" title="statement not covered" > if (this.connector.connectorKind === 'app') {</span>
|
|
7616
7167
|
<span class="cstat-no" title="statement not covered" > _path = `/${this.connector.parentKey}/${this.connector.name}/${this.parentNode.name}`;</span>
|
|
@@ -7618,19 +7169,20 @@ ${indent(state.tabSize)} */\n`;
|
|
|
7618
7169
|
<span class="cstat-no" title="statement not covered" > _path = `/${this.connector.parentKey}/${this.connector.name}`;</span>
|
|
7619
7170
|
}
|
|
7620
7171
|
}
|
|
7621
|
-
<span class="cstat-no" title="statement not covered" > if (
|
|
7172
|
+
<span class="cstat-no" title="statement not covered" > if (this.parentNode instanceof FrontendLibrary) {</span>
|
|
7622
7173
|
<span class="cstat-no" title="statement not covered" > _path += `/frontends/${this.parentNode.type}`;</span>
|
|
7623
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7174
|
+
} else <span class="cstat-no" title="statement not covered" >if (this.parentNode.concept === 'BindEvent' && this.parentNode?.parentNode.concept === 'Frontend') {</span>
|
|
7624
7175
|
<span class="cstat-no" title="statement not covered" > _path += `/frontends/${this.parentNode.parentNode.name}/bindEvents/${name}.ts`;</span>
|
|
7625
7176
|
}
|
|
7626
7177
|
<span class="cstat-no" title="statement not covered" > return `/embedded/${this.app.name}${_path}/logics/${name}.ts`;</span>
|
|
7627
7178
|
}
|
|
7628
7179
|
|
|
7629
|
-
<span class="fstat-no" title="function not covered" >
|
|
7180
|
+
<span class="fstat-no" title="function not covered" > toEmbeddedTSFile(</span>) {
|
|
7630
7181
|
let code = <span class="cstat-no" title="statement not covered" >`namespace ${this.getTsNamespace()} {\n`;</span>
|
|
7631
|
-
|
|
7182
|
+
|
|
7183
|
+
const state = <span class="cstat-no" title="statement not covered" >createCompilerState(code, { tabSize: 1 });</span>
|
|
7632
7184
|
<span class="cstat-no" title="statement not covered" > try {</span>
|
|
7633
|
-
<span class="cstat-no" title="statement not covered" > code +=
|
|
7185
|
+
<span class="cstat-no" title="statement not covered" > code += this.toEmbeddedTS(state);</span>
|
|
7634
7186
|
} catch (err) {
|
|
7635
7187
|
<span class="cstat-no" title="statement not covered" > console.log(err, `有问题翻译失败:${this.getTsNamespace()}.${this.name}`);</span>
|
|
7636
7188
|
<span class="cstat-no" title="statement not covered" > code += '';</span>
|
|
@@ -7667,12 +7219,12 @@ ${indent(state.tabSize)} */\n`;
|
|
|
7667
7219
|
};
|
|
7668
7220
|
}
|
|
7669
7221
|
|
|
7670
|
-
<span class="fstat-no" title="function not covered" > async
|
|
7222
|
+
<span class="fstat-no" title="function not covered" > async </span>saveStructureOfCallQueryComponents(root?: BaseNode | Logic) {
|
|
7671
7223
|
<span class="cstat-no" title="statement not covered" > if (!root) <span class="cstat-no" title="statement not covered" >root = this;</span></span>
|
|
7672
7224
|
const set = <span class="cstat-no" title="statement not covered" >new Set();</span>
|
|
7673
7225
|
<span class="cstat-no" title="statement not covered" > utils.traverse(</span>
|
|
7674
7226
|
<span class="fstat-no" title="function not covered" > ({</span> node }) => {
|
|
7675
|
-
<span class="cstat-no" title="statement not covered" > if (
|
|
7227
|
+
<span class="cstat-no" title="statement not covered" > if (node instanceof CallQueryComponent) {</span>
|
|
7676
7228
|
<span class="cstat-no" title="statement not covered" > set.add(node);</span>
|
|
7677
7229
|
}
|
|
7678
7230
|
},
|
|
@@ -7688,8 +7240,7 @@ ${indent(state.tabSize)} */\n`;
|
|
|
7688
7240
|
}
|
|
7689
7241
|
|
|
7690
7242
|
// 通过开关设置数据库事务
|
|
7691
|
-
<span class="fstat-no" title="function not covered" > setTransactionEnabled(
|
|
7692
|
-
const <span class="cstat-no" title="statement not covered" >Transactional = getConceptConstructor('Transactional');</span>
|
|
7243
|
+
<span class="fstat-no" title="function not covered" > setTransactionEnabled(</span>flag: boolean) {
|
|
7693
7244
|
<span class="cstat-no" title="statement not covered" > this.setTransactional(</span>
|
|
7694
7245
|
new Transactional({
|
|
7695
7246
|
enabled: flag,
|
|
@@ -7701,21 +7252,21 @@ ${indent(state.tabSize)} */\n`;
|
|
|
7701
7252
|
|
|
7702
7253
|
getPath: () => string;
|
|
7703
7254
|
|
|
7704
|
-
<span class="fstat-no" title="function not covered" > delete() {
|
|
7255
|
+
<span class="fstat-no" title="function not covered" > delete(</span>) {
|
|
7705
7256
|
let actionMsg = <span class="cstat-no" title="statement not covered" >'删除逻辑项';</span>
|
|
7706
7257
|
<span class="cstat-no" title="statement not covered" > if (this.name) <span class="cstat-no" title="statement not covered" >actionMsg += `“${this.name}”`;</span></span>
|
|
7707
|
-
<span class="cstat-no" title="statement not covered" > this.app?.emit('logicDeleted', { actionMsg: this.nodePath
|
|
7258
|
+
<span class="cstat-no" title="statement not covered" > this.app?.emit('logicDeleted', { actionMsg: this.nodePath})</span>
|
|
7708
7259
|
<span class="cstat-no" title="statement not covered" > this.app?.emit('collect:start', {</span>
|
|
7709
7260
|
actionMsg,
|
|
7710
7261
|
});
|
|
7711
7262
|
<span class="cstat-no" title="statement not covered" > super.delete();</span>
|
|
7712
|
-
<span class="cstat-no" title="statement not covered" > this.traverseChildren(<span class="fstat-no" title="function not covered" >async
|
|
7263
|
+
<span class="cstat-no" title="statement not covered" > this.traverseChildren(<span class="fstat-no" title="function not covered" >async </span>(el) => {</span>
|
|
7713
7264
|
<span class="cstat-no" title="statement not covered" > if (el?.concept === 'CallQueryComponent') (<span class="cstat-no" title="statement not covered" >el as CallQueryComponent).removeStructure();</span></span>
|
|
7714
7265
|
// 仅仅针对 自定义连接器下的 Loigc,其他需要界定边界
|
|
7715
7266
|
const connector: Connector | null = <span class="cstat-no" title="statement not covered" >el?.getAncestor?.('Connector') as Connector;</span>
|
|
7716
7267
|
<span class="cstat-no" title="statement not covered" > if (['CallAuthInterface', 'CallInterface'].includes(el?.concept) && connector) {</span>
|
|
7717
7268
|
const { calleeName } = <span class="cstat-no" title="statement not covered" >el as CallInterface;</span>
|
|
7718
|
-
const targetInterface = <span class="cstat-no" title="statement not covered" >connector.interfaces.find(
|
|
7269
|
+
const targetInterface = <span class="cstat-no" title="statement not covered" >connector.interfaces.find(<span class="fstat-no" title="function not covered" >i </span>=> <span class="cstat-no" title="statement not covered" >i.name === calleeName)</span>;</span>
|
|
7719
7270
|
<span class="cstat-no" title="statement not covered" > if (targetInterface) {</span>
|
|
7720
7271
|
const refs = <span class="cstat-no" title="statement not covered" >await (this.app as any)?.naslServer?._isHaveRef(targetInterface);</span>
|
|
7721
7272
|
// 如果只有两个引用,则必然为自身以及当前logic引用,需要删除此接口
|
|
@@ -7735,9 +7286,7 @@ ${indent(state.tabSize)} */\n`;
|
|
|
7735
7286
|
isSmpty: boolean = false;
|
|
7736
7287
|
|
|
7737
7288
|
<span class="fstat-no" title="function not covered" > get e</span>xportInterface() {
|
|
7738
|
-
<span class="cstat-no" title="statement not covered" > return (this.rootNode as App)?.interfaces?.find(</span>
|
|
7739
|
-
(<span class="fstat-no" title="function not covered" >item) => (<span class="cstat-no" title="statement not covered" >i</span>tem as unknown as Interface).originLogicName === this.name,</span>
|
|
7740
|
-
);
|
|
7289
|
+
<span class="cstat-no" title="statement not covered" > return (this.rootNode as App)?.interfaces?.find(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >item.originLogicName === this.name)</span>;</span>
|
|
7741
7290
|
}
|
|
7742
7291
|
|
|
7743
7292
|
<span class="fstat-no" title="function not covered" > get p</span>athName(): string {
|
|
@@ -7786,8 +7335,8 @@ ${indent(state.tabSize)} */\n`;
|
|
|
7786
7335
|
}
|
|
7787
7336
|
|
|
7788
7337
|
// 获取bindEvent下的logic的名称
|
|
7789
|
-
<span class="fstat-no" title="function not covered" > getEventLogicName(
|
|
7790
|
-
<span class="cstat-no" title="statement not covered" > if (
|
|
7338
|
+
<span class="fstat-no" title="function not covered" > getEventLogicName(</span>type?: string) {
|
|
7339
|
+
<span class="cstat-no" title="statement not covered" > if (this.parentNode instanceof BindEvent) {</span>
|
|
7791
7340
|
<span class="cstat-no" title="statement not covered" > if (type === 'chinese') {</span>
|
|
7792
7341
|
const bindEvent = <span class="cstat-no" title="statement not covered" >this.parentNode;</span>
|
|
7793
7342
|
const bindChineseName = <span class="cstat-no" title="statement not covered" >bindEvent.getPageViewEventChineseName();</span>
|
|
@@ -7806,7 +7355,7 @@ ${indent(state.tabSize)} */\n`;
|
|
|
7806
7355
|
}
|
|
7807
7356
|
|
|
7808
7357
|
// 校验logic的返回值是不是有error类型
|
|
7809
|
-
<span class="fstat-no" title="function not covered" > static
|
|
7358
|
+
<span class="fstat-no" title="function not covered" > static </span>checkLogicReturnTypeHasError(logic: Logic) {
|
|
7810
7359
|
let findHasError = <span class="cstat-no" title="statement not covered" >false;</span>
|
|
7811
7360
|
<span class="cstat-no" title="statement not covered" > if (!logic) {</span>
|
|
7812
7361
|
<span class="cstat-no" title="statement not covered" > return findHasError;</span>
|
|
@@ -7816,20 +7365,15 @@ ${indent(state.tabSize)} */\n`;
|
|
|
7816
7365
|
const logicType = <span class="cstat-no" title="statement not covered" >logic.returns[0].typeAnnotation;</span>
|
|
7817
7366
|
<span class="cstat-no" title="statement not covered" > if (logicType.typeNamespace === 'nasl.ui' && logicType.typeName === 'Error') {</span>
|
|
7818
7367
|
<span class="cstat-no" title="statement not covered" > findHasError = true;</span>
|
|
7819
|
-
<span class="cstat-no" title="statement not covered" >
|
|
7368
|
+
} else <span class="cstat-no" title="statement not covered" >if (logicType.typeNamespace === 'nasl.core' && logicType.typeKind === 'union') {</span>
|
|
7820
7369
|
// 如果 logic 有 returns 而且,也有typeArguments的长度
|
|
7821
7370
|
<span class="cstat-no" title="statement not covered" > findHasError = Boolean(</span>
|
|
7822
|
-
logicType.typeArguments?.find(
|
|
7371
|
+
logicType.typeArguments?.find(<span class="fstat-no" title="function not covered" >(i</span>tem) => <span class="cstat-no" title="statement not covered" >item?.typeNamespace === 'nasl.ui' && item?.typeName === 'Error')</span>,
|
|
7823
7372
|
);
|
|
7824
7373
|
}
|
|
7825
7374
|
}
|
|
7826
7375
|
<span class="cstat-no" title="statement not covered" > return findHasError;</span>
|
|
7827
7376
|
}
|
|
7828
|
-
|
|
7829
|
-
// 是否来自于 集成中心
|
|
7830
|
-
<span class="fstat-no" title="function not covered" > get i</span>ntegration() {
|
|
7831
|
-
<span class="cstat-no" title="statement not covered" > return this.getAncestor('Integration');</span>
|
|
7832
|
-
}
|
|
7833
7377
|
|
|
7834
7378
|
//================================================================================
|
|
7835
7379
|
// 从这里开始到结尾注释之间的代码由 NASL Workbench 自动生成,请不手动修改!
|
|
@@ -7849,7 +7393,7 @@ export default Logic;
|
|
|
7849
7393
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
7850
7394
|
Code coverage generated by
|
|
7851
7395
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
7852
|
-
at 2023-
|
|
7396
|
+
at 2023-10-18T11:36:07.885Z
|
|
7853
7397
|
</div>
|
|
7854
7398
|
<script src="../../prettify.js"></script>
|
|
7855
7399
|
<script>
|