Class: Chelsy::Operator::Cast
- Defined in:
- lib/chelsy/ast.rb
Overview
Type cast
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Attributes inherited from Unary
Attributes inherited from Element
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(operand, type, **rest) ⇒ Cast
constructor
A new instance of Cast.
Methods inherited from Base
Constructor Details
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
685 686 687 |
# File 'lib/chelsy/ast.rb', line 685 def type @type end |
Class Method Details
.operator ⇒ Object
687 |
# File 'lib/chelsy/ast.rb', line 687 def self.operator; :"()" end |