vox ~master (2022-05-02T18:23:10Z)
Dub
Repo
SwitchStmtNode
vox
fe
ast
stmt
switch_stmt
Undocumented in source.
@
AstType
.
stmt_switch
struct
SwitchStmtNode {
mixin
AstNodeData
!(
AstType
.
stmt_switch
,
0
,
AstNodeState
.
name_register_self_done
)
;
AstIndex
condition
;
AstIndex
elseStmt
;
Array
!
SwitchCase
cases
;
IrIndex
[]
argsValues
;
}
Members
Mixins
__anonymous
mixin
AstNodeData
!(
AstType
.
stmt_switch
,
0
,
AstNodeState
.
name_register_self_done
)
Undocumented in source.
Variables
argsValues
IrIndex
[]
argsValues
;
Undocumented in source.
cases
Array
!
SwitchCase
cases
;
Undocumented in source.
condition
AstIndex
condition
;
Undocumented in source.
elseStmt
AstIndex
elseStmt
;
Undocumented in source.
Meta
Source
See Implementation
vox
fe
ast
stmt
switch_stmt
functions
ir_gen_switch
isSwitchableType
name_register_nested_switch
name_resolve_switch
post_clone_switch
print_switch
type_check_switch
structs
SwitchCase
SwitchStmtNode