class
Lit::LitString
Defined in:
lit/stdlib/lit_string.cr
Constant Summary
-
EMPTY =
{} of String => Value
-
TYPE =
Type.new("String", {} of String => Function)
Constructors
Instance Method Summary
Instance methods inherited from class Lit::Instance
call_method(name, arguments, interpreter)
call_method,
get(name)
get,
get_method(name) : Callable | Nil
get_method,
set(name, value)
set,
to_s(interpreter, token) : String
to_s,
type : Lit::Type
type
Constructor methods inherited from class Lit::Instance
new(type : Type, fields : Hash(String, Bool | Float64 | Int64 | ::Lit::Callable | ::Lit::Instance | ::Lit::Uninitialized | String | Nil) = {} of String => Value)
new
Constructor Detail
def self.
new(value =
"")
#
Instance Method Detail