Class: SFRP::Flat::TypeAnnotationType
- Inherits:
-
Struct
- Object
- Struct
- SFRP::Flat::TypeAnnotationType
- Defined in:
- lib/sfrp/flat/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_str ⇒ Object
Returns the value of attribute tconst_str.
Instance Method Summary collapse
Instance Attribute Details
#arg_tas ⇒ Object
Returns the value of attribute arg_tas
78 79 80 |
# File 'lib/sfrp/flat/elements.rb', line 78 def arg_tas @arg_tas end |
#sp ⇒ Object
Returns the value of attribute sp
78 79 80 |
# File 'lib/sfrp/flat/elements.rb', line 78 def sp @sp end |
#tconst_str ⇒ Object
Returns the value of attribute tconst_str
78 79 80 |
# File 'lib/sfrp/flat/elements.rb', line 78 def tconst_str @tconst_str end |
Instance Method Details
#to_poly ⇒ Object
79 80 81 |
# File 'lib/sfrp/flat/elements.rb', line 79 def to_poly P.t(tconst_str, *arg_tas.map(&:to_poly)) end |