Ruby 2.6.0 リファレンスマニュアル > 関数一覧 > nodetype (static)
static enum node_type nodetype(node)
node の種類を返します。デバッグ用です。