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