Searched refs:tag_directives (Results 1 - 16 of 16) sorted by relevance

/macosx-10.10.1/ruby-106/ruby/ext/psych/lib/psych/nodes/
H A Ddocument.rb16 attr_accessor :tag_directives
44 def initialize version = [], tag_directives = [], implicit = false
47 @tag_directives = tag_directives
/macosx-10.10.1/ruby-106/ruby/ext/psych/lib/psych/handlers/
H A Ddocument_stream.rb11 def start_document version, tag_directives, implicit
12 n = Nodes::Document.new version, tag_directives, implicit
/macosx-10.10.1/ruby-106/ruby/test/psych/
H A Dtest_document.rb17 @doc.tag_directives)
25 @doc.tag_directives << ['!!', 'foo.com,2009:']
33 @doc.tag_directives = [['!']]
H A Dtest_tree_builder.rb31 assert_equal [], doc.tag_directives
/macosx-10.10.1/ruby-106/ruby/ext/psych/lib/psych/json/
H A Dyaml_events.rb4 def start_document version, tag_directives, implicit
5 super(version, tag_directives, !streaming?)
/macosx-10.10.1/ruby-106/ruby/ext/psych/lib/psych/
H A Dtree_builder.rb45 # Handles start_document events with +version+, +tag_directives+,
49 def start_document version, tag_directives, implicit
50 n = Nodes::Document.new version, tag_directives, implicit
56 # Handles end_document events with +version+, +tag_directives+,
H A Dhandler.rb51 # +tag_directives+, if the document is +implicit+.
54 # dealt with, +tag_directives+ is a list of tuples indicating the prefix
69 # tag_directives # => [["!", "tag:tenderlovemaking.com,2009:"]]
71 def start_document version, tag_directives, implicit
/macosx-10.10.1/ruby-106/ruby/ext/psych/yaml/
H A Dparser.c350 } tag_directives = { NULL, NULL }; local
390 &tag_directives.start, &tag_directives.end))
404 tag_directives.start, tag_directives.end, 0,
408 tag_directives.start = tag_directives.end = NULL;
424 while (tag_directives.start != tag_directives.end) {
425 yaml_free(tag_directives
1245 } tag_directives = { NULL, NULL, NULL }; local
[all...]
H A Dapi.c190 if (!STACK_INIT(parser, parser->tag_directives, INITIAL_STACK_SIZE))
204 STACK_DEL(parser, parser->tag_directives);
228 while (!STACK_EMPTY(parser, parser->tag_directives)) {
229 yaml_tag_directive_t tag_directive = POP(parser, parser->tag_directives);
233 STACK_DEL(parser, parser->tag_directives);
364 if (!STACK_INIT(emitter, emitter->tag_directives, INITIAL_STACK_SIZE))
376 STACK_DEL(emitter, emitter->tag_directives);
398 while (!STACK_EMPTY(emitter, emitter->tag_directives)) {
399 yaml_tag_directive_t tag_directive = POP(emitter, emitter->tag_directives);
403 STACK_DEL(emitter, emitter->tag_directives);
[all...]
H A Demitter.c370 for (tag_directive = emitter->tag_directives.start;
371 tag_directive != emitter->tag_directives.top; tag_directive ++) {
387 if (!PUSH(emitter, emitter->tag_directives, copy))
570 for (tag_directive = event->data.document_start.tag_directives.start;
571 tag_directive != event->data.document_start.tag_directives.end;
591 (event->data.document_start.tag_directives.start
592 != event->data.document_start.tag_directives.end)) &&
611 if (event->data.document_start.tag_directives.start
612 != event->data.document_start.tag_directives.end) {
614 for (tag_directive = event->data.document_start.tag_directives
[all...]
H A Dloader.c174 parser->document->tag_directives.start
175 = first_event->data.document_start.tag_directives.start;
176 parser->document->tag_directives.end
177 = first_event->data.document_start.tag_directives.end;
H A Dyaml.h409 } tag_directives; member in struct:yaml_event_s::__anon12110::__anon12112
799 } tag_directives; member in struct:yaml_document_s
1275 } tag_directives; member in struct:yaml_parser_s
1658 } tag_directives; member in struct:yaml_emitter_s
H A Ddumper.c141 document->tag_directives.start, document->tag_directives.end,
H A Dyaml_private.h566 (event).data.document_start.tag_directives.start = (event_tag_directives_start), \
567 (event).data.document_start.tag_directives.end = (event_tag_directives_end), \
624 (document).tag_directives.start = (document_tag_directives_start), \
625 (document).tag_directives.end = (document_tag_directives_end), \
/macosx-10.10.1/ruby-106/ruby/ext/psych/lib/psych/visitors/
H A Demitter.rb25 @handler.start_document o.version, o.tag_directives, o.implicit
/macosx-10.10.1/ruby-106/ruby/ext/psych/
H A Dpsych_parser.c303 VALUE tag_directives = rb_ary_new(); local
312 if(event.data.document_start.tag_directives.start) {
314 event.data.document_start.tag_directives.start;
316 event.data.document_start.tag_directives.end;
336 rb_ary_push(tag_directives, rb_ary_new3((long)2, handle, prefix));
341 args[2] = tag_directives;

Completed in 152 milliseconds