class Myst::TSymbol

Defined in:

myst/interpreter/value.cr

Constant Summary

SYMBOLS = {} of String => TSymbol

Constructors

Instance Method Summary

Instance methods inherited from class Myst::MutableValue

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

Constructor Detail

def self.new(value : UInt64, name : String) #

[View source]
def self.new(name) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def name : String #

[View source]
def name=(name : String) #

[View source]
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 type_name #

[View source]
def value : UInt64 #

[View source]
def value=(value : UInt64) #

[View source]