種類
- インスタンスメソッド (118)
- 関数 (96)
- 特異メソッド (68)
- 文書 (48)
- 変数 (12)
クラス
- ERB (12)
-
RubyVM
:: InstructionSequence (174)
モジュール
- Kernel (12)
キーワード
-
$ LAST _ PAREN _ MATCH (12) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) -
absolute
_ path (12) -
base
_ label (12) -
compile
_ error (12) -
compile
_ option (12) - disasm (12)
- disassemble (12)
- eval (12)
- label (12)
-
load
_ from _ binary (10) -
load
_ from _ binary _ extra _ data (10) - new (12)
- of (12)
- path (12)
-
rb
_ compile _ cstr (12) -
rb
_ compile _ error (12) -
rb
_ compile _ error _ with _ enc (12) -
rb
_ compile _ file (12) -
rb
_ compile _ string (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 4 feature (12) -
set
_ eoutvar (12) -
to
_ a (12) -
to
_ binary (10) - yycompile (12)
- 正規表現 (12)
検索結果
先頭5件
- static NODE * compile(VALUE src
, char *file , int line) - RubyVM
:: InstructionSequence . compile(source , file = nil , path = nil , line = 1 , options = nil) -> RubyVM :: InstructionSequence - ERB
# set _ eoutvar(compiler , eoutvar = & # 39; _ erbout& # 39;) -> Array - NODE * rb
_ compile _ cstr(const char *f , const char *s , int len , int line) - NODE * rb
_ compile _ file(const char *f , VALUE file , int start)
-
static NODE * compile(VALUE src
, char *file , int line) (38200.0) -
Ruby の文字列または IO オブジェクト src を 構文木にコンパイルし、返します。そのとき、src が ファイル file の line 行目から始まっていると仮定します。
Ruby の文字列または IO オブジェクト src を
構文木にコンパイルし、返します。そのとき、src が
ファイル file の line 行目から始まっていると仮定します。 -
RubyVM
:: InstructionSequence . compile(source , file = nil , path = nil , line = 1 , options = nil) -> RubyVM :: InstructionSequence (18225.0) -
引数 source で指定した Ruby のソースコードを元にコンパイル済みの RubyVM::InstructionSequence オブジェクトを作成して返します。
...aram source Ruby のソースコードを文字列で指定します。
@param file ファイル名を文字列で指定します。
@param path 引数 file の絶対パスファイル名を文字列で指定します。
@param line 引数 source の 1 行目の行番号を指定します。
@pa......ram options コンパイル時のオプションを true、false、Hash オブ
ジェクトのいずれかで指定します。詳細は
RubyVM::InstructionSequence.compile_option= を参照
してください。
RubyVM::InstructionSequence.compile("a......= 1 + 2")
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
@see RubyVM::InstructionSequence.compile_file... -
ERB
# set _ eoutvar(compiler , eoutvar = & # 39; _ erbout& # 39;) -> Array (6400.0) -
ERBの中でeRubyスクリプトの出力をためていく変数を設定します。
...用した方がより容易です。
本メソッドを使用するためには、引数にて指定する eRuby コンパイラを事前に生成しておく必要があります。
@param compiler eRubyコンパイラ
@param eoutvar eRubyスクリプトの中で出力をためていく変数... -
NODE * rb
_ compile _ cstr(const char *f , const char *s , int len , int line) (6300.0) -
C の文字列 s を構文木にコンパイルし、ruby_eval_tree と ruby_eval_tree_begin に格納します。ruby_eval_tree を返します。 またコンパイルするときにファイル f の line 行目からをコンパイル していると仮定します。
...C の文字列 s を構文木にコンパイルし、ruby_eval_tree と
ruby_eval_tree_begin に格納します。ruby_eval_tree を返します。
またコンパイルするときにファイル f の line 行目からをコンパイル
していると仮定します。... -
NODE * rb
_ compile _ file(const char *f , VALUE file , int start) (6300.0) -
Ruby の IO オブジェクト file から文字列を読み込み、 それを Ruby プログラムとして構文木にコンパイルします。 作成した構文木は ruby_eval_tree と ruby_eval_tree_begin に 格納し、同時に ruby_eval_tree を返します。 またコンパイルするときにファイル f の line 行目からをコンパイル していると仮定します。
...、
それを Ruby プログラムとして構文木にコンパイルします。
作成した構文木は ruby_eval_tree と ruby_eval_tree_begin に
格納し、同時に ruby_eval_tree を返します。
またコンパイルするときにファイル f の line 行目からをコンパイル... -
static void compile
_ error(const char *at) (6300.0) -
-
void rb
_ compile _ error(const char *file , int line , const char *fmt , . . . ) (6300.0) -
この関数は Ruby 2.3.0 から deprecated です。公開関数ですが内部利用のみを想 定しています。外部のライブラリで使用すべきではありません。
...この関数は Ruby 2.3.0 から deprecated です。公開関数ですが内部利用のみを想
定しています。外部のライブラリで使用すべきではありません。... -
void rb
_ compile _ error _ with _ enc(const char *file , int line , void *enc , const char *fmt , . . . ) (6300.0) -
この関数は Ruby 2.3.0 から deprecated です。公開関数ですが内部利用のみを想 定しています。外部のライブラリで使用すべきではありません。
...この関数は Ruby 2.3.0 から deprecated です。公開関数ですが内部利用のみを想
定しています。外部のライブラリで使用すべきではありません。... -
RubyVM
:: InstructionSequence . compile _ option -> Hash (6213.0) -
命令シーケンスのコンパイル時のデフォルトの最適化オプションを Hash で返 します。
...ash で返
します。
//emlist[例][ruby]{
require "pp"
pp RubyVM::InstructionSequence.compile_option
# => {:inline_const_cache=>true,
# :peephole_optimization=>true,
# :tailcall_optimization=>false,
# :specialized_instruction=>true,
# :operands_unification=>true,
# :instructions_unification=>fa......lse,
# :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=...