@lcap/nasl 3.6.0-alpha.1 → 3.6.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) hide show
  1. package/out/bak/translator.js +119 -39
  2. package/out/bak/translator.js.map +1 -1
  3. package/out/breakpoint/generator/BreakpointNode.d.ts +3 -0
  4. package/out/breakpoint/generator/BreakpointNode.js +9 -0
  5. package/out/breakpoint/generator/BreakpointNode.js.map +1 -1
  6. package/out/breakpoint/shared/constants.js +1 -0
  7. package/out/breakpoint/shared/constants.js.map +1 -1
  8. package/out/breakpoint/shared/utils.js +12 -6
  9. package/out/breakpoint/shared/utils.js.map +1 -1
  10. package/out/breakpoint/store/core.js +1 -1
  11. package/out/breakpoint/store/core.js.map +1 -1
  12. package/out/common/BaseNode.d.ts +1 -4
  13. package/out/common/BaseNode.js +23 -37
  14. package/out/common/BaseNode.js.map +1 -1
  15. package/out/concepts/AnonymousFunction__.d.ts +6 -1
  16. package/out/concepts/AnonymousFunction__.js +34 -16
  17. package/out/concepts/AnonymousFunction__.js.map +1 -1
  18. package/out/concepts/App__.d.ts +55 -51
  19. package/out/concepts/App__.js +76 -80
  20. package/out/concepts/App__.js.map +1 -1
  21. package/out/concepts/BackendVariable__.js +10 -2
  22. package/out/concepts/BackendVariable__.js.map +1 -1
  23. package/out/concepts/BindAttribute__.js +16 -6
  24. package/out/concepts/BindAttribute__.js.map +1 -1
  25. package/out/concepts/BindDirective__.d.ts +1 -0
  26. package/out/concepts/BindDirective__.js +19 -4
  27. package/out/concepts/BindDirective__.js.map +1 -1
  28. package/out/concepts/BindEvent__.d.ts +3 -1
  29. package/out/concepts/BindEvent__.js +39 -14
  30. package/out/concepts/BindEvent__.js.map +1 -1
  31. package/out/concepts/BusinessComponent__.d.ts +641 -0
  32. package/out/concepts/BusinessComponent__.js +1921 -0
  33. package/out/concepts/BusinessComponent__.js.map +1 -0
  34. package/out/concepts/BusinessLogic__.d.ts +38 -0
  35. package/out/concepts/BusinessLogic__.js +358 -0
  36. package/out/concepts/BusinessLogic__.js.map +1 -0
  37. package/out/concepts/CallEvent__.d.ts +101 -0
  38. package/out/concepts/CallEvent__.js +280 -0
  39. package/out/concepts/CallEvent__.js.map +1 -0
  40. package/out/concepts/CallFunction__.d.ts +0 -1
  41. package/out/concepts/CallFunction__.js +10 -10
  42. package/out/concepts/CallFunction__.js.map +1 -1
  43. package/out/concepts/CallLogic__.d.ts +2 -0
  44. package/out/concepts/CallLogic__.js +38 -27
  45. package/out/concepts/CallLogic__.js.map +1 -1
  46. package/out/concepts/Constant__.js +7 -6
  47. package/out/concepts/Constant__.js.map +1 -1
  48. package/out/concepts/Destination__.d.ts +1 -1
  49. package/out/concepts/Destination__.js +7 -5
  50. package/out/concepts/Destination__.js.map +1 -1
  51. package/out/concepts/End__.js +2 -1
  52. package/out/concepts/End__.js.map +1 -1
  53. package/out/concepts/Event__.d.ts +14 -0
  54. package/out/concepts/Event__.js +61 -0
  55. package/out/concepts/Event__.js.map +1 -1
  56. package/out/concepts/FrontendType__.d.ts +308 -0
  57. package/out/concepts/FrontendType__.js +605 -0
  58. package/out/concepts/FrontendType__.js.map +1 -0
  59. package/out/concepts/Frontend__.d.ts +0 -88
  60. package/out/concepts/Frontend__.js +1 -143
  61. package/out/concepts/Frontend__.js.map +1 -1
  62. package/out/concepts/Identifier__.d.ts +5 -0
  63. package/out/concepts/Identifier__.js +19 -9
  64. package/out/concepts/Identifier__.js.map +1 -1
  65. package/out/concepts/LogicItem__.d.ts +1 -1
  66. package/out/concepts/LogicItem__.js.map +1 -1
  67. package/out/concepts/Logic__.d.ts +3 -1
  68. package/out/concepts/Logic__.js +31 -21
  69. package/out/concepts/Logic__.js.map +1 -1
  70. package/out/concepts/Match__.d.ts +1 -1
  71. package/out/concepts/MemberExpression__.d.ts +1 -1
  72. package/out/concepts/MemberExpression__.js +3 -3
  73. package/out/concepts/MemberExpression__.js.map +1 -1
  74. package/out/concepts/NewComposite__.js.map +1 -1
  75. package/out/concepts/ParamWithGroup__.d.ts +39 -0
  76. package/out/concepts/ParamWithGroup__.js +85 -0
  77. package/out/concepts/ParamWithGroup__.js.map +1 -0
  78. package/out/concepts/Param__.js +11 -3
  79. package/out/concepts/Param__.js.map +1 -1
  80. package/out/concepts/ProcessElement__.js +9 -1
  81. package/out/concepts/ProcessElement__.js.map +1 -1
  82. package/out/concepts/Return__.js +17 -9
  83. package/out/concepts/Return__.js.map +1 -1
  84. package/out/concepts/ValidationRule__.js +2 -1
  85. package/out/concepts/ValidationRule__.js.map +1 -1
  86. package/out/concepts/Variable__.js +17 -8
  87. package/out/concepts/Variable__.js.map +1 -1
  88. package/out/concepts/ViewElement__.d.ts +17 -1
  89. package/out/concepts/ViewElement__.js +145 -16
  90. package/out/concepts/ViewElement__.js.map +1 -1
  91. package/out/concepts/View__.js +21 -20
  92. package/out/concepts/View__.js.map +1 -1
  93. package/out/concepts/index__.d.ts +5 -0
  94. package/out/concepts/index__.js +5 -0
  95. package/out/concepts/index__.js.map +1 -1
  96. package/out/concepts/utils/asserts.d.ts +258 -3
  97. package/out/concepts/utils/asserts.js +351 -13
  98. package/out/concepts/utils/asserts.js.map +1 -1
  99. package/out/concepts/utils/types.d.ts +20 -3
  100. package/out/generator/genBundleFiles.js +25 -11
  101. package/out/generator/genBundleFiles.js.map +1 -1
  102. package/out/generator/genReleaseBody.js +12 -3
  103. package/out/generator/genReleaseBody.js.map +1 -1
  104. package/out/generator/permission.js +3 -3
  105. package/out/generator/permission.js.map +1 -1
  106. package/out/natural/transformTSCode.js +1 -1
  107. package/out/natural/transformTSCode.js.map +1 -1
  108. package/out/server/extendBaseNode.js +6 -4
  109. package/out/server/extendBaseNode.js.map +1 -1
  110. package/out/server/getLogics.js +62 -27
  111. package/out/server/getLogics.js.map +1 -1
  112. package/out/server/getMemberIdentifier.js +6 -1
  113. package/out/server/getMemberIdentifier.js.map +1 -1
  114. package/out/server/getProcesses.js +3 -3
  115. package/out/server/getProcesses.js.map +1 -1
  116. package/out/server/naslServer.js +40 -19
  117. package/out/server/naslServer.js.map +1 -1
  118. package/out/server/translator.js +6 -1
  119. package/out/server/translator.js.map +1 -1
  120. package/out/service/storage/init.js +1 -2
  121. package/out/service/storage/init.js.map +1 -1
  122. package/out/templator/genCreateBlock.js +6 -6
  123. package/out/templator/genCreateBlock.js.map +1 -1
  124. package/out/templator/genCurdEditMultipleKeyBlock.js +16 -16
  125. package/out/templator/genCurdEditMultipleKeyBlock.js.map +1 -1
  126. package/out/templator/genCurdMultipleKeyBlock.js +36 -36
  127. package/out/templator/genCurdMultipleKeyBlock.js.map +1 -1
  128. package/out/templator/genGetBlock.js +6 -5
  129. package/out/templator/genGetBlock.js.map +1 -1
  130. package/out/templator/genGridViewBlock.js +12 -12
  131. package/out/templator/genGridViewBlock.js.map +1 -1
  132. package/out/templator/genListViewBlock.js +4 -4
  133. package/out/templator/genListViewBlock.js.map +1 -1
  134. package/out/templator/genSelectBlock.js +3 -3
  135. package/out/templator/genSelectBlock.js.map +1 -1
  136. package/out/templator/genTableBlock.js +10 -10
  137. package/out/templator/genTableBlock.js.map +1 -1
  138. package/out/templator/genUpdateBlock.js +10 -9
  139. package/out/templator/genUpdateBlock.js.map +1 -1
  140. package/out/templator/utils.d.ts +2 -2
  141. package/out/templator/utils.js.map +1 -1
  142. package/out/translator/utils.js +12 -1
  143. package/out/translator/utils.js.map +1 -1
  144. package/out/utils/i18nInfo.js +7 -2
  145. package/out/utils/i18nInfo.js.map +1 -1
  146. package/out/utils/index.d.ts +17 -0
  147. package/out/utils/index.js +184 -1
  148. package/out/utils/index.js.map +1 -1
  149. package/package.json +2 -2
  150. package/src/bak/translator.js +121 -43
  151. package/src/breakpoint/generator/BreakpointNode.ts +12 -0
  152. package/src/breakpoint/shared/constants.ts +1 -0
  153. package/src/breakpoint/shared/utils.ts +13 -8
  154. package/src/breakpoint/store/core.ts +1 -1
  155. package/src/common/BaseNode.ts +22 -41
  156. package/src/concepts/AnonymousFunction__.ts +36 -18
  157. package/src/concepts/App__.ts +129 -130
  158. package/src/concepts/BackendVariable__.ts +10 -2
  159. package/src/concepts/BindAttribute__.ts +14 -6
  160. package/src/concepts/BindDirective__.ts +19 -4
  161. package/src/concepts/BindEvent__.ts +41 -13
  162. package/src/concepts/BusinessComponent__.ts +2693 -0
  163. package/src/concepts/BusinessLogic__.ts +376 -0
  164. package/src/concepts/CallEvent__.ts +351 -0
  165. package/src/concepts/CallFunction__.ts +10 -13
  166. package/src/concepts/CallLogic__.ts +45 -32
  167. package/src/concepts/Constant__.ts +5 -7
  168. package/src/concepts/Destination__.ts +7 -5
  169. package/src/concepts/End__.ts +1 -0
  170. package/src/concepts/Event__.ts +70 -0
  171. package/src/concepts/FrontendType__.ts +919 -0
  172. package/src/concepts/Frontend__.ts +3 -251
  173. package/src/concepts/Identifier__.ts +29 -13
  174. package/src/concepts/LogicItem__.ts +1 -0
  175. package/src/concepts/Logic__.ts +36 -23
  176. package/src/concepts/MemberExpression__.ts +3 -3
  177. package/src/concepts/NewComposite__.ts +4 -6
  178. package/src/concepts/ParamWithGroup__.ts +101 -0
  179. package/src/concepts/Param__.ts +11 -3
  180. package/src/concepts/ProcessElement__.ts +8 -1
  181. package/src/concepts/Return__.ts +15 -12
  182. package/src/concepts/ValidationRule__.ts +6 -1
  183. package/src/concepts/Variable__.ts +17 -9
  184. package/src/concepts/ViewElement__.ts +168 -33
  185. package/src/concepts/View__.ts +23 -20
  186. package/src/concepts/index__.ts +5 -0
  187. package/src/concepts/utils/asserts.ts +367 -4
  188. package/src/concepts/utils/types.ts +28 -0
  189. package/src/generator/genBundleFiles.ts +33 -15
  190. package/src/generator/genReleaseBody.ts +14 -3
  191. package/src/generator/permission.ts +8 -6
  192. package/src/natural/transformTSCode.ts +1 -1
  193. package/src/server/extendBaseNode.ts +22 -20
  194. package/src/server/getLogics.ts +79 -41
  195. package/src/server/getMemberIdentifier.ts +7 -1
  196. package/src/server/getProcesses.ts +3 -3
  197. package/src/server/naslServer.ts +44 -20
  198. package/src/server/translator.ts +7 -1
  199. package/src/service/storage/init.ts +1 -2
  200. package/src/templator/genCreateBlock.ts +6 -6
  201. package/src/templator/genCurdEditMultipleKeyBlock.ts +16 -16
  202. package/src/templator/genCurdMultipleKeyBlock.ts +36 -36
  203. package/src/templator/genGetBlock.ts +6 -5
  204. package/src/templator/genGridViewBlock.ts +12 -12
  205. package/src/templator/genListViewBlock.ts +4 -4
  206. package/src/templator/genSelectBlock.ts +3 -3
  207. package/src/templator/genTableBlock.ts +10 -10
  208. package/src/templator/genUpdateBlock.ts +10 -9
  209. package/src/templator/utils.ts +2 -2
  210. package/src/translator/utils.ts +12 -1
  211. package/src/utils/i18nInfo.ts +7 -2
  212. package/src/utils/index.ts +211 -1
  213. package/test/concepts/call-function/fixtures/from-string.json +68 -59
  214. package/test/concepts/call-function/fixtures/to-string-global-tz.json +67 -58
  215. package/test/concepts/call-function/fixtures/to-string-no-tz.json +57 -48
  216. package/test/concepts/call-function/fixtures/to-string-user-tz.json +69 -60
  217. package/test/concepts/call-function/fixtures/to-string-utc-tz.json +69 -60
  218. package/test/concepts/call-interface/fixtures/only-interface.json +81 -72
  219. package/test/concepts/call-interface/fixtures/with-body-complex-argument.json +223 -214
  220. package/test/concepts/call-interface/fixtures/with-body-no-argument.json +85 -76
  221. package/test/concepts/call-interface/fixtures/with-body-simple-argument.json +100 -91
  222. package/test/concepts/call-interface/fixtures/with-headers-no-argument.json +88 -79
  223. package/test/concepts/call-interface/fixtures/with-headers.json +90 -81
  224. package/test/concepts/call-interface/fixtures/with-query-no-argument.json +88 -79
  225. package/test/concepts/call-interface/fixtures/with-query.json +90 -81
  226. package/test/concepts/call-logic/__snapshots__/getQuickInfoOffset.spec.ts.snap +4 -2
  227. package/test/concepts/call-logic/fixtures/entries-get-with-arguments.json +104 -95
  228. package/test/concepts/call-logic/fixtures/entries-update-with-arguments.json +209 -200
  229. package/test/concepts/call-logic/fixtures/global-logic-argument-no-expression.json +97 -88
  230. package/test/concepts/call-logic/fixtures/global-logic-argument-some-expression.json +124 -115
  231. package/test/concepts/call-logic/fixtures/json-deserialize.json +120 -111
  232. package/test/concepts/call-logic/fixtures/json-serialize-with-string.json +124 -115
  233. package/test/concepts/call-logic/fixtures/json-serialize.json +124 -115
  234. package/test/concepts/call-logic/fixtures/view-buildin-logic-with-argument.json +91 -82
  235. package/test/concepts/call-logic/fixtures/view-component-logic-no-argument.json +88 -79
  236. package/test/concepts/call-logic/fixtures/view-component-with-validation.json +144 -135
  237. package/test/concepts/identifier/fixtures/view-variable.json +145 -136
  238. package/test/concepts/view-element/__snapshots__/toVue.spec.ts.snap +1 -1
  239. package/test/concepts/view-element/fixtures/default-login.json +221 -212
  240. package/test/concepts/view-element/fixtures/default-not-found.json +183 -174
  241. package/test/concepts/view-element/fixtures/with-role-auth.json +91 -82
  242. package/test/concepts/view-element/fixtures/with-table.json +1894 -1885
  243. package/test/concepts/view-element/toVue.spec.ts +1 -0
  244. package/ts-worker/package.json +1 -1
  245. package/ts-worker/src/index.js +1 -0
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isStrictTransactional = exports.isStrictInterfaceParam = exports.isStrictInterface = exports.isStrictAnonymousFunction = exports.isStrictFunction = exports.isStrictConstant = exports.isStrictFrontendVariable = exports.isStrictBackendVariable = exports.isStrictVariable = exports.isStrictReturn = exports.isStrictParam = exports.isStrictOverriddenLogic = exports.isStrictAuthLogicForCallInterface = exports.isStrictAuthLogic = exports.isStrictLogic = exports.isStrictStaticString = exports.isStrictTheme = exports.isStrictSlot = exports.isStrictEvent = exports.isStrictAttribute = exports.isStrictViewComponent = exports.isStrictBindStyle = exports.isStrictBindEvent = exports.isStrictBindDirective = exports.isStrictBindAttribute = exports.isStrictViewElement = exports.isStrictView = exports.isStrictMetadataType = exports.isStrictEntityIndex = exports.isStrictEntityProperty = exports.isStrictEntity = exports.isStrictDataSource = exports.isStrictEnumItem = exports.isStrictEnum = exports.isStrictStructureProperty = exports.isStrictStructure = exports.isStrictTypeParam = exports.isStrictDatabaseTypeAnnotation = exports.isStrictTypeAnnotation = exports.isStrictMicroApp = exports.isStrictIntegration = exports.isStrictBackend = exports.isStrictFrontend = exports.isStrictNamespace = exports.isStrictModule = exports.isStrictApp = exports.assertFileNode = exports.isFileNode = exports.assertBaseNode = exports.isBaseNode = void 0;
4
- exports.isStrictOqlQueryComponent = exports.isStrictSqlQueryComponent = exports.isStrictQueryLimitExpression = exports.isStrictQuerySelectExpression = exports.isStrictQueryGroupByExpression = exports.isStrictQueryOrderByExpression = exports.isStrictQueryAggregateExpression = exports.isStrictQueryFieldExpression = exports.isStrictQueryJoinExpression = exports.isStrictQueryFromExpression = exports.isStrictCallQueryComponent = exports.isStrictNewMap = exports.isStrictNewList = exports.isStrictNewComposite = exports.isStrictNew = exports.isStrictUnparsed = exports.isStrictMemberExpression = exports.isStrictUnaryExpression = exports.isStrictMatch = exports.isStrictMatchCase = exports.isStrictBinaryExpression = exports.isStrictNumericLiteral = exports.isStrictStringInterpolation = exports.isStrictStringLiteral = exports.isStrictBooleanLiteral = exports.isStrictNullLiteral = exports.isStrictIdentifier = exports.isStrictBlock = exports.isStrictJavaLogic = exports.isStrictJSBlock = exports.isStrictAnchor = exports.isStrictArgument = exports.isStrictValidationRule = exports.isStrictExternalDestination = exports.isStrictDestination = exports.isStrictCallInterface = exports.isStrictCallFunction = exports.isStrictCallLogic = exports.isStrictComment = exports.isStrictBatchAssignment = exports.isStrictAssignment = exports.isStrictWhileStatement = exports.isStrictForEachStatement = exports.isStrictSwitchCase = exports.isStrictSwitchStatement = exports.isStrictIfStatement = exports.isStrictEnd = exports.isStrictStart = exports.isStrictAbort = exports.isStrictDefaultValue = void 0;
5
- exports.isEntityProperty = exports.isEntity = exports.isDataSource = exports.isEnumItem = exports.isEnum = exports.isStructureProperty = exports.isStructure = exports.isTypeParam = exports.isDatabaseTypeAnnotation = exports.isTypeAnnotation = exports.isMicroApp = exports.isIntegration = exports.isBackend = exports.isFrontend = exports.isNamespace = exports.isModule = exports.isApp = exports.isStrictConnection = exports.isStrictCallConnector = exports.isStrictConnector = exports.isStrictMsgTriggerLauncher = exports.isStrictTriggerLauncher = exports.isStrictConnectorTrigger = exports.isStrictMsgTriggerEvent = exports.isStrictTriggerEvent = exports.isStrictCallAuthInterface = exports.isStrictAuthInterface = exports.isStrictViewBlock = exports.isStrictFrontendLibrary = exports.isStrictAssignmentLine = exports.isStrictSelectMembers = exports.isStrictRect = exports.isStrictPoint = exports.isStrictUseComponent = exports.isStrictCompletionProperty = exports.isStrictI18nInfo = exports.isStrictConfigPropertyValue = exports.isStrictConfigProperty = exports.isStrictConfigGroup = exports.isStrictConfiguration = exports.isStrictRole = exports.isStrictCountersignPolicy = exports.isStrictSequentialPolicy = exports.isStrictMultiApprovalPolicy = exports.isStrictProcessOutcomes = exports.isStrictAssignee = exports.isStrictProcessOutcome = exports.isStrictProcessComponent = exports.isStrictProcessElement = exports.isStrictProcess = void 0;
6
- exports.isValidationRule = exports.isExternalDestination = exports.isDestination = exports.isCallInterface = exports.isCallFunction = exports.isCallLogic = exports.isComment = exports.isBatchAssignment = exports.isAssignment = exports.isWhileStatement = exports.isForEachStatement = exports.isSwitchCase = exports.isSwitchStatement = exports.isIfStatement = exports.isEnd = exports.isStart = exports.isAbort = exports.isDefaultValue = exports.isTransactional = exports.isInterfaceParam = exports.isImportedInterface = exports.isInterface = exports.isAnonymousFunction = exports.isFunction = exports.isLogicItem = exports.isConstant = exports.isFrontendVariable = exports.isBackendVariable = exports.isVariable = exports.isReturn = exports.isParam = exports.isAbstractInterface = exports.isOverriddenLogic = exports.isAuthLogicForCallInterface = exports.isAuthLogic = exports.isLogic = exports.isStaticString = exports.isTheme = exports.isSlot = exports.isEvent = exports.isAttribute = exports.isViewComponent = exports.isBindStyle = exports.isBindEvent = exports.isBindDirective = exports.isBindAttribute = exports.isViewElement = exports.isView = exports.isMetadataType = exports.isEntityIndex = void 0;
7
- exports.isPoint = exports.isUseComponent = exports.isCompletionProperty = exports.isI18nInfo = exports.isConfigPropertyValue = exports.isConfigProperty = exports.isConfigGroup = exports.isConfiguration = exports.isRole = exports.isCountersignPolicy = exports.isSequentialPolicy = exports.isMultiApprovalPolicy = exports.isProcessOutcomes = exports.isAssignee = exports.isProcessOutcome = exports.isProcessComponent = exports.isProcessElement = exports.isProcess = exports.isOqlQueryComponent = exports.isSqlQueryComponent = exports.isQueryLimitExpression = exports.isQuerySelectExpression = exports.isQueryGroupByExpression = exports.isQueryOrderByExpression = exports.isQueryAggregateExpression = exports.isQueryFieldExpression = exports.isQueryJoinExpression = exports.isQueryFromExpression = exports.isCallQueryComponent = exports.isNewMap = exports.isNewList = exports.isNewComposite = exports.isNew = exports.isUnparsed = exports.isMemberExpression = exports.isUnaryExpression = exports.isMatch = exports.isMatchCase = exports.isBinaryExpression = exports.isNumericLiteral = exports.isStringInterpolation = exports.isStringLiteral = exports.isBooleanLiteral = exports.isNullLiteral = exports.isIdentifier = exports.isBlock = exports.isJavaLogic = exports.isJSBlock = exports.isAnchor = exports.isArgument = void 0;
8
- exports.assertStrictOverriddenLogic = exports.assertStrictAuthLogicForCallInterface = exports.assertStrictAuthLogic = exports.assertStrictLogic = exports.assertStrictStaticString = exports.assertStrictTheme = exports.assertStrictSlot = exports.assertStrictEvent = exports.assertStrictAttribute = exports.assertStrictViewComponent = exports.assertStrictBindStyle = exports.assertStrictBindEvent = exports.assertStrictBindDirective = exports.assertStrictBindAttribute = exports.assertStrictViewElement = exports.assertStrictView = exports.assertStrictMetadataType = exports.assertStrictEntityIndex = exports.assertStrictEntityProperty = exports.assertStrictEntity = exports.assertStrictDataSource = exports.assertStrictEnumItem = exports.assertStrictEnum = exports.assertStrictStructureProperty = exports.assertStrictStructure = exports.assertStrictTypeParam = exports.assertStrictDatabaseTypeAnnotation = exports.assertStrictTypeAnnotation = exports.assertStrictMicroApp = exports.assertStrictIntegration = exports.assertStrictBackend = exports.assertStrictFrontend = exports.assertStrictNamespace = exports.assertStrictModule = exports.assertStrictApp = exports.isConnection = exports.isCallConnector = exports.isConnector = exports.isMsgTriggerLauncher = exports.isTriggerLauncher = exports.isConnectorTrigger = exports.isMsgTriggerEvent = exports.isTriggerEvent = exports.isCallAuthInterface = exports.isAuthInterface = exports.isViewBlock = exports.isFrontendLibrary = exports.isAssignmentLine = exports.isSelectMembers = exports.isRect = void 0;
9
- exports.assertStrictNewMap = exports.assertStrictNewList = exports.assertStrictNewComposite = exports.assertStrictNew = exports.assertStrictUnparsed = exports.assertStrictMemberExpression = exports.assertStrictUnaryExpression = exports.assertStrictMatch = exports.assertStrictMatchCase = exports.assertStrictBinaryExpression = exports.assertStrictNumericLiteral = exports.assertStrictStringInterpolation = exports.assertStrictStringLiteral = exports.assertStrictBooleanLiteral = exports.assertStrictNullLiteral = exports.assertStrictIdentifier = exports.assertStrictBlock = exports.assertStrictJavaLogic = exports.assertStrictJSBlock = exports.assertStrictAnchor = exports.assertStrictArgument = exports.assertStrictValidationRule = exports.assertStrictExternalDestination = exports.assertStrictDestination = exports.assertStrictCallInterface = exports.assertStrictCallFunction = exports.assertStrictCallLogic = exports.assertStrictComment = exports.assertStrictBatchAssignment = exports.assertStrictAssignment = exports.assertStrictWhileStatement = exports.assertStrictForEachStatement = exports.assertStrictSwitchCase = exports.assertStrictSwitchStatement = exports.assertStrictIfStatement = exports.assertStrictEnd = exports.assertStrictStart = exports.assertStrictAbort = exports.assertStrictDefaultValue = exports.assertStrictTransactional = exports.assertStrictInterfaceParam = exports.assertStrictInterface = exports.assertStrictAnonymousFunction = exports.assertStrictFunction = exports.assertStrictConstant = exports.assertStrictFrontendVariable = exports.assertStrictBackendVariable = exports.assertStrictVariable = exports.assertStrictReturn = exports.assertStrictParam = void 0;
10
- exports.assertIntegration = exports.assertBackend = exports.assertFrontend = exports.assertNamespace = exports.assertModule = exports.assertApp = exports.assertStrictConnection = exports.assertStrictCallConnector = exports.assertStrictConnector = exports.assertStrictMsgTriggerLauncher = exports.assertStrictTriggerLauncher = exports.assertStrictConnectorTrigger = exports.assertStrictMsgTriggerEvent = exports.assertStrictTriggerEvent = exports.assertStrictCallAuthInterface = exports.assertStrictAuthInterface = exports.assertStrictViewBlock = exports.assertStrictFrontendLibrary = exports.assertStrictAssignmentLine = exports.assertStrictSelectMembers = exports.assertStrictRect = exports.assertStrictPoint = exports.assertStrictUseComponent = exports.assertStrictCompletionProperty = exports.assertStrictI18nInfo = exports.assertStrictConfigPropertyValue = exports.assertStrictConfigProperty = exports.assertStrictConfigGroup = exports.assertStrictConfiguration = exports.assertStrictRole = exports.assertStrictCountersignPolicy = exports.assertStrictSequentialPolicy = exports.assertStrictMultiApprovalPolicy = exports.assertStrictProcessOutcomes = exports.assertStrictAssignee = exports.assertStrictProcessOutcome = exports.assertStrictProcessComponent = exports.assertStrictProcessElement = exports.assertStrictProcess = exports.assertStrictOqlQueryComponent = exports.assertStrictSqlQueryComponent = exports.assertStrictQueryLimitExpression = exports.assertStrictQuerySelectExpression = exports.assertStrictQueryGroupByExpression = exports.assertStrictQueryOrderByExpression = exports.assertStrictQueryAggregateExpression = exports.assertStrictQueryFieldExpression = exports.assertStrictQueryJoinExpression = exports.assertStrictQueryFromExpression = exports.assertStrictCallQueryComponent = void 0;
11
- exports.assertSwitchCase = exports.assertSwitchStatement = exports.assertIfStatement = exports.assertEnd = exports.assertStart = exports.assertAbort = exports.assertDefaultValue = exports.assertTransactional = exports.assertInterfaceParam = exports.assertImportedInterface = exports.assertInterface = exports.assertAnonymousFunction = exports.assertFunction = exports.assertLogicItem = exports.assertConstant = exports.assertFrontendVariable = exports.assertBackendVariable = exports.assertVariable = exports.assertReturn = exports.assertParam = exports.assertAbstractInterface = exports.assertOverriddenLogic = exports.assertAuthLogicForCallInterface = exports.assertAuthLogic = exports.assertLogic = exports.assertStaticString = exports.assertTheme = exports.assertSlot = exports.assertEvent = exports.assertAttribute = exports.assertViewComponent = exports.assertBindStyle = exports.assertBindEvent = exports.assertBindDirective = exports.assertBindAttribute = exports.assertViewElement = exports.assertView = exports.assertMetadataType = exports.assertEntityIndex = exports.assertEntityProperty = exports.assertEntity = exports.assertDataSource = exports.assertEnumItem = exports.assertEnum = exports.assertStructureProperty = exports.assertStructure = exports.assertTypeParam = exports.assertDatabaseTypeAnnotation = exports.assertTypeAnnotation = exports.assertMicroApp = void 0;
12
- exports.assertMultiApprovalPolicy = exports.assertProcessOutcomes = exports.assertAssignee = exports.assertProcessOutcome = exports.assertProcessComponent = exports.assertProcessElement = exports.assertProcess = exports.assertOqlQueryComponent = exports.assertSqlQueryComponent = exports.assertQueryLimitExpression = exports.assertQuerySelectExpression = exports.assertQueryGroupByExpression = exports.assertQueryOrderByExpression = exports.assertQueryAggregateExpression = exports.assertQueryFieldExpression = exports.assertQueryJoinExpression = exports.assertQueryFromExpression = exports.assertCallQueryComponent = exports.assertNewMap = exports.assertNewList = exports.assertNewComposite = exports.assertNew = exports.assertUnparsed = exports.assertMemberExpression = exports.assertUnaryExpression = exports.assertMatch = exports.assertMatchCase = exports.assertBinaryExpression = exports.assertNumericLiteral = exports.assertStringInterpolation = exports.assertStringLiteral = exports.assertBooleanLiteral = exports.assertNullLiteral = exports.assertIdentifier = exports.assertBlock = exports.assertJavaLogic = exports.assertJSBlock = exports.assertAnchor = exports.assertArgument = exports.assertValidationRule = exports.assertExternalDestination = exports.assertDestination = exports.assertCallInterface = exports.assertCallFunction = exports.assertCallLogic = exports.assertComment = exports.assertBatchAssignment = exports.assertAssignment = exports.assertWhileStatement = exports.assertForEachStatement = void 0;
13
- exports.assertConnection = exports.assertCallConnector = exports.assertConnector = exports.assertMsgTriggerLauncher = exports.assertTriggerLauncher = exports.assertConnectorTrigger = exports.assertMsgTriggerEvent = exports.assertTriggerEvent = exports.assertCallAuthInterface = exports.assertAuthInterface = exports.assertViewBlock = exports.assertFrontendLibrary = exports.assertAssignmentLine = exports.assertSelectMembers = exports.assertRect = exports.assertPoint = exports.assertUseComponent = exports.assertCompletionProperty = exports.assertI18nInfo = exports.assertConfigPropertyValue = exports.assertConfigProperty = exports.assertConfigGroup = exports.assertConfiguration = exports.assertRole = exports.assertCountersignPolicy = exports.assertSequentialPolicy = void 0;
3
+ exports.isStrictFunction = exports.isStrictConstant = exports.isStrictFrontendVariable = exports.isStrictBackendVariable = exports.isStrictVariable = exports.isStrictReturn = exports.isStrictParamWithGroup = exports.isStrictParam = exports.isStrictOverriddenLogic = exports.isStrictAuthLogicForCallInterface = exports.isStrictBusinessLogic = exports.isStrictAuthLogic = exports.isStrictLogic = exports.isStrictStaticString = exports.isStrictTheme = exports.isStrictSlot = exports.isStrictEvent = exports.isStrictAttribute = exports.isStrictBusinessComponent = exports.isStrictViewComponent = exports.isStrictBindStyle = exports.isStrictBindEvent = exports.isStrictBindDirective = exports.isStrictBindAttribute = exports.isStrictViewElement = exports.isStrictView = exports.isStrictMetadataType = exports.isStrictEntityIndex = exports.isStrictEntityProperty = exports.isStrictEntity = exports.isStrictDataSource = exports.isStrictEnumItem = exports.isStrictEnum = exports.isStrictStructureProperty = exports.isStrictStructure = exports.isStrictTypeParam = exports.isStrictDatabaseTypeAnnotation = exports.isStrictTypeAnnotation = exports.isStrictMicroApp = exports.isStrictIntegration = exports.isStrictBackend = exports.isStrictFrontend = exports.isStrictFrontendType = exports.isStrictNamespace = exports.isStrictModule = exports.isStrictApp = exports.assertFileNode = exports.isFileNode = exports.assertBaseNode = exports.isBaseNode = void 0;
4
+ exports.isStrictQueryOrderByExpression = exports.isStrictQueryAggregateExpression = exports.isStrictQueryFieldExpression = exports.isStrictQueryJoinExpression = exports.isStrictQueryFromExpression = exports.isStrictCallQueryComponent = exports.isStrictNewMap = exports.isStrictNewList = exports.isStrictNewComposite = exports.isStrictNew = exports.isStrictUnparsed = exports.isStrictMemberExpression = exports.isStrictUnaryExpression = exports.isStrictMatch = exports.isStrictMatchCase = exports.isStrictBinaryExpression = exports.isStrictNumericLiteral = exports.isStrictStringInterpolation = exports.isStrictStringLiteral = exports.isStrictBooleanLiteral = exports.isStrictNullLiteral = exports.isStrictIdentifier = exports.isStrictBlock = exports.isStrictJavaLogic = exports.isStrictJSBlock = exports.isStrictAnchor = exports.isStrictArgument = exports.isStrictValidationRule = exports.isStrictExternalDestination = exports.isStrictDestination = exports.isStrictCallInterface = exports.isStrictCallFunction = exports.isStrictCallEvent = exports.isStrictCallLogic = exports.isStrictComment = exports.isStrictBatchAssignment = exports.isStrictAssignment = exports.isStrictWhileStatement = exports.isStrictForEachStatement = exports.isStrictSwitchCase = exports.isStrictSwitchStatement = exports.isStrictIfStatement = exports.isStrictEnd = exports.isStrictStart = exports.isStrictAbort = exports.isStrictDefaultValue = exports.isStrictTransactional = exports.isStrictInterfaceParam = exports.isStrictInterface = exports.isStrictAnonymousFunction = void 0;
5
+ exports.isStructure = exports.isTypeParam = exports.isDatabaseTypeAnnotation = exports.isTypeAnnotation = exports.isMicroApp = exports.isIntegration = exports.isBackend = exports.isFrontend = exports.isFrontendType = exports.isNamespace = exports.isModule = exports.isApp = exports.isStrictConnection = exports.isStrictCallConnector = exports.isStrictConnector = exports.isStrictMsgTriggerLauncher = exports.isStrictTriggerLauncher = exports.isStrictConnectorTrigger = exports.isStrictMsgTriggerEvent = exports.isStrictTriggerEvent = exports.isStrictCallAuthInterface = exports.isStrictAuthInterface = exports.isStrictViewBlock = exports.isStrictFrontendLibrary = exports.isStrictAssignmentLine = exports.isStrictSelectMembers = exports.isStrictRect = exports.isStrictPoint = exports.isStrictUseComponent = exports.isStrictCompletionProperty = exports.isStrictI18nInfo = exports.isStrictConfigPropertyValue = exports.isStrictConfigProperty = exports.isStrictConfigGroup = exports.isStrictConfiguration = exports.isStrictRole = exports.isStrictCountersignPolicy = exports.isStrictSequentialPolicy = exports.isStrictMultiApprovalPolicy = exports.isStrictProcessOutcomes = exports.isStrictAssignee = exports.isStrictProcessOutcome = exports.isStrictProcessComponent = exports.isStrictProcessElement = exports.isStrictProcess = exports.isStrictOqlQueryComponent = exports.isStrictSqlQueryComponent = exports.isStrictQueryLimitExpression = exports.isStrictQuerySelectExpression = exports.isStrictQueryGroupByExpression = void 0;
6
+ exports.isWhileStatement = exports.isForEachStatement = exports.isSwitchCase = exports.isSwitchStatement = exports.isIfStatement = exports.isEnd = exports.isStart = exports.isAbort = exports.isDefaultValue = exports.isTransactional = exports.isInterfaceParam = exports.isImportedInterface = exports.isInterface = exports.isAnonymousFunction = exports.isFunction = exports.isLogicItem = exports.isConstant = exports.isFrontendVariable = exports.isBackendVariable = exports.isVariable = exports.isReturn = exports.isParamWithGroup = exports.isParam = exports.isAbstractInterface = exports.isOverriddenLogic = exports.isAuthLogicForCallInterface = exports.isBusinessLogic = exports.isAuthLogic = exports.isLogic = exports.isStaticString = exports.isTheme = exports.isSlot = exports.isEvent = exports.isAttribute = exports.isBusinessComponent = exports.isViewComponent = exports.isBindStyle = exports.isBindEvent = exports.isBindDirective = exports.isBindAttribute = exports.isViewElement = exports.isView = exports.isMetadataType = exports.isEntityIndex = exports.isEntityProperty = exports.isEntity = exports.isDataSource = exports.isEnumItem = exports.isEnum = exports.isStructureProperty = void 0;
7
+ exports.isSequentialPolicy = exports.isMultiApprovalPolicy = exports.isProcessOutcomes = exports.isAssignee = exports.isProcessOutcome = exports.isProcessComponent = exports.isProcessElement = exports.isProcess = exports.isOqlQueryComponent = exports.isSqlQueryComponent = exports.isQueryLimitExpression = exports.isQuerySelectExpression = exports.isQueryGroupByExpression = exports.isQueryOrderByExpression = exports.isQueryAggregateExpression = exports.isQueryFieldExpression = exports.isQueryJoinExpression = exports.isQueryFromExpression = exports.isCallQueryComponent = exports.isNewMap = exports.isNewList = exports.isNewComposite = exports.isNew = exports.isUnparsed = exports.isMemberExpression = exports.isUnaryExpression = exports.isMatch = exports.isMatchCase = exports.isBinaryExpression = exports.isNumericLiteral = exports.isStringInterpolation = exports.isStringLiteral = exports.isBooleanLiteral = exports.isNullLiteral = exports.isIdentifier = exports.isBlock = exports.isJavaLogic = exports.isJSBlock = exports.isAnchor = exports.isArgument = exports.isValidationRule = exports.isExternalDestination = exports.isDestination = exports.isCallInterface = exports.isCallFunction = exports.isCallEvent = exports.isCallLogic = exports.isComment = exports.isBatchAssignment = exports.isAssignment = void 0;
8
+ exports.assertStrictBindEvent = exports.assertStrictBindDirective = exports.assertStrictBindAttribute = exports.assertStrictViewElement = exports.assertStrictView = exports.assertStrictMetadataType = exports.assertStrictEntityIndex = exports.assertStrictEntityProperty = exports.assertStrictEntity = exports.assertStrictDataSource = exports.assertStrictEnumItem = exports.assertStrictEnum = exports.assertStrictStructureProperty = exports.assertStrictStructure = exports.assertStrictTypeParam = exports.assertStrictDatabaseTypeAnnotation = exports.assertStrictTypeAnnotation = exports.assertStrictMicroApp = exports.assertStrictIntegration = exports.assertStrictBackend = exports.assertStrictFrontend = exports.assertStrictFrontendType = exports.assertStrictNamespace = exports.assertStrictModule = exports.assertStrictApp = exports.isConnection = exports.isCallConnector = exports.isConnector = exports.isMsgTriggerLauncher = exports.isTriggerLauncher = exports.isConnectorTrigger = exports.isMsgTriggerEvent = exports.isTriggerEvent = exports.isCallAuthInterface = exports.isAuthInterface = exports.isViewBlock = exports.isFrontendLibrary = exports.isAssignmentLine = exports.isSelectMembers = exports.isRect = exports.isPoint = exports.isUseComponent = exports.isCompletionProperty = exports.isI18nInfo = exports.isConfigPropertyValue = exports.isConfigProperty = exports.isConfigGroup = exports.isConfiguration = exports.isRole = exports.isCountersignPolicy = void 0;
9
+ exports.assertStrictIdentifier = exports.assertStrictBlock = exports.assertStrictJavaLogic = exports.assertStrictJSBlock = exports.assertStrictAnchor = exports.assertStrictArgument = exports.assertStrictValidationRule = exports.assertStrictExternalDestination = exports.assertStrictDestination = exports.assertStrictCallInterface = exports.assertStrictCallFunction = exports.assertStrictCallEvent = exports.assertStrictCallLogic = exports.assertStrictComment = exports.assertStrictBatchAssignment = exports.assertStrictAssignment = exports.assertStrictWhileStatement = exports.assertStrictForEachStatement = exports.assertStrictSwitchCase = exports.assertStrictSwitchStatement = exports.assertStrictIfStatement = exports.assertStrictEnd = exports.assertStrictStart = exports.assertStrictAbort = exports.assertStrictDefaultValue = exports.assertStrictTransactional = exports.assertStrictInterfaceParam = exports.assertStrictInterface = exports.assertStrictAnonymousFunction = exports.assertStrictFunction = exports.assertStrictConstant = exports.assertStrictFrontendVariable = exports.assertStrictBackendVariable = exports.assertStrictVariable = exports.assertStrictReturn = exports.assertStrictParamWithGroup = exports.assertStrictParam = exports.assertStrictOverriddenLogic = exports.assertStrictAuthLogicForCallInterface = exports.assertStrictBusinessLogic = exports.assertStrictAuthLogic = exports.assertStrictLogic = exports.assertStrictStaticString = exports.assertStrictTheme = exports.assertStrictSlot = exports.assertStrictEvent = exports.assertStrictAttribute = exports.assertStrictBusinessComponent = exports.assertStrictViewComponent = exports.assertStrictBindStyle = void 0;
10
+ exports.assertStrictAuthInterface = exports.assertStrictViewBlock = exports.assertStrictFrontendLibrary = exports.assertStrictAssignmentLine = exports.assertStrictSelectMembers = exports.assertStrictRect = exports.assertStrictPoint = exports.assertStrictUseComponent = exports.assertStrictCompletionProperty = exports.assertStrictI18nInfo = exports.assertStrictConfigPropertyValue = exports.assertStrictConfigProperty = exports.assertStrictConfigGroup = exports.assertStrictConfiguration = exports.assertStrictRole = exports.assertStrictCountersignPolicy = exports.assertStrictSequentialPolicy = exports.assertStrictMultiApprovalPolicy = exports.assertStrictProcessOutcomes = exports.assertStrictAssignee = exports.assertStrictProcessOutcome = exports.assertStrictProcessComponent = exports.assertStrictProcessElement = exports.assertStrictProcess = exports.assertStrictOqlQueryComponent = exports.assertStrictSqlQueryComponent = exports.assertStrictQueryLimitExpression = exports.assertStrictQuerySelectExpression = exports.assertStrictQueryGroupByExpression = exports.assertStrictQueryOrderByExpression = exports.assertStrictQueryAggregateExpression = exports.assertStrictQueryFieldExpression = exports.assertStrictQueryJoinExpression = exports.assertStrictQueryFromExpression = exports.assertStrictCallQueryComponent = exports.assertStrictNewMap = exports.assertStrictNewList = exports.assertStrictNewComposite = exports.assertStrictNew = exports.assertStrictUnparsed = exports.assertStrictMemberExpression = exports.assertStrictUnaryExpression = exports.assertStrictMatch = exports.assertStrictMatchCase = exports.assertStrictBinaryExpression = exports.assertStrictNumericLiteral = exports.assertStrictStringInterpolation = exports.assertStrictStringLiteral = exports.assertStrictBooleanLiteral = exports.assertStrictNullLiteral = void 0;
11
+ exports.assertParamWithGroup = exports.assertParam = exports.assertAbstractInterface = exports.assertOverriddenLogic = exports.assertAuthLogicForCallInterface = exports.assertBusinessLogic = exports.assertAuthLogic = exports.assertLogic = exports.assertStaticString = exports.assertTheme = exports.assertSlot = exports.assertEvent = exports.assertAttribute = exports.assertBusinessComponent = exports.assertViewComponent = exports.assertBindStyle = exports.assertBindEvent = exports.assertBindDirective = exports.assertBindAttribute = exports.assertViewElement = exports.assertView = exports.assertMetadataType = exports.assertEntityIndex = exports.assertEntityProperty = exports.assertEntity = exports.assertDataSource = exports.assertEnumItem = exports.assertEnum = exports.assertStructureProperty = exports.assertStructure = exports.assertTypeParam = exports.assertDatabaseTypeAnnotation = exports.assertTypeAnnotation = exports.assertMicroApp = exports.assertIntegration = exports.assertBackend = exports.assertFrontend = exports.assertFrontendType = exports.assertNamespace = exports.assertModule = exports.assertApp = exports.assertStrictConnection = exports.assertStrictCallConnector = exports.assertStrictConnector = exports.assertStrictMsgTriggerLauncher = exports.assertStrictTriggerLauncher = exports.assertStrictConnectorTrigger = exports.assertStrictMsgTriggerEvent = exports.assertStrictTriggerEvent = exports.assertStrictCallAuthInterface = void 0;
12
+ exports.assertNewComposite = exports.assertNew = exports.assertUnparsed = exports.assertMemberExpression = exports.assertUnaryExpression = exports.assertMatch = exports.assertMatchCase = exports.assertBinaryExpression = exports.assertNumericLiteral = exports.assertStringInterpolation = exports.assertStringLiteral = exports.assertBooleanLiteral = exports.assertNullLiteral = exports.assertIdentifier = exports.assertBlock = exports.assertJavaLogic = exports.assertJSBlock = exports.assertAnchor = exports.assertArgument = exports.assertValidationRule = exports.assertExternalDestination = exports.assertDestination = exports.assertCallInterface = exports.assertCallFunction = exports.assertCallEvent = exports.assertCallLogic = exports.assertComment = exports.assertBatchAssignment = exports.assertAssignment = exports.assertWhileStatement = exports.assertForEachStatement = exports.assertSwitchCase = exports.assertSwitchStatement = exports.assertIfStatement = exports.assertEnd = exports.assertStart = exports.assertAbort = exports.assertDefaultValue = exports.assertTransactional = exports.assertInterfaceParam = exports.assertImportedInterface = exports.assertInterface = exports.assertAnonymousFunction = exports.assertFunction = exports.assertLogicItem = exports.assertConstant = exports.assertFrontendVariable = exports.assertBackendVariable = exports.assertVariable = exports.assertReturn = void 0;
13
+ exports.assertConnection = exports.assertCallConnector = exports.assertConnector = exports.assertMsgTriggerLauncher = exports.assertTriggerLauncher = exports.assertConnectorTrigger = exports.assertMsgTriggerEvent = exports.assertTriggerEvent = exports.assertCallAuthInterface = exports.assertAuthInterface = exports.assertViewBlock = exports.assertFrontendLibrary = exports.assertAssignmentLine = exports.assertSelectMembers = exports.assertRect = exports.assertPoint = exports.assertUseComponent = exports.assertCompletionProperty = exports.assertI18nInfo = exports.assertConfigPropertyValue = exports.assertConfigProperty = exports.assertConfigGroup = exports.assertConfiguration = exports.assertRole = exports.assertCountersignPolicy = exports.assertSequentialPolicy = exports.assertMultiApprovalPolicy = exports.assertProcessOutcomes = exports.assertAssignee = exports.assertProcessOutcome = exports.assertProcessComponent = exports.assertProcessElement = exports.assertProcess = exports.assertOqlQueryComponent = exports.assertSqlQueryComponent = exports.assertQueryLimitExpression = exports.assertQuerySelectExpression = exports.assertQueryGroupByExpression = exports.assertQueryOrderByExpression = exports.assertQueryAggregateExpression = exports.assertQueryFieldExpression = exports.assertQueryJoinExpression = exports.assertQueryFromExpression = exports.assertCallQueryComponent = exports.assertNewMap = exports.assertNewList = void 0;
14
14
  /**
15
15
  * 判断为节点
16
16
  */
@@ -89,6 +89,21 @@ function isStrictNamespace(node) {
89
89
  return isBaseNode(node) && node.concept === 'Namespace';
90
90
  }
91
91
  exports.isStrictNamespace = isStrictNamespace;
92
+ /**
93
+ * 严格判断输入为 FrontendType 节点
94
+ *
95
+ * @description 仅判断节点本身,不包含继承类
96
+ * @example
97
+ * ```ts
98
+ * if (isStrictFrontendType(node)) {
99
+ * // 在这个花括号内,node 的类型为 FrontendType
100
+ * }
101
+ * ```
102
+ */
103
+ function isStrictFrontendType(node) {
104
+ return isBaseNode(node) && node.concept === 'FrontendType';
105
+ }
106
+ exports.isStrictFrontendType = isStrictFrontendType;
92
107
  /**
93
108
  * 严格判断输入为 Frontend 节点
94
109
  *
@@ -434,6 +449,21 @@ function isStrictViewComponent(node) {
434
449
  return isBaseNode(node) && node.concept === 'ViewComponent';
435
450
  }
436
451
  exports.isStrictViewComponent = isStrictViewComponent;
452
+ /**
453
+ * 严格判断输入为 BusinessComponent 节点
454
+ *
455
+ * @description 仅判断节点本身,不包含继承类
456
+ * @example
457
+ * ```ts
458
+ * if (isStrictBusinessComponent(node)) {
459
+ * // 在这个花括号内,node 的类型为 BusinessComponent
460
+ * }
461
+ * ```
462
+ */
463
+ function isStrictBusinessComponent(node) {
464
+ return isBaseNode(node) && node.concept === 'BusinessComponent';
465
+ }
466
+ exports.isStrictBusinessComponent = isStrictBusinessComponent;
437
467
  /**
438
468
  * 严格判断输入为 Attribute 节点
439
469
  *
@@ -539,6 +569,21 @@ function isStrictAuthLogic(node) {
539
569
  return isBaseNode(node) && node.concept === 'AuthLogic';
540
570
  }
541
571
  exports.isStrictAuthLogic = isStrictAuthLogic;
572
+ /**
573
+ * 严格判断输入为 BusinessLogic 节点
574
+ *
575
+ * @description 仅判断节点本身,不包含继承类
576
+ * @example
577
+ * ```ts
578
+ * if (isStrictBusinessLogic(node)) {
579
+ * // 在这个花括号内,node 的类型为 BusinessLogic
580
+ * }
581
+ * ```
582
+ */
583
+ function isStrictBusinessLogic(node) {
584
+ return isBaseNode(node) && node.concept === 'BusinessLogic';
585
+ }
586
+ exports.isStrictBusinessLogic = isStrictBusinessLogic;
542
587
  /**
543
588
  * 严格判断输入为 AuthLogicForCallInterface 节点
544
589
  *
@@ -584,6 +629,21 @@ function isStrictParam(node) {
584
629
  return isBaseNode(node) && node.concept === 'Param';
585
630
  }
586
631
  exports.isStrictParam = isStrictParam;
632
+ /**
633
+ * 严格判断输入为 ParamWithGroup 节点
634
+ *
635
+ * @description 仅判断节点本身,不包含继承类
636
+ * @example
637
+ * ```ts
638
+ * if (isStrictParamWithGroup(node)) {
639
+ * // 在这个花括号内,node 的类型为 ParamWithGroup
640
+ * }
641
+ * ```
642
+ */
643
+ function isStrictParamWithGroup(node) {
644
+ return isBaseNode(node) && node.concept === 'ParamWithGroup';
645
+ }
646
+ exports.isStrictParamWithGroup = isStrictParamWithGroup;
587
647
  /**
588
648
  * 严格判断输入为 Return 节点
589
649
  *
@@ -929,6 +989,21 @@ function isStrictCallLogic(node) {
929
989
  return isBaseNode(node) && node.concept === 'CallLogic';
930
990
  }
931
991
  exports.isStrictCallLogic = isStrictCallLogic;
992
+ /**
993
+ * 严格判断输入为 CallEvent 节点
994
+ *
995
+ * @description 仅判断节点本身,不包含继承类
996
+ * @example
997
+ * ```ts
998
+ * if (isStrictCallEvent(node)) {
999
+ * // 在这个花括号内,node 的类型为 CallEvent
1000
+ * }
1001
+ * ```
1002
+ */
1003
+ function isStrictCallEvent(node) {
1004
+ return isBaseNode(node) && node.concept === 'CallEvent';
1005
+ }
1006
+ exports.isStrictCallEvent = isStrictCallEvent;
932
1007
  /**
933
1008
  * 严格判断输入为 CallFunction 节点
934
1009
  *
@@ -2032,6 +2107,23 @@ function isNamespace(node) {
2032
2107
  (node.concept === 'Namespace'));
2033
2108
  }
2034
2109
  exports.isNamespace = isNamespace;
2110
+ /**
2111
+ * 判断输入为 FrontendType 节点实例
2112
+ *
2113
+ * @description 包含节点类以及节点继承类的判断
2114
+ * @description 等价于`instanceof`运算,FrontendType 节点没有继承类,此判断等价于`isStrictFrontendType`
2115
+ * @example
2116
+ * ```ts
2117
+ * if (isFrontendType(node)) {
2118
+ * // 在这个花括号内,node 的类型是 FrontendType 或者 FrontendType 继承类型
2119
+ * }
2120
+ * ```
2121
+ */
2122
+ function isFrontendType(node) {
2123
+ return (isBaseNode(node) &&
2124
+ (node.concept === 'FrontendType'));
2125
+ }
2126
+ exports.isFrontendType = isFrontendType;
2035
2127
  /**
2036
2128
  * 判断输入为 Frontend 节点实例
2037
2129
  *
@@ -2423,6 +2515,23 @@ function isViewComponent(node) {
2423
2515
  (node.concept === 'ViewComponent'));
2424
2516
  }
2425
2517
  exports.isViewComponent = isViewComponent;
2518
+ /**
2519
+ * 判断输入为 BusinessComponent 节点实例
2520
+ *
2521
+ * @description 包含节点类以及节点继承类的判断
2522
+ * @description 等价于`instanceof`运算,BusinessComponent 节点没有继承类,此判断等价于`isStrictBusinessComponent`
2523
+ * @example
2524
+ * ```ts
2525
+ * if (isBusinessComponent(node)) {
2526
+ * // 在这个花括号内,node 的类型是 BusinessComponent 或者 BusinessComponent 继承类型
2527
+ * }
2528
+ * ```
2529
+ */
2530
+ function isBusinessComponent(node) {
2531
+ return (isBaseNode(node) &&
2532
+ (node.concept === 'BusinessComponent'));
2533
+ }
2534
+ exports.isBusinessComponent = isBusinessComponent;
2426
2535
  /**
2427
2536
  * 判断输入为 Attribute 节点实例
2428
2537
  *
@@ -2524,6 +2633,7 @@ function isLogic(node) {
2524
2633
  return (isBaseNode(node) &&
2525
2634
  (node.concept === 'Logic' ||
2526
2635
  node.concept === 'AuthLogic' ||
2636
+ node.concept === 'BusinessLogic' ||
2527
2637
  node.concept === 'AuthLogicForCallInterface'));
2528
2638
  }
2529
2639
  exports.isLogic = isLogic;
@@ -2545,6 +2655,23 @@ function isAuthLogic(node) {
2545
2655
  node.concept === 'AuthLogicForCallInterface'));
2546
2656
  }
2547
2657
  exports.isAuthLogic = isAuthLogic;
2658
+ /**
2659
+ * 判断输入为 BusinessLogic 节点实例
2660
+ *
2661
+ * @description 包含节点类以及节点继承类的判断
2662
+ * @description 等价于`instanceof`运算,BusinessLogic 节点没有继承类,此判断等价于`isStrictBusinessLogic`
2663
+ * @example
2664
+ * ```ts
2665
+ * if (isBusinessLogic(node)) {
2666
+ * // 在这个花括号内,node 的类型是 BusinessLogic 或者 BusinessLogic 继承类型
2667
+ * }
2668
+ * ```
2669
+ */
2670
+ function isBusinessLogic(node) {
2671
+ return (isBaseNode(node) &&
2672
+ (node.concept === 'BusinessLogic'));
2673
+ }
2674
+ exports.isBusinessLogic = isBusinessLogic;
2548
2675
  /**
2549
2676
  * 判断输入为 AuthLogicForCallInterface 节点实例
2550
2677
  *
@@ -2603,7 +2730,7 @@ exports.isAbstractInterface = isAbstractInterface;
2603
2730
  * 判断输入为 Param 节点实例
2604
2731
  *
2605
2732
  * @description 包含节点类以及节点继承类的判断
2606
- * @description 等价于`instanceof`运算,Param 节点没有继承类,此判断等价于`isStrictParam`
2733
+ * @description 等价于`instanceof`运算
2607
2734
  * @example
2608
2735
  * ```ts
2609
2736
  * if (isParam(node)) {
@@ -2613,9 +2740,27 @@ exports.isAbstractInterface = isAbstractInterface;
2613
2740
  */
2614
2741
  function isParam(node) {
2615
2742
  return (isBaseNode(node) &&
2616
- (node.concept === 'Param'));
2743
+ (node.concept === 'Param' ||
2744
+ node.concept === 'ParamWithGroup'));
2617
2745
  }
2618
2746
  exports.isParam = isParam;
2747
+ /**
2748
+ * 判断输入为 ParamWithGroup 节点实例
2749
+ *
2750
+ * @description 包含节点类以及节点继承类的判断
2751
+ * @description 等价于`instanceof`运算,ParamWithGroup 节点没有继承类,此判断等价于`isStrictParamWithGroup`
2752
+ * @example
2753
+ * ```ts
2754
+ * if (isParamWithGroup(node)) {
2755
+ * // 在这个花括号内,node 的类型是 ParamWithGroup 或者 ParamWithGroup 继承类型
2756
+ * }
2757
+ * ```
2758
+ */
2759
+ function isParamWithGroup(node) {
2760
+ return (isBaseNode(node) &&
2761
+ (node.concept === 'ParamWithGroup'));
2762
+ }
2763
+ exports.isParamWithGroup = isParamWithGroup;
2619
2764
  /**
2620
2765
  * 判断输入为 Return 节点实例
2621
2766
  *
@@ -2730,6 +2875,7 @@ function isLogicItem(node) {
2730
2875
  node.concept === 'BatchAssignment' ||
2731
2876
  node.concept === 'Comment' ||
2732
2877
  node.concept === 'CallLogic' ||
2878
+ node.concept === 'CallEvent' ||
2733
2879
  node.concept === 'CallFunction' ||
2734
2880
  node.concept === 'CallInterface' ||
2735
2881
  node.concept === 'Destination' ||
@@ -3101,6 +3247,23 @@ function isCallLogic(node) {
3101
3247
  node.concept === 'CallConnector'));
3102
3248
  }
3103
3249
  exports.isCallLogic = isCallLogic;
3250
+ /**
3251
+ * 判断输入为 CallEvent 节点实例
3252
+ *
3253
+ * @description 包含节点类以及节点继承类的判断
3254
+ * @description 等价于`instanceof`运算,CallEvent 节点没有继承类,此判断等价于`isStrictCallEvent`
3255
+ * @example
3256
+ * ```ts
3257
+ * if (isCallEvent(node)) {
3258
+ * // 在这个花括号内,node 的类型是 CallEvent 或者 CallEvent 继承类型
3259
+ * }
3260
+ * ```
3261
+ */
3262
+ function isCallEvent(node) {
3263
+ return (isBaseNode(node) &&
3264
+ (node.concept === 'CallEvent'));
3265
+ }
3266
+ exports.isCallEvent = isCallEvent;
3104
3267
  /**
3105
3268
  * 判断输入为 CallFunction 节点实例
3106
3269
  *
@@ -4348,6 +4511,23 @@ function assertStrictNamespace(node) {
4348
4511
  }
4349
4512
  }
4350
4513
  exports.assertStrictNamespace = assertStrictNamespace;
4514
+ /**
4515
+ * 严格断言为 FrontendType 节点
4516
+ *
4517
+ * @description 仅断言节点本身,不包含继承类
4518
+ * @example
4519
+ * ```ts
4520
+ * assertStrictFrontendType(node);
4521
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 FrontendType 类型
4522
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
4523
+ * ```
4524
+ */
4525
+ function assertStrictFrontendType(node) {
4526
+ if (!isStrictFrontendType(node)) {
4527
+ throw new Error(`FrontendType 节点严格断言失败`);
4528
+ }
4529
+ }
4530
+ exports.assertStrictFrontendType = assertStrictFrontendType;
4351
4531
  /**
4352
4532
  * 严格断言为 Frontend 节点
4353
4533
  *
@@ -4739,6 +4919,23 @@ function assertStrictViewComponent(node) {
4739
4919
  }
4740
4920
  }
4741
4921
  exports.assertStrictViewComponent = assertStrictViewComponent;
4922
+ /**
4923
+ * 严格断言为 BusinessComponent 节点
4924
+ *
4925
+ * @description 仅断言节点本身,不包含继承类
4926
+ * @example
4927
+ * ```ts
4928
+ * assertStrictBusinessComponent(node);
4929
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 BusinessComponent 类型
4930
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
4931
+ * ```
4932
+ */
4933
+ function assertStrictBusinessComponent(node) {
4934
+ if (!isStrictBusinessComponent(node)) {
4935
+ throw new Error(`BusinessComponent 节点严格断言失败`);
4936
+ }
4937
+ }
4938
+ exports.assertStrictBusinessComponent = assertStrictBusinessComponent;
4742
4939
  /**
4743
4940
  * 严格断言为 Attribute 节点
4744
4941
  *
@@ -4858,6 +5055,23 @@ function assertStrictAuthLogic(node) {
4858
5055
  }
4859
5056
  }
4860
5057
  exports.assertStrictAuthLogic = assertStrictAuthLogic;
5058
+ /**
5059
+ * 严格断言为 BusinessLogic 节点
5060
+ *
5061
+ * @description 仅断言节点本身,不包含继承类
5062
+ * @example
5063
+ * ```ts
5064
+ * assertStrictBusinessLogic(node);
5065
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 BusinessLogic 类型
5066
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
5067
+ * ```
5068
+ */
5069
+ function assertStrictBusinessLogic(node) {
5070
+ if (!isStrictBusinessLogic(node)) {
5071
+ throw new Error(`BusinessLogic 节点严格断言失败`);
5072
+ }
5073
+ }
5074
+ exports.assertStrictBusinessLogic = assertStrictBusinessLogic;
4861
5075
  /**
4862
5076
  * 严格断言为 AuthLogicForCallInterface 节点
4863
5077
  *
@@ -4909,6 +5123,23 @@ function assertStrictParam(node) {
4909
5123
  }
4910
5124
  }
4911
5125
  exports.assertStrictParam = assertStrictParam;
5126
+ /**
5127
+ * 严格断言为 ParamWithGroup 节点
5128
+ *
5129
+ * @description 仅断言节点本身,不包含继承类
5130
+ * @example
5131
+ * ```ts
5132
+ * assertStrictParamWithGroup(node);
5133
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 ParamWithGroup 类型
5134
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
5135
+ * ```
5136
+ */
5137
+ function assertStrictParamWithGroup(node) {
5138
+ if (!isStrictParamWithGroup(node)) {
5139
+ throw new Error(`ParamWithGroup 节点严格断言失败`);
5140
+ }
5141
+ }
5142
+ exports.assertStrictParamWithGroup = assertStrictParamWithGroup;
4912
5143
  /**
4913
5144
  * 严格断言为 Return 节点
4914
5145
  *
@@ -5300,6 +5531,23 @@ function assertStrictCallLogic(node) {
5300
5531
  }
5301
5532
  }
5302
5533
  exports.assertStrictCallLogic = assertStrictCallLogic;
5534
+ /**
5535
+ * 严格断言为 CallEvent 节点
5536
+ *
5537
+ * @description 仅断言节点本身,不包含继承类
5538
+ * @example
5539
+ * ```ts
5540
+ * assertStrictCallEvent(node);
5541
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 CallEvent 类型
5542
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
5543
+ * ```
5544
+ */
5545
+ function assertStrictCallEvent(node) {
5546
+ if (!isStrictCallEvent(node)) {
5547
+ throw new Error(`CallEvent 节点严格断言失败`);
5548
+ }
5549
+ }
5550
+ exports.assertStrictCallEvent = assertStrictCallEvent;
5303
5551
  /**
5304
5552
  * 严格断言为 CallFunction 节点
5305
5553
  *
@@ -6545,6 +6793,24 @@ function assertNamespace(node) {
6545
6793
  }
6546
6794
  }
6547
6795
  exports.assertNamespace = assertNamespace;
6796
+ /**
6797
+ * 断言为 FrontendType 节点
6798
+ *
6799
+ * @description 包含节点类以及节点继承类的判断
6800
+ * @description 节点没有继承类时,等价于`assertStrictFrontendType`方法
6801
+ * @example
6802
+ * ```ts
6803
+ * assertFrontendType(node);
6804
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 FrontendType 或者 FrontendType 继承类型
6805
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
6806
+ * ```
6807
+ */
6808
+ function assertFrontendType(node) {
6809
+ if (!isFrontendType(node)) {
6810
+ throw new Error(`FrontendType 节点断言失败`);
6811
+ }
6812
+ }
6813
+ exports.assertFrontendType = assertFrontendType;
6548
6814
  /**
6549
6815
  * 断言为 Frontend 节点
6550
6816
  *
@@ -6959,6 +7225,24 @@ function assertViewComponent(node) {
6959
7225
  }
6960
7226
  }
6961
7227
  exports.assertViewComponent = assertViewComponent;
7228
+ /**
7229
+ * 断言为 BusinessComponent 节点
7230
+ *
7231
+ * @description 包含节点类以及节点继承类的判断
7232
+ * @description 节点没有继承类时,等价于`assertStrictBusinessComponent`方法
7233
+ * @example
7234
+ * ```ts
7235
+ * assertBusinessComponent(node);
7236
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 BusinessComponent 或者 BusinessComponent 继承类型
7237
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
7238
+ * ```
7239
+ */
7240
+ function assertBusinessComponent(node) {
7241
+ if (!isBusinessComponent(node)) {
7242
+ throw new Error(`BusinessComponent 节点断言失败`);
7243
+ }
7244
+ }
7245
+ exports.assertBusinessComponent = assertBusinessComponent;
6962
7246
  /**
6963
7247
  * 断言为 Attribute 节点
6964
7248
  *
@@ -7085,6 +7369,24 @@ function assertAuthLogic(node) {
7085
7369
  }
7086
7370
  }
7087
7371
  exports.assertAuthLogic = assertAuthLogic;
7372
+ /**
7373
+ * 断言为 BusinessLogic 节点
7374
+ *
7375
+ * @description 包含节点类以及节点继承类的判断
7376
+ * @description 节点没有继承类时,等价于`assertStrictBusinessLogic`方法
7377
+ * @example
7378
+ * ```ts
7379
+ * assertBusinessLogic(node);
7380
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 BusinessLogic 或者 BusinessLogic 继承类型
7381
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
7382
+ * ```
7383
+ */
7384
+ function assertBusinessLogic(node) {
7385
+ if (!isBusinessLogic(node)) {
7386
+ throw new Error(`BusinessLogic 节点断言失败`);
7387
+ }
7388
+ }
7389
+ exports.assertBusinessLogic = assertBusinessLogic;
7088
7390
  /**
7089
7391
  * 断言为 AuthLogicForCallInterface 节点
7090
7392
  *
@@ -7157,6 +7459,24 @@ function assertParam(node) {
7157
7459
  }
7158
7460
  }
7159
7461
  exports.assertParam = assertParam;
7462
+ /**
7463
+ * 断言为 ParamWithGroup 节点
7464
+ *
7465
+ * @description 包含节点类以及节点继承类的判断
7466
+ * @description 节点没有继承类时,等价于`assertStrictParamWithGroup`方法
7467
+ * @example
7468
+ * ```ts
7469
+ * assertParamWithGroup(node);
7470
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 ParamWithGroup 或者 ParamWithGroup 继承类型
7471
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
7472
+ * ```
7473
+ */
7474
+ function assertParamWithGroup(node) {
7475
+ if (!isParamWithGroup(node)) {
7476
+ throw new Error(`ParamWithGroup 节点断言失败`);
7477
+ }
7478
+ }
7479
+ exports.assertParamWithGroup = assertParamWithGroup;
7160
7480
  /**
7161
7481
  * 断言为 Return 节点
7162
7482
  *
@@ -7607,6 +7927,24 @@ function assertCallLogic(node) {
7607
7927
  }
7608
7928
  }
7609
7929
  exports.assertCallLogic = assertCallLogic;
7930
+ /**
7931
+ * 断言为 CallEvent 节点
7932
+ *
7933
+ * @description 包含节点类以及节点继承类的判断
7934
+ * @description 节点没有继承类时,等价于`assertStrictCallEvent`方法
7935
+ * @example
7936
+ * ```ts
7937
+ * assertCallEvent(node);
7938
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 CallEvent 或者 CallEvent 继承类型
7939
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
7940
+ * ```
7941
+ */
7942
+ function assertCallEvent(node) {
7943
+ if (!isCallEvent(node)) {
7944
+ throw new Error(`CallEvent 节点断言失败`);
7945
+ }
7946
+ }
7947
+ exports.assertCallEvent = assertCallEvent;
7610
7948
  /**
7611
7949
  * 断言为 CallFunction 节点
7612
7950
  *