module Oo = struct ... end
Simple values | |
params |
params |
Functions |
copy
: (< .. > as 'a) -> 'a |
Oo.copy o
returns a copy of object o
, that is a fresh
object with the same methods and instance variables as o
new_method
: string -> label |
new_variable
: table -> string -> int |
get_variable
: table -> string -> int |
get_method_label
: table -> string -> label |
get_method
: table -> label -> meth |
set_method
: table -> label -> meth -> unit |
narrow
: table -> string list -> string list -> string list -> unit |
widen
: table -> unit |
add_initializer
: table -> (obj -> unit) -> unit |
create_table
: string list -> table |
init_class
: table -> unit |
create_object
: table -> obj |
run_initializers
: obj -> table -> unit |
send
: obj -> label -> t |
stats
: unit -> stats |
show_buckets
: unit -> unit |