# Return a instance associated to a primitive class
# Current primitive classes are `Int`, `Bool`, and `String`
fun value_instance(object: Object): Instance
do
if object isa Int then
return int_instance(object)
else if object isa Bool then
return bool_instance(object)
else if object isa String then
return string_instance(object)
else
abort
end
end
src/interpreter/naive_interpreter.nit:320,2--333,4