@lcap/nasl 3.7.3-beta.1 → 3.8.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (370) hide show
  1. package/.mocharc.js +0 -1
  2. package/out/automate/engine/utils.js +6 -1
  3. package/out/automate/engine/utils.js.map +1 -1
  4. package/out/bak/translator.js +37 -0
  5. package/out/bak/translator.js.map +1 -1
  6. package/out/breakpoint/shared/utils.d.ts +1 -0
  7. package/out/breakpoint/shared/utils.js +1 -1
  8. package/out/breakpoint/shared/utils.js.map +1 -1
  9. package/out/common/BaseNode.d.ts +11 -0
  10. package/out/common/BaseNode.js +101 -5
  11. package/out/common/BaseNode.js.map +1 -1
  12. package/out/concepts/Annotatable__.d.ts +109 -0
  13. package/out/concepts/Annotatable__.js +161 -0
  14. package/out/concepts/Annotatable__.js.map +1 -0
  15. package/out/concepts/AnnotationProperty__.d.ts +48 -0
  16. package/out/concepts/AnnotationProperty__.js +74 -0
  17. package/out/concepts/AnnotationProperty__.js.map +1 -0
  18. package/out/concepts/Annotation__.d.ts +128 -0
  19. package/out/concepts/Annotation__.js +248 -0
  20. package/out/concepts/Annotation__.js.map +1 -0
  21. package/out/concepts/App__.d.ts +14 -26
  22. package/out/concepts/App__.js +50 -20
  23. package/out/concepts/App__.js.map +1 -1
  24. package/out/concepts/ApplyAnnotation__.d.ts +87 -0
  25. package/out/concepts/ApplyAnnotation__.js +140 -0
  26. package/out/concepts/ApplyAnnotation__.js.map +1 -0
  27. package/out/concepts/Argument__.d.ts +19 -0
  28. package/out/concepts/Argument__.js +126 -0
  29. package/out/concepts/Argument__.js.map +1 -1
  30. package/out/concepts/AssigneeV2__.d.ts +169 -0
  31. package/out/concepts/AssigneeV2__.js +176 -1
  32. package/out/concepts/AssigneeV2__.js.map +1 -1
  33. package/out/concepts/AuthLogicForCallInterface__.js +1 -1
  34. package/out/concepts/AuthLogicForCallInterface__.js.map +1 -1
  35. package/out/concepts/AuthLogic__.js +1 -1
  36. package/out/concepts/AuthLogic__.js.map +1 -1
  37. package/out/concepts/BooleanLiteral__.d.ts +1 -0
  38. package/out/concepts/BooleanLiteral__.js +9 -0
  39. package/out/concepts/BooleanLiteral__.js.map +1 -1
  40. package/out/concepts/BusinessLogic__.js +1 -1
  41. package/out/concepts/BusinessLogic__.js.map +1 -1
  42. package/out/concepts/CallFunction__.js +1 -1
  43. package/out/concepts/CallFunction__.js.map +1 -1
  44. package/out/concepts/CallLogic__.d.ts +15 -0
  45. package/out/concepts/CallLogic__.js +149 -17
  46. package/out/concepts/CallLogic__.js.map +1 -1
  47. package/out/concepts/ConnectorLogic__.js +1 -1
  48. package/out/concepts/ConnectorLogic__.js.map +1 -1
  49. package/out/concepts/DatabaseTypeAnnotation__.d.ts +0 -2
  50. package/out/concepts/DatabaseTypeAnnotation__.js +0 -20
  51. package/out/concepts/DatabaseTypeAnnotation__.js.map +1 -1
  52. package/out/concepts/DepartmentManagerV2__.d.ts +29 -0
  53. package/out/concepts/DepartmentManagerV2__.js +56 -0
  54. package/out/concepts/DepartmentManagerV2__.js.map +1 -0
  55. package/out/concepts/DepartmentV2__.d.ts +33 -0
  56. package/out/concepts/DepartmentV2__.js +63 -0
  57. package/out/concepts/DepartmentV2__.js.map +1 -0
  58. package/out/concepts/DirectManagerV2__.d.ts +25 -0
  59. package/out/concepts/DirectManagerV2__.js +53 -0
  60. package/out/concepts/DirectManagerV2__.js.map +1 -0
  61. package/out/concepts/End__.js +9 -1
  62. package/out/concepts/End__.js.map +1 -1
  63. package/out/concepts/EntityProperty__.js +0 -2
  64. package/out/concepts/EntityProperty__.js.map +1 -1
  65. package/out/concepts/Entity__.d.ts +2 -2
  66. package/out/concepts/Entity__.js +4 -7
  67. package/out/concepts/Entity__.js.map +1 -1
  68. package/out/concepts/EnumItem__.d.ts +1 -12
  69. package/out/concepts/EnumItem__.js +17 -49
  70. package/out/concepts/EnumItem__.js.map +1 -1
  71. package/out/concepts/EnumSelectSetter__.d.ts +4 -0
  72. package/out/concepts/EnumSelectSetter__.js +7 -0
  73. package/out/concepts/EnumSelectSetter__.js.map +1 -1
  74. package/out/concepts/Enum__.js +1 -4
  75. package/out/concepts/Enum__.js.map +1 -1
  76. package/out/concepts/ForEachStatement__.js +1 -1
  77. package/out/concepts/ForEachStatement__.js.map +1 -1
  78. package/out/concepts/FrontendLibrary__.d.ts +52 -48
  79. package/out/concepts/FrontendLibrary__.js +45 -36
  80. package/out/concepts/FrontendLibrary__.js.map +1 -1
  81. package/out/concepts/FrontendType__.d.ts +4 -0
  82. package/out/concepts/FrontendType__.js +7 -0
  83. package/out/concepts/FrontendType__.js.map +1 -1
  84. package/out/concepts/Frontend__.d.ts +2 -0
  85. package/out/concepts/Frontend__.js +21 -2
  86. package/out/concepts/Frontend__.js.map +1 -1
  87. package/out/concepts/HistoryProcessV2__.js +4 -1
  88. package/out/concepts/HistoryProcessV2__.js.map +1 -1
  89. package/out/concepts/I18nInfo__.d.ts +0 -1
  90. package/out/concepts/I18nInfo__.js +0 -7
  91. package/out/concepts/I18nInfo__.js.map +1 -1
  92. package/out/concepts/Identifier__.d.ts +2 -0
  93. package/out/concepts/Identifier__.js +31 -0
  94. package/out/concepts/Identifier__.js.map +1 -1
  95. package/out/concepts/IfStatement__.js +2 -2
  96. package/out/concepts/IfStatement__.js.map +1 -1
  97. package/out/concepts/Interface__.js +1 -4
  98. package/out/concepts/Interface__.js.map +1 -1
  99. package/out/concepts/LogicItem__.d.ts +1 -1
  100. package/out/concepts/LogicItem__.js.map +1 -1
  101. package/out/concepts/Logic__.d.ts +16 -1
  102. package/out/concepts/Logic__.js +133 -15
  103. package/out/concepts/Logic__.js.map +1 -1
  104. package/out/concepts/ManagerV2__.d.ts +34 -0
  105. package/out/concepts/ManagerV2__.js +61 -0
  106. package/out/concepts/ManagerV2__.js.map +1 -0
  107. package/out/concepts/MatchCase__.d.ts +2 -2
  108. package/out/concepts/MatchCase__.js +7 -7
  109. package/out/concepts/MatchCase__.js.map +1 -1
  110. package/out/concepts/MemberExpression__.js +1 -0
  111. package/out/concepts/MemberExpression__.js.map +1 -1
  112. package/out/concepts/Module__.d.ts +88 -0
  113. package/out/concepts/Module__.js +85 -0
  114. package/out/concepts/Module__.js.map +1 -1
  115. package/out/concepts/OperatePermissionV2__.d.ts +1 -1
  116. package/out/concepts/OperatePermissionV2__.js.map +1 -1
  117. package/out/concepts/Param__.d.ts +4 -0
  118. package/out/concepts/Param__.js +13 -21
  119. package/out/concepts/Param__.js.map +1 -1
  120. package/out/concepts/ProcessElementV2__.d.ts +6 -1
  121. package/out/concepts/ProcessElementV2__.js +20 -0
  122. package/out/concepts/ProcessElementV2__.js.map +1 -1
  123. package/out/concepts/ProcessElement__.d.ts +7 -0
  124. package/out/concepts/ProcessElement__.js +47 -0
  125. package/out/concepts/ProcessElement__.js.map +1 -1
  126. package/out/concepts/ProcessV2__.d.ts +1 -34
  127. package/out/concepts/ProcessV2__.js +3 -70
  128. package/out/concepts/ProcessV2__.js.map +1 -1
  129. package/out/concepts/QueryFromExpression__.js +2 -2
  130. package/out/concepts/QueryFromExpression__.js.map +1 -1
  131. package/out/concepts/QueryJoinExpression__.js +2 -2
  132. package/out/concepts/QueryJoinExpression__.js.map +1 -1
  133. package/out/concepts/StaticString__.d.ts +0 -4
  134. package/out/concepts/StaticString__.js +0 -11
  135. package/out/concepts/StaticString__.js.map +1 -1
  136. package/out/concepts/StructureProperty__.d.ts +1 -0
  137. package/out/concepts/StructureProperty__.js +14 -5
  138. package/out/concepts/StructureProperty__.js.map +1 -1
  139. package/out/concepts/Structure__.d.ts +4 -0
  140. package/out/concepts/Structure__.js +6 -9
  141. package/out/concepts/Structure__.js.map +1 -1
  142. package/out/concepts/SubLogic__.d.ts +418 -0
  143. package/out/concepts/SubLogic__.js +992 -0
  144. package/out/concepts/SubLogic__.js.map +1 -0
  145. package/out/concepts/Theme__.d.ts +9 -0
  146. package/out/concepts/Theme__.js +10 -0
  147. package/out/concepts/Theme__.js.map +1 -1
  148. package/out/concepts/Transactional__.d.ts +0 -1
  149. package/out/concepts/Transactional__.js +0 -7
  150. package/out/concepts/Transactional__.js.map +1 -1
  151. package/out/concepts/TypeAnnotation__.js +18 -0
  152. package/out/concepts/TypeAnnotation__.js.map +1 -1
  153. package/out/concepts/TypeParam__.d.ts +1 -0
  154. package/out/concepts/TypeParam__.js.map +1 -1
  155. package/out/concepts/ValidationRule__.d.ts +6 -1
  156. package/out/concepts/ValidationRule__.js +6 -1
  157. package/out/concepts/ValidationRule__.js.map +1 -1
  158. package/out/concepts/ViewElement__.d.ts +8 -2
  159. package/out/concepts/ViewElement__.js +213 -32
  160. package/out/concepts/ViewElement__.js.map +1 -1
  161. package/out/concepts/View__.d.ts +10 -2
  162. package/out/concepts/View__.js +129 -17
  163. package/out/concepts/View__.js.map +1 -1
  164. package/out/concepts/basics/stdlib/nasl.processV2.d.ts +2 -0
  165. package/out/concepts/basics/stdlib/nasl.processV2.js +50 -4
  166. package/out/concepts/basics/stdlib/nasl.processV2.js.map +1 -1
  167. package/out/concepts/basics/types/index.d.ts +1 -1
  168. package/out/concepts/basics/types/index.js +2 -1
  169. package/out/concepts/basics/types/index.js.map +1 -1
  170. package/out/concepts/index__.d.ts +9 -0
  171. package/out/concepts/index__.js +9 -0
  172. package/out/concepts/index__.js.map +1 -1
  173. package/out/concepts/utils/asserts.d.ts +409 -0
  174. package/out/concepts/utils/asserts.js +564 -14
  175. package/out/concepts/utils/asserts.js.map +1 -1
  176. package/out/concepts/utils/types.d.ts +33 -2
  177. package/out/generator/genBundleFiles.d.ts +13 -9
  178. package/out/generator/genBundleFiles.js +383 -63
  179. package/out/generator/genBundleFiles.js.map +1 -1
  180. package/out/generator/genMetaData.js +2 -0
  181. package/out/generator/genMetaData.js.map +1 -1
  182. package/out/generator/release-body/body.js +1 -0
  183. package/out/generator/release-body/body.js.map +1 -1
  184. package/out/generator/release-body/utils.d.ts +15 -7
  185. package/out/generator/release-body/utils.js +50 -7
  186. package/out/generator/release-body/utils.js.map +1 -1
  187. package/out/natural/genNaturalTS.js +2 -4
  188. package/out/natural/genNaturalTS.js.map +1 -1
  189. package/out/natural/getContext/index.js +0 -2
  190. package/out/natural/getContext/index.js.map +1 -1
  191. package/out/natural/transformTS2UI.js.map +1 -1
  192. package/out/natural/transformTSCode.d.ts +1 -1
  193. package/out/natural/transformTSCode.js.map +1 -1
  194. package/out/server/extendBaseNode.js +9 -0
  195. package/out/server/extendBaseNode.js.map +1 -1
  196. package/out/server/getLogics.js +10 -6
  197. package/out/server/getLogics.js.map +1 -1
  198. package/out/server/getMemberIdentifier.js +6 -0
  199. package/out/server/getMemberIdentifier.js.map +1 -1
  200. package/out/server/getProcessesV2.d.ts +3 -2
  201. package/out/server/getProcessesV2.js +15 -6
  202. package/out/server/getProcessesV2.js.map +1 -1
  203. package/out/server/naslServer.d.ts +5 -1
  204. package/out/server/naslServer.js +120 -30
  205. package/out/server/naslServer.js.map +1 -1
  206. package/out/server/translator.js +4 -0
  207. package/out/server/translator.js.map +1 -1
  208. package/out/service/storage/init.d.ts +2 -1
  209. package/out/service/storage/init.js +28 -71
  210. package/out/service/storage/init.js.map +1 -1
  211. package/out/templator/genCreateBlock.d.ts +6 -2
  212. package/out/templator/genCreateBlock.js +25 -8
  213. package/out/templator/genCreateBlock.js.map +1 -1
  214. package/out/templator/genCurdEditMultipleKeyBlock.d.ts +22 -0
  215. package/out/templator/genCurdEditMultipleKeyBlock.js +60 -1
  216. package/out/templator/genCurdEditMultipleKeyBlock.js.map +1 -1
  217. package/out/templator/genCurdMultipleKeyBlock.d.ts +13 -3
  218. package/out/templator/genCurdMultipleKeyBlock.js +29 -23
  219. package/out/templator/genCurdMultipleKeyBlock.js.map +1 -1
  220. package/out/templator/genGetBlock.d.ts +1 -1
  221. package/out/templator/genGetBlock.js +3 -2
  222. package/out/templator/genGetBlock.js.map +1 -1
  223. package/out/templator/genListViewBlock.d.ts +1 -1
  224. package/out/templator/genListViewBlock.js +3 -2
  225. package/out/templator/genListViewBlock.js.map +1 -1
  226. package/out/templator/genSelectBlock.d.ts +1 -1
  227. package/out/templator/genSelectBlock.js +3 -2
  228. package/out/templator/genSelectBlock.js.map +1 -1
  229. package/out/templator/genTableBlock.d.ts +9 -4
  230. package/out/templator/genTableBlock.js +31 -17
  231. package/out/templator/genTableBlock.js.map +1 -1
  232. package/out/templator/genUpdateBlock.d.ts +2 -2
  233. package/out/templator/genUpdateBlock.js +11 -11
  234. package/out/templator/genUpdateBlock.js.map +1 -1
  235. package/out/translator/types.d.ts +0 -4
  236. package/out/translator/utils.d.ts +0 -1
  237. package/out/translator/utils.js +1 -6
  238. package/out/translator/utils.js.map +1 -1
  239. package/out/utils/delay/index.d.ts +0 -0
  240. package/out/utils/delay/index.js +1 -0
  241. package/out/utils/delay/index.js.map +1 -0
  242. package/out/utils/env.d.ts +0 -4
  243. package/out/utils/env.js +3 -6
  244. package/out/utils/env.js.map +1 -1
  245. package/out/utils/index.d.ts +3 -2
  246. package/out/utils/index.js +18 -14
  247. package/out/utils/index.js.map +1 -1
  248. package/out/utils/time-slicing/controller.js.map +1 -1
  249. package/out/utils/types.d.ts +0 -17
  250. package/package.json +27 -20
  251. package/sandbox/stdlib/extension.component.ts +29 -0
  252. package/sandbox/stdlib/nasl.process.ts +17 -0
  253. package/sandbox/stdlib/nasl.processV2.ts +10 -5
  254. package/sandbox/stdlib/nasl.util.ts +3 -1
  255. package/src/automate/engine/utils.js +7 -2
  256. package/src/bak/translator.js +42 -1
  257. package/src/breakpoint/shared/utils.ts +2 -1
  258. package/src/common/BaseNode.ts +117 -5
  259. package/src/concepts/Annotatable__.ts +263 -0
  260. package/src/concepts/AnnotationProperty__.ts +102 -0
  261. package/src/concepts/Annotation__.ts +344 -0
  262. package/src/concepts/App__.ts +917 -26
  263. package/src/concepts/ApplyAnnotation__.ts +198 -0
  264. package/src/concepts/Argument__.ts +145 -1
  265. package/src/concepts/AssigneeV2__.ts +387 -1
  266. package/src/concepts/AuthLogicForCallInterface__.ts +1 -1
  267. package/src/concepts/AuthLogic__.ts +1 -1
  268. package/src/concepts/BooleanLiteral__.ts +9 -1
  269. package/src/concepts/BusinessLogic__.ts +1 -1
  270. package/src/concepts/CallFunction__.ts +1 -1
  271. package/src/concepts/CallLogic__.ts +153 -16
  272. package/src/concepts/ConnectorLogic__.ts +1 -1
  273. package/src/concepts/DatabaseTypeAnnotation__.ts +0 -11
  274. package/src/concepts/DepartmentManagerV2__.ts +70 -0
  275. package/src/concepts/DepartmentV2__.ts +75 -0
  276. package/src/concepts/DirectManagerV2__.ts +65 -0
  277. package/src/concepts/End__.ts +10 -1
  278. package/src/concepts/EntityProperty__.ts +0 -5
  279. package/src/concepts/Entity__.ts +5 -9
  280. package/src/concepts/EnumItem__.ts +16 -65
  281. package/src/concepts/EnumSelectSetter__.ts +6 -0
  282. package/src/concepts/Enum__.ts +1 -6
  283. package/src/concepts/ForEachStatement__.ts +1 -1
  284. package/src/concepts/FrontendLibrary__.ts +88 -80
  285. package/src/concepts/FrontendType__.ts +6 -0
  286. package/src/concepts/Frontend__.ts +26 -3
  287. package/src/concepts/HistoryProcessV2__.ts +5 -0
  288. package/src/concepts/I18nInfo__.ts +0 -5
  289. package/src/concepts/Identifier__.ts +32 -0
  290. package/src/concepts/IfStatement__.ts +2 -2
  291. package/src/concepts/Interface__.ts +1 -6
  292. package/src/concepts/LogicItem__.ts +1 -0
  293. package/src/concepts/Logic__.ts +140 -17
  294. package/src/concepts/ManagerV2__.ts +78 -0
  295. package/src/concepts/MatchCase__.ts +9 -8
  296. package/src/concepts/MemberExpression__.ts +1 -0
  297. package/src/concepts/Module__.ts +194 -0
  298. package/src/concepts/OperatePermissionV2__.ts +1 -1
  299. package/src/concepts/Param__.ts +17 -20
  300. package/src/concepts/ProcessElementV2__.ts +23 -0
  301. package/src/concepts/ProcessElement__.ts +18 -0
  302. package/src/concepts/ProcessV2__.ts +4 -70
  303. package/src/concepts/QueryFromExpression__.ts +2 -2
  304. package/src/concepts/QueryJoinExpression__.ts +2 -2
  305. package/src/concepts/StaticString__.ts +0 -13
  306. package/src/concepts/StructureProperty__.ts +16 -7
  307. package/src/concepts/Structure__.ts +10 -11
  308. package/src/concepts/SubLogic__.ts +1516 -0
  309. package/src/concepts/Theme__.ts +9 -0
  310. package/src/concepts/Transactional__.ts +0 -5
  311. package/src/concepts/TriggerLauncher__.ts +1 -1
  312. package/src/concepts/TypeAnnotation__.ts +17 -0
  313. package/src/concepts/TypeParam__.ts +3 -0
  314. package/src/concepts/ValidationRule__.ts +6 -1
  315. package/src/concepts/ViewElement__.ts +224 -34
  316. package/src/concepts/View__.ts +135 -22
  317. package/src/concepts/basics/stdlib/nasl.processV2.ts +56 -3
  318. package/src/concepts/basics/types/index.ts +1 -1
  319. package/src/concepts/index__.ts +9 -0
  320. package/src/concepts/utils/asserts.ts +595 -0
  321. package/src/concepts/utils/types.ts +53 -0
  322. package/src/generator/genBundleFiles.ts +408 -68
  323. package/src/generator/genMetaData.ts +3 -0
  324. package/src/generator/release-body/body.ts +1 -0
  325. package/src/generator/release-body/utils.ts +159 -55
  326. package/src/natural/genNaturalTS.ts +3 -5
  327. package/src/natural/getContext/index.ts +0 -2
  328. package/src/natural/transformTS2UI.ts +5 -2
  329. package/src/natural/transformTSCode.ts +2 -2
  330. package/src/server/extendBaseNode.ts +11 -2
  331. package/src/server/getLogics.ts +9 -7
  332. package/src/server/getMemberIdentifier.ts +7 -0
  333. package/src/server/getProcessesV2.ts +16 -6
  334. package/src/server/naslServer.ts +133 -30
  335. package/src/server/translator.ts +4 -0
  336. package/src/service/storage/init.ts +52 -97
  337. package/src/templator/genCreateBlock.ts +35 -14
  338. package/src/templator/genCurdEditMultipleKeyBlock.ts +65 -1
  339. package/src/templator/genCurdMultipleKeyBlock.ts +42 -23
  340. package/src/templator/genGetBlock.ts +4 -3
  341. package/src/templator/genListViewBlock.ts +3 -3
  342. package/src/templator/genSelectBlock.ts +4 -2
  343. package/src/templator/genTableBlock.ts +32 -17
  344. package/src/templator/genUpdateBlock.ts +21 -18
  345. package/src/translator/types.ts +0 -4
  346. package/src/translator/utils.ts +0 -6
  347. package/src/utils/delay/index.ts +0 -0
  348. package/src/utils/env.ts +4 -5
  349. package/src/utils/index.ts +16 -4
  350. package/src/utils/time-slicing/controller.ts +1 -0
  351. package/src/utils/types.ts +0 -20
  352. package/test/concepts/validation-rule/__snapshots__/toEmbeddedTS.spec.ts.snap +2 -1
  353. package/ts-worker/bundle.js +1 -1
  354. package/ts-worker/src/index.js +1 -0
  355. package/out/utils/language-cache/constant.d.ts +0 -18
  356. package/out/utils/language-cache/constant.js +0 -35
  357. package/out/utils/language-cache/constant.js.map +0 -1
  358. package/out/utils/language-cache/index.d.ts +0 -2
  359. package/out/utils/language-cache/index.js +0 -19
  360. package/out/utils/language-cache/index.js.map +0 -1
  361. package/out/utils/language-cache/nasl.d.ts +0 -10
  362. package/out/utils/language-cache/nasl.js +0 -98
  363. package/out/utils/language-cache/nasl.js.map +0 -1
  364. package/out/utils/language-cache/types.d.ts +0 -44
  365. package/out/utils/language-cache/types.js +0 -4
  366. package/out/utils/language-cache/types.js.map +0 -1
  367. package/src/utils/language-cache/constant.ts +0 -37
  368. package/src/utils/language-cache/index.ts +0 -2
  369. package/src/utils/language-cache/nasl.ts +0 -83
  370. package/src/utils/language-cache/types.ts +0 -48
@@ -1,19 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isStrictLogic = exports.isStrictTheme = exports.isStrictLogicDeclaration = exports.isStrictSlotDeclaration = exports.isStrictEventDeclaration = exports.isStrictPropDeclaration = exports.isStrictEvent = exports.isStrictAttribute = exports.isStrictBusinessComponent = exports.isStrictViewComponentDeclaration = exports.isStrictPropertySelectSetter = exports.isStrictImageSetter = exports.isStrictIconSetter = exports.isStrictNumberInputSetter = exports.isStrictCapsulesSetter = exports.isStrictEnumSelectSetter = exports.isStrictSetterOption = exports.isStrictSwitchSetter = exports.isStrictInputSetter = exports.isStrictThemeVariable = 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.isStrictMatch = exports.isStrictMatchCase = exports.isStrictBinaryExpression = exports.isStrictNumericLiteral = exports.isStrictStaticString = 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 = exports.isStrictFunction = exports.isStrictConstant = exports.isStrictFrontendVariable = exports.isStrictBackendVariable = exports.isStrictVariable = exports.isStrictReturn = exports.isStrictParamWithGroup = exports.isStrictParam = exports.isStrictBusinessLogic = exports.isStrictOverriddenLogic = exports.isStrictAuthLogicForCallInterface = exports.isStrictAuthLogic = void 0;
5
- exports.isStrictMsgTriggerLauncher = exports.isStrictConnectorTriggerLauncher = exports.isStrictTriggerLauncher = exports.isStrictConnectorTrigger = exports.isStrictInterfaceTriggerEvent = exports.isStrictMsgTriggerEvent = exports.isStrictCallAuthInterface = exports.isStrictAuthInterface = exports.isStrictViewBlockWithImage = 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.isStrictProcessOutcomes = exports.isStrictAssignee = exports.isStrictProcessOutcome = exports.isStrictCountersignPolicy = exports.isStrictSequentialPolicy = exports.isStrictProcessComponent = exports.isStrictProcessElement = exports.isStrictProcess = exports.isStrictOqlQueryComponent = exports.isStrictSqlQueryComponent = exports.isStrictQueryLimitExpression = exports.isStrictQueryGroupByExpression = exports.isStrictQueryOrderByExpression = exports.isStrictQueryAggregateExpression = exports.isStrictQueryFieldExpression = exports.isStrictQueryJoinExpression = exports.isStrictQueryFromExpression = exports.isStrictQuerySelectExpression = exports.isStrictCallQueryComponent = exports.isStrictPaginate = exports.isStrictNewMap = exports.isStrictNewList = exports.isStrictNewComposite = exports.isStrictNew = exports.isStrictUnparsed = exports.isStrictMemberExpression = exports.isStrictUnaryExpression = void 0;
6
- exports.isIconSetter = exports.isNumberInputSetter = exports.isCapsulesSetter = exports.isEnumSelectSetter = exports.isSetterOption = exports.isSwitchSetter = exports.isInputSetter = exports.isBaseSetter = exports.isThemeVariable = 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 = 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.isStrictOrSignPolicyV2 = exports.isStrictCountersignPolicyV2 = exports.isStrictSequentialPolicyV2 = exports.isStrictFlowConditionV2 = exports.isStrictAssigneeV2 = exports.isStrictOperatePermissionV2 = exports.isStrictProcessElementV2 = exports.isStrictFieldPermissionV2 = exports.isStrictProcessBindV2 = exports.isStrictHistoryProcessV2 = exports.isStrictProcessV2 = exports.isStrictConnectorLogic = exports.isStrictConnection = exports.isStrictCallConnector = exports.isStrictConnector = void 0;
7
- exports.isValidationRule = exports.isExternalDestination = exports.isDestination = exports.isCallInterface = exports.isCallFunction = exports.isCallEvent = 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.isInterface = exports.isImportedInterface = exports.isAnonymousFunction = exports.isFunction = exports.isLogicItem = exports.isConstant = exports.isFrontendVariable = exports.isBackendVariable = exports.isVariable = exports.isReturn = exports.isParamWithGroup = exports.isParam = exports.isAbstractInterface = exports.isBusinessLogic = exports.isOverriddenLogic = exports.isAuthLogicForCallInterface = exports.isAuthLogic = exports.isLogic = exports.isTheme = exports.isLogicDeclaration = exports.isSlotDeclaration = exports.isEventDeclaration = exports.isPropDeclaration = exports.isEvent = exports.isAttribute = exports.isBusinessComponent = exports.isViewComponentDeclaration = exports.isPropertySelectSetter = exports.isImageSetter = void 0;
8
- exports.isCompletionProperty = exports.isI18nInfo = exports.isConfigPropertyValue = exports.isConfigProperty = exports.isConfigGroup = exports.isConfiguration = exports.isRole = exports.isProcessOutcomes = exports.isAssignee = exports.isProcessOutcome = exports.isCountersignPolicy = exports.isSequentialPolicy = exports.isMultiApprovalPolicy = exports.isProcessComponent = exports.isProcessElement = exports.isProcess = exports.isOqlQueryComponent = exports.isSqlQueryComponent = exports.isQueryLimitExpression = exports.isQueryGroupByExpression = exports.isQueryOrderByExpression = exports.isQueryAggregateExpression = exports.isQueryFieldExpression = exports.isQueryJoinExpression = exports.isQueryFromExpression = exports.isQuerySelectExpression = exports.isCallQueryComponent = exports.isPaginate = exports.isNewMap = exports.isNewList = exports.isNewComposite = exports.isNew = exports.isUnparsed = exports.isMemberExpression = exports.isUnaryExpression = exports.isMatch = exports.isMatchCase = exports.isBinaryExpression = exports.isNumericLiteral = exports.isStaticString = exports.isStringInterpolation = exports.isStringLiteral = exports.isBooleanLiteral = exports.isNullLiteral = exports.isIdentifier = exports.isBlock = exports.isJavaLogic = exports.isJSBlock = exports.isAnchor = exports.isArgument = void 0;
9
- 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.isOrSignPolicyV2 = exports.isCountersignPolicyV2 = exports.isSequentialPolicyV2 = exports.isApprovalPolicyV2 = exports.isFlowConditionV2 = exports.isAssigneeV2 = exports.isOperatePermissionV2 = exports.isProcessElementV2 = exports.isFieldPermissionV2 = exports.isProcessBindV2 = exports.isHistoryProcessV2 = exports.isProcessV2 = exports.isConnectorLogic = exports.isConnection = exports.isCallConnector = exports.isConnector = exports.isMsgTriggerLauncher = exports.isConnectorTriggerLauncher = exports.isTriggerLauncher = exports.isConnectorTrigger = exports.isInterfaceTriggerEvent = exports.isMsgTriggerEvent = exports.isTriggerEvent = exports.isCallAuthInterface = exports.isAuthInterface = exports.isViewBlockWithImage = exports.isViewBlock = exports.isFrontendLibrary = exports.isAssignmentLine = exports.isSelectMembers = exports.isRect = exports.isPoint = exports.isUseComponent = void 0;
10
- 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.assertStrictBusinessLogic = exports.assertStrictOverriddenLogic = exports.assertStrictAuthLogicForCallInterface = exports.assertStrictAuthLogic = exports.assertStrictLogic = exports.assertStrictTheme = exports.assertStrictLogicDeclaration = exports.assertStrictSlotDeclaration = exports.assertStrictEventDeclaration = exports.assertStrictPropDeclaration = exports.assertStrictEvent = exports.assertStrictAttribute = exports.assertStrictBusinessComponent = exports.assertStrictViewComponentDeclaration = exports.assertStrictPropertySelectSetter = exports.assertStrictImageSetter = exports.assertStrictIconSetter = exports.assertStrictNumberInputSetter = exports.assertStrictCapsulesSetter = exports.assertStrictEnumSelectSetter = exports.assertStrictSetterOption = exports.assertStrictSwitchSetter = exports.assertStrictInputSetter = exports.assertStrictThemeVariable = exports.assertStrictBindStyle = exports.assertStrictBindEvent = exports.assertStrictBindDirective = exports.assertStrictBindAttribute = exports.assertStrictViewElement = exports.assertStrictView = exports.assertStrictMetadataType = exports.assertStrictEntityIndex = exports.assertStrictEntityProperty = void 0;
11
- exports.assertStrictProcessElement = exports.assertStrictProcess = exports.assertStrictOqlQueryComponent = exports.assertStrictSqlQueryComponent = exports.assertStrictQueryLimitExpression = exports.assertStrictQueryGroupByExpression = exports.assertStrictQueryOrderByExpression = exports.assertStrictQueryAggregateExpression = exports.assertStrictQueryFieldExpression = exports.assertStrictQueryJoinExpression = exports.assertStrictQueryFromExpression = exports.assertStrictQuerySelectExpression = exports.assertStrictCallQueryComponent = exports.assertStrictPaginate = exports.assertStrictNewMap = exports.assertStrictNewList = exports.assertStrictNewComposite = exports.assertStrictNew = exports.assertStrictUnparsed = exports.assertStrictMemberExpression = exports.assertStrictUnaryExpression = exports.assertStrictMatch = exports.assertStrictMatchCase = exports.assertStrictBinaryExpression = exports.assertStrictNumericLiteral = exports.assertStrictStaticString = 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.assertStrictCallEvent = exports.assertStrictCallLogic = exports.assertStrictComment = exports.assertStrictBatchAssignment = exports.assertStrictAssignment = exports.assertStrictWhileStatement = exports.assertStrictForEachStatement = exports.assertStrictSwitchCase = exports.assertStrictSwitchStatement = void 0;
12
- exports.assertBackend = exports.assertFrontend = exports.assertFrontendType = exports.assertNamespace = exports.assertModule = exports.assertApp = exports.assertStrictOrSignPolicyV2 = exports.assertStrictCountersignPolicyV2 = exports.assertStrictSequentialPolicyV2 = exports.assertStrictFlowConditionV2 = exports.assertStrictAssigneeV2 = exports.assertStrictOperatePermissionV2 = exports.assertStrictProcessElementV2 = exports.assertStrictFieldPermissionV2 = exports.assertStrictProcessBindV2 = exports.assertStrictHistoryProcessV2 = exports.assertStrictProcessV2 = exports.assertStrictConnectorLogic = exports.assertStrictConnection = exports.assertStrictCallConnector = exports.assertStrictConnector = exports.assertStrictMsgTriggerLauncher = exports.assertStrictConnectorTriggerLauncher = exports.assertStrictTriggerLauncher = exports.assertStrictConnectorTrigger = exports.assertStrictInterfaceTriggerEvent = exports.assertStrictMsgTriggerEvent = exports.assertStrictCallAuthInterface = exports.assertStrictAuthInterface = exports.assertStrictViewBlockWithImage = 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.assertStrictProcessOutcomes = exports.assertStrictAssignee = exports.assertStrictProcessOutcome = exports.assertStrictCountersignPolicy = exports.assertStrictSequentialPolicy = exports.assertStrictProcessComponent = void 0;
13
- exports.assertVariable = exports.assertReturn = exports.assertParamWithGroup = exports.assertParam = exports.assertAbstractInterface = exports.assertBusinessLogic = exports.assertOverriddenLogic = exports.assertAuthLogicForCallInterface = exports.assertAuthLogic = exports.assertLogic = exports.assertTheme = exports.assertLogicDeclaration = exports.assertSlotDeclaration = exports.assertEventDeclaration = exports.assertPropDeclaration = exports.assertEvent = exports.assertAttribute = exports.assertBusinessComponent = exports.assertViewComponentDeclaration = exports.assertPropertySelectSetter = exports.assertImageSetter = exports.assertIconSetter = exports.assertNumberInputSetter = exports.assertCapsulesSetter = exports.assertEnumSelectSetter = exports.assertSetterOption = exports.assertSwitchSetter = exports.assertInputSetter = exports.assertBaseSetter = exports.assertThemeVariable = 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 = void 0;
14
- exports.assertNewList = exports.assertNewComposite = exports.assertNew = exports.assertUnparsed = exports.assertMemberExpression = exports.assertUnaryExpression = exports.assertMatch = exports.assertMatchCase = exports.assertBinaryExpression = exports.assertNumericLiteral = exports.assertStaticString = 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.assertInterface = exports.assertImportedInterface = exports.assertAnonymousFunction = exports.assertFunction = exports.assertLogicItem = exports.assertConstant = exports.assertFrontendVariable = exports.assertBackendVariable = void 0;
15
- exports.assertConnectorLogic = exports.assertConnection = exports.assertCallConnector = exports.assertConnector = exports.assertMsgTriggerLauncher = exports.assertConnectorTriggerLauncher = exports.assertTriggerLauncher = exports.assertConnectorTrigger = exports.assertInterfaceTriggerEvent = exports.assertMsgTriggerEvent = exports.assertTriggerEvent = exports.assertCallAuthInterface = exports.assertAuthInterface = exports.assertViewBlockWithImage = 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.assertProcessOutcomes = exports.assertAssignee = exports.assertProcessOutcome = exports.assertCountersignPolicy = exports.assertSequentialPolicy = exports.assertMultiApprovalPolicy = exports.assertProcessComponent = exports.assertProcessElement = exports.assertProcess = exports.assertOqlQueryComponent = exports.assertSqlQueryComponent = exports.assertQueryLimitExpression = exports.assertQueryGroupByExpression = exports.assertQueryOrderByExpression = exports.assertQueryAggregateExpression = exports.assertQueryFieldExpression = exports.assertQueryJoinExpression = exports.assertQueryFromExpression = exports.assertQuerySelectExpression = exports.assertCallQueryComponent = exports.assertPaginate = exports.assertNewMap = void 0;
16
- exports.assertOrSignPolicyV2 = exports.assertCountersignPolicyV2 = exports.assertSequentialPolicyV2 = exports.assertApprovalPolicyV2 = exports.assertFlowConditionV2 = exports.assertAssigneeV2 = exports.assertOperatePermissionV2 = exports.assertProcessElementV2 = exports.assertFieldPermissionV2 = exports.assertProcessBindV2 = exports.assertHistoryProcessV2 = exports.assertProcessV2 = void 0;
3
+ exports.isStrictSlotDeclaration = exports.isStrictEventDeclaration = exports.isStrictPropDeclaration = exports.isStrictEvent = exports.isStrictAttribute = exports.isStrictBusinessComponent = exports.isStrictViewComponentDeclaration = exports.isStrictPropertySelectSetter = exports.isStrictImageSetter = exports.isStrictIconSetter = exports.isStrictNumberInputSetter = exports.isStrictCapsulesSetter = exports.isStrictEnumSelectSetter = exports.isStrictSetterOption = exports.isStrictSwitchSetter = exports.isStrictInputSetter = exports.isStrictThemeVariable = 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.isStrictApplyAnnotation = exports.isStrictAnnotationProperty = exports.isStrictAnnotation = exports.assertFileNode = exports.isFileNode = exports.assertBaseNode = exports.isBaseNode = void 0;
4
+ exports.isStrictStaticString = 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 = exports.isStrictFunction = exports.isStrictSubLogic = exports.isStrictConstant = exports.isStrictFrontendVariable = exports.isStrictBackendVariable = exports.isStrictVariable = exports.isStrictReturn = exports.isStrictParamWithGroup = exports.isStrictParam = exports.isStrictBusinessLogic = exports.isStrictOverriddenLogic = exports.isStrictAuthLogicForCallInterface = exports.isStrictAuthLogic = exports.isStrictLogic = exports.isStrictTheme = exports.isStrictLogicDeclaration = void 0;
5
+ exports.isStrictInterfaceTriggerEvent = exports.isStrictMsgTriggerEvent = exports.isStrictCallAuthInterface = exports.isStrictAuthInterface = exports.isStrictViewBlockWithImage = 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.isStrictProcessOutcomes = exports.isStrictAssignee = exports.isStrictProcessOutcome = exports.isStrictCountersignPolicy = exports.isStrictSequentialPolicy = exports.isStrictProcessComponent = exports.isStrictProcessElement = exports.isStrictProcess = exports.isStrictOqlQueryComponent = exports.isStrictSqlQueryComponent = exports.isStrictQueryLimitExpression = exports.isStrictQueryGroupByExpression = exports.isStrictQueryOrderByExpression = exports.isStrictQueryAggregateExpression = exports.isStrictQueryFieldExpression = exports.isStrictQueryJoinExpression = exports.isStrictQueryFromExpression = exports.isStrictQuerySelectExpression = exports.isStrictCallQueryComponent = exports.isStrictPaginate = exports.isStrictNewMap = exports.isStrictNewList = exports.isStrictNewComposite = exports.isStrictNew = exports.isStrictUnparsed = exports.isStrictMemberExpression = exports.isStrictUnaryExpression = exports.isStrictMatch = exports.isStrictMatchCase = exports.isStrictBinaryExpression = exports.isStrictNumericLiteral = void 0;
6
+ exports.isBindDirective = exports.isBindAttribute = exports.isViewElement = exports.isView = exports.isMetadataType = exports.isEntityIndex = 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.isFrontendType = exports.isNamespace = exports.isModule = exports.isApp = exports.isApplyAnnotation = exports.isAnnotatable = exports.isAnnotationProperty = exports.isAnnotation = exports.isStrictOrSignPolicyV2 = exports.isStrictCountersignPolicyV2 = exports.isStrictSequentialPolicyV2 = exports.isStrictFlowConditionV2 = exports.isStrictDepartmentManagerV2 = exports.isStrictDirectManagerV2 = exports.isStrictDepartmentV2 = exports.isStrictAssigneeV2 = exports.isStrictOperatePermissionV2 = exports.isStrictProcessElementV2 = exports.isStrictFieldPermissionV2 = exports.isStrictProcessBindV2 = exports.isStrictHistoryProcessV2 = exports.isStrictProcessV2 = exports.isStrictConnectorLogic = exports.isStrictConnection = exports.isStrictCallConnector = exports.isStrictConnector = exports.isStrictMsgTriggerLauncher = exports.isStrictConnectorTriggerLauncher = exports.isStrictTriggerLauncher = exports.isStrictConnectorTrigger = void 0;
7
+ exports.isSwitchCase = exports.isSwitchStatement = exports.isIfStatement = exports.isEnd = exports.isStart = exports.isAbort = exports.isDefaultValue = exports.isTransactional = exports.isInterfaceParam = exports.isInterface = exports.isImportedInterface = exports.isAnonymousFunction = exports.isFunction = exports.isSubLogic = exports.isLogicItem = exports.isConstant = exports.isFrontendVariable = exports.isBackendVariable = exports.isVariable = exports.isReturn = exports.isParamWithGroup = exports.isParam = exports.isAbstractInterface = exports.isBusinessLogic = exports.isOverriddenLogic = exports.isAuthLogicForCallInterface = exports.isAuthLogic = exports.isLogic = exports.isTheme = exports.isLogicDeclaration = exports.isSlotDeclaration = exports.isEventDeclaration = exports.isPropDeclaration = exports.isEvent = exports.isAttribute = exports.isBusinessComponent = exports.isViewComponentDeclaration = exports.isPropertySelectSetter = exports.isImageSetter = exports.isIconSetter = exports.isNumberInputSetter = exports.isCapsulesSetter = exports.isEnumSelectSetter = exports.isSetterOption = exports.isSwitchSetter = exports.isInputSetter = exports.isBaseSetter = exports.isThemeVariable = exports.isBindStyle = exports.isBindEvent = void 0;
8
+ exports.isMultiApprovalPolicy = exports.isProcessComponent = exports.isProcessElement = exports.isProcess = exports.isOqlQueryComponent = exports.isSqlQueryComponent = exports.isQueryLimitExpression = exports.isQueryGroupByExpression = exports.isQueryOrderByExpression = exports.isQueryAggregateExpression = exports.isQueryFieldExpression = exports.isQueryJoinExpression = exports.isQueryFromExpression = exports.isQuerySelectExpression = exports.isCallQueryComponent = exports.isPaginate = exports.isNewMap = exports.isNewList = exports.isNewComposite = exports.isNew = exports.isUnparsed = exports.isMemberExpression = exports.isUnaryExpression = exports.isMatch = exports.isMatchCase = exports.isBinaryExpression = exports.isNumericLiteral = exports.isStaticString = 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 = exports.isWhileStatement = exports.isForEachStatement = void 0;
9
+ exports.assertStrictAnnotation = exports.isOrSignPolicyV2 = exports.isCountersignPolicyV2 = exports.isSequentialPolicyV2 = exports.isApprovalPolicyV2 = exports.isFlowConditionV2 = exports.isDepartmentManagerV2 = exports.isDirectManagerV2 = exports.isManagerV2 = exports.isDepartmentV2 = exports.isAssigneeV2 = exports.isOperatePermissionV2 = exports.isProcessElementV2 = exports.isFieldPermissionV2 = exports.isProcessBindV2 = exports.isHistoryProcessV2 = exports.isProcessV2 = exports.isConnectorLogic = exports.isConnection = exports.isCallConnector = exports.isConnector = exports.isMsgTriggerLauncher = exports.isConnectorTriggerLauncher = exports.isTriggerLauncher = exports.isConnectorTrigger = exports.isInterfaceTriggerEvent = exports.isMsgTriggerEvent = exports.isTriggerEvent = exports.isCallAuthInterface = exports.isAuthInterface = exports.isViewBlockWithImage = 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.isProcessOutcomes = exports.isAssignee = exports.isProcessOutcome = exports.isCountersignPolicy = exports.isSequentialPolicy = void 0;
10
+ exports.assertStrictAuthLogicForCallInterface = exports.assertStrictAuthLogic = exports.assertStrictLogic = exports.assertStrictTheme = exports.assertStrictLogicDeclaration = exports.assertStrictSlotDeclaration = exports.assertStrictEventDeclaration = exports.assertStrictPropDeclaration = exports.assertStrictEvent = exports.assertStrictAttribute = exports.assertStrictBusinessComponent = exports.assertStrictViewComponentDeclaration = exports.assertStrictPropertySelectSetter = exports.assertStrictImageSetter = exports.assertStrictIconSetter = exports.assertStrictNumberInputSetter = exports.assertStrictCapsulesSetter = exports.assertStrictEnumSelectSetter = exports.assertStrictSetterOption = exports.assertStrictSwitchSetter = exports.assertStrictInputSetter = exports.assertStrictThemeVariable = 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.assertStrictFrontendType = exports.assertStrictNamespace = exports.assertStrictModule = exports.assertStrictApp = exports.assertStrictApplyAnnotation = exports.assertStrictAnnotationProperty = void 0;
11
+ exports.assertStrictUnaryExpression = exports.assertStrictMatch = exports.assertStrictMatchCase = exports.assertStrictBinaryExpression = exports.assertStrictNumericLiteral = exports.assertStrictStaticString = 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.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.assertStrictSubLogic = exports.assertStrictConstant = exports.assertStrictFrontendVariable = exports.assertStrictBackendVariable = exports.assertStrictVariable = exports.assertStrictReturn = exports.assertStrictParamWithGroup = exports.assertStrictParam = exports.assertStrictBusinessLogic = exports.assertStrictOverriddenLogic = void 0;
12
+ exports.assertStrictConnector = exports.assertStrictMsgTriggerLauncher = exports.assertStrictConnectorTriggerLauncher = exports.assertStrictTriggerLauncher = exports.assertStrictConnectorTrigger = exports.assertStrictInterfaceTriggerEvent = exports.assertStrictMsgTriggerEvent = exports.assertStrictCallAuthInterface = exports.assertStrictAuthInterface = exports.assertStrictViewBlockWithImage = 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.assertStrictProcessOutcomes = exports.assertStrictAssignee = exports.assertStrictProcessOutcome = exports.assertStrictCountersignPolicy = exports.assertStrictSequentialPolicy = exports.assertStrictProcessComponent = exports.assertStrictProcessElement = exports.assertStrictProcess = exports.assertStrictOqlQueryComponent = exports.assertStrictSqlQueryComponent = exports.assertStrictQueryLimitExpression = exports.assertStrictQueryGroupByExpression = exports.assertStrictQueryOrderByExpression = exports.assertStrictQueryAggregateExpression = exports.assertStrictQueryFieldExpression = exports.assertStrictQueryJoinExpression = exports.assertStrictQueryFromExpression = exports.assertStrictQuerySelectExpression = exports.assertStrictCallQueryComponent = exports.assertStrictPaginate = exports.assertStrictNewMap = exports.assertStrictNewList = exports.assertStrictNewComposite = exports.assertStrictNew = exports.assertStrictUnparsed = exports.assertStrictMemberExpression = void 0;
13
+ exports.assertInputSetter = exports.assertBaseSetter = exports.assertThemeVariable = 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.assertApplyAnnotation = exports.assertAnnotatable = exports.assertAnnotationProperty = exports.assertAnnotation = exports.assertStrictOrSignPolicyV2 = exports.assertStrictCountersignPolicyV2 = exports.assertStrictSequentialPolicyV2 = exports.assertStrictFlowConditionV2 = exports.assertStrictDepartmentManagerV2 = exports.assertStrictDirectManagerV2 = exports.assertStrictDepartmentV2 = exports.assertStrictAssigneeV2 = exports.assertStrictOperatePermissionV2 = exports.assertStrictProcessElementV2 = exports.assertStrictFieldPermissionV2 = exports.assertStrictProcessBindV2 = exports.assertStrictHistoryProcessV2 = exports.assertStrictProcessV2 = exports.assertStrictConnectorLogic = exports.assertStrictConnection = exports.assertStrictCallConnector = void 0;
14
+ 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.assertInterface = exports.assertImportedInterface = exports.assertAnonymousFunction = exports.assertFunction = exports.assertSubLogic = exports.assertLogicItem = exports.assertConstant = exports.assertFrontendVariable = exports.assertBackendVariable = exports.assertVariable = exports.assertReturn = exports.assertParamWithGroup = exports.assertParam = exports.assertAbstractInterface = exports.assertBusinessLogic = exports.assertOverriddenLogic = exports.assertAuthLogicForCallInterface = exports.assertAuthLogic = exports.assertLogic = exports.assertTheme = exports.assertLogicDeclaration = exports.assertSlotDeclaration = exports.assertEventDeclaration = exports.assertPropDeclaration = exports.assertEvent = exports.assertAttribute = exports.assertBusinessComponent = exports.assertViewComponentDeclaration = exports.assertPropertySelectSetter = exports.assertImageSetter = exports.assertIconSetter = exports.assertNumberInputSetter = exports.assertCapsulesSetter = exports.assertEnumSelectSetter = exports.assertSetterOption = exports.assertSwitchSetter = void 0;
15
+ exports.assertProcessOutcomes = exports.assertAssignee = exports.assertProcessOutcome = exports.assertCountersignPolicy = exports.assertSequentialPolicy = exports.assertMultiApprovalPolicy = exports.assertProcessComponent = exports.assertProcessElement = exports.assertProcess = exports.assertOqlQueryComponent = exports.assertSqlQueryComponent = exports.assertQueryLimitExpression = exports.assertQueryGroupByExpression = exports.assertQueryOrderByExpression = exports.assertQueryAggregateExpression = exports.assertQueryFieldExpression = exports.assertQueryJoinExpression = exports.assertQueryFromExpression = exports.assertQuerySelectExpression = exports.assertCallQueryComponent = exports.assertPaginate = exports.assertNewMap = exports.assertNewList = exports.assertNewComposite = exports.assertNew = exports.assertUnparsed = exports.assertMemberExpression = exports.assertUnaryExpression = exports.assertMatch = exports.assertMatchCase = exports.assertBinaryExpression = exports.assertNumericLiteral = exports.assertStaticString = 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 = void 0;
16
+ exports.assertOrSignPolicyV2 = exports.assertCountersignPolicyV2 = exports.assertSequentialPolicyV2 = exports.assertApprovalPolicyV2 = exports.assertFlowConditionV2 = exports.assertDepartmentManagerV2 = exports.assertDirectManagerV2 = exports.assertManagerV2 = exports.assertDepartmentV2 = exports.assertAssigneeV2 = exports.assertOperatePermissionV2 = exports.assertProcessElementV2 = exports.assertFieldPermissionV2 = exports.assertProcessBindV2 = exports.assertHistoryProcessV2 = exports.assertProcessV2 = exports.assertConnectorLogic = exports.assertConnection = exports.assertCallConnector = exports.assertConnector = exports.assertMsgTriggerLauncher = exports.assertConnectorTriggerLauncher = exports.assertTriggerLauncher = exports.assertConnectorTrigger = exports.assertInterfaceTriggerEvent = exports.assertMsgTriggerEvent = exports.assertTriggerEvent = exports.assertCallAuthInterface = exports.assertAuthInterface = exports.assertViewBlockWithImage = 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 = void 0;
17
17
  /**
18
18
  * 判断为节点
19
19
  */
@@ -47,6 +47,51 @@ function assertFileNode(node) {
47
47
  }
48
48
  exports.assertFileNode = assertFileNode;
49
49
  //=========== 以下为严格类型判断 ===========
50
+ /**
51
+ * 严格判断输入为 Annotation 节点
52
+ *
53
+ * @description 仅判断节点本身,不包含继承类
54
+ * @example
55
+ * ```ts
56
+ * if (isStrictAnnotation(node)) {
57
+ * // 在这个花括号内,node 的类型为 Annotation
58
+ * }
59
+ * ```
60
+ */
61
+ function isStrictAnnotation(node) {
62
+ return isBaseNode(node) && node.concept === 'Annotation';
63
+ }
64
+ exports.isStrictAnnotation = isStrictAnnotation;
65
+ /**
66
+ * 严格判断输入为 AnnotationProperty 节点
67
+ *
68
+ * @description 仅判断节点本身,不包含继承类
69
+ * @example
70
+ * ```ts
71
+ * if (isStrictAnnotationProperty(node)) {
72
+ * // 在这个花括号内,node 的类型为 AnnotationProperty
73
+ * }
74
+ * ```
75
+ */
76
+ function isStrictAnnotationProperty(node) {
77
+ return isBaseNode(node) && node.concept === 'AnnotationProperty';
78
+ }
79
+ exports.isStrictAnnotationProperty = isStrictAnnotationProperty;
80
+ /**
81
+ * 严格判断输入为 ApplyAnnotation 节点
82
+ *
83
+ * @description 仅判断节点本身,不包含继承类
84
+ * @example
85
+ * ```ts
86
+ * if (isStrictApplyAnnotation(node)) {
87
+ * // 在这个花括号内,node 的类型为 ApplyAnnotation
88
+ * }
89
+ * ```
90
+ */
91
+ function isStrictApplyAnnotation(node) {
92
+ return isBaseNode(node) && node.concept === 'ApplyAnnotation';
93
+ }
94
+ exports.isStrictApplyAnnotation = isStrictApplyAnnotation;
50
95
  /**
51
96
  * 严格判断输入为 App 节点
52
97
  *
@@ -902,6 +947,21 @@ function isStrictConstant(node) {
902
947
  return isBaseNode(node) && node.concept === 'Constant';
903
948
  }
904
949
  exports.isStrictConstant = isStrictConstant;
950
+ /**
951
+ * 严格判断输入为 SubLogic 节点
952
+ *
953
+ * @description 仅判断节点本身,不包含继承类
954
+ * @example
955
+ * ```ts
956
+ * if (isStrictSubLogic(node)) {
957
+ * // 在这个花括号内,node 的类型为 SubLogic
958
+ * }
959
+ * ```
960
+ */
961
+ function isStrictSubLogic(node) {
962
+ return isBaseNode(node) && node.concept === 'SubLogic';
963
+ }
964
+ exports.isStrictSubLogic = isStrictSubLogic;
905
965
  /**
906
966
  * 严格判断输入为 Function 节点
907
967
  *
@@ -2402,6 +2462,51 @@ function isStrictAssigneeV2(node) {
2402
2462
  return isBaseNode(node) && node.concept === 'AssigneeV2';
2403
2463
  }
2404
2464
  exports.isStrictAssigneeV2 = isStrictAssigneeV2;
2465
+ /**
2466
+ * 严格判断输入为 DepartmentV2 节点
2467
+ *
2468
+ * @description 仅判断节点本身,不包含继承类
2469
+ * @example
2470
+ * ```ts
2471
+ * if (isStrictDepartmentV2(node)) {
2472
+ * // 在这个花括号内,node 的类型为 DepartmentV2
2473
+ * }
2474
+ * ```
2475
+ */
2476
+ function isStrictDepartmentV2(node) {
2477
+ return isBaseNode(node) && node.concept === 'DepartmentV2';
2478
+ }
2479
+ exports.isStrictDepartmentV2 = isStrictDepartmentV2;
2480
+ /**
2481
+ * 严格判断输入为 DirectManagerV2 节点
2482
+ *
2483
+ * @description 仅判断节点本身,不包含继承类
2484
+ * @example
2485
+ * ```ts
2486
+ * if (isStrictDirectManagerV2(node)) {
2487
+ * // 在这个花括号内,node 的类型为 DirectManagerV2
2488
+ * }
2489
+ * ```
2490
+ */
2491
+ function isStrictDirectManagerV2(node) {
2492
+ return isBaseNode(node) && node.concept === 'DirectManagerV2';
2493
+ }
2494
+ exports.isStrictDirectManagerV2 = isStrictDirectManagerV2;
2495
+ /**
2496
+ * 严格判断输入为 DepartmentManagerV2 节点
2497
+ *
2498
+ * @description 仅判断节点本身,不包含继承类
2499
+ * @example
2500
+ * ```ts
2501
+ * if (isStrictDepartmentManagerV2(node)) {
2502
+ * // 在这个花括号内,node 的类型为 DepartmentManagerV2
2503
+ * }
2504
+ * ```
2505
+ */
2506
+ function isStrictDepartmentManagerV2(node) {
2507
+ return isBaseNode(node) && node.concept === 'DepartmentManagerV2';
2508
+ }
2509
+ exports.isStrictDepartmentManagerV2 = isStrictDepartmentManagerV2;
2405
2510
  /**
2406
2511
  * 严格判断输入为 FlowConditionV2 节点
2407
2512
  *
@@ -2463,6 +2568,82 @@ function isStrictOrSignPolicyV2(node) {
2463
2568
  }
2464
2569
  exports.isStrictOrSignPolicyV2 = isStrictOrSignPolicyV2;
2465
2570
  //=========== 以下为继承类型判断 ===========
2571
+ /**
2572
+ * 判断输入为 Annotation 节点实例
2573
+ *
2574
+ * @description 包含节点类以及节点继承类的判断
2575
+ * @description 等价于`instanceof`运算,Annotation 节点没有继承类,此判断等价于`isStrictAnnotation`
2576
+ * @example
2577
+ * ```ts
2578
+ * if (isAnnotation(node)) {
2579
+ * // 在这个花括号内,node 的类型是 Annotation 或者 Annotation 继承类型
2580
+ * }
2581
+ * ```
2582
+ */
2583
+ function isAnnotation(node) {
2584
+ return (isBaseNode(node) &&
2585
+ (node.concept === 'Annotation'));
2586
+ }
2587
+ exports.isAnnotation = isAnnotation;
2588
+ /**
2589
+ * 判断输入为 AnnotationProperty 节点实例
2590
+ *
2591
+ * @description 包含节点类以及节点继承类的判断
2592
+ * @description 等价于`instanceof`运算,AnnotationProperty 节点没有继承类,此判断等价于`isStrictAnnotationProperty`
2593
+ * @example
2594
+ * ```ts
2595
+ * if (isAnnotationProperty(node)) {
2596
+ * // 在这个花括号内,node 的类型是 AnnotationProperty 或者 AnnotationProperty 继承类型
2597
+ * }
2598
+ * ```
2599
+ */
2600
+ function isAnnotationProperty(node) {
2601
+ return (isBaseNode(node) &&
2602
+ (node.concept === 'AnnotationProperty'));
2603
+ }
2604
+ exports.isAnnotationProperty = isAnnotationProperty;
2605
+ /**
2606
+ * 判断输入为 Annotatable 节点实例
2607
+ *
2608
+ * @description 包含节点类以及节点继承类的判断
2609
+ * @description 等价于`instanceof`运算
2610
+ * @example
2611
+ * ```ts
2612
+ * if (isAnnotatable(node)) {
2613
+ * // 在这个花括号内,node 的类型是 Annotatable 或者 Annotatable 继承类型
2614
+ * }
2615
+ * ```
2616
+ */
2617
+ function isAnnotatable(node) {
2618
+ return (isBaseNode(node) &&
2619
+ (node.concept === 'Annotatable' ||
2620
+ node.concept === 'Entity' ||
2621
+ node.concept === 'View' ||
2622
+ node.concept === 'ViewElement' ||
2623
+ node.concept === 'Logic' ||
2624
+ node.concept === 'AuthLogic' ||
2625
+ node.concept === 'AuthLogicForCallInterface' ||
2626
+ node.concept === 'BusinessLogic' ||
2627
+ node.concept === 'ConnectorLogic'));
2628
+ }
2629
+ exports.isAnnotatable = isAnnotatable;
2630
+ /**
2631
+ * 判断输入为 ApplyAnnotation 节点实例
2632
+ *
2633
+ * @description 包含节点类以及节点继承类的判断
2634
+ * @description 等价于`instanceof`运算,ApplyAnnotation 节点没有继承类,此判断等价于`isStrictApplyAnnotation`
2635
+ * @example
2636
+ * ```ts
2637
+ * if (isApplyAnnotation(node)) {
2638
+ * // 在这个花括号内,node 的类型是 ApplyAnnotation 或者 ApplyAnnotation 继承类型
2639
+ * }
2640
+ * ```
2641
+ */
2642
+ function isApplyAnnotation(node) {
2643
+ return (isBaseNode(node) &&
2644
+ (node.concept === 'ApplyAnnotation'));
2645
+ }
2646
+ exports.isApplyAnnotation = isApplyAnnotation;
2466
2647
  /**
2467
2648
  * 判断输入为 App 节点实例
2468
2649
  *
@@ -3500,6 +3681,7 @@ exports.isConstant = isConstant;
3500
3681
  function isLogicItem(node) {
3501
3682
  return (isBaseNode(node) &&
3502
3683
  (node.concept === 'LogicItem' ||
3684
+ node.concept === 'SubLogic' ||
3503
3685
  node.concept === 'AnonymousFunction' ||
3504
3686
  node.concept === 'Abort' ||
3505
3687
  node.concept === 'Start' ||
@@ -3559,6 +3741,23 @@ function isLogicItem(node) {
3559
3741
  node.concept === 'ProcessOutcomes'));
3560
3742
  }
3561
3743
  exports.isLogicItem = isLogicItem;
3744
+ /**
3745
+ * 判断输入为 SubLogic 节点实例
3746
+ *
3747
+ * @description 包含节点类以及节点继承类的判断
3748
+ * @description 等价于`instanceof`运算,SubLogic 节点没有继承类,此判断等价于`isStrictSubLogic`
3749
+ * @example
3750
+ * ```ts
3751
+ * if (isSubLogic(node)) {
3752
+ * // 在这个花括号内,node 的类型是 SubLogic 或者 SubLogic 继承类型
3753
+ * }
3754
+ * ```
3755
+ */
3756
+ function isSubLogic(node) {
3757
+ return (isBaseNode(node) &&
3758
+ (node.concept === 'SubLogic'));
3759
+ }
3760
+ exports.isSubLogic = isSubLogic;
3562
3761
  /**
3563
3762
  * 判断输入为 Function 节点实例
3564
3763
  *
@@ -5323,6 +5522,76 @@ function isAssigneeV2(node) {
5323
5522
  (node.concept === 'AssigneeV2'));
5324
5523
  }
5325
5524
  exports.isAssigneeV2 = isAssigneeV2;
5525
+ /**
5526
+ * 判断输入为 DepartmentV2 节点实例
5527
+ *
5528
+ * @description 包含节点类以及节点继承类的判断
5529
+ * @description 等价于`instanceof`运算,DepartmentV2 节点没有继承类,此判断等价于`isStrictDepartmentV2`
5530
+ * @example
5531
+ * ```ts
5532
+ * if (isDepartmentV2(node)) {
5533
+ * // 在这个花括号内,node 的类型是 DepartmentV2 或者 DepartmentV2 继承类型
5534
+ * }
5535
+ * ```
5536
+ */
5537
+ function isDepartmentV2(node) {
5538
+ return (isBaseNode(node) &&
5539
+ (node.concept === 'DepartmentV2'));
5540
+ }
5541
+ exports.isDepartmentV2 = isDepartmentV2;
5542
+ /**
5543
+ * 判断输入为 ManagerV2 节点实例
5544
+ *
5545
+ * @description 包含节点类以及节点继承类的判断
5546
+ * @description 等价于`instanceof`运算
5547
+ * @example
5548
+ * ```ts
5549
+ * if (isManagerV2(node)) {
5550
+ * // 在这个花括号内,node 的类型是 ManagerV2 或者 ManagerV2 继承类型
5551
+ * }
5552
+ * ```
5553
+ */
5554
+ function isManagerV2(node) {
5555
+ return (isBaseNode(node) &&
5556
+ (node.concept === 'ManagerV2' ||
5557
+ node.concept === 'DirectManagerV2' ||
5558
+ node.concept === 'DepartmentManagerV2'));
5559
+ }
5560
+ exports.isManagerV2 = isManagerV2;
5561
+ /**
5562
+ * 判断输入为 DirectManagerV2 节点实例
5563
+ *
5564
+ * @description 包含节点类以及节点继承类的判断
5565
+ * @description 等价于`instanceof`运算,DirectManagerV2 节点没有继承类,此判断等价于`isStrictDirectManagerV2`
5566
+ * @example
5567
+ * ```ts
5568
+ * if (isDirectManagerV2(node)) {
5569
+ * // 在这个花括号内,node 的类型是 DirectManagerV2 或者 DirectManagerV2 继承类型
5570
+ * }
5571
+ * ```
5572
+ */
5573
+ function isDirectManagerV2(node) {
5574
+ return (isBaseNode(node) &&
5575
+ (node.concept === 'DirectManagerV2'));
5576
+ }
5577
+ exports.isDirectManagerV2 = isDirectManagerV2;
5578
+ /**
5579
+ * 判断输入为 DepartmentManagerV2 节点实例
5580
+ *
5581
+ * @description 包含节点类以及节点继承类的判断
5582
+ * @description 等价于`instanceof`运算,DepartmentManagerV2 节点没有继承类,此判断等价于`isStrictDepartmentManagerV2`
5583
+ * @example
5584
+ * ```ts
5585
+ * if (isDepartmentManagerV2(node)) {
5586
+ * // 在这个花括号内,node 的类型是 DepartmentManagerV2 或者 DepartmentManagerV2 继承类型
5587
+ * }
5588
+ * ```
5589
+ */
5590
+ function isDepartmentManagerV2(node) {
5591
+ return (isBaseNode(node) &&
5592
+ (node.concept === 'DepartmentManagerV2'));
5593
+ }
5594
+ exports.isDepartmentManagerV2 = isDepartmentManagerV2;
5326
5595
  /**
5327
5596
  * 判断输入为 FlowConditionV2 节点实例
5328
5597
  *
@@ -5412,6 +5681,57 @@ function isOrSignPolicyV2(node) {
5412
5681
  }
5413
5682
  exports.isOrSignPolicyV2 = isOrSignPolicyV2;
5414
5683
  //=========== 以下为严格类型断言 ===========
5684
+ /**
5685
+ * 严格断言为 Annotation 节点
5686
+ *
5687
+ * @description 仅断言节点本身,不包含继承类
5688
+ * @example
5689
+ * ```ts
5690
+ * assertStrictAnnotation(node);
5691
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 Annotation 类型
5692
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
5693
+ * ```
5694
+ */
5695
+ function assertStrictAnnotation(node) {
5696
+ if (!isStrictAnnotation(node)) {
5697
+ throw new Error(`Annotation 节点严格断言失败`);
5698
+ }
5699
+ }
5700
+ exports.assertStrictAnnotation = assertStrictAnnotation;
5701
+ /**
5702
+ * 严格断言为 AnnotationProperty 节点
5703
+ *
5704
+ * @description 仅断言节点本身,不包含继承类
5705
+ * @example
5706
+ * ```ts
5707
+ * assertStrictAnnotationProperty(node);
5708
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 AnnotationProperty 类型
5709
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
5710
+ * ```
5711
+ */
5712
+ function assertStrictAnnotationProperty(node) {
5713
+ if (!isStrictAnnotationProperty(node)) {
5714
+ throw new Error(`AnnotationProperty 节点严格断言失败`);
5715
+ }
5716
+ }
5717
+ exports.assertStrictAnnotationProperty = assertStrictAnnotationProperty;
5718
+ /**
5719
+ * 严格断言为 ApplyAnnotation 节点
5720
+ *
5721
+ * @description 仅断言节点本身,不包含继承类
5722
+ * @example
5723
+ * ```ts
5724
+ * assertStrictApplyAnnotation(node);
5725
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 ApplyAnnotation 类型
5726
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
5727
+ * ```
5728
+ */
5729
+ function assertStrictApplyAnnotation(node) {
5730
+ if (!isStrictApplyAnnotation(node)) {
5731
+ throw new Error(`ApplyAnnotation 节点严格断言失败`);
5732
+ }
5733
+ }
5734
+ exports.assertStrictApplyAnnotation = assertStrictApplyAnnotation;
5415
5735
  /**
5416
5736
  * 严格断言为 App 节点
5417
5737
  *
@@ -6381,6 +6701,23 @@ function assertStrictConstant(node) {
6381
6701
  }
6382
6702
  }
6383
6703
  exports.assertStrictConstant = assertStrictConstant;
6704
+ /**
6705
+ * 严格断言为 SubLogic 节点
6706
+ *
6707
+ * @description 仅断言节点本身,不包含继承类
6708
+ * @example
6709
+ * ```ts
6710
+ * assertStrictSubLogic(node);
6711
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 SubLogic 类型
6712
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
6713
+ * ```
6714
+ */
6715
+ function assertStrictSubLogic(node) {
6716
+ if (!isStrictSubLogic(node)) {
6717
+ throw new Error(`SubLogic 节点严格断言失败`);
6718
+ }
6719
+ }
6720
+ exports.assertStrictSubLogic = assertStrictSubLogic;
6384
6721
  /**
6385
6722
  * 严格断言为 Function 节点
6386
6723
  *
@@ -8081,6 +8418,57 @@ function assertStrictAssigneeV2(node) {
8081
8418
  }
8082
8419
  }
8083
8420
  exports.assertStrictAssigneeV2 = assertStrictAssigneeV2;
8421
+ /**
8422
+ * 严格断言为 DepartmentV2 节点
8423
+ *
8424
+ * @description 仅断言节点本身,不包含继承类
8425
+ * @example
8426
+ * ```ts
8427
+ * assertStrictDepartmentV2(node);
8428
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 DepartmentV2 类型
8429
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
8430
+ * ```
8431
+ */
8432
+ function assertStrictDepartmentV2(node) {
8433
+ if (!isStrictDepartmentV2(node)) {
8434
+ throw new Error(`DepartmentV2 节点严格断言失败`);
8435
+ }
8436
+ }
8437
+ exports.assertStrictDepartmentV2 = assertStrictDepartmentV2;
8438
+ /**
8439
+ * 严格断言为 DirectManagerV2 节点
8440
+ *
8441
+ * @description 仅断言节点本身,不包含继承类
8442
+ * @example
8443
+ * ```ts
8444
+ * assertStrictDirectManagerV2(node);
8445
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 DirectManagerV2 类型
8446
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
8447
+ * ```
8448
+ */
8449
+ function assertStrictDirectManagerV2(node) {
8450
+ if (!isStrictDirectManagerV2(node)) {
8451
+ throw new Error(`DirectManagerV2 节点严格断言失败`);
8452
+ }
8453
+ }
8454
+ exports.assertStrictDirectManagerV2 = assertStrictDirectManagerV2;
8455
+ /**
8456
+ * 严格断言为 DepartmentManagerV2 节点
8457
+ *
8458
+ * @description 仅断言节点本身,不包含继承类
8459
+ * @example
8460
+ * ```ts
8461
+ * assertStrictDepartmentManagerV2(node);
8462
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 DepartmentManagerV2 类型
8463
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
8464
+ * ```
8465
+ */
8466
+ function assertStrictDepartmentManagerV2(node) {
8467
+ if (!isStrictDepartmentManagerV2(node)) {
8468
+ throw new Error(`DepartmentManagerV2 节点严格断言失败`);
8469
+ }
8470
+ }
8471
+ exports.assertStrictDepartmentManagerV2 = assertStrictDepartmentManagerV2;
8084
8472
  /**
8085
8473
  * 严格断言为 FlowConditionV2 节点
8086
8474
  *
@@ -8150,6 +8538,78 @@ function assertStrictOrSignPolicyV2(node) {
8150
8538
  }
8151
8539
  exports.assertStrictOrSignPolicyV2 = assertStrictOrSignPolicyV2;
8152
8540
  //=========== 以下为继承类型断言 ===========
8541
+ /**
8542
+ * 断言为 Annotation 节点
8543
+ *
8544
+ * @description 包含节点类以及节点继承类的判断
8545
+ * @description 节点没有继承类时,等价于`assertStrictAnnotation`方法
8546
+ * @example
8547
+ * ```ts
8548
+ * assertAnnotation(node);
8549
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 Annotation 或者 Annotation 继承类型
8550
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
8551
+ * ```
8552
+ */
8553
+ function assertAnnotation(node) {
8554
+ if (!isAnnotation(node)) {
8555
+ throw new Error(`Annotation 节点断言失败`);
8556
+ }
8557
+ }
8558
+ exports.assertAnnotation = assertAnnotation;
8559
+ /**
8560
+ * 断言为 AnnotationProperty 节点
8561
+ *
8562
+ * @description 包含节点类以及节点继承类的判断
8563
+ * @description 节点没有继承类时,等价于`assertStrictAnnotationProperty`方法
8564
+ * @example
8565
+ * ```ts
8566
+ * assertAnnotationProperty(node);
8567
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 AnnotationProperty 或者 AnnotationProperty 继承类型
8568
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
8569
+ * ```
8570
+ */
8571
+ function assertAnnotationProperty(node) {
8572
+ if (!isAnnotationProperty(node)) {
8573
+ throw new Error(`AnnotationProperty 节点断言失败`);
8574
+ }
8575
+ }
8576
+ exports.assertAnnotationProperty = assertAnnotationProperty;
8577
+ /**
8578
+ * 断言为 Annotatable 节点
8579
+ *
8580
+ * @description 包含节点类以及节点继承类的判断
8581
+ * @description 节点没有继承类时,等价于`assertStrictAnnotatable`方法
8582
+ * @example
8583
+ * ```ts
8584
+ * assertAnnotatable(node);
8585
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 Annotatable 或者 Annotatable 继承类型
8586
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
8587
+ * ```
8588
+ */
8589
+ function assertAnnotatable(node) {
8590
+ if (!isAnnotatable(node)) {
8591
+ throw new Error(`Annotatable 节点断言失败`);
8592
+ }
8593
+ }
8594
+ exports.assertAnnotatable = assertAnnotatable;
8595
+ /**
8596
+ * 断言为 ApplyAnnotation 节点
8597
+ *
8598
+ * @description 包含节点类以及节点继承类的判断
8599
+ * @description 节点没有继承类时,等价于`assertStrictApplyAnnotation`方法
8600
+ * @example
8601
+ * ```ts
8602
+ * assertApplyAnnotation(node);
8603
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 ApplyAnnotation 或者 ApplyAnnotation 继承类型
8604
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
8605
+ * ```
8606
+ */
8607
+ function assertApplyAnnotation(node) {
8608
+ if (!isApplyAnnotation(node)) {
8609
+ throw new Error(`ApplyAnnotation 节点断言失败`);
8610
+ }
8611
+ }
8612
+ exports.assertApplyAnnotation = assertApplyAnnotation;
8153
8613
  /**
8154
8614
  * 断言为 App 节点
8155
8615
  *
@@ -9230,6 +9690,24 @@ function assertLogicItem(node) {
9230
9690
  }
9231
9691
  }
9232
9692
  exports.assertLogicItem = assertLogicItem;
9693
+ /**
9694
+ * 断言为 SubLogic 节点
9695
+ *
9696
+ * @description 包含节点类以及节点继承类的判断
9697
+ * @description 节点没有继承类时,等价于`assertStrictSubLogic`方法
9698
+ * @example
9699
+ * ```ts
9700
+ * assertSubLogic(node);
9701
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 SubLogic 或者 SubLogic 继承类型
9702
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
9703
+ * ```
9704
+ */
9705
+ function assertSubLogic(node) {
9706
+ if (!isSubLogic(node)) {
9707
+ throw new Error(`SubLogic 节点断言失败`);
9708
+ }
9709
+ }
9710
+ exports.assertSubLogic = assertSubLogic;
9233
9711
  /**
9234
9712
  * 断言为 Function 节点
9235
9713
  *
@@ -11084,6 +11562,78 @@ function assertAssigneeV2(node) {
11084
11562
  }
11085
11563
  }
11086
11564
  exports.assertAssigneeV2 = assertAssigneeV2;
11565
+ /**
11566
+ * 断言为 DepartmentV2 节点
11567
+ *
11568
+ * @description 包含节点类以及节点继承类的判断
11569
+ * @description 节点没有继承类时,等价于`assertStrictDepartmentV2`方法
11570
+ * @example
11571
+ * ```ts
11572
+ * assertDepartmentV2(node);
11573
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 DepartmentV2 或者 DepartmentV2 继承类型
11574
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
11575
+ * ```
11576
+ */
11577
+ function assertDepartmentV2(node) {
11578
+ if (!isDepartmentV2(node)) {
11579
+ throw new Error(`DepartmentV2 节点断言失败`);
11580
+ }
11581
+ }
11582
+ exports.assertDepartmentV2 = assertDepartmentV2;
11583
+ /**
11584
+ * 断言为 ManagerV2 节点
11585
+ *
11586
+ * @description 包含节点类以及节点继承类的判断
11587
+ * @description 节点没有继承类时,等价于`assertStrictManagerV2`方法
11588
+ * @example
11589
+ * ```ts
11590
+ * assertManagerV2(node);
11591
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 ManagerV2 或者 ManagerV2 继承类型
11592
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
11593
+ * ```
11594
+ */
11595
+ function assertManagerV2(node) {
11596
+ if (!isManagerV2(node)) {
11597
+ throw new Error(`ManagerV2 节点断言失败`);
11598
+ }
11599
+ }
11600
+ exports.assertManagerV2 = assertManagerV2;
11601
+ /**
11602
+ * 断言为 DirectManagerV2 节点
11603
+ *
11604
+ * @description 包含节点类以及节点继承类的判断
11605
+ * @description 节点没有继承类时,等价于`assertStrictDirectManagerV2`方法
11606
+ * @example
11607
+ * ```ts
11608
+ * assertDirectManagerV2(node);
11609
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 DirectManagerV2 或者 DirectManagerV2 继承类型
11610
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
11611
+ * ```
11612
+ */
11613
+ function assertDirectManagerV2(node) {
11614
+ if (!isDirectManagerV2(node)) {
11615
+ throw new Error(`DirectManagerV2 节点断言失败`);
11616
+ }
11617
+ }
11618
+ exports.assertDirectManagerV2 = assertDirectManagerV2;
11619
+ /**
11620
+ * 断言为 DepartmentManagerV2 节点
11621
+ *
11622
+ * @description 包含节点类以及节点继承类的判断
11623
+ * @description 节点没有继承类时,等价于`assertStrictDepartmentManagerV2`方法
11624
+ * @example
11625
+ * ```ts
11626
+ * assertDepartmentManagerV2(node);
11627
+ * // 当前作用域内,断言语句之后,node 的类型都将会被断言为 DepartmentManagerV2 或者 DepartmentManagerV2 继承类型
11628
+ * // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
11629
+ * ```
11630
+ */
11631
+ function assertDepartmentManagerV2(node) {
11632
+ if (!isDepartmentManagerV2(node)) {
11633
+ throw new Error(`DepartmentManagerV2 节点断言失败`);
11634
+ }
11635
+ }
11636
+ exports.assertDepartmentManagerV2 = assertDepartmentManagerV2;
11087
11637
  /**
11088
11638
  * 断言为 FlowConditionV2 节点
11089
11639
  *