Class: RubyRTL::MemoryType
Instance Attribute Summary collapse
-
#size ⇒ Object
Returns the value of attribute size.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from Ast
Instance Method Summary collapse
-
#initialize(size, type) ⇒ MemoryType
constructor
A new instance of MemoryType.
Methods inherited from Ast
Constructor Details
#initialize(size, type) ⇒ MemoryType
Returns a new instance of MemoryType.
348 349 350 |
# File 'lib/ruby_rtl/ast.rb', line 348 def initialize size,type @size,@type=size,type end |
Instance Attribute Details
#size ⇒ Object
Returns the value of attribute size.
347 348 349 |
# File 'lib/ruby_rtl/ast.rb', line 347 def size @size end |
#type ⇒ Object
Returns the value of attribute type.
347 348 349 |
# File 'lib/ruby_rtl/ast.rb', line 347 def type @type end |