Module hlbc::types

source ·
Expand description

Bytecode elements definitions. All the Ref* types in this modules are references to bytecode elements like constants or function. They are required since we cannot use rust references as that would make our structure self-referential. They makes the code look a bit more complicated than it actually is. Every Ref* struct is cheaply copyable.

Structs

Enums

  • Reference to a function or a native object
  • Type available in the hashlink type system. Every type is one of those.