Class: Crokus::CondExpr
Instance Attribute Summary collapse
-
#cond ⇒ Object
Returns the value of attribute cond.
-
#lhs ⇒ Object
Returns the value of attribute lhs.
-
#rhs ⇒ Object
Returns the value of attribute rhs.
Instance Method Summary collapse
-
#initialize(cond, lhs, rhs) ⇒ CondExpr
constructor
A new instance of CondExpr.
Methods inherited from Ast
Constructor Details
#initialize(cond, lhs, rhs) ⇒ CondExpr
Returns a new instance of CondExpr.
347 348 349 |
# File 'lib/crokus/ast.rb', line 347 def initialize cond,lhs,rhs @cond,@lhs,@rhs = cond,lhs,rhs end |
Instance Attribute Details
#cond ⇒ Object
Returns the value of attribute cond.
346 347 348 |
# File 'lib/crokus/ast.rb', line 346 def cond @cond end |
#lhs ⇒ Object
Returns the value of attribute lhs.
346 347 348 |
# File 'lib/crokus/ast.rb', line 346 def lhs @lhs end |
#rhs ⇒ Object
Returns the value of attribute rhs.
346 347 348 |
# File 'lib/crokus/ast.rb', line 346 def rhs @rhs end |