Home

If Block

This type is marked as unstable and is subject to change.

Properties

The IfBlock type has these properties:

NameDescriptionTypeInherited from
idThe identifier for this item.StringEntity
executionModeUnder which circumstances the node should be executed.ExecutionModeExecutable
compilationDigestA digest of the content, semantics and dependencies of the node.CompilationDigestExecutable
compilationMessagesMessages generated while compiling the code.CompilationMessage*Executable
executionDigestThe compilationDigest of the node when it was last executed.CompilationDigestExecutable
executionDependenciesThe upstream dependencies of this node.ExecutionDependency*Executable
executionDependantsThe downstream dependants of this node.ExecutionDependant*Executable
executionTagsTags in the code which affect its execution.ExecutionTag*Executable
executionCountA count of the number of times that the node has been executed.IntegerExecutable
executionRequiredWhether, and why, the code requires execution or re-execution.ExecutionRequiredExecutable
executionStatusStatus of the most recent, including any current, execution.ExecutionStatusExecutable
executionInstanceThe id of the kernel instance that performed the last execution.StringExecutable
executionEndedThe timestamp when the last execution ended.TimestampExecutable
executionDurationDuration of the last execution.DurationExecutable
executionMessagesMessages emitted while executing the node.ExecutionMessage*Executable
clausesThe clauses making up the IfBlock nodeIfBlockClause*-

Related

The IfBlock type is related to these types:

Bindings

The IfBlock type is represented in:

Testing

During property-based (a.k.a generative) testing, the properties of the IfBlock type are generated using the following strategies.

PropertyComplexityDescriptionStrategy
clausesMin+A single fixed clause with a single paragraph.vec![ibc("true", None::<String>, [p([t("If clause")])])]
Low+Generate up to 3 arbitrary if clausesvec(IfBlockClause::arbitrary(), size_range(1..=3))
High+Generate up to 5 arbitrary if clausesvec(IfBlockClause::arbitrary(), size_range(1..=10))

This documentation was generated from IfBlock.yaml by docs_types.rs.

© 2026 Stencila