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?

Instance Attribute Details

#component_typeObject

Returns the value of attribute component_type.



546
547
548
# File 'lib/bitescript/mirror.rb', line 546

def component_type
  @component_type
end

Instance Method Details

#array?Boolean

Returns:

  • (Boolean)


547
548
549
# File 'lib/bitescript/mirror.rb', line 547

def array?
  true
end

#to_sObject



550
551
552
# File 'lib/bitescript/mirror.rb', line 550

def to_s
  "#{component_type}[]"
end