Class: RubyRTL::RType

Inherits:
Type show all
Defined in:
lib/ruby_rtl/ast.rb

Direct Known Subclasses

RIntType, RUIntType

Instance Attribute Summary collapse

Attributes inherited from Ast

#comments

Instance Method Summary collapse

Methods inherited from Ast

#accept

Constructor Details

#initialize(bitwidth) ⇒ RType

Returns a new instance of RType.



285
286
287
# File 'lib/ruby_rtl/ast.rb', line 285

def initialize bitwidth
  @bitwidth=bitwidth
end

Instance Attribute Details

#bitwidthObject

Returns the value of attribute bitwidth.



284
285
286
# File 'lib/ruby_rtl/ast.rb', line 284

def bitwidth
  @bitwidth
end