るりまサーチ

最速Rubyリファレンスマニュアル検索!
6件ヒット [1-6件を表示] (0.205秒)
トップページ > クエリ:I[x] > クエリ:t[x] > クエリ:struct[x] > クエリ:instruction_sequence[x]

別のキーワード

  1. struct new
  2. mkmf have_struct_member
  3. struct select
  4. kernel have_struct_member
  5. struct members

ライブラリ

クラス

検索結果

TracePoint#instruction_sequence -> RubyVM::InstructionSequence (42707.0)

script_compiledイベント発生時にコンパイルされた RubyVM::InstructionSequenceインスタンスを返します。

...script_compiledイベント発生時にコンパイルされた
RubyVM::InstructionSequenceインスタンスを返します。

//emlist[例][ruby]{
T
racePoint.new(:script_compiled) do |tp|
p tp.instruction_sequence # => <RubyVM::InstructionSequence:block in <main>@(eval):1>
end.enable do
eval...
...("puts 'hello'")
end
//}

@raise RuntimeError :script_compiled イベントのための
イベントフックの外側で実行した場合に発生します。...