Class: SFRP::Raw::TypeAnnotationType
- Inherits:
-
Struct
- Object
- Struct
- SFRP::Raw::TypeAnnotationType
- Defined in:
- lib/sfrp/raw/elements.rb
Instance Attribute Summary collapse
-
#arg_tas ⇒ Object
Returns the value of attribute arg_tas.
-
#sp ⇒ Object
Returns the value of attribute sp.
-
#tconst_ref ⇒ Object
Returns the value of attribute tconst_ref.
Instance Method Summary collapse
Instance Attribute Details
#arg_tas ⇒ Object
Returns the value of attribute arg_tas
150 151 152 |
# File 'lib/sfrp/raw/elements.rb', line 150 def arg_tas @arg_tas end |
#sp ⇒ Object
Returns the value of attribute sp
150 151 152 |
# File 'lib/sfrp/raw/elements.rb', line 150 def sp @sp end |
#tconst_ref ⇒ Object
Returns the value of attribute tconst_ref
150 151 152 |
# File 'lib/sfrp/raw/elements.rb', line 150 def tconst_ref @tconst_ref end |
Instance Method Details
#to_flat(set, ns) ⇒ Object
151 152 153 154 155 |
# File 'lib/sfrp/raw/elements.rb', line 151 def to_flat(set, ns) ab_tc_name = set.tconst(ns, tconst_ref, sp).absolute_name flat_arg_tas = arg_tas.map { |ta| ta.to_flat(set, ns) } Flat::TypeAnnotationType.new(ab_tc_name, flat_arg_tas, sp) end |