/*
 * call-seq:
 *   node.inspect => String
 *
 * Returns a string representation of the node's data.
 */
static VALUE node_inspect(VALUE node)
{
#if RUBY_VERSION_CODE < 190
  if(rb_inspecting_p(node))
  {
    VALUE str = rb_str_new2("#<");
    rb_str_cat2(str, rb_class2name(CLASS_OF(node)));
    rb_str_cat2(str, ":...>");
    return str;
  }
  else
  {
    return rb_protect_inspect(node_inspect_protect, node, 0);
  }
#else
  return rb_exec_recursive(node_inspect_protect, node, 0);
#endif
}