Class: Vertigo::Binary
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#lhs ⇒ Object
Returns the value of attribute lhs.
-
#op ⇒ Object
Returns the value of attribute op.
-
#rhs ⇒ Object
Returns the value of attribute rhs.
Attributes inherited from AstNode
Instance Method Summary collapse
-
#initialize(lhs = nil, op = nil, rhs = nil) ⇒ Binary
constructor
A new instance of Binary.
Methods inherited from AstNode
Constructor Details
#initialize(lhs = nil, op = nil, rhs = nil) ⇒ Binary
Returns a new instance of Binary.
484 485 486 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 484 def initialize lhs=nil,op=nil,rhs=nil @lhs,@op,@rhs=lhs,op,rhs end |
Instance Attribute Details
#lhs ⇒ Object
Returns the value of attribute lhs.
483 484 485 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 483 def lhs @lhs end |
#op ⇒ Object
Returns the value of attribute op.
483 484 485 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 483 def op @op end |
#rhs ⇒ Object
Returns the value of attribute rhs.
483 484 485 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 483 def rhs @rhs end |