@lcap/nasl 3.7.0-alpha.1 → 3.7.0-beta.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.
- package/out/automate/engine/utils.d.ts +1 -1
- package/out/automate/engine/utils.js +3 -7
- package/out/automate/engine/utils.js.map +1 -1
- package/out/automate/template/myProcess.js +65 -65
- package/out/automate/template/myProcess.js.map +1 -1
- package/out/bak/translator.js +42 -12
- package/out/bak/translator.js.map +1 -1
- package/out/breakpoint/generator/BreakpointNode.d.ts +2 -0
- package/out/breakpoint/generator/BreakpointNode.js +7 -0
- package/out/breakpoint/generator/BreakpointNode.js.map +1 -1
- package/out/breakpoint/shared/constants.js +1 -0
- package/out/breakpoint/shared/constants.js.map +1 -1
- package/out/breakpoint/shared/utils.js +1 -1
- package/out/breakpoint/shared/utils.js.map +1 -1
- package/out/common/BaseNode.d.ts +4 -3
- package/out/common/BaseNode.js +61 -10
- package/out/common/BaseNode.js.map +1 -1
- package/out/common/ComponentAPI.d.ts +5 -3
- package/out/common/EventEmitter.d.ts +1 -0
- package/out/common/EventEmitter.js.map +1 -1
- package/out/concepts/Abort__.d.ts +5 -4
- package/out/concepts/Abort__.js +5 -7
- package/out/concepts/Abort__.js.map +1 -1
- package/out/concepts/AbstractInterface__.d.ts +9 -6
- package/out/concepts/AbstractInterface__.js +8 -11
- package/out/concepts/AbstractInterface__.js.map +1 -1
- package/out/concepts/Anchor__.d.ts +5 -12
- package/out/concepts/Anchor__.js +5 -44
- package/out/concepts/Anchor__.js.map +1 -1
- package/out/concepts/AnonymousFunction__.d.ts +10 -47
- package/out/concepts/AnonymousFunction__.js +14 -159
- package/out/concepts/AnonymousFunction__.js.map +1 -1
- package/out/concepts/App__.d.ts +321 -437
- package/out/concepts/App__.js +460 -986
- package/out/concepts/App__.js.map +1 -1
- package/out/concepts/Argument__.d.ts +5 -12
- package/out/concepts/Argument__.js +11 -46
- package/out/concepts/Argument__.js.map +1 -1
- package/out/concepts/Assignee__.d.ts +8 -5
- package/out/concepts/Assignee__.js +9 -66
- package/out/concepts/Assignee__.js.map +1 -1
- package/out/concepts/AssignmentLine__.d.ts +5 -6
- package/out/concepts/AssignmentLine__.js +7 -11
- package/out/concepts/AssignmentLine__.js.map +1 -1
- package/out/concepts/Assignment__.d.ts +5 -26
- package/out/concepts/Assignment__.js +5 -64
- package/out/concepts/Assignment__.js.map +1 -1
- package/out/concepts/Attribute__.d.ts +14 -51
- package/out/concepts/Attribute__.js +36 -126
- package/out/concepts/Attribute__.js.map +1 -1
- package/out/concepts/AuthInterface__.d.ts +10 -10
- package/out/concepts/AuthInterface__.js +18 -13
- package/out/concepts/AuthInterface__.js.map +1 -1
- package/out/concepts/AuthLogicForCallInterface__.d.ts +6 -3
- package/out/concepts/AuthLogicForCallInterface__.js +6 -32
- package/out/concepts/AuthLogicForCallInterface__.js.map +1 -1
- package/out/concepts/AuthLogic__.d.ts +19 -19
- package/out/concepts/AuthLogic__.js +26 -25
- package/out/concepts/AuthLogic__.js.map +1 -1
- package/out/concepts/BackendVariable__.d.ts +19 -47
- package/out/concepts/BackendVariable__.js +43 -134
- package/out/concepts/BackendVariable__.js.map +1 -1
- package/out/concepts/Backend__.d.ts +6 -13
- package/out/concepts/Backend__.js +13 -50
- package/out/concepts/Backend__.js.map +1 -1
- package/out/concepts/BaseSetter__.d.ts +25 -0
- package/out/concepts/BaseSetter__.js +53 -0
- package/out/concepts/BaseSetter__.js.map +1 -0
- package/out/concepts/BatchAssignment__.d.ts +9 -21
- package/out/concepts/BatchAssignment__.js +11 -86
- package/out/concepts/BatchAssignment__.js.map +1 -1
- package/out/concepts/BinaryExpression__.d.ts +5 -22
- package/out/concepts/BinaryExpression__.js +32 -59
- package/out/concepts/BinaryExpression__.js.map +1 -1
- package/out/concepts/BindAttribute__.d.ts +60 -107
- package/out/concepts/BindAttribute__.js +144 -251
- package/out/concepts/BindAttribute__.js.map +1 -1
- package/out/concepts/BindDirective__.d.ts +26 -42
- package/out/concepts/BindDirective__.js +63 -105
- package/out/concepts/BindDirective__.js.map +1 -1
- package/out/concepts/BindEvent__.d.ts +27 -36
- package/out/concepts/BindEvent__.js +50 -109
- package/out/concepts/BindEvent__.js.map +1 -1
- package/out/concepts/BindStyle__.d.ts +24 -41
- package/out/concepts/BindStyle__.js +48 -88
- package/out/concepts/BindStyle__.js.map +1 -1
- package/out/concepts/Block__.d.ts +5 -2
- package/out/concepts/Block__.js +5 -31
- package/out/concepts/Block__.js.map +1 -1
- package/out/concepts/BooleanLiteral__.d.ts +5 -0
- package/out/concepts/BooleanLiteral__.js +8 -1
- package/out/concepts/BooleanLiteral__.js.map +1 -1
- package/out/concepts/BusinessComponent__.d.ts +47 -49
- package/out/concepts/BusinessComponent__.js +122 -444
- package/out/concepts/BusinessComponent__.js.map +1 -1
- package/out/concepts/BusinessLogic__.d.ts +5 -0
- package/out/concepts/BusinessLogic__.js +8 -1
- package/out/concepts/BusinessLogic__.js.map +1 -1
- package/out/concepts/CallAuthInterface__.d.ts +6 -4
- package/out/concepts/CallAuthInterface__.js +6 -34
- package/out/concepts/CallAuthInterface__.js.map +1 -1
- package/out/concepts/CallConnector__.d.ts +5 -0
- package/out/concepts/CallConnector__.js +11 -2
- package/out/concepts/CallConnector__.js.map +1 -1
- package/out/concepts/CallEvent__.d.ts +6 -7
- package/out/concepts/CallEvent__.js +11 -40
- package/out/concepts/CallEvent__.js.map +1 -1
- package/out/concepts/CallFunction__.d.ts +17 -9
- package/out/concepts/CallFunction__.js +84 -130
- package/out/concepts/CallFunction__.js.map +1 -1
- package/out/concepts/CallInterface__.d.ts +6 -7
- package/out/concepts/CallInterface__.js +14 -41
- package/out/concepts/CallInterface__.js.map +1 -1
- package/out/concepts/CallLogic__.d.ts +11 -24
- package/out/concepts/CallLogic__.js +68 -140
- package/out/concepts/CallLogic__.js.map +1 -1
- package/out/concepts/CallQueryComponent__.d.ts +70 -126
- package/out/concepts/CallQueryComponent__.js +134 -308
- package/out/concepts/CallQueryComponent__.js.map +1 -1
- package/out/concepts/CapsulesSetter__.d.ts +109 -0
- package/out/concepts/CapsulesSetter__.js +163 -0
- package/out/concepts/CapsulesSetter__.js.map +1 -0
- package/out/concepts/Comment__.d.ts +5 -0
- package/out/concepts/Comment__.js +8 -1
- package/out/concepts/Comment__.js.map +1 -1
- package/out/concepts/CompletionProperty__.d.ts +6 -26
- package/out/concepts/CompletionProperty__.js +24 -74
- package/out/concepts/CompletionProperty__.js.map +1 -1
- package/out/concepts/ConfigGroup__.d.ts +6 -13
- package/out/concepts/ConfigGroup__.js +13 -50
- package/out/concepts/ConfigGroup__.js.map +1 -1
- package/out/concepts/ConfigPropertyValue__.d.ts +5 -11
- package/out/concepts/ConfigPropertyValue__.js +11 -19
- package/out/concepts/ConfigPropertyValue__.js.map +1 -1
- package/out/concepts/ConfigProperty__.d.ts +11 -18
- package/out/concepts/ConfigProperty__.js +25 -58
- package/out/concepts/ConfigProperty__.js.map +1 -1
- package/out/concepts/Configuration__.d.ts +6 -13
- package/out/concepts/Configuration__.js +6 -49
- package/out/concepts/Configuration__.js.map +1 -1
- package/out/concepts/Connection__.d.ts +11 -18
- package/out/concepts/Connection__.js +25 -58
- package/out/concepts/Connection__.js.map +1 -1
- package/out/concepts/ConnectorTrigger__.d.ts +28 -34
- package/out/concepts/ConnectorTrigger__.js +55 -50
- package/out/concepts/ConnectorTrigger__.js.map +1 -1
- package/out/concepts/Connector__.d.ts +106 -504
- package/out/concepts/Connector__.js +134 -791
- package/out/concepts/Connector__.js.map +1 -1
- package/out/concepts/Constant__.d.ts +27 -55
- package/out/concepts/Constant__.js +45 -137
- package/out/concepts/Constant__.js.map +1 -1
- package/out/concepts/CountersignPolicy__.d.ts +6 -5
- package/out/concepts/CountersignPolicy__.js +8 -12
- package/out/concepts/CountersignPolicy__.js.map +1 -1
- package/out/concepts/DataSource__.d.ts +11 -18
- package/out/concepts/DataSource__.js +25 -58
- package/out/concepts/DataSource__.js.map +1 -1
- package/out/concepts/DatabaseTypeAnnotation__.d.ts +5 -6
- package/out/concepts/DatabaseTypeAnnotation__.js +11 -13
- package/out/concepts/DatabaseTypeAnnotation__.js.map +1 -1
- package/out/concepts/DefaultValue__.d.ts +7 -19
- package/out/concepts/DefaultValue__.js +6 -56
- package/out/concepts/DefaultValue__.js.map +1 -1
- package/out/concepts/Destination__.d.ts +10 -21
- package/out/concepts/Destination__.js +15 -55
- package/out/concepts/Destination__.js.map +1 -1
- package/out/concepts/End__.d.ts +5 -4
- package/out/concepts/End__.js +7 -8
- package/out/concepts/End__.js.map +1 -1
- package/out/concepts/EntityIndex__.d.ts +20 -26
- package/out/concepts/EntityIndex__.js +40 -39
- package/out/concepts/EntityIndex__.js.map +1 -1
- package/out/concepts/EntityProperty__.d.ts +17 -56
- package/out/concepts/EntityProperty__.js +70 -181
- package/out/concepts/EntityProperty__.js.map +1 -1
- package/out/concepts/Entity__.d.ts +18 -26
- package/out/concepts/Entity__.js +38 -98
- package/out/concepts/Entity__.js.map +1 -1
- package/out/concepts/EnumItem__.d.ts +15 -21
- package/out/concepts/EnumItem__.js +27 -31
- package/out/concepts/EnumItem__.js.map +1 -1
- package/out/concepts/EnumSelectSetter__.d.ts +109 -0
- package/out/concepts/EnumSelectSetter__.js +163 -0
- package/out/concepts/EnumSelectSetter__.js.map +1 -0
- package/out/concepts/Enum__.d.ts +10 -28
- package/out/concepts/Enum__.js +35 -102
- package/out/concepts/Enum__.js.map +1 -1
- package/out/concepts/EventDeclaration__.d.ts +41 -0
- package/out/concepts/EventDeclaration__.js +81 -0
- package/out/concepts/EventDeclaration__.js.map +1 -0
- package/out/concepts/Event__.d.ts +16 -27
- package/out/concepts/Event__.js +37 -78
- package/out/concepts/Event__.js.map +1 -1
- package/out/concepts/ExternalDestination__.d.ts +8 -25
- package/out/concepts/ExternalDestination__.js +8 -58
- package/out/concepts/ExternalDestination__.js.map +1 -1
- package/out/concepts/ForEachStatement__.d.ts +7 -55
- package/out/concepts/ForEachStatement__.js +6 -128
- package/out/concepts/ForEachStatement__.js.map +1 -1
- package/out/concepts/FrontendLibrary__.d.ts +38 -46
- package/out/concepts/FrontendLibrary__.js +55 -121
- package/out/concepts/FrontendLibrary__.js.map +1 -1
- package/out/concepts/FrontendType__.d.ts +8 -12
- package/out/concepts/FrontendType__.js +15 -109
- package/out/concepts/FrontendType__.js.map +1 -1
- package/out/concepts/FrontendVariable__.d.ts +5 -0
- package/out/concepts/FrontendVariable__.js +8 -1
- package/out/concepts/FrontendVariable__.js.map +1 -1
- package/out/concepts/Frontend__.d.ts +9 -41
- package/out/concepts/Frontend__.js +36 -209
- package/out/concepts/Frontend__.js.map +1 -1
- package/out/concepts/Function__.d.ts +13 -34
- package/out/concepts/Function__.js +22 -194
- package/out/concepts/Function__.js.map +1 -1
- package/out/concepts/I18nInfo__.d.ts +6 -7
- package/out/concepts/I18nInfo__.js +14 -14
- package/out/concepts/I18nInfo__.js.map +1 -1
- package/out/concepts/IconSetter__.d.ts +29 -0
- package/out/concepts/IconSetter__.js +62 -0
- package/out/concepts/IconSetter__.js.map +1 -0
- package/out/concepts/Identifier__.d.ts +5 -0
- package/out/concepts/Identifier__.js +20 -6
- package/out/concepts/Identifier__.js.map +1 -1
- package/out/concepts/IfStatement__.d.ts +5 -12
- package/out/concepts/IfStatement__.js +5 -44
- package/out/concepts/IfStatement__.js.map +1 -1
- package/out/concepts/ImageSetter__.d.ts +25 -0
- package/out/concepts/ImageSetter__.js +53 -0
- package/out/concepts/ImageSetter__.js.map +1 -0
- package/out/concepts/ImportedInterface__.d.ts +9 -0
- package/out/concepts/ImportedInterface__.js +11 -1
- package/out/concepts/ImportedInterface__.js.map +1 -1
- package/out/concepts/InputSetter__.d.ts +29 -0
- package/out/concepts/InputSetter__.js +62 -0
- package/out/concepts/InputSetter__.js.map +1 -0
- package/out/concepts/Integration__.d.ts +7 -26
- package/out/concepts/Integration__.js +6 -93
- package/out/concepts/Integration__.js.map +1 -1
- package/out/concepts/InterfaceParam__.d.ts +34 -62
- package/out/concepts/InterfaceParam__.js +63 -147
- package/out/concepts/InterfaceParam__.js.map +1 -1
- package/out/concepts/Interface__.d.ts +42 -48
- package/out/concepts/Interface__.js +89 -158
- package/out/concepts/Interface__.js.map +1 -1
- package/out/concepts/JSBlock__.d.ts +5 -4
- package/out/concepts/JSBlock__.js +8 -8
- package/out/concepts/JSBlock__.js.map +1 -1
- package/out/concepts/JavaLogic__.d.ts +5 -0
- package/out/concepts/JavaLogic__.js +14 -3
- package/out/concepts/JavaLogic__.js.map +1 -1
- package/out/concepts/LogicDeclaration__.d.ts +289 -0
- package/out/concepts/LogicDeclaration__.js +352 -0
- package/out/concepts/LogicDeclaration__.js.map +1 -0
- package/out/concepts/LogicItem__.d.ts +39 -45
- package/out/concepts/LogicItem__.js +76 -62
- package/out/concepts/LogicItem__.js.map +1 -1
- package/out/concepts/Logic__.d.ts +45 -63
- package/out/concepts/Logic__.js +159 -280
- package/out/concepts/Logic__.js.map +1 -1
- package/out/concepts/MatchCase__.d.ts +6 -4
- package/out/concepts/MatchCase__.js +16 -68
- package/out/concepts/MatchCase__.js.map +1 -1
- package/out/concepts/Match__.d.ts +8 -14
- package/out/concepts/Match__.js +17 -49
- package/out/concepts/Match__.js.map +1 -1
- package/out/concepts/MemberExpression__.d.ts +8 -23
- package/out/concepts/MemberExpression__.js +85 -103
- package/out/concepts/MemberExpression__.js.map +1 -1
- package/out/concepts/MetadataType__.d.ts +36 -54
- package/out/concepts/MetadataType__.js +44 -119
- package/out/concepts/MetadataType__.js.map +1 -1
- package/out/concepts/MicroApp__.d.ts +5 -6
- package/out/concepts/MicroApp__.js +30 -18
- package/out/concepts/MicroApp__.js.map +1 -1
- package/out/concepts/Module__.d.ts +99 -128
- package/out/concepts/Module__.js +133 -532
- package/out/concepts/Module__.js.map +1 -1
- package/out/concepts/MsgTriggerEvent__.d.ts +31 -33
- package/out/concepts/MsgTriggerEvent__.js +39 -67
- package/out/concepts/MsgTriggerEvent__.js.map +1 -1
- package/out/concepts/MsgTriggerLauncher__.d.ts +11 -14
- package/out/concepts/MsgTriggerLauncher__.js +18 -44
- package/out/concepts/MsgTriggerLauncher__.js.map +1 -1
- package/out/concepts/MultiApprovalPolicy__.d.ts +8 -9
- package/out/concepts/MultiApprovalPolicy__.js +7 -13
- package/out/concepts/MultiApprovalPolicy__.js.map +1 -1
- package/out/concepts/Namespace__.d.ts +112 -138
- package/out/concepts/Namespace__.js +122 -501
- package/out/concepts/Namespace__.js.map +1 -1
- package/out/concepts/NewComposite__.d.ts +11 -21
- package/out/concepts/NewComposite__.js +48 -146
- package/out/concepts/NewComposite__.js.map +1 -1
- package/out/concepts/NewList__.d.ts +6 -14
- package/out/concepts/NewList__.js +7 -77
- package/out/concepts/NewList__.js.map +1 -1
- package/out/concepts/NewMap__.d.ts +6 -14
- package/out/concepts/NewMap__.js +7 -77
- package/out/concepts/NewMap__.js.map +1 -1
- package/out/concepts/New__.d.ts +6 -0
- package/out/concepts/New__.js +9 -0
- package/out/concepts/New__.js.map +1 -1
- package/out/concepts/NullLiteral__.d.ts +5 -0
- package/out/concepts/NullLiteral__.js +5 -0
- package/out/concepts/NullLiteral__.js.map +1 -1
- package/out/concepts/NumberInputSetter__.d.ts +45 -0
- package/out/concepts/NumberInputSetter__.js +98 -0
- package/out/concepts/NumberInputSetter__.js.map +1 -0
- package/out/concepts/NumericLiteral__.d.ts +6 -13
- package/out/concepts/NumericLiteral__.js +8 -45
- package/out/concepts/NumericLiteral__.js.map +1 -1
- package/out/concepts/OqlQueryComponent__.d.ts +7 -17
- package/out/concepts/OqlQueryComponent__.js +16 -53
- package/out/concepts/OqlQueryComponent__.js.map +1 -1
- package/out/concepts/OverriddenLogic__.d.ts +38 -59
- package/out/concepts/OverriddenLogic__.js +55 -252
- package/out/concepts/OverriddenLogic__.js.map +1 -1
- package/out/concepts/Paginate__.d.ts +59 -0
- package/out/concepts/Paginate__.js +158 -0
- package/out/concepts/Paginate__.js.map +1 -0
- package/out/concepts/ParamWithGroup__.d.ts +13 -10
- package/out/concepts/ParamWithGroup__.js +15 -6
- package/out/concepts/ParamWithGroup__.js.map +1 -1
- package/out/concepts/Param__.d.ts +33 -76
- package/out/concepts/Param__.js +63 -159
- package/out/concepts/Param__.js.map +1 -1
- package/out/concepts/Point__.d.ts +5 -6
- package/out/concepts/Point__.js +11 -13
- package/out/concepts/Point__.js.map +1 -1
- package/out/concepts/ProcessComponent__.d.ts +12 -20
- package/out/concepts/ProcessComponent__.js +32 -90
- package/out/concepts/ProcessComponent__.js.map +1 -1
- package/out/concepts/ProcessElement__.d.ts +21 -66
- package/out/concepts/ProcessElement__.js +48 -360
- package/out/concepts/ProcessElement__.js.map +1 -1
- package/out/concepts/ProcessOutcome__.d.ts +5 -4
- package/out/concepts/ProcessOutcome__.js +8 -8
- package/out/concepts/ProcessOutcome__.js.map +1 -1
- package/out/concepts/ProcessOutcomes__.d.ts +5 -4
- package/out/concepts/ProcessOutcomes__.js +6 -7
- package/out/concepts/ProcessOutcomes__.js.map +1 -1
- package/out/concepts/Process__.d.ts +16 -26
- package/out/concepts/Process__.js +29 -186
- package/out/concepts/Process__.js.map +1 -1
- package/out/concepts/PropDeclaration__.d.ts +99 -0
- package/out/concepts/PropDeclaration__.js +183 -0
- package/out/concepts/PropDeclaration__.js.map +1 -0
- package/out/concepts/PropertySelectSetter__.d.ts +25 -0
- package/out/concepts/PropertySelectSetter__.js +53 -0
- package/out/concepts/PropertySelectSetter__.js.map +1 -0
- package/out/concepts/QueryAggregateExpression__.d.ts +6 -13
- package/out/concepts/QueryAggregateExpression__.js +11 -46
- package/out/concepts/QueryAggregateExpression__.js.map +1 -1
- package/out/concepts/QueryFieldExpression__.d.ts +5 -0
- package/out/concepts/QueryFieldExpression__.js +17 -4
- package/out/concepts/QueryFieldExpression__.js.map +1 -1
- package/out/concepts/QueryFromExpression__.d.ts +6 -3
- package/out/concepts/QueryFromExpression__.js +14 -34
- package/out/concepts/QueryFromExpression__.js.map +1 -1
- package/out/concepts/QueryGroupByExpression__.d.ts +5 -12
- package/out/concepts/QueryGroupByExpression__.js +5 -44
- package/out/concepts/QueryGroupByExpression__.js.map +1 -1
- package/out/concepts/QueryJoinExpression__.d.ts +29 -26
- package/out/concepts/QueryJoinExpression__.js +34 -52
- package/out/concepts/QueryJoinExpression__.js.map +1 -1
- package/out/concepts/QueryLimitExpression__.d.ts +5 -22
- package/out/concepts/QueryLimitExpression__.js +5 -57
- package/out/concepts/QueryLimitExpression__.js.map +1 -1
- package/out/concepts/QueryOrderByExpression__.d.ts +5 -22
- package/out/concepts/QueryOrderByExpression__.js +5 -57
- package/out/concepts/QueryOrderByExpression__.js.map +1 -1
- package/out/concepts/QuerySelectExpression__.d.ts +37 -34
- package/out/concepts/QuerySelectExpression__.js +37 -59
- package/out/concepts/QuerySelectExpression__.js.map +1 -1
- package/out/concepts/Rect__.d.ts +5 -6
- package/out/concepts/Rect__.js +17 -15
- package/out/concepts/Rect__.js.map +1 -1
- package/out/concepts/Return__.d.ts +28 -56
- package/out/concepts/Return__.js +50 -139
- package/out/concepts/Return__.js.map +1 -1
- package/out/concepts/Role__.d.ts +5 -11
- package/out/concepts/Role__.js +21 -21
- package/out/concepts/Role__.js.map +1 -1
- package/out/concepts/SelectMembers__.d.ts +8 -20
- package/out/concepts/SelectMembers__.js +10 -58
- package/out/concepts/SelectMembers__.js.map +1 -1
- package/out/concepts/SequentialPolicy__.d.ts +5 -0
- package/out/concepts/SequentialPolicy__.js +5 -0
- package/out/concepts/SequentialPolicy__.js.map +1 -1
- package/out/concepts/SetterOption__.d.ts +49 -0
- package/out/concepts/SetterOption__.js +99 -0
- package/out/concepts/SetterOption__.js.map +1 -0
- package/out/concepts/SlotDeclaration__.d.ts +213 -0
- package/out/concepts/SlotDeclaration__.js +287 -0
- package/out/concepts/SlotDeclaration__.js.map +1 -0
- package/out/concepts/Slot__.d.ts +7 -31
- package/out/concepts/Slot__.js +27 -72
- package/out/concepts/Slot__.js.map +1 -1
- package/out/concepts/SqlQueryComponent__.d.ts +6 -17
- package/out/concepts/SqlQueryComponent__.js +14 -54
- package/out/concepts/SqlQueryComponent__.js.map +1 -1
- package/out/concepts/Start__.d.ts +5 -4
- package/out/concepts/Start__.js +5 -7
- package/out/concepts/Start__.js.map +1 -1
- package/out/concepts/StaticString__.d.ts +6 -12
- package/out/concepts/StaticString__.js +14 -21
- package/out/concepts/StaticString__.js.map +1 -1
- package/out/concepts/StringInterpolation__.d.ts +5 -2
- package/out/concepts/StringInterpolation__.js +7 -33
- package/out/concepts/StringInterpolation__.js.map +1 -1
- package/out/concepts/StringLiteral__.d.ts +6 -1
- package/out/concepts/StringLiteral__.js +16 -2
- package/out/concepts/StringLiteral__.js.map +1 -1
- package/out/concepts/StructureProperty__.d.ts +13 -49
- package/out/concepts/StructureProperty__.js +35 -137
- package/out/concepts/StructureProperty__.js.map +1 -1
- package/out/concepts/Structure__.d.ts +13 -21
- package/out/concepts/Structure__.js +28 -90
- package/out/concepts/Structure__.js.map +1 -1
- package/out/concepts/SwitchCase__.d.ts +6 -13
- package/out/concepts/SwitchCase__.js +6 -45
- package/out/concepts/SwitchCase__.js.map +1 -1
- package/out/concepts/SwitchSetter__.d.ts +25 -0
- package/out/concepts/SwitchSetter__.js +53 -0
- package/out/concepts/SwitchSetter__.js.map +1 -0
- package/out/concepts/SwitchStatement__.d.ts +6 -3
- package/out/concepts/SwitchStatement__.js +5 -31
- package/out/concepts/SwitchStatement__.js.map +1 -1
- package/out/concepts/ThemeVariable__.d.ts +29 -0
- package/out/concepts/ThemeVariable__.js +58 -0
- package/out/concepts/ThemeVariable__.js.map +1 -0
- package/out/concepts/Theme__.d.ts +5 -6
- package/out/concepts/Theme__.js +11 -13
- package/out/concepts/Theme__.js.map +1 -1
- package/out/concepts/Transactional__.d.ts +29 -35
- package/out/concepts/Transactional__.js +54 -56
- package/out/concepts/Transactional__.js.map +1 -1
- package/out/concepts/TriggerEvent__.d.ts +8 -20
- package/out/concepts/TriggerEvent__.js +13 -57
- package/out/concepts/TriggerEvent__.js.map +1 -1
- package/out/concepts/TriggerLauncher__.d.ts +12 -17
- package/out/concepts/TriggerLauncher__.js +30 -27
- package/out/concepts/TriggerLauncher__.js.map +1 -1
- package/out/concepts/TypeAnnotation__.d.ts +8 -11
- package/out/concepts/TypeAnnotation__.js +40 -89
- package/out/concepts/TypeAnnotation__.js.map +1 -1
- package/out/concepts/TypeParam__.d.ts +5 -0
- package/out/concepts/TypeParam__.js +12 -1
- package/out/concepts/TypeParam__.js.map +1 -1
- package/out/concepts/UnaryExpression__.d.ts +5 -12
- package/out/concepts/UnaryExpression__.js +8 -45
- package/out/concepts/UnaryExpression__.js.map +1 -1
- package/out/concepts/Unparsed__.d.ts +5 -0
- package/out/concepts/Unparsed__.js +8 -1
- package/out/concepts/Unparsed__.js.map +1 -1
- package/out/concepts/UseComponent__.d.ts +6 -7
- package/out/concepts/UseComponent__.js +11 -13
- package/out/concepts/UseComponent__.js.map +1 -1
- package/out/concepts/ValidationRule__.d.ts +7 -28
- package/out/concepts/ValidationRule__.js +18 -71
- package/out/concepts/ValidationRule__.js.map +1 -1
- package/out/concepts/Variable__.d.ts +30 -58
- package/out/concepts/Variable__.js +51 -140
- package/out/concepts/Variable__.js.map +1 -1
- package/out/concepts/ViewBlockWithImage__.d.ts +33 -0
- package/out/concepts/ViewBlockWithImage__.js +63 -0
- package/out/concepts/ViewBlockWithImage__.js.map +1 -0
- package/out/concepts/ViewBlock__.d.ts +11 -12
- package/out/concepts/ViewBlock__.js +22 -18
- package/out/concepts/ViewBlock__.js.map +1 -1
- package/out/concepts/ViewComponentDeclaration__.d.ts +721 -0
- package/out/concepts/ViewComponentDeclaration__.js +808 -0
- package/out/concepts/ViewComponentDeclaration__.js.map +1 -0
- package/out/concepts/ViewElement__.d.ts +38 -37
- package/out/concepts/ViewElement__.js +415 -432
- package/out/concepts/ViewElement__.js.map +1 -1
- package/out/concepts/View__.d.ts +39 -46
- package/out/concepts/View__.js +509 -342
- package/out/concepts/View__.js.map +1 -1
- package/out/concepts/WhileStatement__.d.ts +6 -13
- package/out/concepts/WhileStatement__.js +6 -45
- package/out/concepts/WhileStatement__.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.auth.js +68 -33
- package/out/concepts/basics/stdlib/nasl.auth.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.process.js +101 -3
- package/out/concepts/basics/stdlib/nasl.process.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.util.js +31 -31
- package/out/concepts/basics/stdlib/nasl.util.js.map +1 -1
- package/out/concepts/index__.d.ts +24 -8
- package/out/concepts/index__.js +24 -8
- package/out/concepts/index__.js.map +1 -1
- package/out/concepts/utils/asserts.d.ts +1079 -313
- package/out/concepts/utils/asserts.js +1461 -441
- package/out/concepts/utils/asserts.js.map +1 -1
- package/out/concepts/utils/types.d.ts +82 -30
- package/out/config.d.ts +9 -0
- package/out/config.js +5 -0
- package/out/config.js.map +1 -1
- package/out/decorators/index.d.ts +1 -6
- package/out/decorators/index.js +7 -16
- package/out/decorators/index.js.map +1 -1
- package/out/enums/KEYWORDS.js +2 -0
- package/out/enums/KEYWORDS.js.map +1 -1
- package/out/generator/genBundleFiles.d.ts +2 -0
- package/out/generator/genBundleFiles.js +105 -25
- package/out/generator/genBundleFiles.js.map +1 -1
- package/out/generator/genReleaseBody.d.ts +2 -4
- package/out/generator/genReleaseBody.js +0 -1
- package/out/generator/genReleaseBody.js.map +1 -1
- package/out/generator/permission.d.ts +5 -1
- package/out/generator/permission.js +3 -2
- package/out/generator/permission.js.map +1 -1
- package/out/index.d.ts +1 -0
- package/out/index.js +3 -1
- package/out/index.js.map +1 -1
- package/out/natural/genNaturalTS.js +2 -5
- package/out/natural/genNaturalTS.js.map +1 -1
- package/out/natural/index.d.ts +2 -0
- package/out/natural/index.js +2 -0
- package/out/natural/index.js.map +1 -1
- package/out/natural/naslStdlibMap.d.ts +1 -2
- package/out/natural/naslStdlibMap.js +32 -23
- package/out/natural/naslStdlibMap.js.map +1 -1
- package/out/natural/prompt/analyzeClaims.d.ts +1 -0
- package/out/natural/prompt/analyzeClaims.js +21 -0
- package/out/natural/prompt/analyzeClaims.js.map +1 -0
- package/out/natural/prompt/executeClaims.d.ts +1 -0
- package/out/natural/prompt/executeClaims.js +73 -0
- package/out/natural/prompt/executeClaims.js.map +1 -0
- package/out/natural/transformTSCode.js +13 -2
- package/out/natural/transformTSCode.js.map +1 -1
- package/out/server/createUiTs.d.ts +2 -1
- package/out/server/createUiTs.js +133 -161
- package/out/server/createUiTs.js.map +1 -1
- package/out/server/entity2LogicNamespace.js +1 -15
- package/out/server/entity2LogicNamespace.js.map +1 -1
- package/out/server/extendBaseNode.js +36 -9
- package/out/server/extendBaseNode.js.map +1 -1
- package/out/server/formatTsUtils.js +9 -9
- package/out/server/formatTsUtils.js.map +1 -1
- package/out/server/getConnector.d.ts +1 -0
- package/out/server/getConnector.js +38 -35
- package/out/server/getConnector.js.map +1 -1
- package/out/server/getFunctions.js +3 -3
- package/out/server/getFunctions.js.map +1 -1
- package/out/server/getLogics.js +51 -15
- package/out/server/getLogics.js.map +1 -1
- package/out/server/getMemberIdentifier.js +87 -144
- package/out/server/getMemberIdentifier.js.map +1 -1
- package/out/server/naslServer.d.ts +11 -1
- package/out/server/naslServer.js +118 -74
- package/out/server/naslServer.js.map +1 -1
- package/out/server/translator.js +24 -5
- package/out/server/translator.js.map +1 -1
- package/out/service/storage/init.d.ts +1 -0
- package/out/service/storage/init.js +12 -7
- package/out/service/storage/init.js.map +1 -1
- package/out/templator/genCreateBlock.js +16 -16
- package/out/templator/genCreateBlock.js.map +1 -1
- package/out/templator/genCurdEditMultipleKeyBlock.js +23 -23
- package/out/templator/genCurdEditMultipleKeyBlock.js.map +1 -1
- package/out/templator/genCurdMultipleKeyBlock.d.ts +2 -2
- package/out/templator/genCurdMultipleKeyBlock.js +28 -38
- package/out/templator/genCurdMultipleKeyBlock.js.map +1 -1
- package/out/templator/genEditTableBlock.js +15 -15
- package/out/templator/genEditTableBlock.js.map +1 -1
- package/out/templator/genEnumSelectBlock.js +8 -8
- package/out/templator/genEnumSelectBlock.js.map +1 -1
- package/out/templator/genGridViewBlock.js +18 -20
- package/out/templator/genGridViewBlock.js.map +1 -1
- package/out/templator/genListViewBlock.js +10 -10
- package/out/templator/genListViewBlock.js.map +1 -1
- package/out/templator/genQueryComponent.js +32 -37
- package/out/templator/genQueryComponent.js.map +1 -1
- package/out/templator/genSelectBlock.js +10 -10
- package/out/templator/genSelectBlock.js.map +1 -1
- package/out/templator/genTableBlock.js +18 -10
- package/out/templator/genTableBlock.js.map +1 -1
- package/out/templator/genUpdateBlock.js +15 -15
- package/out/templator/genUpdateBlock.js.map +1 -1
- package/out/templator/utils.d.ts +19 -24
- package/out/templator/utils.js +20 -30
- package/out/templator/utils.js.map +1 -1
- package/out/translator/types.d.ts +2 -0
- package/out/utils/index.d.ts +6 -1
- package/out/utils/index.js +37 -4
- package/out/utils/index.js.map +1 -1
- package/out/utils/string.d.ts +12 -0
- package/out/utils/string.js +15 -1
- package/out/utils/string.js.map +1 -1
- package/out/utils/time-slicing/performance.js +3 -3
- package/out/utils/time-slicing/performance.js.map +1 -1
- package/package.json +1 -1
- package/sandbox/stdlib/nasl.auth.ts +4 -0
- package/sandbox/stdlib/nasl.collection.ts +5 -3
- package/sandbox/stdlib/nasl.core.ts +16 -1
- package/sandbox/stdlib/nasl.oql.ts +2 -2
- package/sandbox/stdlib/nasl.process.ts +18 -0
- package/sandbox/stdlib/nasl.ui.components.h5.ts +1751 -0
- package/sandbox/stdlib/nasl.ui.components.pc.ts +3479 -0
- package/sandbox/stdlib/nasl.ui.definition.ts +53 -2688
- package/sandbox/stdlib/nasl.ui.ts +2 -1
- package/sandbox/stdlib/nasl.util.ts +7 -5
- package/sandbox-natural/stdlib/nasl.core.ts +3 -0
- package/sandbox-natural/stdlib/nasl.oql.ts +4 -3
- package/src/automate/engine/utils.js +3 -7
- package/src/automate/template/myProcess.js +65 -65
- package/src/bak/translator.js +62 -29
- package/src/breakpoint/generator/BreakpointNode.ts +9 -0
- package/src/breakpoint/shared/constants.ts +1 -0
- package/src/breakpoint/shared/utils.ts +1 -1
- package/src/common/BaseNode.ts +71 -9
- package/src/common/ComponentAPI.ts +6 -3
- package/src/common/EventEmitter.ts +1 -0
- package/src/concepts/Abort__.ts +8 -8
- package/src/concepts/AbstractInterface__.ts +14 -14
- package/src/concepts/Anchor__.ts +8 -60
- package/src/concepts/AnonymousFunction__.ts +21 -198
- package/src/concepts/App__.ts +1151 -1837
- package/src/concepts/Argument__.ts +16 -64
- package/src/concepts/Assignee__.ts +14 -72
- package/src/concepts/AssignmentLine__.ts +9 -14
- package/src/concepts/Assignment__.ts +9 -92
- package/src/concepts/Attribute__.ts +49 -176
- package/src/concepts/AuthInterface__.ts +19 -20
- package/src/concepts/AuthLogicForCallInterface__.ts +9 -36
- package/src/concepts/AuthLogic__.ts +45 -46
- package/src/concepts/BackendVariable__.ts +45 -167
- package/src/concepts/Backend__.ts +13 -57
- package/src/concepts/BaseSetter__.ts +72 -0
- package/src/concepts/BatchAssignment__.ts +18 -105
- package/src/concepts/BinaryExpression__.ts +36 -89
- package/src/concepts/BindAttribute__.ts +194 -343
- package/src/concepts/BindDirective__.ts +80 -135
- package/src/concepts/BindEvent__.ts +62 -126
- package/src/concepts/BindStyle__.ts +59 -112
- package/src/concepts/Block__.ts +8 -34
- package/src/concepts/BooleanLiteral__.ts +12 -5
- package/src/concepts/BusinessComponent__.ts +201 -502
- package/src/concepts/BusinessLogic__.ts +15 -15
- package/src/concepts/CallAuthInterface__.ts +10 -39
- package/src/concepts/CallConnector__.ts +15 -6
- package/src/concepts/CallEvent__.ts +16 -45
- package/src/concepts/CallFunction__.ts +104 -134
- package/src/concepts/CallInterface__.ts +20 -47
- package/src/concepts/CallLogic__.ts +93 -175
- package/src/concepts/CallQueryComponent__.ts +226 -520
- package/src/concepts/CapsulesSetter__.ts +254 -0
- package/src/concepts/Comment__.ts +11 -5
- package/src/concepts/CompletionProperty__.ts +29 -100
- package/src/concepts/ConfigGroup__.ts +13 -57
- package/src/concepts/ConfigPropertyValue__.ts +14 -26
- package/src/concepts/ConfigProperty__.ts +28 -68
- package/src/concepts/Configuration__.ts +9 -56
- package/src/concepts/Connection__.ts +27 -68
- package/src/concepts/ConnectorTrigger__.ts +57 -65
- package/src/concepts/Connector__.ts +339 -1448
- package/src/concepts/Constant__.ts +59 -182
- package/src/concepts/CountersignPolicy__.ts +12 -18
- package/src/concepts/DataSource__.ts +29 -68
- package/src/concepts/DatabaseTypeAnnotation__.ts +14 -19
- package/src/concepts/DefaultValue__.ts +10 -74
- package/src/concepts/Destination__.ts +28 -80
- package/src/concepts/End__.ts +11 -9
- package/src/concepts/EntityIndex__.ts +44 -51
- package/src/concepts/EntityProperty__.ts +86 -238
- package/src/concepts/Entity__.ts +43 -111
- package/src/concepts/EnumItem__.ts +29 -40
- package/src/concepts/EnumSelectSetter__.ts +254 -0
- package/src/concepts/Enum__.ts +38 -129
- package/src/concepts/EventDeclaration__.ts +95 -0
- package/src/concepts/Event__.ts +43 -92
- package/src/concepts/ExternalDestination__.ts +17 -91
- package/src/concepts/ForEachStatement__.ts +15 -198
- package/src/concepts/FrontendLibrary__.ts +111 -161
- package/src/concepts/FrontendType__.ts +21 -118
- package/src/concepts/FrontendVariable__.ts +10 -4
- package/src/concepts/Frontend__.ts +44 -250
- package/src/concepts/Function__.ts +28 -220
- package/src/concepts/I18nInfo__.ts +18 -20
- package/src/concepts/IconSetter__.ts +72 -0
- package/src/concepts/Identifier__.ts +27 -16
- package/src/concepts/IfStatement__.ts +9 -60
- package/src/concepts/ImageSetter__.ts +65 -0
- package/src/concepts/ImportedInterface__.ts +17 -4
- package/src/concepts/InputSetter__.ts +72 -0
- package/src/concepts/Integration__.ts +10 -114
- package/src/concepts/InterfaceParam__.ts +67 -186
- package/src/concepts/Interface__.ts +106 -200
- package/src/concepts/JSBlock__.ts +11 -11
- package/src/concepts/JavaLogic__.ts +19 -9
- package/src/concepts/LogicDeclaration__.ts +657 -0
- package/src/concepts/LogicItem__.ts +91 -96
- package/src/concepts/Logic__.ts +287 -434
- package/src/concepts/MatchCase__.ts +22 -72
- package/src/concepts/Match__.ts +23 -67
- package/src/concepts/MemberExpression__.ts +136 -132
- package/src/concepts/MetadataType__.ts +72 -167
- package/src/concepts/MicroApp__.ts +34 -29
- package/src/concepts/Module__.ts +259 -681
- package/src/concepts/MsgTriggerEvent__.ts +44 -79
- package/src/concepts/MsgTriggerLauncher__.ts +21 -54
- package/src/concepts/MultiApprovalPolicy__.ts +10 -18
- package/src/concepts/Namespace__.ts +278 -652
- package/src/concepts/NewComposite__.ts +62 -170
- package/src/concepts/NewList__.ts +12 -94
- package/src/concepts/NewMap__.ts +12 -94
- package/src/concepts/New__.ts +13 -2
- package/src/concepts/NullLiteral__.ts +8 -2
- package/src/concepts/NumberInputSetter__.ts +104 -0
- package/src/concepts/NumericLiteral__.ts +13 -63
- package/src/concepts/OqlQueryComponent__.ts +23 -71
- package/src/concepts/OverriddenLogic__.ts +71 -287
- package/src/concepts/Paginate__.ts +185 -0
- package/src/concepts/ParamWithGroup__.ts +26 -17
- package/src/concepts/Param__.ts +70 -211
- package/src/concepts/Point__.ts +14 -19
- package/src/concepts/ProcessComponent__.ts +33 -104
- package/src/concepts/ProcessElement__.ts +67 -422
- package/src/concepts/ProcessOutcome__.ts +12 -11
- package/src/concepts/ProcessOutcomes__.ts +9 -9
- package/src/concepts/Process__.ts +36 -200
- package/src/concepts/PropDeclaration__.ts +209 -0
- package/src/concepts/PropertySelectSetter__.ts +65 -0
- package/src/concepts/QueryAggregateExpression__.ts +18 -65
- package/src/concepts/QueryFieldExpression__.ts +22 -10
- package/src/concepts/QueryFromExpression__.ts +21 -41
- package/src/concepts/QueryGroupByExpression__.ts +8 -60
- package/src/concepts/QueryJoinExpression__.ts +64 -101
- package/src/concepts/QueryLimitExpression__.ts +9 -86
- package/src/concepts/QueryOrderByExpression__.ts +9 -86
- package/src/concepts/QuerySelectExpression__.ts +70 -118
- package/src/concepts/Rect__.ts +22 -23
- package/src/concepts/Return__.ts +60 -185
- package/src/concepts/Role__.ts +22 -29
- package/src/concepts/SelectMembers__.ts +16 -77
- package/src/concepts/SequentialPolicy__.ts +7 -2
- package/src/concepts/SetterOption__.ts +111 -0
- package/src/concepts/SlotDeclaration__.ts +488 -0
- package/src/concepts/Slot__.ts +35 -105
- package/src/concepts/SqlQueryComponent__.ts +21 -73
- package/src/concepts/Start__.ts +7 -8
- package/src/concepts/StaticString__.ts +16 -26
- package/src/concepts/StringInterpolation__.ts +9 -36
- package/src/concepts/StringLiteral__.ts +16 -7
- package/src/concepts/StructureProperty__.ts +38 -176
- package/src/concepts/Structure__.ts +32 -102
- package/src/concepts/SwitchCase__.ts +10 -62
- package/src/concepts/SwitchSetter__.ts +65 -0
- package/src/concepts/SwitchStatement__.ts +9 -35
- package/src/concepts/ThemeVariable__.ts +71 -0
- package/src/concepts/Theme__.ts +15 -17
- package/src/concepts/Transactional__.ts +67 -77
- package/src/concepts/TriggerEvent__.ts +14 -76
- package/src/concepts/TriggerLauncher__.ts +34 -38
- package/src/concepts/TypeAnnotation__.ts +50 -100
- package/src/concepts/TypeParam__.ts +10 -5
- package/src/concepts/UnaryExpression__.ts +12 -62
- package/src/concepts/Unparsed__.ts +11 -5
- package/src/concepts/UseComponent__.ts +14 -19
- package/src/concepts/ValidationRule__.ts +26 -105
- package/src/concepts/Variable__.ts +71 -195
- package/src/concepts/ViewBlockWithImage__.ts +80 -0
- package/src/concepts/ViewBlock__.ts +24 -27
- package/src/concepts/ViewComponentDeclaration__.ts +1670 -0
- package/src/concepts/ViewElement__.ts +502 -486
- package/src/concepts/View__.ts +576 -389
- package/src/concepts/WhileStatement__.ts +11 -62
- package/src/concepts/basics/stdlib/nasl.auth.ts +97 -34
- package/src/concepts/basics/stdlib/nasl.process.ts +103 -7
- package/src/concepts/basics/stdlib/nasl.util.ts +31 -31
- package/src/concepts/index__.ts +24 -8
- package/src/concepts/utils/asserts.ts +1544 -446
- package/src/concepts/utils/types.ts +121 -41
- package/src/config.ts +6 -0
- package/src/decorators/index.ts +3 -8
- package/src/enums/KEYWORDS.ts +2 -0
- package/src/generator/genBundleFiles.ts +129 -29
- package/src/generator/genReleaseBody.ts +0 -2
- package/src/generator/permission.ts +2 -2
- package/src/index.ts +1 -0
- package/src/natural/genNaturalTS.ts +2 -2
- package/src/natural/index.ts +3 -0
- package/src/natural/naslStdlibMap.ts +25 -19
- package/src/natural/prompt/analyzeClaims.ts +16 -0
- package/src/natural/prompt/executeClaims.ts +69 -0
- package/src/natural/transformTSCode.ts +12 -2
- package/src/server/createUiTs.ts +121 -155
- package/src/server/entity2LogicNamespace.ts +1 -16
- package/src/server/extendBaseNode.ts +46 -15
- package/src/server/formatTsUtils.ts +13 -13
- package/src/server/getConnector.ts +43 -35
- package/src/server/getFunctions.ts +3 -3
- package/src/server/getLogics.ts +34 -17
- package/src/server/getMemberIdentifier.ts +101 -145
- package/src/server/naslServer.ts +136 -74
- package/src/server/translator.ts +23 -5
- package/src/service/storage/init.ts +15 -8
- package/src/templator/genCreateBlock.ts +16 -16
- package/src/templator/genCurdEditMultipleKeyBlock.ts +23 -23
- package/src/templator/genCurdMultipleKeyBlock.ts +34 -44
- package/src/templator/genEditTableBlock.ts +15 -15
- package/src/templator/genEnumSelectBlock.ts +8 -8
- package/src/templator/genGridViewBlock.ts +18 -20
- package/src/templator/genListViewBlock.ts +10 -10
- package/src/templator/genQueryComponent.ts +33 -38
- package/src/templator/genSelectBlock.ts +10 -10
- package/src/templator/genTableBlock.ts +20 -12
- package/src/templator/genUpdateBlock.ts +15 -15
- package/src/templator/utils.ts +21 -30
- package/src/translator/types.ts +4 -0
- package/src/utils/index.ts +40 -5
- package/src/utils/string.ts +14 -0
- package/src/utils/time-slicing/performance.ts +3 -3
- package/test/concepts/call-interface/__snapshots__/getQuickInfoOffset.spec.ts.snap +1 -1
- package/test/concepts/call-interface/__snapshots__/toEmbeddedTS.spec.ts.snap +1 -1
- package/test/concepts/call-logic/__snapshots__/getQuickInfoOffset.spec.ts.snap +7 -8
- package/test/concepts/call-logic/__snapshots__/toEmbeddedTS.spec.ts.snap +5 -5
- package/test/concepts/entity/__snapshots__/toEmbeddedTS.spec.ts.snap +2 -2
- package/test/concepts/member-expression/__snapshots__/toEmbeddedTS.spec.ts.snap +1 -1
- package/test/concepts/member-expression/__snapshots__/toJS.spec.ts.snap +1 -1
- package/test/concepts/member-expression/fixtures/elements.table-view.data.json +363 -10
- package/test/concepts/view-element/__snapshots__/toEmbeddedTS.spec.ts.snap +655 -611
- package/test/concepts/view-element/__snapshots__/toVue.spec.ts.snap +127 -6
- package/test/concepts/view-element/fixtures/table-data-source-calllogic-with-server-validation.json +2074 -0
- package/test/concepts/view-element/toEmbeddedTS.spec.ts +11 -0
- package/test/concepts/view-element/toVue.spec.ts +0 -1
- package/ts-worker/src/start.js +1 -0
- package/out/concepts/ViewComponent__.d.ts +0 -568
- package/out/concepts/ViewComponent__.js +0 -809
- package/out/concepts/ViewComponent__.js.map +0 -1
- package/src/concepts/ViewComponent__.ts +0 -1444
|
@@ -24,18 +24,30 @@ import type { BindAttribute } from '../BindAttribute__';
|
|
|
24
24
|
import type { BindDirective } from '../BindDirective__';
|
|
25
25
|
import type { BindEvent } from '../BindEvent__';
|
|
26
26
|
import type { BindStyle } from '../BindStyle__';
|
|
27
|
-
import type {
|
|
27
|
+
import type { ThemeVariable } from '../ThemeVariable__';
|
|
28
|
+
import type { InputSetter } from '../InputSetter__';
|
|
29
|
+
import type { SwitchSetter } from '../SwitchSetter__';
|
|
30
|
+
import type { SetterOption } from '../SetterOption__';
|
|
31
|
+
import type { EnumSelectSetter } from '../EnumSelectSetter__';
|
|
32
|
+
import type { CapsulesSetter } from '../CapsulesSetter__';
|
|
33
|
+
import type { NumberInputSetter } from '../NumberInputSetter__';
|
|
34
|
+
import type { IconSetter } from '../IconSetter__';
|
|
35
|
+
import type { ImageSetter } from '../ImageSetter__';
|
|
36
|
+
import type { PropertySelectSetter } from '../PropertySelectSetter__';
|
|
37
|
+
import type { ViewComponentDeclaration } from '../ViewComponentDeclaration__';
|
|
28
38
|
import type { BusinessComponent } from '../BusinessComponent__';
|
|
29
39
|
import type { Attribute } from '../Attribute__';
|
|
30
40
|
import type { Event } from '../Event__';
|
|
31
|
-
import type {
|
|
41
|
+
import type { PropDeclaration } from '../PropDeclaration__';
|
|
42
|
+
import type { EventDeclaration } from '../EventDeclaration__';
|
|
43
|
+
import type { SlotDeclaration } from '../SlotDeclaration__';
|
|
44
|
+
import type { LogicDeclaration } from '../LogicDeclaration__';
|
|
32
45
|
import type { Theme } from '../Theme__';
|
|
33
|
-
import type { StaticString } from '../StaticString__';
|
|
34
46
|
import type { Logic } from '../Logic__';
|
|
35
47
|
import type { AuthLogic } from '../AuthLogic__';
|
|
36
|
-
import type { BusinessLogic } from '../BusinessLogic__';
|
|
37
48
|
import type { AuthLogicForCallInterface } from '../AuthLogicForCallInterface__';
|
|
38
49
|
import type { OverriddenLogic } from '../OverriddenLogic__';
|
|
50
|
+
import type { BusinessLogic } from '../BusinessLogic__';
|
|
39
51
|
import type { Param } from '../Param__';
|
|
40
52
|
import type { ParamWithGroup } from '../ParamWithGroup__';
|
|
41
53
|
import type { Return } from '../Return__';
|
|
@@ -77,6 +89,7 @@ import type { NullLiteral } from '../NullLiteral__';
|
|
|
77
89
|
import type { BooleanLiteral } from '../BooleanLiteral__';
|
|
78
90
|
import type { StringLiteral } from '../StringLiteral__';
|
|
79
91
|
import type { StringInterpolation } from '../StringInterpolation__';
|
|
92
|
+
import type { StaticString } from '../StaticString__';
|
|
80
93
|
import type { NumericLiteral } from '../NumericLiteral__';
|
|
81
94
|
import type { BinaryExpression } from '../BinaryExpression__';
|
|
82
95
|
import type { MatchCase } from '../MatchCase__';
|
|
@@ -88,6 +101,7 @@ import type { New } from '../New__';
|
|
|
88
101
|
import type { NewComposite } from '../NewComposite__';
|
|
89
102
|
import type { NewList } from '../NewList__';
|
|
90
103
|
import type { NewMap } from '../NewMap__';
|
|
104
|
+
import type { Paginate } from '../Paginate__';
|
|
91
105
|
import type { CallQueryComponent } from '../CallQueryComponent__';
|
|
92
106
|
import type { QueryFromExpression } from '../QueryFromExpression__';
|
|
93
107
|
import type { QueryJoinExpression } from '../QueryJoinExpression__';
|
|
@@ -102,12 +116,11 @@ import type { OqlQueryComponent } from '../OqlQueryComponent__';
|
|
|
102
116
|
import type { Process } from '../Process__';
|
|
103
117
|
import type { ProcessElement } from '../ProcessElement__';
|
|
104
118
|
import type { ProcessComponent } from '../ProcessComponent__';
|
|
119
|
+
import type { SequentialPolicy } from '../SequentialPolicy__';
|
|
120
|
+
import type { CountersignPolicy } from '../CountersignPolicy__';
|
|
105
121
|
import type { ProcessOutcome } from '../ProcessOutcome__';
|
|
106
122
|
import type { Assignee } from '../Assignee__';
|
|
107
123
|
import type { ProcessOutcomes } from '../ProcessOutcomes__';
|
|
108
|
-
import type { MultiApprovalPolicy } from '../MultiApprovalPolicy__';
|
|
109
|
-
import type { SequentialPolicy } from '../SequentialPolicy__';
|
|
110
|
-
import type { CountersignPolicy } from '../CountersignPolicy__';
|
|
111
124
|
import type { Role } from '../Role__';
|
|
112
125
|
import type { Configuration } from '../Configuration__';
|
|
113
126
|
import type { ConfigGroup } from '../ConfigGroup__';
|
|
@@ -122,6 +135,7 @@ import type { SelectMembers } from '../SelectMembers__';
|
|
|
122
135
|
import type { AssignmentLine } from '../AssignmentLine__';
|
|
123
136
|
import type { FrontendLibrary } from '../FrontendLibrary__';
|
|
124
137
|
import type { ViewBlock } from '../ViewBlock__';
|
|
138
|
+
import type { ViewBlockWithImage } from '../ViewBlockWithImage__';
|
|
125
139
|
import type { AuthInterface } from '../AuthInterface__';
|
|
126
140
|
import type { CallAuthInterface } from '../CallAuthInterface__';
|
|
127
141
|
import type { TriggerEvent } from '../TriggerEvent__';
|
|
@@ -132,7 +146,7 @@ import type { MsgTriggerLauncher } from '../MsgTriggerLauncher__';
|
|
|
132
146
|
import type { Connector } from '../Connector__';
|
|
133
147
|
import type { CallConnector } from '../CallConnector__';
|
|
134
148
|
import type { Connection } from '../Connection__';
|
|
135
|
-
import type * as
|
|
149
|
+
import type * as types from './types';
|
|
136
150
|
import type { BaseNode } from '../../common';
|
|
137
151
|
import type { FileNode } from '../../utils';
|
|
138
152
|
/**
|
|
@@ -464,17 +478,137 @@ export declare function isStrictBindEvent(node: unknown): node is BindEvent;
|
|
|
464
478
|
*/
|
|
465
479
|
export declare function isStrictBindStyle(node: unknown): node is BindStyle;
|
|
466
480
|
/**
|
|
467
|
-
* 严格判断输入为
|
|
481
|
+
* 严格判断输入为 ThemeVariable 节点
|
|
482
|
+
*
|
|
483
|
+
* @description 仅判断节点本身,不包含继承类
|
|
484
|
+
* @example
|
|
485
|
+
* ```ts
|
|
486
|
+
* if (isStrictThemeVariable(node)) {
|
|
487
|
+
* // 在这个花括号内,node 的类型为 ThemeVariable
|
|
488
|
+
* }
|
|
489
|
+
* ```
|
|
490
|
+
*/
|
|
491
|
+
export declare function isStrictThemeVariable(node: unknown): node is ThemeVariable;
|
|
492
|
+
/**
|
|
493
|
+
* 严格判断输入为 InputSetter 节点
|
|
494
|
+
*
|
|
495
|
+
* @description 仅判断节点本身,不包含继承类
|
|
496
|
+
* @example
|
|
497
|
+
* ```ts
|
|
498
|
+
* if (isStrictInputSetter(node)) {
|
|
499
|
+
* // 在这个花括号内,node 的类型为 InputSetter
|
|
500
|
+
* }
|
|
501
|
+
* ```
|
|
502
|
+
*/
|
|
503
|
+
export declare function isStrictInputSetter(node: unknown): node is InputSetter;
|
|
504
|
+
/**
|
|
505
|
+
* 严格判断输入为 SwitchSetter 节点
|
|
506
|
+
*
|
|
507
|
+
* @description 仅判断节点本身,不包含继承类
|
|
508
|
+
* @example
|
|
509
|
+
* ```ts
|
|
510
|
+
* if (isStrictSwitchSetter(node)) {
|
|
511
|
+
* // 在这个花括号内,node 的类型为 SwitchSetter
|
|
512
|
+
* }
|
|
513
|
+
* ```
|
|
514
|
+
*/
|
|
515
|
+
export declare function isStrictSwitchSetter(node: unknown): node is SwitchSetter;
|
|
516
|
+
/**
|
|
517
|
+
* 严格判断输入为 SetterOption 节点
|
|
518
|
+
*
|
|
519
|
+
* @description 仅判断节点本身,不包含继承类
|
|
520
|
+
* @example
|
|
521
|
+
* ```ts
|
|
522
|
+
* if (isStrictSetterOption(node)) {
|
|
523
|
+
* // 在这个花括号内,node 的类型为 SetterOption
|
|
524
|
+
* }
|
|
525
|
+
* ```
|
|
526
|
+
*/
|
|
527
|
+
export declare function isStrictSetterOption(node: unknown): node is SetterOption;
|
|
528
|
+
/**
|
|
529
|
+
* 严格判断输入为 EnumSelectSetter 节点
|
|
530
|
+
*
|
|
531
|
+
* @description 仅判断节点本身,不包含继承类
|
|
532
|
+
* @example
|
|
533
|
+
* ```ts
|
|
534
|
+
* if (isStrictEnumSelectSetter(node)) {
|
|
535
|
+
* // 在这个花括号内,node 的类型为 EnumSelectSetter
|
|
536
|
+
* }
|
|
537
|
+
* ```
|
|
538
|
+
*/
|
|
539
|
+
export declare function isStrictEnumSelectSetter(node: unknown): node is EnumSelectSetter;
|
|
540
|
+
/**
|
|
541
|
+
* 严格判断输入为 CapsulesSetter 节点
|
|
542
|
+
*
|
|
543
|
+
* @description 仅判断节点本身,不包含继承类
|
|
544
|
+
* @example
|
|
545
|
+
* ```ts
|
|
546
|
+
* if (isStrictCapsulesSetter(node)) {
|
|
547
|
+
* // 在这个花括号内,node 的类型为 CapsulesSetter
|
|
548
|
+
* }
|
|
549
|
+
* ```
|
|
550
|
+
*/
|
|
551
|
+
export declare function isStrictCapsulesSetter(node: unknown): node is CapsulesSetter;
|
|
552
|
+
/**
|
|
553
|
+
* 严格判断输入为 NumberInputSetter 节点
|
|
554
|
+
*
|
|
555
|
+
* @description 仅判断节点本身,不包含继承类
|
|
556
|
+
* @example
|
|
557
|
+
* ```ts
|
|
558
|
+
* if (isStrictNumberInputSetter(node)) {
|
|
559
|
+
* // 在这个花括号内,node 的类型为 NumberInputSetter
|
|
560
|
+
* }
|
|
561
|
+
* ```
|
|
562
|
+
*/
|
|
563
|
+
export declare function isStrictNumberInputSetter(node: unknown): node is NumberInputSetter;
|
|
564
|
+
/**
|
|
565
|
+
* 严格判断输入为 IconSetter 节点
|
|
468
566
|
*
|
|
469
567
|
* @description 仅判断节点本身,不包含继承类
|
|
470
568
|
* @example
|
|
471
569
|
* ```ts
|
|
472
|
-
* if (
|
|
473
|
-
* // 在这个花括号内,node 的类型为
|
|
570
|
+
* if (isStrictIconSetter(node)) {
|
|
571
|
+
* // 在这个花括号内,node 的类型为 IconSetter
|
|
474
572
|
* }
|
|
475
573
|
* ```
|
|
476
574
|
*/
|
|
477
|
-
export declare function
|
|
575
|
+
export declare function isStrictIconSetter(node: unknown): node is IconSetter;
|
|
576
|
+
/**
|
|
577
|
+
* 严格判断输入为 ImageSetter 节点
|
|
578
|
+
*
|
|
579
|
+
* @description 仅判断节点本身,不包含继承类
|
|
580
|
+
* @example
|
|
581
|
+
* ```ts
|
|
582
|
+
* if (isStrictImageSetter(node)) {
|
|
583
|
+
* // 在这个花括号内,node 的类型为 ImageSetter
|
|
584
|
+
* }
|
|
585
|
+
* ```
|
|
586
|
+
*/
|
|
587
|
+
export declare function isStrictImageSetter(node: unknown): node is ImageSetter;
|
|
588
|
+
/**
|
|
589
|
+
* 严格判断输入为 PropertySelectSetter 节点
|
|
590
|
+
*
|
|
591
|
+
* @description 仅判断节点本身,不包含继承类
|
|
592
|
+
* @example
|
|
593
|
+
* ```ts
|
|
594
|
+
* if (isStrictPropertySelectSetter(node)) {
|
|
595
|
+
* // 在这个花括号内,node 的类型为 PropertySelectSetter
|
|
596
|
+
* }
|
|
597
|
+
* ```
|
|
598
|
+
*/
|
|
599
|
+
export declare function isStrictPropertySelectSetter(node: unknown): node is PropertySelectSetter;
|
|
600
|
+
/**
|
|
601
|
+
* 严格判断输入为 ViewComponentDeclaration 节点
|
|
602
|
+
*
|
|
603
|
+
* @description 仅判断节点本身,不包含继承类
|
|
604
|
+
* @example
|
|
605
|
+
* ```ts
|
|
606
|
+
* if (isStrictViewComponentDeclaration(node)) {
|
|
607
|
+
* // 在这个花括号内,node 的类型为 ViewComponentDeclaration
|
|
608
|
+
* }
|
|
609
|
+
* ```
|
|
610
|
+
*/
|
|
611
|
+
export declare function isStrictViewComponentDeclaration(node: unknown): node is ViewComponentDeclaration;
|
|
478
612
|
/**
|
|
479
613
|
* 严格判断输入为 BusinessComponent 节点
|
|
480
614
|
*
|
|
@@ -512,77 +646,89 @@ export declare function isStrictAttribute(node: unknown): node is Attribute;
|
|
|
512
646
|
*/
|
|
513
647
|
export declare function isStrictEvent(node: unknown): node is Event;
|
|
514
648
|
/**
|
|
515
|
-
* 严格判断输入为
|
|
649
|
+
* 严格判断输入为 PropDeclaration 节点
|
|
516
650
|
*
|
|
517
651
|
* @description 仅判断节点本身,不包含继承类
|
|
518
652
|
* @example
|
|
519
653
|
* ```ts
|
|
520
|
-
* if (
|
|
521
|
-
* // 在这个花括号内,node 的类型为
|
|
654
|
+
* if (isStrictPropDeclaration(node)) {
|
|
655
|
+
* // 在这个花括号内,node 的类型为 PropDeclaration
|
|
522
656
|
* }
|
|
523
657
|
* ```
|
|
524
658
|
*/
|
|
525
|
-
export declare function
|
|
659
|
+
export declare function isStrictPropDeclaration(node: unknown): node is PropDeclaration;
|
|
526
660
|
/**
|
|
527
|
-
* 严格判断输入为
|
|
661
|
+
* 严格判断输入为 EventDeclaration 节点
|
|
528
662
|
*
|
|
529
663
|
* @description 仅判断节点本身,不包含继承类
|
|
530
664
|
* @example
|
|
531
665
|
* ```ts
|
|
532
|
-
* if (
|
|
533
|
-
* // 在这个花括号内,node 的类型为
|
|
666
|
+
* if (isStrictEventDeclaration(node)) {
|
|
667
|
+
* // 在这个花括号内,node 的类型为 EventDeclaration
|
|
534
668
|
* }
|
|
535
669
|
* ```
|
|
536
670
|
*/
|
|
537
|
-
export declare function
|
|
671
|
+
export declare function isStrictEventDeclaration(node: unknown): node is EventDeclaration;
|
|
538
672
|
/**
|
|
539
|
-
* 严格判断输入为
|
|
673
|
+
* 严格判断输入为 SlotDeclaration 节点
|
|
540
674
|
*
|
|
541
675
|
* @description 仅判断节点本身,不包含继承类
|
|
542
676
|
* @example
|
|
543
677
|
* ```ts
|
|
544
|
-
* if (
|
|
545
|
-
* // 在这个花括号内,node 的类型为
|
|
678
|
+
* if (isStrictSlotDeclaration(node)) {
|
|
679
|
+
* // 在这个花括号内,node 的类型为 SlotDeclaration
|
|
546
680
|
* }
|
|
547
681
|
* ```
|
|
548
682
|
*/
|
|
549
|
-
export declare function
|
|
683
|
+
export declare function isStrictSlotDeclaration(node: unknown): node is SlotDeclaration;
|
|
550
684
|
/**
|
|
551
|
-
* 严格判断输入为
|
|
685
|
+
* 严格判断输入为 LogicDeclaration 节点
|
|
552
686
|
*
|
|
553
687
|
* @description 仅判断节点本身,不包含继承类
|
|
554
688
|
* @example
|
|
555
689
|
* ```ts
|
|
556
|
-
* if (
|
|
557
|
-
* // 在这个花括号内,node 的类型为
|
|
690
|
+
* if (isStrictLogicDeclaration(node)) {
|
|
691
|
+
* // 在这个花括号内,node 的类型为 LogicDeclaration
|
|
558
692
|
* }
|
|
559
693
|
* ```
|
|
560
694
|
*/
|
|
561
|
-
export declare function
|
|
695
|
+
export declare function isStrictLogicDeclaration(node: unknown): node is LogicDeclaration;
|
|
562
696
|
/**
|
|
563
|
-
* 严格判断输入为
|
|
697
|
+
* 严格判断输入为 Theme 节点
|
|
564
698
|
*
|
|
565
699
|
* @description 仅判断节点本身,不包含继承类
|
|
566
700
|
* @example
|
|
567
701
|
* ```ts
|
|
568
|
-
* if (
|
|
569
|
-
* // 在这个花括号内,node 的类型为
|
|
702
|
+
* if (isStrictTheme(node)) {
|
|
703
|
+
* // 在这个花括号内,node 的类型为 Theme
|
|
570
704
|
* }
|
|
571
705
|
* ```
|
|
572
706
|
*/
|
|
573
|
-
export declare function
|
|
707
|
+
export declare function isStrictTheme(node: unknown): node is Theme;
|
|
574
708
|
/**
|
|
575
|
-
* 严格判断输入为
|
|
709
|
+
* 严格判断输入为 Logic 节点
|
|
576
710
|
*
|
|
577
711
|
* @description 仅判断节点本身,不包含继承类
|
|
578
712
|
* @example
|
|
579
713
|
* ```ts
|
|
580
|
-
* if (
|
|
581
|
-
* // 在这个花括号内,node 的类型为
|
|
714
|
+
* if (isStrictLogic(node)) {
|
|
715
|
+
* // 在这个花括号内,node 的类型为 Logic
|
|
582
716
|
* }
|
|
583
717
|
* ```
|
|
584
718
|
*/
|
|
585
|
-
export declare function
|
|
719
|
+
export declare function isStrictLogic(node: unknown): node is Logic;
|
|
720
|
+
/**
|
|
721
|
+
* 严格判断输入为 AuthLogic 节点
|
|
722
|
+
*
|
|
723
|
+
* @description 仅判断节点本身,不包含继承类
|
|
724
|
+
* @example
|
|
725
|
+
* ```ts
|
|
726
|
+
* if (isStrictAuthLogic(node)) {
|
|
727
|
+
* // 在这个花括号内,node 的类型为 AuthLogic
|
|
728
|
+
* }
|
|
729
|
+
* ```
|
|
730
|
+
*/
|
|
731
|
+
export declare function isStrictAuthLogic(node: unknown): node is AuthLogic;
|
|
586
732
|
/**
|
|
587
733
|
* 严格判断输入为 AuthLogicForCallInterface 节点
|
|
588
734
|
*
|
|
@@ -607,6 +753,18 @@ export declare function isStrictAuthLogicForCallInterface(node: unknown): node i
|
|
|
607
753
|
* ```
|
|
608
754
|
*/
|
|
609
755
|
export declare function isStrictOverriddenLogic(node: unknown): node is OverriddenLogic;
|
|
756
|
+
/**
|
|
757
|
+
* 严格判断输入为 BusinessLogic 节点
|
|
758
|
+
*
|
|
759
|
+
* @description 仅判断节点本身,不包含继承类
|
|
760
|
+
* @example
|
|
761
|
+
* ```ts
|
|
762
|
+
* if (isStrictBusinessLogic(node)) {
|
|
763
|
+
* // 在这个花括号内,node 的类型为 BusinessLogic
|
|
764
|
+
* }
|
|
765
|
+
* ```
|
|
766
|
+
*/
|
|
767
|
+
export declare function isStrictBusinessLogic(node: unknown): node is BusinessLogic;
|
|
610
768
|
/**
|
|
611
769
|
* 严格判断输入为 Param 节点
|
|
612
770
|
*
|
|
@@ -1099,6 +1257,18 @@ export declare function isStrictStringLiteral(node: unknown): node is StringLite
|
|
|
1099
1257
|
* ```
|
|
1100
1258
|
*/
|
|
1101
1259
|
export declare function isStrictStringInterpolation(node: unknown): node is StringInterpolation;
|
|
1260
|
+
/**
|
|
1261
|
+
* 严格判断输入为 StaticString 节点
|
|
1262
|
+
*
|
|
1263
|
+
* @description 仅判断节点本身,不包含继承类
|
|
1264
|
+
* @example
|
|
1265
|
+
* ```ts
|
|
1266
|
+
* if (isStrictStaticString(node)) {
|
|
1267
|
+
* // 在这个花括号内,node 的类型为 StaticString
|
|
1268
|
+
* }
|
|
1269
|
+
* ```
|
|
1270
|
+
*/
|
|
1271
|
+
export declare function isStrictStaticString(node: unknown): node is StaticString;
|
|
1102
1272
|
/**
|
|
1103
1273
|
* 严格判断输入为 NumericLiteral 节点
|
|
1104
1274
|
*
|
|
@@ -1231,6 +1401,18 @@ export declare function isStrictNewList(node: unknown): node is NewList;
|
|
|
1231
1401
|
* ```
|
|
1232
1402
|
*/
|
|
1233
1403
|
export declare function isStrictNewMap(node: unknown): node is NewMap;
|
|
1404
|
+
/**
|
|
1405
|
+
* 严格判断输入为 Paginate 节点
|
|
1406
|
+
*
|
|
1407
|
+
* @description 仅判断节点本身,不包含继承类
|
|
1408
|
+
* @example
|
|
1409
|
+
* ```ts
|
|
1410
|
+
* if (isStrictPaginate(node)) {
|
|
1411
|
+
* // 在这个花括号内,node 的类型为 Paginate
|
|
1412
|
+
* }
|
|
1413
|
+
* ```
|
|
1414
|
+
*/
|
|
1415
|
+
export declare function isStrictPaginate(node: unknown): node is Paginate;
|
|
1234
1416
|
/**
|
|
1235
1417
|
* 严格判断输入为 CallQueryComponent 节点
|
|
1236
1418
|
*
|
|
@@ -1400,77 +1582,65 @@ export declare function isStrictProcessElement(node: unknown): node is ProcessEl
|
|
|
1400
1582
|
*/
|
|
1401
1583
|
export declare function isStrictProcessComponent(node: unknown): node is ProcessComponent;
|
|
1402
1584
|
/**
|
|
1403
|
-
* 严格判断输入为
|
|
1404
|
-
*
|
|
1405
|
-
* @description 仅判断节点本身,不包含继承类
|
|
1406
|
-
* @example
|
|
1407
|
-
* ```ts
|
|
1408
|
-
* if (isStrictProcessOutcome(node)) {
|
|
1409
|
-
* // 在这个花括号内,node 的类型为 ProcessOutcome
|
|
1410
|
-
* }
|
|
1411
|
-
* ```
|
|
1412
|
-
*/
|
|
1413
|
-
export declare function isStrictProcessOutcome(node: unknown): node is ProcessOutcome;
|
|
1414
|
-
/**
|
|
1415
|
-
* 严格判断输入为 Assignee 节点
|
|
1585
|
+
* 严格判断输入为 SequentialPolicy 节点
|
|
1416
1586
|
*
|
|
1417
1587
|
* @description 仅判断节点本身,不包含继承类
|
|
1418
1588
|
* @example
|
|
1419
1589
|
* ```ts
|
|
1420
|
-
* if (
|
|
1421
|
-
* // 在这个花括号内,node 的类型为
|
|
1590
|
+
* if (isStrictSequentialPolicy(node)) {
|
|
1591
|
+
* // 在这个花括号内,node 的类型为 SequentialPolicy
|
|
1422
1592
|
* }
|
|
1423
1593
|
* ```
|
|
1424
1594
|
*/
|
|
1425
|
-
export declare function
|
|
1595
|
+
export declare function isStrictSequentialPolicy(node: unknown): node is SequentialPolicy;
|
|
1426
1596
|
/**
|
|
1427
|
-
* 严格判断输入为
|
|
1597
|
+
* 严格判断输入为 CountersignPolicy 节点
|
|
1428
1598
|
*
|
|
1429
1599
|
* @description 仅判断节点本身,不包含继承类
|
|
1430
1600
|
* @example
|
|
1431
1601
|
* ```ts
|
|
1432
|
-
* if (
|
|
1433
|
-
* // 在这个花括号内,node 的类型为
|
|
1602
|
+
* if (isStrictCountersignPolicy(node)) {
|
|
1603
|
+
* // 在这个花括号内,node 的类型为 CountersignPolicy
|
|
1434
1604
|
* }
|
|
1435
1605
|
* ```
|
|
1436
1606
|
*/
|
|
1437
|
-
export declare function
|
|
1607
|
+
export declare function isStrictCountersignPolicy(node: unknown): node is CountersignPolicy;
|
|
1438
1608
|
/**
|
|
1439
|
-
* 严格判断输入为
|
|
1609
|
+
* 严格判断输入为 ProcessOutcome 节点
|
|
1440
1610
|
*
|
|
1441
1611
|
* @description 仅判断节点本身,不包含继承类
|
|
1442
1612
|
* @example
|
|
1443
1613
|
* ```ts
|
|
1444
|
-
* if (
|
|
1445
|
-
* // 在这个花括号内,node 的类型为
|
|
1614
|
+
* if (isStrictProcessOutcome(node)) {
|
|
1615
|
+
* // 在这个花括号内,node 的类型为 ProcessOutcome
|
|
1446
1616
|
* }
|
|
1447
1617
|
* ```
|
|
1448
1618
|
*/
|
|
1449
|
-
export declare function
|
|
1619
|
+
export declare function isStrictProcessOutcome(node: unknown): node is ProcessOutcome;
|
|
1450
1620
|
/**
|
|
1451
|
-
* 严格判断输入为
|
|
1621
|
+
* 严格判断输入为 Assignee 节点
|
|
1452
1622
|
*
|
|
1453
1623
|
* @description 仅判断节点本身,不包含继承类
|
|
1454
1624
|
* @example
|
|
1455
1625
|
* ```ts
|
|
1456
|
-
* if (
|
|
1457
|
-
* // 在这个花括号内,node 的类型为
|
|
1626
|
+
* if (isStrictAssignee(node)) {
|
|
1627
|
+
* // 在这个花括号内,node 的类型为 Assignee
|
|
1458
1628
|
* }
|
|
1459
1629
|
* ```
|
|
1460
1630
|
*/
|
|
1461
|
-
export declare function
|
|
1631
|
+
export declare function isStrictAssignee(node: unknown): node is Assignee;
|
|
1462
1632
|
/**
|
|
1463
|
-
* 严格判断输入为
|
|
1633
|
+
* 严格判断输入为 ProcessOutcomes 节点
|
|
1464
1634
|
*
|
|
1465
1635
|
* @description 仅判断节点本身,不包含继承类
|
|
1466
1636
|
* @example
|
|
1467
1637
|
* ```ts
|
|
1468
|
-
* if (
|
|
1469
|
-
* // 在这个花括号内,node 的类型为
|
|
1638
|
+
* if (isStrictProcessOutcomes(node)) {
|
|
1639
|
+
* // 在这个花括号内,node 的类型为 ProcessOutcomes
|
|
1470
1640
|
* }
|
|
1471
1641
|
* ```
|
|
1472
1642
|
*/
|
|
1473
|
-
export declare function
|
|
1643
|
+
export declare function isStrictProcessOutcomes(node: unknown): node is ProcessOutcomes;
|
|
1474
1644
|
/**
|
|
1475
1645
|
* 严格判断输入为 Role 节点
|
|
1476
1646
|
*
|
|
@@ -1639,6 +1809,18 @@ export declare function isStrictFrontendLibrary(node: unknown): node is Frontend
|
|
|
1639
1809
|
* ```
|
|
1640
1810
|
*/
|
|
1641
1811
|
export declare function isStrictViewBlock(node: unknown): node is ViewBlock;
|
|
1812
|
+
/**
|
|
1813
|
+
* 严格判断输入为 ViewBlockWithImage 节点
|
|
1814
|
+
*
|
|
1815
|
+
* @description 仅判断节点本身,不包含继承类
|
|
1816
|
+
* @example
|
|
1817
|
+
* ```ts
|
|
1818
|
+
* if (isStrictViewBlockWithImage(node)) {
|
|
1819
|
+
* // 在这个花括号内,node 的类型为 ViewBlockWithImage
|
|
1820
|
+
* }
|
|
1821
|
+
* ```
|
|
1822
|
+
*/
|
|
1823
|
+
export declare function isStrictViewBlockWithImage(node: unknown): node is ViewBlockWithImage;
|
|
1642
1824
|
/**
|
|
1643
1825
|
* 严格判断输入为 AuthInterface 节点
|
|
1644
1826
|
*
|
|
@@ -1784,7 +1966,7 @@ export declare function isApp(node: unknown): node is App;
|
|
|
1784
1966
|
* }
|
|
1785
1967
|
* ```
|
|
1786
1968
|
*/
|
|
1787
|
-
export declare function isModule(node: unknown): node is
|
|
1969
|
+
export declare function isModule(node: unknown): node is types.ModuleNode;
|
|
1788
1970
|
/**
|
|
1789
1971
|
* 判断输入为 Namespace 节点实例
|
|
1790
1972
|
*
|
|
@@ -2098,137 +2280,293 @@ export declare function isBindEvent(node: unknown): node is BindEvent;
|
|
|
2098
2280
|
*/
|
|
2099
2281
|
export declare function isBindStyle(node: unknown): node is BindStyle;
|
|
2100
2282
|
/**
|
|
2101
|
-
* 判断输入为
|
|
2283
|
+
* 判断输入为 ThemeVariable 节点实例
|
|
2102
2284
|
*
|
|
2103
2285
|
* @description 包含节点类以及节点继承类的判断
|
|
2104
|
-
* @description 等价于`instanceof`运算,
|
|
2286
|
+
* @description 等价于`instanceof`运算,ThemeVariable 节点没有继承类,此判断等价于`isStrictThemeVariable`
|
|
2105
2287
|
* @example
|
|
2106
2288
|
* ```ts
|
|
2107
|
-
* if (
|
|
2108
|
-
* // 在这个花括号内,node 的类型是
|
|
2289
|
+
* if (isThemeVariable(node)) {
|
|
2290
|
+
* // 在这个花括号内,node 的类型是 ThemeVariable 或者 ThemeVariable 继承类型
|
|
2109
2291
|
* }
|
|
2110
2292
|
* ```
|
|
2111
2293
|
*/
|
|
2112
|
-
export declare function
|
|
2294
|
+
export declare function isThemeVariable(node: unknown): node is ThemeVariable;
|
|
2113
2295
|
/**
|
|
2114
|
-
* 判断输入为
|
|
2296
|
+
* 判断输入为 BaseSetter 节点实例
|
|
2115
2297
|
*
|
|
2116
2298
|
* @description 包含节点类以及节点继承类的判断
|
|
2117
|
-
* @description 等价于`instanceof
|
|
2299
|
+
* @description 等价于`instanceof`运算
|
|
2118
2300
|
* @example
|
|
2119
2301
|
* ```ts
|
|
2120
|
-
* if (
|
|
2121
|
-
* // 在这个花括号内,node 的类型是
|
|
2302
|
+
* if (isBaseSetter(node)) {
|
|
2303
|
+
* // 在这个花括号内,node 的类型是 BaseSetter 或者 BaseSetter 继承类型
|
|
2122
2304
|
* }
|
|
2123
2305
|
* ```
|
|
2124
2306
|
*/
|
|
2125
|
-
export declare function
|
|
2307
|
+
export declare function isBaseSetter(node: unknown): node is types.BaseSetterNode;
|
|
2126
2308
|
/**
|
|
2127
|
-
* 判断输入为
|
|
2309
|
+
* 判断输入为 InputSetter 节点实例
|
|
2128
2310
|
*
|
|
2129
2311
|
* @description 包含节点类以及节点继承类的判断
|
|
2130
|
-
* @description 等价于`instanceof`运算,
|
|
2312
|
+
* @description 等价于`instanceof`运算,InputSetter 节点没有继承类,此判断等价于`isStrictInputSetter`
|
|
2131
2313
|
* @example
|
|
2132
2314
|
* ```ts
|
|
2133
|
-
* if (
|
|
2134
|
-
* // 在这个花括号内,node 的类型是
|
|
2315
|
+
* if (isInputSetter(node)) {
|
|
2316
|
+
* // 在这个花括号内,node 的类型是 InputSetter 或者 InputSetter 继承类型
|
|
2135
2317
|
* }
|
|
2136
2318
|
* ```
|
|
2137
2319
|
*/
|
|
2138
|
-
export declare function
|
|
2320
|
+
export declare function isInputSetter(node: unknown): node is InputSetter;
|
|
2139
2321
|
/**
|
|
2140
|
-
* 判断输入为
|
|
2322
|
+
* 判断输入为 SwitchSetter 节点实例
|
|
2141
2323
|
*
|
|
2142
2324
|
* @description 包含节点类以及节点继承类的判断
|
|
2143
|
-
* @description 等价于`instanceof`运算,
|
|
2325
|
+
* @description 等价于`instanceof`运算,SwitchSetter 节点没有继承类,此判断等价于`isStrictSwitchSetter`
|
|
2144
2326
|
* @example
|
|
2145
2327
|
* ```ts
|
|
2146
|
-
* if (
|
|
2147
|
-
* // 在这个花括号内,node 的类型是
|
|
2328
|
+
* if (isSwitchSetter(node)) {
|
|
2329
|
+
* // 在这个花括号内,node 的类型是 SwitchSetter 或者 SwitchSetter 继承类型
|
|
2148
2330
|
* }
|
|
2149
2331
|
* ```
|
|
2150
2332
|
*/
|
|
2151
|
-
export declare function
|
|
2333
|
+
export declare function isSwitchSetter(node: unknown): node is SwitchSetter;
|
|
2152
2334
|
/**
|
|
2153
|
-
* 判断输入为
|
|
2335
|
+
* 判断输入为 SetterOption 节点实例
|
|
2154
2336
|
*
|
|
2155
2337
|
* @description 包含节点类以及节点继承类的判断
|
|
2156
|
-
* @description 等价于`instanceof`运算,
|
|
2338
|
+
* @description 等价于`instanceof`运算,SetterOption 节点没有继承类,此判断等价于`isStrictSetterOption`
|
|
2157
2339
|
* @example
|
|
2158
2340
|
* ```ts
|
|
2159
|
-
* if (
|
|
2160
|
-
* // 在这个花括号内,node 的类型是
|
|
2341
|
+
* if (isSetterOption(node)) {
|
|
2342
|
+
* // 在这个花括号内,node 的类型是 SetterOption 或者 SetterOption 继承类型
|
|
2161
2343
|
* }
|
|
2162
2344
|
* ```
|
|
2163
2345
|
*/
|
|
2164
|
-
export declare function
|
|
2346
|
+
export declare function isSetterOption(node: unknown): node is SetterOption;
|
|
2165
2347
|
/**
|
|
2166
|
-
* 判断输入为
|
|
2348
|
+
* 判断输入为 EnumSelectSetter 节点实例
|
|
2167
2349
|
*
|
|
2168
2350
|
* @description 包含节点类以及节点继承类的判断
|
|
2169
|
-
* @description 等价于`instanceof`运算,
|
|
2351
|
+
* @description 等价于`instanceof`运算,EnumSelectSetter 节点没有继承类,此判断等价于`isStrictEnumSelectSetter`
|
|
2170
2352
|
* @example
|
|
2171
2353
|
* ```ts
|
|
2172
|
-
* if (
|
|
2173
|
-
* // 在这个花括号内,node 的类型是
|
|
2354
|
+
* if (isEnumSelectSetter(node)) {
|
|
2355
|
+
* // 在这个花括号内,node 的类型是 EnumSelectSetter 或者 EnumSelectSetter 继承类型
|
|
2174
2356
|
* }
|
|
2175
2357
|
* ```
|
|
2176
2358
|
*/
|
|
2177
|
-
export declare function
|
|
2359
|
+
export declare function isEnumSelectSetter(node: unknown): node is EnumSelectSetter;
|
|
2178
2360
|
/**
|
|
2179
|
-
* 判断输入为
|
|
2361
|
+
* 判断输入为 CapsulesSetter 节点实例
|
|
2180
2362
|
*
|
|
2181
2363
|
* @description 包含节点类以及节点继承类的判断
|
|
2182
|
-
* @description 等价于`instanceof`运算,
|
|
2364
|
+
* @description 等价于`instanceof`运算,CapsulesSetter 节点没有继承类,此判断等价于`isStrictCapsulesSetter`
|
|
2183
2365
|
* @example
|
|
2184
2366
|
* ```ts
|
|
2185
|
-
* if (
|
|
2186
|
-
* // 在这个花括号内,node 的类型是
|
|
2367
|
+
* if (isCapsulesSetter(node)) {
|
|
2368
|
+
* // 在这个花括号内,node 的类型是 CapsulesSetter 或者 CapsulesSetter 继承类型
|
|
2187
2369
|
* }
|
|
2188
2370
|
* ```
|
|
2189
2371
|
*/
|
|
2190
|
-
export declare function
|
|
2372
|
+
export declare function isCapsulesSetter(node: unknown): node is CapsulesSetter;
|
|
2191
2373
|
/**
|
|
2192
|
-
* 判断输入为
|
|
2374
|
+
* 判断输入为 NumberInputSetter 节点实例
|
|
2193
2375
|
*
|
|
2194
2376
|
* @description 包含节点类以及节点继承类的判断
|
|
2195
|
-
* @description 等价于`instanceof
|
|
2377
|
+
* @description 等价于`instanceof`运算,NumberInputSetter 节点没有继承类,此判断等价于`isStrictNumberInputSetter`
|
|
2196
2378
|
* @example
|
|
2197
2379
|
* ```ts
|
|
2198
|
-
* if (
|
|
2199
|
-
* // 在这个花括号内,node 的类型是
|
|
2380
|
+
* if (isNumberInputSetter(node)) {
|
|
2381
|
+
* // 在这个花括号内,node 的类型是 NumberInputSetter 或者 NumberInputSetter 继承类型
|
|
2200
2382
|
* }
|
|
2201
2383
|
* ```
|
|
2202
2384
|
*/
|
|
2203
|
-
export declare function
|
|
2385
|
+
export declare function isNumberInputSetter(node: unknown): node is NumberInputSetter;
|
|
2204
2386
|
/**
|
|
2205
|
-
* 判断输入为
|
|
2387
|
+
* 判断输入为 IconSetter 节点实例
|
|
2206
2388
|
*
|
|
2207
2389
|
* @description 包含节点类以及节点继承类的判断
|
|
2208
|
-
* @description 等价于`instanceof
|
|
2390
|
+
* @description 等价于`instanceof`运算,IconSetter 节点没有继承类,此判断等价于`isStrictIconSetter`
|
|
2209
2391
|
* @example
|
|
2210
2392
|
* ```ts
|
|
2211
|
-
* if (
|
|
2212
|
-
* // 在这个花括号内,node 的类型是
|
|
2393
|
+
* if (isIconSetter(node)) {
|
|
2394
|
+
* // 在这个花括号内,node 的类型是 IconSetter 或者 IconSetter 继承类型
|
|
2213
2395
|
* }
|
|
2214
2396
|
* ```
|
|
2215
2397
|
*/
|
|
2216
|
-
export declare function
|
|
2398
|
+
export declare function isIconSetter(node: unknown): node is IconSetter;
|
|
2217
2399
|
/**
|
|
2218
|
-
* 判断输入为
|
|
2400
|
+
* 判断输入为 ImageSetter 节点实例
|
|
2219
2401
|
*
|
|
2220
2402
|
* @description 包含节点类以及节点继承类的判断
|
|
2221
|
-
* @description 等价于`instanceof`运算,
|
|
2403
|
+
* @description 等价于`instanceof`运算,ImageSetter 节点没有继承类,此判断等价于`isStrictImageSetter`
|
|
2222
2404
|
* @example
|
|
2223
2405
|
* ```ts
|
|
2224
|
-
* if (
|
|
2225
|
-
* // 在这个花括号内,node 的类型是
|
|
2406
|
+
* if (isImageSetter(node)) {
|
|
2407
|
+
* // 在这个花括号内,node 的类型是 ImageSetter 或者 ImageSetter 继承类型
|
|
2226
2408
|
* }
|
|
2227
2409
|
* ```
|
|
2228
2410
|
*/
|
|
2229
|
-
export declare function
|
|
2411
|
+
export declare function isImageSetter(node: unknown): node is ImageSetter;
|
|
2230
2412
|
/**
|
|
2231
|
-
* 判断输入为
|
|
2413
|
+
* 判断输入为 PropertySelectSetter 节点实例
|
|
2414
|
+
*
|
|
2415
|
+
* @description 包含节点类以及节点继承类的判断
|
|
2416
|
+
* @description 等价于`instanceof`运算,PropertySelectSetter 节点没有继承类,此判断等价于`isStrictPropertySelectSetter`
|
|
2417
|
+
* @example
|
|
2418
|
+
* ```ts
|
|
2419
|
+
* if (isPropertySelectSetter(node)) {
|
|
2420
|
+
* // 在这个花括号内,node 的类型是 PropertySelectSetter 或者 PropertySelectSetter 继承类型
|
|
2421
|
+
* }
|
|
2422
|
+
* ```
|
|
2423
|
+
*/
|
|
2424
|
+
export declare function isPropertySelectSetter(node: unknown): node is PropertySelectSetter;
|
|
2425
|
+
/**
|
|
2426
|
+
* 判断输入为 ViewComponentDeclaration 节点实例
|
|
2427
|
+
*
|
|
2428
|
+
* @description 包含节点类以及节点继承类的判断
|
|
2429
|
+
* @description 等价于`instanceof`运算,ViewComponentDeclaration 节点没有继承类,此判断等价于`isStrictViewComponentDeclaration`
|
|
2430
|
+
* @example
|
|
2431
|
+
* ```ts
|
|
2432
|
+
* if (isViewComponentDeclaration(node)) {
|
|
2433
|
+
* // 在这个花括号内,node 的类型是 ViewComponentDeclaration 或者 ViewComponentDeclaration 继承类型
|
|
2434
|
+
* }
|
|
2435
|
+
* ```
|
|
2436
|
+
*/
|
|
2437
|
+
export declare function isViewComponentDeclaration(node: unknown): node is ViewComponentDeclaration;
|
|
2438
|
+
/**
|
|
2439
|
+
* 判断输入为 BusinessComponent 节点实例
|
|
2440
|
+
*
|
|
2441
|
+
* @description 包含节点类以及节点继承类的判断
|
|
2442
|
+
* @description 等价于`instanceof`运算,BusinessComponent 节点没有继承类,此判断等价于`isStrictBusinessComponent`
|
|
2443
|
+
* @example
|
|
2444
|
+
* ```ts
|
|
2445
|
+
* if (isBusinessComponent(node)) {
|
|
2446
|
+
* // 在这个花括号内,node 的类型是 BusinessComponent 或者 BusinessComponent 继承类型
|
|
2447
|
+
* }
|
|
2448
|
+
* ```
|
|
2449
|
+
*/
|
|
2450
|
+
export declare function isBusinessComponent(node: unknown): node is BusinessComponent;
|
|
2451
|
+
/**
|
|
2452
|
+
* 判断输入为 Attribute 节点实例
|
|
2453
|
+
*
|
|
2454
|
+
* @description 包含节点类以及节点继承类的判断
|
|
2455
|
+
* @description 等价于`instanceof`运算,Attribute 节点没有继承类,此判断等价于`isStrictAttribute`
|
|
2456
|
+
* @example
|
|
2457
|
+
* ```ts
|
|
2458
|
+
* if (isAttribute(node)) {
|
|
2459
|
+
* // 在这个花括号内,node 的类型是 Attribute 或者 Attribute 继承类型
|
|
2460
|
+
* }
|
|
2461
|
+
* ```
|
|
2462
|
+
*/
|
|
2463
|
+
export declare function isAttribute(node: unknown): node is Attribute;
|
|
2464
|
+
/**
|
|
2465
|
+
* 判断输入为 Event 节点实例
|
|
2466
|
+
*
|
|
2467
|
+
* @description 包含节点类以及节点继承类的判断
|
|
2468
|
+
* @description 等价于`instanceof`运算,Event 节点没有继承类,此判断等价于`isStrictEvent`
|
|
2469
|
+
* @example
|
|
2470
|
+
* ```ts
|
|
2471
|
+
* if (isEvent(node)) {
|
|
2472
|
+
* // 在这个花括号内,node 的类型是 Event 或者 Event 继承类型
|
|
2473
|
+
* }
|
|
2474
|
+
* ```
|
|
2475
|
+
*/
|
|
2476
|
+
export declare function isEvent(node: unknown): node is Event;
|
|
2477
|
+
/**
|
|
2478
|
+
* 判断输入为 PropDeclaration 节点实例
|
|
2479
|
+
*
|
|
2480
|
+
* @description 包含节点类以及节点继承类的判断
|
|
2481
|
+
* @description 等价于`instanceof`运算,PropDeclaration 节点没有继承类,此判断等价于`isStrictPropDeclaration`
|
|
2482
|
+
* @example
|
|
2483
|
+
* ```ts
|
|
2484
|
+
* if (isPropDeclaration(node)) {
|
|
2485
|
+
* // 在这个花括号内,node 的类型是 PropDeclaration 或者 PropDeclaration 继承类型
|
|
2486
|
+
* }
|
|
2487
|
+
* ```
|
|
2488
|
+
*/
|
|
2489
|
+
export declare function isPropDeclaration(node: unknown): node is PropDeclaration;
|
|
2490
|
+
/**
|
|
2491
|
+
* 判断输入为 EventDeclaration 节点实例
|
|
2492
|
+
*
|
|
2493
|
+
* @description 包含节点类以及节点继承类的判断
|
|
2494
|
+
* @description 等价于`instanceof`运算,EventDeclaration 节点没有继承类,此判断等价于`isStrictEventDeclaration`
|
|
2495
|
+
* @example
|
|
2496
|
+
* ```ts
|
|
2497
|
+
* if (isEventDeclaration(node)) {
|
|
2498
|
+
* // 在这个花括号内,node 的类型是 EventDeclaration 或者 EventDeclaration 继承类型
|
|
2499
|
+
* }
|
|
2500
|
+
* ```
|
|
2501
|
+
*/
|
|
2502
|
+
export declare function isEventDeclaration(node: unknown): node is EventDeclaration;
|
|
2503
|
+
/**
|
|
2504
|
+
* 判断输入为 SlotDeclaration 节点实例
|
|
2505
|
+
*
|
|
2506
|
+
* @description 包含节点类以及节点继承类的判断
|
|
2507
|
+
* @description 等价于`instanceof`运算,SlotDeclaration 节点没有继承类,此判断等价于`isStrictSlotDeclaration`
|
|
2508
|
+
* @example
|
|
2509
|
+
* ```ts
|
|
2510
|
+
* if (isSlotDeclaration(node)) {
|
|
2511
|
+
* // 在这个花括号内,node 的类型是 SlotDeclaration 或者 SlotDeclaration 继承类型
|
|
2512
|
+
* }
|
|
2513
|
+
* ```
|
|
2514
|
+
*/
|
|
2515
|
+
export declare function isSlotDeclaration(node: unknown): node is SlotDeclaration;
|
|
2516
|
+
/**
|
|
2517
|
+
* 判断输入为 LogicDeclaration 节点实例
|
|
2518
|
+
*
|
|
2519
|
+
* @description 包含节点类以及节点继承类的判断
|
|
2520
|
+
* @description 等价于`instanceof`运算,LogicDeclaration 节点没有继承类,此判断等价于`isStrictLogicDeclaration`
|
|
2521
|
+
* @example
|
|
2522
|
+
* ```ts
|
|
2523
|
+
* if (isLogicDeclaration(node)) {
|
|
2524
|
+
* // 在这个花括号内,node 的类型是 LogicDeclaration 或者 LogicDeclaration 继承类型
|
|
2525
|
+
* }
|
|
2526
|
+
* ```
|
|
2527
|
+
*/
|
|
2528
|
+
export declare function isLogicDeclaration(node: unknown): node is LogicDeclaration;
|
|
2529
|
+
/**
|
|
2530
|
+
* 判断输入为 Theme 节点实例
|
|
2531
|
+
*
|
|
2532
|
+
* @description 包含节点类以及节点继承类的判断
|
|
2533
|
+
* @description 等价于`instanceof`运算,Theme 节点没有继承类,此判断等价于`isStrictTheme`
|
|
2534
|
+
* @example
|
|
2535
|
+
* ```ts
|
|
2536
|
+
* if (isTheme(node)) {
|
|
2537
|
+
* // 在这个花括号内,node 的类型是 Theme 或者 Theme 继承类型
|
|
2538
|
+
* }
|
|
2539
|
+
* ```
|
|
2540
|
+
*/
|
|
2541
|
+
export declare function isTheme(node: unknown): node is Theme;
|
|
2542
|
+
/**
|
|
2543
|
+
* 判断输入为 Logic 节点实例
|
|
2544
|
+
*
|
|
2545
|
+
* @description 包含节点类以及节点继承类的判断
|
|
2546
|
+
* @description 等价于`instanceof`运算
|
|
2547
|
+
* @example
|
|
2548
|
+
* ```ts
|
|
2549
|
+
* if (isLogic(node)) {
|
|
2550
|
+
* // 在这个花括号内,node 的类型是 Logic 或者 Logic 继承类型
|
|
2551
|
+
* }
|
|
2552
|
+
* ```
|
|
2553
|
+
*/
|
|
2554
|
+
export declare function isLogic(node: unknown): node is types.LogicNode;
|
|
2555
|
+
/**
|
|
2556
|
+
* 判断输入为 AuthLogic 节点实例
|
|
2557
|
+
*
|
|
2558
|
+
* @description 包含节点类以及节点继承类的判断
|
|
2559
|
+
* @description 等价于`instanceof`运算
|
|
2560
|
+
* @example
|
|
2561
|
+
* ```ts
|
|
2562
|
+
* if (isAuthLogic(node)) {
|
|
2563
|
+
* // 在这个花括号内,node 的类型是 AuthLogic 或者 AuthLogic 继承类型
|
|
2564
|
+
* }
|
|
2565
|
+
* ```
|
|
2566
|
+
*/
|
|
2567
|
+
export declare function isAuthLogic(node: unknown): node is types.AuthLogicNode;
|
|
2568
|
+
/**
|
|
2569
|
+
* 判断输入为 AuthLogicForCallInterface 节点实例
|
|
2232
2570
|
*
|
|
2233
2571
|
* @description 包含节点类以及节点继承类的判断
|
|
2234
2572
|
* @description 等价于`instanceof`运算,AuthLogicForCallInterface 节点没有继承类,此判断等价于`isStrictAuthLogicForCallInterface`
|
|
@@ -2253,6 +2591,19 @@ export declare function isAuthLogicForCallInterface(node: unknown): node is Auth
|
|
|
2253
2591
|
* ```
|
|
2254
2592
|
*/
|
|
2255
2593
|
export declare function isOverriddenLogic(node: unknown): node is OverriddenLogic;
|
|
2594
|
+
/**
|
|
2595
|
+
* 判断输入为 BusinessLogic 节点实例
|
|
2596
|
+
*
|
|
2597
|
+
* @description 包含节点类以及节点继承类的判断
|
|
2598
|
+
* @description 等价于`instanceof`运算,BusinessLogic 节点没有继承类,此判断等价于`isStrictBusinessLogic`
|
|
2599
|
+
* @example
|
|
2600
|
+
* ```ts
|
|
2601
|
+
* if (isBusinessLogic(node)) {
|
|
2602
|
+
* // 在这个花括号内,node 的类型是 BusinessLogic 或者 BusinessLogic 继承类型
|
|
2603
|
+
* }
|
|
2604
|
+
* ```
|
|
2605
|
+
*/
|
|
2606
|
+
export declare function isBusinessLogic(node: unknown): node is BusinessLogic;
|
|
2256
2607
|
/**
|
|
2257
2608
|
* 判断输入为 AbstractInterface 节点实例
|
|
2258
2609
|
*
|
|
@@ -2265,7 +2616,7 @@ export declare function isOverriddenLogic(node: unknown): node is OverriddenLogi
|
|
|
2265
2616
|
* }
|
|
2266
2617
|
* ```
|
|
2267
2618
|
*/
|
|
2268
|
-
export declare function isAbstractInterface(node: unknown): node is
|
|
2619
|
+
export declare function isAbstractInterface(node: unknown): node is types.AbstractInterfaceNode;
|
|
2269
2620
|
/**
|
|
2270
2621
|
* 判断输入为 Param 节点实例
|
|
2271
2622
|
*
|
|
@@ -2278,7 +2629,7 @@ export declare function isAbstractInterface(node: unknown): node is Type.Abstrac
|
|
|
2278
2629
|
* }
|
|
2279
2630
|
* ```
|
|
2280
2631
|
*/
|
|
2281
|
-
export declare function isParam(node: unknown): node is
|
|
2632
|
+
export declare function isParam(node: unknown): node is types.ParamNode;
|
|
2282
2633
|
/**
|
|
2283
2634
|
* 判断输入为 ParamWithGroup 节点实例
|
|
2284
2635
|
*
|
|
@@ -2317,7 +2668,7 @@ export declare function isReturn(node: unknown): node is Return;
|
|
|
2317
2668
|
* }
|
|
2318
2669
|
* ```
|
|
2319
2670
|
*/
|
|
2320
|
-
export declare function isVariable(node: unknown): node is
|
|
2671
|
+
export declare function isVariable(node: unknown): node is types.VariableNode;
|
|
2321
2672
|
/**
|
|
2322
2673
|
* 判断输入为 BackendVariable 节点实例
|
|
2323
2674
|
*
|
|
@@ -2369,7 +2720,7 @@ export declare function isConstant(node: unknown): node is Constant;
|
|
|
2369
2720
|
* }
|
|
2370
2721
|
* ```
|
|
2371
2722
|
*/
|
|
2372
|
-
export declare function isLogicItem(node: unknown): node is
|
|
2723
|
+
export declare function isLogicItem(node: unknown): node is types.LogicItemNode;
|
|
2373
2724
|
/**
|
|
2374
2725
|
* 判断输入为 Function 节点实例
|
|
2375
2726
|
*
|
|
@@ -2397,31 +2748,31 @@ export declare function isFunction(node: unknown): node is Function;
|
|
|
2397
2748
|
*/
|
|
2398
2749
|
export declare function isAnonymousFunction(node: unknown): node is AnonymousFunction;
|
|
2399
2750
|
/**
|
|
2400
|
-
* 判断输入为
|
|
2751
|
+
* 判断输入为 ImportedInterface 节点实例
|
|
2401
2752
|
*
|
|
2402
2753
|
* @description 包含节点类以及节点继承类的判断
|
|
2403
2754
|
* @description 等价于`instanceof`运算
|
|
2404
2755
|
* @example
|
|
2405
2756
|
* ```ts
|
|
2406
|
-
* if (
|
|
2407
|
-
* // 在这个花括号内,node 的类型是
|
|
2757
|
+
* if (isImportedInterface(node)) {
|
|
2758
|
+
* // 在这个花括号内,node 的类型是 ImportedInterface 或者 ImportedInterface 继承类型
|
|
2408
2759
|
* }
|
|
2409
2760
|
* ```
|
|
2410
2761
|
*/
|
|
2411
|
-
export declare function
|
|
2762
|
+
export declare function isImportedInterface(node: unknown): node is types.ImportedInterfaceNode;
|
|
2412
2763
|
/**
|
|
2413
|
-
* 判断输入为
|
|
2764
|
+
* 判断输入为 Interface 节点实例
|
|
2414
2765
|
*
|
|
2415
2766
|
* @description 包含节点类以及节点继承类的判断
|
|
2416
2767
|
* @description 等价于`instanceof`运算
|
|
2417
2768
|
* @example
|
|
2418
2769
|
* ```ts
|
|
2419
|
-
* if (
|
|
2420
|
-
* // 在这个花括号内,node 的类型是
|
|
2770
|
+
* if (isInterface(node)) {
|
|
2771
|
+
* // 在这个花括号内,node 的类型是 Interface 或者 Interface 继承类型
|
|
2421
2772
|
* }
|
|
2422
2773
|
* ```
|
|
2423
2774
|
*/
|
|
2424
|
-
export declare function
|
|
2775
|
+
export declare function isInterface(node: unknown): node is types.InterfaceNode;
|
|
2425
2776
|
/**
|
|
2426
2777
|
* 判断输入为 InterfaceParam 节点实例
|
|
2427
2778
|
*
|
|
@@ -2616,7 +2967,7 @@ export declare function isComment(node: unknown): node is Comment;
|
|
|
2616
2967
|
* }
|
|
2617
2968
|
* ```
|
|
2618
2969
|
*/
|
|
2619
|
-
export declare function isCallLogic(node: unknown): node is
|
|
2970
|
+
export declare function isCallLogic(node: unknown): node is types.CallLogicNode;
|
|
2620
2971
|
/**
|
|
2621
2972
|
* 判断输入为 CallEvent 节点实例
|
|
2622
2973
|
*
|
|
@@ -2655,7 +3006,7 @@ export declare function isCallFunction(node: unknown): node is CallFunction;
|
|
|
2655
3006
|
* }
|
|
2656
3007
|
* ```
|
|
2657
3008
|
*/
|
|
2658
|
-
export declare function isCallInterface(node: unknown): node is
|
|
3009
|
+
export declare function isCallInterface(node: unknown): node is types.CallInterfaceNode;
|
|
2659
3010
|
/**
|
|
2660
3011
|
* 判断输入为 Destination 节点实例
|
|
2661
3012
|
*
|
|
@@ -2825,6 +3176,19 @@ export declare function isStringLiteral(node: unknown): node is StringLiteral;
|
|
|
2825
3176
|
* ```
|
|
2826
3177
|
*/
|
|
2827
3178
|
export declare function isStringInterpolation(node: unknown): node is StringInterpolation;
|
|
3179
|
+
/**
|
|
3180
|
+
* 判断输入为 StaticString 节点实例
|
|
3181
|
+
*
|
|
3182
|
+
* @description 包含节点类以及节点继承类的判断
|
|
3183
|
+
* @description 等价于`instanceof`运算,StaticString 节点没有继承类,此判断等价于`isStrictStaticString`
|
|
3184
|
+
* @example
|
|
3185
|
+
* ```ts
|
|
3186
|
+
* if (isStaticString(node)) {
|
|
3187
|
+
* // 在这个花括号内,node 的类型是 StaticString 或者 StaticString 继承类型
|
|
3188
|
+
* }
|
|
3189
|
+
* ```
|
|
3190
|
+
*/
|
|
3191
|
+
export declare function isStaticString(node: unknown): node is StaticString;
|
|
2828
3192
|
/**
|
|
2829
3193
|
* 判断输入为 NumericLiteral 节点实例
|
|
2830
3194
|
*
|
|
@@ -2968,6 +3332,19 @@ export declare function isNewList(node: unknown): node is NewList;
|
|
|
2968
3332
|
* ```
|
|
2969
3333
|
*/
|
|
2970
3334
|
export declare function isNewMap(node: unknown): node is NewMap;
|
|
3335
|
+
/**
|
|
3336
|
+
* 判断输入为 Paginate 节点实例
|
|
3337
|
+
*
|
|
3338
|
+
* @description 包含节点类以及节点继承类的判断
|
|
3339
|
+
* @description 等价于`instanceof`运算,Paginate 节点没有继承类,此判断等价于`isStrictPaginate`
|
|
3340
|
+
* @example
|
|
3341
|
+
* ```ts
|
|
3342
|
+
* if (isPaginate(node)) {
|
|
3343
|
+
* // 在这个花括号内,node 的类型是 Paginate 或者 Paginate 继承类型
|
|
3344
|
+
* }
|
|
3345
|
+
* ```
|
|
3346
|
+
*/
|
|
3347
|
+
export declare function isPaginate(node: unknown): node is Paginate;
|
|
2971
3348
|
/**
|
|
2972
3349
|
* 判断输入为 CallQueryComponent 节点实例
|
|
2973
3350
|
*
|
|
@@ -3151,83 +3528,83 @@ export declare function isProcessElement(node: unknown): node is ProcessElement;
|
|
|
3151
3528
|
*/
|
|
3152
3529
|
export declare function isProcessComponent(node: unknown): node is ProcessComponent;
|
|
3153
3530
|
/**
|
|
3154
|
-
* 判断输入为
|
|
3531
|
+
* 判断输入为 MultiApprovalPolicy 节点实例
|
|
3155
3532
|
*
|
|
3156
3533
|
* @description 包含节点类以及节点继承类的判断
|
|
3157
|
-
* @description 等价于`instanceof
|
|
3534
|
+
* @description 等价于`instanceof`运算
|
|
3158
3535
|
* @example
|
|
3159
3536
|
* ```ts
|
|
3160
|
-
* if (
|
|
3161
|
-
* // 在这个花括号内,node 的类型是
|
|
3537
|
+
* if (isMultiApprovalPolicy(node)) {
|
|
3538
|
+
* // 在这个花括号内,node 的类型是 MultiApprovalPolicy 或者 MultiApprovalPolicy 继承类型
|
|
3162
3539
|
* }
|
|
3163
3540
|
* ```
|
|
3164
3541
|
*/
|
|
3165
|
-
export declare function
|
|
3542
|
+
export declare function isMultiApprovalPolicy(node: unknown): node is types.MultiApprovalPolicyNode;
|
|
3166
3543
|
/**
|
|
3167
|
-
* 判断输入为
|
|
3544
|
+
* 判断输入为 SequentialPolicy 节点实例
|
|
3168
3545
|
*
|
|
3169
3546
|
* @description 包含节点类以及节点继承类的判断
|
|
3170
|
-
* @description 等价于`instanceof`运算,
|
|
3547
|
+
* @description 等价于`instanceof`运算,SequentialPolicy 节点没有继承类,此判断等价于`isStrictSequentialPolicy`
|
|
3171
3548
|
* @example
|
|
3172
3549
|
* ```ts
|
|
3173
|
-
* if (
|
|
3174
|
-
* // 在这个花括号内,node 的类型是
|
|
3550
|
+
* if (isSequentialPolicy(node)) {
|
|
3551
|
+
* // 在这个花括号内,node 的类型是 SequentialPolicy 或者 SequentialPolicy 继承类型
|
|
3175
3552
|
* }
|
|
3176
3553
|
* ```
|
|
3177
3554
|
*/
|
|
3178
|
-
export declare function
|
|
3555
|
+
export declare function isSequentialPolicy(node: unknown): node is SequentialPolicy;
|
|
3179
3556
|
/**
|
|
3180
|
-
* 判断输入为
|
|
3557
|
+
* 判断输入为 CountersignPolicy 节点实例
|
|
3181
3558
|
*
|
|
3182
3559
|
* @description 包含节点类以及节点继承类的判断
|
|
3183
|
-
* @description 等价于`instanceof`运算,
|
|
3560
|
+
* @description 等价于`instanceof`运算,CountersignPolicy 节点没有继承类,此判断等价于`isStrictCountersignPolicy`
|
|
3184
3561
|
* @example
|
|
3185
3562
|
* ```ts
|
|
3186
|
-
* if (
|
|
3187
|
-
* // 在这个花括号内,node 的类型是
|
|
3563
|
+
* if (isCountersignPolicy(node)) {
|
|
3564
|
+
* // 在这个花括号内,node 的类型是 CountersignPolicy 或者 CountersignPolicy 继承类型
|
|
3188
3565
|
* }
|
|
3189
3566
|
* ```
|
|
3190
3567
|
*/
|
|
3191
|
-
export declare function
|
|
3568
|
+
export declare function isCountersignPolicy(node: unknown): node is CountersignPolicy;
|
|
3192
3569
|
/**
|
|
3193
|
-
* 判断输入为
|
|
3570
|
+
* 判断输入为 ProcessOutcome 节点实例
|
|
3194
3571
|
*
|
|
3195
3572
|
* @description 包含节点类以及节点继承类的判断
|
|
3196
|
-
* @description 等价于`instanceof
|
|
3573
|
+
* @description 等价于`instanceof`运算,ProcessOutcome 节点没有继承类,此判断等价于`isStrictProcessOutcome`
|
|
3197
3574
|
* @example
|
|
3198
3575
|
* ```ts
|
|
3199
|
-
* if (
|
|
3200
|
-
* // 在这个花括号内,node 的类型是
|
|
3576
|
+
* if (isProcessOutcome(node)) {
|
|
3577
|
+
* // 在这个花括号内,node 的类型是 ProcessOutcome 或者 ProcessOutcome 继承类型
|
|
3201
3578
|
* }
|
|
3202
3579
|
* ```
|
|
3203
3580
|
*/
|
|
3204
|
-
export declare function
|
|
3581
|
+
export declare function isProcessOutcome(node: unknown): node is ProcessOutcome;
|
|
3205
3582
|
/**
|
|
3206
|
-
* 判断输入为
|
|
3583
|
+
* 判断输入为 Assignee 节点实例
|
|
3207
3584
|
*
|
|
3208
3585
|
* @description 包含节点类以及节点继承类的判断
|
|
3209
|
-
* @description 等价于`instanceof`运算,
|
|
3586
|
+
* @description 等价于`instanceof`运算,Assignee 节点没有继承类,此判断等价于`isStrictAssignee`
|
|
3210
3587
|
* @example
|
|
3211
3588
|
* ```ts
|
|
3212
|
-
* if (
|
|
3213
|
-
* // 在这个花括号内,node 的类型是
|
|
3589
|
+
* if (isAssignee(node)) {
|
|
3590
|
+
* // 在这个花括号内,node 的类型是 Assignee 或者 Assignee 继承类型
|
|
3214
3591
|
* }
|
|
3215
3592
|
* ```
|
|
3216
3593
|
*/
|
|
3217
|
-
export declare function
|
|
3594
|
+
export declare function isAssignee(node: unknown): node is Assignee;
|
|
3218
3595
|
/**
|
|
3219
|
-
* 判断输入为
|
|
3596
|
+
* 判断输入为 ProcessOutcomes 节点实例
|
|
3220
3597
|
*
|
|
3221
3598
|
* @description 包含节点类以及节点继承类的判断
|
|
3222
|
-
* @description 等价于`instanceof`运算,
|
|
3599
|
+
* @description 等价于`instanceof`运算,ProcessOutcomes 节点没有继承类,此判断等价于`isStrictProcessOutcomes`
|
|
3223
3600
|
* @example
|
|
3224
3601
|
* ```ts
|
|
3225
|
-
* if (
|
|
3226
|
-
* // 在这个花括号内,node 的类型是
|
|
3602
|
+
* if (isProcessOutcomes(node)) {
|
|
3603
|
+
* // 在这个花括号内,node 的类型是 ProcessOutcomes 或者 ProcessOutcomes 继承类型
|
|
3227
3604
|
* }
|
|
3228
3605
|
* ```
|
|
3229
3606
|
*/
|
|
3230
|
-
export declare function
|
|
3607
|
+
export declare function isProcessOutcomes(node: unknown): node is ProcessOutcomes;
|
|
3231
3608
|
/**
|
|
3232
3609
|
* 判断输入为 Role 节点实例
|
|
3233
3610
|
*
|
|
@@ -3401,7 +3778,7 @@ export declare function isFrontendLibrary(node: unknown): node is FrontendLibrar
|
|
|
3401
3778
|
* 判断输入为 ViewBlock 节点实例
|
|
3402
3779
|
*
|
|
3403
3780
|
* @description 包含节点类以及节点继承类的判断
|
|
3404
|
-
* @description 等价于`instanceof
|
|
3781
|
+
* @description 等价于`instanceof`运算
|
|
3405
3782
|
* @example
|
|
3406
3783
|
* ```ts
|
|
3407
3784
|
* if (isViewBlock(node)) {
|
|
@@ -3409,7 +3786,20 @@ export declare function isFrontendLibrary(node: unknown): node is FrontendLibrar
|
|
|
3409
3786
|
* }
|
|
3410
3787
|
* ```
|
|
3411
3788
|
*/
|
|
3412
|
-
export declare function isViewBlock(node: unknown): node is
|
|
3789
|
+
export declare function isViewBlock(node: unknown): node is types.ViewBlockNode;
|
|
3790
|
+
/**
|
|
3791
|
+
* 判断输入为 ViewBlockWithImage 节点实例
|
|
3792
|
+
*
|
|
3793
|
+
* @description 包含节点类以及节点继承类的判断
|
|
3794
|
+
* @description 等价于`instanceof`运算,ViewBlockWithImage 节点没有继承类,此判断等价于`isStrictViewBlockWithImage`
|
|
3795
|
+
* @example
|
|
3796
|
+
* ```ts
|
|
3797
|
+
* if (isViewBlockWithImage(node)) {
|
|
3798
|
+
* // 在这个花括号内,node 的类型是 ViewBlockWithImage 或者 ViewBlockWithImage 继承类型
|
|
3799
|
+
* }
|
|
3800
|
+
* ```
|
|
3801
|
+
*/
|
|
3802
|
+
export declare function isViewBlockWithImage(node: unknown): node is ViewBlockWithImage;
|
|
3413
3803
|
/**
|
|
3414
3804
|
* 判断输入为 AuthInterface 节点实例
|
|
3415
3805
|
*
|
|
@@ -3448,7 +3838,7 @@ export declare function isCallAuthInterface(node: unknown): node is CallAuthInte
|
|
|
3448
3838
|
* }
|
|
3449
3839
|
* ```
|
|
3450
3840
|
*/
|
|
3451
|
-
export declare function isTriggerEvent(node: unknown): node is
|
|
3841
|
+
export declare function isTriggerEvent(node: unknown): node is types.TriggerEventNode;
|
|
3452
3842
|
/**
|
|
3453
3843
|
* 判断输入为 MsgTriggerEvent 节点实例
|
|
3454
3844
|
*
|
|
@@ -3487,7 +3877,7 @@ export declare function isConnectorTrigger(node: unknown): node is ConnectorTrig
|
|
|
3487
3877
|
* }
|
|
3488
3878
|
* ```
|
|
3489
3879
|
*/
|
|
3490
|
-
export declare function isTriggerLauncher(node: unknown): node is
|
|
3880
|
+
export declare function isTriggerLauncher(node: unknown): node is types.TriggerLauncherNode;
|
|
3491
3881
|
/**
|
|
3492
3882
|
* 判断输入为 MsgTriggerLauncher 节点实例
|
|
3493
3883
|
*
|
|
@@ -3853,17 +4243,137 @@ export declare function assertStrictBindEvent(node: unknown): asserts node is Bi
|
|
|
3853
4243
|
*/
|
|
3854
4244
|
export declare function assertStrictBindStyle(node: unknown): asserts node is BindStyle;
|
|
3855
4245
|
/**
|
|
3856
|
-
* 严格断言为
|
|
4246
|
+
* 严格断言为 ThemeVariable 节点
|
|
4247
|
+
*
|
|
4248
|
+
* @description 仅断言节点本身,不包含继承类
|
|
4249
|
+
* @example
|
|
4250
|
+
* ```ts
|
|
4251
|
+
* assertStrictThemeVariable(node);
|
|
4252
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 ThemeVariable 类型
|
|
4253
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
4254
|
+
* ```
|
|
4255
|
+
*/
|
|
4256
|
+
export declare function assertStrictThemeVariable(node: unknown): asserts node is ThemeVariable;
|
|
4257
|
+
/**
|
|
4258
|
+
* 严格断言为 InputSetter 节点
|
|
4259
|
+
*
|
|
4260
|
+
* @description 仅断言节点本身,不包含继承类
|
|
4261
|
+
* @example
|
|
4262
|
+
* ```ts
|
|
4263
|
+
* assertStrictInputSetter(node);
|
|
4264
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 InputSetter 类型
|
|
4265
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
4266
|
+
* ```
|
|
4267
|
+
*/
|
|
4268
|
+
export declare function assertStrictInputSetter(node: unknown): asserts node is InputSetter;
|
|
4269
|
+
/**
|
|
4270
|
+
* 严格断言为 SwitchSetter 节点
|
|
4271
|
+
*
|
|
4272
|
+
* @description 仅断言节点本身,不包含继承类
|
|
4273
|
+
* @example
|
|
4274
|
+
* ```ts
|
|
4275
|
+
* assertStrictSwitchSetter(node);
|
|
4276
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 SwitchSetter 类型
|
|
4277
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
4278
|
+
* ```
|
|
4279
|
+
*/
|
|
4280
|
+
export declare function assertStrictSwitchSetter(node: unknown): asserts node is SwitchSetter;
|
|
4281
|
+
/**
|
|
4282
|
+
* 严格断言为 SetterOption 节点
|
|
4283
|
+
*
|
|
4284
|
+
* @description 仅断言节点本身,不包含继承类
|
|
4285
|
+
* @example
|
|
4286
|
+
* ```ts
|
|
4287
|
+
* assertStrictSetterOption(node);
|
|
4288
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 SetterOption 类型
|
|
4289
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
4290
|
+
* ```
|
|
4291
|
+
*/
|
|
4292
|
+
export declare function assertStrictSetterOption(node: unknown): asserts node is SetterOption;
|
|
4293
|
+
/**
|
|
4294
|
+
* 严格断言为 EnumSelectSetter 节点
|
|
4295
|
+
*
|
|
4296
|
+
* @description 仅断言节点本身,不包含继承类
|
|
4297
|
+
* @example
|
|
4298
|
+
* ```ts
|
|
4299
|
+
* assertStrictEnumSelectSetter(node);
|
|
4300
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 EnumSelectSetter 类型
|
|
4301
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
4302
|
+
* ```
|
|
4303
|
+
*/
|
|
4304
|
+
export declare function assertStrictEnumSelectSetter(node: unknown): asserts node is EnumSelectSetter;
|
|
4305
|
+
/**
|
|
4306
|
+
* 严格断言为 CapsulesSetter 节点
|
|
4307
|
+
*
|
|
4308
|
+
* @description 仅断言节点本身,不包含继承类
|
|
4309
|
+
* @example
|
|
4310
|
+
* ```ts
|
|
4311
|
+
* assertStrictCapsulesSetter(node);
|
|
4312
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 CapsulesSetter 类型
|
|
4313
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
4314
|
+
* ```
|
|
4315
|
+
*/
|
|
4316
|
+
export declare function assertStrictCapsulesSetter(node: unknown): asserts node is CapsulesSetter;
|
|
4317
|
+
/**
|
|
4318
|
+
* 严格断言为 NumberInputSetter 节点
|
|
4319
|
+
*
|
|
4320
|
+
* @description 仅断言节点本身,不包含继承类
|
|
4321
|
+
* @example
|
|
4322
|
+
* ```ts
|
|
4323
|
+
* assertStrictNumberInputSetter(node);
|
|
4324
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 NumberInputSetter 类型
|
|
4325
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
4326
|
+
* ```
|
|
4327
|
+
*/
|
|
4328
|
+
export declare function assertStrictNumberInputSetter(node: unknown): asserts node is NumberInputSetter;
|
|
4329
|
+
/**
|
|
4330
|
+
* 严格断言为 IconSetter 节点
|
|
4331
|
+
*
|
|
4332
|
+
* @description 仅断言节点本身,不包含继承类
|
|
4333
|
+
* @example
|
|
4334
|
+
* ```ts
|
|
4335
|
+
* assertStrictIconSetter(node);
|
|
4336
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 IconSetter 类型
|
|
4337
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
4338
|
+
* ```
|
|
4339
|
+
*/
|
|
4340
|
+
export declare function assertStrictIconSetter(node: unknown): asserts node is IconSetter;
|
|
4341
|
+
/**
|
|
4342
|
+
* 严格断言为 ImageSetter 节点
|
|
3857
4343
|
*
|
|
3858
4344
|
* @description 仅断言节点本身,不包含继承类
|
|
3859
4345
|
* @example
|
|
3860
4346
|
* ```ts
|
|
3861
|
-
*
|
|
3862
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
4347
|
+
* assertStrictImageSetter(node);
|
|
4348
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 ImageSetter 类型
|
|
3863
4349
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
3864
4350
|
* ```
|
|
3865
4351
|
*/
|
|
3866
|
-
export declare function
|
|
4352
|
+
export declare function assertStrictImageSetter(node: unknown): asserts node is ImageSetter;
|
|
4353
|
+
/**
|
|
4354
|
+
* 严格断言为 PropertySelectSetter 节点
|
|
4355
|
+
*
|
|
4356
|
+
* @description 仅断言节点本身,不包含继承类
|
|
4357
|
+
* @example
|
|
4358
|
+
* ```ts
|
|
4359
|
+
* assertStrictPropertySelectSetter(node);
|
|
4360
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 PropertySelectSetter 类型
|
|
4361
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
4362
|
+
* ```
|
|
4363
|
+
*/
|
|
4364
|
+
export declare function assertStrictPropertySelectSetter(node: unknown): asserts node is PropertySelectSetter;
|
|
4365
|
+
/**
|
|
4366
|
+
* 严格断言为 ViewComponentDeclaration 节点
|
|
4367
|
+
*
|
|
4368
|
+
* @description 仅断言节点本身,不包含继承类
|
|
4369
|
+
* @example
|
|
4370
|
+
* ```ts
|
|
4371
|
+
* assertStrictViewComponentDeclaration(node);
|
|
4372
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 ViewComponentDeclaration 类型
|
|
4373
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
4374
|
+
* ```
|
|
4375
|
+
*/
|
|
4376
|
+
export declare function assertStrictViewComponentDeclaration(node: unknown): asserts node is ViewComponentDeclaration;
|
|
3867
4377
|
/**
|
|
3868
4378
|
* 严格断言为 BusinessComponent 节点
|
|
3869
4379
|
*
|
|
@@ -3901,77 +4411,89 @@ export declare function assertStrictAttribute(node: unknown): asserts node is At
|
|
|
3901
4411
|
*/
|
|
3902
4412
|
export declare function assertStrictEvent(node: unknown): asserts node is Event;
|
|
3903
4413
|
/**
|
|
3904
|
-
* 严格断言为
|
|
4414
|
+
* 严格断言为 PropDeclaration 节点
|
|
3905
4415
|
*
|
|
3906
4416
|
* @description 仅断言节点本身,不包含继承类
|
|
3907
4417
|
* @example
|
|
3908
4418
|
* ```ts
|
|
3909
|
-
*
|
|
3910
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
4419
|
+
* assertStrictPropDeclaration(node);
|
|
4420
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 PropDeclaration 类型
|
|
3911
4421
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
3912
4422
|
* ```
|
|
3913
4423
|
*/
|
|
3914
|
-
export declare function
|
|
4424
|
+
export declare function assertStrictPropDeclaration(node: unknown): asserts node is PropDeclaration;
|
|
3915
4425
|
/**
|
|
3916
|
-
* 严格断言为
|
|
4426
|
+
* 严格断言为 EventDeclaration 节点
|
|
3917
4427
|
*
|
|
3918
4428
|
* @description 仅断言节点本身,不包含继承类
|
|
3919
4429
|
* @example
|
|
3920
4430
|
* ```ts
|
|
3921
|
-
*
|
|
3922
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
4431
|
+
* assertStrictEventDeclaration(node);
|
|
4432
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 EventDeclaration 类型
|
|
3923
4433
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
3924
4434
|
* ```
|
|
3925
4435
|
*/
|
|
3926
|
-
export declare function
|
|
4436
|
+
export declare function assertStrictEventDeclaration(node: unknown): asserts node is EventDeclaration;
|
|
3927
4437
|
/**
|
|
3928
|
-
* 严格断言为
|
|
4438
|
+
* 严格断言为 SlotDeclaration 节点
|
|
3929
4439
|
*
|
|
3930
4440
|
* @description 仅断言节点本身,不包含继承类
|
|
3931
4441
|
* @example
|
|
3932
4442
|
* ```ts
|
|
3933
|
-
*
|
|
3934
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
4443
|
+
* assertStrictSlotDeclaration(node);
|
|
4444
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 SlotDeclaration 类型
|
|
3935
4445
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
3936
4446
|
* ```
|
|
3937
4447
|
*/
|
|
3938
|
-
export declare function
|
|
4448
|
+
export declare function assertStrictSlotDeclaration(node: unknown): asserts node is SlotDeclaration;
|
|
3939
4449
|
/**
|
|
3940
|
-
* 严格断言为
|
|
4450
|
+
* 严格断言为 LogicDeclaration 节点
|
|
3941
4451
|
*
|
|
3942
4452
|
* @description 仅断言节点本身,不包含继承类
|
|
3943
4453
|
* @example
|
|
3944
4454
|
* ```ts
|
|
3945
|
-
*
|
|
3946
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
4455
|
+
* assertStrictLogicDeclaration(node);
|
|
4456
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 LogicDeclaration 类型
|
|
3947
4457
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
3948
4458
|
* ```
|
|
3949
4459
|
*/
|
|
3950
|
-
export declare function
|
|
4460
|
+
export declare function assertStrictLogicDeclaration(node: unknown): asserts node is LogicDeclaration;
|
|
3951
4461
|
/**
|
|
3952
|
-
* 严格断言为
|
|
4462
|
+
* 严格断言为 Theme 节点
|
|
3953
4463
|
*
|
|
3954
4464
|
* @description 仅断言节点本身,不包含继承类
|
|
3955
4465
|
* @example
|
|
3956
4466
|
* ```ts
|
|
3957
|
-
*
|
|
3958
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
4467
|
+
* assertStrictTheme(node);
|
|
4468
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 Theme 类型
|
|
3959
4469
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
3960
4470
|
* ```
|
|
3961
4471
|
*/
|
|
3962
|
-
export declare function
|
|
4472
|
+
export declare function assertStrictTheme(node: unknown): asserts node is Theme;
|
|
3963
4473
|
/**
|
|
3964
|
-
* 严格断言为
|
|
4474
|
+
* 严格断言为 Logic 节点
|
|
3965
4475
|
*
|
|
3966
4476
|
* @description 仅断言节点本身,不包含继承类
|
|
3967
4477
|
* @example
|
|
3968
4478
|
* ```ts
|
|
3969
|
-
*
|
|
3970
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
4479
|
+
* assertStrictLogic(node);
|
|
4480
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 Logic 类型
|
|
3971
4481
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
3972
4482
|
* ```
|
|
3973
4483
|
*/
|
|
3974
|
-
export declare function
|
|
4484
|
+
export declare function assertStrictLogic(node: unknown): asserts node is Logic;
|
|
4485
|
+
/**
|
|
4486
|
+
* 严格断言为 AuthLogic 节点
|
|
4487
|
+
*
|
|
4488
|
+
* @description 仅断言节点本身,不包含继承类
|
|
4489
|
+
* @example
|
|
4490
|
+
* ```ts
|
|
4491
|
+
* assertStrictAuthLogic(node);
|
|
4492
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 AuthLogic 类型
|
|
4493
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
4494
|
+
* ```
|
|
4495
|
+
*/
|
|
4496
|
+
export declare function assertStrictAuthLogic(node: unknown): asserts node is AuthLogic;
|
|
3975
4497
|
/**
|
|
3976
4498
|
* 严格断言为 AuthLogicForCallInterface 节点
|
|
3977
4499
|
*
|
|
@@ -3996,6 +4518,18 @@ export declare function assertStrictAuthLogicForCallInterface(node: unknown): as
|
|
|
3996
4518
|
* ```
|
|
3997
4519
|
*/
|
|
3998
4520
|
export declare function assertStrictOverriddenLogic(node: unknown): asserts node is OverriddenLogic;
|
|
4521
|
+
/**
|
|
4522
|
+
* 严格断言为 BusinessLogic 节点
|
|
4523
|
+
*
|
|
4524
|
+
* @description 仅断言节点本身,不包含继承类
|
|
4525
|
+
* @example
|
|
4526
|
+
* ```ts
|
|
4527
|
+
* assertStrictBusinessLogic(node);
|
|
4528
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 BusinessLogic 类型
|
|
4529
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
4530
|
+
* ```
|
|
4531
|
+
*/
|
|
4532
|
+
export declare function assertStrictBusinessLogic(node: unknown): asserts node is BusinessLogic;
|
|
3999
4533
|
/**
|
|
4000
4534
|
* 严格断言为 Param 节点
|
|
4001
4535
|
*
|
|
@@ -4488,6 +5022,18 @@ export declare function assertStrictStringLiteral(node: unknown): asserts node i
|
|
|
4488
5022
|
* ```
|
|
4489
5023
|
*/
|
|
4490
5024
|
export declare function assertStrictStringInterpolation(node: unknown): asserts node is StringInterpolation;
|
|
5025
|
+
/**
|
|
5026
|
+
* 严格断言为 StaticString 节点
|
|
5027
|
+
*
|
|
5028
|
+
* @description 仅断言节点本身,不包含继承类
|
|
5029
|
+
* @example
|
|
5030
|
+
* ```ts
|
|
5031
|
+
* assertStrictStaticString(node);
|
|
5032
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 StaticString 类型
|
|
5033
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
5034
|
+
* ```
|
|
5035
|
+
*/
|
|
5036
|
+
export declare function assertStrictStaticString(node: unknown): asserts node is StaticString;
|
|
4491
5037
|
/**
|
|
4492
5038
|
* 严格断言为 NumericLiteral 节点
|
|
4493
5039
|
*
|
|
@@ -4620,6 +5166,18 @@ export declare function assertStrictNewList(node: unknown): asserts node is NewL
|
|
|
4620
5166
|
* ```
|
|
4621
5167
|
*/
|
|
4622
5168
|
export declare function assertStrictNewMap(node: unknown): asserts node is NewMap;
|
|
5169
|
+
/**
|
|
5170
|
+
* 严格断言为 Paginate 节点
|
|
5171
|
+
*
|
|
5172
|
+
* @description 仅断言节点本身,不包含继承类
|
|
5173
|
+
* @example
|
|
5174
|
+
* ```ts
|
|
5175
|
+
* assertStrictPaginate(node);
|
|
5176
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 Paginate 类型
|
|
5177
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
5178
|
+
* ```
|
|
5179
|
+
*/
|
|
5180
|
+
export declare function assertStrictPaginate(node: unknown): asserts node is Paginate;
|
|
4623
5181
|
/**
|
|
4624
5182
|
* 严格断言为 CallQueryComponent 节点
|
|
4625
5183
|
*
|
|
@@ -4789,77 +5347,65 @@ export declare function assertStrictProcessElement(node: unknown): asserts node
|
|
|
4789
5347
|
*/
|
|
4790
5348
|
export declare function assertStrictProcessComponent(node: unknown): asserts node is ProcessComponent;
|
|
4791
5349
|
/**
|
|
4792
|
-
* 严格断言为
|
|
4793
|
-
*
|
|
4794
|
-
* @description 仅断言节点本身,不包含继承类
|
|
4795
|
-
* @example
|
|
4796
|
-
* ```ts
|
|
4797
|
-
* assertStrictProcessOutcome(node);
|
|
4798
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 ProcessOutcome 类型
|
|
4799
|
-
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
4800
|
-
* ```
|
|
4801
|
-
*/
|
|
4802
|
-
export declare function assertStrictProcessOutcome(node: unknown): asserts node is ProcessOutcome;
|
|
4803
|
-
/**
|
|
4804
|
-
* 严格断言为 Assignee 节点
|
|
5350
|
+
* 严格断言为 SequentialPolicy 节点
|
|
4805
5351
|
*
|
|
4806
5352
|
* @description 仅断言节点本身,不包含继承类
|
|
4807
5353
|
* @example
|
|
4808
5354
|
* ```ts
|
|
4809
|
-
*
|
|
4810
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
5355
|
+
* assertStrictSequentialPolicy(node);
|
|
5356
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 SequentialPolicy 类型
|
|
4811
5357
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
4812
5358
|
* ```
|
|
4813
5359
|
*/
|
|
4814
|
-
export declare function
|
|
5360
|
+
export declare function assertStrictSequentialPolicy(node: unknown): asserts node is SequentialPolicy;
|
|
4815
5361
|
/**
|
|
4816
|
-
* 严格断言为
|
|
5362
|
+
* 严格断言为 CountersignPolicy 节点
|
|
4817
5363
|
*
|
|
4818
5364
|
* @description 仅断言节点本身,不包含继承类
|
|
4819
5365
|
* @example
|
|
4820
5366
|
* ```ts
|
|
4821
|
-
*
|
|
4822
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
5367
|
+
* assertStrictCountersignPolicy(node);
|
|
5368
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 CountersignPolicy 类型
|
|
4823
5369
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
4824
5370
|
* ```
|
|
4825
5371
|
*/
|
|
4826
|
-
export declare function
|
|
5372
|
+
export declare function assertStrictCountersignPolicy(node: unknown): asserts node is CountersignPolicy;
|
|
4827
5373
|
/**
|
|
4828
|
-
* 严格断言为
|
|
5374
|
+
* 严格断言为 ProcessOutcome 节点
|
|
4829
5375
|
*
|
|
4830
5376
|
* @description 仅断言节点本身,不包含继承类
|
|
4831
5377
|
* @example
|
|
4832
5378
|
* ```ts
|
|
4833
|
-
*
|
|
4834
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
5379
|
+
* assertStrictProcessOutcome(node);
|
|
5380
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 ProcessOutcome 类型
|
|
4835
5381
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
4836
5382
|
* ```
|
|
4837
5383
|
*/
|
|
4838
|
-
export declare function
|
|
5384
|
+
export declare function assertStrictProcessOutcome(node: unknown): asserts node is ProcessOutcome;
|
|
4839
5385
|
/**
|
|
4840
|
-
* 严格断言为
|
|
5386
|
+
* 严格断言为 Assignee 节点
|
|
4841
5387
|
*
|
|
4842
5388
|
* @description 仅断言节点本身,不包含继承类
|
|
4843
5389
|
* @example
|
|
4844
5390
|
* ```ts
|
|
4845
|
-
*
|
|
4846
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
5391
|
+
* assertStrictAssignee(node);
|
|
5392
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 Assignee 类型
|
|
4847
5393
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
4848
5394
|
* ```
|
|
4849
5395
|
*/
|
|
4850
|
-
export declare function
|
|
5396
|
+
export declare function assertStrictAssignee(node: unknown): asserts node is Assignee;
|
|
4851
5397
|
/**
|
|
4852
|
-
* 严格断言为
|
|
5398
|
+
* 严格断言为 ProcessOutcomes 节点
|
|
4853
5399
|
*
|
|
4854
5400
|
* @description 仅断言节点本身,不包含继承类
|
|
4855
5401
|
* @example
|
|
4856
5402
|
* ```ts
|
|
4857
|
-
*
|
|
4858
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
5403
|
+
* assertStrictProcessOutcomes(node);
|
|
5404
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 ProcessOutcomes 类型
|
|
4859
5405
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
4860
5406
|
* ```
|
|
4861
5407
|
*/
|
|
4862
|
-
export declare function
|
|
5408
|
+
export declare function assertStrictProcessOutcomes(node: unknown): asserts node is ProcessOutcomes;
|
|
4863
5409
|
/**
|
|
4864
5410
|
* 严格断言为 Role 节点
|
|
4865
5411
|
*
|
|
@@ -5028,6 +5574,18 @@ export declare function assertStrictFrontendLibrary(node: unknown): asserts node
|
|
|
5028
5574
|
* ```
|
|
5029
5575
|
*/
|
|
5030
5576
|
export declare function assertStrictViewBlock(node: unknown): asserts node is ViewBlock;
|
|
5577
|
+
/**
|
|
5578
|
+
* 严格断言为 ViewBlockWithImage 节点
|
|
5579
|
+
*
|
|
5580
|
+
* @description 仅断言节点本身,不包含继承类
|
|
5581
|
+
* @example
|
|
5582
|
+
* ```ts
|
|
5583
|
+
* assertStrictViewBlockWithImage(node);
|
|
5584
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 ViewBlockWithImage 类型
|
|
5585
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
5586
|
+
* ```
|
|
5587
|
+
*/
|
|
5588
|
+
export declare function assertStrictViewBlockWithImage(node: unknown): asserts node is ViewBlockWithImage;
|
|
5031
5589
|
/**
|
|
5032
5590
|
* 严格断言为 AuthInterface 节点
|
|
5033
5591
|
*
|
|
@@ -5173,7 +5731,7 @@ export declare function assertApp(node: unknown): asserts node is App;
|
|
|
5173
5731
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
5174
5732
|
* ```
|
|
5175
5733
|
*/
|
|
5176
|
-
export declare function assertModule(node: unknown): asserts node is
|
|
5734
|
+
export declare function assertModule(node: unknown): asserts node is types.ModuleNode;
|
|
5177
5735
|
/**
|
|
5178
5736
|
* 断言为 Namespace 节点
|
|
5179
5737
|
*
|
|
@@ -5487,18 +6045,161 @@ export declare function assertBindEvent(node: unknown): asserts node is BindEven
|
|
|
5487
6045
|
*/
|
|
5488
6046
|
export declare function assertBindStyle(node: unknown): asserts node is BindStyle;
|
|
5489
6047
|
/**
|
|
5490
|
-
* 断言为
|
|
6048
|
+
* 断言为 ThemeVariable 节点
|
|
6049
|
+
*
|
|
6050
|
+
* @description 包含节点类以及节点继承类的判断
|
|
6051
|
+
* @description 节点没有继承类时,等价于`assertStrictThemeVariable`方法
|
|
6052
|
+
* @example
|
|
6053
|
+
* ```ts
|
|
6054
|
+
* assertThemeVariable(node);
|
|
6055
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 ThemeVariable 或者 ThemeVariable 继承类型
|
|
6056
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6057
|
+
* ```
|
|
6058
|
+
*/
|
|
6059
|
+
export declare function assertThemeVariable(node: unknown): asserts node is ThemeVariable;
|
|
6060
|
+
/**
|
|
6061
|
+
* 断言为 BaseSetter 节点
|
|
6062
|
+
*
|
|
6063
|
+
* @description 包含节点类以及节点继承类的判断
|
|
6064
|
+
* @description 节点没有继承类时,等价于`assertStrictBaseSetter`方法
|
|
6065
|
+
* @example
|
|
6066
|
+
* ```ts
|
|
6067
|
+
* assertBaseSetter(node);
|
|
6068
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 BaseSetter 或者 BaseSetter 继承类型
|
|
6069
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6070
|
+
* ```
|
|
6071
|
+
*/
|
|
6072
|
+
export declare function assertBaseSetter(node: unknown): asserts node is types.BaseSetterNode;
|
|
6073
|
+
/**
|
|
6074
|
+
* 断言为 InputSetter 节点
|
|
6075
|
+
*
|
|
6076
|
+
* @description 包含节点类以及节点继承类的判断
|
|
6077
|
+
* @description 节点没有继承类时,等价于`assertStrictInputSetter`方法
|
|
6078
|
+
* @example
|
|
6079
|
+
* ```ts
|
|
6080
|
+
* assertInputSetter(node);
|
|
6081
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 InputSetter 或者 InputSetter 继承类型
|
|
6082
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6083
|
+
* ```
|
|
6084
|
+
*/
|
|
6085
|
+
export declare function assertInputSetter(node: unknown): asserts node is InputSetter;
|
|
6086
|
+
/**
|
|
6087
|
+
* 断言为 SwitchSetter 节点
|
|
6088
|
+
*
|
|
6089
|
+
* @description 包含节点类以及节点继承类的判断
|
|
6090
|
+
* @description 节点没有继承类时,等价于`assertStrictSwitchSetter`方法
|
|
6091
|
+
* @example
|
|
6092
|
+
* ```ts
|
|
6093
|
+
* assertSwitchSetter(node);
|
|
6094
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 SwitchSetter 或者 SwitchSetter 继承类型
|
|
6095
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6096
|
+
* ```
|
|
6097
|
+
*/
|
|
6098
|
+
export declare function assertSwitchSetter(node: unknown): asserts node is SwitchSetter;
|
|
6099
|
+
/**
|
|
6100
|
+
* 断言为 SetterOption 节点
|
|
6101
|
+
*
|
|
6102
|
+
* @description 包含节点类以及节点继承类的判断
|
|
6103
|
+
* @description 节点没有继承类时,等价于`assertStrictSetterOption`方法
|
|
6104
|
+
* @example
|
|
6105
|
+
* ```ts
|
|
6106
|
+
* assertSetterOption(node);
|
|
6107
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 SetterOption 或者 SetterOption 继承类型
|
|
6108
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6109
|
+
* ```
|
|
6110
|
+
*/
|
|
6111
|
+
export declare function assertSetterOption(node: unknown): asserts node is SetterOption;
|
|
6112
|
+
/**
|
|
6113
|
+
* 断言为 EnumSelectSetter 节点
|
|
6114
|
+
*
|
|
6115
|
+
* @description 包含节点类以及节点继承类的判断
|
|
6116
|
+
* @description 节点没有继承类时,等价于`assertStrictEnumSelectSetter`方法
|
|
6117
|
+
* @example
|
|
6118
|
+
* ```ts
|
|
6119
|
+
* assertEnumSelectSetter(node);
|
|
6120
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 EnumSelectSetter 或者 EnumSelectSetter 继承类型
|
|
6121
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6122
|
+
* ```
|
|
6123
|
+
*/
|
|
6124
|
+
export declare function assertEnumSelectSetter(node: unknown): asserts node is EnumSelectSetter;
|
|
6125
|
+
/**
|
|
6126
|
+
* 断言为 CapsulesSetter 节点
|
|
6127
|
+
*
|
|
6128
|
+
* @description 包含节点类以及节点继承类的判断
|
|
6129
|
+
* @description 节点没有继承类时,等价于`assertStrictCapsulesSetter`方法
|
|
6130
|
+
* @example
|
|
6131
|
+
* ```ts
|
|
6132
|
+
* assertCapsulesSetter(node);
|
|
6133
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 CapsulesSetter 或者 CapsulesSetter 继承类型
|
|
6134
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6135
|
+
* ```
|
|
6136
|
+
*/
|
|
6137
|
+
export declare function assertCapsulesSetter(node: unknown): asserts node is CapsulesSetter;
|
|
6138
|
+
/**
|
|
6139
|
+
* 断言为 NumberInputSetter 节点
|
|
5491
6140
|
*
|
|
5492
6141
|
* @description 包含节点类以及节点继承类的判断
|
|
5493
|
-
* @description 节点没有继承类时,等价于`
|
|
6142
|
+
* @description 节点没有继承类时,等价于`assertStrictNumberInputSetter`方法
|
|
5494
6143
|
* @example
|
|
5495
6144
|
* ```ts
|
|
5496
|
-
*
|
|
5497
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
6145
|
+
* assertNumberInputSetter(node);
|
|
6146
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 NumberInputSetter 或者 NumberInputSetter 继承类型
|
|
5498
6147
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
5499
6148
|
* ```
|
|
5500
6149
|
*/
|
|
5501
|
-
export declare function
|
|
6150
|
+
export declare function assertNumberInputSetter(node: unknown): asserts node is NumberInputSetter;
|
|
6151
|
+
/**
|
|
6152
|
+
* 断言为 IconSetter 节点
|
|
6153
|
+
*
|
|
6154
|
+
* @description 包含节点类以及节点继承类的判断
|
|
6155
|
+
* @description 节点没有继承类时,等价于`assertStrictIconSetter`方法
|
|
6156
|
+
* @example
|
|
6157
|
+
* ```ts
|
|
6158
|
+
* assertIconSetter(node);
|
|
6159
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 IconSetter 或者 IconSetter 继承类型
|
|
6160
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6161
|
+
* ```
|
|
6162
|
+
*/
|
|
6163
|
+
export declare function assertIconSetter(node: unknown): asserts node is IconSetter;
|
|
6164
|
+
/**
|
|
6165
|
+
* 断言为 ImageSetter 节点
|
|
6166
|
+
*
|
|
6167
|
+
* @description 包含节点类以及节点继承类的判断
|
|
6168
|
+
* @description 节点没有继承类时,等价于`assertStrictImageSetter`方法
|
|
6169
|
+
* @example
|
|
6170
|
+
* ```ts
|
|
6171
|
+
* assertImageSetter(node);
|
|
6172
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 ImageSetter 或者 ImageSetter 继承类型
|
|
6173
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6174
|
+
* ```
|
|
6175
|
+
*/
|
|
6176
|
+
export declare function assertImageSetter(node: unknown): asserts node is ImageSetter;
|
|
6177
|
+
/**
|
|
6178
|
+
* 断言为 PropertySelectSetter 节点
|
|
6179
|
+
*
|
|
6180
|
+
* @description 包含节点类以及节点继承类的判断
|
|
6181
|
+
* @description 节点没有继承类时,等价于`assertStrictPropertySelectSetter`方法
|
|
6182
|
+
* @example
|
|
6183
|
+
* ```ts
|
|
6184
|
+
* assertPropertySelectSetter(node);
|
|
6185
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 PropertySelectSetter 或者 PropertySelectSetter 继承类型
|
|
6186
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6187
|
+
* ```
|
|
6188
|
+
*/
|
|
6189
|
+
export declare function assertPropertySelectSetter(node: unknown): asserts node is PropertySelectSetter;
|
|
6190
|
+
/**
|
|
6191
|
+
* 断言为 ViewComponentDeclaration 节点
|
|
6192
|
+
*
|
|
6193
|
+
* @description 包含节点类以及节点继承类的判断
|
|
6194
|
+
* @description 节点没有继承类时,等价于`assertStrictViewComponentDeclaration`方法
|
|
6195
|
+
* @example
|
|
6196
|
+
* ```ts
|
|
6197
|
+
* assertViewComponentDeclaration(node);
|
|
6198
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 ViewComponentDeclaration 或者 ViewComponentDeclaration 继承类型
|
|
6199
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6200
|
+
* ```
|
|
6201
|
+
*/
|
|
6202
|
+
export declare function assertViewComponentDeclaration(node: unknown): asserts node is ViewComponentDeclaration;
|
|
5502
6203
|
/**
|
|
5503
6204
|
* 断言为 BusinessComponent 节点
|
|
5504
6205
|
*
|
|
@@ -5539,83 +6240,96 @@ export declare function assertAttribute(node: unknown): asserts node is Attribut
|
|
|
5539
6240
|
*/
|
|
5540
6241
|
export declare function assertEvent(node: unknown): asserts node is Event;
|
|
5541
6242
|
/**
|
|
5542
|
-
* 断言为
|
|
6243
|
+
* 断言为 PropDeclaration 节点
|
|
5543
6244
|
*
|
|
5544
6245
|
* @description 包含节点类以及节点继承类的判断
|
|
5545
|
-
* @description 节点没有继承类时,等价于`
|
|
6246
|
+
* @description 节点没有继承类时,等价于`assertStrictPropDeclaration`方法
|
|
5546
6247
|
* @example
|
|
5547
6248
|
* ```ts
|
|
5548
|
-
*
|
|
5549
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
6249
|
+
* assertPropDeclaration(node);
|
|
6250
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 PropDeclaration 或者 PropDeclaration 继承类型
|
|
5550
6251
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
5551
6252
|
* ```
|
|
5552
6253
|
*/
|
|
5553
|
-
export declare function
|
|
6254
|
+
export declare function assertPropDeclaration(node: unknown): asserts node is PropDeclaration;
|
|
5554
6255
|
/**
|
|
5555
|
-
* 断言为
|
|
6256
|
+
* 断言为 EventDeclaration 节点
|
|
5556
6257
|
*
|
|
5557
6258
|
* @description 包含节点类以及节点继承类的判断
|
|
5558
|
-
* @description 节点没有继承类时,等价于`
|
|
6259
|
+
* @description 节点没有继承类时,等价于`assertStrictEventDeclaration`方法
|
|
5559
6260
|
* @example
|
|
5560
6261
|
* ```ts
|
|
5561
|
-
*
|
|
5562
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
6262
|
+
* assertEventDeclaration(node);
|
|
6263
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 EventDeclaration 或者 EventDeclaration 继承类型
|
|
5563
6264
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
5564
6265
|
* ```
|
|
5565
6266
|
*/
|
|
5566
|
-
export declare function
|
|
6267
|
+
export declare function assertEventDeclaration(node: unknown): asserts node is EventDeclaration;
|
|
5567
6268
|
/**
|
|
5568
|
-
* 断言为
|
|
6269
|
+
* 断言为 SlotDeclaration 节点
|
|
5569
6270
|
*
|
|
5570
6271
|
* @description 包含节点类以及节点继承类的判断
|
|
5571
|
-
* @description 节点没有继承类时,等价于`
|
|
6272
|
+
* @description 节点没有继承类时,等价于`assertStrictSlotDeclaration`方法
|
|
5572
6273
|
* @example
|
|
5573
6274
|
* ```ts
|
|
5574
|
-
*
|
|
5575
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
6275
|
+
* assertSlotDeclaration(node);
|
|
6276
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 SlotDeclaration 或者 SlotDeclaration 继承类型
|
|
5576
6277
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
5577
6278
|
* ```
|
|
5578
6279
|
*/
|
|
5579
|
-
export declare function
|
|
6280
|
+
export declare function assertSlotDeclaration(node: unknown): asserts node is SlotDeclaration;
|
|
5580
6281
|
/**
|
|
5581
|
-
* 断言为
|
|
6282
|
+
* 断言为 LogicDeclaration 节点
|
|
5582
6283
|
*
|
|
5583
6284
|
* @description 包含节点类以及节点继承类的判断
|
|
5584
|
-
* @description 节点没有继承类时,等价于`
|
|
6285
|
+
* @description 节点没有继承类时,等价于`assertStrictLogicDeclaration`方法
|
|
5585
6286
|
* @example
|
|
5586
6287
|
* ```ts
|
|
5587
|
-
*
|
|
5588
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
6288
|
+
* assertLogicDeclaration(node);
|
|
6289
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 LogicDeclaration 或者 LogicDeclaration 继承类型
|
|
5589
6290
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
5590
6291
|
* ```
|
|
5591
6292
|
*/
|
|
5592
|
-
export declare function
|
|
6293
|
+
export declare function assertLogicDeclaration(node: unknown): asserts node is LogicDeclaration;
|
|
5593
6294
|
/**
|
|
5594
|
-
* 断言为
|
|
6295
|
+
* 断言为 Theme 节点
|
|
5595
6296
|
*
|
|
5596
6297
|
* @description 包含节点类以及节点继承类的判断
|
|
5597
|
-
* @description 节点没有继承类时,等价于`
|
|
6298
|
+
* @description 节点没有继承类时,等价于`assertStrictTheme`方法
|
|
5598
6299
|
* @example
|
|
5599
6300
|
* ```ts
|
|
5600
|
-
*
|
|
5601
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
6301
|
+
* assertTheme(node);
|
|
6302
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 Theme 或者 Theme 继承类型
|
|
5602
6303
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
5603
6304
|
* ```
|
|
5604
6305
|
*/
|
|
5605
|
-
export declare function
|
|
6306
|
+
export declare function assertTheme(node: unknown): asserts node is Theme;
|
|
5606
6307
|
/**
|
|
5607
|
-
* 断言为
|
|
6308
|
+
* 断言为 Logic 节点
|
|
5608
6309
|
*
|
|
5609
6310
|
* @description 包含节点类以及节点继承类的判断
|
|
5610
|
-
* @description 节点没有继承类时,等价于`
|
|
6311
|
+
* @description 节点没有继承类时,等价于`assertStrictLogic`方法
|
|
5611
6312
|
* @example
|
|
5612
6313
|
* ```ts
|
|
5613
|
-
*
|
|
5614
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
6314
|
+
* assertLogic(node);
|
|
6315
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 Logic 或者 Logic 继承类型
|
|
5615
6316
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
5616
6317
|
* ```
|
|
5617
6318
|
*/
|
|
5618
|
-
export declare function
|
|
6319
|
+
export declare function assertLogic(node: unknown): asserts node is types.LogicNode;
|
|
6320
|
+
/**
|
|
6321
|
+
* 断言为 AuthLogic 节点
|
|
6322
|
+
*
|
|
6323
|
+
* @description 包含节点类以及节点继承类的判断
|
|
6324
|
+
* @description 节点没有继承类时,等价于`assertStrictAuthLogic`方法
|
|
6325
|
+
* @example
|
|
6326
|
+
* ```ts
|
|
6327
|
+
* assertAuthLogic(node);
|
|
6328
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 AuthLogic 或者 AuthLogic 继承类型
|
|
6329
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6330
|
+
* ```
|
|
6331
|
+
*/
|
|
6332
|
+
export declare function assertAuthLogic(node: unknown): asserts node is types.AuthLogicNode;
|
|
5619
6333
|
/**
|
|
5620
6334
|
* 断言为 AuthLogicForCallInterface 节点
|
|
5621
6335
|
*
|
|
@@ -5642,6 +6356,19 @@ export declare function assertAuthLogicForCallInterface(node: unknown): asserts
|
|
|
5642
6356
|
* ```
|
|
5643
6357
|
*/
|
|
5644
6358
|
export declare function assertOverriddenLogic(node: unknown): asserts node is OverriddenLogic;
|
|
6359
|
+
/**
|
|
6360
|
+
* 断言为 BusinessLogic 节点
|
|
6361
|
+
*
|
|
6362
|
+
* @description 包含节点类以及节点继承类的判断
|
|
6363
|
+
* @description 节点没有继承类时,等价于`assertStrictBusinessLogic`方法
|
|
6364
|
+
* @example
|
|
6365
|
+
* ```ts
|
|
6366
|
+
* assertBusinessLogic(node);
|
|
6367
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 BusinessLogic 或者 BusinessLogic 继承类型
|
|
6368
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6369
|
+
* ```
|
|
6370
|
+
*/
|
|
6371
|
+
export declare function assertBusinessLogic(node: unknown): asserts node is BusinessLogic;
|
|
5645
6372
|
/**
|
|
5646
6373
|
* 断言为 AbstractInterface 节点
|
|
5647
6374
|
*
|
|
@@ -5654,7 +6381,7 @@ export declare function assertOverriddenLogic(node: unknown): asserts node is Ov
|
|
|
5654
6381
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
5655
6382
|
* ```
|
|
5656
6383
|
*/
|
|
5657
|
-
export declare function assertAbstractInterface(node: unknown): asserts node is
|
|
6384
|
+
export declare function assertAbstractInterface(node: unknown): asserts node is types.AbstractInterfaceNode;
|
|
5658
6385
|
/**
|
|
5659
6386
|
* 断言为 Param 节点
|
|
5660
6387
|
*
|
|
@@ -5667,7 +6394,7 @@ export declare function assertAbstractInterface(node: unknown): asserts node is
|
|
|
5667
6394
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
5668
6395
|
* ```
|
|
5669
6396
|
*/
|
|
5670
|
-
export declare function assertParam(node: unknown): asserts node is
|
|
6397
|
+
export declare function assertParam(node: unknown): asserts node is types.ParamNode;
|
|
5671
6398
|
/**
|
|
5672
6399
|
* 断言为 ParamWithGroup 节点
|
|
5673
6400
|
*
|
|
@@ -5706,7 +6433,7 @@ export declare function assertReturn(node: unknown): asserts node is Return;
|
|
|
5706
6433
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
5707
6434
|
* ```
|
|
5708
6435
|
*/
|
|
5709
|
-
export declare function assertVariable(node: unknown): asserts node is
|
|
6436
|
+
export declare function assertVariable(node: unknown): asserts node is types.VariableNode;
|
|
5710
6437
|
/**
|
|
5711
6438
|
* 断言为 BackendVariable 节点
|
|
5712
6439
|
*
|
|
@@ -5758,7 +6485,7 @@ export declare function assertConstant(node: unknown): asserts node is Constant;
|
|
|
5758
6485
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
5759
6486
|
* ```
|
|
5760
6487
|
*/
|
|
5761
|
-
export declare function assertLogicItem(node: unknown): asserts node is
|
|
6488
|
+
export declare function assertLogicItem(node: unknown): asserts node is types.LogicItemNode;
|
|
5762
6489
|
/**
|
|
5763
6490
|
* 断言为 Function 节点
|
|
5764
6491
|
*
|
|
@@ -5786,31 +6513,31 @@ export declare function assertFunction(node: unknown): asserts node is Function;
|
|
|
5786
6513
|
*/
|
|
5787
6514
|
export declare function assertAnonymousFunction(node: unknown): asserts node is AnonymousFunction;
|
|
5788
6515
|
/**
|
|
5789
|
-
* 断言为
|
|
6516
|
+
* 断言为 ImportedInterface 节点
|
|
5790
6517
|
*
|
|
5791
6518
|
* @description 包含节点类以及节点继承类的判断
|
|
5792
|
-
* @description 节点没有继承类时,等价于`
|
|
6519
|
+
* @description 节点没有继承类时,等价于`assertStrictImportedInterface`方法
|
|
5793
6520
|
* @example
|
|
5794
6521
|
* ```ts
|
|
5795
|
-
*
|
|
5796
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
6522
|
+
* assertImportedInterface(node);
|
|
6523
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 ImportedInterface 或者 ImportedInterface 继承类型
|
|
5797
6524
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
5798
6525
|
* ```
|
|
5799
6526
|
*/
|
|
5800
|
-
export declare function
|
|
6527
|
+
export declare function assertImportedInterface(node: unknown): asserts node is types.ImportedInterfaceNode;
|
|
5801
6528
|
/**
|
|
5802
|
-
* 断言为
|
|
6529
|
+
* 断言为 Interface 节点
|
|
5803
6530
|
*
|
|
5804
6531
|
* @description 包含节点类以及节点继承类的判断
|
|
5805
|
-
* @description 节点没有继承类时,等价于`
|
|
6532
|
+
* @description 节点没有继承类时,等价于`assertStrictInterface`方法
|
|
5806
6533
|
* @example
|
|
5807
6534
|
* ```ts
|
|
5808
|
-
*
|
|
5809
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
6535
|
+
* assertInterface(node);
|
|
6536
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 Interface 或者 Interface 继承类型
|
|
5810
6537
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
5811
6538
|
* ```
|
|
5812
6539
|
*/
|
|
5813
|
-
export declare function
|
|
6540
|
+
export declare function assertInterface(node: unknown): asserts node is types.InterfaceNode;
|
|
5814
6541
|
/**
|
|
5815
6542
|
* 断言为 InterfaceParam 节点
|
|
5816
6543
|
*
|
|
@@ -6005,7 +6732,7 @@ export declare function assertComment(node: unknown): asserts node is Comment;
|
|
|
6005
6732
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6006
6733
|
* ```
|
|
6007
6734
|
*/
|
|
6008
|
-
export declare function assertCallLogic(node: unknown): asserts node is
|
|
6735
|
+
export declare function assertCallLogic(node: unknown): asserts node is types.CallLogicNode;
|
|
6009
6736
|
/**
|
|
6010
6737
|
* 断言为 CallEvent 节点
|
|
6011
6738
|
*
|
|
@@ -6044,7 +6771,7 @@ export declare function assertCallFunction(node: unknown): asserts node is CallF
|
|
|
6044
6771
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6045
6772
|
* ```
|
|
6046
6773
|
*/
|
|
6047
|
-
export declare function assertCallInterface(node: unknown): asserts node is
|
|
6774
|
+
export declare function assertCallInterface(node: unknown): asserts node is types.CallInterfaceNode;
|
|
6048
6775
|
/**
|
|
6049
6776
|
* 断言为 Destination 节点
|
|
6050
6777
|
*
|
|
@@ -6214,6 +6941,19 @@ export declare function assertStringLiteral(node: unknown): asserts node is Stri
|
|
|
6214
6941
|
* ```
|
|
6215
6942
|
*/
|
|
6216
6943
|
export declare function assertStringInterpolation(node: unknown): asserts node is StringInterpolation;
|
|
6944
|
+
/**
|
|
6945
|
+
* 断言为 StaticString 节点
|
|
6946
|
+
*
|
|
6947
|
+
* @description 包含节点类以及节点继承类的判断
|
|
6948
|
+
* @description 节点没有继承类时,等价于`assertStrictStaticString`方法
|
|
6949
|
+
* @example
|
|
6950
|
+
* ```ts
|
|
6951
|
+
* assertStaticString(node);
|
|
6952
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 StaticString 或者 StaticString 继承类型
|
|
6953
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6954
|
+
* ```
|
|
6955
|
+
*/
|
|
6956
|
+
export declare function assertStaticString(node: unknown): asserts node is StaticString;
|
|
6217
6957
|
/**
|
|
6218
6958
|
* 断言为 NumericLiteral 节点
|
|
6219
6959
|
*
|
|
@@ -6357,6 +7097,19 @@ export declare function assertNewList(node: unknown): asserts node is NewList;
|
|
|
6357
7097
|
* ```
|
|
6358
7098
|
*/
|
|
6359
7099
|
export declare function assertNewMap(node: unknown): asserts node is NewMap;
|
|
7100
|
+
/**
|
|
7101
|
+
* 断言为 Paginate 节点
|
|
7102
|
+
*
|
|
7103
|
+
* @description 包含节点类以及节点继承类的判断
|
|
7104
|
+
* @description 节点没有继承类时,等价于`assertStrictPaginate`方法
|
|
7105
|
+
* @example
|
|
7106
|
+
* ```ts
|
|
7107
|
+
* assertPaginate(node);
|
|
7108
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 Paginate 或者 Paginate 继承类型
|
|
7109
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
7110
|
+
* ```
|
|
7111
|
+
*/
|
|
7112
|
+
export declare function assertPaginate(node: unknown): asserts node is Paginate;
|
|
6360
7113
|
/**
|
|
6361
7114
|
* 断言为 CallQueryComponent 节点
|
|
6362
7115
|
*
|
|
@@ -6540,83 +7293,83 @@ export declare function assertProcessElement(node: unknown): asserts node is Pro
|
|
|
6540
7293
|
*/
|
|
6541
7294
|
export declare function assertProcessComponent(node: unknown): asserts node is ProcessComponent;
|
|
6542
7295
|
/**
|
|
6543
|
-
* 断言为
|
|
7296
|
+
* 断言为 MultiApprovalPolicy 节点
|
|
6544
7297
|
*
|
|
6545
7298
|
* @description 包含节点类以及节点继承类的判断
|
|
6546
|
-
* @description 节点没有继承类时,等价于`
|
|
7299
|
+
* @description 节点没有继承类时,等价于`assertStrictMultiApprovalPolicy`方法
|
|
6547
7300
|
* @example
|
|
6548
7301
|
* ```ts
|
|
6549
|
-
*
|
|
6550
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
7302
|
+
* assertMultiApprovalPolicy(node);
|
|
7303
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 MultiApprovalPolicy 或者 MultiApprovalPolicy 继承类型
|
|
6551
7304
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6552
7305
|
* ```
|
|
6553
7306
|
*/
|
|
6554
|
-
export declare function
|
|
7307
|
+
export declare function assertMultiApprovalPolicy(node: unknown): asserts node is types.MultiApprovalPolicyNode;
|
|
6555
7308
|
/**
|
|
6556
|
-
* 断言为
|
|
7309
|
+
* 断言为 SequentialPolicy 节点
|
|
6557
7310
|
*
|
|
6558
7311
|
* @description 包含节点类以及节点继承类的判断
|
|
6559
|
-
* @description 节点没有继承类时,等价于`
|
|
7312
|
+
* @description 节点没有继承类时,等价于`assertStrictSequentialPolicy`方法
|
|
6560
7313
|
* @example
|
|
6561
7314
|
* ```ts
|
|
6562
|
-
*
|
|
6563
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
7315
|
+
* assertSequentialPolicy(node);
|
|
7316
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 SequentialPolicy 或者 SequentialPolicy 继承类型
|
|
6564
7317
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6565
7318
|
* ```
|
|
6566
7319
|
*/
|
|
6567
|
-
export declare function
|
|
7320
|
+
export declare function assertSequentialPolicy(node: unknown): asserts node is SequentialPolicy;
|
|
6568
7321
|
/**
|
|
6569
|
-
* 断言为
|
|
7322
|
+
* 断言为 CountersignPolicy 节点
|
|
6570
7323
|
*
|
|
6571
7324
|
* @description 包含节点类以及节点继承类的判断
|
|
6572
|
-
* @description 节点没有继承类时,等价于`
|
|
7325
|
+
* @description 节点没有继承类时,等价于`assertStrictCountersignPolicy`方法
|
|
6573
7326
|
* @example
|
|
6574
7327
|
* ```ts
|
|
6575
|
-
*
|
|
6576
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
7328
|
+
* assertCountersignPolicy(node);
|
|
7329
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 CountersignPolicy 或者 CountersignPolicy 继承类型
|
|
6577
7330
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6578
7331
|
* ```
|
|
6579
7332
|
*/
|
|
6580
|
-
export declare function
|
|
7333
|
+
export declare function assertCountersignPolicy(node: unknown): asserts node is CountersignPolicy;
|
|
6581
7334
|
/**
|
|
6582
|
-
* 断言为
|
|
7335
|
+
* 断言为 ProcessOutcome 节点
|
|
6583
7336
|
*
|
|
6584
7337
|
* @description 包含节点类以及节点继承类的判断
|
|
6585
|
-
* @description 节点没有继承类时,等价于`
|
|
7338
|
+
* @description 节点没有继承类时,等价于`assertStrictProcessOutcome`方法
|
|
6586
7339
|
* @example
|
|
6587
7340
|
* ```ts
|
|
6588
|
-
*
|
|
6589
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
7341
|
+
* assertProcessOutcome(node);
|
|
7342
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 ProcessOutcome 或者 ProcessOutcome 继承类型
|
|
6590
7343
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6591
7344
|
* ```
|
|
6592
7345
|
*/
|
|
6593
|
-
export declare function
|
|
7346
|
+
export declare function assertProcessOutcome(node: unknown): asserts node is ProcessOutcome;
|
|
6594
7347
|
/**
|
|
6595
|
-
* 断言为
|
|
7348
|
+
* 断言为 Assignee 节点
|
|
6596
7349
|
*
|
|
6597
7350
|
* @description 包含节点类以及节点继承类的判断
|
|
6598
|
-
* @description 节点没有继承类时,等价于`
|
|
7351
|
+
* @description 节点没有继承类时,等价于`assertStrictAssignee`方法
|
|
6599
7352
|
* @example
|
|
6600
7353
|
* ```ts
|
|
6601
|
-
*
|
|
6602
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
7354
|
+
* assertAssignee(node);
|
|
7355
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 Assignee 或者 Assignee 继承类型
|
|
6603
7356
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6604
7357
|
* ```
|
|
6605
7358
|
*/
|
|
6606
|
-
export declare function
|
|
7359
|
+
export declare function assertAssignee(node: unknown): asserts node is Assignee;
|
|
6607
7360
|
/**
|
|
6608
|
-
* 断言为
|
|
7361
|
+
* 断言为 ProcessOutcomes 节点
|
|
6609
7362
|
*
|
|
6610
7363
|
* @description 包含节点类以及节点继承类的判断
|
|
6611
|
-
* @description 节点没有继承类时,等价于`
|
|
7364
|
+
* @description 节点没有继承类时,等价于`assertStrictProcessOutcomes`方法
|
|
6612
7365
|
* @example
|
|
6613
7366
|
* ```ts
|
|
6614
|
-
*
|
|
6615
|
-
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为
|
|
7367
|
+
* assertProcessOutcomes(node);
|
|
7368
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 ProcessOutcomes 或者 ProcessOutcomes 继承类型
|
|
6616
7369
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6617
7370
|
* ```
|
|
6618
7371
|
*/
|
|
6619
|
-
export declare function
|
|
7372
|
+
export declare function assertProcessOutcomes(node: unknown): asserts node is ProcessOutcomes;
|
|
6620
7373
|
/**
|
|
6621
7374
|
* 断言为 Role 节点
|
|
6622
7375
|
*
|
|
@@ -6798,7 +7551,20 @@ export declare function assertFrontendLibrary(node: unknown): asserts node is Fr
|
|
|
6798
7551
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6799
7552
|
* ```
|
|
6800
7553
|
*/
|
|
6801
|
-
export declare function assertViewBlock(node: unknown): asserts node is
|
|
7554
|
+
export declare function assertViewBlock(node: unknown): asserts node is types.ViewBlockNode;
|
|
7555
|
+
/**
|
|
7556
|
+
* 断言为 ViewBlockWithImage 节点
|
|
7557
|
+
*
|
|
7558
|
+
* @description 包含节点类以及节点继承类的判断
|
|
7559
|
+
* @description 节点没有继承类时,等价于`assertStrictViewBlockWithImage`方法
|
|
7560
|
+
* @example
|
|
7561
|
+
* ```ts
|
|
7562
|
+
* assertViewBlockWithImage(node);
|
|
7563
|
+
* // 当前作用域内,断言语句之后,node 的类型都将会被断言为 ViewBlockWithImage 或者 ViewBlockWithImage 继承类型
|
|
7564
|
+
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
7565
|
+
* ```
|
|
7566
|
+
*/
|
|
7567
|
+
export declare function assertViewBlockWithImage(node: unknown): asserts node is ViewBlockWithImage;
|
|
6802
7568
|
/**
|
|
6803
7569
|
* 断言为 AuthInterface 节点
|
|
6804
7570
|
*
|
|
@@ -6837,7 +7603,7 @@ export declare function assertCallAuthInterface(node: unknown): asserts node is
|
|
|
6837
7603
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6838
7604
|
* ```
|
|
6839
7605
|
*/
|
|
6840
|
-
export declare function assertTriggerEvent(node: unknown): asserts node is
|
|
7606
|
+
export declare function assertTriggerEvent(node: unknown): asserts node is types.TriggerEventNode;
|
|
6841
7607
|
/**
|
|
6842
7608
|
* 断言为 MsgTriggerEvent 节点
|
|
6843
7609
|
*
|
|
@@ -6876,7 +7642,7 @@ export declare function assertConnectorTrigger(node: unknown): asserts node is C
|
|
|
6876
7642
|
* // 断言失败会抛出错误,所以此函数是用在必须要严格限定节点类型的地方
|
|
6877
7643
|
* ```
|
|
6878
7644
|
*/
|
|
6879
|
-
export declare function assertTriggerLauncher(node: unknown): asserts node is
|
|
7645
|
+
export declare function assertTriggerLauncher(node: unknown): asserts node is types.TriggerLauncherNode;
|
|
6880
7646
|
/**
|
|
6881
7647
|
* 断言为 MsgTriggerLauncher 节点
|
|
6882
7648
|
*
|