lib/sfrp/mono/vconst.rb
# Generate a struct-element of term for this vconst.
Generate a struct-element of term for this vconst.
Generate a struct - element of term for this vconst .
def gen_term_definition(set, term_id, terms)
        return if native?
        terms << L.member_structure('struct', "term#{term_id}") do |term|
          @arg_type_strs.each_with_index do |t_str, idx|
            low_type_str = set.type(t_str).low_type_str
            term << L.member("#{low_type_str} member#{idx}")
          end
        end
      end
def gen_term_definition ( set , term_id , terms ) return if native? terms << L . member_structure ( 'struct' , "term#{term_id}" ) do | term | @arg_type_strs . each_with_index do | t_str , idx | low_type_str = set . type ( t_str ) . low_type_str term << L . member ( "#{low_type_str} member#{idx}" ) end end end
Generate a struct-element of term for this vconst.
Generate a struct - element of term for this vconst .
set
term_id
terms