Class: Crokus::Arrow
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) ⇒ Arrow
constructor
A new instance of Arrow.
Methods inherited from Ast
Constructor Details
#initialize(l, r) ⇒ Arrow
Returns a new instance of Arrow.
404 405 406 |
# File 'lib/crokus/ast.rb', line 404 def initialize l,r @lhs,@rhs=l,r end |
Instance Attribute Details
#lhs ⇒ Object
Returns the value of attribute lhs.
403 404 405 |
# File 'lib/crokus/ast.rb', line 403 def lhs @lhs end |
#rhs ⇒ Object
Returns the value of attribute rhs.
403 404 405 |
# File 'lib/crokus/ast.rb', line 403 def rhs @rhs end |