489件ヒット
[1-100件を表示]
(0.196秒)
別のキーワード
ライブラリ
- ビルトイン (57)
-
net
/ http (324) - optparse (72)
-
rdoc
/ parser / ruby (12) -
rexml
/ streamlistener (12) -
ripper
/ lexer (12)
クラス
-
Net
:: HTTPGenericRequest (72) -
Net
:: HTTPResponse (48) - Object (8)
- OptionParser (72)
-
RDoc
:: Parser :: Ruby (12) -
Ripper
:: Lexer (12) -
RubyVM
:: AbstractSyntaxTree :: Node (49)
モジュール
-
Net
:: HTTPHeader (204) -
REXML
:: StreamListener (12)
キーワード
- [] (12)
- []= (12)
- body (24)
- body= (12)
-
body
_ stream (12) -
body
_ stream= (12) - children (7)
-
content
_ type (12) -
content
_ type= (12) - delete (12)
-
each
_ key (12) -
each
_ name (12) - entity (12)
- entitydecl (12)
- fetch (36)
-
first
_ column (7) -
first
_ lineno (7) -
get
_ fields (12) - inspect (7)
- key? (12)
-
last
_ column (7) -
last
_ lineno (7) -
main
_ type (12) -
proxy
_ basic _ auth (12) -
read
_ body (24) -
request
_ body _ permitted? (12) -
response
_ body _ permitted? (12) - scan (12)
-
set
_ content _ type (12) -
sub
_ type (12) - summarize (24)
-
summary
_ indent (12) -
summary
_ indent= (12) -
summary
_ width (12) -
summary
_ width= (12) - type (7)
-
type
_ params (12) -
yield
_ self (8)
検索結果
先頭5件
- Ripper
:: Lexer # parse -> [[Integer , Integer] , Symbol , String , Ripper :: Lexer :: State] - Ripper
:: Lexer # parse -> [[Integer , Integer] , Symbol , String] - RubyVM
:: AbstractSyntaxTree :: Node # first _ column -> Integer - RubyVM
:: AbstractSyntaxTree :: Node # first _ lineno -> Integer - RubyVM
:: AbstractSyntaxTree :: Node # type -> Symbol
-
Ripper
:: Lexer # parse -> [[Integer , Integer] , Symbol , String , Ripper :: Lexer :: State] (24634.0) -
自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。た だし Ripper::Lexer#lex と違い、結果をソートしません。
...自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。た
だし Ripper::Lexer#lex と違い、結果をソートしません。
ライブラリ内部で使用します。... -
Ripper
:: Lexer # parse -> [[Integer , Integer] , Symbol , String] (24534.0) -
自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。た だし Ripper::Lexer#lex と違い、結果をソートしません。
...自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。た
だし Ripper::Lexer#lex と違い、結果をソートしません。
ライブラリ内部で使用します。... -
RubyVM
:: AbstractSyntaxTree :: Node # first _ column -> Integer (24219.0) -
ソースコード中で、self を表すテキストが最初に現れる列番号を返します。
...ソースコード中で、self を表すテキストが最初に現れる列番号を返します。
列番号は0-originで、バイト単位で表されます。
//emlist[][ruby]{
node = RubyVM::AbstractSyntaxTree.parse('1 + 2')
p node.first_column # => 0
//}... -
RubyVM
:: AbstractSyntaxTree :: Node # first _ lineno -> Integer (24219.0) -
ソースコード中で、self を表すテキストが最初に現れる行番号を返します。
...ソースコード中で、self を表すテキストが最初に現れる行番号を返します。
行番号は1-originです。
//emlist[][ruby]{
node = RubyVM::AbstractSyntaxTree.parse('1 + 2')
p node.first_lineno # => 1
//}... -
RubyVM
:: AbstractSyntaxTree :: Node # type -> Symbol (24219.0) -
self の種類を Symbol で返します。
...self の種類を Symbol で返します。
//emlist[][ruby]{
node = RubyVM::AbstractSyntaxTree.parse('1 + 1')
p node.type # => :SCOPE
//}... -
OptionParser
# summary _ width=(width) (21413.0) -
サマリを表示するときの幅を整数で指定します。
...@param width サマリを表示するときの幅を整数で指定します。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_width # => 32
opts.summarize
#......=> [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summary_width = 8 # => 8
opts.summary_width # => 8
opts.summarize
# => [" -i\n", " --init\n", " -u\n", " --update\n", " -h\n", " --help\n"]
//}... -
OptionParser
# summary _ indent -> String (21313.0) -
サマリを表示する時のインデントを文字列で返します。
...@return サマリを表示する時のインデントを文字列で返します。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_indent # => " "
opts.......summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summary_indent = " "
opts.summary_indent # => " "
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
//}... -
OptionParser
# summary _ indent=(indent) (21313.0) -
サマリを表示する時のインデントを文字列で指定します。
...@param indent サマリを表示する時に使われるインデントを文字列で指定します。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_indent......# => " "
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summary_indent = " " # => " "
opts.summary_indent # => " "
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
//}... -
OptionParser
# summary _ width -> Integer (21313.0) -
サマリを表示するときの幅を整数で返します。
...。
@return サマリを表示するときの幅を整数で返します。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_width # => 32
opts.summarize
# => [......" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summary_width = 8
opts.summary_width # =>8
opts.summarize
# => [" -i\n", " --init\n", " -u\n", " --update\n", " -h\n", " --help\n"]
//}... -
RubyVM
:: AbstractSyntaxTree :: Node # children -> Array (21219.0) -
self の子ノードを配列で返します。
...のノードの type によって異なります。
戻り値は、ほかの RubyVM::AbstractSyntaxTree::Node のインスタンスや nil を含みます。
//emlist[][ruby]{
node = RubyVM::AbstractSyntaxTree.parse('1 + 2')
p node.children
# => [[], nil, #<RubyVM::AbstractSyntaxTree::Node:OPCALL@... -
RubyVM
:: AbstractSyntaxTree :: Node # inspect -> String (21219.0) -
self のデバッグ用の情報を含んだ文字列を返します。
...self のデバッグ用の情報を含んだ文字列を返します。
//emlist[][ruby]{
node = RubyVM::AbstractSyntaxTree.parse('1 + 1')
puts node.inspect
# => #<RubyVM::AbstractSyntaxTree::Node:SCOPE@1:0-1:5>
//}... -
RubyVM
:: AbstractSyntaxTree :: Node # last _ column -> Integer (21219.0) -
ソースコード中で、self を表すテキストが最後に現れる列番号を返します。
...ソースコード中で、self を表すテキストが最後に現れる列番号を返します。
列番号は0-originで、バイト単位で表されます。
//emlist[][ruby]{
node = RubyVM::AbstractSyntaxTree.parse('1 + 1')
p node.last_column # => 5
//}...