class Objects::MCompiledFunction
Defined in:
objects.crConstructors
Instance Method Summary
-
#inspect : String
Returns an unambiguous and information-rich string representation of this object, typically intended for developers.
- #instructions : Array(UInt8)
- #num_locals : Int32
- #num_parameters : Int32
Instance methods inherited from class Objects::MObject
error? : Bool
error?,
if_not_error(& : MObject -> MObject | Nil) : MObject | Nil
if_not_error,
inspect : String
inspect,
truthy? : Bool
truthy?,
type_desc : String
type_desc
Instance methods inherited from class Object
also(& : self | Nil -> _) : self
also,
or_else(alternative)
or_else
Constructor Detail
def self.new(instructions : Code::Instructions, num_locals : Int32 = 0, num_parameters : Int32 = 0)
#
Instance Method Detail
Description copied from class Object
Returns an unambiguous and information-rich string representation of this object, typically intended for developers.
This method should usually not be overridden. It delegates to
#inspect(IO)
which can be overridden for custom implementations.
Also see #to_s
.