Method: BOAST::Expression#print

Defined in:
lib/BOAST/Algorithm.rb


333
334
335
336
337
338
339
340
# File 'lib/BOAST/Algorithm.rb', line 333

def print(final=true)
  s=""
  s += " "*BOAST::get_indent_level if final
  s += self.to_str
  s += ";" if final and [C, CL, CUDA].include?( BOAST::get_lang ) 
  BOAST::get_output.puts s if final
  return s
end