Class: Taoism::Nodes::UnaryOp

Inherits:
Struct
  • Object
show all
Defined in:
lib/taoism/nodes.rb

Instance Attribute Summary collapse

Instance Attribute Details

#endObject

Returns the value of attribute end

Returns:

  • (Object)

    the current value of end



30
31
32
# File 'lib/taoism/nodes.rb', line 30

def end
  @end
end

#opObject

Returns the value of attribute op

Returns:

  • (Object)

    the current value of op



30
31
32
# File 'lib/taoism/nodes.rb', line 30

def op
  @op
end

#operandObject

Returns the value of attribute operand

Returns:

  • (Object)

    the current value of operand



30
31
32
# File 'lib/taoism/nodes.rb', line 30

def operand
  @operand
end

#startObject

Returns the value of attribute start

Returns:

  • (Object)

    the current value of start



30
31
32
# File 'lib/taoism/nodes.rb', line 30

def start
  @start
end