TODO move this to inter, or maybe a refinement
8 9 10
# File 'lib/upl/runtime.rb', line 8 def term_type ::Upl::Extern.PL_term_type self end
12 13 14 15
# File 'lib/upl/runtime.rb', line 12 def type_string type_int = term_type ::Upl::Extern.constants.find{|c| (::Upl::Extern.const_get c) == type_int} || type_int end