108件ヒット
[101-108件を表示]
(0.042秒)
別のキーワード
クラス
-
Net
:: HTTP (72) -
Net
:: HTTPGenericRequest (12) -
RubyVM
:: InstructionSequence (12)
モジュール
-
Net
:: HTTPHeader (12)
キーワード
-
content
_ type (12) - post2 (24)
-
request
_ post (24) -
response
_ body _ permitted? (12) -
to
_ a (12)
検索結果
-
RubyVM
:: InstructionSequence # to _ a -> Array (6025.0) -
self の情報を 14 要素の配列にして返します。
...。
: magic
データフォーマットを示す文字列。常に
"YARVInstructionSequence/SimpleDataFormat"。
: major_version
命令シーケンスのメジャーバージョン。
: minor_version
命令シーケンスのマイナーバージョン。
: format_type
データフ......メソッド、ブロックの引数の個数。あるいは以下のよう
な配列。
[required_argc, [optional_arg_labels, ...],
splat_index, post_splat_argc, post_splat_index,
block_index, simple]
より詳細な情報については、vm_core.h を参照。
: catch_table......構成する命令とオペランドの配列の配列。
//emlist[例][ruby]{
require 'pp'
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
pp iseq.to_a
# ※ Ruby 2.5.0 での実行結果
# => ["YARVInstructionSequence/SimpleDataFormat",
# 2,
# 0,
# 1,
# {:arg_size=>0, :local_size=>2,...