Class: SFRP::Raw::FuncTypeAnnotation
- Inherits:
-
Struct
- Object
- Struct
- SFRP::Raw::FuncTypeAnnotation
- Defined in:
- lib/sfrp/raw/elements.rb
Instance Attribute Summary collapse
-
#arg_tas ⇒ Object
Returns the value of attribute arg_tas.
-
#ret_ta ⇒ Object
Returns the value of attribute ret_ta.
-
#sp ⇒ Object
Returns the value of attribute sp.
Instance Method Summary collapse
Instance Attribute Details
#arg_tas ⇒ Object
Returns the value of attribute arg_tas
143 144 145 |
# File 'lib/sfrp/raw/elements.rb', line 143 def arg_tas @arg_tas end |
#ret_ta ⇒ Object
Returns the value of attribute ret_ta
143 144 145 |
# File 'lib/sfrp/raw/elements.rb', line 143 def ret_ta @ret_ta end |
#sp ⇒ Object
Returns the value of attribute sp
143 144 145 |
# File 'lib/sfrp/raw/elements.rb', line 143 def sp @sp end |
Instance Method Details
#to_flat(set, ns) ⇒ Object
144 145 146 147 |
# File 'lib/sfrp/raw/elements.rb', line 144 def to_flat(set, ns) flat_arg_tas = arg_tas.map { |ta| ta.to_flat(set, ns) } Flat::FuncTypeAnnotation.new(ret_ta.to_flat(set, ns), flat_arg_tas, sp) end |