class Magiika::TypeMeta
- Magiika::TypeMeta
- Reference
- Object
Overview
Typing-related metadata associated with a TypeNode.
Included Modules
Defined in:
typing/type_meta.crConstructors
Instance Method Summary
- #eval_type(scope : Scope) : TypeMeta
- #fits_exact_type!(other : TypeMeta) : Nil
- #fits_exact_type?(other : TypeMeta) : Bool
- #fits_type!(other : TypeMeta) : Nil
- #fits_type?(other : TypeMeta) : Bool
- #id : Typing::TypeID
- #inherits_from_type!(other : TypeMeta) : Nil
- #inherits_from_type?(other : TypeMeta) : Bool
- #name : String
- #reference : TypeNode.class | InstTypeNode
- #reference_type(position : Position | Nil = nil, scope : Scope | Nil = nil) : Nil
- #superclass : TypeMeta
- #superclass? : TypeMeta | Nil
- #unreference_type : Bool
- #valid? : Bool
Instance methods inherited from module Magiika::EvalType
eval_type(scope : Scope) : TypeMeta
eval_type
Constructor Detail
def self.new(id : Typing::TypeID, name : String, reference : TypeNode.class | InstTypeNode, superclass : Class)
#