class

Sheety::AST::UnaryOp

Inherits Sheety::AST::Node < Reference < Object

Unary operation node (e.g., -5, +3)

Constructors

new(operator : String, operand : Node)
Source

Instance methods

expr

Get the expression string for this node

Source
operand
Source
operand=(operand : Node)
Source
operator
Source
operator=(operator : String)
Source