Class: Crokus::Indexed
Instance Attribute Summary collapse
-
#lhs ⇒ Object
Returns the value of attribute lhs.
-
#rhs ⇒ Object
Returns the value of attribute rhs.
Instance Method Summary collapse
-
#initialize(l, r) ⇒ Indexed
constructor
A new instance of Indexed.
Methods inherited from Ast
Constructor Details
#initialize(l, r) ⇒ Indexed
Returns a new instance of Indexed.
387 388 389 |
# File 'lib/crokus/ast.rb', line 387 def initialize l,r @lhs,@rhs=l,r end |
Instance Attribute Details
#lhs ⇒ Object
Returns the value of attribute lhs.
386 387 388 |
# File 'lib/crokus/ast.rb', line 386 def lhs @lhs end |
#rhs ⇒ Object
Returns the value of attribute rhs.
386 387 388 |
# File 'lib/crokus/ast.rb', line 386 def rhs @rhs end |