@lcap/nasl 0.3.14-beta.0 → 1.0.0-alpha
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/DEVELOPMENT.md +39 -55
- package/README.md +78 -5
- package/bak/basicTypes.ts +76 -0
- package/bak/dataTypeUtils.ts +429 -0
- package/bak/dataTypes.ts +51 -0
- package/bak/entityUtils.ts +660 -0
- package/bak/genericTypes.ts +131 -0
- package/bak/systemTypes.ts +1590 -0
- package/bak/tools.js +174 -0
- package/bak/translator.js +129 -0
- package/bak/translator_backup.js +601 -0
- package/bin/naslc +3 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/custom.css +3 -0
- package/docs/assets/highlight.css +78 -0
- package/docs/assets/icons.css +1043 -0
- package/docs/assets/icons.png +0 -0
- package/docs/assets/icons@2x.png +0 -0
- package/docs/assets/main.js +52 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1414 -0
- package/docs/assets/widgets.png +0 -0
- package/docs/assets/widgets@2x.png +0 -0
- package/docs/classes/App.html +509 -0
- package/docs/classes/Argument.html +191 -0
- package/docs/classes/Assignment.html +195 -0
- package/docs/classes/Attribute.html +169 -0
- package/docs/classes/BaseNode.html +128 -0
- package/docs/classes/BinaryExpression.html +199 -0
- package/docs/classes/BindAttribute.html +209 -0
- package/docs/classes/BindDirective.html +161 -0
- package/docs/classes/BindEvent.html +173 -0
- package/docs/classes/BooleanLiteral.html +177 -0
- package/docs/classes/CallFunction.html +201 -0
- package/docs/classes/CallInterface.html +201 -0
- package/docs/classes/CallLogic.html +207 -0
- package/docs/classes/CallQueryComponent.html +301 -0
- package/docs/classes/Comment.html +175 -0
- package/docs/classes/CompletionProperty.html +165 -0
- package/docs/classes/Constant.html +161 -0
- package/docs/classes/DataElement.html +143 -0
- package/docs/classes/Destination.html +205 -0
- package/docs/classes/End.html +173 -0
- package/docs/classes/Entity.html +205 -0
- package/docs/classes/EntityIndex.html +153 -0
- package/docs/classes/EntityProperty.html +211 -0
- package/docs/classes/Enum.html +171 -0
- package/docs/classes/EnumItem.html +143 -0
- package/docs/classes/Event.html +173 -0
- package/docs/classes/ForEachStatement.html +253 -0
- package/docs/classes/Function.html +259 -0
- package/docs/classes/Identifier.html +181 -0
- package/docs/classes/IfStatement.html +229 -0
- package/docs/classes/Interface.html +211 -0
- package/docs/classes/InterfaceParam.html +171 -0
- package/docs/classes/JSBlock.html +179 -0
- package/docs/classes/Logic.html +327 -0
- package/docs/classes/LogicItem.html +175 -0
- package/docs/classes/MemberExpression.html +196 -0
- package/docs/classes/Module.html +386 -0
- package/docs/classes/Namespace.html +497 -0
- package/docs/classes/NullLiteral.html +175 -0
- package/docs/classes/NumericLiteral.html +187 -0
- package/docs/classes/Param.html +173 -0
- package/docs/classes/Point.html +131 -0
- package/docs/classes/Process.html +261 -0
- package/docs/classes/ProcessComponent.html +199 -0
- package/docs/classes/ProcessElement.html +333 -0
- package/docs/classes/ProcessOutcome.html +179 -0
- package/docs/classes/QueryAggregateExpression.html +185 -0
- package/docs/classes/QueryFieldExpression.html +185 -0
- package/docs/classes/QueryFromExpression.html +205 -0
- package/docs/classes/QueryGroupByExpression.html +187 -0
- package/docs/classes/QueryJoinExpression.html +237 -0
- package/docs/classes/QueryLimitExpression.html +199 -0
- package/docs/classes/QueryOrderByExpression.html +197 -0
- package/docs/classes/QuerySelectExpression.html +213 -0
- package/docs/classes/Rect.html +135 -0
- package/docs/classes/Return.html +169 -0
- package/docs/classes/Role.html +139 -0
- package/docs/classes/Slot.html +143 -0
- package/docs/classes/SqlQueryComponent.html +191 -0
- package/docs/classes/Start.html +173 -0
- package/docs/classes/StringLiteral.html +177 -0
- package/docs/classes/Structure.html +203 -0
- package/docs/classes/StructureProperty.html +171 -0
- package/docs/classes/SwitchCase.html +207 -0
- package/docs/classes/SwitchStatement.html +193 -0
- package/docs/classes/Theme.html +133 -0
- package/docs/classes/Transactional.html +151 -0
- package/docs/classes/TypeAnnotation.html +163 -0
- package/docs/classes/TypeParam.html +129 -0
- package/docs/classes/UnaryExpression.html +187 -0
- package/docs/classes/Unparsed.html +177 -0
- package/docs/classes/UseComponent.html +131 -0
- package/docs/classes/ValidationRule.html +201 -0
- package/docs/classes/Variable.html +167 -0
- package/docs/classes/View.html +366 -0
- package/docs/classes/ViewComponent.html +289 -0
- package/docs/classes/ViewElement.html +296 -0
- package/docs/classes/WhileStatement.html +207 -0
- package/docs/index.html +69 -313
- package/docs/modules.html +31 -377
- package/docs-theme/LICENSE +21 -0
- package/docs-theme/README.md +9 -0
- package/docs-theme/package.json +81 -0
- package/docs-theme/src/assets/common.js +2 -0
- package/docs-theme/src/assets/common.js.LICENSE.txt +61 -0
- package/docs-theme/src/assets/css/main.css +1 -0
- package/docs-theme/src/assets/images/icons.png +0 -0
- package/docs-theme/src/assets/images/icons@2x.png +0 -0
- package/docs-theme/src/config.json +25 -0
- package/docs-theme/src/index.js +45 -0
- package/docs-theme/src/layouts/default.js +88 -0
- package/docs-theme/src/partials/analytics.js +22 -0
- package/docs-theme/src/partials/breadcrumb.js +9 -0
- package/docs-theme/src/partials/footer.js +96 -0
- package/docs-theme/src/partials/header.js +25 -0
- package/docs-theme/src/partials/infrafoot.js +113 -0
- package/docs-theme/src/partials/infranav.js +187 -0
- package/docs-theme/src/partials/navigation.js +39 -0
- package/docs-theme/src/templates/index.js +7 -0
- package/docs-theme/src/templates/reflection.js +41 -0
- package/docs-theme/src/utils/lib.js +109 -0
- package/out/bak/translator.d.ts +1 -0
- package/out/bak/translator.js +117 -0
- package/out/bak/translator.js.map +1 -0
- package/out/baseService/index.d.ts +2 -0
- package/out/baseService/index.js +12 -0
- package/out/baseService/index.js.map +1 -0
- package/out/baseTypes/App__.d.ts +169 -0
- package/out/baseTypes/App__.js +344 -0
- package/out/baseTypes/App__.js.map +1 -0
- package/out/baseTypes/AssignmentExpression__.d.ts +42 -0
- package/out/baseTypes/AssignmentExpression__.js +112 -0
- package/out/baseTypes/AssignmentExpression__.js.map +1 -0
- package/out/baseTypes/Attr__.d.ts +96 -0
- package/out/baseTypes/Attr__.js +191 -0
- package/out/baseTypes/Attr__.js.map +1 -0
- package/out/baseTypes/BinaryExpression__.d.ts +40 -0
- package/out/baseTypes/BinaryExpression__.js +92 -0
- package/out/baseTypes/BinaryExpression__.js.map +1 -0
- package/out/baseTypes/BooleanLiteral__.d.ts +25 -0
- package/out/baseTypes/BooleanLiteral__.js +64 -0
- package/out/baseTypes/BooleanLiteral__.js.map +1 -0
- package/out/baseTypes/Comment__.d.ts +27 -0
- package/out/baseTypes/Comment__.js +60 -0
- package/out/baseTypes/Comment__.js.map +1 -0
- package/out/baseTypes/Directive__.d.ts +100 -0
- package/out/baseTypes/Directive__.js +198 -0
- package/out/baseTypes/Directive__.js.map +1 -0
- package/out/baseTypes/Element__.d.ts +303 -0
- package/out/baseTypes/Element__.js +555 -0
- package/out/baseTypes/Element__.js.map +1 -0
- package/out/baseTypes/End__.d.ts +24 -0
- package/out/baseTypes/End__.js +61 -0
- package/out/baseTypes/End__.js.map +1 -0
- package/out/baseTypes/EntityProperty__.d.ts +116 -0
- package/out/baseTypes/EntityProperty__.js +230 -0
- package/out/baseTypes/EntityProperty__.js.map +1 -0
- package/out/baseTypes/Entity__.d.ts +106 -0
- package/out/baseTypes/Entity__.js +222 -0
- package/out/baseTypes/Entity__.js.map +1 -0
- package/out/baseTypes/EnumItem__.d.ts +56 -0
- package/out/baseTypes/EnumItem__.js +125 -0
- package/out/baseTypes/EnumItem__.js.map +1 -0
- package/out/baseTypes/Enum__.d.ts +98 -0
- package/out/baseTypes/Enum__.js +211 -0
- package/out/baseTypes/Enum__.js.map +1 -0
- package/out/baseTypes/Event__.d.ts +93 -0
- package/out/baseTypes/Event__.js +181 -0
- package/out/baseTypes/Event__.js.map +1 -0
- package/out/baseTypes/ForEachStatement__.d.ts +89 -0
- package/out/baseTypes/ForEachStatement__.js +169 -0
- package/out/baseTypes/ForEachStatement__.js.map +1 -0
- package/out/baseTypes/Identifier__.d.ts +24 -0
- package/out/baseTypes/Identifier__.js +60 -0
- package/out/baseTypes/Identifier__.js.map +1 -0
- package/out/baseTypes/IfStatement__.d.ts +60 -0
- package/out/baseTypes/IfStatement__.js +109 -0
- package/out/baseTypes/IfStatement__.js.map +1 -0
- package/out/baseTypes/Lifecycle__.d.ts +89 -0
- package/out/baseTypes/Lifecycle__.js +175 -0
- package/out/baseTypes/Lifecycle__.js.map +1 -0
- package/out/baseTypes/LogicItem__.d.ts +103 -0
- package/out/baseTypes/LogicItem__.js +211 -0
- package/out/baseTypes/LogicItem__.js.map +1 -0
- package/out/baseTypes/Logic__.d.ts +280 -0
- package/out/baseTypes/Logic__.js +598 -0
- package/out/baseTypes/Logic__.js.map +1 -0
- package/out/baseTypes/Module__.d.ts +278 -0
- package/out/baseTypes/Module__.js +511 -0
- package/out/baseTypes/Module__.js.map +1 -0
- package/out/baseTypes/NullLiteral__.d.ts +20 -0
- package/out/baseTypes/NullLiteral__.js +53 -0
- package/out/baseTypes/NullLiteral__.js.map +1 -0
- package/out/baseTypes/Page__.d.ts +85 -0
- package/out/baseTypes/Page__.js +166 -0
- package/out/baseTypes/Page__.js.map +1 -0
- package/out/baseTypes/Param__.d.ts +88 -0
- package/out/baseTypes/Param__.js +194 -0
- package/out/baseTypes/Param__.js.map +1 -0
- package/out/baseTypes/ProcessComponent__.d.ts +67 -0
- package/out/baseTypes/ProcessComponent__.js +142 -0
- package/out/baseTypes/ProcessComponent__.js.map +1 -0
- package/out/baseTypes/Process__.d.ts +134 -0
- package/out/baseTypes/Process__.js +255 -0
- package/out/baseTypes/Process__.js.map +1 -0
- package/out/baseTypes/Return__.d.ts +88 -0
- package/out/baseTypes/Return__.js +194 -0
- package/out/baseTypes/Return__.js.map +1 -0
- package/out/baseTypes/Start__.d.ts +24 -0
- package/out/baseTypes/Start__.js +60 -0
- package/out/baseTypes/Start__.js.map +1 -0
- package/out/baseTypes/StringLiteral__.d.ts +25 -0
- package/out/baseTypes/StringLiteral__.js +73 -0
- package/out/baseTypes/StringLiteral__.js.map +1 -0
- package/out/baseTypes/StructureProperty__.d.ts +107 -0
- package/out/baseTypes/StructureProperty__.js +206 -0
- package/out/baseTypes/StructureProperty__.js.map +1 -0
- package/out/baseTypes/Structure__.d.ts +129 -0
- package/out/baseTypes/Structure__.js +296 -0
- package/out/baseTypes/Structure__.js.map +1 -0
- package/out/baseTypes/SwitchCase__.d.ts +56 -0
- package/out/baseTypes/SwitchCase__.js +105 -0
- package/out/baseTypes/SwitchCase__.js.map +1 -0
- package/out/baseTypes/SwitchStatement__.d.ts +49 -0
- package/out/baseTypes/SwitchStatement__.js +90 -0
- package/out/baseTypes/SwitchStatement__.js.map +1 -0
- package/out/baseTypes/TypeAnnotation__.d.ts +62 -0
- package/out/baseTypes/TypeAnnotation__.js +156 -0
- package/out/baseTypes/TypeAnnotation__.js.map +1 -0
- package/out/baseTypes/UnaryExpression__.d.ts +32 -0
- package/out/baseTypes/UnaryExpression__.js +76 -0
- package/out/baseTypes/UnaryExpression__.js.map +1 -0
- package/out/baseTypes/Variable__.d.ts +88 -0
- package/out/baseTypes/Variable__.js +194 -0
- package/out/baseTypes/Variable__.js.map +1 -0
- package/out/baseTypes/View__.d.ts +359 -0
- package/out/baseTypes/View__.js +644 -0
- package/out/baseTypes/View__.js.map +1 -0
- package/out/baseTypes/WhileStatement__.d.ts +56 -0
- package/out/baseTypes/WhileStatement__.js +105 -0
- package/out/baseTypes/WhileStatement__.js.map +1 -0
- package/out/baseTypes/basics/types/index.d.ts +8 -0
- package/out/baseTypes/basics/types/index.js +14 -0
- package/out/baseTypes/basics/types/index.js.map +1 -0
- package/out/baseTypes/basics/types/primitiveTypes.d.ts +2 -0
- package/out/baseTypes/basics/types/primitiveTypes.js +17 -0
- package/out/baseTypes/basics/types/primitiveTypes.js.map +1 -0
- package/out/baseTypes/basics/types/systemTypes.d.ts +2 -0
- package/out/baseTypes/basics/types/systemTypes.js +30 -0
- package/out/baseTypes/basics/types/systemTypes.js.map +1 -0
- package/out/baseTypes/index.d.ts +6 -0
- package/out/baseTypes/index.js +21 -0
- package/out/baseTypes/index.js.map +1 -0
- package/out/baseTypes/index__.d.ts +38 -0
- package/out/baseTypes/index__.js +51 -0
- package/out/baseTypes/index__.js.map +1 -0
- package/out/generator/debugInFileStorage.d.ts +3 -0
- package/out/generator/debugInFileStorage.js +15 -0
- package/out/generator/debugInFileStorage.js.map +1 -0
- package/out/generator/genAllEmbeddedTS.d.ts +7 -0
- package/out/generator/genAllEmbeddedTS.js +20 -0
- package/out/generator/genAllEmbeddedTS.js.map +1 -0
- package/out/generator/index.d.ts +2 -0
- package/out/generator/index.js +15 -0
- package/out/generator/index.js.map +1 -0
- package/out/index.d.ts +3 -0
- package/out/index.js +16 -0
- package/out/index.js.map +1 -0
- package/out/manager/diagnostic.d.ts +30 -0
- package/out/manager/diagnostic.js +82 -0
- package/out/manager/diagnostic.js.map +1 -0
- package/{analysis/mergeBlock/raw1.json → out/manager/history.d.ts} +0 -0
- package/out/manager/history.js +1 -0
- package/out/manager/history.js.map +1 -0
- package/out/manager/problem.d.ts +0 -0
- package/out/manager/problem.js +1 -0
- package/out/manager/problem.js.map +1 -0
- package/out/service/app/api.d.ts +1 -15
- package/out/service/app/api.js +1 -11
- package/out/service/app/api.js.map +1 -1
- package/out/service/create/index.js +2 -2
- package/out/service/create/index.js.map +1 -1
- package/out/service/debugger/debugger.d.ts +3 -0
- package/out/service/debugger/debugger.js +95 -0
- package/out/service/debugger/debugger.js.map +1 -0
- package/out/service/logic/index.d.ts +0 -3
- package/out/service/logic/index.js +1 -4
- package/out/service/logic/index.js.map +1 -1
- package/out/service/logic/logic.d.ts +0 -9
- package/out/service/logic/logic.js +0 -7
- package/out/service/logic/logic.js.map +1 -1
- package/out/service/page/api.d.ts +1 -1
- package/out/service/page/api.js +0 -15
- package/out/service/page/api.js.map +1 -1
- package/out/service/page/view.d.ts +1 -1
- package/out/service/page/view.js +0 -15
- package/out/service/page/view.js.map +1 -1
- package/out/src/bak/basicTypes.d.ts +25 -0
- package/out/src/bak/basicTypes.js +77 -0
- package/out/src/bak/basicTypes.js.map +1 -0
- package/out/src/bak/dataTypeUtils.d.ts +94 -0
- package/out/src/bak/dataTypeUtils.js +449 -0
- package/out/src/bak/dataTypeUtils.js.map +1 -0
- package/out/src/bak/dataTypes.d.ts +20 -0
- package/out/src/bak/dataTypes.js +47 -0
- package/out/src/bak/dataTypes.js.map +1 -0
- package/out/src/bak/entityUtils.d.ts +164 -0
- package/out/src/bak/entityUtils.js +621 -0
- package/out/src/bak/entityUtils.js.map +1 -0
- package/out/src/bak/genericTypes.d.ts +40 -0
- package/out/src/bak/genericTypes.js +134 -0
- package/out/src/bak/genericTypes.js.map +1 -0
- package/out/src/bak/systemTypes.d.ts +9 -0
- package/out/src/bak/systemTypes.js +1563 -0
- package/out/src/bak/systemTypes.js.map +1 -0
- package/out/src/baseService/index.d.ts +2 -0
- package/out/src/baseService/index.js +10 -0
- package/out/src/baseService/index.js.map +1 -0
- package/out/src/baseTypes/App__.d.ts +181 -0
- package/out/src/baseTypes/App__.js +381 -0
- package/out/src/baseTypes/App__.js.map +1 -0
- package/out/src/baseTypes/Argument__.d.ts +40 -0
- package/out/src/baseTypes/Argument__.js +147 -0
- package/out/src/baseTypes/Argument__.js.map +1 -0
- package/out/src/baseTypes/AssignmentExpression__.d.ts +45 -0
- package/out/src/baseTypes/AssignmentExpression__.js +172 -0
- package/out/src/baseTypes/AssignmentExpression__.js.map +1 -0
- package/out/src/baseTypes/Attr__.d.ts +79 -0
- package/out/src/baseTypes/Attr__.js +210 -0
- package/out/src/baseTypes/Attr__.js.map +1 -0
- package/out/src/baseTypes/BinaryExpression__.d.ts +43 -0
- package/out/src/baseTypes/BinaryExpression__.js +152 -0
- package/out/src/baseTypes/BinaryExpression__.js.map +1 -0
- package/out/src/baseTypes/BooleanLiteral__.d.ts +28 -0
- package/out/src/baseTypes/BooleanLiteral__.js +118 -0
- package/out/src/baseTypes/BooleanLiteral__.js.map +1 -0
- package/out/src/baseTypes/CallLogic__.d.ts +45 -0
- package/out/src/baseTypes/CallLogic__.js +162 -0
- package/out/src/baseTypes/CallLogic__.js.map +1 -0
- package/out/src/baseTypes/CallQueryComponent__.d.ts +83 -0
- package/out/src/baseTypes/CallQueryComponent__.js +235 -0
- package/out/src/baseTypes/CallQueryComponent__.js.map +1 -0
- package/out/src/baseTypes/Comment__.d.ts +30 -0
- package/out/src/baseTypes/Comment__.js +114 -0
- package/out/src/baseTypes/Comment__.js.map +1 -0
- package/out/src/baseTypes/Directive__.d.ts +83 -0
- package/out/src/baseTypes/Directive__.js +218 -0
- package/out/src/baseTypes/Directive__.js.map +1 -0
- package/out/src/baseTypes/Element__.d.ts +389 -0
- package/out/src/baseTypes/Element__.js +589 -0
- package/out/src/baseTypes/Element__.js.map +1 -0
- package/out/src/baseTypes/End__.d.ts +27 -0
- package/out/src/baseTypes/End__.js +115 -0
- package/out/src/baseTypes/End__.js.map +1 -0
- package/out/src/baseTypes/EntityProperty__.d.ts +99 -0
- package/out/src/baseTypes/EntityProperty__.js +254 -0
- package/out/src/baseTypes/EntityProperty__.js.map +1 -0
- package/out/src/baseTypes/Entity__.d.ts +121 -0
- package/out/src/baseTypes/Entity__.js +250 -0
- package/out/src/baseTypes/Entity__.js.map +1 -0
- package/out/src/baseTypes/EnumItem__.d.ts +131 -0
- package/out/src/baseTypes/EnumItem__.js +271 -0
- package/out/src/baseTypes/EnumItem__.js.map +1 -0
- package/out/src/baseTypes/Enum__.d.ts +114 -0
- package/out/src/baseTypes/Enum__.js +226 -0
- package/out/src/baseTypes/Enum__.js.map +1 -0
- package/out/src/baseTypes/Event__.d.ts +76 -0
- package/out/src/baseTypes/Event__.js +205 -0
- package/out/src/baseTypes/Event__.js.map +1 -0
- package/out/src/baseTypes/ForEachStatement__.d.ts +116 -0
- package/out/src/baseTypes/ForEachStatement__.js +242 -0
- package/out/src/baseTypes/ForEachStatement__.js.map +1 -0
- package/out/src/baseTypes/Identifier__.d.ts +29 -0
- package/out/src/baseTypes/Identifier__.js +121 -0
- package/out/src/baseTypes/Identifier__.js.map +1 -0
- package/out/src/baseTypes/IfStatement__.d.ts +87 -0
- package/out/src/baseTypes/IfStatement__.js +175 -0
- package/out/src/baseTypes/IfStatement__.js.map +1 -0
- package/out/src/baseTypes/Lifecycle__.d.ts +71 -0
- package/out/src/baseTypes/Lifecycle__.js +196 -0
- package/out/src/baseTypes/Lifecycle__.js.map +1 -0
- package/out/src/baseTypes/LogicItem__.d.ts +100 -0
- package/out/src/baseTypes/LogicItem__.js +265 -0
- package/out/src/baseTypes/LogicItem__.js.map +1 -0
- package/out/src/baseTypes/Logic__.d.ts +382 -0
- package/out/src/baseTypes/Logic__.js +622 -0
- package/out/src/baseTypes/Logic__.js.map +1 -0
- package/out/src/baseTypes/Module__.d.ts +521 -0
- package/out/src/baseTypes/Module__.js +728 -0
- package/out/src/baseTypes/Module__.js.map +1 -0
- package/out/src/baseTypes/NullLiteral__.d.ts +23 -0
- package/out/src/baseTypes/NullLiteral__.js +106 -0
- package/out/src/baseTypes/NullLiteral__.js.map +1 -0
- package/out/src/baseTypes/Page__.d.ts +65 -0
- package/out/src/baseTypes/Page__.js +186 -0
- package/out/src/baseTypes/Page__.js.map +1 -0
- package/out/src/baseTypes/Param__.d.ts +107 -0
- package/out/src/baseTypes/Param__.js +278 -0
- package/out/src/baseTypes/Param__.js.map +1 -0
- package/out/src/baseTypes/ProcessComponent__.d.ts +50 -0
- package/out/src/baseTypes/ProcessComponent__.js +153 -0
- package/out/src/baseTypes/ProcessComponent__.js.map +1 -0
- package/out/src/baseTypes/Process__.d.ts +285 -0
- package/out/src/baseTypes/Process__.js +450 -0
- package/out/src/baseTypes/Process__.js.map +1 -0
- package/out/src/baseTypes/QuerSelectExpression__.d.ts +39 -0
- package/out/src/baseTypes/QuerSelectExpression__.js +133 -0
- package/out/src/baseTypes/QuerSelectExpression__.js.map +1 -0
- package/out/src/baseTypes/QueryAggregateExpression__.d.ts +35 -0
- package/out/src/baseTypes/QueryAggregateExpression__.js +126 -0
- package/out/src/baseTypes/QueryAggregateExpression__.js.map +1 -0
- package/out/src/baseTypes/QueryFieldExpression__.d.ts +38 -0
- package/out/src/baseTypes/QueryFieldExpression__.js +131 -0
- package/out/src/baseTypes/QueryFieldExpression__.js.map +1 -0
- package/out/src/baseTypes/QueryFromExpression__.d.ts +40 -0
- package/out/src/baseTypes/QueryFromExpression__.js +136 -0
- package/out/src/baseTypes/QueryFromExpression__.js.map +1 -0
- package/out/src/baseTypes/QueryGroupByExpression__.d.ts +30 -0
- package/out/src/baseTypes/QueryGroupByExpression__.js +118 -0
- package/out/src/baseTypes/QueryGroupByExpression__.js.map +1 -0
- package/out/src/baseTypes/QueryJoinExpression__.d.ts +48 -0
- package/out/src/baseTypes/QueryJoinExpression__.js +155 -0
- package/out/src/baseTypes/QueryJoinExpression__.js.map +1 -0
- package/out/src/baseTypes/QueryLimitExpression__.d.ts +38 -0
- package/out/src/baseTypes/QueryLimitExpression__.js +137 -0
- package/out/src/baseTypes/QueryLimitExpression__.js.map +1 -0
- package/out/src/baseTypes/QueryOrderByExpression__.d.ts +38 -0
- package/out/src/baseTypes/QueryOrderByExpression__.js +137 -0
- package/out/src/baseTypes/QueryOrderByExpression__.js.map +1 -0
- package/out/src/baseTypes/Return__.d.ts +107 -0
- package/out/src/baseTypes/Return__.js +274 -0
- package/out/src/baseTypes/Return__.js.map +1 -0
- package/out/src/baseTypes/Start__.d.ts +27 -0
- package/out/src/baseTypes/Start__.js +114 -0
- package/out/src/baseTypes/Start__.js.map +1 -0
- package/out/src/baseTypes/StringLiteral__.d.ts +28 -0
- package/out/src/baseTypes/StringLiteral__.js +127 -0
- package/out/src/baseTypes/StringLiteral__.js.map +1 -0
- package/out/src/baseTypes/StructureProperty__.d.ts +97 -0
- package/out/src/baseTypes/StructureProperty__.js +253 -0
- package/out/src/baseTypes/StructureProperty__.js.map +1 -0
- package/out/src/baseTypes/Structure__.d.ts +153 -0
- package/out/src/baseTypes/Structure__.js +329 -0
- package/out/src/baseTypes/Structure__.js.map +1 -0
- package/out/src/baseTypes/SwitchCase__.d.ts +83 -0
- package/out/src/baseTypes/SwitchCase__.js +165 -0
- package/out/src/baseTypes/SwitchCase__.js.map +1 -0
- package/out/src/baseTypes/SwitchStatement__.d.ts +76 -0
- package/out/src/baseTypes/SwitchStatement__.js +147 -0
- package/out/src/baseTypes/SwitchStatement__.js.map +1 -0
- package/out/src/baseTypes/TypeAnnotation__.d.ts +60 -0
- package/out/src/baseTypes/TypeAnnotation__.js +201 -0
- package/out/src/baseTypes/TypeAnnotation__.js.map +1 -0
- package/out/src/baseTypes/UnaryExpression__.d.ts +35 -0
- package/out/src/baseTypes/UnaryExpression__.js +133 -0
- package/out/src/baseTypes/UnaryExpression__.js.map +1 -0
- package/out/src/baseTypes/Variable__.d.ts +107 -0
- package/out/src/baseTypes/Variable__.js +278 -0
- package/out/src/baseTypes/Variable__.js.map +1 -0
- package/out/src/baseTypes/View__.d.ts +472 -0
- package/out/src/baseTypes/View__.js +692 -0
- package/out/src/baseTypes/View__.js.map +1 -0
- package/out/src/baseTypes/WhileStatement__.d.ts +83 -0
- package/out/src/baseTypes/WhileStatement__.js +165 -0
- package/out/src/baseTypes/WhileStatement__.js.map +1 -0
- package/out/src/baseTypes/basics/types/collectionTypeList.d.ts +2 -0
- package/out/src/baseTypes/basics/types/collectionTypeList.js +30 -0
- package/out/src/baseTypes/basics/types/collectionTypeList.js.map +1 -0
- package/out/src/baseTypes/basics/types/coreTypes.d.ts +2 -0
- package/out/src/baseTypes/basics/types/coreTypes.js +17 -0
- package/out/src/baseTypes/basics/types/coreTypes.js.map +1 -0
- package/out/src/baseTypes/basics/types/index.d.ts +8 -0
- package/out/src/baseTypes/basics/types/index.js +14 -0
- package/out/src/baseTypes/basics/types/index.js.map +1 -0
- package/out/src/baseTypes/basics/types/stdlibModule.d.ts +7 -0
- package/out/src/baseTypes/basics/types/stdlibModule.js +48 -0
- package/out/src/baseTypes/basics/types/stdlibModule.js.map +1 -0
- package/out/src/baseTypes/index.d.ts +6 -0
- package/out/src/baseTypes/index.js +21 -0
- package/out/src/baseTypes/index.js.map +1 -0
- package/out/src/baseTypes/index__.d.ts +49 -0
- package/out/src/baseTypes/index__.js +62 -0
- package/out/src/baseTypes/index__.js.map +1 -0
- package/out/src/common/BaseNode.d.ts +231 -0
- package/out/src/common/BaseNode.js +683 -0
- package/out/src/common/BaseNode.js.map +1 -0
- package/out/src/common/Command.d.ts +8 -0
- package/out/src/common/Command.js +32 -0
- package/out/src/common/Command.js.map +1 -0
- package/out/src/common/ComponentAPI.d.ts +110 -0
- package/out/src/common/ComponentAPI.js +3 -0
- package/out/src/common/ComponentAPI.js.map +1 -0
- package/out/src/common/EventEmitter.d.ts +54 -0
- package/out/src/common/EventEmitter.js +68 -0
- package/out/src/common/EventEmitter.js.map +1 -0
- package/out/src/common/Messager.d.ts +86 -0
- package/out/src/common/Messager.js +187 -0
- package/out/src/common/Messager.js.map +1 -0
- package/out/src/common/classMap.d.ts +4 -0
- package/out/src/common/classMap.js +5 -0
- package/out/src/common/classMap.js.map +1 -0
- package/out/src/common/index.d.ts +4 -0
- package/out/src/common/index.js +21 -0
- package/out/src/common/index.js.map +1 -0
- package/out/src/concepts/App__.d.ts +1077 -0
- package/out/src/concepts/App__.js +1453 -0
- package/out/src/concepts/App__.js.map +1 -0
- package/out/src/concepts/Argument__.d.ts +56 -0
- package/out/src/concepts/Argument__.js +177 -0
- package/out/src/concepts/Argument__.js.map +1 -0
- package/out/src/concepts/Assignment__.d.ts +72 -0
- package/out/src/concepts/Assignment__.js +200 -0
- package/out/src/concepts/Assignment__.js.map +1 -0
- package/out/src/concepts/Attribute__.d.ts +101 -0
- package/out/src/concepts/Attribute__.js +221 -0
- package/out/src/concepts/Attribute__.js.map +1 -0
- package/out/src/concepts/BinaryExpression__.d.ts +66 -0
- package/out/src/concepts/BinaryExpression__.js +237 -0
- package/out/src/concepts/BinaryExpression__.js.map +1 -0
- package/out/src/concepts/BindAttribute__.d.ts +211 -0
- package/out/src/concepts/BindAttribute__.js +395 -0
- package/out/src/concepts/BindAttribute__.js.map +1 -0
- package/out/src/concepts/BindDirective__.d.ts +92 -0
- package/out/src/concepts/BindDirective__.js +221 -0
- package/out/src/concepts/BindDirective__.js.map +1 -0
- package/out/src/concepts/BindEvent__.d.ts +133 -0
- package/out/src/concepts/BindEvent__.js +258 -0
- package/out/src/concepts/BindEvent__.js.map +1 -0
- package/out/src/concepts/BooleanLiteral__.d.ts +27 -0
- package/out/src/concepts/BooleanLiteral__.js +74 -0
- package/out/src/concepts/BooleanLiteral__.js.map +1 -0
- package/out/src/concepts/CallFunction__.d.ts +100 -0
- package/out/src/concepts/CallFunction__.js +231 -0
- package/out/src/concepts/CallFunction__.js.map +1 -0
- package/out/src/concepts/CallInterface__.d.ts +100 -0
- package/out/src/concepts/CallInterface__.js +220 -0
- package/out/src/concepts/CallInterface__.js.map +1 -0
- package/out/src/concepts/CallLogic__.d.ts +116 -0
- package/out/src/concepts/CallLogic__.js +305 -0
- package/out/src/concepts/CallLogic__.js.map +1 -0
- package/out/src/concepts/CallQueryComponent__.d.ts +312 -0
- package/out/src/concepts/CallQueryComponent__.js +738 -0
- package/out/src/concepts/CallQueryComponent__.js.map +1 -0
- package/out/src/concepts/Comment__.d.ts +35 -0
- package/out/src/concepts/Comment__.js +99 -0
- package/out/src/concepts/Comment__.js.map +1 -0
- package/out/src/concepts/CompletionProperty__.d.ts +95 -0
- package/out/src/concepts/CompletionProperty__.js +231 -0
- package/out/src/concepts/CompletionProperty__.js.map +1 -0
- package/out/src/concepts/Constant__.d.ts +96 -0
- package/out/src/concepts/Constant__.js +220 -0
- package/out/src/concepts/Constant__.js.map +1 -0
- package/out/src/concepts/DataElement__.d.ts +45 -0
- package/out/src/concepts/DataElement__.js +114 -0
- package/out/src/concepts/DataElement__.js.map +1 -0
- package/out/src/concepts/Destination__.d.ts +106 -0
- package/out/src/concepts/Destination__.js +263 -0
- package/out/src/concepts/Destination__.js.map +1 -0
- package/out/src/concepts/End__.d.ts +28 -0
- package/out/src/concepts/End__.js +102 -0
- package/out/src/concepts/End__.js.map +1 -0
- package/out/src/concepts/EntityIndex__.d.ts +81 -0
- package/out/src/concepts/EntityIndex__.js +189 -0
- package/out/src/concepts/EntityIndex__.js.map +1 -0
- package/out/src/concepts/EntityProperty__.d.ts +207 -0
- package/out/src/concepts/EntityProperty__.js +472 -0
- package/out/src/concepts/EntityProperty__.js.map +1 -0
- package/out/src/concepts/Entity__.d.ts +282 -0
- package/out/src/concepts/Entity__.js +520 -0
- package/out/src/concepts/Entity__.js.map +1 -0
- package/out/src/concepts/EnumItem__.d.ts +60 -0
- package/out/src/concepts/EnumItem__.js +136 -0
- package/out/src/concepts/EnumItem__.js.map +1 -0
- package/out/src/concepts/Enum__.d.ts +130 -0
- package/out/src/concepts/Enum__.js +259 -0
- package/out/src/concepts/Enum__.js.map +1 -0
- package/out/src/concepts/Event__.d.ts +142 -0
- package/out/src/concepts/Event__.js +242 -0
- package/out/src/concepts/Event__.js.map +1 -0
- package/out/src/concepts/ForEachStatement__.d.ts +194 -0
- package/out/src/concepts/ForEachStatement__.js +410 -0
- package/out/src/concepts/ForEachStatement__.js.map +1 -0
- package/out/src/concepts/Function__.d.ts +387 -0
- package/out/src/concepts/Function__.js +557 -0
- package/out/src/concepts/Function__.js.map +1 -0
- package/out/src/concepts/Identifier__.d.ts +44 -0
- package/out/src/concepts/Identifier__.js +159 -0
- package/out/src/concepts/Identifier__.js.map +1 -0
- package/out/src/concepts/IfStatement__.d.ts +150 -0
- package/out/src/concepts/IfStatement__.js +310 -0
- package/out/src/concepts/IfStatement__.js.map +1 -0
- package/out/src/concepts/InterfaceParam__.d.ts +110 -0
- package/out/src/concepts/InterfaceParam__.js +273 -0
- package/out/src/concepts/InterfaceParam__.js.map +1 -0
- package/out/src/concepts/Interface__.d.ts +247 -0
- package/out/src/concepts/Interface__.js +441 -0
- package/out/src/concepts/Interface__.js.map +1 -0
- package/out/src/concepts/JSBlock__.d.ts +35 -0
- package/out/src/concepts/JSBlock__.js +106 -0
- package/out/src/concepts/JSBlock__.js.map +1 -0
- package/out/src/concepts/LogicItem__.d.ts +114 -0
- package/out/src/concepts/LogicItem__.js +216 -0
- package/out/src/concepts/LogicItem__.js.map +1 -0
- package/out/src/concepts/Logic__.d.ts +571 -0
- package/out/src/concepts/Logic__.js +951 -0
- package/out/src/concepts/Logic__.js.map +1 -0
- package/out/src/concepts/MemberExpression__.d.ts +69 -0
- package/out/src/concepts/MemberExpression__.js +204 -0
- package/out/src/concepts/MemberExpression__.js.map +1 -0
- package/out/src/concepts/Module__.d.ts +747 -0
- package/out/src/concepts/Module__.js +982 -0
- package/out/src/concepts/Module__.js.map +1 -0
- package/out/src/concepts/Namespace__.d.ts +1068 -0
- package/out/src/concepts/Namespace__.js +1397 -0
- package/out/src/concepts/Namespace__.js.map +1 -0
- package/out/src/concepts/NullLiteral__.d.ts +23 -0
- package/out/src/concepts/NullLiteral__.js +67 -0
- package/out/src/concepts/NullLiteral__.js.map +1 -0
- package/out/src/concepts/NumericLiteral__.d.ts +55 -0
- package/out/src/concepts/NumericLiteral__.js +164 -0
- package/out/src/concepts/NumericLiteral__.js.map +1 -0
- package/out/src/concepts/Param__.d.ts +143 -0
- package/out/src/concepts/Param__.js +327 -0
- package/out/src/concepts/Param__.js.map +1 -0
- package/out/src/concepts/Point__.d.ts +30 -0
- package/out/src/concepts/Point__.js +75 -0
- package/out/src/concepts/Point__.js.map +1 -0
- package/out/src/concepts/ProcessComponent__.d.ts +218 -0
- package/out/src/concepts/ProcessComponent__.js +333 -0
- package/out/src/concepts/ProcessComponent__.js.map +1 -0
- package/out/src/concepts/ProcessElement__.d.ts +557 -0
- package/out/src/concepts/ProcessElement__.js +889 -0
- package/out/src/concepts/ProcessElement__.js.map +1 -0
- package/out/src/concepts/ProcessOutcome__.d.ts +34 -0
- package/out/src/concepts/ProcessOutcome__.js +94 -0
- package/out/src/concepts/ProcessOutcome__.js.map +1 -0
- package/out/src/concepts/Process__.d.ts +425 -0
- package/out/src/concepts/Process__.js +736 -0
- package/out/src/concepts/Process__.js.map +1 -0
- package/out/src/concepts/QueryAggregateExpression__.d.ts +56 -0
- package/out/src/concepts/QueryAggregateExpression__.js +177 -0
- package/out/src/concepts/QueryAggregateExpression__.js.map +1 -0
- package/out/src/concepts/QueryFieldExpression__.d.ts +51 -0
- package/out/src/concepts/QueryFieldExpression__.js +129 -0
- package/out/src/concepts/QueryFieldExpression__.js.map +1 -0
- package/out/src/concepts/QueryFromExpression__.d.ts +95 -0
- package/out/src/concepts/QueryFromExpression__.js +188 -0
- package/out/src/concepts/QueryFromExpression__.js.map +1 -0
- package/out/src/concepts/QueryGroupByExpression__.d.ts +46 -0
- package/out/src/concepts/QueryGroupByExpression__.js +126 -0
- package/out/src/concepts/QueryGroupByExpression__.js.map +1 -0
- package/out/src/concepts/QueryJoinExpression__.d.ts +182 -0
- package/out/src/concepts/QueryJoinExpression__.js +308 -0
- package/out/src/concepts/QueryJoinExpression__.js.map +1 -0
- package/out/src/concepts/QueryLimitExpression__.d.ts +60 -0
- package/out/src/concepts/QueryLimitExpression__.js +163 -0
- package/out/src/concepts/QueryLimitExpression__.js.map +1 -0
- package/out/src/concepts/QueryOrderByExpression__.d.ts +71 -0
- package/out/src/concepts/QueryOrderByExpression__.js +176 -0
- package/out/src/concepts/QueryOrderByExpression__.js.map +1 -0
- package/out/src/concepts/QuerySelectExpression__.d.ts +118 -0
- package/out/src/concepts/QuerySelectExpression__.js +210 -0
- package/out/src/concepts/QuerySelectExpression__.js.map +1 -0
- package/out/src/concepts/Rect__.d.ts +38 -0
- package/out/src/concepts/Rect__.js +89 -0
- package/out/src/concepts/Rect__.js.map +1 -0
- package/out/src/concepts/Return__.d.ts +129 -0
- package/out/src/concepts/Return__.js +291 -0
- package/out/src/concepts/Return__.js.map +1 -0
- package/out/src/concepts/Role__.d.ts +52 -0
- package/out/src/concepts/Role__.js +131 -0
- package/out/src/concepts/Role__.js.map +1 -0
- package/out/src/concepts/Slot__.d.ts +57 -0
- package/out/src/concepts/Slot__.js +114 -0
- package/out/src/concepts/Slot__.js.map +1 -0
- package/out/src/concepts/SqlQueryComponent__.d.ts +49 -0
- package/out/src/concepts/SqlQueryComponent__.js +125 -0
- package/out/src/concepts/SqlQueryComponent__.js.map +1 -0
- package/out/src/concepts/Start__.d.ts +28 -0
- package/out/src/concepts/Start__.js +81 -0
- package/out/src/concepts/Start__.js.map +1 -0
- package/out/src/concepts/StringLiteral__.d.ts +37 -0
- package/out/src/concepts/StringLiteral__.js +135 -0
- package/out/src/concepts/StringLiteral__.js.map +1 -0
- package/out/src/concepts/StructureProperty__.d.ts +123 -0
- package/out/src/concepts/StructureProperty__.js +294 -0
- package/out/src/concepts/StructureProperty__.js.map +1 -0
- package/out/src/concepts/Structure__.d.ts +231 -0
- package/out/src/concepts/Structure__.js +386 -0
- package/out/src/concepts/Structure__.js.map +1 -0
- package/out/src/concepts/SwitchCase__.d.ts +97 -0
- package/out/src/concepts/SwitchCase__.js +270 -0
- package/out/src/concepts/SwitchCase__.js.map +1 -0
- package/out/src/concepts/SwitchStatement__.d.ts +86 -0
- package/out/src/concepts/SwitchStatement__.js +187 -0
- package/out/src/concepts/SwitchStatement__.js.map +1 -0
- package/out/src/concepts/Theme__.d.ts +36 -0
- package/out/src/concepts/Theme__.js +86 -0
- package/out/src/concepts/Theme__.js.map +1 -0
- package/out/src/concepts/Transactional__.d.ts +76 -0
- package/out/src/concepts/Transactional__.js +151 -0
- package/out/src/concepts/Transactional__.js.map +1 -0
- package/out/src/concepts/TypeAnnotation__.d.ts +125 -0
- package/out/src/concepts/TypeAnnotation__.js +305 -0
- package/out/src/concepts/TypeAnnotation__.js.map +1 -0
- package/out/src/concepts/TypeParam__.d.ts +20 -0
- package/out/src/concepts/TypeParam__.js +57 -0
- package/out/src/concepts/TypeParam__.js.map +1 -0
- package/out/src/concepts/UnaryExpression__.d.ts +48 -0
- package/out/src/concepts/UnaryExpression__.js +163 -0
- package/out/src/concepts/UnaryExpression__.js.map +1 -0
- package/out/src/concepts/Unparsed__.d.ts +32 -0
- package/out/src/concepts/Unparsed__.js +92 -0
- package/out/src/concepts/Unparsed__.js.map +1 -0
- package/out/src/concepts/UseComponent__.d.ts +30 -0
- package/out/src/concepts/UseComponent__.js +75 -0
- package/out/src/concepts/UseComponent__.js.map +1 -0
- package/out/src/concepts/ValidationRule__.d.ts +95 -0
- package/out/src/concepts/ValidationRule__.js +212 -0
- package/out/src/concepts/ValidationRule__.js.map +1 -0
- package/out/src/concepts/Variable__.d.ts +119 -0
- package/out/src/concepts/Variable__.js +277 -0
- package/out/src/concepts/Variable__.js.map +1 -0
- package/out/src/concepts/ViewComponent__.d.ts +472 -0
- package/out/src/concepts/ViewComponent__.js +644 -0
- package/out/src/concepts/ViewComponent__.js.map +1 -0
- package/out/src/concepts/ViewElement__.d.ts +483 -0
- package/out/src/concepts/ViewElement__.js +1167 -0
- package/out/src/concepts/ViewElement__.js.map +1 -0
- package/out/src/concepts/View__.d.ts +676 -0
- package/out/src/concepts/View__.js +1268 -0
- package/out/src/concepts/View__.js.map +1 -0
- package/out/src/concepts/WhileStatement__.d.ts +97 -0
- package/out/src/concepts/WhileStatement__.js +228 -0
- package/out/src/concepts/WhileStatement__.js.map +1 -0
- package/out/src/concepts/basics/stdlib/index.d.ts +4 -0
- package/out/src/concepts/basics/stdlib/index.js +23 -0
- package/out/src/concepts/basics/stdlib/index.js.map +1 -0
- package/out/src/concepts/basics/stdlib/nasl.collection.d.ts +5 -0
- package/out/src/concepts/basics/stdlib/nasl.collection.js +54 -0
- package/out/src/concepts/basics/stdlib/nasl.collection.js.map +1 -0
- package/out/src/concepts/basics/stdlib/nasl.core.d.ts +3 -0
- package/out/src/concepts/basics/stdlib/nasl.core.js +15 -0
- package/out/src/concepts/basics/stdlib/nasl.core.js.map +1 -0
- package/out/src/concepts/basics/stdlib/nasl.interface.d.ts +5 -0
- package/out/src/concepts/basics/stdlib/nasl.interface.js +43 -0
- package/out/src/concepts/basics/stdlib/nasl.interface.js.map +1 -0
- package/out/src/concepts/basics/stdlib/nasl.process.d.ts +3 -0
- package/out/src/concepts/basics/stdlib/nasl.process.js +43 -0
- package/out/src/concepts/basics/stdlib/nasl.process.js.map +1 -0
- package/out/src/concepts/basics/stdlib/nasl.ui.d.ts +5 -0
- package/out/src/concepts/basics/stdlib/nasl.ui.js +85 -0
- package/out/src/concepts/basics/stdlib/nasl.ui.js.map +1 -0
- package/out/src/concepts/basics/stdlib/nasl.util.d.ts +3 -0
- package/out/src/concepts/basics/stdlib/nasl.util.js +587 -0
- package/out/src/concepts/basics/stdlib/nasl.util.js.map +1 -0
- package/out/src/concepts/basics/stdlib/nasl.validate.d.ts +3 -0
- package/out/src/concepts/basics/stdlib/nasl.validate.js +527 -0
- package/out/src/concepts/basics/stdlib/nasl.validate.js.map +1 -0
- package/out/src/concepts/basics/stdlib/reference2TypeAnnotationList.d.ts +5 -0
- package/out/src/concepts/basics/stdlib/reference2TypeAnnotationList.js +26 -0
- package/out/src/concepts/basics/stdlib/reference2TypeAnnotationList.js.map +1 -0
- package/out/src/concepts/basics/types/coreTypeList.d.ts +2 -0
- package/out/src/concepts/basics/types/coreTypeList.js +17 -0
- package/out/src/concepts/basics/types/coreTypeList.js.map +1 -0
- package/out/src/concepts/basics/types/index.d.ts +11 -0
- package/out/src/concepts/basics/types/index.js +20 -0
- package/out/src/concepts/basics/types/index.js.map +1 -0
- package/out/src/concepts/index.d.ts +5 -0
- package/out/src/concepts/index.js +24 -0
- package/out/src/concepts/index.js.map +1 -0
- package/out/src/concepts/index__.d.ts +77 -0
- package/out/src/concepts/index__.js +94 -0
- package/out/src/concepts/index__.js.map +1 -0
- package/out/src/config.d.ts +43 -0
- package/out/src/config.js +72 -0
- package/out/src/config.js.map +1 -0
- package/out/src/decorators/index.d.ts +54 -0
- package/out/src/decorators/index.js +146 -0
- package/out/src/decorators/index.js.map +1 -0
- package/out/src/generator/compileComponent.d.ts +11 -0
- package/out/src/generator/compileComponent.js +12 -0
- package/out/src/generator/compileComponent.js.map +1 -0
- package/out/src/generator/debugInFileStorage.d.ts +3 -0
- package/out/src/generator/debugInFileStorage.js +15 -0
- package/out/src/generator/debugInFileStorage.js.map +1 -0
- package/out/src/generator/genAllEmbeddedTS.d.ts +7 -0
- package/out/src/generator/genAllEmbeddedTS.js +20 -0
- package/out/src/generator/genAllEmbeddedTS.js.map +1 -0
- package/out/src/generator/genBundleFiles.d.ts +38 -0
- package/out/src/generator/genBundleFiles.js +219 -0
- package/out/src/generator/genBundleFiles.js.map +1 -0
- package/out/src/generator/genHash.d.ts +7 -0
- package/out/src/generator/genHash.js +39 -0
- package/out/src/generator/genHash.js.map +1 -0
- package/out/src/generator/index.d.ts +4 -0
- package/out/src/generator/index.js +21 -0
- package/out/src/generator/index.js.map +1 -0
- package/out/src/generator/styleReplacer.d.ts +3 -0
- package/out/src/generator/styleReplacer.js +71 -0
- package/out/src/generator/styleReplacer.js.map +1 -0
- package/out/src/index.d.ts +9 -0
- package/out/src/index.js +48 -0
- package/out/src/index.js.map +1 -0
- package/out/src/init.d.ts +1 -0
- package/out/src/init.js +140 -0
- package/out/src/init.js.map +1 -0
- package/out/src/manager/diagnostic.d.ts +38 -0
- package/out/src/manager/diagnostic.js +84 -0
- package/out/src/manager/diagnostic.js.map +1 -0
- package/out/src/manager/history.d.ts +0 -0
- package/out/src/manager/history.js +1 -0
- package/out/src/manager/history.js.map +1 -0
- package/out/src/manager/problem.d.ts +0 -0
- package/out/src/manager/problem.js +1 -0
- package/out/src/manager/problem.js.map +1 -0
- package/out/src/map.d.ts +4 -0
- package/out/src/map.js +62 -0
- package/out/src/map.js.map +1 -0
- package/out/src/naslServer/index.d.ts +55 -0
- package/out/src/naslServer/index.js +296 -0
- package/out/src/naslServer/index.js.map +1 -0
- package/out/src/naslServer/translator.d.ts +3 -0
- package/out/src/naslServer/translator.js +78 -0
- package/out/src/naslServer/translator.js.map +1 -0
- package/out/src/server/entity2LogicNamespace.d.ts +2 -0
- package/out/src/server/entity2LogicNamespace.js +192 -0
- package/out/src/server/entity2LogicNamespace.js.map +1 -0
- package/out/src/server/getFunctions.d.ts +2 -0
- package/out/src/server/getFunctions.js +14 -0
- package/out/src/server/getFunctions.js.map +1 -0
- package/out/src/server/getInterfaces.d.ts +2 -0
- package/out/src/server/getInterfaces.js +48 -0
- package/out/src/server/getInterfaces.js.map +1 -0
- package/out/src/server/getLogics.d.ts +2 -0
- package/out/src/server/getLogics.js +83 -0
- package/out/src/server/getLogics.js.map +1 -0
- package/out/src/server/getMemberIdentifier.d.ts +5 -0
- package/out/src/server/getMemberIdentifier.js +102 -0
- package/out/src/server/getMemberIdentifier.js.map +1 -0
- package/out/src/server/getProcessComponents.d.ts +2 -0
- package/out/src/server/getProcessComponents.js +13 -0
- package/out/src/server/getProcessComponents.js.map +1 -0
- package/out/src/server/getProcesses.d.ts +19 -0
- package/out/src/server/getProcesses.js +106 -0
- package/out/src/server/getProcesses.js.map +1 -0
- package/out/src/server/getValidates.d.ts +3 -0
- package/out/src/server/getValidates.js +14 -0
- package/out/src/server/getValidates.js.map +1 -0
- package/out/src/server/index.d.ts +2 -0
- package/out/src/server/index.js +26 -0
- package/out/src/server/index.js.map +1 -0
- package/out/src/server/naslServer.d.ts +139 -0
- package/out/src/server/naslServer.js +1120 -0
- package/out/src/server/naslServer.js.map +1 -0
- package/out/src/server/process2LogicNamespace.d.ts +2 -0
- package/out/src/server/process2LogicNamespace.js +24 -0
- package/out/src/server/process2LogicNamespace.js.map +1 -0
- package/out/src/server/translator.d.ts +5 -0
- package/out/src/server/translator.js +150 -0
- package/out/src/server/translator.js.map +1 -0
- package/out/src/service/app/api.d.ts +61 -0
- package/out/src/service/app/api.js +77 -0
- package/out/src/service/app/api.js.map +1 -0
- package/out/src/service/app/index.d.ts +2 -0
- package/out/src/service/app/index.js +10 -0
- package/out/src/service/app/index.js.map +1 -0
- package/out/src/service/assets/asset.d.ts +104 -0
- package/out/src/service/assets/asset.js +78 -0
- package/out/src/service/assets/asset.js.map +1 -0
- package/out/src/service/assets/block.d.ts +9 -0
- package/out/src/service/assets/block.js +11 -0
- package/out/src/service/assets/block.js.map +1 -0
- package/out/src/service/assets/index.d.ts +2 -0
- package/out/src/service/assets/index.js +12 -0
- package/out/src/service/assets/index.js.map +1 -0
- package/out/src/service/common/findUsage.d.ts +9 -0
- package/out/src/service/common/findUsage.js +11 -0
- package/out/src/service/common/findUsage.js.map +1 -0
- package/out/src/service/common/index.d.ts +2 -0
- package/out/src/service/common/index.js +12 -0
- package/out/src/service/common/index.js.map +1 -0
- package/out/src/service/common/preprocess.d.ts +14 -0
- package/out/src/service/common/preprocess.js +75 -0
- package/out/src/service/common/preprocess.js.map +1 -0
- package/out/src/service/common/schema.d.ts +9 -0
- package/out/src/service/common/schema.js +12 -0
- package/out/src/service/common/schema.js.map +1 -0
- package/out/src/service/create/add.configs.d.ts +1 -0
- package/out/src/service/create/add.configs.js +68 -0
- package/out/src/service/create/add.configs.js.map +1 -0
- package/out/src/service/create/errHandles.d.ts +18 -0
- package/out/src/service/create/errHandles.js +57 -0
- package/out/src/service/create/errHandles.js.map +1 -0
- package/out/src/service/create/index.d.ts +1 -0
- package/out/src/service/create/index.js +77 -0
- package/out/src/service/create/index.js.map +1 -0
- package/out/src/service/data/api.d.ts +36 -0
- package/out/src/service/data/api.js +36 -0
- package/out/src/service/data/api.js.map +1 -0
- package/out/src/service/data/entity.d.ts +135 -0
- package/out/src/service/data/entity.js +103 -0
- package/out/src/service/data/entity.js.map +1 -0
- package/out/src/service/data/enum.d.ts +63 -0
- package/out/src/service/data/enum.js +55 -0
- package/out/src/service/data/enum.js.map +1 -0
- package/out/src/service/data/enumProperty.d.ts +28 -0
- package/out/src/service/data/enumProperty.js +23 -0
- package/out/src/service/data/enumProperty.js.map +1 -0
- package/out/src/service/data/generic.d.ts +9 -0
- package/out/src/service/data/generic.js +11 -0
- package/out/src/service/data/generic.js.map +1 -0
- package/out/src/service/data/index.d.ts +8 -0
- package/out/src/service/data/index.js +23 -0
- package/out/src/service/data/index.js.map +1 -0
- package/out/src/service/data/interface.d.ts +67 -0
- package/out/src/service/data/interface.js +58 -0
- package/out/src/service/data/interface.js.map +1 -0
- package/out/src/service/data/structure.d.ts +92 -0
- package/out/src/service/data/structure.js +77 -0
- package/out/src/service/data/structure.js.map +1 -0
- package/out/src/service/logic/index.d.ts +2 -0
- package/out/src/service/logic/index.js +14 -0
- package/out/src/service/logic/index.js.map +1 -0
- package/out/src/service/logic/logic.d.ts +157 -0
- package/out/src/service/logic/logic.js +116 -0
- package/out/src/service/logic/logic.js.map +1 -0
- package/out/src/service/logic/param.d.ts +37 -0
- package/out/src/service/logic/param.js +29 -0
- package/out/src/service/logic/param.js.map +1 -0
- package/out/src/service/nuims/api.d.ts +264 -0
- package/out/src/service/nuims/api.js +194 -0
- package/out/src/service/nuims/api.js.map +1 -0
- package/out/src/service/nuims/index.d.ts +2 -0
- package/out/src/service/nuims/index.js +17 -0
- package/out/src/service/nuims/index.js.map +1 -0
- package/out/src/service/page/api.d.ts +186 -0
- package/out/src/service/page/api.js +1361 -0
- package/out/src/service/page/api.js.map +1 -0
- package/out/src/service/page/attribute.d.ts +28 -0
- package/out/src/service/page/attribute.js +23 -0
- package/out/src/service/page/attribute.js.map +1 -0
- package/out/src/service/page/directive.d.ts +28 -0
- package/out/src/service/page/directive.js +23 -0
- package/out/src/service/page/directive.js.map +1 -0
- package/out/src/service/page/element.d.ts +45 -0
- package/out/src/service/page/element.js +42 -0
- package/out/src/service/page/element.js.map +1 -0
- package/out/src/service/page/event.d.ts +28 -0
- package/out/src/service/page/event.js +23 -0
- package/out/src/service/page/event.js.map +1 -0
- package/out/src/service/page/index.d.ts +8 -0
- package/out/src/service/page/index.js +23 -0
- package/out/src/service/page/index.js.map +1 -0
- package/out/src/service/page/lifecycle.d.ts +28 -0
- package/out/src/service/page/lifecycle.js +23 -0
- package/out/src/service/page/lifecycle.js.map +1 -0
- package/out/src/service/page/templates.d.ts +14 -0
- package/out/src/service/page/templates.js +70 -0
- package/out/src/service/page/templates.js.map +1 -0
- package/out/src/service/page/view.d.ts +130 -0
- package/out/src/service/page/view.js +101 -0
- package/out/src/service/page/view.js.map +1 -0
- package/out/src/service/permission/api.d.ts +57 -0
- package/out/src/service/permission/api.js +41 -0
- package/out/src/service/permission/api.js.map +1 -0
- package/out/src/service/permission/index.d.ts +2 -0
- package/out/src/service/permission/index.js +17 -0
- package/out/src/service/permission/index.js.map +1 -0
- package/out/src/service/process/api.d.ts +136 -0
- package/out/src/service/process/api.js +95 -0
- package/out/src/service/process/api.js.map +1 -0
- package/out/src/service/process/index.d.ts +2 -0
- package/out/src/service/process/index.js +10 -0
- package/out/src/service/process/index.js.map +1 -0
- package/out/src/service/storage/index.d.ts +2 -0
- package/out/src/service/storage/index.js +10 -0
- package/out/src/service/storage/index.js.map +1 -0
- package/out/src/service/storage/init.d.ts +7 -0
- package/out/src/service/storage/init.js +187 -0
- package/out/src/service/storage/init.js.map +1 -0
- package/out/src/service/storage/jsoner.d.ts +29 -0
- package/out/src/service/storage/jsoner.js +130 -0
- package/out/src/service/storage/jsoner.js.map +1 -0
- package/out/src/service/storage/map.d.ts +4 -0
- package/out/src/service/storage/map.js +54 -0
- package/out/src/service/storage/map.js.map +1 -0
- package/out/src/service/storage/storagePoint.d.ts +30 -0
- package/out/src/service/storage/storagePoint.js +76 -0
- package/out/src/service/storage/storagePoint.js.map +1 -0
- package/out/src/service/undoredo/api.d.ts +36 -0
- package/out/src/service/undoredo/api.js +29 -0
- package/out/src/service/undoredo/api.js.map +1 -0
- package/out/src/service/undoredo/index.d.ts +2 -0
- package/out/src/service/undoredo/index.js +10 -0
- package/out/src/service/undoredo/index.js.map +1 -0
- package/out/src/service/webFile/api.d.ts +45 -0
- package/out/src/service/webFile/api.js +35 -0
- package/out/src/service/webFile/api.js.map +1 -0
- package/out/src/service/webFile/index.d.ts +3 -0
- package/out/src/service/webFile/index.js +32 -0
- package/out/src/service/webFile/index.js.map +1 -0
- package/out/src/service/webFile/loadCache.d.ts +18 -0
- package/out/src/service/webFile/loadCache.js +17 -0
- package/out/src/service/webFile/loadCache.js.map +1 -0
- package/out/src/storagePoint.d.ts +16 -0
- package/out/src/storagePoint.js +49 -0
- package/out/src/storagePoint.js.map +1 -0
- package/out/src/templator/genCallComponentLogic.d.ts +17 -0
- package/out/src/templator/genCallComponentLogic.js +30 -0
- package/out/src/templator/genCallComponentLogic.js.map +1 -0
- package/out/src/templator/genCallInterface.d.ts +12 -0
- package/out/src/templator/genCallInterface.js +20 -0
- package/out/src/templator/genCallInterface.js.map +1 -0
- package/out/src/templator/genCallLogic.d.ts +12 -0
- package/out/src/templator/genCallLogic.js +26 -0
- package/out/src/templator/genCallLogic.js.map +1 -0
- package/out/src/templator/genCreateBlock.d.ts +10 -0
- package/out/src/templator/genCreateBlock.js +304 -0
- package/out/src/templator/genCreateBlock.js.map +1 -0
- package/out/src/templator/genCurdEditMultipleKeyBlock.d.ts +2 -0
- package/out/src/templator/genCurdEditMultipleKeyBlock.js +453 -0
- package/out/src/templator/genCurdEditMultipleKeyBlock.js.map +1 -0
- package/out/src/templator/genCurdMultipleKeyBlock.d.ts +3 -0
- package/out/src/templator/genCurdMultipleKeyBlock.js +640 -0
- package/out/src/templator/genCurdMultipleKeyBlock.js.map +1 -0
- package/out/src/templator/genEditTableBlock.d.ts +51 -0
- package/out/src/templator/genEditTableBlock.js +301 -0
- package/out/src/templator/genEditTableBlock.js.map +1 -0
- package/out/src/templator/genEnumSelectBlock.d.ts +10 -0
- package/out/src/templator/genEnumSelectBlock.js +23 -0
- package/out/src/templator/genEnumSelectBlock.js.map +1 -0
- package/out/src/templator/genGetBlock.d.ts +6 -0
- package/out/src/templator/genGetBlock.js +133 -0
- package/out/src/templator/genGetBlock.js.map +1 -0
- package/out/src/templator/genGridViewBlock.d.ts +53 -0
- package/out/src/templator/genGridViewBlock.js +308 -0
- package/out/src/templator/genGridViewBlock.js.map +1 -0
- package/out/src/templator/genListViewBlock.d.ts +19 -0
- package/out/src/templator/genListViewBlock.js +137 -0
- package/out/src/templator/genListViewBlock.js.map +1 -0
- package/out/src/templator/genQueryComponent.d.ts +32 -0
- package/out/src/templator/genQueryComponent.js +307 -0
- package/out/src/templator/genQueryComponent.js.map +1 -0
- package/out/src/templator/genSelectBlock.d.ts +34 -0
- package/out/src/templator/genSelectBlock.js +142 -0
- package/out/src/templator/genSelectBlock.js.map +1 -0
- package/out/src/templator/genTableBlock.d.ts +53 -0
- package/out/src/templator/genTableBlock.js +295 -0
- package/out/src/templator/genTableBlock.js.map +1 -0
- package/out/src/templator/genUpdateBlock.d.ts +6 -0
- package/out/src/templator/genUpdateBlock.js +347 -0
- package/out/src/templator/genUpdateBlock.js.map +1 -0
- package/out/src/templator/index.d.ts +15 -0
- package/out/src/templator/index.js +33 -0
- package/out/src/templator/index.js.map +1 -0
- package/out/src/templator/utils.d.ts +634 -0
- package/out/src/templator/utils.js +412 -0
- package/out/src/templator/utils.js.map +1 -0
- package/out/src/terms/LEVEL_NAME_MAP.d.ts +26 -0
- package/out/src/terms/LEVEL_NAME_MAP.js +30 -0
- package/out/src/terms/LEVEL_NAME_MAP.js.map +1 -0
- package/out/src/test/fixtures/env.d.ts +5 -0
- package/out/src/test/fixtures/env.js +21 -0
- package/out/src/test/fixtures/env.js.map +1 -0
- package/out/src/test/integration/connect-file.d.ts +1 -0
- package/out/src/test/integration/connect-file.js +49 -0
- package/out/src/test/integration/connect-file.js.map +1 -0
- package/out/src/test/units/app/App.spec.d.ts +1 -0
- package/out/src/test/units/app/App.spec.js +17 -0
- package/out/src/test/units/app/App.spec.js.map +1 -0
- package/out/src/test/units/app/Service.spec.d.ts +1 -0
- package/out/src/test/units/app/Service.spec.js +24 -0
- package/out/src/test/units/app/Service.spec.js.map +1 -0
- package/out/src/test/units/baseTypes/Assignment.spec.d.ts +1 -0
- package/out/src/test/units/baseTypes/Assignment.spec.js +43 -0
- package/out/src/test/units/baseTypes/Assignment.spec.js.map +1 -0
- package/out/src/test/units/baseTypes/AssignmentExpression.spec.d.ts +1 -0
- package/out/src/test/units/baseTypes/AssignmentExpression.spec.js +39 -0
- package/out/src/test/units/baseTypes/AssignmentExpression.spec.js.map +1 -0
- package/out/src/test/units/baseTypes/CallLogic.spec.d.ts +1 -0
- package/out/src/test/units/baseTypes/CallLogic.spec.js +44 -0
- package/out/src/test/units/baseTypes/CallLogic.spec.js.map +1 -0
- package/out/src/test/units/baseTypes/StringLiteral.spec.d.ts +1 -0
- package/out/src/test/units/baseTypes/StringLiteral.spec.js +75 -0
- package/out/src/test/units/baseTypes/StringLiteral.spec.js.map +1 -0
- package/out/src/test/units/baseTypes/new.spec.d.ts +1 -0
- package/out/src/test/units/baseTypes/new.spec.js +37 -0
- package/out/src/test/units/baseTypes/new.spec.js.map +1 -0
- package/out/src/test/units/common/Vertex.spec.d.ts +1 -0
- package/out/src/test/units/common/Vertex.spec.js +22 -0
- package/out/src/test/units/common/Vertex.spec.js.map +1 -0
- package/out/src/test/units/data/Entity.spec.d.ts +1 -0
- package/out/src/test/units/data/Entity.spec.js +12 -0
- package/out/src/test/units/data/Entity.spec.js.map +1 -0
- package/out/src/test/units/login.spec.d.ts +1 -0
- package/out/src/test/units/login.spec.js +12 -0
- package/out/src/test/units/login.spec.js.map +1 -0
- package/out/src/test/units/page/Block.spec.d.ts +0 -0
- package/out/src/test/units/page/Block.spec.js +13 -0
- package/out/src/test/units/page/Block.spec.js.map +1 -0
- package/out/src/test/units/page/Element.spec.d.ts +1 -0
- package/out/src/test/units/page/Element.spec.js +44 -0
- package/out/src/test/units/page/Element.spec.js.map +1 -0
- package/out/src/test/units/temp/temp.spec.d.ts +1 -0
- package/out/src/test/units/temp/temp.spec.js +68 -0
- package/out/src/test/units/temp/temp.spec.js.map +1 -0
- package/out/src/translator/index.d.ts +47 -0
- package/out/src/translator/index.js +108 -0
- package/out/src/translator/index.js.map +1 -0
- package/out/src/translator/lsp.d.ts +45 -0
- package/out/src/translator/lsp.js +6 -0
- package/out/src/translator/lsp.js.map +1 -0
- package/out/src/translator/tsp.d.ts +12 -0
- package/out/src/translator/tsp.js +3 -0
- package/out/src/translator/tsp.js.map +1 -0
- package/out/src/types/app/App.d.ts +148 -0
- package/out/src/types/app/App.js +358 -0
- package/out/src/types/app/App.js.map +1 -0
- package/out/src/types/app/History.d.ts +36 -0
- package/out/src/types/app/History.js +366 -0
- package/out/src/types/app/History.js.map +1 -0
- package/out/src/types/app/Service.d.ts +220 -0
- package/out/src/types/app/Service.js +831 -0
- package/out/src/types/app/Service.js.map +1 -0
- package/out/src/types/cache.d.ts +6 -0
- package/out/src/types/cache.js +54 -0
- package/out/src/types/cache.js.map +1 -0
- package/out/src/types/cacheData.d.ts +4 -0
- package/out/src/types/cacheData.js +34 -0
- package/out/src/types/cacheData.js.map +1 -0
- package/out/src/types/classMap.d.ts +4 -0
- package/out/src/types/classMap.js +5 -0
- package/out/src/types/classMap.js.map +1 -0
- package/out/src/types/common/ComponentAPI.d.ts +110 -0
- package/out/src/types/common/ComponentAPI.js +3 -0
- package/out/src/types/common/ComponentAPI.js.map +1 -0
- package/out/src/types/common/EventEmitter.d.ts +37 -0
- package/out/src/types/common/EventEmitter.js +70 -0
- package/out/src/types/common/EventEmitter.js.map +1 -0
- package/out/src/types/common/PackageJSON.d.ts +32 -0
- package/out/src/types/common/PackageJSON.js +3 -0
- package/out/src/types/common/PackageJSON.js.map +1 -0
- package/out/src/types/common/Vertex.d.ts +205 -0
- package/out/src/types/common/Vertex.js +591 -0
- package/out/src/types/common/Vertex.js.map +1 -0
- package/out/src/types/config.d.ts +32 -0
- package/out/src/types/config.js +30 -0
- package/out/src/types/config.js.map +1 -0
- package/out/src/types/data/DataNode.d.ts +24 -0
- package/out/src/types/data/DataNode.js +52 -0
- package/out/src/types/data/DataNode.js.map +1 -0
- package/out/src/types/data/Entity.d.ts +124 -0
- package/out/src/types/data/Entity.js +537 -0
- package/out/src/types/data/Entity.js.map +1 -0
- package/out/src/types/data/EntityIndex.d.ts +87 -0
- package/out/src/types/data/EntityIndex.js +262 -0
- package/out/src/types/data/EntityIndex.js.map +1 -0
- package/out/src/types/data/EntityProperty.d.ts +196 -0
- package/out/src/types/data/EntityProperty.js +584 -0
- package/out/src/types/data/EntityProperty.js.map +1 -0
- package/out/src/types/data/Enum.d.ts +97 -0
- package/out/src/types/data/Enum.js +267 -0
- package/out/src/types/data/Enum.js.map +1 -0
- package/out/src/types/data/EnumItem.d.ts +57 -0
- package/out/src/types/data/EnumItem.js +170 -0
- package/out/src/types/data/EnumItem.js.map +1 -0
- package/out/src/types/data/GlobalLogicNode.d.ts +44 -0
- package/out/src/types/data/GlobalLogicNode.js +201 -0
- package/out/src/types/data/GlobalLogicNode.js.map +1 -0
- package/out/src/types/data/Interface.d.ts +153 -0
- package/out/src/types/data/Interface.js +482 -0
- package/out/src/types/data/Interface.js.map +1 -0
- package/out/src/types/data/Schema.d.ts +121 -0
- package/out/src/types/data/Schema.js +3 -0
- package/out/src/types/data/Schema.js.map +1 -0
- package/out/src/types/data/Structure.d.ts +104 -0
- package/out/src/types/data/Structure.js +319 -0
- package/out/src/types/data/Structure.js.map +1 -0
- package/out/src/types/data/StructureProperty.d.ts +134 -0
- package/out/src/types/data/StructureProperty.js +380 -0
- package/out/src/types/data/StructureProperty.js.map +1 -0
- package/out/src/types/data/basicTypes.d.ts +25 -0
- package/out/src/types/data/basicTypes.js +77 -0
- package/out/src/types/data/basicTypes.js.map +1 -0
- package/out/src/types/data/dataTypeUtils.d.ts +94 -0
- package/out/src/types/data/dataTypeUtils.js +441 -0
- package/out/src/types/data/dataTypeUtils.js.map +1 -0
- package/out/src/types/data/dataTypes.d.ts +20 -0
- package/out/src/types/data/dataTypes.js +47 -0
- package/out/src/types/data/dataTypes.js.map +1 -0
- package/out/src/types/data/entityUtils.d.ts +164 -0
- package/out/src/types/data/entityUtils.js +632 -0
- package/out/src/types/data/entityUtils.js.map +1 -0
- package/out/src/types/data/genBlock/builtInFunctions.json +545 -0
- package/out/src/types/data/genBlock/genCallComponentLogic.d.ts +20 -0
- package/out/src/types/data/genBlock/genCallComponentLogic.js +32 -0
- package/out/src/types/data/genBlock/genCallComponentLogic.js.map +1 -0
- package/out/src/types/data/genBlock/genCallInterface.d.ts +41 -0
- package/out/src/types/data/genBlock/genCallInterface.js +86 -0
- package/out/src/types/data/genBlock/genCallInterface.js.map +1 -0
- package/out/src/types/data/genBlock/genCreateBlock.d.ts +10 -0
- package/out/src/types/data/genBlock/genCreateBlock.js +313 -0
- package/out/src/types/data/genBlock/genCreateBlock.js.map +1 -0
- package/out/src/types/data/genBlock/genCurdBlock.d.ts +4 -0
- package/out/src/types/data/genBlock/genCurdBlock.js +648 -0
- package/out/src/types/data/genBlock/genCurdBlock.js.map +1 -0
- package/out/src/types/data/genBlock/genCurdEditTableBlock.d.ts +3 -0
- package/out/src/types/data/genBlock/genCurdEditTableBlock.js +578 -0
- package/out/src/types/data/genBlock/genCurdEditTableBlock.js.map +1 -0
- package/out/src/types/data/genBlock/genEditTableBlock.d.ts +234 -0
- package/out/src/types/data/genBlock/genEditTableBlock.js +419 -0
- package/out/src/types/data/genBlock/genEditTableBlock.js.map +1 -0
- package/out/src/types/data/genBlock/genEnumSelectBlock.d.ts +10 -0
- package/out/src/types/data/genBlock/genEnumSelectBlock.js +23 -0
- package/out/src/types/data/genBlock/genEnumSelectBlock.js.map +1 -0
- package/out/src/types/data/genBlock/genGetBlock.d.ts +6 -0
- package/out/src/types/data/genBlock/genGetBlock.js +151 -0
- package/out/src/types/data/genBlock/genGetBlock.js.map +1 -0
- package/out/src/types/data/genBlock/genGridViewBlock.d.ts +136 -0
- package/out/src/types/data/genBlock/genGridViewBlock.js +274 -0
- package/out/src/types/data/genBlock/genGridViewBlock.js.map +1 -0
- package/out/src/types/data/genBlock/genListViewBlock.d.ts +63 -0
- package/out/src/types/data/genBlock/genListViewBlock.js +110 -0
- package/out/src/types/data/genBlock/genListViewBlock.js.map +1 -0
- package/out/src/types/data/genBlock/genQueryComponent.d.ts +336 -0
- package/out/src/types/data/genBlock/genQueryComponent.js +526 -0
- package/out/src/types/data/genBlock/genQueryComponent.js.map +1 -0
- package/out/src/types/data/genBlock/genSelectBlock.d.ts +63 -0
- package/out/src/types/data/genBlock/genSelectBlock.js +106 -0
- package/out/src/types/data/genBlock/genSelectBlock.js.map +1 -0
- package/out/src/types/data/genBlock/genTableBlock.d.ts +136 -0
- package/out/src/types/data/genBlock/genTableBlock.js +270 -0
- package/out/src/types/data/genBlock/genTableBlock.js.map +1 -0
- package/out/src/types/data/genBlock/genUpdateBlock.d.ts +6 -0
- package/out/src/types/data/genBlock/genUpdateBlock.js +384 -0
- package/out/src/types/data/genBlock/genUpdateBlock.js.map +1 -0
- package/out/src/types/data/genBlock/index.d.ts +17 -0
- package/out/src/types/data/genBlock/index.js +31 -0
- package/out/src/types/data/genBlock/index.js.map +1 -0
- package/out/src/types/data/genBlock/utils.d.ts +99 -0
- package/out/src/types/data/genBlock/utils.js +224 -0
- package/out/src/types/data/genBlock/utils.js.map +1 -0
- package/out/src/types/data/genericTypes.d.ts +40 -0
- package/out/src/types/data/genericTypes.js +145 -0
- package/out/src/types/data/genericTypes.js.map +1 -0
- package/out/src/types/data/systemTypes.d.ts +9 -0
- package/out/src/types/data/systemTypes.js +1563 -0
- package/out/src/types/data/systemTypes.js.map +1 -0
- package/out/src/types/decorators/index.d.ts +31 -0
- package/out/src/types/decorators/index.js +121 -0
- package/out/src/types/decorators/index.js.map +1 -0
- package/out/src/types/enum.d.ts +6 -0
- package/out/src/types/enum.js +11 -0
- package/out/src/types/enum.js.map +1 -0
- package/out/src/types/index.d.ts +145 -0
- package/out/src/types/index.js +226 -0
- package/out/src/types/index.js.map +1 -0
- package/out/src/types/logic/BaseVariable.d.ts +75 -0
- package/out/src/types/logic/BaseVariable.js +159 -0
- package/out/src/types/logic/BaseVariable.js.map +1 -0
- package/out/src/types/logic/Logic.d.ts +180 -0
- package/out/src/types/logic/Logic.js +591 -0
- package/out/src/types/logic/Logic.js.map +1 -0
- package/out/src/types/logic/LogicItem.d.ts +320 -0
- package/out/src/types/logic/LogicItem.js +1295 -0
- package/out/src/types/logic/LogicItem.js.map +1 -0
- package/out/src/types/logic/Param.d.ts +86 -0
- package/out/src/types/logic/Param.js +367 -0
- package/out/src/types/logic/Param.js.map +1 -0
- package/out/src/types/logic/Return.d.ts +73 -0
- package/out/src/types/logic/Return.js +313 -0
- package/out/src/types/logic/Return.js.map +1 -0
- package/out/src/types/logic/Variable.d.ts +72 -0
- package/out/src/types/logic/Variable.js +309 -0
- package/out/src/types/logic/Variable.js.map +1 -0
- package/out/src/types/logic/expressions/MemberExpression.d.ts +23 -0
- package/out/src/types/logic/expressions/MemberExpression.js +52 -0
- package/out/src/types/logic/expressions/MemberExpression.js.map +1 -0
- package/out/src/types/logic/expressions/NumericLiteral.d.ts +19 -0
- package/out/src/types/logic/expressions/NumericLiteral.js +42 -0
- package/out/src/types/logic/expressions/NumericLiteral.js.map +1 -0
- package/out/src/types/logic/expressions/Unparsed.d.ts +19 -0
- package/out/src/types/logic/expressions/Unparsed.js +42 -0
- package/out/src/types/logic/expressions/Unparsed.js.map +1 -0
- package/out/src/types/logic/nodes/BuiltInFuncParam.d.ts +27 -0
- package/out/src/types/logic/nodes/BuiltInFuncParam.js +56 -0
- package/out/src/types/logic/nodes/BuiltInFuncParam.js.map +1 -0
- package/out/src/types/logic/nodes/BuiltInFunction.d.ts +24 -0
- package/out/src/types/logic/nodes/BuiltInFunction.js +55 -0
- package/out/src/types/logic/nodes/BuiltInFunction.js.map +1 -0
- package/out/src/types/logic/nodes/CallConsoleLog.d.ts +19 -0
- package/out/src/types/logic/nodes/CallConsoleLog.js +42 -0
- package/out/src/types/logic/nodes/CallConsoleLog.js.map +1 -0
- package/out/src/types/logic/nodes/CallInterParam.d.ts +23 -0
- package/out/src/types/logic/nodes/CallInterParam.js +49 -0
- package/out/src/types/logic/nodes/CallInterParam.js.map +1 -0
- package/out/src/types/logic/nodes/CallInterface.d.ts +24 -0
- package/out/src/types/logic/nodes/CallInterface.js +49 -0
- package/out/src/types/logic/nodes/CallInterface.js.map +1 -0
- package/out/src/types/logic/nodes/CallLogic.d.ts +24 -0
- package/out/src/types/logic/nodes/CallLogic.js +55 -0
- package/out/src/types/logic/nodes/CallLogic.js.map +1 -0
- package/out/src/types/logic/nodes/CallMessageShow.d.ts +27 -0
- package/out/src/types/logic/nodes/CallMessageShow.js +56 -0
- package/out/src/types/logic/nodes/CallMessageShow.js.map +1 -0
- package/out/src/types/logic/nodes/Destination.d.ts +32 -0
- package/out/src/types/logic/nodes/Destination.js +73 -0
- package/out/src/types/logic/nodes/Destination.js.map +1 -0
- package/out/src/types/logic/nodes/DestinationParam.d.ts +24 -0
- package/out/src/types/logic/nodes/DestinationParam.js +49 -0
- package/out/src/types/logic/nodes/DestinationParam.js.map +1 -0
- package/out/src/types/logic/nodes/JSBlock.d.ts +19 -0
- package/out/src/types/logic/nodes/JSBlock.js +46 -0
- package/out/src/types/logic/nodes/JSBlock.js.map +1 -0
- package/out/src/types/logic/nodes/JSONDeserialize.d.ts +19 -0
- package/out/src/types/logic/nodes/JSONDeserialize.js +42 -0
- package/out/src/types/logic/nodes/JSONDeserialize.js.map +1 -0
- package/out/src/types/logic/nodes/JSONSerialize.d.ts +19 -0
- package/out/src/types/logic/nodes/JSONSerialize.js +42 -0
- package/out/src/types/logic/nodes/JSONSerialize.js.map +1 -0
- package/out/src/types/logic/nodes/ProcessOutcome.d.ts +27 -0
- package/out/src/types/logic/nodes/ProcessOutcome.js +56 -0
- package/out/src/types/logic/nodes/ProcessOutcome.js.map +1 -0
- package/out/src/types/logic/tools.d.ts +15 -0
- package/out/src/types/logic/tools.js +164 -0
- package/out/src/types/logic/tools.js.map +1 -0
- package/out/src/types/logic/translator.d.ts +1 -0
- package/out/src/types/logic/translator.js +624 -0
- package/out/src/types/logic/translator.js.map +1 -0
- package/out/src/types/login.d.ts +7 -0
- package/out/src/types/login.js +39 -0
- package/out/src/types/login.js.map +1 -0
- package/out/src/types/nuims/Nuims.d.ts +128 -0
- package/out/src/types/nuims/Nuims.js +446 -0
- package/out/src/types/nuims/Nuims.js.map +1 -0
- package/out/src/types/page/Attr.d.ts +79 -0
- package/out/src/types/page/Attr.js +217 -0
- package/out/src/types/page/Attr.js.map +1 -0
- package/out/src/types/page/Block.d.ts +65 -0
- package/out/src/types/page/Block.js +82 -0
- package/out/src/types/page/Block.js.map +1 -0
- package/out/src/types/page/Directive.d.ts +78 -0
- package/out/src/types/page/Directive.js +202 -0
- package/out/src/types/page/Directive.js.map +1 -0
- package/out/src/types/page/Element.d.ts +266 -0
- package/out/src/types/page/Element.js +1418 -0
- package/out/src/types/page/Element.js.map +1 -0
- package/out/src/types/page/Event.d.ts +63 -0
- package/out/src/types/page/Event.js +212 -0
- package/out/src/types/page/Event.js.map +1 -0
- package/out/src/types/page/Lifecycle.d.ts +58 -0
- package/out/src/types/page/Lifecycle.js +192 -0
- package/out/src/types/page/Lifecycle.js.map +1 -0
- package/out/src/types/page/Page.d.ts +95 -0
- package/out/src/types/page/Page.js +394 -0
- package/out/src/types/page/Page.js.map +1 -0
- package/out/src/types/page/View.d.ts +253 -0
- package/out/src/types/page/View.js +1178 -0
- package/out/src/types/page/View.js.map +1 -0
- package/out/src/types/page/ViewParam.d.ts +73 -0
- package/out/src/types/page/ViewParam.js +296 -0
- package/out/src/types/page/ViewParam.js.map +1 -0
- package/out/src/types/page/ViewVariable.d.ts +73 -0
- package/out/src/types/page/ViewVariable.js +276 -0
- package/out/src/types/page/ViewVariable.js.map +1 -0
- package/out/src/types/permission/Permission.d.ts +41 -0
- package/out/src/types/permission/Permission.js +122 -0
- package/out/src/types/permission/Permission.js.map +1 -0
- package/out/src/types/process/Process.d.ts +118 -0
- package/out/src/types/process/Process.js +357 -0
- package/out/src/types/process/Process.js.map +1 -0
- package/out/src/types/process/ProcessComponent.d.ts +133 -0
- package/out/src/types/process/ProcessComponent.js +339 -0
- package/out/src/types/process/ProcessComponent.js.map +1 -0
- package/out/src/types/process/ProcessComponentAttribute.d.ts +63 -0
- package/out/src/types/process/ProcessComponentAttribute.js +163 -0
- package/out/src/types/process/ProcessComponentAttribute.js.map +1 -0
- package/out/src/types/process/ProcessComponentProperty.d.ts +37 -0
- package/out/src/types/process/ProcessComponentProperty.js +81 -0
- package/out/src/types/process/ProcessComponentProperty.js.map +1 -0
- package/out/src/types/process/ProcessComponentReturn.d.ts +77 -0
- package/out/src/types/process/ProcessComponentReturn.js +260 -0
- package/out/src/types/process/ProcessComponentReturn.js.map +1 -0
- package/out/src/types/process/ProcessComponentVariable.d.ts +78 -0
- package/out/src/types/process/ProcessComponentVariable.js +252 -0
- package/out/src/types/process/ProcessComponentVariable.js.map +1 -0
- package/out/src/types/process/ProcessInterface.d.ts +112 -0
- package/out/src/types/process/ProcessInterface.js +227 -0
- package/out/src/types/process/ProcessInterface.js.map +1 -0
- package/out/src/types/process/ProcessParam.d.ts +77 -0
- package/out/src/types/process/ProcessParam.js +261 -0
- package/out/src/types/process/ProcessParam.js.map +1 -0
- package/out/src/types/process/ProcessProperty.d.ts +37 -0
- package/out/src/types/process/ProcessProperty.js +81 -0
- package/out/src/types/process/ProcessProperty.js.map +1 -0
- package/out/src/types/process/ProcessReturn.d.ts +73 -0
- package/out/src/types/process/ProcessReturn.js +237 -0
- package/out/src/types/process/ProcessReturn.js.map +1 -0
- package/out/src/types/utils/index.d.ts +26 -0
- package/out/src/types/utils/index.js +90 -0
- package/out/src/types/utils/index.js.map +1 -0
- package/out/src/types/utils/logger.d.ts +3 -0
- package/out/src/types/utils/logger.js +14 -0
- package/out/src/types/utils/logger.js.map +1 -0
- package/out/src/types/utils/string.d.ts +38 -0
- package/out/src/types/utils/string.js +66 -0
- package/out/src/types/utils/string.js.map +1 -0
- package/out/src/types/utils/traverse.d.ts +35 -0
- package/out/src/types/utils/traverse.js +126 -0
- package/out/src/types/utils/traverse.js.map +1 -0
- package/out/src/utils/index.d.ts +26 -0
- package/out/src/utils/index.js +52 -0
- package/out/src/utils/index.js.map +1 -0
- package/out/src/utils/logger.d.ts +3 -0
- package/out/src/utils/logger.js +11 -0
- package/out/src/utils/logger.js.map +1 -0
- package/out/src/utils/string.d.ts +38 -0
- package/out/src/utils/string.js +66 -0
- package/out/src/utils/string.js.map +1 -0
- package/out/src/utils/traverse.d.ts +35 -0
- package/out/src/utils/traverse.js +126 -0
- package/out/src/utils/traverse.js.map +1 -0
- package/out/test/units/baseTypes/StringLiteral.spec.d.ts +1 -0
- package/out/test/units/baseTypes/StringLiteral.spec.js +71 -0
- package/out/test/units/baseTypes/StringLiteral.spec.js.map +1 -0
- package/out/test/units/baseTypes/new.spec.d.ts +1 -0
- package/out/test/units/baseTypes/new.spec.js +33 -0
- package/out/test/units/baseTypes/new.spec.js.map +1 -0
- package/out/test/units/baseTypes/toEmbeddedTS.spec.d.ts +1 -0
- package/out/test/units/baseTypes/toEmbeddedTS.spec.js +39 -0
- package/out/test/units/baseTypes/toEmbeddedTS.spec.js.map +1 -0
- package/out/test/units/config.spec.d.ts +1 -0
- package/out/test/units/config.spec.js +12 -0
- package/out/test/units/config.spec.js.map +1 -0
- package/out/translator/index.d.ts +39 -0
- package/out/translator/index.js +86 -0
- package/out/translator/index.js.map +1 -0
- package/out/translator/lsp.d.ts +45 -0
- package/out/translator/lsp.js +6 -0
- package/out/translator/lsp.js.map +1 -0
- package/out/translator/tsp.d.ts +12 -0
- package/out/translator/tsp.js +3 -0
- package/out/translator/tsp.js.map +1 -0
- package/out/types/app/App.d.ts +2 -5
- package/out/types/app/App.js +2 -29
- package/out/types/app/App.js.map +1 -1
- package/out/types/app/Service.d.ts +0 -31
- package/out/types/app/Service.js +4 -128
- package/out/types/app/Service.js.map +1 -1
- package/out/types/classMap.d.ts +4 -0
- package/out/types/classMap.js +5 -0
- package/out/types/classMap.js.map +1 -0
- package/out/types/common/Vertex.d.ts +16 -34
- package/out/types/common/Vertex.js +81 -63
- package/out/types/common/Vertex.js.map +1 -1
- package/out/types/config.d.ts +0 -1
- package/out/types/config.js +0 -1
- package/out/types/config.js.map +1 -1
- package/out/types/data/Entity.d.ts +1 -19
- package/out/types/data/Entity.js +2 -38
- package/out/types/data/Entity.js.map +1 -1
- package/out/types/data/EntityProperty.d.ts +0 -4
- package/out/types/data/EntityProperty.js +0 -7
- package/out/types/data/EntityProperty.js.map +1 -1
- package/out/types/data/Enum.d.ts +0 -4
- package/out/types/data/Enum.js +0 -7
- package/out/types/data/Enum.js.map +1 -1
- package/out/types/data/Interface.js +1 -2
- package/out/types/data/Interface.js.map +1 -1
- package/out/types/data/Structure.d.ts +0 -8
- package/out/types/data/Structure.js +0 -19
- package/out/types/data/Structure.js.map +1 -1
- package/out/types/data/dataTypes.d.ts +1 -2
- package/out/types/data/dataTypes.js +7 -41
- package/out/types/data/dataTypes.js.map +1 -1
- package/out/types/data/genBlock/builtInFunctions.json +0 -15
- package/out/types/data/genBlock/genCreateBlock.js +5 -4
- package/out/types/data/genBlock/genCreateBlock.js.map +1 -1
- package/out/types/data/genBlock/genListViewBlock.js +1 -1
- package/out/types/data/genBlock/genListViewBlock.js.map +1 -1
- package/out/types/data/genBlock/genTableBlock.js +2 -2
- package/out/types/data/genBlock/genTableBlock.js.map +1 -1
- package/out/types/data/genBlock/genUpdateBlock.js +5 -4
- package/out/types/data/genBlock/genUpdateBlock.js.map +1 -1
- package/out/types/data/genBlock/index.d.ts +2 -2
- package/out/types/data/genBlock/index.js +2 -2
- package/out/types/data/genBlock/index.js.map +1 -1
- package/out/types/data/genericTypes.d.ts +1 -1
- package/out/types/data/genericTypes.js +2 -6
- package/out/types/data/genericTypes.js.map +1 -1
- package/out/types/data/systemTypes.js +0 -73
- package/out/types/data/systemTypes.js.map +1 -1
- package/out/types/decorators/index.d.ts +1 -1
- package/out/types/decorators/index.js +7 -2
- package/out/types/decorators/index.js.map +1 -1
- package/out/types/index.d.ts +2 -5
- package/out/types/index.js +5 -10
- package/out/types/index.js.map +1 -1
- package/out/types/logic/BreakPoint.d.ts +42 -0
- package/out/types/logic/BreakPoint.js +155 -0
- package/out/types/logic/BreakPoint.js.map +1 -0
- package/out/types/logic/Debugger.d.ts +156 -0
- package/out/types/logic/Debugger.js +912 -0
- package/out/types/logic/Debugger.js.map +1 -0
- package/out/types/logic/Logic.d.ts +0 -20
- package/out/types/logic/Logic.js +1 -47
- package/out/types/logic/Logic.js.map +1 -1
- package/out/types/logic/LogicItem.d.ts +2 -2
- package/out/types/logic/LogicItem.js +48 -112
- package/out/types/logic/LogicItem.js.map +1 -1
- package/out/types/logic/Param.js +1 -1
- package/out/types/logic/Param.js.map +1 -1
- package/out/types/logic/translator.js +51 -74
- package/out/types/logic/translator.js.map +1 -1
- package/out/types/page/Element.js +9 -21
- package/out/types/page/Element.js.map +1 -1
- package/out/types/page/Page.js +0 -7
- package/out/types/page/Page.js.map +1 -1
- package/out/types/page/View.d.ts +1 -1
- package/out/types/page/View.js +1 -29
- package/out/types/page/View.js.map +1 -1
- package/out/types/process/Process.js +3 -3
- package/out/types/process/Process.js.map +1 -1
- package/out/types/process/ProcessComponent.js +1 -1
- package/out/types/process/ProcessComponent.js.map +1 -1
- package/out/types/process/ProcessParam.js +1 -1
- package/out/types/process/ProcessParam.js.map +1 -1
- package/out/types/typeCheck.js +2 -12
- package/out/types/typeCheck.js.map +1 -1
- package/out/types/utils/string.d.ts +4 -0
- package/out/types/utils/string.js +4 -0
- package/out/types/utils/string.js.map +1 -1
- package/package.json +10 -14
- package/src/automate/engine/index.js +308 -0
- package/src/automate/engine/utils.js +312 -0
- package/src/common/BaseNode.ts +635 -0
- package/src/common/Command.ts +27 -0
- package/src/common/ComponentAPI.ts +103 -0
- package/src/common/EventEmitter.ts +86 -0
- package/src/common/Messager.ts +225 -0
- package/src/common/classMap.ts +3 -0
- package/src/common/index.ts +4 -0
- package/src/concepts/App__.ts +2492 -0
- package/src/concepts/Argument__.ts +191 -0
- package/src/concepts/Assignment__.ts +235 -0
- package/src/concepts/Attribute__.ts +251 -0
- package/src/concepts/BinaryExpression__.ts +270 -0
- package/src/concepts/BindAttribute__.ts +500 -0
- package/src/concepts/BindDirective__.ts +238 -0
- package/src/concepts/BindEvent__.ts +339 -0
- package/src/concepts/BooleanLiteral__.ts +82 -0
- package/src/concepts/CallFunction__.ts +307 -0
- package/src/concepts/CallInterface__.ts +295 -0
- package/src/concepts/CallLogic__.ts +390 -0
- package/src/concepts/CallQueryComponent__.ts +1006 -0
- package/src/concepts/Comment__.ts +104 -0
- package/src/concepts/CompletionProperty__.ts +244 -0
- package/src/concepts/Constant__.ts +243 -0
- package/src/concepts/DataElement__.ts +134 -0
- package/src/concepts/Destination__.ts +316 -0
- package/src/concepts/End__.ts +108 -0
- package/src/concepts/EntityIndex__.ts +197 -0
- package/src/concepts/EntityProperty__.ts +497 -0
- package/src/concepts/Entity__.ts +695 -0
- package/src/concepts/EnumItem__.ts +139 -0
- package/src/concepts/Enum__.ts +337 -0
- package/src/concepts/Event__.ts +316 -0
- package/src/concepts/ForEachStatement__.ts +562 -0
- package/src/concepts/Function__.ts +915 -0
- package/src/concepts/Identifier__.ts +171 -0
- package/src/concepts/IfStatement__.ts +478 -0
- package/src/concepts/InterfaceParam__.ts +305 -0
- package/src/concepts/Interface__.ts +610 -0
- package/src/concepts/JSBlock__.ts +113 -0
- package/src/concepts/LogicItem__.ts +232 -0
- package/src/concepts/Logic__.ts +1487 -0
- package/src/concepts/MemberExpression__.ts +240 -0
- package/src/concepts/Module__.ts +1718 -0
- package/src/concepts/Namespace__.ts +2517 -0
- package/src/concepts/NullLiteral__.ts +78 -0
- package/src/concepts/NumericLiteral__.ts +182 -0
- package/src/concepts/Param__.ts +364 -0
- package/src/concepts/Point__.ts +84 -0
- package/src/concepts/ProcessComponent__.ts +502 -0
- package/src/concepts/ProcessElement__.ts +1370 -0
- package/src/concepts/ProcessOutcome__.ts +97 -0
- package/src/concepts/Process__.ts +1113 -0
- package/src/concepts/QueryAggregateExpression__.ts +197 -0
- package/src/concepts/QueryFieldExpression__.ts +133 -0
- package/src/concepts/QueryFromExpression__.ts +261 -0
- package/src/concepts/QueryGroupByExpression__.ts +144 -0
- package/src/concepts/QueryJoinExpression__.ts +448 -0
- package/src/concepts/QueryLimitExpression__.ts +193 -0
- package/src/concepts/QueryOrderByExpression__.ts +207 -0
- package/src/concepts/QuerySelectExpression__.ts +285 -0
- package/src/concepts/Rect__.ts +96 -0
- package/src/concepts/Return__.ts +334 -0
- package/src/concepts/Role__.ts +139 -0
- package/src/concepts/Slot__.ts +121 -0
- package/src/concepts/SqlQueryComponent__.ts +145 -0
- package/src/concepts/Start__.ts +86 -0
- package/src/concepts/StringLiteral__.ts +140 -0
- package/src/concepts/StructureProperty__.ts +327 -0
- package/src/concepts/Structure__.ts +559 -0
- package/src/concepts/SwitchCase__.ts +363 -0
- package/src/concepts/SwitchStatement__.ts +261 -0
- package/src/concepts/Theme__.ts +94 -0
- package/src/concepts/Transactional__.ts +164 -0
- package/src/concepts/TypeAnnotation__.ts +373 -0
- package/src/concepts/TypeParam__.ts +68 -0
- package/src/concepts/UnaryExpression__.ts +177 -0
- package/src/concepts/Unparsed__.ts +98 -0
- package/src/concepts/UseComponent__.ts +84 -0
- package/src/concepts/ValidationRule__.ts +292 -0
- package/src/concepts/Variable__.ts +312 -0
- package/src/concepts/ViewComponent__.ts +1098 -0
- package/src/concepts/ViewElement__.ts +1562 -0
- package/src/concepts/View__.ts +1842 -0
- package/src/concepts/WhileStatement__.ts +323 -0
- package/src/concepts/basics/stdlib/index.ts +20 -0
- package/src/concepts/basics/stdlib/nasl.collection.ts +54 -0
- package/src/concepts/basics/stdlib/nasl.core.ts +12 -0
- package/src/concepts/basics/stdlib/nasl.interface.ts +43 -0
- package/src/concepts/basics/stdlib/nasl.process.ts +47 -0
- package/src/concepts/basics/stdlib/nasl.ui.ts +84 -0
- package/src/concepts/basics/stdlib/nasl.util.ts +585 -0
- package/src/concepts/basics/stdlib/nasl.validate.ts +523 -0
- package/src/concepts/basics/stdlib/reference2TypeAnnotationList.ts +26 -0
- package/src/concepts/basics/types/coreTypeList.ts +14 -0
- package/src/concepts/basics/types/index.ts +20 -0
- package/src/concepts/index.ts +5 -0
- package/src/concepts/index__.ts +77 -0
- package/src/config.ts +80 -0
- package/src/decorators/index.ts +153 -0
- package/src/generator/compileComponent.ts +19 -0
- package/src/generator/genBundleFiles.ts +258 -0
- package/src/generator/genHash.ts +13 -0
- package/src/generator/index.ts +4 -0
- package/src/generator/styleReplacer.ts +41 -0
- package/src/index.ts +10 -0
- package/src/manager/diagnostic.ts +129 -0
- package/src/manager/history.ts +0 -0
- package/src/manager/problem.ts +0 -0
- package/src/server/entity2LogicNamespace.ts +188 -0
- package/src/server/getFunctions.ts +10 -0
- package/src/server/getInterfaces.ts +47 -0
- package/src/server/getLogics.ts +94 -0
- package/src/server/getMemberIdentifier.ts +110 -0
- package/src/server/getProcessComponents.ts +9 -0
- package/src/server/getProcesses.ts +129 -0
- package/src/server/getValidates.ts +10 -0
- package/src/server/index.ts +21 -0
- package/src/server/naslServer.ts +1194 -0
- package/src/server/process2LogicNamespace.ts +20 -0
- package/src/server/translator.ts +148 -0
- package/src/service/app/index.js +1 -1
- package/src/service/assets/index.js +1 -1
- package/src/service/{create → creator}/add.configs.js +0 -0
- package/src/service/{create → creator}/errHandles.js +0 -0
- package/src/service/creator/index.js +80 -0
- package/src/service/storage/index.ts +6 -0
- package/src/service/storage/init.ts +160 -0
- package/src/service/storage/jsoner.ts +139 -0
- package/src/service/storage/map.ts +57 -0
- package/src/service/storage/storagePoint.ts +73 -0
- package/src/service/video/BaseService.js +68 -0
- package/src/service/video/MainCallbackService.js +207 -0
- package/src/service/video/VideoTranscribe.js +102 -0
- package/src/service/video/publishService.js +61 -0
- package/src/templator/builtInFunctions.json +1 -0
- package/src/templator/genCallComponentLogic.ts +27 -0
- package/src/templator/genCreateBlock.ts +281 -0
- package/src/templator/genCurdEditMultipleKeyBlock.ts +432 -0
- package/src/templator/genCurdMultipleKeyBlock.ts +624 -0
- package/src/templator/genEditTableBlock.ts +284 -0
- package/src/templator/genEnumSelectBlock.ts +22 -0
- package/src/templator/genGetBlock.ts +121 -0
- package/src/templator/genGridViewBlock.ts +306 -0
- package/src/templator/genListViewBlock.ts +122 -0
- package/src/templator/genQueryComponent.ts +287 -0
- package/src/templator/genSelectBlock.ts +125 -0
- package/src/templator/genTableBlock.ts +295 -0
- package/src/templator/genUpdateBlock.ts +324 -0
- package/src/templator/index.ts +18 -0
- package/src/templator/utils.ts +640 -0
- package/src/terms/LEVEL_NAME_MAP.ts +31 -0
- package/src/test/examples/app1.json +17 -0
- package/src/test/fixtures/env.ts +4 -4
- package/src/test/integration/connect-create-file.ts +14 -0
- package/src/test/integration/connect-file.ts +24 -0
- package/src/test/units/baseTypes/Assignment.spec.ts +20 -0
- package/src/test/units/baseTypes/CallLogic.spec.ts +22 -0
- package/src/test/units/baseTypes/StringLiteral.spec.ts +60 -0
- package/src/test/units/baseTypes/new.spec.ts +13 -0
- package/src/test/units/common/Vertex.spec.ts +17 -19
- package/src/test/units/data/Entity.spec.ts +1 -1
- package/src/test/units/login.spec.ts +3 -3
- package/src/test/units/page/Block.spec.ts +12 -12
- package/src/test/units/page/Element.spec.ts +11 -11
- package/src/test/units/temp/temp.spec.ts +2 -2
- package/src/translator/index.ts +131 -0
- package/src/translator/lsp.ts +50 -0
- package/src/translator/tsp.ts +14 -0
- package/src/utils/index.ts +52 -0
- package/src/utils/logger.ts +8 -0
- package/src/utils/string.ts +60 -0
- package/src/utils/traverse.ts +152 -0
- package/tsconfig.json +6 -13
- package/analysis/mergeBlock/README.md +0 -14
- package/analysis/mergeBlock/raw2.json +0 -2522
- package/analysis/mergeBlock/raw3.json +0 -505
- package/analysis/mergeBlock/req2.json +0 -2219
- package/analysis/mergeBlock/req3.json +0 -462
- package/analysis/mergeBlock/script.js +0 -159
- package/docs/assets/css/main.css +0 -2638
- package/docs/assets/js/main.js +0 -248
- package/docs/assets/js/search.js +0 -1
- package/docs/classes/app_app.app.html +0 -1359
- package/docs/classes/app_service.microservice.html +0 -1572
- package/docs/classes/app_service.service.html +0 -1233
- package/docs/classes/app_service.webservice.html +0 -1635
- package/docs/classes/common_eventemitter.eventemitter.html +0 -387
- package/docs/classes/common_vertex.vertex.html +0 -1086
- package/docs/classes/data_datanode.datanode.html +0 -1157
- package/docs/classes/data_entity.entity.html +0 -1656
- package/docs/classes/data_entityproperty.entityproperty.html +0 -1903
- package/docs/classes/data_enum.enum.html +0 -1402
- package/docs/classes/data_enumitem.enumitem.html +0 -1252
- package/docs/classes/data_interface.interface.html +0 -1673
- package/docs/classes/data_structure.structure.html +0 -1427
- package/docs/classes/data_structureproperty.structureproperty.html +0 -1656
- package/docs/classes/logic_basevariable.basevariable.html +0 -1261
- package/docs/classes/logic_logic.logic.html +0 -1639
- package/docs/classes/logic_logicitem.expressionnode.html +0 -1982
- package/docs/classes/logic_logicitem.logicitem.html +0 -1828
- package/docs/classes/logic_logicitem.logicnode.html +0 -2229
- package/docs/classes/logic_param.param.html +0 -1707
- package/docs/classes/logic_return.return.html +0 -1605
- package/docs/classes/logic_variable.variable.html +0 -1631
- package/docs/classes/nuims_nuims.nuims.html +0 -596
- package/docs/classes/page_attr.attr.html +0 -1335
- package/docs/classes/page_block.block.html +0 -1272
- package/docs/classes/page_directive.directive.html +0 -1350
- package/docs/classes/page_element.element.html +0 -2118
- package/docs/classes/page_event.event.html +0 -1284
- package/docs/classes/page_lifecycle.lifecycle.html +0 -1286
- package/docs/classes/page_page.page.html +0 -1389
- package/docs/classes/page_view.view.html +0 -2299
- package/docs/classes/page_viewparam.viewparam.html +0 -1727
- package/docs/classes/page_viewvariable.viewvariable.html +0 -1668
- package/docs/classes/process_process.process.html +0 -1532
- package/docs/classes/process_processcomponent.processcomponent.html +0 -1589
- package/docs/classes/process_processcomponentattribute.processcomponentattribute.html +0 -1236
- package/docs/classes/process_processcomponentproperty.processcomponentproperty.html +0 -1727
- package/docs/classes/process_processcomponentreturn.processcomponentreturn.html +0 -1704
- package/docs/classes/process_processcomponentvariable.processcomponentvariable.html +0 -1679
- package/docs/classes/process_processinterface.processinterface.html +0 -1462
- package/docs/classes/process_processparam.processparam.html +0 -1778
- package/docs/classes/process_processproperty.processproperty.html +0 -1727
- package/docs/classes/process_processreturn.processreturn.html +0 -1678
- package/docs/enums/app_service.service_type.html +0 -186
- package/docs/enums/data_basictypes.basic_type.html +0 -312
- package/docs/enums/index.level_enum.html +0 -655
- package/docs/enums/logic_logicitem.logic_type.html +0 -441
- package/docs/interfaces/app_service.assetsinfo.html +0 -209
- package/docs/interfaces/common_packagejson.default.html +0 -431
- package/docs/interfaces/data_entity.resolver.html +0 -228
- package/docs/interfaces/data_entityproperty.display.html +0 -214
- package/docs/interfaces/data_schema.arrayschema.html +0 -306
- package/docs/interfaces/data_schema.baseschema.html +0 -361
- package/docs/interfaces/data_schema.basicrefschema.html +0 -362
- package/docs/interfaces/data_schema.basicschema.html +0 -334
- package/docs/interfaces/data_schema.booleanschema.html +0 -306
- package/docs/interfaces/data_schema.enumitemschema.html +0 -225
- package/docs/interfaces/data_schema.enumschema.html +0 -306
- package/docs/interfaces/data_schema.integerschema.html +0 -334
- package/docs/interfaces/data_schema.mapschema.html +0 -320
- package/docs/interfaces/data_schema.numberschema.html +0 -334
- package/docs/interfaces/data_schema.objectschema.html +0 -313
- package/docs/interfaces/data_schema.refschema.html +0 -332
- package/docs/interfaces/data_schema.schema.html +0 -511
- package/docs/interfaces/data_schema.setschema.html +0 -306
- package/docs/interfaces/data_schema.stringschema.html +0 -334
- package/docs/interfaces/history.historyrecord.html +0 -183
- package/docs/interfaces/index.arrayschema.html +0 -261
- package/docs/interfaces/index.baseschema.html +0 -236
- package/docs/interfaces/index.basicrefschema.html +0 -317
- package/docs/interfaces/index.basicschema.html +0 -289
- package/docs/interfaces/index.booleanschema.html +0 -261
- package/docs/interfaces/index.enumitemschema.html +0 -180
- package/docs/interfaces/index.enumschema.html +0 -261
- package/docs/interfaces/index.integerschema.html +0 -289
- package/docs/interfaces/index.mapschema.html +0 -275
- package/docs/interfaces/index.numberschema.html +0 -289
- package/docs/interfaces/index.objectschema.html +0 -261
- package/docs/interfaces/index.refschema.html +0 -287
- package/docs/interfaces/index.schema.html +0 -459
- package/docs/interfaces/index.setschema.html +0 -261
- package/docs/interfaces/index.stringschema.html +0 -289
- package/docs/interfaces/page_element.elementtovueoptions.html +0 -283
- package/docs/interfaces/typecheck.typecheckrecord.html +0 -211
- package/docs/interfaces/utils.inode.html +0 -212
- package/docs/interfaces/utils.inodeinfo.html +0 -295
- package/docs/interfaces/utils_traverse.inode.html +0 -191
- package/docs/interfaces/utils_traverse.inodeinfo.html +0 -274
- package/docs/modules/app_app.html +0 -149
- package/docs/modules/app_service.html +0 -175
- package/docs/modules/cachedata.html +0 -198
- package/docs/modules/common_eventemitter.html +0 -192
- package/docs/modules/common_packagejson.html +0 -132
- package/docs/modules/common_vertex.html +0 -149
- package/docs/modules/config.html +0 -168
- package/docs/modules/data_basictypes.html +0 -271
- package/docs/modules/data_datanode.html +0 -149
- package/docs/modules/data_datatypes.html +0 -196
- package/docs/modules/data_datatypeutils.html +0 -430
- package/docs/modules/data_entity.html +0 -158
- package/docs/modules/data_entityproperty.html +0 -158
- package/docs/modules/data_entityutils.html +0 -342
- package/docs/modules/data_enum.html +0 -149
- package/docs/modules/data_enumitem.html +0 -149
- package/docs/modules/data_interface.html +0 -149
- package/docs/modules/data_schema.html +0 -205
- package/docs/modules/data_structure.html +0 -149
- package/docs/modules/data_structureproperty.html +0 -149
- package/docs/modules/data_systemtypes.html +0 -167
- package/docs/modules/decorators.html +0 -333
- package/docs/modules/eventbus.html +0 -116
- package/docs/modules/generator.html +0 -749
- package/docs/modules/generator_data.html +0 -495
- package/docs/modules/generator_hotreload.html +0 -200
- package/docs/modules/generator_load.html +0 -247
- package/docs/modules/generator_page.html +0 -200
- package/docs/modules/history.html +0 -200
- package/docs/modules/index.html +0 -1163
- package/docs/modules/logic_basevariable.html +0 -238
- package/docs/modules/logic_callinterface.html +0 -116
- package/docs/modules/logic_logic.html +0 -149
- package/docs/modules/logic_logicitem.html +0 -220
- package/docs/modules/logic_param.html +0 -149
- package/docs/modules/logic_return.html +0 -149
- package/docs/modules/logic_tools.html +0 -326
- package/docs/modules/logic_translator.html +0 -158
- package/docs/modules/logic_variable.html +0 -149
- package/docs/modules/nuims_nuims.html +0 -149
- package/docs/modules/page_attr.html +0 -149
- package/docs/modules/page_block.html +0 -149
- package/docs/modules/page_directive.html +0 -149
- package/docs/modules/page_element.html +0 -158
- package/docs/modules/page_event.html +0 -149
- package/docs/modules/page_lifecycle.html +0 -149
- package/docs/modules/page_page.html +0 -149
- package/docs/modules/page_view.html +0 -149
- package/docs/modules/page_viewparam.html +0 -149
- package/docs/modules/page_viewvariable.html +0 -149
- package/docs/modules/process_process.html +0 -149
- package/docs/modules/process_processcomponent.html +0 -149
- package/docs/modules/process_processcomponentattribute.html +0 -149
- package/docs/modules/process_processcomponentproperty.html +0 -149
- package/docs/modules/process_processcomponentreturn.html +0 -149
- package/docs/modules/process_processcomponentvariable.html +0 -149
- package/docs/modules/process_processinterface.html +0 -149
- package/docs/modules/process_processparam.html +0 -149
- package/docs/modules/process_processproperty.html +0 -149
- package/docs/modules/process_processreturn.html +0 -149
- package/docs/modules/typecheck.html +0 -269
- package/docs/modules/utils.html +0 -536
- package/docs/modules/utils_logger.html +0 -172
- package/docs/modules/utils_string.html +0 -347
- package/docs/modules/utils_traverse.html +0 -248
- package/index.js +0 -12
- package/module/base.js +0 -11
- package/out/service/logic/checktypeSocket.d.ts +0 -5
- package/out/service/logic/checktypeSocket.js +0 -55
- package/out/service/logic/checktypeSocket.js.map +0 -1
- package/out/types/data/Module.d.ts +0 -34
- package/out/types/data/Module.js +0 -53
- package/out/types/data/Module.js.map +0 -1
- package/out/types/data/genBlock/genCurdEditMultipleKeyBlock.d.ts +0 -7
- package/out/types/data/genBlock/genCurdEditMultipleKeyBlock.js +0 -470
- package/out/types/data/genBlock/genCurdEditMultipleKeyBlock.js.map +0 -1
- package/out/types/data/genBlock/genCurdMultipleKeyBlock.d.ts +0 -9
- package/out/types/data/genBlock/genCurdMultipleKeyBlock.js +0 -662
- package/out/types/data/genBlock/genCurdMultipleKeyBlock.js.map +0 -1
- package/spec/conceptMap.json +0 -3310
- package/spec/spec.yaml +0 -416
- package/spec-build/index.ts +0 -98
- package/src/routes.map.js +0 -5
- package/src/service/common/findUsage.js +0 -8
- package/src/service/common/index.js +0 -6
- package/src/service/common/preprocess.js +0 -54
- package/src/service/common/schema.js +0 -9
- package/src/service/config/api.js +0 -32
- package/src/service/config/index.js +0 -6
- package/src/service/create/index.js +0 -80
- package/src/service/data/api.js +0 -33
- package/src/service/data/entity.js +0 -101
- package/src/service/data/enum.js +0 -53
- package/src/service/data/enumProperty.js +0 -20
- package/src/service/data/generic.js +0 -8
- package/src/service/data/index.js +0 -18
- package/src/service/data/interface.js +0 -56
- package/src/service/data/structure.js +0 -75
- package/src/service/developPermission/api.js +0 -37
- package/src/service/developPermission/index.js +0 -13
- package/src/service/logic/checktypeSocket.js +0 -49
- package/src/service/logic/index.js +0 -14
- package/src/service/logic/logic.js +0 -121
- package/src/service/logic/param.js +0 -26
- package/src/service/modules/api.js +0 -20
- package/src/service/modules/index.js +0 -6
- package/src/service/nuims/api.js +0 -192
- package/src/service/nuims/index.js +0 -13
- package/src/service/page/api.js +0 -1374
- package/src/service/page/attribute.js +0 -20
- package/src/service/page/directive.js +0 -20
- package/src/service/page/element.js +0 -40
- package/src/service/page/event.js +0 -20
- package/src/service/page/index.js +0 -19
- package/src/service/page/lifecycle.js +0 -20
- package/src/service/page/templates.ts +0 -72
- package/src/service/page/view.js +0 -116
- package/src/service/permission/api.js +0 -38
- package/src/service/permission/index.js +0 -13
- package/src/service/process/api.js +0 -92
- package/src/service/process/index.js +0 -6
- package/src/service/undoredo/api.js +0 -26
- package/src/service/undoredo/index.js +0 -6
- package/src/service/webFile/api.js +0 -32
- package/src/service/webFile/index.d.tmp +0 -62
- package/src/service/webFile/index.js +0 -28
- package/src/service/webFile/loadCache.js +0 -14
- package/src/test/units/app/App.spec.ts +0 -16
- package/src/test/units/app/Service.spec.ts +0 -31
- package/src/types/app/App.ts +0 -349
- package/src/types/app/History.ts +0 -389
- package/src/types/app/Service.ts +0 -1036
- package/src/types/cache.ts +0 -50
- package/src/types/cacheData.ts +0 -33
- package/src/types/common/ComponentAPI.ts +0 -103
- package/src/types/common/EventEmitter.ts +0 -56
- package/src/types/common/PackageJSON.ts +0 -22
- package/src/types/common/Vertex.ts +0 -296
- package/src/types/config.ts +0 -23
- package/src/types/data/DataNode.ts +0 -37
- package/src/types/data/Entity.ts +0 -556
- package/src/types/data/EntityIndex.ts +0 -238
- package/src/types/data/EntityProperty.ts +0 -524
- package/src/types/data/Enum.ts +0 -245
- package/src/types/data/EnumItem.ts +0 -156
- package/src/types/data/GlobalLogicNode.ts +0 -208
- package/src/types/data/Interface.ts +0 -438
- package/src/types/data/Module.ts +0 -51
- package/src/types/data/Schema.ts +0 -133
- package/src/types/data/Structure.ts +0 -315
- package/src/types/data/StructureProperty.ts +0 -332
- package/src/types/data/basicTypes.ts +0 -76
- package/src/types/data/dataTypeUtils.ts +0 -426
- package/src/types/data/dataTypes.ts +0 -88
- package/src/types/data/entityUtils.ts +0 -681
- package/src/types/data/genBlock/builtInFunctions.json +0 -560
- package/src/types/data/genBlock/genCallComponentLogic.ts +0 -28
- package/src/types/data/genBlock/genCallInterface.ts +0 -87
- package/src/types/data/genBlock/genCreateBlock.ts +0 -305
- package/src/types/data/genBlock/genCurdEditMultipleKeyBlock.ts +0 -468
- package/src/types/data/genBlock/genCurdMultipleKeyBlock.ts +0 -665
- package/src/types/data/genBlock/genEditTableBlock.ts +0 -470
- package/src/types/data/genBlock/genEnumSelectBlock.ts +0 -21
- package/src/types/data/genBlock/genGetBlock.ts +0 -160
- package/src/types/data/genBlock/genGridViewBlock.ts +0 -316
- package/src/types/data/genBlock/genListViewBlock.ts +0 -130
- package/src/types/data/genBlock/genQueryComponent.ts +0 -548
- package/src/types/data/genBlock/genSelectBlock.ts +0 -123
- package/src/types/data/genBlock/genTableBlock.ts +0 -315
- package/src/types/data/genBlock/genUpdateBlock.ts +0 -389
- package/src/types/data/genBlock/index.ts +0 -20
- package/src/types/data/genBlock/utils.ts +0 -252
- package/src/types/data/genericTypes.ts +0 -151
- package/src/types/data/systemTypes.ts +0 -1635
- package/src/types/decorators/index.ts +0 -52
- package/src/types/enum.ts +0 -6
- package/src/types/generator/data.ts +0 -206
- package/src/types/generator/hotReload.ts +0 -41
- package/src/types/generator/index.ts +0 -4
- package/src/types/generator/load.ts +0 -97
- package/src/types/generator/page.ts +0 -37
- package/src/types/history.ts +0 -14
- package/src/types/index.ts +0 -167
- package/src/types/logic/BaseVariable.ts +0 -130
- package/src/types/logic/Logic.ts +0 -591
- package/src/types/logic/LogicItem.ts +0 -1370
- package/src/types/logic/Param.ts +0 -336
- package/src/types/logic/Return.ts +0 -292
- package/src/types/logic/Variable.ts +0 -288
- package/src/types/logic/expressions/BinaryExpression.ts +0 -35
- package/src/types/logic/expressions/BooleanLiteral.ts +0 -25
- package/src/types/logic/expressions/Identifier.ts +0 -36
- package/src/types/logic/expressions/LogicalExpression.ts +0 -35
- package/src/types/logic/expressions/MemberExpression.ts +0 -33
- package/src/types/logic/expressions/NullLiteral.ts +0 -20
- package/src/types/logic/expressions/NumericLiteral.ts +0 -25
- package/src/types/logic/expressions/StringLiteral.ts +0 -25
- package/src/types/logic/expressions/UnaryExpression.ts +0 -30
- package/src/types/logic/expressions/Unparsed.ts +0 -25
- package/src/types/logic/nodes/AssignmentExpression.ts +0 -30
- package/src/types/logic/nodes/BuiltInFuncParam.ts +0 -35
- package/src/types/logic/nodes/BuiltInFunction.ts +0 -39
- package/src/types/logic/nodes/CallConsoleLog.ts +0 -25
- package/src/types/logic/nodes/CallGraphQL.ts +0 -36
- package/src/types/logic/nodes/CallInterParam.ts +0 -30
- package/src/types/logic/nodes/CallInterface.ts +0 -31
- package/src/types/logic/nodes/CallLogic.ts +0 -39
- package/src/types/logic/nodes/CallMessageShow.ts +0 -35
- package/src/types/logic/nodes/Comment.ts +0 -25
- package/src/types/logic/nodes/CronJob.ts +0 -25
- package/src/types/logic/nodes/DBQuery.ts +0 -25
- package/src/types/logic/nodes/Destination.ts +0 -52
- package/src/types/logic/nodes/DestinationParam.ts +0 -31
- package/src/types/logic/nodes/End.ts +0 -21
- package/src/types/logic/nodes/ForEachStatement.ts +0 -52
- package/src/types/logic/nodes/IfStatement.ts +0 -35
- package/src/types/logic/nodes/JSBlock.ts +0 -29
- package/src/types/logic/nodes/JSONDeserialize.ts +0 -25
- package/src/types/logic/nodes/JSONSerialize.ts +0 -25
- package/src/types/logic/nodes/ProcessOutcome.ts +0 -35
- package/src/types/logic/nodes/Start.ts +0 -20
- package/src/types/logic/nodes/SwitchCase.ts +0 -30
- package/src/types/logic/nodes/SwitchStatement.ts +0 -26
- package/src/types/logic/nodes/TypeNote.ts +0 -25
- package/src/types/logic/nodes/WhileStatement.ts +0 -30
- package/src/types/logic/tools.js +0 -170
- package/src/types/logic/translator.js +0 -684
- package/src/types/logic/translator_backup.js +0 -632
- package/src/types/login.ts +0 -36
- package/src/types/nuims/Nuims.ts +0 -499
- package/src/types/page/Attr.ts +0 -217
- package/src/types/page/Block.ts +0 -103
- package/src/types/page/Directive.ts +0 -208
- package/src/types/page/Element.ts +0 -1444
- package/src/types/page/Event.ts +0 -188
- package/src/types/page/Lifecycle.ts +0 -172
- package/src/types/page/Page.ts +0 -414
- package/src/types/page/View.ts +0 -1236
- package/src/types/page/ViewParam.ts +0 -284
- package/src/types/page/ViewVariable.ts +0 -264
- package/src/types/page/dist/View.js +0 -727
- package/src/types/permission/Permission.ts +0 -112
- package/src/types/process/Process.ts +0 -306
- package/src/types/process/ProcessComponent.ts +0 -276
- package/src/types/process/ProcessComponentAttribute.ts +0 -131
- package/src/types/process/ProcessComponentProperty.ts +0 -68
- package/src/types/process/ProcessComponentReturn.ts +0 -235
- package/src/types/process/ProcessComponentVariable.ts +0 -225
- package/src/types/process/ProcessInterface.ts +0 -175
- package/src/types/process/ProcessParam.ts +0 -237
- package/src/types/process/ProcessProperty.ts +0 -69
- package/src/types/process/ProcessReturn.ts +0 -210
- package/src/types/typeCheck.ts +0 -120
- package/src/types/utils/index.ts +0 -91
- package/src/types/utils/logger.ts +0 -8
- package/src/types/utils/string.ts +0 -56
- package/src/types/utils/traverse.ts +0 -160
- package/src/views/components/lcap-json-view/README.md +0 -80
- package/src/views/components/lcap-json-view/index.js +0 -9
- package/src/views/components/lcap-json-view/index.vue +0 -61
- package/src/views/components/lcap-json-view/node.vue +0 -328
- package/src/views/components/lcap-json-view/utils.js +0 -41
- package/src/views/examples/index.vue +0 -44
- package/src/views/examples/logic.json +0 -1576
- package/src/views/index.vue +0 -28
- package/src/views/specification/README.md +0 -10
- package/src/views/specification/conceptTree.js +0 -1179
- package/src/views/specification/index.vue +0 -255
- package/src/views/theme.css +0 -138
|
@@ -0,0 +1,1487 @@
|
|
|
1
|
+
import { TranslatorState, shiftState, withSourceMap, indent, createCompilerState, embeddedTSEmitter } from '../translator';
|
|
2
|
+
import Namespace from './Namespace__';
|
|
3
|
+
import CallQueryComponent from './CallQueryComponent__';
|
|
4
|
+
//================================================================================
|
|
5
|
+
// 从这里开始到结尾注释之间的代码由 NASL Workbench 自动生成,请不手动修改!
|
|
6
|
+
// ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
|
|
7
|
+
//================================================================================
|
|
8
|
+
import { EventPayload, Params } from '../common/EventEmitter';
|
|
9
|
+
import { concept, excludedInJSON, property } from '../decorators';
|
|
10
|
+
|
|
11
|
+
import * as utils from '../utils';
|
|
12
|
+
import BaseNode from '../common/BaseNode';
|
|
13
|
+
import classMap from '../common/classMap';
|
|
14
|
+
import Transactional from './Transactional__';
|
|
15
|
+
import TypeParam from './TypeParam__';
|
|
16
|
+
import Param from './Param__';
|
|
17
|
+
import Return from './Return__';
|
|
18
|
+
import Variable from './Variable__';
|
|
19
|
+
import LogicItem from './LogicItem__';
|
|
20
|
+
import Module from './Module__';
|
|
21
|
+
import View from './View__';
|
|
22
|
+
import ProcessElement from './ProcessElement__';
|
|
23
|
+
import App from './App__';
|
|
24
|
+
import Process from './Process__';
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* 逻辑
|
|
28
|
+
*/
|
|
29
|
+
@concept
|
|
30
|
+
export class Logic extends BaseNode {
|
|
31
|
+
/**
|
|
32
|
+
* 产品概念
|
|
33
|
+
*/
|
|
34
|
+
@property()
|
|
35
|
+
concept: 'Logic' = 'Logic';
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* 逻辑名称
|
|
39
|
+
*/
|
|
40
|
+
@property()
|
|
41
|
+
name: string = undefined;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* 逻辑描述
|
|
45
|
+
*/
|
|
46
|
+
@property()
|
|
47
|
+
description: string = undefined;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* triggerType
|
|
51
|
+
*/
|
|
52
|
+
@property()
|
|
53
|
+
triggerType: string = undefined;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* cron
|
|
57
|
+
*/
|
|
58
|
+
@property()
|
|
59
|
+
cron: string = undefined;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* 事务
|
|
63
|
+
*/
|
|
64
|
+
@property('Transactional')
|
|
65
|
+
transactional: Transactional = undefined;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* 编译器信息
|
|
69
|
+
*/
|
|
70
|
+
@property()
|
|
71
|
+
compilerInfoMap: { java?: { packageName: string, className: string } } = undefined;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* 类型参数列表
|
|
75
|
+
*/
|
|
76
|
+
@property('TypeParam')
|
|
77
|
+
typeParams: Array<TypeParam> = null;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* 输入参数列表
|
|
81
|
+
*/
|
|
82
|
+
@property('Param')
|
|
83
|
+
params: Array<Param> = [];
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* 输出参数列表
|
|
87
|
+
*/
|
|
88
|
+
@property('Return')
|
|
89
|
+
returns: Array<Return> = [];
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* 局部变量列表
|
|
93
|
+
*/
|
|
94
|
+
@property('Variable')
|
|
95
|
+
variables: Array<Variable> = [];
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* 逻辑项列表
|
|
99
|
+
*/
|
|
100
|
+
@property('LogicItem')
|
|
101
|
+
body: Array<LogicItem> = [];
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* 逻辑项列表
|
|
105
|
+
*/
|
|
106
|
+
@property('LogicItem')
|
|
107
|
+
playground: Array<LogicItem> = [];
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* 祖先 Module
|
|
111
|
+
*/
|
|
112
|
+
get module() {
|
|
113
|
+
return this.getAncestor('Module') as Module;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* 祖先 App
|
|
117
|
+
*/
|
|
118
|
+
get app() {
|
|
119
|
+
return this.getAncestor('App') as App;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* 祖先 View
|
|
123
|
+
*/
|
|
124
|
+
get view() {
|
|
125
|
+
return this.getAncestor('View') as View;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* 祖先 ProcessElement
|
|
129
|
+
*/
|
|
130
|
+
get processElement() {
|
|
131
|
+
return this.getAncestor('ProcessElement') as ProcessElement;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* 祖先 Process
|
|
135
|
+
*/
|
|
136
|
+
get process() {
|
|
137
|
+
return this.getAncestor('Process') as Process;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* @param source 需要合并的部分参数
|
|
142
|
+
*/
|
|
143
|
+
constructor(source?: Partial<Logic>) {
|
|
144
|
+
source = Object.assign({}, Logic.getDefaultOptions(), source);
|
|
145
|
+
super(source);
|
|
146
|
+
super.subConstructor(source);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
static from(source: any, parentNode?: any, parentKey?: string): Logic {
|
|
150
|
+
return super.from(source, parentNode, parentKey) as Logic;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* 从父级删除该节点
|
|
155
|
+
* @internal
|
|
156
|
+
*/
|
|
157
|
+
_delete() {
|
|
158
|
+
let params: Params = null;
|
|
159
|
+
if (this.parentNode) {
|
|
160
|
+
params = (this.parentNode as any)?.__removeLogic?.(this);
|
|
161
|
+
}
|
|
162
|
+
return params;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* 设置逻辑名称
|
|
166
|
+
*/
|
|
167
|
+
setName(name: string) {
|
|
168
|
+
const object = {
|
|
169
|
+
name,
|
|
170
|
+
};
|
|
171
|
+
this.update({
|
|
172
|
+
...object,
|
|
173
|
+
field: 'name',
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* 设置逻辑描述
|
|
179
|
+
*/
|
|
180
|
+
setDescription(description: string) {
|
|
181
|
+
const object = {
|
|
182
|
+
description,
|
|
183
|
+
};
|
|
184
|
+
this.update({
|
|
185
|
+
...object,
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
getTypeParamExistingNames(excludedList: Array<TypeParam> = []) {
|
|
190
|
+
const excludedSet = new Set(excludedList);
|
|
191
|
+
return this.typeParams.filter((item) => !excludedSet.has(item)).map((item) => item.name);
|
|
192
|
+
}
|
|
193
|
+
getTypeParamUniqueName(name = 'typeParam1') {
|
|
194
|
+
return utils.unique(name, this.getTypeParamExistingNames());
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* 插入类型参数
|
|
199
|
+
* @internal
|
|
200
|
+
* @param name 类型参数名称,如果不填会自动生成一个唯一名称
|
|
201
|
+
*/
|
|
202
|
+
_insertTypeParamAt(name: string, index: number): TypeParam;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* 插入类型参数
|
|
206
|
+
* @internal
|
|
207
|
+
* @param typeParamOptions 类型参数参数
|
|
208
|
+
*/
|
|
209
|
+
_insertTypeParamAt(typeParamOptions: Partial<TypeParam>, index: number): TypeParam;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* 插入类型参数
|
|
213
|
+
* @internal
|
|
214
|
+
* @param typeParam 已有的类型参数实例
|
|
215
|
+
*/
|
|
216
|
+
_insertTypeParamAt(typeParam: TypeParam, index: number): TypeParam;
|
|
217
|
+
|
|
218
|
+
_insertTypeParamAt(options: string | Partial<TypeParam> | TypeParam, index: number) {
|
|
219
|
+
const typeParamOptions: any = {};
|
|
220
|
+
const relationOptions = { parentNode: this, parentKey: 'typeParams' };
|
|
221
|
+
let typeParam: TypeParam;
|
|
222
|
+
if (!options) {
|
|
223
|
+
typeParam = TypeParam.from({
|
|
224
|
+
...typeParamOptions,
|
|
225
|
+
name: this.getTypeParamUniqueName(),
|
|
226
|
+
}, this);
|
|
227
|
+
} else if (typeof options === 'string') {
|
|
228
|
+
typeParam = TypeParam.from({
|
|
229
|
+
...typeParamOptions,
|
|
230
|
+
name: options,
|
|
231
|
+
}, this);
|
|
232
|
+
} else if (options instanceof TypeParam) {
|
|
233
|
+
options.delete(); // 同一实例不支持多处存在
|
|
234
|
+
typeParam = options;
|
|
235
|
+
} else {
|
|
236
|
+
typeParam = TypeParam.from({
|
|
237
|
+
...typeParamOptions,
|
|
238
|
+
...options,
|
|
239
|
+
}, this);
|
|
240
|
+
}
|
|
241
|
+
Object.assign(typeParam, relationOptions);
|
|
242
|
+
this.typeParams.splice(index, 0, typeParam);
|
|
243
|
+
return typeParam;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* 插入类型参数
|
|
248
|
+
* @param name 类型参数名称,如果不填会自动生成一个唯一名称
|
|
249
|
+
*/
|
|
250
|
+
insertTypeParamAt(name: string, index: number): TypeParam;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* 插入类型参数
|
|
254
|
+
* @param typeParamOptions 类型参数参数
|
|
255
|
+
*/
|
|
256
|
+
insertTypeParamAt(typeParamOptions: Partial<TypeParam>, index: number): TypeParam;
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* 插入类型参数
|
|
260
|
+
* @param typeParam 已有的类型参数实例
|
|
261
|
+
*/
|
|
262
|
+
insertTypeParamAt(typeParam: TypeParam, index: number): TypeParam;
|
|
263
|
+
|
|
264
|
+
insertTypeParamAt(options: string | Partial<TypeParam> | TypeParam, index: number) {
|
|
265
|
+
const node = this._insertTypeParamAt(options as any, index);
|
|
266
|
+
node.create({
|
|
267
|
+
index,
|
|
268
|
+
parentNode: this,
|
|
269
|
+
parentKey: 'typeParams',
|
|
270
|
+
});
|
|
271
|
+
return node;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* 添加类型参数
|
|
276
|
+
* @internal
|
|
277
|
+
* @param name 类型参数名称,如果不填会自动生成一个唯一名称
|
|
278
|
+
*/
|
|
279
|
+
_addTypeParam(name?: string): TypeParam;
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* 添加类型参数
|
|
283
|
+
* @internal
|
|
284
|
+
* @param typeParamOptions 类型参数参数
|
|
285
|
+
*/
|
|
286
|
+
_addTypeParam(typeParamOptions: Partial<TypeParam>): TypeParam;
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* 添加类型参数
|
|
290
|
+
* @internal
|
|
291
|
+
* @param typeParam 已有的类型参数实例
|
|
292
|
+
*/
|
|
293
|
+
_addTypeParam(typeParam: TypeParam): TypeParam;
|
|
294
|
+
|
|
295
|
+
_addTypeParam(options?: string | Partial<TypeParam> | TypeParam) {
|
|
296
|
+
const index = this.typeParams.length;
|
|
297
|
+
return this._insertTypeParamAt(options as any, index);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* 添加类型参数
|
|
302
|
+
* @internal
|
|
303
|
+
* @param name 类型参数名称,如果不填会自动生成一个唯一名称
|
|
304
|
+
*/
|
|
305
|
+
addTypeParam(name?: string): TypeParam;
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* 添加类型参数
|
|
309
|
+
* @param typeParamOptions 类型参数参数
|
|
310
|
+
*/
|
|
311
|
+
addTypeParam(typeParamOptions: Partial<TypeParam>): TypeParam;
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* 添加类型参数
|
|
315
|
+
* @param typeParam 已有的类型参数实例
|
|
316
|
+
*/
|
|
317
|
+
addTypeParam(typeParam: TypeParam): TypeParam;
|
|
318
|
+
|
|
319
|
+
addTypeParam(options?: string | Partial<TypeParam> | TypeParam) {
|
|
320
|
+
const node = this._addTypeParam(options as any);
|
|
321
|
+
const index = this.typeParams.length;
|
|
322
|
+
node.create({
|
|
323
|
+
index,
|
|
324
|
+
parentNode: this,
|
|
325
|
+
parentKey: 'typeParams',
|
|
326
|
+
});
|
|
327
|
+
return node;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
getParamUniqueName(name = 'param1') {
|
|
332
|
+
return utils.unique(name, this.getVarExistingNames());
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* 插入输入参数
|
|
337
|
+
* @internal
|
|
338
|
+
* @param name 输入参数名称,如果不填会自动生成一个唯一名称
|
|
339
|
+
*/
|
|
340
|
+
_insertParamAt(name: string, index: number): Param;
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* 插入输入参数
|
|
344
|
+
* @internal
|
|
345
|
+
* @param paramOptions 输入参数参数
|
|
346
|
+
*/
|
|
347
|
+
_insertParamAt(paramOptions: Partial<Param>, index: number): Param;
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* 插入输入参数
|
|
351
|
+
* @internal
|
|
352
|
+
* @param param 已有的输入参数实例
|
|
353
|
+
*/
|
|
354
|
+
_insertParamAt(param: Param, index: number): Param;
|
|
355
|
+
|
|
356
|
+
_insertParamAt(options: string | Partial<Param> | Param, index: number) {
|
|
357
|
+
const paramOptions: any = {};
|
|
358
|
+
const relationOptions = { parentNode: this, parentKey: 'params' };
|
|
359
|
+
let param: Param;
|
|
360
|
+
if (!options) {
|
|
361
|
+
param = Param.from({
|
|
362
|
+
...paramOptions,
|
|
363
|
+
name: this.getParamUniqueName(),
|
|
364
|
+
}, this);
|
|
365
|
+
} else if (typeof options === 'string') {
|
|
366
|
+
param = Param.from({
|
|
367
|
+
...paramOptions,
|
|
368
|
+
name: options,
|
|
369
|
+
}, this);
|
|
370
|
+
} else if (options instanceof Param) {
|
|
371
|
+
options.delete(); // 同一实例不支持多处存在
|
|
372
|
+
param = options;
|
|
373
|
+
} else {
|
|
374
|
+
param = Param.from({
|
|
375
|
+
...paramOptions,
|
|
376
|
+
...options,
|
|
377
|
+
}, this);
|
|
378
|
+
}
|
|
379
|
+
Object.assign(param, relationOptions);
|
|
380
|
+
this.params.splice(index, 0, param);
|
|
381
|
+
return param;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* 插入输入参数
|
|
386
|
+
* @param name 输入参数名称,如果不填会自动生成一个唯一名称
|
|
387
|
+
*/
|
|
388
|
+
insertParamAt(name: string, index: number): Param;
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* 插入输入参数
|
|
392
|
+
* @param paramOptions 输入参数参数
|
|
393
|
+
*/
|
|
394
|
+
insertParamAt(paramOptions: Partial<Param>, index: number): Param;
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* 插入输入参数
|
|
398
|
+
* @param param 已有的输入参数实例
|
|
399
|
+
*/
|
|
400
|
+
insertParamAt(param: Param, index: number): Param;
|
|
401
|
+
|
|
402
|
+
insertParamAt(options: string | Partial<Param> | Param, index: number) {
|
|
403
|
+
const node = this._insertParamAt(options as any, index);
|
|
404
|
+
node.create({
|
|
405
|
+
index,
|
|
406
|
+
parentNode: this,
|
|
407
|
+
parentKey: 'params',
|
|
408
|
+
});
|
|
409
|
+
return node;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* 添加输入参数
|
|
414
|
+
* @internal
|
|
415
|
+
* @param name 输入参数名称,如果不填会自动生成一个唯一名称
|
|
416
|
+
*/
|
|
417
|
+
_addParam(name?: string): Param;
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* 添加输入参数
|
|
421
|
+
* @internal
|
|
422
|
+
* @param paramOptions 输入参数参数
|
|
423
|
+
*/
|
|
424
|
+
_addParam(paramOptions: Partial<Param>): Param;
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* 添加输入参数
|
|
428
|
+
* @internal
|
|
429
|
+
* @param param 已有的输入参数实例
|
|
430
|
+
*/
|
|
431
|
+
_addParam(param: Param): Param;
|
|
432
|
+
|
|
433
|
+
_addParam(options?: string | Partial<Param> | Param) {
|
|
434
|
+
const index = this.params.length;
|
|
435
|
+
return this._insertParamAt(options as any, index);
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* 添加输入参数
|
|
440
|
+
* @internal
|
|
441
|
+
* @param name 输入参数名称,如果不填会自动生成一个唯一名称
|
|
442
|
+
*/
|
|
443
|
+
addParam(name?: string): Param;
|
|
444
|
+
|
|
445
|
+
/**
|
|
446
|
+
* 添加输入参数
|
|
447
|
+
* @param paramOptions 输入参数参数
|
|
448
|
+
*/
|
|
449
|
+
addParam(paramOptions: Partial<Param>): Param;
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
* 添加输入参数
|
|
453
|
+
* @param param 已有的输入参数实例
|
|
454
|
+
*/
|
|
455
|
+
addParam(param: Param): Param;
|
|
456
|
+
|
|
457
|
+
addParam(options?: string | Partial<Param> | Param) {
|
|
458
|
+
const node = this._addParam(options as any);
|
|
459
|
+
const index = this.params.length;
|
|
460
|
+
node.create({
|
|
461
|
+
index,
|
|
462
|
+
parentNode: this,
|
|
463
|
+
parentKey: 'params',
|
|
464
|
+
});
|
|
465
|
+
return node;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
getReturnUniqueName(name = 'result1') {
|
|
470
|
+
return utils.unique(name, this.getVarExistingNames());
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* 插入输出参数
|
|
475
|
+
* @internal
|
|
476
|
+
* @param name 输出参数名称,如果不填会自动生成一个唯一名称
|
|
477
|
+
*/
|
|
478
|
+
_insertReturnAt(name: string, index: number): Return;
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* 插入输出参数
|
|
482
|
+
* @internal
|
|
483
|
+
* @param retOptions 输出参数参数
|
|
484
|
+
*/
|
|
485
|
+
_insertReturnAt(retOptions: Partial<Return>, index: number): Return;
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* 插入输出参数
|
|
489
|
+
* @internal
|
|
490
|
+
* @param ret 已有的输出参数实例
|
|
491
|
+
*/
|
|
492
|
+
_insertReturnAt(ret: Return, index: number): Return;
|
|
493
|
+
|
|
494
|
+
_insertReturnAt(options: string | Partial<Return> | Return, index: number) {
|
|
495
|
+
const retOptions: any = {};
|
|
496
|
+
const relationOptions = { parentNode: this, parentKey: 'returns' };
|
|
497
|
+
let ret: Return;
|
|
498
|
+
if (!options) {
|
|
499
|
+
ret = Return.from({
|
|
500
|
+
...retOptions,
|
|
501
|
+
name: this.getReturnUniqueName(),
|
|
502
|
+
}, this);
|
|
503
|
+
} else if (typeof options === 'string') {
|
|
504
|
+
ret = Return.from({
|
|
505
|
+
...retOptions,
|
|
506
|
+
name: options,
|
|
507
|
+
}, this);
|
|
508
|
+
} else if (options instanceof Return) {
|
|
509
|
+
options.delete(); // 同一实例不支持多处存在
|
|
510
|
+
ret = options;
|
|
511
|
+
} else {
|
|
512
|
+
ret = Return.from({
|
|
513
|
+
...retOptions,
|
|
514
|
+
...options,
|
|
515
|
+
}, this);
|
|
516
|
+
}
|
|
517
|
+
Object.assign(ret, relationOptions);
|
|
518
|
+
this.returns.splice(index, 0, ret);
|
|
519
|
+
return ret;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* 插入输出参数
|
|
524
|
+
* @param name 输出参数名称,如果不填会自动生成一个唯一名称
|
|
525
|
+
*/
|
|
526
|
+
insertReturnAt(name: string, index: number): Return;
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* 插入输出参数
|
|
530
|
+
* @param retOptions 输出参数参数
|
|
531
|
+
*/
|
|
532
|
+
insertReturnAt(retOptions: Partial<Return>, index: number): Return;
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* 插入输出参数
|
|
536
|
+
* @param ret 已有的输出参数实例
|
|
537
|
+
*/
|
|
538
|
+
insertReturnAt(ret: Return, index: number): Return;
|
|
539
|
+
|
|
540
|
+
insertReturnAt(options: string | Partial<Return> | Return, index: number) {
|
|
541
|
+
const node = this._insertReturnAt(options as any, index);
|
|
542
|
+
node.create({
|
|
543
|
+
index,
|
|
544
|
+
parentNode: this,
|
|
545
|
+
parentKey: 'returns',
|
|
546
|
+
});
|
|
547
|
+
return node;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* 添加输出参数
|
|
552
|
+
* @internal
|
|
553
|
+
* @param name 输出参数名称,如果不填会自动生成一个唯一名称
|
|
554
|
+
*/
|
|
555
|
+
_addReturn(name?: string): Return;
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* 添加输出参数
|
|
559
|
+
* @internal
|
|
560
|
+
* @param retOptions 输出参数参数
|
|
561
|
+
*/
|
|
562
|
+
_addReturn(retOptions: Partial<Return>): Return;
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* 添加输出参数
|
|
566
|
+
* @internal
|
|
567
|
+
* @param ret 已有的输出参数实例
|
|
568
|
+
*/
|
|
569
|
+
_addReturn(ret: Return): Return;
|
|
570
|
+
|
|
571
|
+
_addReturn(options?: string | Partial<Return> | Return) {
|
|
572
|
+
const index = this.returns.length;
|
|
573
|
+
return this._insertReturnAt(options as any, index);
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* 添加输出参数
|
|
578
|
+
* @internal
|
|
579
|
+
* @param name 输出参数名称,如果不填会自动生成一个唯一名称
|
|
580
|
+
*/
|
|
581
|
+
addReturn(name?: string): Return;
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* 添加输出参数
|
|
585
|
+
* @param retOptions 输出参数参数
|
|
586
|
+
*/
|
|
587
|
+
addReturn(retOptions: Partial<Return>): Return;
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* 添加输出参数
|
|
591
|
+
* @param ret 已有的输出参数实例
|
|
592
|
+
*/
|
|
593
|
+
addReturn(ret: Return): Return;
|
|
594
|
+
|
|
595
|
+
addReturn(options?: string | Partial<Return> | Return) {
|
|
596
|
+
const node = this._addReturn(options as any);
|
|
597
|
+
const index = this.returns.length;
|
|
598
|
+
node.create({
|
|
599
|
+
index,
|
|
600
|
+
parentNode: this,
|
|
601
|
+
parentKey: 'returns',
|
|
602
|
+
});
|
|
603
|
+
return node;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
getVariableUniqueName(name = 'variable1') {
|
|
608
|
+
return utils.unique(name, this.getVarExistingNames());
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* 插入局部变量
|
|
613
|
+
* @internal
|
|
614
|
+
* @param name 局部变量名称,如果不填会自动生成一个唯一名称
|
|
615
|
+
*/
|
|
616
|
+
_insertVariableAt(name: string, index: number): Variable;
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* 插入局部变量
|
|
620
|
+
* @internal
|
|
621
|
+
* @param variableOptions 局部变量参数
|
|
622
|
+
*/
|
|
623
|
+
_insertVariableAt(variableOptions: Partial<Variable>, index: number): Variable;
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* 插入局部变量
|
|
627
|
+
* @internal
|
|
628
|
+
* @param variable 已有的局部变量实例
|
|
629
|
+
*/
|
|
630
|
+
_insertVariableAt(variable: Variable, index: number): Variable;
|
|
631
|
+
|
|
632
|
+
_insertVariableAt(options: string | Partial<Variable> | Variable, index: number) {
|
|
633
|
+
const variableOptions: any = {};
|
|
634
|
+
const relationOptions = { parentNode: this, parentKey: 'variables' };
|
|
635
|
+
let variable: Variable;
|
|
636
|
+
if (!options) {
|
|
637
|
+
variable = Variable.from({
|
|
638
|
+
...variableOptions,
|
|
639
|
+
name: this.getVariableUniqueName(),
|
|
640
|
+
}, this);
|
|
641
|
+
} else if (typeof options === 'string') {
|
|
642
|
+
variable = Variable.from({
|
|
643
|
+
...variableOptions,
|
|
644
|
+
name: options,
|
|
645
|
+
}, this);
|
|
646
|
+
} else if (options instanceof Variable) {
|
|
647
|
+
options.delete(); // 同一实例不支持多处存在
|
|
648
|
+
variable = options;
|
|
649
|
+
} else {
|
|
650
|
+
variable = Variable.from({
|
|
651
|
+
...variableOptions,
|
|
652
|
+
...options,
|
|
653
|
+
}, this);
|
|
654
|
+
}
|
|
655
|
+
Object.assign(variable, relationOptions);
|
|
656
|
+
this.variables.splice(index, 0, variable);
|
|
657
|
+
return variable;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* 插入局部变量
|
|
662
|
+
* @param name 局部变量名称,如果不填会自动生成一个唯一名称
|
|
663
|
+
*/
|
|
664
|
+
insertVariableAt(name: string, index: number): Variable;
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* 插入局部变量
|
|
668
|
+
* @param variableOptions 局部变量参数
|
|
669
|
+
*/
|
|
670
|
+
insertVariableAt(variableOptions: Partial<Variable>, index: number): Variable;
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* 插入局部变量
|
|
674
|
+
* @param variable 已有的局部变量实例
|
|
675
|
+
*/
|
|
676
|
+
insertVariableAt(variable: Variable, index: number): Variable;
|
|
677
|
+
|
|
678
|
+
insertVariableAt(options: string | Partial<Variable> | Variable, index: number) {
|
|
679
|
+
const node = this._insertVariableAt(options as any, index);
|
|
680
|
+
node.create({
|
|
681
|
+
index,
|
|
682
|
+
parentNode: this,
|
|
683
|
+
parentKey: 'variables',
|
|
684
|
+
});
|
|
685
|
+
return node;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* 添加局部变量
|
|
690
|
+
* @internal
|
|
691
|
+
* @param name 局部变量名称,如果不填会自动生成一个唯一名称
|
|
692
|
+
*/
|
|
693
|
+
_addVariable(name?: string): Variable;
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* 添加局部变量
|
|
697
|
+
* @internal
|
|
698
|
+
* @param variableOptions 局部变量参数
|
|
699
|
+
*/
|
|
700
|
+
_addVariable(variableOptions: Partial<Variable>): Variable;
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* 添加局部变量
|
|
704
|
+
* @internal
|
|
705
|
+
* @param variable 已有的局部变量实例
|
|
706
|
+
*/
|
|
707
|
+
_addVariable(variable: Variable): Variable;
|
|
708
|
+
|
|
709
|
+
_addVariable(options?: string | Partial<Variable> | Variable) {
|
|
710
|
+
const index = this.variables.length;
|
|
711
|
+
return this._insertVariableAt(options as any, index);
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* 添加局部变量
|
|
716
|
+
* @internal
|
|
717
|
+
* @param name 局部变量名称,如果不填会自动生成一个唯一名称
|
|
718
|
+
*/
|
|
719
|
+
addVariable(name?: string): Variable;
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* 添加局部变量
|
|
723
|
+
* @param variableOptions 局部变量参数
|
|
724
|
+
*/
|
|
725
|
+
addVariable(variableOptions: Partial<Variable>): Variable;
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* 添加局部变量
|
|
729
|
+
* @param variable 已有的局部变量实例
|
|
730
|
+
*/
|
|
731
|
+
addVariable(variable: Variable): Variable;
|
|
732
|
+
|
|
733
|
+
addVariable(options?: string | Partial<Variable> | Variable) {
|
|
734
|
+
const node = this._addVariable(options as any);
|
|
735
|
+
const index = this.variables.length;
|
|
736
|
+
node.create({
|
|
737
|
+
index,
|
|
738
|
+
parentNode: this,
|
|
739
|
+
parentKey: 'variables',
|
|
740
|
+
});
|
|
741
|
+
return node;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* 插入逻辑项
|
|
751
|
+
* @internal
|
|
752
|
+
* @param logicItemOptions 逻辑项参数
|
|
753
|
+
*/
|
|
754
|
+
_insertItemInBodyAt(logicItemOptions: Partial<LogicItem>, index: number): LogicItem;
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* 插入逻辑项
|
|
758
|
+
* @internal
|
|
759
|
+
* @param logicItem 已有的逻辑项实例
|
|
760
|
+
*/
|
|
761
|
+
_insertItemInBodyAt(logicItem: LogicItem, index: number): LogicItem;
|
|
762
|
+
|
|
763
|
+
_insertItemInBodyAt(options: Partial<LogicItem> | LogicItem, index: number) {
|
|
764
|
+
const logicItemOptions: any = {};
|
|
765
|
+
const relationOptions = { parentNode: this, parentKey: 'body' };
|
|
766
|
+
let logicItem: LogicItem;
|
|
767
|
+
if (options instanceof LogicItem) {
|
|
768
|
+
options.delete(); // 同一实例不支持多处存在
|
|
769
|
+
logicItem = options;
|
|
770
|
+
} else {
|
|
771
|
+
logicItem = LogicItem.from({
|
|
772
|
+
...logicItemOptions,
|
|
773
|
+
...options,
|
|
774
|
+
}, this);
|
|
775
|
+
}
|
|
776
|
+
Object.assign(logicItem, relationOptions);
|
|
777
|
+
this.body.splice(index, 0, logicItem);
|
|
778
|
+
return logicItem;
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* 插入逻辑项
|
|
785
|
+
* @param logicItemOptions 逻辑项参数
|
|
786
|
+
*/
|
|
787
|
+
insertItemInBodyAt(logicItemOptions: Partial<LogicItem>, index: number): LogicItem;
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* 插入逻辑项
|
|
791
|
+
* @param logicItem 已有的逻辑项实例
|
|
792
|
+
*/
|
|
793
|
+
insertItemInBodyAt(logicItem: LogicItem, index: number): LogicItem;
|
|
794
|
+
|
|
795
|
+
insertItemInBodyAt(options: Partial<LogicItem> | LogicItem, index: number) {
|
|
796
|
+
const node = this._insertItemInBodyAt(options as any, index);
|
|
797
|
+
node.create({
|
|
798
|
+
index,
|
|
799
|
+
parentNode: this,
|
|
800
|
+
parentKey: 'body',
|
|
801
|
+
});
|
|
802
|
+
return node;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
|
|
807
|
+
/**
|
|
808
|
+
* 添加逻辑项
|
|
809
|
+
* @internal
|
|
810
|
+
* @param logicItemOptions 逻辑项参数
|
|
811
|
+
*/
|
|
812
|
+
_addItemInBody(logicItemOptions: Partial<LogicItem>): LogicItem;
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* 添加逻辑项
|
|
816
|
+
* @internal
|
|
817
|
+
* @param logicItem 已有的逻辑项实例
|
|
818
|
+
*/
|
|
819
|
+
_addItemInBody(logicItem: LogicItem): LogicItem;
|
|
820
|
+
|
|
821
|
+
_addItemInBody(options?: Partial<LogicItem> | LogicItem) {
|
|
822
|
+
const index = this.body.length;
|
|
823
|
+
return this._insertItemInBodyAt(options as any, index);
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
/**
|
|
829
|
+
* 添加逻辑项
|
|
830
|
+
* @param logicItemOptions 逻辑项参数
|
|
831
|
+
*/
|
|
832
|
+
addItemInBody(logicItemOptions: Partial<LogicItem>): LogicItem;
|
|
833
|
+
|
|
834
|
+
/**
|
|
835
|
+
* 添加逻辑项
|
|
836
|
+
* @param logicItem 已有的逻辑项实例
|
|
837
|
+
*/
|
|
838
|
+
addItemInBody(logicItem: LogicItem): LogicItem;
|
|
839
|
+
|
|
840
|
+
addItemInBody(options?: Partial<LogicItem> | LogicItem) {
|
|
841
|
+
const node = this._addItemInBody(options as any);
|
|
842
|
+
const index = this.body.length;
|
|
843
|
+
node.create({
|
|
844
|
+
index,
|
|
845
|
+
parentNode: this,
|
|
846
|
+
parentKey: 'body',
|
|
847
|
+
});
|
|
848
|
+
return node;
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* 插入逻辑项
|
|
855
|
+
* @internal
|
|
856
|
+
* @param logicItemOptions 逻辑项参数
|
|
857
|
+
*/
|
|
858
|
+
_insertItemInPlaygroundAt(logicItemOptions: Partial<LogicItem>, index: number): LogicItem;
|
|
859
|
+
|
|
860
|
+
/**
|
|
861
|
+
* 插入逻辑项
|
|
862
|
+
* @internal
|
|
863
|
+
* @param logicItem 已有的逻辑项实例
|
|
864
|
+
*/
|
|
865
|
+
_insertItemInPlaygroundAt(logicItem: LogicItem, index: number): LogicItem;
|
|
866
|
+
|
|
867
|
+
_insertItemInPlaygroundAt(options: Partial<LogicItem> | LogicItem, index: number) {
|
|
868
|
+
const logicItemOptions: any = {};
|
|
869
|
+
const relationOptions = { parentNode: this, parentKey: 'playground' };
|
|
870
|
+
let logicItem: LogicItem;
|
|
871
|
+
if (options instanceof LogicItem) {
|
|
872
|
+
options.delete(); // 同一实例不支持多处存在
|
|
873
|
+
logicItem = options;
|
|
874
|
+
} else {
|
|
875
|
+
logicItem = LogicItem.from({
|
|
876
|
+
...logicItemOptions,
|
|
877
|
+
...options,
|
|
878
|
+
}, this);
|
|
879
|
+
}
|
|
880
|
+
Object.assign(logicItem, relationOptions);
|
|
881
|
+
this.playground.splice(index, 0, logicItem);
|
|
882
|
+
return logicItem;
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
/**
|
|
888
|
+
* 插入逻辑项
|
|
889
|
+
* @param logicItemOptions 逻辑项参数
|
|
890
|
+
*/
|
|
891
|
+
insertItemInPlaygroundAt(logicItemOptions: Partial<LogicItem>, index: number): LogicItem;
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* 插入逻辑项
|
|
895
|
+
* @param logicItem 已有的逻辑项实例
|
|
896
|
+
*/
|
|
897
|
+
insertItemInPlaygroundAt(logicItem: LogicItem, index: number): LogicItem;
|
|
898
|
+
|
|
899
|
+
insertItemInPlaygroundAt(options: Partial<LogicItem> | LogicItem, index: number) {
|
|
900
|
+
const node = this._insertItemInPlaygroundAt(options as any, index);
|
|
901
|
+
node.create({
|
|
902
|
+
index,
|
|
903
|
+
parentNode: this,
|
|
904
|
+
parentKey: 'playground',
|
|
905
|
+
});
|
|
906
|
+
return node;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* 添加逻辑项
|
|
913
|
+
* @internal
|
|
914
|
+
* @param logicItemOptions 逻辑项参数
|
|
915
|
+
*/
|
|
916
|
+
_addItemInPlayground(logicItemOptions: Partial<LogicItem>): LogicItem;
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* 添加逻辑项
|
|
920
|
+
* @internal
|
|
921
|
+
* @param logicItem 已有的逻辑项实例
|
|
922
|
+
*/
|
|
923
|
+
_addItemInPlayground(logicItem: LogicItem): LogicItem;
|
|
924
|
+
|
|
925
|
+
_addItemInPlayground(options?: Partial<LogicItem> | LogicItem) {
|
|
926
|
+
const index = this.playground.length;
|
|
927
|
+
return this._insertItemInPlaygroundAt(options as any, index);
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* 添加逻辑项
|
|
934
|
+
* @param logicItemOptions 逻辑项参数
|
|
935
|
+
*/
|
|
936
|
+
addItemInPlayground(logicItemOptions: Partial<LogicItem>): LogicItem;
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* 添加逻辑项
|
|
940
|
+
* @param logicItem 已有的逻辑项实例
|
|
941
|
+
*/
|
|
942
|
+
addItemInPlayground(logicItem: LogicItem): LogicItem;
|
|
943
|
+
|
|
944
|
+
addItemInPlayground(options?: Partial<LogicItem> | LogicItem) {
|
|
945
|
+
const node = this._addItemInPlayground(options as any);
|
|
946
|
+
const index = this.playground.length;
|
|
947
|
+
node.create({
|
|
948
|
+
index,
|
|
949
|
+
parentNode: this,
|
|
950
|
+
parentKey: 'playground',
|
|
951
|
+
});
|
|
952
|
+
return node;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
|
|
957
|
+
|
|
958
|
+
/**
|
|
959
|
+
* 删除事务
|
|
960
|
+
* @param name 事务名称
|
|
961
|
+
*/
|
|
962
|
+
removeTransactional(name: string): void;
|
|
963
|
+
|
|
964
|
+
/**
|
|
965
|
+
* 删除事务
|
|
966
|
+
* @param transactional 已有的事务实例
|
|
967
|
+
*/
|
|
968
|
+
removeTransactional(transactional: Transactional): void;
|
|
969
|
+
|
|
970
|
+
removeTransactional(options: string | Transactional) {
|
|
971
|
+
let transactional: Transactional;
|
|
972
|
+
if (typeof options === 'string') {
|
|
973
|
+
transactional = this.transactional;
|
|
974
|
+
if (!transactional) {
|
|
975
|
+
throw new Error('找不到事务 ' + options);
|
|
976
|
+
}
|
|
977
|
+
} else {
|
|
978
|
+
transactional = options;
|
|
979
|
+
}
|
|
980
|
+
return transactional.delete();
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
__removeTransactional(transactional: Transactional) {
|
|
984
|
+
const parentKey = transactional.parentKey;
|
|
985
|
+
const params: Params = {
|
|
986
|
+
parentNode: this,
|
|
987
|
+
parentKey,
|
|
988
|
+
index: -1,
|
|
989
|
+
object: null,
|
|
990
|
+
oldObject: transactional,
|
|
991
|
+
};
|
|
992
|
+
if (parentKey) {
|
|
993
|
+
params.parentKey = parentKey;
|
|
994
|
+
if (Array.isArray((this as any)[parentKey])) {
|
|
995
|
+
const index = (this as any)[parentKey].indexOf(transactional);
|
|
996
|
+
~index && (this as any)[parentKey].splice(index, 1);
|
|
997
|
+
params.index = index;
|
|
998
|
+
} else if ((this as any)[parentKey] === transactional) {
|
|
999
|
+
params.index = 0;
|
|
1000
|
+
(this as any)[parentKey] = undefined;
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
return params;
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
|
|
1007
|
+
|
|
1008
|
+
/**
|
|
1009
|
+
* 删除类型参数
|
|
1010
|
+
* @param name 类型参数名称
|
|
1011
|
+
*/
|
|
1012
|
+
removeTypeParam(name: string): void;
|
|
1013
|
+
|
|
1014
|
+
/**
|
|
1015
|
+
* 删除类型参数
|
|
1016
|
+
* @param typeParam 已有的类型参数实例
|
|
1017
|
+
*/
|
|
1018
|
+
removeTypeParam(typeParam: TypeParam): void;
|
|
1019
|
+
|
|
1020
|
+
removeTypeParam(options: string | TypeParam) {
|
|
1021
|
+
let typeParam: TypeParam;
|
|
1022
|
+
if (typeof options === 'string') {
|
|
1023
|
+
typeParam = this.typeParams.find((item) => item.name === options);
|
|
1024
|
+
if (!typeParam) {
|
|
1025
|
+
throw new Error('找不到类型参数 ' + options);
|
|
1026
|
+
}
|
|
1027
|
+
} else {
|
|
1028
|
+
typeParam = options;
|
|
1029
|
+
}
|
|
1030
|
+
return typeParam.delete();
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
__removeTypeParam(typeParam: TypeParam) {
|
|
1034
|
+
const parentKey = typeParam.parentKey;
|
|
1035
|
+
const params: Params = {
|
|
1036
|
+
parentNode: this,
|
|
1037
|
+
parentKey,
|
|
1038
|
+
index: -1,
|
|
1039
|
+
object: null,
|
|
1040
|
+
oldObject: typeParam,
|
|
1041
|
+
};
|
|
1042
|
+
if (parentKey) {
|
|
1043
|
+
params.parentKey = parentKey;
|
|
1044
|
+
if (Array.isArray((this as any)[parentKey])) {
|
|
1045
|
+
const index = (this as any)[parentKey].indexOf(typeParam);
|
|
1046
|
+
~index && (this as any)[parentKey].splice(index, 1);
|
|
1047
|
+
params.index = index;
|
|
1048
|
+
} else if ((this as any)[parentKey] === typeParam) {
|
|
1049
|
+
params.index = 0;
|
|
1050
|
+
(this as any)[parentKey] = undefined;
|
|
1051
|
+
}
|
|
1052
|
+
}
|
|
1053
|
+
return params;
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
|
|
1058
|
+
/**
|
|
1059
|
+
* 删除输入参数
|
|
1060
|
+
* @param name 输入参数名称
|
|
1061
|
+
*/
|
|
1062
|
+
removeParam(name: string): void;
|
|
1063
|
+
|
|
1064
|
+
/**
|
|
1065
|
+
* 删除输入参数
|
|
1066
|
+
* @param param 已有的输入参数实例
|
|
1067
|
+
*/
|
|
1068
|
+
removeParam(param: Param): void;
|
|
1069
|
+
|
|
1070
|
+
removeParam(options: string | Param) {
|
|
1071
|
+
let param: Param;
|
|
1072
|
+
if (typeof options === 'string') {
|
|
1073
|
+
param = this.params.find((item) => item.name === options);
|
|
1074
|
+
if (!param) {
|
|
1075
|
+
throw new Error('找不到输入参数 ' + options);
|
|
1076
|
+
}
|
|
1077
|
+
} else {
|
|
1078
|
+
param = options;
|
|
1079
|
+
}
|
|
1080
|
+
return param.delete();
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
__removeParam(param: Param) {
|
|
1084
|
+
const parentKey = param.parentKey;
|
|
1085
|
+
const params: Params = {
|
|
1086
|
+
parentNode: this,
|
|
1087
|
+
parentKey,
|
|
1088
|
+
index: -1,
|
|
1089
|
+
object: null,
|
|
1090
|
+
oldObject: param,
|
|
1091
|
+
};
|
|
1092
|
+
if (parentKey) {
|
|
1093
|
+
params.parentKey = parentKey;
|
|
1094
|
+
if (Array.isArray((this as any)[parentKey])) {
|
|
1095
|
+
const index = (this as any)[parentKey].indexOf(param);
|
|
1096
|
+
~index && (this as any)[parentKey].splice(index, 1);
|
|
1097
|
+
params.index = index;
|
|
1098
|
+
} else if ((this as any)[parentKey] === param) {
|
|
1099
|
+
params.index = 0;
|
|
1100
|
+
(this as any)[parentKey] = undefined;
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
return params;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* 删除输出参数
|
|
1110
|
+
* @param name 输出参数名称
|
|
1111
|
+
*/
|
|
1112
|
+
removeReturn(name: string): void;
|
|
1113
|
+
|
|
1114
|
+
/**
|
|
1115
|
+
* 删除输出参数
|
|
1116
|
+
* @param ret 已有的输出参数实例
|
|
1117
|
+
*/
|
|
1118
|
+
removeReturn(ret: Return): void;
|
|
1119
|
+
|
|
1120
|
+
removeReturn(options: string | Return) {
|
|
1121
|
+
let ret: Return;
|
|
1122
|
+
if (typeof options === 'string') {
|
|
1123
|
+
ret = this.returns.find((item) => item.name === options);
|
|
1124
|
+
if (!ret) {
|
|
1125
|
+
throw new Error('找不到输出参数 ' + options);
|
|
1126
|
+
}
|
|
1127
|
+
} else {
|
|
1128
|
+
ret = options;
|
|
1129
|
+
}
|
|
1130
|
+
return ret.delete();
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
__removeReturn(ret: Return) {
|
|
1134
|
+
const parentKey = ret.parentKey;
|
|
1135
|
+
const params: Params = {
|
|
1136
|
+
parentNode: this,
|
|
1137
|
+
parentKey,
|
|
1138
|
+
index: -1,
|
|
1139
|
+
object: null,
|
|
1140
|
+
oldObject: ret,
|
|
1141
|
+
};
|
|
1142
|
+
if (parentKey) {
|
|
1143
|
+
params.parentKey = parentKey;
|
|
1144
|
+
if (Array.isArray((this as any)[parentKey])) {
|
|
1145
|
+
const index = (this as any)[parentKey].indexOf(ret);
|
|
1146
|
+
~index && (this as any)[parentKey].splice(index, 1);
|
|
1147
|
+
params.index = index;
|
|
1148
|
+
} else if ((this as any)[parentKey] === ret) {
|
|
1149
|
+
params.index = 0;
|
|
1150
|
+
(this as any)[parentKey] = undefined;
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
return params;
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* 删除局部变量
|
|
1160
|
+
* @param name 局部变量名称
|
|
1161
|
+
*/
|
|
1162
|
+
removeVariable(name: string): void;
|
|
1163
|
+
|
|
1164
|
+
/**
|
|
1165
|
+
* 删除局部变量
|
|
1166
|
+
* @param variable 已有的局部变量实例
|
|
1167
|
+
*/
|
|
1168
|
+
removeVariable(variable: Variable): void;
|
|
1169
|
+
|
|
1170
|
+
removeVariable(options: string | Variable) {
|
|
1171
|
+
let variable: Variable;
|
|
1172
|
+
if (typeof options === 'string') {
|
|
1173
|
+
variable = this.variables.find((item) => item.name === options);
|
|
1174
|
+
if (!variable) {
|
|
1175
|
+
throw new Error('找不到局部变量 ' + options);
|
|
1176
|
+
}
|
|
1177
|
+
} else {
|
|
1178
|
+
variable = options;
|
|
1179
|
+
}
|
|
1180
|
+
return variable.delete();
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
__removeVariable(variable: Variable) {
|
|
1184
|
+
const parentKey = variable.parentKey;
|
|
1185
|
+
const params: Params = {
|
|
1186
|
+
parentNode: this,
|
|
1187
|
+
parentKey,
|
|
1188
|
+
index: -1,
|
|
1189
|
+
object: null,
|
|
1190
|
+
oldObject: variable,
|
|
1191
|
+
};
|
|
1192
|
+
if (parentKey) {
|
|
1193
|
+
params.parentKey = parentKey;
|
|
1194
|
+
if (Array.isArray((this as any)[parentKey])) {
|
|
1195
|
+
const index = (this as any)[parentKey].indexOf(variable);
|
|
1196
|
+
~index && (this as any)[parentKey].splice(index, 1);
|
|
1197
|
+
params.index = index;
|
|
1198
|
+
} else if ((this as any)[parentKey] === variable) {
|
|
1199
|
+
params.index = 0;
|
|
1200
|
+
(this as any)[parentKey] = undefined;
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
return params;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
|
|
1207
|
+
|
|
1208
|
+
/**
|
|
1209
|
+
* 删除逻辑项
|
|
1210
|
+
* @param logicItem 已有的逻辑项实例
|
|
1211
|
+
*/
|
|
1212
|
+
removeItemInBody(logicItem: LogicItem): void;
|
|
1213
|
+
|
|
1214
|
+
removeItemInBody(options: LogicItem) {
|
|
1215
|
+
let logicItem: LogicItem = options;
|
|
1216
|
+
return logicItem.delete();
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* 删除逻辑项
|
|
1223
|
+
* @param logicItem 已有的逻辑项实例
|
|
1224
|
+
*/
|
|
1225
|
+
removeItemInPlayground(logicItem: LogicItem): void;
|
|
1226
|
+
|
|
1227
|
+
removeItemInPlayground(options: LogicItem) {
|
|
1228
|
+
let logicItem: LogicItem = options;
|
|
1229
|
+
return logicItem.delete();
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
__removeLogicItem(logicItem: LogicItem) {
|
|
1233
|
+
const parentKey = logicItem.parentKey;
|
|
1234
|
+
const params: Params = {
|
|
1235
|
+
parentNode: this,
|
|
1236
|
+
parentKey,
|
|
1237
|
+
index: -1,
|
|
1238
|
+
object: null,
|
|
1239
|
+
oldObject: logicItem,
|
|
1240
|
+
};
|
|
1241
|
+
if (parentKey) {
|
|
1242
|
+
params.parentKey = parentKey;
|
|
1243
|
+
if (Array.isArray((this as any)[parentKey])) {
|
|
1244
|
+
const index = (this as any)[parentKey].indexOf(logicItem);
|
|
1245
|
+
~index && (this as any)[parentKey].splice(index, 1);
|
|
1246
|
+
params.index = index;
|
|
1247
|
+
} else if ((this as any)[parentKey] === logicItem) {
|
|
1248
|
+
params.index = 0;
|
|
1249
|
+
(this as any)[parentKey] = undefined;
|
|
1250
|
+
}
|
|
1251
|
+
}
|
|
1252
|
+
return params;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
//================================================================================
|
|
1256
|
+
// ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑
|
|
1257
|
+
// 自动生成的代码已结束。下面可以手动编写。
|
|
1258
|
+
//================================================================================
|
|
1259
|
+
|
|
1260
|
+
findLogicItemByConcept(concept: string) {
|
|
1261
|
+
let result: any;
|
|
1262
|
+
|
|
1263
|
+
utils.traverse((current) => {
|
|
1264
|
+
if ((current.node as any).concept === concept)
|
|
1265
|
+
return (result = current.node);
|
|
1266
|
+
}, { node: this }, {
|
|
1267
|
+
mode: 'anyObject',
|
|
1268
|
+
excludedKeySet: this.JSON_EXCLUDED_KEYS,
|
|
1269
|
+
});
|
|
1270
|
+
|
|
1271
|
+
return result as LogicItem;
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
onChange($event?: EventPayload): void {
|
|
1275
|
+
this.emit('change', $event);
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
getVarExistingNames(excludedList: Array<Param | Return | Variable> = []) {
|
|
1279
|
+
const excludedSet = new Set(excludedList);
|
|
1280
|
+
return [...this.params, ...this.returns, ...this.variables].filter((item) => !excludedSet.has(item)).map((item) => item.name);
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
toUI(state?: TranslatorState): string {
|
|
1284
|
+
let code = `function ${this.name}(`;
|
|
1285
|
+
|
|
1286
|
+
this.params.forEach((param, index) => {
|
|
1287
|
+
code += param.toUI(shiftState(state, code, { inline: true }));
|
|
1288
|
+
if (index !== this.params.length - 1)
|
|
1289
|
+
code += ', ';
|
|
1290
|
+
});
|
|
1291
|
+
code += `) {\n`;
|
|
1292
|
+
|
|
1293
|
+
this.variables.forEach((variable) => {
|
|
1294
|
+
code += indent(state.tabSize + 1) + 'let ';
|
|
1295
|
+
code += variable.toUI(shiftState(state, code, { inline: true }));
|
|
1296
|
+
code += ';\n';
|
|
1297
|
+
});
|
|
1298
|
+
|
|
1299
|
+
this.returns.forEach((ret) => {
|
|
1300
|
+
code += indent(state.tabSize + 1) + 'let ';
|
|
1301
|
+
code += ret.toUI(shiftState(state, code, { inline: true }));
|
|
1302
|
+
code += ';\n';
|
|
1303
|
+
});
|
|
1304
|
+
|
|
1305
|
+
if (!this.body.length && this.returns.length) {
|
|
1306
|
+
code += indent(state.tabSize + 1) + `return ${this.returns[0].name};\n`;
|
|
1307
|
+
} else {
|
|
1308
|
+
this.body.forEach((item) => {
|
|
1309
|
+
code += item.toUI && item.toUI(shiftState(state, code, { tabSize: state.tabSize + 1 }));
|
|
1310
|
+
code += '\n';
|
|
1311
|
+
});
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
code += indent(state.tabSize) + '}\n';
|
|
1315
|
+
return code;
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
toJS(state?: TranslatorState): string {
|
|
1319
|
+
let code = `methods['${this.name}'] = async function (`;
|
|
1320
|
+
if (Array.isArray(this.params)) {
|
|
1321
|
+
this.params.forEach((param, index) => {
|
|
1322
|
+
code += param.toJS(shiftState(state, code, { inline: true }));
|
|
1323
|
+
if (index !== this.params.length - 1)
|
|
1324
|
+
code += ', ';
|
|
1325
|
+
});
|
|
1326
|
+
}
|
|
1327
|
+
code += `) {\n`;
|
|
1328
|
+
if (Array.isArray(this.variables)) {
|
|
1329
|
+
this.variables.forEach((variable) => {
|
|
1330
|
+
code += indent(state.tabSize + 1) + 'let ';
|
|
1331
|
+
code += variable.toJS(shiftState(state, code, { inline: true }));
|
|
1332
|
+
code += ';\n';
|
|
1333
|
+
});
|
|
1334
|
+
}
|
|
1335
|
+
if (Array.isArray(this.returns)) {
|
|
1336
|
+
this.returns.forEach((ret) => {
|
|
1337
|
+
code += indent(state.tabSize + 1) + 'let ';
|
|
1338
|
+
code += ret.toJS(shiftState(state, code, { inline: true }));
|
|
1339
|
+
code += ';\n';
|
|
1340
|
+
});
|
|
1341
|
+
}
|
|
1342
|
+
if (!this.body.length && this.returns.length) {
|
|
1343
|
+
code += indent(state.tabSize + 1) + `return ${this.returns[0].name};\n`;
|
|
1344
|
+
} else {
|
|
1345
|
+
this.body.forEach((item) => {
|
|
1346
|
+
code += item.toJS && item.toJS(shiftState(state, code, { tabSize: state.tabSize + 1 }));
|
|
1347
|
+
code += '\n';
|
|
1348
|
+
});
|
|
1349
|
+
}
|
|
1350
|
+
code += indent(state.tabSize) + '}\n';
|
|
1351
|
+
return code;
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
toEmbeddedTSNoExport(state?: TranslatorState): string {
|
|
1355
|
+
return this.toEmbeddedTS(state, 'noExport');
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
@withSourceMap()
|
|
1359
|
+
toEmbeddedTS(state?: TranslatorState, prefix?: string): string {
|
|
1360
|
+
// 如果传了不要前缀那就为空, 要不用传进来的,要是都没有就默认导出
|
|
1361
|
+
const funcPrefix = prefix === 'noExport' ? '' : 'export';
|
|
1362
|
+
let code = `${funcPrefix} function ${this.name}(`;
|
|
1363
|
+
this.params.forEach((param, index) => {
|
|
1364
|
+
code += param.toEmbeddedTS(shiftState(state, code, { inline: true }));
|
|
1365
|
+
if (index !== this.params.length - 1)
|
|
1366
|
+
code += ', ';
|
|
1367
|
+
});
|
|
1368
|
+
code += `) {\n`;
|
|
1369
|
+
|
|
1370
|
+
this.variables.forEach((variable) => {
|
|
1371
|
+
code += indent(state.tabSize + 1) + 'let ';
|
|
1372
|
+
code += variable.toEmbeddedTS(shiftState(state, code, { inline: true }));
|
|
1373
|
+
code += ';\n';
|
|
1374
|
+
});
|
|
1375
|
+
|
|
1376
|
+
this.returns.forEach((ret) => {
|
|
1377
|
+
code += indent(state.tabSize + 1) + 'let ';
|
|
1378
|
+
code += ret.toEmbeddedTS(shiftState(state, code, { inline: true }));
|
|
1379
|
+
code += ';\n';
|
|
1380
|
+
});
|
|
1381
|
+
|
|
1382
|
+
if (!this.body.length && this.returns.length) {
|
|
1383
|
+
code += indent(state.tabSize + 1) + `return ${this.returns[0].name};\n`;
|
|
1384
|
+
} else {
|
|
1385
|
+
this.body.forEach((item) => {
|
|
1386
|
+
code += item.toEmbeddedTS && item.toEmbeddedTS(shiftState(state, code, { tabSize: state.tabSize + 1 }));
|
|
1387
|
+
code += '\n';
|
|
1388
|
+
});
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
// 在body渲染完成之后把其余的节点放到下面
|
|
1392
|
+
this.playground.forEach((item) => {
|
|
1393
|
+
code += item.toEmbeddedTS(shiftState(state, code, { tabSize: state.tabSize + 1 }));
|
|
1394
|
+
code += '\n';
|
|
1395
|
+
});
|
|
1396
|
+
|
|
1397
|
+
code += indent(state.tabSize) + '}\n';
|
|
1398
|
+
return code;
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
getNamespace(): string {
|
|
1402
|
+
if (this.parentNode) {
|
|
1403
|
+
let parentNodeNamespace = '';
|
|
1404
|
+
if ((this.parentNode as Namespace).getNamespace) {
|
|
1405
|
+
parentNodeNamespace = (this.parentNode as Namespace).getNamespace();
|
|
1406
|
+
} else if ((this.parentNode as View).getNamespace) {
|
|
1407
|
+
parentNodeNamespace = `${(this.parentNode as View).getNamespace()}.${this.parentNode.name}`;
|
|
1408
|
+
}
|
|
1409
|
+
return parentNodeNamespace.includes('.logics.') ? parentNodeNamespace : `${parentNodeNamespace}.logics`;
|
|
1410
|
+
} else
|
|
1411
|
+
throw new Error('无法获取命名空间,请设置 parentNode!');
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
/**
|
|
1415
|
+
* 生成宿主语言的文件路径
|
|
1416
|
+
* @param name 一般不用传,用于 rename
|
|
1417
|
+
*/
|
|
1418
|
+
getEmbeddedFilePath(name = this.name) {
|
|
1419
|
+
return `/embedded/${this.app.name}/logics/${name}.ts`;
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1422
|
+
get calleeKey(): string {
|
|
1423
|
+
return `${this.getNamespace()}.${this.name}`;
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
toEmbeddedTSFile() {
|
|
1427
|
+
let code = `namespace ${this.getNamespace()} {\n`;
|
|
1428
|
+
|
|
1429
|
+
const state = createCompilerState(code, { tabSize: 1 });
|
|
1430
|
+
code += this.toEmbeddedTS(state);
|
|
1431
|
+
code += '}\n';
|
|
1432
|
+
return {
|
|
1433
|
+
code,
|
|
1434
|
+
filePath: this.getEmbeddedFilePath(),
|
|
1435
|
+
sourceMap: state.sourceMap,
|
|
1436
|
+
};
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
public static getDefaultOptions() {
|
|
1440
|
+
return {
|
|
1441
|
+
body: [
|
|
1442
|
+
{
|
|
1443
|
+
concept: 'Start',
|
|
1444
|
+
label: '开始',
|
|
1445
|
+
kind: 'Statement',
|
|
1446
|
+
type: 'Start',
|
|
1447
|
+
},
|
|
1448
|
+
{
|
|
1449
|
+
concept: 'End',
|
|
1450
|
+
label: '结束',
|
|
1451
|
+
kind: 'Statement',
|
|
1452
|
+
type: 'End',
|
|
1453
|
+
},
|
|
1454
|
+
],
|
|
1455
|
+
};
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
async saveStructureOfCallQueryComponents(root?: BaseNode | Logic) {
|
|
1459
|
+
if (!root)
|
|
1460
|
+
root = this;
|
|
1461
|
+
const set = new Set();
|
|
1462
|
+
utils.traverse(({ node }) => {
|
|
1463
|
+
if (node instanceof CallQueryComponent) {
|
|
1464
|
+
set.add(node);
|
|
1465
|
+
}
|
|
1466
|
+
}, { node: root }, {
|
|
1467
|
+
mode: 'anyObject',
|
|
1468
|
+
excludedKeySet: new Set(['parentNode']),
|
|
1469
|
+
});
|
|
1470
|
+
for (const node of set) {
|
|
1471
|
+
(<CallQueryComponent>node).saveStructure();
|
|
1472
|
+
}
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
fake: boolean;
|
|
1476
|
+
//================================================================================
|
|
1477
|
+
// 从这里开始到结尾注释之间的代码由 NASL Workbench 自动生成,请不手动修改!
|
|
1478
|
+
// ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
|
|
1479
|
+
//================================================================================
|
|
1480
|
+
}
|
|
1481
|
+
|
|
1482
|
+
classMap['Logic'] = Logic;
|
|
1483
|
+
export default Logic;
|
|
1484
|
+
//================================================================================
|
|
1485
|
+
// ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑
|
|
1486
|
+
// 自动生成的代码已结束。下面可以手动编写。
|
|
1487
|
+
//================================================================================
|