Sha256: 602133d74924cee319217399c95ec947112c0faa1817b4a75942471bce035db2

Contents?: true

Size: 652 Bytes

Versions: 7

Compression:

Stored size: 652 Bytes

Contents

#ifndef nodeinfo_h
#define nodeinfo_h

#include "ruby_internal_node.h"

#include "ruby.h"

enum Node_Elem_Name
{
  NEN_NONE,
#ruby <<END
  $: << '.' # TODO: hack
  require 'read_node_h'

  NODEINFO.sort.each do |node_elem_name, node_elem_ref|
    puts "  NEN_#{node_elem_name.upcase},"
  end
  nil
END
};

VALUE dump_node_elem(enum Node_Elem_Name nen, NODE * n, VALUE node_hash);
void load_node_elem(enum Node_Elem_Name nen, VALUE v, NODE * n, VALUE node_hash, VALUE id_hash);
VALUE node_s_members(VALUE klass);
void define_node_subclass_methods();

#define NODE_OP_ASGN2_ARG NODE_LAST + 1
#define NUM_NODE_TYPE_DESCRIPS NODE_OP_ASGN2_ARG + 1

#endif

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ruby-internal-0.8.5 ext/internal/node/nodeinfo.h.rpp
ruby-internal-0.8.4 ext/internal/node/nodeinfo.h.rpp
ruby-internal-0.8.3 ext/internal/node/nodeinfo.h.rpp
ruby-internal-0.8.2 ext/internal/node/nodeinfo.h.rpp
ruby-internal-0.8.1 ext/internal/node/nodeinfo.h.rpp
ruby-internal-0.8.0 ext/internal/node/nodeinfo.h.rpp
ruby-internal-0.7.3 ext/internal/node/nodeinfo.h.rpp