Class: Crokus::Sizeof

Inherits:
Ast
  • Object
show all
Defined in:
lib/crokus/ast.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ast

#accept, #str

Constructor Details

#initialize(t) ⇒ Sizeof

Returns a new instance of Sizeof.



114
115
116
# File 'lib/crokus/ast.rb', line 114

def initialize t
  @type=t
end

Instance Attribute Details

#typeObject

Returns the value of attribute type.



113
114
115
# File 'lib/crokus/ast.rb', line 113

def type
  @type
end