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.
107 108 109 |
# File 'lib/crokus/ast.rb', line 107 def initialize type,expr @type,@expr=type,expr end |
Instance Attribute Details
#expr ⇒ Object
Returns the value of attribute expr.
106 107 108 |
# File 'lib/crokus/ast.rb', line 106 def expr @expr end |
#type ⇒ Object
Returns the value of attribute type.
106 107 108 |
# File 'lib/crokus/ast.rb', line 106 def type @type end |