Class: SFRP::Raw::TypeAnnotationVar

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#spObject

Returns the value of attribute sp

Returns:

  • (Object)

    the current value of sp



158
159
160
# File 'lib/sfrp/raw/elements.rb', line 158

def sp
  @sp
end

#var_strObject

Returns the value of attribute var_str

Returns:

  • (Object)

    the current value of var_str



158
159
160
# File 'lib/sfrp/raw/elements.rb', line 158

def var_str
  @var_str
end

Instance Method Details

#to_flat(_set, _ns) ⇒ Object



159
160
161
# File 'lib/sfrp/raw/elements.rb', line 159

def to_flat(_set, _ns)
  Flat::TypeAnnotationVar.new(var_str, sp)
end