Class: Termular::AST::Binary

Inherits:
Base
  • Object
show all
Defined in:
lib/termular/parser.rb

Direct Known Subclasses

Add, Divide, Multiply, Power, Subtract

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Termular::AST::Base

Instance Attribute Details

#leftObject

Returns the value of attribute left.



12
13
14
# File 'lib/termular/parser.rb', line 12

def left
  @left
end

#rightObject

Returns the value of attribute right.



12
13
14
# File 'lib/termular/parser.rb', line 12

def right
  @right
end