Flow Controlstable

Switch

Switch (flow_switch) is a Flow Control node. Semantics: flow.switch. Ports and options below are generated from the syntax registry.

Overview

Kind id
flow_switch
Semantics
flow.switch
Source
CORE_NODE_REGISTRY

Detailed guidance for this kind is still being written. Ports and options below come from the syntax registry.

Ports

IdDirTypeLabel
exec_ininexecution-
selectorindata_anySelector
case0indata_anyCase 0 value
case1indata_anyCase 1 value
case_0outexecutionCase 0
case_1outexecutionCase 1
default_execoutexecutionDefault
exec_outoutexecution-

Options

IdTypeDefaultNotes
enumTypestringWhen set, case values are member names (OK) and emit via EnumMemberAccess