Sha256: d2809a152dc053b5decd13af5a46e1f062fc6b8ecb35f68dd6f3266d33988c6c

Contents?: true

Size: 769 Bytes

Versions: 11

Compression:

Stored size: 769 Bytes

Contents

#ifndef ruby_internal_node__h_
#define ruby_internal_node__h_

#include <ruby.h>

#if defined(HAVE_NODE_H)
#include "node.h"
#elif defined(HAVE_RUBY_NODE_H)
#include "ruby/node.h"
#endif

VALUE wrap_node(NODE * n);
VALUE wrap_node_as(NODE * n, VALUE klass);

NODE * unwrap_node(VALUE r);

VALUE node_id(NODE * n);
NODE * id_to_node(VALUE id);

VALUE eval_ruby_node(NODE * node, VALUE self, VALUE cref);

void dump_node_or_iseq_to_hash(VALUE n, int node_type, VALUE node_hash);
VALUE load_node_or_iseq_from_hash(VALUE node_id, VALUE node_hash, VALUE id_hash);

void dump_node_to_hash(NODE * n, int node_type, VALUE node_hash);
NODE * load_node_from_hash(VALUE arr, VALUE orig_node_id, VALUE node_hash, VALUE id_hash);

extern VALUE rb_cNodeSubclass[NODE_LAST];

#endif

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ruby-internal-0.8.5 ext/internal/node/ruby_internal_node.h
ruby-internal-0.8.4 ext/internal/node/ruby_internal_node.h
ruby-internal-0.8.3 ext/internal/node/ruby_internal_node.h
ruby-internal-0.8.2 ext/internal/node/ruby_internal_node.h
ruby-internal-0.8.1 ext/internal/node/ruby_internal_node.h
ruby-internal-0.8.0 ext/internal/node/ruby_internal_node.h
ruby-internal-0.7.3 ext/internal/node/ruby_internal_node.h
ruby-internal-0.7.2 ext/internal/node/ruby_internal_node.h
ruby-internal-0.7.1 ext/internal/node/ruby_internal_node.h
ruby-internal-0.7.0 ext/internal/node/ruby_internal_node.h
ruby-internal-0.6.0 ext/internal/node/ruby_internal_node.h