class SFRP::Flat::TConst

Public Instance Methods

to_poly(_src_set, dest_set) click to toggle source
# File lib/sfrp/flat/elements.rb, line 28
def to_poly(_src_set, dest_set)
  argc = pstrs.size
  dest_set << Poly::TConst.new(str, argc, vc_strs, static, native_str)
end
type_annot() click to toggle source
# File lib/sfrp/flat/elements.rb, line 24
def type_annot
  TypeAnnotationType.new(str, pstrs.map { |s| TypeAnnotationVar.new(s) })
end