126件ヒット
[1-100件を表示]
(0.011秒)
クラス
-
Rake
:: FileTask (12) -
Rake
:: NameSpace (12) -
Rake
:: Task (12) -
URI
:: LDAP (24)
モジュール
- Rake (24)
-
RubyVM
:: AbstractSyntaxTree (30)
オブジェクト
- main (12)
キーワード
- application (12)
- application= (12)
- build (24)
- new (12)
- of (10)
- parse (10)
-
parse
_ file (10) -
scope
_ name (24) - using (12)
検索結果
先頭5件
- Rake
:: FileTask . scope _ name(scope , task _ name) -> String - Rake
:: Task . scope _ name(scope , task _ name) -> String - Rake
:: NameSpace . new(task _ manager , scope _ list) - RubyVM
:: AbstractSyntaxTree . of(proc) -> RubyVM :: AbstractSyntaxTree :: Node - RubyVM
:: AbstractSyntaxTree . of(proc , keep _ script _ lines: false , error _ tolerant: false , keep _ tokens: false) -> RubyVM :: AbstractSyntaxTree :: Node
-
Rake
:: FileTask . scope _ name(scope , task _ name) -> String (6203.0) -
ファイルタスクはスコープを無視します。
ファイルタスクはスコープを無視します。 -
Rake
:: Task . scope _ name(scope , task _ name) -> String (6203.0) -
与えられたスコープとタスク名をコロンで連結して返します。
与えられたスコープとタスク名をコロンで連結して返します。 -
Rake
:: NameSpace . new(task _ manager , scope _ list) (120.0) -
自身を初期化します。
...ます。
@param scope_list 名前空間のリストを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
name_space = Rake::NameSpace.new(Rake.application, Rake::Scope.new("sample"))
name_space.scope # => LL("sample")... -
RubyVM
:: AbstractSyntaxTree . of(proc) -> RubyVM :: AbstractSyntaxTree :: Node (13.0) -
引数 proc に渡したProcやメソッドオブジェクトの抽象構文木を返します。
...of(proc {1 + 2})
# => (SCOPE@2:38-2:45
# tbl: []
# args: nil
# body:
# (OPCALL@2:39-2:44 (LIT@2:39-2:40 1) :+
# (LIST@2:43-2:44 (LIT@2:43-2:44 2) nil)))
def hello
puts "hello, world"
end
pp RubyVM::AbstractSyntaxTree.of(method(:hello))
# => (SCOPE@5:0-7:3
# tbl: []... -
RubyVM
:: AbstractSyntaxTree . of(proc , keep _ script _ lines: false , error _ tolerant: false , keep _ tokens: false) -> RubyVM :: AbstractSyntaxTree :: Node (13.0) -
引数 proc に渡したProcやメソッドオブジェクトの抽象構文木を返します。
...of(proc {1 + 2})
# => (SCOPE@2:38-2:45
# tbl: []
# args: nil
# body:
# (OPCALL@2:39-2:44 (LIT@2:39-2:40 1) :+
# (LIST@2:43-2:44 (LIT@2:43-2:44 2) nil)))
def hello
puts "hello, world"
end
pp RubyVM::AbstractSyntaxTree.of(method(:hello))
# => (SCOPE@5:0-7:3
# tbl: []... -
RubyVM
:: AbstractSyntaxTree . parse(string) -> RubyVM :: AbstractSyntaxTree :: Node (13.0) -
文字列を抽象構文木にパースし、その木の根ノードを返します。
...se("x = 1 + 2")
# => (SCOPE@1:0-1:9
# tbl: [:x]
# args: nil
# body:
# (LASGN@1:0-1:9 :x
# (OPCALL@1:4-1:9 (LIT@1:4-1:5 1) :+ (LIST@1:8-1:9 (LIT@1:8-1:9 2) nil))))
pp RubyVM::AbstractSyntaxTree.parse("x = 1; p(x; y=2", error_tolerant: true)
# => (SCOPE@1:0-1:15
# tbl:... -
RubyVM
:: AbstractSyntaxTree . parse(string , keep _ script _ lines: false , error _ tolerant: false , keep _ tokens: false) -> RubyVM :: AbstractSyntaxTree :: Node (13.0) -
文字列を抽象構文木にパースし、その木の根ノードを返します。
...se("x = 1 + 2")
# => (SCOPE@1:0-1:9
# tbl: [:x]
# args: nil
# body:
# (LASGN@1:0-1:9 :x
# (OPCALL@1:4-1:9 (LIT@1:4-1:5 1) :+ (LIST@1:8-1:9 (LIT@1:8-1:9 2) nil))))
pp RubyVM::AbstractSyntaxTree.parse("x = 1; p(x; y=2", error_tolerant: true)
# => (SCOPE@1:0-1:15
# tbl:... -
URI
:: LDAP . build(ary) -> URI :: LDAP (13.0) -
引数で与えられた URI 構成要素から URI::LDAP オブジェクトを生成します。 引数の正当性を検査します。
...す。
//emlist{
[:host, :port, :dn, :attributes, :scope, :filter, :extensions]
//}
@param hash 構成要素を表すハッシュを与えます。ハッシュのキーは
//emlist{
:host, :port, :dn, :attributes, :scope, :filter, :extensions
//}
のいずれかです... -
URI
:: LDAP . build(hash) -> URI :: LDAP (13.0) -
引数で与えられた URI 構成要素から URI::LDAP オブジェクトを生成します。 引数の正当性を検査します。
...す。
//emlist{
[:host, :port, :dn, :attributes, :scope, :filter, :extensions]
//}
@param hash 構成要素を表すハッシュを与えます。ハッシュのキーは
//emlist{
:host, :port, :dn, :attributes, :scope, :filter, :extensions
//}
のいずれかです... -
Rake
. application -> Rake :: Application (7.0) -
現在の Rake アプリケーションを返します。
...@pending_imports=[],
# @rakefile="rakefile",
# @rakefiles=["rakefile", "Rakefile", "rakefile.rb", "Rakefile.rb"],
# @rules=[],
# @scope=LL(),
# @tasks=
# {"default"=><Rake::Task default => [test_rake_app]>,
# "test_rake_app"=><Rake::Task test_rake_app => []>},
#... -
Rake
. application=(app) (7.0) -
現在の Rake アプリケーションをセットします。
...alse>,
# @original_dir="/path/to/dir",
# @pending_imports=[],
# @rakefile=nil,
# @rakefiles=["rakefile", "Rakefile", "rakefile.rb", "Rakefile.rb"],
# @rules=[],
# @scope=LL(),
# @tasks={},
# @terminal_columns=0,
# @top_level_tasks=[],
# @tty_output=true>
//}...