struct Savi::Compiler::Reach::Def
- Savi::Compiler::Reach::Def
- Struct
- Value
- Object
Defined in:
savi/compiler/reach.crConstructors
Instance Method Summary
- #array_type_arg(ctx)
- #as_ref(cap = nil) : Ref
- #cpointer_type_arg(ctx)
- #desc_id : Int32
- #desc_id? : Int32 | Nil
- #fields : Array(Tuple(String, Ref))
- #find_enum_members(ctx)
- #has_actor_pad?(ctx)
- #has_allocation?(ctx)
- #has_state?(ctx)
- #inner : Savi::Compiler::Infer::ReifiedType
- #is_abstract?(ctx)
- #is_actor?(ctx)
- #is_array?(ctx)
- #is_constructed?(ctx)
- #is_cpointer?(ctx)
- #is_enum?(ctx)
- #is_floating_point_numeric?(ctx)
- #is_inhibit_optimization?(ctx)
- #is_numeric?(ctx)
- #is_pass_by_value?(ctx)
- #is_platform?(ctx)
- #is_signed_numeric?(ctx)
- #is_simple_value?(ctx)
- #is_subtype_of?(ctx, super_def : Def)
- #is_tuple?
- #link
- #llvm_name : String
- #ordered_fields(ctx, target_info : Target)
-
#program_type
TODO remove this alias:
- #reified : Savi::Compiler::Infer::ReifiedType
- #unique_name : String
- #unique_name=(unique_name : String)
Constructor Detail
def self.new(ctx, reified : Infer::ReifiedType, reach : Reach, fields : Array(Tuple(String, Savi::Compiler::Reach::Ref)))
#