/*
* Return the Node's _clss_ member. The return type is
* either a Node or an Object.
*/
static VALUE node_clss(VALUE self)
{
NODE * n;
Data_Get_Struct(self, NODE, n);
if(TYPE(n->nd_clss) == T_NODE)
{
if(0 && nd_type(n) == NODE_OP_ASGN2)
{
return wrap_node_as(
(NODE *)n->nd_clss,
rb_cNodeSubclass[NODE_OP_ASGN2_ARG]);
}
else
{
return wrap_node((NODE *)n->nd_clss);
}
}
else
{
return (VALUE)n->nd_clss;
}
}