Class: Keisanjaku::BinaryNode

Inherits:
Struct
  • Object
show all
Defined in:
lib/keisanjaku/parser.rb

Instance Attribute Summary collapse

Instance Attribute Details

#leftObject

Returns the value of attribute left

Returns:

  • (Object)

    the current value of left



14
15
16
# File 'lib/keisanjaku/parser.rb', line 14

def left
  @left
end

#operatorObject

Returns the value of attribute operator

Returns:

  • (Object)

    the current value of operator



14
15
16
# File 'lib/keisanjaku/parser.rb', line 14

def operator
  @operator
end

#rightObject

Returns the value of attribute right

Returns:

  • (Object)

    the current value of right



14
15
16
# File 'lib/keisanjaku/parser.rb', line 14

def right
  @right
end