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.



110
111
112
# File 'lib/crokus/ast.rb', line 110

def initialize t
  @type=t
end

Instance Attribute Details

#typeObject

Returns the value of attribute type.



109
110
111
# File 'lib/crokus/ast.rb', line 109

def type
  @type
end