748件ヒット
[1-100件を表示]
(0.056秒)
ライブラリ
- psych (693)
-
rexml
/ document (44)
クラス
-
Psych
:: Nodes :: Alias (33) -
Psych
:: Nodes :: Document (77) -
Psych
:: Nodes :: Mapping (132) -
Psych
:: Nodes :: Scalar (209) -
Psych
:: Nodes :: Sequence (132) -
Psych
:: Nodes :: Stream (44) -
Psych
:: Stream (22) -
REXML
:: Document (11) -
REXML
:: Element (33)
キーワード
- ANY (33)
- BLOCK (22)
-
DOUBLE
_ QUOTED (11) - Emitter (11)
- FLOW (22)
- FOLDED (11)
- LITERAL (11)
- PLAIN (11)
-
SINGLE
_ QUOTED (11) - TreeBuilder (11)
- UTF16BE (11)
- UTF16LE (11)
- UTF8 (11)
- YAMLTree (11)
- anchor (44)
- anchor= (44)
- context (11)
- context= (11)
- implicit (33)
- implicit= (33)
- plain (11)
- plain= (11)
- quoted (11)
- quoted= (11)
-
rexml
/ parsers / ultralightparser (11) - start (22)
- style (33)
- style= (33)
- tag (33)
- tag= (33)
-
tag
_ directives (11) -
tag
_ directives= (11) - value (11)
- value= (11)
- version (11)
- version= (11)
検索結果
先頭5件
- Psych
:: Nodes :: Stream . new(encoding = Psych :: Nodes :: Stream :: UTF8) -> Psych :: Nodes :: Stream - Psych
:: Nodes :: Scalar . new(value , anchor=nil , tag=nil , plain=true , quoted=false , style=ANY) -> Psych :: Nodes:Scalar - Psych
:: Nodes :: Mapping . new(anchor=nil , tag=nil , implicit=true , style=BLOCK) -> Psych :: Nodes :: Mapping - Psych
:: Nodes :: Sequence . new(anchor=nil , tag=nil , implicit=true , style=BLOCK) -> Psych :: Nodes :: Sequence - Psych
:: Nodes :: Document . new(version=[] , tag _ directives=[] , implicit=false) -> Psych :: Nodes :: Document
-
Psych
:: Nodes :: Stream . new(encoding = Psych :: Nodes :: Stream :: UTF8) -> Psych :: Nodes :: Stream (21337.0) -
Psych::Nodes::Stream オブジェクトを生成して返します。
...Psych::Nodes::Stream オブジェクトを生成して返します。
encoding には stream に使われるエンコーディングを指定します。
以下のいずれかを指定します。
* Psych::Nodes::Node::UTF8
* Psych::Nodes::Node::UTF16BE
* Psych::Nodes::Node::UTF16LE
@param... -
Psych
:: Nodes :: Scalar . new(value , anchor=nil , tag=nil , plain=true , quoted=false , style=ANY) -> Psych :: Nodes:Scalar (21238.0) -
Scalar オブジェクトを生成します。
...。
style は次の値のいずれかです。
* Psych::Nodes::Scalar::ANY
* Psych::Nodes::Scalar::PLAIN
* Psych::Nodes::Scalar::SINGLE_QUOTED
* Psych::Nodes::Scalar::DOUBLE_QUOTED
* Psych::Nodes::Scalar::LITERAL
* Psych::Nodes::Scalar::FOLDED
@param value スカラー値
@param anchor... -
Psych
:: Nodes :: Mapping . new(anchor=nil , tag=nil , implicit=true , style=BLOCK) -> Psych :: Nodes :: Mapping (21220.0) -
新たな mapping オブジェクトを生成します。
...キュメント上の style を整数で指定します。以下のいずれ
かを指定できます。
* Psych::Nodes::Mapping::ANY
* Psych::Nodes::Mapping::BLOCK
* Psych::Nodes::Mapping::FLOW
@param anchor mapping に付加された anchor
@param tag mapping に付加された tag
@param i... -
Psych
:: Nodes :: Sequence . new(anchor=nil , tag=nil , implicit=true , style=BLOCK) -> Psych :: Nodes :: Sequence (21220.0) -
新たな sequence オブジェクトを生成します。
...ュメント上の style を整数で指定します。以下のいずれ
かを指定できます。
* Psych::Nodes::Sequence::ANY
* Psych::Nodes::Sequence::BLOCK
* Psych::Nodes::Sequence::FLOW
@param anchor sequence に付加された anchor
@param tag sequence に付加された tag
@param... -
Psych
:: Nodes :: Document . new(version=[] , tag _ directives=[] , implicit=false) -> Psych :: Nodes :: Document (21214.0) -
Document オブジェクトを生成します。
...YAML 1.1 のドキュメントで、
tag directive を1つ持ち、 implicit にドキュメントが開始
している Document オブジェクトを生成しています。
Psych::Nodes::Document.new(
[1,1],
tenderlovemaking.com,2009:",
true)
@see Psych::Handler#start_document... -
Psych
:: Nodes :: Alias . new(anchor) -> Psych :: Nodes :: Alias (21202.0) -
新たな Alias オブジェクトを生成します。
新たな Alias オブジェクトを生成します。
anchor で指す先の anchor を指定します。
@param anchor 指す先の anchor -
Psych
:: Nodes (18168.0) -
Psych が中間データとして利用している AST (Abstract Syntax Tree) に 関するモジュール。
...間的な AST に変換してから
それを YAML ドキュメントに変換します。
YAML AST の各ノードのクラスはすべて Psych::Nodes の下にあります。
AST を手作業で構築して、visitor を使って AST を YAML ドキュメントや
Ruby のオブジェクトに......リストの AST を構築しています。
# Create our nodes
stream = Psych::Nodes::Stream.new
doc = Psych::Nodes::Document.new
seq = Psych::Nodes::Sequence.new
scalar = Psych::Nodes::Scalar.new('foo')
# Build up our tree
stream.children << doc
doc.children << seq
seq......仕様
正しい YAML AST は Psych::Nodes::Stream ノードが
木のルートでなければなりません。Psych::Nodes::Stream ノードは
1つ以上の Psych::Nodes::Document ノードを子として
持っていなければなりません。
Psych::Nodes::Document は子ノードをちょ... -
REXML
:: Element . new(arg = UNDEFINED , parent = nil , context = nil) -> REXML :: Element (18125.0) -
要素オブジェクトを生成します。
...を無視して欲しい場合には
:all を指定します。
REXML::Element#whitespace も参照してください。
: :ignore_whitespace_nodes
空白のみからなるノードを無視して欲しい要素の名前の集合を
文字列の配列で指定します。
すべての要......します。
これが設定された場合、空白のみからなる text node は追加されません。
REXML::Element#ignore_whitespace_nodes も参照してください。
: :raw
raw mode で取り扱いをして欲しい要素の名前の集合を
文字列の配列で指定します......一切変換されません。
REXML::Element#raw も参照してください。
@param arg 要素の名前(String)もしくは初期化に使う REXML::Element
オブジェクト
@param parent 親ノード
@param context コンテキスト(Hash)
@see REXML::Parent.new, REXML::Child.new... -
REXML
:: Document . new(source = nil , context = {}) -> REXML :: Document (18113.0) -
Document オブジェクトを生成します。
...を無視して欲しい場合には
:all を指定します。
REXML::Element#whitespace も参照してください。
: :ignore_whitespace_nodes
空白のみからなるノードを無視して欲しい要素の名前の集合を
文字列の配列で指定します。
すべての要......します。
これが設定された場合、空白のみからなる text node は追加されません。
REXML::Element#ignore_whitespace_nodes も参照してください。
: :raw
raw mode で取り扱いをして欲しい要素の名前の集合を
文字列の配列で指定します... -
Psych
:: Nodes :: Alias # anchor -> String (3018.0) -
alias が指す先の anchor を返します。
...alias が指す先の anchor を返します。
@see Psych::Nodes::Alias#anchor=,
Psych::Nodes::Alias.new...