class Psych::TreeBuilder
クラスの継承リスト: Psych::TreeBuilder < Psych::Handler < Object < Kernel < BasicObject
要約
This class works in conjunction with Psych::Parser to build an in-memory parse tree that represents a YAML document.
Example:
parser = Psych::Parser.new Psych::TreeBuilder.new
parser.parse('--- foo')
tree = parser.handler.root
See Psych::Handler for documentation on the event methods used in this class.
特異メソッド
new -> Psych::TreeBuilder-
[TODO]
自身を初期化します。
インスタンスメソッド
alias(anchor)-
[TODO]
end_document(implicit_end = !streaming?)-
[TODO]
Handles end_document events with +version+, +tag_directives+, and +implicit+ styling.
See Psych::Handler#start_document
end_mapping-
[TODO]
end_sequence-
[TODO]
end_stream-
[TODO]
root-
[TODO]
Returns the root node for the built tree
scalar(value, anchor, tag, plain, quoted, style)-
[TODO]
start_document(version, tag_directives, implicit)-
[TODO]
Handles start_document events with +version+, +tag_directives+, and +implicit+ styling.
See Psych::Handler#start_document
start_mapping(anchor, tag, implicit, style)-
[TODO]
start_sequence(anchor, tag, implicit, style)-
[TODO]
start_stream(encoding)-
[TODO]
class Psych::TreeBuilder