node_id -> IntegerRuby 4.1 から[permalink][rdoc][edit]-
selfのコンパイル元になった抽象構文木(AST)のノードのnode_idを返します。RubyVM::InstructionSequence#syntax_tree は、この値と RubyVM::InstructionSequence#source_hash を使って、再度パースし直したソースから対応するノードを探します。
例iseq = RubyVM::InstructionSequence.compile("1 + 2") p iseq.node_id.is_a?(Integer) # => true[SEE_ALSO] RubyVM::InstructionSequence#source_hash, RubyVM::InstructionSequence#syntax_tree