class Stacklang::Unit
- Stacklang::Unit
- Reference
- Object
Defined in:
stacklang/compiler/unit.crConstructors
Instance Method Summary
- #compile
- #externs
- #functions
- #globals : Hash(String, Global)
- #path : Path
-
#requirements : Array(Unit)
Get the unit of all the directly required units.
- #self_functions
- #self_globals : Array(Global)
- #self_structs
-
#structs : Hash(String, Type::Struct)
Get all the structs that accessible to this unit.
-
#traverse(units)
Get the unit of all the directly and indirectly required units.
-
#traverse
Get the unit of all the directly and indirectly required units.
- #typeinfo(constraint)
Constructor Detail
Instance Method Detail
def structs : Hash(String, Type::Struct)
#
Get all the structs that accessible to this unit. They are solved during this process.