Method | Description | |
---|---|---|
bind_attribute ( |
|
|
bind_attribute_with_hint ( |
Bind the attribute, using the hint if possible.
|
|
defined ( |
Checks if the object is defined, which boils down to "is this a type object", which in trun means "did we allocate any storage".
|
|
get_attribute ( |
Gets an attribute.
|
|
get_attribute_with_hint ( |
Gets the attribute, using the hint if possible.
|
|
get_int ( |
||
get_num ( |
||
get_str ( |
||
hint_for ( |
Checks if we have a hint for the given class and name, and if so returns it.
|
|
instance_of ( |
Allocates and returns a new object based upon the type object supplied. Also, computes the slot allocation if we didn't do that yet.
|
|
set_int ( |
||
set_num ( |
||
set_str ( |
||
type_object_for ( |
Creates a type object that references the given HOW and sets up the STable with a new REPR instance too.
|
Method | Description | |
---|---|---|
ComputeSlotAllocation ( |
Computes the slot allocation for this representation.
|
public bind_attribute ( |
||
TC | ||
Object | RakudoObject | |
ClassHandle | RakudoObject | |
Name | string | |
Value | RakudoObject | |
return | void |
public bind_attribute_with_hint ( |
||
TC | ||
Object | RakudoObject | |
ClassHandle | RakudoObject | |
Name | string | |
Hint | int | |
Value | RakudoObject | |
return | void |
public defined ( |
||
TC | ||
Object | RakudoObject | |
return | bool |
public get_attribute ( |
||
TC | ||
Object | RakudoObject | |
ClassHandle | RakudoObject | |
Name | string | |
return | RakudoObject |
public get_attribute_with_hint ( |
||
TC | ||
Object | RakudoObject | |
ClassHandle | RakudoObject | |
Name | string | |
Hint | int | |
return | RakudoObject |
public get_int ( |
||
TC | ||
Object | RakudoObject | |
return | int |
public get_num ( |
||
TC | ||
Object | RakudoObject | |
return | double |
public get_str ( |
||
TC | ||
Object | RakudoObject | |
return | string |
public hint_for ( |
||
TC | ||
ClassHandle | RakudoObject | |
Name | string | |
return | int |
public instance_of ( |
||
TC | ||
WHAT | RakudoObject | |
return | RakudoObject |
public set_int ( |
||
TC | ||
Object | RakudoObject | |
Value | int | |
return | void |
public set_num ( |
||
TC | ||
Object | RakudoObject | |
Value | double | |
return | void |
public set_str ( |
||
TC | ||
Object | RakudoObject | |
Value | string | |
return | void |
public type_object_for ( |
||
TC | ||
MetaPackage | RakudoObject | |
return | RakudoObject |