Class: Crokus::Assign
Direct Known Subclasses
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.
Instance Method Summary collapse
-
#initialize(lhs, op, rhs) ⇒ Assign
constructor
A new instance of Assign.
Methods inherited from Ast
Constructor Details
#initialize(lhs, op, rhs) ⇒ Assign
Returns a new instance of Assign.
235 236 237 |
# File 'lib/crokus/ast.rb', line 235 def initialize lhs,op,rhs @lhs,@op,@rhs=lhs,op,rhs end |
Instance Attribute Details
#lhs ⇒ Object
Returns the value of attribute lhs.
234 235 236 |
# File 'lib/crokus/ast.rb', line 234 def lhs @lhs end |
#op ⇒ Object
Returns the value of attribute op.
234 235 236 |
# File 'lib/crokus/ast.rb', line 234 def op @op end |
#rhs ⇒ Object
Returns the value of attribute rhs.
234 235 236 |
# File 'lib/crokus/ast.rb', line 234 def rhs @rhs end |