るりまサーチ

最速Rubyリファレンスマニュアル検索!
413件ヒット [1-100件を表示] (0.048秒)
トップページ > クエリ:io[x] > クエリ:instruction[x]

別のキーワード

  1. io popen
  2. io pipe
  3. io each_line
  4. io each
  5. io readlines

検索結果

<< 1 2 3 ... > >>

REXML::StreamListener#instruction(name, instruction) -> () (24414.0)

XML処理命令(PI)をパースしたときに呼び出されるコールバックメソッドです。

...e ターゲット名が文字列で渡されます
@param instruction 処理命令の内容が文字列で渡されます

=== 例
<?xml-stylesheet type="text/css" href="style.css"?>
というPIに対し
name: "xml-stylesheet"
instruction
: " type=\"text/css\" href=\"style.css\""
という引...

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

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

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

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

REXML::Element#instructions -> [REXML::Instraction] (12316.0)

すべての instruction 子ノードの配列を返します。

...すべての instruction 子ノードの配列を返します。

返される配列は freeze されます。...

RubyVM::InstructionSequence.compile_option=(options) (12212.0)

命令シーケンスのコンパイル時のデフォルトの最適化オプションを引数 options で指定します。

...命令シーケンスのコンパイル時のデフォルトの最適化オプションを引数
options で指定します。

@param options コンパイル時の最適化オプションを true、false、nil、
Hash のいずれかで指定します。true を指定した場合は...
...を指定します。
//emlist{
* :inline_const_cache
* :instructions_unification
* :operands_unification
* :peephole_optimization
* :specialized_instruction
* :stack_caching
* :tailcall_optimization
* :trace_instruction
//}
:debug_level をキーに指定した場合...
...compile、.compile_file メソッドの実行の際に option 引数を指定し
た場合はその実行のみ最適化オプションを変更する事もできます。

@see RubyVM::InstructionSequence.new,
RubyVM::InstructionSequence.compile,
RubyVM::InstructionSequence.compile_file...

REXML::Parsers::PullEvent#instruction? -> bool (12201.0)

XML処理命令なら真を返します。

XML処理命令なら真を返します。

絞り込み条件を変える

REXML::SAX2Listener#processing_instruction(target, data) -> () (12201.0)

XML 処理命令(PI)に対し呼び出されるコールバックメソッドです。

XML 処理命令(PI)に対し呼び出されるコールバックメソッドです。

@param target ターゲット名が文字列で渡されます
@param data 処理命令の内容が文字列で渡されます

RubyVM::INSTRUCTION_NAMES -> [String] (12201.0)

RubyVM の命令シーケンスの名前の一覧を返します。

...RubyVM の命令シーケンスの名前の一覧を返します。

@see RubyVM::InstructionSequence...

RubyVM::InstructionSequence.compile_option -> Hash (12112.0)

命令シーケンスのコンパイル時のデフォルトの最適化オプションを Hash で返 します。

...p RubyVM::InstructionSequence.compile_option

# => {:inline_const_cache=>true,
# :peephole_optimization=>true,
# :tailcall_optimization=>false,
# :specialized_instruction=>true,
# :operands_unification=>true,
# :instructions_unification=>false,
# :stack_caching=>false,
# :trace_instruction=>true,
#...
...:frozen_string_literal=>false,
# :debug_frozen_string_literal=>false,
# :coverage_enabled=>true,
# :debug_level=>0}
//}

@see RubyVM::InstructionSequence.compile_option=...

REXML::Instruction (12016.0)

XML 処理命令(XML Processing Instruction, XML PI)を表すクラス。

...理命令(XML Processing Instruction, XML PI)を表すクラス。

XML 処理命令 とは XML 文書中の <? と ?> で挟まれた部分のことで、
アプリケーションへの指示を保持するために使われます。

XML 宣言(文書先頭の <?xml version=... ?>)はXML処理命...
...ありませんが、
似た見た目を持っています。

//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/css" href="style.css"?>
<root />
EOS
doc[2] # => <?p-i xml-stylesheet ...?>
doc[2].target # =...

RubyVM::InstructionSequence (12000.0)

Ruby の Virtual Machine のコンパイル済みの命令シーケンスを表すクラスです。

...ジェクトや Ruby のソースコードを表す文字列
から VM の命令シーケンスを得る事ができます。また、
RubyVM::InstructionSequence オブジェクトを元に命令シーケンスを読みやす
い文字列に変換する事もできます。Ruby の命令シーケ...

絞り込み条件を変える

<< 1 2 3 ... > >>