Class: Chelsy::Operator::SizeOf
- Defined in:
- lib/chelsy/ast.rb
Overview
Size-of
Instance Attribute Summary
Attributes inherited from Unary
Attributes inherited from Element
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(operand, **rest) ⇒ SizeOf
constructor
A new instance of SizeOf.
Methods inherited from Base
Constructor Details
#initialize(operand, **rest) ⇒ SizeOf
Returns a new instance of SizeOf.
699 700 701 |
# File 'lib/chelsy/ast.rb', line 699 def initialize(operand, **rest) super Syntax::ExprOrType.ensure(operand), **rest end |
Class Method Details
.operator ⇒ Object
697 |
# File 'lib/chelsy/ast.rb', line 697 def self.operator; :"sizeof" end |