Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

node.h File Reference

Go to the source code of this file.

Data Structures

struct  RNode

Defines

#define RNODE(obj)   (R_CAST(RNode)(obj))
#define nd_type(n)   ((int)(((RNODE(n))->flags>>FL_USHIFT)&0xff))
#define nd_set_type(n, t)   RNODE(n)->flags=((RNODE(n)->flags&~FL_UMASK)|(((t)<<FL_USHIFT)&FL_UMASK))
#define NODE_LSHIFT   (FL_USHIFT+8)
#define NODE_LMASK   (((long)1<<(sizeof(NODE*)*CHAR_BIT-NODE_LSHIFT))-1)
#define nd_line(n)   ((unsigned int)(((RNODE(n))->flags>>NODE_LSHIFT)&NODE_LMASK))
#define nd_set_line(n, l)   RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
#define nd_head   u1.node
#define nd_alen   u2.argc
#define nd_next   u3.node
#define nd_cond   u1.node
#define nd_body   u2.node
#define nd_else   u3.node
#define nd_orig   u3.value
#define nd_resq   u2.node
#define nd_ensr   u3.node
#define nd_1st   u1.node
#define nd_2nd   u2.node
#define nd_stts   u1.node
#define nd_entry   u3.entry
#define nd_vid   u1.id
#define nd_cflag   u2.id
#define nd_cval   u3.value
#define nd_cnt   u3.cnt
#define nd_tbl   u1.tbl
#define nd_var   u1.node
#define nd_ibdy   u2.node
#define nd_iter   u3.node
#define nd_value   u2.node
#define nd_aid   u3.id
#define nd_lit   u1.value
#define nd_frml   u1.node
#define nd_rest   u2.argc
#define nd_opt   u1.node
#define nd_recv   u1.node
#define nd_mid   u2.id
#define nd_args   u3.node
#define nd_noex   u1.id
#define nd_defn   u3.node
#define nd_old   u1.id
#define nd_new   u2.id
#define nd_cfnc   u1.cfunc
#define nd_argc   u2.argc
#define nd_cpath   u1.node
#define nd_super   u3.node
#define nd_modl   u1.id
#define nd_clss   u1.value
#define nd_beg   u1.node
#define nd_end   u2.node
#define nd_state   u3.state
#define nd_rval   u2.value
#define nd_nth   u2.argc
#define nd_tag   u1.id
#define nd_tval   u2.value
#define NEW_NODE(t, a0, a1, a2)   rb_node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
#define NEW_METHOD(n, x)   NEW_NODE(NODE_METHOD,x,n,0)
#define NEW_FBODY(n, i, o)   NEW_NODE(NODE_FBODY,n,i,o)
#define NEW_DEFN(i, a, d, p)   NEW_NODE(NODE_DEFN,p,i,NEW_RFUNC(a,d))
#define NEW_DEFS(r, i, a, d)   NEW_NODE(NODE_DEFS,r,i,NEW_RFUNC(a,d))
#define NEW_CFUNC(f, c)   NEW_NODE(NODE_CFUNC,f,c,0)
#define NEW_IFUNC(f, c)   NEW_NODE(NODE_IFUNC,f,c,0)
#define NEW_RFUNC(b1, b2)   NEW_SCOPE(block_append(b1,b2))
#define NEW_SCOPE(b)   NEW_NODE(NODE_SCOPE,local_tbl(),0,(b))
#define NEW_BLOCK(a)   NEW_NODE(NODE_BLOCK,a,0,0)
#define NEW_IF(c, t, e)   NEW_NODE(NODE_IF,c,t,e)
#define NEW_UNLESS(c, t, e)   NEW_IF(c,e,t)
#define NEW_CASE(h, b)   NEW_NODE(NODE_CASE,h,b,0)
#define NEW_WHEN(c, t, e)   NEW_NODE(NODE_WHEN,c,t,e)
#define NEW_OPT_N(b)   NEW_NODE(NODE_OPT_N,0,b,0)
#define NEW_WHILE(c, b, n)   NEW_NODE(NODE_WHILE,c,b,n)
#define NEW_UNTIL(c, b, n)   NEW_NODE(NODE_UNTIL,c,b,n)
#define NEW_FOR(v, i, b)   NEW_NODE(NODE_FOR,v,b,i)
#define NEW_ITER(v, i, b)   NEW_NODE(NODE_ITER,v,b,i)
#define NEW_BREAK(s)   NEW_NODE(NODE_BREAK,s,0,0)
#define NEW_NEXT(s)   NEW_NODE(NODE_NEXT,s,0,0)
#define NEW_REDO()   NEW_NODE(NODE_REDO,0,0,0)
#define NEW_RETRY()   NEW_NODE(NODE_RETRY,0,0,0)
#define NEW_BEGIN(b)   NEW_NODE(NODE_BEGIN,0,b,0)
#define NEW_RESCUE(b, res, e)   NEW_NODE(NODE_RESCUE,b,res,e)
#define NEW_RESBODY(a, ex, n)   NEW_NODE(NODE_RESBODY,n,ex,a)
#define NEW_ENSURE(b, en)   NEW_NODE(NODE_ENSURE,b,0,en)
#define NEW_RETURN(s)   NEW_NODE(NODE_RETURN,s,0,0)
#define NEW_YIELD(a, s)   NEW_NODE(NODE_YIELD,a,0,s)
#define NEW_LIST(a)   NEW_ARRAY(a)
#define NEW_ARRAY(a)   NEW_NODE(NODE_ARRAY,a,1,0)
#define NEW_ZARRAY()   NEW_NODE(NODE_ZARRAY,0,0,0)
#define NEW_HASH(a)   NEW_NODE(NODE_HASH,a,0,0)
#define NEW_NOT(a)   NEW_NODE(NODE_NOT,0,a,0)
#define NEW_MASGN(l, r)   NEW_NODE(NODE_MASGN,l,0,r)
#define NEW_GASGN(v, val)   NEW_NODE(NODE_GASGN,v,val,rb_global_entry(v))
#define NEW_LASGN(v, val)   NEW_NODE(NODE_LASGN,v,val,local_cnt(v))
#define NEW_DASGN(v, val)   NEW_NODE(NODE_DASGN,v,val,0)
#define NEW_DASGN_CURR(v, val)   NEW_NODE(NODE_DASGN_CURR,v,val,0)
#define NEW_IASGN(v, val)   NEW_NODE(NODE_IASGN,v,val,0)
#define NEW_CDECL(v, val, path)   NEW_NODE(NODE_CDECL,v,val,path)
#define NEW_CVASGN(v, val)   NEW_NODE(NODE_CVASGN,v,val,0)
#define NEW_CVDECL(v, val)   NEW_NODE(NODE_CVDECL,v,val,0)
#define NEW_OP_ASGN1(p, id, a)   NEW_NODE(NODE_OP_ASGN1,p,id,a)
#define NEW_OP_ASGN2(r, i, o, val)   NEW_NODE(NODE_OP_ASGN2,r,val,NEW_OP_ASGN22(i,o))
#define NEW_OP_ASGN22(i, o)   NEW_NODE(NODE_OP_ASGN2,i,o,rb_id_attrset(i))
#define NEW_OP_ASGN_OR(i, val)   NEW_NODE(NODE_OP_ASGN_OR,i,val,0)
#define NEW_OP_ASGN_AND(i, val)   NEW_NODE(NODE_OP_ASGN_AND,i,val,0)
#define NEW_GVAR(v)   NEW_NODE(NODE_GVAR,v,0,rb_global_entry(v))
#define NEW_LVAR(v)   NEW_NODE(NODE_LVAR,v,0,local_cnt(v))
#define NEW_DVAR(v)   NEW_NODE(NODE_DVAR,v,0,0)
#define NEW_IVAR(v)   NEW_NODE(NODE_IVAR,v,0,0)
#define NEW_CONST(v)   NEW_NODE(NODE_CONST,v,0,0)
#define NEW_CVAR(v)   NEW_NODE(NODE_CVAR,v,0,0)
#define NEW_NTH_REF(n)   NEW_NODE(NODE_NTH_REF,0,n,local_cnt('~'))
#define NEW_BACK_REF(n)   NEW_NODE(NODE_BACK_REF,0,n,local_cnt('~'))
#define NEW_MATCH(c)   NEW_NODE(NODE_MATCH,c,0,0)
#define NEW_MATCH2(n1, n2)   NEW_NODE(NODE_MATCH2,n1,n2,0)
#define NEW_MATCH3(r, n2)   NEW_NODE(NODE_MATCH3,r,n2,0)
#define NEW_LIT(l)   NEW_NODE(NODE_LIT,l,0,0)
#define NEW_STR(s)   NEW_NODE(NODE_STR,s,0,0)
#define NEW_DSTR(s)   NEW_NODE(NODE_DSTR,s,1,0)
#define NEW_XSTR(s)   NEW_NODE(NODE_XSTR,s,0,0)
#define NEW_DXSTR(s)   NEW_NODE(NODE_DXSTR,s,0,0)
#define NEW_DSYM(s)   NEW_NODE(NODE_DSYM,s,0,0)
#define NEW_EVSTR(n)   NEW_NODE(NODE_EVSTR,0,(n),0)
#define NEW_CALL(r, m, a)   NEW_NODE(NODE_CALL,r,m,a)
#define NEW_FCALL(m, a)   NEW_NODE(NODE_FCALL,0,m,a)
#define NEW_VCALL(m)   NEW_NODE(NODE_VCALL,0,m,0)
#define NEW_SUPER(a)   NEW_NODE(NODE_SUPER,0,0,a)
#define NEW_ZSUPER()   NEW_NODE(NODE_ZSUPER,0,0,0)
#define NEW_ARGS(f, o, r)   NEW_NODE(NODE_ARGS,o,r,f)
#define NEW_ARGSCAT(a, b)   NEW_NODE(NODE_ARGSCAT,a,b,0)
#define NEW_ARGSPUSH(a, b)   NEW_NODE(NODE_ARGSPUSH,a,b,0)
#define NEW_SPLAT(a)   NEW_NODE(NODE_SPLAT,a,0,0)
#define NEW_TO_ARY(a)   NEW_NODE(NODE_TO_ARY,a,0,0)
#define NEW_SVALUE(a)   NEW_NODE(NODE_SVALUE,a,0,0)
#define NEW_BLOCK_ARG(v)   NEW_NODE(NODE_BLOCK_ARG,v,0,local_cnt(v))
#define NEW_BLOCK_PASS(b)   NEW_NODE(NODE_BLOCK_PASS,0,b,0)
#define NEW_ALIAS(n, o)   NEW_NODE(NODE_ALIAS,o,n,0)
#define NEW_VALIAS(n, o)   NEW_NODE(NODE_VALIAS,o,n,0)
#define NEW_UNDEF(i)   NEW_NODE(NODE_UNDEF,0,i,0)
#define NEW_CLASS(n, b, s)   NEW_NODE(NODE_CLASS,n,NEW_SCOPE(b),(s))
#define NEW_SCLASS(r, b)   NEW_NODE(NODE_SCLASS,r,NEW_SCOPE(b),0)
#define NEW_MODULE(n, b)   NEW_NODE(NODE_MODULE,n,NEW_SCOPE(b),0)
#define NEW_COLON2(c, i)   NEW_NODE(NODE_COLON2,c,i,0)
#define NEW_COLON3(i)   NEW_NODE(NODE_COLON3,0,i,0)
#define NEW_CREF(c)   (NEW_NODE(NODE_CREF,0,0,c))
#define NEW_DOT2(b, e)   NEW_NODE(NODE_DOT2,b,e,0)
#define NEW_DOT3(b, e)   NEW_NODE(NODE_DOT3,b,e,0)
#define NEW_ATTRSET(a)   NEW_NODE(NODE_ATTRSET,a,0,0)
#define NEW_SELF()   NEW_NODE(NODE_SELF,0,0,0)
#define NEW_NIL()   NEW_NODE(NODE_NIL,0,0,0)
#define NEW_TRUE()   NEW_NODE(NODE_TRUE,0,0,0)
#define NEW_FALSE()   NEW_NODE(NODE_FALSE,0,0,0)
#define NEW_DEFINED(e)   NEW_NODE(NODE_DEFINED,e,0,0)
#define NEW_NEWLINE(n)   NEW_NODE(NODE_NEWLINE,0,0,n)
#define NEW_PREEXE(b)   NEW_SCOPE(b)
#define NEW_POSTEXE()   NEW_NODE(NODE_POSTEXE,0,0,0)
#define NEW_DMETHOD(b)   NEW_NODE(NODE_DMETHOD,0,0,b)
#define NEW_BMETHOD(b)   NEW_NODE(NODE_BMETHOD,0,0,b)
#define NEW_ATTRASGN(r, m, a)   NEW_NODE(NODE_ATTRASGN,r,m,a)
#define NOEX_PUBLIC   0
#define NOEX_NOSUPER   1
#define NOEX_PRIVATE   2
#define NOEX_PROTECTED   4
#define NOEX_MASK   6
#define NOEX_UNDEF   NOEX_NOSUPER
#define RUBY_EVENT_NONE   0x00
#define RUBY_EVENT_LINE   0x01
#define RUBY_EVENT_CLASS   0x02
#define RUBY_EVENT_END   0x04
#define RUBY_EVENT_CALL   0x08
#define RUBY_EVENT_RETURN   0x10
#define RUBY_EVENT_C_CALL   0x20
#define RUBY_EVENT_C_RETURN   0x40
#define RUBY_EVENT_RAISE   0x80
#define RUBY_EVENT_ALL   0xff

Typedefs

typedef RNode NODE
typedef unsigned int rb_event_t
typedef void(* rb_event_hook_func_t )(rb_event_t, NODE *, VALUE, ID, VALUE)

Enumerations

enum  node_type {
  NODE_METHOD, NODE_FBODY, NODE_CFUNC, NODE_SCOPE,
  NODE_BLOCK, NODE_IF, NODE_CASE, NODE_WHEN,
  NODE_OPT_N, NODE_WHILE, NODE_UNTIL, NODE_ITER,
  NODE_FOR, NODE_BREAK, NODE_NEXT, NODE_REDO,
  NODE_RETRY, NODE_BEGIN, NODE_RESCUE, NODE_RESBODY,
  NODE_ENSURE, NODE_AND, NODE_OR, NODE_NOT,
  NODE_MASGN, NODE_LASGN, NODE_DASGN, NODE_DASGN_CURR,
  NODE_GASGN, NODE_IASGN, NODE_CDECL, NODE_CVASGN,
  NODE_CVDECL, NODE_OP_ASGN1, NODE_OP_ASGN2, NODE_OP_ASGN_AND,
  NODE_OP_ASGN_OR, NODE_CALL, NODE_FCALL, NODE_VCALL,
  NODE_SUPER, NODE_ZSUPER, NODE_ARRAY, NODE_ZARRAY,
  NODE_HASH, NODE_RETURN, NODE_YIELD, NODE_LVAR,
  NODE_DVAR, NODE_GVAR, NODE_IVAR, NODE_CONST,
  NODE_CVAR, NODE_NTH_REF, NODE_BACK_REF, NODE_MATCH,
  NODE_MATCH2, NODE_MATCH3, NODE_LIT, NODE_STR,
  NODE_DSTR, NODE_XSTR, NODE_DXSTR, NODE_EVSTR,
  NODE_DREGX, NODE_DREGX_ONCE, NODE_ARGS, NODE_ARGSCAT,
  NODE_ARGSPUSH, NODE_SPLAT, NODE_TO_ARY, NODE_SVALUE,
  NODE_BLOCK_ARG, NODE_BLOCK_PASS, NODE_DEFN, NODE_DEFS,
  NODE_ALIAS, NODE_VALIAS, NODE_UNDEF, NODE_CLASS,
  NODE_MODULE, NODE_SCLASS, NODE_COLON2, NODE_COLON3,
  NODE_CREF, NODE_DOT2, NODE_DOT3, NODE_FLIP2,
  NODE_FLIP3, NODE_ATTRSET, NODE_SELF, NODE_NIL,
  NODE_TRUE, NODE_FALSE, NODE_DEFINED, NODE_NEWLINE,
  NODE_POSTEXE, NODE_ALLOCA, NODE_DMETHOD, NODE_BMETHOD,
  NODE_MEMO, NODE_IFUNC, NODE_DSYM, NODE_ATTRASGN,
  NODE_LAST
}

Functions

NODErb_compile_cstr (const char *, const char *, int, int)
NODErb_compile_string (const char *, VALUE, int)
NODErb_compile_file (const char *, VALUE, int)
void rb_add_method (VALUE, ID, NODE *, int)
NODErb_node_newnode (enum node_type, VALUE, VALUE, VALUE)
NODErb_method_node (VALUE klass, ID id)
global_entryrb_global_entry (ID)
VALUE rb_gvar_get (struct global_entry *)
VALUE rb_gvar_set (struct global_entry *, VALUE)
VALUE rb_gvar_defined (struct global_entry *)
void rb_add_event_hook (rb_event_hook_func_t, rb_event_t)
int rb_remove_event_hook (rb_event_hook_func_t)


Define Documentation

#define nd_1st   u1.node
 

Definition at line 179 of file node.h.

#define nd_2nd   u2.node
 

Definition at line 180 of file node.h.

#define nd_aid   u3.id
 

Definition at line 197 of file node.h.

#define nd_alen   u2.argc
 

Definition at line 167 of file node.h.

#define nd_argc   u2.argc
 

Definition at line 216 of file node.h.

#define nd_args   u3.node
 

Definition at line 207 of file node.h.

#define nd_beg   u1.node
 

Definition at line 224 of file node.h.

#define nd_body   u2.node
 

Definition at line 171 of file node.h.

#define nd_cflag   u2.id
 

Definition at line 186 of file node.h.

#define nd_cfnc   u1.cfunc
 

Definition at line 215 of file node.h.

#define nd_clss   u1.value
 

Definition at line 222 of file node.h.

#define nd_cnt   u3.cnt
 

Definition at line 189 of file node.h.

#define nd_cond   u1.node
 

Definition at line 170 of file node.h.

#define nd_cpath   u1.node
 

Definition at line 218 of file node.h.

#define nd_cval   u3.value
 

Definition at line 187 of file node.h.

#define nd_defn   u3.node
 

Definition at line 210 of file node.h.

#define nd_else   u3.node
 

Definition at line 172 of file node.h.

#define nd_end   u2.node
 

Definition at line 225 of file node.h.

#define nd_ensr   u3.node
 

Definition at line 177 of file node.h.

#define nd_entry   u3.entry
 

Definition at line 184 of file node.h.

#define nd_frml   u1.node
 

Definition at line 201 of file node.h.

#define nd_head   u1.node
 

Definition at line 166 of file node.h.

#define nd_ibdy   u2.node
 

Definition at line 193 of file node.h.

#define nd_iter   u3.node
 

Definition at line 194 of file node.h.

#define nd_line  )     ((unsigned int)(((RNODE(n))->flags>>NODE_LSHIFT)&NODE_LMASK))
 

Definition at line 162 of file node.h.

Referenced by backtrace(), call_trace_func(), error_handle(), eval(), fixpos(), heredoc_restore(), method_proc(), newline_node(), nodeline(), parse_string(), parser_warn(), parser_warning(), proc_to_s(), rb_thread_initialize(), rb_thread_schedule(), rb_yield_0(), ruby_set_current_source(), and void_expr0().

#define nd_lit   u1.value
 

Definition at line 199 of file node.h.

#define nd_mid   u2.id
 

Definition at line 206 of file node.h.

#define nd_modl   u1.id
 

Definition at line 221 of file node.h.

#define nd_new   u2.id
 

Definition at line 213 of file node.h.

#define nd_next   u3.node
 

Definition at line 168 of file node.h.

#define nd_noex   u1.id
 

Definition at line 209 of file node.h.

#define nd_nth   u2.argc
 

Definition at line 229 of file node.h.

#define nd_old   u1.id
 

Definition at line 212 of file node.h.

#define nd_opt   u1.node
 

Definition at line 203 of file node.h.

#define nd_orig   u3.value
 

Definition at line 174 of file node.h.

#define nd_recv   u1.node
 

Definition at line 205 of file node.h.

#define nd_resq   u2.node
 

Definition at line 176 of file node.h.

#define nd_rest   u2.argc
 

Definition at line 202 of file node.h.

#define nd_rval   u2.value
 

Definition at line 227 of file node.h.

#define nd_set_line n,
 )     RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
 

Definition at line 163 of file node.h.

Referenced by fixpos(), method_proc(), rb_node_newnode(), and yyparse().

#define nd_set_type n,
 )     RNODE(n)->flags=((RNODE(n)->flags&~FL_UMASK)|(((t)<<FL_USHIFT)&FL_UMASK))
 

Definition at line 157 of file node.h.

Referenced by cond0(), literal_concat(), rb_eval(), rb_node_newnode(), and yyparse().

#define nd_state   u3.state
 

Definition at line 226 of file node.h.

#define nd_stts   u1.node
 

Definition at line 182 of file node.h.

#define nd_super   u3.node
 

Definition at line 219 of file node.h.

#define nd_tag   u1.id
 

Definition at line 231 of file node.h.

#define nd_tbl   u1.tbl
 

Definition at line 190 of file node.h.

#define nd_tval   u2.value
 

Definition at line 232 of file node.h.

#define nd_type  )     ((int)(((RNODE(n))->flags>>FL_USHIFT)&0xff))
 

Definition at line 156 of file node.h.

Referenced by arg_add(), arg_defined(), arg_prepend(), aryset(), assign(), assign_in_cond(), attrset(), block_append(), class_prefix(), cond(), cond0(), cond_negative(), evstr2dstr(), gc_mark_children(), is_defined(), literal_concat(), literal_node(), logop(), match_gen(), method_arity(), mnew(), new_call(), new_evstr(), new_fcall(), new_super(), new_yield(), newline_node(), no_blockarg(), node_assign(), nodetype(), obj_free(), proc_arity(), range_op(), rb_add_method(), rb_alias(), rb_backref_error(), rb_call0(), rb_eval(), rb_get_method_body(), rb_mod_modfunc(), rb_yield_0(), remove_begin(), ret_args(), unknown_node(), value_expr0(), void_expr0(), void_stmts(), and yyparse().

#define nd_value   u2.node
 

Definition at line 196 of file node.h.

#define nd_var   u1.node
 

Definition at line 192 of file node.h.

#define nd_vid   u1.id
 

Definition at line 185 of file node.h.

#define NEW_ALIAS n,
 )     NEW_NODE(NODE_ALIAS,o,n,0)
 

Definition at line 314 of file node.h.

Referenced by yyparse().

#define NEW_ARGS f,
o,
 )     NEW_NODE(NODE_ARGS,o,r,f)
 

Definition at line 306 of file node.h.

Referenced by yyparse().

#define NEW_ARGSCAT a,
 )     NEW_NODE(NODE_ARGSCAT,a,b,0)
 

Definition at line 307 of file node.h.

Referenced by arg_concat().

#define NEW_ARGSPUSH a,
 )     NEW_NODE(NODE_ARGSPUSH,a,b,0)
 

Definition at line 308 of file node.h.

Referenced by arg_add().

#define NEW_ARRAY  )     NEW_NODE(NODE_ARRAY,a,1,0)
 

Definition at line 265 of file node.h.

Referenced by rb_parser_append_print(), and yyparse().

#define NEW_ATTRASGN r,
m,
 )     NEW_NODE(NODE_ATTRASGN,r,m,a)
 

Definition at line 336 of file node.h.

Referenced by aryset(), and attrset().

#define NEW_ATTRSET  )     NEW_NODE(NODE_ATTRSET,a,0,0)
 

Definition at line 325 of file node.h.

Referenced by rb_attr().

#define NEW_BACK_REF  )     NEW_NODE(NODE_BACK_REF,0,n,local_cnt('~'))
 

Definition at line 290 of file node.h.

#define NEW_BEGIN  )     NEW_NODE(NODE_BEGIN,0,b,0)
 

Definition at line 258 of file node.h.

Referenced by yyparse().

#define NEW_BLOCK  )     NEW_NODE(NODE_BLOCK,a,0,0)
 

Definition at line 244 of file node.h.

Referenced by block_append(), and yyparse().

#define NEW_BLOCK_ARG  )     NEW_NODE(NODE_BLOCK_ARG,v,0,local_cnt(v))
 

Definition at line 312 of file node.h.

Referenced by yyparse().

#define NEW_BLOCK_PASS  )     NEW_NODE(NODE_BLOCK_PASS,0,b,0)
 

Definition at line 313 of file node.h.

Referenced by yyparse().

#define NEW_BMETHOD  )     NEW_NODE(NODE_BMETHOD,0,0,b)
 

Definition at line 335 of file node.h.

Referenced by rb_mod_define_method().

#define NEW_BREAK  )     NEW_NODE(NODE_BREAK,s,0,0)
 

Definition at line 254 of file node.h.

Referenced by yyparse().

#define NEW_CALL r,
m,
 )     NEW_NODE(NODE_CALL,r,m,a)
 

Definition at line 301 of file node.h.

Referenced by call_op(), match_gen(), new_call(), rb_parser_while_loop(), and yyparse().

#define NEW_CASE h,
 )     NEW_NODE(NODE_CASE,h,b,0)
 

Definition at line 247 of file node.h.

Referenced by yyparse().

#define NEW_CDECL v,
val,
path   )     NEW_NODE(NODE_CDECL,v,val,path)
 

Definition at line 275 of file node.h.

Referenced by assignable(), and yyparse().

#define NEW_CFUNC f,
 )     NEW_NODE(NODE_CFUNC,f,c,0)
 

Definition at line 240 of file node.h.

Referenced by rb_define_alloc_func(), rb_define_method(), rb_define_method_id(), rb_define_private_method(), and rb_define_protected_method().

#define NEW_CLASS n,
b,
 )     NEW_NODE(NODE_CLASS,n,NEW_SCOPE(b),(s))
 

Definition at line 317 of file node.h.

Referenced by yyparse().

#define NEW_COLON2 c,
 )     NEW_NODE(NODE_COLON2,c,i,0)
 

Definition at line 320 of file node.h.

Referenced by yyparse().

#define NEW_COLON3  )     NEW_NODE(NODE_COLON3,0,i,0)
 

Definition at line 321 of file node.h.

Referenced by yyparse().

#define NEW_CONST  )     NEW_NODE(NODE_CONST,v,0,0)
 

Definition at line 287 of file node.h.

Referenced by gettable().

#define NEW_CREF  )     (NEW_NODE(NODE_CREF,0,0,c))
 

Definition at line 322 of file node.h.

#define NEW_CVAR  )     NEW_NODE(NODE_CVAR,v,0,0)
 

Definition at line 288 of file node.h.

Referenced by gettable(), and yyparse().

#define NEW_CVASGN v,
val   )     NEW_NODE(NODE_CVASGN,v,val,0)
 

Definition at line 276 of file node.h.

Referenced by assignable().

#define NEW_CVDECL v,
val   )     NEW_NODE(NODE_CVDECL,v,val,0)
 

Definition at line 277 of file node.h.

Referenced by assignable().

#define NEW_DASGN v,
val   )     NEW_NODE(NODE_DASGN,v,val,0)
 

Definition at line 272 of file node.h.

Referenced by assignable().

#define NEW_DASGN_CURR v,
val   )     NEW_NODE(NODE_DASGN_CURR,v,val,0)
 

Definition at line 273 of file node.h.

Referenced by assignable(), and dyna_init().

#define NEW_DEFINED  )     NEW_NODE(NODE_DEFINED,e,0,0)
 

Definition at line 330 of file node.h.

Referenced by yyparse().

#define NEW_DEFN i,
a,
d,
 )     NEW_NODE(NODE_DEFN,p,i,NEW_RFUNC(a,d))
 

Definition at line 238 of file node.h.

Referenced by yyparse().

#define NEW_DEFS r,
i,
a,
 )     NEW_NODE(NODE_DEFS,r,i,NEW_RFUNC(a,d))
 

Definition at line 239 of file node.h.

Referenced by yyparse().

#define NEW_DMETHOD  )     NEW_NODE(NODE_DMETHOD,0,0,b)
 

Definition at line 334 of file node.h.

Referenced by rb_mod_define_method().

#define NEW_DOT2 b,
 )     NEW_NODE(NODE_DOT2,b,e,0)
 

Definition at line 323 of file node.h.

Referenced by yyparse().

#define NEW_DOT3 b,
 )     NEW_NODE(NODE_DOT3,b,e,0)
 

Definition at line 324 of file node.h.

Referenced by yyparse().

#define NEW_DSTR  )     NEW_NODE(NODE_DSTR,s,1,0)
 

Definition at line 296 of file node.h.

Referenced by evstr2dstr(), and literal_concat().

#define NEW_DSYM  )     NEW_NODE(NODE_DSYM,s,0,0)
 

Definition at line 299 of file node.h.

#define NEW_DVAR  )     NEW_NODE(NODE_DVAR,v,0,0)
 

Definition at line 285 of file node.h.

Referenced by gettable().