Myst::Unless
Inherits Myst::Node / Reference / Object
An unless expression. This is functionally the same as the when
expression, but evalutes its body when the condition is falsey.
'unless' condition body 'end' | 'unless' condition body 'else' [ alternative ] 'end' | 'unless' condition body ( when_expression | unless_expression )
Constructors
Instance methods
==(other : self)
Returns true if this reference is the same as other. Invokes same?.
accept_children(visitor)
Sourcealternative
Sourcealternative=(alternative : Node)
Sourcebody
Sourcebody=(body : Node)
Sourcecondition
Sourcecondition=(condition : Node)
Sourcehash(hasher)
See Object#hash(hasher)