Class: Crokus::CastedExpr
Instance Attribute Summary collapse
-
#expr ⇒ Object
Returns the value of attribute expr.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from Type
Instance Method Summary collapse
-
#initialize(type, expr) ⇒ CastedExpr
constructor
A new instance of CastedExpr.
Methods inherited from Ast
Constructor Details
#initialize(type, expr) ⇒ CastedExpr
Returns a new instance of CastedExpr.
103 104 105 |
# File 'lib/crokus/ast.rb', line 103 def initialize type,expr @type,@expr=type,expr end |
Instance Attribute Details
#expr ⇒ Object
Returns the value of attribute expr.
102 103 104 |
# File 'lib/crokus/ast.rb', line 102 def expr @expr end |
#type ⇒ Object
Returns the value of attribute type.
102 103 104 |
# File 'lib/crokus/ast.rb', line 102 def type @type end |