class Myst::TBoolean

Defined in:

myst/interpreter/value.cr

Constructors

Instance Method Summary

Instance methods inherited from class Myst::TPrimitive(Bool)

==(other : self) ==, hash(hasher) hash, to_s to_s, value : T value, value=(value : T) value=

Constructor methods inherited from class Myst::TPrimitive(Bool)

new(value : T) new

Instance methods inherited from class Myst::Value

ivars : Scope ivars, ivars=(ivars : Scope) ivars=, truthy? truthy?, type_name type_name

Class methods inherited from class Myst::Value

from_literal(literal : Node) from_literal

Constructor Detail

def self.new(value : T) #

[View source]

Instance Method Detail

def to_s #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]
def truthy? : Bool #

[View source]
def type_name #

[View source]