@lcap/nasl 3.5.0-beta.4 → 3.6.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (238) hide show
  1. package/out/bak/translator.js +39 -119
  2. package/out/bak/translator.js.map +1 -1
  3. package/out/breakpoint/generator/BreakpointNode.d.ts +0 -3
  4. package/out/breakpoint/generator/BreakpointNode.js +0 -9
  5. package/out/breakpoint/generator/BreakpointNode.js.map +1 -1
  6. package/out/breakpoint/shared/constants.js +0 -1
  7. package/out/breakpoint/shared/constants.js.map +1 -1
  8. package/out/breakpoint/shared/utils.js +7 -31
  9. package/out/breakpoint/shared/utils.js.map +1 -1
  10. package/out/common/BaseNode.d.ts +13 -1
  11. package/out/common/BaseNode.js +52 -23
  12. package/out/common/BaseNode.js.map +1 -1
  13. package/out/common/Command.js +1 -0
  14. package/out/common/Command.js.map +1 -1
  15. package/out/common/EventEmitter.d.ts +1 -1
  16. package/out/common/EventEmitter.js +0 -4
  17. package/out/common/EventEmitter.js.map +1 -1
  18. package/out/concepts/App__.d.ts +76 -51
  19. package/out/concepts/App__.js +190 -87
  20. package/out/concepts/App__.js.map +1 -1
  21. package/out/concepts/BackendVariable__.js +2 -10
  22. package/out/concepts/BackendVariable__.js.map +1 -1
  23. package/out/concepts/BindAttribute__.js +6 -16
  24. package/out/concepts/BindAttribute__.js.map +1 -1
  25. package/out/concepts/BindDirective__.d.ts +0 -1
  26. package/out/concepts/BindDirective__.js +4 -19
  27. package/out/concepts/BindDirective__.js.map +1 -1
  28. package/out/concepts/BindEvent__.d.ts +1 -3
  29. package/out/concepts/BindEvent__.js +13 -38
  30. package/out/concepts/BindEvent__.js.map +1 -1
  31. package/out/concepts/CallFunction__.js +2 -10
  32. package/out/concepts/CallFunction__.js.map +1 -1
  33. package/out/concepts/CallLogic__.d.ts +0 -2
  34. package/out/concepts/CallLogic__.js +27 -38
  35. package/out/concepts/CallLogic__.js.map +1 -1
  36. package/out/concepts/Constant__.js +6 -7
  37. package/out/concepts/Constant__.js.map +1 -1
  38. package/out/concepts/Destination__.d.ts +1 -1
  39. package/out/concepts/Destination__.js +4 -6
  40. package/out/concepts/Destination__.js.map +1 -1
  41. package/out/concepts/End__.js +1 -2
  42. package/out/concepts/End__.js.map +1 -1
  43. package/out/concepts/Entity__.d.ts +1 -1
  44. package/out/concepts/Entity__.js +2 -0
  45. package/out/concepts/Entity__.js.map +1 -1
  46. package/out/concepts/Event__.d.ts +0 -14
  47. package/out/concepts/Event__.js +0 -61
  48. package/out/concepts/Event__.js.map +1 -1
  49. package/out/concepts/Frontend__.d.ts +88 -0
  50. package/out/concepts/Frontend__.js +143 -1
  51. package/out/concepts/Frontend__.js.map +1 -1
  52. package/out/concepts/Identifier__.d.ts +0 -5
  53. package/out/concepts/Identifier__.js +9 -19
  54. package/out/concepts/Identifier__.js.map +1 -1
  55. package/out/concepts/LogicItem__.d.ts +1 -1
  56. package/out/concepts/LogicItem__.js.map +1 -1
  57. package/out/concepts/Logic__.d.ts +1 -3
  58. package/out/concepts/Logic__.js +13 -16
  59. package/out/concepts/Logic__.js.map +1 -1
  60. package/out/concepts/MemberExpression__.d.ts +1 -1
  61. package/out/concepts/MemberExpression__.js +3 -3
  62. package/out/concepts/MemberExpression__.js.map +1 -1
  63. package/out/concepts/NewComposite__.js.map +1 -1
  64. package/out/concepts/Param__.js +3 -11
  65. package/out/concepts/Param__.js.map +1 -1
  66. package/out/concepts/ProcessElement__.js +1 -9
  67. package/out/concepts/ProcessElement__.js.map +1 -1
  68. package/out/concepts/Return__.js +9 -17
  69. package/out/concepts/Return__.js.map +1 -1
  70. package/out/concepts/Variable__.js +8 -17
  71. package/out/concepts/Variable__.js.map +1 -1
  72. package/out/concepts/ViewElement__.d.ts +2 -17
  73. package/out/concepts/ViewElement__.js +31 -143
  74. package/out/concepts/ViewElement__.js.map +1 -1
  75. package/out/concepts/View__.js +6 -6
  76. package/out/concepts/View__.js.map +1 -1
  77. package/out/concepts/index__.d.ts +0 -5
  78. package/out/concepts/index__.js +0 -5
  79. package/out/concepts/index__.js.map +1 -1
  80. package/out/concepts/utils/asserts.d.ts +3 -258
  81. package/out/concepts/utils/asserts.js +13 -351
  82. package/out/concepts/utils/asserts.js.map +1 -1
  83. package/out/concepts/utils/types.d.ts +3 -20
  84. package/out/generator/genBundleFiles.js +11 -25
  85. package/out/generator/genBundleFiles.js.map +1 -1
  86. package/out/generator/genReleaseBody.js +3 -12
  87. package/out/generator/genReleaseBody.js.map +1 -1
  88. package/out/generator/permission.js +3 -3
  89. package/out/generator/permission.js.map +1 -1
  90. package/out/natural/transformTSCode.js +1 -1
  91. package/out/natural/transformTSCode.js.map +1 -1
  92. package/out/server/extendBaseNode.js +22 -6
  93. package/out/server/extendBaseNode.js.map +1 -1
  94. package/out/server/getLogics.js +27 -62
  95. package/out/server/getLogics.js.map +1 -1
  96. package/out/server/getMemberIdentifier.js +1 -6
  97. package/out/server/getMemberIdentifier.js.map +1 -1
  98. package/out/server/naslServer.js +11 -28
  99. package/out/server/naslServer.js.map +1 -1
  100. package/out/server/translator.js +1 -6
  101. package/out/server/translator.js.map +1 -1
  102. package/out/service/storage/init.js +26 -2
  103. package/out/service/storage/init.js.map +1 -1
  104. package/out/templator/genCreateBlock.js +6 -6
  105. package/out/templator/genCreateBlock.js.map +1 -1
  106. package/out/templator/genCurdEditMultipleKeyBlock.js +16 -16
  107. package/out/templator/genCurdEditMultipleKeyBlock.js.map +1 -1
  108. package/out/templator/genCurdMultipleKeyBlock.d.ts +27 -0
  109. package/out/templator/genCurdMultipleKeyBlock.js +709 -37
  110. package/out/templator/genCurdMultipleKeyBlock.js.map +1 -1
  111. package/out/templator/genGetBlock.js +4 -4
  112. package/out/templator/genGetBlock.js.map +1 -1
  113. package/out/templator/genGridViewBlock.js +12 -12
  114. package/out/templator/genGridViewBlock.js.map +1 -1
  115. package/out/templator/genListViewBlock.js +4 -4
  116. package/out/templator/genListViewBlock.js.map +1 -1
  117. package/out/templator/genSelectBlock.js +3 -3
  118. package/out/templator/genSelectBlock.js.map +1 -1
  119. package/out/templator/genTableBlock.d.ts +2 -0
  120. package/out/templator/genTableBlock.js +124 -11
  121. package/out/templator/genTableBlock.js.map +1 -1
  122. package/out/templator/genUpdateBlock.js +8 -8
  123. package/out/templator/genUpdateBlock.js.map +1 -1
  124. package/out/templator/utils.d.ts +2 -2
  125. package/out/templator/utils.js.map +1 -1
  126. package/out/translator/utils.js +18 -0
  127. package/out/translator/utils.js.map +1 -1
  128. package/out/utils/i18nInfo.js +2 -7
  129. package/out/utils/i18nInfo.js.map +1 -1
  130. package/package.json +2 -2
  131. package/src/bak/translator.js +43 -121
  132. package/src/breakpoint/generator/BreakpointNode.ts +0 -12
  133. package/src/breakpoint/shared/constants.ts +0 -1
  134. package/src/breakpoint/shared/utils.ts +10 -37
  135. package/src/common/BaseNode.ts +60 -22
  136. package/src/common/Command.ts +1 -0
  137. package/src/common/EventEmitter.ts +1 -6
  138. package/src/concepts/App__.ts +251 -139
  139. package/src/concepts/BackendVariable__.ts +2 -10
  140. package/src/concepts/BindAttribute__.ts +6 -15
  141. package/src/concepts/BindDirective__.ts +4 -19
  142. package/src/concepts/BindEvent__.ts +12 -40
  143. package/src/concepts/CallFunction__.ts +2 -10
  144. package/src/concepts/CallLogic__.ts +32 -45
  145. package/src/concepts/Constant__.ts +7 -5
  146. package/src/concepts/Destination__.ts +4 -6
  147. package/src/concepts/End__.ts +0 -1
  148. package/src/concepts/Entity__.ts +3 -1
  149. package/src/concepts/Event__.ts +0 -70
  150. package/src/concepts/Frontend__.ts +251 -3
  151. package/src/concepts/Identifier__.ts +13 -29
  152. package/src/concepts/LogicItem__.ts +0 -1
  153. package/src/concepts/Logic__.ts +14 -21
  154. package/src/concepts/MemberExpression__.ts +3 -3
  155. package/src/concepts/NewComposite__.ts +6 -4
  156. package/src/concepts/Param__.ts +3 -11
  157. package/src/concepts/ProcessElement__.ts +1 -8
  158. package/src/concepts/Return__.ts +12 -15
  159. package/src/concepts/Variable__.ts +9 -17
  160. package/src/concepts/ViewElement__.ts +54 -166
  161. package/src/concepts/View__.ts +6 -8
  162. package/src/concepts/index__.ts +0 -5
  163. package/src/concepts/utils/asserts.ts +4 -367
  164. package/src/concepts/utils/types.ts +0 -28
  165. package/src/generator/genBundleFiles.ts +15 -33
  166. package/src/generator/genReleaseBody.ts +3 -14
  167. package/src/generator/permission.ts +6 -8
  168. package/src/natural/transformTSCode.ts +1 -1
  169. package/src/server/extendBaseNode.ts +41 -22
  170. package/src/server/getLogics.ts +41 -79
  171. package/src/server/getMemberIdentifier.ts +1 -7
  172. package/src/server/naslServer.ts +12 -30
  173. package/src/server/translator.ts +1 -7
  174. package/src/service/storage/init.ts +33 -2
  175. package/src/templator/genCreateBlock.ts +6 -6
  176. package/src/templator/genCurdEditMultipleKeyBlock.ts +16 -16
  177. package/src/templator/genCurdMultipleKeyBlock.ts +817 -93
  178. package/src/templator/genGetBlock.ts +4 -4
  179. package/src/templator/genGridViewBlock.ts +12 -12
  180. package/src/templator/genListViewBlock.ts +4 -4
  181. package/src/templator/genSelectBlock.ts +3 -3
  182. package/src/templator/genTableBlock.ts +137 -12
  183. package/src/templator/genUpdateBlock.ts +8 -8
  184. package/src/templator/utils.ts +2 -2
  185. package/src/translator/utils.ts +20 -0
  186. package/src/utils/i18nInfo.ts +2 -7
  187. package/test/concepts/call-function/fixtures/from-string.json +59 -68
  188. package/test/concepts/call-function/fixtures/to-string-global-tz.json +58 -67
  189. package/test/concepts/call-function/fixtures/to-string-no-tz.json +48 -57
  190. package/test/concepts/call-function/fixtures/to-string-user-tz.json +60 -69
  191. package/test/concepts/call-function/fixtures/to-string-utc-tz.json +60 -69
  192. package/test/concepts/call-interface/fixtures/only-interface.json +72 -81
  193. package/test/concepts/call-interface/fixtures/with-body-complex-argument.json +214 -223
  194. package/test/concepts/call-interface/fixtures/with-body-no-argument.json +76 -85
  195. package/test/concepts/call-interface/fixtures/with-body-simple-argument.json +91 -100
  196. package/test/concepts/call-interface/fixtures/with-headers-no-argument.json +79 -88
  197. package/test/concepts/call-interface/fixtures/with-headers.json +81 -90
  198. package/test/concepts/call-interface/fixtures/with-query-no-argument.json +79 -88
  199. package/test/concepts/call-interface/fixtures/with-query.json +81 -90
  200. package/test/concepts/call-logic/__snapshots__/getQuickInfoOffset.spec.ts.snap +2 -4
  201. package/test/concepts/call-logic/fixtures/entries-get-with-arguments.json +95 -104
  202. package/test/concepts/call-logic/fixtures/entries-update-with-arguments.json +200 -209
  203. package/test/concepts/call-logic/fixtures/global-logic-argument-no-expression.json +88 -97
  204. package/test/concepts/call-logic/fixtures/global-logic-argument-some-expression.json +115 -124
  205. package/test/concepts/call-logic/fixtures/json-deserialize.json +111 -120
  206. package/test/concepts/call-logic/fixtures/json-serialize-with-string.json +115 -124
  207. package/test/concepts/call-logic/fixtures/json-serialize.json +115 -124
  208. package/test/concepts/call-logic/fixtures/view-buildin-logic-with-argument.json +82 -91
  209. package/test/concepts/call-logic/fixtures/view-component-logic-no-argument.json +79 -88
  210. package/test/concepts/call-logic/fixtures/view-component-with-validation.json +135 -144
  211. package/test/concepts/identifier/fixtures/view-variable.json +136 -145
  212. package/test/concepts/view-element/__snapshots__/toVue.spec.ts.snap +1 -1
  213. package/test/concepts/view-element/fixtures/default-login.json +212 -221
  214. package/test/concepts/view-element/fixtures/default-not-found.json +174 -183
  215. package/test/concepts/view-element/fixtures/with-role-auth.json +82 -91
  216. package/test/concepts/view-element/fixtures/with-table.json +1834 -1843
  217. package/test/concepts/view-element/toVue.spec.ts +0 -1
  218. package/ts-worker/package.json +1 -1
  219. package/out/concepts/BusinessComponent__.d.ts +0 -641
  220. package/out/concepts/BusinessComponent__.js +0 -1901
  221. package/out/concepts/BusinessComponent__.js.map +0 -1
  222. package/out/concepts/BusinessLogic__.d.ts +0 -38
  223. package/out/concepts/BusinessLogic__.js +0 -358
  224. package/out/concepts/BusinessLogic__.js.map +0 -1
  225. package/out/concepts/CallEvent__.d.ts +0 -97
  226. package/out/concepts/CallEvent__.js +0 -263
  227. package/out/concepts/CallEvent__.js.map +0 -1
  228. package/out/concepts/FrontendType__.d.ts +0 -308
  229. package/out/concepts/FrontendType__.js +0 -605
  230. package/out/concepts/FrontendType__.js.map +0 -1
  231. package/out/concepts/ParamWithGroup__.d.ts +0 -39
  232. package/out/concepts/ParamWithGroup__.js +0 -85
  233. package/out/concepts/ParamWithGroup__.js.map +0 -1
  234. package/src/concepts/BusinessComponent__.ts +0 -2669
  235. package/src/concepts/BusinessLogic__.ts +0 -376
  236. package/src/concepts/CallEvent__.ts +0 -334
  237. package/src/concepts/FrontendType__.ts +0 -919
  238. package/src/concepts/ParamWithGroup__.ts +0 -101
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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;
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;
14
14
  /**
15
15
  * 判断为节点
16
16
  */
@@ -89,21 +89,6 @@ 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;
107
92
  /**
108
93
  * 严格判断输入为 Frontend 节点
109
94
  *
@@ -449,21 +434,6 @@ function isStrictViewComponent(node) {
449
434
  return isBaseNode(node) && node.concept === 'ViewComponent';
450
435
  }
451
436
  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;
467
437
  /**
468
438
  * 严格判断输入为 Attribute 节点
469
439
  *
@@ -569,21 +539,6 @@ function isStrictAuthLogic(node) {
569
539
  return isBaseNode(node) && node.concept === 'AuthLogic';
570
540
  }
571
541
  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;
587
542
  /**
588
543
  * 严格判断输入为 AuthLogicForCallInterface 节点
589
544
  *
@@ -629,21 +584,6 @@ function isStrictParam(node) {
629
584
  return isBaseNode(node) && node.concept === 'Param';
630
585
  }
631
586
  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;
647
587
  /**
648
588
  * 严格判断输入为 Return 节点
649
589
  *
@@ -989,21 +929,6 @@ function isStrictCallLogic(node) {
989
929
  return isBaseNode(node) && node.concept === 'CallLogic';
990
930
  }
991
931
  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;
1007
932
  /**
1008
933
  * 严格判断输入为 CallFunction 节点
1009
934
  *
@@ -2107,23 +2032,6 @@ function isNamespace(node) {
2107
2032
  (node.concept === 'Namespace'));
2108
2033
  }
2109
2034
  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;
2127
2035
  /**
2128
2036
  * 判断输入为 Frontend 节点实例
2129
2037
  *
@@ -2515,23 +2423,6 @@ function isViewComponent(node) {
2515
2423
  (node.concept === 'ViewComponent'));
2516
2424
  }
2517
2425
  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;
2535
2426
  /**
2536
2427
  * 判断输入为 Attribute 节点实例
2537
2428
  *
@@ -2633,7 +2524,6 @@ function isLogic(node) {
2633
2524
  return (isBaseNode(node) &&
2634
2525
  (node.concept === 'Logic' ||
2635
2526
  node.concept === 'AuthLogic' ||
2636
- node.concept === 'BusinessLogic' ||
2637
2527
  node.concept === 'AuthLogicForCallInterface'));
2638
2528
  }
2639
2529
  exports.isLogic = isLogic;
@@ -2655,23 +2545,6 @@ function isAuthLogic(node) {
2655
2545
  node.concept === 'AuthLogicForCallInterface'));
2656
2546
  }
2657
2547
  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;
2675
2548
  /**
2676
2549
  * 判断输入为 AuthLogicForCallInterface 节点实例
2677
2550
  *
@@ -2730,7 +2603,7 @@ exports.isAbstractInterface = isAbstractInterface;
2730
2603
  * 判断输入为 Param 节点实例
2731
2604
  *
2732
2605
  * @description 包含节点类以及节点继承类的判断
2733
- * @description 等价于`instanceof`运算
2606
+ * @description 等价于`instanceof`运算,Param 节点没有继承类,此判断等价于`isStrictParam`
2734
2607
  * @example
2735
2608
  * ```ts
2736
2609
  * if (isParam(node)) {
@@ -2740,27 +2613,9 @@ exports.isAbstractInterface = isAbstractInterface;
2740
2613
  */
2741
2614
  function isParam(node) {
2742
2615
  return (isBaseNode(node) &&
2743
- (node.concept === 'Param' ||
2744
- node.concept === 'ParamWithGroup'));
2616
+ (node.concept === 'Param'));
2745
2617
  }
2746
2618
  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;
2764
2619
  /**
2765
2620
  * 判断输入为 Return 节点实例
2766
2621
  *
@@ -2875,7 +2730,6 @@ function isLogicItem(node) {
2875
2730
  node.concept === 'BatchAssignment' ||
2876
2731
  node.concept === 'Comment' ||
2877
2732
  node.concept === 'CallLogic' ||
2878
- node.concept === 'CallEvent' ||
2879
2733
  node.concept === 'CallFunction' ||
2880
2734
  node.concept === 'CallInterface' ||
2881
2735
  node.concept === 'Destination' ||
@@ -3247,23 +3101,6 @@ function isCallLogic(node) {
3247
3101
  node.concept === 'CallConnector'));
3248
3102
  }
3249
3103
  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;
3267
3104
  /**
3268
3105
  * 判断输入为 CallFunction 节点实例
3269
3106
  *
@@ -4511,23 +4348,6 @@ function assertStrictNamespace(node) {
4511
4348
  }
4512
4349
  }
4513
4350
  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;
4531
4351
  /**
4532
4352
  * 严格断言为 Frontend 节点
4533
4353
  *
@@ -4919,23 +4739,6 @@ function assertStrictViewComponent(node) {
4919
4739
  }
4920
4740
  }
4921
4741
  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;
4939
4742
  /**
4940
4743
  * 严格断言为 Attribute 节点
4941
4744
  *
@@ -5055,23 +4858,6 @@ function assertStrictAuthLogic(node) {
5055
4858
  }
5056
4859
  }
5057
4860
  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;
5075
4861
  /**
5076
4862
  * 严格断言为 AuthLogicForCallInterface 节点
5077
4863
  *
@@ -5123,23 +4909,6 @@ function assertStrictParam(node) {
5123
4909
  }
5124
4910
  }
5125
4911
  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;
5143
4912
  /**
5144
4913
  * 严格断言为 Return 节点
5145
4914
  *
@@ -5531,23 +5300,6 @@ function assertStrictCallLogic(node) {
5531
5300
  }
5532
5301
  }
5533
5302
  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;
5551
5303
  /**
5552
5304
  * 严格断言为 CallFunction 节点
5553
5305
  *
@@ -6793,24 +6545,6 @@ function assertNamespace(node) {
6793
6545
  }
6794
6546
  }
6795
6547
  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;
6814
6548
  /**
6815
6549
  * 断言为 Frontend 节点
6816
6550
  *
@@ -7225,24 +6959,6 @@ function assertViewComponent(node) {
7225
6959
  }
7226
6960
  }
7227
6961
  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;
7246
6962
  /**
7247
6963
  * 断言为 Attribute 节点
7248
6964
  *
@@ -7369,24 +7085,6 @@ function assertAuthLogic(node) {
7369
7085
  }
7370
7086
  }
7371
7087
  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;
7390
7088
  /**
7391
7089
  * 断言为 AuthLogicForCallInterface 节点
7392
7090
  *
@@ -7459,24 +7157,6 @@ function assertParam(node) {
7459
7157
  }
7460
7158
  }
7461
7159
  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;
7480
7160
  /**
7481
7161
  * 断言为 Return 节点
7482
7162
  *
@@ -7927,24 +7607,6 @@ function assertCallLogic(node) {
7927
7607
  }
7928
7608
  }
7929
7609
  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;
7948
7610
  /**
7949
7611
  * 断言为 CallFunction 节点
7950
7612
  *