Class: SFRP::Flat::TypeAnnotationType

Inherits:
Struct
  • Object
show all
Defined in:
lib/sfrp/flat/elements.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#arg_tasObject

Returns the value of attribute arg_tas

Returns:

  • (Object)

    the current value of arg_tas



78
79
80
# File 'lib/sfrp/flat/elements.rb', line 78

def arg_tas
  @arg_tas
end

#spObject

Returns the value of attribute sp

Returns:

  • (Object)

    the current value of sp



78
79
80
# File 'lib/sfrp/flat/elements.rb', line 78

def sp
  @sp
end

#tconst_strObject

Returns the value of attribute tconst_str

Returns:

  • (Object)

    the current value of tconst_str



78
79
80
# File 'lib/sfrp/flat/elements.rb', line 78

def tconst_str
  @tconst_str
end

Instance Method Details

#to_polyObject



79
80
81
# File 'lib/sfrp/flat/elements.rb', line 79

def to_poly
  P.t(tconst_str, *arg_tas.map(&:to_poly))
end