class

Myst::UnaryOp

Inherits Myst::Node / Reference / Object

A unary operation. Similar to binary operations, this only represents operations that are independent of the operand. Dependent operations such as the unary + are parsed as Calls.

Constructors

new(value : Myst::Node)
Source

Instance methods

==(other : self)

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

accept_children(visitor)
Source
hash(hasher)

See Object#hash(hasher)

value
Source
value=(value : Node)
Source