UnionDecl
Trailing:
- tag_type: Ref, // if has_tag_type
- captures_len: u32 // if has_captures_len
- body_len: u32, // if has_body_len
- fields_len: u32, // if has_fields_len
- decls_len: u32, // if has_decls_len
- capture: Capture // for every captures_len
- capture_name: NullTerminatedString // for every captures_len
- decl: Index, // for every decls_len; points to a
declarationinstruction - inst: Index // for every body_len
- has_bits: u32 // for every 8 fields
- sets of 4 bits: 0b000X: whether corresponding field has a type expression 0b00X0: whether corresponding field has a align expression 0b0X00: whether corresponding field has a tag value expression 0bX000: unused
- fields: { // for every fields_len field_name: NullTerminatedString, // null terminated string index field_type: Ref, // if corresponding bit is set align: Ref, // if corresponding bit is set tag_value: Ref, // if corresponding bit is set }
Fields of this type
Fields
- fields_hash_0:u32
- fields_hash_1:u32
- fields_hash_2:u32
- fields_hash_3:u32
- src_line:u32
- src_node:Ast.Node.Index
- This node provides a new absolute baseline node for all instructions within this struct.
Type definitions in this namespace