Class: BiteScript::ASM::GenericArray

Inherits:
GenericTypeMirror show all
Defined in:
lib/bitescript/mirror.rb,
lib/bitescript/asm3/mirror.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from GenericTypeMirror

#generic_class?, #inspect, #type_variable?, #wildcard?

Methods included from Generics

#inspect_generic, #inspect_type

Instance Attribute Details

#component_typeObject

Returns the value of attribute component_type.



589
590
591
# File 'lib/bitescript/mirror.rb', line 589

def component_type
  @component_type
end

Instance Method Details

#array?Boolean

Returns:

  • (Boolean)


590
591
592
# File 'lib/bitescript/mirror.rb', line 590

def array?
  true
end

#to_sObject



593
594
595
# File 'lib/bitescript/mirror.rb', line 593

def to_s
  "#{component_type}[]"
end