Class: Gemite::AST::UnaryOp

Inherits:
Struct
  • Object
show all
Defined in:
lib/gemite/ast.rb

Instance Attribute Summary collapse

Instance Attribute Details

#opObject

Returns the value of attribute op

Returns:

  • (Object)

    the current value of op



17
18
19
# File 'lib/gemite/ast.rb', line 17

def op
  @op
end

#operandObject

Returns the value of attribute operand

Returns:

  • (Object)

    the current value of operand



17
18
19
# File 'lib/gemite/ast.rb', line 17

def operand
  @operand
end