./PaxHeaders/YAML-PP-v0.43.00000644000000000000000000000013215263373362012213 xustar0030 mtime=1791882994.995180027 30 atime=1791882994.971419121 30 ctime=1791882994.995180027 YAML-PP-v0.43.0/0000755000175000017500000000000015263373362011565 5ustar00tinatinaYAML-PP-v0.43.0/PaxHeaders/ext0000644000000000000000000000013215263373362012656 xustar0030 mtime=1791882994.995326415 30 atime=1791882994.995180027 30 ctime=1791882994.995326415 YAML-PP-v0.43.0/ext/0000755000175000017500000000000015263373362012365 5ustar00tinatinaYAML-PP-v0.43.0/ext/PaxHeaders/yaml-test-schema0000644000000000000000000000013215263373363016034 xustar0030 mtime=1791882995.192753945 30 atime=1791882994.995180027 30 ctime=1791882995.192753945 YAML-PP-v0.43.0/ext/yaml-test-schema/0000755000175000017500000000000015263373363015543 5ustar00tinatinaYAML-PP-v0.43.0/ext/yaml-test-schema/PaxHeaders/etc0000644000000000000000000000013215263373363016607 xustar0030 mtime=1791882995.192753945 30 atime=1791882995.192753945 30 ctime=1791882995.192753945 YAML-PP-v0.43.0/ext/yaml-test-schema/etc/0000755000175000017500000000000015263373363016316 5ustar00tinatinaYAML-PP-v0.43.0/ext/yaml-test-schema/etc/PaxHeaders/generate-schema-html.pl0000644000000000000000000000013015263373363023211 xustar0029 mtime=1791882995.19295495 30 atime=1791882995.192753945 29 ctime=1791882995.19295495 YAML-PP-v0.43.0/ext/yaml-test-schema/etc/generate-schema-html.pl0000644000175000017500000001011015263373363022636 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use 5.010; use Data::Dumper; use FindBin '$Bin'; use lib "$Bin/../lib"; use YAML::PP; use URI::Escape qw/ uri_escape /; my $file = "$Bin/../yaml-schema.yaml"; my $htmlfile = "$Bin/../gh-pages/data.html"; my $data = YAML::PP::LoadFile($file); my %examples; for my $input (sort keys %$data) { my $schemas = $data->{ $input }; my @keys = keys %$schemas; for my $key (@keys) { my $def = $schemas->{ $key }; my @schemas = split m/ *, */, $key; for my $schema (@schemas) { $examples{ $input }->{ $schema } = $def; } } } my @keys = qw/ failsafe json core yaml11 /; for my $input (sort keys %examples) { my $schemas = $examples{ $input }; my $str = 0; for my $schema (@keys) { my $example = $schemas->{ $schema }; unless ($example) { $example = $schemas->{ $schema } = [ 'todo', '', '', '' ]; } if ($example->[0] eq 'str' or $example->[0] eq 'todo') { $str++; } } } my %type_index = ( null => 0, bool => 1, float => 2, inf => 3, nan => 4, int => 5, str => 6, todo => 7, ); my $table = schema_table(\%examples); my $html = generate_html($table); open my $fh, '>', $htmlfile or die $!; print $fh $html; close $fh; sub sort_rows { my ($x, $y, $a, $b) = @_; $type_index{ $x->{yaml11}->[0] } <=> $type_index{ $y->{yaml11}->[0] } || $type_index{ $x->{core}->[0] } <=> $type_index{ $y->{core}->[0] } || $type_index{ $x->{json}->[0] } <=> $type_index{ $y->{json}->[0] } || lc $a cmp lc $b || $a cmp $b } sub schema_table { my ($examples) = @_; my $html = ''; my @sorted = sort { sort_rows($examples->{ $a }, $examples->{ $b }, $a, $b) } grep { not m/^!!\w/ } keys %$examples; my @sorted_explicit = sort { sort_rows($examples->{ $a }, $examples->{ $b }, $a, $b) } grep { m/^!!\w/ } keys %$examples; my @all = (@sorted, @sorted_explicit); $html .= qq{\n}; my $header; $header .= qq{}; $header .= join '', map { my $m = $_ eq 'YAML' ? 'YAML.pm' : $_; qq{\n}; } (qw/ Failsafe JSON Core /, 'YAML 1.1'); $header .= qq{\n}; $html .= $header; $html .= qq{} . (qq{} x 4) . qq{\n}; for my $i (0 .. $#all) { my $input = $all[ $i ]; if ($i and $i % 30 == 0) { $html .= $header; } my $schemas = $examples->{ $input }; my $input_escaped = uri_escape($input); $input =~ s/ / /g; $html .= qq{}; } else { $html .= qq{}; } } $html .= qq{\n}; } $html .= "
YAML 1.2YAML 1.1
Input YAML$m
TypeOutput
$input}; for my $schema (@keys) { my $example = $schemas->{ $schema }; my $class = 'type-str'; my ($type, $perl, $out) = @$example; $class = "type-$type"; for ($out) { s/ / /g; } if (0 and $type eq 'str') { $html .= qq{$type$type
$out
"; return $html; } sub generate_html { my ($content) = @_; my $html = <<'EOM'; YAML Schema Data YAML Test Schema | Schemas | Test Data

For each of the four schemas, the first column shows to which type the input YAML should resolve. The second column shows how the output YAML should look like.

EOM $html .= $content; $html .= <<'EOM'; EOM return $html; } YAML-PP-v0.43.0/ext/yaml-test-schema/PaxHeaders/yaml-schema.yaml0000644000000000000000000000013215263373362021174 xustar0030 mtime=1791882994.996520428 30 atime=1791882994.996409589 30 ctime=1791882994.996520428 YAML-PP-v0.43.0/ext/yaml-test-schema/yaml-schema.yaml0000644000175000017500000005440715263373362020640 0ustar00tinatina--- # Documentation: # # 'input YAML': # schema1, schema2: ['type', 'loaded value', 'dumped YAML'] # # If you use this, you need to split the keys by ', ' to be able # to iterate over the schemas. # # In case the 'loaded value' is a function (e.g. 'true()'), it stands for the # native type # true(): boolean true # false(): boolean false # null(): undefined, Null, None, ... # inf(): infinity # inf-neg(): negative infinity # nan(): Not A Number # # The 'dumped YAML' is how the value should be dumped, without the starting --- ############################################### # True ############################################### 'true': json, core, yaml11: ['bool', 'true()', 'true'] failsafe: ['str', 'true', 'true'] 'True': core, yaml11: ['bool', 'true()', 'true'] failsafe, json: ['str', 'True', 'True'] 'TRUE': core, yaml11: ['bool', 'true()', 'true'] failsafe, json: ['str', 'TRUE', 'TRUE'] 'y': yaml11: ['bool', 'true()', "true"] failsafe, json, core: ['str', 'y', "y"] 'Y': yaml11: ['bool', 'true()', "true"] failsafe, json, core: ['str', 'Y', "Y"] 'yes': yaml11: ['bool', 'true()', "true"] failsafe, json, core: ['str', 'yes', "yes"] 'Yes': yaml11: ['bool', 'true()', "true"] failsafe, json, core: ['str', 'Yes', "Yes"] 'YES': yaml11: ['bool', 'true()', "true"] failsafe, json, core: ['str', 'YES', "YES"] 'on': yaml11: ['bool', 'true()', "true"] failsafe, json, core: ['str', 'on', "on"] 'On': yaml11: ['bool', 'true()', "true"] failsafe, json, core: ['str', 'On', "On"] 'ON': yaml11: ['bool', 'true()', "true"] failsafe, json, core: ['str', 'ON', "ON"] '!!bool true': json, core, yaml11: ['bool', 'true()', 'true'] '!!bool True': core, yaml11: ['bool', 'true()', 'true'] '!!bool TRUE': core, yaml11: ['bool', 'true()', 'true'] '!!bool y': yaml11: ['bool', 'true()', "true"] '!!bool Y': yaml11: ['bool', 'true()', "true"] '!!bool yes': yaml11: ['bool', 'true()', "true"] '!!bool Yes': yaml11: ['bool', 'true()', "true"] '!!bool YES': yaml11: ['bool', 'true()', "true"] '!!bool on': yaml11: ['bool', 'true()', "true"] '!!bool On': yaml11: ['bool', 'true()', "true"] '!!bool ON': yaml11: ['bool', 'true()', "true"] '!!str true': failsafe: ['str', 'true', 'true'] json, core, yaml11: ['str', 'true', "'true'"] '!!str True': failsafe, json: ['str', 'True', 'True'] core, yaml11: ['str', 'True', "'True'"] '!!str TRUE': failsafe, json: ['str', 'TRUE', 'TRUE'] core, yaml11: ['str', 'TRUE', "'TRUE'"] '!!str yes': failsafe, json, core: ['str', 'yes', "yes" ] yaml11: ['str', 'yes', "'yes'" ] '!!str Yes': failsafe, json, core: ['str', 'Yes', "Yes" ] yaml11: ['str', 'Yes', "'Yes'" ] '!!str YES': failsafe, json, core: ['str', 'YES', "YES" ] yaml11: ['str', 'YES', "'YES'" ] '!!str y': failsafe, json, core: ['str', 'y', "y" ] yaml11: ['str', 'y', "'y'" ] '!!str Y': failsafe, json, core: ['str', 'Y', "Y" ] yaml11: ['str', 'Y', "'Y'" ] '!!str on': failsafe, json, core: ['str', 'on', "on" ] yaml11: ['str', 'on', "'on'" ] '!!str On': failsafe, json, core: ['str', 'On', "On" ] yaml11: ['str', 'On', "'On'" ] '!!str ON': failsafe, json, core: ['str', 'ON', "ON" ] yaml11: ['str', 'ON', "'ON'" ] ############################################### # False ############################################### 'false': failsafe: ['str', 'false', 'false'] json, core, yaml11: ['bool', 'false()', 'false'] 'False': failsafe, json: ['str', 'False', 'False'] core, yaml11: ['bool', 'false()', 'false'] 'FALSE': failsafe, json: ['str', 'FALSE', 'FALSE'] core, yaml11: ['bool', 'false()', 'false'] 'n': yaml11: ['bool', 'false()', "false"] failsafe, json, core: ['str', 'n', "n"] 'N': yaml11: ['bool', 'false()', "false"] failsafe, json, core: ['str', 'N', "N"] 'no': yaml11: ['bool', 'false()', "false"] failsafe, json, core: ['str', 'no', "no"] 'NO': yaml11: ['bool', 'false()', "false"] failsafe, json, core: ['str', 'NO', "NO"] 'off': yaml11: ['bool', 'false()', "false"] failsafe, json, core: ['str', 'off', "off"] 'Off': yaml11: ['bool', 'false()', "false"] failsafe, json, core: ['str', 'Off', "Off"] 'OFF': yaml11: ['bool', 'false()', "false"] failsafe, json, core: ['str', 'OFF', "OFF"] '!!bool false': json, core, yaml11: ['bool', 'false()', 'false'] '!!bool False': core, yaml11: ['bool', 'false()', 'false'] '!!bool FALSE': core, yaml11: ['bool', 'false()', 'false'] '!!bool n': yaml11: ['bool', 'false()', "false"] '!!bool N': yaml11: ['bool', 'false()', "false"] '!!bool no': yaml11: ['bool', 'false()', "false"] '!!bool No': yaml11: ['bool', 'false()', "false"] '!!bool NO': yaml11: ['bool', 'false()', "false"] '!!bool off': yaml11: ['bool', 'false()', "false"] '!!bool Off': yaml11: ['bool', 'false()', "false"] '!!bool OFF': yaml11: ['bool', 'false()', "false"] '!!str false': json, core, yaml11: ['str', 'false', "'false'"] failsafe: ['str', 'false', 'false'] '!!str False': failsafe, json: ['str', 'False', "False"] core, yaml11: ['str', 'False', "'False'"] '!!str FALSE': failsafe, json: ['str', 'FALSE', "FALSE"] core, yaml11: ['str', 'FALSE', "'FALSE'"] '!!str n': failsafe, json, core: ['str', 'n', "n" ] yaml11: ['str', 'n', "'n'" ] '!!str N': failsafe, json, core: ['str', 'N', "N" ] yaml11: ['str', 'N', "'N'" ] '!!str no': failsafe, json, core: ['str', 'no', "no" ] yaml11: ['str', 'no', "'no'" ] '!!str NO': failsafe, json, core: ['str', 'NO', "NO" ] yaml11: ['str', 'NO', "'NO'" ] '!!str off': failsafe, json, core: ['str', 'off', "off" ] yaml11: ['str', 'off', "'off'" ] '!!str Off': failsafe, json, core: ['str', 'Off', "Off" ] yaml11: ['str', 'Off', "'Off'" ] '!!str OFF': failsafe, json, core: ['str', 'OFF', "OFF" ] yaml11: ['str', 'OFF', "'OFF'" ] ############################################### # Null ############################################### 'null': failsafe: ['str', 'null', 'null'] json, core, yaml11: ['null', 'null()', "null"] 'Null': failsafe, json: ['str', 'Null', 'Null'] core, yaml11: ['null', 'null()', "null"] 'NULL': failsafe, json: ['str', 'NULL', 'NULL'] core, yaml11: ['null', 'null()', "null"] '~': failsafe, json: ['str', '~', '~'] core, yaml11: ['null', 'null()', "null"] '!!null null': json, core, yaml11: ['null', 'null()', 'null'] '!!null Null': core, yaml11: ['null', 'null()', "null"] '!!null NULL': core, yaml11: ['null', 'null()', "null"] '!!null ~': core, yaml11: ['null', 'null()', 'null'] '!!str null': failsafe: ['str', 'null', 'null'] json, core, yaml11: ['str', 'null', "'null'"] '!!str Null': failsafe, json: ['str', 'Null', "Null"] core, yaml11: ['str', 'Null', "'Null'"] '!!str NULL': failsafe, json: ['str', 'NULL', "NULL"] core, yaml11: ['str', 'NULL', "'NULL'"] '!!str ~': core, yaml11: ['str', '~', "'~'"] failsafe, json: ['str', '~', '~'] '#empty': core, yaml11: ['null', 'null()', "null"] failsafe, json: ['str', '', "''"] '!!null #empty': core, yaml11: ['null', 'null()', "null"] '!!str #empty': failsafe, json, core, yaml11: ['str', '', "''"] ############################################### # Inf ############################################### '.inf': failsafe, json: ['str', '.inf', '.inf'] core, yaml11: ['inf', 'inf()', '.inf'] '.Inf': failsafe, json: ['str', '.Inf', '.Inf'] core, yaml11: ['inf', 'inf()', '.inf'] '.INF': failsafe, json: ['str', '.INF', '.INF'] core, yaml11: ['inf', 'inf()', '.inf'] '!!float .inf': core, yaml11: ['inf', 'inf()', '.inf'] '!!float .Inf': core, yaml11: ['inf', 'inf()', '.inf'] '!!float .INF': core, yaml11: ['inf', 'inf()', '.inf'] '!!str .inf': failsafe, json: ['str', '.inf', ".inf"] core, yaml11: ['str', '.inf', "'.inf'"] '!!str .Inf': failsafe, json: ['str', '.Inf', ".Inf"] core, yaml11: ['str', '.Inf', "'.Inf'"] '!!str .INF': failsafe, json: ['str', '.INF', ".INF"] core, yaml11: ['str', '.INF', "'.INF'"] '+.inf': core, yaml11: ['inf', 'inf()', '.inf'] failsafe, json: ['str', '+.inf', '+.inf'] '+.Inf': core, yaml11: ['inf', 'inf()', '.inf'] failsafe, json: ['str', '+.Inf', '+.Inf'] '+.INF': core, yaml11: ['inf', 'inf()', '.inf'] failsafe, json: ['str', '+.INF', '+.INF'] '!!float +.inf': core, yaml11: ['inf', 'inf()', '.inf'] '!!float +.Inf': core, yaml11: ['inf', 'inf()', '.inf'] '!!float +.INF': core, yaml11: ['inf', 'inf()', '.inf'] '!!str +.inf': failsafe, json: ['str', '+.inf', "+.inf"] core, yaml11: ['str', '+.inf', "'+.inf'"] '!!str +.Inf': failsafe, json: ['str', '+.Inf', "+.Inf"] core, yaml11: ['str', '+.Inf', "'+.Inf'"] '!!str +.INF': failsafe, json: ['str', '+.INF', "+.INF"] core, yaml11: ['str', '+.INF', "'+.INF'"] '-.inf': failsafe, json: ['str', '-.inf', '-.inf'] core, yaml11: ['inf', 'inf-neg()', '-.inf'] '-.Inf': failsafe, json: ['str', '-.Inf', '-.Inf'] core, yaml11: ['inf', 'inf-neg()', '-.inf'] '-.INF': failsafe, json: ['str', '-.INF', '-.INF'] core, yaml11: ['inf', 'inf-neg()', '-.inf'] '!!float -.inf': core, yaml11: ['inf', 'inf-neg()', '-.inf'] '!!float -.Inf': core, yaml11: ['inf', 'inf-neg()', '-.inf'] '!!float -.INF': core, yaml11: ['inf', 'inf-neg()', '-.inf'] '!!str -.inf': failsafe, json: ['str', '-.inf', "-.inf"] core, yaml11: ['str', '-.inf', "'-.inf'"] '!!str -.Inf': failsafe, json: ['str', '-.Inf', "-.Inf"] core, yaml11: ['str', '-.Inf', "'-.Inf'"] '!!str -.INF': failsafe, json: ['str', '-.INF', "-.INF"] core, yaml11: ['str', '-.INF', "'-.INF'"] ############################################### # NaN ############################################### '.nan': failsafe, json: ['str', '.nan', '.nan'] core, yaml11: ['nan', 'nan()', '.nan'] '.NaN': core, yaml11: ['nan', 'nan()', '.nan'] failsafe, json: ['str', '.NaN', '.NaN'] '.NAN': failsafe, json: ['str', '.NAN', '.NAN'] core, yaml11: ['nan', 'nan()', '.nan'] '!!float .nan': core, yaml11: ['nan', 'nan()', '.nan'] '!!float .NaN': core, yaml11: ['nan', 'nan()', '.nan'] '!!float .NAN': core, yaml11: ['nan', 'nan()', '.nan'] '!!str .nan': failsafe, json: ['str', '.nan', ".nan"] core, yaml11: ['str', '.nan', "'.nan'"] '!!str .NaN': failsafe, json: ['str', '.NaN', ".NaN"] core, yaml11: ['str', '.NaN', "'.NaN'"] '!!str .NAN': failsafe, json: ['str', '.NAN', ".NAN"] core, yaml11: ['str', '.NAN', "'.NAN'"] ############################################### # Int ############################################### '0': failsafe: ['str', '0', '0'] json, core, yaml11: ['int', '0', '0'] '00': failsafe, json: ['str', '00', '00'] core: ['int', '0', '0'] yaml11: ['int', '0', '0'] '0011': core: ['int', '11', '11'] failsafe, json: ['str', '0011', '0011'] yaml11: ['int', '9', '9'] '010': failsafe, json: ['str', '010', '010'] core: ['int', '10', '10'] yaml11: ['int', '8', '8'] '07': failsafe, json: ['str', '07', '07'] yaml11: ['int', '7', '7'] core: ['int', '7', '7'] '08': failsafe, json: ['str', '08', '08'] yaml11: ['str', '08', '08'] core: ['int', '8', '8'] '02_0': failsafe, json, core: ['str', '02_0', '02_0'] yaml11: ['int', '16', '16'] '23': failsafe: ['str', '23', '23'] json, core, yaml11: ['int', '23', '23'] '100_000': yaml11: ['int', '100000', '100000'] failsafe, json, core: ['str', '100_000', '100_000'] '!!int 0': json, core, yaml11: ['int', '0', '0'] '!!int 00': yaml11: ['int', '0', '0'] '!!int 0011': yaml11: ['int', '9', '9'] core: ['int', '11', '11'] '!!int 010': yaml11: ['int', '8', '8'] '!!int 07': core: ['int', '7', '7'] yaml11: ['int', '7', '7'] '!!int 02_0': yaml11: ['int', '16', '16'] '!!int 23': json, core, yaml11: ['int', '23', '23'] '!!int 100_000': yaml11: ['int', '100000', '100000'] '-0': json, core, yaml11: ['int', '0', '0'] failsafe: ['str', '-0', '-0'] '-23': json, core, yaml11: ['int', '-23', '-23'] failsafe: ['str', '-23', '-23'] '-0100_200': failsafe, json, core: ['str', '-0100_200', '-0100_200'] yaml11: ['int', '-32896', '-32896'] '!!int -0': json, core, yaml11: ['int', '0', '0'] '!!int -23': json, core, yaml11: ['int', '-23', '-23'] '!!int -0100_200': yaml11: ['int', '-32896', '-32896'] '+0': core, yaml11: ['int', '0', '0'] failsafe, json: ['str', '+0', '+0'] '+23': core, yaml11: ['int', '23', '23'] failsafe, json: ['str', '+23', '+23'] '+0100_200': yaml11: ['int', '32896', '32896'] failsafe, json, core: ['str', '+0100_200', '+0100_200'] '!!int +0': core, yaml11: ['int', '0', '0'] '!!int +23': core, yaml11: ['int', '23', '23'] '!!int +0100_200': yaml11: ['int', '32896', '32896'] '!!str 0': failsafe: ['str', '0', "0"] json, core, yaml11: ['str', '0', "'0'"] '!!str 00': failsafe, json: ['str', '00', "00"] core, yaml11: ['str', '00', "'00'"] '!!str 010': failsafe, json: ['str', '010', "010"] core, yaml11: ['str', '010', "'010'"] '!!str 0011': failsafe, json: ['str', '0011', "0011"] core, yaml11: ['str', '0011', "'0011'"] '!!str 07': failsafe, json: ['str', '07', "07"] core, yaml11: ['str', '07', "'07'"] '!!str 23': failsafe: ['str', '23', '23'] json, core, yaml11: ['str', '23', "'23'"] '!!str 100_000': failsafe, json, core: ['str', '100_000', "100_000"] yaml11: ['str', '100_000', "'100_000'"] '!!str 02_0': failsafe, json, core: ['str', '02_0', "02_0"] yaml11: ['str', '02_0', "'02_0'"] '!!str -0': failsafe: ['str', '-0', "-0"] json, core, yaml11: ['str', '-0', "'-0'"] '!!str -23': failsafe: ['str', '-23', "-23"] json, core, yaml11: ['str', '-23', "'-23'"] '!!str +0': failsafe, json: ['str', '+0', "+0"] core, yaml11: ['str', '+0', "'+0'"] '!!str +23': failsafe, json: ['str', '+23', "+23"] core, yaml11: ['str', '+23', "'+23'"] '!!str +0100_200': failsafe, json, core: ['str', '+0100_200', "+0100_200"] yaml11: ['str', '+0100_200', "'+0100_200'"] '!!str -0100_200': failsafe, json, core: ['str', '-0100_200', "-0100_200"] yaml11: ['str', '-0100_200', "'-0100_200'"] ############################################### # Oct ############################################### '0o0': core: ['int', '0', '0'] failsafe, json, yaml11: ['str', '0o0', '0o0'] '0o7': core: ['int', '7', '7'] failsafe, json, yaml11: ['str', '0o7', '0o7'] '0o10': core: ['int', '8', '8'] failsafe, json, yaml11: ['str', '0o10', '0o10'] '!!int 0o0': core: ['int', '0', '0'] '!!int 0o7': core: ['int', '7', '7'] '!!int 0o10': core: ['int', '8', '8'] '!!str 0o0': failsafe, json, yaml11: ['str', '0o0', "0o0"] core: ['str', '0o0', "'0o0'"] '!!str 0o7': failsafe, json, yaml11: ['str', '0o7', "0o7"] core: ['str', '0o7', "'0o7'"] '!!str 0o10': failsafe, json, yaml11: ['str', '0o10', "0o10"] core: ['str', '0o10', "'0o10'"] ############################################### # Hex ############################################### '0x0': failsafe, json: ['str', '0x0', '0x0'] core, yaml11: ['int', '0', '0'] '0x10': failsafe, json: ['str', '0x10', '0x10'] core, yaml11: ['int', '16', '16'] '0x42': failsafe, json: ['str', '0x42', '0x42'] core, yaml11: ['int', '66', '66'] '0xa': failsafe, json: ['str', '0xa', '0xa'] core, yaml11: ['int', '10', '10'] '-0x30': failsafe, json, core: ['str', '-0x30', '-0x30'] yaml11: ['int', '-48', '-48'] '0x2_0': failsafe, json, core: ['str', '0x2_0', '0x2_0'] yaml11: ['int', '32', '32'] '!!int 0x10': core, yaml11: ['int', '16', '16'] '!!int 0x0': core, yaml11: ['int', '0', '0'] '!!int 0x42': core, yaml11: ['int', '66', '66'] '!!int 0xa': core, yaml11: ['int', '10', '10'] '!!int 0x2_0': yaml11: ['int', '32', '32'] '!!int -0x30': yaml11: ['int', '-48', '-48'] '!!str 0x0': failsafe, json: ['str', '0x0', "0x0"] core, yaml11: ['str', '0x0', "'0x0'"] '!!str 0x2_0': failsafe, json, core: ['str', '0x2_0', "0x2_0"] yaml11: ['str', '0x2_0', "'0x2_0'"] '!!str -0x30': failsafe, json, core: ['str', '-0x30', "-0x30"] yaml11: ['str', '-0x30', "'-0x30'"] '!!str 0xa': failsafe, json: ['str', '0xa', "0xa"] core, yaml11: ['str', '0xa', "'0xa'"] ############################################### # Binary ############################################### '0b0': failsafe, json, core: ['str', '0b0', '0b0'] yaml11: ['int', '0', '0'] '+0b100': failsafe, json, core: ['str', '+0b100', '+0b100'] yaml11: ['int', '4', '4'] '-0b101': failsafe, json, core: ['str', '-0b101', '-0b101'] yaml11: ['int', '-5', '-5'] '0b100_101': failsafe, json, core: ['str', '0b100_101', '0b100_101'] yaml11: ['int', '37', '37'] '!!int 0b0': yaml11: ['int', '0', '0'] '!!int 0b100_101': yaml11: ['int', '37', '37'] '!!int +0b100': yaml11: ['int', '4', '4'] '!!int -0b101': yaml11: ['int', '-5', '-5'] '!!str 0b0': failsafe, json, core: ['str', '0b0', "0b0"] yaml11: ['str', '0b0', "'0b0'"] '!!str -0b101': failsafe, json, core: ['str', '-0b101', "-0b101"] yaml11: ['str', '-0b101', "'-0b101'"] '!!str 0b100_101': failsafe, json, core: ['str', '0b100_101', "0b100_101"] yaml11: ['str', '0b100_101', "'0b100_101'"] '!!str +0b100': failsafe, json, core: ['str', '+0b100', "+0b100"] yaml11: ['str', '+0b100', "'+0b100'"] ############################################### # Sexagesimal ############################################### '190:20:30': failsafe, json, core: ['str', '190:20:30', '190:20:30'] yaml11: ['int', '685230', '685230'] '-190:20:30': failsafe, json, core: ['str', '-190:20:30', '-190:20:30'] yaml11: ['int', '-685230', '-685230'] '+190:20:30': failsafe, json, core: ['str', '+190:20:30', '+190:20:30'] yaml11: ['int', '685230', '685230'] '!!int 190:20:30': yaml11: ['int', '685230', '685230'] '!!int -190:20:30': yaml11: ['int', '-685230', '-685230'] '!!int +190:20:30': yaml11: ['int', '685230', '685230'] '!!str 190:20:30': failsafe, json, core: ['str', '190:20:30', "190:20:30"] yaml11: ['str', '190:20:30', "'190:20:30'"] '!!str -190:20:30': failsafe, json, core: ['str', '-190:20:30', "-190:20:30"] yaml11: ['str', '-190:20:30', "'-190:20:30'"] '!!str +190:20:30': failsafe, json, core: ['str', '+190:20:30', "+190:20:30"] yaml11: ['str', '+190:20:30', "'+190:20:30'"] ############################################### # Float ############################################### '.0': failsafe, json: ['str', '.0', '.0'] core, yaml11: ['float', '0.0', '0.0'] '.14': failsafe, json: ['str', '.14', '.14'] core, yaml11: ['float', '0.14', '0.14'] '0.0': failsafe: ['str', '0.0', '0.0'] json, core, yaml11: ['float', '0.0', '0.0'] '3.14': failsafe: ['str', '3.14', '3.14'] json, core, yaml11: ['float', '3.14', '3.14'] '001.23': failsafe, json: ['str', '001.23', '001.23'] core, yaml11: ['float', '1.23', '1.23'] '85_230.15': failsafe, json, core: ['str', '85_230.15', '85_230.15'] yaml11: ['float', '85230.15', '85230.15'] '-3.14': failsafe: ['str', '-3.14', '-3.14'] json, core, yaml11: ['float', '-3.14', '-3.14'] '+3.14': failsafe, json: ['str', '+3.14', '+3.14'] core, yaml11: ['float', '3.14', '3.14'] '!!float .0': core, yaml11: ['float', '0.0', '0.0'] '!!float 0.0': json, core, yaml11: ['float', '0.0', '0.0'] '!!float 3.14': json, core, yaml11: ['float', '3.14', '3.14'] '!!float -3.14': json, core, yaml11: ['float', '-3.14', '-3.14'] '!!float 001.23': core, yaml11: ['float', '1.23', '1.23'] '!!float 85_230.15': yaml11: ['float', '85230.15', '85230.15'] '!!str .0': failsafe, json: ['str', '.0', ".0"] core, yaml11: ['str', '.0', "'.0'"] '!!str 0.0': failsafe: ['str', '0.0', "0.0"] json, core, yaml11: ['str', '0.0', "'0.0'"] '!!str 3.14': failsafe: ['str', '3.14', "3.14"] json, core, yaml11: ['str', '3.14', "'3.14'"] '!!str -3.14': failsafe: ['str', '-3.14', "-3.14"] json, core, yaml11: ['str', '-3.14', "'-3.14'"] '!!str 001.23': failsafe, json: ['str', '001.23', "001.23"] core, yaml11: ['str', '001.23', "'001.23'"] '!!str 85_230.15': failsafe, json, core: ['str', '85_230.15', "85_230.15"] yaml11: ['str', '85_230.15', "'85_230.15'"] ############################################### # Exp ############################################### '.3e3': failsafe, json, yaml11: ['str', '.3e3', '.3e3'] core: ['float', '300.0', '300.0'] '.3e+3': failsafe, json: ['str', '.3e+3', '.3e+3'] core, yaml11: ['float', '300.0', '300.0'] '.3E-1': failsafe, json: ['str', '.3E-1', '.3E-1'] core, yaml11: ['float', '0.03', '0.03'] '0.3e3': json, core: ['float', '300.0', '300.0'] failsafe, yaml11: ['str', '0.3e3', '0.3e3'] '3.3e+3': failsafe: ['str', '3.3e+3', '3.3e+3'] json, core, yaml11: ['float', '3300', '3300.0'] '3e3': json, core: ['float', '3000', '3000.0'] failsafe, yaml11: ['str', '3e3', '3e3'] '85.230_15e+03': failsafe, json, core: ['str', '85.230_15e+03', '85.230_15e+03'] yaml11: ['float', '85230.15', '85230.15'] '+0.3e+3': failsafe, json: ['str', '+0.3e+3', '+0.3e+3'] core, yaml11: ['float', '300.0', '300.0'] '+0.3e3': failsafe, json: ['str', '+0.3e3', '+0.3e3'] core: ['float', '300.0', '300.0'] yaml11: ['str', '+0.3e3', '+0.3e3'] '!!float .3e3': core: ['float', '300.0', '300.0'] '!!float 0.3e3': json, core: ['float', '300.0', '300.0'] '!!float +0.3e3': core: ['float', '300.0', '300.0'] '!!float .3E-1': core, yaml11: ['float', '0.03', '0.03'] '!!float 3.3e+3': core, yaml11: ['float', '3300.0', '3300.0'] '!!float +0.3e+3': core, yaml11: ['float', '300.0', '300.0'] '!!float .3e+3': core, yaml11: ['float', '300.0', '300.0'] '!!float 85.230_15e+03': yaml11: ['float', '85230.15', '85230.15'] '!!str .3e+3': failsafe, json: ['str', '.3e+3', ".3e+3"] core, yaml11: ['str', '.3e+3', "'.3e+3'"] '!!str .3E-1': failsafe, json: ['str', '.3E-1', ".3E-1"] core, yaml11: ['str', '.3E-1', "'.3E-1'"] '!!str .3e3': failsafe, json, yaml11: ['str', '.3e3', ".3e3"] core: ['str', '.3e3', "'.3e3'"] '!!str 0.3e3': failsafe, yaml11: ['str', '0.3e3', "0.3e3"] json, core: ['str', '0.3e3', "'0.3e3'"] '!!str +0.3e3': failsafe, json, yaml11: ['str', '+0.3e3', "+0.3e3"] core: ['str', '+0.3e3', "'+0.3e3'"] '!!str 3.3e+3': failsafe: ['str', '3.3e+3', "3.3e+3"] json, core, yaml11: ['str', '3.3e+3', "'3.3e+3'"] '!!str +0.3e+3': failsafe, json: ['str', '+0.3e+3', "+0.3e+3"] core, yaml11: ['str', '+0.3e+3', "'+0.3e+3'"] '!!str 85.230_15e+03': failsafe, json, core: ['str', '85.230_15e+03', "85.230_15e+03"] yaml11: ['str', '85.230_15e+03', "'85.230_15e+03'"] ############################################### # Sexagesimal ############################################### '190:20:30.15': failsafe, json, core: ['str', '190:20:30.15', '190:20:30.15'] yaml11: ['float', '685230.15', '685230.15'] '!!float 190:20:30.15': yaml11: ['float', '685230.15', '685230.15'] '!!str 190:20:30.15': failsafe, json, core: ['str', '190:20:30.15', "190:20:30.15"] yaml11: ['str', '190:20:30.15', "'190:20:30.15'"] YAML-PP-v0.43.0/ext/yaml-test-schema/PaxHeaders/README.md0000644000000000000000000000013215263373362017367 xustar0030 mtime=1791882994.995858469 30 atime=1791882994.995763554 30 ctime=1791882994.995858469 YAML-PP-v0.43.0/ext/yaml-test-schema/README.md0000644000175000017500000000017615263373362017025 0ustar00tinatina## YAML Test Data for Schemas (YAML 1.1, YAML 1.2 Core, JSON, Failsafe) [HTML](https://perlpunk.github.io/yaml-test-schema/) YAML-PP-v0.43.0/ext/yaml-test-schema/PaxHeaders/Makefile0000644000000000000000000000013215263373362017550 xustar0030 mtime=1791882994.995377469 30 atime=1791882994.995326415 30 ctime=1791882994.995377469 YAML-PP-v0.43.0/ext/yaml-test-schema/Makefile0000644000175000017500000000013115263373362017175 0ustar00tinatinagh-pages: git worktree add gh-pages gh-pages update: perl etc/generate-schema-html.pl YAML-PP-v0.43.0/PaxHeaders/test-suite0000644000000000000000000000013215263373362014164 xustar0030 mtime=1791882994.996681692 30 atime=1791882994.986154527 30 ctime=1791882994.996681692 YAML-PP-v0.43.0/test-suite/0000755000175000017500000000000015263373362013673 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/PaxHeaders/yaml-test-suite-data0000644000000000000000000000013215263373363020142 xustar0030 mtime=1791882995.079858933 30 atime=1791882994.996681692 30 ctime=1791882995.079858933 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/0000755000175000017500000000000015263373363017651 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/Y79Y0000644000000000000000000000013215263373363020663 xustar0030 mtime=1791882995.081586048 30 atime=1791882995.079858933 30 ctime=1791882995.081586048 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/0000755000175000017500000000000015263373363020372 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/PaxHeaders/0010000644000000000000000000000013215263373363021163 xustar0030 mtime=1791882995.206857912 30 atime=1791882995.081586048 30 ctime=1791882995.206857912 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/001/0000755000175000017500000000000015263373363020672 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/001/PaxHeaders/test.event0000644000000000000000000000013215263373363023262 xustar0030 mtime=1791882995.206951151 30 atime=1791882995.206857912 30 ctime=1791882995.206951151 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/001/test.event0000644000175000017500000000010515263373363022710 0ustar00tinatina+STR +DOC +MAP =VAL :foo =VAL |\t\n =VAL :bar =VAL :1 -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/001/PaxHeaders/out.yaml0000644000000000000000000000013015263373363022731 xustar0029 mtime=1791882995.19801002 30 atime=1791882995.197907353 29 ctime=1791882995.19801002 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/001/out.yaml0000644000175000017500000000002215263373363022357 0ustar00tinatinafoo: | bar: 1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/001/PaxHeaders/in.json0000644000000000000000000000013215263373363022541 xustar0030 mtime=1791882995.195599993 30 atime=1791882995.195507383 30 ctime=1791882995.195599993 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/001/in.json0000644000175000017500000000004015263373363022165 0ustar00tinatina{ "foo": "\t\n", "bar": 1 } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/001/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022532 xustar0030 mtime=1791882995.195507383 30 atime=1791882995.195412608 30 ctime=1791882995.195507383 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/001/in.yaml0000644000175000017500000000002115263373363022155 0ustar00tinatinafoo: | bar: 1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/001/PaxHeaders/===0000644000000000000000000000013215263373363021531 xustar0030 mtime=1791882995.081746195 30 atime=1791882995.081586048 30 ctime=1791882995.081746195 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/001/===0000644000175000017500000000003115263373363021155 0ustar00tinatinaTabs in various contexts YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/PaxHeaders/0030000644000000000000000000000013215263373363021165 xustar0030 mtime=1791882995.206765791 30 atime=1791882995.081430161 30 ctime=1791882995.206765791 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/003/0000755000175000017500000000000015263373363020674 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/003/PaxHeaders/test.event0000644000000000000000000000013215263373363023264 xustar0030 mtime=1791882995.206857912 30 atime=1791882995.206765791 30 ctime=1791882995.206857912 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/003/test.event0000644000175000017500000000002715263373363022715 0ustar00tinatina+STR +DOC +SEQ +SEQ [] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/003/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022735 xustar0030 mtime=1791882995.197907353 30 atime=1791882995.197814813 30 ctime=1791882995.197907353 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/003/out.yaml0000644000175000017500000000001015263373363022356 0ustar00tinatina- - foo YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/003/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022534 xustar0030 mtime=1791882995.195412608 30 atime=1791882995.195318392 30 ctime=1791882995.195412608 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/003/in.yaml0000644000175000017500000000002215263373363022160 0ustar00tinatina- [ foo, foo ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/003/PaxHeaders/error0000644000000000000000000000013215263373363022316 xustar0030 mtime=1791882995.147738124 30 atime=1791882995.147738124 30 ctime=1791882995.147823331 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/003/error0000644000175000017500000000000015263373363021736 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/003/PaxHeaders/===0000644000000000000000000000013215263373363021533 xustar0030 mtime=1791882995.081586048 30 atime=1791882995.081430161 30 ctime=1791882995.081586048 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/003/===0000644000175000017500000000003115263373363021157 0ustar00tinatinaTabs in various contexts YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/PaxHeaders/0060000644000000000000000000000013215263373363021170 xustar0030 mtime=1791882995.206672622 30 atime=1791882995.081286916 30 ctime=1791882995.206672622 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/006/0000755000175000017500000000000015263373363020677 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/006/PaxHeaders/test.event0000644000000000000000000000013215263373363023267 xustar0030 mtime=1791882995.206765791 30 atime=1791882995.206672622 30 ctime=1791882995.206765791 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/006/test.event0000644000175000017500000000002715263373363022720 0ustar00tinatina+STR +DOC +SEQ +SEQ [] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/006/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022740 xustar0030 mtime=1791882995.197814813 30 atime=1791882995.197721434 30 ctime=1791882995.197814813 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/006/out.yaml0000644000175000017500000000001015263373363022361 0ustar00tinatina- - foo YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/006/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022537 xustar0030 mtime=1791882995.195318392 30 atime=1791882995.195224106 30 ctime=1791882995.195318392 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/006/in.yaml0000644000175000017500000000000415263373363022163 0ustar00tinatina? - YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/006/PaxHeaders/error0000644000000000000000000000013215263373363022321 xustar0030 mtime=1791882995.147651381 30 atime=1791882995.147651381 30 ctime=1791882995.147738124 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/006/error0000644000175000017500000000000015263373363021741 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/006/PaxHeaders/===0000644000000000000000000000013215263373363021536 xustar0030 mtime=1791882995.081430161 30 atime=1791882995.081286916 30 ctime=1791882995.081430161 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/006/===0000644000175000017500000000003115263373363021162 0ustar00tinatinaTabs in various contexts YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/PaxHeaders/0080000644000000000000000000000013215263373363021172 xustar0030 mtime=1791882995.206578685 30 atime=1791882995.081111055 30 ctime=1791882995.206578685 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/008/0000755000175000017500000000000015263373363020701 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/008/PaxHeaders/test.event0000644000000000000000000000013215263373363023271 xustar0030 mtime=1791882995.206672622 30 atime=1791882995.206578685 30 ctime=1791882995.206672622 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/008/test.event0000644000175000017500000000002715263373363022722 0ustar00tinatina+STR +DOC +SEQ +SEQ [] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/008/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022742 xustar0030 mtime=1791882995.197721434 30 atime=1791882995.197623307 30 ctime=1791882995.197721434 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/008/out.yaml0000644000175000017500000000001015263373363022363 0ustar00tinatina- - foo YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/008/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022541 xustar0030 mtime=1791882995.195224106 30 atime=1791882995.195114524 30 ctime=1791882995.195224106 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/008/in.yaml0000644000175000017500000000000715263373363022170 0ustar00tinatina? key: YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/008/PaxHeaders/error0000644000000000000000000000013215263373363022323 xustar0030 mtime=1791882995.147562891 30 atime=1791882995.147562891 30 ctime=1791882995.147651381 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/008/error0000644000175000017500000000000015263373363021743 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/008/PaxHeaders/===0000644000000000000000000000013215263373363021540 xustar0030 mtime=1791882995.081286916 30 atime=1791882995.081111055 30 ctime=1791882995.081286916 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/008/===0000644000175000017500000000003115263373363021164 0ustar00tinatinaTabs in various contexts YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/PaxHeaders/0100000644000000000000000000000013215263373363021163 xustar0030 mtime=1791882995.206482932 30 atime=1791882995.080946857 30 ctime=1791882995.206482932 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/010/0000755000175000017500000000000015263373363020672 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/010/PaxHeaders/test.event0000644000000000000000000000013215263373363023262 xustar0030 mtime=1791882995.206578685 30 atime=1791882995.206482932 30 ctime=1791882995.206578685 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/010/test.event0000644000175000017500000000004715263373363022715 0ustar00tinatina+STR +DOC +SEQ =VAL :-1 -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/010/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022733 xustar0030 mtime=1791882995.197623307 30 atime=1791882995.197536494 30 ctime=1791882995.197623307 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/010/out.yaml0000644000175000017500000000000515263373363022360 0ustar00tinatina- -1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/010/PaxHeaders/in.json0000644000000000000000000000013215263373363022541 xustar0030 mtime=1791882995.195114524 30 atime=1791882995.195020866 30 ctime=1791882995.195114524 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/010/in.json0000644000175000017500000000001115263373363022163 0ustar00tinatina[ -1 ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/010/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022532 xustar0030 mtime=1791882995.195020866 30 atime=1791882995.194925044 30 ctime=1791882995.195020866 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/010/in.yaml0000644000175000017500000000000515263373363022157 0ustar00tinatina- -1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/010/PaxHeaders/===0000644000000000000000000000013215263373363021531 xustar0030 mtime=1791882995.081111055 30 atime=1791882995.080946857 30 ctime=1791882995.081111055 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/010/===0000644000175000017500000000003115263373363021155 0ustar00tinatinaTabs in various contexts YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/PaxHeaders/0050000644000000000000000000000013215263373363021167 xustar0030 mtime=1791882995.206389205 30 atime=1791882995.080782031 30 ctime=1791882995.206389205 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/005/0000755000175000017500000000000015263373363020676 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/005/PaxHeaders/test.event0000644000000000000000000000013215263373363023266 xustar0030 mtime=1791882995.206482932 30 atime=1791882995.206389205 30 ctime=1791882995.206482932 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/005/test.event0000644000175000017500000000002715263373363022717 0ustar00tinatina+STR +DOC +SEQ +SEQ [] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/005/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022737 xustar0030 mtime=1791882995.197536494 30 atime=1791882995.197441788 30 ctime=1791882995.197536494 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/005/out.yaml0000644000175000017500000000001015263373363022360 0ustar00tinatina- - foo YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/005/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022536 xustar0030 mtime=1791882995.194925044 30 atime=1791882995.194830687 30 ctime=1791882995.194925044 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/005/in.yaml0000644000175000017500000000000515263373363022163 0ustar00tinatina- - YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/005/PaxHeaders/error0000644000000000000000000000013215263373363022320 xustar0030 mtime=1791882995.147474751 30 atime=1791882995.147474751 30 ctime=1791882995.147562891 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/005/error0000644000175000017500000000000015263373363021740 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/005/PaxHeaders/===0000644000000000000000000000013215263373363021535 xustar0030 mtime=1791882995.080946857 30 atime=1791882995.080782031 30 ctime=1791882995.080946857 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/005/===0000644000175000017500000000003115263373363021161 0ustar00tinatinaTabs in various contexts YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/PaxHeaders/0020000644000000000000000000000013215263373363021164 xustar0030 mtime=1791882995.206295757 30 atime=1791882995.080615947 30 ctime=1791882995.206295757 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/002/0000755000175000017500000000000015263373363020673 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/002/PaxHeaders/test.event0000644000000000000000000000013215263373363023263 xustar0030 mtime=1791882995.206389205 30 atime=1791882995.206295757 30 ctime=1791882995.206389205 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/002/test.event0000644000175000017500000000006515263373363022716 0ustar00tinatina+STR +DOC +SEQ +SEQ [] =VAL :foo -SEQ -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/002/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022734 xustar0030 mtime=1791882995.197441788 30 atime=1791882995.197338911 30 ctime=1791882995.197441788 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/002/out.yaml0000644000175000017500000000001015263373363022355 0ustar00tinatina- - foo YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/002/PaxHeaders/in.json0000644000000000000000000000013215263373363022542 xustar0030 mtime=1791882995.194830687 30 atime=1791882995.194737868 30 ctime=1791882995.194830687 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/002/in.json0000644000175000017500000000002615263373363022172 0ustar00tinatina[ [ "foo" ] ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/002/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022533 xustar0030 mtime=1791882995.194737868 30 atime=1791882995.194641207 30 ctime=1791882995.194737868 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/002/in.yaml0000644000175000017500000000001615263373363022162 0ustar00tinatina- [ foo ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/002/PaxHeaders/===0000644000000000000000000000013215263373363021532 xustar0030 mtime=1791882995.080782031 30 atime=1791882995.080615947 30 ctime=1791882995.080782031 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/002/===0000644000175000017500000000003115263373363021156 0ustar00tinatinaTabs in various contexts YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/PaxHeaders/0040000644000000000000000000000013215263373363021166 xustar0030 mtime=1791882995.206199934 30 atime=1791882995.080452029 30 ctime=1791882995.206199934 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/004/0000755000175000017500000000000015263373363020675 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/004/PaxHeaders/test.event0000644000000000000000000000013215263373363023265 xustar0030 mtime=1791882995.206295757 30 atime=1791882995.206199934 30 ctime=1791882995.206295757 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/004/test.event0000644000175000017500000000002715263373363022716 0ustar00tinatina+STR +DOC +SEQ +SEQ [] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/004/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022736 xustar0030 mtime=1791882995.197338911 30 atime=1791882995.197243997 30 ctime=1791882995.197338911 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/004/out.yaml0000644000175000017500000000001015263373363022357 0ustar00tinatina- - foo YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/004/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022533 xustar0030 mtime=1791882995.194641207 28 atime=1791882995.1945472 30 ctime=1791882995.194641207 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/004/in.yaml0000644000175000017500000000000415263373363022161 0ustar00tinatina- - YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/004/PaxHeaders/error0000644000000000000000000000013215263373363022317 xustar0030 mtime=1791882995.147387938 30 atime=1791882995.147387938 30 ctime=1791882995.147474751 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/004/error0000644000175000017500000000000015263373363021737 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/004/PaxHeaders/===0000644000000000000000000000013215263373363021534 xustar0030 mtime=1791882995.080615947 30 atime=1791882995.080452029 30 ctime=1791882995.080615947 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/004/===0000644000175000017500000000003115263373363021160 0ustar00tinatinaTabs in various contexts YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/PaxHeaders/0070000644000000000000000000000013215263373363021171 xustar0030 mtime=1791882995.206072263 30 atime=1791882995.080287342 30 ctime=1791882995.206072263 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/007/0000755000175000017500000000000015263373363020700 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/007/PaxHeaders/test.event0000644000000000000000000000013215263373363023270 xustar0030 mtime=1791882995.206199934 30 atime=1791882995.206072263 30 ctime=1791882995.206199934 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/007/test.event0000644000175000017500000000002715263373363022721 0ustar00tinatina+STR +DOC +SEQ +SEQ [] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/007/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022741 xustar0030 mtime=1791882995.197243997 30 atime=1791882995.197140421 30 ctime=1791882995.197243997 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/007/out.yaml0000644000175000017500000000001015263373363022362 0ustar00tinatina- - foo YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/007/PaxHeaders/in.yaml0000644000000000000000000000012615263373363022543 xustar0028 mtime=1791882995.1945472 30 atime=1791882995.194452844 28 ctime=1791882995.1945472 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/007/in.yaml0000644000175000017500000000001015263373363022161 0ustar00tinatina? - : - YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/007/PaxHeaders/error0000644000000000000000000000013215263373363022322 xustar0030 mtime=1791882995.147300496 30 atime=1791882995.147300496 30 ctime=1791882995.147387938 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/007/error0000644000175000017500000000000015263373363021742 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/007/PaxHeaders/===0000644000000000000000000000013215263373363021537 xustar0030 mtime=1791882995.080452029 30 atime=1791882995.080287342 30 ctime=1791882995.080452029 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/007/===0000644000175000017500000000003115263373363021163 0ustar00tinatinaTabs in various contexts YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/PaxHeaders/0090000644000000000000000000000013215263373363021173 xustar0030 mtime=1791882995.205977348 30 atime=1791882995.080101424 30 ctime=1791882995.205977348 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/009/0000755000175000017500000000000015263373363020702 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/009/PaxHeaders/test.event0000644000000000000000000000013215263373363023272 xustar0030 mtime=1791882995.206072263 30 atime=1791882995.205977348 30 ctime=1791882995.206072263 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/009/test.event0000644000175000017500000000002715263373363022723 0ustar00tinatina+STR +DOC +SEQ +SEQ [] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/009/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022743 xustar0030 mtime=1791882995.197140421 30 atime=1791882995.197034192 30 ctime=1791882995.197140421 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/009/out.yaml0000644000175000017500000000001015263373363022364 0ustar00tinatina- - foo YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/009/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022542 xustar0030 mtime=1791882995.194452844 30 atime=1791882995.194354716 30 ctime=1791882995.194452844 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/009/in.yaml0000644000175000017500000000001615263373363022171 0ustar00tinatina? key: : key: YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/009/PaxHeaders/error0000644000000000000000000000013215263373363022324 xustar0030 mtime=1791882995.147212007 30 atime=1791882995.147212007 30 ctime=1791882995.147300496 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/009/error0000644000175000017500000000000015263373363021744 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/009/PaxHeaders/===0000644000000000000000000000013215263373363021541 xustar0030 mtime=1791882995.080287342 30 atime=1791882995.080101424 30 ctime=1791882995.080287342 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/009/===0000644000175000017500000000003115263373363021165 0ustar00tinatinaTabs in various contexts YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/PaxHeaders/0000000644000000000000000000000013215263373363021162 xustar0030 mtime=1791882995.205882713 30 atime=1791882995.079858933 30 ctime=1791882995.205882713 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/000/0000755000175000017500000000000015263373363020671 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/000/PaxHeaders/test.event0000644000000000000000000000013215263373363023261 xustar0030 mtime=1791882995.205977348 30 atime=1791882995.205882713 30 ctime=1791882995.205977348 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/000/test.event0000644000175000017500000000003115263373363022705 0ustar00tinatina+STR +DOC +MAP =VAL :foo YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/000/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022531 xustar0030 mtime=1791882995.194354716 30 atime=1791882995.194258125 30 ctime=1791882995.194354716 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/000/in.yaml0000644000175000017500000000002015263373363022153 0ustar00tinatinafoo: | bar: 1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/000/PaxHeaders/error0000644000000000000000000000013215263373363022313 xustar0030 mtime=1791882995.147101238 30 atime=1791882995.147101238 30 ctime=1791882995.147212007 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/000/error0000644000175000017500000000000015263373363021733 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/000/PaxHeaders/===0000644000000000000000000000013215263373363021530 xustar0030 mtime=1791882995.080101424 30 atime=1791882995.080043665 30 ctime=1791882995.080101424 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y79Y/000/===0000644000175000017500000000003115263373363021154 0ustar00tinatinaTabs in various contexts YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/DK950000644000000000000000000000013215263373363020616 xustar0030 mtime=1791882995.067957563 30 atime=1791882995.066557866 30 ctime=1791882995.067957563 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/0000755000175000017500000000000015263373363020325 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/PaxHeaders/040000644000000000000000000000013215263373363021041 xustar0030 mtime=1791882995.205785074 30 atime=1791882995.067957563 30 ctime=1791882995.205785074 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/04/0000755000175000017500000000000015263373363020550 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/04/PaxHeaders/test.event0000644000000000000000000000013215263373363023140 xustar0030 mtime=1791882995.205882713 30 atime=1791882995.205785074 30 ctime=1791882995.205882713 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/04/test.event0000644000175000017500000000010215263373363022563 0ustar00tinatina+STR +DOC +MAP =VAL :foo =VAL :1 =VAL :bar =VAL :2 -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/04/PaxHeaders/emit.yaml0000644000000000000000000000012615263373363022743 xustar0028 mtime=1791882995.2002995 30 atime=1791882995.200204096 28 ctime=1791882995.2002995 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/04/emit.yaml0000644000175000017500000000002215263373363022364 0ustar00tinatina--- foo: 1 bar: 2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/04/PaxHeaders/in.json0000644000000000000000000000013115263373363022416 xustar0030 mtime=1791882995.192564465 29 atime=1791882995.19246955 30 ctime=1791882995.192564465 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/04/in.json0000644000175000017500000000003515263373363022047 0ustar00tinatina{ "foo" : 1, "bar" : 2 } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/04/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022406 xustar0029 mtime=1791882995.19246955 30 atime=1791882995.192372261 29 ctime=1791882995.19246955 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/04/in.yaml0000644000175000017500000000002015263373363022032 0ustar00tinatinafoo: 1 bar: 2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/04/PaxHeaders/===0000644000000000000000000000013215263373363021407 xustar0030 mtime=1791882995.068119805 30 atime=1791882995.067957563 30 ctime=1791882995.068119805 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/04/===0000644000175000017500000000004015263373363021033 0ustar00tinatinaTabs that look like indentation YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/PaxHeaders/020000644000000000000000000000013215263373363021037 xustar0030 mtime=1791882995.205691137 30 atime=1791882995.067785683 30 ctime=1791882995.205691137 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/02/0000755000175000017500000000000015263373363020546 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/02/PaxHeaders/test.event0000644000000000000000000000013215263373363023136 xustar0030 mtime=1791882995.205785074 30 atime=1791882995.205691137 30 ctime=1791882995.205785074 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/02/test.event0000644000175000017500000000006615263373363022572 0ustar00tinatina+STR +DOC +MAP =VAL :foo =VAL "bar baz -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/02/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022736 xustar0030 mtime=1791882995.200204096 30 atime=1791882995.200099823 30 ctime=1791882995.200204096 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/02/emit.yaml0000644000175000017500000000002315263373363022363 0ustar00tinatina--- foo: "bar baz" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/02/PaxHeaders/in.json0000644000000000000000000000013215263373363022415 xustar0030 mtime=1791882995.192372261 30 atime=1791882995.192256463 30 ctime=1791882995.192372261 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/02/in.json0000644000175000017500000000003015263373363022040 0ustar00tinatina{ "foo" : "bar baz" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/02/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022406 xustar0030 mtime=1791882995.192256463 30 atime=1791882995.192138151 30 ctime=1791882995.192256463 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/02/in.yaml0000644000175000017500000000002215263373363022032 0ustar00tinatinafoo: "bar baz" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/02/PaxHeaders/===0000644000000000000000000000013215263373363021405 xustar0030 mtime=1791882995.067957563 30 atime=1791882995.067785683 30 ctime=1791882995.067957563 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/02/===0000644000175000017500000000004015263373363021031 0ustar00tinatinaTabs that look like indentation YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/PaxHeaders/060000644000000000000000000000013215263373363021043 xustar0030 mtime=1791882995.205598038 30 atime=1791882995.067623022 30 ctime=1791882995.205598038 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/06/0000755000175000017500000000000015263373363020552 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/06/PaxHeaders/test.event0000644000000000000000000000013215263373363023142 xustar0030 mtime=1791882995.205691137 30 atime=1791882995.205598038 30 ctime=1791882995.205691137 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/06/test.event0000644000175000017500000000005615263373363022575 0ustar00tinatina+STR +DOC +MAP =VAL :foo +MAP =VAL :a =VAL :1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/06/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022742 xustar0030 mtime=1791882995.200099823 30 atime=1791882995.200005676 30 ctime=1791882995.200099823 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/06/emit.yaml0000644000175000017500000000002215263373363022366 0ustar00tinatina--- foo: 1 bar: 2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/06/PaxHeaders/in.json0000644000000000000000000000013215263373363022421 xustar0030 mtime=1791882995.192138151 30 atime=1791882995.192027871 30 ctime=1791882995.192138151 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/06/in.json0000644000175000017500000000003515263373363022051 0ustar00tinatina{ "foo" : 1, "bar" : 2 } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/06/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022412 xustar0030 mtime=1791882995.192027871 30 atime=1791882995.191930163 30 ctime=1791882995.192027871 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/06/in.yaml0000644000175000017500000000002415263373363022040 0ustar00tinatinafoo: a: 1 b: 2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/06/PaxHeaders/error0000644000000000000000000000013215263373363022174 xustar0030 mtime=1791882995.146361056 30 atime=1791882995.146361056 30 ctime=1791882995.146449755 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/06/error0000644000175000017500000000000015263373363021614 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/06/PaxHeaders/===0000644000000000000000000000013215263373363021411 xustar0030 mtime=1791882995.067785683 30 atime=1791882995.067623022 30 ctime=1791882995.067785683 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/06/===0000644000175000017500000000004015263373363021035 0ustar00tinatinaTabs that look like indentation YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/PaxHeaders/010000644000000000000000000000013015263373363021034 xustar0029 mtime=1791882995.20550459 30 atime=1791882995.067454494 29 ctime=1791882995.20550459 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/01/0000755000175000017500000000000015263373363020545 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/01/PaxHeaders/test.event0000644000000000000000000000013115263373363023134 xustar0030 mtime=1791882995.205598038 29 atime=1791882995.20550459 30 ctime=1791882995.205598038 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/01/test.event0000644000175000017500000000003115263373363022561 0ustar00tinatina+STR +DOC +MAP =VAL :foo YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/01/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022735 xustar0030 mtime=1791882995.200005676 30 atime=1791882995.199910761 30 ctime=1791882995.200005676 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/01/emit.yaml0000644000175000017500000000001515263373363022363 0ustar00tinatina--- foo: bar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/01/PaxHeaders/in.json0000644000000000000000000000013015263373363022412 xustar0030 mtime=1791882995.191930163 28 atime=1791882995.1918342 30 ctime=1791882995.191930163 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/01/in.json0000644000175000017500000000002415263373363022042 0ustar00tinatina{ "foo" : "bar" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/01/PaxHeaders/in.yaml0000644000000000000000000000012615263373363022410 xustar0028 mtime=1791882995.1918342 30 atime=1791882995.191736911 28 ctime=1791882995.1918342 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/01/in.yaml0000644000175000017500000000002015263373363022027 0ustar00tinatinafoo: "bar baz" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/01/PaxHeaders/error0000644000000000000000000000013215263373363022167 xustar0030 mtime=1791882995.146258598 30 atime=1791882995.146258598 30 ctime=1791882995.146361056 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/01/error0000644000175000017500000000000015263373363021607 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/01/PaxHeaders/===0000644000000000000000000000013215263373363021404 xustar0030 mtime=1791882995.067623022 30 atime=1791882995.067454494 30 ctime=1791882995.067623022 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/01/===0000644000175000017500000000004015263373363021030 0ustar00tinatinaTabs that look like indentation YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/PaxHeaders/000000644000000000000000000000013215263373363021035 xustar0030 mtime=1791882995.205409675 30 atime=1791882995.067290226 30 ctime=1791882995.205409675 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/00/0000755000175000017500000000000015263373363020544 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/00/PaxHeaders/test.event0000644000000000000000000000013015263373363023132 xustar0029 mtime=1791882995.20550459 30 atime=1791882995.205409675 29 ctime=1791882995.20550459 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/00/test.event0000644000175000017500000000006215263373363022564 0ustar00tinatina+STR +DOC +MAP =VAL :foo =VAL :bar -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/00/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022734 xustar0030 mtime=1791882995.199910761 30 atime=1791882995.199815078 30 ctime=1791882995.199910761 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/00/emit.yaml0000644000175000017500000000001515263373363022362 0ustar00tinatina--- foo: bar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/00/PaxHeaders/in.json0000644000000000000000000000013215263373363022413 xustar0030 mtime=1791882995.191736911 30 atime=1791882995.191637526 30 ctime=1791882995.191736911 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/00/in.json0000644000175000017500000000002415263373363022041 0ustar00tinatina{ "foo" : "bar" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/00/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022404 xustar0030 mtime=1791882995.191637526 30 atime=1791882995.191548897 30 ctime=1791882995.191637526 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/00/in.yaml0000644000175000017500000000001315263373363022030 0ustar00tinatinafoo: bar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/00/PaxHeaders/===0000644000000000000000000000013215263373363021403 xustar0030 mtime=1791882995.067454494 30 atime=1791882995.067290226 30 ctime=1791882995.067454494 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/00/===0000644000175000017500000000004015263373363021027 0ustar00tinatinaTabs that look like indentation YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/PaxHeaders/070000644000000000000000000000013215263373363021044 xustar0030 mtime=1791882995.205314272 30 atime=1791882995.067115412 30 ctime=1791882995.205314272 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/07/0000755000175000017500000000000015263373363020553 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/07/PaxHeaders/test.event0000644000000000000000000000013215263373363023143 xustar0030 mtime=1791882995.205409675 30 atime=1791882995.205314272 30 ctime=1791882995.205409675 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/07/test.event0000644000175000017500000000003715263373363022575 0ustar00tinatina+STR +DOC --- =VAL : -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/07/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022743 xustar0030 mtime=1791882995.199815078 30 atime=1791882995.199719674 30 ctime=1791882995.199815078 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/07/emit.yaml0000644000175000017500000000001115263373363022365 0ustar00tinatina--- null YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/07/PaxHeaders/in.json0000644000000000000000000000013215263373363022422 xustar0030 mtime=1791882995.191548897 30 atime=1791882995.191439316 30 ctime=1791882995.191548897 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/07/in.json0000644000175000017500000000000515263373363022047 0ustar00tinatinanull YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/07/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022413 xustar0030 mtime=1791882995.191439316 30 atime=1791882995.191353899 30 ctime=1791882995.191439316 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/07/in.yaml0000644000175000017500000000002015263373363022035 0ustar00tinatina%YAML 1.2 --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/07/PaxHeaders/===0000644000000000000000000000013215263373363021412 xustar0030 mtime=1791882995.067290226 30 atime=1791882995.067115412 30 ctime=1791882995.067290226 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/07/===0000644000175000017500000000004015263373363021036 0ustar00tinatinaTabs that look like indentation YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/PaxHeaders/050000644000000000000000000000013115263373363021041 xustar0030 mtime=1791882995.205218868 29 atime=1791882995.06694891 30 ctime=1791882995.205218868 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/05/0000755000175000017500000000000015263373363020551 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/05/PaxHeaders/test.event0000644000000000000000000000013215263373363023141 xustar0030 mtime=1791882995.205314272 30 atime=1791882995.205218868 30 ctime=1791882995.205314272 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/05/test.event0000644000175000017500000000010215263373363022564 0ustar00tinatina+STR +DOC +MAP =VAL :foo =VAL :1 =VAL :bar =VAL :2 -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/05/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022741 xustar0030 mtime=1791882995.199719674 30 atime=1791882995.199590816 30 ctime=1791882995.199719674 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/05/emit.yaml0000644000175000017500000000002215263373363022365 0ustar00tinatina--- foo: 1 bar: 2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/05/PaxHeaders/in.json0000644000000000000000000000013115263373363022417 xustar0030 mtime=1791882995.191353899 29 atime=1791882995.19124767 30 ctime=1791882995.191353899 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/05/in.json0000644000175000017500000000003515263373363022050 0ustar00tinatina{ "foo" : 1, "bar" : 2 } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/05/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022407 xustar0029 mtime=1791882995.19124767 30 atime=1791882995.191158971 29 ctime=1791882995.19124767 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/05/in.yaml0000644000175000017500000000002115263373363022034 0ustar00tinatinafoo: 1 bar: 2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/05/PaxHeaders/===0000644000000000000000000000013115263373363021407 xustar0030 mtime=1791882995.067115412 29 atime=1791882995.06694891 30 ctime=1791882995.067115412 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/05/===0000644000175000017500000000004015263373363021034 0ustar00tinatinaTabs that look like indentation YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/PaxHeaders/080000644000000000000000000000013215263373363021045 xustar0030 mtime=1791882995.205110124 30 atime=1791882995.066785201 30 ctime=1791882995.205110124 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/08/0000755000175000017500000000000015263373363020554 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/08/PaxHeaders/test.event0000644000000000000000000000013215263373363023144 xustar0030 mtime=1791882995.205218868 30 atime=1791882995.205110124 30 ctime=1791882995.205218868 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/08/test.event0000644000175000017500000000007515263373363022600 0ustar00tinatina+STR +DOC +MAP =VAL :foo =VAL "bar baz \t \t -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/08/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022744 xustar0030 mtime=1791882995.199590816 30 atime=1791882995.199482422 30 ctime=1791882995.199590816 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/08/emit.yaml0000644000175000017500000000003215263373363022371 0ustar00tinatina--- foo: "bar baz \t \t " YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/08/PaxHeaders/in.json0000644000000000000000000000013115263373363022422 xustar0030 mtime=1791882995.191158971 29 atime=1791882995.19105351 30 ctime=1791882995.191158971 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/08/in.json0000644000175000017500000000003715263373363022055 0ustar00tinatina{ "foo" : "bar baz \t \t " } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/08/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022412 xustar0029 mtime=1791882995.19105351 30 atime=1791882995.190955732 29 ctime=1791882995.19105351 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/08/in.yaml0000644000175000017500000000003115263373363022040 0ustar00tinatinafoo: "bar baz " YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/08/PaxHeaders/===0000644000000000000000000000013015263373363021411 xustar0029 mtime=1791882995.06694891 30 atime=1791882995.066785201 29 ctime=1791882995.06694891 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/08/===0000644000175000017500000000004015263373363021037 0ustar00tinatinaTabs that look like indentation YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/PaxHeaders/030000644000000000000000000000013015263373363021036 xustar0029 mtime=1791882995.20501486 30 atime=1791882995.066557866 29 ctime=1791882995.20501486 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/03/0000755000175000017500000000000015263373363020547 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/03/PaxHeaders/test.event0000644000000000000000000000013115263373363023136 xustar0030 mtime=1791882995.205110124 29 atime=1791882995.20501486 30 ctime=1791882995.205110124 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/03/test.event0000644000175000017500000000006015263373363022565 0ustar00tinatina+STR +DOC +MAP =VAL :foo =VAL :1 -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/03/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022737 xustar0030 mtime=1791882995.199482422 30 atime=1791882995.199397146 30 ctime=1791882995.199482422 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/03/emit.yaml0000644000175000017500000000001315263373363022363 0ustar00tinatina--- foo: 1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/03/PaxHeaders/in.json0000644000000000000000000000013215263373363022416 xustar0030 mtime=1791882995.190955732 30 atime=1791882995.190860538 30 ctime=1791882995.190955732 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/03/in.json0000644000175000017500000000002015263373363022040 0ustar00tinatina{ "foo" : 1 } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/03/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022406 xustar0030 mtime=1791882995.190860538 29 atime=1791882995.19076255 30 ctime=1791882995.190860538 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/03/in.yaml0000644000175000017500000000001215263373363022032 0ustar00tinatina foo: 1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/03/PaxHeaders/===0000644000000000000000000000013215263373363021406 xustar0030 mtime=1791882995.066785201 30 atime=1791882995.066727791 30 ctime=1791882995.066785201 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK95/03/===0000644000175000017500000000004015263373363021032 0ustar00tinatinaTabs that look like indentation YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/MUS60000644000000000000000000000013215263373363020674 xustar0030 mtime=1791882995.066393668 30 atime=1791882995.065328164 30 ctime=1791882995.066393668 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/0000755000175000017500000000000015263373363020403 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/PaxHeaders/040000644000000000000000000000013215263373363021117 xustar0030 mtime=1791882995.204920854 30 atime=1791882995.066393668 30 ctime=1791882995.204920854 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/04/0000755000175000017500000000000015263373363020626 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/04/PaxHeaders/test.event0000644000000000000000000000013015263373363023214 xustar0029 mtime=1791882995.20501486 30 atime=1791882995.204920854 29 ctime=1791882995.20501486 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/04/test.event0000644000175000017500000000003715263373363022650 0ustar00tinatina+STR +DOC --- =VAL : -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/04/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022667 xustar0030 mtime=1791882995.196843804 30 atime=1791882995.196749378 30 ctime=1791882995.196843804 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/04/out.yaml0000644000175000017500000000000415263373363022313 0ustar00tinatina--- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/04/PaxHeaders/in.json0000644000000000000000000000013215263373363022475 xustar0030 mtime=1791882995.189084534 30 atime=1791882995.188994228 30 ctime=1791882995.189084534 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/04/in.json0000644000175000017500000000000515263373363022122 0ustar00tinatinanull YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/04/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022466 xustar0030 mtime=1791882995.188994228 30 atime=1791882995.188897149 30 ctime=1791882995.188994228 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/04/in.yaml0000644000175000017500000000003115263373363022112 0ustar00tinatina%YAML 1.1 # comment --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/04/PaxHeaders/===0000644000000000000000000000013215263373363021465 xustar0030 mtime=1791882995.066557866 30 atime=1791882995.066393668 30 ctime=1791882995.066557866 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/04/===0000644000175000017500000000002315263373363021112 0ustar00tinatinaDirective variants YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/PaxHeaders/020000644000000000000000000000013215263373363021115 xustar0030 mtime=1791882995.204826288 30 atime=1791882995.066228493 30 ctime=1791882995.204826288 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/02/0000755000175000017500000000000015263373363020624 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/02/PaxHeaders/test.event0000644000000000000000000000013215263373363023214 xustar0030 mtime=1791882995.204920854 30 atime=1791882995.204826288 30 ctime=1791882995.204920854 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/02/test.event0000644000175000017500000000003715263373363022646 0ustar00tinatina+STR +DOC --- =VAL : -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/02/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022665 xustar0030 mtime=1791882995.196749378 30 atime=1791882995.196655092 30 ctime=1791882995.196749378 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/02/out.yaml0000644000175000017500000000000415263373363022311 0ustar00tinatina--- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/02/PaxHeaders/in.json0000644000000000000000000000013215263373363022473 xustar0030 mtime=1791882995.188897149 30 atime=1791882995.188801745 30 ctime=1791882995.188897149 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/02/in.json0000644000175000017500000000000515263373363022120 0ustar00tinatinanull YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/02/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022464 xustar0030 mtime=1791882995.188801745 30 atime=1791882995.188703897 30 ctime=1791882995.188801745 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/02/in.yaml0000644000175000017500000000001715263373363022114 0ustar00tinatina%YAML 1.1 --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/02/PaxHeaders/===0000644000000000000000000000013215263373363021463 xustar0030 mtime=1791882995.066393668 30 atime=1791882995.066228493 30 ctime=1791882995.066393668 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/02/===0000644000175000017500000000002315263373363021110 0ustar00tinatinaDirective variants YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/PaxHeaders/060000644000000000000000000000013215263373363021121 xustar0030 mtime=1791882995.204731443 30 atime=1791882995.066055146 30 ctime=1791882995.204731443 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/06/0000755000175000017500000000000015263373363020630 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/06/PaxHeaders/test.event0000644000000000000000000000013215263373363023220 xustar0030 mtime=1791882995.204826288 30 atime=1791882995.204731443 30 ctime=1791882995.204826288 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/06/test.event0000644000175000017500000000003715263373363022652 0ustar00tinatina+STR +DOC --- =VAL : -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/06/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022671 xustar0030 mtime=1791882995.196655092 30 atime=1791882995.196561085 30 ctime=1791882995.196655092 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/06/out.yaml0000644000175000017500000000000415263373363022315 0ustar00tinatina--- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/06/PaxHeaders/in.json0000644000000000000000000000013115263373363022476 xustar0030 mtime=1791882995.188703897 29 atime=1791882995.18860556 30 ctime=1791882995.188703897 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/06/in.json0000644000175000017500000000000515263373363022124 0ustar00tinatinanull YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/06/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022466 xustar0029 mtime=1791882995.18860556 30 atime=1791882995.188507362 29 ctime=1791882995.18860556 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/06/in.yaml0000644000175000017500000000001715263373363022120 0ustar00tinatina%YAMLL 1.1 --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/06/PaxHeaders/===0000644000000000000000000000013215263373363021467 xustar0030 mtime=1791882995.066228493 30 atime=1791882995.066055146 30 ctime=1791882995.066228493 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/06/===0000644000175000017500000000002315263373363021114 0ustar00tinatinaDirective variants YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/PaxHeaders/010000644000000000000000000000013215263373363021114 xustar0030 mtime=1791882995.204635131 30 atime=1791882995.065889481 30 ctime=1791882995.204635131 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/01/0000755000175000017500000000000015263373363020623 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/01/PaxHeaders/test.event0000644000000000000000000000013215263373363023213 xustar0030 mtime=1791882995.204731443 30 atime=1791882995.204635131 30 ctime=1791882995.204731443 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/01/test.event0000644000175000017500000000000515263373363022640 0ustar00tinatina+STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/01/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022463 xustar0030 mtime=1791882995.188507362 30 atime=1791882995.188420619 30 ctime=1791882995.188507362 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/01/in.yaml0000644000175000017500000000003415263373363022112 0ustar00tinatina%YAML 1.2 --- %YAML 1.2 --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/01/PaxHeaders/error0000644000000000000000000000013215263373363022245 xustar0030 mtime=1791882995.145321882 30 atime=1791882995.145321882 30 ctime=1791882995.145403317 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/01/error0000644000175000017500000000000015263373363021665 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/01/PaxHeaders/===0000644000000000000000000000013215263373363021462 xustar0030 mtime=1791882995.066055146 30 atime=1791882995.065889481 30 ctime=1791882995.066055146 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/01/===0000644000175000017500000000002315263373363021107 0ustar00tinatinaDirective variants YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/PaxHeaders/000000644000000000000000000000013215263373363021113 xustar0030 mtime=1791882995.204540147 30 atime=1791882995.065723468 30 ctime=1791882995.204540147 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/00/0000755000175000017500000000000015263373363020622 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/00/PaxHeaders/test.event0000644000000000000000000000013215263373363023212 xustar0030 mtime=1791882995.204635131 30 atime=1791882995.204540147 30 ctime=1791882995.204635131 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/00/test.event0000644000175000017500000000000515263373363022637 0ustar00tinatina+STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/00/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022462 xustar0030 mtime=1791882995.188420619 30 atime=1791882995.188336529 30 ctime=1791882995.188420619 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/00/in.yaml0000644000175000017500000000002215263373363022106 0ustar00tinatina%YAML 1.1#... --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/00/PaxHeaders/error0000644000000000000000000000013215263373363022244 xustar0030 mtime=1791882995.145220192 30 atime=1791882995.145220192 30 ctime=1791882995.145321882 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/00/error0000644000175000017500000000000015263373363021664 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/00/PaxHeaders/===0000644000000000000000000000013215263373363021461 xustar0030 mtime=1791882995.065889481 30 atime=1791882995.065723468 30 ctime=1791882995.065889481 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/00/===0000644000175000017500000000002315263373363021106 0ustar00tinatinaDirective variants YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/PaxHeaders/050000644000000000000000000000013015263373363021116 xustar0029 mtime=1791882995.20444614 30 atime=1791882995.065558572 29 ctime=1791882995.20444614 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/05/0000755000175000017500000000000015263373363020627 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/05/PaxHeaders/test.event0000644000000000000000000000013115263373363023216 xustar0030 mtime=1791882995.204540147 29 atime=1791882995.20444614 30 ctime=1791882995.204540147 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/05/test.event0000644000175000017500000000003715263373363022651 0ustar00tinatina+STR +DOC --- =VAL : -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/05/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022670 xustar0030 mtime=1791882995.196561085 30 atime=1791882995.196467637 30 ctime=1791882995.196561085 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/05/out.yaml0000644000175000017500000000000415263373363022314 0ustar00tinatina--- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/05/PaxHeaders/in.json0000644000000000000000000000013215263373363022476 xustar0030 mtime=1791882995.188336529 30 atime=1791882995.188233653 30 ctime=1791882995.188336529 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/05/in.json0000644000175000017500000000000515263373363022123 0ustar00tinatinanull YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/05/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022467 xustar0030 mtime=1791882995.188233653 30 atime=1791882995.188124909 30 ctime=1791882995.188233653 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/05/in.yaml0000644000175000017500000000001515263373363022115 0ustar00tinatina%YAM 1.1 --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/05/PaxHeaders/===0000644000000000000000000000013215263373363021466 xustar0030 mtime=1791882995.065723468 30 atime=1791882995.065558572 30 ctime=1791882995.065723468 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/05/===0000644000175000017500000000002315263373363021113 0ustar00tinatinaDirective variants YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/PaxHeaders/030000644000000000000000000000013215263373363021116 xustar0030 mtime=1791882995.204344101 30 atime=1791882995.065328164 30 ctime=1791882995.204344101 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/03/0000755000175000017500000000000015263373363020625 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/03/PaxHeaders/test.event0000644000000000000000000000013015263373363023213 xustar0029 mtime=1791882995.20444614 30 atime=1791882995.204344101 29 ctime=1791882995.20444614 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/03/test.event0000644000175000017500000000003715263373363022647 0ustar00tinatina+STR +DOC --- =VAL : -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/03/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022666 xustar0030 mtime=1791882995.196467637 30 atime=1791882995.196373001 30 ctime=1791882995.196467637 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/03/out.yaml0000644000175000017500000000000415263373363022312 0ustar00tinatina--- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/03/PaxHeaders/in.json0000644000000000000000000000013215263373363022474 xustar0030 mtime=1791882995.188124909 30 atime=1791882995.188029086 30 ctime=1791882995.188124909 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/03/in.json0000644000175000017500000000000515263373363022121 0ustar00tinatinanull YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/03/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022465 xustar0030 mtime=1791882995.188029086 30 atime=1791882995.187933473 30 ctime=1791882995.188029086 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/03/in.yaml0000644000175000017500000000002015263373363022107 0ustar00tinatina%YAML 1.1 --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/03/PaxHeaders/===0000644000000000000000000000013215263373363021464 xustar0030 mtime=1791882995.065558572 30 atime=1791882995.065501371 30 ctime=1791882995.065558572 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MUS6/03/===0000644000175000017500000000002315263373363021111 0ustar00tinatinaDirective variants YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/M2N80000644000000000000000000000013215263373363020626 xustar0030 mtime=1791882995.065159357 30 atime=1791882995.064929647 30 ctime=1791882995.065159357 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M2N8/0000755000175000017500000000000015263373363020335 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M2N8/PaxHeaders/010000644000000000000000000000013215263373363021046 xustar0030 mtime=1791882995.204250094 30 atime=1791882995.065159357 30 ctime=1791882995.204250094 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M2N8/01/0000755000175000017500000000000015263373363020555 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M2N8/01/PaxHeaders/test.event0000644000000000000000000000013215263373363023145 xustar0030 mtime=1791882995.204344101 30 atime=1791882995.204250094 30 ctime=1791882995.204344101 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M2N8/01/test.event0000644000175000017500000000010415263373363022572 0ustar00tinatina+STR +DOC +MAP +MAP +SEQ [] -SEQ =VAL :x -MAP =VAL : -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M2N8/01/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022616 xustar0030 mtime=1791882995.196373001 30 atime=1791882995.196270543 30 ctime=1791882995.196373001 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M2N8/01/out.yaml0000644000175000017500000000001215263373363022241 0ustar00tinatina? []: x : YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M2N8/01/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022414 xustar0030 mtime=1791882995.184602444 29 atime=1791882995.18450732 30 ctime=1791882995.184602444 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M2N8/01/in.yaml0000644000175000017500000000001015263373363022036 0ustar00tinatina? []: x YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M2N8/01/PaxHeaders/===0000644000000000000000000000013215263373363021414 xustar0030 mtime=1791882995.065328164 30 atime=1791882995.065159357 30 ctime=1791882995.065328164 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M2N8/01/===0000644000175000017500000000003115263373363021040 0ustar00tinatinaQuestion mark edge cases YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M2N8/PaxHeaders/000000644000000000000000000000013215263373363021045 xustar0030 mtime=1791882995.204154201 30 atime=1791882995.064929647 30 ctime=1791882995.204154201 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M2N8/00/0000755000175000017500000000000015263373363020554 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M2N8/00/PaxHeaders/test.event0000644000000000000000000000013215263373363023144 xustar0030 mtime=1791882995.204250094 30 atime=1791882995.204154201 30 ctime=1791882995.204250094 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M2N8/00/test.event0000644000175000017500000000011015263373363022566 0ustar00tinatina+STR +DOC +SEQ +MAP +MAP =VAL : =VAL :x -MAP =VAL : -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M2N8/00/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022615 xustar0030 mtime=1791882995.196270543 30 atime=1791882995.196174302 30 ctime=1791882995.196270543 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M2N8/00/out.yaml0000644000175000017500000000001415263373363022242 0ustar00tinatina- ? : x : YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M2N8/00/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022412 xustar0029 mtime=1791882995.18450732 30 atime=1791882995.184405491 29 ctime=1791882995.18450732 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M2N8/00/in.yaml0000644000175000017500000000001015263373363022035 0ustar00tinatina- ? : x YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M2N8/00/PaxHeaders/===0000644000000000000000000000013215263373363021413 xustar0030 mtime=1791882995.065159357 30 atime=1791882995.065101109 30 ctime=1791882995.065159357 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M2N8/00/===0000644000175000017500000000003115263373363021037 0ustar00tinatinaQuestion mark edge cases YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/VJP30000644000000000000000000000013215263373363020664 xustar0030 mtime=1791882995.064763284 30 atime=1791882995.064534553 30 ctime=1791882995.064763284 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/0000755000175000017500000000000015263373363020373 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/PaxHeaders/010000644000000000000000000000013215263373363021104 xustar0030 mtime=1791882995.204047553 30 atime=1791882995.064763284 30 ctime=1791882995.204047553 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/01/0000755000175000017500000000000015263373363020613 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/01/PaxHeaders/test.event0000644000000000000000000000013215263373363023203 xustar0030 mtime=1791882995.204154201 30 atime=1791882995.204047553 30 ctime=1791882995.204154201 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/01/test.event0000644000175000017500000000010315263373363022627 0ustar00tinatina+STR +DOC +MAP =VAL :k +MAP {} =VAL :k =VAL :v -MAP -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/01/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363023003 xustar0030 mtime=1791882995.199397146 30 atime=1791882995.199301951 30 ctime=1791882995.199397146 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/01/emit.yaml0000644000175000017500000000001215263373363022426 0ustar00tinatinak: k: v YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/01/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022654 xustar0030 mtime=1791882995.196174302 30 atime=1791882995.196068841 30 ctime=1791882995.196174302 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/01/out.yaml0000644000175000017500000000001615263373363022303 0ustar00tinatina--- k: k: v YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/01/PaxHeaders/in.json0000644000000000000000000000013115263373363022461 xustar0030 mtime=1791882995.178762493 29 atime=1791882995.17866674 30 ctime=1791882995.178762493 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/01/in.json0000644000175000017500000000004015263373363022106 0ustar00tinatina{ "k" : { "k" : "v" } } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/01/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022451 xustar0029 mtime=1791882995.17866674 30 atime=1791882995.178569451 29 ctime=1791882995.17866674 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/01/in.yaml0000644000175000017500000000002115263373363022076 0ustar00tinatinak: { k : v } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/01/PaxHeaders/===0000644000000000000000000000013215263373363021452 xustar0030 mtime=1791882995.064929647 30 atime=1791882995.064763284 30 ctime=1791882995.064929647 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/01/===0000644000175000017500000000004115263373363021077 0ustar00tinatinaFlow collections over many lines YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/PaxHeaders/000000644000000000000000000000013215263373363021103 xustar0030 mtime=1791882995.203953127 30 atime=1791882995.064534553 30 ctime=1791882995.203953127 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/00/0000755000175000017500000000000015263373363020612 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/00/PaxHeaders/test.event0000644000000000000000000000013215263373363023202 xustar0030 mtime=1791882995.204047553 30 atime=1791882995.203953127 30 ctime=1791882995.204047553 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/00/test.event0000644000175000017500000000003715263373363022634 0ustar00tinatina+STR +DOC +MAP =VAL :k +MAP {} YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/00/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022452 xustar0030 mtime=1791882995.178569451 30 atime=1791882995.178471673 30 ctime=1791882995.178569451 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/00/in.yaml0000644000175000017500000000001515263373363022100 0ustar00tinatinak: { k : v } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/00/PaxHeaders/error0000644000000000000000000000013215263373363022234 xustar0030 mtime=1791882995.138933743 30 atime=1791882995.138933743 30 ctime=1791882995.139033407 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/00/error0000644000175000017500000000000015263373363021654 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/00/PaxHeaders/===0000644000000000000000000000013215263373363021451 xustar0030 mtime=1791882995.064763284 30 atime=1791882995.064706084 30 ctime=1791882995.064763284 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/VJP3/00/===0000644000175000017500000000004115263373363021076 0ustar00tinatinaFlow collections over many lines YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/3RLN0000644000000000000000000000013215263373363020660 xustar0030 mtime=1791882995.064362393 30 atime=1791882995.063471912 30 ctime=1791882995.064362393 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/0000755000175000017500000000000015263373363020367 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/PaxHeaders/040000644000000000000000000000013015263373363021101 xustar0029 mtime=1791882995.20385926 30 atime=1791882995.064362393 29 ctime=1791882995.20385926 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/04/0000755000175000017500000000000015263373363020612 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/04/PaxHeaders/test.event0000644000000000000000000000013115263373363023201 xustar0030 mtime=1791882995.203953127 29 atime=1791882995.20385926 30 ctime=1791882995.203953127 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/04/test.event0000644000175000017500000000005415263373363022633 0ustar00tinatina+STR +DOC =VAL "5 leading \t tab -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/04/PaxHeaders/emit.yaml0000644000000000000000000000013115263373363023001 xustar0030 mtime=1791882995.199301951 29 atime=1791882995.19918336 30 ctime=1791882995.199301951 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/04/emit.yaml0000644000175000017500000000002415263373363022430 0ustar00tinatina"5 leading \t tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/04/PaxHeaders/in.json0000644000000000000000000000013215263373363022461 xustar0030 mtime=1791882995.176349603 30 atime=1791882995.176254619 30 ctime=1791882995.176349603 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/04/in.json0000644000175000017500000000002415263373363022107 0ustar00tinatina"5 leading \t tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/04/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022452 xustar0030 mtime=1791882995.176254619 30 atime=1791882995.176153488 30 ctime=1791882995.176254619 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/04/in.yaml0000644000175000017500000000003015263373363022075 0ustar00tinatina"5 leading \ tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/04/PaxHeaders/===0000644000000000000000000000013215263373363021451 xustar0030 mtime=1791882995.064534553 30 atime=1791882995.064362393 30 ctime=1791882995.064534553 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/04/===0000644000175000017500000000003615263373363021102 0ustar00tinatinaLeading tabs in double quoted YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/PaxHeaders/020000644000000000000000000000013215263373363021101 xustar0030 mtime=1791882995.203764555 30 atime=1791882995.064191072 30 ctime=1791882995.203764555 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/02/0000755000175000017500000000000015263373363020610 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/02/PaxHeaders/test.event0000644000000000000000000000013015263373363023176 xustar0029 mtime=1791882995.20385926 30 atime=1791882995.203764555 29 ctime=1791882995.20385926 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/02/test.event0000644000175000017500000000005015263373363022625 0ustar00tinatina+STR +DOC =VAL "3 leading tab -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/02/PaxHeaders/emit.yaml0000644000000000000000000000012715263373363023004 xustar0029 mtime=1791882995.19918336 29 atime=1791882995.19902908 29 ctime=1791882995.19918336 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/02/emit.yaml0000644000175000017500000000002015263373363022422 0ustar00tinatina"3 leading tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/02/PaxHeaders/in.json0000644000000000000000000000013215263373363022457 xustar0030 mtime=1791882995.176153488 30 atime=1791882995.176050821 30 ctime=1791882995.176153488 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/02/in.json0000644000175000017500000000002015263373363022101 0ustar00tinatina"3 leading tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/02/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022450 xustar0030 mtime=1791882995.176050821 30 atime=1791882995.175954998 30 ctime=1791882995.176050821 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/02/in.yaml0000644000175000017500000000002515263373363022077 0ustar00tinatina"3 leading tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/02/PaxHeaders/===0000644000000000000000000000013215263373363021447 xustar0030 mtime=1791882995.064362393 30 atime=1791882995.064191072 30 ctime=1791882995.064362393 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/02/===0000644000175000017500000000003615263373363021100 0ustar00tinatinaLeading tabs in double quoted YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/PaxHeaders/010000644000000000000000000000013215263373363021100 xustar0030 mtime=1791882995.203670688 30 atime=1791882995.064031693 30 ctime=1791882995.203670688 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/01/0000755000175000017500000000000015263373363020607 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/01/PaxHeaders/test.event0000644000000000000000000000013215263373363023177 xustar0030 mtime=1791882995.203764555 30 atime=1791882995.203670688 30 ctime=1791882995.203764555 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/01/test.event0000644000175000017500000000005215263373363022626 0ustar00tinatina+STR +DOC =VAL "2 leading \ttab -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/01/PaxHeaders/emit.yaml0000644000000000000000000000013015263373363022775 xustar0029 mtime=1791882995.19902908 30 atime=1791882995.198927111 29 ctime=1791882995.19902908 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/01/emit.yaml0000644000175000017500000000002215263373363022423 0ustar00tinatina"2 leading \ttab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/01/PaxHeaders/in.json0000644000000000000000000000013215263373363022456 xustar0030 mtime=1791882995.175954998 30 atime=1791882995.175860153 30 ctime=1791882995.175954998 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/01/in.json0000644000175000017500000000002215263373363022102 0ustar00tinatina"2 leading \ttab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/01/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022447 xustar0030 mtime=1791882995.175860153 30 atime=1791882995.175763632 30 ctime=1791882995.175860153 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/01/in.yaml0000644000175000017500000000002615263373363022077 0ustar00tinatina"2 leading \ tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/01/PaxHeaders/===0000644000000000000000000000013215263373363021446 xustar0030 mtime=1791882995.064191072 30 atime=1791882995.064031693 30 ctime=1791882995.064191072 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/01/===0000644000175000017500000000003615263373363021077 0ustar00tinatinaLeading tabs in double quoted YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/PaxHeaders/000000644000000000000000000000013215263373363021077 xustar0030 mtime=1791882995.203575284 30 atime=1791882995.063865959 30 ctime=1791882995.203575284 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/00/0000755000175000017500000000000015263373363020606 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/00/PaxHeaders/test.event0000644000000000000000000000013215263373363023176 xustar0030 mtime=1791882995.203670688 30 atime=1791882995.203575284 30 ctime=1791882995.203670688 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/00/test.event0000644000175000017500000000005215263373363022625 0ustar00tinatina+STR +DOC =VAL "1 leading \ttab -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/00/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022776 xustar0030 mtime=1791882995.198927111 30 atime=1791882995.198834711 30 ctime=1791882995.198927111 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/00/emit.yaml0000644000175000017500000000002215263373363022422 0ustar00tinatina"1 leading \ttab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/00/PaxHeaders/in.json0000644000000000000000000000013215263373363022455 xustar0030 mtime=1791882995.175763632 30 atime=1791882995.175669276 30 ctime=1791882995.175763632 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/00/in.json0000644000175000017500000000002215263373363022101 0ustar00tinatina"1 leading \ttab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/00/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022446 xustar0030 mtime=1791882995.175669276 30 atime=1791882995.175571497 30 ctime=1791882995.175669276 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/00/in.yaml0000644000175000017500000000002615263373363022076 0ustar00tinatina"1 leading \ttab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/00/PaxHeaders/===0000644000000000000000000000013215263373363021445 xustar0030 mtime=1791882995.064031693 30 atime=1791882995.063865959 30 ctime=1791882995.064031693 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/00/===0000644000175000017500000000003615263373363021076 0ustar00tinatinaLeading tabs in double quoted YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/PaxHeaders/050000644000000000000000000000013115263373363021103 xustar0030 mtime=1791882995.203478344 29 atime=1791882995.06370204 30 ctime=1791882995.203478344 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/05/0000755000175000017500000000000015263373363020613 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/05/PaxHeaders/test.event0000644000000000000000000000013215263373363023203 xustar0030 mtime=1791882995.203575284 30 atime=1791882995.203478344 30 ctime=1791882995.203575284 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/05/test.event0000644000175000017500000000005015263373363022630 0ustar00tinatina+STR +DOC =VAL "6 leading tab -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/05/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363023003 xustar0030 mtime=1791882995.198834711 30 atime=1791882995.198733231 30 ctime=1791882995.198834711 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/05/emit.yaml0000644000175000017500000000002015263373363022425 0ustar00tinatina"6 leading tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/05/PaxHeaders/in.json0000644000000000000000000000013215263373363022462 xustar0030 mtime=1791882995.175571497 30 atime=1791882995.175476652 30 ctime=1791882995.175571497 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/05/in.json0000644000175000017500000000002015263373363022104 0ustar00tinatina"6 leading tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/05/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022452 xustar0030 mtime=1791882995.175476652 29 atime=1791882995.17538041 30 ctime=1791882995.175476652 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/05/in.yaml0000644000175000017500000000002715263373363022104 0ustar00tinatina"6 leading tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/05/PaxHeaders/===0000644000000000000000000000013115263373363021451 xustar0030 mtime=1791882995.063865959 29 atime=1791882995.06370204 30 ctime=1791882995.063865959 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/05/===0000644000175000017500000000003615263373363021103 0ustar00tinatinaLeading tabs in double quoted YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/PaxHeaders/030000644000000000000000000000013215263373363021102 xustar0030 mtime=1791882995.203371626 30 atime=1791882995.063471912 30 ctime=1791882995.203371626 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/03/0000755000175000017500000000000015263373363020611 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/03/PaxHeaders/test.event0000644000000000000000000000013215263373363023201 xustar0030 mtime=1791882995.203478344 30 atime=1791882995.203371626 30 ctime=1791882995.203478344 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/03/test.event0000644000175000017500000000005415263373363022632 0ustar00tinatina+STR +DOC =VAL "4 leading \t tab -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/03/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363023001 xustar0030 mtime=1791882995.198733231 30 atime=1791882995.198630773 30 ctime=1791882995.198733231 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/03/emit.yaml0000644000175000017500000000002415263373363022427 0ustar00tinatina"4 leading \t tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/03/PaxHeaders/in.json0000644000000000000000000000013015263373363022456 xustar0029 mtime=1791882995.17538041 30 atime=1791882995.175272854 29 ctime=1791882995.17538041 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/03/in.json0000644000175000017500000000002415263373363022106 0ustar00tinatina"4 leading \t tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/03/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022451 xustar0030 mtime=1791882995.175272854 30 atime=1791882995.175167603 30 ctime=1791882995.175272854 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/03/in.yaml0000644000175000017500000000003015263373363022074 0ustar00tinatina"4 leading \t tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/03/PaxHeaders/===0000644000000000000000000000013015263373363021446 xustar0029 mtime=1791882995.06370204 30 atime=1791882995.063643862 29 ctime=1791882995.06370204 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3RLN/03/===0000644000175000017500000000003615263373363021101 0ustar00tinatinaLeading tabs in double quoted YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/SM9W0000644000000000000000000000013215263373363020701 xustar0030 mtime=1791882995.063308273 30 atime=1791882995.063054468 30 ctime=1791882995.063308273 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SM9W/0000755000175000017500000000000015263373363020410 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SM9W/PaxHeaders/010000644000000000000000000000013215263373363021121 xustar0030 mtime=1791882995.203286698 30 atime=1791882995.063308273 30 ctime=1791882995.203286698 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SM9W/01/0000755000175000017500000000000015263373363020630 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SM9W/01/PaxHeaders/test.event0000644000000000000000000000013215263373363023220 xustar0030 mtime=1791882995.203371626 30 atime=1791882995.203286698 30 ctime=1791882995.203371626 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SM9W/01/test.event0000644000175000017500000000005415263373363022651 0ustar00tinatina+STR +DOC +MAP =VAL : =VAL : -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SM9W/01/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022671 xustar0030 mtime=1791882995.196068841 30 atime=1791882995.195973926 30 ctime=1791882995.196068841 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SM9W/01/out.yaml0000644000175000017500000000000215263373363022313 0ustar00tinatina: YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SM9W/01/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022467 xustar0030 mtime=1791882995.173077521 29 atime=1791882995.17298072 30 ctime=1791882995.173077521 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SM9W/01/in.yaml0000644000175000017500000000000115263373363022111 0ustar00tinatina:YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SM9W/01/PaxHeaders/===0000644000000000000000000000013215263373363021467 xustar0030 mtime=1791882995.063471912 30 atime=1791882995.063308273 30 ctime=1791882995.063471912 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SM9W/01/===0000644000175000017500000000003115263373363021113 0ustar00tinatinaSingle character streams YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SM9W/PaxHeaders/000000644000000000000000000000013215263373363021120 xustar0030 mtime=1791882995.203200793 30 atime=1791882995.063054468 30 ctime=1791882995.203200793 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SM9W/00/0000755000175000017500000000000015263373363020627 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SM9W/00/PaxHeaders/test.event0000644000000000000000000000013215263373363023217 xustar0030 mtime=1791882995.203286698 30 atime=1791882995.203200793 30 ctime=1791882995.203286698 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SM9W/00/test.event0000644000175000017500000000004515263373363022650 0ustar00tinatina+STR +DOC +SEQ =VAL : -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SM9W/00/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022670 xustar0030 mtime=1791882995.195973926 30 atime=1791882995.195880617 30 ctime=1791882995.195973926 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SM9W/00/out.yaml0000644000175000017500000000000215263373363022312 0ustar00tinatina- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SM9W/00/PaxHeaders/in.json0000644000000000000000000000013015263373363022474 xustar0029 mtime=1791882995.17298072 30 atime=1791882995.172887063 29 ctime=1791882995.17298072 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SM9W/00/in.json0000644000175000017500000000000715263373363022125 0ustar00tinatina[null] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SM9W/00/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022467 xustar0030 mtime=1791882995.172887063 30 atime=1791882995.172789424 30 ctime=1791882995.172887063 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SM9W/00/in.yaml0000644000175000017500000000000115263373363022110 0ustar00tinatina-YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SM9W/00/PaxHeaders/===0000644000000000000000000000013215263373363021466 xustar0030 mtime=1791882995.063308273 30 atime=1791882995.063249047 30 ctime=1791882995.063308273 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SM9W/00/===0000644000175000017500000000003115263373363021112 0ustar00tinatinaSingle character streams YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/HM870000644000000000000000000000013215263373363020625 xustar0030 mtime=1791882995.062891807 30 atime=1791882995.062667615 30 ctime=1791882995.062891807 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/0000755000175000017500000000000015263373363020334 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/PaxHeaders/010000644000000000000000000000013215263373363021045 xustar0030 mtime=1791882995.203094843 30 atime=1791882995.062891807 30 ctime=1791882995.203094843 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/01/0000755000175000017500000000000015263373363020554 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/01/PaxHeaders/test.event0000644000000000000000000000013215263373363023144 xustar0030 mtime=1791882995.203200793 30 atime=1791882995.203094843 30 ctime=1791882995.203200793 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/01/test.event0000644000175000017500000000005215263373363022573 0ustar00tinatina+STR +DOC +SEQ [] =VAL :?x -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/01/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022615 xustar0030 mtime=1791882995.195880617 30 atime=1791882995.195786401 30 ctime=1791882995.195880617 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/01/out.yaml0000644000175000017500000000000515263373363022242 0ustar00tinatina- ?x YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/01/PaxHeaders/in.json0000644000000000000000000000013115263373363022422 xustar0030 mtime=1791882995.171726224 29 atime=1791882995.17163089 30 ctime=1791882995.171726224 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/01/in.json0000644000175000017500000000001315263373363022047 0ustar00tinatina[ "?x" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/01/PaxHeaders/in.yaml0000644000000000000000000000012715263373363022420 xustar0029 mtime=1791882995.17163089 29 atime=1791882995.17153395 29 ctime=1791882995.17163089 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/01/in.yaml0000644000175000017500000000000515263373363022041 0ustar00tinatina[?x] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/01/PaxHeaders/===0000644000000000000000000000013215263373363021413 xustar0030 mtime=1791882995.063054468 30 atime=1791882995.062891807 30 ctime=1791882995.063054468 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/01/===0000644000175000017500000000004715263373363021046 0ustar00tinatinaScalars in flow start with syntax char YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/PaxHeaders/000000644000000000000000000000013215263373363021044 xustar0030 mtime=1791882995.202998601 30 atime=1791882995.062667615 30 ctime=1791882995.202998601 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/00/0000755000175000017500000000000015263373363020553 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/00/PaxHeaders/test.event0000644000000000000000000000013215263373363023143 xustar0030 mtime=1791882995.203094843 30 atime=1791882995.202998601 30 ctime=1791882995.203094843 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/00/test.event0000644000175000017500000000005215263373363022572 0ustar00tinatina+STR +DOC +SEQ [] =VAL ::x -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/00/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022614 xustar0030 mtime=1791882995.195786401 30 atime=1791882995.195692883 30 ctime=1791882995.195786401 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/00/out.yaml0000644000175000017500000000000515263373363022241 0ustar00tinatina- :x YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/00/PaxHeaders/in.json0000644000000000000000000000012715263373363022426 xustar0029 mtime=1791882995.17153395 29 atime=1791882995.17143715 29 ctime=1791882995.17153395 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/00/in.json0000644000175000017500000000001315263373363022046 0ustar00tinatina[ ":x" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/00/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022411 xustar0029 mtime=1791882995.17143715 30 atime=1791882995.171338533 29 ctime=1791882995.17143715 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/00/in.yaml0000644000175000017500000000000515263373363022040 0ustar00tinatina[:x] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/00/PaxHeaders/===0000644000000000000000000000013215263373363021412 xustar0030 mtime=1791882995.062891807 30 atime=1791882995.062836004 30 ctime=1791882995.062891807 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HM87/00/===0000644000175000017500000000004715263373363021045 0ustar00tinatinaScalars in flow start with syntax char YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/9MQT0000644000000000000000000000013215263373363020674 xustar0030 mtime=1791882995.062506071 30 atime=1791882995.062283486 30 ctime=1791882995.062506071 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/0000755000175000017500000000000015263373363020403 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/PaxHeaders/010000644000000000000000000000013215263373363021114 xustar0030 mtime=1791882995.202904734 30 atime=1791882995.062506071 30 ctime=1791882995.202904734 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/01/0000755000175000017500000000000015263373363020623 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/01/PaxHeaders/test.event0000644000000000000000000000013215263373363023213 xustar0030 mtime=1791882995.202998601 30 atime=1791882995.202904734 30 ctime=1791882995.202998601 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/01/test.event0000644000175000017500000000001615263373363022642 0ustar00tinatina+STR +DOC --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/01/PaxHeaders/in.json0000644000000000000000000000013215263373363022472 xustar0030 mtime=1791882995.167394923 30 atime=1791882995.167292256 30 ctime=1791882995.167394923 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/01/in.json0000644000175000017500000000001315263373363022116 0ustar00tinatina"a ...x b" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/01/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022463 xustar0030 mtime=1791882995.167292256 30 atime=1791882995.167192592 30 ctime=1791882995.167292256 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/01/in.yaml0000644000175000017500000000002015263373363022105 0ustar00tinatina--- "a ... x b" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/01/PaxHeaders/error0000644000000000000000000000013215263373363022245 xustar0030 mtime=1791882995.132944541 30 atime=1791882995.132944541 30 ctime=1791882995.133044344 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/01/error0000644000175000017500000000000015263373363021665 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/01/PaxHeaders/===0000644000000000000000000000013215263373363021462 xustar0030 mtime=1791882995.062667615 30 atime=1791882995.062506071 30 ctime=1791882995.062667615 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/01/===0000644000175000017500000000004115263373363021107 0ustar00tinatinaScalar doc with '...' in content YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/PaxHeaders/000000644000000000000000000000013215263373363021113 xustar0030 mtime=1791882995.202810308 30 atime=1791882995.062283486 30 ctime=1791882995.202810308 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/00/0000755000175000017500000000000015263373363020622 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/00/PaxHeaders/test.event0000644000000000000000000000013215263373363023212 xustar0030 mtime=1791882995.202904734 30 atime=1791882995.202810308 30 ctime=1791882995.202904734 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/00/test.event0000644000175000017500000000004715263373363022645 0ustar00tinatina+STR +DOC --- =VAL "a ...x b -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/00/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363023012 xustar0030 mtime=1791882995.198630773 30 atime=1791882995.198537744 30 ctime=1791882995.198630773 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/00/emit.yaml0000644000175000017500000000001715263373363022442 0ustar00tinatina--- "a ...x b" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/00/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022663 xustar0030 mtime=1791882995.195692883 30 atime=1791882995.195599993 30 ctime=1791882995.195692883 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/00/out.yaml0000644000175000017500000000001515263373363022311 0ustar00tinatina--- a ...x b YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/00/PaxHeaders/in.json0000644000000000000000000000013215263373363022471 xustar0030 mtime=1791882995.167192592 30 atime=1791882995.167095791 30 ctime=1791882995.167192592 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/00/in.json0000644000175000017500000000001315263373363022115 0ustar00tinatina"a ...x b" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/00/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022462 xustar0030 mtime=1791882995.167095791 30 atime=1791882995.166998153 30 ctime=1791882995.167095791 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/00/in.yaml0000644000175000017500000000001715263373363022112 0ustar00tinatina--- "a ...x b" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/00/PaxHeaders/===0000644000000000000000000000013215263373363021461 xustar0030 mtime=1791882995.062506071 30 atime=1791882995.062450198 30 ctime=1791882995.062506071 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MQT/00/===0000644000175000017500000000004115263373363021106 0ustar00tinatinaScalar doc with '...' in content YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/4MUZ0000644000000000000000000000013215263373363020701 xustar0030 mtime=1791882995.062113422 30 atime=1791882995.061726988 30 ctime=1791882995.062113422 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/0000755000175000017500000000000015263373363020410 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/PaxHeaders/020000644000000000000000000000013215263373363021122 xustar0030 mtime=1791882995.202716581 30 atime=1791882995.062113422 30 ctime=1791882995.202716581 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/02/0000755000175000017500000000000015263373363020631 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/02/PaxHeaders/test.event0000644000000000000000000000013215263373363023221 xustar0030 mtime=1791882995.202810308 30 atime=1791882995.202716581 30 ctime=1791882995.202810308 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/02/test.event0000644000175000017500000000006515263373363022654 0ustar00tinatina+STR +DOC +MAP {} =VAL :foo =VAL :bar -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/02/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363023021 xustar0030 mtime=1791882995.198537744 30 atime=1791882995.198435076 30 ctime=1791882995.198537744 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/02/emit.yaml0000644000175000017500000000001115263373363022443 0ustar00tinatinafoo: bar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/02/PaxHeaders/in.json0000644000000000000000000000013215263373363022500 xustar0030 mtime=1791882995.166830952 30 atime=1791882995.166738132 30 ctime=1791882995.166830952 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/02/in.json0000644000175000017500000000002315263373363022125 0ustar00tinatina{ "foo": "bar" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/02/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022471 xustar0030 mtime=1791882995.166738132 30 atime=1791882995.166643776 30 ctime=1791882995.166738132 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/02/in.yaml0000644000175000017500000000001415263373363022116 0ustar00tinatina{foo : bar} YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/02/PaxHeaders/===0000644000000000000000000000013215263373363021470 xustar0030 mtime=1791882995.062283486 30 atime=1791882995.062113422 30 ctime=1791882995.062283486 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/02/===0000644000175000017500000000004515263373363021121 0ustar00tinatinaFlow mapping colon on line after key YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/PaxHeaders/010000644000000000000000000000013215263373363021121 xustar0030 mtime=1791882995.202621316 30 atime=1791882995.061951668 30 ctime=1791882995.202621316 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/01/0000755000175000017500000000000015263373363020630 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/01/PaxHeaders/test.event0000644000000000000000000000013215263373363023220 xustar0030 mtime=1791882995.202716581 30 atime=1791882995.202621316 30 ctime=1791882995.202716581 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/01/test.event0000644000175000017500000000006515263373363022653 0ustar00tinatina+STR +DOC +MAP {} =VAL "foo =VAL :bar -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/01/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363023020 xustar0030 mtime=1791882995.198435076 30 atime=1791882995.198335343 30 ctime=1791882995.198435076 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/01/emit.yaml0000644000175000017500000000001315263373363022444 0ustar00tinatina"foo": bar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/01/PaxHeaders/in.json0000644000000000000000000000013215263373363022477 xustar0030 mtime=1791882995.166643776 30 atime=1791882995.166551026 30 ctime=1791882995.166643776 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/01/in.json0000644000175000017500000000002315263373363022124 0ustar00tinatina{ "foo": "bar" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/01/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022467 xustar0030 mtime=1791882995.166551026 29 atime=1791882995.16645667 30 ctime=1791882995.166551026 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/01/in.yaml0000644000175000017500000000001615263373363022117 0ustar00tinatina{"foo" : bar} YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/01/PaxHeaders/===0000644000000000000000000000013215263373363021467 xustar0030 mtime=1791882995.062113422 30 atime=1791882995.061951668 30 ctime=1791882995.062113422 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/01/===0000644000175000017500000000004515263373363021120 0ustar00tinatinaFlow mapping colon on line after key YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/PaxHeaders/000000644000000000000000000000013215263373363021120 xustar0030 mtime=1791882995.202526402 30 atime=1791882995.061726988 30 ctime=1791882995.202526402 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/00/0000755000175000017500000000000015263373363020627 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/00/PaxHeaders/test.event0000644000000000000000000000013215263373363023217 xustar0030 mtime=1791882995.202621316 30 atime=1791882995.202526402 30 ctime=1791882995.202621316 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/00/test.event0000644000175000017500000000006515263373363022652 0ustar00tinatina+STR +DOC +MAP {} =VAL "foo =VAL "bar -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/00/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363023017 xustar0030 mtime=1791882995.198335343 30 atime=1791882995.198238263 30 ctime=1791882995.198335343 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/00/emit.yaml0000644000175000017500000000001515263373363022445 0ustar00tinatina"foo": "bar" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/00/PaxHeaders/in.json0000644000000000000000000000013015263373363022474 xustar0029 mtime=1791882995.16645667 30 atime=1791882995.166362733 29 ctime=1791882995.16645667 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/00/in.json0000644000175000017500000000002315263373363022123 0ustar00tinatina{ "foo": "bar" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/00/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022467 xustar0030 mtime=1791882995.166362733 30 atime=1791882995.166265793 30 ctime=1791882995.166362733 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/00/in.yaml0000644000175000017500000000002015263373363022111 0ustar00tinatina{"foo" : "bar"} YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/00/PaxHeaders/===0000644000000000000000000000013215263373363021466 xustar0030 mtime=1791882995.061951668 30 atime=1791882995.061895935 30 ctime=1791882995.061951668 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4MUZ/00/===0000644000175000017500000000004515263373363021117 0ustar00tinatinaFlow mapping colon on line after key YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/2G840000644000000000000000000000013015263373363020564 xustar0029 mtime=1791882995.06156719 30 atime=1791882995.060998329 29 ctime=1791882995.06156719 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/0000755000175000017500000000000015263373363020275 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/PaxHeaders/020000644000000000000000000000013115263373363021006 xustar0030 mtime=1791882995.202431487 29 atime=1791882995.06156719 30 ctime=1791882995.202431487 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/02/0000755000175000017500000000000015263373363020516 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/02/PaxHeaders/test.event0000644000000000000000000000013215263373363023106 xustar0030 mtime=1791882995.202526402 30 atime=1791882995.202431487 30 ctime=1791882995.202526402 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/02/test.event0000644000175000017500000000003715263373363022540 0ustar00tinatina+STR +DOC --- =VAL | -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/02/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022706 xustar0030 mtime=1791882995.198238263 30 atime=1791882995.198106332 30 ctime=1791882995.198238263 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/02/emit.yaml0000644000175000017500000000000715263373363022335 0ustar00tinatina--- "" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/02/PaxHeaders/in.json0000644000000000000000000000013215263373363022365 xustar0030 mtime=1791882995.161382882 30 atime=1791882995.161287199 30 ctime=1791882995.161382882 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/02/in.json0000644000175000017500000000000315263373363022010 0ustar00tinatina"" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/02/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022355 xustar0030 mtime=1791882995.161287199 29 atime=1791882995.16118963 30 ctime=1791882995.161287199 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/02/in.yaml0000644000175000017500000000000715263373363022005 0ustar00tinatina--- |1-YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/02/PaxHeaders/===0000644000000000000000000000013115263373363021354 xustar0030 mtime=1791882995.061726988 29 atime=1791882995.06156719 30 ctime=1791882995.061726988 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/02/===0000644000175000017500000000002115263373363021000 0ustar00tinatinaLiteral modifers YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/PaxHeaders/010000644000000000000000000000013215263373363021006 xustar0030 mtime=1791882995.202335105 30 atime=1791882995.061404668 30 ctime=1791882995.202335105 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/01/0000755000175000017500000000000015263373363020515 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/01/PaxHeaders/test.event0000644000000000000000000000013215263373363023105 xustar0030 mtime=1791882995.202431487 30 atime=1791882995.202335105 30 ctime=1791882995.202431487 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/01/test.event0000644000175000017500000000001615263373363022534 0ustar00tinatina+STR +DOC --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/01/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022353 xustar0029 mtime=1791882995.16118963 30 atime=1791882995.161085985 29 ctime=1791882995.16118963 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/01/in.yaml0000644000175000017500000000001015263373363021776 0ustar00tinatina--- |10 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/01/PaxHeaders/error0000644000000000000000000000013215263373363022137 xustar0030 mtime=1791882995.129885755 30 atime=1791882995.129885755 30 ctime=1791882995.129974523 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/01/error0000644000175000017500000000000015263373363021557 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/01/PaxHeaders/===0000644000000000000000000000013015263373363021352 xustar0029 mtime=1791882995.06156719 30 atime=1791882995.061404668 29 ctime=1791882995.06156719 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/01/===0000644000175000017500000000002115263373363020777 0ustar00tinatinaLiteral modifers YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/PaxHeaders/000000644000000000000000000000013215263373363021005 xustar0030 mtime=1791882995.202230692 30 atime=1791882995.061239702 30 ctime=1791882995.202230692 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/00/0000755000175000017500000000000015263373363020514 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/00/PaxHeaders/test.event0000644000000000000000000000013215263373363023104 xustar0030 mtime=1791882995.202335105 30 atime=1791882995.202230692 30 ctime=1791882995.202335105 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/00/test.event0000644000175000017500000000001615263373363022533 0ustar00tinatina+STR +DOC --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/00/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022353 xustar0030 mtime=1791882995.161085985 29 atime=1791882995.16099107 30 ctime=1791882995.161085985 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/00/in.yaml0000644000175000017500000000000715263373363022003 0ustar00tinatina--- |0 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/00/PaxHeaders/error0000644000000000000000000000013215263373363022136 xustar0030 mtime=1791882995.129785043 30 atime=1791882995.129785043 30 ctime=1791882995.129885755 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/00/error0000644000175000017500000000000015263373363021556 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/00/PaxHeaders/===0000644000000000000000000000013215263373363021353 xustar0030 mtime=1791882995.061404668 30 atime=1791882995.061239702 30 ctime=1791882995.061404668 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/00/===0000644000175000017500000000002115263373363020776 0ustar00tinatinaLiteral modifers YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/PaxHeaders/030000644000000000000000000000013215263373363021010 xustar0030 mtime=1791882995.202119574 30 atime=1791882995.060998329 30 ctime=1791882995.202119574 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/03/0000755000175000017500000000000015263373363020517 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/03/PaxHeaders/test.event0000644000000000000000000000013215263373363023107 xustar0030 mtime=1791882995.202230692 30 atime=1791882995.202119574 30 ctime=1791882995.202230692 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/03/test.event0000644000175000017500000000003715263373363022541 0ustar00tinatina+STR +DOC --- =VAL | -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/03/PaxHeaders/emit.yaml0000644000000000000000000000013115263373363022706 xustar0030 mtime=1791882995.198106332 29 atime=1791882995.19801002 30 ctime=1791882995.198106332 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/03/emit.yaml0000644000175000017500000000000715263373363022336 0ustar00tinatina--- "" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/03/PaxHeaders/in.json0000644000000000000000000000013015263373363022364 xustar0029 mtime=1791882995.16099107 30 atime=1791882995.160895178 29 ctime=1791882995.16099107 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/03/in.json0000644000175000017500000000000315263373363022011 0ustar00tinatina"" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/03/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022357 xustar0030 mtime=1791882995.160895178 30 atime=1791882995.160797888 30 ctime=1791882995.160895178 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/03/in.yaml0000644000175000017500000000000715263373363022006 0ustar00tinatina--- |1+YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/03/PaxHeaders/===0000644000000000000000000000013215263373363021356 xustar0030 mtime=1791882995.061239702 30 atime=1791882995.061177543 30 ctime=1791882995.061239702 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2G84/03/===0000644000175000017500000000002115263373363021001 0ustar00tinatinaLiteral modifers YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/96NN0000644000000000000000000000013215263373363020634 xustar0030 mtime=1791882995.060832735 30 atime=1791882995.060602257 30 ctime=1791882995.060832735 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/0000755000175000017500000000000015263373363020343 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/PaxHeaders/010000644000000000000000000000013215263373363021054 xustar0030 mtime=1791882995.202025637 30 atime=1791882995.060832735 30 ctime=1791882995.202025637 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/01/0000755000175000017500000000000015263373363020563 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/01/PaxHeaders/test.event0000644000000000000000000000013215263373363023153 xustar0030 mtime=1791882995.202119574 30 atime=1791882995.202025637 30 ctime=1791882995.202119574 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/01/test.event0000644000175000017500000000006415263373363022605 0ustar00tinatina+STR +DOC +MAP =VAL :foo =VAL |\tbar -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/01/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022624 xustar0030 mtime=1791882995.194258125 30 atime=1791882995.194159509 30 ctime=1791882995.194258125 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/01/out.yaml0000644000175000017500000000001715263373363022254 0ustar00tinatinafoo: |- bar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/01/PaxHeaders/in.json0000644000000000000000000000013215263373363022432 xustar0030 mtime=1791882995.159372839 30 atime=1791882995.159268914 30 ctime=1791882995.159372839 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/01/in.json0000644000175000017500000000002015263373363022054 0ustar00tinatina{"foo":"\tbar"} YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/01/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022423 xustar0030 mtime=1791882995.159268914 30 atime=1791882995.159154234 30 ctime=1791882995.159268914 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/01/in.yaml0000644000175000017500000000001515263373363022051 0ustar00tinatinafoo: |- barYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/01/PaxHeaders/===0000644000000000000000000000013215263373363021422 xustar0030 mtime=1791882995.060998329 30 atime=1791882995.060832735 30 ctime=1791882995.060998329 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/01/===0000644000175000017500000000004015263373363021046 0ustar00tinatinaLeading tab content in literals YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/PaxHeaders/000000644000000000000000000000013215263373363021053 xustar0030 mtime=1791882995.201941617 30 atime=1791882995.060602257 30 ctime=1791882995.201941617 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/00/0000755000175000017500000000000015263373363020562 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/00/PaxHeaders/test.event0000644000000000000000000000013215263373363023152 xustar0030 mtime=1791882995.202025637 30 atime=1791882995.201941617 30 ctime=1791882995.202025637 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/00/test.event0000644000175000017500000000006415263373363022604 0ustar00tinatina+STR +DOC +MAP =VAL :foo =VAL |\tbar -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/00/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022623 xustar0030 mtime=1791882995.194159509 30 atime=1791882995.194049788 30 ctime=1791882995.194159509 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/00/out.yaml0000644000175000017500000000001715263373363022253 0ustar00tinatinafoo: |- bar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/00/PaxHeaders/in.json0000644000000000000000000000013215263373363022431 xustar0030 mtime=1791882995.159154234 30 atime=1791882995.159044234 30 ctime=1791882995.159154234 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/00/in.json0000644000175000017500000000002015263373363022053 0ustar00tinatina{"foo":"\tbar"} YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/00/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022422 xustar0030 mtime=1791882995.159044234 30 atime=1791882995.158947852 30 ctime=1791882995.159044234 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/00/in.yaml0000644000175000017500000000001615263373363022051 0ustar00tinatinafoo: |- bar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/00/PaxHeaders/===0000644000000000000000000000013215263373363021421 xustar0030 mtime=1791882995.060832735 30 atime=1791882995.060775115 30 ctime=1791882995.060832735 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96NN/00/===0000644000175000017500000000004015263373363021045 0ustar00tinatinaLeading tab content in literals YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/UKK60000644000000000000000000000013215263373363020662 xustar0030 mtime=1791882995.060437291 30 atime=1791882995.060038216 30 ctime=1791882995.060437291 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/0000755000175000017500000000000015263373363020371 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/PaxHeaders/020000644000000000000000000000013215263373363021103 xustar0030 mtime=1791882995.201845864 30 atime=1791882995.060437291 30 ctime=1791882995.201845864 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/02/0000755000175000017500000000000015263373363020612 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/02/PaxHeaders/test.event0000644000000000000000000000013215263373363023202 xustar0030 mtime=1791882995.201941617 30 atime=1791882995.201845864 30 ctime=1791882995.201941617 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/02/test.event0000644000175000017500000000003715263373363022634 0ustar00tinatina+STR +DOC =VAL : -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/02/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022450 xustar0029 mtime=1791882995.15832249 30 atime=1791882995.158222896 29 ctime=1791882995.15832249 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/02/in.yaml0000644000175000017500000000000215263373363022074 0ustar00tinatina! YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/02/PaxHeaders/===0000644000000000000000000000013215263373363021451 xustar0030 mtime=1791882995.060602257 30 atime=1791882995.060437291 30 ctime=1791882995.060602257 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/02/===0000644000175000017500000000003415263373363021100 0ustar00tinatinaSyntax character edge cases YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/PaxHeaders/010000644000000000000000000000013115263373363021101 xustar0030 mtime=1791882995.201749064 29 atime=1791882995.06027002 30 ctime=1791882995.201749064 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/01/0000755000175000017500000000000015263373363020611 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/01/PaxHeaders/test.event0000644000000000000000000000013215263373363023201 xustar0030 mtime=1791882995.201845864 30 atime=1791882995.201749064 30 ctime=1791882995.201845864 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/01/test.event0000644000175000017500000000005515263373363022633 0ustar00tinatina+STR +DOC +MAP =VAL :: =VAL : -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/01/PaxHeaders/in.json0000644000000000000000000000012715263373363022464 xustar0030 mtime=1791882995.158222896 27 atime=1791882995.158102 30 ctime=1791882995.158222896 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/01/in.json0000644000175000017500000000002015263373363022102 0ustar00tinatina{ ":": null } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/01/PaxHeaders/in.yaml0000644000000000000000000000012415263373363022452 xustar0027 mtime=1791882995.158102 30 atime=1791882995.158005828 27 ctime=1791882995.158102 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/01/in.yaml0000644000175000017500000000000315263373363022074 0ustar00tinatina:: YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/01/PaxHeaders/===0000644000000000000000000000013115263373363021447 xustar0030 mtime=1791882995.060437291 29 atime=1791882995.06027002 30 ctime=1791882995.060437291 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/01/===0000644000175000017500000000003415263373363021077 0ustar00tinatinaSyntax character edge cases YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/PaxHeaders/000000644000000000000000000000013215263373363021101 xustar0030 mtime=1791882995.201654428 30 atime=1791882995.060038216 30 ctime=1791882995.201654428 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/00/0000755000175000017500000000000015263373363020610 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/00/PaxHeaders/test.event0000644000000000000000000000013215263373363023200 xustar0030 mtime=1791882995.201749064 30 atime=1791882995.201654428 30 ctime=1791882995.201749064 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/00/test.event0000644000175000017500000000006615263373363022634 0ustar00tinatina+STR +DOC +SEQ +MAP =VAL : =VAL : -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/00/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022450 xustar0030 mtime=1791882995.158005828 30 atime=1791882995.157908957 30 ctime=1791882995.158005828 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/00/in.yaml0000644000175000017500000000000415263373363022074 0ustar00tinatina- : YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/00/PaxHeaders/===0000644000000000000000000000013015263373363021445 xustar0029 mtime=1791882995.06027002 30 atime=1791882995.060212331 29 ctime=1791882995.06027002 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UKK6/00/===0000644000175000017500000000003415263373363021076 0ustar00tinatinaSyntax character edge cases YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/L24T0000644000000000000000000000013015263373363020625 xustar0029 mtime=1791882995.05987744 30 atime=1791882995.059668963 29 ctime=1791882995.05987744 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/0000755000175000017500000000000015263373363020336 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/PaxHeaders/010000644000000000000000000000013115263373363021046 xustar0030 mtime=1791882995.201559653 29 atime=1791882995.05987744 30 ctime=1791882995.201559653 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/01/0000755000175000017500000000000015263373363020556 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/01/PaxHeaders/test.event0000644000000000000000000000013215263373363023146 xustar0030 mtime=1791882995.201654428 30 atime=1791882995.201559653 30 ctime=1791882995.201654428 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/01/test.event0000644000175000017500000000006515263373363022601 0ustar00tinatina+STR +DOC +MAP =VAL :foo =VAL |x\n \n -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/01/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022746 xustar0030 mtime=1791882995.197034192 30 atime=1791882995.196938998 30 ctime=1791882995.197034192 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/01/emit.yaml0000644000175000017500000000002215263373363022372 0ustar00tinatina--- foo: "x\n \n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/01/PaxHeaders/in.json0000644000000000000000000000013215263373363022425 xustar0030 mtime=1791882995.157531743 30 atime=1791882995.157437317 30 ctime=1791882995.157531743 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/01/in.json0000644000175000017500000000002715263373363022056 0ustar00tinatina{ "foo" : "x\n \n" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/01/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022416 xustar0030 mtime=1791882995.157437317 30 atime=1791882995.157341005 30 ctime=1791882995.157437317 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/01/in.yaml0000644000175000017500000000001615263373363022045 0ustar00tinatinafoo: | x YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/01/PaxHeaders/===0000644000000000000000000000013115263373363021414 xustar0030 mtime=1791882995.060038216 29 atime=1791882995.05987744 30 ctime=1791882995.060038216 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/01/===0000644000175000017500000000003015263373363021040 0ustar00tinatinaTrailing line of spaces YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/PaxHeaders/000000644000000000000000000000013215263373363021046 xustar0030 mtime=1791882995.201465646 30 atime=1791882995.059668963 30 ctime=1791882995.201465646 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/00/0000755000175000017500000000000015263373363020555 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/00/PaxHeaders/test.event0000644000000000000000000000013215263373363023145 xustar0030 mtime=1791882995.201559653 30 atime=1791882995.201465646 30 ctime=1791882995.201559653 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/00/test.event0000644000175000017500000000006515263373363022600 0ustar00tinatina+STR +DOC +MAP =VAL :foo =VAL |x\n \n -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/00/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022745 xustar0030 mtime=1791882995.196938998 30 atime=1791882995.196843804 30 ctime=1791882995.196938998 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/00/emit.yaml0000644000175000017500000000002215263373363022371 0ustar00tinatina--- foo: "x\n \n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/00/PaxHeaders/in.json0000644000000000000000000000013115263373363022423 xustar0030 mtime=1791882995.157341005 29 atime=1791882995.15724602 30 ctime=1791882995.157341005 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/00/in.json0000644000175000017500000000002715263373363022055 0ustar00tinatina{ "foo" : "x\n \n" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/00/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022413 xustar0029 mtime=1791882995.15724602 30 atime=1791882995.157149639 29 ctime=1791882995.15724602 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/00/in.yaml0000644000175000017500000000001715263373363022045 0ustar00tinatinafoo: | x YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/00/PaxHeaders/===0000644000000000000000000000013015263373363021412 xustar0029 mtime=1791882995.05987744 30 atime=1791882995.059818704 29 ctime=1791882995.05987744 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L24T/00/===0000644000175000017500000000003015263373363021037 0ustar00tinatinaTrailing line of spaces YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/DE560000644000000000000000000000013215263373363020605 xustar0030 mtime=1791882995.059502391 30 atime=1791882995.058588792 30 ctime=1791882995.059502391 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/0000755000175000017500000000000015263373363020314 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/PaxHeaders/040000644000000000000000000000013215263373363021030 xustar0030 mtime=1791882995.201369684 30 atime=1791882995.059502391 30 ctime=1791882995.201369684 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/04/0000755000175000017500000000000015263373363020537 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/04/PaxHeaders/test.event0000644000000000000000000000013215263373363023127 xustar0030 mtime=1791882995.201465646 30 atime=1791882995.201369684 30 ctime=1791882995.201465646 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/04/test.event0000644000175000017500000000005115263373363022555 0ustar00tinatina+STR +DOC =VAL "5 trailing tab -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/04/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022600 xustar0030 mtime=1791882995.194049788 30 atime=1791882995.193954384 30 ctime=1791882995.194049788 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/04/out.yaml0000644000175000017500000000002115263373363022223 0ustar00tinatina"5 trailing tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/04/PaxHeaders/in.json0000644000000000000000000000013215263373363022406 xustar0030 mtime=1791882995.154734793 30 atime=1791882995.154640647 30 ctime=1791882995.154734793 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/04/in.json0000644000175000017500000000002115263373363022031 0ustar00tinatina"5 trailing tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/04/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022377 xustar0030 mtime=1791882995.154640647 30 atime=1791882995.154544335 30 ctime=1791882995.154640647 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/04/in.yaml0000644000175000017500000000002615263373363022027 0ustar00tinatina"5 trailing tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/04/PaxHeaders/===0000644000000000000000000000013215263373363021376 xustar0030 mtime=1791882995.059668963 30 atime=1791882995.059502391 30 ctime=1791882995.059668963 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/04/===0000644000175000017500000000003715263373363021030 0ustar00tinatinaTrailing tabs in double quoted YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/PaxHeaders/020000644000000000000000000000013115263373363021025 xustar0030 mtime=1791882995.201274769 29 atime=1791882995.05932604 30 ctime=1791882995.201274769 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/02/0000755000175000017500000000000015263373363020535 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/02/PaxHeaders/test.event0000644000000000000000000000013215263373363023125 xustar0030 mtime=1791882995.201369684 30 atime=1791882995.201274769 30 ctime=1791882995.201369684 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/02/test.event0000644000175000017500000000005315263373363022555 0ustar00tinatina+STR +DOC =VAL "3 trailing\t tab -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/02/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022576 xustar0030 mtime=1791882995.193954384 30 atime=1791882995.193859469 30 ctime=1791882995.193954384 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/02/out.yaml0000644000175000017500000000002315263373363022223 0ustar00tinatina"3 trailing\t tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/02/PaxHeaders/in.json0000644000000000000000000000013215263373363022404 xustar0030 mtime=1791882995.154544335 30 atime=1791882995.154449141 30 ctime=1791882995.154544335 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/02/in.json0000644000175000017500000000002315263373363022031 0ustar00tinatina"3 trailing\t tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/02/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022375 xustar0030 mtime=1791882995.154449141 30 atime=1791882995.154353667 30 ctime=1791882995.154449141 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/02/in.yaml0000644000175000017500000000002715263373363022026 0ustar00tinatina"3 trailing\ tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/02/PaxHeaders/===0000644000000000000000000000013115263373363021373 xustar0030 mtime=1791882995.059502391 29 atime=1791882995.05932604 30 ctime=1791882995.059502391 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/02/===0000644000175000017500000000003715263373363021026 0ustar00tinatinaTrailing tabs in double quoted YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/PaxHeaders/010000644000000000000000000000013215263373363021025 xustar0030 mtime=1791882995.201172311 30 atime=1791882995.059153951 30 ctime=1791882995.201172311 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/01/0000755000175000017500000000000015263373363020534 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/01/PaxHeaders/test.event0000644000000000000000000000013215263373363023124 xustar0030 mtime=1791882995.201274769 30 atime=1791882995.201172311 30 ctime=1791882995.201274769 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/01/test.event0000644000175000017500000000005315263373363022554 0ustar00tinatina+STR +DOC =VAL "2 trailing\t tab -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/01/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022575 xustar0030 mtime=1791882995.193859469 30 atime=1791882995.193764275 30 ctime=1791882995.193859469 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/01/out.yaml0000644000175000017500000000002315263373363022222 0ustar00tinatina"2 trailing\t tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/01/PaxHeaders/in.json0000644000000000000000000000013215263373363022403 xustar0030 mtime=1791882995.154353667 30 atime=1791882995.154258892 30 ctime=1791882995.154353667 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/01/in.json0000644000175000017500000000002315263373363022030 0ustar00tinatina"2 trailing\t tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/01/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022374 xustar0030 mtime=1791882995.154258892 30 atime=1791882995.154160695 30 ctime=1791882995.154258892 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/01/in.yaml0000644000175000017500000000003115263373363022020 0ustar00tinatina"2 trailing\t tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/01/PaxHeaders/===0000644000000000000000000000013015263373363021371 xustar0029 mtime=1791882995.05932604 30 atime=1791882995.059153951 29 ctime=1791882995.05932604 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/01/===0000644000175000017500000000003715263373363021025 0ustar00tinatinaTrailing tabs in double quoted YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/PaxHeaders/000000644000000000000000000000013215263373363021024 xustar0030 mtime=1791882995.201068317 30 atime=1791882995.058963073 30 ctime=1791882995.201068317 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/00/0000755000175000017500000000000015263373363020533 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/00/PaxHeaders/test.event0000644000000000000000000000013215263373363023123 xustar0030 mtime=1791882995.201172311 30 atime=1791882995.201068317 30 ctime=1791882995.201172311 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/00/test.event0000644000175000017500000000005315263373363022553 0ustar00tinatina+STR +DOC =VAL "1 trailing\t tab -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/00/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022574 xustar0030 mtime=1791882995.193764275 30 atime=1791882995.193667684 30 ctime=1791882995.193764275 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/00/out.yaml0000644000175000017500000000002315263373363022221 0ustar00tinatina"1 trailing\t tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/00/PaxHeaders/in.json0000644000000000000000000000013215263373363022402 xustar0030 mtime=1791882995.154160695 30 atime=1791882995.154044618 30 ctime=1791882995.154160695 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/00/in.json0000644000175000017500000000002315263373363022027 0ustar00tinatina"1 trailing\t tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/00/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022373 xustar0030 mtime=1791882995.154044618 30 atime=1791882995.153954522 30 ctime=1791882995.154044618 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/00/in.yaml0000644000175000017500000000002715263373363022024 0ustar00tinatina"1 trailing\t tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/00/PaxHeaders/===0000644000000000000000000000013215263373363021372 xustar0030 mtime=1791882995.059153951 30 atime=1791882995.058963073 30 ctime=1791882995.059153951 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/00/===0000644000175000017500000000003715263373363021024 0ustar00tinatinaTrailing tabs in double quoted YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/PaxHeaders/050000644000000000000000000000012715263373363021035 xustar0029 mtime=1791882995.20097431 29 atime=1791882995.05880593 29 ctime=1791882995.20097431 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/05/0000755000175000017500000000000015263373363020540 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/05/PaxHeaders/test.event0000644000000000000000000000013115263373363023127 xustar0030 mtime=1791882995.201068317 29 atime=1791882995.20097431 30 ctime=1791882995.201068317 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/05/test.event0000644000175000017500000000005115263373363022556 0ustar00tinatina+STR +DOC =VAL "6 trailing tab -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/05/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022601 xustar0030 mtime=1791882995.193667684 30 atime=1791882995.193570814 30 ctime=1791882995.193667684 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/05/out.yaml0000644000175000017500000000002115263373363022224 0ustar00tinatina"6 trailing tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/05/PaxHeaders/in.json0000644000000000000000000000013215263373363022407 xustar0030 mtime=1791882995.153954522 30 atime=1791882995.153869525 30 ctime=1791882995.153954522 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/05/in.json0000644000175000017500000000002115263373363022032 0ustar00tinatina"6 trailing tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/05/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022400 xustar0030 mtime=1791882995.153869525 30 atime=1791882995.153780826 30 ctime=1791882995.153869525 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/05/in.yaml0000644000175000017500000000003015263373363022023 0ustar00tinatina"6 trailing tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/05/PaxHeaders/===0000644000000000000000000000013115263373363021376 xustar0030 mtime=1791882995.058963073 29 atime=1791882995.05880593 30 ctime=1791882995.058963073 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/05/===0000644000175000017500000000003715263373363021031 0ustar00tinatinaTrailing tabs in double quoted YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/PaxHeaders/030000644000000000000000000000013215263373363021027 xustar0030 mtime=1791882995.200879116 30 atime=1791882995.058588792 30 ctime=1791882995.200879116 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/03/0000755000175000017500000000000015263373363020536 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/03/PaxHeaders/test.event0000644000000000000000000000013015263373363023124 xustar0029 mtime=1791882995.20097431 30 atime=1791882995.200879116 29 ctime=1791882995.20097431 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/03/test.event0000644000175000017500000000005315263373363022556 0ustar00tinatina+STR +DOC =VAL "4 trailing\t tab -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/03/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022577 xustar0030 mtime=1791882995.193570814 30 atime=1791882995.193471778 30 ctime=1791882995.193570814 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/03/out.yaml0000644000175000017500000000002315263373363022224 0ustar00tinatina"4 trailing\t tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/03/PaxHeaders/in.json0000644000000000000000000000013215263373363022405 xustar0030 mtime=1791882995.153780826 30 atime=1791882995.153678787 30 ctime=1791882995.153780826 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/03/in.json0000644000175000017500000000002315263373363022032 0ustar00tinatina"4 trailing\t tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/03/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022376 xustar0030 mtime=1791882995.153678787 30 atime=1791882995.153593231 30 ctime=1791882995.153678787 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/03/in.yaml0000644000175000017500000000003115263373363022022 0ustar00tinatina"4 trailing\ tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/03/PaxHeaders/===0000644000000000000000000000012715263373363021401 xustar0029 mtime=1791882995.05880593 29 atime=1791882995.05875704 29 ctime=1791882995.05880593 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DE56/03/===0000644000175000017500000000003715263373363021027 0ustar00tinatinaTrailing tabs in double quoted YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/KH5V0000644000000000000000000000013215263373363020657 xustar0030 mtime=1791882995.058437445 30 atime=1791882995.058044236 30 ctime=1791882995.058437445 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/0000755000175000017500000000000015263373363020366 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/PaxHeaders/020000644000000000000000000000013015263373363021076 xustar0029 mtime=1791882995.20078462 30 atime=1791882995.058437445 29 ctime=1791882995.20078462 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/02/0000755000175000017500000000000015263373363020607 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/02/PaxHeaders/test.event0000644000000000000000000000013115263373363023176 xustar0030 mtime=1791882995.200879116 29 atime=1791882995.20078462 30 ctime=1791882995.200879116 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/02/test.event0000644000175000017500000000005015263373363022624 0ustar00tinatina+STR +DOC =VAL "3 inline\ttab -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/02/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022650 xustar0030 mtime=1791882995.193471778 30 atime=1791882995.193375397 30 ctime=1791882995.193471778 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/02/out.yaml0000644000175000017500000000002015263373363022272 0ustar00tinatina"3 inline\ttab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/02/PaxHeaders/in.json0000644000000000000000000000013215263373363022456 xustar0030 mtime=1791882995.152046866 30 atime=1791882995.151953558 30 ctime=1791882995.152046866 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/02/in.json0000644000175000017500000000002015263373363022100 0ustar00tinatina"3 inline\ttab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/02/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022447 xustar0030 mtime=1791882995.151953558 30 atime=1791882995.151857805 30 ctime=1791882995.151953558 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/02/in.yaml0000644000175000017500000000001715263373363022077 0ustar00tinatina"3 inline tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/02/PaxHeaders/===0000644000000000000000000000013215263373363021446 xustar0030 mtime=1791882995.058588792 30 atime=1791882995.058437445 30 ctime=1791882995.058588792 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/02/===0000644000175000017500000000003515263373363021076 0ustar00tinatinaInline tabs in double quoted YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/PaxHeaders/010000644000000000000000000000013215263373363021077 xustar0030 mtime=1791882995.200690753 30 atime=1791882995.058270523 30 ctime=1791882995.200690753 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/01/0000755000175000017500000000000015263373363020606 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/01/PaxHeaders/test.event0000644000000000000000000000013015263373363023174 xustar0029 mtime=1791882995.20078462 30 atime=1791882995.200690753 29 ctime=1791882995.20078462 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/01/test.event0000644000175000017500000000005015263373363022623 0ustar00tinatina+STR +DOC =VAL "2 inline\ttab -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/01/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022647 xustar0030 mtime=1791882995.193375397 30 atime=1791882995.193277129 30 ctime=1791882995.193375397 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/01/out.yaml0000644000175000017500000000002015263373363022271 0ustar00tinatina"2 inline\ttab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/01/PaxHeaders/in.json0000644000000000000000000000013215263373363022455 xustar0030 mtime=1791882995.151857805 30 atime=1791882995.151764566 30 ctime=1791882995.151857805 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/01/in.json0000644000175000017500000000002015263373363022077 0ustar00tinatina"2 inline\ttab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/01/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022446 xustar0030 mtime=1791882995.151764566 30 atime=1791882995.151669302 30 ctime=1791882995.151764566 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/01/in.yaml0000644000175000017500000000002015263373363022070 0ustar00tinatina"2 inline\ tab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/01/PaxHeaders/===0000644000000000000000000000013215263373363021445 xustar0030 mtime=1791882995.058437445 30 atime=1791882995.058270523 30 ctime=1791882995.058437445 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/01/===0000644000175000017500000000003515263373363021075 0ustar00tinatinaInline tabs in double quoted YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/PaxHeaders/000000644000000000000000000000013215263373363021076 xustar0030 mtime=1791882995.200594162 30 atime=1791882995.058044236 30 ctime=1791882995.200594162 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/00/0000755000175000017500000000000015263373363020605 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/00/PaxHeaders/test.event0000644000000000000000000000013215263373363023175 xustar0030 mtime=1791882995.200690753 30 atime=1791882995.200594162 30 ctime=1791882995.200690753 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/00/test.event0000644000175000017500000000005015263373363022622 0ustar00tinatina+STR +DOC =VAL "1 inline\ttab -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/00/PaxHeaders/in.json0000644000000000000000000000013215263373363022454 xustar0030 mtime=1791882995.151669302 30 atime=1791882995.151575296 30 ctime=1791882995.151669302 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/00/in.json0000644000175000017500000000002015263373363022076 0ustar00tinatina"1 inline\ttab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/00/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022445 xustar0030 mtime=1791882995.151575296 30 atime=1791882995.151478774 30 ctime=1791882995.151575296 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/00/in.yaml0000644000175000017500000000002015263373363022067 0ustar00tinatina"1 inline\ttab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/00/PaxHeaders/===0000644000000000000000000000013215263373363021444 xustar0030 mtime=1791882995.058270523 30 atime=1791882995.058205151 30 ctime=1791882995.058270523 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KH5V/00/===0000644000175000017500000000003515263373363021074 0ustar00tinatinaInline tabs in double quoted YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/JEF90000644000000000000000000000013215263373363020637 xustar0030 mtime=1791882995.057871797 30 atime=1791882995.057483897 30 ctime=1791882995.057871797 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/0000755000175000017500000000000015263373363020346 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/PaxHeaders/020000644000000000000000000000013215263373363021060 xustar0030 mtime=1791882995.200496034 30 atime=1791882995.057871797 30 ctime=1791882995.200496034 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/02/0000755000175000017500000000000015263373363020567 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/02/PaxHeaders/test.event0000644000000000000000000000013215263373363023157 xustar0030 mtime=1791882995.200594162 30 atime=1791882995.200496034 30 ctime=1791882995.200594162 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/02/test.event0000644000175000017500000000004715263373363022612 0ustar00tinatina+STR +DOC +SEQ =VAL |\n -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/02/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022630 xustar0030 mtime=1791882995.193277129 30 atime=1791882995.193169713 30 ctime=1791882995.193277129 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/02/out.yaml0000644000175000017500000000001215263373363022253 0ustar00tinatina- |+ ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/02/PaxHeaders/in.json0000644000000000000000000000013215263373363022436 xustar0030 mtime=1791882995.151190957 30 atime=1791882995.151081375 30 ctime=1791882995.151190957 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/02/in.json0000644000175000017500000000001315263373363022062 0ustar00tinatina[ "\n" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/02/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022427 xustar0030 mtime=1791882995.151081375 30 atime=1791882995.150979965 30 ctime=1791882995.151081375 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/02/in.yaml0000644000175000017500000000001015263373363022050 0ustar00tinatina- |+ YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/02/PaxHeaders/===0000644000000000000000000000013215263373363021426 xustar0030 mtime=1791882995.058044236 30 atime=1791882995.057871797 30 ctime=1791882995.058044236 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/02/===0000644000175000017500000000003715263373363021060 0ustar00tinatinaTrailing whitespace in streams YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/PaxHeaders/010000644000000000000000000000013115263373363021056 xustar0030 mtime=1791882995.200394066 29 atime=1791882995.05770718 30 ctime=1791882995.200394066 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/01/0000755000175000017500000000000015263373363020566 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/01/PaxHeaders/test.event0000644000000000000000000000013215263373363023156 xustar0030 mtime=1791882995.200496034 30 atime=1791882995.200394066 30 ctime=1791882995.200496034 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/01/test.event0000644000175000017500000000004715263373363022611 0ustar00tinatina+STR +DOC +SEQ =VAL |\n -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/01/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022627 xustar0030 mtime=1791882995.193169713 30 atime=1791882995.193058665 30 ctime=1791882995.193169713 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/01/out.yaml0000644000175000017500000000001215263373363022252 0ustar00tinatina- |+ ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/01/PaxHeaders/in.json0000644000000000000000000000013115263373363022434 xustar0030 mtime=1791882995.150979965 29 atime=1791882995.15088526 30 ctime=1791882995.150979965 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/01/in.json0000644000175000017500000000001315263373363022061 0ustar00tinatina[ "\n" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/01/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022424 xustar0029 mtime=1791882995.15088526 30 atime=1791882995.150788878 29 ctime=1791882995.15088526 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/01/in.yaml0000644000175000017500000000001115263373363022050 0ustar00tinatina- |+ YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/01/PaxHeaders/===0000644000000000000000000000013115263373363021424 xustar0030 mtime=1791882995.057871797 29 atime=1791882995.05770718 30 ctime=1791882995.057871797 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/01/===0000644000175000017500000000003715263373363021057 0ustar00tinatinaTrailing whitespace in streams YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/PaxHeaders/000000644000000000000000000000012615263373363021061 xustar0028 mtime=1791882995.2002995 30 atime=1791882995.057483897 28 ctime=1791882995.2002995 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/00/0000755000175000017500000000000015263373363020565 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/00/PaxHeaders/test.event0000644000000000000000000000013015263373363023153 xustar0030 mtime=1791882995.200394066 28 atime=1791882995.2002995 30 ctime=1791882995.200394066 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/00/test.event0000644000175000017500000000005115263373363022603 0ustar00tinatina+STR +DOC +SEQ =VAL |\n\n -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/00/PaxHeaders/out.yaml0000644000000000000000000000013115263373363022625 xustar0030 mtime=1791882995.193058665 29 atime=1791882995.19295495 30 ctime=1791882995.193058665 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/00/out.yaml0000644000175000017500000000001315263373363022252 0ustar00tinatina- |+ ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/00/PaxHeaders/in.json0000644000000000000000000000013215263373363022434 xustar0030 mtime=1791882995.150788878 30 atime=1791882995.150692986 30 ctime=1791882995.150788878 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/00/in.json0000644000175000017500000000001515263373363022062 0ustar00tinatina[ "\n\n" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/00/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022425 xustar0030 mtime=1791882995.150692986 30 atime=1791882995.150596185 30 ctime=1791882995.150692986 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/00/in.yaml0000644000175000017500000000000715263373363022054 0ustar00tinatina- |+ YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/00/PaxHeaders/===0000644000000000000000000000013015263373363021422 xustar0029 mtime=1791882995.05770718 30 atime=1791882995.057649421 29 ctime=1791882995.05770718 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JEF9/00/===0000644000175000017500000000003715263373363021056 0ustar00tinatinaTrailing whitespace in streams YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/8XYN0000644000000000000000000000013215263373363020710 xustar0030 mtime=1791882995.192659729 30 atime=1791882995.050260731 30 ctime=1791882995.192659729 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8XYN/0000755000175000017500000000000015263373363020417 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8XYN/PaxHeaders/test.event0000644000000000000000000000013215263373363023007 xustar0030 mtime=1791882995.192753945 30 atime=1791882995.192659729 30 ctime=1791882995.192753945 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8XYN/test.event0000644000175000017500000000007515263373363022443 0ustar00tinatina+STR +DOC --- +SEQ =VAL &😁 :unicode anchor -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8XYN/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022460 xustar0030 mtime=1791882995.146626384 30 atime=1791882995.146532447 30 ctime=1791882995.146626384 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8XYN/out.yaml0000644000175000017500000000003315263373363022106 0ustar00tinatina--- - &😁 unicode anchor YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8XYN/PaxHeaders/in.json0000644000000000000000000000013215263373363022266 xustar0030 mtime=1791882995.125418542 30 atime=1791882995.125323976 30 ctime=1791882995.125418542 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8XYN/in.json0000644000175000017500000000002715263373363021717 0ustar00tinatina[ "unicode anchor" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8XYN/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022257 xustar0030 mtime=1791882995.125323976 30 atime=1791882995.125216629 30 ctime=1791882995.125323976 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8XYN/in.yaml0000644000175000017500000000003315263373363021705 0ustar00tinatina--- - &😁 unicode anchor YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8XYN/PaxHeaders/===0000644000000000000000000000013215263373363021256 xustar0030 mtime=1791882995.050422065 30 atime=1791882995.050260731 30 ctime=1791882995.050422065 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8XYN/===0000644000175000017500000000003615263373363020707 0ustar00tinatinaAnchor with unicode character YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/EX5H0000644000000000000000000000013215263373363020653 xustar0030 mtime=1791882995.192564465 30 atime=1791882995.050090457 30 ctime=1791882995.192564465 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EX5H/0000755000175000017500000000000015263373363020362 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EX5H/PaxHeaders/test.event0000644000000000000000000000013215263373363022752 xustar0030 mtime=1791882995.192659729 30 atime=1791882995.192564465 30 ctime=1791882995.192659729 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EX5H/test.event0000644000175000017500000000005115263373363022400 0ustar00tinatina+STR +DOC --- =VAL :a b c d\ne -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EX5H/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022552 xustar0030 mtime=1791882995.150406286 30 atime=1791882995.150312349 30 ctime=1791882995.150406286 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EX5H/emit.yaml0000644000175000017500000000001715263373363022202 0ustar00tinatina--- a b c d e YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EX5H/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022423 xustar0030 mtime=1791882995.146532447 30 atime=1791882995.146449755 30 ctime=1791882995.146532447 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EX5H/out.yaml0000644000175000017500000000001715263373363022053 0ustar00tinatina'a b c d e' YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EX5H/PaxHeaders/in.json0000644000000000000000000000013215263373363022231 xustar0030 mtime=1791882995.125216629 30 atime=1791882995.125094127 30 ctime=1791882995.125216629 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EX5H/in.json0000644000175000017500000000001515263373363021657 0ustar00tinatina"a b c d\ne" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EX5H/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022222 xustar0030 mtime=1791882995.125094127 30 atime=1791882995.124995301 30 ctime=1791882995.125094127 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EX5H/in.yaml0000644000175000017500000000002315263373363021647 0ustar00tinatina--- a b c d e YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EX5H/PaxHeaders/===0000644000000000000000000000013215263373363021221 xustar0030 mtime=1791882995.050260731 30 atime=1791882995.050090457 30 ctime=1791882995.050260731 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EX5H/===0000644000175000017500000000004415263373363020651 0ustar00tinatinaMultiline Scalar at Top Level [1.3] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/QB6E0000644000000000000000000000013215263373363020637 xustar0030 mtime=1791882995.190666727 30 atime=1791882995.049929263 30 ctime=1791882995.190666727 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QB6E/0000755000175000017500000000000015263373363020346 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QB6E/PaxHeaders/test.event0000644000000000000000000000013015263373363022734 xustar0029 mtime=1791882995.19076255 30 atime=1791882995.190666727 29 ctime=1791882995.19076255 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QB6E/test.event0000644000175000017500000000004015263373363022362 0ustar00tinatina+STR +DOC --- +MAP =VAL :quoted YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QB6E/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022206 xustar0030 mtime=1791882995.124995301 30 atime=1791882995.124901853 30 ctime=1791882995.124995301 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QB6E/in.yaml0000644000175000017500000000002415263373363021634 0ustar00tinatina--- quoted: "a b c" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QB6E/PaxHeaders/error0000644000000000000000000000013215263373363021770 xustar0030 mtime=1791882995.057398899 30 atime=1791882995.057398899 30 ctime=1791882995.057483897 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QB6E/error0000644000175000017500000000000015263373363021410 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QB6E/PaxHeaders/===0000644000000000000000000000013215263373363021205 xustar0030 mtime=1791882995.050090457 30 atime=1791882995.049929263 30 ctime=1791882995.050090457 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QB6E/===0000644000175000017500000000004715263373363020640 0ustar00tinatinaWrong indented multiline quoted scalar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/JKF30000644000000000000000000000013215263373363020637 xustar0030 mtime=1791882995.190570276 30 atime=1791882995.049763458 30 ctime=1791882995.190570276 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JKF3/0000755000175000017500000000000015263373363020346 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JKF3/PaxHeaders/test.event0000644000000000000000000000013215263373363022736 xustar0030 mtime=1791882995.190666727 30 atime=1791882995.190570276 30 ctime=1791882995.190666727 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JKF3/test.event0000644000175000017500000000002415263373363022364 0ustar00tinatina+STR +DOC +SEQ +SEQ YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JKF3/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022206 xustar0030 mtime=1791882995.124901853 30 atime=1791882995.124816087 30 ctime=1791882995.124901853 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JKF3/in.yaml0000644000175000017500000000002115263373363021631 0ustar00tinatina- - "bar bar": x YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JKF3/PaxHeaders/error0000644000000000000000000000013215263373363021770 xustar0030 mtime=1791882995.057313134 30 atime=1791882995.057313134 30 ctime=1791882995.057398899 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JKF3/error0000644000175000017500000000000015263373363021410 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JKF3/PaxHeaders/===0000644000000000000000000000013215263373363021205 xustar0030 mtime=1791882995.049929263 30 atime=1791882995.049763458 30 ctime=1791882995.049929263 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JKF3/===0000644000175000017500000000005415263373363020636 0ustar00tinatinaMultiline unidented double quoted block key YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/6BFJ0000644000000000000000000000013215263373363020631 xustar0030 mtime=1791882995.190476269 30 atime=1791882995.049611902 30 ctime=1791882995.190476269 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6BFJ/0000755000175000017500000000000015263373363020340 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6BFJ/PaxHeaders/test.event0000644000000000000000000000013215263373363022730 xustar0030 mtime=1791882995.190570276 30 atime=1791882995.190476269 30 ctime=1791882995.190570276 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6BFJ/test.event0000644000175000017500000000014715263373363022364 0ustar00tinatina+STR +DOC --- +MAP &mapping +SEQ [] &key =VAL &item :a =VAL :b =VAL :c -SEQ =VAL :value -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6BFJ/PaxHeaders/out.yaml0000644000000000000000000000013115263373363022400 xustar0030 mtime=1791882995.146258598 29 atime=1791882995.14616068 30 ctime=1791882995.146258598 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6BFJ/out.yaml0000644000175000017500000000005615263373363022034 0ustar00tinatina--- &mapping ? &key - &item a - b - c : value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6BFJ/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022200 xustar0030 mtime=1791882995.124816087 30 atime=1791882995.124718798 30 ctime=1791882995.124816087 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6BFJ/in.yaml0000644000175000017500000000005315263373363021630 0ustar00tinatina--- &mapping &key [ &item a, b, c ]: value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6BFJ/PaxHeaders/===0000644000000000000000000000013215263373363021177 xustar0030 mtime=1791882995.049763458 30 atime=1791882995.049611902 30 ctime=1791882995.049763458 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6BFJ/===0000644000175000017500000000005415263373363020630 0ustar00tinatinaMapping, key and flow sequence item anchors YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/CTN50000644000000000000000000000013215263373363020653 xustar0030 mtime=1791882995.190380935 30 atime=1791882995.049458599 30 ctime=1791882995.190380935 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CTN5/0000755000175000017500000000000015263373363020362 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CTN5/PaxHeaders/test.event0000644000000000000000000000013215263373363022752 xustar0030 mtime=1791882995.190476269 30 atime=1791882995.190380935 30 ctime=1791882995.190476269 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CTN5/test.event0000644000175000017500000000005615263373363022405 0ustar00tinatina+STR +DOC --- +SEQ [] =VAL :a =VAL :b =VAL :c YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CTN5/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022222 xustar0030 mtime=1791882995.124718798 30 atime=1791882995.124631985 30 ctime=1791882995.124718798 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CTN5/in.yaml0000644000175000017500000000002315263373363021647 0ustar00tinatina--- [ a, b, c, , ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CTN5/PaxHeaders/error0000644000000000000000000000013215263373363022004 xustar0030 mtime=1791882995.057227508 30 atime=1791882995.057227508 30 ctime=1791882995.057313134 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CTN5/error0000644000175000017500000000000015263373363021424 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CTN5/PaxHeaders/===0000644000000000000000000000013215263373363021221 xustar0030 mtime=1791882995.049611902 30 atime=1791882995.049458599 30 ctime=1791882995.049611902 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CTN5/===0000644000175000017500000000004715263373363020654 0ustar00tinatinaFlow sequence with invalid extra comma YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/HRE50000644000000000000000000000013215263373363020645 xustar0030 mtime=1791882995.190285182 30 atime=1791882995.049300059 30 ctime=1791882995.190285182 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HRE5/0000755000175000017500000000000015263373363020354 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HRE5/PaxHeaders/test.event0000644000000000000000000000013215263373363022744 xustar0030 mtime=1791882995.190380935 30 atime=1791882995.190285182 30 ctime=1791882995.190380935 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HRE5/test.event0000644000175000017500000000004015263373363022370 0ustar00tinatina+STR +DOC --- +MAP =VAL :double YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HRE5/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022214 xustar0030 mtime=1791882995.124631985 30 atime=1791882995.124532181 30 ctime=1791882995.124631985 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HRE5/in.yaml0000644000175000017500000000003715263373363021646 0ustar00tinatina--- double: "quoted \' scalar" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HRE5/PaxHeaders/error0000644000000000000000000000013215263373363021776 xustar0030 mtime=1791882995.057124002 30 atime=1791882995.057124002 30 ctime=1791882995.057227508 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HRE5/error0000644000175000017500000000000015263373363021416 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HRE5/PaxHeaders/===0000644000000000000000000000013215263373363021213 xustar0030 mtime=1791882995.049458599 30 atime=1791882995.049300059 30 ctime=1791882995.049458599 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HRE5/===0000644000175000017500000000005715263373363020647 0ustar00tinatinaDouble quoted scalar with escaped single quote YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/9J7A0000644000000000000000000000013215263373363020614 xustar0030 mtime=1791882995.190185099 30 atime=1791882995.049138934 30 ctime=1791882995.190185099 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9J7A/0000755000175000017500000000000015263373363020323 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9J7A/PaxHeaders/test.event0000644000000000000000000000013215263373363022713 xustar0030 mtime=1791882995.190285182 30 atime=1791882995.190185099 30 ctime=1791882995.190285182 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9J7A/test.event0000644000175000017500000000010615263373363022342 0ustar00tinatina+STR +DOC +MAP =VAL :foo +MAP =VAL :bar =VAL :baz -MAP -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9J7A/PaxHeaders/in.json0000644000000000000000000000013115263373363022171 xustar0030 mtime=1791882995.124532181 29 atime=1791882995.12444446 30 ctime=1791882995.124532181 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9J7A/in.json0000644000175000017500000000004415263373363021622 0ustar00tinatina{ "foo": { "bar": "baz" } } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9J7A/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022161 xustar0029 mtime=1791882995.12444446 30 atime=1791882995.124350523 29 ctime=1791882995.12444446 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9J7A/in.yaml0000644000175000017500000000002015263373363021605 0ustar00tinatinafoo: bar: baz YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9J7A/PaxHeaders/===0000644000000000000000000000013215263373363021162 xustar0030 mtime=1791882995.049300059 30 atime=1791882995.049138934 30 ctime=1791882995.049300059 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9J7A/===0000644000175000017500000000002615263373363020612 0ustar00tinatinaSimple Mapping Indent YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/Q5MG0000644000000000000000000000013215263373363020653 xustar0030 mtime=1791882995.190062177 30 atime=1791882995.048968171 30 ctime=1791882995.190062177 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q5MG/0000755000175000017500000000000015263373363020362 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q5MG/PaxHeaders/test.event0000644000000000000000000000013215263373363022752 xustar0030 mtime=1791882995.190185099 30 atime=1791882995.190062177 30 ctime=1791882995.190185099 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q5MG/test.event0000644000175000017500000000004115263373363022377 0ustar00tinatina+STR +DOC +MAP {} -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q5MG/PaxHeaders/out.yaml0000644000000000000000000000013015263373363022421 xustar0029 mtime=1791882995.14616068 30 atime=1791882995.146055848 29 ctime=1791882995.14616068 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q5MG/out.yaml0000644000175000017500000000000315263373363022046 0ustar00tinatina{} YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q5MG/PaxHeaders/in.json0000644000000000000000000000013215263373363022231 xustar0030 mtime=1791882995.124350523 30 atime=1791882995.124255049 30 ctime=1791882995.124350523 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q5MG/in.json0000644000175000017500000000000315263373363021654 0ustar00tinatina{} YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q5MG/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022222 xustar0030 mtime=1791882995.124255049 30 atime=1791882995.124153919 30 ctime=1791882995.124255049 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q5MG/in.yaml0000644000175000017500000000000415263373363021646 0ustar00tinatina {} YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q5MG/PaxHeaders/===0000644000000000000000000000013215263373363021221 xustar0030 mtime=1791882995.049138934 30 atime=1791882995.048968171 30 ctime=1791882995.049138934 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q5MG/===0000644000175000017500000000006415263373363020653 0ustar00tinatinaTab at beginning of line followed by a flow mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/C2DT0000644000000000000000000000013215263373363020636 xustar0030 mtime=1791882995.189969288 30 atime=1791882995.048805231 30 ctime=1791882995.189969288 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C2DT/0000755000175000017500000000000015263373363020345 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C2DT/PaxHeaders/test.event0000644000000000000000000000013215263373363022735 xustar0030 mtime=1791882995.190062177 30 atime=1791882995.189969288 30 ctime=1791882995.190062177 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C2DT/test.event0000644000175000017500000000015215263373363022365 0ustar00tinatina+STR +DOC +MAP {} =VAL "adjacent =VAL :value =VAL "readable =VAL :value =VAL "empty =VAL : -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C2DT/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022406 xustar0030 mtime=1791882995.146055848 30 atime=1791882995.145963028 30 ctime=1791882995.146055848 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C2DT/out.yaml0000644000175000017500000000005515263373363022040 0ustar00tinatina"adjacent": value "readable": value "empty": YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C2DT/PaxHeaders/in.json0000644000000000000000000000013215263373363022214 xustar0030 mtime=1791882995.124153919 30 atime=1791882995.124043778 30 ctime=1791882995.124153919 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C2DT/in.json0000644000175000017500000000010215263373363021637 0ustar00tinatina{ "adjacent": "value", "readable": "value", "empty": null } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C2DT/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022205 xustar0030 mtime=1791882995.124043778 30 atime=1791882995.123959759 30 ctime=1791882995.124043778 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C2DT/in.yaml0000644000175000017500000000006215263373363021635 0ustar00tinatina{ "adjacent":value, "readable": value, "empty": } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C2DT/PaxHeaders/===0000644000000000000000000000013215263373363021204 xustar0030 mtime=1791882995.048968171 30 atime=1791882995.048805231 30 ctime=1791882995.048968171 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C2DT/===0000644000175000017500000000006015263373363020632 0ustar00tinatinaSpec Example 7.18. Flow Mapping Adjacent Values YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/J7VC0000644000000000000000000000013215263373363020653 xustar0030 mtime=1791882995.189874932 30 atime=1791882995.048645433 30 ctime=1791882995.189874932 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J7VC/0000755000175000017500000000000015263373363020362 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J7VC/PaxHeaders/test.event0000644000000000000000000000013215263373363022752 xustar0030 mtime=1791882995.189969288 30 atime=1791882995.189874932 30 ctime=1791882995.189969288 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J7VC/test.event0000644000175000017500000000010415263373363022377 0ustar00tinatina+STR +DOC +MAP =VAL :one =VAL :2 =VAL :three =VAL :4 -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J7VC/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022423 xustar0030 mtime=1791882995.145963028 30 atime=1791882995.145869021 30 ctime=1791882995.145963028 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J7VC/out.yaml0000644000175000017500000000002015263373363022045 0ustar00tinatinaone: 2 three: 4 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J7VC/PaxHeaders/in.json0000644000000000000000000000013115263373363022230 xustar0030 mtime=1791882995.123959759 29 atime=1791882995.12385346 30 ctime=1791882995.123959759 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J7VC/in.json0000644000175000017500000000003515263373363021661 0ustar00tinatina{ "one": 2, "three": 4 } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J7VC/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022220 xustar0029 mtime=1791882995.12385346 30 atime=1791882995.123769021 29 ctime=1791882995.12385346 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J7VC/in.yaml0000644000175000017500000000002215263373363021646 0ustar00tinatinaone: 2 three: 4 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J7VC/PaxHeaders/===0000644000000000000000000000013215263373363021221 xustar0030 mtime=1791882995.048805231 30 atime=1791882995.048645433 30 ctime=1791882995.048805231 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J7VC/===0000644000175000017500000000004515263373363020652 0ustar00tinatinaEmpty Lines Between Mapping Elements YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/DBG40000644000000000000000000000013215263373363020622 xustar0030 mtime=1791882995.189780296 30 atime=1791882995.048486054 30 ctime=1791882995.189780296 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DBG4/0000755000175000017500000000000015263373363020331 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DBG4/PaxHeaders/test.event0000644000000000000000000000013215263373363022721 xustar0030 mtime=1791882995.189874932 30 atime=1791882995.189780296 30 ctime=1791882995.189874932 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DBG4/test.event0000644000175000017500000000035215263373363022353 0ustar00tinatina+STR +DOC +SEQ =VAL :::vector =VAL ": - () =VAL :Up, up, and away! =VAL :-123 =VAL :http://example.com/foo#bar +SEQ [] =VAL :::vector =VAL ": - () =VAL "Up, up and away! =VAL :-123 =VAL :http://example.com/foo#bar -SEQ -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DBG4/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022372 xustar0030 mtime=1791882995.145869021 30 atime=1791882995.145774107 30 ctime=1791882995.145869021 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DBG4/out.yaml0000644000175000017500000000024715263373363022027 0ustar00tinatina- ::vector - ": - ()" - Up, up, and away! - -123 - http://example.com/foo#bar - - ::vector - ": - ()" - "Up, up and away!" - -123 - http://example.com/foo#bar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DBG4/PaxHeaders/in.json0000644000000000000000000000013215263373363022200 xustar0030 mtime=1791882995.123769021 30 atime=1791882995.123675154 30 ctime=1791882995.123769021 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DBG4/in.json0000644000175000017500000000030615263373363021631 0ustar00tinatina[ "::vector", ": - ()", "Up, up, and away!", -123, "http://example.com/foo#bar", [ "::vector", ": - ()", "Up, up and away!", -123, "http://example.com/foo#bar" ] ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DBG4/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022171 xustar0030 mtime=1791882995.123675154 30 atime=1791882995.123581217 30 ctime=1791882995.123675154 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DBG4/in.yaml0000644000175000017500000000033215263373363021621 0ustar00tinatina# Outside flow collection: - ::vector - ": - ()" - Up, up, and away! - -123 - http://example.com/foo#bar # Inside flow collection: - [ ::vector, ": - ()", "Up, up and away!", -123, http://example.com/foo#bar ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DBG4/PaxHeaders/===0000644000000000000000000000013215263373363021170 xustar0030 mtime=1791882995.048645433 30 atime=1791882995.048486054 30 ctime=1791882995.048645433 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DBG4/===0000644000175000017500000000004415263373363020620 0ustar00tinatinaSpec Example 7.10. Plain Characters YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/H7J70000644000000000000000000000013215263373363020621 xustar0030 mtime=1791882995.189685521 30 atime=1791882995.048326745 30 ctime=1791882995.189685521 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H7J7/0000755000175000017500000000000015263373363020330 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H7J7/PaxHeaders/test.event0000644000000000000000000000013215263373363022720 xustar0030 mtime=1791882995.189780296 30 atime=1791882995.189685521 30 ctime=1791882995.189780296 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H7J7/test.event0000644000175000017500000000004315263373363022347 0ustar00tinatina+STR +DOC +MAP =VAL :key =VAL &x : YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H7J7/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022170 xustar0030 mtime=1791882995.123581217 30 atime=1791882995.123486232 30 ctime=1791882995.123581217 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H7J7/in.yaml0000644000175000017500000000002515263373363021617 0ustar00tinatinakey: &x !!map a: b YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H7J7/PaxHeaders/error0000644000000000000000000000013215263373363021752 xustar0030 mtime=1791882995.057039075 30 atime=1791882995.057039075 30 ctime=1791882995.057124002 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H7J7/error0000644000175000017500000000000015263373363021372 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H7J7/PaxHeaders/===0000644000000000000000000000013215263373363021167 xustar0030 mtime=1791882995.048486054 30 atime=1791882995.048326745 30 ctime=1791882995.048486054 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H7J7/===0000644000175000017500000000003115263373363020613 0ustar00tinatinaNode anchor not indented YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/H3Z80000644000000000000000000000013215263373363020636 xustar0030 mtime=1791882995.189589629 30 atime=1791882995.048164084 30 ctime=1791882995.189589629 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H3Z8/0000755000175000017500000000000015263373363020345 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H3Z8/PaxHeaders/test.event0000644000000000000000000000013215263373363022735 xustar0030 mtime=1791882995.189685521 30 atime=1791882995.189589629 30 ctime=1791882995.189685521 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H3Z8/test.event0000644000175000017500000000011415263373363022363 0ustar00tinatina+STR +DOC --- +MAP =VAL :wanted =VAL :love ♥ and peace ☮ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H3Z8/PaxHeaders/out.yaml0000644000000000000000000000013115263373363022405 xustar0030 mtime=1791882995.145774107 29 atime=1791882995.14568003 30 ctime=1791882995.145774107 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H3Z8/out.yaml0000644000175000017500000000005315263373363022036 0ustar00tinatina--- wanted: "love \u2665 and peace \u262E" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H3Z8/PaxHeaders/in.json0000644000000000000000000000013215263373363022214 xustar0030 mtime=1791882995.123486232 30 atime=1791882995.123392295 30 ctime=1791882995.123486232 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H3Z8/in.json0000644000175000017500000000005115263373363021642 0ustar00tinatina{ "wanted": "love ♥ and peace ☮" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H3Z8/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022205 xustar0030 mtime=1791882995.123392295 30 atime=1791882995.123297869 30 ctime=1791882995.123392295 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H3Z8/in.yaml0000644000175000017500000000004315263373363021634 0ustar00tinatina--- wanted: love ♥ and peace ☮ YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H3Z8/PaxHeaders/===0000644000000000000000000000013215263373363021204 xustar0030 mtime=1791882995.048326745 30 atime=1791882995.048164084 30 ctime=1791882995.048326745 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H3Z8/===0000644000175000017500000000002015263373363020626 0ustar00tinatinaLiteral unicode YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/JY7Z0000644000000000000000000000013215263373363020705 xustar0030 mtime=1791882995.189494504 30 atime=1791882995.047995067 30 ctime=1791882995.189494504 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JY7Z/0000755000175000017500000000000015263373363020414 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JY7Z/PaxHeaders/test.event0000644000000000000000000000013215263373363023004 xustar0030 mtime=1791882995.189589629 30 atime=1791882995.189494504 30 ctime=1791882995.189589629 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JY7Z/test.event0000644000175000017500000000010115263373363022426 0ustar00tinatina+STR +DOC +MAP =VAL :key1 =VAL "quoted1 =VAL :key2 =VAL "quoted2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JY7Z/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022253 xustar0030 mtime=1791882995.123297869 29 atime=1791882995.12320051 30 ctime=1791882995.123297869 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JY7Z/in.yaml0000644000175000017500000000010215263373363021677 0ustar00tinatinakey1: "quoted1" key2: "quoted2" no key: nor value key3: "quoted3" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JY7Z/PaxHeaders/error0000644000000000000000000000013215263373363022036 xustar0030 mtime=1791882995.056951703 30 atime=1791882995.056951703 30 ctime=1791882995.057039075 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JY7Z/error0000644000175000017500000000000015263373363021456 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JY7Z/PaxHeaders/===0000644000000000000000000000013215263373363021253 xustar0030 mtime=1791882995.048164084 30 atime=1791882995.047995067 30 ctime=1791882995.048164084 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JY7Z/===0000644000175000017500000000005315263373363020703 0ustar00tinatinaTrailing content that looks like a mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/EHF60000644000000000000000000000013215263373363020632 xustar0030 mtime=1791882995.189399659 30 atime=1791882995.047834781 30 ctime=1791882995.189399659 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EHF6/0000755000175000017500000000000015263373363020341 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EHF6/PaxHeaders/test.event0000644000000000000000000000013215263373363022731 xustar0030 mtime=1791882995.189494504 30 atime=1791882995.189399659 30 ctime=1791882995.189494504 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EHF6/test.event0000644000175000017500000000021615263373363022362 0ustar00tinatina+STR +DOC +MAP {} =VAL :k +SEQ [] =VAL :a =VAL :b -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EHF6/PaxHeaders/out.yaml0000644000000000000000000000013015263373363022400 xustar0029 mtime=1791882995.14568003 30 atime=1791882995.145571845 29 ctime=1791882995.14568003 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EHF6/out.yaml0000644000175000017500000000003515263373363022032 0ustar00tinatina!!map k: !!seq - a - !!str b YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EHF6/PaxHeaders/in.json0000644000000000000000000000013015263373363022206 xustar0029 mtime=1791882995.12320051 30 atime=1791882995.123073608 29 ctime=1791882995.12320051 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EHF6/in.json0000644000175000017500000000004215263373363021636 0ustar00tinatina{ "k": [ "a", "b" ] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EHF6/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022201 xustar0030 mtime=1791882995.123073608 30 atime=1791882995.122980648 30 ctime=1791882995.123073608 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EHF6/in.yaml0000644000175000017500000000004515263373363021632 0ustar00tinatina!!map { k: !!seq [ a, !!str b] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EHF6/PaxHeaders/===0000644000000000000000000000013215263373363021200 xustar0030 mtime=1791882995.047995067 30 atime=1791882995.047834781 30 ctime=1791882995.047995067 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EHF6/===0000644000175000017500000000002615263373363020630 0ustar00tinatinaTags for Flow Objects YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/CQ3W0000644000000000000000000000013215263373363020657 xustar0030 mtime=1791882995.189303837 30 atime=1791882995.047675611 30 ctime=1791882995.189303837 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CQ3W/0000755000175000017500000000000015263373363020366 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CQ3W/PaxHeaders/test.event0000644000000000000000000000013215263373363022756 xustar0030 mtime=1791882995.189399659 30 atime=1791882995.189303837 30 ctime=1791882995.189399659 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CQ3W/test.event0000644000175000017500000000003515263373363022406 0ustar00tinatina+STR +DOC --- +MAP =VAL :key YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CQ3W/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022226 xustar0030 mtime=1791882995.122980648 30 atime=1791882995.122885733 30 ctime=1791882995.122980648 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CQ3W/in.yaml0000644000175000017500000000004015263373363021652 0ustar00tinatina--- key: "missing closing quote YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CQ3W/PaxHeaders/error0000644000000000000000000000013215263373363022010 xustar0030 mtime=1791882995.056864401 30 atime=1791882995.056864401 30 ctime=1791882995.056951703 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CQ3W/error0000644000175000017500000000000015263373363021430 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CQ3W/PaxHeaders/===0000644000000000000000000000013215263373363021225 xustar0030 mtime=1791882995.047834781 30 atime=1791882995.047675611 30 ctime=1791882995.047834781 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CQ3W/===0000644000175000017500000000005315263373363020655 0ustar00tinatinaDouble quoted string without closing quote YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/XW4D0000644000000000000000000000013215263373363020670 xustar0030 mtime=1791882995.189202846 30 atime=1791882995.047515395 30 ctime=1791882995.189202846 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XW4D/0000755000175000017500000000000015263373363020377 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XW4D/PaxHeaders/test.event0000644000000000000000000000013215263373363022767 xustar0030 mtime=1791882995.189303837 30 atime=1791882995.189202846 30 ctime=1791882995.189303837 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XW4D/test.event0000644000175000017500000000033215263373363022417 0ustar00tinatina+STR +DOC +MAP =VAL :a =VAL "double quotes =VAL :b =VAL :plain value =VAL :c =VAL :d +SEQ =VAL :seq1 -SEQ +SEQ =VAL :seq2 -SEQ =VAL :e +SEQ &node +MAP =VAL :x =VAL :y -MAP -SEQ =VAL :block =VAL >abcde\n -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XW4D/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022440 xustar0030 mtime=1791882995.145571845 30 atime=1791882995.145488873 30 ctime=1791882995.145571845 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XW4D/out.yaml0000644000175000017500000000013215263373363022066 0ustar00tinatinaa: "double quotes" b: plain value c: d ? - seq1 : - seq2 e: &node - x: y block: > abcde YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XW4D/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022237 xustar0030 mtime=1791882995.122885733 30 atime=1791882995.122792285 30 ctime=1791882995.122885733 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XW4D/in.yaml0000644000175000017500000000023615263373363021672 0ustar00tinatinaa: "double quotes" # lala b: plain value # lala c : #lala d ? # lala - seq1 : # lala - #lala seq2 e: &node # lala - x: y block: > # lala abcde YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XW4D/PaxHeaders/===0000644000000000000000000000013215263373363021236 xustar0030 mtime=1791882995.047675611 30 atime=1791882995.047515395 30 ctime=1791882995.047675611 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XW4D/===0000644000175000017500000000003215263373363020663 0ustar00tinatinaVarious Trailing Comments YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/8KB60000644000000000000000000000013215263373363020614 xustar0030 mtime=1791882995.189084534 30 atime=1791882995.047350359 30 ctime=1791882995.189084534 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8KB6/0000755000175000017500000000000015263373363020323 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8KB6/PaxHeaders/test.event0000644000000000000000000000013215263373363022713 xustar0030 mtime=1791882995.189202846 30 atime=1791882995.189084534 30 ctime=1791882995.189202846 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8KB6/test.event0000644000175000017500000000021515263373363022343 0ustar00tinatina+STR +DOC --- +SEQ +MAP {} =VAL :single line =VAL : =VAL :a =VAL :b -MAP +MAP {} =VAL :multi line =VAL : =VAL :a =VAL :b -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8KB6/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022364 xustar0030 mtime=1791882995.145488873 30 atime=1791882995.145403317 30 ctime=1791882995.145488873 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8KB6/out.yaml0000644000175000017500000000005715263373363022020 0ustar00tinatina--- - single line: a: b - multi line: a: b YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8KB6/PaxHeaders/in.json0000644000000000000000000000013215263373363022172 xustar0030 mtime=1791882995.122792285 30 atime=1791882995.122695624 30 ctime=1791882995.122792285 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8KB6/in.json0000644000175000017500000000014015263373363021617 0ustar00tinatina[ { "single line": null, "a": "b" }, { "multi line": null, "a": "b" } ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8KB6/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022163 xustar0030 mtime=1791882995.122695624 30 atime=1791882995.122599732 30 ctime=1791882995.122695624 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8KB6/in.yaml0000644000175000017500000000006315263373363021614 0ustar00tinatina--- - { single line, a: b} - { multi line, a: b} YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8KB6/PaxHeaders/===0000644000000000000000000000013215263373363021162 xustar0030 mtime=1791882995.047515395 30 atime=1791882995.047350359 30 ctime=1791882995.047515395 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8KB6/===0000644000175000017500000000005715263373363020616 0ustar00tinatinaMultiline plain flow mapping key without value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/2EBW0000644000000000000000000000013215263373363020641 xustar0030 mtime=1791882995.187841142 30 atime=1791882995.047166605 30 ctime=1791882995.187841142 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2EBW/0000755000175000017500000000000015263373363020350 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2EBW/PaxHeaders/test.event0000644000000000000000000000013215263373363022740 xustar0030 mtime=1791882995.187933473 30 atime=1791882995.187841142 30 ctime=1791882995.187933473 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2EBW/test.event0000644000175000017500000000032515263373363022372 0ustar00tinatina+STR +DOC +MAP =VAL :a!"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~ =VAL :safe =VAL :?foo =VAL :safe question mark =VAL ::foo =VAL :safe colon =VAL :-foo =VAL :safe dash =VAL :this is#not =VAL :a comment -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2EBW/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022411 xustar0030 mtime=1791882995.145220192 30 atime=1791882995.145108934 30 ctime=1791882995.145220192 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2EBW/out.yaml0000644000175000017500000000017715263373363022050 0ustar00tinatinaa!"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~: safe ?foo: safe question mark :foo: safe colon -foo: safe dash this is#not: a comment YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2EBW/PaxHeaders/in.json0000644000000000000000000000013215263373363022217 xustar0030 mtime=1791882995.122599732 30 atime=1791882995.122505306 30 ctime=1791882995.122599732 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2EBW/in.json0000644000175000017500000000024715263373363021654 0ustar00tinatina{ "a!\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~": "safe", "?foo": "safe question mark", ":foo": "safe colon", "-foo": "safe dash", "this is#not": "a comment" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2EBW/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022210 xustar0030 mtime=1791882995.122505306 30 atime=1791882995.122407947 30 ctime=1791882995.122505306 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2EBW/in.yaml0000644000175000017500000000017715263373363021647 0ustar00tinatinaa!"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~: safe ?foo: safe question mark :foo: safe colon -foo: safe dash this is#not: a comment YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2EBW/PaxHeaders/===0000644000000000000000000000013215263373363021207 xustar0030 mtime=1791882995.047350359 30 atime=1791882995.047166605 30 ctime=1791882995.047350359 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2EBW/===0000644000175000017500000000003315263373363020635 0ustar00tinatinaAllowed characters in keys YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/9CWY0000644000000000000000000000013215263373363020675 xustar0030 mtime=1791882995.187749091 30 atime=1791882995.046985646 30 ctime=1791882995.187749091 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9CWY/0000755000175000017500000000000015263373363020404 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9CWY/PaxHeaders/test.event0000644000000000000000000000013215263373363022774 xustar0030 mtime=1791882995.187841142 30 atime=1791882995.187749091 30 ctime=1791882995.187841142 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9CWY/test.event0000644000175000017500000000007315263373363022426 0ustar00tinatina+STR +DOC +MAP =VAL :key +SEQ =VAL :item1 =VAL :item2 -SEQ YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9CWY/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022244 xustar0030 mtime=1791882995.122407947 30 atime=1791882995.122311146 30 ctime=1791882995.122407947 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9CWY/in.yaml0000644000175000017500000000003715263373363021676 0ustar00tinatinakey: - item1 - item2 invalid YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9CWY/PaxHeaders/error0000644000000000000000000000013215263373363022026 xustar0030 mtime=1791882995.056778635 30 atime=1791882995.056778635 30 ctime=1791882995.056864401 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9CWY/error0000644000175000017500000000000015263373363021446 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9CWY/PaxHeaders/===0000644000000000000000000000013215263373363021243 xustar0030 mtime=1791882995.047166605 30 atime=1791882995.046985646 30 ctime=1791882995.047166605 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9CWY/===0000644000175000017500000000004515263373363020674 0ustar00tinatinaInvalid scalar at the end of mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/DFF70000644000000000000000000000013215263373363020630 xustar0030 mtime=1791882995.187655154 30 atime=1791882995.046826127 30 ctime=1791882995.187655154 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DFF7/0000755000175000017500000000000015263373363020337 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DFF7/PaxHeaders/test.event0000644000000000000000000000013215263373363022727 xustar0030 mtime=1791882995.187749091 30 atime=1791882995.187655154 30 ctime=1791882995.187749091 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DFF7/test.event0000644000175000017500000000014515263373363022361 0ustar00tinatina+STR +DOC +MAP {} =VAL :explicit =VAL :entry =VAL :implicit =VAL :entry =VAL : =VAL : -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DFF7/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022400 xustar0030 mtime=1791882995.145108934 30 atime=1791882995.145010318 30 ctime=1791882995.145108934 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DFF7/out.yaml0000644000175000017500000000004215263373363022026 0ustar00tinatinaexplicit: entry implicit: entry : YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DFF7/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022177 xustar0030 mtime=1791882995.122311146 30 atime=1791882995.122215882 30 ctime=1791882995.122311146 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DFF7/in.yaml0000644000175000017500000000005215263373363021626 0ustar00tinatina{ ? explicit: entry, implicit: entry, ? } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DFF7/PaxHeaders/===0000644000000000000000000000013215263373363021176 xustar0030 mtime=1791882995.046985646 30 atime=1791882995.046826127 30 ctime=1791882995.046985646 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DFF7/===0000644000175000017500000000005015263373363020623 0ustar00tinatinaSpec Example 7.16. Flow Mapping Entries YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/U3C30000644000000000000000000000013215263373363020617 xustar0030 mtime=1791882995.187561147 30 atime=1791882995.046663675 30 ctime=1791882995.187561147 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U3C3/0000755000175000017500000000000015263373363020326 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U3C3/PaxHeaders/test.event0000644000000000000000000000013215263373363022716 xustar0030 mtime=1791882995.187655154 30 atime=1791882995.187561147 30 ctime=1791882995.187655154 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U3C3/test.event0000644000175000017500000000007215263373363022347 0ustar00tinatina+STR +DOC --- =VAL "foo -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U3C3/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022367 xustar0030 mtime=1791882995.145010318 30 atime=1791882995.144917289 30 ctime=1791882995.145010318 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U3C3/out.yaml0000644000175000017500000000002015263373363022011 0ustar00tinatina--- !!str "foo" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U3C3/PaxHeaders/in.json0000644000000000000000000000013215263373363022175 xustar0030 mtime=1791882995.122215882 30 atime=1791882995.122108186 30 ctime=1791882995.122215882 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U3C3/in.json0000644000175000017500000000000615263373363021623 0ustar00tinatina"foo" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U3C3/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022166 xustar0030 mtime=1791882995.122108186 30 atime=1791882995.122014249 30 ctime=1791882995.122108186 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U3C3/in.yaml0000644000175000017500000000006315263373363021617 0ustar00tinatina%TAG !yaml! tag:yaml.org,2002: --- !yaml!str "foo" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U3C3/PaxHeaders/===0000644000000000000000000000013215263373363021165 xustar0030 mtime=1791882995.046826127 30 atime=1791882995.046663675 30 ctime=1791882995.046826127 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U3C3/===0000644000175000017500000000004715263373363020620 0ustar00tinatinaSpec Example 6.16. “TAG” directive YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/D88J0000644000000000000000000000013215263373363020617 xustar0030 mtime=1791882995.187466232 30 atime=1791882995.046504367 30 ctime=1791882995.187466232 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D88J/0000755000175000017500000000000015263373363020326 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D88J/PaxHeaders/test.event0000644000000000000000000000013215263373363022716 xustar0030 mtime=1791882995.187561147 30 atime=1791882995.187466232 30 ctime=1791882995.187561147 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D88J/test.event0000644000175000017500000000010315263373363022342 0ustar00tinatina+STR +DOC +MAP =VAL :a +SEQ [] =VAL :b =VAL :c -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D88J/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022367 xustar0030 mtime=1791882995.144917289 30 atime=1791882995.144832012 30 ctime=1791882995.144917289 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D88J/out.yaml0000644000175000017500000000001315263373363022013 0ustar00tinatinaa: - b - c YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D88J/PaxHeaders/in.json0000644000000000000000000000013115263373363022174 xustar0030 mtime=1791882995.122014249 29 atime=1791882995.12192129 30 ctime=1791882995.122014249 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D88J/in.json0000644000175000017500000000004215263373363021623 0ustar00tinatina{ "a": [ "b", "c" ] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D88J/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022164 xustar0029 mtime=1791882995.12192129 30 atime=1791882995.121827283 29 ctime=1791882995.12192129 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D88J/in.yaml0000644000175000017500000000001215263373363021611 0ustar00tinatinaa: [b, c] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D88J/PaxHeaders/===0000644000000000000000000000013215263373363021165 xustar0030 mtime=1791882995.046663675 30 atime=1791882995.046504367 30 ctime=1791882995.046663675 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D88J/===0000644000175000017500000000003715263373363020617 0ustar00tinatinaFlow Sequence in Block Mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/W5VH0000644000000000000000000000013215263373363020673 xustar0030 mtime=1791882995.187369851 30 atime=1791882995.046339191 30 ctime=1791882995.187369851 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W5VH/0000755000175000017500000000000015263373363020402 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W5VH/PaxHeaders/test.event0000644000000000000000000000013215263373363022772 xustar0030 mtime=1791882995.187466232 30 atime=1791882995.187369851 30 ctime=1791882995.187466232 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W5VH/test.event0000644000175000017500000000013615263373363022424 0ustar00tinatina+STR +DOC +MAP =VAL :a =VAL &:@*!$": :scalar a =VAL :b =ALI *:@*!$": -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W5VH/PaxHeaders/in.json0000644000000000000000000000013215263373363022251 xustar0030 mtime=1791882995.121827283 30 atime=1791882995.121733835 30 ctime=1791882995.121827283 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W5VH/in.json0000644000175000017500000000005115263373363021677 0ustar00tinatina{ "a": "scalar a", "b": "scalar a" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W5VH/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022242 xustar0030 mtime=1791882995.121733835 30 atime=1791882995.121637244 30 ctime=1791882995.121733835 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W5VH/in.yaml0000644000175000017500000000005315263373363021672 0ustar00tinatinaa: &:@*!$": scalar a b: *:@*!$": YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W5VH/PaxHeaders/===0000644000000000000000000000013215263373363021241 xustar0030 mtime=1791882995.046504367 30 atime=1791882995.046339191 30 ctime=1791882995.046504367 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W5VH/===0000644000175000017500000000003415263373363020670 0ustar00tinatinaAllowed characters in alias YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/52DL0000644000000000000000000000013215263373363020610 xustar0030 mtime=1791882995.187276752 30 atime=1791882995.046164866 30 ctime=1791882995.187276752 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/52DL/0000755000175000017500000000000015263373363020317 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/52DL/PaxHeaders/test.event0000644000000000000000000000013215263373363022707 xustar0030 mtime=1791882995.187369851 30 atime=1791882995.187276752 30 ctime=1791882995.187369851 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/52DL/test.event0000644000175000017500000000004415263373363022337 0ustar00tinatina+STR +DOC --- =VAL :a -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/52DL/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022360 xustar0030 mtime=1791882995.144832012 30 atime=1791882995.144746247 30 ctime=1791882995.144832012 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/52DL/out.yaml0000644000175000017500000000001015263373363022001 0ustar00tinatina--- ! a YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/52DL/PaxHeaders/in.json0000644000000000000000000000013215263373363022166 xustar0030 mtime=1791882995.121637244 30 atime=1791882995.121543726 30 ctime=1791882995.121637244 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/52DL/in.json0000644000175000017500000000000415263373363021612 0ustar00tinatina"a" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/52DL/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022157 xustar0030 mtime=1791882995.121543726 30 atime=1791882995.121448811 30 ctime=1791882995.121543726 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/52DL/in.yaml0000644000175000017500000000001015263373363021600 0ustar00tinatina--- ! a YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/52DL/PaxHeaders/===0000644000000000000000000000013215263373363021156 xustar0030 mtime=1791882995.046339191 30 atime=1791882995.046164866 30 ctime=1791882995.046339191 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/52DL/===0000644000175000017500000000004015263373363020602 0ustar00tinatinaExplicit Non-Specific Tag [1.3] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/RZP50000644000000000000000000000013215263373363020702 xustar0030 mtime=1791882995.187180999 30 atime=1791882995.045992427 30 ctime=1791882995.187180999 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RZP5/0000755000175000017500000000000015263373363020411 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RZP5/PaxHeaders/test.event0000644000000000000000000000013215263373363023001 xustar0030 mtime=1791882995.187276752 30 atime=1791882995.187180999 30 ctime=1791882995.187276752 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RZP5/test.event0000644000175000017500000000033215263373363022431 0ustar00tinatina+STR +DOC +MAP =VAL :a =VAL "double quotes =VAL :b =VAL :plain value =VAL :c =VAL :d +SEQ =VAL :seq1 -SEQ +SEQ =VAL :seq2 -SEQ =VAL :e +SEQ &node +MAP =VAL :x =VAL :y -MAP -SEQ =VAL :block =VAL >abcde\n -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RZP5/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022452 xustar0030 mtime=1791882995.144746247 30 atime=1791882995.144651052 30 ctime=1791882995.144746247 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RZP5/out.yaml0000644000175000017500000000013215263373363022100 0ustar00tinatinaa: "double quotes" b: plain value c: d ? - seq1 : - seq2 e: &node - x: y block: > abcde YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RZP5/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022251 xustar0030 mtime=1791882995.121448811 30 atime=1791882995.121354315 30 ctime=1791882995.121448811 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RZP5/in.yaml0000644000175000017500000000023515263373363021703 0ustar00tinatinaa: "double quotes" # lala b: plain value # lala c : #lala d ? # lala - seq1 : # lala - #lala seq2 e: &node # lala - x: y block: > # lala abcde YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RZP5/PaxHeaders/===0000644000000000000000000000013215263373363021250 xustar0030 mtime=1791882995.046164866 30 atime=1791882995.045992427 30 ctime=1791882995.046164866 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RZP5/===0000644000175000017500000000004015263373363020674 0ustar00tinatinaVarious Trailing Comments [1.3] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/RLU90000644000000000000000000000013215263373363020675 xustar0030 mtime=1791882995.187074211 30 atime=1791882995.045833537 30 ctime=1791882995.187074211 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RLU9/0000755000175000017500000000000015263373363020404 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RLU9/PaxHeaders/test.event0000644000000000000000000000013215263373363022774 xustar0030 mtime=1791882995.187180999 30 atime=1791882995.187074211 30 ctime=1791882995.187180999 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RLU9/test.event0000644000175000017500000000013015263373363022420 0ustar00tinatina+STR +DOC +MAP =VAL :foo +SEQ =VAL :42 -SEQ =VAL :bar +SEQ =VAL :44 -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RLU9/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022445 xustar0030 mtime=1791882995.144651052 30 atime=1791882995.144568709 30 ctime=1791882995.144651052 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RLU9/out.yaml0000644000175000017500000000002415263373363022073 0ustar00tinatinafoo: - 42 bar: - 44 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RLU9/PaxHeaders/in.json0000644000000000000000000000013215263373363022253 xustar0030 mtime=1791882995.121354315 30 atime=1791882995.121259819 30 ctime=1791882995.121354315 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RLU9/in.json0000644000175000017500000000006115263373363021702 0ustar00tinatina{ "foo": [ 42 ], "bar": [ 44 ] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RLU9/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022244 xustar0030 mtime=1791882995.121259819 30 atime=1791882995.121162739 30 ctime=1791882995.121259819 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RLU9/in.yaml0000644000175000017500000000002615263373363021674 0ustar00tinatinafoo: - 42 bar: - 44 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RLU9/PaxHeaders/===0000644000000000000000000000013215263373363021243 xustar0030 mtime=1791882995.045992427 30 atime=1791882995.045833537 30 ctime=1791882995.045992427 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RLU9/===0000644000175000017500000000002015263373363020665 0ustar00tinatinaSequence Indent YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/C2SP0000644000000000000000000000013215263373363020651 xustar0030 mtime=1791882995.186979785 30 atime=1791882995.045672832 30 ctime=1791882995.186979785 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C2SP/0000755000175000017500000000000015263373363020360 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C2SP/PaxHeaders/test.event0000644000000000000000000000013215263373363022750 xustar0030 mtime=1791882995.187074211 30 atime=1791882995.186979785 30 ctime=1791882995.187074211 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C2SP/test.event0000644000175000017500000000003315263373363022376 0ustar00tinatina+STR +DOC +SEQ [] =VAL :23 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C2SP/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022220 xustar0030 mtime=1791882995.121162739 30 atime=1791882995.121058466 30 ctime=1791882995.121162739 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C2SP/in.yaml0000644000175000017500000000001215263373363021643 0ustar00tinatina[23 ]: 42 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C2SP/PaxHeaders/error0000644000000000000000000000013215263373363022002 xustar0030 mtime=1791882995.056693917 30 atime=1791882995.056693917 30 ctime=1791882995.056778635 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C2SP/error0000644000175000017500000000000015263373363021422 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C2SP/PaxHeaders/===0000644000000000000000000000013215263373363021217 xustar0030 mtime=1791882995.045833537 30 atime=1791882995.045672832 30 ctime=1791882995.045833537 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C2SP/===0000644000175000017500000000003615263373363020650 0ustar00tinatinaFlow Mapping Key on two lines YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/TE2A0000644000000000000000000000013215263373363020635 xustar0030 mtime=1791882995.186886058 30 atime=1791882995.045510799 30 ctime=1791882995.186886058 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TE2A/0000755000175000017500000000000015263373363020344 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TE2A/PaxHeaders/test.event0000644000000000000000000000013215263373363022734 xustar0030 mtime=1791882995.186979785 30 atime=1791882995.186886058 30 ctime=1791882995.186979785 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TE2A/test.event0000644000175000017500000000012215263373363022361 0ustar00tinatina+STR +DOC +MAP =VAL :block mapping +MAP =VAL :key =VAL :value -MAP -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TE2A/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022405 xustar0030 mtime=1791882995.144568709 30 atime=1791882995.144483363 30 ctime=1791882995.144568709 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TE2A/out.yaml0000644000175000017500000000003415263373363022034 0ustar00tinatinablock mapping: key: value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TE2A/PaxHeaders/in.json0000644000000000000000000000013215263373363022213 xustar0030 mtime=1791882995.121058466 30 atime=1791882995.120965018 30 ctime=1791882995.121058466 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TE2A/in.json0000644000175000017500000000006015263373363021641 0ustar00tinatina{ "block mapping": { "key": "value" } } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TE2A/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022204 xustar0030 mtime=1791882995.120965018 30 atime=1791882995.120870103 30 ctime=1791882995.120965018 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TE2A/in.yaml0000644000175000017500000000003315263373363021632 0ustar00tinatinablock mapping: key: value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TE2A/PaxHeaders/===0000644000000000000000000000013215263373363021203 xustar0030 mtime=1791882995.045672832 30 atime=1791882995.045510799 30 ctime=1791882995.045672832 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TE2A/===0000644000175000017500000000004215263373363020631 0ustar00tinatinaSpec Example 8.16. Block Mappings YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/X8DW0000644000000000000000000000013215263373363020674 xustar0030 mtime=1791882995.186793308 30 atime=1791882995.045350512 30 ctime=1791882995.186793308 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X8DW/0000755000175000017500000000000015263373363020403 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X8DW/PaxHeaders/test.event0000644000000000000000000000013215263373363022773 xustar0030 mtime=1791882995.186886058 30 atime=1791882995.186793308 30 ctime=1791882995.186886058 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X8DW/test.event0000644000175000017500000000007015263373363022422 0ustar00tinatina+STR +DOC --- +MAP =VAL :key =VAL :value -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X8DW/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022444 xustar0030 mtime=1791882995.144483363 30 atime=1791882995.144389635 30 ctime=1791882995.144483363 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X8DW/out.yaml0000644000175000017500000000001715263373363022074 0ustar00tinatina--- key: value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X8DW/PaxHeaders/in.json0000644000000000000000000000013215263373363022252 xustar0030 mtime=1791882995.120870103 30 atime=1791882995.120775118 30 ctime=1791882995.120870103 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X8DW/in.json0000644000175000017500000000002515263373363021701 0ustar00tinatina{ "key": "value" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X8DW/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022243 xustar0030 mtime=1791882995.120775118 30 atime=1791882995.120620279 30 ctime=1791882995.120775118 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X8DW/in.yaml0000644000175000017500000000003415263373363021672 0ustar00tinatina--- ? key # comment : value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X8DW/PaxHeaders/===0000644000000000000000000000013215263373363021242 xustar0030 mtime=1791882995.045510799 30 atime=1791882995.045350512 30 ctime=1791882995.045510799 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X8DW/===0000644000175000017500000000005415263373363020673 0ustar00tinatinaExplicit key and value seperated by comment YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/J9HZ0000644000000000000000000000013215263373363020666 xustar0030 mtime=1791882995.186698882 30 atime=1791882995.045184918 30 ctime=1791882995.186698882 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J9HZ/0000755000175000017500000000000015263373363020375 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J9HZ/PaxHeaders/test.event0000644000000000000000000000013215263373363022765 xustar0030 mtime=1791882995.186793308 30 atime=1791882995.186698882 30 ctime=1791882995.186793308 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J9HZ/test.event0000644000175000017500000000022015263373363022411 0ustar00tinatina+STR +DOC --- +MAP =VAL :hr +SEQ =VAL :Mark McGwire =VAL :Sammy Sosa -SEQ =VAL :rbi +SEQ =VAL :Sammy Sosa =VAL :Ken Griffey -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J9HZ/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022436 xustar0030 mtime=1791882995.144389635 30 atime=1791882995.144289622 30 ctime=1791882995.144389635 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J9HZ/out.yaml0000644000175000017500000000010415263373363022063 0ustar00tinatina--- hr: - Mark McGwire - Sammy Sosa rbi: - Sammy Sosa - Ken Griffey YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J9HZ/PaxHeaders/in.json0000644000000000000000000000013215263373363022244 xustar0030 mtime=1791882995.120620279 30 atime=1791882995.120526272 30 ctime=1791882995.120620279 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J9HZ/in.json0000644000175000017500000000015315263373363021675 0ustar00tinatina{ "hr": [ "Mark McGwire", "Sammy Sosa" ], "rbi": [ "Sammy Sosa", "Ken Griffey" ] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J9HZ/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022235 xustar0030 mtime=1791882995.120526272 30 atime=1791882995.120431427 30 ctime=1791882995.120526272 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J9HZ/in.yaml0000644000175000017500000000016315263373363021667 0ustar00tinatina--- hr: # 1998 hr ranking - Mark McGwire - Sammy Sosa rbi: # 1998 rbi ranking - Sammy Sosa - Ken Griffey YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J9HZ/PaxHeaders/===0000644000000000000000000000013215263373363021234 xustar0030 mtime=1791882995.045350512 30 atime=1791882995.045184918 30 ctime=1791882995.045350512 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J9HZ/===0000644000175000017500000000006415263373363020666 0ustar00tinatinaSpec Example 2.9. Single Document with Two Comments YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/YD5X0000644000000000000000000000013215263373363020673 xustar0030 mtime=1791882995.186606202 30 atime=1791882995.045026028 30 ctime=1791882995.186606202 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/YD5X/0000755000175000017500000000000015263373363020402 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/YD5X/PaxHeaders/test.event0000644000000000000000000000013215263373363022772 xustar0030 mtime=1791882995.186698882 30 atime=1791882995.186606202 30 ctime=1791882995.186698882 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/YD5X/test.event0000644000175000017500000000026115263373363022423 0ustar00tinatina+STR +DOC +SEQ +SEQ [] =VAL :name =VAL :hr =VAL :avg -SEQ +SEQ [] =VAL :Mark McGwire =VAL :65 =VAL :0.278 -SEQ +SEQ [] =VAL :Sammy Sosa =VAL :63 =VAL :0.288 -SEQ -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/YD5X/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022443 xustar0030 mtime=1791882995.144289622 30 atime=1791882995.144195685 30 ctime=1791882995.144289622 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/YD5X/out.yaml0000644000175000017500000000013215263373363022071 0ustar00tinatina- - name - hr - avg - - Mark McGwire - 65 - 0.278 - - Sammy Sosa - 63 - 0.288 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/YD5X/PaxHeaders/in.json0000644000000000000000000000013215263373363022251 xustar0030 mtime=1791882995.120431427 30 atime=1791882995.120330227 30 ctime=1791882995.120431427 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/YD5X/in.json0000644000175000017500000000021015263373363021674 0ustar00tinatina[ [ "name", "hr", "avg" ], [ "Mark McGwire", 65, 0.278 ], [ "Sammy Sosa", 63, 0.288 ] ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/YD5X/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022242 xustar0030 mtime=1791882995.120330227 30 atime=1791882995.120234823 30 ctime=1791882995.120330227 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/YD5X/in.yaml0000644000175000017500000000012415263373363021671 0ustar00tinatina- [name , hr, avg ] - [Mark McGwire, 65, 0.278] - [Sammy Sosa , 63, 0.288] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/YD5X/PaxHeaders/===0000644000000000000000000000013215263373363021241 xustar0030 mtime=1791882995.045184918 30 atime=1791882995.045026028 30 ctime=1791882995.045184918 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/YD5X/===0000644000175000017500000000005015263373363020666 0ustar00tinatinaSpec Example 2.5. Sequence of Sequences YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/LE5A0000644000000000000000000000013215263373363020630 xustar0030 mtime=1791882995.186512195 30 atime=1791882995.044862598 30 ctime=1791882995.186512195 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LE5A/0000755000175000017500000000000015263373363020337 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LE5A/PaxHeaders/test.event0000644000000000000000000000013215263373363022727 xustar0030 mtime=1791882995.186606202 30 atime=1791882995.186512195 30 ctime=1791882995.186606202 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LE5A/test.event0000644000175000017500000000020215263373363022353 0ustar00tinatina+STR +DOC +SEQ =VAL "a =VAL 'b =VAL &anchor "c =ALI *anchor =VAL : -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LE5A/PaxHeaders/in.json0000644000000000000000000000013215263373363022206 xustar0030 mtime=1791882995.120234823 30 atime=1791882995.120139489 30 ctime=1791882995.120234823 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LE5A/in.json0000644000175000017500000000004515263373363021637 0ustar00tinatina[ "a", "b", "c", "c", "" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LE5A/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022177 xustar0030 mtime=1791882995.120139489 30 atime=1791882995.120033469 30 ctime=1791882995.120139489 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LE5A/in.yaml0000644000175000017500000000006215263373363021627 0ustar00tinatina- !!str "a" - 'b' - &anchor "c" - *anchor - !!str YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LE5A/PaxHeaders/===0000644000000000000000000000013215263373363021176 xustar0030 mtime=1791882995.045026028 30 atime=1791882995.044862598 30 ctime=1791882995.045026028 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LE5A/===0000644000175000017500000000003615263373363020627 0ustar00tinatinaSpec Example 7.24. Flow Nodes YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/Q88A0000644000000000000000000000013215263373363020623 xustar0030 mtime=1791882995.186417909 30 atime=1791882995.044702032 30 ctime=1791882995.186417909 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q88A/0000755000175000017500000000000015263373363020332 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q88A/PaxHeaders/test.event0000644000000000000000000000013215263373363022722 xustar0030 mtime=1791882995.186512195 30 atime=1791882995.186417909 30 ctime=1791882995.186512195 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q88A/test.event0000644000175000017500000000016015263373363022351 0ustar00tinatina+STR +DOC +SEQ +SEQ [] =VAL :a =VAL :b -SEQ +MAP {} =VAL :a =VAL :b -MAP =VAL "a =VAL 'b =VAL :c -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q88A/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022373 xustar0030 mtime=1791882995.144195685 30 atime=1791882995.144091621 30 ctime=1791882995.144195685 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q88A/out.yaml0000644000175000017500000000004315263373363022022 0ustar00tinatina- - a - b - a: b - "a" - 'b' - c YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q88A/PaxHeaders/in.json0000644000000000000000000000013215263373363022201 xustar0030 mtime=1791882995.120033469 30 atime=1791882995.119939043 30 ctime=1791882995.120033469 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q88A/in.json0000644000175000017500000000011015263373363021623 0ustar00tinatina[ [ "a", "b" ], { "a": "b" }, "a", "b", "c" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q88A/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022171 xustar0030 mtime=1791882995.119939043 29 atime=1791882995.11984336 30 ctime=1791882995.119939043 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q88A/in.yaml0000644000175000017500000000004615263373363021624 0ustar00tinatina- [ a, b ] - { a: b } - "a" - 'b' - c YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q88A/PaxHeaders/===0000644000000000000000000000013215263373363021171 xustar0030 mtime=1791882995.044862598 30 atime=1791882995.044702032 30 ctime=1791882995.044862598 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q88A/===0000644000175000017500000000004015263373363020615 0ustar00tinatinaSpec Example 7.23. Flow Content YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/5T430000644000000000000000000000013215263373363020601 xustar0030 mtime=1791882995.186324181 30 atime=1791882995.044539092 30 ctime=1791882995.186324181 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5T43/0000755000175000017500000000000015263373363020310 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5T43/PaxHeaders/test.event0000644000000000000000000000013215263373363022700 xustar0030 mtime=1791882995.186417909 30 atime=1791882995.186324181 30 ctime=1791882995.186417909 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5T43/test.event0000644000175000017500000000014515263373363022332 0ustar00tinatina+STR +DOC +SEQ +MAP {} =VAL "key =VAL :value -MAP +MAP {} =VAL "key =VAL ::value -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5T43/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022500 xustar0030 mtime=1791882995.150312349 30 atime=1791882995.150216945 30 ctime=1791882995.150312349 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5T43/emit.yaml0000644000175000017500000000003715263373363022132 0ustar00tinatina- "key": value - "key": :value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5T43/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022351 xustar0030 mtime=1791882995.144091621 30 atime=1791882995.143997125 30 ctime=1791882995.144091621 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5T43/out.yaml0000644000175000017500000000003315263373363021777 0ustar00tinatina- key: value - key: :value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5T43/PaxHeaders/in.json0000644000000000000000000000013015263373363022155 xustar0029 mtime=1791882995.11984336 30 atime=1791882995.119748236 29 ctime=1791882995.11984336 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5T43/in.json0000644000175000017500000000007415263373363021612 0ustar00tinatina[ { "key": "value" }, { "key": ":value" } ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5T43/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022150 xustar0030 mtime=1791882995.119748236 30 atime=1791882995.119651855 30 ctime=1791882995.119748236 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5T43/in.yaml0000644000175000017500000000004515263373363021601 0ustar00tinatina- { "key":value } - { "key"::value } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5T43/PaxHeaders/===0000644000000000000000000000013215263373363021147 xustar0030 mtime=1791882995.044702032 30 atime=1791882995.044539092 30 ctime=1791882995.044702032 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5T43/===0000644000175000017500000000005715263373363020603 0ustar00tinatinaColon at the beginning of adjacent flow scalar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/Q8AD0000644000000000000000000000013215263373363020637 xustar0030 mtime=1791882995.186229825 30 atime=1791882995.044378386 30 ctime=1791882995.186229825 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q8AD/0000755000175000017500000000000015263373363020346 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q8AD/PaxHeaders/test.event0000644000000000000000000000013215263373363022736 xustar0030 mtime=1791882995.186324181 30 atime=1791882995.186229825 30 ctime=1791882995.186324181 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q8AD/test.event0000644000175000017500000000012615263373363022367 0ustar00tinatina+STR +DOC --- =VAL "folded to a space,\nto a line feed, or \t \tnon-content -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q8AD/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022536 xustar0030 mtime=1791882995.150216945 30 atime=1791882995.150101077 30 ctime=1791882995.150216945 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q8AD/emit.yaml0000644000175000017500000000007615263373363022173 0ustar00tinatina--- "folded to a space,\nto a line feed, or \t \tnon-content" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q8AD/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022407 xustar0030 mtime=1791882995.143997125 30 atime=1791882995.143902699 30 ctime=1791882995.143997125 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q8AD/out.yaml0000644000175000017500000000007215263373363022040 0ustar00tinatina"folded to a space,\nto a line feed, or \t \tnon-content" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q8AD/PaxHeaders/in.json0000644000000000000000000000013215263373363022215 xustar0030 mtime=1791882995.119651855 30 atime=1791882995.119558127 30 ctime=1791882995.119651855 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q8AD/in.json0000644000175000017500000000007215263373363021646 0ustar00tinatina"folded to a space,\nto a line feed, or \t \tnon-content" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q8AD/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022206 xustar0030 mtime=1791882995.119558127 30 atime=1791882995.119463701 30 ctime=1791882995.119558127 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q8AD/in.yaml0000644000175000017500000000010215263373363021631 0ustar00tinatina--- "folded to a space, to a line feed, or \ \ non-content" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q8AD/PaxHeaders/===0000644000000000000000000000013215263373363021205 xustar0030 mtime=1791882995.044539092 30 atime=1791882995.044378386 30 ctime=1791882995.044539092 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q8AD/===0000644000175000017500000000006215263373363020635 0ustar00tinatinaSpec Example 7.5. Double Quoted Line Breaks [1.3] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/Y2GN0000644000000000000000000000013215263373363020661 xustar0030 mtime=1791882995.186120663 30 atime=1791882995.044215655 30 ctime=1791882995.186120663 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y2GN/0000755000175000017500000000000015263373363020370 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y2GN/PaxHeaders/test.event0000644000000000000000000000013215263373363022760 xustar0030 mtime=1791882995.186229825 30 atime=1791882995.186120663 30 ctime=1791882995.186229825 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y2GN/test.event0000644000175000017500000000010115263373363022402 0ustar00tinatina+STR +DOC --- +MAP =VAL :key =VAL &an:chor :value -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y2GN/PaxHeaders/out.yaml0000644000000000000000000000013115263373363022430 xustar0030 mtime=1791882995.143902699 29 atime=1791882995.14380946 30 ctime=1791882995.143902699 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y2GN/out.yaml0000644000175000017500000000003015263373363022054 0ustar00tinatina--- key: &an:chor value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y2GN/PaxHeaders/in.json0000644000000000000000000000013215263373363022237 xustar0030 mtime=1791882995.119463701 30 atime=1791882995.119371161 30 ctime=1791882995.119463701 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y2GN/in.json0000644000175000017500000000002515263373363021666 0ustar00tinatina{ "key": "value" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y2GN/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022230 xustar0030 mtime=1791882995.119371161 30 atime=1791882995.119275687 30 ctime=1791882995.119371161 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y2GN/in.yaml0000644000175000017500000000003015263373363021653 0ustar00tinatina--- key: &an:chor value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y2GN/PaxHeaders/===0000644000000000000000000000013215263373363021227 xustar0030 mtime=1791882995.044378386 30 atime=1791882995.044215655 30 ctime=1791882995.044378386 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Y2GN/===0000644000175000017500000000004015263373363020653 0ustar00tinatinaAnchor with colon in the middle YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/3MYT0000644000000000000000000000013215263373363020676 xustar0030 mtime=1791882995.186027354 30 atime=1791882995.044048175 30 ctime=1791882995.186027354 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3MYT/0000755000175000017500000000000015263373363020405 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3MYT/PaxHeaders/test.event0000644000000000000000000000013215263373363022775 xustar0030 mtime=1791882995.186120663 30 atime=1791882995.186027354 30 ctime=1791882995.186120663 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3MYT/test.event0000644000175000017500000000005515263373363022427 0ustar00tinatina+STR +DOC --- =VAL :k:#foo &a !t s -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3MYT/PaxHeaders/out.yaml0000644000000000000000000000013015263373363022444 xustar0029 mtime=1791882995.14380946 30 atime=1791882995.143715034 29 ctime=1791882995.14380946 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3MYT/out.yaml0000644000175000017500000000002315263373363022073 0ustar00tinatina--- k:#foo &a !t s YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3MYT/PaxHeaders/in.json0000644000000000000000000000013215263373363022254 xustar0030 mtime=1791882995.119275687 30 atime=1791882995.119180214 30 ctime=1791882995.119275687 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3MYT/in.json0000644000175000017500000000002115263373363021677 0ustar00tinatina"k:#foo &a !t s" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3MYT/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022245 xustar0030 mtime=1791882995.119180214 30 atime=1791882995.119076289 30 ctime=1791882995.119180214 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3MYT/in.yaml0000644000175000017500000000002415263373363021673 0ustar00tinatina--- k:#foo &a !t s YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3MYT/PaxHeaders/===0000644000000000000000000000013215263373363021244 xustar0030 mtime=1791882995.044215655 30 atime=1791882995.044048175 30 ctime=1791882995.044215655 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3MYT/===0000644000175000017500000000006715263373363020701 0ustar00tinatinaPlain Scalar looking like key, comment, anchor and tag YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/S4T70000644000000000000000000000013215263373363020643 xustar0030 mtime=1791882995.185932858 30 atime=1791882995.043876085 30 ctime=1791882995.185932858 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4T7/0000755000175000017500000000000015263373363020352 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4T7/PaxHeaders/test.event0000644000000000000000000000013215263373363022742 xustar0030 mtime=1791882995.186027354 30 atime=1791882995.185932858 30 ctime=1791882995.186027354 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4T7/test.event0000644000175000017500000000006615263373363022376 0ustar00tinatina+STR +DOC +MAP =VAL :aaa =VAL :bbb -MAP -DOC ... -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4T7/PaxHeaders/in.json0000644000000000000000000000013215263373363022221 xustar0030 mtime=1791882995.119076289 30 atime=1791882995.118982282 30 ctime=1791882995.119076289 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4T7/in.json0000644000175000017500000000002315263373363021646 0ustar00tinatina{ "aaa": "bbb" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4T7/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022212 xustar0030 mtime=1791882995.118982282 30 atime=1791882995.118887856 30 ctime=1791882995.118982282 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4T7/in.yaml0000644000175000017500000000001515263373363021640 0ustar00tinatinaaaa: bbb ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4T7/PaxHeaders/===0000644000000000000000000000013215263373363021211 xustar0030 mtime=1791882995.044048175 30 atime=1791882995.043876085 30 ctime=1791882995.044048175 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4T7/===0000644000175000017500000000002515263373363020640 0ustar00tinatinaDocument with footer YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/UDM20000644000000000000000000000013215263373363020651 xustar0030 mtime=1791882995.185837664 30 atime=1791882995.043715798 30 ctime=1791882995.185837664 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UDM2/0000755000175000017500000000000015263373363020360 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UDM2/PaxHeaders/test.event0000644000000000000000000000013215263373363022750 xustar0030 mtime=1791882995.185932858 30 atime=1791882995.185837664 30 ctime=1791882995.185932858 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UDM2/test.event0000644000175000017500000000011615263373363022400 0ustar00tinatina+STR +DOC +SEQ +MAP {} =VAL :url =VAL :http://example.org -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UDM2/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022421 xustar0030 mtime=1791882995.143715034 30 atime=1791882995.143621516 30 ctime=1791882995.143715034 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UDM2/out.yaml0000644000175000017500000000003215263373363022046 0ustar00tinatina- url: http://example.org YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UDM2/PaxHeaders/in.json0000644000000000000000000000013115263373363022226 xustar0030 mtime=1791882995.118887856 29 atime=1791882995.11879357 30 ctime=1791882995.118887856 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UDM2/in.json0000644000175000017500000000005415263373363021660 0ustar00tinatina[ { "url": "http://example.org" } ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UDM2/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022216 xustar0029 mtime=1791882995.11879357 30 atime=1791882995.118697468 29 ctime=1791882995.11879357 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UDM2/in.yaml0000644000175000017500000000003615263373363021651 0ustar00tinatina- { url: http://example.org } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UDM2/PaxHeaders/===0000644000000000000000000000013215263373363021217 xustar0030 mtime=1791882995.043876085 30 atime=1791882995.043715798 30 ctime=1791882995.043876085 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UDM2/===0000644000175000017500000000003215263373363020644 0ustar00tinatinaPlain URL in flow mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/5LLU0000644000000000000000000000013215263373363020663 xustar0030 mtime=1791882995.185743378 30 atime=1791882995.043568013 30 ctime=1791882995.185743378 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5LLU/0000755000175000017500000000000015263373363020372 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5LLU/PaxHeaders/test.event0000644000000000000000000000013215263373363022762 xustar0030 mtime=1791882995.185837664 30 atime=1791882995.185743378 30 ctime=1791882995.185837664 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5LLU/test.event0000644000175000017500000000004215263373363022410 0ustar00tinatina+STR +DOC +MAP =VAL :block scalar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5LLU/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022232 xustar0030 mtime=1791882995.118697468 30 atime=1791882995.118601156 30 ctime=1791882995.118697468 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5LLU/in.yaml0000644000175000017500000000004215263373363021660 0ustar00tinatinablock scalar: > invalid YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5LLU/PaxHeaders/error0000644000000000000000000000013215263373363022014 xustar0030 mtime=1791882995.056609199 30 atime=1791882995.056609199 30 ctime=1791882995.056693917 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5LLU/error0000644000175000017500000000000015263373363021434 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5LLU/PaxHeaders/===0000644000000000000000000000013215263373363021231 xustar0030 mtime=1791882995.043715798 30 atime=1791882995.043568013 30 ctime=1791882995.043715798 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5LLU/===0000644000175000017500000000007015263373363020660 0ustar00tinatinaBlock scalar with wrong indented line after spaces only YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/4FJ60000644000000000000000000000013215263373363020613 xustar0030 mtime=1791882995.185650908 30 atime=1791882995.043406819 30 ctime=1791882995.185650908 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4FJ6/0000755000175000017500000000000015263373363020322 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4FJ6/PaxHeaders/test.event0000644000000000000000000000013215263373363022712 xustar0030 mtime=1791882995.185743378 30 atime=1791882995.185650908 30 ctime=1791882995.185743378 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4FJ6/test.event0000644000175000017500000000024415263373363022344 0ustar00tinatina+STR +DOC --- +SEQ [] +MAP {} +SEQ [] =VAL :a +SEQ [] +MAP {} +SEQ [] +SEQ [] =VAL :b =VAL :c -SEQ -SEQ =VAL :d -MAP =VAL :e -SEQ -SEQ =VAL :23 -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4FJ6/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022363 xustar0030 mtime=1791882995.143621516 30 atime=1791882995.143526602 30 ctime=1791882995.143621516 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4FJ6/out.yaml0000644000175000017500000000011115263373363022006 0ustar00tinatina--- - ? - a - - ? - - b - c : d - e : 23 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4FJ6/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022162 xustar0030 mtime=1791882995.118601156 30 atime=1791882995.118505892 30 ctime=1791882995.118601156 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4FJ6/in.yaml0000644000175000017500000000004515263373363021613 0ustar00tinatina--- [ [ a, [ [[b,c]]: d, e]]: 23 ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4FJ6/PaxHeaders/===0000644000000000000000000000013215263373363021161 xustar0030 mtime=1791882995.043568013 30 atime=1791882995.043406819 30 ctime=1791882995.043568013 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4FJ6/===0000644000175000017500000000003515263373363020611 0ustar00tinatinaNested implicit complex keys YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/P2EQ0000644000000000000000000000013215263373363020651 xustar0030 mtime=1791882995.185554875 30 atime=1791882995.043245554 30 ctime=1791882995.185554875 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P2EQ/0000755000175000017500000000000015263373363020360 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P2EQ/PaxHeaders/test.event0000644000000000000000000000013215263373363022750 xustar0030 mtime=1791882995.185650908 30 atime=1791882995.185554875 30 ctime=1791882995.185650908 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P2EQ/test.event0000644000175000017500000000006015263373363022376 0ustar00tinatina+STR +DOC --- +SEQ +MAP {} =VAL :y =VAL :z -MAP YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P2EQ/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022220 xustar0030 mtime=1791882995.118505892 30 atime=1791882995.118409092 30 ctime=1791882995.118505892 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P2EQ/in.yaml0000644000175000017500000000003015263373363021643 0ustar00tinatina--- - { y: z }- invalid YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P2EQ/PaxHeaders/error0000644000000000000000000000013215263373363022002 xustar0030 mtime=1791882995.056522945 30 atime=1791882995.056522945 30 ctime=1791882995.056609199 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P2EQ/error0000644000175000017500000000000015263373363021422 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P2EQ/PaxHeaders/===0000644000000000000000000000013215263373363021217 xustar0030 mtime=1791882995.043406819 30 atime=1791882995.043245554 30 ctime=1791882995.043406819 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P2EQ/===0000644000175000017500000000006315263373363020650 0ustar00tinatinaInvalid sequene item on same line as previous item YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/EB220000644000000000000000000000013215263373363020574 xustar0030 mtime=1791882995.185459541 30 atime=1791882995.043074791 30 ctime=1791882995.185459541 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EB22/0000755000175000017500000000000015263373363020303 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EB22/PaxHeaders/test.event0000644000000000000000000000013215263373363022673 xustar0030 mtime=1791882995.185554875 30 atime=1791882995.185459541 30 ctime=1791882995.185554875 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EB22/test.event0000644000175000017500000000004115263373363022320 0ustar00tinatina+STR +DOC --- =VAL :scalar1 -DOC YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EB22/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022143 xustar0030 mtime=1791882995.118409092 30 atime=1791882995.118313688 30 ctime=1791882995.118409092 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EB22/in.yaml0000644000175000017500000000005415263373363021574 0ustar00tinatina--- scalar1 # comment %YAML 1.2 --- scalar2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EB22/PaxHeaders/error0000644000000000000000000000013215263373363021725 xustar0030 mtime=1791882995.056437249 30 atime=1791882995.056437249 30 ctime=1791882995.056522945 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EB22/error0000644000175000017500000000000015263373363021345 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EB22/PaxHeaders/===0000644000000000000000000000013215263373363021142 xustar0030 mtime=1791882995.043245554 30 atime=1791882995.043074791 30 ctime=1791882995.043245554 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EB22/===0000644000175000017500000000005515263373363020574 0ustar00tinatinaMissing document-end marker before directive YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/6WPF0000644000000000000000000000013215263373363020664 xustar0030 mtime=1791882995.185365604 30 atime=1791882995.042912549 30 ctime=1791882995.185365604 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WPF/0000755000175000017500000000000015263373363020373 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WPF/PaxHeaders/test.event0000644000000000000000000000013215263373363022763 xustar0030 mtime=1791882995.185459541 30 atime=1791882995.185365604 30 ctime=1791882995.185459541 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WPF/test.event0000644000175000017500000000005615263373363022416 0ustar00tinatina+STR +DOC --- =VAL " foo\nbar\nbaz -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WPF/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022563 xustar0030 mtime=1791882995.150101077 30 atime=1791882995.150008118 30 ctime=1791882995.150101077 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WPF/emit.yaml0000644000175000017500000000002615263373363022213 0ustar00tinatina--- " foo\nbar\nbaz " YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WPF/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022434 xustar0030 mtime=1791882995.143526602 30 atime=1791882995.143431687 30 ctime=1791882995.143526602 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WPF/out.yaml0000644000175000017500000000002215263373363022060 0ustar00tinatina" foo\nbar\nbaz " YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WPF/PaxHeaders/in.json0000644000000000000000000000013215263373363022242 xustar0030 mtime=1791882995.118313688 30 atime=1791882995.118212557 30 ctime=1791882995.118313688 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WPF/in.json0000644000175000017500000000002215263373363021666 0ustar00tinatina" foo\nbar\nbaz " YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WPF/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022232 xustar0030 mtime=1791882995.118212557 29 atime=1791882995.11810989 30 ctime=1791882995.118212557 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WPF/in.yaml0000644000175000017500000000004015263373363021657 0ustar00tinatina--- " foo bar baz " YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WPF/PaxHeaders/===0000644000000000000000000000013215263373363021232 xustar0030 mtime=1791882995.043074791 30 atime=1791882995.042912549 30 ctime=1791882995.043074791 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WPF/===0000644000175000017500000000004515263373363020663 0ustar00tinatinaSpec Example 6.8. Flow Folding [1.3] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/93JH0000644000000000000000000000013215263373363020617 xustar0030 mtime=1791882995.185268175 30 atime=1791882995.042750167 30 ctime=1791882995.185268175 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/93JH/0000755000175000017500000000000015263373363020326 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/93JH/PaxHeaders/test.event0000644000000000000000000000013215263373363022716 xustar0030 mtime=1791882995.185365604 30 atime=1791882995.185268175 30 ctime=1791882995.185365604 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/93JH/test.event0000644000175000017500000000017015263373363022346 0ustar00tinatina+STR +DOC +SEQ +MAP =VAL :key =VAL :value =VAL :key2 =VAL :value2 -MAP +MAP =VAL :key3 =VAL :value3 -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/93JH/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022367 xustar0030 mtime=1791882995.143431687 30 atime=1791882995.143336981 30 ctime=1791882995.143431687 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/93JH/out.yaml0000644000175000017500000000005315263373363022017 0ustar00tinatina- key: value key2: value2 - key3: value3 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/93JH/PaxHeaders/in.json0000644000000000000000000000013015263373363022173 xustar0029 mtime=1791882995.11810989 30 atime=1791882995.118015394 29 ctime=1791882995.11810989 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/93JH/in.json0000644000175000017500000000012315263373363021623 0ustar00tinatina[ { "key": "value", "key2": "value2" }, { "key3": "value3" } ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/93JH/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022166 xustar0030 mtime=1791882995.118015394 30 atime=1791882995.117920479 30 ctime=1791882995.118015394 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/93JH/in.yaml0000644000175000017500000000006115263373363021615 0ustar00tinatina - key: value key2: value2 - key3: value3 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/93JH/PaxHeaders/===0000644000000000000000000000013215263373363021165 xustar0030 mtime=1791882995.042912549 30 atime=1791882995.042750167 30 ctime=1791882995.042912549 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/93JH/===0000644000175000017500000000004115263373363020612 0ustar00tinatinaBlock Mappings in Block Sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/LX3P0000644000000000000000000000013215263373363020670 xustar0030 mtime=1791882995.185170467 30 atime=1791882995.042587646 30 ctime=1791882995.185170467 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LX3P/0000755000175000017500000000000015263373363020377 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LX3P/PaxHeaders/test.event0000644000000000000000000000013215263373363022767 xustar0030 mtime=1791882995.185268175 30 atime=1791882995.185170467 30 ctime=1791882995.185268175 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LX3P/test.event0000644000175000017500000000010215263373363022412 0ustar00tinatina+STR +DOC +MAP +SEQ [] =VAL :flow -SEQ =VAL :block -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LX3P/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022440 xustar0030 mtime=1791882995.143336981 30 atime=1791882995.143242276 30 ctime=1791882995.143336981 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LX3P/out.yaml0000644000175000017500000000002115263373363022063 0ustar00tinatina? - flow : block YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LX3P/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022237 xustar0030 mtime=1791882995.117920479 30 atime=1791882995.117824098 30 ctime=1791882995.117920479 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LX3P/in.yaml0000644000175000017500000000001615263373363021666 0ustar00tinatina[flow]: block YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LX3P/PaxHeaders/===0000644000000000000000000000013215263373363021236 xustar0030 mtime=1791882995.042750167 30 atime=1791882995.042587646 30 ctime=1791882995.042750167 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LX3P/===0000644000175000017500000000004615263373363020670 0ustar00tinatinaImplicit Flow Mapping Key on one line YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/HU3P0000644000000000000000000000013115263373363020660 xustar0030 mtime=1791882995.185068498 29 atime=1791882995.04240906 30 ctime=1791882995.185068498 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HU3P/0000755000175000017500000000000015263373363020370 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HU3P/PaxHeaders/test.event0000644000000000000000000000013215263373363022760 xustar0030 mtime=1791882995.185170467 30 atime=1791882995.185068498 30 ctime=1791882995.185170467 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HU3P/test.event0000644000175000017500000000003115263373363022404 0ustar00tinatina+STR +DOC +MAP =VAL :key YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HU3P/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022230 xustar0030 mtime=1791882995.117824098 30 atime=1791882995.117728485 30 ctime=1791882995.117824098 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HU3P/in.yaml0000644000175000017500000000003515263373363021660 0ustar00tinatinakey: word1 word2 no: key YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HU3P/PaxHeaders/error0000644000000000000000000000013215263373363022012 xustar0030 mtime=1791882995.056351973 30 atime=1791882995.056351973 30 ctime=1791882995.056437249 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HU3P/error0000644000175000017500000000000015263373363021432 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HU3P/PaxHeaders/===0000644000000000000000000000013115263373363021226 xustar0030 mtime=1791882995.042587646 29 atime=1791882995.04240906 30 ctime=1791882995.042587646 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HU3P/===0000644000175000017500000000004015263373363020653 0ustar00tinatinaInvalid Mapping in plain scalar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/6BCT0000644000000000000000000000013215263373363020640 xustar0030 mtime=1791882995.184975539 30 atime=1791882995.042254501 30 ctime=1791882995.184975539 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6BCT/0000755000175000017500000000000015263373363020347 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6BCT/PaxHeaders/test.event0000644000000000000000000000013215263373363022737 xustar0030 mtime=1791882995.185068498 30 atime=1791882995.184975539 30 ctime=1791882995.185068498 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6BCT/test.event0000644000175000017500000000013215263373363022365 0ustar00tinatina+STR +DOC +SEQ +MAP =VAL :foo =VAL :bar -MAP +SEQ =VAL :baz =VAL :baz -SEQ -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6BCT/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022410 xustar0030 mtime=1791882995.143242276 30 atime=1791882995.143142123 30 ctime=1791882995.143242276 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6BCT/out.yaml0000644000175000017500000000003315263373363022036 0ustar00tinatina- foo: bar - - baz - baz YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6BCT/PaxHeaders/in.json0000644000000000000000000000013215263373363022216 xustar0030 mtime=1791882995.117728485 30 atime=1791882995.117631824 30 ctime=1791882995.117728485 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6BCT/in.json0000644000175000017500000000007315263373363021650 0ustar00tinatina[ { "foo": "bar" }, [ "baz", "baz" ] ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6BCT/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022206 xustar0030 mtime=1791882995.117631824 29 atime=1791882995.11753642 30 ctime=1791882995.117631824 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6BCT/in.yaml0000644000175000017500000000003415263373363021636 0ustar00tinatina- foo: bar - - baz - baz YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6BCT/PaxHeaders/===0000644000000000000000000000013015263373363021204 xustar0029 mtime=1791882995.04240906 30 atime=1791882995.042254501 29 ctime=1791882995.04240906 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6BCT/===0000644000175000017500000000004415263373363020636 0ustar00tinatinaSpec Example 6.3. Separation Spaces YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/D83L0000644000000000000000000000013215263373363020614 xustar0030 mtime=1791882995.184881671 30 atime=1791882995.042035966 30 ctime=1791882995.184881671 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D83L/0000755000175000017500000000000015263373363020323 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D83L/PaxHeaders/test.event0000644000000000000000000000013215263373363022713 xustar0030 mtime=1791882995.184975539 30 atime=1791882995.184881671 30 ctime=1791882995.184975539 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D83L/test.event0000644000175000017500000000013615263373363022345 0ustar00tinatina+STR +DOC +SEQ =VAL |explicit indent and chomp =VAL |chomp and explicit indent -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D83L/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022364 xustar0030 mtime=1791882995.143142123 30 atime=1791882995.143040923 30 ctime=1791882995.143142123 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D83L/out.yaml0000644000175000017500000000010215263373363022007 0ustar00tinatina- |- explicit indent and chomp - |- chomp and explicit indent YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D83L/PaxHeaders/in.json0000644000000000000000000000013015263373363022170 xustar0029 mtime=1791882995.11753642 30 atime=1791882995.117432077 29 ctime=1791882995.11753642 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D83L/in.json0000644000175000017500000000010115263373363021614 0ustar00tinatina[ "explicit indent and chomp", "chomp and explicit indent" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D83L/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022163 xustar0030 mtime=1791882995.117432077 30 atime=1791882995.117336254 30 ctime=1791882995.117432077 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D83L/in.yaml0000644000175000017500000000010415263373363021610 0ustar00tinatina- |2- explicit indent and chomp - |-2 chomp and explicit indent YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D83L/PaxHeaders/===0000644000000000000000000000013215263373363021162 xustar0030 mtime=1791882995.042254501 30 atime=1791882995.042035966 30 ctime=1791882995.042254501 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D83L/===0000644000175000017500000000003515263373363020612 0ustar00tinatinaBlock scalar indicator order YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/AB8U0000644000000000000000000000013215263373363020641 xustar0030 mtime=1791882995.184790039 30 atime=1791882995.041881826 30 ctime=1791882995.184790039 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AB8U/0000755000175000017500000000000015263373363020350 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AB8U/PaxHeaders/test.event0000644000000000000000000000013215263373363022740 xustar0030 mtime=1791882995.184881671 30 atime=1791882995.184790039 30 ctime=1791882995.184881671 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AB8U/test.event0000644000175000017500000000010615263373363022367 0ustar00tinatina+STR +DOC +SEQ =VAL :single multiline - sequence entry -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AB8U/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022411 xustar0030 mtime=1791882995.143040923 30 atime=1791882995.142948382 30 ctime=1791882995.143040923 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AB8U/out.yaml0000644000175000017500000000004415263373363022041 0ustar00tinatina- single multiline - sequence entry YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AB8U/PaxHeaders/in.json0000644000000000000000000000013115263373363022216 xustar0030 mtime=1791882995.117336254 29 atime=1791882995.11724092 30 ctime=1791882995.117336254 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AB8U/in.json0000644000175000017500000000005215263373363021646 0ustar00tinatina[ "single multiline - sequence entry" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AB8U/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022206 xustar0029 mtime=1791882995.11724092 30 atime=1791882995.117143072 29 ctime=1791882995.11724092 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AB8U/in.yaml0000644000175000017500000000004515263373363021641 0ustar00tinatina- single multiline - sequence entry YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AB8U/PaxHeaders/===0000644000000000000000000000013215263373363021207 xustar0030 mtime=1791882995.042035966 30 atime=1791882995.041881826 30 ctime=1791882995.042035966 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AB8U/===0000644000175000017500000000007215263373363020640 0ustar00tinatinaSequence entry that looks like two with wrong indentation YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/8CWC0000644000000000000000000000013015263373363020644 xustar0029 mtime=1791882995.18469694 30 atime=1791882995.041738371 29 ctime=1791882995.18469694 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8CWC/0000755000175000017500000000000015263373363020355 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8CWC/PaxHeaders/test.event0000644000000000000000000000013115263373363022744 xustar0030 mtime=1791882995.184790039 29 atime=1791882995.18469694 30 ctime=1791882995.184790039 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8CWC/test.event0000644000175000017500000000011715263373363022376 0ustar00tinatina+STR +DOC --- +MAP =VAL :key ends with two colons:: =VAL :value -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8CWC/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022416 xustar0030 mtime=1791882995.142948382 30 atime=1791882995.142854445 30 ctime=1791882995.142948382 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8CWC/out.yaml0000644000175000017500000000005015263373363022043 0ustar00tinatina--- 'key ends with two colons::': value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8CWC/PaxHeaders/in.json0000644000000000000000000000013215263373363022224 xustar0030 mtime=1791882995.117143072 30 atime=1791882995.117038659 30 ctime=1791882995.117143072 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8CWC/in.json0000644000175000017500000000005415263373363021655 0ustar00tinatina{ "key ends with two colons::": "value" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8CWC/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022215 xustar0030 mtime=1791882995.117038659 30 atime=1791882995.116941509 30 ctime=1791882995.117038659 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8CWC/in.yaml0000644000175000017500000000004615263373363021647 0ustar00tinatina--- key ends with two colons::: value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8CWC/PaxHeaders/===0000644000000000000000000000013215263373363021214 xustar0030 mtime=1791882995.041881826 30 atime=1791882995.041738371 30 ctime=1791882995.041881826 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8CWC/===0000644000175000017500000000004415263373363020644 0ustar00tinatinaPlain mapping key ending with colon YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/7ZZ50000644000000000000000000000013215263373363020661 xustar0030 mtime=1791882995.184602444 30 atime=1791882995.041583672 30 ctime=1791882995.184602444 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7ZZ5/0000755000175000017500000000000015263373363020370 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7ZZ5/PaxHeaders/test.event0000644000000000000000000000013015263373363022756 xustar0029 mtime=1791882995.18469694 30 atime=1791882995.184602444 29 ctime=1791882995.18469694 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7ZZ5/test.event0000644000175000017500000000026515263373363022415 0ustar00tinatina+STR +DOC --- +MAP =VAL :nested sequences +SEQ +SEQ +SEQ +SEQ [] -SEQ -SEQ -SEQ +SEQ +SEQ +MAP {} -MAP -SEQ -SEQ -SEQ =VAL :key1 +SEQ [] -SEQ =VAL :key2 +MAP {} -MAP -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7ZZ5/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022431 xustar0030 mtime=1791882995.142854445 30 atime=1791882995.142760718 30 ctime=1791882995.142854445 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7ZZ5/out.yaml0000644000175000017500000000007215263373363022062 0ustar00tinatina--- nested sequences: - - - [] - - - {} key1: [] key2: {} YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7ZZ5/PaxHeaders/in.json0000644000000000000000000000013215263373363022237 xustar0030 mtime=1791882995.116941509 30 atime=1791882995.116840238 30 ctime=1791882995.116941509 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7ZZ5/in.json0000644000175000017500000000021315263373363021665 0ustar00tinatina{ "nested sequences": [ [ [ [] ] ], [ [ {} ] ] ], "key1": [], "key2": {} } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7ZZ5/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022230 xustar0030 mtime=1791882995.116840238 30 atime=1791882995.116742949 30 ctime=1791882995.116840238 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7ZZ5/in.yaml0000644000175000017500000000007215263373363021661 0ustar00tinatina--- nested sequences: - - - [] - - - {} key1: [] key2: {} YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7ZZ5/PaxHeaders/===0000644000000000000000000000013215263373363021227 xustar0030 mtime=1791882995.041738371 30 atime=1791882995.041583672 30 ctime=1791882995.041738371 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7ZZ5/===0000644000175000017500000000002715263373363020660 0ustar00tinatinaEmpty flow collections YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/5BVJ0000644000000000000000000000013215263373363020650 xustar0030 mtime=1791882995.184305408 30 atime=1791882995.041422198 30 ctime=1791882995.184305408 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5BVJ/0000755000175000017500000000000015263373363020357 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5BVJ/PaxHeaders/test.event0000644000000000000000000000013215263373363022747 xustar0030 mtime=1791882995.184405491 30 atime=1791882995.184305408 30 ctime=1791882995.184405491 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5BVJ/test.event0000644000175000017500000000013615263373363022401 0ustar00tinatina+STR +DOC +MAP =VAL :literal =VAL |some\ntext\n =VAL :folded =VAL >some text\n -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5BVJ/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022420 xustar0030 mtime=1791882995.142760718 30 atime=1791882995.142666711 30 ctime=1791882995.142760718 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5BVJ/out.yaml0000644000175000017500000000005715263373363022054 0ustar00tinatinaliteral: | some text folded: > some text YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5BVJ/PaxHeaders/in.json0000644000000000000000000000013215263373363022226 xustar0030 mtime=1791882995.116742949 30 atime=1791882995.116653621 30 ctime=1791882995.116742949 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5BVJ/in.json0000644000175000017500000000007315263373363021660 0ustar00tinatina{ "literal": "some\ntext\n", "folded": "some text\n" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5BVJ/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022217 xustar0030 mtime=1791882995.116653621 30 atime=1791882995.116558637 30 ctime=1791882995.116653621 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5BVJ/in.yaml0000644000175000017500000000006115263373363021646 0ustar00tinatinaliteral: | some text folded: > some text YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5BVJ/PaxHeaders/===0000644000000000000000000000013215263373363021216 xustar0030 mtime=1791882995.041583672 30 atime=1791882995.041422198 30 ctime=1791882995.041583672 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5BVJ/===0000644000175000017500000000005215263373363020645 0ustar00tinatinaSpec Example 5.7. Block Scalar Indicators YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/FTA20000644000000000000000000000013215263373363020636 xustar0030 mtime=1791882995.184211191 30 atime=1791882995.041276159 30 ctime=1791882995.184211191 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FTA2/0000755000175000017500000000000015263373363020345 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FTA2/PaxHeaders/test.event0000644000000000000000000000013215263373363022735 xustar0030 mtime=1791882995.184305408 30 atime=1791882995.184211191 30 ctime=1791882995.184305408 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FTA2/test.event0000644000175000017500000000006415263373363022367 0ustar00tinatina+STR +DOC --- +SEQ &sequence =VAL :a -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FTA2/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022406 xustar0030 mtime=1791882995.142666711 30 atime=1791882995.142572774 30 ctime=1791882995.142666711 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FTA2/out.yaml0000644000175000017500000000002215263373363022032 0ustar00tinatina--- &sequence - a YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FTA2/PaxHeaders/in.json0000644000000000000000000000013115263373363022213 xustar0030 mtime=1791882995.116558637 29 atime=1791882995.11646477 30 ctime=1791882995.116558637 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FTA2/in.json0000644000175000017500000000001215263373363021637 0ustar00tinatina[ "a" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FTA2/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022203 xustar0029 mtime=1791882995.11646477 30 atime=1791882995.116362382 29 ctime=1791882995.11646477 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FTA2/in.yaml0000644000175000017500000000002215263373363021631 0ustar00tinatina--- &sequence - a YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FTA2/PaxHeaders/===0000644000000000000000000000013215263373363021204 xustar0030 mtime=1791882995.041422198 30 atime=1791882995.041276159 30 ctime=1791882995.041422198 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FTA2/===0000644000175000017500000000007615263373363020641 0ustar00tinatinaSingle block sequence with anchor and explicit document start YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/4WA90000644000000000000000000000013215263373363020626 xustar0030 mtime=1791882995.184104962 30 atime=1791882995.041109167 30 ctime=1791882995.184104962 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4WA9/0000755000175000017500000000000015263373363020335 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4WA9/PaxHeaders/test.event0000644000000000000000000000013215263373363022725 xustar0030 mtime=1791882995.184211191 30 atime=1791882995.184104962 30 ctime=1791882995.184211191 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4WA9/test.event0000644000175000017500000000012415263373363022354 0ustar00tinatina+STR +DOC +SEQ +MAP =VAL :aaa =VAL |xxx\n =VAL :bbb =VAL |xxx\n -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4WA9/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022525 xustar0030 mtime=1791882995.150008118 30 atime=1791882995.149913972 30 ctime=1791882995.150008118 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4WA9/emit.yaml0000644000175000017500000000004215263373363022153 0ustar00tinatina- aaa: | xxx bbb: | xxx YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4WA9/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022376 xustar0030 mtime=1791882995.142572774 30 atime=1791882995.142476742 30 ctime=1791882995.142572774 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4WA9/out.yaml0000644000175000017500000000004615263373363022030 0ustar00tinatina--- - aaa: | xxx bbb: | xxx YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4WA9/PaxHeaders/in.json0000644000000000000000000000013215263373363022204 xustar0030 mtime=1791882995.116362382 30 atime=1791882995.116269353 30 ctime=1791882995.116362382 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4WA9/in.json0000644000175000017500000000006515263373363021637 0ustar00tinatina[ { "aaa" : "xxx\n", "bbb" : "xxx\n" } ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4WA9/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022175 xustar0030 mtime=1791882995.116269353 30 atime=1791882995.116169758 30 ctime=1791882995.116269353 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4WA9/in.yaml0000644000175000017500000000004315263373363021624 0ustar00tinatina- aaa: |2 xxx bbb: | xxx YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4WA9/PaxHeaders/===0000644000000000000000000000013215263373363021174 xustar0030 mtime=1791882995.041276159 30 atime=1791882995.041109167 30 ctime=1791882995.041276159 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4WA9/===0000644000175000017500000000002015263373363020616 0ustar00tinatinaLiteral scalars YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/3R3P0000644000000000000000000000013215263373363020631 xustar0030 mtime=1791882995.184012492 30 atime=1791882995.040948531 30 ctime=1791882995.184012492 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3R3P/0000755000175000017500000000000015263373363020340 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3R3P/PaxHeaders/test.event0000644000000000000000000000013215263373363022730 xustar0030 mtime=1791882995.184104962 30 atime=1791882995.184012492 30 ctime=1791882995.184104962 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3R3P/test.event0000644000175000017500000000006015263373363022356 0ustar00tinatina+STR +DOC +SEQ &sequence =VAL :a -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3R3P/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022401 xustar0030 mtime=1791882995.142476742 30 atime=1791882995.142382316 30 ctime=1791882995.142476742 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3R3P/out.yaml0000644000175000017500000000001615263373363022030 0ustar00tinatina&sequence - a YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3R3P/PaxHeaders/in.json0000644000000000000000000000013215263373363022207 xustar0030 mtime=1791882995.116169758 30 atime=1791882995.116068558 30 ctime=1791882995.116169758 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3R3P/in.json0000644000175000017500000000001215263373363021632 0ustar00tinatina[ "a" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3R3P/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022177 xustar0030 mtime=1791882995.116068558 29 atime=1791882995.11597511 30 ctime=1791882995.116068558 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3R3P/in.yaml0000644000175000017500000000001615263373363021627 0ustar00tinatina&sequence - a YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3R3P/PaxHeaders/===0000644000000000000000000000013215263373363021177 xustar0030 mtime=1791882995.041109167 30 atime=1791882995.040948531 30 ctime=1791882995.041109167 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3R3P/===0000644000175000017500000000004215263373363020625 0ustar00tinatinaSingle block sequence with anchor YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/KK5P0000644000000000000000000000013215263373363020654 xustar0030 mtime=1791882995.183919533 30 atime=1791882995.040789153 30 ctime=1791882995.183919533 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KK5P/0000755000175000017500000000000015263373363020363 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KK5P/PaxHeaders/test.event0000644000000000000000000000013215263373363022753 xustar0030 mtime=1791882995.184012492 30 atime=1791882995.183919533 30 ctime=1791882995.184012492 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KK5P/test.event0000644000175000017500000000043715263373363022411 0ustar00tinatina+STR +DOC +MAP =VAL :complex1 +MAP +SEQ =VAL :a -SEQ =VAL : -MAP =VAL :complex2 +MAP +SEQ =VAL :a -SEQ =VAL :b -MAP =VAL :complex3 +MAP +SEQ =VAL :a -SEQ =VAL >b\n -MAP =VAL :complex4 +MAP =VAL >a\n =VAL : -MAP =VAL :complex5 +MAP +SEQ =VAL :a -SEQ +SEQ =VAL :b -SEQ -MAP -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KK5P/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022424 xustar0030 mtime=1791882995.142382316 30 atime=1791882995.142276715 30 ctime=1791882995.142382316 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KK5P/out.yaml0000644000175000017500000000020015263373363022046 0ustar00tinatinacomplex1: ? - a : complex2: ? - a : b complex3: ? - a : > b complex4: ? > a : complex5: ? - a : - b YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KK5P/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022221 xustar0029 mtime=1791882995.11597511 30 atime=1791882995.115881731 29 ctime=1791882995.11597511 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KK5P/in.yaml0000644000175000017500000000017415263373363021657 0ustar00tinatinacomplex1: ? - a complex2: ? - a : b complex3: ? - a : > b complex4: ? > a : complex5: ? - a : - b YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KK5P/PaxHeaders/===0000644000000000000000000000013215263373363021222 xustar0030 mtime=1791882995.040948531 30 atime=1791882995.040789153 30 ctime=1791882995.040948531 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KK5P/===0000644000175000017500000000006015263373363020650 0ustar00tinatinaVarious combinations of explicit block mappings YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/FQ7F0000644000000000000000000000013215263373363020645 xustar0030 mtime=1791882995.183827062 30 atime=1791882995.040628168 30 ctime=1791882995.183827062 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FQ7F/0000755000175000017500000000000015263373363020354 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FQ7F/PaxHeaders/test.event0000644000000000000000000000013215263373363022744 xustar0030 mtime=1791882995.183919533 30 atime=1791882995.183827062 30 ctime=1791882995.183919533 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FQ7F/test.event0000644000175000017500000000012415263373363022373 0ustar00tinatina+STR +DOC +SEQ =VAL :Mark McGwire =VAL :Sammy Sosa =VAL :Ken Griffey -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FQ7F/PaxHeaders/lex.token0000644000000000000000000000013215263373363022554 xustar0030 mtime=1791882995.149913972 30 atime=1791882995.149821012 30 ctime=1791882995.149913972 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FQ7F/lex.token0000644000175000017500000000025115263373363022204 0ustar00tinatinaSEQ-MARK 0 1 1 1 WS-SPACE 1 1 1 2 TEXT-VAL 2 12 1 3 :Mark McGwire WS-NEWLN 14 1 1 15 SEQ-MARK 15 1 2 1 WS-SPACE 1 1 1 2 TEXT-VAL 2 12 1 3 :Sammy Sosa WS-NEWLN 14 1 1 15 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FQ7F/PaxHeaders/in.json0000644000000000000000000000013215263373363022223 xustar0030 mtime=1791882995.115881731 30 atime=1791882995.115788004 30 ctime=1791882995.115881731 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FQ7F/in.json0000644000175000017500000000006615263373363021657 0ustar00tinatina[ "Mark McGwire", "Sammy Sosa", "Ken Griffey" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FQ7F/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022214 xustar0030 mtime=1791882995.115788004 30 atime=1791882995.115694975 30 ctime=1791882995.115788004 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FQ7F/in.yaml0000644000175000017500000000005215263373363021643 0ustar00tinatina- Mark McGwire - Sammy Sosa - Ken Griffey YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FQ7F/PaxHeaders/===0000644000000000000000000000013215263373363021213 xustar0030 mtime=1791882995.040789153 30 atime=1791882995.040628168 30 ctime=1791882995.040789153 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FQ7F/===0000644000175000017500000000004615263373363020645 0ustar00tinatinaSpec Example 2.1. Sequence of Scalars YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/G9920000644000000000000000000000013115263373363020573 xustar0030 mtime=1791882995.183734033 29 atime=1791882995.04046383 30 ctime=1791882995.183734033 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G992/0000755000175000017500000000000015263373363020303 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G992/PaxHeaders/test.event0000644000000000000000000000013215263373363022673 xustar0030 mtime=1791882995.183827062 30 atime=1791882995.183734033 30 ctime=1791882995.183827062 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G992/test.event0000644000175000017500000000005015263373363022320 0ustar00tinatina+STR +DOC =VAL >folded text\n -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G992/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022344 xustar0030 mtime=1791882995.142276715 30 atime=1791882995.142165248 30 ctime=1791882995.142276715 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G992/out.yaml0000644000175000017500000000002015263373363021766 0ustar00tinatina> folded text YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G992/PaxHeaders/in.json0000644000000000000000000000013215263373363022152 xustar0030 mtime=1791882995.115694975 30 atime=1791882995.115602295 30 ctime=1791882995.115694975 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G992/in.json0000644000175000017500000000002015263373363021574 0ustar00tinatina"folded text\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G992/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022143 xustar0030 mtime=1791882995.115602295 30 atime=1791882995.115508427 30 ctime=1791882995.115602295 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G992/in.yaml0000644000175000017500000000002215263373363021567 0ustar00tinatina> folded text YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G992/PaxHeaders/===0000644000000000000000000000013115263373363021141 xustar0030 mtime=1791882995.040628168 29 atime=1791882995.04046383 30 ctime=1791882995.040628168 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G992/===0000644000175000017500000000004015263373363020566 0ustar00tinatinaSpec Example 8.9. Folded Scalar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/XV9V0000644000000000000000000000013215263373363020716 xustar0030 mtime=1791882995.183639956 30 atime=1791882995.040303613 30 ctime=1791882995.183639956 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XV9V/0000755000175000017500000000000015263373363020425 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XV9V/PaxHeaders/test.event0000644000000000000000000000013215263373363023015 xustar0030 mtime=1791882995.183734033 30 atime=1791882995.183639956 30 ctime=1791882995.183734033 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XV9V/test.event0000644000175000017500000000017015263373363022445 0ustar00tinatina+STR +DOC +MAP =VAL :Folding =VAL "Empty line\nas a line feed =VAL :Chomping =VAL |Clipped empty lines\n -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XV9V/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022466 xustar0030 mtime=1791882995.142165248 30 atime=1791882995.142053641 30 ctime=1791882995.142165248 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XV9V/out.yaml0000644000175000017500000000011015263373363022110 0ustar00tinatinaFolding: "Empty line\nas a line feed" Chomping: | Clipped empty lines YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XV9V/PaxHeaders/in.json0000644000000000000000000000013215263373363022274 xustar0030 mtime=1791882995.115508427 30 atime=1791882995.115414909 30 ctime=1791882995.115508427 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XV9V/in.json0000644000175000017500000000012515263373363021724 0ustar00tinatina{ "Folding": "Empty line\nas a line feed", "Chomping": "Clipped empty lines\n" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XV9V/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022265 xustar0030 mtime=1791882995.115414909 30 atime=1791882995.115320972 30 ctime=1791882995.115414909 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XV9V/in.yaml0000644000175000017500000000011715263373363021716 0ustar00tinatinaFolding: "Empty line as a line feed" Chomping: | Clipped empty lines YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XV9V/PaxHeaders/===0000644000000000000000000000013015263373363021262 xustar0029 mtime=1791882995.04046383 30 atime=1791882995.040303613 29 ctime=1791882995.04046383 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XV9V/===0000644000175000017500000000004415263373363020714 0ustar00tinatinaSpec Example 6.5. Empty Lines [1.3] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/TD5N0000644000000000000000000000012715263373363020660 xustar0029 mtime=1791882995.18354553 29 atime=1791882995.04014207 29 ctime=1791882995.18354553 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TD5N/0000755000175000017500000000000015263373363020363 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TD5N/PaxHeaders/test.event0000644000000000000000000000013115263373363022752 xustar0030 mtime=1791882995.183639956 29 atime=1791882995.18354553 30 ctime=1791882995.183639956 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TD5N/test.event0000644000175000017500000000004715263373363022406 0ustar00tinatina+STR +DOC +SEQ =VAL :item1 =VAL :item2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TD5N/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022223 xustar0030 mtime=1791882995.115320972 30 atime=1791882995.115225708 30 ctime=1791882995.115320972 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TD5N/in.yaml0000644000175000017500000000003015263373363021646 0ustar00tinatina- item1 - item2 invalid YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TD5N/PaxHeaders/error0000644000000000000000000000013215263373363022005 xustar0030 mtime=1791882995.056266766 30 atime=1791882995.056266766 30 ctime=1791882995.056351973 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TD5N/error0000644000175000017500000000000015263373363021425 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TD5N/PaxHeaders/===0000644000000000000000000000013115263373363021221 xustar0030 mtime=1791882995.040303613 29 atime=1791882995.04014207 30 ctime=1791882995.040303613 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TD5N/===0000644000175000017500000000003615263373363020653 0ustar00tinatinaInvalid scalar after sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/87E40000644000000000000000000000013215263373363020571 xustar0030 mtime=1791882995.183450895 30 atime=1791882995.039970259 30 ctime=1791882995.183450895 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/87E4/0000755000175000017500000000000015263373363020300 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/87E4/PaxHeaders/test.event0000644000000000000000000000013015263373363022666 xustar0029 mtime=1791882995.18354553 30 atime=1791882995.183450895 29 ctime=1791882995.18354553 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/87E4/test.event0000644000175000017500000000016515263373363022324 0ustar00tinatina+STR +DOC +MAP =VAL 'implicit block key +SEQ [] +MAP {} =VAL 'implicit flow key =VAL :value -MAP -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/87E4/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022341 xustar0030 mtime=1791882995.142053641 30 atime=1791882995.141957748 30 ctime=1791882995.142053641 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/87E4/out.yaml0000644000175000017500000000006315263373363021772 0ustar00tinatina'implicit block key': - 'implicit flow key': value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/87E4/PaxHeaders/in.json0000644000000000000000000000013215263373363022147 xustar0030 mtime=1791882995.115225708 30 atime=1791882995.115104533 30 ctime=1791882995.115225708 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/87E4/in.json0000644000175000017500000000012115263373363021573 0ustar00tinatina{ "implicit block key": [ { "implicit flow key": "value" } ] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/87E4/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022140 xustar0030 mtime=1791882995.115104533 30 atime=1791882995.115010107 30 ctime=1791882995.115104533 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/87E4/in.yaml0000644000175000017500000000007315263373363021572 0ustar00tinatina'implicit block key' : [ 'implicit flow key' : value, ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/87E4/PaxHeaders/===0000644000000000000000000000013015263373363021135 xustar0029 mtime=1791882995.04014207 30 atime=1791882995.039970259 29 ctime=1791882995.04014207 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/87E4/===0000644000175000017500000000005615263373363020572 0ustar00tinatinaSpec Example 7.8. Single Quoted Implicit Keys YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/A6F90000644000000000000000000000013015263373363020605 xustar0029 mtime=1791882995.18335612 30 atime=1791882995.039808506 29 ctime=1791882995.18335612 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A6F9/0000755000175000017500000000000015263373363020316 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A6F9/PaxHeaders/test.event0000644000000000000000000000013115263373363022705 xustar0030 mtime=1791882995.183450895 29 atime=1791882995.18335612 30 ctime=1791882995.183450895 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A6F9/test.event0000644000175000017500000000014515263373363022340 0ustar00tinatina+STR +DOC +MAP =VAL :strip =VAL |text =VAL :clip =VAL |text\n =VAL :keep =VAL |text\n -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A6F9/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022357 xustar0030 mtime=1791882995.141957748 30 atime=1791882995.141872751 30 ctime=1791882995.141957748 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A6F9/out.yaml0000644000175000017500000000005715263373363022013 0ustar00tinatinastrip: |- text clip: | text keep: | text YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A6F9/PaxHeaders/in.json0000644000000000000000000000013215263373363022165 xustar0030 mtime=1791882995.115010107 30 atime=1791882995.114917637 30 ctime=1791882995.115010107 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A6F9/in.json0000644000175000017500000000007615263373363021622 0ustar00tinatina{ "strip": "text", "clip": "text\n", "keep": "text\n" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A6F9/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022156 xustar0030 mtime=1791882995.114917637 30 atime=1791882995.114823351 30 ctime=1791882995.114917637 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A6F9/in.yaml0000644000175000017500000000006015263373363021604 0ustar00tinatinastrip: |- text clip: | text keep: |+ text YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A6F9/PaxHeaders/===0000644000000000000000000000013215263373363021155 xustar0030 mtime=1791882995.039970259 30 atime=1791882995.039808506 30 ctime=1791882995.039970259 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A6F9/===0000644000175000017500000000005415263373363020606 0ustar00tinatinaSpec Example 8.4. Chomping Final Line Break YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/N7820000644000000000000000000000013215263373363020600 xustar0030 mtime=1791882995.183237389 30 atime=1791882995.039645775 30 ctime=1791882995.183237389 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/N782/0000755000175000017500000000000015263373363020307 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/N782/PaxHeaders/test.event0000644000000000000000000000013015263373363022675 xustar0029 mtime=1791882995.18335612 30 atime=1791882995.183237389 29 ctime=1791882995.18335612 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/N782/test.event0000644000175000017500000000002215263373363022323 0ustar00tinatina+STR +DOC +SEQ [] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/N782/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022147 xustar0030 mtime=1791882995.114823351 30 atime=1791882995.114729623 30 ctime=1791882995.114823351 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/N782/in.yaml0000644000175000017500000000001615263373363021576 0ustar00tinatina[ --- , ... ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/N782/PaxHeaders/error0000644000000000000000000000013215263373363021731 xustar0030 mtime=1791882995.056181349 30 atime=1791882995.056181349 30 ctime=1791882995.056266766 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/N782/error0000644000175000017500000000000015263373363021351 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/N782/PaxHeaders/===0000644000000000000000000000013215263373363021146 xustar0030 mtime=1791882995.039808506 30 atime=1791882995.039645775 30 ctime=1791882995.039808506 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/N782/===0000644000175000017500000000004715263373363020601 0ustar00tinatinaInvalid document markers in flow style YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/K54U0000644000000000000000000000013215263373363020632 xustar0030 mtime=1791882995.183121312 30 atime=1791882995.039483044 30 ctime=1791882995.183121312 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K54U/0000755000175000017500000000000015263373363020341 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K54U/PaxHeaders/test.event0000644000000000000000000000013215263373363022731 xustar0030 mtime=1791882995.183237389 30 atime=1791882995.183121312 30 ctime=1791882995.183237389 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K54U/test.event0000644000175000017500000000004515263373363022362 0ustar00tinatina+STR +DOC --- =VAL :scalar -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K54U/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022402 xustar0030 mtime=1791882995.141872751 30 atime=1791882995.141786915 30 ctime=1791882995.141872751 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K54U/out.yaml0000644000175000017500000000001715263373363022032 0ustar00tinatina--- scalar ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K54U/PaxHeaders/in.json0000644000000000000000000000013015263373363022206 xustar0030 mtime=1791882995.114729623 28 atime=1791882995.1146338 30 ctime=1791882995.114729623 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K54U/in.json0000644000175000017500000000001115263373363021632 0ustar00tinatina"scalar" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K54U/PaxHeaders/in.yaml0000644000000000000000000000012615263373363022204 xustar0028 mtime=1791882995.1146338 30 atime=1791882995.114538327 28 ctime=1791882995.1146338 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K54U/in.yaml0000644000175000017500000000001315263373363021625 0ustar00tinatina--- scalar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K54U/PaxHeaders/===0000644000000000000000000000013215263373363021200 xustar0030 mtime=1791882995.039645775 30 atime=1791882995.039483044 30 ctime=1791882995.039645775 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K54U/===0000644000175000017500000000003215263373363020625 0ustar00tinatinaTab after document header YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/TL850000644000000000000000000000013215263373363020636 xustar0030 mtime=1791882995.183027934 30 atime=1791882995.039316681 30 ctime=1791882995.183027934 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TL85/0000755000175000017500000000000015263373363020345 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TL85/PaxHeaders/test.event0000644000000000000000000000013215263373363022735 xustar0030 mtime=1791882995.183121312 30 atime=1791882995.183027934 30 ctime=1791882995.183121312 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TL85/test.event0000644000175000017500000000005215263373363022364 0ustar00tinatina+STR +DOC =VAL " foo\nbar\nbaz -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TL85/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022406 xustar0030 mtime=1791882995.141786915 30 atime=1791882995.141703734 30 ctime=1791882995.141786915 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TL85/out.yaml0000644000175000017500000000002215263373363022032 0ustar00tinatina" foo\nbar\nbaz " YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TL85/PaxHeaders/in.json0000644000000000000000000000013215263373363022214 xustar0030 mtime=1791882995.114538327 30 atime=1791882995.114443412 30 ctime=1791882995.114538327 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TL85/in.json0000644000175000017500000000002215263373363021640 0ustar00tinatina" foo\nbar\nbaz " YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TL85/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022205 xustar0030 mtime=1791882995.114443412 30 atime=1791882995.114348497 30 ctime=1791882995.114443412 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TL85/in.yaml0000644000175000017500000000003415263373363021634 0ustar00tinatina" foo bar baz " YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TL85/PaxHeaders/===0000644000000000000000000000013215263373363021204 xustar0030 mtime=1791882995.039483044 30 atime=1791882995.039316681 30 ctime=1791882995.039483044 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TL85/===0000644000175000017500000000003715263373363020636 0ustar00tinatinaSpec Example 6.8. Flow Folding YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/BU8L0000644000000000000000000000013215263373363020654 xustar0030 mtime=1791882995.182933997 30 atime=1791882995.039170921 30 ctime=1791882995.182933997 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BU8L/0000755000175000017500000000000015263373363020363 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BU8L/PaxHeaders/test.event0000644000000000000000000000013215263373363022753 xustar0030 mtime=1791882995.183027934 30 atime=1791882995.182933997 30 ctime=1791882995.183027934 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BU8L/test.event0000644000175000017500000000014215263373363022402 0ustar00tinatina+STR +DOC +MAP =VAL :key +MAP &anchor =VAL :a =VAL :b -MAP -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BU8L/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022424 xustar0030 mtime=1791882995.141703734 30 atime=1791882995.141604489 30 ctime=1791882995.141703734 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BU8L/out.yaml0000644000175000017500000000003215263373363022051 0ustar00tinatinakey: &anchor !!map a: b YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BU8L/PaxHeaders/in.json0000644000000000000000000000013115263373363022231 xustar0030 mtime=1791882995.114348497 29 atime=1791882995.11425463 30 ctime=1791882995.114348497 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BU8L/in.json0000644000175000017500000000004015263373363021656 0ustar00tinatina{ "key": { "a": "b" } } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BU8L/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022221 xustar0029 mtime=1791882995.11425463 30 atime=1791882995.114155944 29 ctime=1791882995.11425463 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BU8L/in.yaml0000644000175000017500000000003315263373363021651 0ustar00tinatinakey: &anchor !!map a: b YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BU8L/PaxHeaders/===0000644000000000000000000000013215263373363021222 xustar0030 mtime=1791882995.039316681 30 atime=1791882995.039170921 30 ctime=1791882995.039316681 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BU8L/===0000644000175000017500000000004615263373363020654 0ustar00tinatinaNode Anchor and Tag on Seperate Lines YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/U9NS0000644000000000000000000000013015263373363020676 xustar0029 mtime=1791882995.18284013 30 atime=1791882995.038986749 29 ctime=1791882995.18284013 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U9NS/0000755000175000017500000000000015263373363020407 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U9NS/PaxHeaders/test.event0000644000000000000000000000013115263373363022776 xustar0030 mtime=1791882995.182933997 29 atime=1791882995.18284013 30 ctime=1791882995.182933997 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U9NS/test.event0000644000175000017500000000036115263373363022431 0ustar00tinatina+STR +DOC --- +MAP =VAL :time =VAL :20:03:20 =VAL :player =VAL :Sammy Sosa =VAL :action =VAL :strike (miss) -MAP -DOC ... +DOC --- +MAP =VAL :time =VAL :20:03:47 =VAL :player =VAL :Sammy Sosa =VAL :action =VAL :grand slam -MAP -DOC ... -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U9NS/PaxHeaders/in.json0000644000000000000000000000013115263373363022255 xustar0030 mtime=1791882995.114155944 29 atime=1791882995.11405146 30 ctime=1791882995.114155944 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U9NS/in.json0000644000175000017500000000023515263373363021710 0ustar00tinatina{ "time": "20:03:20", "player": "Sammy Sosa", "action": "strike (miss)" } { "time": "20:03:47", "player": "Sammy Sosa", "action": "grand slam" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U9NS/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022245 xustar0029 mtime=1791882995.11405146 30 atime=1791882995.113955568 29 ctime=1791882995.11405146 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U9NS/in.yaml0000644000175000017500000000017515263373363021704 0ustar00tinatina--- time: 20:03:20 player: Sammy Sosa action: strike (miss) ... --- time: 20:03:47 player: Sammy Sosa action: grand slam ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U9NS/PaxHeaders/===0000644000000000000000000000013215263373363021246 xustar0030 mtime=1791882995.039170921 30 atime=1791882995.038986749 30 ctime=1791882995.039170921 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U9NS/===0000644000175000017500000000006015263373363020674 0ustar00tinatinaSpec Example 2.8. Play by Play Feed from a Game YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/565N0000644000000000000000000000013215263373363020577 xustar0030 mtime=1791882995.182745704 30 atime=1791882995.038824157 30 ctime=1791882995.182745704 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/565N/0000755000175000017500000000000015263373363020306 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/565N/PaxHeaders/test.event0000644000000000000000000000013015263373363022674 xustar0029 mtime=1791882995.18284013 30 atime=1791882995.182745704 29 ctime=1791882995.18284013 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/565N/test.event0000644000175000017500000000131715263373363022332 0ustar00tinatina+STR +DOC +MAP =VAL :canonical =VAL "R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLCAgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs= =VAL :generic =VAL |R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5\nOTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+\n+f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC\nAgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs=\n =VAL :description =VAL :The binary value above is a tiny arrow encoded as a gif image. -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/565N/PaxHeaders/in.json0000644000000000000000000000013215263373363022155 xustar0030 mtime=1791882995.113955568 30 atime=1791882995.113861631 30 ctime=1791882995.113955568 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/565N/in.json0000644000175000017500000000116215263373363021607 0ustar00tinatina{ "canonical": "R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLCAgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs=", "generic": "R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5\nOTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+\n+f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC\nAgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs=\n", "description": "The binary value above is a tiny arrow encoded as a gif image." } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/565N/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022146 xustar0030 mtime=1791882995.113861631 30 atime=1791882995.113753516 30 ctime=1791882995.113861631 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/565N/in.yaml0000644000175000017500000000117415263373363021603 0ustar00tinatinacanonical: !!binary "\ R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5\ OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+\ +f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC\ AgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs=" generic: !!binary | R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5 OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+ +f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC AgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs= description: The binary value above is a tiny arrow encoded as a gif image. YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/565N/PaxHeaders/===0000644000000000000000000000013215263373363021145 xustar0030 mtime=1791882995.038986749 30 atime=1791882995.038824157 30 ctime=1791882995.038986749 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/565N/===0000644000175000017500000000002115263373363020570 0ustar00tinatinaConstruct Binary YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/W42U0000644000000000000000000000013215263373363020643 xustar0030 mtime=1791882995.182651557 30 atime=1791882995.038661915 30 ctime=1791882995.182651557 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W42U/0000755000175000017500000000000015263373363020352 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W42U/PaxHeaders/test.event0000644000000000000000000000013215263373363022742 xustar0030 mtime=1791882995.182745704 30 atime=1791882995.182651557 30 ctime=1791882995.182745704 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W42U/test.event0000644000175000017500000000016415263373363022375 0ustar00tinatina+STR +DOC +SEQ =VAL : =VAL |block node\n +SEQ =VAL :one =VAL :two -SEQ +MAP =VAL :one =VAL :two -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W42U/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022413 xustar0030 mtime=1791882995.141604489 30 atime=1791882995.141520539 30 ctime=1791882995.141604489 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W42U/out.yaml0000644000175000017500000000005615263373363022046 0ustar00tinatina- - | block node - - one - two - one: two YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W42U/PaxHeaders/in.json0000644000000000000000000000013215263373363022221 xustar0030 mtime=1791882995.113753516 30 atime=1791882995.113667401 30 ctime=1791882995.113753516 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W42U/in.json0000644000175000017500000000012515263373363021651 0ustar00tinatina[ null, "block node\n", [ "one", "two" ], { "one": "two" } ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W42U/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022212 xustar0030 mtime=1791882995.113667401 30 atime=1791882995.113563337 30 ctime=1791882995.113667401 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W42U/in.yaml0000644000175000017500000000013415263373363021642 0ustar00tinatina- # Empty - | block node - - one # Compact - two # sequence - one: two # Compact mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W42U/PaxHeaders/===0000644000000000000000000000013215263373363021211 xustar0030 mtime=1791882995.038824157 30 atime=1791882995.038661915 30 ctime=1791882995.038824157 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W42U/===0000644000175000017500000000005615263373363020644 0ustar00tinatinaSpec Example 8.15. Block Sequence Entry Types YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/652Z0000644000000000000000000000013015263373363020606 xustar0029 mtime=1791882995.18255769 30 atime=1791882995.038500651 29 ctime=1791882995.18255769 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/652Z/0000755000175000017500000000000015263373363020317 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/652Z/PaxHeaders/test.event0000644000000000000000000000013115263373363022706 xustar0030 mtime=1791882995.182651557 29 atime=1791882995.18255769 30 ctime=1791882995.182651557 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/652Z/test.event0000644000175000017500000000011115263373363022332 0ustar00tinatina+STR +DOC +MAP {} =VAL :?foo =VAL :bar =VAL :bar =VAL :42 -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/652Z/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022507 xustar0030 mtime=1791882995.149821012 30 atime=1791882995.149721837 30 ctime=1791882995.149821012 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/652Z/emit.yaml0000644000175000017500000000002215263373363022133 0ustar00tinatina?foo: bar bar: 42 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/652Z/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022360 xustar0030 mtime=1791882995.141520539 30 atime=1791882995.141412704 30 ctime=1791882995.141520539 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/652Z/out.yaml0000644000175000017500000000002615263373363022010 0ustar00tinatina--- ?foo: bar bar: 42 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/652Z/PaxHeaders/in.json0000644000000000000000000000013215263373363022166 xustar0030 mtime=1791882995.113563337 30 atime=1791882995.113478968 30 ctime=1791882995.113563337 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/652Z/in.json0000644000175000017500000000004315263373363021615 0ustar00tinatina{ "?foo" : "bar", "bar" : 42 } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/652Z/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022157 xustar0030 mtime=1791882995.113478968 30 atime=1791882995.113395926 30 ctime=1791882995.113478968 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/652Z/in.yaml0000644000175000017500000000002715263373363021610 0ustar00tinatina{ ?foo: bar, bar: 42 } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/652Z/PaxHeaders/===0000644000000000000000000000013215263373363021156 xustar0030 mtime=1791882995.038661915 30 atime=1791882995.038500651 30 ctime=1791882995.038661915 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/652Z/===0000644000175000017500000000004315263373363020605 0ustar00tinatinaQuestion mark at start of flow key YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/AVM70000644000000000000000000000013215263373363020654 xustar0030 mtime=1791882995.182463264 30 atime=1791882995.038350351 30 ctime=1791882995.182463264 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AVM7/0000755000175000017500000000000015263373363020363 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AVM7/PaxHeaders/test.event0000644000000000000000000000013015263373363022751 xustar0029 mtime=1791882995.18255769 30 atime=1791882995.182463264 29 ctime=1791882995.18255769 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AVM7/test.event0000644000175000017500000000001215263373363022376 0ustar00tinatina+STR -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AVM7/PaxHeaders/in.json0000644000000000000000000000013015263373363022230 xustar0029 mtime=1791882995.11331051 29 atime=1791882995.11331051 30 ctime=1791882995.113395926 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AVM7/in.json0000644000175000017500000000000015263373363021652 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AVM7/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022222 xustar0030 mtime=1791882995.113214338 30 atime=1791882995.113214338 29 ctime=1791882995.11331051 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AVM7/in.yaml0000644000175000017500000000000015263373363021643 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AVM7/PaxHeaders/===0000644000000000000000000000013215263373363021222 xustar0030 mtime=1791882995.038500651 30 atime=1791882995.038350351 30 ctime=1791882995.038500651 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AVM7/===0000644000175000017500000000001515263373363020650 0ustar00tinatinaEmpty Stream YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/9BXH0000644000000000000000000000013215263373363020654 xustar0030 mtime=1791882995.182369816 30 atime=1791882995.038190693 30 ctime=1791882995.182369816 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9BXH/0000755000175000017500000000000015263373363020363 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9BXH/PaxHeaders/test.event0000644000000000000000000000013215263373363022753 xustar0030 mtime=1791882995.182463264 30 atime=1791882995.182369816 30 ctime=1791882995.182463264 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9BXH/test.event0000644000175000017500000000021515263373363022403 0ustar00tinatina+STR +DOC --- +SEQ +MAP {} =VAL "single line =VAL : =VAL :a =VAL :b -MAP +MAP {} =VAL "multi line =VAL : =VAL :a =VAL :b -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9BXH/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022424 xustar0030 mtime=1791882995.141412704 30 atime=1791882995.141326798 30 ctime=1791882995.141412704 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9BXH/out.yaml0000644000175000017500000000006315263373363022055 0ustar00tinatina--- - "single line": a: b - "multi line": a: b YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9BXH/PaxHeaders/in.json0000644000000000000000000000013115263373363022231 xustar0030 mtime=1791882995.113214338 29 atime=1791882995.11311223 30 ctime=1791882995.113214338 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9BXH/in.json0000644000175000017500000000014015263373363021657 0ustar00tinatina[ { "single line": null, "a": "b" }, { "multi line": null, "a": "b" } ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9BXH/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022221 xustar0029 mtime=1791882995.11311223 30 atime=1791882995.113017385 29 ctime=1791882995.11311223 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9BXH/in.yaml0000644000175000017500000000006715263373363021660 0ustar00tinatina--- - { "single line", a: b} - { "multi line", a: b} YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9BXH/PaxHeaders/===0000644000000000000000000000013215263373363021222 xustar0030 mtime=1791882995.038350351 30 atime=1791882995.038190693 30 ctime=1791882995.038350351 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9BXH/===0000644000175000017500000000006615263373363020656 0ustar00tinatinaMultiline doublequoted flow mapping key without value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/82AN0000644000000000000000000000013215263373363020612 xustar0030 mtime=1791882995.182273434 30 atime=1791882995.038030477 30 ctime=1791882995.182273434 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/82AN/0000755000175000017500000000000015263373363020321 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/82AN/PaxHeaders/test.event0000644000000000000000000000013215263373363022711 xustar0030 mtime=1791882995.182369816 30 atime=1791882995.182273434 30 ctime=1791882995.182369816 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/82AN/test.event0000644000175000017500000000005115263373363022337 0ustar00tinatina+STR +DOC =VAL :---word1 word2 -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/82AN/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022362 xustar0030 mtime=1791882995.141326798 30 atime=1791882995.141226366 30 ctime=1791882995.141326798 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/82AN/out.yaml0000644000175000017500000000002115263373363022005 0ustar00tinatina'---word1 word2' YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/82AN/PaxHeaders/in.json0000644000000000000000000000013215263373363022170 xustar0030 mtime=1791882995.113017385 30 atime=1791882995.112925194 30 ctime=1791882995.113017385 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/82AN/in.json0000644000175000017500000000002115263373363021613 0ustar00tinatina"---word1 word2" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/82AN/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022161 xustar0030 mtime=1791882995.112925194 30 atime=1791882995.112831745 30 ctime=1791882995.112925194 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/82AN/in.yaml0000644000175000017500000000001715263373363021611 0ustar00tinatina---word1 word2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/82AN/PaxHeaders/===0000644000000000000000000000013215263373363021160 xustar0030 mtime=1791882995.038190693 30 atime=1791882995.038030477 30 ctime=1791882995.038190693 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/82AN/===0000644000175000017500000000004715263373363020613 0ustar00tinatinaThree dashes and content without space YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/9SHH0000644000000000000000000000013215263373363020655 xustar0030 mtime=1791882995.182175097 30 atime=1791882995.037871517 30 ctime=1791882995.182175097 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9SHH/0000755000175000017500000000000015263373363020364 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9SHH/PaxHeaders/test.event0000644000000000000000000000013215263373363022754 xustar0030 mtime=1791882995.182273434 30 atime=1791882995.182175097 30 ctime=1791882995.182273434 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9SHH/test.event0000644000175000017500000000011615263373363022404 0ustar00tinatina+STR +DOC +MAP =VAL :single =VAL 'text =VAL :double =VAL "text -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9SHH/PaxHeaders/in.json0000644000000000000000000000013215263373363022233 xustar0030 mtime=1791882995.112831745 30 atime=1791882995.112737808 30 ctime=1791882995.112831745 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9SHH/in.json0000644000175000017500000000005315263373363021663 0ustar00tinatina{ "single": "text", "double": "text" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9SHH/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022224 xustar0030 mtime=1791882995.112737808 30 atime=1791882995.112642405 30 ctime=1791882995.112737808 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9SHH/in.yaml0000644000175000017500000000003615263373363021655 0ustar00tinatinasingle: 'text' double: "text" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9SHH/PaxHeaders/===0000644000000000000000000000013215263373363021223 xustar0030 mtime=1791882995.038030477 30 atime=1791882995.037871517 30 ctime=1791882995.038030477 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9SHH/===0000644000175000017500000000005315263373363020653 0ustar00tinatinaSpec Example 5.8. Quoted Scalar Indicators YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/SBG90000644000000000000000000000013115263373363020645 xustar0030 mtime=1791882995.182061116 29 atime=1791882995.03771116 30 ctime=1791882995.182061116 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SBG9/0000755000175000017500000000000015263373363020355 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SBG9/PaxHeaders/test.event0000644000000000000000000000013215263373363022745 xustar0030 mtime=1791882995.182175097 30 atime=1791882995.182061116 30 ctime=1791882995.182175097 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SBG9/test.event0000644000175000017500000000015315263373363022376 0ustar00tinatina+STR +DOC +MAP {} =VAL :a +SEQ [] =VAL :b =VAL :c -SEQ +SEQ [] =VAL :d =VAL :e -SEQ =VAL :f -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SBG9/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022416 xustar0030 mtime=1791882995.141226366 30 atime=1791882995.141137737 30 ctime=1791882995.141226366 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SBG9/out.yaml0000644000175000017500000000003315263373363022044 0ustar00tinatinaa: - b - c ? - d - e : f YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SBG9/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022214 xustar0030 mtime=1791882995.112642405 29 atime=1791882995.11254749 30 ctime=1791882995.112642405 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SBG9/in.yaml0000644000175000017500000000002715263373363021646 0ustar00tinatina{a: [b, c], [d, e]: f} YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SBG9/PaxHeaders/===0000644000000000000000000000013115263373363021213 xustar0030 mtime=1791882995.037871517 29 atime=1791882995.03771116 30 ctime=1791882995.037871517 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SBG9/===0000644000175000017500000000003615263373363020645 0ustar00tinatinaFlow Sequence in Flow Mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/UDR70000644000000000000000000000013215263373363020663 xustar0030 mtime=1791882995.181967667 30 atime=1791882995.037549128 30 ctime=1791882995.181967667 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UDR7/0000755000175000017500000000000015263373363020372 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UDR7/PaxHeaders/test.event0000644000000000000000000000013215263373363022762 xustar0030 mtime=1791882995.182061116 30 atime=1791882995.181967667 30 ctime=1791882995.182061116 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UDR7/test.event0000644000175000017500000000022415263373363022412 0ustar00tinatina+STR +DOC +MAP =VAL :sequence +SEQ [] =VAL :one =VAL :two -SEQ =VAL :mapping +MAP {} =VAL :sky =VAL :blue =VAL :sea =VAL :green -MAP -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UDR7/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022433 xustar0030 mtime=1791882995.141137737 30 atime=1791882995.141030111 30 ctime=1791882995.141137737 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UDR7/out.yaml0000644000175000017500000000007015263373363022062 0ustar00tinatinasequence: - one - two mapping: sky: blue sea: green YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UDR7/PaxHeaders/in.json0000644000000000000000000000013015263373363022237 xustar0029 mtime=1791882995.11254749 30 atime=1791882995.112448454 29 ctime=1791882995.11254749 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UDR7/in.json0000644000175000017500000000014715263373363021675 0ustar00tinatina{ "sequence": [ "one", "two" ], "mapping": { "sky": "blue", "sea": "green" } } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UDR7/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022232 xustar0030 mtime=1791882995.112448454 30 atime=1791882995.112353749 30 ctime=1791882995.112448454 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UDR7/in.yaml0000644000175000017500000000007315263373363021664 0ustar00tinatinasequence: [ one, two, ] mapping: { sky: blue, sea: green } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UDR7/PaxHeaders/===0000644000000000000000000000013015263373363021227 xustar0029 mtime=1791882995.03771116 30 atime=1791882995.037549128 29 ctime=1791882995.03771116 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UDR7/===0000644000175000017500000000005515263373363020663 0ustar00tinatinaSpec Example 5.4. Flow Collection Indicators YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/PBJ20000644000000000000000000000012615263373363020642 xustar0028 mtime=1791882995.1818738 30 atime=1791882995.037389679 28 ctime=1791882995.1818738 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PBJ2/0000755000175000017500000000000015263373363020346 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PBJ2/PaxHeaders/test.event0000644000000000000000000000013015263373363022734 xustar0030 mtime=1791882995.181967667 28 atime=1791882995.1818738 30 ctime=1791882995.181967667 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PBJ2/test.event0000644000175000017500000000031515263373363022367 0ustar00tinatina+STR +DOC +MAP =VAL :american +SEQ =VAL :Boston Red Sox =VAL :Detroit Tigers =VAL :New York Yankees -SEQ =VAL :national +SEQ =VAL :New York Mets =VAL :Chicago Cubs =VAL :Atlanta Braves -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PBJ2/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022407 xustar0030 mtime=1791882995.141030111 30 atime=1791882995.140935126 30 ctime=1791882995.141030111 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PBJ2/out.yaml0000644000175000017500000000017115263373363022040 0ustar00tinatinaamerican: - Boston Red Sox - Detroit Tigers - New York Yankees national: - New York Mets - Chicago Cubs - Atlanta Braves YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PBJ2/PaxHeaders/in.json0000644000000000000000000000013115263373363022214 xustar0030 mtime=1791882995.112353749 29 atime=1791882995.11226079 30 ctime=1791882995.112353749 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PBJ2/in.json0000644000175000017500000000025615263373363021652 0ustar00tinatina{ "american": [ "Boston Red Sox", "Detroit Tigers", "New York Yankees" ], "national": [ "New York Mets", "Chicago Cubs", "Atlanta Braves" ] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PBJ2/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022204 xustar0029 mtime=1791882995.11226079 30 atime=1791882995.112164618 29 ctime=1791882995.11226079 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PBJ2/in.yaml0000644000175000017500000000020515263373363021635 0ustar00tinatinaamerican: - Boston Red Sox - Detroit Tigers - New York Yankees national: - New York Mets - Chicago Cubs - Atlanta Braves YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PBJ2/PaxHeaders/===0000644000000000000000000000013215263373363021205 xustar0030 mtime=1791882995.037549128 30 atime=1791882995.037389679 30 ctime=1791882995.037549128 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PBJ2/===0000644000175000017500000000005715263373363020641 0ustar00tinatinaSpec Example 2.3. Mapping Scalars to Sequences YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/TS540000644000000000000000000000013015263373363020637 xustar0029 mtime=1791882995.18176806 30 atime=1791882995.037217031 29 ctime=1791882995.18176806 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TS54/0000755000175000017500000000000015263373363020350 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TS54/PaxHeaders/test.event0000644000000000000000000000012515263373363022742 xustar0028 mtime=1791882995.1818738 29 atime=1791882995.18176806 28 ctime=1791882995.1818738 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TS54/test.event0000644000175000017500000000005415263373363022371 0ustar00tinatina+STR +DOC =VAL >ab cd\nef\n\ngh\n -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TS54/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022411 xustar0030 mtime=1791882995.140935126 30 atime=1791882995.140842097 30 ctime=1791882995.140935126 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TS54/out.yaml0000644000175000017500000000002715263373363022042 0ustar00tinatina> ab cd ef gh YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TS54/PaxHeaders/in.json0000644000000000000000000000013215263373363022217 xustar0030 mtime=1791882995.112164618 30 atime=1791882995.112062928 30 ctime=1791882995.112164618 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TS54/in.json0000644000175000017500000000002415263373363021645 0ustar00tinatina"ab cd\nef\n\ngh\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TS54/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022210 xustar0030 mtime=1791882995.112062928 30 atime=1791882995.111968991 30 ctime=1791882995.112062928 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TS54/in.yaml0000644000175000017500000000002615263373363021640 0ustar00tinatina> ab cd ef gh YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TS54/PaxHeaders/===0000644000000000000000000000013215263373363021207 xustar0030 mtime=1791882995.037389679 30 atime=1791882995.037217031 30 ctime=1791882995.037389679 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/TS54/===0000644000175000017500000000002415263373363020635 0ustar00tinatinaFolded Block Scalar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/CXX20000644000000000000000000000013215263373363020666 xustar0030 mtime=1791882995.181671678 30 atime=1791882995.037055487 30 ctime=1791882995.181671678 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CXX2/0000755000175000017500000000000015263373363020375 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CXX2/PaxHeaders/test.event0000644000000000000000000000013015263373363022763 xustar0029 mtime=1791882995.18176806 30 atime=1791882995.181671678 29 ctime=1791882995.18176806 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CXX2/test.event0000644000175000017500000000001615263373363022414 0ustar00tinatina+STR +DOC --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CXX2/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022235 xustar0030 mtime=1791882995.111968991 30 atime=1791882995.111874076 30 ctime=1791882995.111968991 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CXX2/in.yaml0000644000175000017500000000002115263373363021660 0ustar00tinatina--- &anchor a: b YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CXX2/PaxHeaders/error0000644000000000000000000000013215263373363022017 xustar0030 mtime=1791882995.056091742 30 atime=1791882995.056091742 30 ctime=1791882995.056181349 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CXX2/error0000644000175000017500000000000015263373363021437 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CXX2/PaxHeaders/===0000644000000000000000000000013215263373363021234 xustar0030 mtime=1791882995.037217031 30 atime=1791882995.037055487 30 ctime=1791882995.037217031 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CXX2/===0000644000175000017500000000005315263373363020664 0ustar00tinatinaMapping with anchor on document start line YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/5TRB0000644000000000000000000000013215263373363020656 xustar0030 mtime=1791882995.181587519 30 atime=1791882995.036897645 30 ctime=1791882995.181587519 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5TRB/0000755000175000017500000000000015263373363020365 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5TRB/PaxHeaders/test.event0000644000000000000000000000013215263373363022755 xustar0030 mtime=1791882995.181671678 30 atime=1791882995.181587519 30 ctime=1791882995.181671678 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5TRB/test.event0000644000175000017500000000001615263373363022404 0ustar00tinatina+STR +DOC --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5TRB/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022225 xustar0030 mtime=1791882995.111874076 30 atime=1791882995.111777695 30 ctime=1791882995.111874076 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5TRB/in.yaml0000644000175000017500000000001415263373363021652 0ustar00tinatina--- " --- " YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5TRB/PaxHeaders/error0000644000000000000000000000013215263373363022007 xustar0030 mtime=1791882995.056007444 30 atime=1791882995.056007444 30 ctime=1791882995.056091742 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5TRB/error0000644000175000017500000000000015263373363021427 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5TRB/PaxHeaders/===0000644000000000000000000000013215263373363021224 xustar0030 mtime=1791882995.037055487 30 atime=1791882995.036897645 30 ctime=1791882995.037055487 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5TRB/===0000644000175000017500000000006415263373363020656 0ustar00tinatinaInvalid document-start marker in doublequoted tring YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/9MAG0000644000000000000000000000013215263373363020637 xustar0030 mtime=1791882995.181489811 30 atime=1791882995.036737847 30 ctime=1791882995.181489811 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MAG/0000755000175000017500000000000015263373363020346 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MAG/PaxHeaders/test.event0000644000000000000000000000013215263373363022736 xustar0030 mtime=1791882995.181587519 30 atime=1791882995.181489811 30 ctime=1791882995.181587519 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MAG/test.event0000644000175000017500000000002615263373363022366 0ustar00tinatina+STR +DOC --- +SEQ [] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MAG/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022206 xustar0030 mtime=1791882995.111777695 30 atime=1791882995.111684247 30 ctime=1791882995.111777695 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MAG/in.yaml0000644000175000017500000000002215263373363021632 0ustar00tinatina--- [ , a, b, c ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MAG/PaxHeaders/error0000644000000000000000000000013215263373363021770 xustar0030 mtime=1791882995.055922307 30 atime=1791882995.055922307 30 ctime=1791882995.056007444 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MAG/error0000644000175000017500000000000015263373363021410 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MAG/PaxHeaders/===0000644000000000000000000000013215263373363021205 xustar0030 mtime=1791882995.036897645 30 atime=1791882995.036737847 30 ctime=1791882995.036897645 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MAG/===0000644000175000017500000000006215263373363020635 0ustar00tinatinaFlow sequence with invalid comma at the beginning YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/7BUB0000644000000000000000000000013215263373363020641 xustar0030 mtime=1791882995.181385956 30 atime=1791882995.036576513 30 ctime=1791882995.181385956 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7BUB/0000755000175000017500000000000015263373363020350 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7BUB/PaxHeaders/test.event0000644000000000000000000000013215263373363022740 xustar0030 mtime=1791882995.181489811 30 atime=1791882995.181385956 30 ctime=1791882995.181489811 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7BUB/test.event0000644000175000017500000000021415263373363022367 0ustar00tinatina+STR +DOC --- +MAP =VAL :hr +SEQ =VAL :Mark McGwire =VAL &SS :Sammy Sosa -SEQ =VAL :rbi +SEQ =ALI *SS =VAL :Ken Griffey -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7BUB/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022411 xustar0030 mtime=1791882995.140842097 30 atime=1791882995.140748649 30 ctime=1791882995.140842097 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7BUB/out.yaml0000644000175000017500000000010115263373363022033 0ustar00tinatina--- hr: - Mark McGwire - &SS Sammy Sosa rbi: - *SS - Ken Griffey YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7BUB/PaxHeaders/in.json0000644000000000000000000000013115263373363022216 xustar0030 mtime=1791882995.111684247 29 atime=1791882995.11159024 30 ctime=1791882995.111684247 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7BUB/in.json0000644000175000017500000000015315263373363021650 0ustar00tinatina{ "hr": [ "Mark McGwire", "Sammy Sosa" ], "rbi": [ "Sammy Sosa", "Ken Griffey" ] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7BUB/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022206 xustar0029 mtime=1791882995.11159024 30 atime=1791882995.111494836 29 ctime=1791882995.11159024 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7BUB/in.yaml0000644000175000017500000000017715263373363021647 0ustar00tinatina--- hr: - Mark McGwire # Following node labeled SS - &SS Sammy Sosa rbi: - *SS # Subsequent occurrence - Ken Griffey YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7BUB/PaxHeaders/===0000644000000000000000000000013215263373363021207 xustar0030 mtime=1791882995.036737847 30 atime=1791882995.036576513 30 ctime=1791882995.036737847 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7BUB/===0000644000175000017500000000011415263373363020635 0ustar00tinatinaSpec Example 2.10. Node for “Sammy Sosa” appears twice in this document YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/JTV50000644000000000000000000000013215263373363020672 xustar0030 mtime=1791882995.181267924 30 atime=1791882995.036416994 30 ctime=1791882995.181267924 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JTV5/0000755000175000017500000000000015263373363020401 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JTV5/PaxHeaders/test.event0000644000000000000000000000013215263373363022771 xustar0030 mtime=1791882995.181385956 30 atime=1791882995.181267924 30 ctime=1791882995.181385956 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JTV5/test.event0000644000175000017500000000011215263373363022415 0ustar00tinatina+STR +DOC +MAP =VAL :a true =VAL :null d =VAL :e 42 =VAL : -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JTV5/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022442 xustar0030 mtime=1791882995.140748649 30 atime=1791882995.140654782 30 ctime=1791882995.140748649 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JTV5/out.yaml0000644000175000017500000000002515263373363022071 0ustar00tinatinaa true: null d e 42: YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JTV5/PaxHeaders/in.json0000644000000000000000000000013215263373363022250 xustar0030 mtime=1791882995.111494836 30 atime=1791882995.111399642 30 ctime=1791882995.111494836 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JTV5/in.json0000644000175000017500000000005115263373363021676 0ustar00tinatina{ "a true": "null d", "e 42": null } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JTV5/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022241 xustar0030 mtime=1791882995.111399642 30 atime=1791882995.111305426 30 ctime=1791882995.111399642 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JTV5/in.yaml0000644000175000017500000000003715263373363021673 0ustar00tinatina? a true : null d ? e 42 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JTV5/PaxHeaders/===0000644000000000000000000000013215263373363021240 xustar0030 mtime=1791882995.036576513 30 atime=1791882995.036416994 30 ctime=1791882995.036576513 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JTV5/===0000644000175000017500000000004515263373363020671 0ustar00tinatinaBlock Mapping with Multiline Scalars YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/PRH30000644000000000000000000000013215263373363020656 xustar0030 mtime=1791882995.181166444 30 atime=1791882995.036257406 30 ctime=1791882995.181166444 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PRH3/0000755000175000017500000000000015263373363020365 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PRH3/PaxHeaders/test.event0000644000000000000000000000013215263373363022755 xustar0030 mtime=1791882995.181267924 30 atime=1791882995.181166444 30 ctime=1791882995.181267924 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PRH3/test.event0000644000175000017500000000010715263373363022405 0ustar00tinatina+STR +DOC =VAL ' 1st non-empty\n2nd non-empty 3rd non-empty -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PRH3/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022555 xustar0030 mtime=1791882995.149721837 30 atime=1791882995.149632649 30 ctime=1791882995.149721837 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PRH3/emit.yaml0000644000175000017500000000006115263373363022204 0ustar00tinatina' 1st non-empty 2nd non-empty 3rd non-empty ' YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PRH3/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022426 xustar0030 mtime=1791882995.140654782 30 atime=1791882995.140561753 30 ctime=1791882995.140654782 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PRH3/out.yaml0000644000175000017500000000006115263373363022055 0ustar00tinatina' 1st non-empty 2nd non-empty 3rd non-empty ' YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PRH3/PaxHeaders/in.json0000644000000000000000000000013215263373363022234 xustar0030 mtime=1791882995.111305426 30 atime=1791882995.111211419 30 ctime=1791882995.111305426 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PRH3/in.json0000644000175000017500000000005715263373363021670 0ustar00tinatina" 1st non-empty\n2nd non-empty 3rd non-empty " YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PRH3/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022225 xustar0030 mtime=1791882995.111211419 30 atime=1791882995.111112942 30 ctime=1791882995.111211419 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PRH3/in.yaml0000644000175000017500000000006215263373363021655 0ustar00tinatina' 1st non-empty 2nd non-empty 3rd non-empty ' YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PRH3/PaxHeaders/===0000644000000000000000000000013215263373363021224 xustar0030 mtime=1791882995.036416994 30 atime=1791882995.036257406 30 ctime=1791882995.036416994 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PRH3/===0000644000175000017500000000004615263373363020656 0ustar00tinatinaSpec Example 7.9. Single Quoted Lines YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/LHL40000644000000000000000000000013215263373363020645 xustar0030 mtime=1791882995.181065313 30 atime=1791882995.036092999 30 ctime=1791882995.181065313 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LHL4/0000755000175000017500000000000015263373363020354 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LHL4/PaxHeaders/test.event0000644000000000000000000000013215263373363022744 xustar0030 mtime=1791882995.181166444 30 atime=1791882995.181065313 30 ctime=1791882995.181166444 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LHL4/test.event0000644000175000017500000000001615263373363022373 0ustar00tinatina+STR +DOC --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LHL4/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022214 xustar0030 mtime=1791882995.111112942 30 atime=1791882995.111018446 30 ctime=1791882995.111112942 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LHL4/in.yaml0000644000175000017500000000003115263373363021640 0ustar00tinatina--- !invalid{}tag scalar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LHL4/PaxHeaders/error0000644000000000000000000000013215263373363021776 xustar0030 mtime=1791882995.055836471 30 atime=1791882995.055836471 30 ctime=1791882995.055922307 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LHL4/error0000644000175000017500000000000015263373363021416 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LHL4/PaxHeaders/===0000644000000000000000000000013215263373363021213 xustar0030 mtime=1791882995.036257406 30 atime=1791882995.036092999 30 ctime=1791882995.036257406 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LHL4/===0000644000175000017500000000001415263373363020640 0ustar00tinatinaInvalid tag YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/M5C30000644000000000000000000000013215263373363020611 xustar0030 mtime=1791882995.180972214 30 atime=1791882995.035934598 30 ctime=1791882995.180972214 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M5C3/0000755000175000017500000000000015263373363020320 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M5C3/PaxHeaders/test.event0000644000000000000000000000013215263373363022710 xustar0030 mtime=1791882995.181065313 30 atime=1791882995.180972214 30 ctime=1791882995.181065313 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M5C3/test.event0000644000175000017500000000013415263373363022340 0ustar00tinatina+STR +DOC +MAP =VAL :literal =VAL |value\n =VAL :folded =VAL >value\n -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M5C3/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022361 xustar0030 mtime=1791882995.140561753 30 atime=1791882995.140467816 30 ctime=1791882995.140561753 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M5C3/out.yaml0000644000175000017500000000005215263373363022010 0ustar00tinatinaliteral: | value folded: !foo > value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M5C3/PaxHeaders/in.json0000644000000000000000000000013215263373363022167 xustar0030 mtime=1791882995.111018446 30 atime=1791882995.110923112 30 ctime=1791882995.111018446 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M5C3/in.json0000644000175000017500000000006215263373363021617 0ustar00tinatina{ "literal": "value\n", "folded": "value\n" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M5C3/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022160 xustar0030 mtime=1791882995.110923112 30 atime=1791882995.110828547 30 ctime=1791882995.110923112 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M5C3/in.yaml0000644000175000017500000000006015263373363021606 0ustar00tinatinaliteral: |2 value folded: !foo >1 value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M5C3/PaxHeaders/===0000644000000000000000000000013215263373363021157 xustar0030 mtime=1791882995.036092999 30 atime=1791882995.035934598 30 ctime=1791882995.036092999 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M5C3/===0000644000175000017500000000004615263373363020611 0ustar00tinatinaSpec Example 8.21. Block Scalar Nodes YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/S4JQ0000644000000000000000000000013215263373363020663 xustar0030 mtime=1791882995.180877788 30 atime=1791882995.035773333 30 ctime=1791882995.180877788 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4JQ/0000755000175000017500000000000015263373363020372 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4JQ/PaxHeaders/test.event0000644000000000000000000000013215263373363022762 xustar0030 mtime=1791882995.180972214 30 atime=1791882995.180877788 30 ctime=1791882995.180972214 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4JQ/test.event0000644000175000017500000000007515263373363022416 0ustar00tinatina+STR +DOC +SEQ =VAL "12 =VAL :12 =VAL :12 -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4JQ/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022433 xustar0030 mtime=1791882995.140467816 30 atime=1791882995.140384774 30 ctime=1791882995.140467816 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4JQ/out.yaml0000644000175000017500000000002315263373363022060 0ustar00tinatina- "12" - 12 - ! 12 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4JQ/PaxHeaders/in.json0000644000000000000000000000013115263373363022240 xustar0030 mtime=1791882995.110828547 29 atime=1791882995.11073887 30 ctime=1791882995.110828547 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4JQ/in.json0000644000175000017500000000003115263373363021665 0ustar00tinatina[ "12", 12, "12" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4JQ/PaxHeaders/in.yaml0000644000000000000000000000012715263373363022236 xustar0029 mtime=1791882995.11073887 29 atime=1791882995.11065485 29 ctime=1791882995.11073887 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4JQ/in.yaml0000644000175000017500000000006715263373363021667 0ustar00tinatina# Assuming conventional resolution: - "12" - 12 - ! 12 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4JQ/PaxHeaders/===0000644000000000000000000000013215263373363021231 xustar0030 mtime=1791882995.035934598 30 atime=1791882995.035773333 30 ctime=1791882995.035934598 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4JQ/===0000644000175000017500000000004515263373363020662 0ustar00tinatinaSpec Example 6.28. Non-Specific Tags YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/HWV90000644000000000000000000000013015263373363020675 xustar0029 mtime=1791882995.18078441 30 atime=1791882995.035613815 29 ctime=1791882995.18078441 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HWV9/0000755000175000017500000000000015263373363020406 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HWV9/PaxHeaders/test.event0000644000000000000000000000013115263373363022775 xustar0030 mtime=1791882995.180877788 29 atime=1791882995.18078441 30 ctime=1791882995.180877788 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HWV9/test.event0000644000175000017500000000001215263373363022421 0ustar00tinatina+STR -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HWV9/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022447 xustar0030 mtime=1791882995.140287415 30 atime=1791882995.140287415 30 ctime=1791882995.140384774 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HWV9/out.yaml0000644000175000017500000000000015263373363022067 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HWV9/PaxHeaders/in.json0000644000000000000000000000013115263373363022254 xustar0030 mtime=1791882995.110557491 30 atime=1791882995.110557491 29 ctime=1791882995.11065485 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HWV9/in.json0000644000175000017500000000000015263373363021675 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HWV9/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022246 xustar0030 mtime=1791882995.110557491 30 atime=1791882995.110459713 30 ctime=1791882995.110557491 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HWV9/in.yaml0000644000175000017500000000000415263373363021672 0ustar00tinatina... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HWV9/PaxHeaders/===0000644000000000000000000000013215263373363021245 xustar0030 mtime=1791882995.035773333 30 atime=1791882995.035613815 30 ctime=1791882995.035773333 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HWV9/===0000644000175000017500000000002415263373363020673 0ustar00tinatinaDocument-end marker YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/7BMT0000644000000000000000000000013215263373363020653 xustar0030 mtime=1791882995.180690473 30 atime=1791882995.035453249 30 ctime=1791882995.180690473 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7BMT/0000755000175000017500000000000015263373363020362 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7BMT/PaxHeaders/test.event0000644000000000000000000000013015263373363022750 xustar0029 mtime=1791882995.18078441 30 atime=1791882995.180690473 29 ctime=1791882995.18078441 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7BMT/test.event0000644000175000017500000000053015263373363022402 0ustar00tinatina+STR +DOC --- +MAP =VAL :top1 +MAP &node1 =VAL &k1 :key1 =VAL :one -MAP =VAL :top2 +MAP &node2 =VAL :key2 =VAL :two -MAP =VAL :top3 +MAP =VAL &k3 :key3 =VAL :three -MAP =VAL :top4 +MAP &node4 =VAL &k4 :key4 =VAL :four -MAP =VAL :top5 +MAP &node5 =VAL :key5 =VAL :five -MAP =VAL :top6 =VAL &val6 :six =VAL :top7 =VAL &val7 :seven -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7BMT/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022423 xustar0030 mtime=1791882995.140287415 30 atime=1791882995.140188239 30 ctime=1791882995.140287415 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7BMT/out.yaml0000644000175000017500000000025415263373363022056 0ustar00tinatina--- top1: &node1 &k1 key1: one top2: &node2 key2: two top3: &k3 key3: three top4: &node4 &k4 key4: four top5: &node5 key5: five top6: &val6 six top7: &val7 seven YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7BMT/PaxHeaders/in.json0000644000000000000000000000013215263373363022231 xustar0030 mtime=1791882995.110459713 30 atime=1791882995.110358652 30 ctime=1791882995.110459713 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7BMT/in.json0000644000175000017500000000033215263373363021661 0ustar00tinatina{ "top1": { "key1": "one" }, "top2": { "key2": "two" }, "top3": { "key3": "three" }, "top4": { "key4": "four" }, "top5": { "key5": "five" }, "top6": "six", "top7": "seven" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7BMT/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022222 xustar0030 mtime=1791882995.110358652 30 atime=1791882995.110256473 30 ctime=1791882995.110358652 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7BMT/in.yaml0000644000175000017500000000027215263373363021655 0ustar00tinatina--- top1: &node1 &k1 key1: one top2: &node2 # comment key2: two top3: &k3 key3: three top4: &node4 &k4 key4: four top5: &node5 key5: five top6: &val6 six top7: &val7 seven YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7BMT/PaxHeaders/===0000644000000000000000000000013215263373363021221 xustar0030 mtime=1791882995.035613815 30 atime=1791882995.035453249 30 ctime=1791882995.035613815 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7BMT/===0000644000175000017500000000004315263373363020650 0ustar00tinatinaNode and Mapping Key Anchors [1.3] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/L3830000644000000000000000000000013215263373363020573 xustar0030 mtime=1791882995.180597025 30 atime=1791882995.035292893 30 ctime=1791882995.180597025 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L383/0000755000175000017500000000000015263373363020302 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L383/PaxHeaders/test.event0000644000000000000000000000013215263373363022672 xustar0030 mtime=1791882995.180690473 30 atime=1791882995.180597025 30 ctime=1791882995.180690473 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L383/test.event0000644000175000017500000000007215263373363022323 0ustar00tinatina+STR +DOC --- =VAL :foo -DOC +DOC --- =VAL :foo -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L383/PaxHeaders/out.yaml0000644000000000000000000000013115263373363022342 xustar0030 mtime=1791882995.140188239 29 atime=1791882995.14007754 30 ctime=1791882995.140188239 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L383/out.yaml0000644000175000017500000000002015263373363021765 0ustar00tinatina--- foo --- foo YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L383/PaxHeaders/in.json0000644000000000000000000000013215263373363022151 xustar0030 mtime=1791882995.110256473 30 atime=1791882995.110164003 30 ctime=1791882995.110256473 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L383/in.json0000644000175000017500000000001415263373363021576 0ustar00tinatina"foo" "foo" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L383/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022142 xustar0030 mtime=1791882995.110164003 30 atime=1791882995.110065387 30 ctime=1791882995.110164003 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L383/in.yaml0000644000175000017500000000004615263373363021574 0ustar00tinatina--- foo # comment --- foo # comment YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L383/PaxHeaders/===0000644000000000000000000000013215263373363021141 xustar0030 mtime=1791882995.035453249 30 atime=1791882995.035292893 30 ctime=1791882995.035453249 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L383/===0000644000175000017500000000004715263373363020574 0ustar00tinatinaTwo scalar docs with trailing comments YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/4GC60000644000000000000000000000013215263373363020605 xustar0030 mtime=1791882995.180500992 30 atime=1791882995.035115145 30 ctime=1791882995.180500992 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4GC6/0000755000175000017500000000000015263373363020314 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4GC6/PaxHeaders/test.event0000644000000000000000000000013215263373363022704 xustar0030 mtime=1791882995.180597025 30 atime=1791882995.180500992 30 ctime=1791882995.180597025 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4GC6/test.event0000644000175000017500000000005515263373363022336 0ustar00tinatina+STR +DOC =VAL 'here's to "quotes" -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4GC6/PaxHeaders/in.json0000644000000000000000000000013115263373363022162 xustar0030 mtime=1791882995.110065387 29 atime=1791882995.10997138 30 ctime=1791882995.110065387 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4GC6/in.json0000644000175000017500000000002715263373363021614 0ustar00tinatina"here's to \"quotes\"" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4GC6/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022152 xustar0029 mtime=1791882995.10997138 30 atime=1791882995.109877024 29 ctime=1791882995.10997138 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4GC6/in.yaml0000644000175000017500000000002615263373363021604 0ustar00tinatina'here''s to "quotes"' YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4GC6/PaxHeaders/===0000644000000000000000000000013215263373363021153 xustar0030 mtime=1791882995.035292893 30 atime=1791882995.035115145 30 ctime=1791882995.035292893 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4GC6/===0000644000175000017500000000005315263373363020603 0ustar00tinatinaSpec Example 7.7. Single Quoted Characters YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/F2C70000644000000000000000000000013215263373363020603 xustar0030 mtime=1791882995.180407125 30 atime=1791882995.034954579 30 ctime=1791882995.180407125 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F2C7/0000755000175000017500000000000015263373363020312 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F2C7/PaxHeaders/test.event0000644000000000000000000000013215263373363022702 xustar0030 mtime=1791882995.180500992 30 atime=1791882995.180407125 30 ctime=1791882995.180500992 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F2C7/test.event0000644000175000017500000000021715263373363022334 0ustar00tinatina+STR +DOC +SEQ =VAL &a :a =VAL :2 =VAL &c :4 =VAL &d :d -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F2C7/PaxHeaders/out.yaml0000644000000000000000000000013015263373363022351 xustar0029 mtime=1791882995.14007754 30 atime=1791882995.139983603 29 ctime=1791882995.14007754 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F2C7/out.yaml0000644000175000017500000000005315263373363022003 0ustar00tinatina- &a !!str a - !!int 2 - &c !!int 4 - &d d YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F2C7/PaxHeaders/in.json0000644000000000000000000000013215263373363022161 xustar0030 mtime=1791882995.109877024 30 atime=1791882995.109784274 30 ctime=1791882995.109877024 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F2C7/in.json0000644000175000017500000000003315263373363021607 0ustar00tinatina[ "a", 2, 4, "d" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F2C7/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022152 xustar0030 mtime=1791882995.109784274 30 atime=1791882995.109690407 30 ctime=1791882995.109784274 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F2C7/in.yaml0000644000175000017500000000005715263373363021606 0ustar00tinatina - &a !!str a - !!int 2 - !!int &c 4 - &d d YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F2C7/PaxHeaders/===0000644000000000000000000000013215263373363021151 xustar0030 mtime=1791882995.035115145 30 atime=1791882995.034954579 30 ctime=1791882995.035115145 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F2C7/===0000644000175000017500000000002115263373363020574 0ustar00tinatinaAnchors and Tags YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/3GZX0000644000000000000000000000013215263373363020675 xustar0030 mtime=1791882995.180304667 30 atime=1791882995.034792826 30 ctime=1791882995.180304667 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3GZX/0000755000175000017500000000000015263373363020404 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3GZX/PaxHeaders/test.event0000644000000000000000000000013215263373363022774 xustar0030 mtime=1791882995.180407125 30 atime=1791882995.180304667 30 ctime=1791882995.180407125 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3GZX/test.event0000644000175000017500000000026415263373363022430 0ustar00tinatina+STR +DOC +MAP =VAL :First occurrence =VAL &anchor :Foo =VAL :Second occurrence =ALI *anchor =VAL :Override anchor =VAL &anchor :Bar =VAL :Reuse anchor =ALI *anchor -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3GZX/PaxHeaders/in.json0000644000000000000000000000013115263373363022252 xustar0030 mtime=1791882995.109690407 29 atime=1791882995.10959647 30 ctime=1791882995.109690407 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3GZX/in.json0000644000175000017500000000016315263373363021705 0ustar00tinatina{ "First occurrence": "Foo", "Second occurrence": "Foo", "Override anchor": "Bar", "Reuse anchor": "Bar" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3GZX/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022242 xustar0029 mtime=1791882995.10959647 30 atime=1791882995.109501974 29 ctime=1791882995.10959647 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3GZX/in.yaml0000644000175000017500000000015415263373363021676 0ustar00tinatinaFirst occurrence: &anchor Foo Second occurrence: *anchor Override anchor: &anchor Bar Reuse anchor: *anchor YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3GZX/PaxHeaders/===0000644000000000000000000000013215263373363021243 xustar0030 mtime=1791882995.034954579 30 atime=1791882995.034792826 30 ctime=1791882995.034954579 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3GZX/===0000644000175000017500000000003615263373363020674 0ustar00tinatinaSpec Example 7.1. Alias Nodes YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/Z9M40000644000000000000000000000012715263373363020651 xustar0029 mtime=1791882995.18021094 29 atime=1791882995.03463212 29 ctime=1791882995.18021094 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Z9M4/0000755000175000017500000000000015263373363020354 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Z9M4/PaxHeaders/test.event0000644000000000000000000000013115263373363022743 xustar0030 mtime=1791882995.180304667 29 atime=1791882995.18021094 30 ctime=1791882995.180304667 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Z9M4/test.event0000644000175000017500000000011315263373363022371 0ustar00tinatina+STR +DOC --- +SEQ =VAL "bar -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Z9M4/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022415 xustar0030 mtime=1791882995.139983603 30 atime=1791882995.139889946 30 ctime=1791882995.139983603 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Z9M4/out.yaml0000644000175000017500000000005415263373363022046 0ustar00tinatina--- - ! "bar" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Z9M4/PaxHeaders/in.json0000644000000000000000000000013215263373363022223 xustar0030 mtime=1791882995.109501974 30 atime=1791882995.109407059 30 ctime=1791882995.109501974 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Z9M4/in.json0000644000175000017500000000001415263373363021650 0ustar00tinatina[ "bar" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Z9M4/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022214 xustar0030 mtime=1791882995.109407059 30 atime=1791882995.109311655 30 ctime=1791882995.109407059 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Z9M4/in.yaml0000644000175000017500000000006615263373363021650 0ustar00tinatina%TAG !e! tag:example.com,2000:app/ --- - !e!foo "bar" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Z9M4/PaxHeaders/===0000644000000000000000000000013115263373363021212 xustar0030 mtime=1791882995.034792826 29 atime=1791882995.03463212 30 ctime=1791882995.034792826 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Z9M4/===0000644000175000017500000000004515263373363020644 0ustar00tinatinaSpec Example 6.22. Global Tag Prefix YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/EW3V0000644000000000000000000000013215263373363020666 xustar0030 mtime=1791882995.180106177 30 atime=1791882995.034470367 30 ctime=1791882995.180106177 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EW3V/0000755000175000017500000000000015263373363020375 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EW3V/PaxHeaders/test.event0000644000000000000000000000013015263373363022763 xustar0029 mtime=1791882995.18021094 30 atime=1791882995.180106177 29 ctime=1791882995.18021094 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EW3V/test.event0000644000175000017500000000003015263373363022410 0ustar00tinatina+STR +DOC +MAP =VAL :k1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EW3V/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022235 xustar0030 mtime=1791882995.109311655 30 atime=1791882995.109217229 30 ctime=1791882995.109311655 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EW3V/in.yaml0000644000175000017500000000001715263373363021665 0ustar00tinatinak1: v1 k2: v2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EW3V/PaxHeaders/error0000644000000000000000000000013215263373363022017 xustar0030 mtime=1791882995.055750287 30 atime=1791882995.055750287 30 ctime=1791882995.055836471 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EW3V/error0000644000175000017500000000000015263373363021437 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EW3V/PaxHeaders/===0000644000000000000000000000013015263373363021232 xustar0029 mtime=1791882995.03463212 30 atime=1791882995.034470367 29 ctime=1791882995.03463212 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EW3V/===0000644000175000017500000000003515263373363020664 0ustar00tinatinaWrong indendation in mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/M7NX0000644000000000000000000000013215263373363020673 xustar0030 mtime=1791882995.180010704 30 atime=1791882995.034303026 30 ctime=1791882995.180010704 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M7NX/0000755000175000017500000000000015263373363020402 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M7NX/PaxHeaders/test.event0000644000000000000000000000013215263373363022772 xustar0030 mtime=1791882995.180106177 30 atime=1791882995.180010704 30 ctime=1791882995.180106177 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M7NX/test.event0000644000175000017500000000017415263373363022426 0ustar00tinatina+STR +DOC --- +MAP {} =VAL :a +SEQ [] =VAL :b =VAL :c +MAP {} =VAL :d +SEQ [] =VAL :e =VAL :f -SEQ -MAP -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M7NX/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022443 xustar0030 mtime=1791882995.139889946 30 atime=1791882995.139796567 30 ctime=1791882995.139889946 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M7NX/out.yaml0000644000175000017500000000004015263373363022067 0ustar00tinatina--- a: - b - c - d: - e - f YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M7NX/PaxHeaders/in.json0000644000000000000000000000013215263373363022251 xustar0030 mtime=1791882995.109217229 30 atime=1791882995.109106111 30 ctime=1791882995.109217229 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M7NX/in.json0000644000175000017500000000013515263373363021702 0ustar00tinatina{ "a": [ "b", "c", { "d": [ "e", "f" ] } ] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M7NX/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022242 xustar0030 mtime=1791882995.109106111 30 atime=1791882995.109010708 30 ctime=1791882995.109106111 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M7NX/in.yaml0000644000175000017500000000005415263373363021673 0ustar00tinatina--- { a: [ b, c, { d: [e, f] } ] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M7NX/PaxHeaders/===0000644000000000000000000000013215263373363021241 xustar0030 mtime=1791882995.034470367 30 atime=1791882995.034303026 30 ctime=1791882995.034470367 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M7NX/===0000644000175000017500000000003015263373363020664 0ustar00tinatinaNested flow collections YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/K8580000644000000000000000000000013215263373363020601 xustar0030 mtime=1791882995.179916697 30 atime=1791882995.034082397 30 ctime=1791882995.179916697 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K858/0000755000175000017500000000000015263373363020310 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K858/PaxHeaders/test.event0000644000000000000000000000013215263373363022700 xustar0030 mtime=1791882995.180010704 30 atime=1791882995.179916697 30 ctime=1791882995.180010704 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K858/test.event0000644000175000017500000000012715263373363022332 0ustar00tinatina+STR +DOC +MAP =VAL :strip =VAL > =VAL :clip =VAL > =VAL :keep =VAL |\n -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K858/PaxHeaders/out.yaml0000644000000000000000000000013115263373363022350 xustar0030 mtime=1791882995.139796567 29 atime=1791882995.13970256 30 ctime=1791882995.139796567 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K858/out.yaml0000644000175000017500000000004215263373363021777 0ustar00tinatinastrip: "" clip: "" keep: |2+ ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K858/PaxHeaders/in.json0000644000000000000000000000013215263373363022157 xustar0030 mtime=1791882995.109010708 30 atime=1791882995.108892047 30 ctime=1791882995.109010708 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K858/in.json0000644000175000017500000000006015263373363021605 0ustar00tinatina{ "strip": "", "clip": "", "keep": "\n" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K858/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022150 xustar0030 mtime=1791882995.108892047 30 atime=1791882995.108800973 30 ctime=1791882995.108892047 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K858/in.yaml0000644000175000017500000000003615263373363021601 0ustar00tinatinastrip: >- clip: > keep: |+ YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K858/PaxHeaders/===0000644000000000000000000000013215263373363021147 xustar0030 mtime=1791882995.034303026 30 atime=1791882995.034082397 30 ctime=1791882995.034303026 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K858/===0000644000175000017500000000005015263373363020574 0ustar00tinatinaSpec Example 8.6. Empty Scalar Chomping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/FH7J0000644000000000000000000000013015263373363020636 xustar0029 mtime=1791882995.17982276 30 atime=1791882995.033919945 29 ctime=1791882995.17982276 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FH7J/0000755000175000017500000000000015263373363020347 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FH7J/PaxHeaders/test.event0000644000000000000000000000013115263373363022736 xustar0030 mtime=1791882995.179916697 29 atime=1791882995.17982276 30 ctime=1791882995.179916697 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FH7J/test.event0000644000175000017500000000033715263373363022374 0ustar00tinatina+STR +DOC +SEQ =VAL : +MAP =VAL : =VAL :a =VAL :b =VAL : -MAP +MAP =VAL : =VAL : -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FH7J/PaxHeaders/out.yaml0000644000000000000000000000013015263373363022406 xustar0029 mtime=1791882995.13970256 30 atime=1791882995.139608204 29 ctime=1791882995.13970256 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FH7J/out.yaml0000644000175000017500000000006115263373363022037 0ustar00tinatina- !!str - !!null : a b: !!str - !!str : !!null YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FH7J/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022207 xustar0030 mtime=1791882995.108800973 30 atime=1791882995.108694534 30 ctime=1791882995.108800973 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FH7J/in.yaml0000644000175000017500000000006315263373363021640 0ustar00tinatina- !!str - !!null : a b: !!str - !!str : !!null YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FH7J/PaxHeaders/===0000644000000000000000000000013215263373363021206 xustar0030 mtime=1791882995.034082397 30 atime=1791882995.033919945 30 ctime=1791882995.034082397 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FH7J/===0000644000175000017500000000002615263373363020636 0ustar00tinatinaTags on Empty Scalars YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/7Z250000644000000000000000000000013215263373363020611 xustar0030 mtime=1791882995.179727007 30 atime=1791882995.033756096 30 ctime=1791882995.179727007 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7Z25/0000755000175000017500000000000015263373363020320 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7Z25/PaxHeaders/test.event0000644000000000000000000000013015263373363022706 xustar0029 mtime=1791882995.17982276 30 atime=1791882995.179727007 29 ctime=1791882995.17982276 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7Z25/test.event0000644000175000017500000000012415263373363022337 0ustar00tinatina+STR +DOC --- =VAL :scalar1 -DOC ... +DOC +MAP =VAL :key =VAL :value -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7Z25/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022361 xustar0030 mtime=1791882995.139608204 30 atime=1791882995.139513848 30 ctime=1791882995.139608204 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7Z25/out.yaml0000644000175000017500000000003315263373363022007 0ustar00tinatina--- scalar1 ... key: value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7Z25/PaxHeaders/in.json0000644000000000000000000000013215263373363022167 xustar0030 mtime=1791882995.108694534 30 atime=1791882995.108608699 30 ctime=1791882995.108694534 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7Z25/in.json0000644000175000017500000000003715263373363021621 0ustar00tinatina"scalar1" { "key": "value" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7Z25/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022160 xustar0030 mtime=1791882995.108608699 30 atime=1791882995.108507568 30 ctime=1791882995.108608699 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7Z25/in.yaml0000644000175000017500000000003315263373363021606 0ustar00tinatina--- scalar1 ... key: value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7Z25/PaxHeaders/===0000644000000000000000000000013215263373363021157 xustar0030 mtime=1791882995.033919945 30 atime=1791882995.033756096 30 ctime=1791882995.033919945 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7Z25/===0000644000175000017500000000005015263373363020604 0ustar00tinatinaBare document after document end marker YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/S3PD0000644000000000000000000000013215263373363020653 xustar0030 mtime=1791882995.179630625 30 atime=1791882995.033593156 30 ctime=1791882995.179630625 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S3PD/0000755000175000017500000000000015263373363020362 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S3PD/PaxHeaders/test.event0000644000000000000000000000013215263373363022752 xustar0030 mtime=1791882995.179727007 30 atime=1791882995.179630625 30 ctime=1791882995.179727007 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S3PD/test.event0000644000175000017500000000016715263373363022410 0ustar00tinatina+STR +DOC +MAP =VAL :plain key =VAL :in-line value =VAL : =VAL : =VAL "quoted key +SEQ =VAL :entry -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S3PD/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022552 xustar0030 mtime=1791882995.149632649 30 atime=1791882995.149537735 30 ctime=1791882995.149632649 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S3PD/emit.yaml0000644000175000017500000000006115263373363022201 0ustar00tinatinaplain key: in-line value : "quoted key": - entry YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S3PD/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022222 xustar0030 mtime=1791882995.108507568 30 atime=1791882995.108403015 30 ctime=1791882995.108507568 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S3PD/in.yaml0000644000175000017500000000007615263373363021657 0ustar00tinatinaplain key: in-line value : # Both empty "quoted key": - entry YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S3PD/PaxHeaders/===0000644000000000000000000000013215263373363021221 xustar0030 mtime=1791882995.033756096 30 atime=1791882995.033593156 30 ctime=1791882995.033756096 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S3PD/===0000644000175000017500000000006215263373363020651 0ustar00tinatinaSpec Example 8.18. Implicit Block Mapping Entries YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/NHX80000644000000000000000000000013015263373363020665 xustar0029 mtime=1791882995.17953578 30 atime=1791882995.033430425 29 ctime=1791882995.17953578 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NHX8/0000755000175000017500000000000015263373363020376 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NHX8/PaxHeaders/test.event0000644000000000000000000000013115263373363022765 xustar0030 mtime=1791882995.179630625 29 atime=1791882995.17953578 30 ctime=1791882995.179630625 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NHX8/test.event0000644000175000017500000000005415263373363022417 0ustar00tinatina+STR +DOC +MAP =VAL : =VAL : -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NHX8/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022566 xustar0030 mtime=1791882995.149537735 30 atime=1791882995.149448128 30 ctime=1791882995.149537735 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NHX8/emit.yaml0000644000175000017500000000000215263373363022210 0ustar00tinatina: YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NHX8/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022236 xustar0030 mtime=1791882995.108403015 30 atime=1791882995.108298253 30 ctime=1791882995.108403015 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NHX8/in.yaml0000644000175000017500000000000415263373363021662 0ustar00tinatina: YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NHX8/PaxHeaders/===0000644000000000000000000000013215263373363021235 xustar0030 mtime=1791882995.033593156 30 atime=1791882995.033430425 30 ctime=1791882995.033593156 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NHX8/===0000644000175000017500000000003715263373363020667 0ustar00tinatinaEmpty Lines at End of Document YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/M9B40000644000000000000000000000013215263373363020615 xustar0030 mtime=1791882995.179442123 30 atime=1791882995.033266436 30 ctime=1791882995.179442123 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M9B4/0000755000175000017500000000000015263373363020324 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M9B4/PaxHeaders/test.event0000644000000000000000000000013015263373363022712 xustar0029 mtime=1791882995.17953578 30 atime=1791882995.179442123 29 ctime=1791882995.17953578 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M9B4/test.event0000644000175000017500000000005415263373363022345 0ustar00tinatina+STR +DOC =VAL |literal\n\ttext\n -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M9B4/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022365 xustar0030 mtime=1791882995.139513848 30 atime=1791882995.139415162 30 ctime=1791882995.139513848 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M9B4/out.yaml0000644000175000017500000000002415263373363022013 0ustar00tinatina| literal text YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M9B4/PaxHeaders/in.json0000644000000000000000000000013215263373363022173 xustar0030 mtime=1791882995.108298253 30 atime=1791882995.108199916 30 ctime=1791882995.108298253 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M9B4/in.json0000644000175000017500000000002415263373363021621 0ustar00tinatina"literal\n\ttext\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M9B4/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022163 xustar0030 mtime=1791882995.108199916 29 atime=1791882995.10808768 30 ctime=1791882995.108199916 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M9B4/in.yaml0000644000175000017500000000002415263373363021612 0ustar00tinatina| literal text YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M9B4/PaxHeaders/===0000644000000000000000000000013215263373363021163 xustar0030 mtime=1791882995.033430425 30 atime=1791882995.033266436 30 ctime=1791882995.033430425 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M9B4/===0000644000175000017500000000004115263373363020610 0ustar00tinatinaSpec Example 8.7. Literal Scalar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/BS4K0000644000000000000000000000013215263373363020645 xustar0030 mtime=1791882995.179345392 30 atime=1791882995.033092321 30 ctime=1791882995.179345392 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BS4K/0000755000175000017500000000000015263373363020354 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BS4K/PaxHeaders/test.event0000644000000000000000000000013215263373363022744 xustar0030 mtime=1791882995.179442123 30 atime=1791882995.179345392 30 ctime=1791882995.179442123 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BS4K/test.event0000644000175000017500000000003315263373363022372 0ustar00tinatina+STR +DOC =VAL :word1 -DOC YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BS4K/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022212 xustar0029 mtime=1791882995.10808768 30 atime=1791882995.108002333 29 ctime=1791882995.10808768 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BS4K/in.yaml0000644000175000017500000000002715263373363021645 0ustar00tinatinaword1 # comment word2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BS4K/PaxHeaders/error0000644000000000000000000000013215263373363021776 xustar0030 mtime=1791882995.055661937 30 atime=1791882995.055661937 30 ctime=1791882995.055750287 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BS4K/error0000644000175000017500000000000015263373363021416 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BS4K/PaxHeaders/===0000644000000000000000000000013215263373363021213 xustar0030 mtime=1791882995.033266436 30 atime=1791882995.033092321 30 ctime=1791882995.033266436 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BS4K/===0000644000175000017500000000004315263373363020642 0ustar00tinatinaComment between plain scalar lines YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/XLQ90000644000000000000000000000013215263373363020677 xustar0030 mtime=1791882995.179248242 30 atime=1791882995.032931266 30 ctime=1791882995.179248242 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XLQ9/0000755000175000017500000000000015263373363020406 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XLQ9/PaxHeaders/test.event0000644000000000000000000000013215263373363022776 xustar0030 mtime=1791882995.179345392 30 atime=1791882995.179248242 30 ctime=1791882995.179345392 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XLQ9/test.event0000644000175000017500000000005715263373363022432 0ustar00tinatina+STR +DOC --- =VAL :scalar %YAML 1.2 -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XLQ9/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022447 xustar0030 mtime=1791882995.139415162 30 atime=1791882995.139321574 30 ctime=1791882995.139415162 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XLQ9/out.yaml0000644000175000017500000000003115263373363022073 0ustar00tinatina--- scalar %YAML 1.2 ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XLQ9/PaxHeaders/in.json0000644000000000000000000000013215263373363022255 xustar0030 mtime=1791882995.108002333 30 atime=1791882995.107903787 30 ctime=1791882995.108002333 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XLQ9/in.json0000644000175000017500000000002315263373363021702 0ustar00tinatina"scalar %YAML 1.2" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XLQ9/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022245 xustar0030 mtime=1791882995.107903787 29 atime=1791882995.10781851 30 ctime=1791882995.107903787 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XLQ9/in.yaml0000644000175000017500000000002515263373363021675 0ustar00tinatina--- scalar %YAML 1.2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XLQ9/PaxHeaders/===0000644000000000000000000000013215263373363021245 xustar0030 mtime=1791882995.033092321 30 atime=1791882995.032931266 30 ctime=1791882995.033092321 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/XLQ9/===0000644000175000017500000000006215263373363020675 0ustar00tinatinaMultiline scalar that looks like a YAML directive YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/7FWL0000644000000000000000000000013215263373363020661 xustar0030 mtime=1791882995.179150254 30 atime=1791882995.032769024 30 ctime=1791882995.179150254 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7FWL/0000755000175000017500000000000015263373363020370 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7FWL/PaxHeaders/test.event0000644000000000000000000000013215263373363022760 xustar0030 mtime=1791882995.179248242 30 atime=1791882995.179150254 30 ctime=1791882995.179248242 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7FWL/test.event0000644000175000017500000000012115263373363022404 0ustar00tinatina+STR +DOC +MAP =VAL :foo =VAL :baz -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7FWL/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022431 xustar0030 mtime=1791882995.139321574 30 atime=1791882995.139227567 30 ctime=1791882995.139321574 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7FWL/out.yaml0000644000175000017500000000002415263373363022057 0ustar00tinatina!!str foo: !bar baz YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7FWL/PaxHeaders/in.json0000644000000000000000000000013015263373363022235 xustar0029 mtime=1791882995.10781851 30 atime=1791882995.107726459 29 ctime=1791882995.10781851 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7FWL/in.json0000644000175000017500000000002315263373363021664 0ustar00tinatina{ "foo": "baz" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7FWL/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022230 xustar0030 mtime=1791882995.107726459 30 atime=1791882995.107641392 30 ctime=1791882995.107726459 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7FWL/in.yaml0000644000175000017500000000005515263373363021662 0ustar00tinatina! foo : ! baz YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7FWL/PaxHeaders/===0000644000000000000000000000013215263373363021227 xustar0030 mtime=1791882995.032931266 30 atime=1791882995.032769024 30 ctime=1791882995.032931266 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7FWL/===0000644000175000017500000000004115263373363020654 0ustar00tinatinaSpec Example 6.24. Verbatim Tags YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/6JTT0000644000000000000000000000013215263373363020671 xustar0030 mtime=1791882995.179043885 30 atime=1791882995.032611112 30 ctime=1791882995.179043885 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JTT/0000755000175000017500000000000015263373363020400 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JTT/PaxHeaders/test.event0000644000000000000000000000013215263373363022770 xustar0030 mtime=1791882995.179150254 30 atime=1791882995.179043885 30 ctime=1791882995.179150254 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JTT/test.event0000644000175000017500000000007315263373363022422 0ustar00tinatina+STR +DOC --- +SEQ [] +SEQ [] =VAL :a =VAL :b =VAL :c -SEQ YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JTT/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022240 xustar0030 mtime=1791882995.107641392 30 atime=1791882995.107557093 30 ctime=1791882995.107641392 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JTT/in.yaml0000644000175000017500000000002215263373363021664 0ustar00tinatina--- [ [ a, b, c ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JTT/PaxHeaders/error0000644000000000000000000000013215263373363022022 xustar0030 mtime=1791882995.055574146 30 atime=1791882995.055574146 30 ctime=1791882995.055661937 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JTT/error0000644000175000017500000000000015263373363021442 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JTT/PaxHeaders/===0000644000000000000000000000013215263373363021237 xustar0030 mtime=1791882995.032769024 30 atime=1791882995.032611112 30 ctime=1791882995.032769024 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JTT/===0000644000175000017500000000004615263373363020671 0ustar00tinatinaFlow sequence without closing bracket YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/EXG30000644000000000000000000000013215263373363020650 xustar0030 mtime=1791882995.178943174 30 atime=1791882995.032453968 30 ctime=1791882995.178943174 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EXG3/0000755000175000017500000000000015263373363020357 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EXG3/PaxHeaders/test.event0000644000000000000000000000013215263373363022747 xustar0030 mtime=1791882995.179043885 30 atime=1791882995.178943174 30 ctime=1791882995.179043885 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EXG3/test.event0000644000175000017500000000005515263373363022401 0ustar00tinatina+STR +DOC --- =VAL :---word1 word2 -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EXG3/PaxHeaders/emit.yaml0000644000000000000000000000013115263373363022546 xustar0030 mtime=1791882995.149448128 29 atime=1791882995.14935454 30 ctime=1791882995.149448128 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EXG3/emit.yaml0000644000175000017500000000002515263373363022176 0ustar00tinatina--- '---word1 word2' YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EXG3/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022420 xustar0030 mtime=1791882995.139227567 30 atime=1791882995.139120011 30 ctime=1791882995.139227567 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EXG3/out.yaml0000644000175000017500000000002115263373363022043 0ustar00tinatina'---word1 word2' YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EXG3/PaxHeaders/in.json0000644000000000000000000000013115263373363022225 xustar0030 mtime=1791882995.107557093 29 atime=1791882995.10746113 30 ctime=1791882995.107557093 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EXG3/in.json0000644000175000017500000000002115263373363021651 0ustar00tinatina"---word1 word2" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EXG3/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022215 xustar0029 mtime=1791882995.10746113 30 atime=1791882995.107366216 29 ctime=1791882995.10746113 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EXG3/in.yaml0000644000175000017500000000002315263373363021644 0ustar00tinatina--- ---word1 word2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EXG3/PaxHeaders/===0000644000000000000000000000013215263373363021216 xustar0030 mtime=1791882995.032611112 30 atime=1791882995.032453968 30 ctime=1791882995.032611112 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/EXG3/===0000644000175000017500000000005515263373363020650 0ustar00tinatinaThree dashes and content without space [1.3] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/S9E80000644000000000000000000000013215263373363020632 xustar0030 mtime=1791882995.178857408 30 atime=1791882995.032311421 30 ctime=1791882995.178857408 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S9E8/0000755000175000017500000000000015263373363020341 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S9E8/PaxHeaders/test.event0000644000000000000000000000013215263373363022731 xustar0030 mtime=1791882995.178943174 30 atime=1791882995.178857408 30 ctime=1791882995.178943174 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S9E8/test.event0000644000175000017500000000021615263373363022362 0ustar00tinatina+STR +DOC +MAP =VAL :sequence +SEQ =VAL :one =VAL :two -SEQ =VAL :mapping +MAP =VAL :sky =VAL :blue =VAL :sea =VAL :green -MAP -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S9E8/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022402 xustar0030 mtime=1791882995.139120011 30 atime=1791882995.139033407 30 ctime=1791882995.139120011 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S9E8/out.yaml0000644000175000017500000000007015263373363022031 0ustar00tinatinasequence: - one - two mapping: sky: blue sea: green YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S9E8/PaxHeaders/in.json0000644000000000000000000000013215263373363022210 xustar0030 mtime=1791882995.107366216 30 atime=1791882995.107272767 30 ctime=1791882995.107366216 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S9E8/in.json0000644000175000017500000000014715263373363021644 0ustar00tinatina{ "sequence": [ "one", "two" ], "mapping": { "sky": "blue", "sea": "green" } } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S9E8/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022201 xustar0030 mtime=1791882995.107272767 30 atime=1791882995.107153757 30 ctime=1791882995.107272767 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S9E8/in.yaml0000644000175000017500000000007615263373363021636 0ustar00tinatinasequence: - one - two mapping: ? sky : blue sea : green YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S9E8/PaxHeaders/===0000644000000000000000000000013215263373363021200 xustar0030 mtime=1791882995.032453968 30 atime=1791882995.032311421 30 ctime=1791882995.032453968 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S9E8/===0000644000175000017500000000005515263373363020632 0ustar00tinatinaSpec Example 5.3. Block Structure Indicators YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/SF5V0000644000000000000000000000013215263373363020665 xustar0030 mtime=1791882995.178762493 30 atime=1791882995.032140239 30 ctime=1791882995.178762493 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SF5V/0000755000175000017500000000000015263373363020374 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SF5V/PaxHeaders/test.event0000644000000000000000000000013215263373363022764 xustar0030 mtime=1791882995.178857408 30 atime=1791882995.178762493 30 ctime=1791882995.178857408 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SF5V/test.event0000644000175000017500000000000515263373363022411 0ustar00tinatina+STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SF5V/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022234 xustar0030 mtime=1791882995.107153757 30 atime=1791882995.107039356 30 ctime=1791882995.107153757 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SF5V/in.yaml0000644000175000017500000000003015263373363021657 0ustar00tinatina%YAML 1.2 %YAML 1.2 --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SF5V/PaxHeaders/error0000644000000000000000000000013215263373363022016 xustar0030 mtime=1791882995.055485377 30 atime=1791882995.055485377 30 ctime=1791882995.055574146 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SF5V/error0000644000175000017500000000000015263373363021436 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SF5V/PaxHeaders/===0000644000000000000000000000013215263373363021233 xustar0030 mtime=1791882995.032311421 30 atime=1791882995.032140239 30 ctime=1791882995.032311421 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SF5V/===0000644000175000017500000000003115263373363020657 0ustar00tinatinaDuplicate YAML directive YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/JQ4R0000644000000000000000000000013015263373363020660 xustar0029 mtime=1791882995.17837578 30 atime=1791882995.031989451 29 ctime=1791882995.17837578 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JQ4R/0000755000175000017500000000000015263373363020371 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JQ4R/PaxHeaders/test.event0000644000000000000000000000013115263373363022760 xustar0030 mtime=1791882995.178471673 29 atime=1791882995.17837578 30 ctime=1791882995.178471673 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JQ4R/test.event0000644000175000017500000000014715263373363022415 0ustar00tinatina+STR +DOC +MAP =VAL :block sequence +SEQ =VAL :one +MAP =VAL :two =VAL :three -MAP -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JQ4R/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022432 xustar0030 mtime=1791882995.138933743 30 atime=1791882995.138840575 30 ctime=1791882995.138933743 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JQ4R/out.yaml0000644000175000017500000000004315263373363022061 0ustar00tinatinablock sequence: - one - two: three YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JQ4R/PaxHeaders/in.json0000644000000000000000000000013215263373363022240 xustar0030 mtime=1791882995.107039356 30 atime=1791882995.106945419 30 ctime=1791882995.107039356 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JQ4R/in.json0000644000175000017500000000011215263373363021664 0ustar00tinatina{ "block sequence": [ "one", { "two": "three" } ] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JQ4R/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022231 xustar0030 mtime=1791882995.106945419 30 atime=1791882995.106851203 30 ctime=1791882995.106945419 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JQ4R/in.yaml0000644000175000017500000000005015263373363021656 0ustar00tinatinablock sequence: - one - two : three YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JQ4R/PaxHeaders/===0000644000000000000000000000013215263373363021230 xustar0030 mtime=1791882995.032140239 30 atime=1791882995.031989451 30 ctime=1791882995.032140239 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JQ4R/===0000644000175000017500000000004215263373363020656 0ustar00tinatinaSpec Example 8.14. Block Sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/NP9H0000644000000000000000000000013215263373363020660 xustar0030 mtime=1791882995.178279887 30 atime=1791882995.031830352 30 ctime=1791882995.178279887 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NP9H/0000755000175000017500000000000015263373363020367 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NP9H/PaxHeaders/test.event0000644000000000000000000000013015263373363022755 xustar0029 mtime=1791882995.17837578 30 atime=1791882995.178279887 29 ctime=1791882995.17837578 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NP9H/test.event0000644000175000017500000000012215263373363022404 0ustar00tinatina+STR +DOC =VAL "folded to a space,\nto a line feed, or \t \tnon-content -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NP9H/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022430 xustar0030 mtime=1791882995.138840575 30 atime=1791882995.138746218 30 ctime=1791882995.138840575 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NP9H/out.yaml0000644000175000017500000000007215263373363022061 0ustar00tinatina"folded to a space,\nto a line feed, or \t \tnon-content" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NP9H/PaxHeaders/in.json0000644000000000000000000000013215263373363022236 xustar0030 mtime=1791882995.106851203 30 atime=1791882995.106758244 30 ctime=1791882995.106851203 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NP9H/in.json0000644000175000017500000000007215263373363021667 0ustar00tinatina"folded to a space,\nto a line feed, or \t \tnon-content" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NP9H/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022226 xustar0030 mtime=1791882995.106758244 29 atime=1791882995.10666277 30 ctime=1791882995.106758244 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NP9H/in.yaml0000644000175000017500000000007715263373363021665 0ustar00tinatina"folded to a space, to a line feed, or \ \ non-content" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NP9H/PaxHeaders/===0000644000000000000000000000013215263373363021226 xustar0030 mtime=1791882995.031989451 30 atime=1791882995.031830352 30 ctime=1791882995.031989451 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NP9H/===0000644000175000017500000000005415263373363020657 0ustar00tinatinaSpec Example 7.5. Double Quoted Line Breaks YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/27NA0000644000000000000000000000013215263373363020611 xustar0030 mtime=1791882995.178182319 30 atime=1791882995.031665875 30 ctime=1791882995.178182319 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/27NA/0000755000175000017500000000000015263373363020320 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/27NA/PaxHeaders/test.event0000644000000000000000000000013215263373363022710 xustar0030 mtime=1791882995.178279887 30 atime=1791882995.178182319 30 ctime=1791882995.178279887 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/27NA/test.event0000644000175000017500000000004315263373363022337 0ustar00tinatina+STR +DOC --- =VAL :text -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/27NA/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022361 xustar0030 mtime=1791882995.138746218 30 atime=1791882995.138662897 30 ctime=1791882995.138746218 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/27NA/out.yaml0000644000175000017500000000001115263373363022003 0ustar00tinatina--- text YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/27NA/PaxHeaders/in.json0000644000000000000000000000013015263373363022165 xustar0029 mtime=1791882995.10666277 30 atime=1791882995.106566878 29 ctime=1791882995.10666277 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/27NA/in.json0000644000175000017500000000000715263373363021616 0ustar00tinatina"text" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/27NA/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022160 xustar0030 mtime=1791882995.106566878 30 atime=1791882995.106484325 30 ctime=1791882995.106566878 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/27NA/in.yaml0000644000175000017500000000002315263373363021605 0ustar00tinatina%YAML 1.2 --- text YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/27NA/PaxHeaders/===0000644000000000000000000000013215263373363021157 xustar0030 mtime=1791882995.031830352 30 atime=1791882995.031665875 30 ctime=1791882995.031830352 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/27NA/===0000644000175000017500000000004615263373363020611 0ustar00tinatinaSpec Example 5.9. Directive Indicator YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/8G760000644000000000000000000000013215263373363020575 xustar0030 mtime=1791882995.178074134 30 atime=1791882995.031504541 30 ctime=1791882995.178074134 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8G76/0000755000175000017500000000000015263373363020304 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8G76/PaxHeaders/test.event0000644000000000000000000000013215263373363022674 xustar0030 mtime=1791882995.178182319 30 atime=1791882995.178074134 30 ctime=1791882995.178182319 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8G76/test.event0000644000175000017500000000001215263373363022317 0ustar00tinatina+STR -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8G76/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022345 xustar0030 mtime=1791882995.138566725 30 atime=1791882995.138566725 30 ctime=1791882995.138662897 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8G76/out.yaml0000644000175000017500000000000015263373363021765 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8G76/PaxHeaders/in.json0000644000000000000000000000013215263373363022153 xustar0030 mtime=1791882995.106388432 30 atime=1791882995.106388432 30 ctime=1791882995.106484325 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8G76/in.json0000644000175000017500000000000015263373363021573 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8G76/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022144 xustar0030 mtime=1791882995.106388432 30 atime=1791882995.106293866 30 ctime=1791882995.106388432 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8G76/in.yaml0000644000175000017500000000002215263373363021570 0ustar00tinatina # Comment YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8G76/PaxHeaders/===0000644000000000000000000000013215263373363021143 xustar0030 mtime=1791882995.031665875 30 atime=1791882995.031504541 30 ctime=1791882995.031665875 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8G76/===0000644000175000017500000000004115263373363020570 0ustar00tinatinaSpec Example 6.10. Comment Lines YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/DHP80000644000000000000000000000012615263373363020650 xustar0028 mtime=1791882995.1779788 30 atime=1791882995.031340902 28 ctime=1791882995.1779788 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DHP8/0000755000175000017500000000000015263373363020354 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DHP8/PaxHeaders/test.event0000644000000000000000000000013015263373363022742 xustar0030 mtime=1791882995.178074134 28 atime=1791882995.1779788 30 ctime=1791882995.178074134 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DHP8/test.event0000644000175000017500000000007615263373363022401 0ustar00tinatina+STR +DOC +SEQ [] =VAL :foo =VAL :bar =VAL :42 -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DHP8/PaxHeaders/out.yaml0000644000000000000000000000013115263373363022414 xustar0030 mtime=1791882995.138566725 29 atime=1791882995.13846748 30 ctime=1791882995.138566725 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DHP8/out.yaml0000644000175000017500000000002115263373363022040 0ustar00tinatina- foo - bar - 42 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DHP8/PaxHeaders/in.json0000644000000000000000000000013215263373363022223 xustar0030 mtime=1791882995.106293866 30 atime=1791882995.106202304 30 ctime=1791882995.106293866 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DHP8/in.json0000644000175000017500000000003315263373363021651 0ustar00tinatina[ "foo", "bar", 42 ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DHP8/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022214 xustar0030 mtime=1791882995.106202304 30 atime=1791882995.106093561 30 ctime=1791882995.106202304 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DHP8/in.yaml0000644000175000017500000000001715263373363021644 0ustar00tinatina[foo, bar, 42] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DHP8/PaxHeaders/===0000644000000000000000000000013215263373363021213 xustar0030 mtime=1791882995.031504541 30 atime=1791882995.031340902 30 ctime=1791882995.031504541 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DHP8/===0000644000175000017500000000001615263373363020642 0ustar00tinatinaFlow Sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/4CQQ0000644000000000000000000000013215263373363020652 xustar0030 mtime=1791882995.177882837 30 atime=1791882995.031176913 30 ctime=1791882995.177882837 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4CQQ/0000755000175000017500000000000015263373363020361 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4CQQ/PaxHeaders/test.event0000644000000000000000000000012615263373363022754 xustar0028 mtime=1791882995.1779788 30 atime=1791882995.177882837 28 ctime=1791882995.1779788 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4CQQ/test.event0000644000175000017500000000021015263373363022374 0ustar00tinatina+STR +DOC +MAP =VAL :plain =VAL :This unquoted scalar spans many lines. =VAL :quoted =VAL "So does this quoted scalar.\n -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4CQQ/PaxHeaders/out.yaml0000644000000000000000000000013015263373363022420 xustar0029 mtime=1791882995.13846748 30 atime=1791882995.138384508 29 ctime=1791882995.13846748 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4CQQ/out.yaml0000644000175000017500000000012615263373363022053 0ustar00tinatinaplain: This unquoted scalar spans many lines. quoted: "So does this quoted scalar.\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4CQQ/PaxHeaders/in.json0000644000000000000000000000013215263373363022230 xustar0030 mtime=1791882995.106093561 30 atime=1791882995.106000531 30 ctime=1791882995.106093561 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4CQQ/in.json0000644000175000017500000000014515263373363021662 0ustar00tinatina{ "plain": "This unquoted scalar spans many lines.", "quoted": "So does this quoted scalar.\n" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4CQQ/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022221 xustar0030 mtime=1791882995.106000531 30 atime=1791882995.105904709 30 ctime=1791882995.106000531 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4CQQ/in.yaml0000644000175000017500000000013515263373363021652 0ustar00tinatinaplain: This unquoted scalar spans many lines. quoted: "So does this quoted scalar.\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4CQQ/PaxHeaders/===0000644000000000000000000000013215263373363021220 xustar0030 mtime=1791882995.031340902 30 atime=1791882995.031176913 30 ctime=1791882995.031340902 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4CQQ/===0000644000175000017500000000005315263373363020650 0ustar00tinatinaSpec Example 2.18. Multi-line Flow Scalars YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/6LVF0000644000000000000000000000013215263373363020657 xustar0030 mtime=1791882995.177787434 30 atime=1791882995.031001611 30 ctime=1791882995.177787434 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6LVF/0000755000175000017500000000000015263373363020366 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6LVF/PaxHeaders/test.event0000644000000000000000000000013215263373363022756 xustar0030 mtime=1791882995.177882837 30 atime=1791882995.177787434 30 ctime=1791882995.177882837 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6LVF/test.event0000644000175000017500000000004215263373363022404 0ustar00tinatina+STR +DOC --- =VAL "foo -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6LVF/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022427 xustar0030 mtime=1791882995.138384508 30 atime=1791882995.138289384 30 ctime=1791882995.138384508 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6LVF/out.yaml0000644000175000017500000000001215263373363022052 0ustar00tinatina--- "foo" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6LVF/PaxHeaders/in.json0000644000000000000000000000013215263373363022235 xustar0030 mtime=1791882995.105904709 30 atime=1791882995.105810772 30 ctime=1791882995.105904709 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6LVF/in.json0000644000175000017500000000000615263373363021663 0ustar00tinatina"foo" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6LVF/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022226 xustar0030 mtime=1791882995.105810772 30 atime=1791882995.105715508 30 ctime=1791882995.105810772 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6LVF/in.yaml0000644000175000017500000000011415263373363021654 0ustar00tinatina%FOO bar baz # Should be ignored # with a warning. --- "foo" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6LVF/PaxHeaders/===0000644000000000000000000000013215263373363021225 xustar0030 mtime=1791882995.031176913 30 atime=1791882995.031001611 30 ctime=1791882995.031176913 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6LVF/===0000644000175000017500000000004715263373363020660 0ustar00tinatinaSpec Example 6.13. Reserved Directives YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/G4RS0000644000000000000000000000013215263373363020661 xustar0030 mtime=1791882995.177691611 30 atime=1791882995.030839089 30 ctime=1791882995.177691611 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G4RS/0000755000175000017500000000000015263373363020370 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G4RS/PaxHeaders/test.event0000644000000000000000000000013215263373363022760 xustar0030 mtime=1791882995.177787434 30 atime=1791882995.177691611 30 ctime=1791882995.177787434 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G4RS/test.event0000644000175000017500000000037415263373363022416 0ustar00tinatina+STR +DOC +MAP =VAL :unicode =VAL "Sosa did fine.☺ =VAL :control =VAL "\b1998\t1999\t2000\n =VAL :hex esc =VAL "\r\n is \r\n =VAL :single =VAL '"Howdy!" he cried. =VAL :quoted =VAL ' # Not a 'comment'. =VAL :tie-fighter =VAL '|\\-*-/| -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G4RS/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022431 xustar0030 mtime=1791882995.138289384 30 atime=1791882995.138202571 30 ctime=1791882995.138289384 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G4RS/out.yaml0000644000175000017500000000025415263373363022064 0ustar00tinatinaunicode: "Sosa did fine.\u263A" control: "\b1998\t1999\t2000\n" hex esc: "\r\n is \r\n" single: '"Howdy!" he cried.' quoted: ' # Not a ''comment''.' tie-fighter: '|\-*-/|' YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G4RS/PaxHeaders/in.json0000644000000000000000000000013215263373363022237 xustar0030 mtime=1791882995.105715508 30 atime=1791882995.105622478 30 ctime=1791882995.105715508 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G4RS/in.json0000644000175000017500000000031315263373363021666 0ustar00tinatina{ "unicode": "Sosa did fine.☺", "control": "\b1998\t1999\t2000\n", "hex esc": "\r\n is \r\n", "single": "\"Howdy!\" he cried.", "quoted": " # Not a 'comment'.", "tie-fighter": "|\\-*-/|" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G4RS/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022230 xustar0030 mtime=1791882995.105622478 30 atime=1791882995.105527494 30 ctime=1791882995.105622478 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G4RS/in.yaml0000644000175000017500000000026115263373363021661 0ustar00tinatinaunicode: "Sosa did fine.\u263A" control: "\b1998\t1999\t2000\n" hex esc: "\x0d\x0a is \r\n" single: '"Howdy!" he cried.' quoted: ' # Not a ''comment''.' tie-fighter: '|\-*-/|' YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G4RS/PaxHeaders/===0000644000000000000000000000013215263373363021227 xustar0030 mtime=1791882995.031001611 30 atime=1791882995.030839089 30 ctime=1791882995.031001611 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G4RS/===0000644000175000017500000000004215263373363020655 0ustar00tinatinaSpec Example 2.17. Quoted Scalars YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/4HVU0000644000000000000000000000013215263373363020670 xustar0030 mtime=1791882995.177593483 30 atime=1791882995.030677964 30 ctime=1791882995.177593483 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4HVU/0000755000175000017500000000000015263373363020377 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4HVU/PaxHeaders/test.event0000644000000000000000000000013215263373363022767 xustar0030 mtime=1791882995.177691611 30 atime=1791882995.177593483 30 ctime=1791882995.177691611 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4HVU/test.event0000644000175000017500000000007215263373363022420 0ustar00tinatina+STR +DOC +MAP =VAL :key +SEQ =VAL :ok =VAL :also ok -SEQ YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4HVU/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022237 xustar0030 mtime=1791882995.105527494 30 atime=1791882995.105432509 30 ctime=1791882995.105527494 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4HVU/in.yaml0000644000175000017500000000004415263373363021667 0ustar00tinatinakey: - ok - also ok - wrong YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4HVU/PaxHeaders/error0000644000000000000000000000013215263373363022021 xustar0030 mtime=1791882995.055396748 30 atime=1791882995.055396748 30 ctime=1791882995.055485377 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4HVU/error0000644000175000017500000000000015263373363021441 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4HVU/PaxHeaders/===0000644000000000000000000000013215263373363021236 xustar0030 mtime=1791882995.030839089 30 atime=1791882995.030677964 30 ctime=1791882995.030839089 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4HVU/===0000644000175000017500000000003615263373363020667 0ustar00tinatinaWrong indendation in Sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/M29M0000644000000000000000000000013215263373363020626 xustar0030 mtime=1791882995.177500943 30 atime=1791882995.030514255 30 ctime=1791882995.177500943 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M29M/0000755000175000017500000000000015263373363020335 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M29M/PaxHeaders/test.event0000644000000000000000000000013215263373363022725 xustar0030 mtime=1791882995.177593483 30 atime=1791882995.177500943 30 ctime=1791882995.177593483 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M29M/test.event0000644000175000017500000000007715263373363022363 0ustar00tinatina+STR +DOC +MAP =VAL :a =VAL |ab\n\ncd\nef\n -MAP -DOC ... -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M29M/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022376 xustar0030 mtime=1791882995.138202571 30 atime=1791882995.138093967 30 ctime=1791882995.138202571 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M29M/out.yaml0000644000175000017500000000003115263373363022022 0ustar00tinatinaa: | ab cd ef ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M29M/PaxHeaders/in.json0000644000000000000000000000013215263373363022204 xustar0030 mtime=1791882995.105432509 30 atime=1791882995.105339061 30 ctime=1791882995.105432509 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M29M/in.json0000644000175000017500000000003415263373363021633 0ustar00tinatina{ "a": "ab\n\ncd\nef\n" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M29M/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022175 xustar0030 mtime=1791882995.105339061 30 atime=1791882995.105244076 30 ctime=1791882995.105339061 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M29M/in.yaml0000644000175000017500000000003215263373363021622 0ustar00tinatinaa: | ab cd ef ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M29M/PaxHeaders/===0000644000000000000000000000013215263373363021174 xustar0030 mtime=1791882995.030677964 30 atime=1791882995.030514255 30 ctime=1791882995.030677964 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M29M/===0000644000175000017500000000002515263373363020623 0ustar00tinatinaLiteral Block Scalar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/CN3R0000644000000000000000000000013215263373363020647 xustar0030 mtime=1791882995.177412803 30 atime=1791882995.030351385 30 ctime=1791882995.177412803 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CN3R/0000755000175000017500000000000015263373363020356 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CN3R/PaxHeaders/test.event0000644000000000000000000000013215263373363022746 xustar0030 mtime=1791882995.177500943 30 atime=1791882995.177412803 30 ctime=1791882995.177500943 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CN3R/test.event0000644000175000017500000000024715263373363022403 0ustar00tinatina+STR +DOC +SEQ [] &flowseq +MAP {} =VAL :a =VAL :b -MAP +MAP {} =VAL &c :c =VAL :d -MAP +MAP {} =VAL &e :e =VAL :f -MAP +MAP {} &g =VAL :g =VAL :h -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CN3R/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022417 xustar0030 mtime=1791882995.138093967 30 atime=1791882995.138000309 30 ctime=1791882995.138093967 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CN3R/out.yaml0000644000175000017500000000006015263373363022045 0ustar00tinatina&flowseq - a: b - &c c: d - &e e: f - &g g: h YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CN3R/PaxHeaders/in.json0000644000000000000000000000013215263373363022225 xustar0030 mtime=1791882995.105244076 30 atime=1791882995.105140152 30 ctime=1791882995.105244076 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CN3R/in.json0000644000175000017500000000013315263373363021654 0ustar00tinatina[ { "a": "b" }, { "c": "d" }, { "e": "f" }, { "g": "h" } ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CN3R/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022216 xustar0030 mtime=1791882995.105140152 30 atime=1791882995.105035669 30 ctime=1791882995.105140152 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CN3R/in.yaml0000644000175000017500000000007115263373363021646 0ustar00tinatina&flowseq [ a: b, &c c: d, { &e e: f }, &g { g: h } ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CN3R/PaxHeaders/===0000644000000000000000000000013215263373363021215 xustar0030 mtime=1791882995.030514255 30 atime=1791882995.030351385 30 ctime=1791882995.030514255 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CN3R/===0000644000175000017500000000005515263373363020647 0ustar00tinatinaVarious location of anchors in flow sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/HS5T0000644000000000000000000000013215263373363020665 xustar0030 mtime=1791882995.177317399 30 atime=1791882995.030185231 30 ctime=1791882995.177317399 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HS5T/0000755000175000017500000000000015263373363020374 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HS5T/PaxHeaders/test.event0000644000000000000000000000013215263373363022764 xustar0030 mtime=1791882995.177412803 30 atime=1791882995.177317399 30 ctime=1791882995.177412803 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HS5T/test.event0000644000175000017500000000010515263373363022412 0ustar00tinatina+STR +DOC =VAL :1st non-empty\n2nd non-empty 3rd non-empty -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HS5T/PaxHeaders/out.yaml0000644000000000000000000000013115263373363022434 xustar0030 mtime=1791882995.138000309 29 atime=1791882995.13790735 30 ctime=1791882995.138000309 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HS5T/out.yaml0000644000175000017500000000005715263373363022071 0ustar00tinatina'1st non-empty 2nd non-empty 3rd non-empty' YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HS5T/PaxHeaders/in.json0000644000000000000000000000013215263373363022243 xustar0030 mtime=1791882995.105035669 30 atime=1791882995.104943059 30 ctime=1791882995.105035669 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HS5T/in.json0000644000175000017500000000005515263373363021675 0ustar00tinatina"1st non-empty\n2nd non-empty 3rd non-empty" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HS5T/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022234 xustar0030 mtime=1791882995.104943059 30 atime=1791882995.104849192 30 ctime=1791882995.104943059 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HS5T/in.yaml0000644000175000017500000000005615263373363021667 0ustar00tinatina1st non-empty 2nd non-empty 3rd non-empty YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HS5T/PaxHeaders/===0000644000000000000000000000013215263373363021233 xustar0030 mtime=1791882995.030351385 30 atime=1791882995.030185231 30 ctime=1791882995.030351385 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HS5T/===0000644000175000017500000000003715263373363020665 0ustar00tinatinaSpec Example 7.12. Plain Lines YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/8QBE0000644000000000000000000000013215263373363020641 xustar0030 mtime=1791882995.177210891 30 atime=1791882995.030021592 30 ctime=1791882995.177210891 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8QBE/0000755000175000017500000000000015263373363020350 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8QBE/PaxHeaders/test.event0000644000000000000000000000013215263373363022740 xustar0030 mtime=1791882995.177317399 30 atime=1791882995.177210891 30 ctime=1791882995.177317399 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8QBE/test.event0000644000175000017500000000011215263373363022364 0ustar00tinatina+STR +DOC +MAP =VAL :key +SEQ =VAL :item1 =VAL :item2 -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8QBE/PaxHeaders/out.yaml0000644000000000000000000000013015263373363022407 xustar0029 mtime=1791882995.13790735 30 atime=1791882995.137813902 29 ctime=1791882995.13790735 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8QBE/out.yaml0000644000175000017500000000002515263373363022040 0ustar00tinatinakey: - item1 - item2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8QBE/PaxHeaders/in.json0000644000000000000000000000013215263373363022217 xustar0030 mtime=1791882995.104849192 30 atime=1791882995.104754766 30 ctime=1791882995.104849192 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8QBE/in.json0000644000175000017500000000005415263373363021650 0ustar00tinatina{ "key": [ "item1", "item2" ] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8QBE/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022207 xustar0030 mtime=1791882995.104754766 29 atime=1791882995.10465999 30 ctime=1791882995.104754766 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8QBE/in.yaml0000644000175000017500000000002715263373363021641 0ustar00tinatinakey: - item1 - item2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8QBE/PaxHeaders/===0000644000000000000000000000013215263373363021207 xustar0030 mtime=1791882995.030185231 30 atime=1791882995.030021592 30 ctime=1791882995.030185231 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8QBE/===0000644000175000017500000000004015263373363020633 0ustar00tinatinaBlock Sequence in Block Mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/8MK20000644000000000000000000000013215263373363020623 xustar0030 mtime=1791882995.177109131 30 atime=1791882995.029856487 30 ctime=1791882995.177109131 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8MK2/0000755000175000017500000000000015263373363020332 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8MK2/PaxHeaders/test.event0000644000000000000000000000013215263373363022722 xustar0030 mtime=1791882995.177210891 30 atime=1791882995.177109131 30 ctime=1791882995.177210891 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8MK2/test.event0000644000175000017500000000004015263373363022346 0ustar00tinatina+STR +DOC =VAL :a -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8MK2/PaxHeaders/in.json0000644000000000000000000000013015263373363022177 xustar0029 mtime=1791882995.10465999 30 atime=1791882995.104559349 29 ctime=1791882995.10465999 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8MK2/in.json0000644000175000017500000000000415263373363021625 0ustar00tinatina"a" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8MK2/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022172 xustar0030 mtime=1791882995.104559349 30 atime=1791882995.104465202 30 ctime=1791882995.104559349 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8MK2/in.yaml0000644000175000017500000000000415263373363021616 0ustar00tinatina! a YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8MK2/PaxHeaders/===0000644000000000000000000000013215263373363021171 xustar0030 mtime=1791882995.030021592 30 atime=1791882995.029856487 30 ctime=1791882995.030021592 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8MK2/===0000644000175000017500000000003215263373363020616 0ustar00tinatinaExplicit Non-Specific Tag YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/F8F90000644000000000000000000000013215263373363020616 xustar0030 mtime=1791882995.177015753 30 atime=1791882995.029694454 30 ctime=1791882995.177015753 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F8F9/0000755000175000017500000000000015263373363020325 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F8F9/PaxHeaders/test.event0000644000000000000000000000013215263373363022715 xustar0030 mtime=1791882995.177109131 30 atime=1791882995.177015753 30 ctime=1791882995.177109131 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F8F9/test.event0000644000175000017500000000015515263373363022350 0ustar00tinatina+STR +DOC +MAP =VAL :strip =VAL |# text =VAL :clip =VAL |# text\n =VAL :keep =VAL |# text\n\n -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F8F9/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022366 xustar0030 mtime=1791882995.137813902 30 atime=1791882995.137719336 30 ctime=1791882995.137813902 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F8F9/out.yaml0000644000175000017500000000007315263373363022020 0ustar00tinatinastrip: |- # text clip: | # text keep: |+ # text ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F8F9/PaxHeaders/in.json0000644000000000000000000000013215263373363022174 xustar0030 mtime=1791882995.104465202 30 atime=1791882995.104369449 30 ctime=1791882995.104465202 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F8F9/in.json0000644000175000017500000000010615263373363021623 0ustar00tinatina{ "strip": "# text", "clip": "# text\n", "keep": "# text\n\n" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F8F9/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022165 xustar0030 mtime=1791882995.104369449 30 atime=1791882995.104273626 30 ctime=1791882995.104369449 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F8F9/in.yaml0000644000175000017500000000023015263373363021612 0ustar00tinatina # Strip # Comments: strip: |- # text # Clip # comments: clip: | # text # Keep # comments: keep: |+ # text # Trail # comments. YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F8F9/PaxHeaders/===0000644000000000000000000000013215263373363021164 xustar0030 mtime=1791882995.029856487 30 atime=1791882995.029694454 30 ctime=1791882995.029856487 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F8F9/===0000644000175000017500000000005215263373363020613 0ustar00tinatinaSpec Example 8.5. Chomping Trailing Lines YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/DK4H0000644000000000000000000000013115263373363020633 xustar0030 mtime=1791882995.176922305 29 atime=1791882995.02953305 30 ctime=1791882995.176922305 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK4H/0000755000175000017500000000000015263373363020343 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK4H/PaxHeaders/test.event0000644000000000000000000000013215263373363022733 xustar0030 mtime=1791882995.177015753 30 atime=1791882995.176922305 30 ctime=1791882995.177015753 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK4H/test.event0000644000175000017500000000004015263373363022357 0ustar00tinatina+STR +DOC --- +SEQ [] =VAL :key YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK4H/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022203 xustar0030 mtime=1791882995.104273626 30 atime=1791882995.104177524 30 ctime=1791882995.104273626 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK4H/in.yaml0000644000175000017500000000002615263373363021633 0ustar00tinatina--- [ key : value ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK4H/PaxHeaders/error0000644000000000000000000000013215263373363021765 xustar0030 mtime=1791882995.055308887 30 atime=1791882995.055308887 30 ctime=1791882995.055396748 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK4H/error0000644000175000017500000000000015263373363021405 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK4H/PaxHeaders/===0000644000000000000000000000013115263373363021201 xustar0030 mtime=1791882995.029694454 29 atime=1791882995.02953305 30 ctime=1791882995.029694454 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK4H/===0000644000175000017500000000004115263373363020627 0ustar00tinatinaImplicit key followed by newline YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/P2AD0000644000000000000000000000013215263373363020630 xustar0030 mtime=1791882995.176828228 30 atime=1791882995.029367665 30 ctime=1791882995.176828228 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P2AD/0000755000175000017500000000000015263373363020337 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P2AD/PaxHeaders/test.event0000644000000000000000000000013215263373363022727 xustar0030 mtime=1791882995.176922305 30 atime=1791882995.176828228 30 ctime=1791882995.176922305 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P2AD/test.event0000644000175000017500000000013215263373363022355 0ustar00tinatina+STR +DOC +SEQ =VAL |literal\n =VAL > folded\n =VAL |keep\n\n =VAL > strip -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P2AD/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022400 xustar0030 mtime=1791882995.137719336 30 atime=1791882995.137626307 30 ctime=1791882995.137719336 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P2AD/out.yaml0000644000175000017500000000007115263373363022030 0ustar00tinatina- | literal - >2 folded - |+ keep - >2- strip YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P2AD/PaxHeaders/in.json0000644000000000000000000000013215263373363022206 xustar0030 mtime=1791882995.104177524 30 atime=1791882995.104072762 30 ctime=1791882995.104177524 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P2AD/in.json0000644000175000017500000000007315263373363021640 0ustar00tinatina[ "literal\n", " folded\n", "keep\n\n", " strip" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P2AD/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022177 xustar0030 mtime=1791882995.104072762 30 atime=1791882995.103977777 30 ctime=1791882995.104072762 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P2AD/in.yaml0000644000175000017500000000021715263373363021631 0ustar00tinatina- | # Empty header↓ literal - >1 # Indentation indicator↓ folded - |+ # Chomping indicator↓ keep - >1- # Both indicators↓ strip YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P2AD/PaxHeaders/===0000644000000000000000000000013015263373363021174 xustar0029 mtime=1791882995.02953305 30 atime=1791882995.029367665 29 ctime=1791882995.02953305 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P2AD/===0000644000175000017500000000004615263373363020630 0ustar00tinatinaSpec Example 8.1. Block Scalar Header YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/6H3V0000644000000000000000000000013015263373363020626 xustar0029 mtime=1791882995.17673478 30 atime=1791882995.029191734 29 ctime=1791882995.17673478 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6H3V/0000755000175000017500000000000015263373363020337 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6H3V/PaxHeaders/test.event0000644000000000000000000000013115263373363022726 xustar0030 mtime=1791882995.176828228 29 atime=1791882995.17673478 30 ctime=1791882995.176828228 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6H3V/test.event0000644000175000017500000000007215263373363022360 0ustar00tinatina+STR +DOC +MAP =VAL 'foo: bar\\ =VAL :baz' -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6H3V/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022400 xustar0030 mtime=1791882995.137626307 30 atime=1791882995.137534256 30 ctime=1791882995.137626307 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6H3V/out.yaml0000644000175000017500000000002215263373363022024 0ustar00tinatina'foo: bar\': baz' YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6H3V/PaxHeaders/in.json0000644000000000000000000000013215263373363022206 xustar0030 mtime=1791882995.103977777 30 atime=1791882995.103884748 30 ctime=1791882995.103977777 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6H3V/in.json0000644000175000017500000000003315263373363021634 0ustar00tinatina{ "foo: bar\\": "baz'" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6H3V/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022177 xustar0030 mtime=1791882995.103884748 30 atime=1791882995.103790322 30 ctime=1791882995.103884748 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6H3V/in.yaml0000644000175000017500000000002215263373363021623 0ustar00tinatina'foo: bar\': baz' YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6H3V/PaxHeaders/===0000644000000000000000000000013215263373363021176 xustar0030 mtime=1791882995.029367665 30 atime=1791882995.029191734 30 ctime=1791882995.029367665 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6H3V/===0000644000175000017500000000003415263373363020625 0ustar00tinatinaBackslashes in singlequotes YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/HMK40000644000000000000000000000013215263373363020645 xustar0030 mtime=1791882995.176641332 30 atime=1791882995.029009796 30 ctime=1791882995.176641332 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HMK4/0000755000175000017500000000000015263373363020354 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HMK4/PaxHeaders/test.event0000644000000000000000000000013015263373363022742 xustar0029 mtime=1791882995.17673478 30 atime=1791882995.176641332 29 ctime=1791882995.17673478 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HMK4/test.event0000644000175000017500000000030215263373363022371 0ustar00tinatina+STR +DOC +MAP =VAL :name =VAL :Mark McGwire =VAL :accomplishment =VAL >Mark set a major league home run record in 1998.\n =VAL :stats =VAL |65 Home Runs\n0.278 Batting Average\n -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HMK4/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022415 xustar0030 mtime=1791882995.137534256 30 atime=1791882995.137441436 30 ctime=1791882995.137534256 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HMK4/out.yaml0000644000175000017500000000021015263373363022040 0ustar00tinatinaname: Mark McGwire accomplishment: > Mark set a major league home run record in 1998. stats: | 65 Home Runs 0.278 Batting Average YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HMK4/PaxHeaders/in.json0000644000000000000000000000013215263373363022223 xustar0030 mtime=1791882995.103790322 30 atime=1791882995.103696874 30 ctime=1791882995.103790322 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HMK4/in.json0000644000175000017500000000023315263373363021653 0ustar00tinatina{ "name": "Mark McGwire", "accomplishment": "Mark set a major league home run record in 1998.\n", "stats": "65 Home Runs\n0.278 Batting Average\n" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HMK4/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022214 xustar0030 mtime=1791882995.103696874 30 atime=1791882995.103602029 30 ctime=1791882995.103696874 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HMK4/in.yaml0000644000175000017500000000021215263373363021641 0ustar00tinatinaname: Mark McGwire accomplishment: > Mark set a major league home run record in 1998. stats: | 65 Home Runs 0.278 Batting Average YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HMK4/PaxHeaders/===0000644000000000000000000000013215263373363021213 xustar0030 mtime=1791882995.029191734 30 atime=1791882995.029009796 30 ctime=1791882995.029191734 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HMK4/===0000644000175000017500000000006015263373363020641 0ustar00tinatinaSpec Example 2.16. Indentation determines scope YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/DMG60000644000000000000000000000013215263373363020637 xustar0030 mtime=1791882995.176547604 30 atime=1791882995.028845319 30 ctime=1791882995.176547604 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DMG6/0000755000175000017500000000000015263373363020346 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DMG6/PaxHeaders/test.event0000644000000000000000000000013215263373363022736 xustar0030 mtime=1791882995.176641332 30 atime=1791882995.176547604 30 ctime=1791882995.176641332 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DMG6/test.event0000644000175000017500000000006415263373363022370 0ustar00tinatina+STR +DOC +MAP =VAL :key +MAP =VAL :ok =VAL :1 -MAP YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DMG6/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022206 xustar0030 mtime=1791882995.103602029 30 atime=1791882995.103508092 30 ctime=1791882995.103602029 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DMG6/in.yaml0000644000175000017500000000002715263373363021637 0ustar00tinatinakey: ok: 1 wrong: 2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DMG6/PaxHeaders/error0000644000000000000000000000013215263373363021770 xustar0030 mtime=1791882995.055210271 30 atime=1791882995.055210271 30 ctime=1791882995.055308887 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DMG6/error0000644000175000017500000000000015263373363021410 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DMG6/PaxHeaders/===0000644000000000000000000000013215263373363021205 xustar0030 mtime=1791882995.029009796 30 atime=1791882995.028845319 30 ctime=1791882995.029009796 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DMG6/===0000644000175000017500000000003115263373363020631 0ustar00tinatinaWrong indendation in Map YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/4H7K0000644000000000000000000000013215263373363020617 xustar0030 mtime=1791882995.176451712 30 atime=1791882995.028682448 30 ctime=1791882995.176451712 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4H7K/0000755000175000017500000000000015263373363020326 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4H7K/PaxHeaders/test.event0000644000000000000000000000013215263373363022716 xustar0030 mtime=1791882995.176547604 30 atime=1791882995.176451712 30 ctime=1791882995.176547604 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4H7K/test.event0000644000175000017500000000006515263373363022351 0ustar00tinatina+STR +DOC --- +SEQ =VAL :a =VAL :b =VAL :c -SEQ -DOC YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4H7K/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022166 xustar0030 mtime=1791882995.103508092 30 atime=1791882995.103400326 30 ctime=1791882995.103508092 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4H7K/in.yaml0000644000175000017500000000002215263373363021612 0ustar00tinatina--- [ a, b, c ] ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4H7K/PaxHeaders/error0000644000000000000000000000013215263373363021750 xustar0030 mtime=1791882995.055090073 30 atime=1791882995.055090073 30 ctime=1791882995.055210271 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4H7K/error0000644000175000017500000000000015263373363021370 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4H7K/PaxHeaders/===0000644000000000000000000000013215263373363021165 xustar0030 mtime=1791882995.028845319 30 atime=1791882995.028682448 30 ctime=1791882995.028845319 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4H7K/===0000644000175000017500000000006115263373363020614 0ustar00tinatinaFlow sequence with invalid extra closing bracket YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/D49Q0000644000000000000000000000013215263373363020623 xustar0030 mtime=1791882995.176349603 30 atime=1791882995.028516853 30 ctime=1791882995.176349603 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D49Q/0000755000175000017500000000000015263373363020332 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D49Q/PaxHeaders/test.event0000644000000000000000000000013215263373363022722 xustar0030 mtime=1791882995.176451712 30 atime=1791882995.176349603 30 ctime=1791882995.176451712 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D49Q/test.event0000644000175000017500000000004315263373363022351 0ustar00tinatina+STR +DOC +MAP =VAL 'a\\nb =VAL :1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D49Q/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022172 xustar0030 mtime=1791882995.103400326 30 atime=1791882995.103310579 30 ctime=1791882995.103400326 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D49Q/in.yaml0000644000175000017500000000002415263373363021620 0ustar00tinatina'a\nb': 1 'c d': 1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D49Q/PaxHeaders/error0000644000000000000000000000013015263373363021752 xustar0029 mtime=1791882995.05500326 29 atime=1791882995.05500326 30 ctime=1791882995.055090073 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D49Q/error0000644000175000017500000000000015263373363021374 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D49Q/PaxHeaders/===0000644000000000000000000000013215263373363021171 xustar0030 mtime=1791882995.028682448 30 atime=1791882995.028516853 30 ctime=1791882995.028682448 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D49Q/===0000644000175000017500000000004615263373363020623 0ustar00tinatinaMultiline single quoted implicit keys YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/B3HG0000644000000000000000000000013215263373363020625 xustar0030 mtime=1791882995.175064586 30 atime=1791882995.028350281 30 ctime=1791882995.175064586 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/B3HG/0000755000175000017500000000000015263373363020334 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/B3HG/PaxHeaders/test.event0000644000000000000000000000013215263373363022724 xustar0030 mtime=1791882995.175167603 30 atime=1791882995.175064586 30 ctime=1791882995.175167603 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/B3HG/test.event0000644000175000017500000000005415263373363022355 0ustar00tinatina+STR +DOC --- =VAL >folded text\n -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/B3HG/PaxHeaders/emit.yaml0000644000000000000000000000013015263373363022522 xustar0029 mtime=1791882995.14935454 30 atime=1791882995.149254387 29 ctime=1791882995.14935454 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/B3HG/emit.yaml0000644000175000017500000000002415263373363022152 0ustar00tinatina--- > folded text YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/B3HG/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022375 xustar0030 mtime=1791882995.137441436 30 atime=1791882995.137348477 30 ctime=1791882995.137441436 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/B3HG/out.yaml0000644000175000017500000000002015263373363022017 0ustar00tinatina> folded text YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/B3HG/PaxHeaders/in.json0000644000000000000000000000013215263373363022203 xustar0030 mtime=1791882995.103310579 30 atime=1791882995.103228027 30 ctime=1791882995.103310579 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/B3HG/in.json0000644000175000017500000000002015263373363021625 0ustar00tinatina"folded text\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/B3HG/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022174 xustar0030 mtime=1791882995.103228027 30 atime=1791882995.103118724 30 ctime=1791882995.103228027 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/B3HG/in.yaml0000644000175000017500000000002615263373363021624 0ustar00tinatina--- > folded text YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/B3HG/PaxHeaders/===0000644000000000000000000000013215263373363021173 xustar0030 mtime=1791882995.028516853 30 atime=1791882995.028350281 30 ctime=1791882995.028516853 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/B3HG/===0000644000175000017500000000004615263373363020625 0ustar00tinatinaSpec Example 8.9. Folded Scalar [1.3] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/96L60000644000000000000000000000013215263373363020602 xustar0030 mtime=1791882995.174979729 30 atime=1791882995.028169112 30 ctime=1791882995.174979729 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96L6/0000755000175000017500000000000015263373363020311 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96L6/PaxHeaders/test.event0000644000000000000000000000013215263373363022701 xustar0030 mtime=1791882995.175064586 30 atime=1791882995.174979729 30 ctime=1791882995.175064586 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96L6/test.event0000644000175000017500000000012315263373363022327 0ustar00tinatina+STR +DOC --- =VAL >Mark McGwire's year was crippled by a knee injury.\n -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96L6/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022352 xustar0030 mtime=1791882995.137348477 30 atime=1791882995.137253353 30 ctime=1791882995.137348477 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96L6/out.yaml0000644000175000017500000000007315263373363022004 0ustar00tinatina--- > Mark McGwire's year was crippled by a knee injury. YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96L6/PaxHeaders/in.json0000644000000000000000000000013215263373363022160 xustar0030 mtime=1791882995.103118724 30 atime=1791882995.103024368 30 ctime=1791882995.103118724 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96L6/in.json0000644000175000017500000000006715263373363021615 0ustar00tinatina"Mark McGwire's year was crippled by a knee injury.\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96L6/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022151 xustar0030 mtime=1791882995.103024368 30 atime=1791882995.102929244 30 ctime=1791882995.103024368 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96L6/in.yaml0000644000175000017500000000007715263373363021607 0ustar00tinatina--- > Mark McGwire's year was crippled by a knee injury. YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96L6/PaxHeaders/===0000644000000000000000000000013215263373363021150 xustar0030 mtime=1791882995.028350281 30 atime=1791882995.028169112 30 ctime=1791882995.028350281 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/96L6/===0000644000175000017500000000010115263373363020572 0ustar00tinatinaSpec Example 2.14. In the folded scalars, newlines become spaces YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/JHB90000644000000000000000000000013215263373363020636 xustar0030 mtime=1791882995.174884814 30 atime=1791882995.028004984 30 ctime=1791882995.174884814 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JHB9/0000755000175000017500000000000015263373363020345 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JHB9/PaxHeaders/test.event0000644000000000000000000000013215263373363022735 xustar0030 mtime=1791882995.174979729 30 atime=1791882995.174884814 30 ctime=1791882995.174979729 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JHB9/test.event0000644000175000017500000000023415263373363022366 0ustar00tinatina+STR +DOC --- +SEQ =VAL :Mark McGwire =VAL :Sammy Sosa =VAL :Ken Griffey -SEQ -DOC +DOC --- +SEQ =VAL :Chicago Cubs =VAL :St Louis Cardinals -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JHB9/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022406 xustar0030 mtime=1791882995.137253353 30 atime=1791882995.137143771 30 ctime=1791882995.137253353 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JHB9/out.yaml0000644000175000017500000000012615263373363022037 0ustar00tinatina--- - Mark McGwire - Sammy Sosa - Ken Griffey --- - Chicago Cubs - St Louis Cardinals YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JHB9/PaxHeaders/in.json0000644000000000000000000000013215263373363022214 xustar0030 mtime=1791882995.102929244 30 atime=1791882995.102835866 30 ctime=1791882995.102929244 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JHB9/in.json0000644000175000017500000000014315263373363021644 0ustar00tinatina[ "Mark McGwire", "Sammy Sosa", "Ken Griffey" ] [ "Chicago Cubs", "St Louis Cardinals" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JHB9/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022205 xustar0030 mtime=1791882995.102835866 30 atime=1791882995.102739973 30 ctime=1791882995.102835866 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JHB9/in.yaml0000644000175000017500000000020215263373363021631 0ustar00tinatina# Ranking of 1998 home runs --- - Mark McGwire - Sammy Sosa - Ken Griffey # Team ranking --- - Chicago Cubs - St Louis Cardinals YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JHB9/PaxHeaders/===0000644000000000000000000000013215263373363021204 xustar0030 mtime=1791882995.028169112 30 atime=1791882995.028004984 30 ctime=1791882995.028169112 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JHB9/===0000644000175000017500000000005415263373363020635 0ustar00tinatinaSpec Example 2.7. Two Documents in a Stream YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/A2M40000644000000000000000000000013115263373363020604 xustar0030 mtime=1791882995.174797931 29 atime=1791882995.02786132 30 ctime=1791882995.174797931 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A2M4/0000755000175000017500000000000015263373363020314 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A2M4/PaxHeaders/test.event0000644000000000000000000000013215263373363022704 xustar0030 mtime=1791882995.174884814 30 atime=1791882995.174797931 30 ctime=1791882995.174884814 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A2M4/test.event0000644000175000017500000000012215263373363022331 0ustar00tinatina+STR +DOC +MAP =VAL :a +SEQ =VAL :b +SEQ =VAL :c =VAL :d -SEQ -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A2M4/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022355 xustar0030 mtime=1791882995.137143771 30 atime=1791882995.137037961 30 ctime=1791882995.137143771 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A2M4/out.yaml0000644000175000017500000000002315263373363022002 0ustar00tinatinaa: - b - - c - d YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A2M4/PaxHeaders/in.json0000644000000000000000000000013215263373363022163 xustar0030 mtime=1791882995.102739973 30 atime=1791882995.102645617 30 ctime=1791882995.102739973 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A2M4/in.json0000644000175000017500000000007315263373363021615 0ustar00tinatina{ "a": [ "b", [ "c", "d" ] ] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A2M4/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022154 xustar0030 mtime=1791882995.102645617 30 atime=1791882995.102550283 30 ctime=1791882995.102645617 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A2M4/in.yaml0000644000175000017500000000003415263373363021603 0ustar00tinatina? a : - b - - c - d YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A2M4/PaxHeaders/===0000644000000000000000000000013115263373363021152 xustar0030 mtime=1791882995.028004984 29 atime=1791882995.02786132 30 ctime=1791882995.028004984 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A2M4/===0000644000175000017500000000005115263373363020601 0ustar00tinatinaSpec Example 6.2. Indentation Indicators YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/K3WX0000644000000000000000000000013215263373363020676 xustar0030 mtime=1791882995.174704343 30 atime=1791882995.027695515 30 ctime=1791882995.174704343 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K3WX/0000755000175000017500000000000015263373363020405 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K3WX/PaxHeaders/test.event0000644000000000000000000000013215263373363022775 xustar0030 mtime=1791882995.174797931 30 atime=1791882995.174704343 30 ctime=1791882995.174797931 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K3WX/test.event0000644000175000017500000000007115263373363022425 0ustar00tinatina+STR +DOC --- +MAP {} =VAL "foo =VAL :bar -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K3WX/PaxHeaders/out.yaml0000644000000000000000000000013115263373363022445 xustar0030 mtime=1791882995.137037961 29 atime=1791882995.13694151 30 ctime=1791882995.137037961 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K3WX/out.yaml0000644000175000017500000000001715263373363022076 0ustar00tinatina--- "foo": bar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K3WX/PaxHeaders/in.json0000644000000000000000000000013215263373363022254 xustar0030 mtime=1791882995.102550283 30 atime=1791882995.102454949 30 ctime=1791882995.102550283 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K3WX/in.json0000644000175000017500000000002315263373363021701 0ustar00tinatina{ "foo": "bar" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K3WX/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022244 xustar0030 mtime=1791882995.102454949 29 atime=1791882995.10235752 30 ctime=1791882995.102454949 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K3WX/in.yaml0000644000175000017500000000003715263373363021677 0ustar00tinatina--- { "foo" # comment :bar } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K3WX/PaxHeaders/===0000644000000000000000000000013015263373363021242 xustar0029 mtime=1791882995.02786132 30 atime=1791882995.027695515 29 ctime=1791882995.02786132 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K3WX/===0000644000175000017500000000006415263373363020676 0ustar00tinatinaColon and adjacent value after comment on next line YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/65WH0000644000000000000000000000013215263373363020633 xustar0030 mtime=1791882995.174617949 30 atime=1791882995.027532924 30 ctime=1791882995.174617949 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/65WH/0000755000175000017500000000000015263373363020342 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/65WH/PaxHeaders/test.event0000644000000000000000000000013215263373363022732 xustar0030 mtime=1791882995.174704343 30 atime=1791882995.174617949 30 ctime=1791882995.174704343 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/65WH/test.event0000644000175000017500000000005015263373363022357 0ustar00tinatina+STR +DOC +SEQ =VAL :foo -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/65WH/PaxHeaders/in.json0000644000000000000000000000013015263373363022207 xustar0029 mtime=1791882995.10235752 30 atime=1791882995.102259323 29 ctime=1791882995.10235752 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/65WH/in.json0000644000175000017500000000001415263373363021636 0ustar00tinatina[ "foo" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/65WH/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022201 xustar0030 mtime=1791882995.102259323 29 atime=1791882995.10215037 30 ctime=1791882995.102259323 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/65WH/in.yaml0000644000175000017500000000000615263373363021630 0ustar00tinatina- foo YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/65WH/PaxHeaders/===0000644000000000000000000000013215263373363021201 xustar0030 mtime=1791882995.027695515 30 atime=1791882995.027532924 30 ctime=1791882995.027695515 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/65WH/===0000644000175000017500000000003415263373363020630 0ustar00tinatinaSingle Entry Block Sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/6SLA0000644000000000000000000000013215263373363020647 xustar0030 mtime=1791882995.174518355 30 atime=1791882995.027370263 30 ctime=1791882995.174518355 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6SLA/0000755000175000017500000000000015263373363020356 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6SLA/PaxHeaders/test.event0000644000000000000000000000013215263373363022746 xustar0030 mtime=1791882995.174617949 30 atime=1791882995.174518355 30 ctime=1791882995.174617949 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6SLA/test.event0000644000175000017500000000015415263373363022400 0ustar00tinatina+STR +DOC +MAP =VAL "foo\nbar:baz\tx \\$%^&*()x =VAL :23 =VAL 'x\\ny:z\\tx $%^&*()x =VAL :24 -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6SLA/PaxHeaders/out.yaml0000644000000000000000000000013015263373363022415 xustar0029 mtime=1791882995.13694151 30 atime=1791882995.136846595 29 ctime=1791882995.13694151 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6SLA/out.yaml0000644000175000017500000000007515263373363022053 0ustar00tinatina? "foo\nbar:baz\tx \\$%^&*()x" : 23 'x\ny:z\tx $%^&*()x': 24 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6SLA/PaxHeaders/in.json0000644000000000000000000000013015263373363022223 xustar0029 mtime=1791882995.10215037 30 atime=1791882995.102043652 29 ctime=1791882995.10215037 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6SLA/in.json0000644000175000017500000000010515263373363021653 0ustar00tinatina{ "foo\nbar:baz\tx \\$%^&*()x": 23, "x\\ny:z\\tx $%^&*()x": 24 } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6SLA/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022216 xustar0030 mtime=1791882995.102043652 30 atime=1791882995.101949156 30 ctime=1791882995.102043652 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6SLA/in.yaml0000644000175000017500000000007215263373363021647 0ustar00tinatina"foo\nbar:baz\tx \\$%^&*()x": 23 'x\ny:z\tx $%^&*()x': 24 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6SLA/PaxHeaders/===0000644000000000000000000000013215263373363021215 xustar0030 mtime=1791882995.027532924 30 atime=1791882995.027370263 30 ctime=1791882995.027532924 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6SLA/===0000644000175000017500000000005115263373363020643 0ustar00tinatinaAllowed characters in quoted mapping key YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/33X30000644000000000000000000000013015263373363020600 xustar0029 mtime=1791882995.17443217 30 atime=1791882995.027207602 29 ctime=1791882995.17443217 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/33X3/0000755000175000017500000000000015263373363020311 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/33X3/PaxHeaders/test.event0000644000000000000000000000013115263373363022700 xustar0030 mtime=1791882995.174518355 29 atime=1791882995.17443217 30 ctime=1791882995.174518355 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/33X3/test.event0000644000175000017500000000020415263373363022327 0ustar00tinatina+STR +DOC --- +SEQ =VAL :1 =VAL :-2 =VAL :33 -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/33X3/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022352 xustar0030 mtime=1791882995.136846595 30 atime=1791882995.136752239 30 ctime=1791882995.136846595 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/33X3/out.yaml0000644000175000017500000000004415263373363022002 0ustar00tinatina--- - !!int 1 - !!int -2 - !!int 33 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/33X3/PaxHeaders/in.json0000644000000000000000000000013215263373363022160 xustar0030 mtime=1791882995.101949156 30 atime=1791882995.101857174 30 ctime=1791882995.101949156 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/33X3/in.json0000644000175000017500000000002415263373363021606 0ustar00tinatina[ 1, -2, 33 ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/33X3/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022151 xustar0030 mtime=1791882995.101857174 30 atime=1791882995.101763656 30 ctime=1791882995.101857174 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/33X3/in.yaml0000644000175000017500000000004415263373363021601 0ustar00tinatina--- - !!int 1 - !!int -2 - !!int 33 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/33X3/PaxHeaders/===0000644000000000000000000000013215263373363021150 xustar0030 mtime=1791882995.027370263 30 atime=1791882995.027207602 30 ctime=1791882995.027370263 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/33X3/===0000644000175000017500000000005415263373363020601 0ustar00tinatinaThree explicit integers in a block sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/AZW30000644000000000000000000000013215263373363020666 xustar0030 mtime=1791882995.174336766 30 atime=1791882995.027037118 30 ctime=1791882995.174336766 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AZW3/0000755000175000017500000000000015263373363020375 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AZW3/PaxHeaders/test.event0000644000000000000000000000013015263373363022763 xustar0029 mtime=1791882995.17443217 30 atime=1791882995.174336766 29 ctime=1791882995.17443217 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AZW3/test.event0000644000175000017500000000014415263373363022416 0ustar00tinatina+STR +DOC +SEQ +MAP =VAL :bla"keks =VAL :foo -MAP +MAP =VAL :bla]keks =VAL :foo -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AZW3/PaxHeaders/in.json0000644000000000000000000000013215263373363022244 xustar0030 mtime=1791882995.101763656 30 atime=1791882995.101671186 30 ctime=1791882995.101763656 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AZW3/in.json0000644000175000017500000000010215263373363021667 0ustar00tinatina[ { "bla\"keks": "foo" }, { "bla]keks": "foo" } ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AZW3/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022233 xustar0030 mtime=1791882995.101671186 28 atime=1791882995.1015769 30 ctime=1791882995.101671186 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AZW3/in.yaml0000644000175000017500000000004015263373363021661 0ustar00tinatina- bla"keks: foo - bla]keks: foo YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AZW3/PaxHeaders/===0000644000000000000000000000013215263373363021234 xustar0030 mtime=1791882995.027207602 30 atime=1791882995.027037118 30 ctime=1791882995.027207602 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AZW3/===0000644000175000017500000000002515263373363020663 0ustar00tinatinaLookahead test cases YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/6M2F0000644000000000000000000000013215263373363020614 xustar0030 mtime=1791882995.174251978 30 atime=1791882995.026873479 30 ctime=1791882995.174251978 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6M2F/0000755000175000017500000000000015263373363020323 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6M2F/PaxHeaders/test.event0000644000000000000000000000013215263373363022713 xustar0030 mtime=1791882995.174336766 30 atime=1791882995.174251978 30 ctime=1791882995.174336766 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6M2F/test.event0000644000175000017500000000010315263373363022337 0ustar00tinatina+STR +DOC +MAP =VAL &a :a =VAL &b :b =VAL : =ALI *a -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6M2F/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022364 xustar0030 mtime=1791882995.136752239 30 atime=1791882995.136655648 30 ctime=1791882995.136752239 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6M2F/out.yaml0000644000175000017500000000002015263373363022006 0ustar00tinatina&a a: &b b : *a YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6M2F/PaxHeaders/in.yaml0000644000000000000000000000012615263373363022166 xustar0028 mtime=1791882995.1015769 30 atime=1791882995.101481007 28 ctime=1791882995.1015769 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6M2F/in.yaml0000644000175000017500000000002315263373363021610 0ustar00tinatina? &a a : &b b : *a YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6M2F/PaxHeaders/===0000644000000000000000000000013215263373363021162 xustar0030 mtime=1791882995.027037118 30 atime=1791882995.026873479 30 ctime=1791882995.027037118 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6M2F/===0000644000175000017500000000004215263373363020610 0ustar00tinatinaAliases in Explicit Block Mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/ZH7C0000644000000000000000000000013215263373363020655 xustar0030 mtime=1791882995.174156924 30 atime=1791882995.026699992 30 ctime=1791882995.174156924 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZH7C/0000755000175000017500000000000015263373363020364 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZH7C/PaxHeaders/test.event0000644000000000000000000000013215263373363022754 xustar0030 mtime=1791882995.174251978 30 atime=1791882995.174156924 30 ctime=1791882995.174251978 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZH7C/test.event0000644000175000017500000000010415263373363022401 0ustar00tinatina+STR +DOC +MAP =VAL &a :a =VAL :b =VAL :c =VAL &d :d -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZH7C/PaxHeaders/in.json0000644000000000000000000000013215263373363022233 xustar0030 mtime=1791882995.101481007 30 atime=1791882995.101386162 30 ctime=1791882995.101481007 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZH7C/in.json0000644000175000017500000000003315263373363021661 0ustar00tinatina{ "a": "b", "c": "d" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZH7C/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022224 xustar0030 mtime=1791882995.101386162 30 atime=1791882995.101290688 30 ctime=1791882995.101386162 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZH7C/in.yaml0000644000175000017500000000002015263373363021646 0ustar00tinatina&a a: b c: &d d YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZH7C/PaxHeaders/===0000644000000000000000000000013215263373363021223 xustar0030 mtime=1791882995.026873479 30 atime=1791882995.026699992 30 ctime=1791882995.026873479 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZH7C/===0000644000175000017500000000002315263373363020650 0ustar00tinatinaAnchors in Mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/NAT40000644000000000000000000000013015263373363020646 xustar0029 mtime=1791882995.17404378 30 atime=1791882995.026531813 29 ctime=1791882995.17404378 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NAT4/0000755000175000017500000000000015263373363020357 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NAT4/PaxHeaders/test.event0000644000000000000000000000013115263373363022746 xustar0030 mtime=1791882995.174156924 29 atime=1791882995.17404378 30 ctime=1791882995.174156924 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NAT4/test.event0000644000175000017500000000025215263373363022400 0ustar00tinatina+STR +DOC --- +MAP =VAL :a =VAL ' =VAL :b =VAL ' =VAL :c =VAL " =VAL :d =VAL " =VAL :e =VAL '\n =VAL :f =VAL "\n =VAL :g =VAL '\n\n =VAL :h =VAL "\n\n -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NAT4/PaxHeaders/emit.yaml0000644000000000000000000000013115263373363022546 xustar0030 mtime=1791882995.149254387 29 atime=1791882995.14916045 30 ctime=1791882995.149254387 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NAT4/emit.yaml0000644000175000017500000000010715263373363022177 0ustar00tinatina--- a: ' ' b: ' ' c: " " d: " " e: ' ' f: "\n" g: ' ' h: "\n\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NAT4/PaxHeaders/in.json0000644000000000000000000000013215263373363022226 xustar0030 mtime=1791882995.101290688 30 atime=1791882995.101195215 30 ctime=1791882995.101290688 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NAT4/in.json0000644000175000017500000000015315263373363021657 0ustar00tinatina{ "a": " ", "b": " ", "c": " ", "d": " ", "e": "\n", "f": "\n", "g": "\n\n", "h": "\n\n" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NAT4/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022215 xustar0030 mtime=1791882995.101195215 28 atime=1791882995.1010915 30 ctime=1791882995.101195215 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NAT4/in.yaml0000644000175000017500000000012615263373363021650 0ustar00tinatina--- a: ' ' b: ' ' c: " " d: " " e: ' ' f: " " g: ' ' h: " " YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NAT4/PaxHeaders/===0000644000000000000000000000013215263373363021216 xustar0030 mtime=1791882995.026699992 30 atime=1791882995.026531813 30 ctime=1791882995.026699992 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NAT4/===0000644000175000017500000000005515263373363020650 0ustar00tinatinaVarious empty or newline only quoted strings YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/N4JP0000644000000000000000000000013215263373363020655 xustar0030 mtime=1791882995.173948726 30 atime=1791882995.026364543 30 ctime=1791882995.173948726 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/N4JP/0000755000175000017500000000000015263373363020364 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/N4JP/PaxHeaders/test.event0000644000000000000000000000013015263373363022752 xustar0029 mtime=1791882995.17404378 30 atime=1791882995.173948726 29 ctime=1791882995.17404378 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/N4JP/test.event0000644000175000017500000000007415263373363022407 0ustar00tinatina+STR +DOC +MAP =VAL :map +MAP =VAL :key1 =VAL "quoted1 -MAP YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/N4JP/PaxHeaders/in.yaml0000644000000000000000000000012615263373363022227 xustar0028 mtime=1791882995.1010915 30 atime=1791882995.100997284 28 ctime=1791882995.1010915 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/N4JP/in.yaml0000644000175000017500000000006015263373363021652 0ustar00tinatinamap: key1: "quoted1" key2: "bad indentation" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/N4JP/PaxHeaders/error0000644000000000000000000000013115263373363022005 xustar0030 mtime=1791882995.054916098 30 atime=1791882995.054916098 29 ctime=1791882995.05500326 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/N4JP/error0000644000175000017500000000000015263373363021426 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/N4JP/PaxHeaders/===0000644000000000000000000000013215263373363021223 xustar0030 mtime=1791882995.026531813 30 atime=1791882995.026364543 30 ctime=1791882995.026531813 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/N4JP/===0000644000175000017500000000003315263373363020651 0ustar00tinatinaBad indentation in mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/CFD40000644000000000000000000000013215263373363020622 xustar0030 mtime=1791882995.173853951 30 atime=1791882995.026193989 30 ctime=1791882995.173853951 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CFD4/0000755000175000017500000000000015263373363020331 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CFD4/PaxHeaders/test.event0000644000000000000000000000013215263373363022721 xustar0030 mtime=1791882995.173948726 30 atime=1791882995.173853951 30 ctime=1791882995.173948726 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CFD4/test.event0000644000175000017500000000021015263373363022344 0ustar00tinatina+STR +DOC +SEQ +SEQ [] +MAP {} =VAL : =VAL :empty key -MAP -SEQ +SEQ [] +MAP {} =VAL : =VAL :another empty key -MAP -SEQ -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CFD4/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022372 xustar0030 mtime=1791882995.136655648 30 atime=1791882995.136562269 30 ctime=1791882995.136655648 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CFD4/out.yaml0000644000175000017500000000005015263373363022017 0ustar00tinatina- - : empty key - - : another empty key YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CFD4/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022171 xustar0030 mtime=1791882995.100997284 30 atime=1791882995.100900413 30 ctime=1791882995.100997284 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CFD4/in.yaml0000644000175000017500000000005215263373363021620 0ustar00tinatina- [ : empty key ] - [: another empty key] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CFD4/PaxHeaders/===0000644000000000000000000000013215263373363021170 xustar0030 mtime=1791882995.026364543 30 atime=1791882995.026193989 30 ctime=1791882995.026364543 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CFD4/===0000644000175000017500000000006115263373363020617 0ustar00tinatinaEmpty implicit key in single pair flow sequences YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/S7BG0000644000000000000000000000013115263373363020643 xustar0030 mtime=1791882995.173760014 29 atime=1791882995.02599508 30 ctime=1791882995.173760014 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S7BG/0000755000175000017500000000000015263373363020353 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S7BG/PaxHeaders/test.event0000644000000000000000000000013215263373363022743 xustar0030 mtime=1791882995.173853951 30 atime=1791882995.173760014 30 ctime=1791882995.173853951 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S7BG/test.event0000644000175000017500000000005315263373363022373 0ustar00tinatina+STR +DOC --- +SEQ =VAL ::, -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S7BG/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022414 xustar0030 mtime=1791882995.136562269 30 atime=1791882995.136465958 30 ctime=1791882995.136562269 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S7BG/out.yaml0000644000175000017500000000001115263373363022036 0ustar00tinatina--- - :, YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S7BG/PaxHeaders/in.json0000644000000000000000000000013215263373363022222 xustar0030 mtime=1791882995.100900413 30 atime=1791882995.100807384 30 ctime=1791882995.100900413 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S7BG/in.json0000644000175000017500000000001315263373363021646 0ustar00tinatina[ ":," ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S7BG/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022212 xustar0030 mtime=1791882995.100807384 29 atime=1791882995.10071198 30 ctime=1791882995.100807384 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S7BG/in.yaml0000644000175000017500000000001115263373363021635 0ustar00tinatina--- - :, YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S7BG/PaxHeaders/===0000644000000000000000000000013115263373363021211 xustar0030 mtime=1791882995.026193989 29 atime=1791882995.02599508 30 ctime=1791882995.026193989 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S7BG/===0000644000175000017500000000003015263373363020635 0ustar00tinatinaColon followed by comma YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/CVW20000644000000000000000000000013215263373363020663 xustar0030 mtime=1791882995.173665588 30 atime=1791882995.025829067 30 ctime=1791882995.173665588 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CVW2/0000755000175000017500000000000015263373363020372 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CVW2/PaxHeaders/test.event0000644000000000000000000000013215263373363022762 xustar0030 mtime=1791882995.173760014 30 atime=1791882995.173665588 30 ctime=1791882995.173760014 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CVW2/test.event0000644000175000017500000000005615263373363022415 0ustar00tinatina+STR +DOC --- +SEQ [] =VAL :a =VAL :b =VAL :c YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CVW2/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022230 xustar0029 mtime=1791882995.10071198 30 atime=1791882995.100610291 29 ctime=1791882995.10071198 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CVW2/in.yaml0000644000175000017500000000003115263373363021656 0ustar00tinatina--- [ a, b, c,#invalid ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CVW2/PaxHeaders/error0000644000000000000000000000013215263373363022014 xustar0030 mtime=1791882995.054827329 30 atime=1791882995.054827329 30 ctime=1791882995.054916098 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CVW2/error0000644000175000017500000000000015263373363021434 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CVW2/PaxHeaders/===0000644000000000000000000000013015263373363021227 xustar0029 mtime=1791882995.02599508 30 atime=1791882995.025829067 29 ctime=1791882995.02599508 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CVW2/===0000644000175000017500000000003415263373363020660 0ustar00tinatinaInvalid comment after comma YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/KSS40000644000000000000000000000013015263373363020664 xustar0029 mtime=1791882995.17357207 30 atime=1791882995.025663402 29 ctime=1791882995.17357207 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KSS4/0000755000175000017500000000000015263373363020375 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KSS4/PaxHeaders/test.event0000644000000000000000000000013115263373363022764 xustar0030 mtime=1791882995.173665588 29 atime=1791882995.17357207 30 ctime=1791882995.173665588 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KSS4/test.event0000644000175000017500000000011215263373363022411 0ustar00tinatina+STR +DOC --- =VAL "quoted string -DOC +DOC --- =VAL &node :foo -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KSS4/PaxHeaders/emit.yaml0000644000000000000000000000012715263373363022571 xustar0029 mtime=1791882995.14916045 29 atime=1791882995.14905464 29 ctime=1791882995.14916045 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KSS4/emit.yaml0000644000175000017500000000004215263373363022213 0ustar00tinatina--- "quoted string" --- &node foo YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KSS4/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022436 xustar0030 mtime=1791882995.136465958 30 atime=1791882995.136371043 30 ctime=1791882995.136465958 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KSS4/out.yaml0000644000175000017500000000004615263373363022070 0ustar00tinatina--- "quoted string" --- &node foo ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KSS4/PaxHeaders/in.json0000644000000000000000000000013215263373363022244 xustar0030 mtime=1791882995.100610291 30 atime=1791882995.100515167 30 ctime=1791882995.100610291 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KSS4/in.json0000644000175000017500000000002615263373363021674 0ustar00tinatina"quoted string" "foo" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KSS4/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022235 xustar0030 mtime=1791882995.100515167 30 atime=1791882995.100420252 30 ctime=1791882995.100515167 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KSS4/in.yaml0000644000175000017500000000004215263373363021663 0ustar00tinatina--- "quoted string" --- &node foo YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KSS4/PaxHeaders/===0000644000000000000000000000013215263373363021234 xustar0030 mtime=1791882995.025829067 30 atime=1791882995.025663402 30 ctime=1791882995.025829067 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KSS4/===0000644000175000017500000000002415263373363020662 0ustar00tinatinaScalars on --- line YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/6S550000644000000000000000000000013215263373363020604 xustar0030 mtime=1791882995.173478133 30 atime=1791882995.025497109 30 ctime=1791882995.173478133 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6S55/0000755000175000017500000000000015263373363020313 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6S55/PaxHeaders/test.event0000644000000000000000000000013015263373363022701 xustar0029 mtime=1791882995.17357207 30 atime=1791882995.173478133 29 ctime=1791882995.17357207 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6S55/test.event0000644000175000017500000000006215263373363022333 0ustar00tinatina+STR +DOC +MAP =VAL :key +SEQ =VAL :bar =VAL :baz YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6S55/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022153 xustar0030 mtime=1791882995.100420252 30 atime=1791882995.100325267 30 ctime=1791882995.100420252 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6S55/in.yaml0000644000175000017500000000003415263373363021602 0ustar00tinatinakey: - bar - baz invalid YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6S55/PaxHeaders/error0000644000000000000000000000013215263373363021735 xustar0030 mtime=1791882995.054739049 30 atime=1791882995.054739049 30 ctime=1791882995.054827329 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6S55/error0000644000175000017500000000000015263373363021355 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6S55/PaxHeaders/===0000644000000000000000000000013215263373363021152 xustar0030 mtime=1791882995.025663402 30 atime=1791882995.025497109 30 ctime=1791882995.025663402 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6S55/===0000644000175000017500000000004615263373363020604 0ustar00tinatinaInvalid scalar at the end of sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/P76L0000644000000000000000000000013215263373363020632 xustar0030 mtime=1791882995.173383916 30 atime=1791882995.025329838 30 ctime=1791882995.173383916 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P76L/0000755000175000017500000000000015263373363020341 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P76L/PaxHeaders/test.event0000644000000000000000000000013215263373363022731 xustar0030 mtime=1791882995.173478133 30 atime=1791882995.173383916 30 ctime=1791882995.173478133 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P76L/test.event0000644000175000017500000000010315263373363022355 0ustar00tinatina+STR +DOC --- =VAL :1 - 3 -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P76L/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022402 xustar0030 mtime=1791882995.136371043 30 atime=1791882995.136270052 30 ctime=1791882995.136371043 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P76L/out.yaml0000644000175000017500000000005215263373363022031 0ustar00tinatina--- ! 1 - 3 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P76L/PaxHeaders/in.json0000644000000000000000000000013115263373363022207 xustar0030 mtime=1791882995.100325267 29 atime=1791882995.10023133 30 ctime=1791882995.100325267 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P76L/in.json0000644000175000017500000000001015263373363021631 0ustar00tinatina"1 - 3" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P76L/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022177 xustar0029 mtime=1791882995.10023133 30 atime=1791882995.100125799 29 ctime=1791882995.10023133 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P76L/in.yaml0000644000175000017500000000011215263373363021625 0ustar00tinatina%TAG !! tag:example.com,2000:app/ --- !!int 1 - 3 # Interval, not integer YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P76L/PaxHeaders/===0000644000000000000000000000013215263373363021200 xustar0030 mtime=1791882995.025497109 30 atime=1791882995.025329838 30 ctime=1791882995.025497109 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P76L/===0000644000175000017500000000005015263373363020625 0ustar00tinatinaSpec Example 6.19. Secondary Tag Handle YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/R4YG0000644000000000000000000000013215263373363020667 xustar0030 mtime=1791882995.173286627 30 atime=1791882995.025145107 30 ctime=1791882995.173286627 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/R4YG/0000755000175000017500000000000015263373363020376 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/R4YG/PaxHeaders/test.event0000644000000000000000000000013215263373363022766 xustar0030 mtime=1791882995.173383916 30 atime=1791882995.173286627 30 ctime=1791882995.173383916 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/R4YG/test.event0000644000175000017500000000015515263373363022421 0ustar00tinatina+STR +DOC +SEQ =VAL |detected\n =VAL >\n\n# detected\n =VAL | explicit\n =VAL >\t\ndetected\n -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/R4YG/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022437 xustar0030 mtime=1791882995.136270052 30 atime=1791882995.136168013 30 ctime=1791882995.136270052 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/R4YG/out.yaml0000644000175000017500000000010715263373363022067 0ustar00tinatina- | detected - >2 # detected - |2 explicit - "\t\ndetected\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/R4YG/PaxHeaders/in.json0000644000000000000000000000013215263373363022245 xustar0030 mtime=1791882995.100125799 30 atime=1791882995.100032072 30 ctime=1791882995.100125799 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/R4YG/in.json0000644000175000017500000000011615263373363021675 0ustar00tinatina[ "detected\n", "\n\n# detected\n", " explicit\n", "\t\ndetected\n" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/R4YG/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022236 xustar0030 mtime=1791882995.100032072 30 atime=1791882995.099937855 30 ctime=1791882995.100032072 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/R4YG/in.yaml0000644000175000017500000000010515263373363021664 0ustar00tinatina- | detected - > # detected - |1 explicit - > detected YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/R4YG/PaxHeaders/===0000644000000000000000000000013215263373363021235 xustar0030 mtime=1791882995.025329838 30 atime=1791882995.025145107 30 ctime=1791882995.025329838 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/R4YG/===0000644000175000017500000000005615263373363020670 0ustar00tinatinaSpec Example 8.2. Block Indentation Indicator YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/9YRD0000644000000000000000000000013215263373363020671 xustar0030 mtime=1791882995.173184868 30 atime=1791882995.024970084 30 ctime=1791882995.173184868 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9YRD/0000755000175000017500000000000015263373363020400 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9YRD/PaxHeaders/test.event0000644000000000000000000000013215263373363022770 xustar0030 mtime=1791882995.173286627 30 atime=1791882995.173184868 30 ctime=1791882995.173286627 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9YRD/test.event0000644000175000017500000000004515263373363022421 0ustar00tinatina+STR +DOC =VAL :a b c d\ne -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9YRD/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022441 xustar0030 mtime=1791882995.136168013 30 atime=1791882995.136062413 30 ctime=1791882995.136168013 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9YRD/out.yaml0000644000175000017500000000001715263373363022071 0ustar00tinatina'a b c d e' YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9YRD/PaxHeaders/in.json0000644000000000000000000000013215263373363022247 xustar0030 mtime=1791882995.099937855 30 atime=1791882995.099844896 30 ctime=1791882995.099937855 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9YRD/in.json0000644000175000017500000000001515263373363021675 0ustar00tinatina"a b c d\ne" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9YRD/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022240 xustar0030 mtime=1791882995.099844896 30 atime=1791882995.099749981 30 ctime=1791882995.099844896 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9YRD/in.yaml0000644000175000017500000000001715263373363021670 0ustar00tinatinaa b c d e YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9YRD/PaxHeaders/===0000644000000000000000000000013215263373363021237 xustar0030 mtime=1791882995.025145107 30 atime=1791882995.024970084 30 ctime=1791882995.025145107 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9YRD/===0000644000175000017500000000003615263373363020670 0ustar00tinatinaMultiline Scalar at Top Level YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/6CA30000644000000000000000000000013215263373363020576 xustar0030 mtime=1791882995.173077521 30 atime=1791882995.024814197 30 ctime=1791882995.173077521 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6CA3/0000755000175000017500000000000015263373363020305 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6CA3/PaxHeaders/test.event0000644000000000000000000000013215263373363022675 xustar0030 mtime=1791882995.173184868 30 atime=1791882995.173077521 30 ctime=1791882995.173184868 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6CA3/test.event0000644000175000017500000000004115263373363022322 0ustar00tinatina+STR +DOC +SEQ [] -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6CA3/PaxHeaders/emit.yaml0000644000000000000000000000013015263373363022473 xustar0029 mtime=1791882995.14905464 30 atime=1791882995.148959236 29 ctime=1791882995.14905464 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6CA3/emit.yaml0000644000175000017500000000000715263373363022124 0ustar00tinatina--- [] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6CA3/PaxHeaders/in.json0000644000000000000000000000013215263373363022154 xustar0030 mtime=1791882995.099749981 30 atime=1791882995.099657371 30 ctime=1791882995.099749981 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6CA3/in.json0000644000175000017500000000000315263373363021577 0ustar00tinatina[] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6CA3/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022145 xustar0030 mtime=1791882995.099657371 30 atime=1791882995.099563015 30 ctime=1791882995.099657371 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6CA3/in.yaml0000644000175000017500000000000615263373363021573 0ustar00tinatina [ ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6CA3/PaxHeaders/===0000644000000000000000000000013215263373363021144 xustar0030 mtime=1791882995.024970084 30 atime=1791882995.024814197 30 ctime=1791882995.024970084 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6CA3/===0000644000175000017500000000002615263373363020574 0ustar00tinatinaTab indented top flow YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/Q9WF0000644000000000000000000000013215263373363020670 xustar0030 mtime=1791882995.172693531 30 atime=1791882995.024668438 30 ctime=1791882995.172693531 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q9WF/0000755000175000017500000000000015263373363020377 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q9WF/PaxHeaders/test.event0000644000000000000000000000013215263373363022767 xustar0030 mtime=1791882995.172789424 30 atime=1791882995.172693531 30 ctime=1791882995.172789424 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q9WF/test.event0000644000175000017500000000021315263373363022415 0ustar00tinatina+STR +DOC +MAP +MAP {} =VAL :first =VAL :Sammy =VAL :last =VAL :Sosa -MAP +MAP =VAL :hr =VAL :65 =VAL :avg =VAL :0.278 -MAP -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q9WF/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022440 xustar0030 mtime=1791882995.136062413 30 atime=1791882995.135965612 30 ctime=1791882995.136062413 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q9WF/out.yaml0000644000175000017500000000006215263373363022070 0ustar00tinatina? first: Sammy last: Sosa : hr: 65 avg: 0.278 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q9WF/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022237 xustar0030 mtime=1791882995.099563015 30 atime=1791882995.099467751 30 ctime=1791882995.099563015 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q9WF/in.yaml0000644000175000017500000000014115263373363021665 0ustar00tinatina{ first: Sammy, last: Sosa }: # Statistics: hr: # Home runs 65 avg: # Average 0.278 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q9WF/PaxHeaders/===0000644000000000000000000000013215263373363021236 xustar0030 mtime=1791882995.024814197 30 atime=1791882995.024668438 30 ctime=1791882995.024814197 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q9WF/===0000644000175000017500000000004515263373363020667 0ustar00tinatinaSpec Example 6.12. Separation Spaces YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/KS4U0000644000000000000000000000013215263373363020670 xustar0030 mtime=1791882995.172597499 30 atime=1791882995.024511294 30 ctime=1791882995.172597499 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KS4U/0000755000175000017500000000000015263373363020377 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KS4U/PaxHeaders/test.event0000644000000000000000000000013215263373363022767 xustar0030 mtime=1791882995.172693531 30 atime=1791882995.172597499 30 ctime=1791882995.172693531 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KS4U/test.event0000644000175000017500000000005715263373363022423 0ustar00tinatina+STR +DOC --- +SEQ [] =VAL :sequence item -SEQ YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KS4U/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022236 xustar0030 mtime=1791882995.099467751 29 atime=1791882995.09937095 30 ctime=1791882995.099467751 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KS4U/in.yaml0000644000175000017500000000004315263373363021666 0ustar00tinatina--- [ sequence item ] invalid item YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KS4U/PaxHeaders/error0000644000000000000000000000013015263373363022017 xustar0029 mtime=1791882995.05465028 29 atime=1791882995.05465028 30 ctime=1791882995.054739049 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KS4U/error0000644000175000017500000000000015263373363021441 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KS4U/PaxHeaders/===0000644000000000000000000000013215263373363021236 xustar0030 mtime=1791882995.024668438 30 atime=1791882995.024511294 30 ctime=1791882995.024668438 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KS4U/===0000644000175000017500000000005015263373363020663 0ustar00tinatinaInvalid item after end of flow sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/7A4E0000644000000000000000000000013115263373363020601 xustar0030 mtime=1791882995.172503143 29 atime=1791882995.02435876 30 ctime=1791882995.172503143 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7A4E/0000755000175000017500000000000015263373363020311 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7A4E/PaxHeaders/test.event0000644000000000000000000000013215263373363022701 xustar0030 mtime=1791882995.172597499 30 atime=1791882995.172503143 30 ctime=1791882995.172597499 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7A4E/test.event0000644000175000017500000000010715263373363022331 0ustar00tinatina+STR +DOC =VAL " 1st non-empty\n2nd non-empty 3rd non-empty -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7A4E/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022352 xustar0030 mtime=1791882995.135965612 30 atime=1791882995.135872094 30 ctime=1791882995.135965612 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7A4E/out.yaml0000644000175000017500000000005715263373363022006 0ustar00tinatina" 1st non-empty\n2nd non-empty 3rd non-empty " YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7A4E/PaxHeaders/in.json0000644000000000000000000000013015263373363022156 xustar0029 mtime=1791882995.09937095 30 atime=1791882995.099275547 29 ctime=1791882995.09937095 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7A4E/in.json0000644000175000017500000000005715263373363021614 0ustar00tinatina" 1st non-empty\n2nd non-empty 3rd non-empty " YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7A4E/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022150 xustar0030 mtime=1791882995.099275547 29 atime=1791882995.09917721 30 ctime=1791882995.099275547 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7A4E/in.yaml0000644000175000017500000000006215263373363021601 0ustar00tinatina" 1st non-empty 2nd non-empty 3rd non-empty " YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7A4E/PaxHeaders/===0000644000000000000000000000013115263373363021147 xustar0030 mtime=1791882995.024511294 29 atime=1791882995.02435876 30 ctime=1791882995.024511294 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7A4E/===0000644000175000017500000000004615263373363020602 0ustar00tinatinaSpec Example 7.6. Double Quoted Lines YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/E76Z0000644000000000000000000000013215263373363020635 xustar0030 mtime=1791882995.172399777 30 atime=1791882995.024212581 30 ctime=1791882995.172399777 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/E76Z/0000755000175000017500000000000015263373363020344 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/E76Z/PaxHeaders/test.event0000644000000000000000000000013215263373363022734 xustar0030 mtime=1791882995.172503143 30 atime=1791882995.172399777 30 ctime=1791882995.172503143 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/E76Z/test.event0000644000175000017500000000010415263373363022361 0ustar00tinatina+STR +DOC +MAP =VAL &a :a =VAL &b :b =ALI *b =ALI *a -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/E76Z/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022405 xustar0030 mtime=1791882995.135872094 30 atime=1791882995.135778157 30 ctime=1791882995.135872094 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/E76Z/out.yaml0000644000175000017500000000002315263373363022032 0ustar00tinatina&a a: &b b *b : *a YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/E76Z/PaxHeaders/in.json0000644000000000000000000000013015263373363022211 xustar0029 mtime=1791882995.09917721 30 atime=1791882995.099057501 29 ctime=1791882995.09917721 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/E76Z/in.json0000644000175000017500000000003315263373363021641 0ustar00tinatina{ "a": "b", "b": "a" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/E76Z/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022204 xustar0030 mtime=1791882995.099057501 30 atime=1791882995.098907551 30 ctime=1791882995.099057501 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/E76Z/in.yaml0000644000175000017500000000002315263373363021631 0ustar00tinatina&a a: &b b *b : *a YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/E76Z/PaxHeaders/===0000644000000000000000000000013015263373363021201 xustar0029 mtime=1791882995.02435876 30 atime=1791882995.024212581 29 ctime=1791882995.02435876 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/E76Z/===0000644000175000017500000000004215263373363020631 0ustar00tinatinaAliases in Implicit Block Mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/HMQ50000644000000000000000000000013215263373363020654 xustar0030 mtime=1791882995.172305351 30 atime=1791882995.024043425 30 ctime=1791882995.172305351 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HMQ5/0000755000175000017500000000000015263373363020363 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HMQ5/PaxHeaders/test.event0000644000000000000000000000013215263373363022753 xustar0030 mtime=1791882995.172399777 30 atime=1791882995.172305351 30 ctime=1791882995.172399777 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HMQ5/test.event0000644000175000017500000000017515263373363022410 0ustar00tinatina+STR +DOC +MAP =VAL &a1 "foo =VAL :bar =VAL &a2 :baz =ALI *a1 -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HMQ5/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022424 xustar0030 mtime=1791882995.135778157 30 atime=1791882995.135683033 30 ctime=1791882995.135778157 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HMQ5/out.yaml0000644000175000017500000000005015263373363022051 0ustar00tinatina&a1 !!str "foo": !!str bar &a2 baz: *a1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HMQ5/PaxHeaders/in.json0000644000000000000000000000013115263373363022231 xustar0030 mtime=1791882995.098907551 29 atime=1791882995.09879322 30 ctime=1791882995.098907551 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HMQ5/in.json0000644000175000017500000000004315263373363021661 0ustar00tinatina{ "foo": "bar", "baz": "foo" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HMQ5/PaxHeaders/in.yaml0000644000000000000000000000012715263373363022227 xustar0029 mtime=1791882995.09879322 29 atime=1791882995.09867847 29 ctime=1791882995.09879322 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HMQ5/in.yaml0000644000175000017500000000005315263373363021653 0ustar00tinatina!!str &a1 "foo": !!str bar &a2 baz : *a1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HMQ5/PaxHeaders/===0000644000000000000000000000013215263373363021222 xustar0030 mtime=1791882995.024212581 30 atime=1791882995.024043425 30 ctime=1791882995.024212581 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/HMQ5/===0000644000175000017500000000004315263373363020651 0ustar00tinatinaSpec Example 6.23. Node Properties YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/G7JE0000644000000000000000000000013115263373363020635 xustar0030 mtime=1791882995.172208621 29 atime=1791882995.02388209 30 ctime=1791882995.172208621 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G7JE/0000755000175000017500000000000015263373363020345 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G7JE/PaxHeaders/test.event0000644000000000000000000000013215263373363022735 xustar0030 mtime=1791882995.172305351 30 atime=1791882995.172208621 30 ctime=1791882995.172305351 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G7JE/test.event0000644000175000017500000000004315263373363022364 0ustar00tinatina+STR +DOC +MAP =VAL :a\\nb =VAL :1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G7JE/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022203 xustar0029 mtime=1791882995.09867847 30 atime=1791882995.098577968 29 ctime=1791882995.09867847 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G7JE/in.yaml0000644000175000017500000000002015263373363021627 0ustar00tinatinaa\nb: 1 c d: 1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G7JE/PaxHeaders/error0000644000000000000000000000013115263373363021766 xustar0030 mtime=1791882995.054560603 30 atime=1791882995.054560603 29 ctime=1791882995.05465028 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G7JE/error0000644000175000017500000000000015263373363021407 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G7JE/PaxHeaders/===0000644000000000000000000000013115263373363021203 xustar0030 mtime=1791882995.024043425 29 atime=1791882995.02388209 30 ctime=1791882995.024043425 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G7JE/===0000644000175000017500000000003015263373363020627 0ustar00tinatinaMultiline implicit keys YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/735Y0000644000000000000000000000013215263373363020611 xustar0030 mtime=1791882995.172103928 30 atime=1791882995.023719429 30 ctime=1791882995.172103928 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/735Y/0000755000175000017500000000000015263373363020320 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/735Y/PaxHeaders/test.event0000644000000000000000000000013215263373363022710 xustar0030 mtime=1791882995.172208621 30 atime=1791882995.172103928 30 ctime=1791882995.172208621 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/735Y/test.event0000644000175000017500000000017515263373363022345 0ustar00tinatina+STR +DOC +SEQ =VAL "flow in block =VAL >Block scalar\n +MAP =VAL :foo =VAL :bar -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/735Y/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022361 xustar0030 mtime=1791882995.135683033 30 atime=1791882995.135585883 30 ctime=1791882995.135683033 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/735Y/out.yaml0000644000175000017500000000007015263373363022010 0ustar00tinatina- "flow in block" - > Block scalar - !!map foo: bar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/735Y/PaxHeaders/in.json0000644000000000000000000000013215263373363022167 xustar0030 mtime=1791882995.098577968 30 atime=1791882995.098469713 30 ctime=1791882995.098577968 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/735Y/in.json0000644000175000017500000000010415263373363021614 0ustar00tinatina[ "flow in block", "Block scalar\n", { "foo": "bar" } ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/735Y/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022160 xustar0030 mtime=1791882995.098469713 30 atime=1791882995.098370189 30 ctime=1791882995.098469713 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/735Y/in.yaml0000644000175000017500000000011515263373363021607 0ustar00tinatina- "flow in block" - > Block scalar - !!map # Block collection foo : bar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/735Y/PaxHeaders/===0000644000000000000000000000013015263373363021155 xustar0029 mtime=1791882995.02388209 30 atime=1791882995.023719429 29 ctime=1791882995.02388209 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/735Y/===0000644000175000017500000000004415263373363020607 0ustar00tinatinaSpec Example 8.20. Block Node Types YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/6ZKB0000644000000000000000000000012615263373363020661 xustar0028 mtime=1791882995.1720102 30 atime=1791882995.023557257 28 ctime=1791882995.1720102 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6ZKB/0000755000175000017500000000000015263373363020365 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6ZKB/PaxHeaders/test.event0000644000000000000000000000013015263373363022753 xustar0030 mtime=1791882995.172103928 28 atime=1791882995.1720102 30 ctime=1791882995.172103928 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6ZKB/test.event0000644000175000017500000000015515263373363022410 0ustar00tinatina+STR +DOC =VAL :Document -DOC +DOC --- =VAL : -DOC ... +DOC --- +MAP =VAL :matches % =VAL :20 -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6ZKB/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022555 xustar0030 mtime=1791882995.148959236 30 atime=1791882995.148862156 30 ctime=1791882995.148959236 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6ZKB/emit.yaml0000644000175000017500000000005515263373363022207 0ustar00tinatinaDocument --- ... %YAML 1.2 --- matches %: 20 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6ZKB/PaxHeaders/in.json0000644000000000000000000000013215263373363022234 xustar0030 mtime=1791882995.098370189 30 atime=1791882995.098229947 30 ctime=1791882995.098370189 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6ZKB/in.json0000644000175000017500000000004615263373363021666 0ustar00tinatina"Document" null { "matches %": 20 } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6ZKB/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022224 xustar0030 mtime=1791882995.098229947 29 atime=1791882995.09807434 30 ctime=1791882995.098229947 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6ZKB/in.yaml0000644000175000017500000000006515263373363021660 0ustar00tinatinaDocument --- # Empty ... %YAML 1.2 --- matches %: 20 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6ZKB/PaxHeaders/===0000644000000000000000000000013215263373363021224 xustar0030 mtime=1791882995.023719429 30 atime=1791882995.023557257 30 ctime=1791882995.023719429 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6ZKB/===0000644000175000017500000000003115263373363020650 0ustar00tinatinaSpec Example 9.6. Stream YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/BF9H0000644000000000000000000000013215263373363020632 xustar0030 mtime=1791882995.171915705 30 atime=1791882995.023394735 30 ctime=1791882995.171915705 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BF9H/0000755000175000017500000000000015263373363020341 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BF9H/PaxHeaders/test.event0000644000000000000000000000012615263373363022734 xustar0028 mtime=1791882995.1720102 30 atime=1791882995.171915705 28 ctime=1791882995.1720102 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BF9H/test.event0000644000175000017500000000005115263373363022357 0ustar00tinatina+STR +DOC --- +MAP =VAL :plain =VAL :a b YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BF9H/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022177 xustar0029 mtime=1791882995.09807434 30 atime=1791882995.097975654 29 ctime=1791882995.09807434 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BF9H/in.yaml0000644000175000017500000000005715263373363021635 0ustar00tinatina--- plain: a b # end of scalar c YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BF9H/PaxHeaders/error0000644000000000000000000000013215263373363021763 xustar0030 mtime=1791882995.054470997 30 atime=1791882995.054470997 30 ctime=1791882995.054560603 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BF9H/error0000644000175000017500000000000015263373363021403 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BF9H/PaxHeaders/===0000644000000000000000000000013215263373363021200 xustar0030 mtime=1791882995.023557257 30 atime=1791882995.023394735 30 ctime=1791882995.023557257 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BF9H/===0000644000175000017500000000005315263373363020630 0ustar00tinatinaTrailing comment in multiline plain scalar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/T4YY0000644000000000000000000000013015263373363020711 xustar0029 mtime=1791882995.17182072 30 atime=1791882995.023232982 29 ctime=1791882995.17182072 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T4YY/0000755000175000017500000000000015263373363020422 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T4YY/PaxHeaders/test.event0000644000000000000000000000013115263373363023011 xustar0030 mtime=1791882995.171915705 29 atime=1791882995.17182072 30 ctime=1791882995.171915705 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T4YY/test.event0000644000175000017500000000011315263373363022437 0ustar00tinatina+STR +DOC --- =VAL ' 1st non-empty\n2nd non-empty 3rd non-empty -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T4YY/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022612 xustar0030 mtime=1791882995.148862156 30 atime=1791882995.148763609 30 ctime=1791882995.148862156 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T4YY/emit.yaml0000644000175000017500000000006515263373363022245 0ustar00tinatina--- ' 1st non-empty 2nd non-empty 3rd non-empty ' YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T4YY/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022463 xustar0030 mtime=1791882995.135585883 30 atime=1791882995.135489012 30 ctime=1791882995.135585883 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T4YY/out.yaml0000644000175000017500000000006115263373363022112 0ustar00tinatina' 1st non-empty 2nd non-empty 3rd non-empty ' YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T4YY/PaxHeaders/in.json0000644000000000000000000000013215263373363022271 xustar0030 mtime=1791882995.097975654 30 atime=1791882995.097852523 30 ctime=1791882995.097975654 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T4YY/in.json0000644000175000017500000000005715263373363021725 0ustar00tinatina" 1st non-empty\n2nd non-empty 3rd non-empty " YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T4YY/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022261 xustar0030 mtime=1791882995.097852523 29 atime=1791882995.09774336 30 ctime=1791882995.097852523 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T4YY/in.yaml0000644000175000017500000000006615263373363021716 0ustar00tinatina--- ' 1st non-empty 2nd non-empty 3rd non-empty ' YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T4YY/PaxHeaders/===0000644000000000000000000000013215263373363021261 xustar0030 mtime=1791882995.023394735 30 atime=1791882995.023232982 30 ctime=1791882995.023394735 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T4YY/===0000644000175000017500000000005415263373363020712 0ustar00tinatinaSpec Example 7.9. Single Quoted Lines [1.3] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/RTP80000644000000000000000000000013215263373363020677 xustar0030 mtime=1791882995.171726224 30 atime=1791882995.023066898 30 ctime=1791882995.171726224 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RTP8/0000755000175000017500000000000015263373363020406 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RTP8/PaxHeaders/test.event0000644000000000000000000000013015263373363022774 xustar0029 mtime=1791882995.17182072 30 atime=1791882995.171726224 29 ctime=1791882995.17182072 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RTP8/test.event0000644000175000017500000000005315263373363022426 0ustar00tinatina+STR +DOC --- =VAL :Document -DOC ... -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RTP8/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022447 xustar0030 mtime=1791882995.135489012 30 atime=1791882995.135392421 30 ctime=1791882995.135489012 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RTP8/out.yaml0000644000175000017500000000002115263373363022072 0ustar00tinatina--- Document ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RTP8/PaxHeaders/in.json0000644000000000000000000000013015263373363022253 xustar0029 mtime=1791882995.09774336 30 atime=1791882995.097634547 29 ctime=1791882995.09774336 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RTP8/in.json0000644000175000017500000000001315263373363021701 0ustar00tinatina"Document" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RTP8/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022246 xustar0030 mtime=1791882995.097634547 30 atime=1791882995.097366983 30 ctime=1791882995.097634547 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RTP8/in.yaml0000644000175000017500000000004415263373363021676 0ustar00tinatina%YAML 1.2 --- Document ... # Suffix YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RTP8/PaxHeaders/===0000644000000000000000000000013215263373363021245 xustar0030 mtime=1791882995.023232982 30 atime=1791882995.023066898 30 ctime=1791882995.023232982 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RTP8/===0000644000175000017500000000004315263373363020674 0ustar00tinatinaSpec Example 9.2. Document Markers YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/PW8X0000644000000000000000000000013215263373363020710 xustar0030 mtime=1791882995.171241802 30 atime=1791882995.022904167 30 ctime=1791882995.171241802 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PW8X/0000755000175000017500000000000015263373363020417 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PW8X/PaxHeaders/test.event0000644000000000000000000000013215263373363023007 xustar0030 mtime=1791882995.171338533 30 atime=1791882995.171241802 30 ctime=1791882995.171338533 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PW8X/test.event0000644000175000017500000000026515263373363022444 0ustar00tinatina+STR +DOC +SEQ =VAL &a : =VAL :a +MAP =VAL &a : =VAL :a =VAL :b =VAL &b : -MAP +MAP =VAL &c : =VAL &a : -MAP +MAP =VAL &d : =VAL : -MAP +MAP =VAL &e : =VAL &a : -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PW8X/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022460 xustar0030 mtime=1791882995.135392421 30 atime=1791882995.135294084 30 ctime=1791882995.135392421 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PW8X/out.yaml0000644000175000017500000000006515263373363022113 0ustar00tinatina- &a - a - &a : a b: &b - &c : &a - &d : - &e : &a YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PW8X/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022257 xustar0030 mtime=1791882995.097366983 30 atime=1791882995.097150055 30 ctime=1791882995.097366983 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PW8X/in.yaml0000644000175000017500000000010115263373363021701 0ustar00tinatina- &a - a - &a : a b: &b - &c : &a - ? &d - ? &e : &a YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PW8X/PaxHeaders/===0000644000000000000000000000013215263373363021256 xustar0030 mtime=1791882995.023066898 30 atime=1791882995.022904167 30 ctime=1791882995.023066898 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PW8X/===0000644000175000017500000000003115263373363020702 0ustar00tinatinaAnchors on Empty Scalars YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/MJS90000644000000000000000000000013215263373363020664 xustar0030 mtime=1791882995.171144094 30 atime=1791882995.022737874 30 ctime=1791882995.171144094 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MJS9/0000755000175000017500000000000015263373363020373 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MJS9/PaxHeaders/test.event0000644000000000000000000000013215263373363022763 xustar0030 mtime=1791882995.171241802 30 atime=1791882995.171144094 30 ctime=1791882995.171241802 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MJS9/test.event0000644000175000017500000000006215263373363022413 0ustar00tinatina+STR +DOC =VAL >foo \n\n\t bar\n\nbaz\n -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MJS9/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022434 xustar0030 mtime=1791882995.135294084 30 atime=1791882995.135177379 30 ctime=1791882995.135294084 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MJS9/out.yaml0000644000175000017500000000003215263373363022061 0ustar00tinatina"foo \n\n\t bar\n\nbaz\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MJS9/PaxHeaders/in.json0000644000000000000000000000013215263373363022242 xustar0030 mtime=1791882995.097150055 30 atime=1791882995.097057515 30 ctime=1791882995.097150055 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MJS9/in.json0000644000175000017500000000003215263373363021667 0ustar00tinatina"foo \n\n\t bar\n\nbaz\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MJS9/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022233 xustar0030 mtime=1791882995.097057515 30 atime=1791882995.096970283 30 ctime=1791882995.097057515 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MJS9/in.yaml0000644000175000017500000000003215263373363021660 0ustar00tinatina> foo bar baz YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MJS9/PaxHeaders/===0000644000000000000000000000013215263373363021232 xustar0030 mtime=1791882995.022904167 30 atime=1791882995.022737874 30 ctime=1791882995.022904167 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MJS9/===0000644000175000017500000000004015263373363020656 0ustar00tinatinaSpec Example 6.7. Block Folding YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/UT920000644000000000000000000000013215263373363020645 xustar0030 mtime=1791882995.171038773 30 atime=1791882995.022575562 30 ctime=1791882995.171038773 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UT92/0000755000175000017500000000000015263373363020354 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UT92/PaxHeaders/test.event0000644000000000000000000000013215263373363022744 xustar0030 mtime=1791882995.171144094 30 atime=1791882995.171038773 30 ctime=1791882995.171144094 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UT92/test.event0000644000175000017500000000013315263373363022373 0ustar00tinatina+STR +DOC --- +MAP {} =VAL :matches % =VAL :20 -MAP -DOC ... +DOC --- =VAL : -DOC ... -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UT92/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022415 xustar0030 mtime=1791882995.135177379 30 atime=1791882995.135063677 30 ctime=1791882995.135177379 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UT92/out.yaml0000644000175000017500000000003615263373363022046 0ustar00tinatina--- matches %: 20 ... --- ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UT92/PaxHeaders/in.json0000644000000000000000000000013215263373363022223 xustar0030 mtime=1791882995.096970283 30 atime=1791882995.096872225 30 ctime=1791882995.096970283 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UT92/in.json0000644000175000017500000000003315263373363021651 0ustar00tinatina{ "matches %": 20 } null YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UT92/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022214 xustar0030 mtime=1791882995.096872225 30 atime=1791882995.096794142 30 ctime=1791882995.096872225 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UT92/in.yaml0000644000175000017500000000005315263373363021644 0ustar00tinatina--- { matches % : 20 } ... --- # Empty ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UT92/PaxHeaders/===0000644000000000000000000000013215263373363021213 xustar0030 mtime=1791882995.022737874 30 atime=1791882995.022575562 30 ctime=1791882995.022737874 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UT92/===0000644000175000017500000000004515263373363020644 0ustar00tinatinaSpec Example 9.4. Explicit Documents YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/QT730000644000000000000000000000013215263373363020640 xustar0030 mtime=1791882995.170944556 30 atime=1791882995.022412691 30 ctime=1791882995.170944556 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QT73/0000755000175000017500000000000015263373363020347 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QT73/PaxHeaders/test.event0000644000000000000000000000013215263373363022737 xustar0030 mtime=1791882995.171038773 30 atime=1791882995.170944556 30 ctime=1791882995.171038773 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QT73/test.event0000644000175000017500000000001215263373363022362 0ustar00tinatina+STR -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QT73/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022410 xustar0030 mtime=1791882995.134967784 30 atime=1791882995.134967784 30 ctime=1791882995.135063677 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QT73/out.yaml0000644000175000017500000000000015263373363022030 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QT73/PaxHeaders/in.json0000644000000000000000000000013215263373363022216 xustar0030 mtime=1791882995.096701602 30 atime=1791882995.096701602 30 ctime=1791882995.096794142 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QT73/in.json0000644000175000017500000000000015263373363021636 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QT73/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022207 xustar0030 mtime=1791882995.096701602 30 atime=1791882995.096605988 30 ctime=1791882995.096701602 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QT73/in.yaml0000644000175000017500000000001615263373363021636 0ustar00tinatina# comment ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QT73/PaxHeaders/===0000644000000000000000000000013215263373363021206 xustar0030 mtime=1791882995.022575562 30 atime=1791882995.022412691 30 ctime=1791882995.022575562 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QT73/===0000644000175000017500000000004015263373363020632 0ustar00tinatinaComment and document-end marker YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/4UYU0000644000000000000000000000013215263373363020710 xustar0030 mtime=1791882995.170849153 30 atime=1791882995.022248633 30 ctime=1791882995.170849153 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4UYU/0000755000175000017500000000000015263373363020417 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4UYU/PaxHeaders/test.event0000644000000000000000000000013215263373363023007 xustar0030 mtime=1791882995.170944556 30 atime=1791882995.170849153 30 ctime=1791882995.170944556 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4UYU/test.event0000644000175000017500000000005115263373363022435 0ustar00tinatina+STR +DOC =VAL "foo: bar": baz -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4UYU/PaxHeaders/in.json0000644000000000000000000000013215263373363022266 xustar0030 mtime=1791882995.096605988 30 atime=1791882995.096510236 30 ctime=1791882995.096605988 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4UYU/in.json0000644000175000017500000000002215263373363021712 0ustar00tinatina"foo: bar\": baz" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4UYU/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022257 xustar0030 mtime=1791882995.096510236 30 atime=1791882995.096412946 30 ctime=1791882995.096510236 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4UYU/in.yaml0000644000175000017500000000002215263373363021703 0ustar00tinatina"foo: bar\": baz" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4UYU/PaxHeaders/===0000644000000000000000000000013215263373363021256 xustar0030 mtime=1791882995.022412691 30 atime=1791882995.022248633 30 ctime=1791882995.022412691 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4UYU/===0000644000175000017500000000003615263373363020707 0ustar00tinatinaColon in Double Quoted String YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/X4QW0000644000000000000000000000013215263373363020705 xustar0030 mtime=1791882995.170753749 30 atime=1791882995.022078639 30 ctime=1791882995.170753749 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X4QW/0000755000175000017500000000000015263373363020414 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X4QW/PaxHeaders/test.event0000644000000000000000000000013215263373363023004 xustar0030 mtime=1791882995.170849153 30 atime=1791882995.170753749 30 ctime=1791882995.170849153 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X4QW/test.event0000644000175000017500000000003315263373363022432 0ustar00tinatina+STR +DOC +MAP =VAL :block YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X4QW/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022254 xustar0030 mtime=1791882995.096412946 30 atime=1791882995.096316285 30 ctime=1791882995.096412946 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X4QW/in.yaml0000644000175000017500000000003315263373363021702 0ustar00tinatinablock: ># comment scalar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X4QW/PaxHeaders/error0000644000000000000000000000013215263373363022036 xustar0030 mtime=1791882995.054382368 30 atime=1791882995.054382368 30 ctime=1791882995.054470997 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X4QW/error0000644000175000017500000000000015263373363021456 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X4QW/PaxHeaders/===0000644000000000000000000000013215263373363021253 xustar0030 mtime=1791882995.022248633 30 atime=1791882995.022078639 30 ctime=1791882995.022248633 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X4QW/===0000644000175000017500000000007015263373363020702 0ustar00tinatinaComment without whitespace after block scalar indicator YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/2CMS0000644000000000000000000000013215263373363020646 xustar0030 mtime=1791882995.170657856 30 atime=1791882995.021914092 30 ctime=1791882995.170657856 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2CMS/0000755000175000017500000000000015263373363020355 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2CMS/PaxHeaders/test.event0000644000000000000000000000013215263373363022745 xustar0030 mtime=1791882995.170753749 30 atime=1791882995.170657856 30 ctime=1791882995.170753749 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2CMS/test.event0000644000175000017500000000001215263373363022370 0ustar00tinatina+STR +DOC YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2CMS/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022215 xustar0030 mtime=1791882995.096316285 30 atime=1791882995.096215224 30 ctime=1791882995.096316285 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2CMS/in.yaml0000644000175000017500000000002615263373363021645 0ustar00tinatinathis is invalid: x YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2CMS/PaxHeaders/error0000644000000000000000000000013215263373363021777 xustar0030 mtime=1791882995.054286265 30 atime=1791882995.054286265 30 ctime=1791882995.054382368 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2CMS/error0000644000175000017500000000000015263373363021417 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2CMS/PaxHeaders/===0000644000000000000000000000013215263373363021214 xustar0030 mtime=1791882995.022078639 30 atime=1791882995.021914092 30 ctime=1791882995.022078639 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2CMS/===0000644000175000017500000000004315263373363020643 0ustar00tinatinaInvalid mapping in plain multiline YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/U3XV0000644000000000000000000000013215263373363020707 xustar0030 mtime=1791882995.170563919 30 atime=1791882995.021749964 30 ctime=1791882995.170563919 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U3XV/0000755000175000017500000000000015263373363020416 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U3XV/PaxHeaders/test.event0000644000000000000000000000013215263373363023006 xustar0030 mtime=1791882995.170657856 30 atime=1791882995.170563919 30 ctime=1791882995.170657856 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U3XV/test.event0000644000175000017500000000053015263373363022436 0ustar00tinatina+STR +DOC --- +MAP =VAL :top1 +MAP &node1 =VAL &k1 :key1 =VAL :one -MAP =VAL :top2 +MAP &node2 =VAL :key2 =VAL :two -MAP =VAL :top3 +MAP =VAL &k3 :key3 =VAL :three -MAP =VAL :top4 +MAP &node4 =VAL &k4 :key4 =VAL :four -MAP =VAL :top5 +MAP &node5 =VAL :key5 =VAL :five -MAP =VAL :top6 =VAL &val6 :six =VAL :top7 =VAL &val7 :seven -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U3XV/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022457 xustar0030 mtime=1791882995.134967784 30 atime=1791882995.134874126 30 ctime=1791882995.134967784 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U3XV/out.yaml0000644000175000017500000000025415263373363022112 0ustar00tinatina--- top1: &node1 &k1 key1: one top2: &node2 key2: two top3: &k3 key3: three top4: &node4 &k4 key4: four top5: &node5 key5: five top6: &val6 six top7: &val7 seven YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U3XV/PaxHeaders/in.json0000644000000000000000000000013215263373363022265 xustar0030 mtime=1791882995.096215224 30 atime=1791882995.096106132 30 ctime=1791882995.096215224 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U3XV/in.json0000644000175000017500000000033215263373363021715 0ustar00tinatina{ "top1": { "key1": "one" }, "top2": { "key2": "two" }, "top3": { "key3": "three" }, "top4": { "key4": "four" }, "top5": { "key5": "five" }, "top6": "six", "top7": "seven" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U3XV/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022256 xustar0030 mtime=1791882995.096106132 30 atime=1791882995.096017153 30 ctime=1791882995.096106132 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U3XV/in.yaml0000644000175000017500000000027615263373363021715 0ustar00tinatina--- top1: &node1 &k1 key1: one top2: &node2 # comment key2: two top3: &k3 key3: three top4: &node4 &k4 key4: four top5: &node5 key5: five top6: &val6 six top7: &val7 seven YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U3XV/PaxHeaders/===0000644000000000000000000000013215263373363021255 xustar0030 mtime=1791882995.021914092 30 atime=1791882995.021749964 30 ctime=1791882995.021914092 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U3XV/===0000644000175000017500000000003515263373363020705 0ustar00tinatinaNode and Mapping Key Anchors YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/CC740000644000000000000000000000013215263373363020602 xustar0030 mtime=1791882995.170468027 30 atime=1791882995.021588629 30 ctime=1791882995.170468027 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CC74/0000755000175000017500000000000015263373363020311 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CC74/PaxHeaders/test.event0000644000000000000000000000013215263373363022701 xustar0030 mtime=1791882995.170563919 30 atime=1791882995.170468027 30 ctime=1791882995.170563919 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CC74/test.event0000644000175000017500000000010115263373363022323 0ustar00tinatina+STR +DOC --- =VAL "bar -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CC74/PaxHeaders/out.yaml0000644000000000000000000000013115263373363022351 xustar0030 mtime=1791882995.134874126 29 atime=1791882995.13477984 30 ctime=1791882995.134874126 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CC74/out.yaml0000644000175000017500000000005215263373363022001 0ustar00tinatina--- ! "bar" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CC74/PaxHeaders/in.json0000644000000000000000000000013215263373363022160 xustar0030 mtime=1791882995.096017153 30 atime=1791882995.095923775 30 ctime=1791882995.096017153 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CC74/in.json0000644000175000017500000000000615263373363021606 0ustar00tinatina"bar" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CC74/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022150 xustar0030 mtime=1791882995.095923775 29 atime=1791882995.09582467 30 ctime=1791882995.095923775 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CC74/in.yaml0000644000175000017500000000006415263373363021603 0ustar00tinatina%TAG !e! tag:example.com,2000:app/ --- !e!foo "bar" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CC74/PaxHeaders/===0000644000000000000000000000013215263373363021150 xustar0030 mtime=1791882995.021749964 30 atime=1791882995.021588629 30 ctime=1791882995.021749964 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CC74/===0000644000175000017500000000003715263373363020602 0ustar00tinatinaSpec Example 6.20. Tag Handles YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/236B0000644000000000000000000000013215263373363020556 xustar0030 mtime=1791882995.170373112 30 atime=1791882995.021427505 30 ctime=1791882995.170373112 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/236B/0000755000175000017500000000000015263373363020265 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/236B/PaxHeaders/test.event0000644000000000000000000000013215263373363022655 xustar0030 mtime=1791882995.170468027 30 atime=1791882995.170373112 30 ctime=1791882995.170468027 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/236B/test.event0000644000175000017500000000004315263373363022304 0ustar00tinatina+STR +DOC +MAP =VAL :foo =VAL :bar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/236B/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022123 xustar0029 mtime=1791882995.09582467 30 atime=1791882995.095728568 29 ctime=1791882995.09582467 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/236B/in.yaml0000644000175000017500000000002315263373363021552 0ustar00tinatinafoo: bar invalid YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/236B/PaxHeaders/error0000644000000000000000000000013215263373363021707 xustar0030 mtime=1791882995.054189465 30 atime=1791882995.054189465 30 ctime=1791882995.054286265 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/236B/error0000644000175000017500000000000015263373363021327 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/236B/PaxHeaders/===0000644000000000000000000000013215263373363021124 xustar0030 mtime=1791882995.021588629 30 atime=1791882995.021427505 30 ctime=1791882995.021588629 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/236B/===0000644000175000017500000000003415263373363020553 0ustar00tinatinaInvalid value after mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/4RWC0000644000000000000000000000013215263373363020661 xustar0030 mtime=1791882995.170266184 30 atime=1791882995.021265961 30 ctime=1791882995.170266184 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4RWC/0000755000175000017500000000000015263373363020370 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4RWC/PaxHeaders/test.event0000644000000000000000000000013215263373363022760 xustar0030 mtime=1791882995.170373112 30 atime=1791882995.170266184 30 ctime=1791882995.170373112 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4RWC/test.event0000644000175000017500000000007115263373363022410 0ustar00tinatina+STR +DOC +SEQ [] =VAL :1 =VAL :2 =VAL :3 -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4RWC/PaxHeaders/out.yaml0000644000000000000000000000013015263373363022427 xustar0029 mtime=1791882995.13477984 30 atime=1791882995.134685344 29 ctime=1791882995.13477984 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4RWC/out.yaml0000644000175000017500000000001415263373363022056 0ustar00tinatina- 1 - 2 - 3 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4RWC/PaxHeaders/in.json0000644000000000000000000000013215263373363022237 xustar0030 mtime=1791882995.095728568 30 atime=1791882995.095632815 30 ctime=1791882995.095728568 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4RWC/in.json0000644000175000017500000000002215263373363021663 0ustar00tinatina[ 1, 2, 3 ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4RWC/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022230 xustar0030 mtime=1791882995.095632815 30 atime=1791882995.095527843 30 ctime=1791882995.095632815 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4RWC/in.yaml0000644000175000017500000000002015263373363021652 0ustar00tinatina [1, 2, 3] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4RWC/PaxHeaders/===0000644000000000000000000000013215263373363021227 xustar0030 mtime=1791882995.021427505 30 atime=1791882995.021265961 30 ctime=1791882995.021427505 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4RWC/===0000644000175000017500000000004615263373363020661 0ustar00tinatinaTrailing spaces after flow collection YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/57H40000644000000000000000000000013215263373363020571 xustar0030 mtime=1791882995.170181047 30 atime=1791882995.021083534 30 ctime=1791882995.170181047 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/57H4/0000755000175000017500000000000015263373363020300 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/57H4/PaxHeaders/test.event0000644000000000000000000000013215263373363022670 xustar0030 mtime=1791882995.170266184 30 atime=1791882995.170181047 30 ctime=1791882995.170266184 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/57H4/test.event0000644000175000017500000000031615263373363022322 0ustar00tinatina+STR +DOC +MAP =VAL :sequence +SEQ =VAL :entry +SEQ =VAL :nested -SEQ -SEQ =VAL :mapping +MAP =VAL :foo =VAL :bar -MAP -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/57H4/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022341 xustar0030 mtime=1791882995.134685344 30 atime=1791882995.134588474 30 ctime=1791882995.134685344 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/57H4/out.yaml0000644000175000017500000000010515263373363021767 0ustar00tinatinasequence: !!seq - entry - !!seq - nested mapping: !!map foo: bar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/57H4/PaxHeaders/in.json0000644000000000000000000000013115263373363022146 xustar0030 mtime=1791882995.095527843 29 atime=1791882995.09543195 30 ctime=1791882995.095527843 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/57H4/in.json0000644000175000017500000000014515263373363021601 0ustar00tinatina{ "sequence": [ "entry", [ "nested" ] ], "mapping": { "foo": "bar" } } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/57H4/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022136 xustar0029 mtime=1791882995.09543195 30 atime=1791882995.095335149 29 ctime=1791882995.09543195 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/57H4/in.yaml0000644000175000017500000000010315263373363021564 0ustar00tinatinasequence: !!seq - entry - !!seq - nested mapping: !!map foo: bar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/57H4/PaxHeaders/===0000644000000000000000000000013215263373363021137 xustar0030 mtime=1791882995.021265961 30 atime=1791882995.021083534 30 ctime=1791882995.021265961 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/57H4/===0000644000175000017500000000005215263373363020566 0ustar00tinatinaSpec Example 8.22. Block Collection Nodes YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/AZ630000644000000000000000000000013215263373363020625 xustar0030 mtime=1791882995.170075027 30 atime=1791882995.020931629 30 ctime=1791882995.170075027 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AZ63/0000755000175000017500000000000015263373363020334 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AZ63/PaxHeaders/test.event0000644000000000000000000000013215263373363022724 xustar0030 mtime=1791882995.170181047 30 atime=1791882995.170075027 30 ctime=1791882995.170181047 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AZ63/test.event0000644000175000017500000000012515263373363022354 0ustar00tinatina+STR +DOC +MAP =VAL :one +SEQ =VAL :2 =VAL :3 -SEQ =VAL :four =VAL :5 -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AZ63/PaxHeaders/in.json0000644000000000000000000000013215263373363022203 xustar0030 mtime=1791882995.095335149 30 atime=1791882995.095239955 30 ctime=1791882995.095335149 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AZ63/in.json0000644000175000017500000000005515263373363021635 0ustar00tinatina{ "one": [ 2, 3 ], "four": 5 } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AZ63/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022174 xustar0030 mtime=1791882995.095239955 30 atime=1791882995.095142177 30 ctime=1791882995.095239955 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AZ63/in.yaml0000644000175000017500000000002515263373363021623 0ustar00tinatinaone: - 2 - 3 four: 5 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AZ63/PaxHeaders/===0000644000000000000000000000013215263373363021173 xustar0030 mtime=1791882995.021083534 30 atime=1791882995.020931629 30 ctime=1791882995.021083534 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/AZ63/===0000644000175000017500000000006115263373363020622 0ustar00tinatinaSequence With Same Indentation as Parent Mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/SR860000644000000000000000000000013215263373363020644 xustar0030 mtime=1791882995.169988075 30 atime=1791882995.020773717 30 ctime=1791882995.169988075 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SR86/0000755000175000017500000000000015263373363020353 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SR86/PaxHeaders/test.event0000644000000000000000000000013215263373363022743 xustar0030 mtime=1791882995.170075027 30 atime=1791882995.169988075 30 ctime=1791882995.170075027 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SR86/test.event0000644000175000017500000000006415263373363022375 0ustar00tinatina+STR +DOC +MAP =VAL :key1 =VAL &a :value =VAL :key2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SR86/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022213 xustar0030 mtime=1791882995.095142177 30 atime=1791882995.095038043 30 ctime=1791882995.095142177 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SR86/in.yaml0000644000175000017500000000003315263373363021641 0ustar00tinatinakey1: &a value key2: &b *a YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SR86/PaxHeaders/error0000644000000000000000000000013215263373363021775 xustar0030 mtime=1791882995.054096087 30 atime=1791882995.054096087 30 ctime=1791882995.054189465 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SR86/error0000644000175000017500000000000015263373363021415 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SR86/PaxHeaders/===0000644000000000000000000000013215263373363021212 xustar0030 mtime=1791882995.020931629 30 atime=1791882995.020773717 30 ctime=1791882995.020931629 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SR86/===0000644000175000017500000000002215263373363020636 0ustar00tinatinaAnchor plus Alias YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/5NYZ0000644000000000000000000000013215263373363020707 xustar0030 mtime=1791882995.169894347 30 atime=1791882995.020612941 30 ctime=1791882995.169894347 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5NYZ/0000755000175000017500000000000015263373363020416 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5NYZ/PaxHeaders/test.event0000644000000000000000000000013215263373363023006 xustar0030 mtime=1791882995.169988075 30 atime=1791882995.169894347 30 ctime=1791882995.169988075 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5NYZ/test.event0000644000175000017500000000006415263373363022440 0ustar00tinatina+STR +DOC +MAP =VAL :key =VAL :value -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5NYZ/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022457 xustar0030 mtime=1791882995.134588474 30 atime=1791882995.134494048 30 ctime=1791882995.134588474 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5NYZ/out.yaml0000644000175000017500000000001315263373363022103 0ustar00tinatinakey: value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5NYZ/PaxHeaders/in.json0000644000000000000000000000013215263373363022265 xustar0030 mtime=1791882995.095038043 30 atime=1791882995.094942569 30 ctime=1791882995.095038043 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5NYZ/in.json0000644000175000017500000000002515263373363021714 0ustar00tinatina{ "key": "value" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5NYZ/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022256 xustar0030 mtime=1791882995.094942569 30 atime=1791882995.094843324 30 ctime=1791882995.094942569 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5NYZ/in.yaml0000644000175000017500000000003215263373363021703 0ustar00tinatinakey: # Comment value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5NYZ/PaxHeaders/===0000644000000000000000000000013215263373363021255 xustar0030 mtime=1791882995.020773717 30 atime=1791882995.020612941 30 ctime=1791882995.020773717 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5NYZ/===0000644000175000017500000000004415263373363020705 0ustar00tinatinaSpec Example 6.9. Separated Comment YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/PUW80000644000000000000000000000013215263373363020705 xustar0030 mtime=1791882995.169799921 30 atime=1791882995.020450699 30 ctime=1791882995.169799921 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PUW8/0000755000175000017500000000000015263373363020414 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PUW8/PaxHeaders/test.event0000644000000000000000000000013215263373363023004 xustar0030 mtime=1791882995.169894347 30 atime=1791882995.169799921 30 ctime=1791882995.169894347 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PUW8/test.event0000644000175000017500000000010715263373363022434 0ustar00tinatina+STR +DOC --- +MAP =VAL :a =VAL :b -MAP -DOC +DOC --- =VAL : -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PUW8/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022455 xustar0030 mtime=1791882995.134494048 30 atime=1791882995.134398644 30 ctime=1791882995.134494048 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PUW8/out.yaml0000644000175000017500000000002115263373363022100 0ustar00tinatina--- a: b --- ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PUW8/PaxHeaders/in.json0000644000000000000000000000013215263373363022263 xustar0030 mtime=1791882995.094843324 30 atime=1791882995.094748759 30 ctime=1791882995.094843324 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PUW8/in.json0000644000175000017500000000002415263373363021711 0ustar00tinatina{ "a": "b" } null YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PUW8/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022254 xustar0030 mtime=1791882995.094748759 30 atime=1791882995.094652517 30 ctime=1791882995.094748759 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PUW8/in.yaml0000644000175000017500000000001515263373363021702 0ustar00tinatina--- a: b --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PUW8/PaxHeaders/===0000644000000000000000000000013215263373363021253 xustar0030 mtime=1791882995.020612941 30 atime=1791882995.020450699 30 ctime=1791882995.020612941 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PUW8/===0000644000175000017500000000003415263373363020702 0ustar00tinatinaDocument start on last line YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/4ZYM0000644000000000000000000000013115263373363020704 xustar0030 mtime=1791882995.169705914 29 atime=1791882995.02028727 30 ctime=1791882995.169705914 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4ZYM/0000755000175000017500000000000015263373363020414 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4ZYM/PaxHeaders/test.event0000644000000000000000000000013215263373363023004 xustar0030 mtime=1791882995.169799921 30 atime=1791882995.169705914 30 ctime=1791882995.169799921 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4ZYM/test.event0000644000175000017500000000017415263373363022440 0ustar00tinatina+STR +DOC +MAP =VAL :plain =VAL :text lines =VAL :quoted =VAL "text lines =VAL :block =VAL |text\n \tlines\n -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4ZYM/PaxHeaders/emit.yaml0000644000000000000000000000013115263373363022603 xustar0030 mtime=1791882995.148763609 29 atime=1791882995.14867058 30 ctime=1791882995.148763609 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4ZYM/emit.yaml0000644000175000017500000000010115263373363022226 0ustar00tinatinaplain: text lines quoted: "text lines" block: | text lines YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4ZYM/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022455 xustar0030 mtime=1791882995.134398644 30 atime=1791882995.134302961 30 ctime=1791882995.134398644 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4ZYM/out.yaml0000644000175000017500000000010115263373363022077 0ustar00tinatinaplain: text lines quoted: "text lines" block: "text\n \tlines\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4ZYM/PaxHeaders/in.json0000644000000000000000000000013215263373363022263 xustar0030 mtime=1791882995.094652517 30 atime=1791882995.094557602 30 ctime=1791882995.094652517 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4ZYM/in.json0000644000175000017500000000012515263373363021713 0ustar00tinatina{ "plain": "text lines", "quoted": "text lines", "block": "text\n \tlines\n" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4ZYM/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022254 xustar0030 mtime=1791882995.094557602 30 atime=1791882995.094461221 30 ctime=1791882995.094557602 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4ZYM/in.yaml0000644000175000017500000000010615263373363021703 0ustar00tinatinaplain: text lines quoted: "text lines" block: | text lines YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4ZYM/PaxHeaders/===0000644000000000000000000000013115263373363021252 xustar0030 mtime=1791882995.020450699 29 atime=1791882995.02028727 30 ctime=1791882995.020450699 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4ZYM/===0000644000175000017500000000004015263373363020677 0ustar00tinatinaSpec Example 6.4. Line Prefixes YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/W4TN0000644000000000000000000000013215263373363020676 xustar0030 mtime=1791882995.169612815 30 atime=1791882995.020110361 30 ctime=1791882995.169612815 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W4TN/0000755000175000017500000000000015263373363020405 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W4TN/PaxHeaders/test.event0000644000000000000000000000013215263373363022775 xustar0030 mtime=1791882995.169705914 30 atime=1791882995.169612815 30 ctime=1791882995.169705914 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W4TN/test.event0000644000175000017500000000011415263373363022423 0ustar00tinatina+STR +DOC --- =VAL |%!PS-Adobe-2.0\n -DOC ... +DOC --- =VAL : -DOC ... -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W4TN/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022446 xustar0030 mtime=1791882995.134302961 30 atime=1791882995.134208535 30 ctime=1791882995.134302961 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W4TN/out.yaml0000644000175000017500000000004315263373363022075 0ustar00tinatina--- | %!PS-Adobe-2.0 ... --- ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W4TN/PaxHeaders/in.json0000644000000000000000000000013115263373363022253 xustar0030 mtime=1791882995.094461221 29 atime=1791882995.09436435 30 ctime=1791882995.094461221 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W4TN/in.json0000644000175000017500000000003015263373363021677 0ustar00tinatina"%!PS-Adobe-2.0\n" null YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W4TN/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022243 xustar0029 mtime=1791882995.09436435 30 atime=1791882995.094268039 29 ctime=1791882995.09436435 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W4TN/in.yaml0000644000175000017500000000007515263373363021701 0ustar00tinatina%YAML 1.2 --- | %!PS-Adobe-2.0 ... %YAML 1.2 --- # Empty ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W4TN/PaxHeaders/===0000644000000000000000000000013015263373363021242 xustar0029 mtime=1791882995.02028727 30 atime=1791882995.020110361 29 ctime=1791882995.02028727 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W4TN/===0000644000175000017500000000004715263373363020677 0ustar00tinatinaSpec Example 9.5. Directives Documents YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/ZF4X0000644000000000000000000000013215263373363020675 xustar0030 mtime=1791882995.169516992 30 atime=1791882995.019952798 30 ctime=1791882995.169516992 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZF4X/0000755000175000017500000000000015263373363020404 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZF4X/PaxHeaders/test.event0000644000000000000000000000013215263373363022774 xustar0030 mtime=1791882995.169612815 30 atime=1791882995.169516992 30 ctime=1791882995.169612815 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZF4X/test.event0000644000175000017500000000025415263373363022427 0ustar00tinatina+STR +DOC +MAP =VAL :Mark McGwire +MAP {} =VAL :hr =VAL :65 =VAL :avg =VAL :0.278 -MAP =VAL :Sammy Sosa +MAP {} =VAL :hr =VAL :63 =VAL :avg =VAL :0.288 -MAP -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZF4X/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022445 xustar0030 mtime=1791882995.134208535 30 atime=1791882995.134101747 30 ctime=1791882995.134208535 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZF4X/out.yaml0000644000175000017500000000010615263373363022074 0ustar00tinatinaMark McGwire: hr: 65 avg: 0.278 Sammy Sosa: hr: 63 avg: 0.288 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZF4X/PaxHeaders/in.json0000644000000000000000000000013215263373363022253 xustar0030 mtime=1791882995.094268039 30 atime=1791882995.094165651 30 ctime=1791882995.094268039 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZF4X/in.json0000644000175000017500000000016115263373363021703 0ustar00tinatina{ "Mark McGwire": { "hr": 65, "avg": 0.278 }, "Sammy Sosa": { "hr": 63, "avg": 0.288 } } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZF4X/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022243 xustar0030 mtime=1791882995.094165651 29 atime=1791882995.09405984 30 ctime=1791882995.094165651 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZF4X/in.yaml0000644000175000017500000000012015263373363021667 0ustar00tinatinaMark McGwire: {hr: 65, avg: 0.278} Sammy Sosa: { hr: 63, avg: 0.288 } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZF4X/PaxHeaders/===0000644000000000000000000000013215263373363021243 xustar0030 mtime=1791882995.020110361 30 atime=1791882995.019952798 30 ctime=1791882995.020110361 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZF4X/===0000644000175000017500000000004615263373363020675 0ustar00tinatinaSpec Example 2.6. Mapping of Mappings YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/T8330000644000000000000000000000012715263373363020607 xustar0029 mtime=1791882995.16942103 29 atime=1791882995.01979314 29 ctime=1791882995.16942103 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T833/0000755000175000017500000000000015263373363020312 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T833/PaxHeaders/test.event0000644000000000000000000000013115263373363022701 xustar0030 mtime=1791882995.169516992 29 atime=1791882995.16942103 30 ctime=1791882995.169516992 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T833/test.event0000644000175000017500000000003515263373363022332 0ustar00tinatina+STR +DOC --- +MAP =VAL :foo YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T833/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022150 xustar0029 mtime=1791882995.09405984 30 atime=1791882995.093965624 29 ctime=1791882995.09405984 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T833/in.yaml0000644000175000017500000000003015263373363021575 0ustar00tinatina--- { foo: 1 bar: 2 } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T833/PaxHeaders/error0000644000000000000000000000013215263373363021734 xustar0030 mtime=1791882995.054007876 30 atime=1791882995.054007876 30 ctime=1791882995.054096087 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T833/error0000644000175000017500000000000015263373363021354 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T833/PaxHeaders/===0000644000000000000000000000013115263373363021150 xustar0030 mtime=1791882995.019952798 29 atime=1791882995.01979314 30 ctime=1791882995.019952798 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T833/===0000644000175000017500000000005015263373363020576 0ustar00tinatinaFlow mapping missing a separating comma YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/NKF90000644000000000000000000000013215263373363020651 xustar0030 mtime=1791882995.169326604 30 atime=1791882995.019634669 30 ctime=1791882995.169326604 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NKF9/0000755000175000017500000000000015263373363020360 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NKF9/PaxHeaders/test.event0000644000000000000000000000013015263373363022746 xustar0029 mtime=1791882995.16942103 30 atime=1791882995.169326604 29 ctime=1791882995.16942103 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NKF9/test.event0000644000175000017500000000034615263373363022405 0ustar00tinatina+STR +DOC --- +MAP =VAL :key =VAL :value =VAL : =VAL :empty key -MAP -DOC +DOC --- +MAP {} =VAL :key =VAL :value =VAL : =VAL :empty key -MAP -DOC +DOC --- +MAP =VAL : =VAL : -MAP -DOC +DOC --- +MAP {} =VAL : =VAL : -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NKF9/PaxHeaders/emit.yaml0000644000000000000000000000013015263373363022546 xustar0029 mtime=1791882995.14867058 30 atime=1791882995.148575177 29 ctime=1791882995.14867058 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NKF9/emit.yaml0000644000175000017500000000010215263373363022173 0ustar00tinatina--- key: value : empty key --- key: value : empty key --- : --- : YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NKF9/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022220 xustar0030 mtime=1791882995.093965624 30 atime=1791882995.093868963 30 ctime=1791882995.093965624 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NKF9/in.yaml0000644000175000017500000000017015263373363021650 0ustar00tinatina--- key: value : empty key --- { key: value, : empty key } --- # empty key and value : --- # empty key and value { : } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NKF9/PaxHeaders/===0000644000000000000000000000013015263373363021215 xustar0029 mtime=1791882995.01979314 30 atime=1791882995.019634669 29 ctime=1791882995.01979314 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NKF9/===0000644000175000017500000000004515263373363020650 0ustar00tinatinaEmpty keys in block and flow mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/J3BT0000644000000000000000000000013215263373363020644 xustar0030 mtime=1791882995.169232737 30 atime=1791882995.019472846 30 ctime=1791882995.169232737 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J3BT/0000755000175000017500000000000015263373363020353 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J3BT/PaxHeaders/test.event0000644000000000000000000000013215263373363022743 xustar0030 mtime=1791882995.169326604 30 atime=1791882995.169232737 30 ctime=1791882995.169326604 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J3BT/test.event0000644000175000017500000000017715263373363022402 0ustar00tinatina+STR +DOC +MAP =VAL :quoted =VAL "Quoted \t =VAL :block =VAL |void main() {\n\tprintf("Hello, world!\\n");\n}\n -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J3BT/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022414 xustar0030 mtime=1791882995.134101747 30 atime=1791882995.134007671 30 ctime=1791882995.134101747 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J3BT/out.yaml0000644000175000017500000000011715263373363022045 0ustar00tinatinaquoted: "Quoted \t" block: | void main() { printf("Hello, world!\n"); } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J3BT/PaxHeaders/in.json0000644000000000000000000000013215263373363022222 xustar0030 mtime=1791882995.093868963 30 atime=1791882995.093772652 30 ctime=1791882995.093868963 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J3BT/in.json0000644000175000017500000000013615263373363021654 0ustar00tinatina{ "quoted": "Quoted \t", "block": "void main() {\n\tprintf(\"Hello, world!\\n\");\n}\n" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J3BT/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022213 xustar0030 mtime=1791882995.093772652 30 atime=1791882995.093676689 30 ctime=1791882995.093772652 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J3BT/in.yaml0000644000175000017500000000014015263373363021640 0ustar00tinatina# Tabs and spaces quoted: "Quoted " block: | void main() { printf("Hello, world!\n"); } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J3BT/PaxHeaders/===0000644000000000000000000000013215263373363021212 xustar0030 mtime=1791882995.019634669 30 atime=1791882995.019472846 30 ctime=1791882995.019634669 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J3BT/===0000644000175000017500000000004315263373363020641 0ustar00tinatinaSpec Example 5.12. Tabs and Spaces YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/9MMW0000644000000000000000000000013115263373363020672 xustar0030 mtime=1791882995.169124552 29 atime=1791882995.01930795 30 ctime=1791882995.169124552 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MMW/0000755000175000017500000000000015263373363020402 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MMW/PaxHeaders/test.event0000644000000000000000000000013215263373363022772 xustar0030 mtime=1791882995.169232737 30 atime=1791882995.169124552 30 ctime=1791882995.169232737 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MMW/test.event0000644000175000017500000000032715263373363022426 0ustar00tinatina+STR +DOC +SEQ +SEQ [] +MAP {} =VAL :YAML =VAL :separate -MAP -SEQ +SEQ [] +MAP {} =VAL "JSON like =VAL :adjacent -MAP -SEQ +SEQ [] +MAP {} +MAP {} =VAL :JSON =VAL :like -MAP =VAL :adjacent -MAP -SEQ -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MMW/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022443 xustar0030 mtime=1791882995.134007671 30 atime=1791882995.133913733 30 ctime=1791882995.134007671 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MMW/out.yaml0000644000175000017500000000011515263373363022072 0ustar00tinatina- - YAML: separate - - "JSON like": adjacent - - ? JSON: like : adjacent YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MMW/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022242 xustar0030 mtime=1791882995.093676689 30 atime=1791882995.093580377 30 ctime=1791882995.093676689 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MMW/in.yaml0000644000175000017500000000011515263373363021671 0ustar00tinatina- [ YAML : separate ] - [ "JSON like":adjacent ] - [ {JSON: like}:adjacent ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MMW/PaxHeaders/===0000644000000000000000000000013115263373363021240 xustar0030 mtime=1791882995.019472846 29 atime=1791882995.01930795 30 ctime=1791882995.019472846 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MMW/===0000644000175000017500000000003515263373363020671 0ustar00tinatinaSingle Pair Implicit Entries YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/9C9N0000644000000000000000000000013015263373363020622 xustar0029 mtime=1791882995.16902866 30 atime=1791882995.019143123 29 ctime=1791882995.16902866 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9C9N/0000755000175000017500000000000015263373363020333 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9C9N/PaxHeaders/test.event0000644000000000000000000000013115263373363022722 xustar0030 mtime=1791882995.169124552 29 atime=1791882995.16902866 30 ctime=1791882995.169124552 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9C9N/test.event0000644000175000017500000000005615263373363022356 0ustar00tinatina+STR +DOC --- +MAP =VAL :flow +SEQ [] =VAL :a YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9C9N/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022173 xustar0030 mtime=1791882995.093580377 30 atime=1791882995.093485044 30 ctime=1791882995.093580377 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9C9N/in.yaml0000644000175000017500000000002415263373363021621 0ustar00tinatina--- flow: [a, b, c] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9C9N/PaxHeaders/error0000644000000000000000000000013215263373363021755 xustar0030 mtime=1791882995.053919178 30 atime=1791882995.053919178 30 ctime=1791882995.054007876 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9C9N/error0000644000175000017500000000000015263373363021375 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9C9N/PaxHeaders/===0000644000000000000000000000013015263373363021170 xustar0029 mtime=1791882995.01930795 30 atime=1791882995.019143123 29 ctime=1791882995.01930795 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9C9N/===0000644000175000017500000000003515263373363020622 0ustar00tinatinaWrong indented flow sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/5KJE0000644000000000000000000000013215263373363020640 xustar0030 mtime=1791882995.168934443 30 atime=1791882995.018971522 30 ctime=1791882995.168934443 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5KJE/0000755000175000017500000000000015263373363020347 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5KJE/PaxHeaders/test.event0000644000000000000000000000013015263373363022735 xustar0029 mtime=1791882995.16902866 30 atime=1791882995.168934443 29 ctime=1791882995.16902866 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5KJE/test.event0000644000175000017500000000014315263373363022367 0ustar00tinatina+STR +DOC +SEQ +SEQ [] =VAL :one =VAL :two -SEQ +SEQ [] =VAL :three =VAL :four -SEQ -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5KJE/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022410 xustar0030 mtime=1791882995.133913733 30 atime=1791882995.133819028 30 ctime=1791882995.133913733 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5KJE/out.yaml0000644000175000017500000000004315263373363022037 0ustar00tinatina- - one - two - - three - four YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5KJE/PaxHeaders/in.json0000644000000000000000000000013215263373363022216 xustar0030 mtime=1791882995.093485044 30 atime=1791882995.093388103 30 ctime=1791882995.093485044 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5KJE/in.json0000644000175000017500000000010215263373363021641 0ustar00tinatina[ [ "one", "two" ], [ "three", "four" ] ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5KJE/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022207 xustar0030 mtime=1791882995.093388103 30 atime=1791882995.093291303 30 ctime=1791882995.093388103 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5KJE/in.yaml0000644000175000017500000000004015263373363021633 0ustar00tinatina- [ one, two, ] - [three ,four] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5KJE/PaxHeaders/===0000644000000000000000000000013215263373363021206 xustar0030 mtime=1791882995.019143123 30 atime=1791882995.018971522 30 ctime=1791882995.019143123 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5KJE/===0000644000175000017500000000004115263373363020633 0ustar00tinatinaSpec Example 7.13. Flow Sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/5WE30000644000000000000000000000013115263373363020624 xustar0030 mtime=1791882995.168839319 29 atime=1791882995.01880949 30 ctime=1791882995.168839319 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5WE3/0000755000175000017500000000000015263373363020334 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5WE3/PaxHeaders/test.event0000644000000000000000000000013215263373363022724 xustar0030 mtime=1791882995.168934443 30 atime=1791882995.168839319 30 ctime=1791882995.168934443 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5WE3/test.event0000644000175000017500000000015015263373363022352 0ustar00tinatina+STR +DOC +MAP =VAL :explicit key =VAL : =VAL |block key\n +SEQ =VAL :one =VAL :two -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5WE3/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022375 xustar0030 mtime=1791882995.133819028 30 atime=1791882995.133724742 30 ctime=1791882995.133819028 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5WE3/out.yaml0000644000175000017500000000005615263373363022030 0ustar00tinatinaexplicit key: ? | block key : - one - two YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5WE3/PaxHeaders/in.json0000644000000000000000000000013215263373363022203 xustar0030 mtime=1791882995.093291303 30 atime=1791882995.093194502 30 ctime=1791882995.093291303 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5WE3/in.json0000644000175000017500000000011015263373363021625 0ustar00tinatina{ "explicit key": null, "block key\n": [ "one", "two" ] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5WE3/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022174 xustar0030 mtime=1791882995.093194502 30 atime=1791882995.093091136 30 ctime=1791882995.093194502 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5WE3/in.yaml0000644000175000017500000000013615263373363021626 0ustar00tinatina? explicit key # Empty value ? | block key : - one # Explicit compact - two # block value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5WE3/PaxHeaders/===0000644000000000000000000000013115263373363021172 xustar0030 mtime=1791882995.018971522 29 atime=1791882995.01880949 30 ctime=1791882995.018971522 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5WE3/===0000644000175000017500000000006215263373363020623 0ustar00tinatinaSpec Example 8.17. Explicit Block Mapping Entries YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/MZX30000644000000000000000000000013215263373363020703 xustar0030 mtime=1791882995.168744404 30 atime=1791882995.018649692 30 ctime=1791882995.168744404 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MZX3/0000755000175000017500000000000015263373363020412 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MZX3/PaxHeaders/test.event0000644000000000000000000000013215263373363023002 xustar0030 mtime=1791882995.168839319 30 atime=1791882995.168744404 30 ctime=1791882995.168839319 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MZX3/test.event0000644000175000017500000000016215263373363022433 0ustar00tinatina+STR +DOC +SEQ =VAL :plain =VAL "double quoted =VAL 'single quoted =VAL >block\n =VAL :plain again -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MZX3/PaxHeaders/in.json0000644000000000000000000000013215263373363022261 xustar0030 mtime=1791882995.093091136 30 atime=1791882995.092996222 30 ctime=1791882995.093091136 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MZX3/in.json0000644000175000017500000000012215263373363021706 0ustar00tinatina[ "plain", "double quoted", "single quoted", "block\n", "plain again" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MZX3/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022252 xustar0030 mtime=1791882995.092996222 30 atime=1791882995.092901097 30 ctime=1791882995.092996222 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MZX3/in.yaml0000644000175000017500000000010615263373363021701 0ustar00tinatina- plain - "double quoted" - 'single quoted' - > block - plain again YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MZX3/PaxHeaders/===0000644000000000000000000000013015263373363021247 xustar0029 mtime=1791882995.01880949 30 atime=1791882995.018649692 29 ctime=1791882995.01880949 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MZX3/===0000644000175000017500000000003515263373363020701 0ustar00tinatinaNon-Specific Tags on Scalars YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/QLJ70000644000000000000000000000013215263373363020657 xustar0030 mtime=1791882995.168648441 30 atime=1791882995.018485634 30 ctime=1791882995.168648441 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QLJ7/0000755000175000017500000000000015263373363020366 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QLJ7/PaxHeaders/test.event0000644000000000000000000000013215263373363022756 xustar0030 mtime=1791882995.168744404 30 atime=1791882995.168648441 30 ctime=1791882995.168744404 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QLJ7/test.event0000644000175000017500000000011715263373363022407 0ustar00tinatina+STR +DOC --- +MAP =VAL :a =VAL :b -MAP -DOC +DOC --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QLJ7/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022226 xustar0030 mtime=1791882995.092901097 30 atime=1791882995.092804436 30 ctime=1791882995.092901097 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QLJ7/in.yaml0000644000175000017500000000013515263373363021657 0ustar00tinatina%TAG !prefix! tag:example.com,2011: --- !prefix!A a: b --- !prefix!B c: d --- !prefix!C e: f YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QLJ7/PaxHeaders/error0000644000000000000000000000013215263373363022010 xustar0030 mtime=1791882995.053820701 30 atime=1791882995.053820701 30 ctime=1791882995.053919178 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QLJ7/error0000644000175000017500000000000015263373363021430 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QLJ7/PaxHeaders/===0000644000000000000000000000013215263373363021225 xustar0030 mtime=1791882995.018649692 30 atime=1791882995.018485634 30 ctime=1791882995.018649692 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QLJ7/===0000644000175000017500000000007615263373363020662 0ustar00tinatinaTag shorthand used in documents but only defined in the first YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/W9L40000644000000000000000000000013215263373363020641 xustar0030 mtime=1791882995.168553527 30 atime=1791882995.018321995 30 ctime=1791882995.168553527 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W9L4/0000755000175000017500000000000015263373363020350 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W9L4/PaxHeaders/test.event0000644000000000000000000000013215263373363022740 xustar0030 mtime=1791882995.168648441 30 atime=1791882995.168553527 30 ctime=1791882995.168648441 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W9L4/test.event0000644000175000017500000000004615263373363022372 0ustar00tinatina+STR +DOC --- +MAP =VAL :block scalar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W9L4/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022210 xustar0030 mtime=1791882995.092804436 30 atime=1791882995.092709522 30 ctime=1791882995.092804436 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W9L4/in.yaml0000644000175000017500000000010715263373363021640 0ustar00tinatina--- block scalar: | more spaces at the beginning are invalid YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W9L4/PaxHeaders/error0000644000000000000000000000013215263373363021772 xustar0030 mtime=1791882995.053743596 30 atime=1791882995.053743596 30 ctime=1791882995.053820701 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W9L4/error0000644000175000017500000000000015263373363021412 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W9L4/PaxHeaders/===0000644000000000000000000000013215263373363021207 xustar0030 mtime=1791882995.018485634 30 atime=1791882995.018321995 30 ctime=1791882995.018485634 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/W9L4/===0000644000175000017500000000006415263373363020641 0ustar00tinatinaLiteral block scalar with more spaces in first line YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/6VJK0000644000000000000000000000013215263373363020662 xustar0030 mtime=1791882995.168450929 30 atime=1791882995.018158076 30 ctime=1791882995.168450929 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6VJK/0000755000175000017500000000000015263373363020371 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6VJK/PaxHeaders/test.event0000644000000000000000000000013215263373363022761 xustar0030 mtime=1791882995.168553527 30 atime=1791882995.168450929 30 ctime=1791882995.168553527 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6VJK/test.event0000644000175000017500000000022215263373363022407 0ustar00tinatina+STR +DOC =VAL >Sammy Sosa completed another fine season with great stats.\n\n 63 Home Runs\n 0.288 Batting Average\n\nWhat a year!\n -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6VJK/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022432 xustar0030 mtime=1791882995.133724742 30 atime=1791882995.133629338 30 ctime=1791882995.133724742 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6VJK/out.yaml0000644000175000017500000000017315263373363022065 0ustar00tinatina> Sammy Sosa completed another fine season with great stats. 63 Home Runs 0.288 Batting Average What a year! YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6VJK/PaxHeaders/in.json0000644000000000000000000000013215263373363022240 xustar0030 mtime=1791882995.092709522 30 atime=1791882995.092614607 30 ctime=1791882995.092709522 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6VJK/in.json0000644000175000017500000000017215263373363021672 0ustar00tinatina"Sammy Sosa completed another fine season with great stats.\n\n 63 Home Runs\n 0.288 Batting Average\n\nWhat a year!\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6VJK/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022231 xustar0030 mtime=1791882995.092614607 30 atime=1791882995.092505235 30 ctime=1791882995.092614607 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6VJK/in.yaml0000644000175000017500000000017015263373363021661 0ustar00tinatina> Sammy Sosa completed another fine season with great stats. 63 Home Runs 0.288 Batting Average What a year! YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6VJK/PaxHeaders/===0000644000000000000000000000013215263373363021230 xustar0030 mtime=1791882995.018321995 30 atime=1791882995.018158076 30 ctime=1791882995.018321995 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6VJK/===0000644000175000017500000000012515263373363020660 0ustar00tinatinaSpec Example 2.15. Folded newlines are preserved for "more indented" and blank lines YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/BD7L0000644000000000000000000000013215263373363020632 xustar0030 mtime=1791882995.168356014 30 atime=1791882995.017975859 30 ctime=1791882995.168356014 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BD7L/0000755000175000017500000000000015263373363020341 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BD7L/PaxHeaders/test.event0000644000000000000000000000013215263373363022731 xustar0030 mtime=1791882995.168450929 30 atime=1791882995.168356014 30 ctime=1791882995.168450929 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BD7L/test.event0000644000175000017500000000004715263373363022364 0ustar00tinatina+STR +DOC +SEQ =VAL :item1 =VAL :item2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BD7L/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022201 xustar0030 mtime=1791882995.092505235 30 atime=1791882995.092395793 30 ctime=1791882995.092505235 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BD7L/in.yaml0000644000175000017500000000003315263373363021627 0ustar00tinatina- item1 - item2 invalid: x YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BD7L/PaxHeaders/error0000644000000000000000000000013015263373363021761 xustar0029 mtime=1791882995.05365343 29 atime=1791882995.05365343 30 ctime=1791882995.053743596 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BD7L/error0000644000175000017500000000000015263373363021403 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BD7L/PaxHeaders/===0000644000000000000000000000013215263373363021200 xustar0030 mtime=1791882995.018158076 30 atime=1791882995.017975859 30 ctime=1791882995.018158076 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BD7L/===0000644000175000017500000000003715263373363020632 0ustar00tinatinaInvalid mapping after sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/ZXT50000644000000000000000000000013215263373363020714 xustar0030 mtime=1791882995.168260611 30 atime=1791882995.017811732 30 ctime=1791882995.168260611 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZXT5/0000755000175000017500000000000015263373363020423 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZXT5/PaxHeaders/test.event0000644000000000000000000000013215263373363023013 xustar0030 mtime=1791882995.168356014 30 atime=1791882995.168260611 30 ctime=1791882995.168356014 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZXT5/test.event0000644000175000017500000000003415263373363022442 0ustar00tinatina+STR +DOC +SEQ [] =VAL "key YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZXT5/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022262 xustar0030 mtime=1791882995.092395793 29 atime=1791882995.09229543 30 ctime=1791882995.092395793 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZXT5/in.yaml0000644000175000017500000000002315263373363021710 0ustar00tinatina[ "key" :value ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZXT5/PaxHeaders/error0000644000000000000000000000013115263373363022044 xustar0030 mtime=1791882995.053575487 30 atime=1791882995.053575487 29 ctime=1791882995.05365343 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZXT5/error0000644000175000017500000000000015263373363021465 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZXT5/PaxHeaders/===0000644000000000000000000000013215263373363021262 xustar0030 mtime=1791882995.017975859 30 atime=1791882995.017811732 30 ctime=1791882995.017975859 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZXT5/===0000644000175000017500000000006415263373363020714 0ustar00tinatinaImplicit key followed by newline and adjacent value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/C4HZ0000644000000000000000000000013215263373363020652 xustar0030 mtime=1791882995.168160807 30 atime=1791882995.017662201 30 ctime=1791882995.168160807 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C4HZ/0000755000175000017500000000000015263373363020361 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C4HZ/PaxHeaders/test.event0000644000000000000000000000013215263373363022751 xustar0030 mtime=1791882995.168260611 30 atime=1791882995.168160807 30 ctime=1791882995.168260611 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C4HZ/test.event0000644000175000017500000000071415263373363022405 0ustar00tinatina+STR +DOC --- +SEQ +MAP =VAL :center +MAP {} &ORIGIN =VAL :x =VAL :73 =VAL :y =VAL :129 -MAP =VAL :radius =VAL :7 -MAP +MAP =VAL :start =ALI *ORIGIN =VAL :finish +MAP {} =VAL :x =VAL :89 =VAL :y =VAL :102 -MAP -MAP +MAP =VAL :start =ALI *ORIGIN =VAL :color =VAL :0xFFEEBB =VAL :text =VAL :Pretty vector drawing. -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C4HZ/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022422 xustar0030 mtime=1791882995.133629338 30 atime=1791882995.133534912 30 ctime=1791882995.133629338 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C4HZ/out.yaml0000644000175000017500000000046315263373363022057 0ustar00tinatina--- ! - ! center: &ORIGIN x: 73 y: 129 radius: 7 - ! start: *ORIGIN finish: x: 89 y: 102 - ! start: *ORIGIN color: 0xFFEEBB text: Pretty vector drawing. YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C4HZ/PaxHeaders/in.json0000644000000000000000000000013015263373363022226 xustar0029 mtime=1791882995.09229543 30 atime=1791882995.092196185 29 ctime=1791882995.09229543 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C4HZ/in.json0000644000175000017500000000047315263373363021666 0ustar00tinatina[ { "center": { "x": 73, "y": 129 }, "radius": 7 }, { "start": { "x": 73, "y": 129 }, "finish": { "x": 89, "y": 102 } }, { "start": { "x": 73, "y": 129 }, "color": 16772795, "text": "Pretty vector drawing." } ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C4HZ/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022221 xustar0030 mtime=1791882995.092196185 30 atime=1791882995.092087442 30 ctime=1791882995.092196185 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C4HZ/in.yaml0000644000175000017500000000045215263373363021654 0ustar00tinatina%TAG ! tag:clarkevans.com,2002: --- !shape # Use the ! handle for presenting # tag:clarkevans.com,2002:circle - !circle center: &ORIGIN {x: 73, y: 129} radius: 7 - !line start: *ORIGIN finish: { x: 89, y: 102 } - !label start: *ORIGIN color: 0xFFEEBB text: Pretty vector drawing. YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C4HZ/PaxHeaders/===0000644000000000000000000000013215263373363021220 xustar0030 mtime=1791882995.017811732 30 atime=1791882995.017662201 30 ctime=1791882995.017811732 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/C4HZ/===0000644000175000017500000000003715263373363020652 0ustar00tinatinaSpec Example 2.24. Global Tags YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/93WF0000644000000000000000000000013215263373363020632 xustar0030 mtime=1791882995.168055556 30 atime=1791882995.017512669 30 ctime=1791882995.168055556 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/93WF/0000755000175000017500000000000015263373363020341 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/93WF/PaxHeaders/test.event0000644000000000000000000000013215263373363022731 xustar0030 mtime=1791882995.168160807 30 atime=1791882995.168055556 30 ctime=1791882995.168160807 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/93WF/test.event0000644000175000017500000000006415263373363022363 0ustar00tinatina+STR +DOC --- =VAL >trimmed\n\n\nas space -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/93WF/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022402 xustar0030 mtime=1791882995.133534912 30 atime=1791882995.133440905 30 ctime=1791882995.133534912 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/93WF/out.yaml0000644000175000017500000000003715263373363022034 0ustar00tinatina--- >- trimmed as space YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/93WF/PaxHeaders/in.json0000644000000000000000000000013015263373363022206 xustar0030 mtime=1791882995.092087442 28 atime=1791882995.0919912 30 ctime=1791882995.092087442 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/93WF/in.json0000644000175000017500000000003015263373363021633 0ustar00tinatina"trimmed\n\n\nas space" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/93WF/PaxHeaders/in.yaml0000644000000000000000000000012615263373363022204 xustar0028 mtime=1791882995.0919912 30 atime=1791882995.091893491 28 ctime=1791882995.0919912 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/93WF/in.yaml0000644000175000017500000000004415263373363021631 0ustar00tinatina--- >- trimmed as space YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/93WF/PaxHeaders/===0000644000000000000000000000013215263373363021200 xustar0030 mtime=1791882995.017662201 30 atime=1791882995.017512669 30 ctime=1791882995.017662201 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/93WF/===0000644000175000017500000000004515263373363020631 0ustar00tinatinaSpec Example 6.6. Line Folding [1.3] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/4EJS0000644000000000000000000000013215263373363020647 xustar0030 mtime=1791882995.167961618 30 atime=1791882995.017351894 30 ctime=1791882995.167961618 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4EJS/0000755000175000017500000000000015263373363020356 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4EJS/PaxHeaders/test.event0000644000000000000000000000013215263373363022746 xustar0030 mtime=1791882995.168055556 30 atime=1791882995.167961618 30 ctime=1791882995.168055556 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4EJS/test.event0000644000175000017500000000003315263373363022374 0ustar00tinatina+STR +DOC --- +MAP =VAL :a YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4EJS/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022216 xustar0030 mtime=1791882995.091893491 30 atime=1791882995.091806539 30 ctime=1791882995.091893491 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4EJS/in.yaml0000644000175000017500000000002615263373363021646 0ustar00tinatina--- a: b: c: value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4EJS/PaxHeaders/error0000644000000000000000000000013215263373363022000 xustar0030 mtime=1791882995.053489232 30 atime=1791882995.053489232 30 ctime=1791882995.053575487 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4EJS/error0000644000175000017500000000000015263373363021420 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4EJS/PaxHeaders/===0000644000000000000000000000013215263373363021215 xustar0030 mtime=1791882995.017512669 30 atime=1791882995.017351894 30 ctime=1791882995.017512669 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4EJS/===0000644000175000017500000000005115263373363020643 0ustar00tinatinaInvalid tabs as indendation in a mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/A9840000644000000000000000000000013215263373363020567 xustar0030 mtime=1791882995.167867891 30 atime=1791882995.017183925 30 ctime=1791882995.167867891 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A984/0000755000175000017500000000000015263373363020276 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A984/PaxHeaders/test.event0000644000000000000000000000013215263373363022666 xustar0030 mtime=1791882995.167961618 30 atime=1791882995.167867891 30 ctime=1791882995.167961618 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A984/test.event0000644000175000017500000000010215263373363022311 0ustar00tinatina+STR +DOC +MAP =VAL :a =VAL :b c =VAL :d =VAL :e f -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A984/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022337 xustar0030 mtime=1791882995.133440905 30 atime=1791882995.133346479 30 ctime=1791882995.133440905 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A984/out.yaml0000644000175000017500000000001615263373363021766 0ustar00tinatinaa: b c d: e f YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A984/PaxHeaders/in.json0000644000000000000000000000013215263373363022145 xustar0030 mtime=1791882995.091806539 30 atime=1791882995.091701636 30 ctime=1791882995.091806539 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A984/in.json0000644000175000017500000000003715263373363021577 0ustar00tinatina{ "a": "b c", "d": "e f" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A984/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022136 xustar0030 mtime=1791882995.091701636 30 atime=1791882995.091615242 30 ctime=1791882995.091701636 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A984/in.yaml0000644000175000017500000000002215263373363021562 0ustar00tinatinaa: b c d: e f YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A984/PaxHeaders/===0000644000000000000000000000013215263373363021135 xustar0030 mtime=1791882995.017351894 30 atime=1791882995.017183925 30 ctime=1791882995.017351894 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/A984/===0000644000175000017500000000003415263373363020564 0ustar00tinatinaMultiline Scalar in Mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/6WLZ0000644000000000000000000000013215263373363020704 xustar0030 mtime=1791882995.167774094 30 atime=1791882995.017021892 30 ctime=1791882995.167774094 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WLZ/0000755000175000017500000000000015263373363020413 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WLZ/PaxHeaders/test.event0000644000000000000000000000013215263373363023003 xustar0030 mtime=1791882995.167867891 30 atime=1791882995.167774094 30 ctime=1791882995.167867891 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WLZ/test.event0000644000175000017500000000014415263373363022434 0ustar00tinatina+STR +DOC --- =VAL "bar -DOC ... +DOC --- =VAL "bar -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WLZ/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022603 xustar0030 mtime=1791882995.148575177 30 atime=1791882995.148482217 30 ctime=1791882995.148575177 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WLZ/emit.yaml0000644000175000017500000000007515263373363022237 0ustar00tinatina--- !foo "bar" ... --- ! "bar" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WLZ/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022454 xustar0030 mtime=1791882995.133346479 30 atime=1791882995.133252333 30 ctime=1791882995.133346479 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WLZ/out.yaml0000644000175000017500000000007515263373363022110 0ustar00tinatina--- !foo "bar" ... --- ! "bar" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WLZ/PaxHeaders/in.json0000644000000000000000000000013215263373363022262 xustar0030 mtime=1791882995.091615242 30 atime=1791882995.091510759 30 ctime=1791882995.091615242 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WLZ/in.json0000644000175000017500000000001415263373363021707 0ustar00tinatina"bar" "bar" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WLZ/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022253 xustar0030 mtime=1791882995.091510759 30 atime=1791882995.091424435 30 ctime=1791882995.091510759 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WLZ/in.yaml0000644000175000017500000000012615263373363021704 0ustar00tinatina# Private --- !foo "bar" ... # Global %TAG ! tag:example.com,2000:app/ --- !foo "bar" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WLZ/PaxHeaders/===0000644000000000000000000000013215263373363021252 xustar0030 mtime=1791882995.017183925 30 atime=1791882995.017021892 30 ctime=1791882995.017183925 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6WLZ/===0000644000175000017500000000005415263373363020703 0ustar00tinatinaSpec Example 6.18. Primary Tag Handle [1.3] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/FP8R0000644000000000000000000000013215263373363020661 xustar0030 mtime=1791882995.167676804 30 atime=1791882995.016859999 30 ctime=1791882995.167676804 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FP8R/0000755000175000017500000000000015263373363020370 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FP8R/PaxHeaders/test.event0000644000000000000000000000013215263373363022760 xustar0030 mtime=1791882995.167774094 30 atime=1791882995.167676804 30 ctime=1791882995.167774094 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FP8R/test.event0000644000175000017500000000006215263373363022410 0ustar00tinatina+STR +DOC --- =VAL >line1 line2 line3\n -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FP8R/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022431 xustar0030 mtime=1791882995.133252333 30 atime=1791882995.133155951 30 ctime=1791882995.133252333 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FP8R/out.yaml0000644000175000017500000000003215263373363022056 0ustar00tinatina--- > line1 line2 line3 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FP8R/PaxHeaders/in.json0000644000000000000000000000013215263373363022237 xustar0030 mtime=1791882995.091424435 30 atime=1791882995.091328822 30 ctime=1791882995.091424435 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FP8R/in.json0000644000175000017500000000002615263373363021667 0ustar00tinatina"line1 line2 line3\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FP8R/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022230 xustar0030 mtime=1791882995.091328822 30 atime=1791882995.091237539 30 ctime=1791882995.091328822 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FP8R/in.yaml0000644000175000017500000000003015263373363021653 0ustar00tinatina--- > line1 line2 line3 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FP8R/PaxHeaders/===0000644000000000000000000000013215263373363021227 xustar0030 mtime=1791882995.017021892 30 atime=1791882995.016859999 30 ctime=1791882995.017021892 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FP8R/===0000644000175000017500000000003315263373363020655 0ustar00tinatinaZero indented block scalar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/9JBA0000644000000000000000000000013215263373363020627 xustar0030 mtime=1791882995.167582797 30 atime=1791882995.016699852 30 ctime=1791882995.167582797 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9JBA/0000755000175000017500000000000015263373363020336 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9JBA/PaxHeaders/test.event0000644000000000000000000000013215263373363022726 xustar0030 mtime=1791882995.167676804 30 atime=1791882995.167582797 30 ctime=1791882995.167676804 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9JBA/test.event0000644000175000017500000000006315263373363022357 0ustar00tinatina+STR +DOC --- +SEQ [] =VAL :a =VAL :b =VAL :c -SEQ YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9JBA/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022176 xustar0030 mtime=1791882995.091237539 30 atime=1791882995.091120135 30 ctime=1791882995.091237539 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9JBA/in.yaml0000644000175000017500000000003115263373363021622 0ustar00tinatina--- [ a, b, c, ]#invalid YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9JBA/PaxHeaders/error0000644000000000000000000000013215263373363021760 xustar0030 mtime=1791882995.053402978 30 atime=1791882995.053402978 30 ctime=1791882995.053489232 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9JBA/error0000644000175000017500000000000015263373363021400 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9JBA/PaxHeaders/===0000644000000000000000000000013215263373363021175 xustar0030 mtime=1791882995.016859999 30 atime=1791882995.016699852 30 ctime=1791882995.016859999 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9JBA/===0000644000175000017500000000005315263373363020625 0ustar00tinatinaInvalid comment after end of flow sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/2LFX0000644000000000000000000000013215263373363020655 xustar0030 mtime=1791882995.167489349 30 atime=1791882995.016541032 30 ctime=1791882995.167489349 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2LFX/0000755000175000017500000000000015263373363020364 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2LFX/PaxHeaders/test.event0000644000000000000000000000013215263373363022754 xustar0030 mtime=1791882995.167582797 30 atime=1791882995.167489349 30 ctime=1791882995.167582797 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2LFX/test.event0000644000175000017500000000004215263373363022402 0ustar00tinatina+STR +DOC --- =VAL "foo -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2LFX/PaxHeaders/emit.yaml0000644000000000000000000000013115263373363022553 xustar0030 mtime=1791882995.148482217 29 atime=1791882995.14838388 30 ctime=1791882995.148482217 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2LFX/emit.yaml0000644000175000017500000000001215263373363022177 0ustar00tinatina--- "foo" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2LFX/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022425 xustar0030 mtime=1791882995.133155951 30 atime=1791882995.133044344 30 ctime=1791882995.133155951 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2LFX/out.yaml0000644000175000017500000000001215263373363022050 0ustar00tinatina--- "foo" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2LFX/PaxHeaders/in.json0000644000000000000000000000013115263373363022232 xustar0030 mtime=1791882995.091120135 29 atime=1791882995.09102529 30 ctime=1791882995.091120135 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2LFX/in.json0000644000175000017500000000000615263373363021661 0ustar00tinatina"foo" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2LFX/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022222 xustar0029 mtime=1791882995.09102529 30 atime=1791882995.090930934 29 ctime=1791882995.09102529 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2LFX/in.yaml0000644000175000017500000000011415263373363021652 0ustar00tinatina%FOO bar baz # Should be ignored # with a warning. --- "foo" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2LFX/PaxHeaders/===0000644000000000000000000000013215263373363021223 xustar0030 mtime=1791882995.016699852 30 atime=1791882995.016541032 30 ctime=1791882995.016699852 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2LFX/===0000644000175000017500000000005515263373363020655 0ustar00tinatinaSpec Example 6.13. Reserved Directives [1.3] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/F6MC0000644000000000000000000000013215263373363020635 xustar0030 mtime=1791882995.167394923 30 atime=1791882995.016381234 30 ctime=1791882995.167394923 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F6MC/0000755000175000017500000000000015263373363020344 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F6MC/PaxHeaders/test.event0000644000000000000000000000013215263373363022734 xustar0030 mtime=1791882995.167489349 30 atime=1791882995.167394923 30 ctime=1791882995.167489349 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F6MC/test.event0000644000175000017500000000016615263373363022371 0ustar00tinatina+STR +DOC --- +MAP =VAL :a =VAL > more indented\nregular\n =VAL :b =VAL >\n\n more indented\nregular\n -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F6MC/PaxHeaders/emit.yaml0000644000000000000000000000013015263373363022532 xustar0029 mtime=1791882995.14838388 30 atime=1791882995.148298045 29 ctime=1791882995.14838388 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F6MC/emit.yaml0000644000175000017500000000011015263373363022156 0ustar00tinatina--- a: >2 more indented regular b: >2 more indented regular YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F6MC/PaxHeaders/in.json0000644000000000000000000000013215263373363022213 xustar0030 mtime=1791882995.090930934 30 atime=1791882995.090836997 30 ctime=1791882995.090930934 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F6MC/in.json0000644000175000017500000000011715263373363021644 0ustar00tinatina{ "a": " more indented\nregular\n", "b": "\n\n more indented\nregular\n" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F6MC/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022204 xustar0030 mtime=1791882995.090836997 30 atime=1791882995.090739986 30 ctime=1791882995.090836997 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F6MC/in.yaml0000644000175000017500000000011015263373363021626 0ustar00tinatina--- a: >2 more indented regular b: >2 more indented regular YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F6MC/PaxHeaders/===0000644000000000000000000000013215263373363021203 xustar0030 mtime=1791882995.016541032 30 atime=1791882995.016381234 30 ctime=1791882995.016541032 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F6MC/===0000644000175000017500000000007515263373363020637 0ustar00tinatinaMore indented lines at the beginning of folded block scalars YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/P94K0000644000000000000000000000012615263373363020634 xustar0029 mtime=1791882995.16691567 28 atime=1791882995.0162199 29 ctime=1791882995.16691567 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P94K/0000755000175000017500000000000015263373363020340 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P94K/PaxHeaders/test.event0000644000000000000000000000013115263373363022727 xustar0030 mtime=1791882995.166998153 29 atime=1791882995.16691567 30 ctime=1791882995.166998153 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P94K/test.event0000644000175000017500000000006415263373363022362 0ustar00tinatina+STR +DOC +MAP =VAL :key =VAL :value -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P94K/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022401 xustar0030 mtime=1791882995.132944541 30 atime=1791882995.132847251 30 ctime=1791882995.132944541 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P94K/out.yaml0000644000175000017500000000001315263373363022025 0ustar00tinatinakey: value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P94K/PaxHeaders/in.json0000644000000000000000000000013215263373363022207 xustar0030 mtime=1791882995.090739986 30 atime=1791882995.090646119 30 ctime=1791882995.090739986 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P94K/in.json0000644000175000017500000000002515263373363021636 0ustar00tinatina{ "key": "value" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P94K/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022200 xustar0030 mtime=1791882995.090646119 30 atime=1791882995.090551204 30 ctime=1791882995.090646119 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P94K/in.yaml0000644000175000017500000000005415263373363021631 0ustar00tinatinakey: # Comment # lines value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P94K/PaxHeaders/===0000644000000000000000000000013015263373363021175 xustar0030 mtime=1791882995.016381234 28 atime=1791882995.0162199 30 ctime=1791882995.016381234 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/P94K/===0000644000175000017500000000004715263373363020632 0ustar00tinatinaSpec Example 6.11. Multi-Line Comments YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/9DXL0000644000000000000000000000013215263373363020662 xustar0030 mtime=1791882995.166830952 30 atime=1791882995.016054515 30 ctime=1791882995.166830952 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9DXL/0000755000175000017500000000000015263373363020371 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9DXL/PaxHeaders/test.event0000644000000000000000000000013015263373363022757 xustar0029 mtime=1791882995.16691567 30 atime=1791882995.166830952 29 ctime=1791882995.16691567 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9DXL/test.event0000644000175000017500000000020515263373363022410 0ustar00tinatina+STR +DOC +MAP =VAL :Mapping =VAL :Document -MAP -DOC +DOC --- =VAL : -DOC ... +DOC --- +MAP =VAL :matches % =VAL :20 -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9DXL/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022561 xustar0030 mtime=1791882995.148298045 30 atime=1791882995.148202222 30 ctime=1791882995.148298045 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9DXL/emit.yaml0000644000175000017500000000006615263373363022215 0ustar00tinatinaMapping: Document --- ... %YAML 1.2 --- matches %: 20 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9DXL/PaxHeaders/in.json0000644000000000000000000000013215263373363022240 xustar0030 mtime=1791882995.090551204 30 atime=1791882995.090456639 30 ctime=1791882995.090551204 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9DXL/in.json0000644000175000017500000000006715263373363021675 0ustar00tinatina{ "Mapping": "Document" } null { "matches %": 20 } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9DXL/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022231 xustar0030 mtime=1791882995.090456639 30 atime=1791882995.090361235 30 ctime=1791882995.090456639 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9DXL/in.yaml0000644000175000017500000000007615263373363021666 0ustar00tinatinaMapping: Document --- # Empty ... %YAML 1.2 --- matches %: 20 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9DXL/PaxHeaders/===0000644000000000000000000000012615263373363021233 xustar0028 mtime=1791882995.0162199 30 atime=1791882995.016054515 28 ctime=1791882995.0162199 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9DXL/===0000644000175000017500000000003715263373363020662 0ustar00tinatinaSpec Example 9.6. Stream [1.3] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/ZVH30000644000000000000000000000013215263373363020674 xustar0030 mtime=1791882995.166164732 30 atime=1791882995.015895346 30 ctime=1791882995.166164732 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZVH3/0000755000175000017500000000000015263373363020403 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZVH3/PaxHeaders/test.event0000644000000000000000000000013215263373363022773 xustar0030 mtime=1791882995.166265793 30 atime=1791882995.166164732 30 ctime=1791882995.166265793 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZVH3/test.event0000644000175000017500000000005715263373363022427 0ustar00tinatina+STR +DOC +SEQ +MAP =VAL :key =VAL :value -MAP YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZVH3/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022241 xustar0030 mtime=1791882995.090361235 28 atime=1791882995.0902666 30 ctime=1791882995.090361235 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZVH3/in.yaml0000644000175000017500000000002615263373363021673 0ustar00tinatina- key: value - item1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZVH3/PaxHeaders/error0000644000000000000000000000013215263373363022025 xustar0030 mtime=1791882995.053317422 30 atime=1791882995.053317422 30 ctime=1791882995.053402978 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZVH3/error0000644000175000017500000000000015263373363021445 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZVH3/PaxHeaders/===0000644000000000000000000000013215263373363021242 xustar0030 mtime=1791882995.016054515 30 atime=1791882995.015895346 30 ctime=1791882995.016054515 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZVH3/===0000644000175000017500000000003515263373363020672 0ustar00tinatinaWrong indented sequence item YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/5MUD0000644000000000000000000000013215263373363020654 xustar0030 mtime=1791882995.166046909 30 atime=1791882995.015732615 30 ctime=1791882995.166046909 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5MUD/0000755000175000017500000000000015263373363020363 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5MUD/PaxHeaders/test.event0000644000000000000000000000013215263373363022753 xustar0030 mtime=1791882995.166164732 30 atime=1791882995.166046909 30 ctime=1791882995.166164732 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5MUD/test.event0000644000175000017500000000007115263373363022403 0ustar00tinatina+STR +DOC --- +MAP {} =VAL "foo =VAL :bar -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5MUD/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022424 xustar0030 mtime=1791882995.132847251 30 atime=1791882995.132750381 30 ctime=1791882995.132847251 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5MUD/out.yaml0000644000175000017500000000001715263373363022054 0ustar00tinatina--- "foo": bar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5MUD/PaxHeaders/in.json0000644000000000000000000000012615263373363022235 xustar0028 mtime=1791882995.0902666 30 atime=1791882995.090165189 28 ctime=1791882995.0902666 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5MUD/in.json0000644000175000017500000000002315263373363021657 0ustar00tinatina{ "foo": "bar" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5MUD/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022222 xustar0030 mtime=1791882995.090165189 29 atime=1791882995.09005896 30 ctime=1791882995.090165189 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5MUD/in.yaml0000644000175000017500000000002515263373363021652 0ustar00tinatina--- { "foo" :bar } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5MUD/PaxHeaders/===0000644000000000000000000000013215263373363021222 xustar0030 mtime=1791882995.015895346 30 atime=1791882995.015732615 30 ctime=1791882995.015895346 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5MUD/===0000644000175000017500000000004615263373363020654 0ustar00tinatinaColon and adjacent value on next line YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/DK3J0000644000000000000000000000013215263373363020635 xustar0030 mtime=1791882995.165953112 30 atime=1791882995.015572887 30 ctime=1791882995.165953112 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK3J/0000755000175000017500000000000015263373363020344 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK3J/PaxHeaders/test.event0000644000000000000000000000013215263373363022734 xustar0030 mtime=1791882995.166046909 30 atime=1791882995.165953112 30 ctime=1791882995.166046909 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK3J/test.event0000644000175000017500000000007115263373363022364 0ustar00tinatina+STR +DOC --- =VAL >line1 # no comment line3\n -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK3J/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022405 xustar0030 mtime=1791882995.132750381 30 atime=1791882995.132653999 30 ctime=1791882995.132750381 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK3J/out.yaml0000644000175000017500000000004115263373363022032 0ustar00tinatina--- > line1 # no comment line3 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK3J/PaxHeaders/in.json0000644000000000000000000000013015263373363022211 xustar0029 mtime=1791882995.09005896 30 atime=1791882995.089964604 29 ctime=1791882995.09005896 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK3J/in.json0000644000175000017500000000003515263373363021643 0ustar00tinatina"line1 # no comment line3\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK3J/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022204 xustar0030 mtime=1791882995.089964604 30 atime=1791882995.089870597 30 ctime=1791882995.089964604 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK3J/in.yaml0000644000175000017500000000003715263373363021636 0ustar00tinatina--- > line1 # no comment line3 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK3J/PaxHeaders/===0000644000000000000000000000013215263373363021203 xustar0030 mtime=1791882995.015732615 30 atime=1791882995.015572887 30 ctime=1791882995.015732615 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DK3J/===0000644000175000017500000000007715263373363020641 0ustar00tinatinaZero indented block scalar with line that looks like a comment YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/62EZ0000644000000000000000000000013215263373363020630 xustar0030 mtime=1791882995.165859175 30 atime=1791882995.015410156 30 ctime=1791882995.165859175 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/62EZ/0000755000175000017500000000000015263373363020337 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/62EZ/PaxHeaders/test.event0000644000000000000000000000013215263373363022727 xustar0030 mtime=1791882995.165953112 30 atime=1791882995.165859175 30 ctime=1791882995.165953112 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/62EZ/test.event0000644000175000017500000000007015263373363022356 0ustar00tinatina+STR +DOC --- +MAP =VAL :x +MAP {} =VAL :y =VAL :z -MAP YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/62EZ/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022176 xustar0030 mtime=1791882995.089870597 29 atime=1791882995.08977673 30 ctime=1791882995.089870597 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/62EZ/in.yaml0000644000175000017500000000003115263373363021623 0ustar00tinatina--- x: { y: z }in: valid YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/62EZ/PaxHeaders/error0000644000000000000000000000013215263373363021761 xustar0030 mtime=1791882995.053227955 30 atime=1791882995.053227955 30 ctime=1791882995.053317422 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/62EZ/error0000644000175000017500000000000015263373363021401 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/62EZ/PaxHeaders/===0000644000000000000000000000013215263373363021176 xustar0030 mtime=1791882995.015572887 30 atime=1791882995.015410156 30 ctime=1791882995.015572887 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/62EZ/===0000644000175000017500000000006715263373363020633 0ustar00tinatinaInvalid block mapping key on same line as previous key YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/8UDB0000644000000000000000000000013215263373363020644 xustar0030 mtime=1791882995.165766425 30 atime=1791882995.015247844 30 ctime=1791882995.165766425 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8UDB/0000755000175000017500000000000015263373363020353 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8UDB/PaxHeaders/test.event0000644000000000000000000000013215263373363022743 xustar0030 mtime=1791882995.165859175 30 atime=1791882995.165766425 30 ctime=1791882995.165859175 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8UDB/test.event0000644000175000017500000000023115263373363022371 0ustar00tinatina+STR +DOC +SEQ [] =VAL "double quoted =VAL 'single quoted =VAL :plain text +SEQ [] =VAL :nested -SEQ +MAP {} =VAL :single =VAL :pair -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8UDB/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022414 xustar0030 mtime=1791882995.132653999 30 atime=1791882995.132557688 30 ctime=1791882995.132653999 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8UDB/out.yaml0000644000175000017500000000011315263373363022041 0ustar00tinatina- "double quoted" - 'single quoted' - plain text - - nested - single: pair YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8UDB/PaxHeaders/in.json0000644000000000000000000000013015263373363022220 xustar0029 mtime=1791882995.08977673 30 atime=1791882995.089681606 29 ctime=1791882995.08977673 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8UDB/in.json0000644000175000017500000000015515263373363021655 0ustar00tinatina[ "double quoted", "single quoted", "plain text", [ "nested" ], { "single": "pair" } ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8UDB/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022213 xustar0030 mtime=1791882995.089681606 30 atime=1791882995.089587739 30 ctime=1791882995.089681606 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8UDB/in.yaml0000644000175000017500000000013115263373363021640 0ustar00tinatina[ "double quoted", 'single quoted', plain text, [ nested ], single: pair, ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8UDB/PaxHeaders/===0000644000000000000000000000013215263373363021212 xustar0030 mtime=1791882995.015410156 30 atime=1791882995.015247844 30 ctime=1791882995.015410156 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8UDB/===0000644000175000017500000000005115263373363020640 0ustar00tinatinaSpec Example 7.14. Flow Sequence Entries YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/58MP0000644000000000000000000000013215263373363020633 xustar0030 mtime=1791882995.165672697 30 atime=1791882995.015076732 30 ctime=1791882995.165672697 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/58MP/0000755000175000017500000000000015263373363020342 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/58MP/PaxHeaders/test.event0000644000000000000000000000013215263373363022732 xustar0030 mtime=1791882995.165766425 30 atime=1791882995.165672697 30 ctime=1791882995.165766425 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/58MP/test.event0000644000175000017500000000006215263373363022362 0ustar00tinatina+STR +DOC +MAP {} =VAL :x =VAL ::x -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/58MP/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022403 xustar0030 mtime=1791882995.132557688 30 atime=1791882995.132474087 30 ctime=1791882995.132557688 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/58MP/out.yaml0000644000175000017500000000000615263373363022031 0ustar00tinatinax: :x YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/58MP/PaxHeaders/in.json0000644000000000000000000000013215263373363022211 xustar0030 mtime=1791882995.089587739 30 atime=1791882995.089493313 30 ctime=1791882995.089587739 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/58MP/in.json0000644000175000017500000000002015263373363021633 0ustar00tinatina{ "x": ":x" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/58MP/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022202 xustar0030 mtime=1791882995.089493313 30 atime=1791882995.089396791 30 ctime=1791882995.089493313 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/58MP/in.yaml0000644000175000017500000000001015263373363021623 0ustar00tinatina{x: :x} YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/58MP/PaxHeaders/===0000644000000000000000000000013215263373363021201 xustar0030 mtime=1791882995.015247844 30 atime=1791882995.015076732 30 ctime=1791882995.015247844 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/58MP/===0000644000175000017500000000003015263373363020624 0ustar00tinatinaFlow mapping edge cases YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/753E0000644000000000000000000000013215263373363020565 xustar0030 mtime=1791882995.165579249 30 atime=1791882995.014914769 30 ctime=1791882995.165579249 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/753E/0000755000175000017500000000000015263373363020274 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/753E/PaxHeaders/test.event0000644000000000000000000000013215263373363022664 xustar0030 mtime=1791882995.165672697 30 atime=1791882995.165579249 30 ctime=1791882995.165672697 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/753E/test.event0000644000175000017500000000004515263373363022315 0ustar00tinatina+STR +DOC --- =VAL |ab -DOC ... -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/753E/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022335 xustar0030 mtime=1791882995.132474087 30 atime=1791882995.132378683 30 ctime=1791882995.132474087 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/753E/out.yaml0000644000175000017500000000002015263373363021757 0ustar00tinatina--- |- ab ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/753E/PaxHeaders/in.json0000644000000000000000000000013215263373363022143 xustar0030 mtime=1791882995.089396791 30 atime=1791882995.089301038 30 ctime=1791882995.089396791 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/753E/in.json0000644000175000017500000000000515263373363021570 0ustar00tinatina"ab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/753E/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022134 xustar0030 mtime=1791882995.089301038 30 atime=1791882995.089202562 30 ctime=1791882995.089301038 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/753E/in.yaml0000644000175000017500000000002315263373363021561 0ustar00tinatina--- |- ab ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/753E/PaxHeaders/===0000644000000000000000000000013215263373363021133 xustar0030 mtime=1791882995.015076732 30 atime=1791882995.014914769 30 ctime=1791882995.015076732 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/753E/===0000644000175000017500000000003115263373363020557 0ustar00tinatinaBlock Scalar Strip [1.3] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/H2RW0000644000000000000000000000013215263373363020664 xustar0030 mtime=1791882995.165487058 30 atime=1791882995.014756158 30 ctime=1791882995.165487058 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H2RW/0000755000175000017500000000000015263373363020373 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H2RW/PaxHeaders/test.event0000644000000000000000000000013215263373363022763 xustar0030 mtime=1791882995.165579249 30 atime=1791882995.165487058 30 ctime=1791882995.165579249 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H2RW/test.event0000644000175000017500000000015015263373363022411 0ustar00tinatina+STR +DOC +MAP =VAL :foo =VAL :1 =VAL :bar =VAL :2 =VAL :text =VAL |a\n \nb\n\nc\n\nd\n -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H2RW/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022563 xustar0030 mtime=1791882995.148202222 30 atime=1791882995.148093339 30 ctime=1791882995.148202222 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H2RW/emit.yaml0000644000175000017500000000005515263373363022215 0ustar00tinatinafoo: 1 bar: 2 text: | a b c d YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H2RW/PaxHeaders/out.yaml0000644000000000000000000000013115263373363022433 xustar0030 mtime=1791882995.132378683 29 atime=1791882995.13227434 30 ctime=1791882995.132378683 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H2RW/out.yaml0000644000175000017500000000005315263373363022064 0ustar00tinatinafoo: 1 bar: 2 text: "a\n \nb\n\nc\n\nd\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H2RW/PaxHeaders/in.json0000644000000000000000000000013215263373363022242 xustar0030 mtime=1791882995.089202562 30 atime=1791882995.089098288 30 ctime=1791882995.089202562 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H2RW/in.json0000644000175000017500000000007515263373363021676 0ustar00tinatina{ "foo": 1, "bar": 2, "text": "a\n \nb\n\nc\n\nd\n" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H2RW/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022232 xustar0030 mtime=1791882995.089098288 29 atime=1791882995.08900058 30 ctime=1791882995.089098288 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H2RW/in.yaml0000644000175000017500000000006415263373363021665 0ustar00tinatinafoo: 1 bar: 2 text: | a b c d YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H2RW/PaxHeaders/===0000644000000000000000000000013215263373363021232 xustar0030 mtime=1791882995.014914769 30 atime=1791882995.014756158 30 ctime=1791882995.014914769 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H2RW/===0000644000175000017500000000001415263373363020657 0ustar00tinatinaBlank lines YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/ZWK40000644000000000000000000000013215263373363020701 xustar0030 mtime=1791882995.165394448 30 atime=1791882995.014595592 30 ctime=1791882995.165394448 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZWK4/0000755000175000017500000000000015263373363020410 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZWK4/PaxHeaders/test.event0000644000000000000000000000013215263373363023000 xustar0030 mtime=1791882995.165487058 30 atime=1791882995.165394448 30 ctime=1791882995.165487058 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZWK4/test.event0000644000175000017500000000013115263373363022425 0ustar00tinatina+STR +DOC --- +MAP =VAL :a =VAL :1 =VAL :b =VAL : =VAL &anchor :c =VAL :3 -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZWK4/PaxHeaders/out.yaml0000644000000000000000000000013015263373363022447 xustar0029 mtime=1791882995.13227434 30 atime=1791882995.132179006 29 ctime=1791882995.13227434 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZWK4/out.yaml0000644000175000017500000000003115263373363022075 0ustar00tinatina--- a: 1 b: &anchor c: 3 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZWK4/PaxHeaders/in.json0000644000000000000000000000013015263373363022255 xustar0029 mtime=1791882995.08900058 30 atime=1791882995.088907201 29 ctime=1791882995.08900058 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZWK4/in.json0000644000175000017500000000004415263373363021707 0ustar00tinatina{ "a": 1, "b": null, "c": 3 } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZWK4/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022250 xustar0030 mtime=1791882995.088907201 30 atime=1791882995.088811798 30 ctime=1791882995.088907201 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZWK4/in.yaml0000644000175000017500000000003215263373363021675 0ustar00tinatina--- a: 1 ? b &anchor c: 3 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZWK4/PaxHeaders/===0000644000000000000000000000013215263373363021247 xustar0030 mtime=1791882995.014756158 30 atime=1791882995.014595592 30 ctime=1791882995.014756158 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZWK4/===0000644000175000017500000000006515263373363020702 0ustar00tinatinaKey with anchor after missing explicit mapping value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/35KP0000644000000000000000000000013215263373363020624 xustar0030 mtime=1791882995.165301489 30 atime=1791882995.014432861 30 ctime=1791882995.165301489 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/35KP/0000755000175000017500000000000015263373363020333 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/35KP/PaxHeaders/test.event0000644000000000000000000000013215263373363022723 xustar0030 mtime=1791882995.165394448 30 atime=1791882995.165301489 30 ctime=1791882995.165394448 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/35KP/test.event0000644000175000017500000000031215263373363022351 0ustar00tinatina+STR +DOC --- +MAP =VAL :a =VAL :b -MAP -DOC +DOC --- +SEQ =VAL :c -SEQ -DOC +DOC --- =VAL :d e -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/35KP/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022374 xustar0030 mtime=1791882995.132179006 30 atime=1791882995.132074663 30 ctime=1791882995.132179006 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/35KP/out.yaml0000644000175000017500000000006115263373363022023 0ustar00tinatina--- !!map a: b --- !!seq - !!str c --- !!str d e YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/35KP/PaxHeaders/in.json0000644000000000000000000000013215263373363022202 xustar0030 mtime=1791882995.088811798 30 atime=1791882995.088706337 30 ctime=1791882995.088811798 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/35KP/in.json0000644000175000017500000000003715263373363021634 0ustar00tinatina{ "a": "b" } [ "c" ] "d e" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/35KP/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022173 xustar0030 mtime=1791882995.088706337 30 atime=1791882995.088619035 30 ctime=1791882995.088706337 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/35KP/in.yaml0000644000175000017500000000006415263373363021625 0ustar00tinatina--- !!map ? a : b --- !!seq - !!str c --- !!str d e YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/35KP/PaxHeaders/===0000644000000000000000000000013215263373363021172 xustar0030 mtime=1791882995.014595592 30 atime=1791882995.014432861 30 ctime=1791882995.014595592 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/35KP/===0000644000175000017500000000002615263373363020622 0ustar00tinatinaTags for Root Objects YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/M7A30000644000000000000000000000013215263373363020611 xustar0030 mtime=1791882995.165202104 30 atime=1791882995.014286962 30 ctime=1791882995.165202104 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M7A3/0000755000175000017500000000000015263373363020320 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M7A3/PaxHeaders/test.event0000644000000000000000000000013215263373363022710 xustar0030 mtime=1791882995.165301489 30 atime=1791882995.165202104 30 ctime=1791882995.165301489 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M7A3/test.event0000644000175000017500000000014215263373363022337 0ustar00tinatina+STR +DOC =VAL :Bare document -DOC ... +DOC =VAL |%!PS-Adobe-2.0 # Not the first line\n -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M7A3/PaxHeaders/emit.yaml0000644000000000000000000000013115263373363022507 xustar0030 mtime=1791882995.148093339 29 atime=1791882995.14800003 30 ctime=1791882995.148093339 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M7A3/emit.yaml0000644000175000017500000000007215263373363022141 0ustar00tinatinaBare document ... | %!PS-Adobe-2.0 # Not the first line YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M7A3/PaxHeaders/in.json0000644000000000000000000000013215263373363022167 xustar0030 mtime=1791882995.088619035 30 atime=1791882995.088525517 30 ctime=1791882995.088619035 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M7A3/in.json0000644000175000017500000000007015263373363021616 0ustar00tinatina"Bare document" "%!PS-Adobe-2.0 # Not the first line\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M7A3/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022160 xustar0030 mtime=1791882995.088525517 30 atime=1791882995.088429833 30 ctime=1791882995.088525517 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M7A3/in.yaml0000644000175000017500000000011215263373363021604 0ustar00tinatinaBare document ... # No document ... | %!PS-Adobe-2.0 # Not the first line YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M7A3/PaxHeaders/===0000644000000000000000000000013215263373363021157 xustar0030 mtime=1791882995.014432861 30 atime=1791882995.014286962 30 ctime=1791882995.014432861 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M7A3/===0000644000175000017500000000004115263373363020604 0ustar00tinatinaSpec Example 9.3. Bare Documents YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/MXS30000644000000000000000000000013215263373363020674 xustar0030 mtime=1791882995.165102091 30 atime=1791882995.014126536 30 ctime=1791882995.165102091 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MXS3/0000755000175000017500000000000015263373363020403 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MXS3/PaxHeaders/test.event0000644000000000000000000000013215263373363022773 xustar0030 mtime=1791882995.165202104 30 atime=1791882995.165102091 30 ctime=1791882995.165202104 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MXS3/test.event0000644000175000017500000000007315263373363022425 0ustar00tinatina+STR +DOC +SEQ +MAP {} =VAL :a =VAL :b -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MXS3/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022444 xustar0030 mtime=1791882995.132074663 30 atime=1791882995.131978491 30 ctime=1791882995.132074663 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MXS3/out.yaml0000644000175000017500000000000715263373363022073 0ustar00tinatina- a: b YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MXS3/PaxHeaders/in.json0000644000000000000000000000013215263373363022252 xustar0030 mtime=1791882995.088429833 30 atime=1791882995.088335617 30 ctime=1791882995.088429833 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MXS3/in.json0000644000175000017500000000003115263373363021676 0ustar00tinatina[ { "a": "b" } ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MXS3/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022243 xustar0030 mtime=1791882995.088335617 30 atime=1791882995.088239794 30 ctime=1791882995.088335617 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MXS3/in.yaml0000644000175000017500000000001115263373363021665 0ustar00tinatina- {a: b} YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MXS3/PaxHeaders/===0000644000000000000000000000013215263373363021242 xustar0030 mtime=1791882995.014286962 30 atime=1791882995.014126536 30 ctime=1791882995.014286962 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MXS3/===0000644000175000017500000000003715263373363020674 0ustar00tinatinaFlow Mapping in Block Sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/J5UC0000644000000000000000000000013215263373363020650 xustar0030 mtime=1791882995.165005779 30 atime=1791882995.013978681 30 ctime=1791882995.165005779 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J5UC/0000755000175000017500000000000015263373363020357 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J5UC/PaxHeaders/test.event0000644000000000000000000000013215263373363022747 xustar0030 mtime=1791882995.165102091 30 atime=1791882995.165005779 30 ctime=1791882995.165102091 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J5UC/test.event0000644000175000017500000000013515263373363022400 0ustar00tinatina+STR +DOC +MAP =VAL :foo =VAL :blue =VAL :bar =VAL :arrr =VAL :baz =VAL :jazz -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J5UC/PaxHeaders/in.json0000644000000000000000000000013115263373363022225 xustar0030 mtime=1791882995.088239794 29 atime=1791882995.08814006 30 ctime=1791882995.088239794 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J5UC/in.json0000644000175000017500000000006615263373363021662 0ustar00tinatina{ "foo": "blue", "bar": "arrr", "baz": "jazz" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J5UC/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022215 xustar0029 mtime=1791882995.08814006 30 atime=1791882995.088034599 29 ctime=1791882995.08814006 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J5UC/in.yaml0000644000175000017500000000003615263373363021650 0ustar00tinatinafoo: blue bar: arrr baz: jazz YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J5UC/PaxHeaders/===0000644000000000000000000000013215263373363021216 xustar0030 mtime=1791882995.014126536 30 atime=1791882995.013978681 30 ctime=1791882995.014126536 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J5UC/===0000644000175000017500000000003415263373363020645 0ustar00tinatinaMultiple Pair Block Mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/RR7F0000644000000000000000000000013215263373363020662 xustar0030 mtime=1791882995.164913309 30 atime=1791882995.013830617 30 ctime=1791882995.164913309 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RR7F/0000755000175000017500000000000015263373363020371 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RR7F/PaxHeaders/test.event0000644000000000000000000000013215263373363022761 xustar0030 mtime=1791882995.165005779 30 atime=1791882995.164913309 30 ctime=1791882995.165005779 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RR7F/test.event0000644000175000017500000000010115263373363022403 0ustar00tinatina+STR +DOC +MAP =VAL :a =VAL :4.2 =VAL :d =VAL :23 -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RR7F/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022432 xustar0030 mtime=1791882995.131978491 30 atime=1791882995.131884763 30 ctime=1791882995.131978491 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RR7F/out.yaml0000644000175000017500000000001515263373363022060 0ustar00tinatinaa: 4.2 d: 23 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RR7F/PaxHeaders/in.json0000644000000000000000000000013215263373363022240 xustar0030 mtime=1791882995.088034599 30 atime=1791882995.087939685 30 ctime=1791882995.088034599 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RR7F/in.json0000644000175000017500000000003215263373363021665 0ustar00tinatina{ "d": 23, "a": 4.2 } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RR7F/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022231 xustar0030 mtime=1791882995.087939685 30 atime=1791882995.087842605 30 ctime=1791882995.087939685 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RR7F/in.yaml0000644000175000017500000000002015263373363021653 0ustar00tinatinaa: 4.2 ? d : 23 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RR7F/PaxHeaders/===0000644000000000000000000000013215263373363021230 xustar0030 mtime=1791882995.013978681 30 atime=1791882995.013830617 30 ctime=1791882995.013978681 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RR7F/===0000644000175000017500000000005315263373363020660 0ustar00tinatinaMixed Block Mapping (implicit to explicit) YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/9WXW0000644000000000000000000000013215263373363020720 xustar0030 mtime=1791882995.164819442 30 atime=1791882995.013681086 30 ctime=1791882995.164819442 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9WXW/0000755000175000017500000000000015263373363020427 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9WXW/PaxHeaders/test.event0000644000000000000000000000013215263373363023017 xustar0030 mtime=1791882995.164913309 30 atime=1791882995.164819442 30 ctime=1791882995.164913309 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9WXW/test.event0000644000175000017500000000014015263373363022444 0ustar00tinatina+STR +DOC =VAL "bar -DOC ... +DOC --- =VAL "bar -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9WXW/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022470 xustar0030 mtime=1791882995.131884763 30 atime=1791882995.131791245 30 ctime=1791882995.131884763 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9WXW/out.yaml0000644000175000017500000000007115263373363022120 0ustar00tinatina!foo "bar" ... --- ! "bar" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9WXW/PaxHeaders/in.json0000644000000000000000000000013215263373363022276 xustar0030 mtime=1791882995.087842605 30 atime=1791882995.087747201 30 ctime=1791882995.087842605 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9WXW/in.json0000644000175000017500000000001415263373363021723 0ustar00tinatina"bar" "bar" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9WXW/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022267 xustar0030 mtime=1791882995.087747201 30 atime=1791882995.087651308 30 ctime=1791882995.087747201 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9WXW/in.yaml0000644000175000017500000000012215263373363021714 0ustar00tinatina# Private !foo "bar" ... # Global %TAG ! tag:example.com,2000:app/ --- !foo "bar" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9WXW/PaxHeaders/===0000644000000000000000000000013215263373363021266 xustar0030 mtime=1791882995.013830617 30 atime=1791882995.013681086 30 ctime=1791882995.013830617 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9WXW/===0000644000175000017500000000004615263373363020720 0ustar00tinatinaSpec Example 6.18. Primary Tag Handle YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/RZT70000644000000000000000000000013215263373363020710 xustar0030 mtime=1791882995.164725016 30 atime=1791882995.013531345 30 ctime=1791882995.164725016 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RZT7/0000755000175000017500000000000015263373363020417 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RZT7/PaxHeaders/test.event0000644000000000000000000000013215263373363023007 xustar0030 mtime=1791882995.164819442 30 atime=1791882995.164725016 30 ctime=1791882995.164819442 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RZT7/test.event0000644000175000017500000000117115263373363022441 0ustar00tinatina+STR +DOC --- +MAP =VAL :Time =VAL :2001-11-23 15:01:42 -5 =VAL :User =VAL :ed =VAL :Warning =VAL :This is an error message for the log file -MAP -DOC +DOC --- +MAP =VAL :Time =VAL :2001-11-23 15:02:31 -5 =VAL :User =VAL :ed =VAL :Warning =VAL :A slightly different error message. -MAP -DOC +DOC --- +MAP =VAL :Date =VAL :2001-11-23 15:03:17 -5 =VAL :User =VAL :ed =VAL :Fatal =VAL :Unknown variable "bar" =VAL :Stack +SEQ +MAP =VAL :file =VAL :TopClass.py =VAL :line =VAL :23 =VAL :code =VAL |x = MoreObject("345\\n")\n -MAP +MAP =VAL :file =VAL :MoreClass.py =VAL :line =VAL :58 =VAL :code =VAL |foo = bar -MAP -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RZT7/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022460 xustar0030 mtime=1791882995.131791245 30 atime=1791882995.131696679 30 ctime=1791882995.131791245 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RZT7/out.yaml0000644000175000017500000000060115263373363022107 0ustar00tinatina--- Time: 2001-11-23 15:01:42 -5 User: ed Warning: This is an error message for the log file --- Time: 2001-11-23 15:02:31 -5 User: ed Warning: A slightly different error message. --- Date: 2001-11-23 15:03:17 -5 User: ed Fatal: Unknown variable "bar" Stack: - file: TopClass.py line: 23 code: | x = MoreObject("345\n") - file: MoreClass.py line: 58 code: |- foo = bar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RZT7/PaxHeaders/in.json0000644000000000000000000000013215263373363022266 xustar0030 mtime=1791882995.087651308 30 atime=1791882995.087546755 30 ctime=1791882995.087651308 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RZT7/in.json0000644000175000017500000000101315263373363021713 0ustar00tinatina{ "Time": "2001-11-23 15:01:42 -5", "User": "ed", "Warning": "This is an error message for the log file" } { "Time": "2001-11-23 15:02:31 -5", "User": "ed", "Warning": "A slightly different error message." } { "Date": "2001-11-23 15:03:17 -5", "User": "ed", "Fatal": "Unknown variable \"bar\"", "Stack": [ { "file": "TopClass.py", "line": 23, "code": "x = MoreObject(\"345\\n\")\n" }, { "file": "MoreClass.py", "line": 58, "code": "foo = bar" } ] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RZT7/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022257 xustar0030 mtime=1791882995.087546755 30 atime=1791882995.087450863 30 ctime=1791882995.087546755 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RZT7/in.yaml0000644000175000017500000000063315263373363021713 0ustar00tinatina--- Time: 2001-11-23 15:01:42 -5 User: ed Warning: This is an error message for the log file --- Time: 2001-11-23 15:02:31 -5 User: ed Warning: A slightly different error message. --- Date: 2001-11-23 15:03:17 -5 User: ed Fatal: Unknown variable "bar" Stack: - file: TopClass.py line: 23 code: | x = MoreObject("345\n") - file: MoreClass.py line: 58 code: |- foo = bar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RZT7/PaxHeaders/===0000644000000000000000000000013215263373363021256 xustar0030 mtime=1791882995.013681086 30 atime=1791882995.013531345 30 ctime=1791882995.013681086 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RZT7/===0000644000175000017500000000003415263373363020705 0ustar00tinatinaSpec Example 2.28. Log File YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/36F60000644000000000000000000000013215263373363020566 xustar0030 mtime=1791882995.164631358 30 atime=1791882995.013381674 30 ctime=1791882995.164631358 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/36F6/0000755000175000017500000000000015263373363020275 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/36F6/PaxHeaders/test.event0000644000000000000000000000013215263373363022665 xustar0030 mtime=1791882995.164725016 30 atime=1791882995.164631358 30 ctime=1791882995.164725016 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/36F6/test.event0000644000175000017500000000007315263373363022317 0ustar00tinatina+STR +DOC --- +MAP =VAL :plain =VAL :a b\nc -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/36F6/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022336 xustar0030 mtime=1791882995.131696679 30 atime=1791882995.131601346 30 ctime=1791882995.131696679 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/36F6/out.yaml0000644000175000017500000000002615263373363021766 0ustar00tinatina--- plain: 'a b c' YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/36F6/PaxHeaders/in.json0000644000000000000000000000013215263373363022144 xustar0030 mtime=1791882995.087450863 30 atime=1791882995.087354761 30 ctime=1791882995.087450863 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/36F6/in.json0000644000175000017500000000003015263373363021567 0ustar00tinatina{ "plain": "a b\nc" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/36F6/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022133 xustar0030 mtime=1791882995.087354761 28 atime=1791882995.0872581 30 ctime=1791882995.087354761 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/36F6/in.yaml0000644000175000017500000000002415263373363021563 0ustar00tinatina--- plain: a b c YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/36F6/PaxHeaders/===0000644000000000000000000000013215263373363021134 xustar0030 mtime=1791882995.013531345 30 atime=1791882995.013381674 30 ctime=1791882995.013531345 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/36F6/===0000644000175000017500000000004715263373363020567 0ustar00tinatinaMultiline plain scalar with empty line YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/9FMG0000644000000000000000000000013215263373363020644 xustar0030 mtime=1791882995.164529878 30 atime=1791882995.013230956 30 ctime=1791882995.164529878 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9FMG/0000755000175000017500000000000015263373363020353 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9FMG/PaxHeaders/test.event0000644000000000000000000000013215263373363022743 xustar0030 mtime=1791882995.164631358 30 atime=1791882995.164529878 30 ctime=1791882995.164631358 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9FMG/test.event0000644000175000017500000000020415263373363022371 0ustar00tinatina+STR +DOC +MAP =VAL :a +MAP =VAL :b +MAP =VAL :c =VAL :d -MAP =VAL :e +MAP =VAL :f =VAL :g -MAP -MAP =VAL :h =VAL :i -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9FMG/PaxHeaders/in.json0000644000000000000000000000012615263373363022225 xustar0028 mtime=1791882995.0872581 30 atime=1791882995.087159413 28 ctime=1791882995.0872581 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9FMG/in.json0000644000175000017500000000013615263373363021654 0ustar00tinatina{ "a": { "b": { "c": "d" }, "e": { "f": "g" } }, "h": "i" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9FMG/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022212 xustar0030 mtime=1791882995.087159413 29 atime=1791882995.08705067 30 ctime=1791882995.087159413 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9FMG/in.yaml0000644000175000017500000000004415263373363021643 0ustar00tinatinaa: b: c: d e: f: g h: i YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9FMG/PaxHeaders/===0000644000000000000000000000013215263373363021212 xustar0030 mtime=1791882995.013381674 30 atime=1791882995.013230956 30 ctime=1791882995.013381674 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9FMG/===0000644000175000017500000000003315263373363020640 0ustar00tinatinaMulti-level Mapping Indent YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/26DV0000644000000000000000000000013215263373363020623 xustar0030 mtime=1791882995.164434265 30 atime=1791882995.013060612 30 ctime=1791882995.164434265 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/26DV/0000755000175000017500000000000015263373363020332 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/26DV/PaxHeaders/test.event0000644000000000000000000000013215263373363022722 xustar0030 mtime=1791882995.164529878 30 atime=1791882995.164434265 30 ctime=1791882995.164529878 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/26DV/test.event0000644000175000017500000000050115263373363022350 0ustar00tinatina+STR +DOC +MAP =VAL "top1 +MAP =VAL "key1 =VAL &alias1 :scalar1 -MAP =VAL 'top2 +MAP =VAL 'key2 =VAL &alias2 :scalar2 -MAP =VAL :top3 +MAP &node3 =ALI *alias1 =VAL :scalar3 -MAP =VAL :top4 +MAP =ALI *alias2 =VAL :scalar4 -MAP =VAL :top5 =VAL :scalar5 =VAL :top6 +MAP =VAL &anchor6 'key6 =VAL :scalar6 -MAP -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/26DV/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022373 xustar0030 mtime=1791882995.131601346 30 atime=1791882995.131508386 30 ctime=1791882995.131601346 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/26DV/out.yaml0000644000175000017500000000025615263373363022030 0ustar00tinatina"top1": "key1": &alias1 scalar1 'top2': 'key2': &alias2 scalar2 top3: &node3 *alias1 : scalar3 top4: *alias2 : scalar4 top5: scalar5 top6: &anchor6 'key6': scalar6 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/26DV/PaxHeaders/in.json0000644000000000000000000000013015263373363022177 xustar0029 mtime=1791882995.08705067 30 atime=1791882995.086956174 29 ctime=1791882995.08705067 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/26DV/in.json0000644000175000017500000000034115263373363021631 0ustar00tinatina{ "top1": { "key1": "scalar1" }, "top2": { "key2": "scalar2" }, "top3": { "scalar1": "scalar3" }, "top4": { "scalar2": "scalar4" }, "top5": "scalar5", "top6": { "key6": "scalar6" } } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/26DV/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022171 xustar0030 mtime=1791882995.086956174 29 atime=1791882995.08686084 30 ctime=1791882995.086956174 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/26DV/in.yaml0000644000175000017500000000030115263373363021616 0ustar00tinatina"top1" : "key1" : &alias1 scalar1 'top2' : 'key2' : &alias2 scalar2 top3: &node3 *alias1 : scalar3 top4: *alias2 : scalar4 top5 : scalar5 top6: &anchor6 'key6' : scalar6 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/26DV/PaxHeaders/===0000644000000000000000000000013215263373363021171 xustar0030 mtime=1791882995.013230956 30 atime=1791882995.013060612 30 ctime=1791882995.013230956 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/26DV/===0000644000175000017500000000004415263373363020621 0ustar00tinatinaWhitespace around colon in mappings YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/7MNF0000644000000000000000000000013215263373363020651 xustar0030 mtime=1791882995.164337045 30 atime=1791882995.012911849 30 ctime=1791882995.164337045 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7MNF/0000755000175000017500000000000015263373363020360 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7MNF/PaxHeaders/test.event0000644000000000000000000000013215263373363022750 xustar0030 mtime=1791882995.164434265 30 atime=1791882995.164337045 30 ctime=1791882995.164434265 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7MNF/test.event0000644000175000017500000000007215263373363022401 0ustar00tinatina+STR +DOC +MAP =VAL :top1 +MAP =VAL :key1 =VAL :val1 -MAP YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7MNF/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022216 xustar0029 mtime=1791882995.08686084 30 atime=1791882995.086765087 29 ctime=1791882995.08686084 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7MNF/in.yaml0000644000175000017500000000003015263373363021643 0ustar00tinatinatop1: key1: val1 top2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7MNF/PaxHeaders/error0000644000000000000000000000013215263373363022002 xustar0030 mtime=1791882995.053137789 30 atime=1791882995.053137789 30 ctime=1791882995.053227955 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7MNF/error0000644000175000017500000000000015263373363021422 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7MNF/PaxHeaders/===0000644000000000000000000000013215263373363021217 xustar0030 mtime=1791882995.013060612 30 atime=1791882995.012911849 30 ctime=1791882995.013060612 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7MNF/===0000644000175000017500000000001615263373363020646 0ustar00tinatinaMissing colon YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/BEC70000644000000000000000000000013215263373363020622 xustar0030 mtime=1791882995.164242689 30 atime=1791882995.012761131 30 ctime=1791882995.164242689 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BEC7/0000755000175000017500000000000015263373363020331 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BEC7/PaxHeaders/test.event0000644000000000000000000000013215263373363022721 xustar0030 mtime=1791882995.164337045 30 atime=1791882995.164242689 30 ctime=1791882995.164337045 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BEC7/test.event0000644000175000017500000000004215263373363022347 0ustar00tinatina+STR +DOC --- =VAL "foo -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BEC7/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022372 xustar0030 mtime=1791882995.131508386 30 atime=1791882995.131413681 30 ctime=1791882995.131508386 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BEC7/out.yaml0000644000175000017500000000001215263373363022015 0ustar00tinatina--- "foo" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BEC7/PaxHeaders/in.json0000644000000000000000000000013215263373363022200 xustar0030 mtime=1791882995.086765087 30 atime=1791882995.086670173 30 ctime=1791882995.086765087 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BEC7/in.json0000644000175000017500000000000615263373363021626 0ustar00tinatina"foo" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BEC7/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022171 xustar0030 mtime=1791882995.086670173 30 atime=1791882995.086573581 30 ctime=1791882995.086670173 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BEC7/in.yaml0000644000175000017500000000010115263373363021613 0ustar00tinatina%YAML 1.3 # Attempt parsing # with a warning --- "foo" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BEC7/PaxHeaders/===0000644000000000000000000000013215263373363021170 xustar0030 mtime=1791882995.012911849 30 atime=1791882995.012761131 30 ctime=1791882995.012911849 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/BEC7/===0000644000175000017500000000005015263373363020615 0ustar00tinatinaSpec Example 6.14. “YAML” directive YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/GT5M0000644000000000000000000000013215263373363020656 xustar0030 mtime=1791882995.164146587 30 atime=1791882995.012615302 30 ctime=1791882995.164146587 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GT5M/0000755000175000017500000000000015263373363020365 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GT5M/PaxHeaders/test.event0000644000000000000000000000013215263373363022755 xustar0030 mtime=1791882995.164242689 30 atime=1791882995.164146587 30 ctime=1791882995.164242689 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GT5M/test.event0000644000175000017500000000003315263373363022403 0ustar00tinatina+STR +DOC +SEQ =VAL :item1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GT5M/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022225 xustar0030 mtime=1791882995.086573581 30 atime=1791882995.086477898 30 ctime=1791882995.086573581 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GT5M/in.yaml0000644000175000017500000000002615263373363021655 0ustar00tinatina- item1 &node - item2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GT5M/PaxHeaders/error0000644000000000000000000000013015263373363022005 xustar0029 mtime=1791882995.05304008 29 atime=1791882995.05304008 30 ctime=1791882995.053137789 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GT5M/error0000644000175000017500000000000015263373363021427 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GT5M/PaxHeaders/===0000644000000000000000000000013215263373363021224 xustar0030 mtime=1791882995.012761131 30 atime=1791882995.012615302 30 ctime=1791882995.012761131 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GT5M/===0000644000175000017500000000003015263373363020647 0ustar00tinatinaNode anchor in sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/3ALJ0000644000000000000000000000013115263373363020632 xustar0030 mtime=1791882995.164042313 29 atime=1791882995.01246591 30 ctime=1791882995.164042313 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3ALJ/0000755000175000017500000000000015263373363020342 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3ALJ/PaxHeaders/test.event0000644000000000000000000000013215263373363022732 xustar0030 mtime=1791882995.164146587 30 atime=1791882995.164042313 30 ctime=1791882995.164146587 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3ALJ/test.event0000644000175000017500000000011115263373363022355 0ustar00tinatina+STR +DOC +SEQ +SEQ =VAL :s1_i1 =VAL :s1_i2 -SEQ =VAL :s2 -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3ALJ/PaxHeaders/in.json0000644000000000000000000000013215263373363022211 xustar0030 mtime=1791882995.086477898 30 atime=1791882995.086382565 30 ctime=1791882995.086477898 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3ALJ/in.json0000644000175000017500000000005515263373363021643 0ustar00tinatina[ [ "s1_i1", "s1_i2" ], "s2" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3ALJ/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022202 xustar0030 mtime=1791882995.086382565 30 atime=1791882995.086286113 30 ctime=1791882995.086382565 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3ALJ/in.yaml0000644000175000017500000000003115263373363021626 0ustar00tinatina- - s1_i1 - s1_i2 - s2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3ALJ/PaxHeaders/===0000644000000000000000000000013115263373363021200 xustar0030 mtime=1791882995.012615302 29 atime=1791882995.01246591 30 ctime=1791882995.012615302 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3ALJ/===0000644000175000017500000000004115263373363020626 0ustar00tinatinaBlock Sequence in Block Sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/J7PZ0000644000000000000000000000013115263373363020673 xustar0030 mtime=1791882995.163948865 29 atime=1791882995.01231603 30 ctime=1791882995.163948865 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J7PZ/0000755000175000017500000000000015263373363020403 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J7PZ/PaxHeaders/test.event0000644000000000000000000000013215263373363022773 xustar0030 mtime=1791882995.164042313 30 atime=1791882995.163948865 30 ctime=1791882995.164042313 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J7PZ/test.event0000644000175000017500000000025115263373363022423 0ustar00tinatina+STR +DOC --- +SEQ +MAP =VAL :Mark McGwire =VAL :65 -MAP +MAP =VAL :Sammy Sosa =VAL :63 -MAP +MAP =VAL :Ken Griffy =VAL :58 -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J7PZ/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022444 xustar0030 mtime=1791882995.131413681 30 atime=1791882995.131318417 30 ctime=1791882995.131413681 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J7PZ/out.yaml0000644000175000017500000000010015263373363022065 0ustar00tinatina--- !!omap - Mark McGwire: 65 - Sammy Sosa: 63 - Ken Griffy: 58 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J7PZ/PaxHeaders/in.json0000644000000000000000000000013215263373363022252 xustar0030 mtime=1791882995.086286113 30 atime=1791882995.086184074 30 ctime=1791882995.086286113 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J7PZ/in.json0000644000175000017500000000013715263373363021705 0ustar00tinatina[ { "Mark McGwire": 65 }, { "Sammy Sosa": 63 }, { "Ken Griffy": 58 } ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J7PZ/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022243 xustar0030 mtime=1791882995.086184074 30 atime=1791882995.086076169 30 ctime=1791882995.086184074 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J7PZ/in.yaml0000644000175000017500000000047615263373363021704 0ustar00tinatina# The !!omap tag is one of the optional types # introduced for YAML 1.1. In 1.2, it is not # part of the standard tags and should not be # enabled by default. # Ordered maps are represented as # A sequence of mappings, with # each mapping having one key --- !!omap - Mark McGwire: 65 - Sammy Sosa: 63 - Ken Griffy: 58 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J7PZ/PaxHeaders/===0000644000000000000000000000012715263373363021246 xustar0029 mtime=1791882995.01246591 29 atime=1791882995.01231603 29 ctime=1791882995.01246591 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/J7PZ/===0000644000175000017500000000004415263373363020672 0ustar00tinatinaSpec Example 2.26. Ordered Mappings YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/7TMG0000644000000000000000000000013215263373363020660 xustar0030 mtime=1791882995.163856325 30 atime=1791882995.012161051 30 ctime=1791882995.163856325 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7TMG/0000755000175000017500000000000015263373363020367 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7TMG/PaxHeaders/test.event0000644000000000000000000000013215263373363022757 xustar0030 mtime=1791882995.163948865 30 atime=1791882995.163856325 30 ctime=1791882995.163948865 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7TMG/test.event0000644000175000017500000000007515263373363022413 0ustar00tinatina+STR +DOC --- +SEQ [] =VAL :word1 =VAL :word2 -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7TMG/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022430 xustar0030 mtime=1791882995.131318417 30 atime=1791882995.131222594 30 ctime=1791882995.131318417 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7TMG/out.yaml0000644000175000017500000000002415263373363022056 0ustar00tinatina--- - word1 - word2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7TMG/PaxHeaders/in.json0000644000000000000000000000013215263373363022236 xustar0030 mtime=1791882995.086076169 30 atime=1791882995.085980207 30 ctime=1791882995.086076169 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7TMG/in.json0000644000175000017500000000003115263373363021662 0ustar00tinatina[ "word1", "word2" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7TMG/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022227 xustar0030 mtime=1791882995.085980207 30 atime=1791882995.085884384 30 ctime=1791882995.085980207 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7TMG/in.yaml0000644000175000017500000000003715263373363021661 0ustar00tinatina--- [ word1 # comment , word2] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7TMG/PaxHeaders/===0000644000000000000000000000013015263373363021224 xustar0029 mtime=1791882995.01231603 30 atime=1791882995.012161051 29 ctime=1791882995.01231603 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7TMG/===0000644000175000017500000000004615263373363020660 0ustar00tinatinaComment in flow sequence before comma YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/U99R0000644000000000000000000000013215263373363020652 xustar0030 mtime=1791882995.163762528 30 atime=1791882995.011997831 30 ctime=1791882995.163762528 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U99R/0000755000175000017500000000000015263373363020361 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U99R/PaxHeaders/test.event0000644000000000000000000000013215263373363022751 xustar0030 mtime=1791882995.163856325 30 atime=1791882995.163762528 30 ctime=1791882995.163856325 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U99R/test.event0000644000175000017500000000001715263373363022401 0ustar00tinatina+STR +DOC +SEQ YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U99R/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022221 xustar0030 mtime=1791882995.085884384 30 atime=1791882995.085781437 30 ctime=1791882995.085884384 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U99R/in.yaml0000644000175000017500000000001515263373363021647 0ustar00tinatina- !!str, xxx YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U99R/PaxHeaders/error0000644000000000000000000000013115263373363022002 xustar0030 mtime=1791882995.052952359 30 atime=1791882995.052952359 29 ctime=1791882995.05304008 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U99R/error0000644000175000017500000000000015263373363021423 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U99R/PaxHeaders/===0000644000000000000000000000013215263373363021220 xustar0030 mtime=1791882995.012161051 30 atime=1791882995.011997831 30 ctime=1791882995.012161051 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U99R/===0000644000175000017500000000002515263373363020647 0ustar00tinatinaInvalid comma in tag YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/SYW40000644000000000000000000000013215263373363020710 xustar0030 mtime=1791882995.163668032 30 atime=1791882995.011849278 30 ctime=1791882995.163668032 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SYW4/0000755000175000017500000000000015263373363020417 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SYW4/PaxHeaders/test.event0000644000000000000000000000013215263373363023007 xustar0030 mtime=1791882995.163762528 30 atime=1791882995.163668032 30 ctime=1791882995.163762528 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SYW4/test.event0000644000175000017500000000013215263373363022435 0ustar00tinatina+STR +DOC +MAP =VAL :hr =VAL :65 =VAL :avg =VAL :0.278 =VAL :rbi =VAL :147 -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SYW4/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022460 xustar0030 mtime=1791882995.131222594 30 atime=1791882995.131115946 30 ctime=1791882995.131222594 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SYW4/out.yaml0000644000175000017500000000003315263373363022106 0ustar00tinatinahr: 65 avg: 0.278 rbi: 147 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SYW4/PaxHeaders/in.json0000644000000000000000000000013215263373363022266 xustar0030 mtime=1791882995.085781437 30 atime=1791882995.085690434 30 ctime=1791882995.085781437 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SYW4/in.json0000644000175000017500000000005515263373363021720 0ustar00tinatina{ "hr": 65, "avg": 0.278, "rbi": 147 } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SYW4/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022257 xustar0030 mtime=1791882995.085690434 30 atime=1791882995.085592655 30 ctime=1791882995.085690434 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SYW4/in.yaml0000644000175000017500000000012015263373363021702 0ustar00tinatinahr: 65 # Home runs avg: 0.278 # Batting average rbi: 147 # Runs Batted In YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SYW4/PaxHeaders/===0000644000000000000000000000013215263373363021256 xustar0030 mtime=1791882995.011997831 30 atime=1791882995.011849278 30 ctime=1791882995.011997831 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SYW4/===0000644000175000017500000000005515263373363020710 0ustar00tinatinaSpec Example 2.2. Mapping Scalars to Scalars YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/G5U80000644000000000000000000000013215263373363020632 xustar0030 mtime=1791882995.163572977 30 atime=1791882995.011699049 30 ctime=1791882995.163572977 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G5U8/0000755000175000017500000000000015263373363020341 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G5U8/PaxHeaders/test.event0000644000000000000000000000013215263373363022731 xustar0030 mtime=1791882995.163668032 30 atime=1791882995.163572977 30 ctime=1791882995.163668032 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G5U8/test.event0000644000175000017500000000003315263373363022357 0ustar00tinatina+STR +DOC --- +SEQ +SEQ [] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G5U8/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022201 xustar0030 mtime=1791882995.085592655 30 atime=1791882995.085508566 30 ctime=1791882995.085592655 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G5U8/in.yaml0000644000175000017500000000001515263373363021627 0ustar00tinatina--- - [-, -] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G5U8/PaxHeaders/error0000644000000000000000000000013015263373363021761 xustar0029 mtime=1791882995.05286366 29 atime=1791882995.05286366 30 ctime=1791882995.052952359 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G5U8/error0000644000175000017500000000000015263373363021403 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G5U8/PaxHeaders/===0000644000000000000000000000013215263373363021200 xustar0030 mtime=1791882995.011849278 30 atime=1791882995.011699049 30 ctime=1791882995.011849278 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G5U8/===0000644000175000017500000000003615263373363020631 0ustar00tinatinaPlain dashes in flow sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/7T8X0000644000000000000000000000013215263373363020654 xustar0030 mtime=1791882995.163479948 30 atime=1791882995.011548191 30 ctime=1791882995.163479948 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7T8X/0000755000175000017500000000000015263373363020363 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7T8X/PaxHeaders/test.event0000644000000000000000000000013215263373363022753 xustar0030 mtime=1791882995.163572977 30 atime=1791882995.163479948 30 ctime=1791882995.163572977 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7T8X/test.event0000644000175000017500000000014515263373363022405 0ustar00tinatina+STR +DOC =VAL >\nfolded line\nnext line\n * bullet\n\n * list\n * lines\n\nlast line\n -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7T8X/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022424 xustar0030 mtime=1791882995.131115946 30 atime=1791882995.131021031 30 ctime=1791882995.131115946 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7T8X/out.yaml0000644000175000017500000000012015263373363022047 0ustar00tinatina> folded line next line * bullet * list * lines last line YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7T8X/PaxHeaders/in.json0000644000000000000000000000013215263373363022232 xustar0030 mtime=1791882995.085508566 30 atime=1791882995.085415327 30 ctime=1791882995.085508566 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7T8X/in.json0000644000175000017500000000011515263373363021661 0ustar00tinatina"\nfolded line\nnext line\n * bullet\n\n * list\n * lines\n\nlast line\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7T8X/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022223 xustar0030 mtime=1791882995.085415327 30 atime=1791882995.085320412 30 ctime=1791882995.085415327 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7T8X/in.yaml0000644000175000017500000000013015263373363021647 0ustar00tinatina> folded line next line * bullet * list * lines last line # Comment YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7T8X/PaxHeaders/===0000644000000000000000000000013215263373363021222 xustar0030 mtime=1791882995.011699049 30 atime=1791882995.011548191 30 ctime=1791882995.011699049 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7T8X/===0000644000175000017500000000007215263373363020653 0ustar00tinatinaSpec Example 8.10. Folded Lines - 8.13. Final Empty Lines YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/9SA20000644000000000000000000000013215263373363020620 xustar0030 mtime=1791882995.163387198 30 atime=1791882995.011396076 30 ctime=1791882995.163387198 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9SA2/0000755000175000017500000000000015263373363020327 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9SA2/PaxHeaders/test.event0000644000000000000000000000013215263373363022717 xustar0030 mtime=1791882995.163479948 30 atime=1791882995.163387198 30 ctime=1791882995.163479948 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9SA2/test.event0000644000175000017500000000016715263373363022355 0ustar00tinatina+STR +DOC --- +SEQ +MAP {} =VAL "single line =VAL :value -MAP +MAP {} =VAL "multi line =VAL :value -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9SA2/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022370 xustar0030 mtime=1791882995.131021031 30 atime=1791882995.130927234 30 ctime=1791882995.131021031 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9SA2/out.yaml0000644000175000017500000000006115263373363022017 0ustar00tinatina--- - "single line": value - "multi line": value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9SA2/PaxHeaders/in.json0000644000000000000000000000013215263373363022176 xustar0030 mtime=1791882995.085320412 30 atime=1791882995.085226336 30 ctime=1791882995.085320412 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9SA2/in.json0000644000175000017500000000011215263373363021622 0ustar00tinatina[ { "single line": "value" }, { "multi line": "value" } ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9SA2/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022167 xustar0030 mtime=1791882995.085226336 30 atime=1791882995.085115567 30 ctime=1791882995.085226336 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9SA2/in.yaml0000644000175000017500000000007115263373363021617 0ustar00tinatina--- - { "single line": value} - { "multi line": value} YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9SA2/PaxHeaders/===0000644000000000000000000000013215263373363021166 xustar0030 mtime=1791882995.011548191 30 atime=1791882995.011396076 30 ctime=1791882995.011548191 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9SA2/===0000644000175000017500000000005115263373363020614 0ustar00tinatinaMultiline double quoted flow mapping key YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/2XXW0000644000000000000000000000013215263373363020712 xustar0030 mtime=1791882995.163293401 30 atime=1791882995.011242424 30 ctime=1791882995.163293401 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2XXW/0000755000175000017500000000000015263373363020421 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2XXW/PaxHeaders/test.event0000644000000000000000000000013215263373363023011 xustar0030 mtime=1791882995.163387198 30 atime=1791882995.163293401 30 ctime=1791882995.163387198 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2XXW/test.event0000644000175000017500000000020315263373363022436 0ustar00tinatina+STR +DOC --- +MAP =VAL :Mark McGwire =VAL : =VAL :Sammy Sosa =VAL : =VAL :Ken Griff =VAL : -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2XXW/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022462 xustar0030 mtime=1791882995.130927234 30 atime=1791882995.130832947 30 ctime=1791882995.130927234 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2XXW/out.yaml0000644000175000017500000000005715263373363022116 0ustar00tinatina--- !!set Mark McGwire: Sammy Sosa: Ken Griff: YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2XXW/PaxHeaders/in.json0000644000000000000000000000013215263373363022270 xustar0030 mtime=1791882995.085115567 30 atime=1791882995.085022119 30 ctime=1791882995.085115567 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2XXW/in.json0000644000175000017500000000010615263373363021717 0ustar00tinatina{ "Mark McGwire": null, "Sammy Sosa": null, "Ken Griff": null } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2XXW/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022261 xustar0030 mtime=1791882995.085022119 30 atime=1791882995.084927134 30 ctime=1791882995.085022119 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2XXW/in.yaml0000644000175000017500000000021115263373363021705 0ustar00tinatina# Sets are represented as a # Mapping where each key is # associated with a null value --- !!set ? Mark McGwire ? Sammy Sosa ? Ken Griff YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2XXW/PaxHeaders/===0000644000000000000000000000013215263373363021260 xustar0030 mtime=1791882995.011396076 30 atime=1791882995.011242424 30 ctime=1791882995.011396076 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2XXW/===0000644000175000017500000000004215263373363020706 0ustar00tinatinaSpec Example 2.25. Unordered Sets YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/5TYM0000644000000000000000000000013115263373363020677 xustar0030 mtime=1791882995.163197508 29 atime=1791882995.01107669 30 ctime=1791882995.163197508 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5TYM/0000755000175000017500000000000015263373363020407 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5TYM/PaxHeaders/test.event0000644000000000000000000000013215263373363022777 xustar0030 mtime=1791882995.163293401 30 atime=1791882995.163197508 30 ctime=1791882995.163293401 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5TYM/test.event0000644000175000017500000000014015263373363022424 0ustar00tinatina+STR +DOC --- =VAL :fluorescent -DOC ... +DOC --- =VAL :green -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5TYM/PaxHeaders/in.json0000644000000000000000000000013215263373363022256 xustar0030 mtime=1791882995.084927134 30 atime=1791882995.084832219 30 ctime=1791882995.084927134 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5TYM/in.json0000644000175000017500000000002615263373363021706 0ustar00tinatina"fluorescent" "green" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5TYM/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022247 xustar0030 mtime=1791882995.084832219 30 atime=1791882995.084736815 30 ctime=1791882995.084832219 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5TYM/in.yaml0000644000175000017500000000014515263373363021701 0ustar00tinatina%TAG !m! !my- --- # Bulb here !m!light fluorescent ... %TAG !m! !my- --- # Color here !m!light green YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5TYM/PaxHeaders/===0000644000000000000000000000013115263373363021245 xustar0030 mtime=1791882995.011242424 29 atime=1791882995.01107669 30 ctime=1791882995.011242424 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5TYM/===0000644000175000017500000000004415263373363020676 0ustar00tinatinaSpec Example 6.21. Local Tag Prefix YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/GDY70000644000000000000000000000012715263373363020660 xustar0029 mtime=1791882995.16309107 29 atime=1791882995.01092192 29 ctime=1791882995.16309107 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GDY7/0000755000175000017500000000000015263373363020363 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GDY7/PaxHeaders/test.event0000644000000000000000000000013115263373363022752 xustar0030 mtime=1791882995.163197508 29 atime=1791882995.16309107 30 ctime=1791882995.163197508 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GDY7/test.event0000644000175000017500000000004515263373363022404 0ustar00tinatina+STR +DOC +MAP =VAL :key =VAL :value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GDY7/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022222 xustar0030 mtime=1791882995.084736815 29 atime=1791882995.08464211 30 ctime=1791882995.084736815 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GDY7/in.yaml0000644000175000017500000000003715263373363021655 0ustar00tinatinakey: value this is #not a: key YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GDY7/PaxHeaders/error0000644000000000000000000000013115263373363022004 xustar0030 mtime=1791882995.052775241 30 atime=1791882995.052775241 29 ctime=1791882995.05286366 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GDY7/error0000644000175000017500000000000015263373363021425 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GDY7/PaxHeaders/===0000644000000000000000000000012715263373363021226 xustar0029 mtime=1791882995.01107669 29 atime=1791882995.01092192 29 ctime=1791882995.01107669 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GDY7/===0000644000175000017500000000004615263373363020654 0ustar00tinatinaComment that looks like a mapping key YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/RXY30000644000000000000000000000013215263373363020707 xustar0030 mtime=1791882995.162997691 30 atime=1791882995.010767431 30 ctime=1791882995.162997691 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RXY3/0000755000175000017500000000000015263373363020416 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RXY3/PaxHeaders/test.event0000644000000000000000000000013015263373363023004 xustar0029 mtime=1791882995.16309107 30 atime=1791882995.162997691 29 ctime=1791882995.16309107 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RXY3/test.event0000644000175000017500000000001615263373363022435 0ustar00tinatina+STR +DOC --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RXY3/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022254 xustar0029 mtime=1791882995.08464211 30 atime=1791882995.084548173 29 ctime=1791882995.08464211 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RXY3/in.yaml0000644000175000017500000000001415263373363021703 0ustar00tinatina--- ' ... ' YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RXY3/PaxHeaders/error0000644000000000000000000000013015263373363022036 xustar0029 mtime=1791882995.05268759 29 atime=1791882995.05268759 30 ctime=1791882995.052775241 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RXY3/error0000644000175000017500000000000015263373363021460 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RXY3/PaxHeaders/===0000644000000000000000000000013015263373363021253 xustar0029 mtime=1791882995.01092192 30 atime=1791882995.010767431 29 ctime=1791882995.01092192 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RXY3/===0000644000175000017500000000006415263373363020707 0ustar00tinatinaInvalid document-end marker in single quoted string YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/9U5K0000644000000000000000000000013215263373363020637 xustar0030 mtime=1791882995.162904662 30 atime=1791882995.010609658 30 ctime=1791882995.162904662 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9U5K/0000755000175000017500000000000015263373363020346 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9U5K/PaxHeaders/test.event0000644000000000000000000000013215263373363022736 xustar0030 mtime=1791882995.162997691 30 atime=1791882995.162904662 30 ctime=1791882995.162997691 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9U5K/test.event0000644000175000017500000000033015263373363022364 0ustar00tinatina+STR +DOC --- +SEQ +MAP =VAL :item =VAL :Super Hoop =VAL :quantity =VAL :1 -MAP +MAP =VAL :item =VAL :Basketball =VAL :quantity =VAL :4 -MAP +MAP =VAL :item =VAL :Big Shoes =VAL :quantity =VAL :1 -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9U5K/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022407 xustar0030 mtime=1791882995.130832947 30 atime=1791882995.130738172 30 ctime=1791882995.130832947 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9U5K/out.yaml0000644000175000017500000000014615263373363022042 0ustar00tinatina--- - item: Super Hoop quantity: 1 - item: Basketball quantity: 4 - item: Big Shoes quantity: 1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9U5K/PaxHeaders/in.json0000644000000000000000000000013215263373363022215 xustar0030 mtime=1791882995.084548173 30 atime=1791882995.084453957 30 ctime=1791882995.084548173 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9U5K/in.json0000644000175000017500000000024115263373363021644 0ustar00tinatina[ { "item": "Super Hoop", "quantity": 1 }, { "item": "Basketball", "quantity": 4 }, { "item": "Big Shoes", "quantity": 1 } ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9U5K/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022206 xustar0030 mtime=1791882995.084453957 30 atime=1791882995.084358832 30 ctime=1791882995.084453957 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9U5K/in.yaml0000644000175000017500000000020715263373363021637 0ustar00tinatina--- # Products purchased - item : Super Hoop quantity: 1 - item : Basketball quantity: 4 - item : Big Shoes quantity: 1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9U5K/PaxHeaders/===0000644000000000000000000000013215263373363021205 xustar0030 mtime=1791882995.010767431 30 atime=1791882995.010609658 30 ctime=1791882995.010767431 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9U5K/===0000644000175000017500000000005215263373363020634 0ustar00tinatinaSpec Example 2.12. Compact Nested Mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/T26H0000644000000000000000000000013215263373363020625 xustar0030 mtime=1791882995.162812751 30 atime=1791882995.010455937 30 ctime=1791882995.162812751 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T26H/0000755000175000017500000000000015263373363020334 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T26H/PaxHeaders/test.event0000644000000000000000000000013215263373363022724 xustar0030 mtime=1791882995.162904662 30 atime=1791882995.162812751 30 ctime=1791882995.162904662 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T26H/test.event0000644000175000017500000000006715263373363022361 0ustar00tinatina+STR +DOC --- =VAL |\n\nliteral\n \n\ntext\n -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T26H/PaxHeaders/emit.yaml0000644000000000000000000000013015263373363022522 xustar0029 mtime=1791882995.14800003 30 atime=1791882995.147906582 29 ctime=1791882995.14800003 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T26H/emit.yaml0000644000175000017500000000003615263373363022155 0ustar00tinatina--- | literal text YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T26H/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022375 xustar0030 mtime=1791882995.130738172 30 atime=1791882995.130643048 30 ctime=1791882995.130738172 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T26H/out.yaml0000644000175000017500000000003315263373363022023 0ustar00tinatina"\n\nliteral\n \n\ntext\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T26H/PaxHeaders/in.json0000644000000000000000000000013215263373363022203 xustar0030 mtime=1791882995.084358832 30 atime=1791882995.084261473 30 ctime=1791882995.084358832 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T26H/in.json0000644000175000017500000000003315263373363021631 0ustar00tinatina"\n\nliteral\n \n\ntext\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T26H/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022174 xustar0030 mtime=1791882995.084261473 30 atime=1791882995.084165091 30 ctime=1791882995.084261473 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T26H/in.yaml0000644000175000017500000000005715263373363021630 0ustar00tinatina--- | literal text # Comment YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T26H/PaxHeaders/===0000644000000000000000000000013215263373363021173 xustar0030 mtime=1791882995.010609658 30 atime=1791882995.010455937 30 ctime=1791882995.010609658 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T26H/===0000644000175000017500000000005015263373363020620 0ustar00tinatinaSpec Example 8.8. Literal Content [1.3] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/2JQS0000644000000000000000000000013215263373363020661 xustar0030 mtime=1791882995.162719722 30 atime=1791882995.010302355 30 ctime=1791882995.162719722 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2JQS/0000755000175000017500000000000015263373363020370 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2JQS/PaxHeaders/test.event0000644000000000000000000000013215263373363022760 xustar0030 mtime=1791882995.162812751 30 atime=1791882995.162719722 30 ctime=1791882995.162812751 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2JQS/test.event0000644000175000017500000000007415263373363022413 0ustar00tinatina+STR +DOC +MAP =VAL : =VAL :a =VAL : =VAL :b -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2JQS/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022230 xustar0030 mtime=1791882995.084165091 30 atime=1791882995.084060469 30 ctime=1791882995.084165091 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2JQS/in.yaml0000644000175000017500000000001015263373363021651 0ustar00tinatina: a : b YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2JQS/PaxHeaders/===0000644000000000000000000000013215263373363021227 xustar0030 mtime=1791882995.010455937 30 atime=1791882995.010302355 30 ctime=1791882995.010455937 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2JQS/===0000644000175000017500000000004015263373363020653 0ustar00tinatinaBlock Mapping with Missing Keys YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/9KBC0000644000000000000000000000013215263373363020632 xustar0030 mtime=1791882995.162625785 30 atime=1791882995.010110989 30 ctime=1791882995.162625785 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9KBC/0000755000175000017500000000000015263373363020341 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9KBC/PaxHeaders/test.event0000644000000000000000000000013215263373363022731 xustar0030 mtime=1791882995.162719722 30 atime=1791882995.162625785 30 ctime=1791882995.162719722 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9KBC/test.event0000644000175000017500000000001615263373363022360 0ustar00tinatina+STR +DOC --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9KBC/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022201 xustar0030 mtime=1791882995.084060469 30 atime=1791882995.083965135 30 ctime=1791882995.084060469 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9KBC/in.yaml0000644000175000017500000000004215263373363021627 0ustar00tinatina--- key1: value1 key2: value2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9KBC/PaxHeaders/error0000644000000000000000000000013115263373363021762 xustar0030 mtime=1791882995.052600776 30 atime=1791882995.052600776 29 ctime=1791882995.05268759 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9KBC/error0000644000175000017500000000000015263373363021403 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9KBC/PaxHeaders/===0000644000000000000000000000013215263373363021200 xustar0030 mtime=1791882995.010302355 30 atime=1791882995.010110989 30 ctime=1791882995.010302355 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9KBC/===0000644000175000017500000000003515263373363020630 0ustar00tinatinaMapping starting at --- line YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/3HFZ0000644000000000000000000000013215263373363020654 xustar0030 mtime=1791882995.162532336 30 atime=1791882995.009949724 30 ctime=1791882995.162532336 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3HFZ/0000755000175000017500000000000015263373363020363 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3HFZ/PaxHeaders/test.event0000644000000000000000000000013215263373363022753 xustar0030 mtime=1791882995.162625785 30 atime=1791882995.162532336 30 ctime=1791882995.162625785 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3HFZ/test.event0000644000175000017500000000006715263373363022410 0ustar00tinatina+STR +DOC --- +MAP =VAL :key =VAL :value -MAP -DOC ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3HFZ/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022223 xustar0030 mtime=1791882995.083965135 30 atime=1791882995.083869661 30 ctime=1791882995.083965135 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3HFZ/in.yaml0000644000175000017500000000003315263373363021651 0ustar00tinatina--- key: value ... invalid YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3HFZ/PaxHeaders/error0000644000000000000000000000013215263373363022005 xustar0030 mtime=1791882995.052512776 30 atime=1791882995.052512776 30 ctime=1791882995.052600776 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3HFZ/error0000644000175000017500000000000015263373363021425 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3HFZ/PaxHeaders/===0000644000000000000000000000013215263373363021222 xustar0030 mtime=1791882995.010110989 30 atime=1791882995.009949724 30 ctime=1791882995.010110989 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3HFZ/===0000644000175000017500000000005215263373363020651 0ustar00tinatinaInvalid content after document end marker YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/5C5M0000644000000000000000000000013215263373363020613 xustar0030 mtime=1791882995.162438888 30 atime=1791882995.009793349 30 ctime=1791882995.162438888 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5C5M/0000755000175000017500000000000015263373363020322 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5C5M/PaxHeaders/test.event0000644000000000000000000000013215263373363022712 xustar0030 mtime=1791882995.162532336 30 atime=1791882995.162438888 30 ctime=1791882995.162532336 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5C5M/test.event0000644000175000017500000000022015263373363022336 0ustar00tinatina+STR +DOC +SEQ +MAP {} =VAL :one =VAL :two =VAL :three =VAL :four -MAP +MAP {} =VAL :five =VAL :six =VAL :seven =VAL :eight -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5C5M/PaxHeaders/out.yaml0000644000000000000000000000013115263373363022362 xustar0030 mtime=1791882995.130643048 29 atime=1791882995.13054967 30 ctime=1791882995.130643048 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5C5M/out.yaml0000644000175000017500000000006415263373363022015 0ustar00tinatina- one: two three: four - five: six seven: eight YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5C5M/PaxHeaders/in.json0000644000000000000000000000013215263373363022171 xustar0030 mtime=1791882995.083869661 30 atime=1791882995.083773769 30 ctime=1791882995.083869661 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5C5M/in.json0000644000175000017500000000014315263373363021621 0ustar00tinatina[ { "one": "two", "three": "four" }, { "five": "six", "seven": "eight" } ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5C5M/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022162 xustar0030 mtime=1791882995.083773769 30 atime=1791882995.083678435 30 ctime=1791882995.083773769 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5C5M/in.yaml0000644000175000017500000000007415263373363021615 0ustar00tinatina- { one : two , three: four , } - {five: six,seven : eight} YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5C5M/PaxHeaders/===0000644000000000000000000000013215263373363021161 xustar0030 mtime=1791882995.009949724 30 atime=1791882995.009793349 30 ctime=1791882995.009949724 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5C5M/===0000644000175000017500000000004115263373363020606 0ustar00tinatinaSpec Example 7.15. Flow Mappings YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/54T70000644000000000000000000000013215263373363020605 xustar0030 mtime=1791882995.162345999 30 atime=1791882995.009639977 30 ctime=1791882995.162345999 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/54T7/0000755000175000017500000000000015263373363020314 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/54T7/PaxHeaders/test.event0000644000000000000000000000013215263373363022704 xustar0030 mtime=1791882995.162438888 30 atime=1791882995.162345999 30 ctime=1791882995.162438888 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/54T7/test.event0000644000175000017500000000011115263373363022327 0ustar00tinatina+STR +DOC +MAP {} =VAL :foo =VAL :you =VAL :bar =VAL :far -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/54T7/PaxHeaders/out.yaml0000644000000000000000000000013015263373363022353 xustar0029 mtime=1791882995.13054967 30 atime=1791882995.130456152 29 ctime=1791882995.13054967 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/54T7/out.yaml0000644000175000017500000000002215263373363022001 0ustar00tinatinafoo: you bar: far YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/54T7/PaxHeaders/in.json0000644000000000000000000000013215263373363022163 xustar0030 mtime=1791882995.083678435 30 atime=1791882995.083575069 30 ctime=1791882995.083678435 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/54T7/in.json0000644000175000017500000000004315263373363021612 0ustar00tinatina{ "foo": "you", "bar": "far" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/54T7/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022154 xustar0030 mtime=1791882995.083575069 30 atime=1791882995.083480154 30 ctime=1791882995.083575069 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/54T7/in.yaml0000644000175000017500000000002515263373363021603 0ustar00tinatina{foo: you, bar: far} YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/54T7/PaxHeaders/===0000644000000000000000000000013215263373363021153 xustar0030 mtime=1791882995.009793349 30 atime=1791882995.009639977 30 ctime=1791882995.009793349 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/54T7/===0000644000175000017500000000001515263373363020601 0ustar00tinatinaFlow Mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/R52L0000644000000000000000000000013215263373363020626 xustar0030 mtime=1791882995.162250874 30 atime=1791882995.009487372 30 ctime=1791882995.162250874 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/R52L/0000755000175000017500000000000015263373363020335 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/R52L/PaxHeaders/test.event0000644000000000000000000000013215263373363022725 xustar0030 mtime=1791882995.162345999 30 atime=1791882995.162250874 30 ctime=1791882995.162345999 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/R52L/test.event0000644000175000017500000000022215263373363022353 0ustar00tinatina+STR +DOC --- +MAP {} =VAL :top1 +SEQ [] =VAL :item1 +MAP {} =VAL :key2 =VAL :value2 -MAP =VAL :item3 -SEQ =VAL :top2 =VAL :value2 -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/R52L/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022376 xustar0030 mtime=1791882995.130456152 30 atime=1791882995.130361586 30 ctime=1791882995.130456152 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/R52L/out.yaml0000644000175000017500000000006615263373363022032 0ustar00tinatina--- top1: - item1 - key2: value2 - item3 top2: value2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/R52L/PaxHeaders/in.json0000644000000000000000000000013015263373363022202 xustar0030 mtime=1791882995.083480154 28 atime=1791882995.0833851 30 ctime=1791882995.083480154 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/R52L/in.json0000644000175000017500000000014515263373363021636 0ustar00tinatina{ "top1": [ "item1", { "key2": "value2" }, "item3" ], "top2": "value2" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/R52L/PaxHeaders/in.yaml0000644000000000000000000000012515263373363022177 xustar0028 mtime=1791882995.0833851 29 atime=1791882995.08328788 28 ctime=1791882995.0833851 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/R52L/in.yaml0000644000175000017500000000007315263373363021627 0ustar00tinatina--- { top1: [item1, {key2: value2}, item3], top2: value2 } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/R52L/PaxHeaders/===0000644000000000000000000000013215263373363021174 xustar0030 mtime=1791882995.009639977 30 atime=1791882995.009487372 30 ctime=1791882995.009639977 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/R52L/===0000644000175000017500000000005215263373363020623 0ustar00tinatinaNested flow mapping sequence and mappings YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/M5DY0000644000000000000000000000013215263373363020660 xustar0030 mtime=1791882995.162153585 30 atime=1791882995.009334559 30 ctime=1791882995.162153585 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M5DY/0000755000175000017500000000000015263373363020367 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M5DY/PaxHeaders/test.event0000644000000000000000000000013215263373363022757 xustar0030 mtime=1791882995.162250874 30 atime=1791882995.162153585 30 ctime=1791882995.162250874 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M5DY/test.event0000644000175000017500000000034415263373363022412 0ustar00tinatina+STR +DOC +MAP +SEQ =VAL :Detroit Tigers =VAL :Chicago cubs -SEQ +SEQ =VAL :2001-07-23 -SEQ +SEQ [] =VAL :New York Yankees =VAL :Atlanta Braves -SEQ +SEQ [] =VAL :2001-07-02 =VAL :2001-08-12 =VAL :2001-08-14 -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M5DY/PaxHeaders/out.yaml0000644000000000000000000000013115263373363022427 xustar0030 mtime=1791882995.130361586 29 atime=1791882995.13026716 30 ctime=1791882995.130361586 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M5DY/out.yaml0000644000175000017500000000021015263373363022053 0ustar00tinatina? - Detroit Tigers - Chicago cubs : - 2001-07-23 ? - New York Yankees - Atlanta Braves : - 2001-07-02 - 2001-08-12 - 2001-08-14 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M5DY/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022225 xustar0029 mtime=1791882995.08328788 30 atime=1791882995.083186819 29 ctime=1791882995.08328788 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M5DY/in.yaml0000644000175000017500000000021615263373363021660 0ustar00tinatina? - Detroit Tigers - Chicago cubs : - 2001-07-23 ? [ New York Yankees, Atlanta Braves ] : [ 2001-07-02, 2001-08-12, 2001-08-14 ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M5DY/PaxHeaders/===0000644000000000000000000000013215263373363021226 xustar0030 mtime=1791882995.009487372 30 atime=1791882995.009334559 30 ctime=1791882995.009487372 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M5DY/===0000644000175000017500000000005515263373363020660 0ustar00tinatinaSpec Example 2.11. Mapping between Sequences YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/7LBH0000644000000000000000000000013215263373363020636 xustar0030 mtime=1791882995.162046588 30 atime=1791882995.009158139 30 ctime=1791882995.162046588 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7LBH/0000755000175000017500000000000015263373363020345 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7LBH/PaxHeaders/test.event0000644000000000000000000000013215263373363022735 xustar0030 mtime=1791882995.162153585 30 atime=1791882995.162046588 30 ctime=1791882995.162153585 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7LBH/test.event0000644000175000017500000000004215263373363022363 0ustar00tinatina+STR +DOC +MAP =VAL "a\nb =VAL :1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7LBH/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022205 xustar0030 mtime=1791882995.083186819 30 atime=1791882995.083056006 30 ctime=1791882995.083186819 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7LBH/in.yaml0000644000175000017500000000002415263373363021633 0ustar00tinatina"a\nb": 1 "c d": 1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7LBH/PaxHeaders/error0000644000000000000000000000013215263373363021767 xustar0030 mtime=1791882995.052426242 30 atime=1791882995.052426242 30 ctime=1791882995.052512776 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7LBH/error0000644000175000017500000000000015263373363021407 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7LBH/PaxHeaders/===0000644000000000000000000000013215263373363021204 xustar0030 mtime=1791882995.009334559 30 atime=1791882995.009158139 30 ctime=1791882995.009334559 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7LBH/===0000644000175000017500000000004615263373363020636 0ustar00tinatinaMultiline double quoted implicit keys YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/MYW60000644000000000000000000000013215263373363020704 xustar0030 mtime=1791882995.161951673 30 atime=1791882995.008985839 30 ctime=1791882995.161951673 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MYW6/0000755000175000017500000000000015263373363020413 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MYW6/PaxHeaders/test.event0000644000000000000000000000013215263373363023003 xustar0030 mtime=1791882995.162046588 30 atime=1791882995.161951673 30 ctime=1791882995.162046588 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MYW6/test.event0000644000175000017500000000004115263373363022430 0ustar00tinatina+STR +DOC =VAL |ab -DOC ... -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MYW6/PaxHeaders/out.yaml0000644000000000000000000000013015263373363022452 xustar0029 mtime=1791882995.13026716 30 atime=1791882995.130166588 29 ctime=1791882995.13026716 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MYW6/out.yaml0000644000175000017500000000001415263373363022101 0ustar00tinatina|- ab ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MYW6/PaxHeaders/in.json0000644000000000000000000000013215263373363022262 xustar0030 mtime=1791882995.083056006 30 atime=1791882995.082937764 30 ctime=1791882995.083056006 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MYW6/in.json0000644000175000017500000000000515263373363021707 0ustar00tinatina"ab" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MYW6/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022253 xustar0030 mtime=1791882995.082937764 30 atime=1791882995.082840823 30 ctime=1791882995.082937764 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MYW6/in.yaml0000644000175000017500000000001715263373363021703 0ustar00tinatina|- ab ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MYW6/PaxHeaders/===0000644000000000000000000000013215263373363021252 xustar0030 mtime=1791882995.009158139 30 atime=1791882995.008985839 30 ctime=1791882995.009158139 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/MYW6/===0000644000175000017500000000002315263373363020677 0ustar00tinatinaBlock Scalar Strip YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/RHX70000644000000000000000000000013215263373363020672 xustar0030 mtime=1791882995.161856758 30 atime=1791882995.008815077 30 ctime=1791882995.161856758 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RHX7/0000755000175000017500000000000015263373363020401 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RHX7/PaxHeaders/test.event0000644000000000000000000000013215263373363022771 xustar0030 mtime=1791882995.161951673 30 atime=1791882995.161856758 30 ctime=1791882995.161951673 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RHX7/test.event0000644000175000017500000000005115263373363022417 0ustar00tinatina+STR +DOC --- +MAP =VAL :key =VAL :value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RHX7/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022241 xustar0030 mtime=1791882995.082840823 30 atime=1791882995.082744512 30 ctime=1791882995.082840823 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RHX7/in.yaml0000644000175000017500000000003515263373363021671 0ustar00tinatina--- key: value %YAML 1.2 --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RHX7/PaxHeaders/error0000644000000000000000000000013215263373363022023 xustar0030 mtime=1791882995.052338451 30 atime=1791882995.052338451 30 ctime=1791882995.052426242 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RHX7/error0000644000175000017500000000000015263373363021443 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RHX7/PaxHeaders/===0000644000000000000000000000013215263373363021240 xustar0030 mtime=1791882995.008985839 30 atime=1791882995.008815077 30 ctime=1791882995.008985839 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/RHX7/===0000644000175000017500000000005315263373363020670 0ustar00tinatinaYAML directive without document end marker YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/DWX90000644000000000000000000000013215263373363020675 xustar0030 mtime=1791882995.161763519 30 atime=1791882995.008627691 30 ctime=1791882995.161763519 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DWX9/0000755000175000017500000000000015263373363020404 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DWX9/PaxHeaders/test.event0000644000000000000000000000013215263373363022774 xustar0030 mtime=1791882995.161856758 30 atime=1791882995.161763519 30 ctime=1791882995.161856758 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DWX9/test.event0000644000175000017500000000006315263373363022425 0ustar00tinatina+STR +DOC =VAL |\n\nliteral\n \n\ntext\n -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DWX9/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022574 xustar0030 mtime=1791882995.147906582 30 atime=1791882995.147823331 30 ctime=1791882995.147906582 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DWX9/emit.yaml0000644000175000017500000000003215263373363022221 0ustar00tinatina| literal text YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DWX9/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022445 xustar0030 mtime=1791882995.130166588 30 atime=1791882995.130057565 30 ctime=1791882995.130166588 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DWX9/out.yaml0000644000175000017500000000003315263373363022073 0ustar00tinatina"\n\nliteral\n \n\ntext\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DWX9/PaxHeaders/in.json0000644000000000000000000000013215263373363022253 xustar0030 mtime=1791882995.082744512 30 atime=1791882995.082649108 30 ctime=1791882995.082744512 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DWX9/in.json0000644000175000017500000000003315263373363021701 0ustar00tinatina"\n\nliteral\n \n\ntext\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DWX9/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022244 xustar0030 mtime=1791882995.082649108 30 atime=1791882995.082552447 30 ctime=1791882995.082649108 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DWX9/in.yaml0000644000175000017500000000005315263373363021674 0ustar00tinatina| literal text # Comment YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DWX9/PaxHeaders/===0000644000000000000000000000013215263373363021243 xustar0030 mtime=1791882995.008815077 30 atime=1791882995.008627691 30 ctime=1791882995.008815077 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DWX9/===0000644000175000017500000000004215263373363020671 0ustar00tinatinaSpec Example 8.8. Literal Content YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/LQZ70000644000000000000000000000013215263373363020677 xustar0030 mtime=1791882995.161670071 30 atime=1791882995.008455671 30 ctime=1791882995.161670071 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LQZ7/0000755000175000017500000000000015263373363020406 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LQZ7/PaxHeaders/test.event0000644000000000000000000000013215263373363022776 xustar0030 mtime=1791882995.161763519 30 atime=1791882995.161670071 30 ctime=1791882995.161763519 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LQZ7/test.event0000644000175000017500000000016515263373363022432 0ustar00tinatina+STR +DOC +MAP =VAL "implicit block key +SEQ [] +MAP {} =VAL "implicit flow key =VAL :value -MAP -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LQZ7/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022447 xustar0030 mtime=1791882995.130057565 30 atime=1791882995.129974523 30 ctime=1791882995.130057565 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LQZ7/out.yaml0000644000175000017500000000006315263373363022100 0ustar00tinatina"implicit block key": - "implicit flow key": value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LQZ7/PaxHeaders/in.json0000644000000000000000000000013215263373363022255 xustar0030 mtime=1791882995.082552447 30 atime=1791882995.082455158 30 ctime=1791882995.082552447 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LQZ7/in.json0000644000175000017500000000012115263373363021701 0ustar00tinatina{ "implicit block key": [ { "implicit flow key": "value" } ] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LQZ7/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022245 xustar0030 mtime=1791882995.082455158 29 atime=1791882995.08235696 30 ctime=1791882995.082455158 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LQZ7/in.yaml0000644000175000017500000000007315263373363021700 0ustar00tinatina"implicit block key" : [ "implicit flow key" : value, ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LQZ7/PaxHeaders/===0000644000000000000000000000013215263373363021245 xustar0030 mtime=1791882995.008627691 30 atime=1791882995.008455671 30 ctime=1791882995.008627691 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LQZ7/===0000644000175000017500000000005615263373363020700 0ustar00tinatinaSpec Example 7.4. Double Quoted Implicit Keys YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/6CK30000644000000000000000000000013215263373363020610 xustar0030 mtime=1791882995.161575086 30 atime=1791882995.008311448 30 ctime=1791882995.161575086 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6CK3/0000755000175000017500000000000015263373363020317 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6CK3/PaxHeaders/test.event0000644000000000000000000000013215263373363022707 xustar0030 mtime=1791882995.161670071 30 atime=1791882995.161575086 30 ctime=1791882995.161670071 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6CK3/test.event0000644000175000017500000000020115263373363022332 0ustar00tinatina+STR +DOC --- +SEQ =VAL :foo =VAL :bar =VAL :baz -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6CK3/PaxHeaders/in.json0000644000000000000000000000013015263373363022164 xustar0029 mtime=1791882995.08235696 30 atime=1791882995.082260509 29 ctime=1791882995.08235696 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6CK3/in.json0000644000175000017500000000003615263373363021617 0ustar00tinatina[ "foo", "bar", "baz" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6CK3/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022157 xustar0030 mtime=1791882995.082260509 30 atime=1791882995.082153302 30 ctime=1791882995.082260509 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6CK3/in.yaml0000644000175000017500000000012015263373363021602 0ustar00tinatina%TAG !e! tag:example.com,2000:app/ --- - !local foo - !!str bar - !e!tag%21 baz YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6CK3/PaxHeaders/===0000644000000000000000000000013215263373363021156 xustar0030 mtime=1791882995.008455671 30 atime=1791882995.008311448 30 ctime=1791882995.008455671 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6CK3/===0000644000175000017500000000004215263373363020604 0ustar00tinatinaSpec Example 6.26. Tag Shorthands YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/JS2J0000644000000000000000000000013215263373363020652 xustar0030 mtime=1791882995.161480172 30 atime=1791882995.008145854 30 ctime=1791882995.161480172 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JS2J/0000755000175000017500000000000015263373363020361 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JS2J/PaxHeaders/test.event0000644000000000000000000000013215263373363022751 xustar0030 mtime=1791882995.161575086 30 atime=1791882995.161480172 30 ctime=1791882995.161575086 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JS2J/test.event0000644000175000017500000000015615263373363022405 0ustar00tinatina+STR +DOC +MAP =VAL :First occurrence =VAL &anchor :Value =VAL :Second occurrence =ALI *anchor -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JS2J/PaxHeaders/in.json0000644000000000000000000000013215263373363022230 xustar0030 mtime=1791882995.082153302 30 atime=1791882995.082042463 30 ctime=1791882995.082153302 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JS2J/in.json0000644000175000017500000000010215263373363021653 0ustar00tinatina{ "First occurrence": "Value", "Second occurrence": "Value" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JS2J/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022221 xustar0030 mtime=1791882995.082042463 30 atime=1791882995.081944685 30 ctime=1791882995.082042463 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JS2J/in.yaml0000644000175000017500000000007315263373363021653 0ustar00tinatinaFirst occurrence: &anchor Value Second occurrence: *anchor YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JS2J/PaxHeaders/===0000644000000000000000000000013215263373363021220 xustar0030 mtime=1791882995.008311448 30 atime=1791882995.008145854 30 ctime=1791882995.008311448 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JS2J/===0000644000175000017500000000004015263373363020644 0ustar00tinatinaSpec Example 6.29. Node Anchors YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/9HCY0000644000000000000000000000013215263373363020656 xustar0030 mtime=1791882995.161382882 30 atime=1791882995.007984799 30 ctime=1791882995.161382882 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9HCY/0000755000175000017500000000000015263373363020365 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9HCY/PaxHeaders/test.event0000644000000000000000000000013215263373363022755 xustar0030 mtime=1791882995.161480172 30 atime=1791882995.161382882 30 ctime=1791882995.161480172 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9HCY/test.event0000644000175000017500000000003315263373363022403 0ustar00tinatina+STR +DOC =VAL "bar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9HCY/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022224 xustar0030 mtime=1791882995.081944685 29 atime=1791882995.08184558 30 ctime=1791882995.081944685 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9HCY/in.yaml0000644000175000017500000000007315263373363021657 0ustar00tinatina!foo "bar" %TAG ! tag:example.com,2000:app/ --- !foo "bar" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9HCY/PaxHeaders/error0000644000000000000000000000013215263373363022007 xustar0030 mtime=1791882995.052249473 30 atime=1791882995.052249473 30 ctime=1791882995.052338451 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9HCY/error0000644000175000017500000000000015263373363021427 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9HCY/PaxHeaders/===0000644000000000000000000000013215263373363021224 xustar0030 mtime=1791882995.008145854 30 atime=1791882995.007984799 30 ctime=1791882995.008145854 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9HCY/===0000644000175000017500000000004715263373363020657 0ustar00tinatinaNeed document footer before directives YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/ZCZ60000644000000000000000000000013215263373363020676 xustar0030 mtime=1791882995.160704091 30 atime=1791882995.007834849 30 ctime=1791882995.160704091 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZCZ6/0000755000175000017500000000000015263373363020405 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZCZ6/PaxHeaders/test.event0000644000000000000000000000013215263373363022775 xustar0030 mtime=1791882995.160797888 30 atime=1791882995.160704091 30 ctime=1791882995.160797888 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZCZ6/test.event0000644000175000017500000000002715263373363022426 0ustar00tinatina+STR +DOC +MAP =VAL :a YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZCZ6/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022243 xustar0029 mtime=1791882995.08184558 30 atime=1791882995.081746195 29 ctime=1791882995.08184558 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZCZ6/in.yaml0000644000175000017500000000001315263373363021671 0ustar00tinatinaa: b: c: d YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZCZ6/PaxHeaders/error0000644000000000000000000000013215263373363022027 xustar0030 mtime=1791882995.052158958 30 atime=1791882995.052158958 30 ctime=1791882995.052249473 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZCZ6/error0000644000175000017500000000000015263373363021447 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZCZ6/PaxHeaders/===0000644000000000000000000000013215263373363021244 xustar0030 mtime=1791882995.007984799 30 atime=1791882995.007834849 30 ctime=1791882995.007984799 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZCZ6/===0000644000175000017500000000005315263373363020674 0ustar00tinatinaInvalid mapping in plain single line value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/Q4CL0000644000000000000000000000013215263373363020645 xustar0030 mtime=1791882995.160603449 30 atime=1791882995.007684689 30 ctime=1791882995.160603449 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q4CL/0000755000175000017500000000000015263373363020354 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q4CL/PaxHeaders/test.event0000644000000000000000000000013215263373363022744 xustar0030 mtime=1791882995.160704091 30 atime=1791882995.160603449 30 ctime=1791882995.160704091 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q4CL/test.event0000644000175000017500000000010115263373363022366 0ustar00tinatina+STR +DOC +MAP =VAL :key1 =VAL "quoted1 =VAL :key2 =VAL "quoted2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q4CL/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022214 xustar0030 mtime=1791882995.079858933 30 atime=1791882995.079764088 30 ctime=1791882995.079858933 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q4CL/in.yaml0000644000175000017500000000010115263373363021636 0ustar00tinatinakey1: "quoted1" key2: "quoted2" trailing content key3: "quoted3" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q4CL/PaxHeaders/error0000644000000000000000000000013215263373363021776 xustar0030 mtime=1791882995.052064043 30 atime=1791882995.052064043 30 ctime=1791882995.052158958 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q4CL/error0000644000175000017500000000000015263373363021416 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q4CL/PaxHeaders/===0000644000000000000000000000013215263373363021213 xustar0030 mtime=1791882995.007834849 30 atime=1791882995.007684689 30 ctime=1791882995.007834849 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Q4CL/===0000644000175000017500000000004415263373363020643 0ustar00tinatinaTrailing content after quoted value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/S4GJ0000644000000000000000000000013215263373363020651 xustar0030 mtime=1791882995.160509023 30 atime=1791882995.007535507 30 ctime=1791882995.160509023 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4GJ/0000755000175000017500000000000015263373363020360 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4GJ/PaxHeaders/test.event0000644000000000000000000000013215263373363022750 xustar0030 mtime=1791882995.160603449 30 atime=1791882995.160509023 30 ctime=1791882995.160603449 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4GJ/test.event0000644000175000017500000000004015263373363022374 0ustar00tinatina+STR +DOC --- +MAP =VAL :folded YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4GJ/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022220 xustar0030 mtime=1791882995.079764088 30 atime=1791882995.079668964 30 ctime=1791882995.079764088 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4GJ/in.yaml0000644000175000017500000000004715263373363021653 0ustar00tinatina--- folded: > first line second line YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4GJ/PaxHeaders/error0000644000000000000000000000013215263373363022002 xustar0030 mtime=1791882995.051975135 30 atime=1791882995.051975135 30 ctime=1791882995.052064043 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4GJ/error0000644000175000017500000000000015263373363021422 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4GJ/PaxHeaders/===0000644000000000000000000000013215263373363021217 xustar0030 mtime=1791882995.007684689 30 atime=1791882995.007535507 30 ctime=1791882995.007684689 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S4GJ/===0000644000175000017500000000005215263373363020646 0ustar00tinatinaInvalid text after block scalar indicator YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/L9U50000644000000000000000000000013215263373363020640 xustar0030 mtime=1791882995.160414946 30 atime=1791882995.007382484 30 ctime=1791882995.160414946 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L9U5/0000755000175000017500000000000015263373363020347 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L9U5/PaxHeaders/test.event0000644000000000000000000000013215263373363022737 xustar0030 mtime=1791882995.160509023 30 atime=1791882995.160414946 30 ctime=1791882995.160509023 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L9U5/test.event0000644000175000017500000000016515263373363022373 0ustar00tinatina+STR +DOC +MAP =VAL :implicit block key +SEQ [] +MAP {} =VAL :implicit flow key =VAL :value -MAP -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L9U5/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022410 xustar0030 mtime=1791882995.129785043 30 atime=1791882995.129691106 30 ctime=1791882995.129785043 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L9U5/out.yaml0000644000175000017500000000005715263373363022044 0ustar00tinatinaimplicit block key: - implicit flow key: value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L9U5/PaxHeaders/in.json0000644000000000000000000000013115263373363022215 xustar0030 mtime=1791882995.079668964 29 atime=1791882995.07957363 30 ctime=1791882995.079668964 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L9U5/in.json0000644000175000017500000000012115263373363021642 0ustar00tinatina{ "implicit block key": [ { "implicit flow key": "value" } ] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L9U5/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022205 xustar0029 mtime=1791882995.07957363 30 atime=1791882995.079477807 29 ctime=1791882995.07957363 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L9U5/in.yaml0000644000175000017500000000006715263373363021644 0ustar00tinatinaimplicit block key : [ implicit flow key : value, ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L9U5/PaxHeaders/===0000644000000000000000000000013215263373363021206 xustar0030 mtime=1791882995.007535507 30 atime=1791882995.007382484 30 ctime=1791882995.007535507 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L9U5/===0000644000175000017500000000004715263373363020641 0ustar00tinatinaSpec Example 7.11. Plain Implicit Keys YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/6XDY0000644000000000000000000000013215263373363020674 xustar0030 mtime=1791882995.160321498 30 atime=1791882995.007231626 30 ctime=1791882995.160321498 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6XDY/0000755000175000017500000000000015263373363020403 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6XDY/PaxHeaders/test.event0000644000000000000000000000013215263373363022773 xustar0030 mtime=1791882995.160414946 30 atime=1791882995.160321498 30 ctime=1791882995.160414946 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6XDY/test.event0000644000175000017500000000006415263373363022425 0ustar00tinatina+STR +DOC --- =VAL : -DOC +DOC --- =VAL : -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6XDY/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022444 xustar0030 mtime=1791882995.129691106 30 atime=1791882995.129596471 30 ctime=1791882995.129691106 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6XDY/out.yaml0000644000175000017500000000001015263373363022065 0ustar00tinatina--- --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6XDY/PaxHeaders/in.json0000644000000000000000000000013215263373363022252 xustar0030 mtime=1791882995.079477807 30 atime=1791882995.079383032 30 ctime=1791882995.079477807 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6XDY/in.json0000644000175000017500000000001215263373363021675 0ustar00tinatinanull null YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6XDY/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022243 xustar0030 mtime=1791882995.079383032 30 atime=1791882995.079285743 30 ctime=1791882995.079383032 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6XDY/in.yaml0000644000175000017500000000001015263373363021664 0ustar00tinatina--- --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6XDY/PaxHeaders/===0000644000000000000000000000013215263373363021242 xustar0030 mtime=1791882995.007382484 30 atime=1791882995.007231626 30 ctime=1791882995.007382484 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6XDY/===0000644000175000017500000000003315263373363020670 0ustar00tinatinaTwo document start markers YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/9MMA0000644000000000000000000000013115263373363020644 xustar0030 mtime=1791882995.160227352 29 atime=1791882995.00706652 30 ctime=1791882995.160227352 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MMA/0000755000175000017500000000000015263373363020354 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MMA/PaxHeaders/test.event0000644000000000000000000000013215263373363022744 xustar0030 mtime=1791882995.160321498 30 atime=1791882995.160227352 30 ctime=1791882995.160321498 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MMA/test.event0000644000175000017500000000000515263373363022371 0ustar00tinatina+STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MMA/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022214 xustar0030 mtime=1791882995.079285743 30 atime=1791882995.079180561 30 ctime=1791882995.079285743 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MMA/in.yaml0000644000175000017500000000001215263373363021637 0ustar00tinatina%YAML 1.2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MMA/PaxHeaders/error0000644000000000000000000000013015263373363021774 xustar0029 mtime=1791882995.05188874 29 atime=1791882995.05188874 30 ctime=1791882995.051975135 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MMA/error0000644000175000017500000000000015263373363021416 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MMA/PaxHeaders/===0000644000000000000000000000013115263373363021212 xustar0030 mtime=1791882995.007231626 29 atime=1791882995.00706652 30 ctime=1791882995.007231626 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9MMA/===0000644000175000017500000000004515263373363020644 0ustar00tinatinaDirective by itself with no document YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/ZK9H0000644000000000000000000000013215263373363020667 xustar0030 mtime=1791882995.160123497 30 atime=1791882995.006917828 30 ctime=1791882995.160123497 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZK9H/0000755000175000017500000000000015263373363020376 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZK9H/PaxHeaders/test.event0000644000000000000000000000013215263373363022766 xustar0030 mtime=1791882995.160227352 30 atime=1791882995.160123497 30 ctime=1791882995.160227352 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZK9H/test.event0000644000175000017500000000013615263373363022420 0ustar00tinatina+STR +DOC +MAP {} =VAL :key +SEQ [] +SEQ [] +SEQ [] =VAL :value -SEQ -SEQ -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZK9H/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022437 xustar0030 mtime=1791882995.129596471 30 atime=1791882995.129501695 30 ctime=1791882995.129596471 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZK9H/out.yaml0000644000175000017500000000002115263373363022062 0ustar00tinatinakey: - - - value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZK9H/PaxHeaders/in.json0000644000000000000000000000013215263373363022245 xustar0030 mtime=1791882995.079180561 30 atime=1791882995.079054357 30 ctime=1791882995.079180561 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZK9H/in.json0000644000175000017500000000007715263373363021703 0ustar00tinatina{ "key": [ [ [ "value" ] ] ] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZK9H/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022236 xustar0030 mtime=1791882995.079054357 30 atime=1791882995.078959023 30 ctime=1791882995.079054357 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZK9H/in.yaml0000644000175000017500000000003215263373363021663 0ustar00tinatina{ key: [[[ value ]]] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZK9H/PaxHeaders/===0000644000000000000000000000013015263373363021233 xustar0029 mtime=1791882995.00706652 30 atime=1791882995.006917828 29 ctime=1791882995.00706652 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZK9H/===0000644000175000017500000000003615263373363020666 0ustar00tinatinaNested top level flow mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/NJ660000644000000000000000000000013015263373363020623 xustar0029 mtime=1791882995.16002949 30 atime=1791882995.006767877 29 ctime=1791882995.16002949 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NJ66/0000755000175000017500000000000015263373363020334 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NJ66/PaxHeaders/test.event0000644000000000000000000000013115263373363022723 xustar0030 mtime=1791882995.160123497 29 atime=1791882995.16002949 30 ctime=1791882995.160123497 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NJ66/test.event0000644000175000017500000000016715263373363022362 0ustar00tinatina+STR +DOC --- +SEQ +MAP {} =VAL :single line =VAL :value -MAP +MAP {} =VAL :multi line =VAL :value -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NJ66/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022375 xustar0030 mtime=1791882995.129501695 30 atime=1791882995.129407269 30 ctime=1791882995.129501695 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NJ66/out.yaml0000644000175000017500000000005515263373363022027 0ustar00tinatina--- - single line: value - multi line: value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NJ66/PaxHeaders/in.json0000644000000000000000000000013215263373363022203 xustar0030 mtime=1791882995.078959023 30 atime=1791882995.078864388 30 ctime=1791882995.078959023 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NJ66/in.json0000644000175000017500000000011215263373363021627 0ustar00tinatina[ { "single line": "value" }, { "multi line": "value" } ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NJ66/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022174 xustar0030 mtime=1791882995.078864388 30 atime=1791882995.078770521 30 ctime=1791882995.078864388 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NJ66/in.yaml0000644000175000017500000000006515263373363021627 0ustar00tinatina--- - { single line: value} - { multi line: value} YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NJ66/PaxHeaders/===0000644000000000000000000000013215263373363021173 xustar0030 mtime=1791882995.006917828 30 atime=1791882995.006767877 30 ctime=1791882995.006917828 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NJ66/===0000644000175000017500000000004115263373363020620 0ustar00tinatinaMultiline plain flow mapping key YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/2AUY0000644000000000000000000000013215263373363020662 xustar0030 mtime=1791882995.159928779 30 atime=1791882995.006607311 30 ctime=1791882995.159928779 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2AUY/0000755000175000017500000000000015263373363020371 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2AUY/PaxHeaders/test.event0000644000000000000000000000013015263373363022757 xustar0029 mtime=1791882995.16002949 30 atime=1791882995.159928779 29 ctime=1791882995.16002949 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2AUY/test.event0000644000175000017500000000015715263373363022416 0ustar00tinatina+STR +DOC +SEQ =VAL :a =VAL :b =VAL :42 =VAL :d -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2AUY/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022432 xustar0030 mtime=1791882995.129407269 30 atime=1791882995.129312355 30 ctime=1791882995.129407269 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2AUY/out.yaml0000644000175000017500000000003515263373363022062 0ustar00tinatina- !!str a - b - !!int 42 - d YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2AUY/PaxHeaders/in.json0000644000000000000000000000013215263373363022240 xustar0030 mtime=1791882995.078770521 30 atime=1791882995.078676095 30 ctime=1791882995.078770521 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2AUY/in.json0000644000175000017500000000003615263373363021671 0ustar00tinatina[ "a", "b", 42, "d" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2AUY/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022230 xustar0030 mtime=1791882995.078676095 29 atime=1791882995.07858104 30 ctime=1791882995.078676095 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2AUY/in.yaml0000644000175000017500000000004115263373363021656 0ustar00tinatina - !!str a - b - !!int 42 - d YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2AUY/PaxHeaders/===0000644000000000000000000000013215263373363021230 xustar0030 mtime=1791882995.006767877 30 atime=1791882995.006607311 30 ctime=1791882995.006767877 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2AUY/===0000644000175000017500000000002715263373363020661 0ustar00tinatinaTags in Block Sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/4ABK0000644000000000000000000000013115263373363020622 xustar0030 mtime=1791882995.159833445 29 atime=1791882995.00645799 30 ctime=1791882995.159833445 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4ABK/0000755000175000017500000000000015263373363020332 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4ABK/PaxHeaders/test.event0000644000000000000000000000013215263373363022722 xustar0030 mtime=1791882995.159928779 30 atime=1791882995.159833445 30 ctime=1791882995.159928779 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4ABK/test.event0000644000175000017500000000016615263373363022357 0ustar00tinatina+STR +DOC +MAP {} =VAL :unquoted =VAL "separate =VAL :http://foo.com =VAL : =VAL :omitted value =VAL : -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4ABK/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022373 xustar0030 mtime=1791882995.129312355 30 atime=1791882995.129216392 30 ctime=1791882995.129312355 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4ABK/out.yaml0000644000175000017500000000007615263373363022030 0ustar00tinatinaunquoted: "separate" http://foo.com: null omitted value: null YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4ABK/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022170 xustar0029 mtime=1791882995.07858104 30 atime=1791882995.078486125 29 ctime=1791882995.07858104 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4ABK/in.yaml0000644000175000017500000000007315263373363021624 0ustar00tinatina{ unquoted : "separate", http://foo.com, omitted value:, } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4ABK/PaxHeaders/===0000644000000000000000000000013115263373363021170 xustar0030 mtime=1791882995.006607311 29 atime=1791882995.00645799 30 ctime=1791882995.006607311 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4ABK/===0000644000175000017500000000003515263373363020621 0ustar00tinatinaFlow Mapping Separate Values YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/8XDJ0000644000000000000000000000013215263373363020657 xustar0030 mtime=1791882995.159748098 30 atime=1791882995.006319843 30 ctime=1791882995.159748098 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8XDJ/0000755000175000017500000000000015263373363020366 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8XDJ/PaxHeaders/test.event0000644000000000000000000000013215263373363022756 xustar0030 mtime=1791882995.159833445 30 atime=1791882995.159748098 30 ctime=1791882995.159833445 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8XDJ/test.event0000644000175000017500000000004515263373363022407 0ustar00tinatina+STR +DOC +MAP =VAL :key =VAL :word1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8XDJ/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022226 xustar0030 mtime=1791882995.078486125 30 atime=1791882995.078392747 30 ctime=1791882995.078486125 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8XDJ/in.yaml0000644000175000017500000000003215263373363021653 0ustar00tinatinakey: word1 # xxx word2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8XDJ/PaxHeaders/error0000644000000000000000000000013115263373363022007 xustar0030 mtime=1791882995.051802346 30 atime=1791882995.051802346 29 ctime=1791882995.05188874 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8XDJ/error0000644000175000017500000000000015263373363021430 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8XDJ/PaxHeaders/===0000644000000000000000000000013015263373363021223 xustar0029 mtime=1791882995.00645799 30 atime=1791882995.006319843 29 ctime=1791882995.00645799 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/8XDJ/===0000644000175000017500000000004115263373363020652 0ustar00tinatinaComment in plain multiline value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/2SXE0000644000000000000000000000013015263373363020661 xustar0029 mtime=1791882995.15965486 30 atime=1791882995.006170312 29 ctime=1791882995.15965486 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2SXE/0000755000175000017500000000000015263373363020372 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2SXE/PaxHeaders/test.event0000644000000000000000000000013115263373363022761 xustar0030 mtime=1791882995.159748098 29 atime=1791882995.15965486 30 ctime=1791882995.159748098 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2SXE/test.event0000644000175000017500000000011615263373363022412 0ustar00tinatina+STR +DOC +MAP =VAL &a: :key =VAL &a :value =VAL :foo =ALI *a: -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2SXE/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022433 xustar0030 mtime=1791882995.129216392 30 atime=1791882995.129110582 30 ctime=1791882995.129216392 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2SXE/out.yaml0000644000175000017500000000003315263373363022061 0ustar00tinatina&a: key: &a value foo: *a: YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2SXE/PaxHeaders/in.json0000644000000000000000000000013215263373363022241 xustar0030 mtime=1791882995.078392747 30 atime=1791882995.078298391 30 ctime=1791882995.078392747 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2SXE/in.json0000644000175000017500000000004515263373363021672 0ustar00tinatina{ "key": "value", "foo": "key" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2SXE/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022232 xustar0030 mtime=1791882995.078298391 30 atime=1791882995.078194955 30 ctime=1791882995.078298391 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2SXE/in.yaml0000644000175000017500000000003515263373363021662 0ustar00tinatina&a: key: &a value foo: *a: YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2SXE/PaxHeaders/===0000644000000000000000000000013215263373363021231 xustar0030 mtime=1791882995.006319843 30 atime=1791882995.006170312 30 ctime=1791882995.006319843 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/2SXE/===0000644000175000017500000000003315263373363020657 0ustar00tinatinaAnchors With Colon in Name YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/229Q0000644000000000000000000000013015263373363020575 xustar0029 mtime=1791882995.15956183 30 atime=1791882995.006005206 29 ctime=1791882995.15956183 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/229Q/0000755000175000017500000000000015263373363020306 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/229Q/PaxHeaders/test.event0000644000000000000000000000012715263373363022702 xustar0029 mtime=1791882995.15965486 29 atime=1791882995.15956183 29 ctime=1791882995.15965486 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/229Q/test.event0000644000175000017500000000027415263373363022333 0ustar00tinatina+STR +DOC +SEQ +MAP =VAL :name =VAL :Mark McGwire =VAL :hr =VAL :65 =VAL :avg =VAL :0.278 -MAP +MAP =VAL :name =VAL :Sammy Sosa =VAL :hr =VAL :63 =VAL :avg =VAL :0.288 -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/229Q/PaxHeaders/out.yaml0000644000000000000000000000013115263373363022346 xustar0030 mtime=1791882995.129110582 29 atime=1791882995.12901434 30 ctime=1791882995.129110582 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/229Q/out.yaml0000644000175000017500000000012415263373363021776 0ustar00tinatina- name: Mark McGwire hr: 65 avg: 0.278 - name: Sammy Sosa hr: 63 avg: 0.288 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/229Q/PaxHeaders/in.json0000644000000000000000000000013215263373363022155 xustar0030 mtime=1791882995.078194955 30 atime=1791882995.078084745 30 ctime=1791882995.078194955 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/229Q/in.json0000644000175000017500000000021115263373363021601 0ustar00tinatina[ { "name": "Mark McGwire", "hr": 65, "avg": 0.278 }, { "name": "Sammy Sosa", "hr": 63, "avg": 0.288 } ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/229Q/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022146 xustar0030 mtime=1791882995.078084745 30 atime=1791882995.077988923 30 ctime=1791882995.078084745 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/229Q/in.yaml0000644000175000017500000000013615263373363021600 0ustar00tinatina- name: Mark McGwire hr: 65 avg: 0.278 - name: Sammy Sosa hr: 63 avg: 0.288 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/229Q/PaxHeaders/===0000644000000000000000000000013215263373363021145 xustar0030 mtime=1791882995.006170312 30 atime=1791882995.006005206 30 ctime=1791882995.006170312 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/229Q/===0000644000175000017500000000004715263373363020600 0ustar00tinatinaSpec Example 2.4. Sequence of Mappings YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/G9HC0000644000000000000000000000013215263373363020634 xustar0030 mtime=1791882995.159466985 30 atime=1791882995.005856933 30 ctime=1791882995.159466985 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G9HC/0000755000175000017500000000000015263373363020343 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G9HC/PaxHeaders/test.event0000644000000000000000000000013015263373363022731 xustar0029 mtime=1791882995.15956183 30 atime=1791882995.159466985 29 ctime=1791882995.15956183 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G9HC/test.event0000644000175000017500000000003515263373363022363 0ustar00tinatina+STR +DOC --- +MAP =VAL :seq YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G9HC/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022203 xustar0030 mtime=1791882995.077988923 30 atime=1791882995.077893449 30 ctime=1791882995.077988923 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G9HC/in.yaml0000644000175000017500000000003115263373363021627 0ustar00tinatina--- seq: &anchor - a - b YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G9HC/PaxHeaders/error0000644000000000000000000000013215263373363021765 xustar0030 mtime=1791882995.051714416 30 atime=1791882995.051714416 30 ctime=1791882995.051802346 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G9HC/error0000644000175000017500000000000015263373363021405 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G9HC/PaxHeaders/===0000644000000000000000000000013215263373363021202 xustar0030 mtime=1791882995.006005206 30 atime=1791882995.005856933 30 ctime=1791882995.006005206 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/G9HC/===0000644000175000017500000000005115263373363020630 0ustar00tinatinaInvalid anchor in zero indented sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/UV7Q0000644000000000000000000000013215263373363020704 xustar0030 mtime=1791882995.159372839 30 atime=1791882995.005709078 30 ctime=1791882995.159372839 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UV7Q/0000755000175000017500000000000015263373363020413 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UV7Q/PaxHeaders/test.event0000644000000000000000000000013215263373363023003 xustar0030 mtime=1791882995.159466985 30 atime=1791882995.159372839 30 ctime=1791882995.159466985 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UV7Q/test.event0000644000175000017500000000007215263373363022434 0ustar00tinatina+STR +DOC +MAP =VAL :x +SEQ =VAL :x x -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UV7Q/PaxHeaders/out.yaml0000644000000000000000000000012715263373363022460 xustar0029 mtime=1791882995.12901434 29 atime=1791882995.12891754 29 ctime=1791882995.12901434 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UV7Q/out.yaml0000644000175000017500000000001115263373363022076 0ustar00tinatinax: - x x YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UV7Q/PaxHeaders/in.json0000644000000000000000000000013215263373363022262 xustar0030 mtime=1791882995.077893449 30 atime=1791882995.077797556 30 ctime=1791882995.077893449 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UV7Q/in.json0000644000175000017500000000003315263373363021710 0ustar00tinatina{ "x": [ "x x" ] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UV7Q/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022253 xustar0030 mtime=1791882995.077797556 30 atime=1791882995.077701245 30 ctime=1791882995.077797556 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UV7Q/in.yaml0000644000175000017500000000001515263373363021701 0ustar00tinatinax: - x x YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UV7Q/PaxHeaders/===0000644000000000000000000000013215263373363021252 xustar0030 mtime=1791882995.005856933 30 atime=1791882995.005709078 30 ctime=1791882995.005856933 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UV7Q/===0000644000175000017500000000003415263373363020701 0ustar00tinatinaLegal tab after indentation YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/H7TQ0000644000000000000000000000013215263373363020665 xustar0030 mtime=1791882995.158861458 30 atime=1791882995.005555985 30 ctime=1791882995.158861458 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H7TQ/0000755000175000017500000000000015263373363020374 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H7TQ/PaxHeaders/test.event0000644000000000000000000000013215263373363022764 xustar0030 mtime=1791882995.158947852 30 atime=1791882995.158861458 30 ctime=1791882995.158947852 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H7TQ/test.event0000644000175000017500000000000515263373363022411 0ustar00tinatina+STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H7TQ/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022234 xustar0030 mtime=1791882995.077701245 30 atime=1791882995.077605562 30 ctime=1791882995.077701245 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H7TQ/in.yaml0000644000175000017500000000002215263373363021660 0ustar00tinatina%YAML 1.2 foo --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H7TQ/PaxHeaders/error0000644000000000000000000000013215263373363022016 xustar0030 mtime=1791882995.051626415 30 atime=1791882995.051626415 30 ctime=1791882995.051714416 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H7TQ/error0000644000175000017500000000000015263373363021436 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H7TQ/PaxHeaders/===0000644000000000000000000000013215263373363021233 xustar0030 mtime=1791882995.005709078 30 atime=1791882995.005555985 30 ctime=1791882995.005709078 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/H7TQ/===0000644000175000017500000000003715263373363020665 0ustar00tinatinaExtra words on %YAML directive YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/V55R0000644000000000000000000000013215263373363020643 xustar0030 mtime=1791882995.158774575 30 atime=1791882995.005407781 30 ctime=1791882995.158774575 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/V55R/0000755000175000017500000000000015263373363020352 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/V55R/PaxHeaders/test.event0000644000000000000000000000013215263373363022742 xustar0030 mtime=1791882995.158861458 30 atime=1791882995.158774575 30 ctime=1791882995.158861458 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/V55R/test.event0000644000175000017500000000010415263373363022367 0ustar00tinatina+STR +DOC +SEQ =VAL &a :a =VAL &b :b =ALI *a =ALI *b -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/V55R/PaxHeaders/in.json0000644000000000000000000000013215263373363022221 xustar0030 mtime=1791882995.077605562 30 atime=1791882995.077510856 30 ctime=1791882995.077605562 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/V55R/in.json0000644000175000017500000000003715263373363021653 0ustar00tinatina[ "a", "b", "a", "b" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/V55R/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022212 xustar0030 mtime=1791882995.077510856 30 atime=1791882995.077413567 30 ctime=1791882995.077510856 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/V55R/in.yaml0000644000175000017500000000003015263373363021635 0ustar00tinatina- &a a - &b b - *a - *b YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/V55R/PaxHeaders/===0000644000000000000000000000013215263373363021211 xustar0030 mtime=1791882995.005555985 30 atime=1791882995.005407781 30 ctime=1791882995.005555985 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/V55R/===0000644000175000017500000000003215263373363020636 0ustar00tinatinaAliases in Block Sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/6PBE0000644000000000000000000000013215263373363020636 xustar0030 mtime=1791882995.158676378 30 atime=1791882995.005257342 30 ctime=1791882995.158676378 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6PBE/0000755000175000017500000000000015263373363020345 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6PBE/PaxHeaders/test.event0000644000000000000000000000013215263373363022735 xustar0030 mtime=1791882995.158774575 30 atime=1791882995.158676378 30 ctime=1791882995.158774575 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6PBE/test.event0000644000175000017500000000012615263373363022366 0ustar00tinatina+STR +DOC --- +MAP +SEQ =VAL :a =VAL :b -SEQ +SEQ =VAL :c =VAL :d -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6PBE/PaxHeaders/emit.yaml0000644000000000000000000000013115263373363022534 xustar0030 mtime=1791882995.147101238 29 atime=1791882995.14700751 30 ctime=1791882995.147101238 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6PBE/emit.yaml0000644000175000017500000000003415263373363022164 0ustar00tinatina--- ? - a - b : - c - d YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6PBE/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022205 xustar0030 mtime=1791882995.077413567 30 atime=1791882995.077316417 30 ctime=1791882995.077413567 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6PBE/in.yaml0000644000175000017500000000003015263373363021630 0ustar00tinatina--- ? - a - b : - c - d YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6PBE/PaxHeaders/===0000644000000000000000000000013215263373363021204 xustar0030 mtime=1791882995.005407781 30 atime=1791882995.005257342 30 ctime=1791882995.005407781 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6PBE/===0000644000175000017500000000006115263373363020633 0ustar00tinatinaZero-indented sequences in explicit mapping keys YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/T5N40000644000000000000000000000013215263373363020634 xustar0030 mtime=1791882995.158590123 30 atime=1791882995.005087138 30 ctime=1791882995.158590123 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T5N4/0000755000175000017500000000000015263373363020343 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T5N4/PaxHeaders/test.event0000644000000000000000000000013215263373363022733 xustar0030 mtime=1791882995.158676378 30 atime=1791882995.158590123 30 ctime=1791882995.158676378 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T5N4/test.event0000644000175000017500000000006015263373363022361 0ustar00tinatina+STR +DOC --- =VAL |literal\n\ttext\n -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T5N4/PaxHeaders/emit.yaml0000644000000000000000000000013015263373363022531 xustar0029 mtime=1791882995.14700751 30 atime=1791882995.146914062 29 ctime=1791882995.14700751 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T5N4/emit.yaml0000644000175000017500000000003015263373363022156 0ustar00tinatina--- | literal text YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T5N4/PaxHeaders/out.yaml0000644000000000000000000000013015263373363022402 xustar0029 mtime=1791882995.12891754 30 atime=1791882995.128819342 29 ctime=1791882995.12891754 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T5N4/out.yaml0000644000175000017500000000002415263373363022032 0ustar00tinatina"literal\n\ttext\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T5N4/PaxHeaders/in.json0000644000000000000000000000013215263373363022212 xustar0030 mtime=1791882995.077316417 30 atime=1791882995.077221013 30 ctime=1791882995.077316417 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T5N4/in.json0000644000175000017500000000002415263373363021640 0ustar00tinatina"literal\n\ttext\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T5N4/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022203 xustar0030 mtime=1791882995.077221013 30 atime=1791882995.077111222 30 ctime=1791882995.077221013 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T5N4/in.yaml0000644000175000017500000000003015263373363021626 0ustar00tinatina--- | literal text YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T5N4/PaxHeaders/===0000644000000000000000000000013215263373363021202 xustar0030 mtime=1791882995.005257342 30 atime=1791882995.005087138 30 ctime=1791882995.005257342 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/T5N4/===0000644000175000017500000000004715263373363020635 0ustar00tinatinaSpec Example 8.7. Literal Scalar [1.3] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/SKE50000644000000000000000000000013215263373363020651 xustar0030 mtime=1791882995.158506313 30 atime=1791882995.004938375 30 ctime=1791882995.158506313 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SKE5/0000755000175000017500000000000015263373363020360 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SKE5/PaxHeaders/test.event0000644000000000000000000000013215263373363022750 xustar0030 mtime=1791882995.158590123 30 atime=1791882995.158506313 30 ctime=1791882995.158590123 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SKE5/test.event0000644000175000017500000000011615263373363022400 0ustar00tinatina+STR +DOC --- +MAP =VAL :seq +SEQ &anchor =VAL :a =VAL :b -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SKE5/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022421 xustar0030 mtime=1791882995.128819342 30 atime=1791882995.128725266 30 ctime=1791882995.128819342 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SKE5/out.yaml0000644000175000017500000000003115263373363022045 0ustar00tinatina--- seq: &anchor - a - b YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SKE5/PaxHeaders/in.json0000644000000000000000000000013215263373363022227 xustar0030 mtime=1791882995.077111222 30 atime=1791882995.077014352 30 ctime=1791882995.077111222 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SKE5/in.json0000644000175000017500000000004415263373363021657 0ustar00tinatina{ "seq": [ "a", "b" ] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SKE5/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022220 xustar0030 mtime=1791882995.077014352 30 atime=1791882995.076916573 30 ctime=1791882995.077014352 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SKE5/in.yaml0000644000175000017500000000003215263373363021645 0ustar00tinatina--- seq: &anchor - a - b YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SKE5/PaxHeaders/===0000644000000000000000000000013215263373363021217 xustar0030 mtime=1791882995.005087138 30 atime=1791882995.004938375 30 ctime=1791882995.005087138 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SKE5/===0000644000175000017500000000004515263373363020650 0ustar00tinatinaAnchor before zero indented sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/S98Z0000644000000000000000000000013215263373363020657 xustar0030 mtime=1791882995.158407068 30 atime=1791882995.004788076 30 ctime=1791882995.158407068 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S98Z/0000755000175000017500000000000015263373363020366 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S98Z/PaxHeaders/test.event0000644000000000000000000000013215263373363022756 xustar0030 mtime=1791882995.158506313 30 atime=1791882995.158407068 30 ctime=1791882995.158506313 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S98Z/test.event0000644000175000017500000000005015263373363022403 0ustar00tinatina+STR +DOC +MAP =VAL :empty block scalar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S98Z/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022225 xustar0030 mtime=1791882995.076916573 29 atime=1791882995.07682124 30 ctime=1791882995.076916573 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S98Z/in.yaml0000644000175000017500000000005215263373363021655 0ustar00tinatinaempty block scalar: > # comment YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S98Z/PaxHeaders/error0000644000000000000000000000013215263373363022010 xustar0030 mtime=1791882995.051536738 30 atime=1791882995.051536738 30 ctime=1791882995.051626415 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S98Z/error0000644000175000017500000000000015263373363021430 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S98Z/PaxHeaders/===0000644000000000000000000000013215263373363021225 xustar0030 mtime=1791882995.004938375 30 atime=1791882995.004788076 30 ctime=1791882995.004938375 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/S98Z/===0000644000175000017500000000006615263373363020661 0ustar00tinatinaBlock scalar with more spaces than first content line YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/V9D50000644000000000000000000000013015263373363020627 xustar0029 mtime=1791882995.15832249 30 atime=1791882995.004641129 29 ctime=1791882995.15832249 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/V9D5/0000755000175000017500000000000015263373363020340 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/V9D5/PaxHeaders/test.event0000644000000000000000000000013115263373363022727 xustar0030 mtime=1791882995.158407068 29 atime=1791882995.15832249 30 ctime=1791882995.158407068 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/V9D5/test.event0000644000175000017500000000021315263373363022356 0ustar00tinatina+STR +DOC +SEQ +MAP =VAL :sun =VAL :yellow -MAP +MAP +MAP =VAL :earth =VAL :blue -MAP +MAP =VAL :moon =VAL :white -MAP -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/V9D5/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022176 xustar0029 mtime=1791882995.07682124 30 atime=1791882995.076722833 29 ctime=1791882995.07682124 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/V9D5/in.yaml0000644000175000017500000000005615263373363021633 0ustar00tinatina- sun: yellow - ? earth: blue : moon: white YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/V9D5/PaxHeaders/===0000644000000000000000000000013215263373363021177 xustar0030 mtime=1791882995.004788076 30 atime=1791882995.004641129 30 ctime=1791882995.004788076 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/V9D5/===0000644000175000017500000000005215263373363020626 0ustar00tinatinaSpec Example 8.19. Compact Block Mappings YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/9KAX0000644000000000000000000000013215263373363020656 xustar0030 mtime=1791882995.157813833 30 atime=1791882995.004493344 30 ctime=1791882995.157813833 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9KAX/0000755000175000017500000000000015263373363020365 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9KAX/PaxHeaders/test.event0000644000000000000000000000013215263373363022755 xustar0030 mtime=1791882995.157908957 30 atime=1791882995.157813833 30 ctime=1791882995.157908957 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9KAX/test.event0000644000175000017500000000114015263373363022403 0ustar00tinatina+STR +DOC --- =VAL &a1 :scalar1 -DOC +DOC --- =VAL &a2 :scalar2 -DOC +DOC --- =VAL &a3 :scalar3 -DOC +DOC --- +MAP &a4 =VAL &a5 :key5 =VAL :value4 -MAP -DOC +DOC --- +MAP =VAL :a6 =VAL :1 =VAL &anchor6 :b6 =VAL :2 -MAP -DOC +DOC --- +MAP =VAL &a8 :key8 =VAL :value7 -MAP -DOC +DOC --- +MAP =VAL &a10 :key10 =VAL :value9 -MAP -DOC +DOC --- =VAL &a11 :value11 -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9KAX/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022426 xustar0030 mtime=1791882995.128725266 30 atime=1791882995.128629373 30 ctime=1791882995.128725266 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9KAX/out.yaml0000644000175000017500000000033315263373363022057 0ustar00tinatina--- &a1 !!str scalar1 --- &a2 !!str scalar2 --- &a3 !!str scalar3 --- &a4 !!map &a5 !!str key5: value4 --- a6: 1 &anchor6 b6: 2 --- !!map &a8 !!str key8: value7 --- !!map &a10 !!str key10: value9 --- &a11 !!str value11 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9KAX/PaxHeaders/in.json0000644000000000000000000000013215263373363022234 xustar0030 mtime=1791882995.076722833 30 atime=1791882995.076626172 30 ctime=1791882995.076722833 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9KAX/in.json0000644000175000017500000000020715263373363021665 0ustar00tinatina"scalar1" "scalar2" "scalar3" { "key5": "value4" } { "a6": 1, "b6": 2 } { "key8": "value7" } { "key10": "value9" } "value11" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9KAX/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022225 xustar0030 mtime=1791882995.076626172 30 atime=1791882995.076529581 30 ctime=1791882995.076626172 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9KAX/in.yaml0000644000175000017500000000033315263373363021656 0ustar00tinatina--- &a1 !!str scalar1 --- !!str &a2 scalar2 --- &a3 !!str scalar3 --- &a4 !!map &a5 !!str key5: value4 --- a6: 1 &anchor6 b6: 2 --- !!map &a8 !!str key8: value7 --- !!map !!str &a10 key10: value9 --- !!str &a11 value11 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9KAX/PaxHeaders/===0000644000000000000000000000013215263373363021224 xustar0030 mtime=1791882995.004641129 30 atime=1791882995.004493344 30 ctime=1791882995.004641129 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9KAX/===0000644000175000017500000000005115263373363020652 0ustar00tinatinaVarious combinations of tags and anchors YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/WZ620000644000000000000000000000013215263373363020652 xustar0030 mtime=1791882995.157719477 30 atime=1791882995.004345489 30 ctime=1791882995.157719477 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/WZ62/0000755000175000017500000000000015263373363020361 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/WZ62/PaxHeaders/test.event0000644000000000000000000000013215263373363022751 xustar0030 mtime=1791882995.157813833 30 atime=1791882995.157719477 30 ctime=1791882995.157813833 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/WZ62/test.event0000644000175000017500000000016315263373363022403 0ustar00tinatina+STR +DOC +MAP {} =VAL :foo =VAL : =VAL : =VAL :bar -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/WZ62/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022422 xustar0030 mtime=1791882995.128629373 30 atime=1791882995.128533829 30 ctime=1791882995.128629373 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/WZ62/out.yaml0000644000175000017500000000002715263373363022053 0ustar00tinatinafoo: !!str !!str : bar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/WZ62/PaxHeaders/in.json0000644000000000000000000000013115263373363022227 xustar0030 mtime=1791882995.076529581 29 atime=1791882995.07643278 30 ctime=1791882995.076529581 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/WZ62/in.json0000644000175000017500000000003515263373363021660 0ustar00tinatina{ "foo": "", "": "bar" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/WZ62/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022217 xustar0029 mtime=1791882995.07643278 30 atime=1791882995.076335072 29 ctime=1791882995.07643278 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/WZ62/in.yaml0000644000175000017500000000004215263373363021647 0ustar00tinatina{ foo : !!str, !!str : bar, } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/WZ62/PaxHeaders/===0000644000000000000000000000013215263373363021220 xustar0030 mtime=1791882995.004493344 30 atime=1791882995.004345489 30 ctime=1791882995.004493344 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/WZ62/===0000644000175000017500000000004015263373363020644 0ustar00tinatinaSpec Example 7.2. Empty Content YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/YJV20000644000000000000000000000013115263373363020673 xustar0030 mtime=1791882995.157625121 29 atime=1791882995.00419512 30 ctime=1791882995.157625121 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/YJV2/0000755000175000017500000000000015263373363020403 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/YJV2/PaxHeaders/test.event0000644000000000000000000000013215263373363022773 xustar0030 mtime=1791882995.157719477 30 atime=1791882995.157625121 30 ctime=1791882995.157719477 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/YJV2/test.event0000644000175000017500000000002215263373363022417 0ustar00tinatina+STR +DOC +SEQ [] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/YJV2/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022243 xustar0030 mtime=1791882995.076335072 30 atime=1791882995.076237922 30 ctime=1791882995.076335072 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/YJV2/in.yaml0000644000175000017500000000000415263373363021667 0ustar00tinatina[-] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/YJV2/PaxHeaders/error0000644000000000000000000000013015263373363022023 xustar0029 mtime=1791882995.05144776 29 atime=1791882995.05144776 30 ctime=1791882995.051536738 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/YJV2/error0000644000175000017500000000000015263373363021445 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/YJV2/PaxHeaders/===0000644000000000000000000000013115263373363021241 xustar0030 mtime=1791882995.004345489 29 atime=1791882995.00419512 30 ctime=1791882995.004345489 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/YJV2/===0000644000175000017500000000002615263373363020672 0ustar00tinatinaDash in flow sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/LP6E0000644000000000000000000000013215263373363020650 xustar0030 mtime=1791882995.157531743 30 atime=1791882995.004031132 30 ctime=1791882995.157531743 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LP6E/0000755000175000017500000000000015263373363020357 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LP6E/PaxHeaders/test.event0000644000000000000000000000013215263373363022747 xustar0030 mtime=1791882995.157625121 30 atime=1791882995.157531743 30 ctime=1791882995.157625121 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LP6E/test.event0000644000175000017500000000021515263373363022377 0ustar00tinatina+STR +DOC +SEQ +SEQ [] =VAL :a =VAL :b =VAL :c -SEQ +MAP {} =VAL "a =VAL :b =VAL :c =VAL 'd =VAL :e =VAL "f -MAP +SEQ [] -SEQ -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LP6E/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022420 xustar0030 mtime=1791882995.128533829 30 atime=1791882995.128438077 30 ctime=1791882995.128533829 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LP6E/out.yaml0000644000175000017500000000006215263373363022050 0ustar00tinatina- - a - b - c - "a": b c: 'd' e: "f" - [] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LP6E/PaxHeaders/in.json0000644000000000000000000000013215263373363022226 xustar0030 mtime=1791882995.076237922 30 atime=1791882995.076138328 30 ctime=1791882995.076237922 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LP6E/in.json0000644000175000017500000000013615263373363021660 0ustar00tinatina[ [ "a", "b", "c" ], { "a": "b", "c": "d", "e": "f" }, [] ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LP6E/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022215 xustar0030 mtime=1791882995.076138328 28 atime=1791882995.0760314 30 ctime=1791882995.076138328 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LP6E/in.yaml0000644000175000017500000000010615263373363021646 0ustar00tinatina- [a, b , c ] - { "a" : b , c : 'd' , e : "f" } - [ ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LP6E/PaxHeaders/===0000644000000000000000000000013015263373363021214 xustar0029 mtime=1791882995.00419512 30 atime=1791882995.004031132 29 ctime=1791882995.00419512 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/LP6E/===0000644000175000017500000000004115263373363020643 0ustar00tinatinaWhitespace After Scalars in Flow YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/7W2P0000644000000000000000000000013215263373363020641 xustar0030 mtime=1791882995.157045016 30 atime=1791882995.003880972 30 ctime=1791882995.157045016 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7W2P/0000755000175000017500000000000015263373363020350 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7W2P/PaxHeaders/test.event0000644000000000000000000000013215263373363022740 xustar0030 mtime=1791882995.157149639 30 atime=1791882995.157045016 30 ctime=1791882995.157149639 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7W2P/test.event0000644000175000017500000000011315263373363022365 0ustar00tinatina+STR +DOC +MAP =VAL :a =VAL : =VAL :b =VAL : =VAL :c =VAL : -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7W2P/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022411 xustar0030 mtime=1791882995.128438077 30 atime=1791882995.128333663 30 ctime=1791882995.128438077 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7W2P/out.yaml0000644000175000017500000000001115263373363022033 0ustar00tinatinaa: b: c: YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7W2P/PaxHeaders/in.json0000644000000000000000000000012615263373363022222 xustar0028 mtime=1791882995.0760314 30 atime=1791882995.075933552 28 ctime=1791882995.0760314 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7W2P/in.json0000644000175000017500000000005215263373363021646 0ustar00tinatina{ "a": null, "b": null, "c": null } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7W2P/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022207 xustar0030 mtime=1791882995.075933552 29 atime=1791882995.07582865 30 ctime=1791882995.075933552 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7W2P/in.yaml0000644000175000017500000000001315263373363021634 0ustar00tinatina? a ? b c: YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7W2P/PaxHeaders/===0000644000000000000000000000013215263373363021207 xustar0030 mtime=1791882995.004031132 30 atime=1791882995.003880972 30 ctime=1791882995.004031132 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/7W2P/===0000644000175000017500000000004215263373363020635 0ustar00tinatinaBlock Mapping with Missing Values YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/U44R0000644000000000000000000000013215263373363020640 xustar0030 mtime=1791882995.156948844 30 atime=1791882995.003728857 30 ctime=1791882995.156948844 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U44R/0000755000175000017500000000000015263373363020347 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U44R/PaxHeaders/test.event0000644000000000000000000000013215263373363022737 xustar0030 mtime=1791882995.157045016 30 atime=1791882995.156948844 30 ctime=1791882995.157045016 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U44R/test.event0000644000175000017500000000006715263373363022374 0ustar00tinatina+STR +DOC +MAP =VAL :map +MAP =VAL :key1 =VAL "quoted1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U44R/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022205 xustar0029 mtime=1791882995.07582865 30 atime=1791882995.075732548 29 ctime=1791882995.07582865 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U44R/in.yaml0000644000175000017500000000006215263373363021637 0ustar00tinatinamap: key1: "quoted1" key2: "bad indentation" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U44R/PaxHeaders/error0000644000000000000000000000013115263373363021770 xustar0030 mtime=1791882995.051360109 30 atime=1791882995.051360109 29 ctime=1791882995.05144776 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U44R/error0000644000175000017500000000000015263373363021411 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U44R/PaxHeaders/===0000644000000000000000000000013215263373363021206 xustar0030 mtime=1791882995.003880972 30 atime=1791882995.003728857 30 ctime=1791882995.003880972 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/U44R/===0000644000175000017500000000003715263373363020640 0ustar00tinatinaBad indentation in mapping (2) YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/SSW60000644000000000000000000000013215263373363020704 xustar0030 mtime=1791882995.156853929 30 atime=1791882995.003579815 30 ctime=1791882995.156853929 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SSW6/0000755000175000017500000000000015263373363020413 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SSW6/PaxHeaders/test.event0000644000000000000000000000013215263373363023003 xustar0030 mtime=1791882995.156948844 30 atime=1791882995.156853929 30 ctime=1791882995.156948844 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SSW6/test.event0000644000175000017500000000006115263373363022432 0ustar00tinatina+STR +DOC --- =VAL 'here's to "quotes" -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SSW6/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022454 xustar0030 mtime=1791882995.128333663 30 atime=1791882995.128229669 30 ctime=1791882995.128333663 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SSW6/out.yaml0000644000175000017500000000003215263373363022101 0ustar00tinatina--- 'here''s to "quotes"' YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SSW6/PaxHeaders/in.json0000644000000000000000000000013215263373363022262 xustar0030 mtime=1791882995.075732548 30 atime=1791882995.075635887 30 ctime=1791882995.075732548 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SSW6/in.json0000644000175000017500000000002715263373363021713 0ustar00tinatina"here's to \"quotes\"" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SSW6/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022253 xustar0030 mtime=1791882995.075635887 30 atime=1791882995.075538178 30 ctime=1791882995.075635887 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SSW6/in.yaml0000644000175000017500000000003215263373363021700 0ustar00tinatina--- 'here''s to "quotes"' YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SSW6/PaxHeaders/===0000644000000000000000000000013215263373363021252 xustar0030 mtime=1791882995.003728857 30 atime=1791882995.003579815 30 ctime=1791882995.003728857 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SSW6/===0000644000175000017500000000006115263373363020701 0ustar00tinatinaSpec Example 7.7. Single Quoted Characters [1.3] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/74H70000644000000000000000000000013215263373363020573 xustar0030 mtime=1791882995.156759783 30 atime=1791882995.003418131 30 ctime=1791882995.156759783 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/74H7/0000755000175000017500000000000015263373363020302 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/74H7/PaxHeaders/test.event0000644000000000000000000000013215263373363022672 xustar0030 mtime=1791882995.156853929 30 atime=1791882995.156759783 30 ctime=1791882995.156853929 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/74H7/test.event0000644000175000017500000000035515263373363022327 0ustar00tinatina+STR +DOC +MAP =VAL :a =VAL :b =VAL :c =VAL :42 =VAL :e =VAL :f =VAL :g =VAL :h =VAL :23 =VAL :false -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/74H7/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022343 xustar0030 mtime=1791882995.128229669 30 atime=1791882995.128141878 30 ctime=1791882995.128229669 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/74H7/out.yaml0000644000175000017500000000007615263373363022000 0ustar00tinatina!!str a: b c: !!int 42 e: !!str f g: h !!str 23: !!bool false YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/74H7/PaxHeaders/in.json0000644000000000000000000000013115263373363022150 xustar0030 mtime=1791882995.075538178 29 atime=1791882995.07544019 30 ctime=1791882995.075538178 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/74H7/in.json0000644000175000017500000000010115263373363021573 0ustar00tinatina{ "a": "b", "c": 42, "e": "f", "g": "h", "23": false } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/74H7/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022140 xustar0029 mtime=1791882995.07544019 30 atime=1791882995.075328653 29 ctime=1791882995.07544019 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/74H7/in.yaml0000644000175000017500000000007615263373363021577 0ustar00tinatina!!str a: b c: !!int 42 e: !!str f g: h !!str 23: !!bool false YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/74H7/PaxHeaders/===0000644000000000000000000000013215263373363021141 xustar0030 mtime=1791882995.003579815 30 atime=1791882995.003418131 30 ctime=1791882995.003579815 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/74H7/===0000644000175000017500000000003115263373363020565 0ustar00tinatinaTags in Implicit Mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/4JVG0000644000000000000000000000013115263373363020653 xustar0030 mtime=1791882995.156654042 29 atime=1791882995.00327761 30 ctime=1791882995.156654042 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4JVG/0000755000175000017500000000000015263373363020363 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4JVG/PaxHeaders/test.event0000644000000000000000000000013215263373363022753 xustar0030 mtime=1791882995.156759783 30 atime=1791882995.156654042 30 ctime=1791882995.156759783 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4JVG/test.event0000644000175000017500000000012015263373363022376 0ustar00tinatina+STR +DOC +MAP =VAL :top1 +MAP &node1 =VAL &k1 :key1 =VAL :val1 -MAP =VAL :top2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4JVG/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022223 xustar0030 mtime=1791882995.075328653 30 atime=1791882995.075239535 30 ctime=1791882995.075328653 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4JVG/in.yaml0000644000175000017500000000006615263373363021657 0ustar00tinatinatop1: &node1 &k1 key1: val1 top2: &node2 &v2 val2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4JVG/PaxHeaders/error0000644000000000000000000000013215263373363022005 xustar0030 mtime=1791882995.051270083 30 atime=1791882995.051270083 30 ctime=1791882995.051360109 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4JVG/error0000644000175000017500000000000015263373363021425 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4JVG/PaxHeaders/===0000644000000000000000000000013115263373363021221 xustar0030 mtime=1791882995.003418131 29 atime=1791882995.00327761 30 ctime=1791882995.003418131 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4JVG/===0000644000175000017500000000003615263373363020653 0ustar00tinatinaScalar value with two anchors YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/JR7V0000644000000000000000000000013215263373363020672 xustar0030 mtime=1791882995.156559197 30 atime=1791882995.003118231 30 ctime=1791882995.156559197 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JR7V/0000755000175000017500000000000015263373363020401 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JR7V/PaxHeaders/test.event0000644000000000000000000000013215263373363022771 xustar0030 mtime=1791882995.156654042 30 atime=1791882995.156559197 30 ctime=1791882995.156654042 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JR7V/test.event0000644000175000017500000000042115263373363022420 0ustar00tinatina+STR +DOC +SEQ =VAL :a?string =VAL :another ? string +MAP =VAL :key =VAL :value? -MAP +SEQ [] =VAL :a?string -SEQ +SEQ [] =VAL :another ? string -SEQ +MAP {} =VAL :key =VAL :value? -MAP +MAP {} =VAL :key =VAL :value? -MAP +MAP {} =VAL :key? =VAL :value -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JR7V/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022442 xustar0030 mtime=1791882995.128141878 30 atime=1791882995.128034531 30 ctime=1791882995.128141878 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JR7V/out.yaml0000644000175000017500000000017015263373363022072 0ustar00tinatina- a?string - another ? string - key: value? - - a?string - - another ? string - key: value? - key: value? - key?: value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JR7V/PaxHeaders/in.json0000644000000000000000000000013215263373363022250 xustar0030 mtime=1791882995.075239535 30 atime=1791882995.075106627 30 ctime=1791882995.075239535 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JR7V/in.json0000644000175000017500000000032315263373363021700 0ustar00tinatina[ "a?string", "another ? string", { "key": "value?" }, [ "a?string" ], [ "another ? string" ], { "key": "value?" }, { "key": "value?" }, { "key?": "value" } ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JR7V/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022241 xustar0030 mtime=1791882995.075106627 30 atime=1791882995.074992645 30 ctime=1791882995.075106627 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JR7V/in.yaml0000644000175000017500000000020015263373363021663 0ustar00tinatina- a?string - another ? string - key: value? - [a?string] - [another ? string] - {key: value? } - {key: value?} - {key?: value } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JR7V/PaxHeaders/===0000644000000000000000000000013015263373363021236 xustar0029 mtime=1791882995.00327761 30 atime=1791882995.003118231 29 ctime=1791882995.00327761 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/JR7V/===0000644000175000017500000000003215263373363020665 0ustar00tinatinaQuestion marks in scalars YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/CML90000644000000000000000000000012715263373363020652 xustar0029 mtime=1791882995.15646526 29 atime=1791882995.00296849 29 ctime=1791882995.15646526 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CML9/0000755000175000017500000000000015263373363020355 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CML9/PaxHeaders/test.event0000644000000000000000000000013115263373363022744 xustar0030 mtime=1791882995.156559197 29 atime=1791882995.15646526 30 ctime=1791882995.156559197 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CML9/test.event0000644000175000017500000000005515263373363022377 0ustar00tinatina+STR +DOC +MAP =VAL :key +SEQ [] =VAL :word1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CML9/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022215 xustar0030 mtime=1791882995.074992645 30 atime=1791882995.074905622 30 ctime=1791882995.074992645 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CML9/in.yaml0000644000175000017500000000003615263373363021646 0ustar00tinatinakey: [ word1 # xxx word2 ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CML9/PaxHeaders/error0000644000000000000000000000013215263373363021777 xustar0030 mtime=1791882995.051180336 30 atime=1791882995.051180336 30 ctime=1791882995.051270083 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CML9/error0000644000175000017500000000000015263373363021417 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CML9/PaxHeaders/===0000644000000000000000000000013115263373363021213 xustar0030 mtime=1791882995.003118231 29 atime=1791882995.00296849 30 ctime=1791882995.003118231 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CML9/===0000644000175000017500000000002615263373363020644 0ustar00tinatinaMissing comma in flow YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/Z67P0000644000000000000000000000013215263373363020650 xustar0030 mtime=1791882995.156371393 30 atime=1791882995.002819239 30 ctime=1791882995.156371393 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Z67P/0000755000175000017500000000000015263373363020357 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Z67P/PaxHeaders/test.event0000644000000000000000000000013015263373363022745 xustar0029 mtime=1791882995.15646526 30 atime=1791882995.156371393 29 ctime=1791882995.15646526 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Z67P/test.event0000644000175000017500000000013415263373363022377 0ustar00tinatina+STR +DOC +MAP =VAL :literal =VAL |value\n =VAL :folded =VAL >value\n -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Z67P/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022420 xustar0030 mtime=1791882995.128034531 30 atime=1791882995.127947509 30 ctime=1791882995.128034531 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Z67P/out.yaml0000644000175000017500000000005215263373363022047 0ustar00tinatinaliteral: | value folded: !foo > value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Z67P/PaxHeaders/in.json0000644000000000000000000000013215263373363022226 xustar0030 mtime=1791882995.074905622 30 atime=1791882995.074816015 30 ctime=1791882995.074905622 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Z67P/in.json0000644000175000017500000000006215263373363021656 0ustar00tinatina{ "literal": "value\n", "folded": "value\n" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Z67P/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022217 xustar0030 mtime=1791882995.074816015 30 atime=1791882995.074715862 30 ctime=1791882995.074816015 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Z67P/in.yaml0000644000175000017500000000005315263373363021647 0ustar00tinatinaliteral: |2 value folded: !foo >1 value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Z67P/PaxHeaders/===0000644000000000000000000000013015263373363021214 xustar0029 mtime=1791882995.00296849 30 atime=1791882995.002819239 29 ctime=1791882995.00296849 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/Z67P/===0000644000175000017500000000005415263373363020647 0ustar00tinatinaSpec Example 8.21. Block Scalar Nodes [1.3] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/5GBF0000644000000000000000000000013215263373363020625 xustar0030 mtime=1791882995.156276478 30 atime=1791882995.002671873 30 ctime=1791882995.156276478 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5GBF/0000755000175000017500000000000015263373363020334 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5GBF/PaxHeaders/test.event0000644000000000000000000000013215263373363022724 xustar0030 mtime=1791882995.156371393 30 atime=1791882995.156276478 30 ctime=1791882995.156371393 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5GBF/test.event0000644000175000017500000000017015263373363022354 0ustar00tinatina+STR +DOC +MAP =VAL :Folding =VAL "Empty line\nas a line feed =VAL :Chomping =VAL |Clipped empty lines\n -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5GBF/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022375 xustar0030 mtime=1791882995.127947509 30 atime=1791882995.127852035 30 ctime=1791882995.127947509 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5GBF/out.yaml0000644000175000017500000000011015263373363022017 0ustar00tinatinaFolding: "Empty line\nas a line feed" Chomping: | Clipped empty lines YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5GBF/PaxHeaders/in.json0000644000000000000000000000013215263373363022203 xustar0030 mtime=1791882995.074715862 30 atime=1791882995.074626675 30 ctime=1791882995.074715862 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5GBF/in.json0000644000175000017500000000012515263373363021633 0ustar00tinatina{ "Folding": "Empty line\nas a line feed", "Chomping": "Clipped empty lines\n" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5GBF/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022174 xustar0030 mtime=1791882995.074626675 30 atime=1791882995.074515976 30 ctime=1791882995.074626675 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5GBF/in.yaml0000644000175000017500000000012315263373363021622 0ustar00tinatinaFolding: "Empty line as a line feed" Chomping: | Clipped empty lines YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5GBF/PaxHeaders/===0000644000000000000000000000013215263373363021173 xustar0030 mtime=1791882995.002819239 30 atime=1791882995.002671873 30 ctime=1791882995.002819239 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5GBF/===0000644000175000017500000000003615263373363020624 0ustar00tinatinaSpec Example 6.5. Empty Lines YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/M6YH0000644000000000000000000000013215263373363020665 xustar0030 mtime=1791882995.156180446 30 atime=1791882995.002507675 30 ctime=1791882995.156180446 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M6YH/0000755000175000017500000000000015263373363020374 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M6YH/PaxHeaders/test.event0000644000000000000000000000013215263373363022764 xustar0030 mtime=1791882995.156276478 30 atime=1791882995.156180446 30 ctime=1791882995.156276478 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M6YH/test.event0000644000175000017500000000013115263373363022411 0ustar00tinatina+STR +DOC +SEQ =VAL |x\n +MAP =VAL :foo =VAL :bar -MAP +SEQ =VAL :42 -SEQ -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M6YH/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022435 xustar0030 mtime=1791882995.127852035 30 atime=1791882995.127756841 30 ctime=1791882995.127852035 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M6YH/out.yaml0000644000175000017500000000003215263373363022062 0ustar00tinatina- | x - foo: bar - - 42 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M6YH/PaxHeaders/in.json0000644000000000000000000000013215263373363022243 xustar0030 mtime=1791882995.074515976 30 atime=1791882995.074429861 30 ctime=1791882995.074515976 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M6YH/in.json0000644000175000017500000000006715263373363021700 0ustar00tinatina[ "x\n", { "foo" : "bar" }, [ 42 ] ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M6YH/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022234 xustar0030 mtime=1791882995.074429861 30 atime=1791882995.074323213 30 ctime=1791882995.074429861 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M6YH/in.yaml0000644000175000017500000000003315263373363021662 0ustar00tinatina- | x - foo: bar - - 42 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M6YH/PaxHeaders/===0000644000000000000000000000013215263373363021233 xustar0030 mtime=1791882995.002671873 30 atime=1791882995.002507675 30 ctime=1791882995.002671873 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/M6YH/===0000644000175000017500000000003315263373363020661 0ustar00tinatinaBlock sequence indentation YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/4QFQ0000644000000000000000000000013215263373363020655 xustar0030 mtime=1791882995.156073239 30 atime=1791882995.002356468 30 ctime=1791882995.156073239 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4QFQ/0000755000175000017500000000000015263373363020364 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4QFQ/PaxHeaders/test.event0000644000000000000000000000013215263373363022754 xustar0030 mtime=1791882995.156180446 30 atime=1791882995.156073239 30 ctime=1791882995.156180446 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4QFQ/test.event0000644000175000017500000000015115263373363022403 0ustar00tinatina+STR +DOC +SEQ =VAL |detected\n =VAL >\n\n# detected\n =VAL | explicit\n =VAL >detected\n -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4QFQ/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022554 xustar0030 mtime=1791882995.146914062 30 atime=1791882995.146818659 30 ctime=1791882995.146914062 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4QFQ/emit.yaml0000644000175000017500000000010315263373363022200 0ustar00tinatina- | detected - >2 # detected - |2 explicit - > detected YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4QFQ/PaxHeaders/in.json0000644000000000000000000000013215263373363022233 xustar0030 mtime=1791882995.074323213 30 atime=1791882995.074234444 30 ctime=1791882995.074323213 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4QFQ/in.json0000644000175000017500000000011215263373363021657 0ustar00tinatina[ "detected\n", "\n\n# detected\n", " explicit\n", "detected\n" ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4QFQ/PaxHeaders/in.yaml0000644000000000000000000000013115263373363022223 xustar0030 mtime=1791882995.074234444 29 atime=1791882995.07412591 30 ctime=1791882995.074234444 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4QFQ/in.yaml0000644000175000017500000000010215263373363021647 0ustar00tinatina- | detected - > # detected - |1 explicit - > detected YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4QFQ/PaxHeaders/===0000644000000000000000000000013215263373363021223 xustar0030 mtime=1791882995.002507675 30 atime=1791882995.002356468 30 ctime=1791882995.002507675 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4QFQ/===0000644000175000017500000000006415263373363020655 0ustar00tinatinaSpec Example 8.2. Block Indentation Indicator [1.3] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/L94M0000644000000000000000000000013215263373363020627 xustar0030 mtime=1791882995.155978743 30 atime=1791882995.002200162 30 ctime=1791882995.155978743 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L94M/0000755000175000017500000000000015263373363020336 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L94M/PaxHeaders/test.event0000644000000000000000000000013215263373363022726 xustar0030 mtime=1791882995.156073239 30 atime=1791882995.155978743 30 ctime=1791882995.156073239 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L94M/test.event0000644000175000017500000000020715263373363022357 0ustar00tinatina+STR +DOC +MAP =VAL :a =VAL :47 =VAL :c =VAL :d -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L94M/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022377 xustar0030 mtime=1791882995.127756841 30 atime=1791882995.127662555 30 ctime=1791882995.127756841 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L94M/out.yaml0000644000175000017500000000003515263373363022027 0ustar00tinatina!!str a: !!int 47 c: !!str d YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L94M/PaxHeaders/in.json0000644000000000000000000000013015263373363022203 xustar0029 mtime=1791882995.07412591 30 atime=1791882995.074030506 29 ctime=1791882995.07412591 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L94M/in.json0000644000175000017500000000003215263373363021632 0ustar00tinatina{ "a": 47, "c": "d" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L94M/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022176 xustar0030 mtime=1791882995.074030506 30 atime=1791882995.073933286 30 ctime=1791882995.074030506 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L94M/in.yaml0000644000175000017500000000004315263373363021625 0ustar00tinatina? !!str a : !!int 47 ? c : !!str d YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L94M/PaxHeaders/===0000644000000000000000000000013215263373363021175 xustar0030 mtime=1791882995.002356468 30 atime=1791882995.002200162 30 ctime=1791882995.002356468 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/L94M/===0000644000175000017500000000003115263373363020621 0ustar00tinatinaTags in Explicit Mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/SU740000644000000000000000000000013215263373363020644 xustar0030 mtime=1791882995.155883339 30 atime=1791882995.002013615 30 ctime=1791882995.155883339 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SU74/0000755000175000017500000000000015263373363020353 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SU74/PaxHeaders/test.event0000644000000000000000000000013215263373363022743 xustar0030 mtime=1791882995.155978743 30 atime=1791882995.155883339 30 ctime=1791882995.155978743 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SU74/test.event0000644000175000017500000000005615263373363022376 0ustar00tinatina+STR +DOC +MAP =VAL :key1 =VAL &alias :value1 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SU74/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022213 xustar0030 mtime=1791882995.073933286 30 atime=1791882995.073837324 30 ctime=1791882995.073933286 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SU74/in.yaml0000644000175000017500000000004715263373363021646 0ustar00tinatinakey1: &alias value1 &b *alias : value2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SU74/PaxHeaders/error0000644000000000000000000000013215263373363021775 xustar0030 mtime=1791882995.051076831 30 atime=1791882995.051076831 30 ctime=1791882995.051180336 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SU74/error0000644000175000017500000000000015263373363021415 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SU74/PaxHeaders/===0000644000000000000000000000013215263373363021212 xustar0030 mtime=1791882995.002200162 30 atime=1791882995.002013615 30 ctime=1791882995.002200162 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SU74/===0000644000175000017500000000004015263373363020636 0ustar00tinatinaAnchor and alias as mapping key YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/6KGN0000644000000000000000000000013215263373363020647 xustar0030 mtime=1791882995.155785142 30 atime=1791882995.001864922 30 ctime=1791882995.155785142 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6KGN/0000755000175000017500000000000015263373363020356 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6KGN/PaxHeaders/test.event0000644000000000000000000000013215263373363022746 xustar0030 mtime=1791882995.155883339 30 atime=1791882995.155785142 30 ctime=1791882995.155883339 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6KGN/test.event0000644000175000017500000000011615263373363022376 0ustar00tinatina+STR +DOC --- +MAP =VAL :a =VAL &anchor : =VAL :b =ALI *anchor -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6KGN/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022417 xustar0030 mtime=1791882995.127662555 30 atime=1791882995.127568687 30 ctime=1791882995.127662555 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6KGN/out.yaml0000644000175000017500000000003215263373363022044 0ustar00tinatina--- a: &anchor b: *anchor YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6KGN/PaxHeaders/in.json0000644000000000000000000000013215263373363022225 xustar0030 mtime=1791882995.073837324 30 atime=1791882995.073741012 30 ctime=1791882995.073837324 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6KGN/in.json0000644000175000017500000000003515263373363021655 0ustar00tinatina{ "a": null, "b": null } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6KGN/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022216 xustar0030 mtime=1791882995.073741012 30 atime=1791882995.073644351 30 ctime=1791882995.073741012 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6KGN/in.yaml0000644000175000017500000000003215263373363021643 0ustar00tinatina--- a: &anchor b: *anchor YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6KGN/PaxHeaders/===0000644000000000000000000000013215263373363021215 xustar0030 mtime=1791882995.002013615 30 atime=1791882995.001864922 30 ctime=1791882995.002013615 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6KGN/===0000644000175000017500000000002615263373363020645 0ustar00tinatinaAnchor for empty node YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/ZL4Z0000644000000000000000000000013215263373363020705 xustar0030 mtime=1791882995.155690087 30 atime=1791882995.001713017 30 ctime=1791882995.155690087 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZL4Z/0000755000175000017500000000000015263373363020414 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZL4Z/PaxHeaders/test.event0000644000000000000000000000013215263373363023004 xustar0030 mtime=1791882995.155785142 30 atime=1791882995.155690087 30 ctime=1791882995.155785142 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZL4Z/test.event0000644000175000017500000000004315263373363022433 0ustar00tinatina+STR +DOC --- +MAP =VAL :a =VAL 'b YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZL4Z/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022254 xustar0030 mtime=1791882995.073644351 30 atime=1791882995.073549646 30 ctime=1791882995.073644351 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZL4Z/in.yaml0000644000175000017500000000001615263373363021703 0ustar00tinatina--- a: 'b': c YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZL4Z/PaxHeaders/error0000644000000000000000000000013215263373363022036 xustar0030 mtime=1791882995.050988551 30 atime=1791882995.050988551 30 ctime=1791882995.051076831 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZL4Z/error0000644000175000017500000000000015263373363021456 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZL4Z/PaxHeaders/===0000644000000000000000000000013215263373363021253 xustar0030 mtime=1791882995.001864922 30 atime=1791882995.001713017 30 ctime=1791882995.001864922 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/ZL4Z/===0000644000175000017500000000002715263373363020704 0ustar00tinatinaInvalid nested mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/GH630000644000000000000000000000013215263373363020611 xustar0030 mtime=1791882995.155606068 30 atime=1791882995.001565441 30 ctime=1791882995.155606068 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GH63/0000755000175000017500000000000015263373363020320 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GH63/PaxHeaders/test.event0000644000000000000000000000013215263373363022710 xustar0030 mtime=1791882995.155690087 30 atime=1791882995.155606068 30 ctime=1791882995.155690087 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GH63/test.event0000644000175000017500000000010615263373363022337 0ustar00tinatina+STR +DOC +MAP =VAL :a =VAL :1.3 =VAL :fifteen =VAL :d -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GH63/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022361 xustar0030 mtime=1791882995.127568687 30 atime=1791882995.127475938 30 ctime=1791882995.127568687 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GH63/out.yaml0000644000175000017500000000002215263373363022005 0ustar00tinatinaa: 1.3 fifteen: d YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GH63/PaxHeaders/in.json0000644000000000000000000000013215263373363022167 xustar0030 mtime=1791882995.073549646 30 atime=1791882995.073453335 30 ctime=1791882995.073549646 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GH63/in.json0000644000175000017500000000004115263373363021614 0ustar00tinatina{ "a": 1.3, "fifteen": "d" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GH63/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022160 xustar0030 mtime=1791882995.073453335 30 atime=1791882995.073355975 30 ctime=1791882995.073453335 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GH63/in.yaml0000644000175000017500000000002515263373363021607 0ustar00tinatina? a : 1.3 fifteen: d YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GH63/PaxHeaders/===0000644000000000000000000000013215263373363021157 xustar0030 mtime=1791882995.001713017 30 atime=1791882995.001565441 30 ctime=1791882995.001713017 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/GH63/===0000644000175000017500000000005315263373363020607 0ustar00tinatinaMixed Block Mapping (explicit to implicit) YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/CPZ30000644000000000000000000000012715263373363020665 xustar0029 mtime=1791882995.15551262 29 atime=1791882995.00141165 29 ctime=1791882995.15551262 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CPZ3/0000755000175000017500000000000015263373363020370 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CPZ3/PaxHeaders/test.event0000644000000000000000000000013115263373363022757 xustar0030 mtime=1791882995.155606068 29 atime=1791882995.15551262 30 ctime=1791882995.155606068 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CPZ3/test.event0000644000175000017500000000007315263373363022412 0ustar00tinatina+STR +DOC --- +MAP =VAL :tab =VAL "\tstring -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CPZ3/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022431 xustar0030 mtime=1791882995.127475938 30 atime=1791882995.127381163 30 ctime=1791882995.127475938 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CPZ3/out.yaml0000644000175000017500000000002415263373363022057 0ustar00tinatina--- tab: "\tstring" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CPZ3/PaxHeaders/in.json0000644000000000000000000000013215263373363022237 xustar0030 mtime=1791882995.073355975 30 atime=1791882995.073259175 30 ctime=1791882995.073355975 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CPZ3/in.json0000644000175000017500000000003015263373363021662 0ustar00tinatina{ "tab": "\tstring" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CPZ3/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022230 xustar0030 mtime=1791882995.073259175 30 atime=1791882995.073158044 30 ctime=1791882995.073259175 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CPZ3/in.yaml0000644000175000017500000000002415263373363021656 0ustar00tinatina--- tab: "\tstring" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CPZ3/PaxHeaders/===0000644000000000000000000000013115263373363021226 xustar0030 mtime=1791882995.001565441 29 atime=1791882995.00141165 30 ctime=1791882995.001565441 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CPZ3/===0000644000175000017500000000005015263373363020654 0ustar00tinatinaDoublequoted scalar starting with a tab YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/CT4Q0000644000000000000000000000013215263373363020655 xustar0030 mtime=1791882995.155415959 30 atime=1791882995.001259674 30 ctime=1791882995.155415959 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CT4Q/0000755000175000017500000000000015263373363020364 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CT4Q/PaxHeaders/test.event0000644000000000000000000000013015263373363022752 xustar0029 mtime=1791882995.15551262 30 atime=1791882995.155415959 29 ctime=1791882995.15551262 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CT4Q/test.event0000644000175000017500000000010615263373363022403 0ustar00tinatina+STR +DOC +SEQ [] +MAP {} =VAL :foo bar =VAL :baz -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CT4Q/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022425 xustar0030 mtime=1791882995.127381163 30 atime=1791882995.127283873 30 ctime=1791882995.127381163 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CT4Q/out.yaml0000644000175000017500000000001715263373363022055 0ustar00tinatina- foo bar: baz YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CT4Q/PaxHeaders/in.json0000644000000000000000000000013215263373363022233 xustar0030 mtime=1791882995.073158044 30 atime=1791882995.073051745 30 ctime=1791882995.073158044 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CT4Q/in.json0000644000175000017500000000004115263373363021660 0ustar00tinatina[ { "foo bar": "baz" } ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CT4Q/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022224 xustar0030 mtime=1791882995.073051745 30 atime=1791882995.072955363 30 ctime=1791882995.073051745 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CT4Q/in.yaml0000644000175000017500000000002515263373363021653 0ustar00tinatina[ ? foo bar : baz ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CT4Q/PaxHeaders/===0000644000000000000000000000013015263373363021221 xustar0029 mtime=1791882995.00141165 30 atime=1791882995.001259674 29 ctime=1791882995.00141165 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CT4Q/===0000644000175000017500000000005615263373363020656 0ustar00tinatinaSpec Example 7.20. Single Pair Explicit Entry YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/4V8U0000644000000000000000000000013215263373363020650 xustar0030 mtime=1791882995.155320066 30 atime=1791882995.001091705 30 ctime=1791882995.155320066 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4V8U/0000755000175000017500000000000015263373363020357 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4V8U/PaxHeaders/test.event0000644000000000000000000000013215263373363022747 xustar0030 mtime=1791882995.155415959 30 atime=1791882995.155320066 30 ctime=1791882995.155415959 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4V8U/test.event0000644000175000017500000000007615263373363022404 0ustar00tinatina+STR +DOC --- =VAL :plain\\value\\with\\backslashes -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4V8U/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022420 xustar0030 mtime=1791882995.127283873 30 atime=1791882995.127184977 30 ctime=1791882995.127283873 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4V8U/out.yaml0000644000175000017500000000004115263373363022045 0ustar00tinatina--- plain\value\with\backslashes YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4V8U/PaxHeaders/in.json0000644000000000000000000000013215263373363022226 xustar0030 mtime=1791882995.072955363 30 atime=1791882995.072859541 30 ctime=1791882995.072955363 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4V8U/in.json0000644000175000017500000000004215263373363021654 0ustar00tinatina"plain\\value\\with\\backslashes" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4V8U/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022217 xustar0030 mtime=1791882995.072859541 30 atime=1791882995.072761692 30 ctime=1791882995.072859541 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4V8U/in.yaml0000644000175000017500000000004115263373363021644 0ustar00tinatina--- plain\value\with\backslashes YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4V8U/PaxHeaders/===0000644000000000000000000000013215263373363021216 xustar0030 mtime=1791882995.001259674 30 atime=1791882995.001091705 30 ctime=1791882995.001259674 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4V8U/===0000644000175000017500000000003615263373363020647 0ustar00tinatinaPlain scalar with backslashes YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/SY6V0000644000000000000000000000013215263373363020711 xustar0030 mtime=1791882995.155224732 30 atime=1791882995.000942803 30 ctime=1791882995.155224732 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SY6V/0000755000175000017500000000000015263373363020420 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SY6V/PaxHeaders/test.event0000644000000000000000000000013215263373363023010 xustar0030 mtime=1791882995.155320066 30 atime=1791882995.155224732 30 ctime=1791882995.155320066 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SY6V/test.event0000644000175000017500000000000515263373363022435 0ustar00tinatina+STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SY6V/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022260 xustar0030 mtime=1791882995.072761692 30 atime=1791882995.072664403 30 ctime=1791882995.072761692 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SY6V/in.yaml0000644000175000017500000000003115263373363021704 0ustar00tinatina&anchor - sequence entry YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SY6V/PaxHeaders/error0000644000000000000000000000013215263373363022042 xustar0030 mtime=1791882995.050899922 30 atime=1791882995.050899922 30 ctime=1791882995.050988551 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SY6V/error0000644000175000017500000000000015263373363021462 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SY6V/PaxHeaders/===0000644000000000000000000000013215263373363021257 xustar0030 mtime=1791882995.001091705 30 atime=1791882995.000942803 30 ctime=1791882995.001091705 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SY6V/===0000644000175000017500000000005215263373363020706 0ustar00tinatinaAnchor before sequence entry on same line YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/3UYS0000644000000000000000000000013215263373363020705 xustar0030 mtime=1791882995.155113614 30 atime=1791882995.000792084 30 ctime=1791882995.155113614 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3UYS/0000755000175000017500000000000015263373363020414 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3UYS/PaxHeaders/test.event0000644000000000000000000000013215263373363023004 xustar0030 mtime=1791882995.155224732 30 atime=1791882995.155113614 30 ctime=1791882995.155224732 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3UYS/test.event0000644000175000017500000000007415263373363022437 0ustar00tinatina+STR +DOC +MAP =VAL :escaped slash =VAL "a/b -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3UYS/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022455 xustar0030 mtime=1791882995.127184977 30 atime=1791882995.127062405 30 ctime=1791882995.127184977 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3UYS/out.yaml0000644000175000017500000000002515263373363022104 0ustar00tinatinaescaped slash: "a/b" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3UYS/PaxHeaders/in.json0000644000000000000000000000013215263373363022263 xustar0030 mtime=1791882995.072664403 30 atime=1791882995.072568371 30 ctime=1791882995.072664403 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3UYS/in.json0000644000175000017500000000003515263373363021713 0ustar00tinatina{ "escaped slash": "a/b" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3UYS/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022254 xustar0030 mtime=1791882995.072568371 30 atime=1791882995.072472129 30 ctime=1791882995.072568371 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3UYS/in.yaml0000644000175000017500000000002615263373363021704 0ustar00tinatinaescaped slash: "a\/b" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3UYS/PaxHeaders/===0000644000000000000000000000013215263373363021253 xustar0030 mtime=1791882995.000942803 30 atime=1791882995.000792084 30 ctime=1791882995.000942803 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/3UYS/===0000644000175000017500000000003715263373363020705 0ustar00tinatinaEscaped slash in double quotes YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/6HB60000644000000000000000000000013215263373363020607 xustar0030 mtime=1791882995.155019607 30 atime=1791882995.000640877 30 ctime=1791882995.155019607 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6HB6/0000755000175000017500000000000015263373363020316 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6HB6/PaxHeaders/test.event0000644000000000000000000000013215263373363022706 xustar0030 mtime=1791882995.155113614 30 atime=1791882995.155019607 30 ctime=1791882995.155113614 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6HB6/test.event0000644000175000017500000000027015263373363022337 0ustar00tinatina+STR +DOC +MAP =VAL :Not indented +MAP =VAL :By one space =VAL |By four\n spaces\n =VAL :Flow style +SEQ [] =VAL :By two =VAL :Also by two =VAL :Still by two -SEQ -MAP -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6HB6/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022357 xustar0030 mtime=1791882995.127062405 30 atime=1791882995.126966163 30 ctime=1791882995.127062405 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6HB6/out.yaml0000644000175000017500000000016315263373363022011 0ustar00tinatinaNot indented: By one space: | By four spaces Flow style: - By two - Also by two - Still by two YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6HB6/PaxHeaders/in.json0000644000000000000000000000013215263373363022165 xustar0030 mtime=1791882995.072472129 30 atime=1791882995.072374351 30 ctime=1791882995.072472129 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6HB6/in.json0000644000175000017500000000023315263373363021615 0ustar00tinatina{ "Not indented": { "By one space": "By four\n spaces\n", "Flow style": [ "By two", "Also by two", "Still by two" ] } } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6HB6/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022156 xustar0030 mtime=1791882995.072374351 30 atime=1791882995.072274058 30 ctime=1791882995.072374351 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6HB6/in.yaml0000644000175000017500000000045515263373363021614 0ustar00tinatina # Leading comment line spaces are # neither content nor indentation. Not indented: By one space: | By four spaces Flow style: [ # Leading spaces By two, # in flow style Also by two, # are neither Still by two # content nor ] # indentation. YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6HB6/PaxHeaders/===0000644000000000000000000000013215263373363021155 xustar0030 mtime=1791882995.000792084 30 atime=1791882995.000640877 30 ctime=1791882995.000792084 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6HB6/===0000644000175000017500000000004515263373363020606 0ustar00tinatinaSpec Example 6.1. Indentation Spaces YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/FBC90000644000000000000000000000013115263373363020624 xustar0030 mtime=1791882995.154925042 29 atime=1791882995.00048967 30 ctime=1791882995.154925042 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FBC9/0000755000175000017500000000000015263373363020334 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FBC9/PaxHeaders/test.event0000644000000000000000000000013215263373363022724 xustar0030 mtime=1791882995.155019607 30 atime=1791882995.154925042 30 ctime=1791882995.155019607 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FBC9/test.event0000644000175000017500000000033315263373363022355 0ustar00tinatina+STR +DOC +MAP =VAL :safe =VAL :a!"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~ !"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~ =VAL :safe question mark =VAL :?foo =VAL :safe colon =VAL ::foo =VAL :safe dash =VAL :-foo -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FBC9/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022375 xustar0030 mtime=1791882995.126966163 30 atime=1791882995.126868944 30 ctime=1791882995.126966163 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FBC9/out.yaml0000644000175000017500000000021715263373363022027 0ustar00tinatinasafe: a!"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~ !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~ safe question mark: ?foo safe colon: :foo safe dash: -foo YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FBC9/PaxHeaders/in.json0000644000000000000000000000013215263373363022203 xustar0030 mtime=1791882995.072274058 30 atime=1791882995.072176838 30 ctime=1791882995.072274058 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FBC9/in.json0000644000175000017500000000026215263373363021635 0ustar00tinatina{ "safe": "a!\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~ !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~", "safe question mark": "?foo", "safe colon": ":foo", "safe dash": "-foo" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FBC9/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022174 xustar0030 mtime=1791882995.072176838 30 atime=1791882995.072067187 30 ctime=1791882995.072176838 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FBC9/in.yaml0000644000175000017500000000022415263373363021624 0ustar00tinatinasafe: a!"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~ !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~ safe question mark: ?foo safe colon: :foo safe dash: -foo YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FBC9/PaxHeaders/===0000644000000000000000000000013115263373363021172 xustar0030 mtime=1791882995.000640877 29 atime=1791882995.00048967 30 ctime=1791882995.000640877 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FBC9/===0000644000175000017500000000004415263373363020623 0ustar00tinatinaAllowed characters in plain scalars YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/UGM30000644000000000000000000000013215263373363020655 xustar0030 mtime=1791882995.154830127 30 atime=1791882995.000340767 30 ctime=1791882995.154830127 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UGM3/0000755000175000017500000000000015263373363020364 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UGM3/PaxHeaders/test.event0000644000000000000000000000013215263373363022754 xustar0030 mtime=1791882995.154925042 30 atime=1791882995.154830127 30 ctime=1791882995.154925042 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UGM3/test.event0000644000175000017500000000140315263373363022404 0ustar00tinatina+STR +DOC --- +MAP =VAL :invoice =VAL :34843 =VAL :date =VAL :2001-01-23 =VAL :bill-to +MAP &id001 =VAL :given =VAL :Chris =VAL :family =VAL :Dumars =VAL :address +MAP =VAL :lines =VAL |458 Walkman Dr.\nSuite #292\n =VAL :city =VAL :Royal Oak =VAL :state =VAL :MI =VAL :postal =VAL :48046 -MAP -MAP =VAL :ship-to =ALI *id001 =VAL :product +SEQ +MAP =VAL :sku =VAL :BL394D =VAL :quantity =VAL :4 =VAL :description =VAL :Basketball =VAL :price =VAL :450.00 -MAP +MAP =VAL :sku =VAL :BL4438H =VAL :quantity =VAL :1 =VAL :description =VAL :Super Hoop =VAL :price =VAL :2392.00 -MAP -SEQ =VAL :tax =VAL :251.42 =VAL :total =VAL :4443.52 =VAL :comments =VAL :Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338. -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UGM3/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022425 xustar0030 mtime=1791882995.126868944 30 atime=1791882995.126773121 30 ctime=1791882995.126868944 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UGM3/out.yaml0000644000175000017500000000077315263373363022066 0ustar00tinatina--- ! invoice: 34843 date: 2001-01-23 bill-to: &id001 given: Chris family: Dumars address: lines: | 458 Walkman Dr. Suite #292 city: Royal Oak state: MI postal: 48046 ship-to: *id001 product: - sku: BL394D quantity: 4 description: Basketball price: 450.00 - sku: BL4438H quantity: 1 description: Super Hoop price: 2392.00 tax: 251.42 total: 4443.52 comments: Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338. YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UGM3/PaxHeaders/in.json0000644000000000000000000000013215263373363022233 xustar0030 mtime=1791882995.072067187 30 atime=1791882995.071971504 30 ctime=1791882995.072067187 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UGM3/in.json0000644000175000017500000000147315263373363021672 0ustar00tinatina{ "invoice": 34843, "date": "2001-01-23", "bill-to": { "given": "Chris", "family": "Dumars", "address": { "lines": "458 Walkman Dr.\nSuite #292\n", "city": "Royal Oak", "state": "MI", "postal": 48046 } }, "ship-to": { "given": "Chris", "family": "Dumars", "address": { "lines": "458 Walkman Dr.\nSuite #292\n", "city": "Royal Oak", "state": "MI", "postal": 48046 } }, "product": [ { "sku": "BL394D", "quantity": 4, "description": "Basketball", "price": 450 }, { "sku": "BL4438H", "quantity": 1, "description": "Super Hoop", "price": 2392 } ], "tax": 251.42, "total": 4443.52, "comments": "Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338." } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UGM3/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022224 xustar0030 mtime=1791882995.071971504 30 atime=1791882995.071874144 30 ctime=1791882995.071971504 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UGM3/in.yaml0000644000175000017500000000120415263373363021653 0ustar00tinatina--- ! invoice: 34843 date : 2001-01-23 bill-to: &id001 given : Chris family : Dumars address: lines: | 458 Walkman Dr. Suite #292 city : Royal Oak state : MI postal : 48046 ship-to: *id001 product: - sku : BL394D quantity : 4 description : Basketball price : 450.00 - sku : BL4438H quantity : 1 description : Super Hoop price : 2392.00 tax : 251.42 total: 4443.52 comments: Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338. YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UGM3/PaxHeaders/===0000644000000000000000000000013015263373363021221 xustar0029 mtime=1791882995.00048967 30 atime=1791882995.000340767 29 ctime=1791882995.00048967 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/UGM3/===0000644000175000017500000000003315263373363020651 0ustar00tinatinaSpec Example 2.27. Invoice YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/D9TU0000644000000000000000000000013215263373363020667 xustar0030 mtime=1791882995.154734793 30 atime=1791882995.000195567 30 ctime=1791882995.154734793 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D9TU/0000755000175000017500000000000015263373363020376 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D9TU/PaxHeaders/test.event0000644000000000000000000000013215263373363022766 xustar0030 mtime=1791882995.154830127 30 atime=1791882995.154734793 30 ctime=1791882995.154830127 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D9TU/test.event0000644000175000017500000000006215263373363022416 0ustar00tinatina+STR +DOC +MAP =VAL :foo =VAL :bar -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D9TU/PaxHeaders/in.json0000644000000000000000000000013215263373363022245 xustar0030 mtime=1791882995.071874144 30 atime=1791882995.071769522 30 ctime=1791882995.071874144 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D9TU/in.json0000644000175000017500000000002315263373363021672 0ustar00tinatina{ "foo": "bar" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D9TU/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022236 xustar0030 mtime=1791882995.071769522 30 atime=1791882995.071672302 30 ctime=1791882995.071769522 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D9TU/in.yaml0000644000175000017500000000001115263373363021660 0ustar00tinatinafoo: bar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D9TU/PaxHeaders/===0000644000000000000000000000013215263373363021235 xustar0030 mtime=1791882995.000340767 30 atime=1791882995.000195567 30 ctime=1791882995.000340767 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/D9TU/===0000644000175000017500000000003215263373363020662 0ustar00tinatinaSingle Pair Block Mapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/DC7X0000644000000000000000000000013215263373363020647 xustar0030 mtime=1791882995.153497408 30 atime=1791882995.000031858 30 ctime=1791882995.153497408 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DC7X/0000755000175000017500000000000015263373363020356 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DC7X/PaxHeaders/test.event0000644000000000000000000000013215263373363022746 xustar0030 mtime=1791882995.153593231 30 atime=1791882995.153497408 30 ctime=1791882995.153593231 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DC7X/test.event0000644000175000017500000000013215263373363022374 0ustar00tinatina+STR +DOC +MAP =VAL :a =VAL :b =VAL :seq +SEQ =VAL :a -SEQ =VAL :c =VAL :d -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DC7X/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022417 xustar0030 mtime=1791882995.126773121 30 atime=1791882995.126677089 30 ctime=1791882995.126773121 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DC7X/out.yaml0000644000175000017500000000002315263373363022044 0ustar00tinatinaa: b seq: - a c: d YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DC7X/PaxHeaders/in.json0000644000000000000000000000013215263373363022225 xustar0030 mtime=1791882995.071672302 30 atime=1791882995.071578365 30 ctime=1791882995.071672302 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DC7X/in.json0000644000175000017500000000006315263373363021656 0ustar00tinatina{ "a": "b", "seq": [ "a" ], "c": "d" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DC7X/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022216 xustar0030 mtime=1791882995.071578365 30 atime=1791882995.071481425 30 ctime=1791882995.071578365 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DC7X/in.yaml0000644000175000017500000000003215263373363021643 0ustar00tinatinaa: b seq: - a c: d #X YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DC7X/PaxHeaders/===0000644000000000000000000000013215263373363021215 xustar0030 mtime=1791882995.000195567 30 atime=1791882995.000031858 30 ctime=1791882995.000195567 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/DC7X/===0000644000175000017500000000002615263373363020645 0ustar00tinatinaVarious trailing tabs YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/X38W0000644000000000000000000000013215263373363020653 xustar0030 mtime=1791882995.153402982 30 atime=1791882994.999884003 30 ctime=1791882995.153402982 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X38W/0000755000175000017500000000000015263373363020362 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X38W/PaxHeaders/test.event0000644000000000000000000000013215263373363022752 xustar0030 mtime=1791882995.153497408 30 atime=1791882995.153402982 30 ctime=1791882995.153497408 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X38W/test.event0000644000175000017500000000017115263373363022403 0ustar00tinatina+STR +DOC +MAP {} +SEQ [] &a =VAL :a =VAL &b :b -SEQ =ALI *b =ALI *a +SEQ [] =VAL :c =ALI *b =VAL :d -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X38W/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022423 xustar0030 mtime=1791882995.126677089 30 atime=1791882995.126579939 30 ctime=1791882995.126677089 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X38W/out.yaml0000644000175000017500000000004715263373363022056 0ustar00tinatina? &a - a - &b b : *b *a : - c - *b - d YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X38W/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022222 xustar0030 mtime=1791882995.071481425 30 atime=1791882995.071366605 30 ctime=1791882995.071481425 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X38W/in.yaml0000644000175000017500000000004515263373363021653 0ustar00tinatina{ &a [a, &b b]: *b, *a : [c, *b, d]} YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X38W/PaxHeaders/===0000644000000000000000000000013215263373363021221 xustar0030 mtime=1791882995.000031858 30 atime=1791882994.999884003 30 ctime=1791882995.000031858 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/X38W/===0000644000175000017500000000003015263373363020644 0ustar00tinatinaAliases in Flow Objects YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/KMK30000644000000000000000000000013215263373363020647 xustar0030 mtime=1791882995.153308696 30 atime=1791882994.999734681 30 ctime=1791882995.153308696 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KMK3/0000755000175000017500000000000015263373363020356 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KMK3/PaxHeaders/test.event0000644000000000000000000000013215263373363022746 xustar0030 mtime=1791882995.153402982 30 atime=1791882995.153308696 30 ctime=1791882995.153402982 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KMK3/test.event0000644000175000017500000000012615263373363022377 0ustar00tinatina+STR +DOC +MAP =VAL :foo +MAP =VAL :bar =VAL :1 -MAP =VAL :baz =VAL :2 -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KMK3/PaxHeaders/in.json0000644000000000000000000000013215263373363022225 xustar0030 mtime=1791882995.071366605 30 atime=1791882995.071262331 30 ctime=1791882995.071366605 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KMK3/in.json0000644000175000017500000000005415263373363021656 0ustar00tinatina{ "foo": { "bar": 1 }, "baz": 2 } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KMK3/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022216 xustar0030 mtime=1791882995.071262331 30 atime=1791882995.071170001 30 ctime=1791882995.071262331 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KMK3/in.yaml0000644000175000017500000000002515263373363021645 0ustar00tinatinafoo: bar: 1 baz: 2 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KMK3/PaxHeaders/===0000644000000000000000000000013215263373362021214 xustar0030 mtime=1791882994.999884003 30 atime=1791882994.999734681 30 ctime=1791882994.999884003 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/KMK3/===0000644000175000017500000000002115263373362020637 0ustar00tinatinaBlock Submapping YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/CUP70000644000000000000000000000013215263373363020660 xustar0030 mtime=1791882995.153212803 30 atime=1791882994.999586338 30 ctime=1791882995.153212803 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CUP7/0000755000175000017500000000000015263373363020367 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CUP7/PaxHeaders/test.event0000644000000000000000000000013215263373363022757 xustar0030 mtime=1791882995.153308696 30 atime=1791882995.153212803 30 ctime=1791882995.153308696 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CUP7/test.event0000644000175000017500000000014315263373363022407 0ustar00tinatina+STR +DOC +MAP =VAL :anchored =VAL &anchor :value =VAL :alias =ALI *anchor -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CUP7/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022430 xustar0030 mtime=1791882995.126579939 30 atime=1791882995.126483068 30 ctime=1791882995.126579939 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CUP7/out.yaml0000644000175000017500000000005615263373363022063 0ustar00tinatinaanchored: &anchor !local value alias: *anchor YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CUP7/PaxHeaders/in.json0000644000000000000000000000013115263373363022235 xustar0030 mtime=1791882995.071170001 29 atime=1791882995.07104261 30 ctime=1791882995.071170001 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CUP7/in.json0000644000175000017500000000005615263373363021671 0ustar00tinatina{ "anchored": "value", "alias": "value" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CUP7/PaxHeaders/in.yaml0000644000000000000000000000013015263373363022225 xustar0029 mtime=1791882995.07104261 30 atime=1791882995.070955098 29 ctime=1791882995.07104261 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CUP7/in.yaml0000644000175000017500000000005615263373363021662 0ustar00tinatinaanchored: !local &anchor value alias: *anchor YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CUP7/PaxHeaders/===0000644000000000000000000000013215263373362021225 xustar0030 mtime=1791882994.999734681 30 atime=1791882994.999586338 30 ctime=1791882994.999734681 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/CUP7/===0000644000175000017500000000005315263373362020655 0ustar00tinatinaSpec Example 5.6. Node Property Indicators YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/B63P0000644000000000000000000000013215263373363020614 xustar0030 mtime=1791882995.153107482 30 atime=1791882994.999436457 30 ctime=1791882995.153107482 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/B63P/0000755000175000017500000000000015263373363020323 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/B63P/PaxHeaders/test.event0000644000000000000000000000013215263373363022713 xustar0030 mtime=1791882995.153212803 30 atime=1791882995.153107482 30 ctime=1791882995.153212803 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/B63P/test.event0000644000175000017500000000000515263373363022340 0ustar00tinatina+STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/B63P/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022163 xustar0030 mtime=1791882995.070955098 30 atime=1791882995.070860602 30 ctime=1791882995.070955098 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/B63P/in.yaml0000644000175000017500000000001615263373363021612 0ustar00tinatina%YAML 1.2 ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/B63P/PaxHeaders/error0000644000000000000000000000013015263373363021743 xustar0029 mtime=1791882995.05080836 29 atime=1791882995.05080836 30 ctime=1791882995.050899922 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/B63P/error0000644000175000017500000000000015263373363021365 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/B63P/PaxHeaders/===0000644000000000000000000000013215263373362021161 xustar0030 mtime=1791882994.999586338 30 atime=1791882994.999436457 30 ctime=1791882994.999586338 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/B63P/===0000644000175000017500000000003315263373362020607 0ustar00tinatinaDirective without document YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/K5270000644000000000000000000000012715263373363020576 xustar0029 mtime=1791882995.15301145 29 atime=1791882994.99928525 29 ctime=1791882995.15301145 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K527/0000755000175000017500000000000015263373363020301 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K527/PaxHeaders/test.event0000644000000000000000000000013115263373363022670 xustar0030 mtime=1791882995.153107482 29 atime=1791882995.15301145 30 ctime=1791882995.153107482 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K527/test.event0000644000175000017500000000006015263373363022317 0ustar00tinatina+STR +DOC =VAL >trimmed\n\n\nas space -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K527/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022342 xustar0030 mtime=1791882995.126483068 30 atime=1791882995.126396604 30 ctime=1791882995.126483068 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K527/out.yaml0000644000175000017500000000003315263373363021770 0ustar00tinatina>- trimmed as space YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K527/PaxHeaders/in.json0000644000000000000000000000013215263373363022150 xustar0030 mtime=1791882995.070860602 30 atime=1791882995.070764849 30 ctime=1791882995.070860602 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K527/in.json0000644000175000017500000000003015263373363021573 0ustar00tinatina"trimmed\n\n\nas space" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K527/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022141 xustar0030 mtime=1791882995.070764849 30 atime=1791882995.070668817 30 ctime=1791882995.070764849 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K527/in.yaml0000644000175000017500000000004015263373363021565 0ustar00tinatina>- trimmed as space YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K527/PaxHeaders/===0000644000000000000000000000013115263373362021136 xustar0030 mtime=1791882994.999436457 29 atime=1791882994.99928525 30 ctime=1791882994.999436457 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K527/===0000644000175000017500000000003715263373362020571 0ustar00tinatinaSpec Example 6.6. Line Folding YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/5U3A0000644000000000000000000000013215263373363020617 xustar0030 mtime=1791882995.152915208 30 atime=1791882994.999107573 30 ctime=1791882995.152915208 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5U3A/0000755000175000017500000000000015263373363020326 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5U3A/PaxHeaders/test.event0000644000000000000000000000013015263373363022714 xustar0029 mtime=1791882995.15301145 30 atime=1791882995.152915208 29 ctime=1791882995.15301145 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5U3A/test.event0000644000175000017500000000003115263373363022342 0ustar00tinatina+STR +DOC +MAP =VAL :key YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5U3A/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022166 xustar0030 mtime=1791882995.070668817 30 atime=1791882995.070585286 30 ctime=1791882995.070668817 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5U3A/in.yaml0000644000175000017500000000002215263373363021612 0ustar00tinatinakey: - a - b YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5U3A/PaxHeaders/error0000644000000000000000000000013115263373363021747 xustar0030 mtime=1791882995.050719172 30 atime=1791882995.050719172 29 ctime=1791882995.05080836 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5U3A/error0000644000175000017500000000000015263373363021370 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5U3A/PaxHeaders/===0000644000000000000000000000013015263373362021162 xustar0029 mtime=1791882994.99928525 30 atime=1791882994.999107573 29 ctime=1791882994.99928525 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/5U3A/===0000644000175000017500000000004515263373362020615 0ustar00tinatinaSequence on same Line as Mapping Key YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/98YD0000644000000000000000000000013015263373363020635 xustar0029 mtime=1791882995.15282148 30 atime=1791882994.998959229 29 ctime=1791882995.15282148 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/98YD/0000755000175000017500000000000015263373363020346 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/98YD/PaxHeaders/test.event0000644000000000000000000000013115263373363022735 xustar0030 mtime=1791882995.152915208 29 atime=1791882995.15282148 30 ctime=1791882995.152915208 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/98YD/test.event0000644000175000017500000000001215263373363022361 0ustar00tinatina+STR -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/98YD/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022407 xustar0030 mtime=1791882995.126296452 30 atime=1791882995.126296452 30 ctime=1791882995.126396604 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/98YD/out.yaml0000644000175000017500000000000015263373363022027 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/98YD/PaxHeaders/in.json0000644000000000000000000000012615263373363022220 xustar0028 mtime=1791882995.0704866 28 atime=1791882995.0704866 30 ctime=1791882995.070585286 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/98YD/in.json0000644000175000017500000000000015263373363021635 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/98YD/PaxHeaders/in.yaml0000644000000000000000000000012615263373363022211 xustar0028 mtime=1791882995.0704866 30 atime=1791882995.070390149 28 ctime=1791882995.0704866 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/98YD/in.yaml0000644000175000017500000000002015263373363021630 0ustar00tinatina# Comment only. YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/98YD/PaxHeaders/===0000644000000000000000000000013215263373362021204 xustar0030 mtime=1791882994.999107573 30 atime=1791882994.998959229 30 ctime=1791882994.999107573 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/98YD/===0000644000175000017500000000004415263373362020634 0ustar00tinatinaSpec Example 5.5. Comment Indicator YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/SU5Z0000644000000000000000000000013215263373363020710 xustar0030 mtime=1791882995.152720978 30 atime=1791882994.998806486 30 ctime=1791882995.152720978 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SU5Z/0000755000175000017500000000000015263373363020417 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SU5Z/PaxHeaders/test.event0000644000000000000000000000013015263373363023005 xustar0029 mtime=1791882995.15282148 30 atime=1791882995.152720978 29 ctime=1791882995.15282148 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SU5Z/test.event0000644000175000017500000000004515263373363022440 0ustar00tinatina+STR +DOC +MAP =VAL :key =VAL "value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SU5Z/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022257 xustar0030 mtime=1791882995.070390149 30 atime=1791882995.070295234 30 ctime=1791882995.070390149 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SU5Z/in.yaml0000644000175000017500000000003615263373363021710 0ustar00tinatinakey: "value"# invalid comment YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SU5Z/PaxHeaders/error0000644000000000000000000000013015263373363022037 xustar0029 mtime=1791882995.05062279 29 atime=1791882995.05062279 30 ctime=1791882995.050719172 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SU5Z/error0000644000175000017500000000000015263373363021461 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SU5Z/PaxHeaders/===0000644000000000000000000000013215263373362021255 xustar0030 mtime=1791882994.998959229 30 atime=1791882994.998806486 30 ctime=1791882994.998959229 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/SU5Z/===0000644000175000017500000000006515263373362020710 0ustar00tinatinaComment without whitespace after doublequoted scalar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/F3CP0000644000000000000000000000013015263373363020633 xustar0029 mtime=1791882995.15262753 30 atime=1791882994.998599056 29 ctime=1791882995.15262753 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F3CP/0000755000175000017500000000000015263373363020344 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F3CP/PaxHeaders/test.event0000644000000000000000000000013115263373363022733 xustar0030 mtime=1791882995.152720978 29 atime=1791882995.15262753 30 ctime=1791882995.152720978 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F3CP/test.event0000644000175000017500000000017415263373363022370 0ustar00tinatina+STR +DOC --- +MAP {} =VAL :a +SEQ [] =VAL :b =VAL :c +MAP {} =VAL :d +SEQ [] =VAL :e =VAL :f -SEQ -MAP -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F3CP/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022405 xustar0030 mtime=1791882995.126296452 30 atime=1791882995.126193575 30 ctime=1791882995.126296452 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F3CP/out.yaml0000644000175000017500000000004015263373363022031 0ustar00tinatina--- a: - b - c - d: - e - f YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F3CP/PaxHeaders/in.json0000644000000000000000000000013215263373363022213 xustar0030 mtime=1791882995.070295234 30 atime=1791882995.070193055 30 ctime=1791882995.070295234 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F3CP/in.json0000644000175000017500000000013515263373363021644 0ustar00tinatina{ "a": [ "b", "c", { "d": [ "e", "f" ] } ] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F3CP/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022204 xustar0030 mtime=1791882995.070193055 30 atime=1791882995.070080052 30 ctime=1791882995.070193055 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F3CP/in.yaml0000644000175000017500000000004215263373363021632 0ustar00tinatina--- { a: [b, c, { d: [e, f] } ] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F3CP/PaxHeaders/===0000644000000000000000000000013215263373362021202 xustar0030 mtime=1791882994.998806486 30 atime=1791882994.998599056 30 ctime=1791882994.998806486 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/F3CP/===0000644000175000017500000000004415263373362020632 0ustar00tinatinaNested flow collections on one line YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/QF4Y0000644000000000000000000000013215263373363020665 xustar0030 mtime=1791882995.152533384 30 atime=1791882994.998397423 30 ctime=1791882995.152533384 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QF4Y/0000755000175000017500000000000015263373363020374 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QF4Y/PaxHeaders/test.event0000644000000000000000000000013015263373363022762 xustar0029 mtime=1791882995.15262753 30 atime=1791882995.152533384 29 ctime=1791882995.15262753 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QF4Y/test.event0000644000175000017500000000010215263373363022407 0ustar00tinatina+STR +DOC +SEQ [] +MAP {} =VAL :foo =VAL :bar -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QF4Y/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022435 xustar0030 mtime=1791882995.126193575 30 atime=1791882995.126092793 30 ctime=1791882995.126193575 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QF4Y/out.yaml0000644000175000017500000000001315263373363022061 0ustar00tinatina- foo: bar YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QF4Y/PaxHeaders/in.json0000644000000000000000000000013215263373363022243 xustar0030 mtime=1791882995.070080052 30 atime=1791882995.069984718 30 ctime=1791882995.070080052 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QF4Y/in.json0000644000175000017500000000003515263373363021673 0ustar00tinatina[ { "foo": "bar" } ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QF4Y/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022234 xustar0030 mtime=1791882995.069984718 30 atime=1791882995.069888057 30 ctime=1791882995.069984718 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QF4Y/in.yaml0000644000175000017500000000001515263373363021662 0ustar00tinatina[ foo: bar ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QF4Y/PaxHeaders/===0000644000000000000000000000013215263373362021232 xustar0030 mtime=1791882994.998599056 30 atime=1791882994.998397423 30 ctime=1791882994.998599056 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/QF4Y/===0000644000175000017500000000005515263373362020664 0ustar00tinatinaSpec Example 7.19. Single Pair Flow Mappings YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/6JWB0000644000000000000000000000013215263373363020652 xustar0030 mtime=1791882995.152436653 30 atime=1791882994.998227847 30 ctime=1791882995.152436653 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JWB/0000755000175000017500000000000015263373363020361 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JWB/PaxHeaders/test.event0000644000000000000000000000013215263373363022751 xustar0030 mtime=1791882995.152533384 30 atime=1791882995.152436653 30 ctime=1791882995.152533384 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JWB/test.event0000644000175000017500000000027215263373363022404 0ustar00tinatina+STR +DOC +MAP =VAL :foo +SEQ =VAL :a +MAP =VAL :key =VAL :value -MAP -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JWB/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022422 xustar0030 mtime=1791882995.126092793 30 atime=1791882995.125995504 30 ctime=1791882995.126092793 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JWB/out.yaml0000644000175000017500000000006015263373363022050 0ustar00tinatinafoo: !!seq - !!str a - !!map key: !!str value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JWB/PaxHeaders/in.json0000644000000000000000000000013215263373363022230 xustar0030 mtime=1791882995.069888057 30 atime=1791882995.069793631 30 ctime=1791882995.069888057 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JWB/in.json0000644000175000017500000000007515263373363021664 0ustar00tinatina{ "foo": [ "a", { "key": "value" } ] } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JWB/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022221 xustar0030 mtime=1791882995.069793631 30 atime=1791882995.069696272 30 ctime=1791882995.069793631 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JWB/in.yaml0000644000175000017500000000006615263373363021655 0ustar00tinatinafoo: !!seq - !!str a - !!map key: !!str value YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JWB/PaxHeaders/===0000644000000000000000000000013215263373362021217 xustar0030 mtime=1791882994.998397423 30 atime=1791882994.998227847 30 ctime=1791882994.998397423 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JWB/===0000644000175000017500000000002715263373362020650 0ustar00tinatinaTags for Block Objects YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/K4SU0000644000000000000000000000013215263373363020670 xustar0030 mtime=1791882995.152341738 30 atime=1791882994.998029567 30 ctime=1791882995.152341738 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K4SU/0000755000175000017500000000000015263373363020377 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K4SU/PaxHeaders/test.event0000644000000000000000000000013215263373363022767 xustar0030 mtime=1791882995.152436653 30 atime=1791882995.152341738 30 ctime=1791882995.152436653 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K4SU/test.event0000644000175000017500000000007315263373363022421 0ustar00tinatina+STR +DOC +SEQ =VAL :foo =VAL :bar =VAL :42 -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K4SU/PaxHeaders/in.json0000644000000000000000000000013215263373363022246 xustar0030 mtime=1791882995.069696272 30 atime=1791882995.069590811 30 ctime=1791882995.069696272 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K4SU/in.json0000644000175000017500000000003315263373363021674 0ustar00tinatina[ "foo", "bar", 42 ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K4SU/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022237 xustar0030 mtime=1791882995.069590811 30 atime=1791882995.069495407 30 ctime=1791882995.069590811 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K4SU/in.yaml0000644000175000017500000000002115263373363021662 0ustar00tinatina- foo - bar - 42 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K4SU/PaxHeaders/===0000644000000000000000000000013215263373362021235 xustar0030 mtime=1791882994.998227847 30 atime=1791882994.998029567 30 ctime=1791882994.998227847 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/K4SU/===0000644000175000017500000000003615263373362020666 0ustar00tinatinaMultiple Entry Block Sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/9TFX0000644000000000000000000000013015263373363020672 xustar0029 mtime=1791882995.15224836 30 atime=1791882994.997875077 29 ctime=1791882995.15224836 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9TFX/0000755000175000017500000000000015263373363020403 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9TFX/PaxHeaders/test.event0000644000000000000000000000013115263373363022772 xustar0030 mtime=1791882995.152341738 29 atime=1791882995.15224836 30 ctime=1791882995.152341738 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9TFX/test.event0000644000175000017500000000011315263373363022420 0ustar00tinatina+STR +DOC --- =VAL " 1st non-empty\n2nd non-empty 3rd non-empty -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9TFX/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022573 xustar0030 mtime=1791882995.146818659 30 atime=1791882995.146722766 30 ctime=1791882995.146818659 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9TFX/emit.yaml0000644000175000017500000000006315263373363022224 0ustar00tinatina--- " 1st non-empty\n2nd non-empty 3rd non-empty " YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9TFX/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022444 xustar0030 mtime=1791882995.125995504 30 atime=1791882995.125898913 30 ctime=1791882995.125995504 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9TFX/out.yaml0000644000175000017500000000005715263373363022100 0ustar00tinatina" 1st non-empty\n2nd non-empty 3rd non-empty " YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9TFX/PaxHeaders/in.json0000644000000000000000000000013215263373363022252 xustar0030 mtime=1791882995.069495407 30 atime=1791882995.069400841 30 ctime=1791882995.069495407 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9TFX/in.json0000644000175000017500000000005715263373363021706 0ustar00tinatina" 1st non-empty\n2nd non-empty 3rd non-empty " YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9TFX/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022243 xustar0030 mtime=1791882995.069400841 30 atime=1791882995.069305507 30 ctime=1791882995.069400841 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9TFX/in.yaml0000644000175000017500000000006615263373363021677 0ustar00tinatina--- " 1st non-empty 2nd non-empty 3rd non-empty " YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9TFX/PaxHeaders/===0000644000000000000000000000013215263373362021241 xustar0030 mtime=1791882994.998029567 30 atime=1791882994.997875077 30 ctime=1791882994.998029567 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/9TFX/===0000644000175000017500000000005415263373362020672 0ustar00tinatinaSpec Example 7.6. Double Quoted Lines [1.3] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/FRK40000644000000000000000000000013015263373363020646 xustar0029 mtime=1791882995.15215107 30 atime=1791882994.997724219 29 ctime=1791882995.15215107 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FRK4/0000755000175000017500000000000015263373363020357 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FRK4/PaxHeaders/test.event0000644000000000000000000000012715263373363022753 xustar0029 mtime=1791882995.15224836 29 atime=1791882995.15215107 29 ctime=1791882995.15224836 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FRK4/test.event0000644000175000017500000000010315263373363022373 0ustar00tinatina+STR +DOC +MAP {} =VAL :foo =VAL : =VAL : =VAL :bar -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FRK4/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022217 xustar0030 mtime=1791882995.069305507 30 atime=1791882995.069208218 30 ctime=1791882995.069305507 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FRK4/in.yaml0000644000175000017500000000003015263373363021642 0ustar00tinatina{ ? foo :, : bar, } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FRK4/PaxHeaders/===0000644000000000000000000000013215263373362021215 xustar0030 mtime=1791882994.997875077 30 atime=1791882994.997724219 30 ctime=1791882994.997875077 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FRK4/===0000644000175000017500000000005615263373362020650 0ustar00tinatinaSpec Example 7.3. Completely Empty Flow Nodes YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/6FWR0000644000000000000000000000013215263373363020666 xustar0030 mtime=1791882995.152046866 30 atime=1791882994.997552897 30 ctime=1791882995.152046866 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6FWR/0000755000175000017500000000000015263373363020375 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6FWR/PaxHeaders/test.event0000644000000000000000000000013015263373363022763 xustar0029 mtime=1791882995.15215107 30 atime=1791882995.152046866 29 ctime=1791882995.15215107 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6FWR/test.event0000644000175000017500000000005415263373363022416 0ustar00tinatina+STR +DOC --- =VAL |ab\n\n \n -DOC ... -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6FWR/PaxHeaders/emit.yaml0000644000000000000000000000013215263373363022565 xustar0030 mtime=1791882995.146722766 30 atime=1791882995.146626384 30 ctime=1791882995.146722766 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6FWR/emit.yaml0000644000175000017500000000002415263373363022213 0ustar00tinatina--- | ab ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6FWR/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022436 xustar0030 mtime=1791882995.125898913 30 atime=1791882995.125803998 30 ctime=1791882995.125898913 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6FWR/out.yaml0000644000175000017500000000002015263373363022060 0ustar00tinatina"ab\n\n \n" ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6FWR/PaxHeaders/in.json0000644000000000000000000000013215263373363022244 xustar0030 mtime=1791882995.069208218 30 atime=1791882995.069101849 30 ctime=1791882995.069208218 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6FWR/in.json0000644000175000017500000000001415263373363021671 0ustar00tinatina"ab\n\n \n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6FWR/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022235 xustar0030 mtime=1791882995.069101849 30 atime=1791882995.069006026 30 ctime=1791882995.069101849 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6FWR/in.yaml0000644000175000017500000000002415263373363021663 0ustar00tinatina--- |+ ab ... YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6FWR/PaxHeaders/===0000644000000000000000000000013215263373362021233 xustar0030 mtime=1791882994.997724219 30 atime=1791882994.997552897 30 ctime=1791882994.997724219 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6FWR/===0000644000175000017500000000002215263373362020657 0ustar00tinatinaBlock Scalar Keep YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/NB6Z0000644000000000000000000000013215263373363020661 xustar0030 mtime=1791882995.151383021 30 atime=1791882994.997391843 30 ctime=1791882995.151383021 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NB6Z/0000755000175000017500000000000015263373363020370 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NB6Z/PaxHeaders/test.event0000644000000000000000000000013215263373363022760 xustar0030 mtime=1791882995.151478774 30 atime=1791882995.151383021 30 ctime=1791882995.151478774 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NB6Z/test.event0000644000175000017500000000007715263373363022416 0ustar00tinatina+STR +DOC +MAP =VAL :key =VAL :value with\ntabs -MAP -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NB6Z/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022431 xustar0030 mtime=1791882995.125803998 30 atime=1791882995.125707686 30 ctime=1791882995.125803998 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NB6Z/out.yaml0000644000175000017500000000003215263373363022056 0ustar00tinatinakey: 'value with tabs' YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NB6Z/PaxHeaders/in.json0000644000000000000000000000013215263373363022237 xustar0030 mtime=1791882995.069006026 30 atime=1791882995.068908318 30 ctime=1791882995.069006026 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NB6Z/in.json0000644000175000017500000000004015263373363021663 0ustar00tinatina{ "key": "value with\ntabs" } YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NB6Z/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022230 xustar0030 mtime=1791882995.068908318 30 atime=1791882995.068812565 30 ctime=1791882995.068908318 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NB6Z/in.yaml0000644000175000017500000000003715263373363021662 0ustar00tinatinakey: value with tabs YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NB6Z/PaxHeaders/===0000644000000000000000000000013215263373362021226 xustar0030 mtime=1791882994.997552897 30 atime=1791882994.997391843 30 ctime=1791882994.997552897 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/NB6Z/===0000644000175000017500000000005715263373362020662 0ustar00tinatinaMultiline plain value with tabs on empty lines YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/4Q9F0000644000000000000000000000013215263373363020625 xustar0030 mtime=1791882995.151287129 30 atime=1791882994.997241892 30 ctime=1791882995.151287129 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4Q9F/0000755000175000017500000000000015263373363020334 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4Q9F/PaxHeaders/test.event0000644000000000000000000000013215263373363022724 xustar0030 mtime=1791882995.151383021 30 atime=1791882995.151287129 30 ctime=1791882995.151383021 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4Q9F/test.event0000644000175000017500000000006015263373363022352 0ustar00tinatina+STR +DOC --- =VAL >ab cd\nef\n\ngh\n -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4Q9F/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022375 xustar0030 mtime=1791882995.125707686 30 atime=1791882995.125611724 30 ctime=1791882995.125707686 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4Q9F/out.yaml0000644000175000017500000000003315263373363022023 0ustar00tinatina--- > ab cd ef gh YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4Q9F/PaxHeaders/in.json0000644000000000000000000000013215263373363022203 xustar0030 mtime=1791882995.068812565 30 atime=1791882995.068716672 30 ctime=1791882995.068812565 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4Q9F/in.json0000644000175000017500000000002415263373363021631 0ustar00tinatina"ab cd\nef\n\ngh\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4Q9F/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022174 xustar0030 mtime=1791882995.068716672 30 atime=1791882995.068619103 30 ctime=1791882995.068716672 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4Q9F/in.yaml0000644000175000017500000000003215263373363021621 0ustar00tinatina--- > ab cd ef gh YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4Q9F/PaxHeaders/===0000644000000000000000000000013215263373362021172 xustar0030 mtime=1791882994.997391843 30 atime=1791882994.997241892 30 ctime=1791882994.997391843 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/4Q9F/===0000644000175000017500000000003215263373362020617 0ustar00tinatinaFolded Block Scalar [1.3] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/55WF0000644000000000000000000000013115263373363020627 xustar0030 mtime=1791882995.151190957 29 atime=1791882994.99704885 30 ctime=1791882995.151190957 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/55WF/0000755000175000017500000000000015263373363020337 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/55WF/PaxHeaders/test.event0000644000000000000000000000013215263373363022727 xustar0030 mtime=1791882995.151287129 30 atime=1791882995.151190957 30 ctime=1791882995.151287129 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/55WF/test.event0000644000175000017500000000001615263373363022356 0ustar00tinatina+STR +DOC --- YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/55WF/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022177 xustar0030 mtime=1791882995.068619103 30 atime=1791882995.068522512 30 ctime=1791882995.068619103 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/55WF/in.yaml0000644000175000017500000000001115263373363021621 0ustar00tinatina--- "\." YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/55WF/PaxHeaders/error0000644000000000000000000000013115263373363021760 xustar0030 mtime=1791882995.050520682 30 atime=1791882995.050520682 29 ctime=1791882995.05062279 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/55WF/error0000644000175000017500000000000015263373363021401 0ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/55WF/PaxHeaders/===0000644000000000000000000000013115263373362021174 xustar0030 mtime=1791882994.997241892 29 atime=1791882994.99704885 30 ctime=1791882994.997241892 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/55WF/===0000644000175000017500000000004715263373362020630 0ustar00tinatinaInvalid escape in double quoted string YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/FUP40000644000000000000000000000013215263373363020660 xustar0030 mtime=1791882995.150501689 30 atime=1791882994.996886259 30 ctime=1791882995.150501689 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FUP4/0000755000175000017500000000000015263373363020367 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FUP4/PaxHeaders/test.event0000644000000000000000000000013215263373363022757 xustar0030 mtime=1791882995.150596185 30 atime=1791882995.150501689 30 ctime=1791882995.150596185 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FUP4/test.event0000644000175000017500000000010615263373363022406 0ustar00tinatina+STR +DOC +SEQ [] =VAL :a +SEQ [] =VAL :b =VAL :c -SEQ -SEQ -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FUP4/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022430 xustar0030 mtime=1791882995.125611724 30 atime=1791882995.125515342 30 ctime=1791882995.125611724 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FUP4/out.yaml0000644000175000017500000000002015263373363022052 0ustar00tinatina- a - - b - c YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FUP4/PaxHeaders/in.json0000644000000000000000000000013215263373363022236 xustar0030 mtime=1791882995.068522512 30 atime=1791882995.068427109 30 ctime=1791882995.068522512 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FUP4/in.json0000644000175000017500000000004415263373363021666 0ustar00tinatina[ "a", [ "b", "c" ] ] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FUP4/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022227 xustar0030 mtime=1791882995.068427109 30 atime=1791882995.068331146 30 ctime=1791882995.068427109 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FUP4/in.yaml0000644000175000017500000000001415263373363021654 0ustar00tinatina[a, [b, c]] YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FUP4/PaxHeaders/===0000644000000000000000000000013015263373362021223 xustar0029 mtime=1791882994.99704885 30 atime=1791882994.996886259 29 ctime=1791882994.99704885 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/FUP4/===0000644000175000017500000000003715263373362020657 0ustar00tinatinaFlow Sequence in Flow Sequence YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/PaxHeaders/6JQW0000644000000000000000000000013215263373363020671 xustar0030 mtime=1791882995.150406286 30 atime=1791882994.996681692 30 ctime=1791882995.150406286 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JQW/0000755000175000017500000000000015263373363020400 5ustar00tinatinaYAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JQW/PaxHeaders/test.event0000644000000000000000000000013215263373363022770 xustar0030 mtime=1791882995.150501689 30 atime=1791882995.150406286 30 ctime=1791882995.150501689 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JQW/test.event0000644000175000017500000000007115263373363022420 0ustar00tinatina+STR +DOC --- =VAL |\\//||\\/||\n// || ||__\n -DOC -STR YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JQW/PaxHeaders/out.yaml0000644000000000000000000000013215263373363022441 xustar0030 mtime=1791882995.125515342 30 atime=1791882995.125418542 30 ctime=1791882995.125515342 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JQW/out.yaml0000644000175000017500000000004015263373363022065 0ustar00tinatina--- | \//||\/|| // || ||__ YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JQW/PaxHeaders/in.json0000644000000000000000000000013215263373363022247 xustar0030 mtime=1791882995.068331146 30 atime=1791882995.068234346 30 ctime=1791882995.068331146 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JQW/in.json0000644000175000017500000000003515263373363021677 0ustar00tinatina"\\//||\\/||\n// || ||__\n" YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JQW/PaxHeaders/in.yaml0000644000000000000000000000013215263373363022240 xustar0030 mtime=1791882995.068234346 30 atime=1791882995.068119805 30 ctime=1791882995.068234346 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JQW/in.yaml0000644000175000017500000000005415263373363021671 0ustar00tinatina# ASCII Art --- | \//||\/|| // || ||__ YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JQW/PaxHeaders/===0000644000000000000000000000013215263373362021236 xustar0030 mtime=1791882994.996886259 30 atime=1791882994.996836252 30 ctime=1791882994.996886259 YAML-PP-v0.43.0/test-suite/yaml-test-suite-data/6JQW/===0000644000175000017500000000006715263373362020673 0ustar00tinatinaSpec Example 2.13. In literals, newlines are preserved YAML-PP-v0.43.0/test-suite/PaxHeaders/tag_id.yaml0000644000000000000000000000013115263373362016353 xustar0030 mtime=1791882994.990115178 29 atime=1791882994.99002173 30 ctime=1791882994.990115178 YAML-PP-v0.43.0/test-suite/tag_id.yaml0000644000175000017500000002465215263373362016017 0ustar00tinatina--- 1.3-err: 27NA: 1 2SXE: 1 4GC6: 1 4UYU: 1 6LVF: 1 6VJK: 1 6ZKB: 1 7T8X: 1 82AN: 1 8MK2: 1 9KAX: 1 9WXW: 1 9YRD: 1 BU8L: 1 DWX9: 1 G992: 1 K527: 1 KSS4: 1 LX3P: 1 M5C3: 1 M7A3: 1 M9B4: 1 MJS9: 1 MYW6: 1 Q9WF: 1 TS54: 1 U3XV: 1 W4TN: 1 W5VH: 1 XW4D: 1 1.3-mod: 2LFX: 1 4Q9F: 1 4QFQ: 1 52DL: 1 6WLZ: 1 6WPF: 1 753E: 1 7BMT: 1 93WF: 1 9DXL: 1 9TFX: 1 B3HG: 1 EX5H: 1 EXG3: 1 Q8AD: 1 RZP5: 1 SSW6: 1 T26H: 1 T4YY: 1 T5N4: 1 XV9V: 1 Z67P: 1 alias: 26DV: 1 2SXE: 1 3GZX: 1 6KGN: 1 6M2F: 1 7BUB: 1 C4HZ: 1 CUP7: 1 E76Z: 1 HMQ5: 1 JS2J: 1 LE5A: 1 SR86: 1 SU74: 1 UGM3: 1 V55R: 1 W5VH: 1 X38W: 1 anchor: 3R3P: 1 4JVG: 1 6BFJ: 1 6KGN: 1 7BMT: 1 8XYN: 1 9KAX: 1 BU8L: 1 CN3R: 1 CXX2: 1 F2C7: 1 FTA2: 1 G9HC: 1 GT5M: 1 H7J7: 1 KSS4: 1 PW8X: 1 RZP5: 1 SKE5: 1 SU74: 1 SY6V: 1 U3XV: 1 Y2GN: 1 ZH7C: 1 ZWK4: 1 comment: 5NYZ: 1 5WE3: 1 6HB6: 1 6JQW: 1 735Y: 1 7BMT: 1 7T8X: 1 7TMG: 1 8G76: 1 8XDJ: 1 98YD: 1 9JBA: 1 BF9H: 1 CML9: 1 CVW2: 1 DC7X: 1 DK3J: 1 DWX9: 1 F8F9: 1 GDY7: 1 H2RW: 1 J9HZ: 1 K3WX: 1 L383: 1 P2AD: 1 P94K: 1 Q9WF: 1 QT73: 1 RZP5: 1 S98Z: 1 SU5Z: 1 SYW4: 1 T26H: 1 U3XV: 1 UT92: 1 W42U: 1 X4QW: 1 X8DW: 1 XW4D: 1 complex-key: 4FJ6: 1 6BFJ: 1 LX3P: 1 M5DY: 1 Q9WF: 1 SBG9: 1 V9D5: 1 X38W: 1 directive: 27NA: 1 2LFX: 1 5TYM: 1 6LVF: 1 6WLZ: 1 9HCY: 1 9MMA: 1 9WXW: 1 B63P: 1 BEC7: 1 C4HZ: 1 CC74: 1 EB22: 1 H7TQ: 1 QLJ7: 1 RHX7: 1 SF5V: 1 XLQ9: 1 document: B63P: 1 double: 2LFX: 1 3UYS: 1 4ZYM: 1 55WF: 1 5GBF: 1 5MUD: 1 5TRB: 1 6LVF: 1 6SLA: 1 6WPF: 1 735Y: 1 7LBH: 1 9BXH: 1 9SA2: 1 9TFX: 1 CPZ3: 1 CQ3W: 1 HRE5: 1 JY7Z: 1 N4JP: 1 NAT4: 1 NP9H: 1 Q4CL: 1 Q8AD: 1 QB6E: 1 SU5Z: 1 TL85: 1 U44R: 1 duplicate-key: 2JQS: 1 edge: 2SXE: 1 58MP: 1 AVM7: 1 AZW3: 1 N782: 1 empty: 8G76: 1 98YD: 1 empty-key: 2JQS: 1 6M2F: 1 CFD4: 1 FRK4: 1 NHX8: 1 NKF9: 1 S3PD: 1 error: 236B: 1 2CMS: 1 3HFZ: 1 4EJS: 1 4H7K: 1 4HVU: 1 4JVG: 1 55WF: 1 5LLU: 1 5TRB: 1 5U3A: 1 62EZ: 1 6JTT: 1 6S55: 1 7LBH: 1 7MNF: 1 8XDJ: 1 9C9N: 1 9CWY: 1 9HCY: 1 9JBA: 1 9KBC: 1 9MAG: 1 9MMA: 1 B63P: 1 BD7L: 1 BF9H: 1 BS4K: 1 C2SP: 1 CML9: 1 CQ3W: 1 CTN5: 1 CVW2: 1 CXX2: 1 D49Q: 1 DK4H: 1 DMG6: 1 EB22: 1 EW3V: 1 G7JE: 1 G9HC: 1 GDY7: 1 GT5M: 1 H7J7: 1 HRE5: 1 HU3P: 1 JY7Z: 1 KS4U: 1 LHL4: 1 N4JP: 1 N782: 1 P2EQ: 1 Q4CL: 1 QB6E: 1 QLJ7: 1 RHX7: 1 RXY3: 1 S4GJ: 1 S98Z: 1 SF5V: 1 SR86: 1 SU5Z: 1 SU74: 1 SY6V: 1 T833: 1 TD5N: 1 U44R: 1 U99R: 1 W9L4: 1 X4QW: 1 ZCZ6: 1 ZL4Z: 1 ZVH3: 1 ZXT5: 1 explicit-key: 2XXW: 1 35KP: 1 5WE3: 1 6M2F: 1 6PBE: 1 7W2P: 1 A2M4: 1 CT4Q: 1 DFF7: 1 FRK4: 1 GH63: 1 JTV5: 1 KK5P: 1 L94M: 1 M5DY: 1 PW8X: 1 RR7F: 1 S9E8: 1 V9D5: 1 X8DW: 1 XW4D: 1 ZWK4: 1 flow: 4ABK: 1 4FJ6: 1 4H7K: 1 4RWC: 1 54T7: 1 58MP: 1 5C5M: 1 5KJE: 1 5MUD: 1 5T43: 1 62EZ: 1 652Z: 1 6BFJ: 1 6HB6: 1 6JTT: 1 7TMG: 1 7ZZ5: 1 '87E4': 1 8KB6: 1 8UDB: 1 9BXH: 1 9C9N: 1 9JBA: 1 9MAG: 1 9MMW: 1 9SA2: 1 C2DT: 1 C2SP: 1 CFD4: 1 CML9: 1 CN3R: 1 CT4Q: 1 CTN5: 1 CVW2: 1 D88J: 1 DBG4: 1 DFF7: 1 DHP8: 1 DK4H: 1 EHF6: 1 F3CP: 1 FRK4: 1 FUP4: 1 G5U8: 1 JR7V: 1 K3WX: 1 KS4U: 1 L9U5: 1 LP6E: 1 LQZ7: 1 LX3P: 1 M7NX: 1 MXS3: 1 N782: 1 NJ66: 1 P2EQ: 1 Q5MG: 1 Q88A: 1 Q9WF: 1 QF4Y: 1 R52L: 1 SBG9: 1 T833: 1 UDM2: 1 UDR7: 1 UT92: 1 WZ62: 1 X38W: 1 YJV2: 1 ZF4X: 1 ZK9H: 1 ZXT5: 1 folded: 4Q9F: 1 4QFQ: 1 5BVJ: 1 5LLU: 1 6VJK: 1 735Y: 1 7T8X: 1 93WF: 1 96L6: 1 B3HG: 1 DK3J: 1 F6MC: 1 FP8R: 1 G992: 1 HMK4: 1 K527: 1 K858: 1 M5C3: 1 MJS9: 1 MZX3: 1 P2AD: 1 R4YG: 1 RZP5: 1 S4GJ: 1 S98Z: 1 TS54: 1 X4QW: 1 XW4D: 1 Z67P: 1 footer: 3HFZ: 1 7Z25: 1 9HCY: 1 EB22: 1 HWV9: 1 M7A3: 1 N782: 1 QT73: 1 RTP8: 1 RXY3: 1 S4T7: 1 UT92: 1 W4TN: 1 header: 2LFX: 1 35KP: 1 5TRB: 1 6LVF: 1 6XDY: 1 6ZKB: 1 9DXL: 1 9KBC: 1 CXX2: 1 FTA2: 1 JHB9: 1 K54U: 1 KSS4: 1 N782: 1 P76L: 1 PUW8: 1 RTP8: 1 RZT7: 1 U3C3: 1 U9NS: 1 UT92: 1 W4TN: 1 Z9M4: 1 indent: 4HVU: 1 4WA9: 1 6CA3: 1 6HB6: 1 9C9N: 1 9FMG: 1 9J7A: 1 A2M4: 1 AZ63: 1 BU8L: 1 D83L: 1 DMG6: 1 EW3V: 1 F6MC: 1 FP8R: 1 H7J7: 1 JKF3: 1 M5C3: 1 M6YH: 1 N4JP: 1 QB6E: 1 RLU9: 1 SKE5: 1 U44R: 1 UV7Q: 1 Z67P: 1 ZK9H: 1 ZVH3: 1 libyaml-err: 4QFQ: 1 6BCT: 1 A2M4: 1 R4YG: 1 literal: 4QFQ: 1 4WA9: 1 4ZYM: 1 5BVJ: 1 5GBF: 1 5WE3: 1 6FWR: 1 6JQW: 1 753E: 1 A6F9: 1 D83L: 1 DWX9: 1 F8F9: 1 H2RW: 1 HMK4: 1 K858: 1 M29M: 1 M5C3: 1 M9B4: 1 MYW6: 1 P2AD: 1 R4YG: 1 RZT7: 1 T26H: 1 T5N4: 1 UGM3: 1 W42U: 1 W9L4: 1 XV9V: 1 Z67P: 1 local-tag: 5TYM: 1 6CK3: 1 6WLZ: 1 9WXW: 1 C4HZ: 1 CUP7: 1 M5C3: 1 Z67P: 1 mapping: 229Q: 1 236B: 1 26DV: 1 2CMS: 1 2EBW: 1 2JQS: 1 2SXE: 1 2XXW: 1 35KP: 1 36F6: 1 3GZX: 1 4ABK: 1 4EJS: 1 4FJ6: 1 4JVG: 1 4UYU: 1 54T7: 1 57H4: 1 58MP: 1 5C5M: 1 5MUD: 1 5NYZ: 1 5T43: 1 5U3A: 1 5WE3: 1 62EZ: 1 6BFJ: 1 6JWB: 1 6PBE: 1 6S55: 1 6SLA: 1 74H7: 1 7BMT: 1 7BUB: 1 7FWL: 1 7MNF: 1 7W2P: 1 7ZZ5: 1 '87E4': 1 8CWC: 1 8KB6: 1 8QBE: 1 93JH: 1 9BXH: 1 9CWY: 1 9FMG: 1 9J7A: 1 9KAX: 1 9KBC: 1 9MMW: 1 9SA2: 1 9U5K: 1 AZ63: 1 AZW3: 1 BD7L: 1 C2DT: 1 C2SP: 1 CN3R: 1 CT4Q: 1 CXX2: 1 D49Q: 1 D88J: 1 D9TU: 1 DFF7: 1 DK4H: 1 DMG6: 1 E76Z: 1 EHF6: 1 EW3V: 1 F3CP: 1 FRK4: 1 G7JE: 1 GDY7: 1 GH63: 1 HU3P: 1 J5UC: 1 J7PZ: 1 J7VC: 1 J9HZ: 1 JQ4R: 1 JTV5: 1 JY7Z: 1 K3WX: 1 KK5P: 1 KMK3: 1 L94M: 1 L9U5: 1 LX3P: 1 M5DY: 1 M7NX: 1 MXS3: 1 N4JP: 1 NJ66: 1 NKF9: 1 P2EQ: 1 PBJ2: 1 Q4CL: 1 Q88A: 1 QF4Y: 1 R52L: 1 RR7F: 1 RZP5: 1 RZT7: 1 S3PD: 1 S4T7: 1 S9E8: 1 SBG9: 1 SU74: 1 T833: 1 TE2A: 1 U44R: 1 UDR7: 1 UGM3: 1 V9D5: 1 X8DW: 1 ZCZ6: 1 ZF4X: 1 ZH7C: 1 ZK9H: 1 ZL4Z: 1 ZWK4: 1 ZXT5: 1 scalar: 2EBW: 1 36F6: 1 3MYT: 1 4CQQ: 1 4GC6: 1 4Q9F: 1 4QFQ: 1 4UYU: 1 4V8U: 1 4ZYM: 1 5BVJ: 1 5GBF: 1 5T43: 1 6FWR: 1 6H3V: 1 6JQW: 1 6VJK: 1 6WPF: 1 753E: 1 7A4E: 1 7T8X: 1 82AN: 1 8CWC: 1 8G76: 1 8XDJ: 1 93WF: 1 96L6: 1 9SHH: 1 9TFX: 1 9YRD: 1 A6F9: 1 A984: 1 AB8U: 1 B3HG: 1 BF9H: 1 BS4K: 1 CPZ3: 1 DBG4: 1 DK3J: 1 DWX9: 1 EX5H: 1 EXG3: 1 F8F9: 1 FBC9: 1 FH7J: 1 FP8R: 1 G4RS: 1 G992: 1 H2RW: 1 H3Z8: 1 HS5T: 1 HU3P: 1 JR7V: 1 JTV5: 1 K527: 1 KSS4: 1 LP6E: 1 LQZ7: 1 M29M: 1 M9B4: 1 MJS9: 1 MYW6: 1 MZX3: 1 NAT4: 1 NB6Z: 1 NP9H: 1 P2AD: 1 PRH3: 1 Q8AD: 1 R4YG: 1 S7BG: 1 S98Z: 1 SSW6: 1 SYW4: 1 T26H: 1 T4YY: 1 T5N4: 1 TD5N: 1 TL85: 1 TS54: 1 UDM2: 1 WZ62: 1 XLQ9: 1 XV9V: 1 ZCZ6: 1 sequence: 229Q: 1 2AUY: 1 33X3: 1 3ALJ: 1 3R3P: 1 4FJ6: 1 4H7K: 1 4HVU: 1 57H4: 1 5KJE: 1 5U3A: 1 5WE3: 1 65WH: 1 6BCT: 1 6BFJ: 1 6JTT: 1 6JWB: 1 6PBE: 1 6S55: 1 7BUB: 1 7TMG: 1 7ZZ5: 1 '87E4': 1 8QBE: 1 8UDB: 1 93JH: 1 9C9N: 1 9CWY: 1 9JBA: 1 9MAG: 1 9MMW: 1 9U5K: 1 A2M4: 1 AB8U: 1 AZ63: 1 BD7L: 1 CFD4: 1 CN3R: 1 CTN5: 1 CVW2: 1 D88J: 1 DBG4: 1 DHP8: 1 DK4H: 1 EHF6: 1 F3CP: 1 FQ7F: 1 FTA2: 1 FUP4: 1 G5U8: 1 G9HC: 1 GT5M: 1 J9HZ: 1 JQ4R: 1 K4SU: 1 KK5P: 1 KS4U: 1 LX3P: 1 M5DY: 1 M7NX: 1 MXS3: 1 P2EQ: 1 PBJ2: 1 Q88A: 1 R52L: 1 RLU9: 1 RZT7: 1 S9E8: 1 SBG9: 1 SKE5: 1 SY6V: 1 TD5N: 1 UDR7: 1 UGM3: 1 V55R: 1 W42U: 1 YD5X: 1 YJV2: 1 ZK9H: 1 ZVH3: 1 ZXT5: 1 simple: 9J7A: 1 D9TU: 1 single: 6H3V: 1 6SLA: 1 D49Q: 1 HRE5: 1 NAT4: 1 PRH3: 1 RXY3: 1 SSW6: 1 T4YY: 1 spec: 229Q: 1 27NA: 1 2LFX: 1 2XXW: 1 3GZX: 1 4CQQ: 1 4GC6: 1 4QFQ: 1 4ZYM: 1 5BVJ: 1 5C5M: 1 5GBF: 1 5KJE: 1 5NYZ: 1 5TYM: 1 5WE3: 1 6BCT: 1 6CK3: 1 6HB6: 1 6JQW: 1 6LVF: 1 6VJK: 1 6WLZ: 1 6WPF: 1 6ZKB: 1 735Y: 1 7A4E: 1 7BUB: 1 7FWL: 1 7T8X: 1 '87E4': 1 8G76: 1 8UDB: 1 93WF: 1 96L6: 1 98YD: 1 9DXL: 1 9SHH: 1 9TFX: 1 9U5K: 1 9WXW: 1 A2M4: 1 A6F9: 1 B3HG: 1 BEC7: 1 C2DT: 1 C4HZ: 1 CC74: 1 CT4Q: 1 CUP7: 1 DBG4: 1 DFF7: 1 DWX9: 1 F8F9: 1 FQ7F: 1 FRK4: 1 G4RS: 1 G992: 1 HMK4: 1 HMQ5: 1 HS5T: 1 J3BT: 1 J7PZ: 1 J9HZ: 1 JHB9: 1 JQ4R: 1 JS2J: 1 K527: 1 K858: 1 L9U5: 1 LE5A: 1 LQZ7: 1 M5C3: 1 M5DY: 1 M7A3: 1 M9B4: 1 MJS9: 1 NP9H: 1 P2AD: 1 P76L: 1 P94K: 1 PBJ2: 1 PRH3: 1 Q88A: 1 Q8AD: 1 Q9WF: 1 QF4Y: 1 R4YG: 1 RTP8: 1 RZT7: 1 S3PD: 1 S4JQ: 1 S9E8: 1 SSW6: 1 SYW4: 1 T26H: 1 T4YY: 1 T5N4: 1 TE2A: 1 TL85: 1 U3C3: 1 U9NS: 1 UDR7: 1 UGM3: 1 UT92: 1 V9D5: 1 W42U: 1 W4TN: 1 WZ62: 1 XV9V: 1 YD5X: 1 Z67P: 1 Z9M4: 1 ZF4X: 1 tag: 2AUY: 1 33X3: 1 35KP: 1 52DL: 1 565N: 1 57H4: 1 5TYM: 1 6CK3: 1 6JWB: 1 6WLZ: 1 735Y: 1 74H7: 1 7FWL: 1 8MK2: 1 9HCY: 1 9KAX: 1 9WXW: 1 BU8L: 1 C4HZ: 1 CC74: 1 CUP7: 1 EHF6: 1 F2C7: 1 FH7J: 1 H7J7: 1 HMQ5: 1 J7PZ: 1 L94M: 1 LE5A: 1 LHL4: 1 M5C3: 1 P76L: 1 QLJ7: 1 S4JQ: 1 U3C3: 1 U99R: 1 UGM3: 1 WZ62: 1 Z67P: 1 Z9M4: 1 unknown-tag: 2XXW: 1 565N: 1 7FWL: 1 9HCY: 1 9WXW: 1 CC74: 1 J7PZ: 1 P76L: 1 UGM3: 1 Z9M4: 1 upto-1.2: 4ZYM: 1 5GBF: 1 6BCT: 1 6HB6: 1 7A4E: 1 A2M4: 1 HS5T: 1 J3BT: 1 NP9H: 1 PRH3: 1 R4YG: 1 TL85: 1 whitespace: 26DV: 1 4EJS: 1 4Q9F: 1 4QFQ: 1 4RWC: 1 4ZYM: 1 5GBF: 1 5LLU: 1 6BCT: 1 6CA3: 1 6FWR: 1 6HB6: 1 6WPF: 1 753E: 1 7A4E: 1 8G76: 1 93WF: 1 9TFX: 1 9YRD: 1 A2M4: 1 DC7X: 1 DWX9: 1 EX5H: 1 H2RW: 1 HS5T: 1 J3BT: 1 J7VC: 1 K527: 1 K54U: 1 K858: 1 LP6E: 1 M29M: 1 M9B4: 1 MJS9: 1 MYW6: 1 NAT4: 1 NB6Z: 1 NHX8: 1 NP9H: 1 PRH3: 1 Q5MG: 1 Q8AD: 1 Q9WF: 1 R4YG: 1 S98Z: 1 SU5Z: 1 T26H: 1 T4YY: 1 T5N4: 1 TL85: 1 UV7Q: 1 W9L4: 1 X4QW: 1 YAML-PP-v0.43.0/test-suite/PaxHeaders/README.md0000644000000000000000000000013215263373362015520 xustar0030 mtime=1791882994.986311042 30 atime=1791882994.986154527 30 ctime=1791882994.986311042 YAML-PP-v0.43.0/test-suite/README.md0000644000175000017500000000001615263373362015147 0ustar00tinatina## Test Suite YAML-PP-v0.43.0/PaxHeaders/examples0000644000000000000000000000013215263373362013674 xustar0030 mtime=1791882994.996520428 30 atime=1791882994.982828736 30 ctime=1791882994.996520428 YAML-PP-v0.43.0/examples/0000755000175000017500000000000015263373362013403 5ustar00tinatinaYAML-PP-v0.43.0/examples/PaxHeaders/external-vars-templates0000644000000000000000000000013215263373363020464 xustar0030 mtime=1791882995.050422065 30 atime=1791882994.996520428 30 ctime=1791882995.050422065 YAML-PP-v0.43.0/examples/external-vars-templates/0000755000175000017500000000000015263373363020173 5ustar00tinatinaYAML-PP-v0.43.0/examples/external-vars-templates/PaxHeaders/ext.yaml0000644000000000000000000000013215263373363022225 xustar0030 mtime=1791882995.050520682 30 atime=1791882995.050422065 30 ctime=1791882995.050520682 YAML-PP-v0.43.0/examples/external-vars-templates/ext.yaml0000644000175000017500000000020115263373363021650 0ustar00tinatina--- filename: !external /argv/0 env.LANG: !external /env/LANG argv: !external /argv path: !template "${/config/prefix}/bin/perl" YAML-PP-v0.43.0/examples/external-vars-templates/PaxHeaders/ext.pl0000644000000000000000000000013215263373362021675 xustar0030 mtime=1791882994.996681692 30 atime=1791882994.996520428 30 ctime=1791882994.996681692 YAML-PP-v0.43.0/examples/external-vars-templates/ext.pl0000644000175000017500000000311015263373362021322 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use 5.010; use YAML::PP; use Data::Dumper; my $ypp = YAML::PP->new( schema => ['Failsafe'] ); my ($filename) = @ARGV; my $external_data = { env => \%ENV, argv => \@ARGV, config => { prefix => '/usr/local' }, }; my $schema = $ypp->schema; $schema->add_resolver( tag => "!external", match => [ all => => sub { my ($constructor, $event) = @_; my $value = $event->{value}; path($external_data, $value) }], implicit => 0, ); $schema->add_resolver( tag => "!template", match => [ all => sub { my ($constructor, $event) = @_; my $value = $event->{value}; template($external_data, $value) }], implicit => 0, ); my $data = $ypp->load_file($filename); say $ypp->dump_string($data); # utility functions # turn /env/FOO into $data->{env}->{FOO} sub path { my ($data, $path) = @_; my @paths = split qr{/}, $path; my $replaced = $data; for my $p (@paths) { next unless length $p; if (ref $replaced eq 'ARRAY') { if ($p !~ tr/0-9//c and $p < @$replaced) { $replaced = $replaced->[ $p ]; } else { return; } } elsif (ref $replaced eq 'HASH') { $replaced = $replaced->{ $p }; } last unless defined $replaced; } return $replaced; } # replace ${/some/path} in string with path(...) sub template { my ($data, $string) = @_; $string =~ s<\$\{([\w/]+)\}> eg; return $string; } YAML-PP-v0.43.0/examples/PaxHeaders/yaml-schema-modules.yaml0000644000000000000000000000013215263373362020503 xustar0030 mtime=1791882994.996409589 30 atime=1791882994.996296376 30 ctime=1791882994.996409589 YAML-PP-v0.43.0/examples/yaml-schema-modules.yaml0000644000175000017500000012024615263373362020142 0ustar00tinatina--- '!!bool FALSE': YAML: dump: 'FALSE' type: str YAML::Syck: dump: '''FALSE''' type: str YAML::XS: error: 1 type: error '!!bool False': YAML: dump: 'False' type: str YAML::Syck: dump: '''False''' type: str YAML::XS: error: 1 type: error '!!bool N': YAML: dump: N type: str YAML::Syck: dump: '''N''' type: str YAML::XS: error: 1 type: error '!!bool NO': YAML: dump: NO type: str YAML::Syck: dump: '''NO''' type: str YAML::XS: error: 1 type: error '!!bool OFF': YAML: dump: OFF type: str YAML::Syck: dump: '''OFF''' type: str YAML::XS: error: 1 type: error '!!bool ON': YAML: dump: ON type: str YAML::Syck: dump: '''ON''' type: str YAML::XS: error: 1 type: error '!!bool Off': YAML: dump: Off type: str YAML::Syck: dump: '''Off''' type: str YAML::XS: error: 1 type: error '!!bool On': YAML: dump: On type: str YAML::Syck: dump: '''On''' type: str YAML::XS: error: 1 type: error '!!bool TRUE': YAML: dump: 'TRUE' type: str YAML::Syck: dump: '''TRUE''' type: str YAML::XS: error: 1 type: error '!!bool True': YAML: dump: 'True' type: str YAML::Syck: dump: '''True''' type: str YAML::XS: error: 1 type: error '!!bool Y': YAML: dump: Y type: str YAML::Syck: dump: '''Y''' type: str YAML::XS: error: 1 type: error '!!bool YES': YAML: dump: YES type: str YAML::Syck: dump: '''YES''' type: str YAML::XS: error: 1 type: error '!!bool Yes': YAML: dump: Yes type: str YAML::Syck: dump: '''Yes''' type: str YAML::XS: error: 1 type: error '!!bool false': YAML: dump: 'false' type: str YAML::Syck: dump: '''false''' type: str YAML::XS: error: 1 type: error '!!bool n': YAML: dump: n type: str YAML::Syck: dump: '''n''' type: str YAML::XS: error: 1 type: error '!!bool no': YAML: dump: no type: str YAML::Syck: dump: '''no''' type: str YAML::XS: error: 1 type: error '!!bool off': YAML: dump: off type: str YAML::Syck: dump: '''off''' type: str YAML::XS: error: 1 type: error '!!bool on': YAML: dump: on type: str YAML::Syck: dump: '''on''' type: str YAML::XS: error: 1 type: error '!!bool true': YAML: dump: 'true' type: str YAML::Syck: dump: '''true''' type: str YAML::XS: error: 1 type: error '!!bool y': YAML: dump: y type: str YAML::Syck: dump: '''y''' type: str YAML::XS: error: 1 type: error '!!bool yes': YAML: dump: yes type: str YAML::Syck: dump: '''yes''' type: str YAML::XS: error: 1 type: error '!!float +.INF': YAML: dump: '+.INF' type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!float +.Inf': YAML: dump: '+.Inf' type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!float +.inf': YAML: dump: '+.inf' type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!float +0.3e+3': YAML: dump: '+0.3e+3' type: str YAML::Syck: dump: '''300''' type: float YAML::XS: dump: '+0.3e+3' type: float '!!float +0.3e3': YAML: dump: '+0.3e3' type: str YAML::Syck: dump: '''300''' type: float YAML::XS: dump: '+0.3e3' type: float '!!float -.INF': YAML: dump: '-.INF' type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!float -.Inf': YAML: dump: '-.Inf' type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!float -.inf': YAML: dump: '-.inf' type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!float -3.14': YAML: dump: '-3.14' type: float YAML::Syck: dump: '''-3.14''' type: float YAML::XS: dump: '-3.14' type: float '!!float .0': YAML: dump: '0' type: float YAML::Syck: dump: '''0''' type: float YAML::XS: dump: '.0' type: float '!!float .3E-1': YAML: dump: '0.03' type: float YAML::Syck: dump: '''0.03''' type: float YAML::XS: dump: '.3E-1' type: float '!!float .3e+3': YAML: dump: '300' type: int YAML::Syck: dump: '''300''' type: float YAML::XS: dump: '.3e+3' type: float '!!float .3e3': YAML: dump: '300' type: int YAML::Syck: dump: '''300''' type: float YAML::XS: dump: '.3e3' type: float '!!float .INF': YAML: dump: '.INF' type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!float .Inf': YAML: dump: '.Inf' type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!float .NAN': YAML: dump: '.NAN' type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!float .NaN': YAML: dump: '.NaN' type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!float .inf': YAML: dump: '.inf' type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!float .nan': YAML: dump: '.nan' type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!float 0.0': YAML: dump: '0' type: float YAML::Syck: dump: '''0''' type: float YAML::XS: dump: '0.0' type: float '!!float 0.3e3': YAML: dump: '300' type: int YAML::Syck: dump: '''300''' type: float YAML::XS: dump: '0.3e3' type: float '!!float 001.23': YAML: dump: '001.23' type: str YAML::Syck: dump: '''1.23''' type: float YAML::XS: dump: '001.23' type: float '!!float 190:20:30.15': YAML: dump: 190:20:30.15 type: str YAML::Syck: dump: '''190''' type: float YAML::XS: error: 1 type: error '!!float 3.14': YAML: dump: '3.14' type: float YAML::Syck: dump: '''3.14''' type: float YAML::XS: dump: '3.14' type: float '!!float 3.3e+3': YAML: dump: '3300' type: int YAML::Syck: dump: '''3300''' type: float YAML::XS: dump: '3.3e+3' type: float '!!float 85.230_15e+03': YAML: dump: 85.230_15e+03 type: str YAML::Syck: dump: '''85.23''' type: float YAML::XS: error: 1 type: error '!!float 85_230.15': YAML: dump: 85_230.15 type: str YAML::Syck: dump: '''85''' type: float YAML::XS: error: 1 type: error '!!int +0': YAML: dump: '+0' type: str YAML::Syck: dump: '0' type: int YAML::XS: dump: '+0' type: int '!!int +0100_200': YAML: dump: +0100_200 type: str YAML::Syck: dump: '''100''' type: float YAML::XS: error: 1 type: error '!!int +0b100': YAML: dump: +0b100 type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!int +190:20:30': YAML: dump: +190:20:30 type: str YAML::Syck: dump: '''190''' type: float YAML::XS: error: 1 type: error '!!int +23': YAML: dump: '+23' type: str YAML::Syck: dump: '23' type: int YAML::XS: dump: '+23' type: int '!!int -0': YAML: dump: '0' type: int YAML::Syck: dump: '0' type: int YAML::XS: dump: '-0' type: int '!!int -0100_200': YAML: dump: -0100_200 type: str YAML::Syck: dump: '''-100''' type: float YAML::XS: error: 1 type: error '!!int -0b101': YAML: dump: -0b101 type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!int -0x30': YAML: dump: -0x30 type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!int -190:20:30': YAML: dump: -190:20:30 type: str YAML::Syck: dump: '''-190''' type: float YAML::XS: error: 1 type: error '!!int -23': YAML: dump: '-23' type: int YAML::Syck: dump: '-23' type: int YAML::XS: dump: '-23' type: int '!!int 0': YAML: dump: '0' type: int YAML::Syck: dump: '0' type: int YAML::XS: dump: '0' type: int '!!int 00': YAML: dump: '00' type: str YAML::Syck: dump: '0' type: int YAML::XS: dump: '00' type: int '!!int 0011': YAML: dump: '0011' type: str YAML::Syck: dump: '11' type: int YAML::XS: dump: '0011' type: int '!!int 010': YAML: dump: '010' type: str YAML::Syck: dump: '10' type: int YAML::XS: dump: '010' type: int '!!int 02_0': YAML: dump: 02_0 type: str YAML::Syck: dump: '''2''' type: float YAML::XS: error: 1 type: error '!!int 07': YAML: dump: '07' type: str YAML::Syck: dump: '7' type: int YAML::XS: dump: '07' type: int '!!int 0b0': YAML: dump: 0b0 type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!int 0b100_101': YAML: dump: 0b100_101 type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!int 0o0': YAML: dump: '0o0' type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!int 0o10': YAML: dump: '0o10' type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!int 0o7': YAML: dump: '0o7' type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!int 0x0': YAML: dump: '0x0' type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!int 0x10': YAML: dump: '0x10' type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!int 0x2_0': YAML: dump: 0x2_0 type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!int 0x42': YAML: dump: '0x42' type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!int 0xa': YAML: dump: '0xa' type: str YAML::Syck: dump: '''0''' type: float YAML::XS: error: 1 type: error '!!int 100_000': YAML: dump: 100_000 type: str YAML::Syck: dump: '''100''' type: float YAML::XS: error: 1 type: error '!!int 190:20:30': YAML: dump: 190:20:30 type: str YAML::Syck: dump: '''190''' type: float YAML::XS: error: 1 type: error '!!int 23': YAML: dump: '23' type: int YAML::Syck: dump: '23' type: int YAML::XS: dump: '23' type: int '!!null #empty': YAML: dump: '''#empty''' type: str YAML::Syck: dump: '~' type: 'null' YAML::XS: dump: '~' type: 'null' '!!null NULL': YAML: dump: 'NULL' type: str YAML::Syck: dump: '~' type: 'null' YAML::XS: error: 1 type: error '!!null Null': YAML: dump: 'Null' type: str YAML::Syck: dump: '~' type: 'null' YAML::XS: error: 1 type: error '!!null null': YAML: dump: 'null' type: str YAML::Syck: dump: '~' type: 'null' YAML::XS: dump: '~' type: 'null' '!!null ~': YAML: dump: '''~''' type: str YAML::Syck: dump: '~' type: 'null' YAML::XS: dump: '~' type: 'null' '!!str #empty': YAML: dump: '''#empty''' type: str YAML::Syck: dump: '''''' type: str YAML::XS: dump: '''''' type: str '!!str +.INF': YAML: dump: '+.INF' type: str YAML::Syck: dump: '+.INF' type: str YAML::XS: dump: '+.INF' type: str '!!str +.Inf': YAML: dump: '+.Inf' type: str YAML::Syck: dump: '+.Inf' type: str YAML::XS: dump: '+.Inf' type: str '!!str +.inf': YAML: dump: '+.inf' type: str YAML::Syck: dump: '+.inf' type: str YAML::XS: dump: '+.inf' type: str '!!str +0': YAML: dump: '+0' type: str YAML::Syck: dump: '+0' type: str YAML::XS: dump: '''+0''' type: str '!!str +0.3e+3': YAML: dump: '+0.3e+3' type: str YAML::Syck: dump: '''+0.3e+3''' type: str YAML::XS: dump: '''+0.3e+3''' type: str '!!str +0.3e3': YAML: dump: '+0.3e3' type: str YAML::Syck: dump: '''+0.3e3''' type: str YAML::XS: dump: '''+0.3e3''' type: str '!!str +0100_200': YAML: dump: +0100_200 type: str YAML::Syck: dump: +0100_200 type: str YAML::XS: dump: +0100_200 type: str '!!str +0b100': YAML: dump: +0b100 type: str YAML::Syck: dump: +0b100 type: str YAML::XS: dump: +0b100 type: str '!!str +190:20:30': YAML: dump: +190:20:30 type: str YAML::Syck: dump: +190:20:30 type: str YAML::XS: dump: +190:20:30 type: str '!!str +23': YAML: dump: '+23' type: str YAML::Syck: dump: '+23' type: str YAML::XS: dump: '''+23''' type: str '!!str -.INF': YAML: dump: '-.INF' type: str YAML::Syck: dump: '-.INF' type: str YAML::XS: dump: '-.INF' type: str '!!str -.Inf': YAML: dump: '-.Inf' type: str YAML::Syck: dump: '-.Inf' type: str YAML::XS: dump: '-.Inf' type: str '!!str -.inf': YAML: dump: '-.inf' type: str YAML::Syck: dump: '-.inf' type: str YAML::XS: dump: '-.inf' type: str '!!str -0': YAML: dump: '0' type: int YAML::Syck: dump: '''-0''' type: str YAML::XS: dump: '''-0''' type: str '!!str -0100_200': YAML: dump: -0100_200 type: str YAML::Syck: dump: -0100_200 type: str YAML::XS: dump: -0100_200 type: str '!!str -0b101': YAML: dump: -0b101 type: str YAML::Syck: dump: -0b101 type: str YAML::XS: dump: -0b101 type: str '!!str -0x30': YAML: dump: -0x30 type: str YAML::Syck: dump: -0x30 type: str YAML::XS: dump: -0x30 type: str '!!str -190:20:30': YAML: dump: -190:20:30 type: str YAML::Syck: dump: -190:20:30 type: str YAML::XS: dump: -190:20:30 type: str '!!str -23': YAML: dump: '-23' type: int YAML::Syck: dump: '-23' type: str YAML::XS: dump: '''-23''' type: str '!!str -3.14': YAML: dump: '-3.14' type: float YAML::Syck: dump: '''-3.14''' type: str YAML::XS: dump: '''-3.14''' type: str '!!str .0': YAML: dump: '0' type: float YAML::Syck: dump: '.0' type: str YAML::XS: dump: '''.0''' type: str '!!str .3E-1': YAML: dump: '0.03' type: float YAML::Syck: dump: '''.3E-1''' type: str YAML::XS: dump: '''.3E-1''' type: str '!!str .3e+3': YAML: dump: '300' type: int YAML::Syck: dump: '''.3e+3''' type: str YAML::XS: dump: '''.3e+3''' type: str '!!str .3e3': YAML: dump: '300' type: int YAML::Syck: dump: '''.3e3''' type: str YAML::XS: dump: '''.3e3''' type: str '!!str .INF': YAML: dump: '.INF' type: str YAML::Syck: dump: '.INF' type: str YAML::XS: dump: '.INF' type: str '!!str .Inf': YAML: dump: '.Inf' type: str YAML::Syck: dump: '.Inf' type: str YAML::XS: dump: '.Inf' type: str '!!str .NAN': YAML: dump: '.NAN' type: str YAML::Syck: dump: '.NAN' type: str YAML::XS: dump: '.NAN' type: str '!!str .NaN': YAML: dump: '.NaN' type: str YAML::Syck: dump: '.NaN' type: str YAML::XS: dump: '.NaN' type: str '!!str .inf': YAML: dump: '.inf' type: str YAML::Syck: dump: '.inf' type: str YAML::XS: dump: '.inf' type: str '!!str .nan': YAML: dump: '.nan' type: str YAML::Syck: dump: '.nan' type: str YAML::XS: dump: '.nan' type: str '!!str 0': YAML: dump: '0' type: int YAML::Syck: dump: '0' type: str YAML::XS: dump: '''0''' type: str '!!str 0.0': YAML: dump: '0' type: float YAML::Syck: dump: '''0.0''' type: str YAML::XS: dump: '''0.0''' type: str '!!str 0.3e3': YAML: dump: '300' type: int YAML::Syck: dump: '''0.3e3''' type: str YAML::XS: dump: '''0.3e3''' type: str '!!str 00': YAML: dump: '00' type: str YAML::Syck: dump: '''00''' type: str YAML::XS: dump: '''00''' type: str '!!str 001.23': YAML: dump: '001.23' type: str YAML::Syck: dump: '''001.23''' type: str YAML::XS: dump: '''001.23''' type: str '!!str 0011': YAML: dump: '0011' type: str YAML::Syck: dump: '''0011''' type: str YAML::XS: dump: '''0011''' type: str '!!str 010': YAML: dump: '010' type: str YAML::Syck: dump: '''010''' type: str YAML::XS: dump: '''010''' type: str '!!str 02_0': YAML: dump: 02_0 type: str YAML::Syck: dump: 02_0 type: str YAML::XS: dump: 02_0 type: str '!!str 07': YAML: dump: '07' type: str YAML::Syck: dump: '''07''' type: str YAML::XS: dump: '''07''' type: str '!!str 0b0': YAML: dump: 0b0 type: str YAML::Syck: dump: 0b0 type: str YAML::XS: dump: 0b0 type: str '!!str 0b100_101': YAML: dump: 0b100_101 type: str YAML::Syck: dump: 0b100_101 type: str YAML::XS: dump: 0b100_101 type: str '!!str 0o0': YAML: dump: '0o0' type: str YAML::Syck: dump: '0o0' type: str YAML::XS: dump: '0o0' type: str '!!str 0o10': YAML: dump: '0o10' type: str YAML::Syck: dump: '0o10' type: str YAML::XS: dump: '0o10' type: str '!!str 0o7': YAML: dump: '0o7' type: str YAML::Syck: dump: '0o7' type: str YAML::XS: dump: '0o7' type: str '!!str 0x0': YAML: dump: '0x0' type: str YAML::Syck: dump: '0x0' type: str YAML::XS: dump: '0x0' type: str '!!str 0x2_0': YAML: dump: 0x2_0 type: str YAML::Syck: dump: 0x2_0 type: str YAML::XS: dump: 0x2_0 type: str '!!str 0xa': YAML: dump: '0xa' type: str YAML::Syck: dump: '0xa' type: str YAML::XS: dump: '0xa' type: str '!!str 100_000': YAML: dump: 100_000 type: str YAML::Syck: dump: 100_000 type: str YAML::XS: dump: 100_000 type: str '!!str 190:20:30': YAML: dump: 190:20:30 type: str YAML::Syck: dump: 190:20:30 type: str YAML::XS: dump: 190:20:30 type: str '!!str 190:20:30.15': YAML: dump: 190:20:30.15 type: str YAML::Syck: dump: 190:20:30.15 type: str YAML::XS: dump: 190:20:30.15 type: str '!!str 23': YAML: dump: '23' type: int YAML::Syck: dump: '23' type: str YAML::XS: dump: '''23''' type: str '!!str 3.14': YAML: dump: '3.14' type: float YAML::Syck: dump: '''3.14''' type: str YAML::XS: dump: '''3.14''' type: str '!!str 3.3e+3': YAML: dump: '3300' type: int YAML::Syck: dump: '''3.3e+3''' type: str YAML::XS: dump: '''3.3e+3''' type: str '!!str 85.230_15e+03': YAML: dump: 85.230_15e+03 type: str YAML::Syck: dump: 85.230_15e+03 type: str YAML::XS: dump: 85.230_15e+03 type: str '!!str 85_230.15': YAML: dump: 85_230.15 type: str YAML::Syck: dump: 85_230.15 type: str YAML::XS: dump: 85_230.15 type: str '!!str FALSE': YAML: dump: 'FALSE' type: str YAML::Syck: dump: '''FALSE''' type: str YAML::XS: dump: 'FALSE' type: str '!!str False': YAML: dump: 'False' type: str YAML::Syck: dump: '''False''' type: str YAML::XS: dump: 'False' type: str '!!str N': YAML: dump: N type: str YAML::Syck: dump: '''N''' type: str YAML::XS: dump: N type: str '!!str NO': YAML: dump: NO type: str YAML::Syck: dump: '''NO''' type: str YAML::XS: dump: NO type: str '!!str NULL': YAML: dump: 'NULL' type: str YAML::Syck: dump: '''NULL''' type: str YAML::XS: dump: 'NULL' type: str '!!str Null': YAML: dump: 'Null' type: str YAML::Syck: dump: '''Null''' type: str YAML::XS: dump: 'Null' type: str '!!str OFF': YAML: dump: OFF type: str YAML::Syck: dump: '''OFF''' type: str YAML::XS: dump: OFF type: str '!!str ON': YAML: dump: ON type: str YAML::Syck: dump: '''ON''' type: str YAML::XS: dump: ON type: str '!!str Off': YAML: dump: Off type: str YAML::Syck: dump: '''Off''' type: str YAML::XS: dump: Off type: str '!!str On': YAML: dump: On type: str YAML::Syck: dump: '''On''' type: str YAML::XS: dump: On type: str '!!str TRUE': YAML: dump: 'TRUE' type: str YAML::Syck: dump: '''TRUE''' type: str YAML::XS: dump: 'TRUE' type: str '!!str True': YAML: dump: 'True' type: str YAML::Syck: dump: '''True''' type: str YAML::XS: dump: 'True' type: str '!!str Y': YAML: dump: Y type: str YAML::Syck: dump: '''Y''' type: str YAML::XS: dump: Y type: str '!!str YES': YAML: dump: YES type: str YAML::Syck: dump: '''YES''' type: str YAML::XS: dump: YES type: str '!!str Yes': YAML: dump: Yes type: str YAML::Syck: dump: '''Yes''' type: str YAML::XS: dump: Yes type: str '!!str false': YAML: dump: 'false' type: str YAML::Syck: dump: '''false''' type: str YAML::XS: dump: '''false''' type: str '!!str n': YAML: dump: n type: str YAML::Syck: dump: '''n''' type: str YAML::XS: dump: n type: str '!!str no': YAML: dump: no type: str YAML::Syck: dump: '''no''' type: str YAML::XS: dump: no type: str '!!str null': YAML: dump: 'null' type: str YAML::Syck: dump: '''null''' type: str YAML::XS: dump: '''null''' type: str '!!str off': YAML: dump: off type: str YAML::Syck: dump: '''off''' type: str YAML::XS: dump: off type: str '!!str on': YAML: dump: on type: str YAML::Syck: dump: '''on''' type: str YAML::XS: dump: on type: str '!!str true': YAML: dump: 'true' type: str YAML::Syck: dump: '''true''' type: str YAML::XS: dump: '''true''' type: str '!!str y': YAML: dump: y type: str YAML::Syck: dump: '''y''' type: str YAML::XS: dump: y type: str '!!str yes': YAML: dump: yes type: str YAML::Syck: dump: '''yes''' type: str YAML::XS: dump: yes type: str '!!str ~': YAML: dump: '''~''' type: str YAML::Syck: dump: '''~''' type: str YAML::XS: dump: '''~''' type: str '" "': YAML: dump: ''' ''' type: str YAML::Syck: dump: '" "' type: str YAML::XS: dump: ''' ''' type: str '"!string"': YAML: dump: '''!string''' type: str YAML::Syck: dump: '"!string"' type: str YAML::XS: dump: '''!string''' type: str '"# "': YAML: dump: '''# ''' type: str YAML::Syck: dump: '"# "' type: str YAML::XS: dump: '''# ''' type: str '"#"': YAML: dump: '''#''' type: str YAML::Syck: dump: '"#"' type: str YAML::XS: dump: '''#''' type: str '"%percent"': YAML: dump: '''%percent''' type: str YAML::Syck: dump: '"%percent"' type: str YAML::XS: dump: '''%percent''' type: str '"''"': YAML: dump: '"''"' type: str YAML::Syck: dump: '"''"' type: str YAML::XS: dump: '''''''''' type: str '"*string"': YAML: dump: '''*string''' type: str YAML::Syck: dump: '"*string"' type: str YAML::XS: dump: '''*string''' type: str '","': YAML: dump: ''',''' type: str YAML::Syck: dump: '","' type: str YAML::XS: dump: ''',''' type: str '"- "': YAML: dump: '''- ''' type: str YAML::Syck: dump: '"- "' type: str YAML::XS: dump: '''- ''' type: str '"- a"': YAML: dump: '''- a''' type: str YAML::Syck: dump: '"- a"' type: str YAML::XS: dump: '''- a''' type: str '"-"': YAML: dump: '''-''' type: str YAML::Syck: dump: '"-"' type: str YAML::XS: dump: '''-''' type: str '"-\n"': YAML: dump: '"-\n"' type: str YAML::Syck: dump: '"-\n"' type: str YAML::XS: dump: |- '- ' type: str '"-\t"': YAML: dump: "'-\t'" type: str YAML::Syck: dump: '"-\t"' type: str YAML::XS: dump: '"-\t"' type: str '":"': YAML: dump: ''':''' type: str YAML::Syck: dump: '":"' type: str YAML::XS: dump: ''':''' type: str '">"': YAML: dump: '''>''' type: str YAML::Syck: dump: '">"' type: str YAML::XS: dump: '''>''' type: str '"? "': YAML: dump: '''? ''' type: str YAML::Syck: dump: '"? "' type: str YAML::XS: dump: '''? ''' type: str '"? a"': YAML: dump: '''? a''' type: str YAML::Syck: dump: '"? a"' type: str YAML::XS: dump: '''? a''' type: str '"?"': YAML: dump: '''?''' type: str YAML::Syck: dump: '"?"' type: str YAML::XS: dump: '''?''' type: str '"@array"': YAML: dump: '''@array''' type: str YAML::Syck: dump: '"@array"' type: str YAML::XS: dump: '''@array''' type: str '"["': YAML: dump: '''[''' type: str YAML::Syck: dump: '"["' type: str YAML::XS: dump: '''[''' type: str '"\""': YAML: dump: '''"''' type: str YAML::Syck: dump: '"\""' type: str YAML::XS: dump: '''"''' type: str '"]"': YAML: dump: ''']''' type: str YAML::Syck: dump: '"]"' type: str YAML::XS: dump: ''']''' type: str '"`cmd`"': YAML: dump: '''`cmd`''' type: str YAML::Syck: dump: '"`cmd`"' type: str YAML::XS: dump: '''`cmd`''' type: str '"foo\nbar"': YAML: dump: '"foo\nbar"' type: str YAML::Syck: dump: '"foo\nbar"' type: str YAML::XS: dump: '"foo\nbar"' type: str '"key: val"': YAML: dump: '''key: val''' type: str YAML::Syck: dump: '"key: val"' type: str YAML::XS: dump: '''key: val''' type: str '"no #comment"': YAML: dump: '''no #comment''' type: str YAML::Syck: dump: '"no #comment"' type: str YAML::XS: dump: '''no #comment''' type: str '"no comment #"': YAML: dump: '''no comment #''' type: str YAML::Syck: dump: '"no comment #"' type: str YAML::XS: dump: '''no comment #''' type: str '"no comment#"': YAML: dump: no comment# type: str YAML::Syck: dump: no comment# type: str YAML::XS: dump: no comment# type: str '"string "': YAML: dump: '''string ''' type: str YAML::Syck: dump: '"string "' type: str YAML::XS: dump: '''string ''' type: str '"string:"': YAML: dump: '''string:''' type: str YAML::Syck: dump: '"string:"' type: str YAML::XS: dump: '''string:''' type: str '"string\r"': YAML: dump: '"string\r"' type: str YAML::Syck: dump: "string\r" type: str YAML::XS: dump: '"string\r"' type: str '"string\t"': YAML: dump: "'string\t'" type: str YAML::Syck: dump: '"string\t"' type: str YAML::XS: dump: '"string\t"' type: str '"x\n\"y\\z"': YAML: dump: '"x\n\"y\\z"' type: str YAML::Syck: dump: '"x\n\"y\\z"' type: str YAML::XS: dump: '"x\n\"y\\z"' type: str '"{"': YAML: dump: '''{''' type: str YAML::Syck: dump: '"{"' type: str YAML::XS: dump: '''{''' type: str '"|"': YAML: dump: '''|''' type: str YAML::Syck: dump: '"|"' type: str YAML::XS: dump: '''|''' type: str '"}"': YAML: dump: '''}''' type: str YAML::Syck: dump: '"}"' type: str YAML::XS: dump: '''}''' type: str '#empty': YAML: dump: '''''' type: str YAML::Syck: dump: '~' type: 'null' YAML::XS: dump: '~' type: 'null' '+.INF': YAML: dump: '+.INF' type: str YAML::Syck: dump: '''Inf''' type: inf YAML::XS: dump: '+.INF' type: str '+.Inf': YAML: dump: '+.Inf' type: str YAML::Syck: dump: '''Inf''' type: inf YAML::XS: dump: '+.Inf' type: str '+.inf': YAML: dump: '+.inf' type: str YAML::Syck: dump: '''Inf''' type: inf YAML::XS: dump: '+.inf' type: str '+0': YAML: dump: '+0' type: str YAML::Syck: dump: '0' type: int YAML::XS: dump: '+0' type: int '+0.3e+3': YAML: dump: '+0.3e+3' type: str YAML::Syck: dump: '''300''' type: float YAML::XS: dump: '+0.3e+3' type: float '+0.3e3': YAML: dump: '+0.3e3' type: str YAML::Syck: dump: '''+0.3e3''' type: str YAML::XS: dump: '+0.3e3' type: float +0100_200: YAML: dump: +0100_200 type: str YAML::Syck: dump: +0100_200 type: str YAML::XS: dump: +0100_200 type: str +0b100: YAML: dump: +0b100 type: str YAML::Syck: dump: +0b100 type: str YAML::XS: dump: +0b100 type: str +190:20:30: YAML: dump: +190:20:30 type: str YAML::Syck: dump: '685230' type: int YAML::XS: dump: +190:20:30 type: str '+23': YAML: dump: '+23' type: str YAML::Syck: dump: '23' type: int YAML::XS: dump: '+23' type: int '+3.14': YAML: dump: '+3.14' type: str YAML::Syck: dump: '''3.14''' type: float YAML::XS: dump: '+3.14' type: float '-.INF': YAML: dump: '-.INF' type: str YAML::Syck: dump: '''-Inf''' type: inf YAML::XS: dump: '-.INF' type: str '-.Inf': YAML: dump: '-.Inf' type: str YAML::Syck: dump: '''-Inf''' type: inf YAML::XS: dump: '-.Inf' type: str '-.inf': YAML: dump: '-.inf' type: str YAML::Syck: dump: '''-Inf''' type: inf YAML::XS: dump: '-.inf' type: str '-0': YAML: dump: '0' type: int YAML::Syck: dump: '0' type: int YAML::XS: dump: '-0' type: int -0100_200: YAML: dump: -0100_200 type: str YAML::Syck: dump: -0100_200 type: str YAML::XS: dump: -0100_200 type: str -0b101: YAML: dump: -0b101 type: str YAML::Syck: dump: -0b101 type: str YAML::XS: dump: -0b101 type: str -0x30: YAML: dump: -0x30 type: str YAML::Syck: dump: '0' type: int YAML::XS: dump: -0x30 type: str -190:20:30: YAML: dump: -190:20:30 type: str YAML::Syck: dump: '''18446744073708868846''' type: int YAML::XS: dump: -190:20:30 type: str '-23': YAML: dump: '-23' type: int YAML::Syck: dump: '-23' type: int YAML::XS: dump: '-23' type: int '-3.14': YAML: dump: '-3.14' type: float YAML::Syck: dump: '''-3.14''' type: float YAML::XS: dump: '-3.14' type: float '.0': YAML: dump: '0' type: float YAML::Syck: dump: '.0' type: str YAML::XS: dump: '.0' type: float '.14': YAML: dump: '0.14' type: float YAML::Syck: dump: '.14' type: str YAML::XS: dump: '.14' type: float '.3E-1': YAML: dump: '0.03' type: float YAML::Syck: dump: '''.3E-1''' type: str YAML::XS: dump: '.3E-1' type: float '.3e+3': YAML: dump: '300' type: int YAML::Syck: dump: '''.3e+3''' type: str YAML::XS: dump: '.3e+3' type: float '.3e3': YAML: dump: '300' type: int YAML::Syck: dump: '''.3e3''' type: str YAML::XS: dump: '.3e3' type: float '.INF': YAML: dump: '.INF' type: str YAML::Syck: dump: '''Inf''' type: inf YAML::XS: dump: '.INF' type: str '.Inf': YAML: dump: '.Inf' type: str YAML::Syck: dump: '''Inf''' type: inf YAML::XS: dump: '.Inf' type: str '.NAN': YAML: dump: '.NAN' type: str YAML::Syck: dump: '''NaN''' type: nan YAML::XS: dump: '.NAN' type: str '.NaN': YAML: dump: '.NaN' type: str YAML::Syck: dump: '''NaN''' type: nan YAML::XS: dump: '.NaN' type: str '.inf': YAML: dump: '.inf' type: str YAML::Syck: dump: '''Inf''' type: inf YAML::XS: dump: '.inf' type: str '.nan': YAML: dump: '.nan' type: str YAML::Syck: dump: '''NaN''' type: nan YAML::XS: dump: '.nan' type: str '0': YAML: dump: '0' type: int YAML::Syck: dump: '0' type: int YAML::XS: dump: '0' type: int '0.0': YAML: dump: '0' type: float YAML::Syck: dump: '''0''' type: float YAML::XS: dump: '0.0' type: float '0.3e3': YAML: dump: '300' type: int YAML::Syck: dump: '''0.3e3''' type: str YAML::XS: dump: '0.3e3' type: float '00': YAML: dump: '00' type: str YAML::Syck: dump: '0' type: int YAML::XS: dump: '00' type: int '001.23': YAML: dump: '001.23' type: str YAML::Syck: dump: '''1.23''' type: float YAML::XS: dump: '001.23' type: float '0011': YAML: dump: '0011' type: str YAML::Syck: dump: '9' type: int YAML::XS: dump: '0011' type: int '010': YAML: dump: '010' type: str YAML::Syck: dump: '8' type: int YAML::XS: dump: '010' type: int 02_0: YAML: dump: 02_0 type: str YAML::Syck: dump: 02_0 type: str YAML::XS: dump: 02_0 type: str '07': YAML: dump: '07' type: str YAML::Syck: dump: '7' type: int YAML::XS: dump: '07' type: int '08': YAML: dump: '08' type: str YAML::Syck: dump: '''08''' type: str YAML::XS: dump: '08' type: int 0b0: YAML: dump: 0b0 type: str YAML::Syck: dump: 0b0 type: str YAML::XS: dump: 0b0 type: str 0b100_101: YAML: dump: 0b100_101 type: str YAML::Syck: dump: 0b100_101 type: str YAML::XS: dump: 0b100_101 type: str '0o0': YAML: dump: '0o0' type: str YAML::Syck: dump: '0o0' type: str YAML::XS: dump: '0o0' type: str '0o10': YAML: dump: '0o10' type: str YAML::Syck: dump: '0o10' type: str YAML::XS: dump: '0o10' type: str '0o7': YAML: dump: '0o7' type: str YAML::Syck: dump: '0o7' type: str YAML::XS: dump: '0o7' type: str '0x0': YAML: dump: '0x0' type: str YAML::Syck: dump: '0' type: int YAML::XS: dump: '0x0' type: str '0x10': YAML: dump: '0x10' type: str YAML::Syck: dump: '16' type: int YAML::XS: dump: '0x10' type: str 0x2_0: YAML: dump: 0x2_0 type: str YAML::Syck: dump: 0x2_0 type: str YAML::XS: dump: 0x2_0 type: str '0x42': YAML: dump: '0x42' type: str YAML::Syck: dump: '66' type: int YAML::XS: dump: '0x42' type: str '0xa': YAML: dump: '0xa' type: str YAML::Syck: dump: '10' type: int YAML::XS: dump: '0xa' type: str 100_000: YAML: dump: 100_000 type: str YAML::Syck: dump: 100_000 type: str YAML::XS: dump: 100_000 type: str 190:20:30: YAML: dump: 190:20:30 type: str YAML::Syck: dump: '685230' type: int YAML::XS: dump: 190:20:30 type: str 190:20:30.15: YAML: dump: 190:20:30.15 type: str YAML::Syck: dump: '''685230.15''' type: float YAML::XS: dump: 190:20:30.15 type: str '23': YAML: dump: '23' type: int YAML::Syck: dump: '23' type: int YAML::XS: dump: '23' type: int '3.14': YAML: dump: '3.14' type: float YAML::Syck: dump: '''3.14''' type: float YAML::XS: dump: '3.14' type: float '3.3e+3': YAML: dump: '3300' type: int YAML::Syck: dump: '''3300''' type: float YAML::XS: dump: '3.3e+3' type: float '3e3': YAML: dump: '3000' type: int YAML::Syck: dump: '''3e3''' type: str YAML::XS: dump: '3e3' type: float 85.230_15e+03: YAML: dump: 85.230_15e+03 type: str YAML::Syck: dump: 85.230_15e+03 type: str YAML::XS: dump: 85.230_15e+03 type: str 85_230.15: YAML: dump: 85_230.15 type: str YAML::Syck: dump: 85_230.15 type: str YAML::XS: dump: 85_230.15 type: str 'FALSE': YAML: dump: 'FALSE' type: str YAML::Syck: dump: '''''' type: float YAML::XS: dump: 'FALSE' type: str 'False': YAML: dump: 'False' type: str YAML::Syck: dump: '''''' type: float YAML::XS: dump: 'False' type: str N: YAML: dump: N type: str YAML::Syck: dump: '''''' type: float YAML::XS: dump: N type: str NO: YAML: dump: NO type: str YAML::Syck: dump: '''''' type: float YAML::XS: dump: NO type: str 'NULL': YAML: dump: 'NULL' type: str YAML::Syck: dump: '~' type: 'null' YAML::XS: dump: 'NULL' type: str 'Null': YAML: dump: 'Null' type: str YAML::Syck: dump: '~' type: 'null' YAML::XS: dump: 'Null' type: str OFF: YAML: dump: OFF type: str YAML::Syck: dump: '''''' type: float YAML::XS: dump: OFF type: str ON: YAML: dump: ON type: str YAML::Syck: dump: '1' type: float YAML::XS: dump: ON type: str Off: YAML: dump: Off type: str YAML::Syck: dump: '''''' type: float YAML::XS: dump: Off type: str On: YAML: dump: On type: str YAML::Syck: dump: '1' type: float YAML::XS: dump: On type: str 'TRUE': YAML: dump: 'TRUE' type: str YAML::Syck: dump: '1' type: float YAML::XS: dump: 'TRUE' type: str 'True': YAML: dump: 'True' type: str YAML::Syck: dump: '1' type: float YAML::XS: dump: 'True' type: str Y: YAML: dump: Y type: str YAML::Syck: dump: '1' type: float YAML::XS: dump: Y type: str YES: YAML: dump: YES type: str YAML::Syck: dump: '1' type: float YAML::XS: dump: YES type: str Yes: YAML: dump: Yes type: str YAML::Syck: dump: '1' type: float YAML::XS: dump: Yes type: str ^string: YAML: dump: '''^string''' type: str YAML::Syck: dump: '"^string"' type: str YAML::XS: dump: ^string type: str 'false': YAML: dump: 'false' type: str YAML::Syck: dump: '''''' type: float YAML::XS: dump: 'false' type: bool foo\bar: YAML: dump: foo\bar type: str YAML::Syck: dump: foo\bar type: str YAML::XS: dump: foo\bar type: str n: YAML: dump: n type: str YAML::Syck: dump: '''''' type: float YAML::XS: dump: n type: str no: YAML: dump: no type: str YAML::Syck: dump: '''''' type: float YAML::XS: dump: no type: str 'null': YAML: dump: 'null' type: str YAML::Syck: dump: '~' type: 'null' YAML::XS: dump: '~' type: 'null' off: YAML: dump: off type: str YAML::Syck: dump: '''''' type: float YAML::XS: dump: off type: str on: YAML: dump: on type: str YAML::Syck: dump: '1' type: float YAML::XS: dump: on type: str str"ing: YAML: dump: str"ing type: str YAML::Syck: dump: str"ing type: str YAML::XS: dump: str"ing type: str 'true': YAML: dump: 'true' type: str YAML::Syck: dump: '1' type: float YAML::XS: dump: 'true' type: bool y: YAML: dump: y type: str YAML::Syck: dump: '1' type: float YAML::XS: dump: y type: str yes: YAML: dump: yes type: str YAML::Syck: dump: '1' type: float YAML::XS: dump: yes type: str '~': YAML: dump: '~' type: 'null' YAML::Syck: dump: '~' type: 'null' YAML::XS: dump: '~' type: 'null' YAML-PP-v0.43.0/examples/PaxHeaders/schema-ixhash.pm0000644000000000000000000000013215263373362017031 xustar0030 mtime=1791882994.993567452 30 atime=1791882994.993474982 30 ctime=1791882994.993567452 YAML-PP-v0.43.0/examples/schema-ixhash.pm0000644000175000017500000000205115263373362016461 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; ### TEST DATA ### my %tests = ( ### - Ordered Hashref (Tie::IxHash) order => [ <<'EOM', tie(my %order, 'Tie::IxHash'); %order = ( U => 2, B => 52, c => 64, 19 => 84, Disco => 2000, Year => 2525, days_on_earth => 20_000, ); \%order; EOM <<'EOM', --- - &1 U: 2 B: 52 c: 64 19: 84 Disco: 2000 Year: 2525 days_on_earth: 20000 - *1 EOM ], ### - Blessed Ordered Hashref order_blessed => [ <<'EOM', tie(my %order, 'Tie::IxHash'); %order = ( U => 2, B => 52, c => 64, 19 => 84, Disco => 2000, Year => 2525, days_on_earth => 20_000, ); bless \%order, 'Order'; EOM <<'EOM', --- - &1 !perl/hash:Order U: 2 B: 52 c: 64 19: 84 Disco: 2000 Year: 2525 days_on_earth: 20000 - *1 EOM ], ); ### TEST DATA END ### \%tests; YAML-PP-v0.43.0/examples/PaxHeaders/schema-perl.pm0000644000000000000000000000013215263373362016507 xustar0030 mtime=1791882994.992237667 30 atime=1791882994.992114187 30 ctime=1791882994.992237667 YAML-PP-v0.43.0/examples/schema-perl.pm0000644000175000017500000000543315263373362016146 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; my %tests = ( hash => [ <<'EOM', { U => 2, B => 52, } EOM <<'EOM', --- - &1 !perl/hash B: 52 U: 2 - *1 EOM { load_only => 1 }, ], hash_blessed => [ <<'EOM', bless { U => 2, B => 52, }, 'A::Very::Exclusive::Class' EOM <<'EOM', --- - &1 !perl/hash:A::Very::Exclusive::Class B: 52 U: 2 - *1 EOM ], array => [ <<'EOM', [ qw/ one two three four / ] EOM <<'EOM', --- - &1 !perl/array - one - two - three - four - *1 EOM { load_only => 1 }, ], array_blessed => [ <<'EOM', bless [ qw/ one two three four / ], "Just::An::Arrayref" EOM <<'EOM', --- - &1 !perl/array:Just::An::Arrayref - one - two - three - four - *1 EOM ], regexp => [ <<'EOM', my $string = 'unblessed'; qr{$string} EOM <<"EOM", --- - &1 !perl/regexp unblessed - *1 EOM ], regexp_blessed => [ <<'EOM', my $string = 'blessed'; bless qr{$string}, "Foo" EOM <<"EOM", --- - &1 !perl/regexp:Foo blessed - *1 EOM ], circular => [ <<'EOM', my $circle = bless [ 1, 2 ], 'Circle'; push @$circle, $circle; $circle; EOM <<'EOM', --- - &1 !perl/array:Circle - 1 - 2 - *1 - *1 EOM ], coderef => [ <<'EOM', sub { my (%args) = @_; return $args{x} + $args{y}; } EOM qr{- &1 !{1,2}perl/code \|-.*return.*args.*x.*\+.*y}s, { load_code => 1 }, ], coderef_blessed => [ <<'EOM', bless sub { my (%args) = @_; return $args{x} - $args{y}; }, "I::Am::Code" EOM qr{- &1 !{1,2}perl/code:I::Am::Code \|-.*return.*args.*x.*\-.*y}s, { load_code => 1 }, ], scalarref => [ <<'EOM', my $scalar = "some string"; my $scalarref = \$scalar; $scalarref; EOM <<'EOM', --- - &1 !perl/scalar =: some string - *1 EOM ], scalarref_blessed => [ <<'EOM', my $scalar = "some other string"; my $scalarref = bless \$scalar, 'Foo'; $scalarref; EOM <<'EOM', --- - &1 !perl/scalar:Foo =: some other string - *1 EOM ], refref => [ <<'EOM', my $ref = { a => 'hash' }; my $refref = \$ref; $refref; EOM <<'EOM', --- - &1 !perl/ref =: a: hash - *1 EOM ], refref_blessed => [ <<'EOM', my $ref = { a => 'hash' }; my $refref = bless \$ref, 'Foo'; $refref; EOM <<'EOM', --- - &1 !perl/ref:Foo =: a: hash - *1 EOM ], ); \%tests; YAML-PP-v0.43.0/examples/PaxHeaders/strings.yaml0000644000000000000000000000013115263373362016325 xustar0030 mtime=1791882994.988402521 29 atime=1791882994.98831033 30 ctime=1791882994.988402521 YAML-PP-v0.43.0/examples/strings.yaml0000644000175000017500000000572415263373362015770 0ustar00tinatina############################################### # Various strings ############################################### '" "': failsafe, json, core, yaml11: ['str', ' ', "' '"] '"@array"': failsafe, json, core, yaml11: ['str', '@array', "'@array'"] '"%percent"': failsafe, json, core, yaml11: ['str', '%percent', "'%percent'"] '"`cmd`"': failsafe, json, core, yaml11: ['str', '`cmd`', "'`cmd`'"] '"!string"': failsafe, json, core, yaml11: ['str', '!string', "'!string'"] '"*string"': failsafe, json, core, yaml11: ['str', '*string', "'*string'"] '"string:"': failsafe, json, core, yaml11: ['str', 'string:', "'string:'"] '"string "': failsafe, json, core, yaml11: ['str', 'string ', "'string '"] '"string\t"': failsafe, json, core, yaml11: ['str', "string\t", '"string\t"'] '"string\r"': failsafe, json, core, yaml11: ['str', "string\r", '"string\r"'] '"key: val"': failsafe, json, core, yaml11: ['str', 'key: val', "'key: val'"] '"-"': failsafe, json, core, yaml11: ['str', '-', "'-'"] '"- "': failsafe, json, core, yaml11: ['str', '- ', "'- '"] '"-\n"': failsafe, json, core, yaml11: ['str', "-\n", "|\n -"] '"-\t"': failsafe, json, core, yaml11: ['str', "-\t", '"-\t"'] '"- a"': failsafe, json, core, yaml11: ['str', '- a', "'- a'"] '":"': failsafe, json, core, yaml11: ['str', ':', "':'"] '"{"': failsafe, json, core, yaml11: ['str', '{', "'{'"] '"}"': failsafe, json, core, yaml11: ['str', '}', "'}'"] '"["': failsafe, json, core, yaml11: ['str', '[', "'['"] '"]"': failsafe, json, core, yaml11: ['str', ']', "']'"] '","': failsafe, json, core, yaml11: ['str', ',', "','"] '"?"': failsafe, json, core, yaml11: ['str', '?', "'?'"] '"? "': failsafe, json, core, yaml11: ['str', '? ', "'? '"] '"? a"': failsafe, json, core, yaml11: ['str', '? a', "'? a'"] '"#"': failsafe, json, core, yaml11: ['str', '#', "'#'"] '"no comment #"': failsafe, json, core, yaml11: ['str', 'no comment #', "'no comment #'"] '"# "': failsafe, json, core, yaml11: ['str', '# ', "'# '"] '"no #comment"': failsafe, json, core, yaml11: ['str', 'no #comment', "'no #comment'"] '"|"': failsafe, json, core, yaml11: ['str', '|', "'|'"] '">"': failsafe, json, core, yaml11: ['str', '>', "'>'"] '"''"': failsafe, json, core, yaml11: ['str', '''', "\"'\""] '"''\""': failsafe, json, core, yaml11: ['str', '''"', "'''\"'"] '"\""': failsafe, json, core, yaml11: ['str', '"', "'\"'"] '"\n "': failsafe, json, core, yaml11: ['str', "\n ", '"\n "'] '" \n"': failsafe, json, core, yaml11: ['str', " \n", '" \n"'] '"foo\nbar"': failsafe, json, core, yaml11: ['str', "foo\nbar", "|-\n foo\n bar"] '"x\n\"y\\z"': failsafe, json, core, yaml11: ['str', "x\n\"y\\z", "|-\n x\n \"y\\z"] '"no comment#"': failsafe, json, core, yaml11: ['str', 'no comment#', "no comment#"] 'foo\bar': failsafe, json, core, yaml11: ['str', 'foo\bar', 'foo\bar'] '^string': failsafe, json, core, yaml11: ['str', '^string', '^string'] 'str"ing': failsafe, json, core, yaml11: ['str', 'str"ing', 'str"ing'] YAML-PP-v0.43.0/examples/PaxHeaders/schemas.pl0000644000000000000000000000013215263373362015731 xustar0030 mtime=1791882994.982976382 30 atime=1791882994.982828736 30 ctime=1791882994.982976382 YAML-PP-v0.43.0/examples/schemas.pl0000644000175000017500000000102215263373362015356 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use FindBin '$Bin'; use lib "$Bin/../lib"; use YAML::PP; my $tests_perl = require "$Bin/schema-perl.pm"; my $tests_ixhash = require "$Bin/schema-ixhash.pm"; my %tests = ( %$tests_perl, %$tests_ixhash, ); my %all_data; for my $name (sort keys %tests) { my $test = $tests{ $name }; my $data = eval $test->[0]; $all_data{ $name } = $data; } my $yp = YAML::PP->new( schema => [qw/ JSON Perl Tie::IxHash /] ); my $yaml = $yp->dump_string(\%all_data); print $yaml; YAML-PP-v0.43.0/PaxHeaders/etc0000644000000000000000000000013215263373362012631 xustar0030 mtime=1791882994.996044806 30 atime=1791882994.976777933 30 ctime=1791882994.996044806 YAML-PP-v0.43.0/etc/0000755000175000017500000000000015263373362012340 5ustar00tinatinaYAML-PP-v0.43.0/etc/PaxHeaders/schema-test-yaml-modules.pl0000644000000000000000000000013215263373362020066 xustar0030 mtime=1791882994.996148242 30 atime=1791882994.996044806 30 ctime=1791882994.996148242 YAML-PP-v0.43.0/etc/schema-test-yaml-modules.pl0000644000175000017500000000342215263373362017521 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use 5.010; use Data::Dumper; use FindBin '$Bin'; use lib "$Bin/../lib"; use YAML::PP; use JSON::PP; $YAML::XS::Boolean = 'JSON::PP'; use YAML::XS (); $YAML::Syck::ImplicitTyping = 1; use YAML::Syck (); $YAML::Numify = 1; use YAML (); use B; my $int_flags = B::SVp_IOK; my $float_flags = B::SVp_NOK; #my $yp = YAML::PP->new( schema => my $file = "$Bin/../ext/yaml-test-schema/yaml-schema.yaml"; my $outputfile = "$Bin/../examples/yaml-schema-modules.yaml"; my $data = YAML::PP::LoadFile($file); my %examples; my %output; my %special = ( (0+'nan').'' => 'nan', (0+'inf').'' => 'inf', (0-'inf').'' => 'inf' ); for my $input (sort keys %$data) { for my $mod (qw/ YAML YAML::XS YAML::Syck /) { my $out = $output{ $input }->{ $mod } ||= {}; my $output; my $load = $mod->can("Load"); my $dump = $mod->can("Dump"); my $data = eval { $load->("--- $input") }; if ($@) { $out->{error} = 1; $out->{type} = 'error'; } else { $out->{type} = get_type($data); $output = $dump->($data); chomp $output; $output =~ s/^--- //; $out->{dump} = $output; } } } YAML::PP::DumpFile($outputfile, \%output); sub get_type { my ($value) = @_; return 'null' unless defined $value; if (ref $value) { if (ref $value eq 'JSON::PP::Boolean') { return 'bool'; } return 'unknown'; } my $flags = B::svref_2object(\$value)->FLAGS; if ($flags & $float_flags) { if (exists $special{ $value }) { return $special{ $value }; } return 'float'; } if ($flags & $int_flags) { return 'int'; } return 'str'; } YAML-PP-v0.43.0/etc/PaxHeaders/generate-schema-html.pl0000644000000000000000000000013215263373362017235 xustar0030 mtime=1791882994.994626881 30 atime=1791882994.994531966 30 ctime=1791882994.994626881 YAML-PP-v0.43.0/etc/generate-schema-html.pl0000644000175000017500000001326415263373362016675 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use 5.010; use Data::Dumper; use FindBin '$Bin'; use lib "$Bin/../lib"; use YAML::PP; use URI::Escape qw/ uri_escape /; my $file = "$Bin/../ext/yaml-test-schema/yaml-schema.yaml"; my $modulesfile = "$Bin/../examples/yaml-schema-modules.yaml"; my $htmlfile = "$Bin/../gh-pages/schema-examples.html"; my $data = YAML::PP::LoadFile($file); my $modules = YAML::PP::LoadFile($modulesfile); my @mods = qw/ YAML YAML::Syck YAML::XS /; my %examples; for my $input (sort keys %$data) { my $schemas = $data->{ $input }; my @keys = keys %$schemas; for my $key (@keys) { my $def = $schemas->{ $key }; my @schemas = split m/ *, */, $key; for my $schema (@schemas) { $examples{ $input }->{ $schema } = $def; } } } my @keys = qw/ failsafe json core yaml11 /; for my $input (sort keys %examples) { my $schemas = $examples{ $input }; my $str = 0; for my $schema (@keys) { my $example = $schemas->{ $schema }; unless ($example) { $example = $schemas->{ $schema } = [ 'todo', '', '', '' ]; } if ($example->[0] eq 'str' or $example->[0] eq 'todo') { $str++; } } if ($str == 4) { delete $examples{ $input }; } } my %type_index = ( null => 0, bool => 1, float => 2, inf => 3, nan => 4, int => 5, str => 6, todo => 7, ); my $table = schema_table(\%examples, $modules); my $html = generate_html($table); open my $fh, '>', $htmlfile or die $!; print $fh $html; close $fh; sub sort_rows { my ($x, $y, $a, $b) = @_; $type_index{ $x->{yaml11}->[0] } <=> $type_index{ $y->{yaml11}->[0] } || $type_index{ $x->{core}->[0] } <=> $type_index{ $y->{core}->[0] } || $type_index{ $x->{json}->[0] } <=> $type_index{ $y->{json}->[0] } || lc $a cmp lc $b || $a cmp $b } sub schema_table { my ($examples) = @_; my $html = ''; my @sorted = sort { sort_rows($examples->{ $a }, $examples->{ $b }, $a, $b) } grep { not m/^!!\w/ } keys %$examples; my @sorted_explicit = sort { sort_rows($examples->{ $a }, $examples->{ $b }, $a, $b) } grep { m/^!!\w/ } keys %$examples; my @all = (@sorted, @sorted_explicit); $html .= qq{\n}; my $header; $header .= qq{}; $header .= join '', map { my $m = $_ eq 'YAML' ? 'YAML.pm' : $_; qq{\n}; } (qw/ Failsafe JSON Core /, 'YAML 1.1', @mods); $header .= qq{\n}; $html .= $header; $html .= qq{} . (qq{} x 7) . qq{\n}; for my $i (0 .. $#all) { my $input = $all[ $i ]; if ($i and $i % 30 == 0) { $html .= $header; } my $schemas = $examples->{ $input }; my $mods = $modules->{ $input }; my $input_escaped = uri_escape($input); $input =~ s/ / /g; $html .= qq{}; } else { $html .= qq{}; } } $html .= qq{\n}; } $html .= "
YAML::PPOther Perl Modules
Input YAML$m
TypeOutput
$input}; for my $mod (@mods) { my $result = $mods->{ $mod }; $schemas->{ $mod } = [ $result->{type}, '', $result->{dump} // '' ]; } for my $schema (@keys, @mods) { my $example = $schemas->{ $schema }; my $class = 'type-str'; my ($type, $perl, $out) = @$example; $class = "type-$type"; for ($out) { s/ / /g; } if ($type eq 'str') { $html .= qq{$type$type
$out
"; return $html; } #sub format_perl { # my ($type, $perl) = @_; # my $perlcode; # local $Data::Dumper::Terse = 1; # local $Data::Dumper::Useqq = 1; # if ($type eq 'null') { # $perlcode = 'undef'; # } # elsif ($type eq 'float' or $type eq 'int') { # $perlcode = $perl; # } # elsif ($type eq 'inf') { # if ($perl eq 'inf-neg()') { # $perlcode = '- "inf" + 0'; # } # else { # $perlcode = '"inf" + 0'; # } # } # elsif ($type eq 'nan') { # $perlcode = '"nan" + 0'; # } # elsif ($type eq 'bool') { # $perlcode = $perl; # } # else { # $perlcode = Data::Dumper->Dump([$perl], ['perl']); # } # return $perlcode; #} sub generate_html { my ($content) = @_; my $html = <<'EOM'; YAML Schema examples in YAML::PP and other Perl Modules YAML Test Suite Test Cases | Schema examples | Schema comparison

The Perl Module YAML::PP implements YAML 1.2. You can choose between several Schemas.
The following table shows which strings result in which native data, depending on the Schema (or other YAML module) you use.
For each of the Schemas and modules, the first column is the type, and the second shows how the data is encoded into YAML again.
Note that the YAML 1.2 JSON Schema is not exactly like the official schema, as all strings would have to be quoted.

EOM $html .= $content; $html .= <<'EOM'; EOM return $html; } YAML-PP-v0.43.0/etc/PaxHeaders/generate-examples.pl0000644000000000000000000000013215263373362016651 xustar0030 mtime=1791882994.992710984 30 atime=1791882994.992616069 30 ctime=1791882994.992710984 YAML-PP-v0.43.0/etc/generate-examples.pl0000644000175000017500000000262715263373362016312 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Data::Dumper; use FindBin '$Bin'; use lib "$Bin/../lib"; use YAML::PP; my $tests_perl = require "$Bin/../examples/schema-perl.pm"; my $tests_ixhash = require "$Bin/../examples/schema-ixhash.pm"; my $schema_perl_pm_file = "$Bin/../lib/YAML/PP/Schema/Perl.pm"; my $schema_ixhash_pm_file = "$Bin/../lib/YAML/PP/Schema/Tie/IxHash.pm"; my $yp = YAML::PP->new( schema => [qw/ JSON Perl Tie::IxHash /] ); generate( file => $schema_perl_pm_file, tests => $tests_perl, ); generate( file => $schema_ixhash_pm_file, tests => $tests_ixhash, ); sub generate { my %args = @_; my $file = $args{file}; my $tests = $args{tests}; open my $fh, '<', $file; my $text = do { local $/; <$fh> }; close $fh; my $examples; for my $name (sort keys %$tests) { my $test = $tests->{ $name }; my $code = $test->[0]; my $data = eval $code; if ($@) { die "Error: $@"; } my $yaml = $yp->dump_string($data); $yaml =~ s/^/ /gm; my $example = <<"EOM"; =item $name # Code $code # YAML $yaml EOM $examples .= $example; } my $pod = <<"EOM"; ### BEGIN EXAMPLE =pod =over 4 $examples =back =cut ### END EXAMPLE EOM $text =~ s/^### BEGIN EXAMPLE.*^### END EXAMPLE\n/$pod/ms; open $fh, '>', $file; print $fh $text; close $fh; } YAML-PP-v0.43.0/etc/PaxHeaders/generate-grammar.pl0000644000000000000000000000013215263373362016461 xustar0030 mtime=1791882994.992339356 30 atime=1791882994.992237667 30 ctime=1791882994.992339356 YAML-PP-v0.43.0/etc/generate-grammar.pl0000755000175000017500000000312215263373362016114 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use 5.010; use FindBin '$Bin'; use Data::Dumper; use YAML::XS qw/ Load Dump /; my $grammar_file = "$Bin/grammar.yaml"; open my $fh, '<', $grammar_file or die $!; my $yaml = do { local $/; <$fh> }; close $fh; my $module_file = "$Bin/../lib/YAML/PP/Grammar.pm"; my $grammar = Load $yaml; open $fh, '<', $module_file or die $!; my $replaced = ''; while (my $line = <$fh>) { my $state = $line =~ m/^# START OF GRAMMAR INLINE/ ... $line =~ m/^# END OF GRAMMAR INLINE/; my $state2 = $line =~ m/^ *# START OF YAML INLINE/ ... $line =~ m/^ *# END OF YAML INLINE/; if ($state) { if ($state == 1) { $replaced .= $line; local $Data::Dumper::Indent = 1; local $Data::Dumper::Sortkeys = 1; my $dump = Data::Dumper->Dump([$grammar], ['GRAMMAR']); $replaced .= <<"EOM"; # DO NOT CHANGE THIS # This grammar is automatically generated from etc/grammar.yaml $dump EOM } elsif ($state =~ m/E0$/) { $replaced .= $line; } } elsif ($state2) { if ($state2 == 1) { $replaced .= $line; my $yaml_formatted = $yaml; $yaml_formatted =~ s/^/ /mg; $replaced .= <<"EOM"; # DO NOT CHANGE THIS # This grammar is automatically generated from etc/grammar.yaml $yaml_formatted EOM } elsif ($state2 =~ m/E0$/) { $replaced .= $line; } } else { $replaced .= $line; } } close $fh; open $fh, '>', $module_file or die $!; print $fh $replaced; close $fh; YAML-PP-v0.43.0/etc/PaxHeaders/test-suite-html.pl0000644000000000000000000000013215263373362016313 xustar0030 mtime=1791882994.990452304 30 atime=1791882994.990343281 30 ctime=1791882994.990452304 YAML-PP-v0.43.0/etc/test-suite-html.pl0000755000175000017500000002333315263373362015754 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use 5.010; use FindBin '$Bin'; use lib "$Bin/../lib"; use IO::All; use Data::Dumper; use YAML::PP; use YAML::PP::Dumper; use File::Basename qw/ basename dirname /; use HTML::Entities qw/ encode_entities /; use YAML::PP::Highlight; use JSON::XS (); use Encode; chomp(my $version = qx{git describe --dirty}); my $yaml_test_suite = 'test-suite/yaml-test-suite-data/'; my @dirs = grep { m{/[0-9A-Z]{4}$} } map { "$_" } io->dir($yaml_test_suite)->all; my @subdirs; for my $dir (@dirs) { if (-f "$dir/in.yaml") { push @subdirs, $dir; } else { push @subdirs, grep { m{/[0-9]+$} } map { "$_" } io->dir($dir)->all; } } @subdirs = sort @subdirs; my @valid = grep { not -f "$_/error" } @subdirs; my @invalid = grep { -f "$_/error" } @subdirs; my %tags; for my $tagdir (io->dir("$yaml_test_suite/tags")->all) { for my $id (io->dir($tagdir)->all) { my $tag = basename $tagdir; push @{ $tags{ basename $id } }, basename $tag; } } my $html = <<"EOM"; YAML Test Suite Highlighted YAML Test Suite Test Cases | Schema examples | Schema comparison
Generated with YAML::PP $version
Valid (@{[ scalar @valid ]})
Invalid (@{[ scalar @invalid ]})
EOM my $ypp = YAML::PP->new( boolean => 'JSON::PP', schema => [qw/ Core /], ); my $table; for my $dir (sort @valid) { my $test = highlight_test($dir); $table .= $test; } $html .= <<"EOM";

Valid

$table
YAML::PP::Highlight YAML::PP::Loader | Data::Dump YAML::PP::Loader | JSON::XS YAML::PP::Loader | YAML::PP::Dumper YAML::PP::Parser | YAML::PP::Emitter
EOM $table = ''; for my $dir (sort @invalid) { my $test = highlight_test($dir); $table .= $test; } $html .= <<"EOM";

Invalid

$table
YAML::PP::Highlight YAML::PP::Loader | Data::Dump YAML::PP::Loader | JSON::XS YAML::PP::Loader | YAML::PP::Dumper YAML::PP::Parser | YAML::PP::Emitter
EOM sub highlight_test { my ($dir) = @_; my $html; my $file = "$dir/in.yaml"; my $id = basename $dir; my $main_id = $id; if ($id !~ tr/0-9//c) { $main_id = basename(dirname $dir); $id = "$main_id/$id"; } my $title = io->file("$dir/===")->slurp; my $yaml; warn "$id\n"; $yaml = do { open my $fh, '<', $file or die $!; local $/; <$fh> }; $yaml = decode_utf8 $yaml; my $class = "ok"; my @docs; eval { @docs = $ypp->load_string($yaml); }; my $error = $@ || ''; my $tokens = $ypp->loader->parser->tokens; my $diff = 0; if ($error) { $error =~ s{\Q$Bin/../lib/}{}; $class = "error"; my $remaining_tokens = $ypp->loader->parser->_remaining_tokens; push @$tokens, map { +{ %$_, name => 'ERROR' } } @$remaining_tokens; my $out = join '', map { my $value = $_->{value}; my $sub = $_->{subtokens}; if ($sub) { $value = join '', map { defined $_->{orig} ? $_->{orig} : $_->{value} } @$sub; } $value; } @$tokens; if ($out ne $yaml) { local $Data::Dumper::Useqq = 1; warn __PACKAGE__.': '.__LINE__.$".Data::Dumper->Dump([\$out], ['out']); warn __PACKAGE__.':'.__LINE__.$".Data::Dumper->Dump([\$yaml], ['yaml']); warn "$id error diff"; $diff = 1; } } else { my $out = join '', map { my $value = $_->{value}; my $sub = $_->{subtokens}; if ($sub) { $value = join '', map { defined $_->{orig} ? $_->{orig} : $_->{value} } @$sub; } $value; } @$tokens; if ($out ne $yaml) { $class = "diff"; local $Data::Dumper::Useqq = 1; warn __PACKAGE__.': '.__LINE__.$".Data::Dumper->Dump([\$out], ['out']); warn __PACKAGE__.':'.__LINE__.$".Data::Dumper->Dump([\$yaml], ['yaml']); warn "$id diff"; $diff = 1; } } my $coder = JSON::XS->new->ascii->pretty->allow_nonref->canonical; my $json_dump = join "\n", map { "Doc " . ($_+1) . ': ' . $coder->encode( $docs[ $_ ] ); } 0 .. $#docs; my $yppd = YAML::PP->new( boolean => 'JSON::PP' ); my $yaml_dump = $yppd->dump_string(@docs); my @reload_docs = $ypp->load_string($yaml_dump); my $reload_tokens = $ypp->loader->parser->tokens; my $dd = eval { require Data::Dump; 1 }; my $data_dump = join "\n", map { if ($dd) { '$doc' . ($_ + 1) . ' = ' . Data::Dump::dump( $docs[ $_ ] ); } else { local $Data::Dumper::Useqq = 1; local $Data::Dumper::Sortkeys = 1; Data::Dumper->Dump([$docs[ $_ ]], ['doc' . ($_ + 1)]); } } 0 .. $#docs; my $emit_yaml = ''; { my @events; my $parser = YAML::PP::Parser->new( receiver => sub { my ($self, @args) = @_; push @events, [@args]; }, ); eval { $parser->parse_string($yaml); }; if ($@) { # warn "Error parsing: $@"; } else { my $writer = YAML::PP::Writer->new; my $emitter = YAML::PP::Emitter->new(); $emitter->set_writer($writer); eval { for my $event (@events) { my ($type, $info) = @$event; if ($type eq 'sequence_start_event' or $type eq 'mapping_end_event') { delete $info->{style}; } $emitter->$type($info); } }; if ($@) { warn __PACKAGE__.':'.__LINE__.": Error emitting $id: $@\n"; } $emit_yaml = $emitter->writer->output; } } my @emit_docs = eval { $ypp->load_string($emit_yaml) }; my $emit_tokens = $ypp->loader->parser->tokens; $title = decode_utf8($title); $title = encode_entities($title); $error =~ s{\Q$Bin/../lib/}{}g; $error = encode_entities($error); $yaml = encode_entities($yaml); $data_dump = encode_entities($data_dump); $json_dump = encode_entities($json_dump); $yaml_dump = encode_entities($yaml_dump); my $taglist = join ', ', @{ $tags{ $id } || [] }; $html .= <<"EOM"; $id - $title Tags:
$taglist
View source
EOM my $high = YAML::PP::Highlight->htmlcolored($tokens); my $reload_high = YAML::PP::Highlight->htmlcolored($reload_tokens); my $emit_high = YAML::PP::Highlight->htmlcolored($emit_tokens); my $orig = $diff ? qq{
$yaml
} : ''; $html .= <<"EOM";
$high
$error
$orig
$data_dump
$json_dump
$reload_high
$emit_high
EOM return $html; } $html .= <<"EOM"; EOM binmode STDOUT, ":encoding(utf-8)"; say $html; YAML-PP-v0.43.0/etc/PaxHeaders/json-numbers.pl0000644000000000000000000000013215263373362015665 xustar0030 mtime=1791882994.983322657 30 atime=1791882994.983229209 30 ctime=1791882994.983322657 YAML-PP-v0.43.0/etc/json-numbers.pl0000644000175000017500000000222615263373362015321 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use 5.010; use JSON (); use JSON::PP (); use JSON::XS (); use Cpanel::JSON::XS (); require Mojolicious; use Mojo::JSON (); use B (); use Text::Table; my @classes = qw/ JSON JSON::PP JSON::XS Cpanel::JSON::XS Mojo::JSON /; my $t = Text::Table->new( qw/ Class Version 3 IV NV PV 3.140 IV NV PV 3.00 IV NV PV 0.3e3 IV NV PV encode /, ); my $json = <<'EOM'; [ 3, 3.140, 3.00, 0.3e3 ] EOM my @rows; for my $class (@classes) { my $version = $class eq 'Mojo::JSON' ? Mojolicious->VERSION : $class->VERSION; my @row = ( $class, $version ); my $decode = $class->can("decode_json"); my $encode = $class->can("encode_json"); my $data = $decode->($json); for my $num (@$data) { my $flags = B::svref_2object(\$num)->FLAGS; my $int = $flags & B::SVp_IOK ? 1 : 0; my $float = $flags & B::SVp_NOK ? 1 : 0; my $str = $flags & B::SVp_POK ? 1 : 0; push @row, '', $int, $float, $str; } my $enc = $encode->($data); push @row, $enc; push @rows, \@row; } say "Input: $json"; $t->load(@rows); say $t; YAML-PP-v0.43.0/etc/PaxHeaders/yaml-numbers.pl0000644000000000000000000000013215263373362015656 xustar0030 mtime=1791882994.983229209 30 atime=1791882994.983124376 30 ctime=1791882994.983229209 YAML-PP-v0.43.0/etc/yaml-numbers.pl0000644000175000017500000000216715263373362015316 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use 5.010; use YAML (); local $YAML::Numify = 1; use YAML::PP (); use YAML::XS (); use YAML::Syck (); local $YAML::Syck::ImplicitTyping = 1; use YAML::Tiny (); use B (); use Text::Table; my @classes = qw/ YAML YAML::PP YAML::XS YAML::Syck YAML::Tiny /; my $t = Text::Table->new( qw/ Class Version 3 IV NV PV 3.140 IV NV PV 3.00 IV NV PV 0.3e3 IV NV PV Dump /, ); my $yaml = <<'EOM'; - 3 - 3.140 - 3.00 - 0.3e3 EOM my @rows; for my $class (@classes) { my $version = $class->VERSION; my @row = ( $class, $version ); my $decode = $class->can("Load"); my $encode = $class->can("Dump"); my $data = $decode->($yaml); for my $num (@$data) { my $flags = B::svref_2object(\$num)->FLAGS; my $int = $flags & B::SVp_IOK ? 1 : 0; my $float = $flags & B::SVp_NOK ? 1 : 0; my $str = $flags & B::SVp_POK ? 1 : 0; push @row, '', $int, $float, $str; } my $enc = $encode->($data); push @row, $enc; push @rows, \@row; } say "Input:\n$yaml"; $t->load(@rows); say $t; YAML-PP-v0.43.0/etc/PaxHeaders/grammar.yaml0000644000000000000000000000013115263373362015217 xustar0030 mtime=1791882994.980404811 29 atime=1791882994.98030815 30 ctime=1791882994.980404811 YAML-PP-v0.43.0/etc/grammar.yaml0000644000175000017500000004050115263373362014652 0ustar00tinatina--- NODETYPE_NODE: DASH: match: cb_seqstart EOL: { new: FULLNODE } WS: { new: FULLNODE } DEFAULT: { new: NODETYPE_SCALAR_OR_MAP } NODETYPE_SCALAR_OR_MAP: # Flow nodes can follow tabs WS: { new: FULLMAPVALUE_INLINE } ALIAS: match: cb_alias EOL: { match: cb_send_alias_from_stack } WS: COLON: match: cb_insert_map_alias EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } QUESTION: match: cb_questionstart EOL: { new: FULLNODE } WS: { new: FULLNODE } QUOTED: match: cb_take_quoted EOL: { match: cb_send_scalar } WS: COLON: match: cb_insert_map EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } COLON: match: cb_insert_map EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } QUOTED_MULTILINE: match: cb_quoted_multiline EOL: { } PLAIN: match: cb_start_plain EOL: match: cb_send_scalar WS: COLON: match: cb_insert_map EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } COLON: match: cb_insert_map EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } PLAIN_MULTI: match: cb_send_plain_multi EOL: { } COLON: match: cb_insert_empty_map EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } BLOCK_SCALAR: match: cb_send_block_scalar EOL: { } FLOWSEQ_START: match: cb_start_flowseq new: NEWFLOWSEQ FLOWMAP_START: match: cb_start_flowmap new: NEWFLOWMAP DOC_END: match: cb_end_document EOL: { } DOC_START: match: cb_end_doc_start_document EOL: { new: FULLNODE } WS: { new: FULLNODE } EOL: new: NODETYPE_SCALAR_OR_MAP NODETYPE_COMPLEX: COLON: match: cb_complexcolon EOL: { new: FULLNODE } WS: { new: FULLNODE } DEFAULT: match: cb_empty_complexvalue new: NODETYPE_MAP EOL: new: NODETYPE_COMPLEX RULE_FULLFLOWSCALAR: ANCHOR: match: cb_anchor EOL: { new: RULE_FULLFLOWSCALAR_ANCHOR } DEFAULT: { new: RULE_FULLFLOWSCALAR_ANCHOR } TAG: match: cb_tag EOL: { new: RULE_FULLFLOWSCALAR_TAG } DEFAULT: { new: RULE_FULLFLOWSCALAR_TAG } DEFAULT: { new: RULE_FLOWSCALAR } RULE_FULLFLOWSCALAR_ANCHOR: WS: { new: RULE_FULLFLOWSCALAR_ANCHOR } TAG: match: cb_tag WS: { new: RULE_FLOWSCALAR } EOL: { new: RULE_FLOWSCALAR } DEFAULT: { new: RULE_FLOWSCALAR } RULE_FULLFLOWSCALAR_TAG: WS: { new: RULE_FULLFLOWSCALAR_TAG } ANCHOR: match: cb_anchor WS: { new: RULE_FLOWSCALAR } EOL: { new: RULE_FLOWSCALAR } DEFAULT: { new: RULE_FLOWSCALAR } RULE_FLOWSCALAR: FLOWSEQ_START: { match: cb_start_flowseq, new: NEWFLOWSEQ } FLOWMAP_START: { match: cb_start_flowmap, new: NEWFLOWMAP } ALIAS: { match: cb_send_alias, return: 1 } QUOTED: match: cb_take_quoted EOL: { match: cb_send_scalar } WS: { match: cb_send_scalar, return: 1 } DEFAULT: { match: cb_send_scalar, return: 1 } QUOTED_MULTILINE: { match: cb_quoted_multiline, return: 1 } PLAIN: match: cb_start_plain EOL: { match: cb_send_scalar } DEFAULT: { match: cb_send_scalar, return: 1 } PLAIN_MULTI: { match: cb_send_plain_multi, return: 1 } FLOW_COMMA: { match: cb_empty_flow_mapkey, return: 1 } FLOWMAP_END: match: cb_end_flowmap_empty return: 1 FLOWSEQ: FLOWSEQ_START: { match: cb_start_flowseq, new: NEWFLOWSEQ } FLOWMAP_START: { match: cb_start_flowmap, new: NEWFLOWMAP } ALIAS: { match: cb_send_flow_alias, new: FLOWSEQ_NEXT } PLAIN: match: cb_start_plain EOL: match: cb_send_scalar new: FLOWSEQ_NEXT DEFAULT: new: FLOWSEQ_MAYBE_KEY PLAIN_MULTI: { match: cb_send_plain_multi, new: FLOWSEQ_NEXT } QUOTED: match: cb_take_quoted EOL: match: cb_send_scalar new: FLOWSEQ_NEXT DEFAULT: new: FLOWSEQ_MAYBE_KEY QUOTED_MULTILINE: { match: cb_quoted_multiline, new: FLOWSEQ_NEXT } COLON: WS: match: cb_insert_empty_implicit_flowseq_map new: RULE_FULLFLOWSCALAR EOL: match: cb_insert_empty_implicit_flowseq_map new: RULE_FULLFLOWSCALAR FLOWSEQ_PROPS: FLOWSEQ_START: { match: cb_start_flowseq, new: NEWFLOWSEQ } FLOWMAP_START: { match: cb_start_flowmap, new: NEWFLOWMAP } PLAIN: match: cb_start_plain EOL: match: cb_send_scalar new: FLOWSEQ_NEXT DEFAULT: new: FLOWSEQ_MAYBE_KEY PLAIN_MULTI: { match: cb_send_plain_multi, new: FLOWSEQ_NEXT } QUOTED: match: cb_take_quoted EOL: match: cb_send_scalar new: FLOWSEQ_NEXT DEFAULT: new: FLOWSEQ_MAYBE_KEY QUOTED_MULTILINE: { match: cb_quoted_multiline, new: FLOWSEQ_NEXT } FLOW_COMMA: match: cb_empty_flowseq_comma return: 1 FLOWSEQ_END: match: cb_empty_flowseq_end return: 1 COLON: WS: match: cb_insert_empty_implicit_flowseq_map new: RULE_FULLFLOWSCALAR EOL: match: cb_insert_empty_implicit_flowseq_map new: RULE_FULLFLOWSCALAR FLOWSEQ_EMPTY: FLOW_COMMA: match: cb_empty_flowseq_comma return: 1 FLOWSEQ_END: match: cb_empty_flowseq_end return: 1 FLOWSEQ_NEXT: WS: { new: FLOWSEQ_NEXT } EOL: { new: FLOWSEQ_NEXT } FLOW_COMMA: match: cb_flow_comma return: 1 FLOWSEQ_END: match: cb_end_flowseq return: 1 FLOWSEQ_MAYBE_KEY: WS: { new: FLOWSEQ_MAYBE_KEY } COLON: WS: match: cb_insert_implicit_flowseq_map new: RULE_FULLFLOWSCALAR EOL: match: cb_insert_implicit_flowseq_map new: RULE_FULLFLOWSCALAR DEFAULT: match: cb_insert_implicit_flowseq_map new: RULE_FULLFLOWSCALAR DEFAULT: new: FLOWSEQ_NEXT FLOWMAP_CONTENT: FLOWSEQ_START: { match: cb_start_flowseq, new: NEWFLOWSEQ } FLOWMAP_START: { match: cb_start_flowmap, new: NEWFLOWMAP } ALIAS: { match: cb_send_alias, return: 1 } PLAIN: { match: cb_flowkey_plain, return: 1 } PLAIN_MULTI: { match: cb_send_plain_multi, return: 1 } QUOTED: { match: cb_flowkey_quoted, return: 1 } QUOTED_MULTILINE: { match: cb_quoted_multiline, return: 1 } COLON: WS: match: cb_empty_flow_mapkey new: RULE_FULLFLOWSCALAR EOL: match: cb_empty_flow_mapkey new: RULE_FULLFLOWSCALAR FLOWMAP_PROPS: FLOWSEQ_START: { match: cb_start_flowseq, new: NEWFLOWSEQ } FLOWMAP_START: { match: cb_start_flowmap, new: NEWFLOWMAP } PLAIN: { match: cb_flowkey_plain, return: 1 } PLAIN_MULTI: { match: cb_send_plain_multi, return: 1 } QUOTED: { match: cb_flowkey_quoted, return: 1 } QUOTED_MULTILINE: { match: cb_quoted_multiline, return: 1 } COLON: WS: match: cb_empty_flow_mapkey new: RULE_FULLFLOWSCALAR EOL: match: cb_empty_flow_mapkey new: RULE_FULLFLOWSCALAR FLOW_COMMA: match: cb_empty_flowmap_key_value return: 1 FLOWMAP_END: match: cb_end_empty_flowmap_key_value return: 1 FLOWMAP_EMPTYKEY: FLOW_COMMA: match: cb_empty_flowmap_key_value return: 1 FLOWMAP_END: match: cb_end_empty_flowmap_key_value return: 1 NEWFLOWSEQ: EOL: { new: NEWFLOWSEQ } WS: { new: NEWFLOWSEQ } ANCHOR: match: cb_anchor WS: { new: NEWFLOWSEQ_ANCHOR_SPC } EOL: { new: NEWFLOWSEQ_ANCHOR_SPC } DEFAULT: { new: NEWFLOWSEQ_ANCHOR } TAG: match: cb_tag WS: { new: NEWFLOWSEQ_TAG_SPC } EOL: { new: NEWFLOWSEQ_TAG_SPC } DEFAULT: { new: NEWFLOWSEQ_TAG } FLOWSEQ_END: match: cb_end_flowseq return: 1 DEFAULT: { new: FLOWSEQ } NODETYPE_FLOWSEQ: EOL: { new: NODETYPE_FLOWSEQ } WS: { new: NODETYPE_FLOWSEQ } FLOWSEQ_END: match: cb_end_flowseq return: 1 DEFAULT: { new: NEWFLOWSEQ } NODETYPE_FLOWMAPVALUE: WS: { new: NODETYPE_FLOWMAPVALUE } EOL: { new: NODETYPE_FLOWMAPVALUE } COLON: match: cb_flow_colon WS: { new: RULE_FULLFLOWSCALAR } EOL: { new: RULE_FULLFLOWSCALAR } DEFAULT: { new: RULE_FULLFLOWSCALAR } FLOW_COMMA: match: cb_empty_flowmap_value return: 1 FLOWMAP_END: match: cb_end_flowmap_empty return: 1 NEWFLOWSEQ_ANCHOR: DEFAULT: { new: FLOWSEQ_EMPTY } NEWFLOWSEQ_TAG: DEFAULT: { new: FLOWSEQ_EMPTY } NEWFLOWSEQ_ANCHOR_SPC: WS: { new: NEWFLOWSEQ_ANCHOR_SPC } EOL: { new: NEWFLOWSEQ_ANCHOR_SPC } TAG: match: cb_tag WS: { new: FLOWSEQ_PROPS } EOL: { new: FLOWSEQ_PROPS } DEFAULT: { new: FLOWSEQ_EMPTY } DEFAULT: { new: FLOWSEQ_PROPS } NEWFLOWSEQ_TAG_SPC: WS: { new: NEWFLOWSEQ_TAG_SPC } EOL: { new: NEWFLOWSEQ_TAG_SPC } ANCHOR: match: cb_anchor WS: { new: FLOWSEQ_PROPS } EOL: { new: FLOWSEQ_PROPS } DEFAULT: { new: FLOWSEQ_EMPTY } DEFAULT: { new: FLOWSEQ_PROPS } NEWFLOWMAP_ANCHOR: DEFAULT: { new: FLOWMAP_EMPTYKEY } NEWFLOWMAP_TAG: DEFAULT: { new: FLOWMAP_EMPTYKEY } NEWFLOWMAP_ANCHOR_SPC: WS: { new: NEWFLOWMAP_ANCHOR_SPC } EOL: { new: NEWFLOWMAP_ANCHOR_SPC } TAG: match: cb_tag WS: { new: FLOWMAP_PROPS } EOL: { new: FLOWMAP_PROPS } DEFAULT: { new: FLOWMAP_EMPTYKEY } DEFAULT: { new: FLOWMAP_PROPS } NEWFLOWMAP_TAG_SPC: WS: { new: NEWFLOWMAP_TAG_SPC } EOL: { new: NEWFLOWMAP_TAG_SPC } ANCHOR: match: cb_anchor WS: { new: FLOWMAP_PROPS } EOL: { new: FLOWMAP_PROPS } DEFAULT: { new: FLOWMAP_EMPTYKEY } DEFAULT: { new: FLOWMAP_PROPS } NEWFLOWMAP: EOL: { new: NEWFLOWMAP } WS: { new: NEWFLOWMAP } QUESTION: { match: cb_flow_question, new: FLOWMAP_EXPLICIT_KEY } DEFAULT: { new: FLOWMAP } FLOWMAP_EXPLICIT_KEY: WS: { new: FLOWMAP_EXPLICIT_KEY } EOL: { new: FLOWMAP_EXPLICIT_KEY } FLOWMAP_END: match: cb_end_empty_flowmap_key_value return: 1 FLOW_COMMA: match: cb_empty_flowmap_key_value return: 1 DEFAULT: { new: FLOWMAP } FLOWMAP: EOL: { new: FLOWMAP } WS: { new: FLOWMAP } ANCHOR: match: cb_anchor WS: { new: NEWFLOWMAP_ANCHOR_SPC } EOL: { new: NEWFLOWMAP_ANCHOR_SPC } DEFAULT: { new: NEWFLOWMAP_ANCHOR } TAG: match: cb_tag WS: { new: NEWFLOWMAP_TAG_SPC } EOL: { new: NEWFLOWMAP_TAG_SPC } DEFAULT: { new: NEWFLOWMAP_TAG } FLOWMAP_END: match: cb_end_flowmap return: 1 COLON: WS: match: cb_empty_flow_mapkey new: RULE_FULLFLOWSCALAR EOL: match: cb_empty_flow_mapkey new: RULE_FULLFLOWSCALAR DEFAULT: { new: FLOWMAP_CONTENT } NODETYPE_FLOWMAP: EOL: { new: NODETYPE_FLOWMAP } WS: { new: NODETYPE_FLOWMAP } FLOWMAP_END: match: cb_end_flowmap return: 1 FLOW_COMMA: { match: cb_flow_comma, new: NEWFLOWMAP } DEFAULT: { new: NEWFLOWMAP } END_FLOW: EOL: match: cb_end_outer_flow return: 1 RULE_MAPKEY: QUESTION: match: cb_question EOL: { new: FULLNODE } WS: { new: FULLNODE } ALIAS: match: cb_send_alias_key WS: COLON: EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } QUOTED: match: cb_take_quoted_key WS: COLON: EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } COLON: EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } PLAIN: match: cb_mapkey WS: COLON: match: cb_send_mapkey EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } COLON: match: cb_send_mapkey EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } COLON: match: cb_empty_mapkey EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } DOC_END: match: cb_end_document EOL: { } DOC_START: match: cb_end_doc_start_document EOL: { new: FULLNODE } WS: { new: FULLNODE } EOL: new: RULE_MAPKEY NODETYPE_SEQ: DASH: match: cb_seqitem EOL: { new: FULLNODE } WS: { new: FULLNODE } DOC_END: match: cb_end_document EOL: { } DOC_START: match: cb_end_doc_start_document EOL: { new: FULLNODE } WS: { new: FULLNODE } EOL: new: NODETYPE_SEQ NODETYPE_MAP: ANCHOR: match: cb_anchor WS: TAG: match: cb_tag WS: { new: RULE_MAPKEY } DEFAULT: { new: RULE_MAPKEY } TAG: match: cb_tag WS: ANCHOR: match: cb_anchor WS: { new: RULE_MAPKEY } DEFAULT: { new: RULE_MAPKEY } DEFAULT: { new: RULE_MAPKEY } FULLNODE_ANCHOR: TAG: match: cb_tag EOL: { match: cb_property_eol, new: FULLNODE_TAG_ANCHOR } WS: ANCHOR: match: cb_anchor WS: { new: NODETYPE_SCALAR_OR_MAP } DEFAULT: { new: NODETYPE_SCALAR_OR_MAP } ANCHOR: match: cb_anchor WS: TAG: match: cb_tag WS: { new: NODETYPE_SCALAR_OR_MAP } DEFAULT: { new: NODETYPE_SCALAR_OR_MAP } EOL: { new: FULLNODE_ANCHOR } DEFAULT: { new: NODETYPE_NODE } FULLNODE_TAG: ANCHOR: match: cb_anchor EOL: { match: cb_property_eol, new: FULLNODE_TAG_ANCHOR } WS: TAG: match: cb_tag WS: { new: NODETYPE_SCALAR_OR_MAP } DEFAULT: { new: NODETYPE_SCALAR_OR_MAP, } TAG: match: cb_tag WS: ANCHOR: match: cb_anchor WS: { new: NODETYPE_SCALAR_OR_MAP } DEFAULT: { new: NODETYPE_SCALAR_OR_MAP } EOL: { new: FULLNODE_TAG } DEFAULT: { new: NODETYPE_NODE } FULLNODE_TAG_ANCHOR: ANCHOR: match: cb_anchor WS: TAG: match: cb_tag WS: { new: NODETYPE_SCALAR_OR_MAP } DEFAULT: { new: NODETYPE_SCALAR_OR_MAP } TAG: match: cb_tag WS: ANCHOR: match: cb_anchor WS: { new: NODETYPE_SCALAR_OR_MAP } DEFAULT: { new: NODETYPE_SCALAR_OR_MAP } EOL: { new: FULLNODE_TAG_ANCHOR } DEFAULT: { new: NODETYPE_NODE } FULLNODE: ANCHOR: match: cb_anchor EOL: { match: cb_property_eol, new: FULLNODE_ANCHOR } WS: TAG: match: cb_tag EOL: { match: cb_property_eol, new: FULLNODE_TAG_ANCHOR } WS: { new: NODETYPE_SCALAR_OR_MAP } DEFAULT: { new: NODETYPE_SCALAR_OR_MAP } TAG: match: cb_tag EOL: { match: cb_property_eol, new: FULLNODE_TAG } WS: ANCHOR: match: cb_anchor EOL: { match: cb_property_eol, new: FULLNODE_TAG_ANCHOR } WS: { new: NODETYPE_SCALAR_OR_MAP } DEFAULT: { new: NODETYPE_SCALAR_OR_MAP } EOL: { new: FULLNODE } DEFAULT: { new: NODETYPE_NODE } FULLMAPVALUE_INLINE: ANCHOR: match: cb_anchor EOL: { match: cb_property_eol, new: FULLNODE_ANCHOR } WS: TAG: match: cb_tag EOL: { match: cb_property_eol, new: FULLNODE_TAG_ANCHOR } WS: { new: NODETYPE_MAPVALUE_INLINE } DEFAULT: { new: NODETYPE_MAPVALUE_INLINE } TAG: match: cb_tag EOL: { match: cb_property_eol, new: FULLNODE_TAG } WS: ANCHOR: match: cb_anchor EOL: { match: cb_property_eol, new: FULLNODE_TAG_ANCHOR } WS: { new: NODETYPE_MAPVALUE_INLINE } DEFAULT: { new: NODETYPE_MAPVALUE_INLINE } DEFAULT: { new: NODETYPE_MAPVALUE_INLINE } NODETYPE_MAPVALUE_INLINE: ALIAS: match: cb_send_alias EOL: { } QUOTED: match: cb_take_quoted EOL: { match: cb_send_scalar } QUOTED_MULTILINE: match: cb_quoted_multiline EOL: { } PLAIN: match: cb_start_plain EOL: match: cb_send_scalar PLAIN_MULTI: match: cb_send_plain_multi EOL: { } BLOCK_SCALAR: match: cb_send_block_scalar EOL: { } FLOWSEQ_START: match: cb_start_flowseq new: NEWFLOWSEQ FLOWMAP_START: match: cb_start_flowmap new: NEWFLOWMAP DOC_END: match: cb_end_document EOL: { } DOCUMENT_END: DOC_END: match: cb_end_document EOL: { } DOC_START: match: cb_end_doc_start_document EOL: { new: FULLNODE } WS: { new: FULLNODE } EOL: new: DOCUMENT_END STREAM: DOC_END: match: cb_end_document_empty EOL: { } DOC_START: match: cb_doc_start_explicit EOL: { new: FULLNODE } WS: { new: FULLNODE } YAML_DIRECTIVE: match: cb_set_yaml_version_directive EOL: { new: DIRECTIVE } WS: { new: DIRECTIVE } RESERVED_DIRECTIVE: match: cb_reserved_directive EOL: { new: DIRECTIVE } WS: { new: DIRECTIVE } TAG_DIRECTIVE: match: cb_tag_directive EOL: { new: DIRECTIVE } WS: { new: DIRECTIVE } EOL: new: STREAM DEFAULT: match: cb_doc_start_implicit new: FULLNODE DIRECTIVE: DOC_START: match: cb_doc_start_explicit EOL: { new: FULLNODE } WS: { new: FULLNODE } YAML_DIRECTIVE: match: cb_set_yaml_version_directive EOL: { new: DIRECTIVE } WS: { new: DIRECTIVE } RESERVED_DIRECTIVE: match: cb_reserved_directive EOL: { new: DIRECTIVE } WS: { new: DIRECTIVE } TAG_DIRECTIVE: match: cb_tag_directive EOL: { new: DIRECTIVE } WS: { new: DIRECTIVE } EOL: new: DIRECTIVE YAML-PP-v0.43.0/etc/PaxHeaders/get-tags.pl0000644000000000000000000000013215263373362014756 xustar0030 mtime=1791882994.976919921 30 atime=1791882994.976777933 30 ctime=1791882994.976919921 YAML-PP-v0.43.0/etc/get-tags.pl0000644000175000017500000000117415263373362014413 0ustar00tinatina#!/usr/bin/perl use strict; use warnings; use FindBin '$Bin'; use YAML::PP qw/ DumpFile /; sub get_tags { my ($dir) = @_; my %tag_id; opendir my $dh, $dir or die $!; my @tags = grep { not m/^\./ } readdir $dh; for my $tag (sort @tags) { next unless -d "$dir/$tag"; opendir my $dh, "$dir/$tag" or die $!; my @ids = grep { -l "$dir/$tag/$_" } readdir $dh; $tag_id{ $tag }->{ $_ } = 1 for @ids; closedir $dh; } closedir $dh; return \%tag_id; } my $data = get_tags("$Bin/../test-suite/yaml-test-suite-data/tags"); DumpFile("$Bin/../test-suite/tag_id.yaml", $data); YAML-PP-v0.43.0/PaxHeaders/bin0000644000000000000000000000013215263373362012626 xustar0030 mtime=1791882994.988205428 30 atime=1791882994.976634618 30 ctime=1791882994.988205428 YAML-PP-v0.43.0/bin/0000755000175000017500000000000015263373362012335 5ustar00tinatinaYAML-PP-v0.43.0/bin/PaxHeaders/yamlpp-parse-emit0000644000000000000000000000013015263373362016172 xustar0029 mtime=1791882994.98831033 30 atime=1791882994.988205428 29 ctime=1791882994.98831033 YAML-PP-v0.43.0/bin/yamlpp-parse-emit0000755000175000017500000000626215263373362015637 0ustar00tinatina#!/usr/bin/perl use strict; use warnings; use YAML::PP; use YAML::PP::Common qw/ YAML_FLOW_SEQUENCE_STYLE YAML_FLOW_MAPPING_STYLE /; use YAML::PP::Parser; use YAML::PP::Emitter; use YAML::PP::Writer; use Data::Dumper; use Encode; use Getopt::Long; Getopt::Long::Configure('bundling'); GetOptions( 'help|h' => \my $help, 'indent=i' => \my $indent, 'module|M=s' => \my $module, 'dump|D=s' => \my $emit, 'verbose' => \my $verbose, 'flow=s' => \my $flow, 'width=i' => \my $width, ) or usage(1); usage(0) if $help; $module ||= 'YAML::PP'; $emit ||= $module; $flow ||= 'no'; my ($file) = @ARGV; my $yaml; if ($file) { open my $fh, '<', $file or die $!; $yaml = do { local $/; <$fh> }; close $fh; } else { $yaml = do { local $/; }; } $yaml = decode_utf8($yaml); if ($emit eq 'YAML::PP::Ref') { $emit = 'YAML::PP'; } my $parserclass = 'YAML::PP::Parser'; my $emitterclass = 'YAML::PP::Emitter'; if ($module eq 'YAML::PP::LibYAML') { eval { require YAML::PP::LibYAML } or die "Module $module not supported: $@"; $parserclass = 'YAML::PP::LibYAML::Parser'; $emitterclass = 'YAML::PP::LibYAML::Emitter'; } elsif ($module eq 'YAML::PP::Ref') { eval { require YAML::PP::Ref } or die "Module $module not supported: $@"; $parserclass = 'YAML::PP::Ref::Parser'; } if ($emit eq 'YAML::PP::LibYAML') { eval { require YAML::PP::LibYAML } or die "Module $emit not supported: $@"; $emitterclass = 'YAML::PP::LibYAML::Emitter'; } my @events; my $parser = $parserclass->new( receiver => sub { my ($self, undef, $event) = @_; push @events, $event; }, ); eval { $parser->parse_string($yaml); }; if ($@) { for (@events) { print YAML::PP::Common::event_to_test_suite($_) ."\n"; } warn "Error parsing: $@"; exit 1; } my $writer = YAML::PP::Writer->new; my $emitter = $emitterclass->new( indent => $indent, width => $width ); $emitter->set_writer($writer); for my $event (@events) { my $type = $event->{name}; my $str = YAML::PP::Common::event_to_test_suite($event); print "$str\n" if $verbose; if ($type eq 'sequence_start_event' or $type eq 'mapping_start_event') { if ($flow eq 'no') { delete $event->{style}; } elsif ($flow eq 'yes') { if ($type eq 'sequence_start_event') { $event->{style} = YAML_FLOW_SEQUENCE_STYLE; } else { $event->{style} = YAML_FLOW_MAPPING_STYLE; } } } $emitter->$type($event); } my $out_yaml = $emitter->writer->output; print encode_utf8 $out_yaml; sub usage { my ($rc) = @_; print <<"EOM"; Usage: $0 [options] < file $0 [options] file Options: --indent= Number of spaces for indentation --width= Maximum column width (only used in flow style for now) --module, -M YAML::PP, YAML::PP::LibYAML or YAML::PP::Ref --dump, -D YAML::PP, YAML::PP::LibYAML --flow 'no' (default, always output block style), 'yes' (always output flow style), 'keep' (output flow style like in the original input) EOM exit $rc; } YAML-PP-v0.43.0/bin/PaxHeaders/yamlpp-load-dump0000644000000000000000000000013115263373362016007 xustar0030 mtime=1791882994.986154527 29 atime=1791882994.98605193 30 ctime=1791882994.986154527 YAML-PP-v0.43.0/bin/yamlpp-load-dump0000755000175000017500000002127315263373362015452 0ustar00tinatina#!/usr/bin/perl use strict; use warnings; use YAML::PP; use YAML::PP::Dumper; use YAML::PP::Common qw/ :PRESERVE /; use Encode; use Getopt::Long; Getopt::Long::Configure('bundling'); GetOptions( 'help|h' => \my $help, 'boolean=s' => \my $boolean, 'cyclic' => \my $cyclic, 'duplicate-keys' => \my $duplicate_keys, 'indent=i' => \my $indent, 'width=i' => \my $width, 'header!' => \my $header, 'footer!' => \my $footer, 'merge' => \my $merge, #'catchall' => \my $catchall, 'require-footer' => \my $require_footer, 'perl' => \my $perl, 'preserve|P=s' => \my $preserve, 'module|M=s' => \my $module, 'dump-module|D=s' => \my $dump_module, 'include' => \my $include, 'include-absolute' => \my $include_absolute, 'yaml-version=s' => \my $yaml_version, 'version-directive' => \my $version_directive, ) or usage(1); usage(0) if $help; $module ||= 'YAML::PP'; $boolean ||= 'JSON::PP'; $footer ||= 0; $indent ||= 2; $yaml_version ||= 1.2; $dump_module ||= $module; if ($dump_module eq 'YAML::PP::Ref') { $dump_module = 'YAML::PP'; } my @yaml_versions = split m/,/, $yaml_version; my @schema = ('+'); if ($merge) { push @schema, 'Merge'; } if ($perl) { push @schema, 'Perl'; } #if ($catchall) { # push @schema, 'Catchall'; #} my $preserve_order = 1; if (defined $preserve) { $preserve_order = 0; my @split = split m/,/, $preserve; $preserve = 0; for my $split (@split) { $preserve |= PRESERVE_ORDER if $split eq 'order'; $preserve_order = 1 if $split eq 'order'; $preserve |= PRESERVE_SCALAR_STYLE if $split eq 'scalar'; $preserve |= PRESERVE_FLOW_STYLE if $split eq 'flow'; $preserve |= PRESERVE_ALIAS if $split eq 'alias'; } } elsif ($dump_module =~ m/JSON/) { $preserve = PRESERVE_ORDER; } else { $preserve = 1; } $header = 1 unless defined $header; my ($file) = @ARGV; my $yaml; my $decode = 1; if ($module eq 'YAML::XS') { $decode = 0; } if ($file) { open my $fh, '<', $file or die "Can not open '$file'"; $yaml = do { local $/; <$fh> }; close $fh; } else { $yaml = do { local $/; }; } $yaml = decode_utf8($yaml) if $decode; my %load_modules = ( 'YAML::PP' => \&yamlpp, 'YAML::PP::LibYAML' => \&yamlpplibyaml, 'YAML::PP::Ref' => \&yamlppref, 'YAML::XS' => \&yamlxs, 'YAML::Tiny' => \&yamltiny, 'YAML::Syck' => \&yamlsyck, 'YAML' => \&yaml, ); my %dump_modules = ( 'YAML::PP' => \&yamlpp_dump, 'YAML::PP::LibYAML' => \&yamlpplibyaml_dump, 'YAML::XS' => \&yamlxs_dump, 'YAML::Tiny' => \&yamltiny_dump, 'YAML::Syck' => \&yamlsyck_dump, 'YAML' => \&yaml_dump, 'Data::Dumper' => \&data_dumper, 'JSON::PP' => \&json_pp_dump, 'JSON::XS' => \&json_xs_dump, 'Cpanel::JSON::XS' => \&cpanel_json_xs_dump, ); my $code = $load_modules{ $module } or die "Module '$module' not supported for loading"; my $dump_code = $dump_modules{ $dump_module } or die "Module '$dump_module' not supported for dumping"; my $docs = $code->($yaml, $file); my $out_yaml = $dump_code->($docs); sub _yamlpp { my ($class, $yaml, $file) = @_; my %args; my $inc; if ($include) { require YAML::PP::Schema::Include; $inc = YAML::PP::Schema::Include->new( $include_absolute ? (allow_absolute => 1) : (), ); push @schema, $inc; } my $ypp = $class->new( schema => \@schema, boolean => $boolean, cyclic_refs => $cyclic ? 'allow' : 'fatal', duplicate_keys => $duplicate_keys ? 1 : 0, preserve => $preserve, indent => $indent, width => $width, header => $header ? 1 : 0, footer => $footer ? 1 : 0, yaml_version => \@yaml_versions, version_directive => $version_directive || 0, require_footer => $require_footer, ); if ($inc) { $inc->yp($ypp); } my @docs = $file ? $ypp->load_file($file) : $ypp->load_string($yaml); return \@docs; } sub yamlpp { _yamlpp('YAML::PP' => @_); } sub yamlpp_dump { _yamlpp_dump('YAML::PP' => @_); } sub yamlpplibyaml { eval { require YAML::PP::LibYAML }; _yamlpp('YAML::PP::LibYAML' => @_); } sub yamlppref { eval { require YAML::PP::Ref }; _yamlpp('YAML::PP::Ref' => @_); } sub yamlpplibyaml_dump { eval { require YAML::PP::LibYAML }; _yamlpp_dump('YAML::PP::LibYAML' => @_); } sub _yamlpp_dump { my ($class, $docs) = @_; my $ypp = $class->new( schema => \@schema, boolean => $boolean, preserve => $preserve, indent => $indent, width => $width, header => $header ? 1 : 0, footer => $footer ? 1 : 0, yaml_version => \@yaml_versions, version_directive => $version_directive || 0, ); return $ypp->dump_string(@$docs); } sub yamlxs { eval { require YAML::XS }; my ($yaml) = @_; no warnings 'once'; local $YAML::XS::LoadBlessed = $perl; my @docs = YAML::XS::Load($yaml); return \@docs; } sub yamlxs_dump { my ($docs) = @_; eval { require YAML::XS }; no warnings 'once'; local $YAML::XS::Indent = $indent; return YAML::XS::Dump(@$docs); } sub yamlsyck { eval { require YAML::Syck }; my ($yaml) = @_; no warnings 'once'; local $YAML::Syck::LoadBlessed = $perl; local $YAML::Syck::ImplicitTyping = 1; local $YAML::Syck::ImplicitUnicode = 1; my @docs = YAML::Syck::Load($yaml); return \@docs; } sub yamlsyck_dump { eval { require YAML::Syck }; my ($docs) = @_; no warnings 'once'; local $YAML::Syck::Headless = 1 unless $header; local $YAML::Syck::ImplicitTyping = 1; local $YAML::Syck::ImplicitUnicode = 1; return YAML::Syck::Dump(@$docs); } sub yaml { eval { require YAML }; no warnings 'once'; local $YAML::LoadBlessed = $perl; my ($yaml) = @_; my @docs = YAML::Load($yaml); return \@docs; } sub yaml_dump { my ($docs) = @_; eval { require YAML }; no warnings 'once'; local $YAML::UseHeader = $header ? 1 : 0; local $YAML::Indent = $indent; return YAML::Dump(@$docs); } sub yamltiny { eval { require YAML::Tiny }; my ($yaml) = @_; my @docs = YAML::Tiny::Load($yaml); return \@docs; } sub yamltiny_dump { eval { require YAML::Tiny }; my ($docs) = @_; return YAML::Tiny::Dump(@$docs); } sub data_dumper { my ($docs) = @_; local $Data::Dumper::Useqq = 1; local $Data::Dumper::Sortkeys = 1 unless $preserve_order; my $out = ''; $out .= Data::Dumper->Dump([$docs->[ $_ ]], ["doc$_"]) for 0 ..$#$docs; return $out; } sub json_pp_dump { require JSON::PP; _json_dump('JSON::PP', @_) } sub json_xs_dump { require JSON::XS; _json_dump('JSON::XS', @_) } sub cpanel_json_xs_dump { require Cpanel::JSON::XS; _json_dump('Cpanel::JSON::XS', @_) } sub _json_dump { my ($class, $docs) = @_; my $coder = $class->new->ascii->pretty->allow_nonref->space_before(0); $coder = $coder->indent_length($indent) if $coder->can('indent_length'); $coder = $coder->canonical unless $preserve_order; my $out = ''; $out .= $coder->encode($docs->[ $_ ]) for 0 ..$#$docs; return $out; } if ($decode) { print encode_utf8 $out_yaml; } else { print $out_yaml; } sub usage { my ($rc) = @_; print <<"EOM"; Usage: $0 [options] < file $0 [options] file Options: --boolean= 'perl', 'JSON::PP', 'boolean' --cyclic Allow cyclic references --duplicate-keys Allow duplicate keys --indent= Number of spaces for indentation --width= Maximum column width (only used in flow style for now) --[no-]header Print '---' (default) --[no-]footer Print '...' --merge Enable loading merge keys '<<' --require-footer Require '...' and the end of each document --perl Enable loading perl types and objects (use only on trusted input!) --preserve, -P Comma separated: 'order', 'scalar', 'flow', 'alias'. Set to 0 to preserve nothing. By default all things are preserved --module -M YAML::PP (default), YAML, YAML::PP::LibYAML, YAML::Syck, YAML::Tiny, YAML::XS, YAML::PP::Ref --dump-module -D All of the above plus Data::Dumper, JSON::PP, JSON::XS, Cpanel::JSON::XS --yaml-version= '1.2' (default), '1.1', '1.2,1.1', '1.1,1.2' --version-directive Print '%YAML ' --include Enable Include Schema --include-absolute Allow absolute paths and ../../../ in includes (use only on trusted input!) EOM # --catchall Ignore any unknown tags exit $rc; } YAML-PP-v0.43.0/bin/PaxHeaders/yamlpp-highlight0000644000000000000000000000013015263373362016073 xustar0029 mtime=1791882994.98605193 30 atime=1791882994.985958481 29 ctime=1791882994.98605193 YAML-PP-v0.43.0/bin/yamlpp-highlight0000755000175000017500000000175715263373362015544 0ustar00tinatina#!/usr/bin/perl use strict; use warnings; use YAML::PP::Highlight; use Encode; use Getopt::Long; GetOptions( 'help|h' => \my $help, 'expand-tabs|et!' => \my $expand_tabs, ) or usage(1); $expand_tabs = 1 unless defined $expand_tabs; usage(0) if $help; my ($file) = @ARGV; my $yaml; unless ($file) { $yaml = do { local $/; }; $yaml = decode_utf8($yaml); } my $error; my $tokens; if (defined $file) { ($error, $tokens) = YAML::PP::Parser->yaml_to_tokens( file => $file ); } else { ($error, $tokens) = YAML::PP::Parser->yaml_to_tokens( string => $yaml ); } my $highlighted = YAML::PP::Highlight->ansicolored($tokens, expand_tabs => $expand_tabs); print encode_utf8 $highlighted; if ($error) { die $error; } sub usage { my ($rc) = @_; print <<"EOM"; Usage: $0 [options] < file $0 [options] file Options: --expand-tabs --et Expand tabs to 8 spaces (default true) --no-expand-tabs --no-et Don't expand tabs EOM exit $rc; } YAML-PP-v0.43.0/bin/PaxHeaders/yamlpp-events0000644000000000000000000000013215263373362015432 xustar0030 mtime=1791882994.980838249 30 atime=1791882994.980743823 30 ctime=1791882994.980838249 YAML-PP-v0.43.0/bin/yamlpp-events0000755000175000017500000000237415263373362015075 0ustar00tinatina#!/usr/bin/perl use strict; use warnings; use Encode; use YAML::PP::Parser; use YAML::PP::Common; use Getopt::Long; Getopt::Long::Configure('bundling'); GetOptions( 'help|h' => \my $help, 'module|M=s' => \my $module, ) or usage(1); usage(0) if $help; $module ||= 'YAML::PP'; if ($module eq 'YAML::PP') { $module = 'YAML::PP::Parser'; } elsif ($module eq 'YAML::PP::LibYAML') { require YAML::PP::LibYAML::Parser; $module = 'YAML::PP::LibYAML::Parser'; } elsif ($module eq 'YAML::PP::Ref') { require YAML::PP::Ref; $module = 'YAML::PP::Ref::Parser'; } my ($file) = @ARGV; my $parser = $module->new( receiver => sub { my ($self, undef, $event) = @_; print encode_utf8(YAML::PP::Common::event_to_test_suite($event, { flow => 1 })), "\n"; }, $file ? (reader => YAML::PP::Reader::File->new) : (), ); if ($file) { $parser->parse_file($file); } else { my $yaml; $yaml = do { local $/; }; $yaml = decode_utf8($yaml); $parser->parse_string($yaml); } sub usage { my ($rc) = @_; print <<"EOM"; Usage: $0 [options] < file $0 [options] file Options: --module -M Module to use for parsing. YAML::PP (default), YAML::PP::LibYAML or YAML::PP::Ref EOM exit $rc; } YAML-PP-v0.43.0/bin/PaxHeaders/yamlpp-load0000644000000000000000000000013215263373362015045 xustar0030 mtime=1791882994.976777933 30 atime=1791882994.976634618 30 ctime=1791882994.976777933 YAML-PP-v0.43.0/bin/yamlpp-load0000755000175000017500000000731415263373362014507 0ustar00tinatina#!/usr/bin/perl use strict; use warnings; use Data::Dumper; use YAML::PP; use YAML::PP::Common qw/ PRESERVE_ORDER /; use Encode; use Getopt::Long; Getopt::Long::Configure('bundling'); GetOptions( 'help|h' => \my $help, 'boolean=s' => \my $boolean, 'cyclic' => \my $cyclic, 'duplicate-keys' => \my $duplicate_keys, 'merge' => \my $merge, #'catchall' => \my $catchall, 'require-footer' => \my $require_footer, 'perl' => \my $perl, 'module|M=s' => \my $module, 'yaml-version=s' => \my $yaml_version, ) or usage(1); usage(0) if $help; $module ||= 'YAML::PP'; $boolean ||= 'JSON::PP'; $yaml_version ||= 1.2; my @yaml_versions = split m/,/, $yaml_version; my @schema = ('+'); if ($merge) { push @schema, 'Merge'; } if ($perl) { push @schema, 'Perl'; } #if ($catchall) { # push @schema, 'Catchall'; #} my ($file) = @ARGV; my $yaml; my $decode = 1; if ($module eq 'YAML::XS') { $decode = 0; } if ($file) { open my $fh, '<', $file or die "Can not open '$file'"; $yaml = do { local $/; <$fh> }; close $fh; } else { $yaml = do { local $/; }; } $yaml = decode_utf8($yaml) if $decode; my %codes = ( 'YAML::PP' => \&yamlpp, 'YAML::PP::LibYAML' => \&yamlpplibyaml, 'YAML::PP::Ref' => \&yamlppref, 'YAML::XS' => \&yamlxs, 'YAML::Tiny' => \&yamltiny, 'YAML::Syck' => \&yamlsyck, 'YAML' => \&yaml, ); my $code = $codes{ $module } or die "Module '$module' not supported"; my @docs = $code->($yaml); sub _yamlpp { my ($class, $yaml) = @_; my $ypp = $class->new( schema => \@schema, boolean => $boolean, cyclic_refs => $cyclic ? 'allow' : 'fatal', duplicate_keys => $duplicate_keys ? 1 : 0, preserve => PRESERVE_ORDER, yaml_version => \@yaml_versions, require_footer => $require_footer, ); my @docs = $ypp->load_string($yaml); return @docs; } sub yamlpp { _yamlpp('YAML::PP' => $_[0]); } sub yamlpplibyaml { eval { require YAML::PP::LibYAML }; _yamlpp('YAML::PP::LibYAML' => $_[0]); } sub yamlppref { eval { require YAML::PP::Ref }; _yamlpp('YAML::PP::Ref' => $_[0]); } sub yamlxs { eval { require YAML::XS }; my ($yaml) = @_; no warnings 'once'; local $YAML::XS::LoadBlessed = $perl; return YAML::XS::Load($yaml); } sub yamlsyck { eval { require YAML::Syck }; my ($yaml) = @_; no warnings 'once'; local $YAML::Syck::LoadBlessed = $perl; local $YAML::Syck::ImplicitTyping = 1; local $YAML::Syck::ImplicitUnicode = 1; return YAML::Syck::Load($yaml); } sub yaml { eval { require YAML }; my ($yaml) = @_; no warnings 'once'; local $YAML::LoadBlessed = $perl; return YAML::Load($yaml); } sub yamltiny { eval { require YAML::Tiny }; my ($yaml) = @_; return YAML::Tiny::Load($yaml); } local $Data::Dumper::Useqq = 1; local $Data::Dumper::Sortkeys = 1; print Data::Dumper->Dump([$docs[ $_ ]], ["doc$_"]) for 0 ..$#docs; sub usage { my ($rc) = @_; print <<"EOM"; Usage: $0 [options] < file $0 [options] file Options: --boolean= 'perl', 'JSON::PP', 'boolean' --cyclic Allow cyclic references --duplicate-keys Allow duplicate keys --merge Enable loading merge keys '<<' --require-footer Require '...' and the end of each document --perl Enable loading perl types and objects (use only on trusted input!) --module -M YAML::PP (default), YAML, YAML::PP::LibYAML, YAML::Syck, YAML::Tiny, YAML::XS, YAML::PP::Ref --yaml-version= '1.2' (default), '1.1', '1.2,1.1', '1.1,1.2' EOM #--catchall Ignore any unknown tags exit $rc; } YAML-PP-v0.43.0/PaxHeaders/CONTRIBUTING.md0000644000000000000000000000013215263373362014364 xustar0030 mtime=1791882994.976449608 30 atime=1791882994.976341702 30 ctime=1791882994.976449608 YAML-PP-v0.43.0/CONTRIBUTING.md0000644000175000017500000000263615263373362014025 0ustar00tinatina# How to contribute This module uses Dist::Zilla for creating releases, but you should be able to develop and test it without Dist::Zilla. ## Commits I try to follow these guidelines: * Git commits * Short commit message headline (if possible, up to 60 characters) * Blank line before message body * Message should be like: "Add foo ...", "Fix ..." * If you need to do formatting changes like indentation, put them into their own commit * Git workflow * Rebase every branch before merging it with --no-ff. Rebasing your pull request to current master helps me merging it. * No merging master into branches - try to rebase always * User branches might be heavily rebased/reordered/squashed because I like a clean history ## Code * No Tabs please * No trailing whitespace please * 4 spaces indentation * Look at existing code for formatting ;-) ## Testing prove -lr t To include the tests from the yaml-test-suite, checkout the test-suite branch like this: git branch test-suite --track origin/test-suite git worktree add test-suite test-suite There is also a Makefile.dev and a utility script dev.sh source dev.sh dmake testp # parallel testing You can check test coverage with make -f Makefile.dev cover # or dmake cover ## Contact Email: tinita at cpan.org IRC: tinita on freenode and irc.perl.org Chances are good that contacting me on IRC is the fastest way. YAML-PP-v0.43.0/PaxHeaders/lib0000644000000000000000000000013215263373362012624 xustar0030 mtime=1791882994.976281149 30 atime=1791882994.976089294 30 ctime=1791882994.976281149 YAML-PP-v0.43.0/lib/0000755000175000017500000000000015263373362012333 5ustar00tinatinaYAML-PP-v0.43.0/lib/PaxHeaders/YAML0000644000000000000000000000013215263373362013366 xustar0030 mtime=1791882994.982976382 30 atime=1791882994.976089294 30 ctime=1791882994.982976382 YAML-PP-v0.43.0/lib/YAML/0000755000175000017500000000000015263373362013075 5ustar00tinatinaYAML-PP-v0.43.0/lib/YAML/PaxHeaders/PP0000644000000000000000000000013215263373362013705 xustar0030 mtime=1791882994.994905828 30 atime=1791882994.982976382 30 ctime=1791882994.994905828 YAML-PP-v0.43.0/lib/YAML/PP/0000755000175000017500000000000015263373362013414 5ustar00tinatinaYAML-PP-v0.43.0/lib/YAML/PP/PaxHeaders/Type0000644000000000000000000000013215263373362014626 xustar0030 mtime=1791882994.994905828 30 atime=1791882994.994905828 30 ctime=1791882994.994905828 YAML-PP-v0.43.0/lib/YAML/PP/Type/0000755000175000017500000000000015263373362014335 5ustar00tinatinaYAML-PP-v0.43.0/lib/YAML/PP/Type/PaxHeaders/MergeKey.pm0000644000000000000000000000013015263373362016747 xustar0029 mtime=1791882994.99507268 30 atime=1791882994.994905828 29 ctime=1791882994.99507268 YAML-PP-v0.43.0/lib/YAML/PP/Type/MergeKey.pm0000644000175000017500000000060315263373362016402 0ustar00tinatinause strict; use warnings; package YAML::PP::Type::MergeKey; our $VERSION = 'v0.43.0'; # VERSION sub new { my ($class) = @_; return bless {}, $class; } 1; __END__ =pod =encoding utf-8 =head1 NAME YAML::PP::Type::MergeKey - A special node type for merge keys =head1 DESCRIPTION See L =head1 METHODS =over =item new Constructor =back =cut YAML-PP-v0.43.0/lib/YAML/PP/PaxHeaders/Schema0000644000000000000000000000013215263373362015105 xustar0030 mtime=1791882994.996148242 30 atime=1791882994.993917918 30 ctime=1791882994.996148242 YAML-PP-v0.43.0/lib/YAML/PP/Schema/0000755000175000017500000000000015263373362014614 5ustar00tinatinaYAML-PP-v0.43.0/lib/YAML/PP/Schema/PaxHeaders/Tie0000644000000000000000000000013215263373362015626 xustar0030 mtime=1791882994.996148242 30 atime=1791882994.996148242 30 ctime=1791882994.996148242 YAML-PP-v0.43.0/lib/YAML/PP/Schema/Tie/0000755000175000017500000000000015263373362015335 5ustar00tinatinaYAML-PP-v0.43.0/lib/YAML/PP/Schema/Tie/PaxHeaders/IxHash.pm0000644000000000000000000000013215263373362017425 xustar0030 mtime=1791882994.996296376 30 atime=1791882994.996148242 30 ctime=1791882994.996296376 YAML-PP-v0.43.0/lib/YAML/PP/Schema/Tie/IxHash.pm0000644000175000017500000000463215263373362017064 0ustar00tinatinause strict; use warnings; package YAML::PP::Schema::Tie::IxHash; our $VERSION = 'v0.43.0'; # VERSION use base 'YAML::PP::Schema'; use Scalar::Util qw/ blessed reftype /; my $ixhash = eval { require Tie::IxHash }; sub register { my ($self, %args) = @_; my $schema = $args{schema}; unless ($ixhash) { die "You need to install Tie::IxHash in order to use this module"; } $schema->add_representer( tied_equals => 'Tie::IxHash', code => sub { my ($rep, $node) = @_; $node->{items} = [ %{ $node->{data} } ]; return 1; }, ); return; } 1; __END__ =pod =encoding utf-8 =head1 NAME YAML::PP::Schema::Tie::IxHash - (Deprecated) Schema for serializing ordered hashes =head1 SYNOPSIS use YAML::PP; use Tie::IxHash; my $yp = YAML::PP->new( schema => [qw/ + Tie::IxHash /] ); tie(my %ordered, 'Tie::IxHash'); %ordered = ( U => 2, B => 52, ); my $yaml = $yp->dump_string(\%ordered); # Output: --- U: 2 B: 52 =head1 DESCRIPTION This is deprecated. See the new option C in L. This schema allows you to dump ordered hashes which are tied to L. This code is pretty new and experimental. It is not yet implemented for loading yet, so for now you have to tie the hashes yourself. Examples: =cut ### BEGIN EXAMPLE =pod =over 4 =item order # Code tie(my %order, 'Tie::IxHash'); %order = ( U => 2, B => 52, c => 64, 19 => 84, Disco => 2000, Year => 2525, days_on_earth => 20_000, ); \%order; # YAML --- U: 2 B: 52 c: 64 19: 84 Disco: 2000 Year: 2525 days_on_earth: 20000 =item order_blessed # Code tie(my %order, 'Tie::IxHash'); %order = ( U => 2, B => 52, c => 64, 19 => 84, Disco => 2000, Year => 2525, days_on_earth => 20_000, ); bless \%order, 'Order'; # YAML --- !perl/hash:Order U: 2 B: 52 c: 64 19: 84 Disco: 2000 Year: 2525 days_on_earth: 20000 =back =cut ### END EXAMPLE =head1 METHODS =over =item register Called by YAML::PP::Schema =back =cut YAML-PP-v0.43.0/lib/YAML/PP/Schema/PaxHeaders/Catchall.pm0000644000000000000000000000013215263373362017233 xustar0030 mtime=1791882994.996044806 30 atime=1791882994.995952755 30 ctime=1791882994.996044806 YAML-PP-v0.43.0/lib/YAML/PP/Schema/Catchall.pm0000644000175000017500000000315515263373362016671 0ustar00tinatinause strict; use warnings; package YAML::PP::Schema::Catchall; our $VERSION = 'v0.43.0'; # VERSION use Carp qw/ croak /; use YAML::PP::Common qw/ YAML_PLAIN_SCALAR_STYLE YAML_SINGLE_QUOTED_SCALAR_STYLE /; sub register { my ($self, %args) = @_; my $schema = $args{schema}; my $options = $args{options}; my $empty_null = 0; for my $opt (@$options) { if ($opt eq 'empty=str') { } elsif ($opt eq 'empty=null') { $empty_null = 1; } else { croak "Invalid option for JSON Schema: '$opt'"; } } $schema->add_resolver( tag => qr{^(?:!|tag:)}, match => [ all => sub { my ($constructor, $event) = @_; my $value = $event->{value}; return $value; }], implicit => 0, ); $schema->add_sequence_resolver( tag => qr{^(?:!|tag:)}, on_data => sub { my ($constructor, $ref, $list) = @_; push @$$ref, @$list; }, ); $schema->add_mapping_resolver( tag => qr{^(?:!|tag:)}, on_data => sub { my ($constructor, $ref, $list) = @_; for (my $i = 0; $i < @$list; $i += 2) { $$ref->{ $list->[ $i ] } = $list->[ $i + 1 ]; } }, ); return; } 1; __END__ =pod =encoding utf-8 =head1 NAME YAML::PP::Schema::JSON - YAML 1.2 JSON Schema =head1 SYNOPSIS my $yp = YAML::PP->new( schema => ['JSON'] ); my $yp = YAML::PP->new( schema => [qw/ JSON empty=str /] ); my $yp = YAML::PP->new( schema => [qw/ JSON empty=null /] ); =head1 DESCRIPTION =cut YAML-PP-v0.43.0/lib/YAML/PP/Schema/PaxHeaders/Failsafe.pm0000644000000000000000000000013215263373362017232 xustar0030 mtime=1791882994.995952755 30 atime=1791882994.995858469 30 ctime=1791882994.995952755 YAML-PP-v0.43.0/lib/YAML/PP/Schema/Failsafe.pm0000644000175000017500000000256615263373362016675 0ustar00tinatinause strict; use warnings; package YAML::PP::Schema::Failsafe; our $VERSION = 'v0.43.0'; # VERSION sub register { my ($self, %args) = @_; my $schema = $args{schema}; $schema->add_resolver( tag => 'tag:yaml.org,2002:str', match => [ all => sub { $_[1]->{value} } ], ); $schema->add_sequence_resolver( tag => 'tag:yaml.org,2002:seq', on_data => sub { my ($constructor, $ref, $list) = @_; push @$$ref, @$list; }, ); $schema->add_mapping_resolver( tag => 'tag:yaml.org,2002:map', on_data => sub { my ($constructor, $ref, $list) = @_; for (my $i = 0; $i < @$list; $i += 2) { $$ref->{ $list->[ $i ] } = $list->[ $i + 1 ]; } }, ); return; } 1; __END__ =pod =encoding utf-8 =head1 NAME YAML::PP::Schema::Failsafe - YAML 1.2 Failsafe Schema =head1 SYNOPSIS my $yp = YAML::PP->new( schema => ['Failsafe'] ); =head1 DESCRIPTION With this schema, everything will be treated as a string. There are no booleans, integers, floats or undefined values. Here you can see all Schemas and examples implemented by YAML::PP: L Official Schema: L =head1 METHODS =over =item register Called by YAML::PP::Schema =back =cut YAML-PP-v0.43.0/lib/YAML/PP/Schema/PaxHeaders/Include.pm0000644000000000000000000000013215263373362017103 xustar0030 mtime=1791882994.995763554 30 atime=1791882994.995666055 30 ctime=1791882994.995763554 YAML-PP-v0.43.0/lib/YAML/PP/Schema/Include.pm0000644000175000017500000001455615263373362016550 0ustar00tinatinause strict; use warnings; package YAML::PP::Schema::Include; our $VERSION = 'v0.43.0'; # VERSION use Carp qw/ croak /; use Scalar::Util qw/ weaken /; use File::Basename qw/ dirname /; use File::Spec; sub new { my ($class, %args) = @_; my $paths = delete $args{paths}; if (defined $paths) { unless (ref $paths eq 'ARRAY') { $paths = [$paths]; } } else { $paths = []; } my $allow_absolute = $args{allow_absolute} || 0; my $loader = $args{loader} || \&default_loader; my $self = bless { paths => $paths, allow_absolute => $allow_absolute, last_includes => [], cached => {}, loader => $loader, }, $class; return $self; } sub init { my ($self) = @_; $self->{last_includes} = []; $self->{cached} = []; } sub paths { $_[0]->{paths} } sub allow_absolute { $_[0]->{allow_absolute} } sub yp { my ($self, $yp) = @_; if (@_ == 2) { $self->{yp} = $yp; weaken $self->{yp}; return $yp; } return $self->{yp}; } sub register { my ($self, %args) = @_; my $schema = $args{schema}; $schema->add_resolver( tag => '!include', match => [ all => sub { $self->include(@_) } ], implicit => 0, ); } sub include { my ($self, $constructor, $event) = @_; my $yp = $self->yp; my $search_paths = $self->paths; my $allow_absolute = $self->allow_absolute; my $relative = not @$search_paths; if ($relative) { my $last_includes = $self->{last_includes}; if (@$last_includes) { $search_paths = [ $last_includes->[-1] ]; } else { # we are in the top-level file and need to look into # the original YAML::PP instance my $filename = $yp->loader->filename; $search_paths = [dirname $filename]; } } my $filename = $event->{value}; my $fullpath; if (File::Spec->file_name_is_absolute($filename)) { unless ($allow_absolute) { croak "Absolute filenames not allowed"; } $fullpath = $filename; } else { my @paths = File::Spec->splitdir($filename); unless ($allow_absolute) { # if absolute paths are not allowed, we also may not use upwards .. @paths = File::Spec->no_upwards(@paths); } for my $candidate (@$search_paths) { my $test = File::Spec->catfile( $candidate, @paths ); if (-e $test) { $fullpath = $test; last; } } croak "File '$filename' not found" unless defined $fullpath; } if ($self->{cached}->{ $fullpath }++) { croak "Circular include '$fullpath'"; } if ($relative) { push @{ $self->{last_includes} }, dirname $fullpath; } # We need a new object because we are still in the parsing and # constructing process my $clone = $yp->clone; my ($data) = $self->loader->($clone, $fullpath); if ($relative) { pop @{ $self->{last_includes} }; } unless (--$self->{cached}->{ $fullpath }) { delete $self->{cached}->{ $fullpath }; } return $data; } sub loader { my ($self, $code) = @_; if (@_ == 2) { $self->{loader} = $code; return $code; } return $self->{loader}; } sub default_loader { my ($yp, $filename) = @_; $yp->load_file($filename); } 1; __END__ =pod =encoding utf-8 =head1 NAME YAML::PP::Schema::Include - Include YAML files =head1 SYNOPSIS # /path/to/file.yaml # --- # included: !include include/file2.yaml # /path/to/include/file2.yaml # --- # a: b my $include = YAML::PP::Schema::Include->new; my $yp = YAML::PP->new( schema => ['+', $include] ); # we need the original YAML::PP object for getting the current filename # and for loading another file $include->yp($yp); my ($data) = $yp->load_file("/path/to/file.yaml"); # The result will be: $data = { included => { a => 'b' } }; Allow absolute filenames and upwards C<'..'>: my $include = YAML::PP::Schema::Include->new( allow_absolute => 1, # default: 0 ); Specify paths to search for includes: my @include_paths = ("/path/to/include/yaml/1", "/path/to/include/yaml/2"); my $include = YAML::PP::Schema::Include->new( paths => \@include_paths, ); my $yp = YAML::PP->new( schema => ['+', $include] ); $include->yp($yp); # /path/to/include/yaml/1/file1.yaml # --- # a: b my $yaml = <<'EOM'; - included: !include file1.yaml EOM my ($data) = $yp->load_string($yaml); =head1 DESCRIPTION This plugin allows you to split a large YAML file into smaller ones. You can then include these files with the C tag. It will search for the specified filename relative to the currently processed filename. You can also specify the paths where to search for files to include. It iterates through the paths and returns the first filename that exists. By default, only relative paths are allowed. Any C<../> in the path will be removed. You can change that behaviour by setting the option C to true. If the included file contains more than one document, only the first one will be included. I will probably add a possibility to return all documents as an arrayref. The included YAML file will be loaded by creating a new L object with the schema from the existing object. This way you can recursively include files. You can even reuse the same include via an alias: --- invoice: shipping address: &address !include address.yaml billing address: *address Circular includes will be detected, and will be fatal. It's possible to specify what to do with the included file: my $include = YAML::PP::Schema::Include->new( loader => sub { my ($yp, $filename); if ($filename =~ m/\.txt$/) { # open file and just return text } else { # default behaviour return $yp->load_file($filename); } }, ); For example, RAML defines an C tag which depends on the file content. If it contains a special RAML directive, it will be loaded as YAML, otherwise the content of the file will be included as a string. So with this plugin you are able to read RAML specifications. =cut YAML-PP-v0.43.0/lib/YAML/PP/Schema/PaxHeaders/YAML1_1.pm0000644000000000000000000000013215263373362016563 xustar0030 mtime=1791882994.995666055 30 atime=1791882994.995570302 30 ctime=1791882994.995666055 YAML-PP-v0.43.0/lib/YAML/PP/Schema/YAML1_1.pm0000644000175000017500000001522515263373362016222 0ustar00tinatinause strict; use warnings; package YAML::PP::Schema::YAML1_1; our $VERSION = 'v0.43.0'; # VERSION use YAML::PP::Schema::JSON qw/ represent_int represent_float represent_literal represent_bool represent_undef /; use YAML::PP::Common qw/ YAML_PLAIN_SCALAR_STYLE /; #https://yaml.org/type/bool.html # y|Y|yes|Yes|YES|n|N|no|No|NO # |true|True|TRUE|false|False|FALSE # |on|On|ON|off|Off|OFF # https://yaml.org/type/float.html # [-+]?([0-9][0-9_]*)?\.[0-9.]*([eE][-+][0-9]+)? (base 10) # |[-+]?[0-9][0-9_]*(:[0-5]?[0-9])+\.[0-9_]* (base 60) # |[-+]?\.(inf|Inf|INF) # (infinity) # |\.(nan|NaN|NAN) # (not a number) # https://yaml.org/type/int.html # [-+]?0b[0-1_]+ # (base 2) # |[-+]?0[0-7_]+ # (base 8) # |[-+]?(0|[1-9][0-9_]*) # (base 10) # |[-+]?0x[0-9a-fA-F_]+ # (base 16) # |[-+]?[1-9][0-9_]*(:[0-5]?[0-9])+ # (base 60) # https://yaml.org/type/null.html # ~ # (canonical) # |null|Null|NULL # (English) # | # (Empty) my $RE_INT_1_1 = qr{^([+-]?(?:0|[1-9][0-9_]*))$}; #my $RE_FLOAT_1_1 = qr{^([+-]?([0-9][0-9_]*)?\.[0-9.]*([eE][+-][0-9]+)?)$}; # https://yaml.org/type/float.html has a bug. The regex says \.[0-9.], but # probably means \.[0-9_] my $RE_FLOAT_1_1 = qr{^([+-]?(?:[0-9][0-9_]*)?\.[0-9_]*(?:[eE][+-][0-9]+)?)$}; my $RE_SEXAGESIMAL = qr{^([+-]?[0-9][0-9_]*(:[0-5]?[0-9])+\.[0-9_]*)$}; my $RE_SEXAGESIMAL_INT = qr{^([-+]?[1-9][0-9_]*(:[0-5]?[0-9])+)$}; my $RE_INT_OCTAL_1_1 = qr{^([+-]?)0([0-7_]+)$}; my $RE_INT_HEX_1_1 = qr{^([+-]?)(0x[0-9a-fA-F_]+)$}; my $RE_INT_BIN_1_1 = qr{^([-+]?)(0b[0-1_]+)$}; sub _from_oct { my ($constructor, $event, $matches) = @_; my ($sign, $oct) = @$matches; $oct =~ tr/_//d; my $result = oct $oct; $result = -$result if $sign eq '-'; return $result; } sub _from_hex { my ($constructor, $event, $matches) = @_; my ($sign, $hex) = @$matches; my $result = hex $hex; $result = -$result if $sign eq '-'; return $result; } sub _sexa_to_float { my ($constructor, $event, $matches) = @_; my ($float) = @$matches; my $result = 0; my $i = 0; my $sign = 1; $float =~ s/^-// and $sign = -1; for my $part (reverse split m/:/, $float) { $result += $part * ( 60 ** $i ); $i++; } $result = unpack F => pack F => $result; return $result * $sign; } sub _to_float { my ($constructor, $event, $matches) = @_; my ($float) = @$matches; $float =~ tr/_//d; $float = unpack F => pack F => $float; return $float; } sub _to_int { my ($constructor, $event, $matches) = @_; my ($int) = @$matches; $int =~ tr/_//d; 0 + $int; } sub register { my ($self, %args) = @_; my $schema = $args{schema}; $schema->add_resolver( tag => 'tag:yaml.org,2002:null', match => [ equals => $_ => undef ], ) for (qw/ null NULL Null ~ /, ''); $schema->add_resolver( tag => 'tag:yaml.org,2002:bool', match => [ equals => $_ => $schema->true ], ) for (qw/ true TRUE True y Y yes Yes YES on On ON /); $schema->add_resolver( tag => 'tag:yaml.org,2002:bool', match => [ equals => $_ => $schema->false ], ) for (qw/ false FALSE False n N no No NO off Off OFF /); $schema->add_resolver( tag => 'tag:yaml.org,2002:int', match => [ regex => $RE_INT_OCTAL_1_1 => \&_from_oct ], ); $schema->add_resolver( tag => 'tag:yaml.org,2002:int', match => [ regex => $RE_INT_1_1 => \&_to_int ], ); $schema->add_resolver( tag => 'tag:yaml.org,2002:int', match => [ regex => $RE_INT_HEX_1_1 => \&_from_hex ], ); $schema->add_resolver( tag => 'tag:yaml.org,2002:float', match => [ regex => $RE_FLOAT_1_1 => \&_to_float ], ); $schema->add_resolver( tag => 'tag:yaml.org,2002:int', match => [ regex => $RE_INT_BIN_1_1 => \&_from_oct ], ); $schema->add_resolver( tag => 'tag:yaml.org,2002:int', match => [ regex => $RE_SEXAGESIMAL_INT => \&_sexa_to_float ], ); $schema->add_resolver( tag => 'tag:yaml.org,2002:float', match => [ regex => $RE_SEXAGESIMAL => \&_sexa_to_float ], ); $schema->add_resolver( tag => 'tag:yaml.org,2002:float', match => [ equals => $_ => 0 + "inf" ], ) for (qw/ .inf .Inf .INF +.inf +.Inf +.INF /); $schema->add_resolver( tag => 'tag:yaml.org,2002:float', match => [ equals => $_ => 0 - "inf" ], ) for (qw/ -.inf -.Inf -.INF /); $schema->add_resolver( tag => 'tag:yaml.org,2002:float', match => [ equals => $_ => 0 + "nan" ], ) for (qw/ .nan .NaN .NAN /); $schema->add_resolver( tag => 'tag:yaml.org,2002:str', match => [ all => sub { $_[1]->{value} } ], implicit => 0, ); my $int_flags = B::SVp_IOK; my $float_flags = B::SVp_NOK; $schema->add_representer( flags => $int_flags, code => \&represent_int, ); $schema->add_representer( flags => $float_flags, code => \&represent_float, ); $schema->add_representer( undefined => \&represent_undef, ); $schema->add_representer( equals => $_, code => \&represent_literal, ) for ("", qw/ true TRUE True y Y yes Yes YES on On ON false FALSE False n N n no No NO off Off OFF null NULL Null ~ .inf .Inf .INF -.inf -.Inf -.INF +.inf +.Inf +.INF .nan .NaN .NAN /); $schema->add_representer( regex => qr{$RE_INT_1_1|$RE_FLOAT_1_1|$RE_INT_OCTAL_1_1|$RE_INT_HEX_1_1|$RE_INT_BIN_1_1|$RE_SEXAGESIMAL_INT|$RE_SEXAGESIMAL}, code => \&represent_literal, ); if ($schema->bool_class) { for my $class (@{ $schema->bool_class }) { if ($class eq 'perl') { $schema->add_representer( bool => 1, code => \&represent_bool, ); next; } $schema->add_representer( class_equals => $class, code => \&represent_bool, ); } } return; } 1; __END__ =pod =encoding utf-8 =head1 NAME YAML::PP::Schema::YAML1_1 - YAML 1.1 Schema for YAML::PP =head1 SYNOPSIS use YAML::PP; my $yp = YAML::PP->new( schema => ['YAML1_1'] ); my $yaml = <<'EOM'; --- booltrue: [ true, True, TRUE, y, Y, yes, Yes, YES, on, On, ON ] EOM my $data = $yp->load_string($yaml); =head1 DESCRIPTION This schema allows you to load the common YAML Types from YAML 1.1. =head1 METHODS =over =item register Called by YAML::PP::Schema =back =head1 SEE ALSO =over =item L =item L =item L =item L =back YAML-PP-v0.43.0/lib/YAML/PP/Schema/PaxHeaders/Binary.pm0000644000000000000000000000013115263373362016743 xustar0030 mtime=1791882994.995180027 29 atime=1791882994.99507268 30 ctime=1791882994.995180027 YAML-PP-v0.43.0/lib/YAML/PP/Schema/Binary.pm0000644000175000017500000000503615263373362016402 0ustar00tinatinause strict; use warnings; package YAML::PP::Schema::Binary; our $VERSION = 'v0.43.0'; # VERSION use MIME::Base64 qw/ decode_base64 encode_base64 /; use YAML::PP::Common qw/ YAML_ANY_SCALAR_STYLE /; sub register { my ($self, %args) = @_; my $schema = $args{schema}; $schema->add_resolver( tag => 'tag:yaml.org,2002:binary', match => [ all => sub { my ($constructor, $event) = @_; my $base64 = $event->{value}; my $binary = decode_base64($base64); return $binary; }], implicit => 0, ); $schema->add_representer( regex => qr{.*}, code => sub { my ($rep, $node) = @_; my $binary = $node->{value}; unless ($binary =~ m/[\x{7F}-\x{10FFFF}]/) { # ASCII return; } if (utf8::is_utf8($binary)) { # utf8 return; } # everything else must be base64 encoded my $base64 = encode_base64($binary); $node->{style} = YAML_ANY_SCALAR_STYLE; $node->{data} = $base64; $node->{tag} = "tag:yaml.org,2002:binary"; return 1; }, ); } 1; __END__ =pod =encoding utf-8 =head1 NAME YAML::PP::Schema::Binary - Schema for loading and binary data =head1 SYNOPSIS use YAML::PP; my $yp = YAML::PP->new( schema => [qw/ + Binary /] ); # or my ($binary, $same_binary) = $yp->load_string(<<'EOM'); --- !!binary "\ R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5\ OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+\ +f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC\ AgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs=" --- !!binary | R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5 OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+ +f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC AgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs= # The binary value above is a tiny arrow encoded as a gif image. EOM =head1 DESCRIPTION See By prepending a base64 encoded binary string with the C tag, it can be automatically decoded when loading. Note that the logic for dumping is probably broken, see L. Suggestions welcome. =head1 METHODS =over =item register Called by L =back =cut YAML-PP-v0.43.0/lib/YAML/PP/Schema/PaxHeaders/Merge.pm0000644000000000000000000000013215263373362016557 xustar0030 mtime=1791882994.994531966 30 atime=1791882994.994435305 30 ctime=1791882994.994531966 YAML-PP-v0.43.0/lib/YAML/PP/Schema/Merge.pm0000644000175000017500000000467415263373362016224 0ustar00tinatinause strict; use warnings; package YAML::PP::Schema::Merge; our $VERSION = 'v0.43.0'; # VERSION use YAML::PP::Type::MergeKey; sub register { my ($self, %args) = @_; my $schema = $args{schema}; $schema->add_resolver( tag => 'tag:yaml.org,2002:merge', match => [ equals => '<<' => YAML::PP::Type::MergeKey->new ], ); } 1; __END__ =pod =encoding utf-8 =head1 NAME YAML::PP::Schema::Merge - Enabling YAML merge keys for mappings =head1 SYNOPSIS use YAML::PP; my $yp = YAML::PP->new( schema => [qw/ + Merge /] ); my $yaml = <<'EOM'; --- - &CENTER { x: 1, y: 2 } - &LEFT { x: 0, y: 2 } - &BIG { r: 10 } - &SMALL { r: 1 } # All the following maps are equal: - # Explicit keys x: 1 y: 2 r: 10 label: center/big - # Merge one map << : *CENTER r: 10 label: center/big - # Merge multiple maps << : [ *CENTER, *BIG ] label: center/big - # Override << : [ *BIG, *LEFT, *SMALL ] x: 1 label: center/big EOM my $data = $yp->load_string($yaml); # $data->[4] == $data->[5] == $data->[6] == $data->[7] =head1 DESCRIPTION See L for the specification. Quote: "Specify one or more mappings to be merged with the current one. The C<< << >> merge key is used to indicate that all the keys of one or more specified maps should be inserted into the current map. If the value associated with the key is a single mapping node, each of its key/value pairs is inserted into the current mapping, unless the key already exists in it. If the value associated with the merge key is a sequence, then this sequence is expected to contain mapping nodes and each of these nodes is merged in turn according to its order in the sequence. Keys in mapping nodes earlier in the sequence override keys specified in later mapping nodes." The implementation of this in a generic way is not trivial, because we also have to handle duplicate keys, and YAML::PP allows you to write your own handler for processing mappings. So the inner API of that is not stable at this point. Note that if you enable this schema, a plain scalar `<<` will be seen as special anywhere in your document, so if you want a literal `<<`, you have to put it in quotes. Note that the performed merge is not a "deep merge". Only top-level keys are merged. =head1 METHODS =over =item register Called by YAML::PP::Schema =back =cut YAML-PP-v0.43.0/lib/YAML/PP/Schema/PaxHeaders/Core.pm0000644000000000000000000000013215263373362016410 xustar0030 mtime=1791882994.994286682 30 atime=1791882994.994182478 30 ctime=1791882994.994286682 YAML-PP-v0.43.0/lib/YAML/PP/Schema/Core.pm0000644000175000017500000001002715263373362016042 0ustar00tinatinause strict; use warnings; package YAML::PP::Schema::Core; our $VERSION = 'v0.43.0'; # VERSION use YAML::PP::Schema::JSON qw/ represent_int represent_float represent_literal represent_bool represent_undef /; use B; use YAML::PP::Common qw/ YAML_PLAIN_SCALAR_STYLE /; my $RE_INT_CORE = qr{^([+-]?(?:[0-9]+))$}; my $RE_FLOAT_CORE = qr{^([+-]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)(?:[eE][+-]?[0-9]+)?)$}; my $RE_INT_OCTAL = qr{^0o([0-7]+)$}; my $RE_INT_HEX = qr{^0x([0-9a-fA-F]+)$}; sub _from_oct { oct $_[2]->[0] } sub _from_hex { hex $_[2]->[0] } sub register { my ($self, %args) = @_; my $schema = $args{schema}; $schema->add_resolver( tag => 'tag:yaml.org,2002:null', match => [ equals => $_ => undef ], ) for (qw/ null NULL Null ~ /, ''); $schema->add_resolver( tag => 'tag:yaml.org,2002:bool', match => [ equals => $_ => $schema->true ], ) for (qw/ true TRUE True /); $schema->add_resolver( tag => 'tag:yaml.org,2002:bool', match => [ equals => $_ => $schema->false ], ) for (qw/ false FALSE False /); $schema->add_resolver( tag => 'tag:yaml.org,2002:int', match => [ regex => $RE_INT_CORE => \&YAML::PP::Schema::JSON::_to_int ], ); $schema->add_resolver( tag => 'tag:yaml.org,2002:int', match => [ regex => $RE_INT_OCTAL => \&_from_oct ], ); $schema->add_resolver( tag => 'tag:yaml.org,2002:int', match => [ regex => $RE_INT_HEX => \&_from_hex ], ); $schema->add_resolver( tag => 'tag:yaml.org,2002:float', match => [ regex => $RE_FLOAT_CORE => \&YAML::PP::Schema::JSON::_to_float ], ); $schema->add_resolver( tag => 'tag:yaml.org,2002:float', match => [ equals => $_ => 0 + "inf" ], ) for (qw/ .inf .Inf .INF +.inf +.Inf +.INF /); $schema->add_resolver( tag => 'tag:yaml.org,2002:float', match => [ equals => $_ => 0 - "inf" ], ) for (qw/ -.inf -.Inf -.INF /); $schema->add_resolver( tag => 'tag:yaml.org,2002:float', match => [ equals => $_ => 0 + "nan" ], ) for (qw/ .nan .NaN .NAN /); $schema->add_resolver( tag => 'tag:yaml.org,2002:str', match => [ all => sub { $_[1]->{value} } ], ); my $int_flags = B::SVp_IOK; my $float_flags = B::SVp_NOK; $schema->add_representer( flags => $int_flags, code => \&represent_int, ); $schema->add_representer( flags => $float_flags, code => \&represent_float, ); $schema->add_representer( undefined => \&represent_undef, ); $schema->add_representer( equals => $_, code => \&represent_literal, ) for ("", qw/ true TRUE True false FALSE False null NULL Null ~ .inf .Inf .INF +.inf +.Inf +.INF -.inf -.Inf -.INF .nan .NaN .NAN /); $schema->add_representer( regex => qr{$RE_INT_CORE|$RE_FLOAT_CORE|$RE_INT_OCTAL|$RE_INT_HEX}, code => \&represent_literal, ); if ($schema->bool_class) { for my $class (@{ $schema->bool_class }) { if ($class eq 'perl') { $schema->add_representer( bool => 1, code => \&represent_bool, ); next; } $schema->add_representer( class_equals => $class, code => \&represent_bool, ); } } return; } 1; __END__ =pod =encoding utf-8 =head1 NAME YAML::PP::Schema::Core - YAML 1.2 Core Schema =head1 SYNOPSIS my $yp = YAML::PP->new( schema => ['Core'] ); =head1 DESCRIPTION This schema is the official recommended Core Schema for YAML 1.2. It loads additional values to the JSON schema as special types, for example C and C additional to C. Official Schema: L Here you can see all Schemas and examples implemented by YAML::PP: L =head1 METHODS =over =item register Called by YAML::PP::Schema =back =cut YAML-PP-v0.43.0/lib/YAML/PP/Schema/PaxHeaders/Perl.pm0000644000000000000000000000013215263373362016422 xustar0030 mtime=1791882994.994182478 30 atime=1791882994.994068636 30 ctime=1791882994.994182478 YAML-PP-v0.43.0/lib/YAML/PP/Schema/Perl.pm0000644000175000017500000006004215263373362016056 0ustar00tinatinause strict; use warnings; package YAML::PP::Schema::Perl; our $VERSION = 'v0.43.0'; # VERSION use Scalar::Util qw/ blessed reftype /; my $qr_prefix; # workaround to avoid growing regexes when repeatedly loading and dumping # e.g. (?^:(?^:regex)) { $qr_prefix = qr{\(\?-xism\:}; if ($] >= 5.014) { $qr_prefix = qr{\(\?\^(?:[uadl])?\:}; } } sub new { my ($class, %args) = @_; my $tags = $args{tags} || []; my $loadcode = $args{loadcode} || 0; my $dumpcode = $args{dumpcode}; $dumpcode = 1 unless defined $dumpcode; my $classes = $args{classes}; my $self = bless { tags => $tags, loadcode => $loadcode, dumpcode => $dumpcode, classes => $classes, }, $class; } sub register { my ($self, %args) = @_; my $schema = $args{schema}; my $tags; my $loadcode = 0; my $dumpcode = 1; my $classes; if (blessed($self)) { $tags = $self->{tags}; @$tags = ('!perl') unless @$tags; $loadcode = $self->{loadcode}; $dumpcode = $self->{dumpcode}; $classes = $self->{classes}; } else { my $options = $args{options}; my $tagtype = '!perl'; for my $option (@$options) { if ($option =~ m/^tags?=(.+)$/) { $tagtype = $1; } elsif ($option eq '+loadcode') { $loadcode = 1; } elsif ($option eq '-dumpcode') { $dumpcode = 0; } } $tags = [split m/\+/, $tagtype]; } my $perl_tag; my %tagtypes; my @perl_tags; for my $type (@$tags) { if ($type eq '!perl') { $perl_tag ||= $type; push @perl_tags, '!perl'; } elsif ($type eq '!!perl') { $perl_tag ||= 'tag:yaml.org,2002:perl'; push @perl_tags, 'tag:yaml.org,2002:perl'; } else { die "Invalid tagtype '$type'"; } $tagtypes{ $type } = 1; } my $perl_regex = '!perl'; if ($tagtypes{'!perl'} and $tagtypes{'!!perl'}) { $perl_regex = '(?:tag:yaml\\.org,2002:|!)perl'; } elsif ($tagtypes{'!perl'}) { $perl_regex = '!perl'; } elsif ($tagtypes{'!!perl'}) { $perl_regex = 'tag:yaml\\.org,2002:perl'; } my $class_regex = qr{.+}; my $no_objects = 0; if ($classes) { if (@$classes) { $class_regex = '(' . join( '|', map "\Q$_\E", @$classes ) . ')'; } else { $no_objects = 1; $class_regex = ''; } } # Code if ($loadcode) { my $load_code = sub { my ($constructor, $event) = @_; return $self->evaluate_code($event->{value}); }; my $load_code_blessed = sub { my ($constructor, $event) = @_; my $class = $event->{tag}; $class =~ s{^$perl_regex/code:}{}; my $sub = $self->evaluate_code($event->{value}); return $self->object($sub, $class); }; $schema->add_resolver( tag => "$_/code", match => [ all => $load_code], implicit => 0, ) for @perl_tags; $schema->add_resolver( tag => qr{^$perl_regex/code:$class_regex$}, match => [ all => $load_code_blessed ], implicit => 0, ); $schema->add_resolver( tag => qr{^$perl_regex/code:.+}, match => [ all => $load_code ], implicit => 0, ) if $no_objects; } else { my $loadcode_dummy = sub { return sub {} }; my $loadcode_blessed_dummy = sub { my ($constructor, $event) = @_; my $class = $event->{tag}; $class =~ s{^$perl_regex/code:}{}; return $self->object(sub {}, $class); }; $schema->add_resolver( tag => "$_/code", match => [ all => $loadcode_dummy ], implicit => 0, ) for @perl_tags; $schema->add_resolver( tag => qr{^$perl_regex/code:$class_regex$}, match => [ all => $loadcode_blessed_dummy ], implicit => 0, ); $schema->add_resolver( tag => qr{^$perl_regex/code:.+}, match => [ all => $loadcode_dummy ], implicit => 0, ); } # Glob my $load_glob = sub { my $value = undef; return \$value; }; my $load_glob_blessed = sub { my ($constructor, $event) = @_; my $class = $event->{tag}; $class =~ s{^$perl_regex/glob:}{}; my $value = undef; return $self->object(\$value, $class); }; $schema->add_mapping_resolver( tag => "$_/glob", on_create => $load_glob, on_data => sub { my ($constructor, $ref, $list) = @_; $$ref = $self->construct_glob($list); }, ) for @perl_tags; if ($no_objects) { $schema->add_mapping_resolver( tag => qr{^$perl_regex/glob:.+$}, on_create => $load_glob, on_data => sub { my ($constructor, $ref, $list) = @_; $$ref = $self->construct_glob($list); }, ); } else { $schema->add_mapping_resolver( tag => qr{^$perl_regex/glob:$class_regex$}, on_create => $load_glob_blessed, on_data => sub { my ($constructor, $ref, $list) = @_; $$$ref = $self->construct_glob($list); }, ); } # Regex my $load_regex = sub { my ($constructor, $event) = @_; return $self->construct_regex($event->{value}); }; my $load_regex_dummy = sub { my ($constructor, $event) = @_; return $event->{value}; }; my $load_regex_blessed = sub { my ($constructor, $event) = @_; my $class = $event->{tag}; $class =~ s{^$perl_regex/regexp:}{}; my $qr = $self->construct_regex($event->{value}); return $self->object($qr, $class); }; $schema->add_resolver( tag => "$_/regexp", match => [ all => $load_regex ], implicit => 0, ) for @perl_tags; $schema->add_resolver( tag => qr{^$perl_regex/regexp:$class_regex$}, match => [ all => $load_regex_blessed ], implicit => 0, ); $schema->add_resolver( tag => qr{^$perl_regex/regexp:.*$}, match => [ all => $load_regex_dummy ], implicit => 0, ); my $load_sequence = sub { return [] }; my $load_sequence_blessed = sub { my ($constructor, $event) = @_; my $class = $event->{tag}; $class =~ s{^$perl_regex/array:}{}; return $self->object([], $class); }; $schema->add_sequence_resolver( tag => "$_/array", on_create => $load_sequence, ) for @perl_tags; $schema->add_sequence_resolver( tag => qr{^$perl_regex/array:$class_regex$}, on_create => $load_sequence_blessed, ); $schema->add_sequence_resolver( tag => qr{^$perl_regex/array:.+$}, on_create => $load_sequence, );# if $no_objects; my $load_mapping = sub { return {} }; my $load_mapping_blessed = sub { my ($constructor, $event) = @_; my $class = $event->{tag}; $class =~ s{^$perl_regex/hash:}{}; return $self->object({}, $class); }; $schema->add_mapping_resolver( tag => "$_/hash", on_create => $load_mapping, ) for @perl_tags; $schema->add_mapping_resolver( tag => qr{^$perl_regex/hash:$class_regex$}, on_create => $load_mapping_blessed, ); $schema->add_mapping_resolver( tag => qr{^$perl_regex/hash:.+$}, on_create => $load_mapping, ); # if $no_objects; # Ref my $load_ref = sub { my $value = undef; return \$value; }; my $load_ref_blessed = sub { my ($constructor, $event) = @_; my $class = $event->{tag}; $class =~ s{^$perl_regex/ref:}{}; my $value = undef; return $self->object(\$value, $class); }; $schema->add_mapping_resolver( tag => "$_/ref", on_create => $load_ref, on_data => sub { my ($constructor, $ref, $list) = @_; $$$ref = $self->construct_ref($list); }, ) for @perl_tags; $schema->add_mapping_resolver( tag => qr{^$perl_regex/ref:$class_regex$}, on_create => $load_ref_blessed, on_data => sub { my ($constructor, $ref, $list) = @_; $$$ref = $self->construct_ref($list); }, ); $schema->add_mapping_resolver( tag => qr{^$perl_regex/ref:.+$}, on_create => $load_ref, on_data => sub { my ($constructor, $ref, $list) = @_; $$$ref = $self->construct_ref($list); }, ); # if $no_objects; # Scalar ref my $load_scalar_ref = sub { my $value = undef; return \$value; }; my $load_scalar_ref_blessed = sub { my ($constructor, $event) = @_; my $class = $event->{tag}; $class =~ s{^$perl_regex/scalar:}{}; my $value = undef; return $self->object(\$value, $class); }; $schema->add_mapping_resolver( tag => "$_/scalar", on_create => $load_scalar_ref, on_data => sub { my ($constructor, $ref, $list) = @_; $$$ref = $self->construct_scalar($list); }, ) for @perl_tags; $schema->add_mapping_resolver( tag => qr{^$perl_regex/scalar:$class_regex$}, on_create => $load_scalar_ref_blessed, on_data => sub { my ($constructor, $ref, $list) = @_; $$$ref = $self->construct_scalar($list); }, ); $schema->add_mapping_resolver( tag => qr{^$perl_regex/scalar:.+$}, on_create => $load_scalar_ref, on_data => sub { my ($constructor, $ref, $list) = @_; $$$ref = $self->construct_scalar($list); }, ); # if $no_objects; $schema->add_representer( scalarref => 1, code => sub { my ($rep, $node) = @_; $node->{tag} = $perl_tag . "/scalar"; $node->{data} = $self->represent_scalar($node->{value}); }, ); $schema->add_representer( refref => 1, code => sub { my ($rep, $node) = @_; $node->{tag} = $perl_tag . "/ref"; $node->{data} = $self->represent_ref($node->{value}); }, ); $schema->add_representer( coderef => 1, code => sub { my ($rep, $node) = @_; $node->{tag} = $perl_tag . "/code"; $node->{data} = $dumpcode ? $self->represent_code($node->{value}) : '{ "DUMMY" }'; }, ); $schema->add_representer( glob => 1, code => sub { my ($rep, $node) = @_; $node->{tag} = $perl_tag . "/glob"; $node->{data} = $self->represent_glob($node->{value}); }, ); $schema->add_representer( class_matches => 1, code => sub { my ($rep, $node) = @_; my $blessed = blessed $node->{value}; my $tag_blessed = ":$blessed"; if ($blessed !~ m/^$class_regex$/) { $tag_blessed = ''; } $node->{tag} = sprintf "$perl_tag/%s%s", lc($node->{reftype}), $tag_blessed; if ($node->{reftype} eq 'HASH') { $node->{data} = $node->{value}; } elsif ($node->{reftype} eq 'ARRAY') { $node->{data} = $node->{value}; } # Fun with regexes in perl versions! elsif ($node->{reftype} eq 'REGEXP') { if ($blessed eq 'Regexp') { $node->{tag} = $perl_tag . "/regexp"; } $node->{data} = $self->represent_regex($node->{value}); } elsif ($node->{reftype} eq 'SCALAR') { # in perl <= 5.10 regex reftype(regex) was SCALAR if ($blessed eq 'Regexp') { $node->{tag} = $perl_tag . '/regexp'; $node->{data} = $self->represent_regex($node->{value}); } # In perl <= 5.10 there seemed to be no better pure perl # way to detect a blessed regex? elsif ( $] <= 5.010001 and not defined ${ $node->{value} } and $node->{value} =~ m/^\(\?/ ) { $node->{tag} = $perl_tag . '/regexp' . $tag_blessed; $node->{data} = $self->represent_regex($node->{value}); } else { # phew, just a simple scalarref $node->{data} = $self->represent_scalar($node->{value}); } } elsif ($node->{reftype} eq 'REF') { $node->{data} = $self->represent_ref($node->{value}); } elsif ($node->{reftype} eq 'CODE') { $node->{data} = $dumpcode ? $self->represent_code($node->{value}) : '{ "DUMMY" }'; } elsif ($node->{reftype} eq 'GLOB') { $node->{data} = $self->represent_glob($node->{value}); } else { die "Reftype '$node->{reftype}' not implemented"; } return 1; }, ); return; } sub evaluate_code { my ($self, $code) = @_; unless ($code =~ m/^ \s* \{ .* \} \s* \z/xs) { die "Malformed code"; } $code = "sub $code"; my $sub = eval $code; if ($@) { die "Couldn't eval code: $@>>$code<<"; } return $sub; } sub construct_regex { my ($self, $regex) = @_; if ($regex =~ m/^$qr_prefix(.*)\)\z/s) { $regex = $1; } my $qr = qr{$regex}; return $qr; } sub construct_glob { my ($self, $list) = @_; if (@$list % 2) { die "Unexpected data in perl/glob construction"; } my %globdata = @$list; my $name = delete $globdata{NAME} or die "Missing NAME in perl/glob"; my $pkg = delete $globdata{PACKAGE}; $pkg = 'main' unless defined $pkg; my @allowed = qw(SCALAR ARRAY HASH CODE IO); delete @globdata{ @allowed }; if (my @keys = keys %globdata) { die "Unexpected keys in perl/glob: @keys"; } no strict 'refs'; return *{"${pkg}::$name"}; } sub construct_scalar { my ($self, $list) = @_; if (@$list != 2) { die "Unexpected data in perl/scalar construction"; } my ($key, $value) = @$list; unless ($key eq '=') { die "Unexpected data in perl/scalar construction"; } return $value; } sub construct_ref { &construct_scalar; } sub represent_scalar { my ($self, $value) = @_; return { '=' => $$value }; } sub represent_ref { &represent_scalar; } sub represent_code { my ($self, $code) = @_; require B::Deparse; my $deparse = B::Deparse->new("-p", "-sC"); return $deparse->coderef2text($code); } my @stats = qw/ device inode mode links uid gid rdev size atime mtime ctime blksize blocks /; sub represent_glob { my ($self, $glob) = @_; my %glob; for my $type (qw/ PACKAGE NAME SCALAR ARRAY HASH CODE IO /) { my $value = *{ $glob }{ $type }; if ($type eq 'SCALAR') { $value = $$value; } elsif ($type eq 'IO') { if (defined $value) { undef $value; $value->{stat} = {}; if ($value->{fileno} = fileno(*{ $glob })) { @{ $value->{stat} }{ @stats } = stat(*{ $glob }); $value->{tell} = tell *{ $glob }; } } } $glob{ $type } = $value if defined $value; } return \%glob; } sub represent_regex { my ($self, $regex) = @_; $regex = "$regex"; if ($regex =~ m/^$qr_prefix(.*)\)\z/s) { $regex = $1; } return $regex; } sub object { my ($self, $data, $class) = @_; return bless $data, $class; } 1; __END__ =pod =encoding utf-8 =head1 NAME YAML::PP::Schema::Perl - Schema for serializing perl objects and special types =head1 SYNOPSIS use YAML::PP; # This can be dangerous when loading untrusted YAML! my $yp = YAML::PP->new( schema => [qw/ + Perl /] ); # or my $yp = YAML::PP->new( schema => [qw/ Core Perl /] ); my $yaml = $yp->dump_string(sub { return 23 }); # loading code references # This is very dangerous when loading untrusted YAML!! my $yp = YAML::PP->new( schema => [qw/ + Perl +loadcode /] ); my $code = $yp->load_string(<<'EOM'); --- !perl/code | { use 5.010; my ($name) = @_; say "Hello $name!"; } EOM $code->("Ingy"); =head1 DESCRIPTION This schema allows you to load and dump perl objects and special types. Please note that loading objects of arbitrary classes can be dangerous in Perl. You have to load the modules yourself, but if an exploitable module is loaded and an object is created, its C method will be called when the object falls out of scope. L is an example that can be exploitable and might remove arbitrary files. Dumping code references is on by default, but not loading (because that is easily exploitable since it's using string C). =head2 Tag Styles You can define the style of tags you want to support: my $yp_perl_two_one = YAML::PP->new( schema => [qw/ + Perl tags=!!perl+!perl /], ); =over =item C (default) Only C tags are supported. =item C Only C tags are supported. =item C Both C and C are supported when loading. When dumping, C is used. =item C Both C and C are supported when loading. When dumping, C is used. =back L.pm, L and L are using C when dumping. L.pm and L are supporting both C and C when loading. L currently only supports the latter. =head2 Allow only certain classes Since v0.017 Blessing arbitrary objects can be dangerous. Maybe you want to allow blessing only specific classes and ignore others. For this you have to instantiate a Perl Schema object first and use the C option. Currently it only allows a list of strings: my $perl = YAML::PP::Schema::Perl->new( classes => ['Foo', 'Bar'], ); my $yp = YAML::PP::Perl->new( schema => [qw/ + /, $perl], ); Allowed classes will be loaded and dumped as usual. The others will be ignored. If you want to allow no objects at all, pass an empty array ref. =cut =head2 EXAMPLES This is a list of the currently supported types and how they are dumped into YAML: =cut ### BEGIN EXAMPLE =pod =over 4 =item array # Code [ qw/ one two three four / ] # YAML --- - one - two - three - four =item array_blessed # Code bless [ qw/ one two three four / ], "Just::An::Arrayref" # YAML --- !perl/array:Just::An::Arrayref - one - two - three - four =item circular # Code my $circle = bless [ 1, 2 ], 'Circle'; push @$circle, $circle; $circle; # YAML --- &1 !perl/array:Circle - 1 - 2 - *1 =item coderef # Code sub { my (%args) = @_; return $args{x} + $args{y}; } # YAML --- !perl/code |- { use warnings; use strict; (my(%args) = @_); (return ($args{'x'} + $args{'y'})); } =item coderef_blessed # Code bless sub { my (%args) = @_; return $args{x} - $args{y}; }, "I::Am::Code" # YAML --- !perl/code:I::Am::Code |- { use warnings; use strict; (my(%args) = @_); (return ($args{'x'} - $args{'y'})); } =item hash # Code { U => 2, B => 52, } # YAML --- B: 52 U: 2 =item hash_blessed # Code bless { U => 2, B => 52, }, 'A::Very::Exclusive::Class' # YAML --- !perl/hash:A::Very::Exclusive::Class B: 52 U: 2 =item refref # Code my $ref = { a => 'hash' }; my $refref = \$ref; $refref; # YAML --- !perl/ref =: a: hash =item refref_blessed # Code my $ref = { a => 'hash' }; my $refref = bless \$ref, 'Foo'; $refref; # YAML --- !perl/ref:Foo =: a: hash =item regexp # Code my $string = 'unblessed'; qr{$string} # YAML --- !perl/regexp unblessed =item regexp_blessed # Code my $string = 'blessed'; bless qr{$string}, "Foo" # YAML --- !perl/regexp:Foo blessed =item scalarref # Code my $scalar = "some string"; my $scalarref = \$scalar; $scalarref; # YAML --- !perl/scalar =: some string =item scalarref_blessed # Code my $scalar = "some other string"; my $scalarref = bless \$scalar, 'Foo'; $scalarref; # YAML --- !perl/scalar:Foo =: some other string =back =cut ### END EXAMPLE =head2 METHODS =over =item new my $perl = YAML::PP::Schema::Perl->new( tags => "!perl", classes => ['MyClass'], loadcode => 1, dumpcode => 1, ); The constructor recognizes the following options: =over =item tags Default: 'C' See L<"Tag Styles"> =item classes Default: C Since: v0.017 Accepts an array ref of class names =item loadcode Default: 0 =item dumpcode Default: 1 my $yp = YAML::PP->new( schema => [qw/ + Perl -dumpcode /] ); =back =item register A class method called by L =item construct_ref, represent_ref Perl variables of the type C are represented in yaml like this: --- !perl/ref =: a: 1 C returns the perl data: my $data = YAML::PP::Schema::Perl->construct_ref([ '=', { some => 'data' } ); my $data = \{ a => 1 }; C turns a C variable into a YAML mapping: my $data = YAML::PP::Schema::Perl->represent_ref(\{ a => 1 }); my $data = { '=' => { a => 1 } }; =item construct_scalar, represent_scalar Perl variables of the type C are represented in yaml like this: --- !perl/scalar =: string C returns the perl data: my $data = YAML::PP::Schema::Perl->construct_ref([ '=', 'string' ); my $data = \'string'; C turns a C variable into a YAML mapping: my $data = YAML::PP::Schema::Perl->represent_scalar(\'string'); my $data = { '=' => 'string' }; =item construct_regex, represent_regex C returns a C object from the YAML string: my $qr = YAML::PP::Schema::Perl->construct_regex('foo.*'); C returns a string representing the regex object: my $string = YAML::PP::Schema::Perl->represent_regex(qr{...}); =item evaluate_code, represent_code C returns a code reference from a string. The string must start with a C<{> and end with a C<}>. my $code = YAML::PP::Schema::Perl->evaluate_code('{ return 23 }'); C returns a string representation of the code reference with the help of B::Deparse: my $string = YAML::PP::Schema::Perl->represent_code(sub { return 23 }); =item construct_glob, represent_glob C returns a glob from a hash. my $glob = YAML::PP::Schema::Perl->construct_glob($hash); C returns a hash representation of the glob. my $hash = YAML::PP::Schema::Perl->represent_glob($glob); =item object Does the same as C: my $object = YAML::PP::Schema::Perl->object($data, $class); =back =cut YAML-PP-v0.43.0/lib/YAML/PP/Schema/PaxHeaders/JSON.pm0000644000000000000000000000013215263373362016271 xustar0030 mtime=1791882994.994068636 30 atime=1791882994.993917918 30 ctime=1791882994.994068636 YAML-PP-v0.43.0/lib/YAML/PP/Schema/JSON.pm0000644000175000017500000001423215263373362015725 0ustar00tinatinause strict; use warnings; package YAML::PP::Schema::JSON; our $VERSION = 'v0.43.0'; # VERSION use Exporter 'import'; our @EXPORT_OK = qw/ represent_int represent_float represent_literal represent_bool represent_undef /; use B; use Carp qw/ croak /; use YAML::PP::Common qw/ YAML_PLAIN_SCALAR_STYLE YAML_SINGLE_QUOTED_SCALAR_STYLE /; my $RE_INT = qr{^(-?(?:0|[1-9][0-9]*))$}; my $RE_FLOAT = qr{^(-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?)$}; sub _to_int { 0 + $_[2]->[0] } # DaTa++ && shmem++ sub _to_float { unpack F => pack F => $_[2]->[0] } sub register { my ($self, %args) = @_; my $schema = $args{schema}; my $options = $args{options}; my $empty_null = 0; for my $opt (@$options) { if ($opt eq 'empty=str') { } elsif ($opt eq 'empty=null') { $empty_null = 1; } else { croak "Invalid option for JSON Schema: '$opt'"; } } $schema->add_resolver( tag => 'tag:yaml.org,2002:null', match => [ equals => null => undef ], ); if ($empty_null) { $schema->add_resolver( tag => 'tag:yaml.org,2002:null', match => [ equals => '' => undef ], implicit => 1, ); } else { $schema->add_resolver( tag => 'tag:yaml.org,2002:str', match => [ equals => '' => '' ], implicit => 1, ); } $schema->add_resolver( tag => 'tag:yaml.org,2002:bool', match => [ equals => true => $schema->true ], ); $schema->add_resolver( tag => 'tag:yaml.org,2002:bool', match => [ equals => false => $schema->false ], ); $schema->add_resolver( tag => 'tag:yaml.org,2002:int', match => [ regex => $RE_INT => \&_to_int ], ); $schema->add_resolver( tag => 'tag:yaml.org,2002:float', match => [ regex => $RE_FLOAT => \&_to_float ], ); $schema->add_resolver( tag => 'tag:yaml.org,2002:str', match => [ all => sub { $_[1]->{value} } ], ); $schema->add_representer( undefined => \&represent_undef, ); my $int_flags = B::SVp_IOK; my $float_flags = B::SVp_NOK; $schema->add_representer( flags => $int_flags, code => \&represent_int, ); my %special = ( (0+'nan').'' => '.nan', (0+'inf').'' => '.inf', (0-'inf').'' => '-.inf' ); $schema->add_representer( flags => $float_flags, code => \&represent_float, ); $schema->add_representer( equals => $_, code => \&represent_literal, ) for ("", qw/ true false null /); $schema->add_representer( regex => qr{$RE_INT|$RE_FLOAT}, code => \&represent_literal, ); if ($schema->bool_class) { for my $class (@{ $schema->bool_class }) { if ($class eq 'perl') { $schema->add_representer( bool => 1, code => \&represent_bool, ); next; } $schema->add_representer( class_equals => $class, code => \&represent_bool, ); } } return; } sub represent_undef { my ($rep, $node) = @_; $node->{style} = YAML_PLAIN_SCALAR_STYLE; $node->{data} = 'null'; return 1; } sub represent_literal { my ($rep, $node) = @_; $node->{style} ||= YAML_SINGLE_QUOTED_SCALAR_STYLE; $node->{data} = "$node->{value}"; return 1; } sub represent_int { my ($rep, $node) = @_; if (int($node->{value}) ne $node->{value}) { return 0; } $node->{style} = YAML_PLAIN_SCALAR_STYLE; $node->{data} = "$node->{value}"; return 1; } my %special = ( (0+'nan').'' => '.nan', (0+'inf').'' => '.inf', (0-'inf').'' => '-.inf' ); sub represent_float { my ($rep, $node) = @_; if (exists $special{ $node->{value} }) { $node->{style} = YAML_PLAIN_SCALAR_STYLE; $node->{data} = $special{ $node->{value} }; return 1; } if (0.0 + $node->{value} ne $node->{value}) { return 0; } if (int($node->{value}) eq $node->{value} and not $node->{value} =~ m/\./) { $node->{value} .= '.0'; } $node->{style} = YAML_PLAIN_SCALAR_STYLE; $node->{data} = "$node->{value}"; return 1; } sub represent_bool { my ($rep, $node) = @_; my $string = $node->{value} ? 'true' : 'false'; $node->{style} = YAML_PLAIN_SCALAR_STYLE; @{ $node->{items} } = $string; $node->{data} = $string; return 1; } 1; __END__ =pod =encoding utf-8 =head1 NAME YAML::PP::Schema::JSON - YAML 1.2 JSON Schema =head1 SYNOPSIS my $yp = YAML::PP->new( schema => ['JSON'] ); my $yp = YAML::PP->new( schema => [qw/ JSON empty=str /] ); my $yp = YAML::PP->new( schema => [qw/ JSON empty=null /] ); =head1 DESCRIPTION With this schema, the resolution of plain values will work like in JSON. Everything that matches a special value will be loaded as such, other plain scalars will be loaded as strings. Note that this is different from the official YAML 1.2 JSON Schema, where all strings have to be quoted. Here you can see all Schemas and examples implemented by YAML::PP: L Official Schema: L =head1 CONFIGURATION The official YAML 1.2 JSON Schema wants all strings to be quoted. YAML::PP currently does not require that (it might do this optionally in the future). That means, there are no empty nodes allowed in the official schema. Example: --- key: The default behaviour of YAML::PP::Schema::JSON is to return an empty string, so it would be equivalent to: --- key: '' You can configure it to resolve this as C: my $yp = YAML::PP->new( schema => [qw/ JSON empty=null /] ); This way it is equivalent to: --- key: null The default is: my $yp = YAML::PP->new( schema => [qw/ JSON empty=str /] ); =head1 METHODS =over =item register Called by YAML::PP::Schema =item represent_bool, represent_float, represent_int, represent_literal, represent_undef Functions to represent the several node types. represent_bool($representer, $node); =back =cut YAML-PP-v0.43.0/lib/YAML/PP/PaxHeaders/Writer0000644000000000000000000000013215263373362015161 xustar0030 mtime=1791882994.993762171 30 atime=1791882994.993762171 30 ctime=1791882994.993762171 YAML-PP-v0.43.0/lib/YAML/PP/Writer/0000755000175000017500000000000015263373362014670 5ustar00tinatinaYAML-PP-v0.43.0/lib/YAML/PP/Writer/PaxHeaders/File.pm0000644000000000000000000000013215263373362016453 xustar0030 mtime=1791882994.993917918 30 atime=1791882994.993762171 30 ctime=1791882994.993917918 YAML-PP-v0.43.0/lib/YAML/PP/Writer/File.pm0000644000175000017500000000351115263373362016105 0ustar00tinatinause strict; use warnings; package YAML::PP::Writer::File; our $VERSION = 'v0.43.0'; # VERSION use Scalar::Util qw/ openhandle /; use YAML::PP::Writer; our @ISA = qw/ YAML::PP::Writer /; use Carp qw/ croak /; sub _open_handle { my ($self) = @_; if (openhandle($self->{output})) { $self->{filehandle} = $self->{output}; return $self->{output}; } open my $fh, '>:encoding(UTF-8)', $self->{output} or croak "Could not open '$self->{output}' for writing: $!"; $self->{filehandle} = $fh; return $fh; } sub write { my ($self, $line) = @_; my $fh = $self->{filehandle}; print $fh $line; } sub init { my ($self) = @_; my $fh = $self->_open_handle; } sub finish { my ($self) = @_; if (openhandle($self->{output})) { # Original argument was a file handle, so the caller needs # to close it return; } close $self->{filehandle}; } 1; __END__ =pod =encoding utf-8 =head1 NAME YAML::PP::Writer::File - Write YAML output to file or file handle =head1 SYNOPSIS my $writer = YAML::PP::Writer::File->new(output => $file); =head1 DESCRIPTION The L sends its output to the writer. You can use your own writer. if you want to send the YAML output to somewhere else. See t/44.writer.t for an example. =head1 METHODS =over =item new my $writer = YAML::PP::Writer::File->new(output => $file); my $writer = YAML::PP::Writer::File->new(output => $filehandle); Constructor. =item write $writer->write('- '); =item init $writer->init; Initialize =item finish $writer->finish; Gets called when the output ends. If The argument was a filename, the filehandle will be closed. If the argument was a filehandle, the caller needs to close it. =item output, set_output Getter/setter for the YAML output =back =cut YAML-PP-v0.43.0/lib/YAML/PP/PaxHeaders/Constructor.pm0000644000000000000000000000013215263373362016645 xustar0030 mtime=1791882994.993762171 30 atime=1791882994.993662926 30 ctime=1791882994.993762171 YAML-PP-v0.43.0/lib/YAML/PP/Constructor.pm0000644000175000017500000003257715263373362016315 0ustar00tinatina# ABSTRACT: Construct data structure from Parser Events use strict; use warnings; package YAML::PP::Constructor; our $VERSION = 'v0.43.0'; # VERSION use YAML::PP; use YAML::PP::Common qw/ PRESERVE_ORDER PRESERVE_SCALAR_STYLE PRESERVE_FLOW_STYLE PRESERVE_ALIAS /; use Scalar::Util qw/ reftype /; use Carp qw/ croak /; use constant DEBUG => ($ENV{YAML_PP_LOAD_DEBUG} or $ENV{YAML_PP_LOAD_TRACE}) ? 1 : 0; use constant TRACE => $ENV{YAML_PP_LOAD_TRACE} ? 1 : 0; use constant MAX_DEPTH => 2 ** 9; my %cyclic_refs = qw/ allow 1 ignore 1 warn 1 fatal 1 /; sub new { my ($class, %args) = @_; my $default_yaml_version = delete $args{default_yaml_version}; my $duplicate_keys = delete $args{duplicate_keys}; unless (defined $duplicate_keys) { $duplicate_keys = 0; } my $require_footer = delete $args{require_footer}; my $max_depth = delete $args{max_depth} || MAX_DEPTH; my $preserve = delete $args{preserve} || 0; if ($preserve == 1) { $preserve = PRESERVE_ORDER | PRESERVE_SCALAR_STYLE | PRESERVE_FLOW_STYLE | PRESERVE_ALIAS; } my $cyclic_refs = delete $args{cyclic_refs} || 'fatal'; die "Invalid value for cyclic_refs: $cyclic_refs" unless $cyclic_refs{ $cyclic_refs }; my $schemas = delete $args{schemas}; if (keys %args) { die "Unexpected arguments: " . join ', ', sort keys %args; } my $self = bless { default_yaml_version => $default_yaml_version, schemas => $schemas, cyclic_refs => $cyclic_refs, preserve => $preserve, duplicate_keys => $duplicate_keys, require_footer => $require_footer, max_depth => $max_depth, }, $class; $self->init; return $self; } sub clone { my ($self) = @_; my $clone = { schemas => $self->{schemas}, schema => $self->{schema}, default_yaml_version => $self->{default_yaml_version}, cyclic_refs => $self->cyclic_refs, preserve => $self->{preserve}, max_depth => $self->{max_depth}, }; return bless $clone, ref $self; } sub init { my ($self) = @_; $self->set_docs([]); $self->set_stack([]); $self->set_anchors({}); $self->set_yaml_version($self->default_yaml_version); $self->set_schema($self->schemas->{ $self->yaml_version } ); } sub docs { return $_[0]->{docs} } sub stack { return $_[0]->{stack} } sub anchors { return $_[0]->{anchors} } sub set_docs { $_[0]->{docs} = $_[1] } sub set_stack { $_[0]->{stack} = $_[1] } sub set_anchors { $_[0]->{anchors} = $_[1] } sub schemas { return $_[0]->{schemas} } sub schema { return $_[0]->{schema} } sub set_schema { $_[0]->{schema} = $_[1] } sub cyclic_refs { return $_[0]->{cyclic_refs} } sub set_cyclic_refs { $_[0]->{cyclic_refs} = $_[1] } sub yaml_version { return $_[0]->{yaml_version} } sub set_yaml_version { $_[0]->{yaml_version} = $_[1] } sub default_yaml_version { return $_[0]->{default_yaml_version} } sub preserve_order { return $_[0]->{preserve} & PRESERVE_ORDER } sub preserve_scalar_style { return $_[0]->{preserve} & PRESERVE_SCALAR_STYLE } sub preserve_flow_style { return $_[0]->{preserve} & PRESERVE_FLOW_STYLE } sub preserve_alias { return $_[0]->{preserve} & PRESERVE_ALIAS } sub duplicate_keys { return $_[0]->{duplicate_keys} } sub require_footer { return $_[0]->{require_footer} } sub max_depth { return $_[0]->{max_depth} } sub document_start_event { my ($self, $event) = @_; my $stack = $self->stack; if ($event->{version_directive}) { my $version = $event->{version_directive}; $version = "$version->{major}.$version->{minor}"; if ($self->{schemas}->{ $version }) { $self->set_yaml_version($version); $self->set_schema($self->schemas->{ $version }); } else { $self->set_yaml_version($self->default_yaml_version); $self->set_schema($self->schemas->{ $self->default_yaml_version }); } } my $ref = []; push @$stack, { type => 'document', ref => $ref, data => $ref, event => $event }; } sub document_end_event { my ($self, $event) = @_; my $stack = $self->stack; my $last = pop @$stack; $last->{type} eq 'document' or die "Expected mapping, but got $last->{type}"; if (@$stack) { die "Got unexpected end of document"; } my $docs = $self->docs; if ($event->{implicit} and $self->require_footer) { die sprintf "load: Document (%d) did not end with '...' (require_footer=1)", 1 + scalar @$docs; } push @$docs, $last->{ref}->[0]; $self->set_anchors({}); $self->set_stack([]); } sub _check_depth { my ($self) = @_; my $stack = $self->stack; my $c = @$stack; if ($c > ($self->max_depth || MAX_DEPTH)){ croak sprintf 'Depth of nesting exceeds maximum %s', $self->max_depth; } } sub mapping_start_event { my ($self, $event) = @_; my ($data, $on_data) = $self->schema->create_mapping($self, $event); my $ref = { type => 'mapping', ref => [], data => \$data, event => $event, on_data => $on_data, }; $self->_check_depth; my $stack = $self->stack; my $preserve_order = $self->preserve_order; my $preserve_style = $self->preserve_flow_style; my $preserve_alias = $self->preserve_alias; if (($preserve_order or $preserve_style or $preserve_alias) and not tied(%$data)) { tie %$data, 'YAML::PP::Preserve::Hash', %$data; } if ($preserve_style) { my $t = tied %$data; $t->{style} = $event->{style}; } push @$stack, $ref; if (defined(my $anchor = $event->{anchor})) { if ($preserve_alias) { my $t = tied %$data; unless (exists $self->anchors->{ $anchor }) { # Repeated anchors cannot be preserved $t->{alias} = $anchor; } } $self->anchors->{ $anchor } = { data => $ref->{data} }; } } sub mapping_end_event { my ($self, $event) = @_; my $stack = $self->stack; my $last = pop @$stack; my ($ref, $data) = @{ $last }{qw/ ref data /}; $last->{type} eq 'mapping' or die "Expected mapping, but got $last->{type}"; my @merge_keys; my @ref; for (my $i = 0; $i < @$ref; $i += 2) { my $key = $ref->[ $i ]; if (ref $key eq 'YAML::PP::Type::MergeKey') { my $merge = $ref->[ $i + 1 ]; if ((reftype($merge) || '') eq 'HASH') { push @merge_keys, $merge; } elsif ((reftype($merge) || '') eq 'ARRAY') { for my $item (@$merge) { if ((reftype($item) || '') eq 'HASH') { push @merge_keys, $item; } else { die "Expected hash for merge key"; } } } else { die "Expected hash or array for merge key"; } } else { push @ref, $key, $ref->[ $i + 1 ]; } } for my $merge (@merge_keys) { for my $key (keys %$merge) { unless (exists $$data->{ $key }) { $$data->{ $key } = $merge->{ $key }; } } } my $on_data = $last->{on_data} || sub { my ($self, $hash, $items) = @_; my %seen; for (my $i = 0; $i < @$items; $i += 2) { my ($key, $value) = @$items[ $i, $i + 1 ]; $key = '' unless defined $key; if (ref $key) { $key = $self->stringify_complex($key); } if ($seen{ $key }++ and not $self->duplicate_keys) { croak "Duplicate key '$key'"; } $$hash->{ $key } = $value; } }; $on_data->($self, $data, \@ref); push @{ $stack->[-1]->{ref} }, $$data; if (defined(my $anchor = $last->{event}->{anchor})) { $self->anchors->{ $anchor }->{finished} = 1; } return; } sub sequence_start_event { my ($self, $event) = @_; my ($data, $on_data) = $self->schema->create_sequence($self, $event); my $ref = { type => 'sequence', ref => [], data => \$data, event => $event, on_data => $on_data, }; my $stack = $self->stack; $self->_check_depth; my $preserve_style = $self->preserve_flow_style; my $preserve_alias = $self->preserve_alias; if ($preserve_style or $preserve_alias and not tied(@$data)) { tie @$data, 'YAML::PP::Preserve::Array', @$data; my $t = tied @$data; $t->{style} = $event->{style}; } push @$stack, $ref; if (defined(my $anchor = $event->{anchor})) { if ($preserve_alias) { my $t = tied @$data; unless (exists $self->anchors->{ $anchor }) { # Repeated anchors cannot be preserved $t->{alias} = $anchor; } } $self->anchors->{ $anchor } = { data => $ref->{data} }; } } sub sequence_end_event { my ($self, $event) = @_; my $stack = $self->stack; my $last = pop @$stack; $last->{type} eq 'sequence' or die "Expected mapping, but got $last->{type}"; my ($ref, $data) = @{ $last }{qw/ ref data /}; my $on_data = $last->{on_data} || sub { my ($self, $array, $items) = @_; push @$$array, @$items; }; $on_data->($self, $data, $ref); push @{ $stack->[-1]->{ref} }, $$data; if (defined(my $anchor = $last->{event}->{anchor})) { my $test = $self->anchors->{ $anchor }; $self->anchors->{ $anchor }->{finished} = 1; } return; } sub stream_start_event {} sub stream_end_event {} sub scalar_event { my ($self, $event) = @_; DEBUG and warn "CONTENT $event->{value} ($event->{style})\n"; my $value = $self->schema->load_scalar($self, $event); my $last = $self->stack->[-1]; my $preserve_alias = $self->preserve_alias; my $preserve_style = $self->preserve_scalar_style; if (($preserve_style or $preserve_alias) and not ref $value) { my %args = ( value => $value, tag => $event->{tag}, ); if ($preserve_style) { $args{style} = $event->{style}; } if ($preserve_alias and defined $event->{anchor}) { my $anchor = $event->{anchor}; unless (exists $self->anchors->{ $anchor }) { # Repeated anchors cannot be preserved $args{alias} = $event->{anchor}; } } $value = YAML::PP::Preserve::Scalar->new( %args ); } if (defined (my $name = $event->{anchor})) { $self->anchors->{ $name } = { data => \$value, finished => 1 }; } push @{ $last->{ref} }, $value; } sub alias_event { my ($self, $event) = @_; my $value; my $name = $event->{value}; if (my $anchor = $self->anchors->{ $name }) { # We know this is a cyclic ref since the node hasn't # been constructed completely yet unless ($anchor->{finished} ) { my $cyclic_refs = $self->cyclic_refs; if ($cyclic_refs ne 'allow') { if ($cyclic_refs eq 'fatal') { croak "Found cyclic ref for alias '$name'"; } if ($cyclic_refs eq 'warn') { $anchor = { data => \undef }; warn "Found cyclic ref for alias '$name'"; } elsif ($cyclic_refs eq 'ignore') { $anchor = { data => \undef }; } } } $value = $anchor->{data}; } else { croak "No anchor defined for alias '$name'"; } my $last = $self->stack->[-1]; push @{ $last->{ref} }, $$value; } sub stringify_complex { my ($self, $data) = @_; return $data if ( ref $data eq 'YAML::PP::Preserve::Scalar' and ($self->preserve_scalar_style or $self->preserve_alias) ); require Data::Dumper; local $Data::Dumper::Quotekeys = 0; local $Data::Dumper::Terse = 1; local $Data::Dumper::Indent = 0; local $Data::Dumper::Useqq = 0; local $Data::Dumper::Sortkeys = 1; my $string = Data::Dumper->Dump([$data], ['data']); $string =~ s/^\$data = //; return $string; } 1; __END__ =pod =encoding utf-8 =head1 NAME YAML::PP::Constructor - Constructing data structure from parsing events =head1 METHODS =over =item new The Constructor constructor my $constructor = YAML::PP::Constructor->new( schema => $schema, cyclic_refs => $cyclic_refs, ); =item init Resets any data being used during construction. $constructor->init; =item document_start_event, document_end_event, mapping_start_event, mapping_end_event, sequence_start_event, sequence_end_event, scalar_event, alias_event, stream_start_event, stream_end_event These methods are called from L: $constructor->document_start_event($event); =item anchors, set_anchors Helper for storing anchors during construction =item docs, set_docs Helper for storing resulting documents during construction =item stack, set_stack Helper for storing data during construction =item cyclic_refs, set_cyclic_refs Option for controlling the behaviour when finding circular references =item schema, set_schema Holds a L object =item stringify_complex When constructing a hash and getting a non-scalar key, this method is used to stringify the key. It uses a terse Data::Dumper output. Other modules, like L, use the default stringification, C for example. =back =cut YAML-PP-v0.43.0/lib/YAML/PP/PaxHeaders/Representer.pm0000644000000000000000000000013215263373362016616 xustar0030 mtime=1791882994.993662926 30 atime=1791882994.993567452 30 ctime=1791882994.993662926 YAML-PP-v0.43.0/lib/YAML/PP/Representer.pm0000644000175000017500000001573415263373362016262 0ustar00tinatinause strict; use warnings; package YAML::PP::Representer; our $VERSION = 'v0.43.0'; # VERSION use Scalar::Util qw/ reftype blessed refaddr /; use YAML::PP::Common qw/ YAML_PLAIN_SCALAR_STYLE YAML_SINGLE_QUOTED_SCALAR_STYLE YAML_DOUBLE_QUOTED_SCALAR_STYLE YAML_ANY_SCALAR_STYLE YAML_LITERAL_SCALAR_STYLE YAML_FOLDED_SCALAR_STYLE YAML_FLOW_SEQUENCE_STYLE YAML_FLOW_MAPPING_STYLE YAML_BLOCK_MAPPING_STYLE YAML_BLOCK_SEQUENCE_STYLE PRESERVE_ORDER PRESERVE_SCALAR_STYLE PRESERVE_FLOW_STYLE PRESERVE_ALIAS /; use B; sub new { my ($class, %args) = @_; my $preserve = delete $args{preserve} || 0; if ($preserve == 1) { $preserve = PRESERVE_ORDER | PRESERVE_SCALAR_STYLE | PRESERVE_FLOW_STYLE | PRESERVE_ALIAS; } my $self = bless { schema => delete $args{schema}, preserve => $preserve, }, $class; if (keys %args) { die "Unexpected arguments: " . join ', ', sort keys %args; } return $self; } sub clone { my ($self) = @_; my $clone = { schema => $self->schema, preserve => $self->{preserve}, }; return bless $clone, ref $self; } sub schema { return $_[0]->{schema} } sub preserve_order { return $_[0]->{preserve} & PRESERVE_ORDER } sub preserve_scalar_style { return $_[0]->{preserve} & PRESERVE_SCALAR_STYLE } sub preserve_flow_style { return $_[0]->{preserve} & PRESERVE_FLOW_STYLE } sub preserve_alias { return $_[0]->{preserve} & PRESERVE_ALIAS } sub represent_node { my ($self, $node) = @_; my $preserve_alias = $self->preserve_alias; my $preserve_style = $self->preserve_scalar_style; if ($preserve_style or $preserve_alias) { if (ref $node->{value} eq 'YAML::PP::Preserve::Scalar') { my $value = $node->{value}->value; if ($preserve_style) { $node->{style} = $node->{value}->style; } # $node->{tag} = $node->{value}->tag; $node->{value} = $value; } } $node->{reftype} = reftype($node->{value}); if (not $node->{reftype} and reftype(\$node->{value}) eq 'GLOB') { $node->{reftype} = 'GLOB'; } if ($node->{reftype}) { $self->_represent_noderef($node); } else { $self->_represent_node_nonref($node); } $node->{reftype} = (reftype $node->{data}) || ''; if ($node->{reftype} eq 'HASH' and my $tied = tied(%{ $node->{data} })) { my $representers = $self->schema->representers; $tied = ref $tied; if (my $def = $representers->{tied_equals}->{ $tied }) { my $code = $def->{code}; my $done = $code->($self, $node); } } if ($node->{reftype} eq 'HASH') { unless (defined $node->{items}) { # by default we sort hash keys my @keys; if ($self->preserve_order) { @keys = keys %{ $node->{data} }; } else { @keys = sort keys %{ $node->{data} }; } for my $key (@keys) { push @{ $node->{items} }, $key, $node->{data}->{ $key }; } } my %args; if ($self->preserve_flow_style and reftype $node->{value} eq 'HASH') { if (my $tied = tied %{ $node->{value} } ) { $args{style} = $tied->{style}; } } return [ mapping => $node, %args ]; } elsif ($node->{reftype} eq 'ARRAY') { unless (defined $node->{items}) { @{ $node->{items} } = @{ $node->{data} }; } my %args; if ($self->preserve_flow_style and reftype $node->{value} eq 'ARRAY') { if (my $tied = tied @{ $node->{value} } ) { $args{style} = $tied->{style}; } } return [ sequence => $node, %args ]; } elsif ($node->{reftype}) { die "Cannot handle reftype '$node->{reftype}' (you might want to enable YAML::PP::Schema::Perl)"; } else { unless (defined $node->{items}) { $node->{items} = [$node->{data}]; } return [ scalar => $node ]; } } my $bool_code = <<'EOM'; sub { my ($x) = @_; use experimental qw/ builtin /; builtin::is_bool($x); } EOM my $is_bool; sub _represent_node_nonref { my ($self, $node) = @_; my $representers = $self->schema->representers; if (not defined $node->{value}) { if (my $undef = $representers->{undef}) { return 1 if $undef->($self, $node); } else { $node->{style} = YAML_SINGLE_QUOTED_SCALAR_STYLE; $node->{data} = ''; return 1; } } if ($] >= 5.036000 and my $rep = $representers->{bool}) { $is_bool ||= eval $bool_code; if ($is_bool->($node->{value})) { return $rep->{code}->($self, $node); } } for my $rep (@{ $representers->{flags} }) { my $check_flags = $rep->{flags}; my $flags = B::svref_2object(\$node->{value})->FLAGS; if ($flags & $check_flags) { return 1 if $rep->{code}->($self, $node); } } if (my $rep = $representers->{equals}->{ $node->{value} }) { return 1 if $rep->{code}->($self, $node); } for my $rep (@{ $representers->{regex} }) { if ($node->{value} =~ $rep->{regex}) { return 1 if $rep->{code}->($self, $node); } } unless (defined $node->{data}) { $node->{data} = $node->{value}; } unless (defined $node->{style}) { $node->{style} = YAML_ANY_SCALAR_STYLE; $node->{style} = ""; } } sub _represent_noderef { my ($self, $node) = @_; my $representers = $self->schema->representers; if (my $classname = blessed($node->{value})) { if (my $def = $representers->{class_equals}->{ $classname }) { my $code = $def->{code}; return 1 if $code->($self, $node); } for my $matches (@{ $representers->{class_matches} }) { my ($re, $code) = @$matches; if (ref $re and $classname =~ $re or $re) { return 1 if $code->($self, $node); } } for my $isa (@{ $representers->{class_isa} }) { my ($class_name, $code) = @$isa; if ($node->{ value }->isa($class_name)) { return 1 if $code->($self, $node); } } } if ($node->{reftype} eq 'SCALAR' and my $scalarref = $representers->{scalarref}) { my $code = $scalarref->{code}; return 1 if $code->($self, $node); } if ($node->{reftype} eq 'REF' and my $refref = $representers->{refref}) { my $code = $refref->{code}; return 1 if $code->($self, $node); } if ($node->{reftype} eq 'CODE' and my $coderef = $representers->{coderef}) { my $code = $coderef->{code}; return 1 if $code->($self, $node); } if ($node->{reftype} eq 'GLOB' and my $glob = $representers->{glob}) { my $code = $glob->{code}; return 1 if $code->($self, $node); } $node->{data} = $node->{value}; } 1; YAML-PP-v0.43.0/lib/YAML/PP/PaxHeaders/Highlight.pm0000644000000000000000000000013115263373362016226 xustar0030 mtime=1791882994.992616069 29 atime=1791882994.99252297 30 ctime=1791882994.992616069 YAML-PP-v0.43.0/lib/YAML/PP/Highlight.pm0000644000175000017500000001424715263373362015671 0ustar00tinatinause strict; use warnings; package YAML::PP::Highlight; our $VERSION = 'v0.43.0'; # VERSION our @EXPORT_OK = qw/ Dump /; use Exporter 'import'; use YAML::PP; use YAML::PP::Parser; use Encode; sub Dump { my (@docs) = @_; # Dumping objects is safe, so we enable the Perl schema here require YAML::PP::Schema::Perl; my $yp = YAML::PP->new( schema => [qw/ + Perl /] ); my $yaml = $yp->dump_string(@docs); my ($error, $tokens) = YAML::PP::Parser->yaml_to_tokens(string => $yaml); my $highlighted = YAML::PP::Highlight->ansicolored($tokens); encode_utf8 $highlighted; } my %ansicolors = ( ANCHOR => [qw/ green /], ALIAS => [qw/ bold green /], TAG => [qw/ bold blue /], INDENT => [qw/ white on_grey3 /], COMMENT => [qw/ grey12 /], COLON => [qw/ bold magenta /], DASH => [qw/ bold magenta /], QUESTION => [qw/ bold magenta /], YAML_DIRECTIVE => [qw/ cyan /], TAG_DIRECTIVE => [qw/ bold cyan /], SINGLEQUOTE => [qw/ bold green /], SINGLEQUOTED => [qw/ green /], SINGLEQUOTED_LINE => [qw/ green /], DOUBLEQUOTE => [qw/ bold green /], DOUBLEQUOTED => [qw/ green /], DOUBLEQUOTED_LINE => [qw/ green /], LITERAL => [qw/ bold yellow /], FOLDED => [qw/ bold yellow /], DOC_START => [qw/ bold /], DOC_END => [qw/ bold /], BLOCK_SCALAR_CONTENT => [qw/ yellow /], TAB => [qw/ on_blue /], ERROR => [qw/ bold red /], EOL => [qw/ grey12 /], TRAILING_SPACE => [qw/ on_grey6 /], FLOWSEQ_START => [qw/ bold magenta /], FLOWSEQ_END => [qw/ bold magenta /], FLOWMAP_START => [qw/ bold magenta /], FLOWMAP_END => [qw/ bold magenta /], FLOW_COMMA => [qw/ bold magenta /], PLAINKEY => [qw/ bright_blue /], ); sub ansicolored { my ($class, $tokens, %args) = @_; my $expand_tabs = $args{expand_tabs}; $expand_tabs = 1 unless defined $expand_tabs; require Term::ANSIColor; local $Term::ANSIColor::EACHLINE = "\n"; my $ansi = ''; my $highlighted = ''; my @list = $class->transform($tokens); for my $token (@list) { my $name = $token->{name}; my $str = $token->{value}; my $color = $ansicolors{ $name }; if ($color) { $str = Term::ANSIColor::colored($color, $str); } $highlighted .= $str; } if ($expand_tabs) { # Tabs can't be displayed with ansicolors $highlighted =~ s/\t/' ' x 8/eg; } $ansi .= $highlighted; return $ansi; } my %htmlcolors = ( ANCHOR => 'anchor', ALIAS => 'alias', SINGLEQUOTE => 'singlequote', DOUBLEQUOTE => 'doublequote', SINGLEQUOTED => 'singlequoted', DOUBLEQUOTED => 'doublequoted', SINGLEQUOTED_LINE => 'singlequoted', DOUBLEQUOTED_LINE => 'doublequoted', INDENT => 'indent', DASH => 'dash', COLON => 'colon', QUESTION => 'question', YAML_DIRECTIVE => 'yaml_directive', TAG_DIRECTIVE => 'tag_directive', TAG => 'tag', COMMENT => 'comment', LITERAL => 'literal', FOLDED => 'folded', DOC_START => 'doc_start', DOC_END => 'doc_end', BLOCK_SCALAR_CONTENT => 'block_scalar_content', TAB => 'tab', ERROR => 'error', EOL => 'eol', TRAILING_SPACE => 'trailing_space', FLOWSEQ_START => 'flowseq_start', FLOWSEQ_END => 'flowseq_end', FLOWMAP_START => 'flowmap_start', FLOWMAP_END => 'flowmap_end', FLOW_COMMA => 'flow_comma', PLAINKEY => 'plainkey', NOEOL => 'noeol', ); sub htmlcolored { require HTML::Entities; my ($class, $tokens) = @_; my $html = ''; my @list = $class->transform($tokens); for my $token (@list) { my $name = $token->{name}; my $str = $token->{value}; my $colorclass = $htmlcolors{ $name } || 'default'; $str = HTML::Entities::encode_entities($str); $html .= qq{$str}; } return $html; } sub transform { my ($class, $tokens) = @_; my @list; for my $token (@$tokens) { my @values; my $value = $token->{value}; my $subtokens = $token->{subtokens}; if ($subtokens) { @values = @$subtokens; } else { @values = $token; } for my $token (@values) { my $value = defined $token->{orig} ? $token->{orig} : $token->{value}; if ($token->{name} eq 'EOL' and not length $value) { push @list, { name => 'NOEOL', value => '' }; next; } push @list, map { $_ =~ tr/\t/\t/ ? { name => 'TAB', value => $_ } : { name => $token->{name}, value => $_ } } split m/(\t+)/, $value; } } for my $i (0 .. $#list) { my $token = $list[ $i ]; my $name = $token->{name}; my $str = $token->{value}; my $trailing_space = 0; if ($token->{name} eq 'EOL') { if ($str =~ m/ +([\r\n]|\z)/) { $token->{name} = "TRAILING_SPACE"; } } elsif ($i < $#list) { if ($name eq 'PLAIN') { for my $n ($i+1 .. $#list) { my $next = $list[ $n ]; last if $next->{name} eq 'EOL'; next if $next->{name} =~ m/^(WS|SPACE)$/; if ($next->{name} eq 'COLON') { $token->{name} = 'PLAINKEY'; } } } my $next = $list[ $i + 1]; if ($next->{name} eq 'EOL') { if ($str =~ m/ \z/ and $name =~ m/^(BLOCK_SCALAR_CONTENT|WS|INDENT)$/) { $token->{name} = "TRAILING_SPACE"; } } } } return @list; } 1; __END__ =pod =encoding utf-8 =head1 NAME YAML::PP::Highlight - Syntax highlighting utilities =head1 SYNOPSIS use YAML::PP::Highlight qw/ Dump /; my $highlighted = Dump $data; =head1 FUNCTIONS =over =item Dump =back use YAML::PP::Highlight qw/ Dump /; my $highlighted = Dump $data; my $highlighted = Dump @docs; It will dump the given data, and then parse it again to create tokens, which are then highlighted with ansi colors. The return value is ansi colored YAML. YAML-PP-v0.43.0/lib/YAML/PP/PaxHeaders/Exception.pm0000644000000000000000000000013015263373362016254 xustar0029 mtime=1791882994.99252297 30 atime=1791882994.992431338 29 ctime=1791882994.99252297 YAML-PP-v0.43.0/lib/YAML/PP/Exception.pm0000644000175000017500000000360515263373362015714 0ustar00tinatinause strict; use warnings; package YAML::PP::Exception; our $VERSION = 'v0.43.0'; # VERSION use overload '""' => \&to_string; sub new { my ($class, %args) = @_; my $self = bless { line => $args{line}, msg => $args{msg}, next => $args{next}, where => $args{where}, yaml => $args{yaml}, got => $args{got}, expected => $args{expected}, column => $args{column}, }, $class; return $self; } sub to_string { my ($self) = @_; my $next = $self->{next}; my $line = $self->{line}; my $column = $self->{column}; my $yaml = ''; for my $token (@$next) { last if $token->{name} eq 'EOL'; $yaml .= $token->{value}; } $column = '???' unless defined $column; my $remaining_yaml = $self->{yaml}; $remaining_yaml = '' unless defined $remaining_yaml; $yaml .= $remaining_yaml; { local $@; # avoid bug in old Data::Dumper require Data::Dumper; local $Data::Dumper::Useqq = 1; local $Data::Dumper::Terse = 1; $yaml = Data::Dumper->Dump([$yaml], ['yaml']); chomp $yaml; } my $lines = 5; my @fields; if ($self->{got} and $self->{expected}) { $lines = 6; $line = $self->{got}->{line}; $column = $self->{got}->{column} + 1; @fields = ( "Line" => $line, "Column" => $column, "Expected", join(" ", @{ $self->{expected} }), "Got", $self->{got}->{name}, "Where", $self->{where}, "YAML", $yaml, ); } else { @fields = ( "Line" => $line, "Column" => $column, "Message", $self->{msg}, "Where", $self->{where}, "YAML", $yaml, ); } my $fmt = join "\n", ("%-10s: %s") x $lines; my $string = sprintf $fmt, @fields; return $string; } 1; YAML-PP-v0.43.0/lib/YAML/PP/PaxHeaders/Grammar.pm0000644000000000000000000000013215263373362015706 xustar0030 mtime=1791882994.990343281 30 atime=1791882994.990235865 30 ctime=1791882994.990343281 YAML-PP-v0.43.0/lib/YAML/PP/Grammar.pm0000644000175000017500000013610715263373362015350 0ustar00tinatinause strict; use warnings; package YAML::PP::Grammar; our $VERSION = 'v0.43.0'; # VERSION use Exporter 'import'; our @EXPORT_OK = qw/ $GRAMMAR /; our $GRAMMAR = {}; # START OF GRAMMAR INLINE # DO NOT CHANGE THIS # This grammar is automatically generated from etc/grammar.yaml $GRAMMAR = { 'DIRECTIVE' => { 'DOC_START' => { 'EOL' => { 'new' => 'FULLNODE' }, 'WS' => { 'new' => 'FULLNODE' }, 'match' => 'cb_doc_start_explicit' }, 'EOL' => { 'new' => 'DIRECTIVE' }, 'RESERVED_DIRECTIVE' => { 'EOL' => { 'new' => 'DIRECTIVE' }, 'WS' => { 'new' => 'DIRECTIVE' }, 'match' => 'cb_reserved_directive' }, 'TAG_DIRECTIVE' => { 'EOL' => { 'new' => 'DIRECTIVE' }, 'WS' => { 'new' => 'DIRECTIVE' }, 'match' => 'cb_tag_directive' }, 'YAML_DIRECTIVE' => { 'EOL' => { 'new' => 'DIRECTIVE' }, 'WS' => { 'new' => 'DIRECTIVE' }, 'match' => 'cb_set_yaml_version_directive' } }, 'DOCUMENT_END' => { 'DOC_END' => { 'EOL' => {}, 'match' => 'cb_end_document' }, 'DOC_START' => { 'EOL' => { 'new' => 'FULLNODE' }, 'WS' => { 'new' => 'FULLNODE' }, 'match' => 'cb_end_doc_start_document' }, 'EOL' => { 'new' => 'DOCUMENT_END' } }, 'END_FLOW' => { 'EOL' => { 'match' => 'cb_end_outer_flow', 'return' => 1 } }, 'FLOWMAP' => { 'ANCHOR' => { 'DEFAULT' => { 'new' => 'NEWFLOWMAP_ANCHOR' }, 'EOL' => { 'new' => 'NEWFLOWMAP_ANCHOR_SPC' }, 'WS' => { 'new' => 'NEWFLOWMAP_ANCHOR_SPC' }, 'match' => 'cb_anchor' }, 'COLON' => { 'EOL' => { 'match' => 'cb_empty_flow_mapkey', 'new' => 'RULE_FULLFLOWSCALAR' }, 'WS' => { 'match' => 'cb_empty_flow_mapkey', 'new' => 'RULE_FULLFLOWSCALAR' } }, 'DEFAULT' => { 'new' => 'FLOWMAP_CONTENT' }, 'EOL' => { 'new' => 'FLOWMAP' }, 'FLOWMAP_END' => { 'match' => 'cb_end_flowmap', 'return' => 1 }, 'TAG' => { 'DEFAULT' => { 'new' => 'NEWFLOWMAP_TAG' }, 'EOL' => { 'new' => 'NEWFLOWMAP_TAG_SPC' }, 'WS' => { 'new' => 'NEWFLOWMAP_TAG_SPC' }, 'match' => 'cb_tag' }, 'WS' => { 'new' => 'FLOWMAP' } }, 'FLOWMAP_CONTENT' => { 'ALIAS' => { 'match' => 'cb_send_alias', 'return' => 1 }, 'COLON' => { 'EOL' => { 'match' => 'cb_empty_flow_mapkey', 'new' => 'RULE_FULLFLOWSCALAR' }, 'WS' => { 'match' => 'cb_empty_flow_mapkey', 'new' => 'RULE_FULLFLOWSCALAR' } }, 'FLOWMAP_START' => { 'match' => 'cb_start_flowmap', 'new' => 'NEWFLOWMAP' }, 'FLOWSEQ_START' => { 'match' => 'cb_start_flowseq', 'new' => 'NEWFLOWSEQ' }, 'PLAIN' => { 'match' => 'cb_flowkey_plain', 'return' => 1 }, 'PLAIN_MULTI' => { 'match' => 'cb_send_plain_multi', 'return' => 1 }, 'QUOTED' => { 'match' => 'cb_flowkey_quoted', 'return' => 1 }, 'QUOTED_MULTILINE' => { 'match' => 'cb_quoted_multiline', 'return' => 1 } }, 'FLOWMAP_EMPTYKEY' => { 'FLOWMAP_END' => { 'match' => 'cb_end_empty_flowmap_key_value', 'return' => 1 }, 'FLOW_COMMA' => { 'match' => 'cb_empty_flowmap_key_value', 'return' => 1 } }, 'FLOWMAP_EXPLICIT_KEY' => { 'DEFAULT' => { 'new' => 'FLOWMAP' }, 'EOL' => { 'new' => 'FLOWMAP_EXPLICIT_KEY' }, 'FLOWMAP_END' => { 'match' => 'cb_end_empty_flowmap_key_value', 'return' => 1 }, 'FLOW_COMMA' => { 'match' => 'cb_empty_flowmap_key_value', 'return' => 1 }, 'WS' => { 'new' => 'FLOWMAP_EXPLICIT_KEY' } }, 'FLOWMAP_PROPS' => { 'COLON' => { 'EOL' => { 'match' => 'cb_empty_flow_mapkey', 'new' => 'RULE_FULLFLOWSCALAR' }, 'WS' => { 'match' => 'cb_empty_flow_mapkey', 'new' => 'RULE_FULLFLOWSCALAR' } }, 'FLOWMAP_END' => { 'match' => 'cb_end_empty_flowmap_key_value', 'return' => 1 }, 'FLOWMAP_START' => { 'match' => 'cb_start_flowmap', 'new' => 'NEWFLOWMAP' }, 'FLOWSEQ_START' => { 'match' => 'cb_start_flowseq', 'new' => 'NEWFLOWSEQ' }, 'FLOW_COMMA' => { 'match' => 'cb_empty_flowmap_key_value', 'return' => 1 }, 'PLAIN' => { 'match' => 'cb_flowkey_plain', 'return' => 1 }, 'PLAIN_MULTI' => { 'match' => 'cb_send_plain_multi', 'return' => 1 }, 'QUOTED' => { 'match' => 'cb_flowkey_quoted', 'return' => 1 }, 'QUOTED_MULTILINE' => { 'match' => 'cb_quoted_multiline', 'return' => 1 } }, 'FLOWSEQ' => { 'ALIAS' => { 'match' => 'cb_send_flow_alias', 'new' => 'FLOWSEQ_NEXT' }, 'COLON' => { 'EOL' => { 'match' => 'cb_insert_empty_implicit_flowseq_map', 'new' => 'RULE_FULLFLOWSCALAR' }, 'WS' => { 'match' => 'cb_insert_empty_implicit_flowseq_map', 'new' => 'RULE_FULLFLOWSCALAR' } }, 'FLOWMAP_START' => { 'match' => 'cb_start_flowmap', 'new' => 'NEWFLOWMAP' }, 'FLOWSEQ_START' => { 'match' => 'cb_start_flowseq', 'new' => 'NEWFLOWSEQ' }, 'PLAIN' => { 'DEFAULT' => { 'new' => 'FLOWSEQ_MAYBE_KEY' }, 'EOL' => { 'match' => 'cb_send_scalar', 'new' => 'FLOWSEQ_NEXT' }, 'match' => 'cb_start_plain' }, 'PLAIN_MULTI' => { 'match' => 'cb_send_plain_multi', 'new' => 'FLOWSEQ_NEXT' }, 'QUOTED' => { 'DEFAULT' => { 'new' => 'FLOWSEQ_MAYBE_KEY' }, 'EOL' => { 'match' => 'cb_send_scalar', 'new' => 'FLOWSEQ_NEXT' }, 'match' => 'cb_take_quoted' }, 'QUOTED_MULTILINE' => { 'match' => 'cb_quoted_multiline', 'new' => 'FLOWSEQ_NEXT' } }, 'FLOWSEQ_EMPTY' => { 'FLOWSEQ_END' => { 'match' => 'cb_empty_flowseq_end', 'return' => 1 }, 'FLOW_COMMA' => { 'match' => 'cb_empty_flowseq_comma', 'return' => 1 } }, 'FLOWSEQ_MAYBE_KEY' => { 'COLON' => { 'DEFAULT' => { 'match' => 'cb_insert_implicit_flowseq_map', 'new' => 'RULE_FULLFLOWSCALAR' }, 'EOL' => { 'match' => 'cb_insert_implicit_flowseq_map', 'new' => 'RULE_FULLFLOWSCALAR' }, 'WS' => { 'match' => 'cb_insert_implicit_flowseq_map', 'new' => 'RULE_FULLFLOWSCALAR' } }, 'DEFAULT' => { 'new' => 'FLOWSEQ_NEXT' }, 'WS' => { 'new' => 'FLOWSEQ_MAYBE_KEY' } }, 'FLOWSEQ_NEXT' => { 'EOL' => { 'new' => 'FLOWSEQ_NEXT' }, 'FLOWSEQ_END' => { 'match' => 'cb_end_flowseq', 'return' => 1 }, 'FLOW_COMMA' => { 'match' => 'cb_flow_comma', 'return' => 1 }, 'WS' => { 'new' => 'FLOWSEQ_NEXT' } }, 'FLOWSEQ_PROPS' => { 'COLON' => { 'EOL' => { 'match' => 'cb_insert_empty_implicit_flowseq_map', 'new' => 'RULE_FULLFLOWSCALAR' }, 'WS' => { 'match' => 'cb_insert_empty_implicit_flowseq_map', 'new' => 'RULE_FULLFLOWSCALAR' } }, 'FLOWMAP_START' => { 'match' => 'cb_start_flowmap', 'new' => 'NEWFLOWMAP' }, 'FLOWSEQ_END' => { 'match' => 'cb_empty_flowseq_end', 'return' => 1 }, 'FLOWSEQ_START' => { 'match' => 'cb_start_flowseq', 'new' => 'NEWFLOWSEQ' }, 'FLOW_COMMA' => { 'match' => 'cb_empty_flowseq_comma', 'return' => 1 }, 'PLAIN' => { 'DEFAULT' => { 'new' => 'FLOWSEQ_MAYBE_KEY' }, 'EOL' => { 'match' => 'cb_send_scalar', 'new' => 'FLOWSEQ_NEXT' }, 'match' => 'cb_start_plain' }, 'PLAIN_MULTI' => { 'match' => 'cb_send_plain_multi', 'new' => 'FLOWSEQ_NEXT' }, 'QUOTED' => { 'DEFAULT' => { 'new' => 'FLOWSEQ_MAYBE_KEY' }, 'EOL' => { 'match' => 'cb_send_scalar', 'new' => 'FLOWSEQ_NEXT' }, 'match' => 'cb_take_quoted' }, 'QUOTED_MULTILINE' => { 'match' => 'cb_quoted_multiline', 'new' => 'FLOWSEQ_NEXT' } }, 'FULLMAPVALUE_INLINE' => { 'ANCHOR' => { 'EOL' => { 'match' => 'cb_property_eol', 'new' => 'FULLNODE_ANCHOR' }, 'WS' => { 'DEFAULT' => { 'new' => 'NODETYPE_MAPVALUE_INLINE' }, 'TAG' => { 'EOL' => { 'match' => 'cb_property_eol', 'new' => 'FULLNODE_TAG_ANCHOR' }, 'WS' => { 'new' => 'NODETYPE_MAPVALUE_INLINE' }, 'match' => 'cb_tag' } }, 'match' => 'cb_anchor' }, 'DEFAULT' => { 'new' => 'NODETYPE_MAPVALUE_INLINE' }, 'TAG' => { 'EOL' => { 'match' => 'cb_property_eol', 'new' => 'FULLNODE_TAG' }, 'WS' => { 'ANCHOR' => { 'EOL' => { 'match' => 'cb_property_eol', 'new' => 'FULLNODE_TAG_ANCHOR' }, 'WS' => { 'new' => 'NODETYPE_MAPVALUE_INLINE' }, 'match' => 'cb_anchor' }, 'DEFAULT' => { 'new' => 'NODETYPE_MAPVALUE_INLINE' } }, 'match' => 'cb_tag' } }, 'FULLNODE' => { 'ANCHOR' => { 'EOL' => { 'match' => 'cb_property_eol', 'new' => 'FULLNODE_ANCHOR' }, 'WS' => { 'DEFAULT' => { 'new' => 'NODETYPE_SCALAR_OR_MAP' }, 'TAG' => { 'EOL' => { 'match' => 'cb_property_eol', 'new' => 'FULLNODE_TAG_ANCHOR' }, 'WS' => { 'new' => 'NODETYPE_SCALAR_OR_MAP' }, 'match' => 'cb_tag' } }, 'match' => 'cb_anchor' }, 'DEFAULT' => { 'new' => 'NODETYPE_NODE' }, 'EOL' => { 'new' => 'FULLNODE' }, 'TAG' => { 'EOL' => { 'match' => 'cb_property_eol', 'new' => 'FULLNODE_TAG' }, 'WS' => { 'ANCHOR' => { 'EOL' => { 'match' => 'cb_property_eol', 'new' => 'FULLNODE_TAG_ANCHOR' }, 'WS' => { 'new' => 'NODETYPE_SCALAR_OR_MAP' }, 'match' => 'cb_anchor' }, 'DEFAULT' => { 'new' => 'NODETYPE_SCALAR_OR_MAP' } }, 'match' => 'cb_tag' } }, 'FULLNODE_ANCHOR' => { 'ANCHOR' => { 'WS' => { 'DEFAULT' => { 'new' => 'NODETYPE_SCALAR_OR_MAP' }, 'TAG' => { 'WS' => { 'new' => 'NODETYPE_SCALAR_OR_MAP' }, 'match' => 'cb_tag' } }, 'match' => 'cb_anchor' }, 'DEFAULT' => { 'new' => 'NODETYPE_NODE' }, 'EOL' => { 'new' => 'FULLNODE_ANCHOR' }, 'TAG' => { 'EOL' => { 'match' => 'cb_property_eol', 'new' => 'FULLNODE_TAG_ANCHOR' }, 'WS' => { 'ANCHOR' => { 'WS' => { 'new' => 'NODETYPE_SCALAR_OR_MAP' }, 'match' => 'cb_anchor' }, 'DEFAULT' => { 'new' => 'NODETYPE_SCALAR_OR_MAP' } }, 'match' => 'cb_tag' } }, 'FULLNODE_TAG' => { 'ANCHOR' => { 'EOL' => { 'match' => 'cb_property_eol', 'new' => 'FULLNODE_TAG_ANCHOR' }, 'WS' => { 'DEFAULT' => { 'new' => 'NODETYPE_SCALAR_OR_MAP' }, 'TAG' => { 'WS' => { 'new' => 'NODETYPE_SCALAR_OR_MAP' }, 'match' => 'cb_tag' } }, 'match' => 'cb_anchor' }, 'DEFAULT' => { 'new' => 'NODETYPE_NODE' }, 'EOL' => { 'new' => 'FULLNODE_TAG' }, 'TAG' => { 'WS' => { 'ANCHOR' => { 'WS' => { 'new' => 'NODETYPE_SCALAR_OR_MAP' }, 'match' => 'cb_anchor' }, 'DEFAULT' => { 'new' => 'NODETYPE_SCALAR_OR_MAP' } }, 'match' => 'cb_tag' } }, 'FULLNODE_TAG_ANCHOR' => { 'ANCHOR' => { 'WS' => { 'DEFAULT' => { 'new' => 'NODETYPE_SCALAR_OR_MAP' }, 'TAG' => { 'WS' => { 'new' => 'NODETYPE_SCALAR_OR_MAP' }, 'match' => 'cb_tag' } }, 'match' => 'cb_anchor' }, 'DEFAULT' => { 'new' => 'NODETYPE_NODE' }, 'EOL' => { 'new' => 'FULLNODE_TAG_ANCHOR' }, 'TAG' => { 'WS' => { 'ANCHOR' => { 'WS' => { 'new' => 'NODETYPE_SCALAR_OR_MAP' }, 'match' => 'cb_anchor' }, 'DEFAULT' => { 'new' => 'NODETYPE_SCALAR_OR_MAP' } }, 'match' => 'cb_tag' } }, 'NEWFLOWMAP' => { 'DEFAULT' => { 'new' => 'FLOWMAP' }, 'EOL' => { 'new' => 'NEWFLOWMAP' }, 'QUESTION' => { 'match' => 'cb_flow_question', 'new' => 'FLOWMAP_EXPLICIT_KEY' }, 'WS' => { 'new' => 'NEWFLOWMAP' } }, 'NEWFLOWMAP_ANCHOR' => { 'DEFAULT' => { 'new' => 'FLOWMAP_EMPTYKEY' } }, 'NEWFLOWMAP_ANCHOR_SPC' => { 'DEFAULT' => { 'new' => 'FLOWMAP_PROPS' }, 'EOL' => { 'new' => 'NEWFLOWMAP_ANCHOR_SPC' }, 'TAG' => { 'DEFAULT' => { 'new' => 'FLOWMAP_EMPTYKEY' }, 'EOL' => { 'new' => 'FLOWMAP_PROPS' }, 'WS' => { 'new' => 'FLOWMAP_PROPS' }, 'match' => 'cb_tag' }, 'WS' => { 'new' => 'NEWFLOWMAP_ANCHOR_SPC' } }, 'NEWFLOWMAP_TAG' => { 'DEFAULT' => { 'new' => 'FLOWMAP_EMPTYKEY' } }, 'NEWFLOWMAP_TAG_SPC' => { 'ANCHOR' => { 'DEFAULT' => { 'new' => 'FLOWMAP_EMPTYKEY' }, 'EOL' => { 'new' => 'FLOWMAP_PROPS' }, 'WS' => { 'new' => 'FLOWMAP_PROPS' }, 'match' => 'cb_anchor' }, 'DEFAULT' => { 'new' => 'FLOWMAP_PROPS' }, 'EOL' => { 'new' => 'NEWFLOWMAP_TAG_SPC' }, 'WS' => { 'new' => 'NEWFLOWMAP_TAG_SPC' } }, 'NEWFLOWSEQ' => { 'ANCHOR' => { 'DEFAULT' => { 'new' => 'NEWFLOWSEQ_ANCHOR' }, 'EOL' => { 'new' => 'NEWFLOWSEQ_ANCHOR_SPC' }, 'WS' => { 'new' => 'NEWFLOWSEQ_ANCHOR_SPC' }, 'match' => 'cb_anchor' }, 'DEFAULT' => { 'new' => 'FLOWSEQ' }, 'EOL' => { 'new' => 'NEWFLOWSEQ' }, 'FLOWSEQ_END' => { 'match' => 'cb_end_flowseq', 'return' => 1 }, 'TAG' => { 'DEFAULT' => { 'new' => 'NEWFLOWSEQ_TAG' }, 'EOL' => { 'new' => 'NEWFLOWSEQ_TAG_SPC' }, 'WS' => { 'new' => 'NEWFLOWSEQ_TAG_SPC' }, 'match' => 'cb_tag' }, 'WS' => { 'new' => 'NEWFLOWSEQ' } }, 'NEWFLOWSEQ_ANCHOR' => { 'DEFAULT' => { 'new' => 'FLOWSEQ_EMPTY' } }, 'NEWFLOWSEQ_ANCHOR_SPC' => { 'DEFAULT' => { 'new' => 'FLOWSEQ_PROPS' }, 'EOL' => { 'new' => 'NEWFLOWSEQ_ANCHOR_SPC' }, 'TAG' => { 'DEFAULT' => { 'new' => 'FLOWSEQ_EMPTY' }, 'EOL' => { 'new' => 'FLOWSEQ_PROPS' }, 'WS' => { 'new' => 'FLOWSEQ_PROPS' }, 'match' => 'cb_tag' }, 'WS' => { 'new' => 'NEWFLOWSEQ_ANCHOR_SPC' } }, 'NEWFLOWSEQ_TAG' => { 'DEFAULT' => { 'new' => 'FLOWSEQ_EMPTY' } }, 'NEWFLOWSEQ_TAG_SPC' => { 'ANCHOR' => { 'DEFAULT' => { 'new' => 'FLOWSEQ_EMPTY' }, 'EOL' => { 'new' => 'FLOWSEQ_PROPS' }, 'WS' => { 'new' => 'FLOWSEQ_PROPS' }, 'match' => 'cb_anchor' }, 'DEFAULT' => { 'new' => 'FLOWSEQ_PROPS' }, 'EOL' => { 'new' => 'NEWFLOWSEQ_TAG_SPC' }, 'WS' => { 'new' => 'NEWFLOWSEQ_TAG_SPC' } }, 'NODETYPE_COMPLEX' => { 'COLON' => { 'EOL' => { 'new' => 'FULLNODE' }, 'WS' => { 'new' => 'FULLNODE' }, 'match' => 'cb_complexcolon' }, 'DEFAULT' => { 'match' => 'cb_empty_complexvalue', 'new' => 'NODETYPE_MAP' }, 'EOL' => { 'new' => 'NODETYPE_COMPLEX' } }, 'NODETYPE_FLOWMAP' => { 'DEFAULT' => { 'new' => 'NEWFLOWMAP' }, 'EOL' => { 'new' => 'NODETYPE_FLOWMAP' }, 'FLOWMAP_END' => { 'match' => 'cb_end_flowmap', 'return' => 1 }, 'FLOW_COMMA' => { 'match' => 'cb_flow_comma', 'new' => 'NEWFLOWMAP' }, 'WS' => { 'new' => 'NODETYPE_FLOWMAP' } }, 'NODETYPE_FLOWMAPVALUE' => { 'COLON' => { 'DEFAULT' => { 'new' => 'RULE_FULLFLOWSCALAR' }, 'EOL' => { 'new' => 'RULE_FULLFLOWSCALAR' }, 'WS' => { 'new' => 'RULE_FULLFLOWSCALAR' }, 'match' => 'cb_flow_colon' }, 'EOL' => { 'new' => 'NODETYPE_FLOWMAPVALUE' }, 'FLOWMAP_END' => { 'match' => 'cb_end_flowmap_empty', 'return' => 1 }, 'FLOW_COMMA' => { 'match' => 'cb_empty_flowmap_value', 'return' => 1 }, 'WS' => { 'new' => 'NODETYPE_FLOWMAPVALUE' } }, 'NODETYPE_FLOWSEQ' => { 'DEFAULT' => { 'new' => 'NEWFLOWSEQ' }, 'EOL' => { 'new' => 'NODETYPE_FLOWSEQ' }, 'FLOWSEQ_END' => { 'match' => 'cb_end_flowseq', 'return' => 1 }, 'WS' => { 'new' => 'NODETYPE_FLOWSEQ' } }, 'NODETYPE_MAP' => { 'ANCHOR' => { 'WS' => { 'DEFAULT' => { 'new' => 'RULE_MAPKEY' }, 'TAG' => { 'WS' => { 'new' => 'RULE_MAPKEY' }, 'match' => 'cb_tag' } }, 'match' => 'cb_anchor' }, 'DEFAULT' => { 'new' => 'RULE_MAPKEY' }, 'TAG' => { 'WS' => { 'ANCHOR' => { 'WS' => { 'new' => 'RULE_MAPKEY' }, 'match' => 'cb_anchor' }, 'DEFAULT' => { 'new' => 'RULE_MAPKEY' } }, 'match' => 'cb_tag' } }, 'NODETYPE_MAPVALUE_INLINE' => { 'ALIAS' => { 'EOL' => {}, 'match' => 'cb_send_alias' }, 'BLOCK_SCALAR' => { 'EOL' => {}, 'match' => 'cb_send_block_scalar' }, 'DOC_END' => { 'EOL' => {}, 'match' => 'cb_end_document' }, 'FLOWMAP_START' => { 'match' => 'cb_start_flowmap', 'new' => 'NEWFLOWMAP' }, 'FLOWSEQ_START' => { 'match' => 'cb_start_flowseq', 'new' => 'NEWFLOWSEQ' }, 'PLAIN' => { 'EOL' => { 'match' => 'cb_send_scalar' }, 'match' => 'cb_start_plain' }, 'PLAIN_MULTI' => { 'EOL' => {}, 'match' => 'cb_send_plain_multi' }, 'QUOTED' => { 'EOL' => { 'match' => 'cb_send_scalar' }, 'match' => 'cb_take_quoted' }, 'QUOTED_MULTILINE' => { 'EOL' => {}, 'match' => 'cb_quoted_multiline' } }, 'NODETYPE_NODE' => { 'DASH' => { 'EOL' => { 'new' => 'FULLNODE' }, 'WS' => { 'new' => 'FULLNODE' }, 'match' => 'cb_seqstart' }, 'DEFAULT' => { 'new' => 'NODETYPE_SCALAR_OR_MAP' } }, 'NODETYPE_SCALAR_OR_MAP' => { 'ALIAS' => { 'EOL' => { 'match' => 'cb_send_alias_from_stack' }, 'WS' => { 'COLON' => { 'EOL' => { 'new' => 'FULLNODE' }, 'WS' => { 'new' => 'FULLMAPVALUE_INLINE' }, 'match' => 'cb_insert_map_alias' } }, 'match' => 'cb_alias' }, 'BLOCK_SCALAR' => { 'EOL' => {}, 'match' => 'cb_send_block_scalar' }, 'COLON' => { 'EOL' => { 'new' => 'FULLNODE' }, 'WS' => { 'new' => 'FULLMAPVALUE_INLINE' }, 'match' => 'cb_insert_empty_map' }, 'DOC_END' => { 'EOL' => {}, 'match' => 'cb_end_document' }, 'DOC_START' => { 'EOL' => { 'new' => 'FULLNODE' }, 'WS' => { 'new' => 'FULLNODE' }, 'match' => 'cb_end_doc_start_document' }, 'EOL' => { 'new' => 'NODETYPE_SCALAR_OR_MAP' }, 'FLOWMAP_START' => { 'match' => 'cb_start_flowmap', 'new' => 'NEWFLOWMAP' }, 'FLOWSEQ_START' => { 'match' => 'cb_start_flowseq', 'new' => 'NEWFLOWSEQ' }, 'PLAIN' => { 'COLON' => { 'EOL' => { 'new' => 'FULLNODE' }, 'WS' => { 'new' => 'FULLMAPVALUE_INLINE' }, 'match' => 'cb_insert_map' }, 'EOL' => { 'match' => 'cb_send_scalar' }, 'WS' => { 'COLON' => { 'EOL' => { 'new' => 'FULLNODE' }, 'WS' => { 'new' => 'FULLMAPVALUE_INLINE' }, 'match' => 'cb_insert_map' } }, 'match' => 'cb_start_plain' }, 'PLAIN_MULTI' => { 'EOL' => {}, 'match' => 'cb_send_plain_multi' }, 'QUESTION' => { 'EOL' => { 'new' => 'FULLNODE' }, 'WS' => { 'new' => 'FULLNODE' }, 'match' => 'cb_questionstart' }, 'QUOTED' => { 'COLON' => { 'EOL' => { 'new' => 'FULLNODE' }, 'WS' => { 'new' => 'FULLMAPVALUE_INLINE' }, 'match' => 'cb_insert_map' }, 'EOL' => { 'match' => 'cb_send_scalar' }, 'WS' => { 'COLON' => { 'EOL' => { 'new' => 'FULLNODE' }, 'WS' => { 'new' => 'FULLMAPVALUE_INLINE' }, 'match' => 'cb_insert_map' } }, 'match' => 'cb_take_quoted' }, 'QUOTED_MULTILINE' => { 'EOL' => {}, 'match' => 'cb_quoted_multiline' }, 'WS' => { 'new' => 'FULLMAPVALUE_INLINE' } }, 'NODETYPE_SEQ' => { 'DASH' => { 'EOL' => { 'new' => 'FULLNODE' }, 'WS' => { 'new' => 'FULLNODE' }, 'match' => 'cb_seqitem' }, 'DOC_END' => { 'EOL' => {}, 'match' => 'cb_end_document' }, 'DOC_START' => { 'EOL' => { 'new' => 'FULLNODE' }, 'WS' => { 'new' => 'FULLNODE' }, 'match' => 'cb_end_doc_start_document' }, 'EOL' => { 'new' => 'NODETYPE_SEQ' } }, 'RULE_FLOWSCALAR' => { 'ALIAS' => { 'match' => 'cb_send_alias', 'return' => 1 }, 'FLOWMAP_END' => { 'match' => 'cb_end_flowmap_empty', 'return' => 1 }, 'FLOWMAP_START' => { 'match' => 'cb_start_flowmap', 'new' => 'NEWFLOWMAP' }, 'FLOWSEQ_START' => { 'match' => 'cb_start_flowseq', 'new' => 'NEWFLOWSEQ' }, 'FLOW_COMMA' => { 'match' => 'cb_empty_flow_mapkey', 'return' => 1 }, 'PLAIN' => { 'DEFAULT' => { 'match' => 'cb_send_scalar', 'return' => 1 }, 'EOL' => { 'match' => 'cb_send_scalar' }, 'match' => 'cb_start_plain' }, 'PLAIN_MULTI' => { 'match' => 'cb_send_plain_multi', 'return' => 1 }, 'QUOTED' => { 'DEFAULT' => { 'match' => 'cb_send_scalar', 'return' => 1 }, 'EOL' => { 'match' => 'cb_send_scalar' }, 'WS' => { 'match' => 'cb_send_scalar', 'return' => 1 }, 'match' => 'cb_take_quoted' }, 'QUOTED_MULTILINE' => { 'match' => 'cb_quoted_multiline', 'return' => 1 } }, 'RULE_FULLFLOWSCALAR' => { 'ANCHOR' => { 'DEFAULT' => { 'new' => 'RULE_FULLFLOWSCALAR_ANCHOR' }, 'EOL' => { 'new' => 'RULE_FULLFLOWSCALAR_ANCHOR' }, 'match' => 'cb_anchor' }, 'DEFAULT' => { 'new' => 'RULE_FLOWSCALAR' }, 'TAG' => { 'DEFAULT' => { 'new' => 'RULE_FULLFLOWSCALAR_TAG' }, 'EOL' => { 'new' => 'RULE_FULLFLOWSCALAR_TAG' }, 'match' => 'cb_tag' } }, 'RULE_FULLFLOWSCALAR_ANCHOR' => { 'DEFAULT' => { 'new' => 'RULE_FLOWSCALAR' }, 'TAG' => { 'EOL' => { 'new' => 'RULE_FLOWSCALAR' }, 'WS' => { 'new' => 'RULE_FLOWSCALAR' }, 'match' => 'cb_tag' }, 'WS' => { 'new' => 'RULE_FULLFLOWSCALAR_ANCHOR' } }, 'RULE_FULLFLOWSCALAR_TAG' => { 'ANCHOR' => { 'EOL' => { 'new' => 'RULE_FLOWSCALAR' }, 'WS' => { 'new' => 'RULE_FLOWSCALAR' }, 'match' => 'cb_anchor' }, 'DEFAULT' => { 'new' => 'RULE_FLOWSCALAR' }, 'WS' => { 'new' => 'RULE_FULLFLOWSCALAR_TAG' } }, 'RULE_MAPKEY' => { 'ALIAS' => { 'WS' => { 'COLON' => { 'EOL' => { 'new' => 'FULLNODE' }, 'WS' => { 'new' => 'FULLMAPVALUE_INLINE' } } }, 'match' => 'cb_send_alias_key' }, 'COLON' => { 'EOL' => { 'new' => 'FULLNODE' }, 'WS' => { 'new' => 'FULLMAPVALUE_INLINE' }, 'match' => 'cb_empty_mapkey' }, 'DOC_END' => { 'EOL' => {}, 'match' => 'cb_end_document' }, 'DOC_START' => { 'EOL' => { 'new' => 'FULLNODE' }, 'WS' => { 'new' => 'FULLNODE' }, 'match' => 'cb_end_doc_start_document' }, 'EOL' => { 'new' => 'RULE_MAPKEY' }, 'PLAIN' => { 'COLON' => { 'EOL' => { 'new' => 'FULLNODE' }, 'WS' => { 'new' => 'FULLMAPVALUE_INLINE' }, 'match' => 'cb_send_mapkey' }, 'WS' => { 'COLON' => { 'EOL' => { 'new' => 'FULLNODE' }, 'WS' => { 'new' => 'FULLMAPVALUE_INLINE' }, 'match' => 'cb_send_mapkey' } }, 'match' => 'cb_mapkey' }, 'QUESTION' => { 'EOL' => { 'new' => 'FULLNODE' }, 'WS' => { 'new' => 'FULLNODE' }, 'match' => 'cb_question' }, 'QUOTED' => { 'COLON' => { 'EOL' => { 'new' => 'FULLNODE' }, 'WS' => { 'new' => 'FULLMAPVALUE_INLINE' } }, 'WS' => { 'COLON' => { 'EOL' => { 'new' => 'FULLNODE' }, 'WS' => { 'new' => 'FULLMAPVALUE_INLINE' } } }, 'match' => 'cb_take_quoted_key' } }, 'STREAM' => { 'DEFAULT' => { 'match' => 'cb_doc_start_implicit', 'new' => 'FULLNODE' }, 'DOC_END' => { 'EOL' => {}, 'match' => 'cb_end_document_empty' }, 'DOC_START' => { 'EOL' => { 'new' => 'FULLNODE' }, 'WS' => { 'new' => 'FULLNODE' }, 'match' => 'cb_doc_start_explicit' }, 'EOL' => { 'new' => 'STREAM' }, 'RESERVED_DIRECTIVE' => { 'EOL' => { 'new' => 'DIRECTIVE' }, 'WS' => { 'new' => 'DIRECTIVE' }, 'match' => 'cb_reserved_directive' }, 'TAG_DIRECTIVE' => { 'EOL' => { 'new' => 'DIRECTIVE' }, 'WS' => { 'new' => 'DIRECTIVE' }, 'match' => 'cb_tag_directive' }, 'YAML_DIRECTIVE' => { 'EOL' => { 'new' => 'DIRECTIVE' }, 'WS' => { 'new' => 'DIRECTIVE' }, 'match' => 'cb_set_yaml_version_directive' } } }; # END OF GRAMMAR INLINE 1; __END__ =pod =encoding utf-8 =head1 NAME YAML::PP::Grammar - YAML grammar =head1 GRAMMAR This is the Grammar in YAML # START OF YAML INLINE # DO NOT CHANGE THIS # This grammar is automatically generated from etc/grammar.yaml --- NODETYPE_NODE: DASH: match: cb_seqstart EOL: { new: FULLNODE } WS: { new: FULLNODE } DEFAULT: { new: NODETYPE_SCALAR_OR_MAP } NODETYPE_SCALAR_OR_MAP: # Flow nodes can follow tabs WS: { new: FULLMAPVALUE_INLINE } ALIAS: match: cb_alias EOL: { match: cb_send_alias_from_stack } WS: COLON: match: cb_insert_map_alias EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } QUESTION: match: cb_questionstart EOL: { new: FULLNODE } WS: { new: FULLNODE } QUOTED: match: cb_take_quoted EOL: { match: cb_send_scalar } WS: COLON: match: cb_insert_map EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } COLON: match: cb_insert_map EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } QUOTED_MULTILINE: match: cb_quoted_multiline EOL: { } PLAIN: match: cb_start_plain EOL: match: cb_send_scalar WS: COLON: match: cb_insert_map EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } COLON: match: cb_insert_map EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } PLAIN_MULTI: match: cb_send_plain_multi EOL: { } COLON: match: cb_insert_empty_map EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } BLOCK_SCALAR: match: cb_send_block_scalar EOL: { } FLOWSEQ_START: match: cb_start_flowseq new: NEWFLOWSEQ FLOWMAP_START: match: cb_start_flowmap new: NEWFLOWMAP DOC_END: match: cb_end_document EOL: { } DOC_START: match: cb_end_doc_start_document EOL: { new: FULLNODE } WS: { new: FULLNODE } EOL: new: NODETYPE_SCALAR_OR_MAP NODETYPE_COMPLEX: COLON: match: cb_complexcolon EOL: { new: FULLNODE } WS: { new: FULLNODE } DEFAULT: match: cb_empty_complexvalue new: NODETYPE_MAP EOL: new: NODETYPE_COMPLEX RULE_FULLFLOWSCALAR: ANCHOR: match: cb_anchor EOL: { new: RULE_FULLFLOWSCALAR_ANCHOR } DEFAULT: { new: RULE_FULLFLOWSCALAR_ANCHOR } TAG: match: cb_tag EOL: { new: RULE_FULLFLOWSCALAR_TAG } DEFAULT: { new: RULE_FULLFLOWSCALAR_TAG } DEFAULT: { new: RULE_FLOWSCALAR } RULE_FULLFLOWSCALAR_ANCHOR: WS: { new: RULE_FULLFLOWSCALAR_ANCHOR } TAG: match: cb_tag WS: { new: RULE_FLOWSCALAR } EOL: { new: RULE_FLOWSCALAR } DEFAULT: { new: RULE_FLOWSCALAR } RULE_FULLFLOWSCALAR_TAG: WS: { new: RULE_FULLFLOWSCALAR_TAG } ANCHOR: match: cb_anchor WS: { new: RULE_FLOWSCALAR } EOL: { new: RULE_FLOWSCALAR } DEFAULT: { new: RULE_FLOWSCALAR } RULE_FLOWSCALAR: FLOWSEQ_START: { match: cb_start_flowseq, new: NEWFLOWSEQ } FLOWMAP_START: { match: cb_start_flowmap, new: NEWFLOWMAP } ALIAS: { match: cb_send_alias, return: 1 } QUOTED: match: cb_take_quoted EOL: { match: cb_send_scalar } WS: { match: cb_send_scalar, return: 1 } DEFAULT: { match: cb_send_scalar, return: 1 } QUOTED_MULTILINE: { match: cb_quoted_multiline, return: 1 } PLAIN: match: cb_start_plain EOL: { match: cb_send_scalar } DEFAULT: { match: cb_send_scalar, return: 1 } PLAIN_MULTI: { match: cb_send_plain_multi, return: 1 } FLOW_COMMA: { match: cb_empty_flow_mapkey, return: 1 } FLOWMAP_END: match: cb_end_flowmap_empty return: 1 FLOWSEQ: FLOWSEQ_START: { match: cb_start_flowseq, new: NEWFLOWSEQ } FLOWMAP_START: { match: cb_start_flowmap, new: NEWFLOWMAP } ALIAS: { match: cb_send_flow_alias, new: FLOWSEQ_NEXT } PLAIN: match: cb_start_plain EOL: match: cb_send_scalar new: FLOWSEQ_NEXT DEFAULT: new: FLOWSEQ_MAYBE_KEY PLAIN_MULTI: { match: cb_send_plain_multi, new: FLOWSEQ_NEXT } QUOTED: match: cb_take_quoted EOL: match: cb_send_scalar new: FLOWSEQ_NEXT DEFAULT: new: FLOWSEQ_MAYBE_KEY QUOTED_MULTILINE: { match: cb_quoted_multiline, new: FLOWSEQ_NEXT } COLON: WS: match: cb_insert_empty_implicit_flowseq_map new: RULE_FULLFLOWSCALAR EOL: match: cb_insert_empty_implicit_flowseq_map new: RULE_FULLFLOWSCALAR FLOWSEQ_PROPS: FLOWSEQ_START: { match: cb_start_flowseq, new: NEWFLOWSEQ } FLOWMAP_START: { match: cb_start_flowmap, new: NEWFLOWMAP } PLAIN: match: cb_start_plain EOL: match: cb_send_scalar new: FLOWSEQ_NEXT DEFAULT: new: FLOWSEQ_MAYBE_KEY PLAIN_MULTI: { match: cb_send_plain_multi, new: FLOWSEQ_NEXT } QUOTED: match: cb_take_quoted EOL: match: cb_send_scalar new: FLOWSEQ_NEXT DEFAULT: new: FLOWSEQ_MAYBE_KEY QUOTED_MULTILINE: { match: cb_quoted_multiline, new: FLOWSEQ_NEXT } FLOW_COMMA: match: cb_empty_flowseq_comma return: 1 FLOWSEQ_END: match: cb_empty_flowseq_end return: 1 COLON: WS: match: cb_insert_empty_implicit_flowseq_map new: RULE_FULLFLOWSCALAR EOL: match: cb_insert_empty_implicit_flowseq_map new: RULE_FULLFLOWSCALAR FLOWSEQ_EMPTY: FLOW_COMMA: match: cb_empty_flowseq_comma return: 1 FLOWSEQ_END: match: cb_empty_flowseq_end return: 1 FLOWSEQ_NEXT: WS: { new: FLOWSEQ_NEXT } EOL: { new: FLOWSEQ_NEXT } FLOW_COMMA: match: cb_flow_comma return: 1 FLOWSEQ_END: match: cb_end_flowseq return: 1 FLOWSEQ_MAYBE_KEY: WS: { new: FLOWSEQ_MAYBE_KEY } COLON: WS: match: cb_insert_implicit_flowseq_map new: RULE_FULLFLOWSCALAR EOL: match: cb_insert_implicit_flowseq_map new: RULE_FULLFLOWSCALAR DEFAULT: match: cb_insert_implicit_flowseq_map new: RULE_FULLFLOWSCALAR DEFAULT: new: FLOWSEQ_NEXT FLOWMAP_CONTENT: FLOWSEQ_START: { match: cb_start_flowseq, new: NEWFLOWSEQ } FLOWMAP_START: { match: cb_start_flowmap, new: NEWFLOWMAP } ALIAS: { match: cb_send_alias, return: 1 } PLAIN: { match: cb_flowkey_plain, return: 1 } PLAIN_MULTI: { match: cb_send_plain_multi, return: 1 } QUOTED: { match: cb_flowkey_quoted, return: 1 } QUOTED_MULTILINE: { match: cb_quoted_multiline, return: 1 } COLON: WS: match: cb_empty_flow_mapkey new: RULE_FULLFLOWSCALAR EOL: match: cb_empty_flow_mapkey new: RULE_FULLFLOWSCALAR FLOWMAP_PROPS: FLOWSEQ_START: { match: cb_start_flowseq, new: NEWFLOWSEQ } FLOWMAP_START: { match: cb_start_flowmap, new: NEWFLOWMAP } PLAIN: { match: cb_flowkey_plain, return: 1 } PLAIN_MULTI: { match: cb_send_plain_multi, return: 1 } QUOTED: { match: cb_flowkey_quoted, return: 1 } QUOTED_MULTILINE: { match: cb_quoted_multiline, return: 1 } COLON: WS: match: cb_empty_flow_mapkey new: RULE_FULLFLOWSCALAR EOL: match: cb_empty_flow_mapkey new: RULE_FULLFLOWSCALAR FLOW_COMMA: match: cb_empty_flowmap_key_value return: 1 FLOWMAP_END: match: cb_end_empty_flowmap_key_value return: 1 FLOWMAP_EMPTYKEY: FLOW_COMMA: match: cb_empty_flowmap_key_value return: 1 FLOWMAP_END: match: cb_end_empty_flowmap_key_value return: 1 NEWFLOWSEQ: EOL: { new: NEWFLOWSEQ } WS: { new: NEWFLOWSEQ } ANCHOR: match: cb_anchor WS: { new: NEWFLOWSEQ_ANCHOR_SPC } EOL: { new: NEWFLOWSEQ_ANCHOR_SPC } DEFAULT: { new: NEWFLOWSEQ_ANCHOR } TAG: match: cb_tag WS: { new: NEWFLOWSEQ_TAG_SPC } EOL: { new: NEWFLOWSEQ_TAG_SPC } DEFAULT: { new: NEWFLOWSEQ_TAG } FLOWSEQ_END: match: cb_end_flowseq return: 1 DEFAULT: { new: FLOWSEQ } NODETYPE_FLOWSEQ: EOL: { new: NODETYPE_FLOWSEQ } WS: { new: NODETYPE_FLOWSEQ } FLOWSEQ_END: match: cb_end_flowseq return: 1 DEFAULT: { new: NEWFLOWSEQ } NODETYPE_FLOWMAPVALUE: WS: { new: NODETYPE_FLOWMAPVALUE } EOL: { new: NODETYPE_FLOWMAPVALUE } COLON: match: cb_flow_colon WS: { new: RULE_FULLFLOWSCALAR } EOL: { new: RULE_FULLFLOWSCALAR } DEFAULT: { new: RULE_FULLFLOWSCALAR } FLOW_COMMA: match: cb_empty_flowmap_value return: 1 FLOWMAP_END: match: cb_end_flowmap_empty return: 1 NEWFLOWSEQ_ANCHOR: DEFAULT: { new: FLOWSEQ_EMPTY } NEWFLOWSEQ_TAG: DEFAULT: { new: FLOWSEQ_EMPTY } NEWFLOWSEQ_ANCHOR_SPC: WS: { new: NEWFLOWSEQ_ANCHOR_SPC } EOL: { new: NEWFLOWSEQ_ANCHOR_SPC } TAG: match: cb_tag WS: { new: FLOWSEQ_PROPS } EOL: { new: FLOWSEQ_PROPS } DEFAULT: { new: FLOWSEQ_EMPTY } DEFAULT: { new: FLOWSEQ_PROPS } NEWFLOWSEQ_TAG_SPC: WS: { new: NEWFLOWSEQ_TAG_SPC } EOL: { new: NEWFLOWSEQ_TAG_SPC } ANCHOR: match: cb_anchor WS: { new: FLOWSEQ_PROPS } EOL: { new: FLOWSEQ_PROPS } DEFAULT: { new: FLOWSEQ_EMPTY } DEFAULT: { new: FLOWSEQ_PROPS } NEWFLOWMAP_ANCHOR: DEFAULT: { new: FLOWMAP_EMPTYKEY } NEWFLOWMAP_TAG: DEFAULT: { new: FLOWMAP_EMPTYKEY } NEWFLOWMAP_ANCHOR_SPC: WS: { new: NEWFLOWMAP_ANCHOR_SPC } EOL: { new: NEWFLOWMAP_ANCHOR_SPC } TAG: match: cb_tag WS: { new: FLOWMAP_PROPS } EOL: { new: FLOWMAP_PROPS } DEFAULT: { new: FLOWMAP_EMPTYKEY } DEFAULT: { new: FLOWMAP_PROPS } NEWFLOWMAP_TAG_SPC: WS: { new: NEWFLOWMAP_TAG_SPC } EOL: { new: NEWFLOWMAP_TAG_SPC } ANCHOR: match: cb_anchor WS: { new: FLOWMAP_PROPS } EOL: { new: FLOWMAP_PROPS } DEFAULT: { new: FLOWMAP_EMPTYKEY } DEFAULT: { new: FLOWMAP_PROPS } NEWFLOWMAP: EOL: { new: NEWFLOWMAP } WS: { new: NEWFLOWMAP } QUESTION: { match: cb_flow_question, new: FLOWMAP_EXPLICIT_KEY } DEFAULT: { new: FLOWMAP } FLOWMAP_EXPLICIT_KEY: WS: { new: FLOWMAP_EXPLICIT_KEY } EOL: { new: FLOWMAP_EXPLICIT_KEY } FLOWMAP_END: match: cb_end_empty_flowmap_key_value return: 1 FLOW_COMMA: match: cb_empty_flowmap_key_value return: 1 DEFAULT: { new: FLOWMAP } FLOWMAP: EOL: { new: FLOWMAP } WS: { new: FLOWMAP } ANCHOR: match: cb_anchor WS: { new: NEWFLOWMAP_ANCHOR_SPC } EOL: { new: NEWFLOWMAP_ANCHOR_SPC } DEFAULT: { new: NEWFLOWMAP_ANCHOR } TAG: match: cb_tag WS: { new: NEWFLOWMAP_TAG_SPC } EOL: { new: NEWFLOWMAP_TAG_SPC } DEFAULT: { new: NEWFLOWMAP_TAG } FLOWMAP_END: match: cb_end_flowmap return: 1 COLON: WS: match: cb_empty_flow_mapkey new: RULE_FULLFLOWSCALAR EOL: match: cb_empty_flow_mapkey new: RULE_FULLFLOWSCALAR DEFAULT: { new: FLOWMAP_CONTENT } NODETYPE_FLOWMAP: EOL: { new: NODETYPE_FLOWMAP } WS: { new: NODETYPE_FLOWMAP } FLOWMAP_END: match: cb_end_flowmap return: 1 FLOW_COMMA: { match: cb_flow_comma, new: NEWFLOWMAP } DEFAULT: { new: NEWFLOWMAP } END_FLOW: EOL: match: cb_end_outer_flow return: 1 RULE_MAPKEY: QUESTION: match: cb_question EOL: { new: FULLNODE } WS: { new: FULLNODE } ALIAS: match: cb_send_alias_key WS: COLON: EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } QUOTED: match: cb_take_quoted_key WS: COLON: EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } COLON: EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } PLAIN: match: cb_mapkey WS: COLON: match: cb_send_mapkey EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } COLON: match: cb_send_mapkey EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } COLON: match: cb_empty_mapkey EOL: { new: FULLNODE } WS: { new: FULLMAPVALUE_INLINE } DOC_END: match: cb_end_document EOL: { } DOC_START: match: cb_end_doc_start_document EOL: { new: FULLNODE } WS: { new: FULLNODE } EOL: new: RULE_MAPKEY NODETYPE_SEQ: DASH: match: cb_seqitem EOL: { new: FULLNODE } WS: { new: FULLNODE } DOC_END: match: cb_end_document EOL: { } DOC_START: match: cb_end_doc_start_document EOL: { new: FULLNODE } WS: { new: FULLNODE } EOL: new: NODETYPE_SEQ NODETYPE_MAP: ANCHOR: match: cb_anchor WS: TAG: match: cb_tag WS: { new: RULE_MAPKEY } DEFAULT: { new: RULE_MAPKEY } TAG: match: cb_tag WS: ANCHOR: match: cb_anchor WS: { new: RULE_MAPKEY } DEFAULT: { new: RULE_MAPKEY } DEFAULT: { new: RULE_MAPKEY } FULLNODE_ANCHOR: TAG: match: cb_tag EOL: { match: cb_property_eol, new: FULLNODE_TAG_ANCHOR } WS: ANCHOR: match: cb_anchor WS: { new: NODETYPE_SCALAR_OR_MAP } DEFAULT: { new: NODETYPE_SCALAR_OR_MAP } ANCHOR: match: cb_anchor WS: TAG: match: cb_tag WS: { new: NODETYPE_SCALAR_OR_MAP } DEFAULT: { new: NODETYPE_SCALAR_OR_MAP } EOL: { new: FULLNODE_ANCHOR } DEFAULT: { new: NODETYPE_NODE } FULLNODE_TAG: ANCHOR: match: cb_anchor EOL: { match: cb_property_eol, new: FULLNODE_TAG_ANCHOR } WS: TAG: match: cb_tag WS: { new: NODETYPE_SCALAR_OR_MAP } DEFAULT: { new: NODETYPE_SCALAR_OR_MAP, } TAG: match: cb_tag WS: ANCHOR: match: cb_anchor WS: { new: NODETYPE_SCALAR_OR_MAP } DEFAULT: { new: NODETYPE_SCALAR_OR_MAP } EOL: { new: FULLNODE_TAG } DEFAULT: { new: NODETYPE_NODE } FULLNODE_TAG_ANCHOR: ANCHOR: match: cb_anchor WS: TAG: match: cb_tag WS: { new: NODETYPE_SCALAR_OR_MAP } DEFAULT: { new: NODETYPE_SCALAR_OR_MAP } TAG: match: cb_tag WS: ANCHOR: match: cb_anchor WS: { new: NODETYPE_SCALAR_OR_MAP } DEFAULT: { new: NODETYPE_SCALAR_OR_MAP } EOL: { new: FULLNODE_TAG_ANCHOR } DEFAULT: { new: NODETYPE_NODE } FULLNODE: ANCHOR: match: cb_anchor EOL: { match: cb_property_eol, new: FULLNODE_ANCHOR } WS: TAG: match: cb_tag EOL: { match: cb_property_eol, new: FULLNODE_TAG_ANCHOR } WS: { new: NODETYPE_SCALAR_OR_MAP } DEFAULT: { new: NODETYPE_SCALAR_OR_MAP } TAG: match: cb_tag EOL: { match: cb_property_eol, new: FULLNODE_TAG } WS: ANCHOR: match: cb_anchor EOL: { match: cb_property_eol, new: FULLNODE_TAG_ANCHOR } WS: { new: NODETYPE_SCALAR_OR_MAP } DEFAULT: { new: NODETYPE_SCALAR_OR_MAP } EOL: { new: FULLNODE } DEFAULT: { new: NODETYPE_NODE } FULLMAPVALUE_INLINE: ANCHOR: match: cb_anchor EOL: { match: cb_property_eol, new: FULLNODE_ANCHOR } WS: TAG: match: cb_tag EOL: { match: cb_property_eol, new: FULLNODE_TAG_ANCHOR } WS: { new: NODETYPE_MAPVALUE_INLINE } DEFAULT: { new: NODETYPE_MAPVALUE_INLINE } TAG: match: cb_tag EOL: { match: cb_property_eol, new: FULLNODE_TAG } WS: ANCHOR: match: cb_anchor EOL: { match: cb_property_eol, new: FULLNODE_TAG_ANCHOR } WS: { new: NODETYPE_MAPVALUE_INLINE } DEFAULT: { new: NODETYPE_MAPVALUE_INLINE } DEFAULT: { new: NODETYPE_MAPVALUE_INLINE } NODETYPE_MAPVALUE_INLINE: ALIAS: match: cb_send_alias EOL: { } QUOTED: match: cb_take_quoted EOL: { match: cb_send_scalar } QUOTED_MULTILINE: match: cb_quoted_multiline EOL: { } PLAIN: match: cb_start_plain EOL: match: cb_send_scalar PLAIN_MULTI: match: cb_send_plain_multi EOL: { } BLOCK_SCALAR: match: cb_send_block_scalar EOL: { } FLOWSEQ_START: match: cb_start_flowseq new: NEWFLOWSEQ FLOWMAP_START: match: cb_start_flowmap new: NEWFLOWMAP DOC_END: match: cb_end_document EOL: { } DOCUMENT_END: DOC_END: match: cb_end_document EOL: { } DOC_START: match: cb_end_doc_start_document EOL: { new: FULLNODE } WS: { new: FULLNODE } EOL: new: DOCUMENT_END STREAM: DOC_END: match: cb_end_document_empty EOL: { } DOC_START: match: cb_doc_start_explicit EOL: { new: FULLNODE } WS: { new: FULLNODE } YAML_DIRECTIVE: match: cb_set_yaml_version_directive EOL: { new: DIRECTIVE } WS: { new: DIRECTIVE } RESERVED_DIRECTIVE: match: cb_reserved_directive EOL: { new: DIRECTIVE } WS: { new: DIRECTIVE } TAG_DIRECTIVE: match: cb_tag_directive EOL: { new: DIRECTIVE } WS: { new: DIRECTIVE } EOL: new: STREAM DEFAULT: match: cb_doc_start_implicit new: FULLNODE DIRECTIVE: DOC_START: match: cb_doc_start_explicit EOL: { new: FULLNODE } WS: { new: FULLNODE } YAML_DIRECTIVE: match: cb_set_yaml_version_directive EOL: { new: DIRECTIVE } WS: { new: DIRECTIVE } RESERVED_DIRECTIVE: match: cb_reserved_directive EOL: { new: DIRECTIVE } WS: { new: DIRECTIVE } TAG_DIRECTIVE: match: cb_tag_directive EOL: { new: DIRECTIVE } WS: { new: DIRECTIVE } EOL: new: DIRECTIVE # END OF YAML INLINE =cut YAML-PP-v0.43.0/lib/YAML/PP/PaxHeaders/Emitter.pm0000644000000000000000000000013215263373362015731 xustar0030 mtime=1791882994.990235865 30 atime=1791882994.990115178 30 ctime=1791882994.990235865 YAML-PP-v0.43.0/lib/YAML/PP/Emitter.pm0000644000175000017500000007514715263373362015401 0ustar00tinatinause strict; use warnings; package YAML::PP::Emitter; our $VERSION = 'v0.43.0'; # VERSION use YAML::PP::Common qw/ YAML_PLAIN_SCALAR_STYLE YAML_SINGLE_QUOTED_SCALAR_STYLE YAML_DOUBLE_QUOTED_SCALAR_STYLE YAML_LITERAL_SCALAR_STYLE YAML_FOLDED_SCALAR_STYLE YAML_FLOW_SEQUENCE_STYLE YAML_FLOW_MAPPING_STYLE /; use constant DEBUG => $ENV{YAML_PP_EMIT_DEBUG} ? 1 : 0; if (DEBUG) { require Data::Dumper } use constant DEFAULT_WIDTH => 80; sub new { my ($class, %args) = @_; my $self = bless { indent => $args{indent} || 2, writer => $args{writer}, width => $args{width} || DEFAULT_WIDTH, }, $class; $self->init; return $self; } sub clone { my ($self) = @_; my $clone = { indent => $self->indent, }; return bless $clone, ref $self; } sub event_stack { return $_[0]->{event_stack} } sub set_event_stack { $_[0]->{event_stack} = $_[1] } sub indent { return $_[0]->{indent} } sub width { return $_[0]->{width} } sub line { return $_[0]->{line} } sub column { return $_[0]->{column} } sub set_indent { $_[0]->{indent} = $_[1] } sub writer { $_[0]->{writer} } sub set_writer { $_[0]->{writer} = $_[1] } sub tagmap { return $_[0]->{tagmap} } sub set_tagmap { $_[0]->{tagmap} = $_[1] } sub init { my ($self) = @_; unless ($self->writer) { $self->set_writer(YAML::PP::Writer->new); } $self->set_tagmap({ 'tag:yaml.org,2002:' => '!!', }); $self->{open_ended} = 0; $self->{line} = 0; $self->{column} = 0; $self->writer->init; } sub mapping_start_event { DEBUG and warn __PACKAGE__.':'.__LINE__.": +++ mapping_start_event\n"; my ($self, $info) = @_; my $stack = $self->event_stack; my $last = $stack->[-1]; my $indent = $last->{indent}; my $new_indent = $indent; my $yaml = ''; my $props = ''; my $anchor = $info->{anchor}; my $tag = $info->{tag}; if (defined $anchor) { $anchor = "&$anchor"; } if (defined $tag) { $tag = $self->_emit_tag('map', $tag); } $props = join ' ', grep defined, ($anchor, $tag); my $flow = $last->{flow} || 0; $flow++ if ($info->{style} || 0) eq YAML_FLOW_MAPPING_STYLE; my $newline = 0; if ($flow > 1) { if ($last->{type} eq 'SEQ') { if ($last->{newline}) { $yaml .= ' '; } if ($last->{index} == 0) { $yaml .= "["; } else { $yaml .= ","; } } elsif ($last->{type} eq 'MAP') { if ($last->{newline}) { $yaml .= ' '; } if ($last->{index} == 0) { $yaml .= "{"; } else { $yaml .= ","; } } elsif ($last->{type} eq 'MAPVALUE') { if ($last->{index} == 0) { die "Should not happen (index 0 in MAPVALUE)"; } $yaml .= ": "; } if ($props) { $yaml .= " $props "; } $new_indent .= ' ' x $self->indent; } else { if ($last->{type} eq 'DOC') { $newline = $last->{newline}; } else { if ($last->{newline}) { $yaml .= "\n"; $last->{column} = 0; } if ($last->{type} eq 'MAPVALUE') { $new_indent .= ' ' x $self->indent; $newline = 1; } else { $new_indent = $indent; if (not $props and $self->indent == 1) { $new_indent .= ' ' x 2; } else { $new_indent .= ' ' x $self->indent; } if ($last->{column}) { my $space = $self->indent > 1 ? ' ' x ($self->indent - 1) : ' '; $yaml .= $space; } else { $yaml .= $indent; } if ($last->{type} eq 'SEQ') { $yaml .= '-'; } elsif ($last->{type} eq 'MAP') { $yaml .= "?"; $last->{type} = 'COMPLEX'; } elsif ($last->{type} eq 'COMPLEXVALUE') { $yaml .= ":"; } else { die "Should not happen ($last->{type} in mapping_start)"; } $last->{column} = 1; } $last->{newline} = 0; } if ($props) { $yaml .= $last->{column} ? ' ' : $indent; $yaml .= $props; $newline = 1; } } $self->_write($yaml); my $new_info = { index => 0, indent => $new_indent, info => $info, newline => $newline, column => $self->column, flow => $flow, }; $new_info->{type} = 'MAP'; push @{ $stack }, $new_info; $last->{index}++; $self->{open_ended} = 0; } sub mapping_end_event { DEBUG and warn __PACKAGE__.':'.__LINE__.": +++ mapping_end_event\n"; my ($self, $info) = @_; my $stack = $self->event_stack; my $last = pop @{ $stack }; if ($last->{index} == 0) { my $indent = $last->{indent}; my $zero_indent = $last->{zero_indent}; if ($last->{zero_indent}) { $indent .= ' ' x $self->indent; } if ($self->column) { $self->_write(" {}\n"); } else { $self->_write("$indent\{}\n"); } } elsif ($last->{flow}) { my $yaml = "}"; if ($last->{flow} == 1) { $yaml .= "\n"; } $self->_write("$yaml"); } $last = $stack->[-1]; $last->{column} = $self->column; if ($last->{type} eq 'SEQ') { } elsif ($last->{type} eq 'MAP') { $last->{type} = 'MAPVALUE'; } elsif ($last->{type} eq 'MAPVALUE') { $last->{type} = 'MAP'; } elsif ($last->{type} eq 'COMPLEX') { $last->{type} = 'COMPLEXVALUE'; } elsif ($last->{type} eq 'COMPLEXVALUE') { $last->{type} = 'MAP'; } } sub sequence_start_event { DEBUG and warn __PACKAGE__.':'.__LINE__.": +++ sequence_start_event\n"; my ($self, $info) = @_; my $stack = $self->event_stack; my $last = $stack->[-1]; my $indent = $last->{indent}; my $new_indent = $indent; my $yaml = ''; my $props = ''; my $anchor = $info->{anchor}; my $tag = $info->{tag}; if (defined $anchor) { $anchor = "&$anchor"; } if (defined $tag) { $tag = $self->_emit_tag('seq', $tag); } $props = join ' ', grep defined, ($anchor, $tag); my $flow = $last->{flow} || 0; $flow++ if $flow or ($info->{style} || 0) eq YAML_FLOW_SEQUENCE_STYLE; my $newline = 0; my $zero_indent = 0; if ($flow > 1) { if ($last->{type} eq 'SEQ') { if ($last->{newline}) { $yaml .= ' '; } if ($last->{index} == 0) { $yaml .= "["; } else { $yaml .= ","; } } elsif ($last->{type} eq 'MAP') { if ($last->{newline}) { $yaml .= ' '; } if ($last->{index} == 0) { $yaml .= "{"; } else { $yaml .= ","; } } elsif ($last->{type} eq 'MAPVALUE') { if ($last->{index} == 0) { die "Should not happen (index 0 in MAPVALUE)"; } $yaml .= ": "; } if ($props) { $yaml .= " $props "; } $new_indent .= ' ' x $self->indent; } else { if ($last->{type} eq 'DOC') { $newline = $last->{newline}; } else { if ($last->{newline}) { $yaml .= "\n"; $last->{column} = 0; } if ($last->{type} eq 'MAPVALUE') { $zero_indent = 1; $newline = 1; } else { if (not $props and $self->indent == 1) { $new_indent .= ' ' x 2; } else { $new_indent .= ' ' x $self->indent; } if ($last->{column}) { my $space = $self->indent > 1 ? ' ' x ($self->indent - 1) : ' '; $yaml .= $space; } else { $yaml .= $indent; } if ($last->{type} eq 'SEQ') { $yaml .= "-"; } elsif ($last->{type} eq 'MAP') { $last->{type} = 'COMPLEX'; $zero_indent = 1; $yaml .= "?"; } elsif ($last->{type} eq 'COMPLEXVALUE') { $yaml .= ":"; $zero_indent = 1; } else { die "Should not happen ($last->{type} in sequence_start)"; } $last->{column} = 1; } $last->{newline} = 0; } if ($props) { $yaml .= $last->{column} ? ' ' : $indent; $yaml .= $props; $newline = 1; } } $self->_write($yaml); $last->{index}++; my $new_info = { index => 0, indent => $new_indent, info => $info, zero_indent => $zero_indent, newline => $newline, column => $self->column, flow => $flow, }; $new_info->{type} = 'SEQ'; push @{ $stack }, $new_info; $self->{open_ended} = 0; } sub sequence_end_event { DEBUG and warn __PACKAGE__.':'.__LINE__.": +++ sequence_end_event\n"; my ($self, $info) = @_; my $stack = $self->event_stack; my $last = pop @{ $stack }; if ($last->{index} == 0) { my $indent = $last->{indent}; my $zero_indent = $last->{zero_indent}; if ($last->{zero_indent}) { $indent .= ' ' x $self->indent; } my $yaml .= $self->column ? ' ' : $indent; $yaml .= "[]"; if ($last->{flow} < 2) { $yaml .= "\n"; } $self->_write($yaml); } elsif ($last->{flow}) { my $yaml = "]"; if ($last->{flow} == 1) { $yaml .= "\n"; } $self->_write($yaml); } $last = $stack->[-1]; $last->{column} = $self->column; if ($last->{type} eq 'SEQ') { } elsif ($last->{type} eq 'MAP') { $last->{type} = 'MAPVALUE'; } elsif ($last->{type} eq 'MAPVALUE') { $last->{type} = 'MAP'; } elsif ($last->{type} eq 'COMPLEX') { $last->{type} = 'COMPLEXVALUE'; } elsif ($last->{type} eq 'COMPLEXVALUE') { $last->{type} = 'MAP'; } } my %forbidden_first = (qw/ ! 1 & 1 * 1 { 1 } 1 [ 1 ] 1 | 1 > 1 @ 1 ` 1 " 1 ' 1 /, '#' => 1, '%' => 1, ',' => 1, " " => 1); my %forbidden_first_plus_space = (qw/ ? 1 - 1 : 1 /); my %control = ( "\x00" => '\0', "\x01" => '\x01', "\x02" => '\x02', "\x03" => '\x03', "\x04" => '\x04', "\x05" => '\x05', "\x06" => '\x06', "\x07" => '\a', "\x08" => '\b', "\x0b" => '\v', "\x0c" => '\f', "\x0e" => '\x0e', "\x0f" => '\x0f', "\x10" => '\x10', "\x11" => '\x11', "\x12" => '\x12', "\x13" => '\x13', "\x14" => '\x14', "\x15" => '\x15', "\x16" => '\x16', "\x17" => '\x17', "\x18" => '\x18', "\x19" => '\x19', "\x1a" => '\x1a', "\x1b" => '\e', "\x1c" => '\x1c', "\x1d" => '\x1d', "\x1e" => '\x1e', "\x1f" => '\x1f', "\x7f" => '\x7f', "\x80" => '\x80', "\x81" => '\x81', "\x82" => '\x82', "\x83" => '\x83', "\x84" => '\x84', "\x86" => '\x86', "\x87" => '\x87', "\x88" => '\x88', "\x89" => '\x89', "\x8a" => '\x8a', "\x8b" => '\x8b', "\x8c" => '\x8c', "\x8d" => '\x8d', "\x8e" => '\x8e', "\x8f" => '\x8f', "\x90" => '\x90', "\x91" => '\x91', "\x92" => '\x92', "\x93" => '\x93', "\x94" => '\x94', "\x95" => '\x95', "\x96" => '\x96', "\x97" => '\x97', "\x98" => '\x98', "\x99" => '\x99', "\x9a" => '\x9a', "\x9b" => '\x9b', "\x9c" => '\x9c', "\x9d" => '\x9d', "\x9e" => '\x9e', "\x9f" => '\x9f', "\x{2029}" => '\P', "\x{2028}" => '\L', "\x85" => '\N', "\xa0" => '\_', ); my $control_re = '\x00-\x08\x0b\x0c\x0e-\x1f\x7f-\x84\x86-\x9f\x{d800}-\x{dfff}\x{fffe}\x{ffff}\x{2028}\x{2029}\x85\xa0'; my %to_escape = ( "\n" => '\n', "\t" => '\t', "\r" => '\r', '\\' => '\\\\', '"' => '\\"', %control, ); my $escape_re = $control_re . '\n\t\r'; my $escape_re_without_lb = $control_re . '\t\r'; sub scalar_event { DEBUG and warn __PACKAGE__.':'.__LINE__.": +++ scalar_event\n"; my ($self, $info) = @_; my $stack = $self->event_stack; my $last = $stack->[-1]; my $indent = $last->{indent}; my $value = $info->{value}; my $flow = $last->{flow}; my $props = ''; my $anchor = $info->{anchor}; my $tag = $info->{tag}; if (defined $anchor) { $anchor = "&$anchor"; } if (defined $tag) { $tag = $self->_emit_tag('scalar', $tag); } $props = join ' ', grep defined, ($anchor, $tag); DEBUG and local $Data::Dumper::Useqq = 1; $value = '' unless defined $value; my $style = $self->_find_best_scalar_style( info => $info, value => $value, ); my $open_ended = 0; if ($style == YAML_PLAIN_SCALAR_STYLE) { $value =~ s/\n/\n\n/g; } elsif ($style == YAML_SINGLE_QUOTED_SCALAR_STYLE) { my $new_indent = $last->{indent} . (' ' x $self->indent); $value =~ s/(\n+)/"\n" x (1 + (length $1))/eg; my @lines = split m/\n/, $value, -1; if (@lines > 1) { for my $line (@lines[1 .. $#lines]) { $line = $new_indent . $line if length $line; } } $value = join "\n", @lines; $value =~ s/'/''/g; $value = "'" . $value . "'"; } elsif ($style == YAML_LITERAL_SCALAR_STYLE) { DEBUG and warn __PACKAGE__.':'.__LINE__.$".Data::Dumper->Dump([\$value], ['value']); my $indicators = ''; if ($value =~ m/\A\n* +/) { $indicators .= $self->indent; } my $indent = $indent . ' ' x $self->indent; if ($value !~ m/\n\z/) { $indicators .= '-'; $value .= "\n"; } elsif ($value =~ m/(\n|\A)\n\z/) { $indicators .= '+'; $open_ended = 1; } $value =~ s/^(?=.)/$indent/gm; $value = "|$indicators\n$value"; } elsif ($style == YAML_FOLDED_SCALAR_STYLE) { DEBUG and warn __PACKAGE__.':'.__LINE__.$".Data::Dumper->Dump([\$value], ['value']); my @lines = split /\n/, $value, -1; DEBUG and warn __PACKAGE__.':'.__LINE__.$".Data::Dumper->Dump([\@lines], ['lines']); my $trailing = -1; while (@lines) { last if $lines[-1] ne ''; pop @lines; $trailing++; } my %start_with_space; for my $i (0 .. $#lines) { if ($lines[ $i ] =~ m/^[ \t]+/) { $start_with_space{ $i } = 1; } } my $indicators = ''; if ($value =~ m/\A\n* +/) { $indicators .= $self->indent; } my $indent = $indent . ' ' x $self->indent; if ($trailing > 0) { $indicators .= '+'; $open_ended = 1; } elsif ($trailing < 0) { $indicators .= '-'; } $value = ">$indicators\n"; my $got_content = 0; for my $i (0 .. $#lines) { my $line = $lines[ $i ]; my $sp = $start_with_space{ $i } || 0; my $spnext = $i == $#lines ? 1 : $start_with_space{ $i+1 } || 0; my $spprev = $i == 0 ? 1 : $start_with_space{ $i-1 } || 0; my $empty = length $line ? 0 : 1; my $emptynext = $i == $#lines ? '' : length $lines[$i+1] ? 0 : 1; my $nl = 0; if ($empty) { if ($spnext and $spprev) { $nl = 1; } elsif (not $spnext) { $nl = 1; } elsif (not $got_content) { $nl = 1; } } else { $got_content = 1; $value .= "$indent$line\n"; if (not $sp and not $spnext) { $nl = 1; } } if ($nl) { $value .= "\n"; } } $value .= "\n" x ($trailing) if $trailing > 0; } else { $value =~ s/([$escape_re"\\])/$to_escape{ $1 } || sprintf '\\u%04x', ord($1)/eg; $value = '"' . $value . '"'; } DEBUG and warn __PACKAGE__.':'.__LINE__.": (@$stack)\n"; my $yaml = $self->_emit_scalar( indent => $indent, props => $props, value => $value, style => $style, ); $last->{index}++; $last->{newline} = 0; $self->_write($yaml); $last->{column} = $self->column; $self->{open_ended} = $open_ended; } sub _find_best_scalar_style { my ($self, %args) = @_; my $info = $args{info}; my $style = $info->{style}; my $value = $args{value}; my $stack = $self->event_stack; my $last = $stack->[-1]; my $flow = $last->{flow}; my $first = substr($value, 0, 1); if ($value eq '') { if ($flow and $last->{type} ne 'MAPVALUE' and $last->{type} ne 'MAP') { $style = YAML_SINGLE_QUOTED_SCALAR_STYLE; } elsif (not $style) { $style = YAML_SINGLE_QUOTED_SCALAR_STYLE; } } # no control characters anywhere elsif ($value =~ m/[$control_re]/) { $style = YAML_DOUBLE_QUOTED_SCALAR_STYLE; } $style ||= YAML_PLAIN_SCALAR_STYLE; if ($style == YAML_SINGLE_QUOTED_SCALAR_STYLE) { if ($value =~ m/ \n/ or $value =~ m/\n / or $value =~ m/^\n/ or $value =~ m/\n$/) { $style = YAML_DOUBLE_QUOTED_SCALAR_STYLE; } elsif ($value eq "\n") { $style = YAML_DOUBLE_QUOTED_SCALAR_STYLE; } } elsif ($style == YAML_LITERAL_SCALAR_STYLE or $style == YAML_FOLDED_SCALAR_STYLE) { if ($value eq '') { $style = YAML_DOUBLE_QUOTED_SCALAR_STYLE; } elsif ($flow) { # no block scalars in flow if ($value =~ tr/\n//) { $style = YAML_DOUBLE_QUOTED_SCALAR_STYLE; } else { $style = YAML_SINGLE_QUOTED_SCALAR_STYLE; } } } elsif ($style == YAML_PLAIN_SCALAR_STYLE) { if (not length $value) { } elsif ($value =~ m/[$escape_re_without_lb]/) { $style = YAML_DOUBLE_QUOTED_SCALAR_STYLE; } elsif ($value eq "\n") { $style = YAML_DOUBLE_QUOTED_SCALAR_STYLE; } elsif ($value !~ tr/ //c) { $style = YAML_SINGLE_QUOTED_SCALAR_STYLE; } elsif ($value !~ tr/ \n//c) { $style = YAML_DOUBLE_QUOTED_SCALAR_STYLE; } elsif ($value =~ tr/\n//) { $style = $flow ? YAML_DOUBLE_QUOTED_SCALAR_STYLE : YAML_LITERAL_SCALAR_STYLE; } elsif ($forbidden_first{ $first }) { $style = YAML_SINGLE_QUOTED_SCALAR_STYLE; } elsif ($flow and $value =~ tr/,[]{}//) { $style = YAML_SINGLE_QUOTED_SCALAR_STYLE; } elsif (substr($value, 0, 3) =~ m/^(?:---|\.\.\.)/) { $style = YAML_SINGLE_QUOTED_SCALAR_STYLE; } elsif ($value =~ m/: /) { $style = YAML_SINGLE_QUOTED_SCALAR_STYLE; } elsif ($value =~ m/ #/) { $style = YAML_SINGLE_QUOTED_SCALAR_STYLE; } elsif ($value =~ m/[: \t]\z/) { $style = YAML_SINGLE_QUOTED_SCALAR_STYLE; } elsif ($value =~ m/[^\x20-\x3A\x3B-\x7E\x85\xA0-\x{D7FF}\x{E000}-\x{FEFE}\x{FF00}-\x{FFFD}\x{10000}-\x{10FFFF}]/) { $style = YAML_SINGLE_QUOTED_SCALAR_STYLE; } elsif ($forbidden_first_plus_space{ $first }) { if (length ($value) == 1 or substr($value, 1, 1) =~ m/^\s/) { $style = YAML_SINGLE_QUOTED_SCALAR_STYLE; } } } if ($style == YAML_SINGLE_QUOTED_SCALAR_STYLE and not $info->{style}) { if ($value =~ tr/'// and $value !~ tr/"//) { $style = YAML_DOUBLE_QUOTED_SCALAR_STYLE; } } return $style; } sub _emit_scalar { my ($self, %args) = @_; my $props = $args{props}; my $value = $args{value}; my $style = $args{style}; my $stack = $self->event_stack; my $last = $stack->[-1]; my $flow = $last->{flow}; my $yaml = ''; my $pvalue = $props; if ($props and length $value) { $pvalue .= " $value"; } elsif (length $value) { $pvalue .= $value; } if ($flow) { if ($props and not length $value) { $pvalue .= ' '; } $yaml = $self->_emit_flow_scalar( value => $value, pvalue => $pvalue, style => $args{style}, ); } else { $yaml = $self->_emit_block_scalar( props => $props, value => $value, pvalue => $pvalue, indent => $args{indent}, style => $args{style}, ); } return $yaml; } sub _emit_block_scalar { my ($self, %args) = @_; my $props = $args{props}; my $value = $args{value}; my $pvalue = $args{pvalue}; my $indent = $args{indent}; my $style = $args{style}; my $stack = $self->event_stack; my $last = $stack->[-1]; my $yaml; if ($last->{type} eq 'MAP' or $last->{type} eq 'SEQ') { if ($last->{index} == 0 and $last->{newline}) { $yaml .= "\n"; $last->{column} = 0; $last->{newline} = 0; } } my $space = ' '; my $multiline = ($style == YAML_LITERAL_SCALAR_STYLE or $style == YAML_FOLDED_SCALAR_STYLE); if ($last->{type} eq 'MAP') { if ($last->{column}) { my $space = $self->indent > 1 ? ' ' x ($self->indent - 1) : ' '; $yaml .= $space; } else { $yaml .= $indent; } if ($props and not length $value) { $pvalue .= ' '; } $last->{type} = 'MAPVALUE'; if ($multiline) { # oops, a complex key $yaml .= "? "; $last->{type} = 'COMPLEXVALUE'; } if (not $multiline) { $pvalue .= ":"; } } else { if ($last->{type} eq 'MAPVALUE') { $last->{type} = 'MAP'; } elsif ($last->{type} eq 'DOC') { } else { if ($last->{column}) { my $space = $self->indent > 1 ? ' ' x ($self->indent - 1) : ' '; $yaml .= $space; } else { $yaml .= $indent; } if ($last->{type} eq 'COMPLEXVALUE') { $last->{type} = 'MAP'; $yaml .= ":"; } elsif ($last->{type} eq 'SEQ') { $yaml .= "-"; } else { die "Should not happen ($last->{type} in scalar_event)"; } $last->{column} = 1; } if (length $pvalue) { if ($last->{column}) { $pvalue = "$space$pvalue"; } } if (not $multiline) { $pvalue .= "\n"; } } $yaml .= $pvalue; return $yaml; } sub _emit_flow_scalar { my ($self, %args) = @_; my $value = $args{value}; my $pvalue = $args{pvalue}; my $stack = $self->event_stack; my $last = $stack->[-1]; my $yaml; if ($last->{type} eq 'SEQ') { if ($last->{index} == 0) { if ($self->column) { $yaml .= ' '; } $yaml .= "["; } else { $yaml .= ", "; } } elsif ($last->{type} eq 'MAP') { if ($last->{index} == 0) { if ($self->column) { $yaml .= ' '; } $yaml .= "{"; } else { $yaml .= ", "; } $last->{type} = 'MAPVALUE'; } elsif ($last->{type} eq 'MAPVALUE') { if ($last->{index} == 0) { die "Should not happen (index 0 in MAPVALUE)"; } $yaml .= ": "; $last->{type} = 'MAP'; } if ($self->column + length $pvalue > $self->width) { $yaml .= "\n"; $yaml .= $last->{indent}; $yaml .= ' ' x $self->indent; } $yaml .= $pvalue; return $yaml; } sub alias_event { DEBUG and warn __PACKAGE__.':'.__LINE__.": +++ alias_event\n"; my ($self, $info) = @_; my $stack = $self->event_stack; my $last = $stack->[-1]; my $indent = $last->{indent}; my $flow = $last->{flow}; my $alias = '*' . $info->{value}; my $yaml = ''; if ($last->{type} eq 'MAP' or $last->{type} eq 'SEQ') { if ($last->{index} == 0 and $last->{newline}) { $yaml .= "\n"; $last->{column} = 0; $last->{newline} = 0; } } $yaml .= $last->{column} ? ' ' : $indent; if ($flow) { my $space = ''; if ($last->{type} eq 'SEQ') { if ($last->{index} == 0) { if ($flow == 1) { $yaml .= ' '; } $yaml .= "["; } else { $yaml .= ", "; } } elsif ($last->{type} eq 'MAP') { if ($last->{index} == 0) { if ($flow == 1) { $yaml .= ' '; } $yaml .= "{"; } else { $yaml .= ", "; } $last->{type} = 'MAPVALUE'; $space = ' '; } elsif ($last->{type} eq 'MAPVALUE') { if ($last->{index} == 0) { die 23; if ($flow == 1) { $yaml .= ' '; } $yaml .= "{"; } else { $yaml .= ": "; } $last->{type} = 'MAP'; } $yaml .= "$alias$space"; } else { if ($last->{type} eq 'MAP') { $yaml .= "$alias :"; $last->{type} = 'MAPVALUE'; } else { if ($last->{type} eq 'MAPVALUE') { $last->{type} = 'MAP'; } elsif ($last->{type} eq 'DOC') { # TODO an alias at document level isn't actually valid } else { if ($last->{type} eq 'COMPLEXVALUE') { $last->{type} = 'MAP'; $yaml .= ": "; } elsif ($last->{type} eq 'COMPLEX') { $yaml .= ": "; } elsif ($last->{type} eq 'SEQ') { $yaml .= "- "; } else { die "Unexpected"; } } $yaml .= "$alias\n"; } } $self->_write("$yaml"); $last->{index}++; $last->{column} = $self->column; $self->{open_ended} = 0; } sub document_start_event { DEBUG and warn __PACKAGE__.':'.__LINE__.": +++ document_start_event\n"; my ($self, $info) = @_; my $newline = 0; my $implicit = $info->{implicit}; if ($info->{version_directive}) { if ($self->{open_ended}) { $self->_write("...\n"); } $self->_write("%YAML $info->{version_directive}->{major}.$info->{version_directive}->{minor}\n"); $self->{open_ended} = 0; $implicit = 0; # we need --- } unless ($implicit) { $newline = 1; $self->_write("---"); } $self->set_event_stack([ { type => 'DOC', index => 0, indent => '', info => $info, newline => $newline, column => $self->column, } ]); } sub document_end_event { DEBUG and warn __PACKAGE__.':'.__LINE__.": +++ document_end_event\n"; my ($self, $info) = @_; $self->set_event_stack([]); if ($self->{open_ended} or not $info->{implicit}) { $self->_write("...\n"); $self->{open_ended} = 0; } else { $self->{open_ended} = 1; } } sub stream_start_event { } sub stream_end_event { } sub _emit_tag { my ($self, $type, $tag) = @_; my $map = $self->tagmap; for my $key (sort keys %$map) { if ($tag =~ m/^\Q$key\E(.*)/) { $tag = $map->{ $key } . $1; return $tag; } } if ($tag =~ m/^(!.*)/) { $tag = "$1"; } else { $tag = "!<$tag>"; } return $tag; } sub finish { my ($self) = @_; $self->writer->finish; } sub _write { my ($self, $yaml) = @_; return unless length $yaml; my @lines = split m/\n/, $yaml, -1; my $newlines = @lines - 1; $self->{line} += $newlines; if (length $lines[-1]) { if ($newlines) { $self->{column} = length $lines[-1]; } else { $self->{column} += length $lines[-1]; } } else { $self->{column} = 0; } $self->writer->write($yaml); } 1; __END__ =pod =encoding utf-8 =head1 NAME YAML::PP::Emitter - Emitting events =head1 SYNOPSIS my $emitter = YAML::PP::Emitter->new( indent => 4, ); $emitter->init; $emitter->stream_start_event; $emitter->document_start_event({ implicit => 1 }); $emitter->sequence_start_event; $emitter->scalar_event({ value => $input, style => $style }); $emitter->sequence_end_event; $emitter->document_end_event({ implicit => 1 }); $emitter->stream_end_event; my $yaml = $emitter->writer->output; $emitter->finish; =head1 DESCRIPTION The emitter emits events to YAML. It provides methods for each event type. The arguments are mostly the same as the events from L. =head1 METHODS =over =item new my $emitter = YAML::PP::Emitter->new( indent => 4, ); Constructor. Currently takes these options: =over =item indent =item writer =back =item stream_start_event, stream_end_event, document_start_event, document_end_event, sequence_start_event, sequence_end_event, mapping_start_event, mapping_end_event, scalar_event, alias_event =item indent, set_indent Getter/setter for number of indentation spaces. TODO: Currently sequences are always zero-indented. =item writer, set_writer Getter/setter for the writer object. By default L. You can pass your own writer if you want to output the resulting YAML yourself. =item init Initialize =item finish =back =cut YAML-PP-v0.43.0/lib/YAML/PP/PaxHeaders/Common.pm0000644000000000000000000000013215263373362015550 xustar0030 mtime=1791882994.989172246 30 atime=1791882994.989052887 30 ctime=1791882994.989172246 YAML-PP-v0.43.0/lib/YAML/PP/Common.pm0000644000175000017500000001573315263373362015213 0ustar00tinatinause strict; use warnings; package YAML::PP::Common; our $VERSION = 'v0.43.0'; # VERSION use Exporter 'import'; my @p = qw/ PRESERVE_ALL PRESERVE_ORDER PRESERVE_SCALAR_STYLE PRESERVE_FLOW_STYLE PRESERVE_ALIAS /; my @s = qw/ YAML_ANY_SCALAR_STYLE YAML_PLAIN_SCALAR_STYLE YAML_SINGLE_QUOTED_SCALAR_STYLE YAML_DOUBLE_QUOTED_SCALAR_STYLE YAML_LITERAL_SCALAR_STYLE YAML_FOLDED_SCALAR_STYLE YAML_QUOTED_SCALAR_STYLE YAML_ANY_SEQUENCE_STYLE YAML_BLOCK_SEQUENCE_STYLE YAML_FLOW_SEQUENCE_STYLE YAML_ANY_MAPPING_STYLE YAML_BLOCK_MAPPING_STYLE YAML_FLOW_MAPPING_STYLE /; our @EXPORT_OK = (@s, @p); our %EXPORT_TAGS = ( PRESERVE => [@p], STYLES => [@s], ); use constant { YAML_ANY_SCALAR_STYLE => 0, YAML_PLAIN_SCALAR_STYLE => 1, YAML_SINGLE_QUOTED_SCALAR_STYLE => 2, YAML_DOUBLE_QUOTED_SCALAR_STYLE => 3, YAML_LITERAL_SCALAR_STYLE => 4, YAML_FOLDED_SCALAR_STYLE => 5, YAML_QUOTED_SCALAR_STYLE => 'Q', # deprecated YAML_ANY_SEQUENCE_STYLE => 0, YAML_BLOCK_SEQUENCE_STYLE => 1, YAML_FLOW_SEQUENCE_STYLE => 2, YAML_ANY_MAPPING_STYLE => 0, YAML_BLOCK_MAPPING_STYLE => 1, YAML_FLOW_MAPPING_STYLE => 2, PRESERVE_ORDER => 2, PRESERVE_SCALAR_STYLE => 4, PRESERVE_FLOW_STYLE => 8, PRESERVE_ALIAS => 16, PRESERVE_ALL => 31, }; my %scalar_style_to_string = ( YAML_PLAIN_SCALAR_STYLE() => ':', YAML_SINGLE_QUOTED_SCALAR_STYLE() => "'", YAML_DOUBLE_QUOTED_SCALAR_STYLE() => '"', YAML_LITERAL_SCALAR_STYLE() => '|', YAML_FOLDED_SCALAR_STYLE() => '>', ); sub event_to_test_suite { my ($event, $args) = @_; my $ev = $event->{name}; my $string; my $content = $event->{value}; my $properties = ''; $properties .= " &$event->{anchor}" if defined $event->{anchor}; $properties .= " <$event->{tag}>" if defined $event->{tag}; if ($ev eq 'document_start_event') { $string = "+DOC"; $string .= " ---" unless $event->{implicit}; } elsif ($ev eq 'document_end_event') { $string = "-DOC"; $string .= " ..." unless $event->{implicit}; } elsif ($ev eq 'stream_start_event') { $string = "+STR"; } elsif ($ev eq 'stream_end_event') { $string = "-STR"; } elsif ($ev eq 'mapping_start_event') { $string = "+MAP"; if ($event->{style} and $event->{style} eq YAML_FLOW_MAPPING_STYLE) { $string .= ' {}' if $args->{flow}; } $string .= $properties; if (0) { # doesn't match yaml-test-suite format } } elsif ($ev eq 'sequence_start_event') { $string = "+SEQ"; if ($event->{style} and $event->{style} eq YAML_FLOW_SEQUENCE_STYLE) { $string .= ' []' if $args->{flow}; } $string .= $properties; if (0) { # doesn't match yaml-test-suite format } } elsif ($ev eq 'mapping_end_event') { $string = "-MAP"; } elsif ($ev eq 'sequence_end_event') { $string = "-SEQ"; } elsif ($ev eq 'scalar_event') { $string = '=VAL'; $string .= $properties; $content =~ s/\\/\\\\/g; $content =~ s/\t/\\t/g; $content =~ s/\r/\\r/g; $content =~ s/\n/\\n/g; $content =~ s/[\b]/\\b/g; $string .= ' ' . $scalar_style_to_string{ $event->{style} } . $content; } elsif ($ev eq 'alias_event') { $string = "=ALI *$content"; } return $string; } sub test_suite_to_event { my ($str) = @_; my $event = {}; if ($str =~ s/^\+STR//) { $event->{name} = 'stream_start_event'; } elsif ($str =~ s/^\-STR//) { $event->{name} = 'stream_end_event'; } elsif ($str =~ s/^\+DOC//) { $event->{name} = 'document_start_event'; if ($str =~ s/^ ---//) { $event->{implicit} = 0; } else { $event->{implicit} = 1; } } elsif ($str =~ s/^\-DOC//) { $event->{name} = 'document_end_event'; if ($str =~ s/^ \.\.\.//) { $event->{implicit} = 0; } else { $event->{implicit} = 1; } } elsif ($str =~ s/^\+SEQ//) { $event->{name} = 'sequence_start_event'; if ($str =~ s/^ \&(\S+)//) { $event->{anchor} = $1; } if ($str =~ s/^ <(\S+)>//) { $event->{tag} = $1; } } elsif ($str =~ s/^\-SEQ//) { $event->{name} = 'sequence_end_event'; } elsif ($str =~ s/^\+MAP//) { $event->{name} = 'mapping_start_event'; if ($str =~ s/^ \&(\S+)//) { $event->{anchor} = $1; } if ($str =~ s/^ <(\S+)>//) { $event->{tag} = $1; } } elsif ($str =~ s/^\-MAP//) { $event->{name} = 'mapping_end_event'; } elsif ($str =~ s/^=VAL//) { $event->{name} = 'scalar_event'; if ($str =~ s/^ <(\S+)>//) { $event->{tag} = $1; } if ($str =~ s/^ [:'">|]//) { $event->{style} = $1; } if ($str =~ s/^(.*)//) { $event->{value} = $1; } } elsif ($str =~ s/^=ALI//) { $event->{name} = 'alias_event'; if ($str =~ s/^ \*(.*)//) { $event->{value} = $1; } } else { die "Could not parse event '$str'"; } return $event; } 1; __END__ =pod =encoding utf-8 =head1 NAME YAML::PP::Common - Constants and common functions =head1 SYNOPSIS use YAML::PP::Common ':STYLES'; # or use YAML::PP::Common qw/ YAML_ANY_SCALAR_STYLE YAML_PLAIN_SCALAR_STYLE YAML_SINGLE_QUOTED_SCALAR_STYLE YAML_DOUBLE_QUOTED_SCALAR_STYLE YAML_LITERAL_SCALAR_STYLE YAML_FOLDED_SCALAR_STYLE YAML_QUOTED_SCALAR_STYLE YAML_ANY_SEQUENCE_STYLE YAML_BLOCK_SEQUENCE_STYLE YAML_FLOW_SEQUENCE_STYLE YAML_ANY_MAPPING_STYLE YAML_BLOCK_MAPPING_STYLE YAML_FLOW_MAPPING_STYLE /; use YAML::PP::Common ':PRESERVE'; # or use YAML::PP::Common qw/ PRESERVE_ALL PRESERVE_ORDER PRESERVE_SCALAR_STYLE PRESERVE_FLOW_STYLE PRESERVE_ALIAS /: =head1 DESCRIPTION This module provides common constants and functions for modules working with YAML::PP events. =head1 FUNCTIONS =over =item event_to_test_suite my $string = YAML::PP::Common::event_to_test_suite($event_prom_parser); For examples of the returned format look into this distributions's directory C which is a copy of L. =item test_suite_to_event my $event = YAML::PP::Common::test_suite_to_event($str); Turns an event string in test suite format into an event hashref. Not complete yet. =back YAML-PP-v0.43.0/lib/YAML/PP/PaxHeaders/Parser.pm0000644000000000000000000000013215263373362015554 xustar0030 mtime=1791882994.989052887 30 atime=1791882994.988960416 30 ctime=1791882994.989052887 YAML-PP-v0.43.0/lib/YAML/PP/Parser.pm0000644000175000017500000012126415263373362015214 0ustar00tinatina# ABSTRACT: YAML Parser use strict; use warnings; package YAML::PP::Parser; our $VERSION = 'v0.43.0'; # VERSION use constant TRACE => $ENV{YAML_PP_TRACE} ? 1 : 0; use constant DEBUG => ($ENV{YAML_PP_DEBUG} || $ENV{YAML_PP_TRACE}) ? 1 : 0; use YAML::PP::Common qw/ YAML_PLAIN_SCALAR_STYLE YAML_SINGLE_QUOTED_SCALAR_STYLE YAML_DOUBLE_QUOTED_SCALAR_STYLE YAML_LITERAL_SCALAR_STYLE YAML_FOLDED_SCALAR_STYLE YAML_FLOW_SEQUENCE_STYLE YAML_FLOW_MAPPING_STYLE /; use YAML::PP::Render; use YAML::PP::Lexer; use YAML::PP::Grammar qw/ $GRAMMAR /; use YAML::PP::Exception; use YAML::PP::Reader; use Carp qw/ croak /; sub new { my ($class, %args) = @_; my $reader = delete $args{reader} || YAML::PP::Reader->new; my $default_yaml_version = delete $args{default_yaml_version}; my $self = bless { default_yaml_version => $default_yaml_version || '1.2', lexer => YAML::PP::Lexer->new( reader => $reader, ), }, $class; my $receiver = delete $args{receiver}; if ($receiver) { $self->set_receiver($receiver); } return $self; } sub clone { my ($self) = @_; my $clone = { default_yaml_version => $self->default_yaml_version, lexer => YAML::PP::Lexer->new(), }; return bless $clone, ref $self; } sub receiver { return $_[0]->{receiver} } sub set_receiver { my ($self, $receiver) = @_; my $callback; if (ref $receiver eq 'CODE') { $callback = $receiver; } else { $callback = sub { my ($self, $event, $info) = @_; return $receiver->$event($info); }; } $self->{callback} = $callback; $self->{receiver} = $receiver; } sub reader { return $_[0]->lexer->{reader} } sub set_reader { my ($self, $reader) = @_; $self->lexer->set_reader($reader); } sub lexer { return $_[0]->{lexer} } sub callback { return $_[0]->{callback} } sub set_callback { $_[0]->{callback} = $_[1] } sub level { return $#{ $_[0]->{offset} } } sub offset { return $_[0]->{offset} } sub set_offset { $_[0]->{offset} = $_[1] } sub events { return $_[0]->{events} } sub set_events { $_[0]->{events} = $_[1] } sub new_node { return $_[0]->{new_node} } sub set_new_node { $_[0]->{new_node} = $_[1] } sub tagmap { return $_[0]->{tagmap} } sub set_tagmap { $_[0]->{tagmap} = $_[1] } sub tokens { return $_[0]->{tokens} } sub set_tokens { $_[0]->{tokens} = $_[1] } sub event_stack { return $_[0]->{event_stack} } sub set_event_stack { $_[0]->{event_stack} = $_[1] } sub default_yaml_version { return $_[0]->{default_yaml_version} } sub yaml_version { return $_[0]->{yaml_version} } sub set_yaml_version { $_[0]->{yaml_version} = $_[1] } sub yaml_version_directive { return $_[0]->{yaml_version_directive} } sub set_yaml_version_directive { $_[0]->{yaml_version_directive} = $_[1] } sub rule { return $_[0]->{rule} } sub set_rule { my ($self, $name) = @_; no warnings 'uninitialized'; DEBUG and $self->info("set_rule($name)"); $self->{rule} = $name; } sub init { my ($self) = @_; $self->set_offset([]); $self->set_events([]); $self->set_new_node(0); $self->set_tagmap({ '!!' => "tag:yaml.org,2002:", }); $self->set_tokens([]); $self->set_rule(undef); $self->set_event_stack([]); $self->set_yaml_version($self->default_yaml_version); $self->set_yaml_version_directive(undef); $self->lexer->init; } sub parse_string { my ($self, $yaml) = @_; $self->set_reader(YAML::PP::Reader->new( input => $yaml )); $self->parse(); } sub parse_file { my ($self, $file) = @_; $self->set_reader(YAML::PP::Reader::File->new( input => $file )); $self->parse(); } my %nodetypes = ( MAPVALUE => 'NODETYPE_COMPLEX', MAP => 'NODETYPE_MAP', # IMAP => 'NODETYPE_SEQ', SEQ => 'NODETYPE_SEQ', SEQ0 => 'NODETYPE_SEQ', FLOWMAP => 'NODETYPE_FLOWMAP', FLOWMAPVALUE => 'NODETYPE_FLOWMAPVALUE', FLOWSEQ => 'NODETYPE_FLOWSEQ', FLOWSEQ_NEXT => 'FLOWSEQ_NEXT', DOC => 'FULLNODE', DOC_END => 'DOCUMENT_END', STR => 'STREAM', END_FLOW => 'END_FLOW', ); sub parse { my ($self) = @_; TRACE and warn "=== parse()\n"; TRACE and $self->debug_yaml; $self->init; $self->lexer->init; eval { $self->start_stream; $self->set_rule( 'STREAM' ); $self->parse_tokens(); $self->end_stream; }; if (my $error = $@) { if (ref $error) { croak "$error\n "; } croak $error; } DEBUG and $self->highlight_yaml; TRACE and $self->debug_tokens; } sub lex_next_tokens { my ($self) = @_; DEBUG and $self->info("----------------> lex_next_tokens"); TRACE and $self->debug_events; my $indent = $self->offset->[-1]; my $event_types = $self->events; my $next_tokens = $self->lexer->fetch_next_tokens($indent); return unless @$next_tokens; my $next = $next_tokens->[0]; return 1 if ($next->{name} ne 'SPACE'); my $flow = $event_types->[-1] =~ m/^FLOW/; my $space = length $next->{value}; my $tokens = $self->tokens; if (not $space) { shift @$next_tokens; } else { push @$tokens, shift @$next_tokens; } if ($flow) { if ($space >= $indent) { return 1; } $self->exception("Bad indendation in " . $self->events->[-1]); } $next = $next_tokens->[0]; if ($space > $indent ) { return 1 if $indent < 0; unless ($self->new_node) { $self->exception("Bad indendation in " . $self->events->[-1]); } return 1; } if ($self->new_node) { if ($space < $indent) { $self->scalar_event({ style => YAML_PLAIN_SCALAR_STYLE, value => '' }); $self->remove_nodes($space); } else { # unindented sequence starts my $exp = $self->events->[-1]; my $seq_start = $next->{name} eq 'DASH'; if ( $seq_start and ($exp eq 'MAPVALUE' or $exp eq 'MAP')) { } else { $self->scalar_event({ style => YAML_PLAIN_SCALAR_STYLE, value => '' }); } } } else { if ($space < $indent) { $self->remove_nodes($space); } } my $exp = $self->events->[-1]; if ($exp eq 'SEQ0' and $next->{name} ne 'DASH') { TRACE and $self->info("In unindented sequence"); $self->end_sequence; $exp = $self->events->[-1]; } if ($self->offset->[-1] != $space) { $self->exception("Expected " . $self->events->[-1]); } return 1; } my %next_event = ( MAP => 'MAPVALUE', IMAP => 'IMAPVALUE', MAPVALUE => 'MAP', IMAPVALUE => 'IMAP', SEQ => 'SEQ', SEQ0 => 'SEQ0', DOC => 'DOC_END', STR => 'STR', FLOWSEQ => 'FLOWSEQ_NEXT', FLOWSEQ_NEXT => 'FLOWSEQ', FLOWMAP => 'FLOWMAPVALUE', FLOWMAPVALUE => 'FLOWMAP', ); my %event_to_method = ( MAP => 'mapping', IMAP => 'mapping', FLOWMAP => 'mapping', SEQ => 'sequence', SEQ0 => 'sequence', FLOWSEQ => 'sequence', DOC => 'document', STR => 'stream', VAL => 'scalar', ALI => 'alias', MAPVALUE => 'mapping', IMAPVALUE => 'mapping', ); #sub process_events { # my ($self, $res) = @_; # # my $event_stack = $self->event_stack; # return unless @$event_stack; # # if (@$event_stack == 1 and $event_stack->[0]->[0] eq 'properties') { # return; # } # # my $event_types = $self->events; # my $properties; # my @send_events; # for my $event (@$event_stack) { # TRACE and warn __PACKAGE__.':'.__LINE__.$".Data::Dumper->Dump([\$event], ['event']); # my ($type, $info) = @$event; # if ($type eq 'properties') { # $properties = $info; # } # elsif ($type eq 'scalar') { # $info->{name} = 'scalar_event'; # $event_types->[-1] = $next_event{ $event_types->[-1] }; # push @send_events, $info; # } # elsif ($type eq 'begin') { # my $name = $info->{name}; # $info->{name} = $event_to_method{ $name } . '_start_event'; # push @{ $event_types }, $name; # push @{ $self->offset }, $info->{offset}; # push @send_events, $info; # } # elsif ($type eq 'end') { # my $name = $info->{name}; # $info->{name} = $event_to_method{ $name } . '_end_event'; # $self->$type($name, $info); # push @send_events, $info; # if (@$event_types) { # $event_types->[-1] = $next_event{ $event_types->[-1] }; # } # } # elsif ($type eq 'alias') { # if ($properties) { # $self->exception("Parse error: Alias not allowed in this context"); # } # $info->{name} = 'alias_event'; # $event_types->[-1] = $next_event{ $event_types->[-1] }; # push @send_events, $info; # } # } # @$event_stack = (); # for my $info (@send_events) { # DEBUG and $self->debug_event( $info ); # $self->callback->($self, $info->{name}, $info); # } #} my %fetch_method = ( '"' => 'fetch_quoted', "'" => 'fetch_quoted', '|' => 'fetch_block', '>' => 'fetch_block', '' => 'fetch_plain', ); sub parse_tokens { my ($self) = @_; my $event_types = $self->events; my $offsets = $self->offset; my $tokens = $self->tokens; my $next_tokens = $self->lexer->next_tokens; unless ($self->lex_next_tokens) { $self->end_document(1); return 0; } unless ($self->new_node) { if ($self->level > 0) { my $new_rule = $nodetypes{ $event_types->[-1] } or die "Did not find '$event_types->[-1]'"; $self->set_rule( $new_rule ); } } my $rule_name = $self->rule; DEBUG and $self->info("----------------> parse_tokens($rule_name)"); my $rule = $GRAMMAR->{ $rule_name } or die "Could not find rule $rule_name"; TRACE and $self->debug_rules($rule); TRACE and $self->debug_yaml; DEBUG and $self->debug_next_line; RULE: while ($rule_name) { DEBUG and $self->info("RULE: $rule_name"); TRACE and $self->debug_tokens($next_tokens); unless (@$next_tokens) { $self->exception("No more tokens"); } TRACE and warn __PACKAGE__.':'.__LINE__.$".Data::Dumper->Dump([\$next_tokens->[0]], ['next_token']); my $got = $next_tokens->[0]->{name}; if ($got eq 'CONTEXT') { my $context = shift @$next_tokens; my $indent = $offsets->[-1]; $indent++ unless $self->lexer->flowcontext; my $method = $fetch_method{ $context->{value} }; my $partial = $self->lexer->$method($indent, $context->{value}); next RULE; } my $def = $rule->{ $got }; if ($def) { push @$tokens, shift @$next_tokens; } elsif ($def = $rule->{DEFAULT}) { $got = 'DEFAULT'; } else { $self->expected( expected => [keys %$rule], got => $next_tokens->[0], ); } DEBUG and $self->got("---got $got"); if (my $sub = $def->{match}) { DEBUG and $self->info("CALLBACK $sub"); $self->$sub(@$tokens ? $tokens->[-1] : ()); } my $eol = $got eq 'EOL'; my $new = $def->{new}; if ($new) { DEBUG and $self->got("NEW: $new"); $rule_name = $new; $self->set_rule($rule_name); } elsif ($eol) { } elsif ($def->{return}) { $rule_name = $nodetypes{ $event_types->[-1] } or die "Unexpected event type $event_types->[-1]"; $self->set_rule($rule_name); } else { $rule_name .= " - $got"; # for debugging $rule = $def; next RULE; } if ($eol) { unless ($self->lex_next_tokens) { if ($rule_name eq 'DIRECTIVE') { $self->exception("Directive needs document start"); } $self->end_document(1); return 0; } unless ($self->new_node) { if ($self->level > 0) { $rule_name = $nodetypes{ $event_types->[-1] } or die "Did not find '$event_types->[-1]'"; $self->set_rule( $rule_name ); } } $rule_name = $self->rule; } $rule = $GRAMMAR->{ $rule_name } or die "Unexpected rule $rule_name"; } die "Unexpected"; } sub end_sequence { my ($self) = @_; my $event_types = $self->events; pop @{ $event_types }; pop @{ $self->offset }; my $info = { name => 'sequence_end_event' }; $self->callback->($self, $info->{name} => $info ); $event_types->[-1] = $next_event{ $event_types->[-1] }; } sub remove_nodes { my ($self, $space) = @_; my $offset = $self->offset; my $event_types = $self->events; my $exp = $event_types->[-1]; while (@$offset) { if ($offset->[ -1 ] <= $space) { last; } if ($exp eq 'MAPVALUE') { $self->scalar_event({ style => YAML_PLAIN_SCALAR_STYLE, value => '' }); $exp = 'MAP'; } my $info = { name => $exp }; $info->{name} = $event_to_method{ $exp } . '_end_event'; pop @{ $event_types }; pop @{ $offset }; $self->callback->($self, $info->{name} => $info ); $event_types->[-1] = $next_event{ $event_types->[-1] }; $exp = $event_types->[-1]; } return $exp; } sub start_stream { my ($self) = @_; push @{ $self->events }, 'STR'; push @{ $self->offset }, -1; $self->callback->($self, 'stream_start_event', { name => 'stream_start_event', }); } sub start_document { my ($self, $implicit) = @_; push @{ $self->events }, 'DOC'; push @{ $self->offset }, -1; my $directive = $self->yaml_version_directive; my %directive; if ($directive) { my ($major, $minor) = split m/\./, $self->yaml_version; %directive = ( version_directive => { major => $major, minor => $minor } ); } $self->callback->($self, 'document_start_event', { name => 'document_start_event', implicit => $implicit, %directive, }); $self->set_yaml_version_directive(undef); $self->set_rule( 'FULLNODE' ); $self->set_new_node(1); } sub start_sequence { my ($self, $offset) = @_; my $offsets = $self->offset; if ($offsets->[-1] == $offset) { push @{ $self->events }, 'SEQ0'; } else { push @{ $self->events }, 'SEQ'; } push @{ $offsets }, $offset; my $event_stack = $self->event_stack; my $info = { name => 'sequence_start_event' }; if (@$event_stack and $event_stack->[-1]->[0] eq 'properties') { my $properties = pop @$event_stack; $self->node_properties($properties->[1], $info); } $self->callback->($self, 'sequence_start_event', $info); } sub start_flow_sequence { my ($self, $offset) = @_; my $offsets = $self->offset; my $new_offset = $offsets->[-1]; my $event_types = $self->events; if ($new_offset < 0) { $new_offset = 0; } elsif ($self->new_node) { if ($event_types->[-1] !~ m/^FLOW/) { $new_offset++; } } push @{ $self->events }, 'FLOWSEQ'; push @{ $offsets }, $new_offset; my $event_stack = $self->event_stack; my $info = { style => YAML_FLOW_SEQUENCE_STYLE, name => 'sequence_start_event' }; if (@$event_stack and $event_stack->[-1]->[0] eq 'properties') { $self->fetch_inline_properties($event_stack, $info); } $self->callback->($self, 'sequence_start_event', $info); } sub start_flow_mapping { my ($self, $offset, $implicit_flowseq_map) = @_; my $offsets = $self->offset; my $new_offset = $offsets->[-1]; my $event_types = $self->events; if ($new_offset < 0) { $new_offset = 0; } elsif ($self->new_node) { if ($event_types->[-1] !~ m/^FLOW/) { $new_offset++; } } push @{ $self->events }, $implicit_flowseq_map ? 'IMAP' : 'FLOWMAP'; push @{ $offsets }, $new_offset; my $event_stack = $self->event_stack; my $info = { name => 'mapping_start_event', style => YAML_FLOW_MAPPING_STYLE }; if (@$event_stack and $event_stack->[-1]->[0] eq 'properties') { $self->fetch_inline_properties($event_stack, $info); } $self->callback->($self, 'mapping_start_event', $info); } sub end_flow_sequence { my ($self) = @_; my $event_types = $self->events; pop @{ $event_types }; pop @{ $self->offset }; my $info = { name => 'sequence_end_event' }; $self->callback->($self, $info->{name}, $info); if ($event_types->[-1] =~ m/^FLOW|^IMAP/) { $event_types->[-1] = $next_event{ $event_types->[-1] }; } else { push @$event_types, 'END_FLOW'; } } sub end_flow_mapping { my ($self) = @_; my $event_types = $self->events; pop @{ $event_types }; pop @{ $self->offset }; my $info = { name => 'mapping_end_event' }; $self->callback->($self, $info->{name}, $info); if ($event_types->[-1] =~ m/^FLOW|^IMAP/) { $event_types->[-1] = $next_event{ $event_types->[-1] }; } else { push @$event_types, 'END_FLOW'; } } sub cb_end_outer_flow { my ($self) = @_; my $event_types = $self->events; pop @$event_types; $event_types->[-1] = $next_event{ $event_types->[-1] }; } sub start_mapping { my ($self, $offset) = @_; my $offsets = $self->offset; push @{ $self->events }, 'MAP'; push @{ $offsets }, $offset; my $event_stack = $self->event_stack; my $info = { name => 'mapping_start_event' }; if (@$event_stack and $event_stack->[-1]->[0] eq 'properties') { my $properties = pop @$event_stack; $self->node_properties($properties->[1], $info); } $self->callback->($self, 'mapping_start_event', $info); } sub end_document { my ($self, $implicit) = @_; my $event_types = $self->events; if ($event_types->[-1] =~ m/FLOW/) { die "Unexpected end of flow context"; } if ($self->new_node) { $self->scalar_event({ style => YAML_PLAIN_SCALAR_STYLE, value => '' }); } $self->remove_nodes(-1); if ($event_types->[-1] eq 'STR') { return; } my $last = pop @{ $event_types }; if ($last ne 'DOC' and $last ne 'DOC_END') { $self->exception("Unexpected event type $last"); } pop @{ $self->offset }; $self->callback->($self, 'document_end_event', { name => 'document_end_event', implicit => $implicit, }); if ($self->yaml_version eq '1.2') { # In YAML 1.2, directives are only for the following # document. In YAML 1.1, they are global $self->set_tagmap({ '!!' => "tag:yaml.org,2002:" }); } $event_types->[-1] = $next_event{ $event_types->[-1] }; $self->set_rule('STREAM'); } sub end_stream { my ($self) = @_; my $last = pop @{ $self->events }; $self->exception("Unexpected event type $last") unless $last eq 'STR'; pop @{ $self->offset }; $self->callback->($self, 'stream_end_event', { name => 'stream_end_event', }); } sub fetch_inline_properties { my ($self, $stack, $info) = @_; my $properties = $stack->[-1]; $properties = $properties->[1]; my $property_offset; if ($properties) { for my $p (@{ $properties->{inline} }) { my $type = $p->{type}; if (exists $info->{ $type }) { $self->exception("A node can only have one $type"); } $info->{ $type } = $p->{value}; unless (defined $property_offset) { $property_offset = $p->{offset}; $info->{offset} = $p->{offset}; } } delete $properties->{inline}; undef $properties unless $properties->{newline}; } unless ($properties) { pop @$stack; } } sub node_properties { my ($self, $properties, $info) = @_; if ($properties) { for my $p (@{ $properties->{newline} }) { my $type = $p->{type}; if (exists $info->{ $type }) { $self->exception("A node can only have one $type"); } $info->{ $type } = $p->{value}; } undef $properties; } } sub scalar_event { my ($self, $info) = @_; my $event_types = $self->events; my $event_stack = $self->event_stack; if (@$event_stack and $event_stack->[-1]->[0] eq 'properties') { my $properties = pop @$event_stack; $properties = $self->node_properties($properties->[1], $info); } $info->{name} = 'scalar_event'; $self->callback->($self, 'scalar_event', $info); $self->set_new_node(0); $event_types->[-1] = $next_event{ $event_types->[-1] }; } sub alias_event { my ($self, $info) = @_; my $event_stack = $self->event_stack; if (@$event_stack and $event_stack->[-1]->[0] eq 'properties') { $self->exception("Parse error: Alias not allowed in this context"); } my $event_types = $self->events; $info->{name} = 'alias_event'; $self->callback->($self, 'alias_event', $info); $self->set_new_node(0); $event_types->[-1] = $next_event{ $event_types->[-1] }; } sub yaml_to_tokens { my ($class, $type, $input) = @_; my $yp = YAML::PP::Parser->new( receiver => sub {} ); my @docs = eval { $type eq 'string' ? $yp->parse_string($input) : $yp->parse_file($input); }; my $error = $@; my $tokens = $yp->tokens; if ($error) { my $remaining_tokens = $yp->_remaining_tokens; push @$tokens, map { +{ %$_, name => 'ERROR' } } @$remaining_tokens; } return $error, $tokens; } sub _remaining_tokens { my ($self) = @_; my @tokens; my $next = $self->lexer->next_tokens; push @tokens, @$next; my $next_line = $self->lexer->next_line; my $remaining = ''; if ($next_line) { if ($self->lexer->offset > 0) { $remaining = $next_line->[1] . $next_line->[2]; } else { $remaining = join '', @$next_line; } } $remaining .= $self->reader->read; $remaining = '' unless defined $remaining; push @tokens, { name => "ERROR", value => $remaining }; return \@tokens; } # deprecated sub event_to_test_suite { # uncoverable subroutine my ($self, $event) = @_; # uncoverable statement if (ref $event eq 'ARRAY') { # uncoverable statement return YAML::PP::Common::event_to_test_suite($event->[1]); # uncoverable statement } return YAML::PP::Common::event_to_test_suite($event); # uncoverable statement } sub debug_events { # uncoverable subroutine my ($self) = @_; # uncoverable statement $self->note("EVENTS: (" # uncoverable statement . join (' | ', @{ $_[0]->events }) . ')' # uncoverable statement ); $self->debug_offset; # uncoverable statement } sub debug_offset { # uncoverable subroutine my ($self) = @_; # uncoverable statement $self->note( qq{OFFSET: (} # uncoverable statement count:1 # uncoverable statement count:2 # uncoverable statement count:3 . join (' | ', map { defined $_ ? sprintf "%-3d", $_ : '?' } @{ $_[0]->offset }) # uncoverable statement . qq/) level=@{[ $_[0]->level ]}]}/ ); } sub debug_yaml { # uncoverable subroutine my ($self) = @_; # uncoverable statement my $line = $self->lexer->line; # uncoverable statement $self->note("LINE NUMBER: $line"); # uncoverable statement my $next_tokens = $self->lexer->next_tokens; # uncoverable statement if (@$next_tokens) { # uncoverable statement $self->debug_tokens($next_tokens); # uncoverable statement } } sub debug_next_line { my ($self) = @_; my $next_line = $self->lexer->next_line || []; my $line = $next_line->[0]; $line = '' unless defined $line; $line =~ s/( +)$/'·' x length $1/e; $line =~ s/\t/▸/g; $self->note("NEXT LINE: >>$line<<"); } sub note { my ($self, $msg) = @_; $self->_colorize_warn(["yellow"], "============ $msg"); } sub info { my ($self, $msg) = @_; $self->_colorize_warn(["cyan"], "============ $msg"); } sub got { my ($self, $msg) = @_; $self->_colorize_warn(["green"], "============ $msg"); } sub _colorize_warn { # uncoverable subroutine my ($self, $colors, $text) = @_; # uncoverable statement require Term::ANSIColor; # uncoverable statement warn Term::ANSIColor::colored($colors, $text), "\n"; # uncoverable statement } sub debug_event { # uncoverable subroutine my ($self, $event) = @_; # uncoverable statement my $str = YAML::PP::Common::event_to_test_suite($event); # uncoverable statement require Term::ANSIColor; # uncoverable statement warn Term::ANSIColor::colored(["magenta"], "============ $str"), "\n"; # uncoverable statement } sub debug_rules { # uncoverable subroutine my ($self, $rules) = @_; # uncoverable statement local $Data::Dumper::Maxdepth = 2; # uncoverable statement $self->note("RULES:"); # uncoverable statement for my $rule ($rules) { # uncoverable statement if (ref $rule eq 'ARRAY') { # uncoverable statement my $first = $rule->[0]; # uncoverable statement if (ref $first eq 'SCALAR') { # uncoverable statement $self->info("-> $$first"); # uncoverable statement } else { # uncoverable statement if (ref $first eq 'ARRAY') { # uncoverable statement $first = $first->[0]; # uncoverable statement } $self->info("TYPE $first"); # uncoverable statement } } else { # uncoverable statement eval { # uncoverable statement my @keys = sort keys %$rule; # uncoverable statement $self->info("@keys"); # uncoverable statement }; } } } sub debug_tokens { # uncoverable subroutine my ($self, $tokens) = @_; # uncoverable statement $tokens ||= $self->tokens; # uncoverable statement require Term::ANSIColor; # uncoverable statement for my $token (@$tokens) { # uncoverable statement my $type = Term::ANSIColor::colored(["green"], # uncoverable statement sprintf "%-22s L %2d C %2d ", # uncoverable statement $token->{name}, $token->{line}, $token->{column} + 1 # uncoverable statement ); local $Data::Dumper::Useqq = 1; # uncoverable statement local $Data::Dumper::Terse = 1; # uncoverable statement require Data::Dumper; # uncoverable statement my $str = Data::Dumper->Dump([$token->{value}], ['str']); # uncoverable statement chomp $str; # uncoverable statement $str =~ s/(^.|.$)/Term::ANSIColor::colored(['blue'], $1)/ge; # uncoverable statement warn "$type$str\n"; # uncoverable statement } } sub highlight_yaml { my ($self) = @_; require YAML::PP::Highlight; my $tokens = $self->tokens; my $highlighted = YAML::PP::Highlight->ansicolored($tokens); warn $highlighted; } sub exception { my ($self, $msg, %args) = @_; my $next = $self->lexer->next_tokens; my $line = @$next ? $next->[0]->{line} : $self->lexer->line; my $offset = @$next ? $next->[0]->{column} : $self->lexer->offset; $offset++; my $next_line = $self->lexer->next_line; my $remaining = ''; if ($next_line) { if ($self->lexer->offset > 0) { $remaining = $next_line->[1] . $next_line->[2]; } else { $remaining = join '', @$next_line; } } my $caller = $args{caller} || [ caller(0) ]; my $e = YAML::PP::Exception->new( got => $args{got}, expected => $args{expected}, line => $line, column => $offset, msg => $msg, next => $next, where => $caller->[1] . ' line ' . $caller->[2], yaml => $remaining, ); croak $e; } sub expected { my ($self, %args) = @_; my $expected = $args{expected}; @$expected = sort grep { m/^[A-Z_]+$/ } @$expected; my $got = $args{got}->{name}; my @caller = caller(0); $self->exception("Expected (@$expected), but got $got", caller => \@caller, expected => $expected, got => $args{got}, ); } sub cb_tag { my ($self, $token) = @_; my $stack = $self->event_stack; if (! @$stack or $stack->[-1]->[0] ne 'properties') { push @$stack, [ properties => {} ]; } my $last = $stack->[-1]->[1]; my $tag = $self->_read_tag($token->{value}, $self->tagmap); $last->{inline} ||= []; push @{ $last->{inline} }, { type => 'tag', value => $tag, offset => $token->{column}, }; } sub _read_tag { my ($self, $tag, $map) = @_; if ($tag eq '!') { return "!"; } elsif ($tag =~ m/^!<(.*)>/) { return $1; } elsif ($tag =~ m/^(![^!]*!|!)(.+)/) { my $alias = $1; my $name = $2; $name =~ s/%([0-9a-fA-F]{2})/chr hex $1/eg; if (exists $map->{ $alias }) { $tag = $map->{ $alias }. $name; } else { if ($alias ne '!' and $alias ne '!!') { die "Found undefined tag handle '$alias'"; } $tag = "!$name"; } } else { die "Invalid tag"; } return $tag; } sub cb_anchor { my ($self, $token) = @_; my $anchor = $token->{value}; $anchor = substr($anchor, 1); my $stack = $self->event_stack; if (! @$stack or $stack->[-1]->[0] ne 'properties') { push @$stack, [ properties => {} ]; } my $last = $stack->[-1]->[1]; $last->{inline} ||= []; push @{ $last->{inline} }, { type => 'anchor', value => $anchor, offset => $token->{column}, }; } sub cb_property_eol { my ($self, $res) = @_; my $stack = $self->event_stack; my $last = $stack->[-1]->[1]; my $inline = delete $last->{inline} or return; my $newline = $last->{newline} ||= []; push @$newline, @$inline; } sub cb_mapkey { my ($self, $token) = @_; my $stack = $self->event_stack; my $info = { style => YAML_PLAIN_SCALAR_STYLE, value => $token->{value}, offset => $token->{column}, }; if (@$stack and $stack->[-1]->[0] eq 'properties') { $self->fetch_inline_properties($stack, $info); } push @{ $stack }, [ scalar => $info ]; } sub cb_send_mapkey { my ($self, $res) = @_; my $last = pop @{ $self->event_stack }; $self->scalar_event($last->[1]); $self->set_new_node(1); } sub cb_send_scalar { my ($self, $res) = @_; my $last = pop @{ $self->event_stack }; return unless $last; $self->scalar_event($last->[1]); my $e = $self->events; if ($e->[-1] eq 'IMAP') { $self->end_flow_mapping; } } sub cb_empty_mapkey { my ($self, $token) = @_; my $stack = $self->event_stack; my $info = { style => YAML_PLAIN_SCALAR_STYLE, value => '', offset => $token->{column}, }; if (@$stack and $stack->[-1]->[0] eq 'properties') { $self->fetch_inline_properties($stack, $info); } $self->scalar_event($info); $self->set_new_node(1); } sub cb_send_flow_alias { my ($self, $token) = @_; my $alias = substr($token->{value}, 1); $self->alias_event({ value => $alias }); } sub cb_send_alias { my ($self, $token) = @_; my $alias = substr($token->{value}, 1); $self->alias_event({ value => $alias }); } sub cb_send_alias_key { my ($self, $token) = @_; my $alias = substr($token->{value}, 1); $self->alias_event({ value => $alias }); $self->set_new_node(1); } sub cb_send_alias_from_stack { my ($self, $token) = @_; my $last = pop @{ $self->event_stack }; $self->alias_event($last->[1]); } sub cb_alias { my ($self, $token) = @_; my $alias = substr($token->{value}, 1); push @{ $self->event_stack }, [ alias => { value => $alias, offset => $token->{column}, }]; } sub cb_question { my ($self, $res) = @_; $self->set_new_node(1); } sub cb_flow_question { my ($self, $res) = @_; $self->set_new_node(2); } sub cb_empty_complexvalue { my ($self, $res) = @_; $self->scalar_event({ style => YAML_PLAIN_SCALAR_STYLE, value => '' }); } sub cb_questionstart { my ($self, $token) = @_; $self->start_mapping($token->{column}); } sub cb_complexcolon { my ($self, $res) = @_; $self->set_new_node(1); } sub cb_seqstart { my ($self, $token) = @_; my $column = $token->{column}; $self->start_sequence($column); $self->set_new_node(1); } sub cb_seqitem { my ($self, $res) = @_; $self->set_new_node(1); } sub cb_take_quoted { my ($self, $token) = @_; my $subtokens = $token->{subtokens}; my $stack = $self->event_stack; my $info = { style => $subtokens->[0]->{value} eq '"' ? YAML_DOUBLE_QUOTED_SCALAR_STYLE : YAML_SINGLE_QUOTED_SCALAR_STYLE, value => $token->{value}, offset => $token->{column}, }; if (@$stack and $stack->[-1]->[0] eq 'properties') { $self->fetch_inline_properties($stack, $info); } push @{ $stack }, [ scalar => $info ]; } sub cb_quoted_multiline { my ($self, $token) = @_; my $subtokens = $token->{subtokens}; my $stack = $self->event_stack; my $info = { style => $subtokens->[0]->{value} eq '"' ? YAML_DOUBLE_QUOTED_SCALAR_STYLE : YAML_SINGLE_QUOTED_SCALAR_STYLE, value => $token->{value}, offset => $token->{column}, }; if (@$stack and $stack->[-1]->[0] eq 'properties') { $self->fetch_inline_properties($stack, $info); } push @{ $stack }, [ scalar => $info ]; $self->cb_send_scalar; } sub cb_take_quoted_key { my ($self, $token) = @_; $self->cb_take_quoted($token); $self->cb_send_mapkey; } sub cb_send_plain_multi { my ($self, $token) = @_; my $stack = $self->event_stack; my $info = { style => YAML_PLAIN_SCALAR_STYLE, value => $token->{value}, offset => $token->{column}, }; if (@$stack and $stack->[-1]->[0] eq 'properties') { $self->fetch_inline_properties($stack, $info); } push @{ $stack }, [ scalar => $info ]; $self->cb_send_scalar; } sub cb_start_plain { my ($self, $token) = @_; my $stack = $self->event_stack; my $info = { style => YAML_PLAIN_SCALAR_STYLE, value => $token->{value}, offset => $token->{column}, }; if (@$stack and $stack->[-1]->[0] eq 'properties') { $self->fetch_inline_properties($stack, $info); } push @{ $stack }, [ scalar => $info ]; } sub cb_start_flowseq { my ($self, $token) = @_; $self->start_flow_sequence($token->{column}); } sub cb_start_flowmap { my ($self, $token) = @_; $self->start_flow_mapping($token->{column}); } sub cb_end_flowseq { my ($self, $res) = @_; $self->cb_send_scalar; $self->end_flow_sequence; $self->set_new_node(0); } sub cb_flow_comma { my ($self) = @_; my $event_types = $self->events; $self->set_new_node(0); if ($event_types->[-1] =~ m/^FLOWSEQ/) { $self->cb_send_scalar; $event_types->[-1] = $next_event{ $event_types->[-1] }; } } sub cb_flow_colon { my ($self) = @_; $self->set_new_node(1); } sub cb_empty_flow_mapkey { my ($self, $token) = @_; my $stack = $self->event_stack; my $info = { style => YAML_PLAIN_SCALAR_STYLE, value => '', offset => $token->{column}, }; if (@$stack and $stack->[-1]->[0] eq 'properties') { $self->fetch_inline_properties($stack, $info); } $self->scalar_event($info); } sub cb_end_flowmap { my ($self, $res) = @_; $self->end_flow_mapping; $self->set_new_node(0); } sub cb_end_flowmap_empty { my ($self, $res) = @_; $self->cb_empty_flowmap_value; $self->end_flow_mapping; $self->set_new_node(0); } sub cb_flowkey_plain { my ($self, $token) = @_; my $stack = $self->event_stack; my $info = { style => YAML_PLAIN_SCALAR_STYLE, value => $token->{value}, offset => $token->{column}, }; if (@$stack and $stack->[-1]->[0] eq 'properties') { $self->fetch_inline_properties($stack, $info); } $self->scalar_event($info); } sub cb_flowkey_quoted { my ($self, $token) = @_; my $stack = $self->event_stack; my $subtokens = $token->{subtokens}; my $info = { style => $subtokens->[0]->{value} eq '"' ? YAML_DOUBLE_QUOTED_SCALAR_STYLE : YAML_SINGLE_QUOTED_SCALAR_STYLE, value => $token->{value}, offset => $token->{column}, }; if (@$stack and $stack->[-1]->[0] eq 'properties') { $self->fetch_inline_properties($stack, $info); } $self->scalar_event($info); } sub cb_empty_flowmap_key_value { my ($self, $token) = @_; $self->cb_empty_flow_mapkey($token); $self->cb_empty_flowmap_value; $self->cb_flow_comma; } sub cb_end_empty_flowmap_key_value { my ($self, $token) = @_; $self->cb_empty_flow_mapkey($token); $self->cb_empty_flowmap_value; $self->cb_flow_comma; $self->cb_end_flowmap; } sub cb_empty_flowmap_value { my ($self, $token) = @_; my $stack = $self->event_stack; my $info = { style => YAML_PLAIN_SCALAR_STYLE, value => '', offset => $token->{column}, }; if (@$stack and $stack->[-1]->[0] eq 'properties') { $self->fetch_inline_properties($stack, $info); } $self->scalar_event($info); } sub cb_empty_flowseq_comma { my ($self, $token) = @_; $self->cb_empty_flowmap_value($token); $self->cb_flow_comma; } sub cb_empty_flowseq_end { my ($self, $token) = @_; $self->cb_empty_flowmap_value($token); $self->cb_end_flowseq; } sub cb_insert_map_alias { my ($self, $res) = @_; my $stack = $self->event_stack; my $scalar = pop @$stack; my $info = $scalar->[1]; $self->start_mapping($info->{offset}); $self->alias_event($info); $self->set_new_node(1); } sub cb_insert_map { my ($self, $res) = @_; my $stack = $self->event_stack; my $scalar = pop @$stack; my $info = $scalar->[1]; $self->start_mapping($info->{offset}); $self->scalar_event($info); $self->set_new_node(1); } sub cb_insert_implicit_flowseq_map { my ($self, $res) = @_; my $stack = $self->event_stack; my $scalar = pop @$stack; my $info = $scalar->[1]; $self->start_flow_mapping($info->{offset}, 1); $self->scalar_event($info); $self->set_new_node(1); } sub cb_insert_empty_implicit_flowseq_map { my ($self, $res) = @_; my $stack = $self->event_stack; my $scalar = pop @$stack; my $info = $scalar->[1]; $self->start_flow_mapping($info->{offset}, 1); $self->cb_empty_flowmap_value; $self->set_new_node(2); } sub cb_insert_empty_map { my ($self, $token) = @_; my $stack = $self->event_stack; my $info = { style => YAML_PLAIN_SCALAR_STYLE, value => '', offset => $token->{column}, }; if (@$stack and $stack->[-1]->[0] eq 'properties') { $self->fetch_inline_properties($stack, $info); } $self->start_mapping($info->{offset}); $self->scalar_event($info); $self->set_new_node(1); } sub cb_send_block_scalar { my ($self, $token) = @_; my $type = $token->{subtokens}->[0]->{value}; my $stack = $self->event_stack; my $info = { style => $type eq '|' ? YAML_LITERAL_SCALAR_STYLE : YAML_FOLDED_SCALAR_STYLE, value => $token->{value}, offset => $token->{column}, }; if (@$stack and $stack->[-1]->[0] eq 'properties') { $self->fetch_inline_properties($stack, $info); } push @{ $self->event_stack }, [ scalar => $info ]; $self->cb_send_scalar; } sub cb_end_document { my ($self, $token) = @_; $self->end_document(0); } sub cb_end_document_empty { my ($self, $token) = @_; $self->end_document(0); } sub cb_doc_start_implicit { my ($self, $token) = @_; $self->start_document(1); } sub cb_doc_start_explicit { my ($self, $token) = @_; $self->start_document(0); } sub cb_end_doc_start_document { my ($self, $token) = @_; $self->end_document(1); $self->start_document(0); } sub cb_tag_directive { my ($self, $token) = @_; my ($name, $tag_alias, $tag_url) = split ' ', $token->{value}; $self->tagmap->{ $tag_alias } = $tag_url; } sub cb_reserved_directive { } sub cb_set_yaml_version_directive { my ($self, $token) = @_; if ($self->yaml_version_directive) { croak "Found duplicate YAML directive"; } my ($version) = $token->{value} =~ m/^%YAML[ \t]+(1\.[12])/; $self->set_yaml_version($version || '1.2'); $self->set_yaml_version_directive(1); } 1; YAML-PP-v0.43.0/lib/YAML/PP/PaxHeaders/Dumper.pm0000644000000000000000000000013215263373362015554 xustar0030 mtime=1791882994.988960416 30 atime=1791882994.988866898 30 ctime=1791882994.988960416 YAML-PP-v0.43.0/lib/YAML/PP/Dumper.pm0000644000175000017500000002032315263373362015206 0ustar00tinatinause strict; use warnings; package YAML::PP::Dumper; our $VERSION = 'v0.43.0'; # VERSION use Scalar::Util qw/ blessed refaddr reftype /; use YAML::PP; use YAML::PP::Emitter; use YAML::PP::Representer; use YAML::PP::Writer; use YAML::PP::Writer::File; use YAML::PP::Common qw/ YAML_PLAIN_SCALAR_STYLE YAML_SINGLE_QUOTED_SCALAR_STYLE YAML_DOUBLE_QUOTED_SCALAR_STYLE YAML_ANY_SCALAR_STYLE YAML_LITERAL_SCALAR_STYLE YAML_FOLDED_SCALAR_STYLE YAML_FLOW_SEQUENCE_STYLE YAML_FLOW_MAPPING_STYLE YAML_BLOCK_MAPPING_STYLE YAML_BLOCK_SEQUENCE_STYLE /; sub new { my ($class, %args) = @_; my $header = delete $args{header}; $header = 1 unless defined $header; my $footer = delete $args{footer}; $footer = 0 unless defined $footer; my $version_directive = delete $args{version_directive}; my $preserve = delete $args{preserve}; my $schema = delete $args{schema} || YAML::PP->default_schema( boolean => 'perl', ); my $emitter = delete $args{emitter} || YAML::PP::Emitter->new; unless (blessed($emitter)) { $emitter = YAML::PP::Emitter->new( %$emitter ); } if (keys %args) { die "Unexpected arguments: " . join ', ', sort keys %args; } my $self = bless { representer => YAML::PP::Representer->new( schema => $schema, preserve => $preserve, ), version_directive => $version_directive, emitter => $emitter, seen => {}, anchors => {}, anchor_num => 0, header => $header, footer => $footer, }, $class; return $self; } sub clone { my ($self) = @_; my $clone = { representer => $self->representer->clone, emitter => $self->emitter->clone, version_directive => $self->version_directive, seen => {}, anchors => {}, anchor_num => 0, header => $self->header, footer => $self->footer, }; return bless $clone, ref $self; } sub init { my ($self) = @_; $self->{seen} = {}; $self->{anchors} = {}; $self->{anchor_num} = 0; } sub emitter { return $_[0]->{emitter} } sub representer { return $_[0]->{representer} } sub set_representer { $_[0]->{representer} = $_[1] } sub header { return $_[0]->{header} } sub footer { return $_[0]->{footer} } sub version_directive { return $_[0]->{version_directive} } sub dump { my ($self, @docs) = @_; $self->emitter->init; $self->emitter->stream_start_event({}); for my $i (0 .. $#docs) { my $header_implicit = ($i == 0 and not $self->header); my %args = ( implicit => $header_implicit, ); if ($self->version_directive) { my ($major, $minor) = split m/\./, $self->representer->schema->yaml_version; $args{version_directive} = { major => $major, minor => $minor }; } $self->emitter->document_start_event( \%args ); $self->init; $self->_check_references($docs[ $i ]); $self->_dump_node($docs[ $i ]); my $footer_implicit = (not $self->footer); $self->emitter->document_end_event({ implicit => $footer_implicit }); } $self->emitter->stream_end_event({}); my $output = $self->emitter->writer->output; $self->emitter->finish; return $output; } sub _dump_node { my ($self, $value) = @_; my $node = { value => $value, }; if (ref $value) { my $seen = $self->{seen}; my $refaddr = refaddr $value; if ($seen->{ $refaddr } and $seen->{ $refaddr } > 1) { my $anchor = $self->{anchors}->{ $refaddr }; unless (defined $anchor) { if ($self->representer->preserve_alias) { if (ref $node->{value} eq 'YAML::PP::Preserve::Scalar') { if (defined $node->{value}->alias) { $node->{anchor} = $node->{value}->alias; $self->{anchors}->{ $refaddr } = $node->{value}->alias; } } elsif (reftype $node->{value} eq 'HASH') { if (my $tied = tied %{ $node->{value} } ) { if (defined $tied->{alias}) { $node->{anchor} = $tied->{alias}; $self->{anchors}->{ $refaddr } = $node->{anchor}; } } } elsif (reftype $node->{value} eq 'ARRAY') { if (my $tied = tied @{ $node->{value} } ) { if (defined $tied->{alias}) { $node->{anchor} = $tied->{alias}; $self->{anchors}->{ $refaddr } = $node->{anchor}; } } } } unless (defined $node->{anchor}) { my $num = ++$self->{anchor_num}; $self->{anchors}->{ $refaddr } = $num; $node->{anchor} = $num; } } else { $node->{value} = $anchor; $self->_emit_node([ alias => $node ]); return; } } } $node = $self->representer->represent_node($node); $self->_emit_node($node); } sub _emit_node { my ($self, $item) = @_; my ($type, $node, %args) = @$item; if ($type eq 'alias') { $self->emitter->alias_event({ value => $node->{value} }); return; } if ($type eq 'mapping') { my $style = $args{style} || YAML_BLOCK_MAPPING_STYLE; # TODO if ($node->{items} and @{ $node->{items} } == 0) { # $style = YAML_FLOW_MAPPING_STYLE; } $self->emitter->mapping_start_event({ anchor => $node->{anchor}, style => $style, tag => $node->{tag}, }); for (@{ $node->{items} }) { $self->_dump_node($_); } $self->emitter->mapping_end_event; return; } if ($type eq 'sequence') { my $style = $args{style} || YAML_BLOCK_SEQUENCE_STYLE; if (@{ $node->{items} } == 0) { # $style = YAML_FLOW_SEQUENCE_STYLE; } $self->emitter->sequence_start_event({ anchor => $node->{anchor}, style => $style, tag => $node->{tag}, }); for (@{ $node->{items} }) { $self->_dump_node($_); } $self->emitter->sequence_end_event; return; } $self->emitter->scalar_event({ value => $node->{items}->[0], style => $node->{style}, anchor => $node->{anchor}, tag => $node->{tag}, }); } sub dump_string { my ($self, @docs) = @_; my $writer = YAML::PP::Writer->new; $self->emitter->set_writer($writer); my $output = $self->dump(@docs); return $output; } sub dump_file { my ($self, $file, @docs) = @_; my $writer = YAML::PP::Writer::File->new(output => $file); $self->emitter->set_writer($writer); my $output = $self->dump(@docs); return $output; } my %_reftypes = ( HASH => 1, ARRAY => 1, Regexp => 1, REGEXP => 1, CODE => 1, SCALAR => 1, REF => 1, GLOB => 1, ); sub _check_references { my ($self, $doc) = @_; my $reftype = reftype $doc or return; my $seen = $self->{seen}; # check which references are used more than once if ($reftype eq 'SCALAR' and grep { ref $doc eq $_ } @{ $self->representer->schema->bool_class || [] }) { # JSON::PP and boolean.pm always return the same reference for booleans # Avoid printing *aliases in those case if (ref $doc eq 'boolean' or ref $doc eq 'JSON::PP::Boolean') { return; } } if (++$seen->{ refaddr $doc } > 1) { # seen already return; } unless ($_reftypes{ $reftype }) { die sprintf "Reference %s not implemented", $reftype; } if ($reftype eq 'HASH') { $self->_check_references($doc->{ $_ }) for keys %$doc; } elsif ($reftype eq 'ARRAY') { $self->_check_references($_) for @$doc; } elsif ($reftype eq 'REF') { $self->_check_references($$doc); } } 1; YAML-PP-v0.43.0/lib/YAML/PP/PaxHeaders/Loader.pm0000644000000000000000000000013215263373362015526 xustar0030 mtime=1791882994.988866898 30 atime=1791882994.988775336 30 ctime=1791882994.988866898 YAML-PP-v0.43.0/lib/YAML/PP/Loader.pm0000644000175000017500000000515415263373362015165 0ustar00tinatina# ABSTRACT: Load YAML into data with Parser and Constructor use strict; use warnings; package YAML::PP::Loader; our $VERSION = 'v0.43.0'; # VERSION use YAML::PP::Parser; use YAML::PP::Constructor; use YAML::PP::Reader; sub new { my ($class, %args) = @_; my $cyclic_refs = delete $args{cyclic_refs} || 'fatal'; my $default_yaml_version = delete $args{default_yaml_version} || '1.2'; my $preserve = delete $args{preserve}; my $duplicate_keys = delete $args{duplicate_keys}; my $require_footer = delete $args{require_footer}; my $max_depth = delete $args{max_depth}; my $schemas = delete $args{schemas}; $schemas ||= { '1.2' => YAML::PP->default_schema( boolean => 'perl', ) }; my $constructor = delete $args{constructor} || YAML::PP::Constructor->new( schemas => $schemas, cyclic_refs => $cyclic_refs, default_yaml_version => $default_yaml_version, preserve => $preserve, duplicate_keys => $duplicate_keys, require_footer => $require_footer, max_depth => $max_depth, ); my $parser = delete $args{parser}; unless ($parser) { $parser = YAML::PP::Parser->new( default_yaml_version => $default_yaml_version, ); } unless ($parser->receiver) { $parser->set_receiver($constructor); } if (keys %args) { die "Unexpected arguments: " . join ', ', sort keys %args; } my $self = bless { parser => $parser, constructor => $constructor, }, $class; return $self; } sub clone { my ($self) = @_; my $clone = { parser => $self->parser->clone, constructor => $self->constructor->clone, }; bless $clone, ref $self; $clone->parser->set_receiver($clone->constructor); return $clone; } sub parser { return $_[0]->{parser} } sub constructor { return $_[0]->{constructor} } sub filename { my ($self) = @_; my $reader = $self->parser->reader; if ($reader->isa('YAML::PP::Reader::File')) { return $reader->input; } die "Reader is not a YAML::PP::Reader::File"; } sub load_string { my ($self, $yaml) = @_; $self->parser->set_reader(YAML::PP::Reader->new( input => $yaml )); $self->load(); } sub load_file { my ($self, $file) = @_; $self->parser->set_reader(YAML::PP::Reader::File->new( input => $file )); $self->load(); } sub load { my ($self) = @_; my $parser = $self->parser; my $constructor = $self->constructor; $constructor->init; $parser->parse(); my $docs = $constructor->docs; return wantarray ? @$docs : $docs->[0]; } 1; YAML-PP-v0.43.0/lib/YAML/PP/PaxHeaders/Render.pm0000644000000000000000000000013215263373362015537 xustar0030 mtime=1791882994.988775336 30 atime=1791882994.988683773 30 ctime=1791882994.988775336 YAML-PP-v0.43.0/lib/YAML/PP/Render.pm0000644000175000017500000000706115263373362015175 0ustar00tinatina# ABSTRACT: YAML::PP Rendering functions use strict; use warnings; package YAML::PP::Render; our $VERSION = 'v0.43.0'; # VERSION use constant TRACE => $ENV{YAML_PP_TRACE} ? 1 : 0; sub render_quoted { my ($self, $style, $lines) = @_; my $quoted = ''; my $addspace = 0; for my $i (0 .. $#$lines) { my $line = $lines->[ $i ]; my $value = $line->{value}; my $last = $i == $#$lines; my $first = $i == 0; if ($value eq '') { if ($first) { $addspace = 1; } elsif ($last) { $quoted .= ' ' if $addspace; } else { $addspace = 0; $quoted .= "\n"; } next; } $quoted .= ' ' if $addspace; $addspace = 1; if ($style eq '"') { if ($line->{orig} =~ m/\\$/) { $line->{value} =~ s/\\$//; $value =~ s/\\$//; $addspace = 0; } } $quoted .= $value; } return $quoted; } sub render_block_scalar { my ($self, $block_type, $chomp, $lines) = @_; my ($folded, $keep, $trim); if ($block_type eq '>') { $folded = 1; } if ($chomp eq '+') { $keep = 1; } elsif ($chomp eq '-') { $trim = 1; } my $string = ''; if (not $keep) { # remove trailing empty lines while (@$lines) { last if $lines->[-1] ne ''; pop @$lines; } } if ($folded) { my $prev = 'START'; my $trailing = ''; if ($keep) { while (@$lines and $lines->[-1] eq '') { pop @$lines; $trailing .= "\n"; } } for my $i (0 .. $#$lines) { my $line = $lines->[ $i ]; my $type = $line eq '' ? 'EMPTY' : $line =~ m/\A[ \t]/ ? 'MORE' : 'CONTENT'; if ($prev eq 'MORE' and $type eq 'EMPTY') { $type = 'MORE'; } elsif ($prev eq 'CONTENT') { if ($type ne 'CONTENT') { $string .= "\n"; } elsif ($type eq 'CONTENT') { $string .= ' '; } } elsif ($prev eq 'START' and $type eq 'EMPTY') { $string .= "\n"; $type = 'START'; } elsif ($prev eq 'EMPTY' and $type ne 'CONTENT') { $string .= "\n"; } $string .= $line; if ($type eq 'MORE' and $i < $#$lines) { $string .= "\n"; } $prev = $type; } if ($keep) { $string .= $trailing; } $string .= "\n" if @$lines and not $trim; } else { for my $i (0 .. $#$lines) { $string .= $lines->[ $i ]; $string .= "\n" if ($i != $#$lines or not $trim); } } TRACE and warn __PACKAGE__.':'.__LINE__.$".Data::Dumper->Dump([\$string], ['string']); return $string; } sub render_multi_val { my ($self, $multi) = @_; my $string = ''; my $start = 1; for my $line (@$multi) { if (not $start) { if ($line eq '') { $string .= "\n"; $start = 1; } else { $string .= " $line"; } } else { $string .= $line; $start = 0; } } return $string; } 1; YAML-PP-v0.43.0/lib/YAML/PP/PaxHeaders/Reader.pm0000644000000000000000000000013215263373362015522 xustar0030 mtime=1791882994.988683773 30 atime=1791882994.988589417 30 ctime=1791882994.988683773 YAML-PP-v0.43.0/lib/YAML/PP/Reader.pm0000644000175000017500000000301215263373362015150 0ustar00tinatina# ABSTRACT: Reader class for YAML::PP representing input data use strict; use warnings; package YAML::PP::Reader; our $VERSION = 'v0.43.0'; # VERSION sub input { return $_[0]->{input} } sub set_input { $_[0]->{input} = $_[1] } sub new { my ($class, %args) = @_; my $input = delete $args{input}; return bless { input => $input, }, $class; } sub read { my ($self) = @_; my $pos = pos $self->{input} || 0; my $yaml = substr($self->{input}, $pos); $self->{input} = ''; return $yaml; } sub readline { my ($self) = @_; unless (length $self->{input}) { return; } if ( $self->{input} =~ m/\G([^\r\n]*(?:\n|\r\n|\r|\z))/g ) { my $line = $1; unless (length $line) { $self->{input} = ''; return; } return $line; } return; } package YAML::PP::Reader::File; use Scalar::Util qw/ openhandle /; our @ISA = qw/ YAML::PP::Reader /; use Carp qw/ croak /; sub open_handle { if (openhandle( $_[0]->{input} )) { return $_[0]->{input}; } open my $fh, '<:encoding(UTF-8)', $_[0]->{input} or croak "Could not open '$_[0]->{input}' for reading: $!"; return $fh; } sub read { my $fh = $_[0]->{filehandle} ||= $_[0]->open_handle; if (wantarray) { my @yaml = <$fh>; return @yaml; } else { local $/; my $yaml = <$fh>; return $yaml; } } sub readline { my $fh = $_[0]->{filehandle} ||= $_[0]->open_handle; return scalar <$fh>; } 1; YAML-PP-v0.43.0/lib/YAML/PP/PaxHeaders/Schema.pm0000644000000000000000000000013115263373362015517 xustar0030 mtime=1791882994.988589417 29 atime=1791882994.98849548 30 ctime=1791882994.988589417 YAML-PP-v0.43.0/lib/YAML/PP/Schema.pm0000644000175000017500000003112015263373362015147 0ustar00tinatinause strict; use warnings; package YAML::PP::Schema; our $VERSION = 'v0.43.0'; # VERSION use YAML::PP::Common qw/ YAML_PLAIN_SCALAR_STYLE /; use Carp qw/ croak /; use Scalar::Util qw/ blessed /; sub new { my ($class, %args) = @_; my $yaml_version = delete $args{yaml_version}; my $bool = delete $args{boolean}; $bool = 'perl' unless defined $bool; if (keys %args) { die "Unexpected arguments: " . join ', ', sort keys %args; } my $true; my $false; my @bool_class; my @bools = split m/,/, $bool; for my $b (@bools) { if ($b eq '*') { push @bool_class, ('boolean', 'JSON::PP::Boolean'); last; } elsif ($b eq 'JSON::PP') { require JSON::PP; $true ||= \&_bool_jsonpp_true; $false ||= \&_bool_jsonpp_false; push @bool_class, 'JSON::PP::Boolean'; } elsif ($b eq 'boolean') { require boolean; $true ||= \&_bool_booleanpm_true; $false ||= \&_bool_booleanpm_false; push @bool_class, 'boolean'; } elsif ($b eq 'perl' or $b eq 'perl_experimental') { push @bool_class, 'perl'; } else { die "Invalid value for 'boolean': '$b'. Allowed: ('perl', 'boolean', 'JSON::PP')"; } } # Ensure booleans are resolved $true ||= \&_bool_perl_true; $false ||= \&_bool_perl_false; my %representers = ( 'undef' => undef, flags => [], equals => {}, regex => [], class_equals => {}, class_matches => [], class_isa => [], scalarref => undef, refref => undef, coderef => undef, glob => undef, tied_equals => {}, bool => undef, ); my $self = bless { yaml_version => $yaml_version, resolvers => {}, representers => \%representers, true => $true, false => $false, bool_class => \@bool_class, }, $class; return $self; } sub resolvers { return $_[0]->{resolvers} } sub representers { return $_[0]->{representers} } sub true { return $_[0]->{true} } sub false { return $_[0]->{false} } sub bool_class { return @{ $_[0]->{bool_class} } ? $_[0]->{bool_class} : undef } sub yaml_version { return $_[0]->{yaml_version} } my %LOADED_SCHEMA = ( JSON => 1, ); my %DEFAULT_SCHEMA = ( '1.2' => sub { require YAML::PP::Schema::Core; return 'YAML::PP::Schema::Core' }, '1.1' => sub { require YAML::PP::Schema::YAML1_1; return 'YAML::PP::Schema::YAML1_1' }, ); my %AVAILABLE_SCHEMAS = ( 'Core' => sub { require YAML::PP::Schema::Core; return 'YAML::PP::Schema::Core' }, 'JSON' => sub { require YAML::PP::Schema::JSON; return 'YAML::PP::Schema::JSON' }, 'Failsafe' => sub { require YAML::PP::Schema::Failsafe; return 'YAML::PP::Schema::Failsafe' }, 'Merge' => sub { require YAML::PP::Schema::Merge; return 'YAML::PP::Schema::Merge' }, 'Perl' => sub { require YAML::PP::Schema::Perl; return 'YAML::PP::Schema::Perl' }, ); sub load_subschemas { my ($self, @schemas) = @_; my $yaml_version = $self->yaml_version; my $i = 0; while ($i < @schemas) { my $item = $schemas[ $i ]; $i++; my $class; if ($item eq '+') { my $code = $DEFAULT_SCHEMA{ $yaml_version }; $class = $code->(); } elsif ($AVAILABLE_SCHEMAS{ $item }) { my $code = $AVAILABLE_SCHEMAS{ $item }; $class = $code->(); } elsif (blessed($item)) { $item->register( schema => $self, ); next; } my @options; while ($i < @schemas and ( $schemas[ $i ] =~ m/^[^A-Za-z]/ or $schemas[ $i ] =~ m/^[a-zA-Z0-9]+=/ ) ) { push @options, $schemas[ $i ]; $i++; } unless ($class) { require Module::Load; if ($item =~ m/^\:(.*)/) { $class = "$1"; unless ($class =~ m/\A[A-Za-z0-9_:]+\z/) { die "Module name '$class' is invalid"; } Module::Load::load $class; } else { $class = "YAML::PP::Schema::$item"; unless ($class =~ m/\A[A-Za-z0-9_:]+\z/) { die "Module name '$class' is invalid"; } $LOADED_SCHEMA{ $item } ||= Module::Load::load $class; } } $class->register( schema => $self, options => \@options, ); } } sub add_resolver { my ($self, %args) = @_; my $tag = $args{tag}; my $rule = $args{match}; my $resolvers = $self->resolvers; my ($type, @rule) = @$rule; my $implicit = $args{implicit}; $implicit = 1 unless defined $implicit; my $resolver_list = []; if ($tag) { if (ref $tag eq 'Regexp') { my $res = $resolvers->{tags} ||= []; push @$res, [ $tag, {} ]; push @$resolver_list, $res->[-1]->[1]; } else { my $res = $resolvers->{tag}->{ $tag } ||= {}; push @$resolver_list, $res; } } if ($implicit) { push @$resolver_list, $resolvers->{value} ||= {}; } for my $res (@$resolver_list) { if ($type eq 'equals') { my ($match, $value) = @rule; unless (exists $res->{equals}->{ $match }) { $res->{equals}->{ $match } = $value; } next; } elsif ($type eq 'regex') { my ($match, $value) = @rule; push @{ $res->{regex} }, [ $match => $value ]; } elsif ($type eq 'all') { my ($value) = @rule; $res->{all} = $value; } } } sub add_sequence_resolver { my ($self, %args) = @_; return $self->add_collection_resolver(sequence => %args); } sub add_mapping_resolver { my ($self, %args) = @_; return $self->add_collection_resolver(mapping => %args); } sub add_collection_resolver { my ($self, $type, %args) = @_; my $tag = $args{tag}; my $implicit = $args{implicit}; my $resolvers = $self->resolvers; if ($tag and ref $tag eq 'Regexp') { my $res = $resolvers->{ $type }->{tags} ||= []; push @$res, [ $tag, { on_create => $args{on_create}, on_data => $args{on_data}, } ]; } elsif ($tag) { my $res = $resolvers->{ $type }->{tag}->{ $tag } ||= { on_create => $args{on_create}, on_data => $args{on_data}, }; } } sub add_representer { my ($self, %args) = @_; my $representers = $self->representers; if (my $flags = $args{flags}) { my $rep = $representers->{flags}; push @$rep, \%args; return; } if (my $regex = $args{regex}) { my $rep = $representers->{regex}; push @$rep, \%args; return; } if (my $regex = $args{class_matches}) { my $rep = $representers->{class_matches}; push @$rep, [ $args{class_matches}, $args{code} ]; return; } if (my $bool = $args{bool} and $] >= 5.036000) { $representers->{bool} = { code => $args{code}, }; return; } if (my $class_equals = $args{class_equals}) { my $rep = $representers->{class_equals}; $rep->{ $class_equals } = { code => $args{code}, }; return; } if (my $class_isa = $args{class_isa}) { my $rep = $representers->{class_isa}; push @$rep, [ $args{class_isa}, $args{code} ]; return; } if (my $tied_equals = $args{tied_equals}) { my $rep = $representers->{tied_equals}; $rep->{ $tied_equals } = { code => $args{code}, }; return; } if (defined(my $equals = $args{equals})) { my $rep = $representers->{equals}; $rep->{ $equals } = { code => $args{code}, }; return; } if (defined(my $scalarref = $args{scalarref})) { $representers->{scalarref} = { code => $args{code}, }; return; } if (defined(my $refref = $args{refref})) { $representers->{refref} = { code => $args{code}, }; return; } if (defined(my $coderef = $args{coderef})) { $representers->{coderef} = { code => $args{code}, }; return; } if (defined(my $glob = $args{glob})) { $representers->{glob} = { code => $args{code}, }; return; } if (my $undef = $args{undefined}) { $representers->{undef} = $undef; return; } } sub load_scalar { my ($self, $constructor, $event) = @_; my $tag = $event->{tag}; my $value = $event->{value}; my $resolvers = $self->resolvers; my $res; if ($tag) { if ($tag eq '!') { return $value; } $res = $resolvers->{tag}->{ $tag }; if (not $res and my $matches = $resolvers->{tags}) { for my $match (@$matches) { my ($re, $rule) = @$match; if ($tag =~ $re) { $res = $rule; last; } } } #unless ($res) { # croak "Unknown tag '$tag'. Use schema 'Catchall' to ignore unknown tags"; #} } else { $res = $resolvers->{value}; if ($event->{style} ne YAML_PLAIN_SCALAR_STYLE) { return $value; } } if (my $equals = $res->{equals}) { if (exists $equals->{ $value }) { my $res = $equals->{ $value }; if (ref $res eq 'CODE') { return $res->($constructor, $event); } return $res; } } if (my $regex = $res->{regex}) { for my $item (@$regex) { my ($re, $sub) = @$item; my @matches = $value =~ $re; if (@matches) { return $sub->($constructor, $event, \@matches); } } } if (my $catch_all = $res->{all}) { if (ref $catch_all eq 'CODE') { return $catch_all->($constructor, $event); } return $catch_all; } return $value; } sub create_sequence { my ($self, $constructor, $event) = @_; my $tag = $event->{tag}; my $data = []; my $on_data; my $resolvers = $self->resolvers->{sequence}; if ($tag) { if (my $equals = $resolvers->{tag}->{ $tag }) { my $on_create = $equals->{on_create}; $on_data = $equals->{on_data}; $on_create and $data = $on_create->($constructor, $event); return ($data, $on_data); } if (my $matches = $resolvers->{tags}) { for my $match (@$matches) { my ($re, $actions) = @$match; my $on_create = $actions->{on_create}; if ($tag =~ $re) { $on_data = $actions->{on_data}; $on_create and $data = $on_create->($constructor, $event); return ($data, $on_data); } } } #croak "Unknown tag '$tag'. Use schema 'Catchall' to ignore unknown tags"; } return ($data, $on_data); } sub create_mapping { my ($self, $constructor, $event) = @_; my $tag = $event->{tag}; my $data = {}; my $on_data; my $resolvers = $self->resolvers->{mapping}; if ($tag) { if (my $equals = $resolvers->{tag}->{ $tag }) { my $on_create = $equals->{on_create}; $on_data = $equals->{on_data}; $on_create and $data = $on_create->($constructor, $event); return ($data, $on_data); } if (my $matches = $resolvers->{tags}) { for my $match (@$matches) { my ($re, $actions) = @$match; my $on_create = $actions->{on_create}; if ($tag =~ $re) { $on_data = $actions->{on_data}; $on_create and $data = $on_create->($constructor, $event); return ($data, $on_data); } } } #croak "Unknown tag '$tag'. Use schema 'Catchall' to ignore unknown tags"; } return ($data, $on_data); } sub _bool_jsonpp_true { JSON::PP::true() } sub _bool_booleanpm_true { boolean::true() } sub _bool_perl_true { !!1 } sub _bool_jsonpp_false { JSON::PP::false() } sub _bool_booleanpm_false { boolean::false() } sub _bool_perl_false { !!0 } 1; __END__ =pod =encoding utf-8 =head1 NAME YAML::PP::Schema - Schema for YAML::PP YAML-PP-v0.43.0/lib/YAML/PP/PaxHeaders/Writer.pm0000644000000000000000000000013015263373362015572 xustar0029 mtime=1791882994.98849548 30 atime=1791882994.988402521 29 ctime=1791882994.98849548 YAML-PP-v0.43.0/lib/YAML/PP/Writer.pm0000644000175000017500000000235215263373362015230 0ustar00tinatina# ABSTRACT: Writer class for YAML::PP representing output data use strict; use warnings; package YAML::PP::Writer; our $VERSION = 'v0.43.0'; # VERSION sub output { return $_[0]->{output} } sub set_output { $_[0]->{output} = $_[1] } sub new { my ($class, %args) = @_; my $output = delete $args{output}; $output = '' unless defined $output; return bless { output => $output, }, $class; } sub write { my ($self, $line) = @_; $self->{output} .= $line; } sub init { $_[0]->set_output(''); } sub finish { my ($self) = @_; $_[0]->set_output(undef); } 1; __END__ =pod =encoding utf-8 =head1 NAME YAML::PP::Writer - Write YAML output =head1 SYNOPSIS my $writer = YAML::PP::Writer->new; =head1 DESCRIPTION The L sends its output to the writer. You can use your own writer. if you want to send the YAML output to somewhere else. See t/44.writer.t for an example. =head1 METHODS =over =item new my $writer = YAML::PP::Writer->new; Constructor. =item write $writer->write('- '); =item init $writer->init; Initialize =item finish $writer->finish; Gets called when the output ends. =item output, set_output Getter/setter for the YAML output =back =cut YAML-PP-v0.43.0/lib/YAML/PP/PaxHeaders/Lexer.pm0000644000000000000000000000013215263373362015377 xustar0030 mtime=1791882994.986411195 30 atime=1791882994.986311042 30 ctime=1791882994.986411195 YAML-PP-v0.43.0/lib/YAML/PP/Lexer.pm0000644000175000017500000007347415263373362015050 0ustar00tinatinause strict; use warnings; package YAML::PP::Lexer; our $VERSION = 'v0.43.0'; # VERSION use constant TRACE => $ENV{YAML_PP_TRACE} ? 1 : 0; use constant DEBUG => ($ENV{YAML_PP_DEBUG} || $ENV{YAML_PP_TRACE}) ? 1 : 0; use YAML::PP::Grammar qw/ $GRAMMAR /; use Carp qw/ croak /; sub new { my ($class, %args) = @_; my $self = bless { reader => $args{reader}, }, $class; $self->init; return $self; } sub init { my ($self) = @_; $self->{next_tokens} = []; $self->{next_line} = undef; $self->{line} = 0; $self->{offset} = 0; $self->{flowcontext} = 0; } sub next_line { return $_[0]->{next_line} } sub set_next_line { $_[0]->{next_line} = $_[1] } sub reader { return $_[0]->{reader} } sub set_reader { $_[0]->{reader} = $_[1] } sub next_tokens { return $_[0]->{next_tokens} } sub line { return $_[0]->{line} } sub set_line { $_[0]->{line} = $_[1] } sub offset { return $_[0]->{offset} } sub set_offset { $_[0]->{offset} = $_[1] } sub inc_line { return $_[0]->{line}++ } sub context { return $_[0]->{context} } sub set_context { $_[0]->{context} = $_[1] } sub flowcontext { return $_[0]->{flowcontext} } sub set_flowcontext { $_[0]->{flowcontext} = $_[1] } sub block { return $_[0]->{block} } sub set_block { $_[0]->{block} = $_[1] } my $RE_WS = '[\t ]'; my $RE_LB = '[\r\n]'; my $RE_DOC_END = qr/\A(\.\.\.)(?=$RE_WS|$)/m; my $RE_DOC_START = qr/\A(---)(?=$RE_WS|$)/m; my $RE_EOL = qr/\A($RE_WS+#.*|$RE_WS+)\z/; #my $RE_COMMENT_EOL = qr/\A(#.*)?(?:$RE_LB|\z)/; #ns-word-char ::= ns-dec-digit | ns-ascii-letter | “-” my $RE_NS_WORD_CHAR = '[0-9A-Za-z-]'; my $RE_URI_CHAR = '(?:' . '%[0-9a-fA-F]{2}' .'|'. q{[0-9A-Za-z#;/?:@&=+$,_.!*'\(\)\[\]-]} . ')'; my $RE_NS_TAG_CHAR = '(?:' . '%[0-9a-fA-F]{2}' .'|'. q{[0-9A-Za-z#;/?:@&=+$_.~*'\(\)-]} . ')'; # [#x21-#x7E] /* 8 bit */ # | #x85 | [#xA0-#xD7FF] | [#xE000-#xFFFD] /* 16 bit */ # | [#x10000-#x10FFFF] /* 32 bit */ #nb-char ::= c-printable - b-char - c-byte-order-mark #my $RE_NB_CHAR = '[\x21-\x7E]'; my $RE_ANCHOR_CAR = '[\x21-\x2B\x2D-\x5A\x5C\x5E-\x7A\x7C\x7E\xA0-\xFF\x{100}-\x{10FFFF}]'; my $RE_PLAIN_START = '[\x21\x22\x24-\x39\x3B-\x7E\xA0-\xFF\x{100}-\x{10FFFF}]'; my $RE_PLAIN_END = '[\x21-\x39\x3B-\x7E\x85\xA0-\x{D7FF}\x{E000}-\x{FEFE}\x{FF00}-\x{FFFD}\x{10000}-\x{10FFFF}]'; my $RE_PLAIN_FIRST = '[\x24\x28-\x29\x2B\x2E-\x39\x3B-\x3D\x41-\x5A\x5C\x5E-\x5F\x61-\x7A\x7E\xA0-\xFF\x{100}-\x{10FFFF}]'; my $RE_PLAIN_START_FLOW = '[\x21\x22\x24-\x2B\x2D-\x39\x3B-\x5A\x5C\x5E-\x7A\x7C\x7E\xA0-\xFF\x{100}-\x{10FFFF}]'; my $RE_PLAIN_END_FLOW = '[\x21-\x2B\x2D-\x39\x3B-\x5A\x5C\x5E-\x7A\x7C\x7E\x85\xA0-\x{D7FF}\x{E000}-\x{FEFE}\x{FF00}-\x{FFFD}\x{10000}-\x{10FFFF}]'; my $RE_PLAIN_FIRST_FLOW = '[\x24\x28-\x29\x2B\x2E-\x39\x3B-\x3D\x41-\x5A\x5C\x5E-\x5F\x61-\x7A\x7C\x7E\xA0-\xFF\x{100}-\x{10FFFF}]'; # c-indicators #! 21 #" 22 ## 23 #% 25 #& 26 #' 27 #* 2A #, 2C FLOW #- 2D XX #: 3A XX #> 3E #? 3F XX #@ 40 #[ 5B FLOW #] 5D FLOW #` 60 #{ 7B FLOW #| 7C #} 7D FLOW my $RE_PLAIN_WORD = "(?::+$RE_PLAIN_END|$RE_PLAIN_START)(?::+$RE_PLAIN_END|$RE_PLAIN_END)*"; my $RE_PLAIN_FIRST_WORD = "(?:[:?-]+$RE_PLAIN_END|$RE_PLAIN_FIRST)(?::+$RE_PLAIN_END|$RE_PLAIN_END)*"; my $RE_PLAIN_WORDS = "(?:$RE_PLAIN_FIRST_WORD(?:$RE_WS+$RE_PLAIN_WORD)*)"; my $RE_PLAIN_WORDS2 = "(?:$RE_PLAIN_WORD(?:$RE_WS+$RE_PLAIN_WORD)*)"; my $RE_PLAIN_WORD_FLOW = "(?::+$RE_PLAIN_END_FLOW|$RE_PLAIN_START_FLOW)(?::+$RE_PLAIN_END_FLOW|$RE_PLAIN_END_FLOW)*"; my $RE_PLAIN_FIRST_WORD_FLOW = "(?:[:?-]+$RE_PLAIN_END_FLOW|$RE_PLAIN_FIRST_FLOW)(?::+$RE_PLAIN_END_FLOW|$RE_PLAIN_END_FLOW)*"; my $RE_PLAIN_WORDS_FLOW = "(?:$RE_PLAIN_FIRST_WORD_FLOW(?:$RE_WS+$RE_PLAIN_WORD_FLOW)*)"; my $RE_PLAIN_WORDS_FLOW2 = "(?:$RE_PLAIN_WORD_FLOW(?:$RE_WS+$RE_PLAIN_WORD_FLOW)*)"; #c-secondary-tag-handle ::= “!” “!” #c-named-tag-handle ::= “!” ns-word-char+ “!” #ns-tag-char ::= ns-uri-char - “!” - c-flow-indicator #ns-global-tag-prefix ::= ns-tag-char ns-uri-char* #c-ns-local-tag-prefix ::= “!” ns-uri-char* my $RE_TAG = "!(?:$RE_NS_WORD_CHAR*!$RE_NS_TAG_CHAR+|$RE_NS_TAG_CHAR+|<$RE_URI_CHAR+>|)"; #c-ns-anchor-property ::= “&” ns-anchor-name #ns-char ::= nb-char - s-white #ns-anchor-char ::= ns-char - c-flow-indicator #ns-anchor-name ::= ns-anchor-char+ my $RE_SEQSTART = qr/\A(-)(?=$RE_WS|$)/m; my $RE_COMPLEX = qr/(\?)(?=$RE_WS|$)/m; my $RE_COMPLEXCOLON = qr/\A(:)(?=$RE_WS|$)/m; my $RE_ANCHOR = "&$RE_ANCHOR_CAR+"; my $RE_ALIAS = "\\*$RE_ANCHOR_CAR+"; my %REGEXES = ( ANCHOR => qr{($RE_ANCHOR)}, TAG => qr{($RE_TAG)}, ALIAS => qr{($RE_ALIAS)}, SINGLEQUOTED => qr{(?:''|[^'\r\n]+)*}, ); sub _fetch_next_line { my ($self) = @_; my $next_line = $self->next_line; if (defined $next_line ) { return $next_line; } my $line = $self->reader->readline; unless (defined $line) { $self->set_next_line(undef); return; } $self->set_block(1); $self->inc_line; $line =~ m/\A( *)([^\r\n]*)([\r\n]|\z)/ or die "Unexpected"; $next_line = [ $1, $2, $3 ]; $self->set_next_line($next_line); # $ESCAPE_CHAR from YAML.pm if ($line =~ tr/\x00-\x08\x0b-\x0c\x0e-\x1f//) { $self->exception("Control characters are not allowed"); } return $next_line; } my %TOKEN_NAMES = ( '"' => 'DOUBLEQUOTE', "'" => 'SINGLEQUOTE', '|' => 'LITERAL', '>' => 'FOLDED', '!' => 'TAG', '*' => 'ALIAS', '&' => 'ANCHOR', ':' => 'COLON', '-' => 'DASH', '?' => 'QUESTION', '[' => 'FLOWSEQ_START', ']' => 'FLOWSEQ_END', '{' => 'FLOWMAP_START', '}' => 'FLOWMAP_END', ',' => 'FLOW_COMMA', '---' => 'DOC_START', '...' => 'DOC_END', ); sub fetch_next_tokens { my ($self) = @_; my $next = $self->next_tokens; return $next if @$next; my $next_line = $self->_fetch_next_line; if (not $next_line) { return []; } my $spaces = $next_line->[0]; my $yaml = \$next_line->[1]; if (not length $$yaml) { $self->_push_tokens([ EOL => join('', @$next_line), $self->line ]); $self->set_next_line(undef); return $next; } if (substr($$yaml, 0, 1) eq '#') { $self->_push_tokens([ EOL => join('', @$next_line), $self->line ]); $self->set_next_line(undef); return $next; } if (not $spaces and substr($$yaml, 0, 1) eq "%") { $self->_fetch_next_tokens_directive($yaml, $next_line->[2]); $self->set_context(0); $self->set_next_line(undef); return $next; } if (not $spaces and $$yaml =~ s/\A(---|\.\.\.)(?=$RE_WS|\z)//) { $self->_push_tokens([ $TOKEN_NAMES{ $1 } => $1, $self->line ]); } elsif ($self->flowcontext and $$yaml =~ m/\A[ \t]+(#.*)?\z/) { $self->_push_tokens([ EOL => join('', @$next_line), $self->line ]); $self->set_next_line(undef); return $next; } else { $self->_push_tokens([ SPACE => $spaces, $self->line ]); } my $partial = $self->_fetch_next_tokens($next_line); unless ($partial) { $self->set_next_line(undef); } return $next; } my %ANCHOR_ALIAS_TAG = ( '&' => 1, '*' => 1, '!' => 1 ); my %BLOCK_SCALAR = ( '|' => 1, '>' => 1 ); my %COLON_DASH_QUESTION = ( ':' => 1, '-' => 1, '?' => 1 ); my %QUOTED = ( '"' => 1, "'" => 1 ); my %FLOW = ( '{' => 1, '[' => 1, '}' => 1, ']' => 1, ',' => 1 ); my %CONTEXT = ( '"' => 1, "'" => 1, '>' => 1, '|' => 1 ); my $RE_ESCAPES = qr{(?: \\([ \\\/_0abefnrtvLNP\t"]) | \\x([0-9a-fA-F]{2}) | \\u([A-Fa-f0-9]{4}) | \\U([A-Fa-f0-9]{4,8}) )}x; my %CONTROL = ( '\\' => '\\', '/' => '/', n => "\n", t => "\t", r => "\r", b => "\b", 'a' => "\a", 'b' => "\b", 'e' => "\e", 'f' => "\f", 'v' => "\x0b", "\t" => "\t", 'P' => "\x{2029}", L => "\x{2028}", 'N' => "\x85", '0' => "\0", '_' => "\xa0", ' ' => ' ', q/"/ => q/"/, ); sub _fetch_next_tokens { TRACE and warn __PACKAGE__.':'.__LINE__.": _fetch_next_tokens\n"; my ($self, $next_line) = @_; my $yaml = \$next_line->[1]; my $eol = $next_line->[2]; my @tokens; while (1) { unless (length $$yaml) { push @tokens, ( EOL => $eol, $self->line ); $self->_push_tokens(\@tokens); return; } my $first = substr($$yaml, 0, 1); my $plain = 0; if ($self->context) { if ($$yaml =~ s/\A($RE_WS*)://) { push @tokens, ( WS => $1, $self->line ) if $1; push @tokens, ( COLON => ':', $self->line ); $self->set_context(0); next; } if ($$yaml =~ s/\A($RE_WS*(?: #.*))\z//) { push @tokens, ( EOL => $1 . $eol, $self->line ); $self->_push_tokens(\@tokens); return; } $self->set_context(0); } if ($CONTEXT{ $first }) { push @tokens, ( CONTEXT => $first, $self->line ); $self->_push_tokens(\@tokens); return 1; } elsif ($COLON_DASH_QUESTION{ $first }) { my $token_name = $TOKEN_NAMES{ $first }; if ($$yaml =~ s/\A\Q$first\E($RE_WS+|\z)//) { my $after = $1; if (not $self->flowcontext and not $self->block) { push @tokens, ERROR => $first . $after, $self->line; $self->_push_tokens(\@tokens); $self->exception("Tabs can not be used for indentation"); } if ($after =~ tr/\t//) { $self->set_block(0); } my $token_name = $TOKEN_NAMES{ $first }; push @tokens, ( $token_name => $first, $self->line ); if (not defined $1) { push @tokens, ( EOL => $eol, $self->line ); $self->_push_tokens(\@tokens); return; } my $ws = $1; if ($$yaml =~ s/\A(#.*|)\z//) { push @tokens, ( EOL => $ws . $1 . $eol, $self->line ); $self->_push_tokens(\@tokens); return; } push @tokens, ( WS => $ws, $self->line ); next; } elsif ($self->flowcontext and $$yaml =~ s/\A:(?=[,\{\}\[\]])//) { push @tokens, ( $token_name => $first, $self->line ); next; } $plain = 1; } elsif ($ANCHOR_ALIAS_TAG{ $first }) { my $token_name = $TOKEN_NAMES{ $first }; my $REGEX = $REGEXES{ $token_name }; if ($$yaml =~ s/\A$REGEX//) { push @tokens, ( $token_name => $1, $self->line ); } else { push @tokens, ( "Invalid $token_name" => $$yaml, $self->line ); $self->_push_tokens(\@tokens); return; } } elsif ($first eq ' ' or $first eq "\t") { if ($$yaml =~ s/\A($RE_WS+)//) { my $ws = $1; if ($$yaml =~ s/\A((?:#.*)?\z)//) { push @tokens, ( EOL => $ws . $1 . $eol, $self->line ); $self->_push_tokens(\@tokens); return; } push @tokens, ( WS => $ws, $self->line ); } } elsif ($FLOW{ $first }) { push @tokens, ( $TOKEN_NAMES{ $first } => $first, $self->line ); substr($$yaml, 0, 1, ''); my $flowcontext = $self->flowcontext; if ($first eq '{' or $first eq '[') { $self->set_flowcontext(++$flowcontext); } elsif ($first eq '}' or $first eq ']') { $self->set_flowcontext(--$flowcontext); } } else { $plain = 1; } if ($plain) { push @tokens, ( CONTEXT => '', $self->line ); $self->_push_tokens(\@tokens); return 1; } } return; } sub fetch_plain { my ($self, $indent, $context) = @_; my $next_line = $self->next_line; my $yaml = \$next_line->[1]; my $eol = $next_line->[2]; my $REGEX = $RE_PLAIN_WORDS; if ($self->flowcontext) { $REGEX = $RE_PLAIN_WORDS_FLOW; } my @tokens; unless ($$yaml =~ s/\A($REGEX(?:[:]+(?=\:(\s|\z)))?)//) { $self->_push_tokens(\@tokens); $self->exception("Invalid plain scalar"); } my $plain = $1; push @tokens, ( PLAIN => $plain, $self->line ); if ($$yaml =~ s/\A(?:($RE_WS+#.*)|($RE_WS*))\z//) { if (defined $1) { push @tokens, ( EOL => $1 . $eol, $self->line ); $self->_push_tokens(\@tokens); $self->set_next_line(undef); return; } else { push @tokens, ( EOL => $2. $eol, $self->line ); $self->set_next_line(undef); } } else { $self->_push_tokens(\@tokens); my $partial = $self->_fetch_next_tokens($next_line); if (not $partial) { $self->set_next_line(undef); } return; } my $RE2 = $RE_PLAIN_WORDS2; if ($self->flowcontext) { $RE2 = $RE_PLAIN_WORDS_FLOW2; } my $fetch_next = 0; my @lines = ($plain); my @next; LOOP: while (1) { $next_line = $self->_fetch_next_line; if (not $next_line) { last LOOP; } my $spaces = $next_line->[0]; my $yaml = \$next_line->[1]; my $eol = $next_line->[2]; if (not length $$yaml) { push @tokens, ( EOL => $spaces . $eol, $self->line ); $self->set_next_line(undef); push @lines, ''; next LOOP; } if (not $spaces and $$yaml =~ s/\A(---|\.\.\.)(?=$RE_WS|\z)//) { push @next, $TOKEN_NAMES{ $1 } => $1, $self->line; $fetch_next = 1; last LOOP; } if ((length $spaces) < $indent) { last LOOP; } my $ws = ''; if ($$yaml =~ s/\A($RE_WS+)//) { $ws = $1; } if (not length $$yaml) { push @tokens, ( EOL => $spaces . $ws . $eol, $self->line ); $self->set_next_line(undef); push @lines, ''; next LOOP; } if ($$yaml =~ s/\A(#.*)\z//) { push @tokens, ( EOL => $spaces . $ws . $1 . $eol, $self->line ); $self->set_next_line(undef); last LOOP; } if ($$yaml =~ s/\A($RE2)//) { push @tokens, INDENT => $spaces, $self->line; push @tokens, WS => $ws, $self->line; push @tokens, PLAIN => $1, $self->line; push @lines, $1; my $ws = ''; if ($$yaml =~ s/\A($RE_WS+)//) { $ws = $1; } if (not length $$yaml) { push @tokens, EOL => $ws . $eol, $self->line; $self->set_next_line(undef); next LOOP; } if ($$yaml =~ s/\A(#.*)\z//) { push @tokens, EOL => $ws . $1 . $eol, $self->line; $self->set_next_line(undef); last LOOP; } else { push @tokens, WS => $ws, $self->line if $ws; $fetch_next = 1; } } else { push @tokens, SPACE => $spaces, $self->line; push @tokens, WS => $ws, $self->line; if ($self->flowcontext) { $fetch_next = 1; } else { push @tokens, ERROR => $$yaml, $self->line; } } last LOOP; } # remove empty lines at the end while (@lines > 1 and $lines[-1] eq '') { pop @lines; } if (@lines > 1) { my $value = YAML::PP::Render->render_multi_val(\@lines); my @eol; if ($tokens[-3] eq 'EOL') { @eol = splice @tokens, -3; } $self->push_subtokens( { name => 'PLAIN_MULTI', value => $value }, \@tokens); $self->_push_tokens([ @eol, @next ]); } else { $self->_push_tokens([ @tokens, @next ]); } @tokens = (); if ($fetch_next) { my $partial = $self->_fetch_next_tokens($next_line); if (not $partial) { $self->set_next_line(undef); } } return; } sub fetch_block { my ($self, $indent, $context) = @_; my $next_line = $self->next_line; my $yaml = \$next_line->[1]; my $eol = $next_line->[2]; my @tokens; my $token_name = $TOKEN_NAMES{ $context }; $$yaml =~ s/\A\Q$context\E// or die "Unexpected"; push @tokens, ( $token_name => $context, $self->line ); my $current_indent = $indent; my $started = 0; my $set_indent = 0; my $chomp = ''; if ($$yaml =~ s/\A([1-9])([+-]?)//) { push @tokens, ( BLOCK_SCALAR_INDENT => $1, $self->line ); $set_indent = $1; $chomp = $2 if $2; push @tokens, ( BLOCK_SCALAR_CHOMP => $2, $self->line ) if $2; } elsif ($$yaml =~ s/\A([+-])([1-9])?//) { push @tokens, ( BLOCK_SCALAR_CHOMP => $1, $self->line ); $chomp = $1; push @tokens, ( BLOCK_SCALAR_INDENT => $2, $self->line ) if $2; $set_indent = $2 if $2; } if ($set_indent) { $started = 1; $indent-- if $indent > 0; $current_indent = $indent + $set_indent; } if (not length $$yaml) { push @tokens, ( EOL => $eol, $self->line ); } elsif ($$yaml =~ s/\A($RE_WS*(?:$RE_WS#.*|))\z//) { push @tokens, ( EOL => $1 . $eol, $self->line ); } else { $self->_push_tokens(\@tokens); $self->exception("Invalid block scalar"); } my @lines; while (1) { $self->set_next_line(undef); $next_line = $self->_fetch_next_line; if (not $next_line) { last; } my $spaces = $next_line->[0]; my $content = $next_line->[1]; my $eol = $next_line->[2]; if (not $spaces and $content =~ m/\A(---|\.\.\.)(?=$RE_WS|\z)/) { last; } if ((length $spaces) < $current_indent) { if (length $content) { if ($content =~ m/\A\t/) { $self->_push_tokens(\@tokens); $self->exception("Invalid block scalar"); } last; } else { push @lines, ''; push @tokens, ( EOL => $spaces . $eol, $self->line ); next; } } if ((length $spaces) > $current_indent) { if ($started) { ($spaces, my $more_spaces) = unpack "a${current_indent}a*", $spaces; $content = $more_spaces . $content; } } unless (length $content) { push @lines, ''; push @tokens, ( INDENT => $spaces, $self->line, EOL => $eol, $self->line ); unless ($started) { $current_indent = length $spaces; } next; } unless ($started) { $started = 1; $current_indent = length $spaces; } push @lines, $content; push @tokens, ( INDENT => $spaces, $self->line, BLOCK_SCALAR_CONTENT => $content, $self->line, EOL => $eol, $self->line, ); } my $value = YAML::PP::Render->render_block_scalar($context, $chomp, \@lines); my @eol = splice @tokens, -3; $self->push_subtokens( { name => 'BLOCK_SCALAR', value => $value }, \@tokens ); $self->_push_tokens([ @eol ]); return 0; } sub fetch_quoted { my ($self, $indent, $context) = @_; my $next_line = $self->next_line; my $yaml = \$next_line->[1]; my $spaces = $next_line->[0]; my $token_name = $TOKEN_NAMES{ $context }; $$yaml =~ s/\A\Q$context// or die "Unexpected";; my @tokens = ( $token_name => $context, $self->line ); my $start = 1; my @values; while (1) { unless ($start) { $next_line = $self->_fetch_next_line or do { for (my $i = 0; $i < @tokens; $i+= 3) { my $token = $tokens[ $i + 1 ]; if (ref $token) { $tokens[ $i + 1 ] = $token->{orig}; } } $self->_push_tokens(\@tokens); $self->exception("Missing closing quote <$context> at EOF"); }; $start = 0; $spaces = $next_line->[0]; $yaml = \$next_line->[1]; if (not length $$yaml) { push @tokens, ( EOL => $spaces . $next_line->[2], $self->line ); $self->set_next_line(undef); push @values, { value => '', orig => '' }; next; } elsif (not $spaces and $$yaml =~ m/\A(---|\.\.\.)(?=$RE_WS|\z)/) { for (my $i = 0; $i < @tokens; $i+= 3) { my $token = $tokens[ $i + 1 ]; if (ref $token) { $tokens[ $i + 1 ] = $token->{orig}; } } $self->_push_tokens(\@tokens); $self->exception("Missing closing quote <$context> or invalid document marker"); } elsif ((length $spaces) < $indent) { for (my $i = 0; $i < @tokens; $i+= 3) { my $token = $tokens[ $i + 1 ]; if (ref $token) { $tokens[ $i + 1 ] = $token->{orig}; } } $self->_push_tokens(\@tokens); $self->exception("Wrong indendation or missing closing quote <$context>"); } if ($$yaml =~ s/\A($RE_WS+)//) { $spaces .= $1; } push @tokens, ( WS => $spaces, $self->line ); } my $v = $self->_read_quoted_tokens($start, $context, $yaml, \@tokens); push @values, $v; if ($tokens[-3] eq $token_name) { if ($start) { $self->push_subtokens( { name => 'QUOTED', value => $v->{value} }, \@tokens ); } else { my $value = YAML::PP::Render->render_quoted($context, \@values); $self->push_subtokens( { name => 'QUOTED_MULTILINE', value => $value }, \@tokens ); } $self->set_context(1) if $self->flowcontext; if (length $$yaml) { my $partial = $self->_fetch_next_tokens($next_line); if (not $partial) { $self->set_next_line(undef); } return 0; } else { @tokens = (); push @tokens, ( EOL => $next_line->[2], $self->line ); $self->_push_tokens(\@tokens); $self->set_next_line(undef); return; } } $tokens[-2] .= $next_line->[2]; $self->set_next_line(undef); $start = 0; } } sub _read_quoted_tokens { my ($self, $start, $first, $yaml, $tokens) = @_; my $quoted = ''; my $decoded = ''; my $token_name = $TOKEN_NAMES{ $first }; my $eol = ''; if ($first eq "'") { my $regex = $REGEXES{SINGLEQUOTED}; if ($$yaml =~ s/\A($regex)//) { $quoted .= $1; $decoded .= $1; $decoded =~ s/''/'/g; } unless (length $$yaml) { if ($quoted =~ s/($RE_WS+)\z//) { $eol = $1; $decoded =~ s/($eol)\z//; } } } else { ($quoted, $decoded, $eol) = $self->_read_doublequoted($yaml); } my $value = { value => $decoded, orig => $quoted }; if ($$yaml =~ s/\A$first//) { if ($start) { push @$tokens, ( $token_name . 'D' => $value, $self->line ); } else { push @$tokens, ( $token_name . 'D_LINE' => $value, $self->line ); } push @$tokens, ( $token_name => $first, $self->line ); return $value; } if (length $$yaml) { push @$tokens, ( $token_name . 'D' => $value->{orig}, $self->line ); $self->_push_tokens($tokens); $self->exception("Invalid quoted <$first> string"); } push @$tokens, ( $token_name . 'D_LINE' => $value, $self->line ); push @$tokens, ( EOL => $eol, $self->line ); return $value; } sub _read_doublequoted { my ($self, $yaml) = @_; my $quoted = ''; my $decoded = ''; my $eol = ''; while (1) { my $last = 1; if ($$yaml =~ s/\A([^"\\ \t]+)//) { $quoted .= $1; $decoded .= $1; $last = 0; } if ($$yaml =~ s/\A($RE_ESCAPES)//) { $quoted .= $1; my $dec = defined $2 ? $CONTROL{ $2 } : defined $3 ? chr hex $3 : defined $4 ? chr hex $4 : chr hex $5; $decoded .= $dec; $last = 0; } if ($$yaml =~ s/\A([ \t]+)//) { my $spaces = $1; if (length $$yaml) { $quoted .= $spaces; $decoded .= $spaces; $last = 0; } else { $eol = $spaces; last; } } if ($$yaml =~ s/\A(\\)\z//) { $quoted .= $1; $decoded .= $1; last; } last if $last; } return ($quoted, $decoded, $eol); } sub _fetch_next_tokens_directive { my ($self, $yaml, $eol) = @_; my @tokens; my $trailing_ws = ''; my $warn = $ENV{YAML_PP_RESERVED_DIRECTIVE} || 'warn'; if ($$yaml =~ s/\A(\s*%YAML[ \t]+([0-9]+\.[0-9]+))//) { my $dir = $1; my $version = $2; if ($$yaml =~ s/\A($RE_WS+)//) { $trailing_ws = $1; } elsif (length $$yaml) { push @tokens, ( 'Invalid directive' => $dir.$$yaml.$eol, $self->line ); $self->_push_tokens(\@tokens); return; } if ($version !~ m/^1\.[12]$/) { if ($warn eq 'warn') { warn "Unsupported YAML version '$dir'"; } elsif ($warn eq 'fatal') { push @tokens, ( 'Unsupported YAML version' => $dir, $self->line ); $self->_push_tokens(\@tokens); return; } } push @tokens, ( YAML_DIRECTIVE => $dir, $self->line ); } elsif ($$yaml =~ s/\A(\s*%TAG[ \t]+(!$RE_NS_WORD_CHAR*!|!)[ \t]+(tag:\S+|!$RE_URI_CHAR+))($RE_WS*)//) { push @tokens, ( TAG_DIRECTIVE => $1, $self->line ); # TODO my $tag_alias = $2; my $tag_url = $3; $trailing_ws = $4; } elsif ($$yaml =~ s/\A(\s*\A%(?:\w+).*)//) { push @tokens, ( RESERVED_DIRECTIVE => $1, $self->line ); if ($warn eq 'warn') { warn "Found reserved directive '$1'"; } elsif ($warn eq 'fatal') { die "Found reserved directive '$1'"; } } else { push @tokens, ( 'Invalid directive' => $$yaml, $self->line ); push @tokens, ( EOL => $eol, $self->line ); $self->_push_tokens(\@tokens); return; } if (not length $$yaml) { push @tokens, ( EOL => $eol, $self->line ); } elsif ($trailing_ws and $$yaml =~ s/\A(#.*)?\z//) { push @tokens, ( EOL => "$trailing_ws$1$eol", $self->line ); $self->_push_tokens(\@tokens); return; } elsif ($$yaml =~ s/\A([ \t]+#.*)?\z//) { push @tokens, ( EOL => "$1$eol", $self->line ); $self->_push_tokens(\@tokens); return; } else { push @tokens, ( 'Invalid directive' => $trailing_ws.$$yaml, $self->line ); push @tokens, ( EOL => $eol, $self->line ); } $self->_push_tokens(\@tokens); return; } sub _push_tokens { my ($self, $new_tokens) = @_; my $next = $self->next_tokens; my $line = $self->line; my $column = $self->offset; for (my $i = 0; $i < @$new_tokens; $i += 3) { my $value = $new_tokens->[ $i + 1 ]; my $name = $new_tokens->[ $i ]; my $line = $new_tokens->[ $i + 2 ]; my $push = { name => $name, line => $line, column => $column, value => $value, }; $column += length $value unless $name eq 'CONTEXT'; push @$next, $push; if ($name eq 'EOL') { $column = 0; } } $self->set_offset($column); return $next; } sub push_subtokens { my ($self, $token, $subtokens) = @_; my $next = $self->next_tokens; my $line = $self->line; my $column = $self->offset; $token->{column} = $column; $token->{subtokens} = \my @sub; for (my $i = 0; $i < @$subtokens; $i+=3) { my $name = $subtokens->[ $i ]; my $value = $subtokens->[ $i + 1 ]; my $line = $subtokens->[ $i + 2 ]; my $push = { name => $subtokens->[ $i ], line => $line, column => $column, }; if (ref $value eq 'HASH') { %$push = ( %$push, %$value ); $column += length $value->{orig}; } else { $push->{value} = $value; $column += length $value; } if ($push->{name} eq 'EOL') { $column = 0; } push @sub, $push; } $token->{line} = $sub[0]->{line}; push @$next, $token; $self->set_offset($column); return $next; } sub exception { my ($self, $msg) = @_; my $next = $self->next_tokens; $next = []; my $line = @$next ? $next->[0]->{line} : $self->line; my @caller = caller(0); my $yaml = ''; if (my $nl = $self->next_line) { $yaml = join '', @$nl; $yaml = $nl->[1]; } my $e = YAML::PP::Exception->new( line => $line, column => $self->offset + 1, msg => $msg, next => $next, where => $caller[1] . ' line ' . $caller[2], yaml => $yaml, ); croak $e; } 1; YAML-PP-v0.43.0/lib/YAML/PP/PaxHeaders/Perl.pm0000644000000000000000000000013215263373362015222 xustar0030 mtime=1791882994.983124376 30 atime=1791882994.982976382 30 ctime=1791882994.983124376 YAML-PP-v0.43.0/lib/YAML/PP/Perl.pm0000644000175000017500000000277115263373362014663 0ustar00tinatinause strict; use warnings; package YAML::PP::Perl; our $VERSION = 'v0.43.0'; # VERSION use Exporter 'import'; use base 'YAML::PP'; our @EXPORT_OK = qw/ Load Dump LoadFile DumpFile /; use YAML::PP; use YAML::PP::Schema::Perl; sub new { my ($class, %args) = @_; $args{schema} ||= [qw/ Core Perl /]; $class->SUPER::new(%args); } sub Load { my ($yaml) = @_; __PACKAGE__->new->load_string($yaml); } sub LoadFile { my ($file) = @_; __PACKAGE__->new->load_file($file); } sub Dump { my (@data) = @_; __PACKAGE__->new->dump_string(@data); } sub DumpFile { my ($file, @data) = @_; __PACKAGE__->new->dump_file($file, @data); } 1; __END__ =pod =encoding utf-8 =head1 NAME YAML::PP::Perl - Convenience module for loading and dumping Perl objects =head1 SYNOPSIS use YAML::PP::Perl; my @docs = YAML::PP::Perl->new->load_string($yaml); my @docs = YAML::PP::Perl::Load($yaml); # same as use YAML::PP; my $yp = YAML::PP->new( schema => [qw/ Core Perl /] ); my @docs = $yp->load_string($yaml); =head1 DESCRIPTION This is just for convenience. It will create a YAML::PP object using the default schema (C) and the L schema. See L for documentation. =head1 METHODS =over =item Load, Dump, LoadFile, DumpFile These work like the functions in L, just adding the C schema. =item new Constructor, works like in L, just adds the C schema to the list of arguments. =back YAML-PP-v0.43.0/lib/YAML/PaxHeaders/PP.pm0000644000000000000000000000013215263373362014320 xustar0030 mtime=1791882994.976341702 30 atime=1791882994.976281149 30 ctime=1791882994.976341702 YAML-PP-v0.43.0/lib/YAML/PP.pm0000644000175000017500000011324615263373362013761 0ustar00tinatina# ABSTRACT: YAML 1.2 Processor use strict; use warnings; package YAML::PP; our $VERSION = 'v0.43.0'; # VERSION use YAML::PP::Schema; use YAML::PP::Schema::JSON; use YAML::PP::Loader; use YAML::PP::Dumper; use Scalar::Util qw/ blessed /; use Carp qw/ croak /; use Exporter 'import'; our @EXPORT_OK = qw/ Load LoadFile Dump DumpFile /; my %YAML_VERSIONS = ('1.1' => 1, '1.2' => 1); sub new { my ($class, %args) = @_; my $bool = delete $args{boolean}; $bool = 'perl' unless defined $bool; my $schemas = delete $args{schema} || ['+']; my $cyclic_refs = delete $args{cyclic_refs} || 'fatal'; my $indent = delete $args{indent}; my $width = delete $args{width}; my $writer = delete $args{writer}; my $header = delete $args{header}; my $footer = delete $args{footer}; my $require_footer = delete $args{require_footer}; my $duplicate_keys = delete $args{duplicate_keys}; my $max_depth = delete $args{max_depth}; my $yaml_version = $class->_arg_yaml_version(delete $args{yaml_version}); my $default_yaml_version = $yaml_version->[0]; my $version_directive = delete $args{version_directive}; my $preserve = delete $args{preserve}; my $parser = delete $args{parser}; my $emitter = delete $args{emitter} || { indent => $indent, width => $width, writer => $writer, }; if (keys %args) { die "Unexpected arguments: " . join ', ', sort keys %args; } my %schemas; for my $v (@$yaml_version) { my $schema; if (blessed($schemas) and $schemas->isa('YAML::PP::Schema')) { $schema = $schemas; } else { $schema = YAML::PP::Schema->new( boolean => $bool, yaml_version => $v, ); $schema->load_subschemas(@$schemas); } $schemas{ $v } = $schema; } my $default_schema = $schemas{ $default_yaml_version }; my $loader = YAML::PP::Loader->new( schemas => \%schemas, cyclic_refs => $cyclic_refs, parser => $parser, default_yaml_version => $default_yaml_version, preserve => $preserve, duplicate_keys => $duplicate_keys, require_footer => $require_footer, max_depth => $max_depth, ); my $dumper = YAML::PP::Dumper->new( schema => $default_schema, emitter => $emitter, header => $header, footer => $footer, version_directive => $version_directive, preserve => $preserve, ); my $self = bless { schema => \%schemas, loader => $loader, dumper => $dumper, }, $class; return $self; } sub clone { my ($self) = @_; my $clone = { schema => $self->schema, loader => $self->loader->clone, dumper => $self->dumper->clone, }; return bless $clone, ref $self; } sub _arg_yaml_version { my ($class, $version) = @_; my @versions = ('1.2'); if (defined $version) { @versions = (); if (not ref $version) { $version = [$version]; } for my $v (@$version) { unless ($YAML_VERSIONS{ $v }) { croak "YAML Version '$v' not supported"; } push @versions, $v; } } return \@versions; } sub loader { if (@_ > 1) { $_[0]->{loader} = $_[1] } return $_[0]->{loader}; } sub dumper { if (@_ > 1) { $_[0]->{dumper} = $_[1] } return $_[0]->{dumper}; } sub schema { if (@_ > 1) { $_[0]->{schema}->{'1.2'} = $_[1] } return $_[0]->{schema}->{'1.2'}; } sub default_schema { my ($self, %args) = @_; my $schema = YAML::PP::Schema->new( boolean => $args{boolean}, ); $schema->load_subschemas(qw/ Core /); return $schema; } sub load_string { my ($self, $yaml) = @_; return $self->loader->load_string($yaml); } sub load_file { my ($self, $file) = @_; return $self->loader->load_file($file); } sub dump { my ($self, @data) = @_; return $self->dumper->dump(@data); } sub dump_string { my ($self, @data) = @_; return $self->dumper->dump_string(@data); } sub dump_file { my ($self, $file, @data) = @_; return $self->dumper->dump_file($file, @data); } # legagy interface sub Load { my ($yaml) = @_; YAML::PP->new->load_string($yaml); } sub LoadFile { my ($file) = @_; YAML::PP->new->load_file($file); } sub Dump { my (@data) = @_; YAML::PP->new->dump_string(@data); } sub DumpFile { my ($file, @data) = @_; YAML::PP->new->dump_file($file, @data); } sub preserved_scalar { my ($self, $value, %args) = @_; my $scalar = YAML::PP::Preserve::Scalar->new( value => $value, %args, ); return $scalar; } sub preserved_mapping { my ($self, $hash, %args) = @_; my $data = {}; tie %$data, 'YAML::PP::Preserve::Hash'; %$data = %$hash; my $t = tied %$data; $t->{style} = $args{style}; $t->{alias} = $args{alias}; return $data; } sub preserved_sequence { my ($self, $array, %args) = @_; my $data = []; tie @$data, 'YAML::PP::Preserve::Array'; push @$data, @$array; my $t = tied @$data; $t->{style} = $args{style}; $t->{alias} = $args{alias}; return $data; } package YAML::PP::Preserve::Hash; # experimental use Tie::Hash; # provides Tie::StdHash, our parent below our @ISA = qw/ Tie::StdHash /; use Scalar::Util qw/ reftype blessed /; sub TIEHASH { my ($class, %args) = @_; my $self = bless { keys => [keys %args], data => { %args }, }, $class; } sub STORE { my ($self, $key, $val) = @_; my $keys = $self->{keys}; unless (exists $self->{data}->{ $key }) { push @$keys, $key; } if (ref $val and not blessed($val)) { if (reftype($val) eq 'HASH' and not tied %$val) { tie %$val, 'YAML::PP::Preserve::Hash', %$val; } elsif (reftype($val) eq 'ARRAY' and not tied @$val) { tie @$val, 'YAML::PP::Preserve::Array', @$val; } } $self->{data}->{ $key } = $val; } sub FIRSTKEY { my ($self) = @_; return $self->{keys}->[0]; } sub NEXTKEY { my ($self, $last) = @_; my $keys = $self->{keys}; for my $i (0 .. $#$keys) { if ("$keys->[ $i ]" eq "$last") { return $keys->[ $i + 1 ]; } } return; } sub FETCH { my ($self, $key) = @_; my $val = $self->{data}->{ $key }; } sub DELETE { my ($self, $key) = @_; @{ $self->{keys} } = grep { "$_" ne "$key" } @{ $self->{keys} }; delete $self->{data}->{ $key }; } sub EXISTS { my ($self, $key) = @_; return exists $self->{data}->{ $key }; } sub CLEAR { my ($self) = @_; $self->{keys} = []; $self->{data} = {}; } sub SCALAR { my ($self) = @_; return scalar %{ $self->{data} }; } package YAML::PP::Preserve::Array; # experimental use Tie::Array; # provides Tie::StdArray, our parent below our @ISA = qw/ Tie::StdArray /; use Scalar::Util qw/ reftype blessed /; sub TIEARRAY { my ($class, @items) = @_; my $self = bless { data => [@items], }, $class; return $self; } sub FETCH { my ($self, $i) = @_; return $self->{data}->[ $i ]; } sub FETCHSIZE { my ($self) = @_; return $#{ $self->{data} } + 1; } sub _preserve { my ($val) = @_; if (ref $val and not blessed($val)) { if (reftype($val) eq 'HASH' and not tied %$val) { tie %$val, 'YAML::PP::Preserve::Hash', %$val; } elsif (reftype($val) eq 'ARRAY' and not tied @$val) { tie @$val, 'YAML::PP::Preserve::Array', @$val; } } return $val; } sub STORE { my ($self, $i, $val) = @_; _preserve($val); $self->{data}->[ $i ] = $val; } sub PUSH { my ($self, @args) = @_; push @{ $self->{data} }, map { _preserve $_ } @args; } sub STORESIZE { my ($self, $i) = @_; $#{ $self->{data} } = $i - 1; } sub DELETE { my ($self, $i) = @_; delete $self->{data}->[ $i ]; } sub EXISTS { my ($self, $i) = @_; return exists $self->{data}->[ $i ]; } sub CLEAR { my ($self) = @_; $self->{data} = []; } sub SHIFT { my ($self) = @_; shift @{ $self->{data} }; } sub UNSHIFT { my ($self, @args) = @_; unshift @{ $self->{data} }, map { _preserve $_ } @args; } sub SPLICE { my ($self, $offset, $length, @args) = @_; splice @{ $self->{data} }, $offset, $length, map { _preserve $_ } @args; } sub EXTEND {} package YAML::PP::Preserve::Scalar; use overload fallback => 1, '+' => \&value, '""' => \&value, 'bool' => \&value, ; sub new { my ($class, %args) = @_; my $self = { %args, }; bless $self, $class; } sub value { $_[0]->{value} } sub tag { $_[0]->{tag} } sub style { $_[0]->{style} || 0 } sub alias { $_[0]->{alias} } 1; __END__ =pod =encoding utf-8 =head1 NAME YAML::PP - YAML 1.2 processor =head1 SYNOPSIS WARNING: Most of the inner API is not stable yet. Here are a few examples of the basic load and dump methods: use YAML::PP; my $ypp = YAML::PP->new; my $yaml = <<'EOM'; --- # Document one is a mapping name: Tina age: 29 favourite language: Perl --- # Document two is a sequence - plain string - 'in single quotes' - "in double quotes we have escapes! like \t and \n" - | # a literal block scalar line1 line2 - > # a folded block scalar this is all one single line because the linebreaks will be folded EOM my @documents = $ypp->load_string($yaml); my @documents = $ypp->load_file($filename); my $yaml = $ypp->dump_string($data1, $data2); $ypp->dump_file($filename, $data1, $data2); # Enable perl data types and objects my $ypp = YAML::PP->new(schema => [qw/ + Perl /]); my $yaml = $yp->dump_string($data_with_perl_objects); # Legacy interface use YAML::PP qw/ Load Dump LoadFile DumpFile /; my @documents = Load($yaml); my @documents = LoadFile($filename); my @documents = LoadFile($filehandle); my $yaml = = Dump(@documents); DumpFile($filename, @documents); DumpFile($filenhandle @documents); Some utility scripts, mostly useful for debugging: # Load YAML into a data structure and dump with Data::Dumper yamlpp-load < file.yaml # Load and Dump yamlpp-load-dump < file.yaml # Print the events from the parser in yaml-test-suite format yamlpp-events < file.yaml # Parse and emit events directly without loading yamlpp-parse-emit < file.yaml # Create ANSI colored YAML. Can also be useful for invalid YAML, showing # you the exact location of the error yamlpp-highlight < file.yaml =head1 DESCRIPTION YAML::PP is a modular YAML processor. It aims to support C and C. See L. Some (rare) syntax elements are not yet supported and documented below. YAML is a serialization language. The YAML input is called "YAML Stream". A stream consists of one or more "Documents", separated by a line with a document start marker C<--->. A document optionally ends with the document end marker C<...>. This allows one to process continuous streams additionally to a fixed input file or string. The YAML::PP frontend will currently load all documents, and return only the first if called with scalar context. The YAML backend is implemented in a modular way that allows one to add custom handling of YAML tags, perl objects and data types. The inner API is not yet stable. Suggestions welcome. You can check out all current parse and load results from the yaml-test-suite here: L =head1 METHODS =head2 new my $ypp = YAML::PP->new; # use YAML 1.2 Failsafe Schema my $ypp = YAML::PP->new( schema => ['Failsafe'] ); # use YAML 1.2 JSON Schema my $ypp = YAML::PP->new( schema => ['JSON'] ); # use YAML 1.2 Core Schema my $ypp = YAML::PP->new( schema => ['Core'] ); # Die when detecting cyclic references my $ypp = YAML::PP->new( cyclic_refs => 'fatal' ); my $ypp = YAML::PP->new( boolean => 'perl', schema => ['Core'], cyclic_refs => 'fatal', indent => 4, header => 1, footer => 0, version_directive => 0, require_footer => 0, max_depth => 512, ); Options: =over =item boolean Values: C (currently default), C, C, C This option is for loading and dumping. In case of perl 5.36 and later, builtin booleans should work out of the box (since YAML::PP >= 0.38.0). print YAML::PP->new->dump_string([ builtin::true, !1 ]); # --- # - true # - false For earlier perl versions, you can use "pseudo" booleans like documented in the following examples. # load/dump booleans via boolean.pm my $ypp = YAML::PP->new( boolean => 'boolean' ); # load/dump booleans via JSON::PP::true/false my $ypp = YAML::PP->new( boolean => 'JSON::PP' ); You can also specify more than one class, comma separated. This is important for dumping. boolean => 'JSON::PP,boolean' Booleans will be loaded as JSON::PP::Booleans, but when dumping, also 'boolean' objects will be recognized boolean => 'JSON::PP,*' Booleans will be loaded as JSON::PP::Booleans, but when dumping, all currently supported boolean classes will be recognized boolean => '*' Booleans will be loaded as perl booleans, but when dumping, all currently supported boolean classes will be recognized boolean => '' Booleans will be loaded as perl booleans, but when dumping, nothing will be recognized as booleans. This option is for backwards compatibility for perl versions < 5.36, if you rely on [!!1, !1] being dumped as [1, '']. The option C was introduced when experimental boolean support was added to perl 5.36. Since it will not be experimental anymore in perl 5.40 \o/ the option is deprecated and the same as C. =item schema Default: C<['Core']> This option is for loading and dumping. Array reference. Here you can define what schema to use. Supported standard Schemas are: C, C, C, C. To get an overview how the different Schemas behave, see L Additionally you can add further schemas, for example C. =item cyclic_refs Default: C (since 0.037) Before the default was C, but this can lead to memory leaks when loading on untrusted data, so it was changed to C by default. This option is for loading only. Defines what to do when a cyclic reference is detected when loading. # fatal - die # warn - Just warn about them and replace with undef # ignore - replace with undef # allow - Default =item duplicate_keys Default: 0 Since version 0.027 This option is for loading. The YAML Spec says duplicate mapping keys should be forbidden. When set to true, duplicate keys in mappings are allowed (and will overwrite the previous key). When set to false, duplicate keys will result in an error when loading. This is especially useful when you have a longer mapping and don't see the duplicate key in your editor: --- a: 1 b: 2 # ............. a: 23 # error =item indent Default: 2 This option is for dumping. Use that many spaces for indenting =item width Since version 0.025 Default: 80 This option is for dumping. Maximum columns when dumping. This is only respected when dumping flow collections right now. in the future it will be used also for wrapping long strings. =item header Default: 1 This option is for dumping. Print document header C<---> =item footer Default: 0 Since version v0.39 This option is for dumping. Print document footer C<...> =item require_footer Default: 0 Will require a C<...> at the end of each document. This can be useful in a context where you want to make sure you received the complete content, for example over network. # Good --- a: 1 ... --- a: 2 ... # Bad --- a: 1 --- a: 2 =item max_depth Since version v0.40 default: 512 Loading deeply nested, but still small YAML documents, like [[[[[[[[[[...]]]]]]]]]] can be significantly slower than a "normal" document with the same size. By default the depth is limited to 512, which should be more than enough for 99% of the use cases. =item yaml_version Since version 0.020 This option is for loading and dumping. Default: C<1.2> Note that in this case, a directive C<%YAML 1.1> will basically be ignored and everything loaded with the C<1.2 Core> Schema. If you want to support both YAML 1.1 and 1.2, you have to specify that, and the schema (C or C) will be chosen automatically. my $yp = YAML::PP->new( yaml_version => ['1.2', '1.1'], ); This is the same as my $yp = YAML::PP->new( schema => ['+'], yaml_version => ['1.2', '1.1'], ); because the C<+> stands for the default schema per version. When loading, and there is no C<%YAML> directive, C<1.2> will be considered as default, and the C schema will be used. If there is a C<%YAML 1.1> directive, the C schema will be used. Of course, you can also make C<1.1> the default: my $yp = YAML::PP->new( yaml_version => ['1.1', '1.2'], ); You can also specify C<1.1> only: my $yp = YAML::PP->new( yaml_version => ['1.1'], ); In this case also documents with C<%YAML 1.2> will be loaded with the C schema. =item version_directive Since version 0.020 This option is for dumping. Default: 0 Print Version Directive C<%YAML 1.2> (or C<%YAML 1.1>) on top of each YAML document. It will use the first version specified in the C option. =item preserve Since version 0.021 Default: false This option is for loading and dumping. Preserving scalar styles is still experimental. use YAML::PP::Common qw/ :PRESERVE /; # Preserve the order of hash keys my $yp = YAML::PP->new( preserve => PRESERVE_ORDER ); # Preserve the quoting style of scalars my $yp = YAML::PP->new( preserve => PRESERVE_SCALAR_STYLE ); # Preserve block/flow style (since 0.024) my $yp = YAML::PP->new( preserve => PRESERVE_FLOW_STYLE ); # Preserve alias names (since 0.027) my $yp = YAML::PP->new( preserve => PRESERVE_ALIAS ); # Combine, e.g. preserve order and scalar style my $yp = YAML::PP->new( preserve => PRESERVE_ORDER | PRESERVE_SCALAR_STYLE ); Do NOT rely on the internal implementation of it. If you load the following input: --- z: 1 a: 2 --- - plain - 'single' - "double" - | literal - > folded --- block mapping: &alias flow sequence: [a, b] same mapping: *alias flow mapping: {a: b} with this code: my $yp = YAML::PP->new( preserve => PRESERVE_ORDER | PRESERVE_SCALAR_STYLE | PRESERVE_FLOW_STYLE | PRESERVE_ALIAS ); my ($hash, $styles, $flow) = $yp->load_file($file); $yp->dump_file($hash, $styles, $flow); Then dumping it will return the same output. Note that YAML allows repeated definition of anchors. They cannot be preserved with YAML::PP right now. Example: --- - &seq [a] - *seq - &seq [b] - *seq Because the data could be shuffled before dumping again, the anchor definition could be broken. In this case repeated anchor names will be discarded when loading and dumped with numeric anchors like usual. Implementation: When loading, hashes will be tied to an internal class (C) that keeps the key order. Scalars will be returned as objects of an internal class (C) with overloading. If you assign to such a scalar, the object will be replaced by a simple scalar. # assignment, style gets lost $styles->[1] .= ' append'; You can also pass C<1> as a value. In this case all preserving options will be enabled, also if there are new options added in the future. There are also methods to create preserved nodes from scratch. See the C L<"METHODS"> below. =back =head2 load_string my $doc = $ypp->load_string("foo: bar"); my @docs = $ypp->load_string("foo: bar\n---\n- a"); Input should be Unicode characters. So if you read from a file, you should decode it, for example with C. Note that in scalar context, C and C return the first document (like L), while L and L return the last. =head2 load_file my $doc = $ypp->load_file("file.yaml"); my @docs = $ypp->load_file("file.yaml"); Strings will be loaded as unicode characters. =head2 dump_string my $yaml = $ypp->dump_string($doc); my $yaml = $ypp->dump_string($doc1, $doc2); my $yaml = $ypp->dump_string(@docs); Input strings should be Unicode characters. Output will return Unicode characters. So if you want to write that to a file (or pass to YAML::XS, for example), you typically encode it via C. =head2 dump_file $ypp->dump_file("file.yaml", $doc); $ypp->dump_file("file.yaml", $doc1, $doc2); $ypp->dump_file("file.yaml", @docs); Input data should be Unicode characters. =head2 dump This will dump to a predefined writer. By default it will just use the L and output a string. my $writer = MyWriter->new(\my $output); my $yp = YAML::PP->new( writer => $writer, ); $yp->dump($data); =head2 preserved_scalar Since version 0.024 Experimental. Please report bugs or let me know this is useful and works. You can define a certain scalar style when dumping data. Figuring out the best style is a hard task and practically impossible to get it right for all cases. It's also a matter of taste. use YAML::PP::Common qw/ PRESERVE_SCALAR_STYLE YAML_LITERAL_SCALAR_STYLE /; my $yp = YAML::PP->new( preserve => PRESERVE_SCALAR_STYLE, ); # a single linebreak would normally be dumped with double quotes: "\n" my $scalar = $yp->preserved_scalar("\n", style => YAML_LITERAL_SCALAR_STYLE ); my $data = { literal => $scalar }; my $dump = $yp->dump_string($data); # output --- literal: |+ ... =head2 preserved_mapping, preserved_sequence Since version 0.024 Experimental. Please report bugs or let me know this is useful and works. With this you can define which nodes are dumped with the more compact flow style instead of block style. If you add C to the C option, it will also keep the order of the keys in a hash. use YAML::PP::Common qw/ PRESERVE_ORDER PRESERVE_FLOW_STYLE YAML_FLOW_MAPPING_STYLE YAML_FLOW_SEQUENCE_STYLE /; my $yp = YAML::PP->new( preserve => PRESERVE_FLOW_STYLE | PRESERVE_ORDER ); my $hash = $yp->preserved_mapping({}, style => YAML_FLOW_MAPPING_STYLE); # Add values after initialization to preserve order %$hash = (z => 1, a => 2, y => 3, b => 4); my $array = $yp->preserved_sequence([23, 24], style => YAML_FLOW_SEQUENCE_STYLE); my $data = $yp->preserved_mapping({}); %$data = ( map => $hash, seq => $array ); my $dump = $yp->dump_string($data); # output --- map: {z: 1, a: 2, y: 3, b: 4} seq: [23, 24] =head2 loader Returns or sets the loader object, by default L =head2 dumper Returns or sets the dumper object, by default L =head2 schema Returns or sets the schema object =head2 default_schema Creates and returns the default schema =head1 FUNCTIONS The functions C, C, C and C are provided as a drop-in replacement for other existing YAML processors. No function is exported by default. Note that in scalar context, C and C return the first document (like L), while L and L return the last. =over =item Load use YAML::PP qw/ Load /; my $doc = Load($yaml); my @docs = Load($yaml); Works like C. =item LoadFile use YAML::PP qw/ LoadFile /; my $doc = LoadFile($file); my @docs = LoadFile($file); my @docs = LoadFile($filehandle); Works like C. =item Dump use YAML::PP qw/ Dump /; my $yaml = Dump($doc); my $yaml = Dump(@docs); Works like C. =item DumpFile use YAML::PP qw/ DumpFile /; DumpFile($file, $doc); DumpFile($file, @docs); DumpFile($filehandle, @docs); Works like C. =back =head1 PLUGINS You can alter the behaviour of YAML::PP by using the following schema classes: =over =item L One of the three YAML 1.2 official schemas =item L One of the three YAML 1.2 official schemas. =item L One of the three YAML 1.2 official schemas. Default =item L Schema implementing the most common YAML 1.1 types =item L Serializing Perl objects and types =item L Serializing binary data =item L YAML 1.1 merge keys for mappings =item L Experimental. It was accidentally added in 0.38.1, and unknown tags forbidden. This was reverted in 0.39.0 By default they will result in an error. =item L Include other YAML files via C tags =item L Deprecated. See option C =back To make the parsing process faster, you can plugin the libyaml parser with L. =head1 IMPLEMENTATION The process of loading and dumping is split into the following steps: Load: YAML Stream Tokens Event List Data Structure ---------> ---------> ---------> lex parse construct Dump: Data Structure Event List YAML Stream ---------> ---------> represent emit You can dump basic perl types like hashes, arrays, scalars (strings, numbers). For dumping blessed objects and things like coderefs have a look at L/L. =over =item L The Lexer is reading the YAML stream into tokens. This makes it possible to generate syntax highlighted YAML output. Note that the API to retrieve the tokens will change. =item L The Parser retrieves the tokens from the Lexer. The main YAML content is then parsed with the Grammar. =item L =item L The Constructor creates a data structure from the Parser events. =item L The Loader combines the constructor and parser. =item L The Dumper will delegate to the Representer =item L The Representer will create Emitter events from the given data structure. =item L The Emitter creates a YAML stream. =back =head2 YAML::PP::Parser Still TODO: =over 4 =item Implicit collection keys --- [ a, b, c ]: value =item Implicit mapping in flow style sequences This is supported since 0.029 (except some not relevant cases): --- [ a, b, c: d ] # equals [ a, b, { c: d } ] =item Plain mapping keys ending with colons --- key ends with two colons::: value This was implemented in 0.037. =item Supported Characters If you have valid YAML that's not parsed, or the other way round, please create an issue. =item Line and Column Numbers You will see line and column numbers in the error message. The column numbers might still be wrong in some cases. =item Error Messages The error messages need to be improved. =item Unicode Surrogate Pairs Currently loaded as single characters without validating =item Possibly more =back =head2 YAML::PP::Constructor The Constructor now supports all three YAML 1.2 Schemas, Failsafe, JSON and Core. Additionally you can choose the schema for YAML 1.1 as C. Too see what strings are resolved as booleans, numbers, null etc. look at L. You can choose the Schema like this: my $ypp = YAML::PP->new(schema => ['JSON']); # default is 'Core' The Tags C and C are still ignored for now. It supports: =over 4 =item Handling of Anchors/Aliases Like in modules like L, the Constructor will use references for mappings and sequences, but obviously not for scalars. L uses real aliases, which allows also aliasing scalars. I might add an option for that since aliasing is now available in pure perl. =item Boolean Handling You can choose between C<'perl'> (1/'', currently default), C<'JSON::PP'> and C<'boolean'>.pm for handling boolean types. That allows you to dump the data structure with one of the JSON modules without losing information about booleans. =item Numbers Numbers are created as real numbers instead of strings, so that they are dumped correctly by modules like L or L, for example. =item Complex Keys Mapping Keys in YAML can be more than just scalars. Of course, you can't load that into a native perl structure. The Constructor will stringify those keys with L instead of just returning something like C. Example: use YAML::PP; use JSON::PP; my $ypp = YAML::PP->new; my $coder = JSON::PP->new->ascii->pretty->allow_nonref->canonical; my $yaml = <<'EOM'; complex: ? ? a: 1 c: 2 : 23 : 42 EOM my $data = $yppl->load_string($yaml); say $coder->encode($data); __END__ { "complex" : { "{'{a => 1,c => 2}' => 23}" : 42 } } =back TODO: =over 4 =item Parse Tree I would like to generate a complete parse tree, that allows you to manipulate the data structure and also dump it, including all whitespaces and comments. The spec says that this is throwaway content, but I read that many people wish to be able to keep the comments. =back =head2 YAML::PP::Dumper, YAML::PP::Emitter The Dumper should be able to dump strings correctly, adding quotes whenever a plain scalar would look like a special string, like C, or when it contains or starts with characters that are not allowed. Most strings will be dumped as plain scalars without quotes. If they contain special characters or have a special meaning, they will be dumped with single quotes. If they contain control characters, including <"\n">, they will be dumped with double quotes. It will recognize JSON::PP::Boolean and boolean.pm objects and dump them correctly. Numbers which also have a C flag will be recognized as numbers and not as strings: my $int = 23; say "int: $int"; # $int will now also have a PV flag That means that if you accidentally use a string in numeric context, it will also be recognized as a number: my $string = "23"; my $something = $string + 0; print $yp->dump_string($string); # will be emitted as an integer without quotes! The layout is like libyaml output: key: - a - b - c --- - key1: 1 key2: 2 key3: 3 --- - - a1 - a2 - - b1 - b2 =head1 FAQ - Frequently Asked Questions =over =item Are C<<<> merge keys supported? Yes, this can be enabled optionally, see L =item Is there a linter / formatter for YAML There is the widely used L<"yamllint"|https://yamllint.readthedocs.io/>, based on python's PyYAML. It is very configurable and will report errors or warnings. It cannot format. Now there is also L, which will format the given file according to your configuration. So far only a few configuration options exist, but they can already be quite helpful. =back =head1 Which YAML module should I use? There are many YAML modules on CPAN. For historical reasons some of them aren't handling YAML correctly. Most of them are not compatible with the YAML spec and with each other, meaning they can interpret the same YAML differently. The behaviours we are discussing here can be divided into parsing issues (syntax) and loading/constructing issues (for example type resolving which decides what is a number, boolean or null). See also L (parsing) and L (loading). =over =item L<"YAML.pm"|YAML> It was written even before the YAML 1.0 spec was finished and by that enabled perl users to process YAML very early. It might work for you if you have simple data, but it's missing quite some features and can also produce YAML that doesn't roundtrip. Nowadays it might be a good idea to switch. =item L A libyaml binding that is robust and widely used. However, there are two things to consider. 1. (syntax) libyaml diverged from the spec in several aspects. They are rare though. 2. The type resolving does not adhere to YAML 1.1 or YAML 1.2, meaning it is incompatible with other YAML libraries in perl or other languages. =item L It implements both a tiny subset of YAML, but also a superset. Meaning it will happily accept some YAML documents that are not officially valid. Type resolving is also not implemented according to the spec. =item L A binding to libsyck. It is even less compatible to YAML than libyaml. Also type resolving is not implemented according to the spec. =item L Regarding YAML syntax, it is the second most YAML 1.2 compatible perl module. The cases it cannot (yet) parse are not relevant in perl programming, e.g. hash keys that are not strings. Regarding type resolving, it is compatible with the YAML 1.2 Core schema, so it should be possible to exchange data as YAML with other libraries in other languages. One downside is that it is the slowest perl YAML module. =item L This is a parser generated by the YAML grammar, and it's passing all official tests. A L frontend exists that you can use just like YAML::PP. It is quite slow (although it might be ok for small files depending on the use case). The error messages it creates on invalid YAML are not helpful currently. =item L This combines the L binding for parsing with the YAML::PP frontend for loading and type resolving. It is faster than YAML::PP but slower than YAML::XS. The divergence from the YAML spec regarding syntax is usually not a problem, and at the same time you have the advantage of being compatible to the YAML 1.2 Core Schema. =back =head1 WHY Why did I start to write a new YAML module? All the available parsers and loaders for Perl are behaving differently, and more important, aren't conforming to the spec. L is doing pretty well, but C only handles YAML 1.1 and diverges a bit from the spec. The pure perl loaders lack support for a number of features. I was going over L.pm issues end of 2016, integrating old patches from rt.cpan.org and creating some pull requests myself. I realized that it would be difficult to patch YAML.pm to parse YAML 1.1 or even 1.2, and it would also break existing usages relying on the current behaviour. In 2016 Ingy döt Net initiated two really cool projects: =over 4 =item L<"YAML TEST SUITE"> =item L<"YAML EDITOR"> =back These projects are a big help for any developer. So I got the idea to write my own parser and started on New Year's Day 2017. Without the test suite and the editor I would have never started this. I also started another YAML Test project which allows one to get a quick overview of which frameworks support which YAML features: =over 4 =item L<"YAML TEST MATRIX"> =back =head2 YAML TEST SUITE L It contains almost 400 test cases and expected parsing events and more. There will be more tests coming. This test suite allows you to write parsers without turning the examples from the Specification into tests yourself. Also the examples aren't completely covering all cases - the test suite aims to do that. Thanks also to Felix Krause, who is writing a YAML parser in Nim. He turned all the spec examples into test cases. =head2 YAML EDITOR This is a tool to play around with several YAML parsers and loaders in vim. L The project contains the code to build the frameworks (16 as of this writing) and put it into one big Docker image. It also contains the yaml-editor itself, which will start a vim in the docker container. It uses a lot of funky vimscript that makes playing with it easy and useful. You can choose which frameworks you want to test and see the output in a grid of vim windows. Especially when writing a parser it is extremely helpful to have all the test cases and be able to play around with your own examples to see how they are handled. =head2 YAML TEST MATRIX I was curious to see how the different frameworks handle the test cases, so, using the test suite and the docker image, I wrote some code that runs the tests, manipulates the output to compare it with the expected output, and created a matrix view. L You can find the latest build at L =head1 CONTRIBUTORS =over =item Ingy döt Net Ingy is one of the creators of YAML. In 2016 he started the YAML Test Suite and the YAML Editor. He also made useful suggestions on the class hierarchy of YAML::PP. =item Felix "flyx" Krause Felix answered countless questions about the YAML Specification. =back =head1 SEE ALSO =over =item L =item L =item L =item L =item L =item L =item L =item L =back =head1 SPONSORS The Perl Foundation L sponsored this project (and the YAML Test Suite) with a grant of 2500 USD in 2017-2018. =head1 COPYRIGHT AND LICENSE Copyright 2017-2022 by Tina Müller This library is free software and may be distributed under the same terms as perl itself. =cut YAML-PP-v0.43.0/PaxHeaders/MANIFEST.SKIP0000644000000000000000000000012615263373362014034 xustar0029 mtime=1791882994.97514741 28 atime=1791882994.9750548 29 ctime=1791882994.97514741 YAML-PP-v0.43.0/MANIFEST.SKIP0000644000175000017500000000017515263373362013466 0ustar00tinatina^dev ^test-suite/.git ^cover_db ^local ^dev.sh ^nytprof ^nytprof.out ^pod2htmd.tmp ^new_tests ^gh-pages ^bench ^Makefile.dev YAML-PP-v0.43.0/PaxHeaders/xt0000644000000000000000000000013215263373362012511 xustar0030 mtime=1791882994.980838249 30 atime=1791882994.974607953 30 ctime=1791882994.980838249 YAML-PP-v0.43.0/xt/0000755000175000017500000000000015263373362012220 5ustar00tinatinaYAML-PP-v0.43.0/xt/PaxHeaders/02.pod-cover.t0000644000000000000000000000013215263373362015071 xustar0030 mtime=1791882994.980930789 30 atime=1791882994.980838249 30 ctime=1791882994.980930789 YAML-PP-v0.43.0/xt/02.pod-cover.t0000644000175000017500000000057615263373362014533 0ustar00tinatinause Test::More; eval "use Test::Pod::Coverage 1.00"; plan skip_all => "Test::Pod::Coverage 1.00 required for testing POD coverage" if $@; my $xsaccessor = eval "use Class::XSAccessor; 1"; unless ($xsaccessor) { diag "\n----------------"; diag "Class::XSAccessor is not installed. Class attributes might not be checked"; diag "----------------"; } all_pod_coverage_ok(); YAML-PP-v0.43.0/xt/PaxHeaders/03.spelling.t0000644000000000000000000000012715263373362015015 xustar0029 mtime=1791882994.98030815 29 atime=1791882994.98021135 29 ctime=1791882994.98030815 YAML-PP-v0.43.0/xt/03.spelling.t0000644000175000017500000000066015263373362014445 0ustar00tinatina#!/usr/bin/perl use strict; use warnings; use Test::More; use Test::Spelling; use Pod::Wordlist; add_stopwords(); all_pod_files_spelling_ok( qw( bin lib ) ); __DATA__ ansi dumpcode DumpFile failsafe FUNCTIONS header loadcode libsyck libyaml linter LoadFile Nim PyYAML RAML refref Representer roundtrip scalarref schemas Schema Schemas superset tml TODO unicode USD vimscript yaml yamllint Ingy döt Net flyx Krause Müller YAML-PP-v0.43.0/xt/PaxHeaders/04.pod.t0000644000000000000000000000013215263373362013757 xustar0030 mtime=1791882994.974765446 30 atime=1791882994.974607953 30 ctime=1791882994.974765446 YAML-PP-v0.43.0/xt/04.pod.t0000644000175000017500000000025315263373362013411 0ustar00tinatina#!/usr/bin/perl use strict; use warnings; use Test::More; eval "use Test::Pod 1.00"; plan skip_all => "Test::Pod 1.00 required for testing POD" if $@; all_pod_files_ok(); YAML-PP-v0.43.0/PaxHeaders/t0000644000000000000000000000013215263373362012321 xustar0030 mtime=1791882994.992710984 30 atime=1791882994.974068775 30 ctime=1791882994.992710984 YAML-PP-v0.43.0/t/0000755000175000017500000000000015263373362012030 5ustar00tinatinaYAML-PP-v0.43.0/t/PaxHeaders/34.emit-scalar-styles.t0000644000000000000000000000013215263373362016532 xustar0030 mtime=1791882994.992804013 30 atime=1791882994.992710984 30 ctime=1791882994.992804013 YAML-PP-v0.43.0/t/34.emit-scalar-styles.t0000644000175000017500000000355115263373362016170 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use Data::Dumper; use YAML::PP::Parser; use YAML::PP::Emitter; use YAML::PP::Writer; use YAML::PP; use YAML::PP::Common qw/ :STYLES /; my @input = ( "", " ", "\n", "\na", "a", "a\n", " a", "a ", " a ", "\na\n", "\n a", "\n a\n", "\na \n", "a \n", "\n a \n", "\n\n a \n\n", "\n \n a \n\n", "\n \n a \n \n", " \n a \n ", " \n\n a \n\n ", ); my $emitter = YAML::PP::Emitter->new(); $emitter->set_writer(YAML::PP::Writer->new); my $yp = YAML::PP->new( schema => ['Failsafe'] ); #my @styles = qw/ : " ' | > /; my @styles = ( YAML_PLAIN_SCALAR_STYLE, YAML_DOUBLE_QUOTED_SCALAR_STYLE, YAML_SINGLE_QUOTED_SCALAR_STYLE, YAML_LITERAL_SCALAR_STYLE, YAML_FOLDED_SCALAR_STYLE ); for my $style (@styles) { subtest "style $style" => sub { for my $input (@input) { $emitter->init; local $Data::Dumper::Useqq = 1; my $label = Data::Dumper->Dump([$input], ['input']); chomp $label; $emitter->stream_start_event; $emitter->document_start_event({ implicit => 1 }); $emitter->sequence_start_event; $emitter->scalar_event({ value => $input, style => $style }); $emitter->sequence_end_event; $emitter->document_end_event({ implicit => 0 }); $emitter->stream_end_event; my $yaml = $emitter->writer->output; $emitter->finish; my $data = $yp->load_string($yaml); cmp_ok($data->[0], 'eq', $input, "style $style - $label") or do { diag ">>$yaml<<\n"; explain $data; diag(Data::Dumper->Dump([$data], ['data'])); diag(Data::Dumper->Dump([$yaml], ['yaml'])); }; } }; } done_testing; YAML-PP-v0.43.0/t/PaxHeaders/17.load-complex-keys.t0000644000000000000000000000013215263373362016346 xustar0030 mtime=1791882994.992431338 30 atime=1791882994.992339356 30 ctime=1791882994.992431338 YAML-PP-v0.43.0/t/17.load-complex-keys.t0000644000175000017500000000261015263373362015777 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use Data::Dumper; use YAML::PP::Loader; my $yppl = YAML::PP::Loader->new; my $yaml = <<'EOM'; complexmap: x: y ? a: b : c: d complexseq: X: Y ? - A - B : - C - D EOM my $nested_yaml = <<'EOM'; complex: ? ? a: b c: d : innervalue : outervalue EOM my $exp_complexmap = $yppl->constructor->stringify_complex({ a => 'b' }); my $exp_complexseq = $yppl->constructor->stringify_complex([qw/ A B /]); my $inner = $yppl->constructor->stringify_complex({ a => 'b', c => 'd' }); my $nested = $yppl->constructor->stringify_complex({ $inner => "innervalue" }); { my $data = $yppl->load_string($yaml); my $val1 = delete $data->{complexmap}->{x}; my $val2 = delete $data->{complexseq}->{X}; cmp_ok($val1, 'eq', 'y', "Normal key x"); cmp_ok($val2, 'eq', 'Y', "Normal key X"); my $complexmap = (keys %{ $data->{complexmap} })[0]; my $complexseq = (keys %{ $data->{complexseq} })[0]; cmp_ok($complexmap, 'eq', $exp_complexmap, "Complex map"); cmp_ok($complexseq, 'eq', $exp_complexseq, "Complex seq"); } { my $nested_data = $yppl->load_string($nested_yaml); my $data1 = $nested_data->{complex}; my $key = (keys %$data1)[0]; cmp_ok($key, 'eq', $nested, "Nested complex maps"); } done_testing; YAML-PP-v0.43.0/t/PaxHeaders/37.schema-catchall.t0000644000000000000000000000013215263373362016024 xustar0030 mtime=1791882994.989371574 30 atime=1791882994.989280501 30 ctime=1791882994.989371574 YAML-PP-v0.43.0/t/37.schema-catchall.t0000644000175000017500000000246115263373362015461 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use Data::Dumper; use Scalar::Util (); use YAML::PP; my $yp = YAML::PP->new(); my $catch = YAML::PP->new( schema => [qw/ + Catchall /], ); my $yaml = <<'EOM'; - !foo null EOM pass "dummy"; done_testing; __END__ my $data = eval { $yp->load_string($yaml) }; my $err = $@; like $err, qr{Unknown tag '!foo'. Use schema 'Catchall'}, "unknoen tags are fatal by default"; $data = $catch->load_string($yaml); is $data->[0], 'null', "Catchall loads unknown tag as string"; $yaml = "! 023"; $data = $yp->load_string($yaml); is $data, '023', "Tag '!' still works without catchall"; $data = $catch->load_string($yaml); is $data, '023', "Tag '!' still works with catchall"; $yaml = <<'EOM'; !foo - a EOM $data = eval { $yp->load_string($yaml) }; $err = $@; like $err, qr{Unknown tag '!foo'. Use schema 'Catchall'}, "unknoen tags are fatal by default"; $data = $catch->load_string($yaml); is $data->[0], 'a', "Catchall loads unknown tag on a sequence"; $yaml = <<'EOM'; !foo a: b EOM $data = eval { $yp->load_string($yaml) }; $err = $@; like $err, qr{Unknown tag '!foo'. Use schema 'Catchall'}, "unknoen tags are fatal by default"; $data = $catch->load_string($yaml); is $data->{a}, 'b', "Catchall loads unknown tag on a mapping"; done_testing; YAML-PP-v0.43.0/t/PaxHeaders/53.customtag-alias.t0000644000000000000000000000013215263373362016106 xustar0030 mtime=1791882994.989280501 30 atime=1791882994.989172246 30 ctime=1791882994.989280501 YAML-PP-v0.43.0/t/53.customtag-alias.t0000644000175000017500000000324615263373362015545 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use YAML::PP; subtest 'join-tag' => sub { my $yp = YAML::PP->new; $yp->schema->add_sequence_resolver( tag => '!join', on_create => sub { return '' }, on_data => sub { my ($constructor, $data, $list) = @_; my $join = shift @$list; $$data .= join $join, @$list; }, ); my $yaml = <<'EOM'; --- name: &name YAML string: &what !join [ ' ', *name, Ain't, Markup, Language ] alias: *what EOM my $string = "YAML Ain't Markup Language"; my $expected = { name => 'YAML', string => $string, alias => $string, }; my ($data) = $yp->load_string($yaml); is_deeply($data, $expected, 'Loaded data as expected'); }; subtest 'inherit-tag' => sub { my $yp = YAML::PP->new; $yp->schema->add_mapping_resolver( tag => '!inherit', # on_create => sub { return '' }, on_data => sub { my ($constructor, $data, $list) = @_; for my $item (@$list) { %$$data = (%$$data, %$item); } }, ); my $yaml = <<'EOM'; --- parent: &parent a: A b: B child: &child !inherit *parent : a: new A c: C twin: *child EOM my $string = "YAML Ain't Markup Language"; my $child = { a => 'new A', b => 'B', c => 'C', }; my $expected = { parent => { a => 'A', b => 'B', }, child => $child, twin => $child, }; my ($data) = $yp->load_string($yaml); is_deeply($data, $expected, 'Loaded data as expected'); }; done_testing; YAML-PP-v0.43.0/t/PaxHeaders/24.double-escapes.t0000644000000000000000000000013215263373362015702 xustar0030 mtime=1791882994.986515888 30 atime=1791882994.986411195 30 ctime=1791882994.986515888 YAML-PP-v0.43.0/t/24.double-escapes.t0000644000175000017500000000304215263373362015333 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use Data::Dumper; use YAML::PP; my @yaml = ( [ q{\\\\}, q{\\}, q{\\} ], [ q{\"}, q{"}, q{'"'} ], [ q{\a}, qq{\a}, q{"\a"} ], [ q{\b}, qq{\b}, q{"\b"} ], [ q{\e}, qq{\e}, q{"\e"} ], [ q{\f}, qq{\f}, q{"\f"} ], [ q{\n}, qq{\n}, q{"\n"} ], [ q{\r}, qq{\r}, q{"\r"} ], [ q{\t}, qq{\t}, q{"\t"} ], [ q{\v}, qq{\x0b}, q{"\v"} ], [ q{\0}, qq{\0}, q{"\0"} ], [ q{\ }, q{ }, q{' '} ], [ q{\_}, qq{\xa0}, q{"\_"} ], [ q{\N}, qq{\x85}, q{"\N"} ], [ q{\L}, qq{\x{2028}}, q{"\L"}], [ q{\P}, qq{\x{2029}}, q{"\P"}], [ q{\x41}, q{A}, q{A} ], [ q{\u0041}, q{A}, q{A} ], [ q{\U00000041}, q{A}, q{A} ], ); for my $test (@yaml) { my ($yaml, $output, $dump) = @$test; unless (defined $dump) { $dump = $yaml; } $dump = "--- $dump\n"; $yaml = qq{"$yaml"}; my $got = eval { YAML::PP->new->load_string($yaml) }; if ($@) { diag "YAML:" . Data::Dumper->Dump([\$yaml], ['yaml']); diag "YAML: >>$yaml<< "; diag "Error: $@"; ok(0, "Escape: $yaml"); } else { local $Data::Dumper::Useqq = 1; my $ok = cmp_ok($got, 'eq', $output, "Escape: $yaml"); unless ($ok) { warn __PACKAGE__.':'.__LINE__.$".Data::Dumper->Dump([\$got], ['got']); next; } } my $got_dump = YAML::PP->new->dump_string($got); my $ok = cmp_ok($got_dump, 'eq', $dump, "Dump: $yaml"); } done_testing; YAML-PP-v0.43.0/t/PaxHeaders/41.custom.schema.t0000644000000000000000000000013215263373362015557 xustar0030 mtime=1791882994.983785847 30 atime=1791882994.983695192 30 ctime=1791882994.983785847 YAML-PP-v0.43.0/t/41.custom.schema.t0000644000175000017500000000142315263373362015211 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use YAML::PP; use YAML::PP::Common qw/ :PRESERVE /; use FindBin '$Bin'; use lib "$Bin/lib"; my $yp = YAML::PP->new( schema => [qw/ :MySchema /], preserve => PRESERVE_ORDER, ); my $yaml = <<'EOM'; --- o1: !Class1 z: 1 a: 2 y: 3 b: 4 EOM my $data = $yp->load_string($yaml); $yaml = $yp->dump_string($data); cmp_ok($yaml, 'eq', <new( schema => [qw/ Foo::Bar! /] ) }; like $@, qr/Module name 'YAML::PP::Schema::Foo::Bar!' is invalid/; eval { $yp = YAML::PP->new( schema => [qw/ :Foo::Bar! /] ) }; like $@, qr/Module name 'Foo::Bar!' is invalid/; done_testing; YAML-PP-v0.43.0/t/PaxHeaders/38.schema-ixhash.t0000644000000000000000000000013115263373362015535 xustar0030 mtime=1791882994.983695192 29 atime=1791882994.98360335 30 ctime=1791882994.983695192 YAML-PP-v0.43.0/t/38.schema-ixhash.t0000644000175000017500000000135115263373362015170 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use Data::Dumper; use YAML::PP; my $ixhash = eval { require Tie::IxHash }; unless ($ixhash) { plan skip_all => "Tie::IxHash not installed"; exit; } my $tests = require "$Bin/../examples/schema-ixhash.pm"; my $yp = YAML::PP->new( schema => [qw/ JSON Perl Tie::IxHash /], ); my @tests = sort keys %$tests; for my $name (@tests) { my $test = $tests->{ $name }; my ($code, $yaml) = @$test; my $data = eval $code; my $out = $yp->dump_string([$data, $data]); if (ref $yaml) { cmp_ok($out, '=~', $yaml, "$name: dump_string()"); } else { cmp_ok($out, 'eq', $yaml, "$name: dump_string()"); } } done_testing; YAML-PP-v0.43.0/t/PaxHeaders/11.parse-invalid.t0000644000000000000000000000013015263373362015537 xustar0029 mtime=1791882994.98360335 30 atime=1791882994.983509972 29 ctime=1791882994.98360335 YAML-PP-v0.43.0/t/11.parse-invalid.t0000644000175000017500000000376415263373362015205 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use lib "$Bin/lib"; use YAML::PP::Test; use Data::Dumper; use YAML::PP::Parser; $|++; my $yts = "$Bin/../test-suite/yaml-test-suite-data"; my @skip = qw/ CXX2 9KBC S98Z T833 5LLU /; # in case of error events might not be exactly matching my %skip_events = ( Q4CL => 1, JY7Z => 1, '3HFZ' => 1, X4QW => 1, SU5Z => 1, W9L4 => 1, ZL4Z => 1, '9KBC' => 1, SY6V => 1, C2SP => 1, 'NTY5' => 1, '4EJS' => 1, '2CMS' => 1, 'HU3P' => 1, 'EW3V' => 1, 'G9HC' => 1, '4H7K' => 1, BS4K => 1, EB22 => 1, i037 => 1, i038 => 1, 'MUS6:00' => 1, 'MUS6:01' => 1, 'Y79Y:004' => 1, 'Y79Y:005' => 1, 'Y79Y:006' => 1, 'Y79Y:007' => 1, 'Y79Y:008' => 1, 'Y79Y:009' => 1, ); my $testsuite = YAML::PP::Test->new( test_suite_dir => "$yts", dir => "$Bin/invalid", valid => 0, events => 1, in_yaml => 1, ); my ($testcases) = $testsuite->read_tests( skip => \@skip, ); my %errors; $testsuite->run_testcases( code => \&test, ); $testsuite->print_stats( count => [qw/ OK DIFF ERROR TODO SKIP /], ids => [qw/ OK DIFF /], ); for my $type (sort keys %errors) { diag "ERRORS($type): (@{ $errors{ $type } })" if $ENV{TEST_VERBOSE}; } done_testing; exit; sub test { my ($testsuite, $testcase) = @_; my $id = $testcase->{id}; my $result = $testsuite->parse_events($testcase); my $err = $result->{err}; if ($err) { diag "ERROR: $err" if $ENV{YAML_PP_TRACE}; my $error_type = 'unknown'; if ($@ =~ m/( Expected .*?)/) { $error_type = "$1"; } elsif ($@ =~ m/( Not Implemented: .*?)/) { $error_type = "$1"; } push @{ $errors{ $error_type } }, $id; } if ($skip_events{ $id }) { delete $result->{events}; } $testsuite->compare_invalid_parse_events($testcase, $result); return $result; } YAML-PP-v0.43.0/t/PaxHeaders/39.emitter-alias.t0000644000000000000000000000013215263373362015555 xustar0030 mtime=1791882994.983509972 30 atime=1791882994.983416035 30 ctime=1791882994.983509972 YAML-PP-v0.43.0/t/39.emitter-alias.t0000644000175000017500000000224215263373362015207 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More tests => 1; use YAML::PP; use YAML::PP::Common; use YAML::PP::Emitter; use YAML::PP::Writer; my $writer = YAML::PP::Writer->new; my $emitter = YAML::PP::Emitter->new(); $emitter->set_writer($writer); my @events = ( '+STR', '+DOC ---', '+SEQ', '+MAP &map ', '=VAL :foo', '=VAL :bar', '-MAP', '+SEQ', '=ALI *map', '=ALI *map', '-SEQ', '+MAP', '=ALI *map', '=VAL :foo', '=ALI *map', '=VAL :foo', '-MAP', '+MAP', '+SEQ ', '-SEQ', '=ALI *map', '-MAP', '+MAP', '+MAP ', '-MAP', '=ALI *map', '-MAP', '-SEQ', '-DOC', '-STR', ); for my $str (@events) { my $event = YAML::PP::Common::test_suite_to_event($str); my $name = $event->{name}; $emitter->$name($event); } my $yaml = $emitter->writer->output; my $exp = <<'EOM'; --- - &map !!map !!str foo: bar - - *map - *map - *map : foo *map : foo - ? !!seq [] : *map - ? !!map {} : *map EOM cmp_ok($yaml, 'eq', $exp, "alias_event correct"); YAML-PP-v0.43.0/t/PaxHeaders/47.header-footer.t0000644000000000000000000000013215263373362015540 xustar0030 mtime=1791882994.983416035 30 atime=1791882994.983322657 30 ctime=1791882994.983416035 YAML-PP-v0.43.0/t/47.header-footer.t0000644000175000017500000000430515263373362015174 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use YAML::PP; use Data::Dumper; my $in = <<'EOM'; --- foo --- a: 1 --- - a - b ... EOM subtest header_no_footer => sub { my $out_expected = <<'EOM'; --- foo --- a: 1 --- - a - b EOM my $yp = YAML::PP->new( header => 1, footer => 0, ); my @docs = $yp->load_string($in); my $out = $yp->dump_string(@docs); cmp_ok($out, 'eq', $out_expected, "Dumping with indent"); }; subtest no_header_no_footer => sub { my $out_expected = <<'EOM'; foo --- a: 1 --- - a - b EOM my $yp = YAML::PP->new( header => 0, footer => 0, ); my @docs = $yp->load_string($in); my $out = $yp->dump_string(@docs); cmp_ok($out, 'eq', $out_expected, "Dumping with indent"); }; subtest header_footer => sub { my $out_expected = <<'EOM'; --- foo ... --- a: 1 ... --- - a - b ... EOM my $yp = YAML::PP->new( header => 1, footer => 1, ); my @docs = $yp->load_string($in); my $out = $yp->dump_string(@docs); cmp_ok($out, 'eq', $out_expected, "Dumping with indent"); }; subtest no_header_footer => sub { my $out_expected = <<'EOM'; foo ... --- a: 1 ... --- - a - b ... EOM my $yp = YAML::PP->new( header => 0, footer => 1, ); my @docs = $yp->load_string($in); my $out = $yp->dump_string(@docs); cmp_ok($out, 'eq', $out_expected, "Dumping with indent"); }; subtest require_footer => sub { my $good1 = <<'EOM'; a: 1 ... EOM my $good2 = <<'EOM'; a: 1 ... --- a: 2 ... EOM my $bad1 = <<'EOM'; a: 1 --- a: 2 ... EOM my $bad2 = <<'EOM'; a: 1 ... --- a: 2 EOM my $bad3 = <<'EOM'; a: 1 --- a: 2 EOM my $yp = YAML::PP->new( require_footer => 1 ); my $data; local $@; $data = eval { $yp->load_string($good1) }; is $@, '', "good 1"; $data = eval { $yp->load_string($good2) }; is $@, '', "good 2"; my $re = qr{Document .\d+. did not end with '...' .require_footer=1.}; $data = eval { $yp->load_string($bad1) }; like $@, $re, "bad 1"; $data = eval { $yp->load_string($bad1) }; like $@, $re, "bad 2"; $data = eval { $yp->load_string($bad1) }; like $@, $re, "bad 3"; }; done_testing; YAML-PP-v0.43.0/t/PaxHeaders/40.representers.t0000644000000000000000000000013215263373362015526 xustar0030 mtime=1791882994.982828736 30 atime=1791882994.982733612 30 ctime=1791882994.982828736 YAML-PP-v0.43.0/t/40.representers.t0000644000175000017500000000547415263373362015172 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use YAML::PP; { my $parser = YAML::PP->new; $parser->schema->add_representer( class_equals => 'Class1', code => sub { my ($representer, $node) = @_; $node->{ tag } = '!Class1', $node->{ data } = \%{ $node->{ value } }; return 1; } ); my $data = { o1 => (bless {}, 'Class1'), o2 => (bless {}, 'Class2'), }; my $yaml = $parser->dump_string($data); like($yaml, qr/o1: !Class1/, 'o1s\' class has a representer that converts it to a tag'); like($yaml, qr/o2: \{\}/, 'o2s\' class doesn\'t have a representer. It gets converted to an empty hash'); } { my $parser = YAML::PP->new; $parser->schema->add_representer( class_matches => 1, code => sub { my ($representer, $node) = @_; if ($node->{ value }->isa('Class1')) { $node->{ tag } = '!Class1'; $node->{ data } = \%{ $node->{ value } }; return 1; } return 0; } ); $parser->schema->add_representer( class_matches => 1, code => sub { my ($representer, $node) = @_; $node->{ tag } = '!Class2'; $node->{ data } = \%{ $node->{ value } }; return 1; } ); my $data = { o1 => (bless {}, 'Class1'), o2 => (bless {}, 'Class2'), }; my $yaml = $parser->dump_string($data); # o1 serializes to Class1 because the first catchall says it's done like($yaml, qr/o1: !Class1/, 'o1s\' gets caught only by the first class_matches, since it sets work as done'); like($yaml, qr/o2: !Class2/, 'o2s\' gets caught by the second class_matches'); } # declare some packages inline for the next test package BaseClass; package Class4; our @ISA = ('BaseClass'); # return to the tests package package main; { my $parser = YAML::PP->new; $parser->schema->add_representer( class_isa => 'Class3', code => sub { my ($representer, $node) = @_; $node->{ tag } = '!Class3'; $node->{ data } = \%{ $node->{ value } }; return 1; } ); $parser->schema->add_representer( class_isa => 'BaseClass', code => sub { my ($representer, $node) = @_; $node->{ tag } = '!BaseClass'; $node->{ data } = \%{ $node->{ value } }; return 1; } ); my $data = { o3 => (bless {}, 'Class3'), o4 => (bless {}, 'Class4'), }; my $yaml = $parser->dump_string($data); like($yaml, qr/o3: !Class3/, 'Class3 gets caught by its class name'); like($yaml, qr/o4: !BaseClass/, 'Class4 gets caught because its inherited from BaseClass'); } done_testing; YAML-PP-v0.43.0/t/PaxHeaders/46.line-endings.t0000644000000000000000000000013015263373362015365 xustar0030 mtime=1791882994.982733612 28 atime=1791882994.9826373 30 ctime=1791882994.982733612 YAML-PP-v0.43.0/t/46.line-endings.t0000644000175000017500000000114615263373362015023 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More tests => 2; use YAML::PP; use Encode; use Data::Dumper; my $yp = YAML::PP->new; subtest mac => sub { my $yaml = qq{x: "a\r b"\ry: b\r}; my $data = $yp->load_string($yaml); my $expected = { x => 'a b', y => 'b', }; is_deeply($data, $expected, 'Mac \r line endings'); }; subtest win => sub { my $yaml = qq{x: "a\r\n b"\ry: b\r}; my $data = $yp->load_string($yaml); my $expected = { x => 'a b', y => 'b', }; is_deeply($data, $expected, 'Win \r\n line endings'); }; done_testing; YAML-PP-v0.43.0/t/PaxHeaders/data0000644000000000000000000000013215263373362013232 xustar0030 mtime=1791882994.994286682 30 atime=1791882994.982494055 30 ctime=1791882994.994286682 YAML-PP-v0.43.0/t/data/0000755000175000017500000000000015263373362012741 5ustar00tinatinaYAML-PP-v0.43.0/t/data/PaxHeaders/include0000644000000000000000000000013215263373362014655 xustar0030 mtime=1791882994.995474689 30 atime=1791882994.994286682 30 ctime=1791882994.995474689 YAML-PP-v0.43.0/t/data/include/0000755000175000017500000000000015263373362014364 5ustar00tinatinaYAML-PP-v0.43.0/t/data/include/PaxHeaders/circular2.yaml0000644000000000000000000000013215263373362017504 xustar0030 mtime=1791882994.995570302 30 atime=1791882994.995474689 30 ctime=1791882994.995570302 YAML-PP-v0.43.0/t/data/include/circular2.yaml0000644000175000017500000000004615263373362017136 0ustar00tinatina--- included: !include circular1.yaml YAML-PP-v0.43.0/t/data/include/PaxHeaders/circular1.yaml0000644000000000000000000000013215263373362017503 xustar0030 mtime=1791882994.995474689 30 atime=1791882994.995377469 30 ctime=1791882994.995474689 YAML-PP-v0.43.0/t/data/include/circular1.yaml0000644000175000017500000000004615263373362017135 0ustar00tinatina--- included: !include circular2.yaml YAML-PP-v0.43.0/t/data/include/PaxHeaders/include3.yaml0000644000000000000000000000013115263373362017323 xustar0030 mtime=1791882994.994905828 29 atime=1791882994.99482111 30 ctime=1791882994.994905828 YAML-PP-v0.43.0/t/data/include/include3.yaml0000644000175000017500000000001515263373362016752 0ustar00tinatina--- include3 YAML-PP-v0.43.0/t/data/include/PaxHeaders/include2.yaml0000644000000000000000000000012715263373362017327 xustar0029 mtime=1791882994.99482111 29 atime=1791882994.99472424 29 ctime=1791882994.99482111 YAML-PP-v0.43.0/t/data/include/include2.yaml0000644000175000017500000000005015263373362016750 0ustar00tinatina--- - include2 - !include include3.yaml YAML-PP-v0.43.0/t/data/include/PaxHeaders/include1.yaml0000644000000000000000000000013015263373362017320 xustar0029 mtime=1791882994.99472424 30 atime=1791882994.994626881 29 ctime=1791882994.99472424 YAML-PP-v0.43.0/t/data/include/include1.yaml0000644000175000017500000000001515263373362016750 0ustar00tinatina--- include1 YAML-PP-v0.43.0/t/data/include/PaxHeaders/include.yaml0000644000000000000000000000013215263373362017241 xustar0030 mtime=1791882994.994435305 30 atime=1791882994.994286682 30 ctime=1791882994.994435305 YAML-PP-v0.43.0/t/data/include/include.yaml0000644000175000017500000000007615263373362016676 0ustar00tinatina--- - !include include1.yaml - !include include2.yaml - item3 YAML-PP-v0.43.0/t/data/PaxHeaders/simple.yaml0000644000000000000000000000012615263373362015467 xustar0028 mtime=1791882994.9826373 30 atime=1791882994.982494055 28 ctime=1791882994.9826373 YAML-PP-v0.43.0/t/data/simple.yaml0000644000175000017500000000002215263373362015110 0ustar00tinatina--- a: 1 --- b: 2 YAML-PP-v0.43.0/t/PaxHeaders/invalid0000644000000000000000000000013215263373362013747 xustar0030 mtime=1791882994.982348645 30 atime=1791882994.981404665 30 ctime=1791882994.982348645 YAML-PP-v0.43.0/t/invalid/0000755000175000017500000000000015263373362013456 5ustar00tinatinaYAML-PP-v0.43.0/t/invalid/PaxHeaders/i0360000644000000000000000000000013215263373362014430 xustar0030 mtime=1791882994.993382232 30 atime=1791882994.982348645 30 ctime=1791882994.993382232 YAML-PP-v0.43.0/t/invalid/i036/0000755000175000017500000000000015263373362014137 5ustar00tinatinaYAML-PP-v0.43.0/t/invalid/i036/PaxHeaders/test.event0000644000000000000000000000013215263373362016527 xustar0030 mtime=1791882994.993474982 30 atime=1791882994.993382232 30 ctime=1791882994.993474982 YAML-PP-v0.43.0/t/invalid/i036/test.event0000644000175000017500000000003115263373362016153 0ustar00tinatina+STR +DOC +MAP =VAL :foo YAML-PP-v0.43.0/t/invalid/i036/PaxHeaders/in.yaml0000644000000000000000000000013015263373362015775 xustar0029 mtime=1791882994.99002173 30 atime=1791882994.989928212 29 ctime=1791882994.99002173 YAML-PP-v0.43.0/t/invalid/i036/in.yaml0000644000175000017500000000002015263373362015421 0ustar00tinatinafoo: | bar: 1 YAML-PP-v0.43.0/t/invalid/i036/PaxHeaders/===0000644000000000000000000000013215263373362014776 xustar0030 mtime=1791882994.982494055 30 atime=1791882994.982348645 30 ctime=1791882994.982494055 YAML-PP-v0.43.0/t/invalid/i036/===0000644000175000017500000000003115263373362014422 0ustar00tinatinaTabs in various contexts YAML-PP-v0.43.0/t/invalid/PaxHeaders/i0350000644000000000000000000000013215263373362014427 xustar0030 mtime=1791882994.993289413 30 atime=1791882994.982195133 30 ctime=1791882994.993289413 YAML-PP-v0.43.0/t/invalid/i035/0000755000175000017500000000000015263373362014136 5ustar00tinatinaYAML-PP-v0.43.0/t/invalid/i035/PaxHeaders/test.event0000644000000000000000000000013215263373362016526 xustar0030 mtime=1791882994.993382232 30 atime=1791882994.993289413 30 ctime=1791882994.993382232 YAML-PP-v0.43.0/t/invalid/i035/test.event0000644000175000017500000000001615263373362016155 0ustar00tinatina+STR +DOC --- YAML-PP-v0.43.0/t/invalid/i035/PaxHeaders/in.yaml0000644000000000000000000000013215263373362015776 xustar0030 mtime=1791882994.989928212 30 atime=1791882994.989835602 30 ctime=1791882994.989928212 YAML-PP-v0.43.0/t/invalid/i035/in.yaml0000644000175000017500000000001015263373362015417 0ustar00tinatina--- |10 YAML-PP-v0.43.0/t/invalid/i035/PaxHeaders/===0000644000000000000000000000013215263373362014775 xustar0030 mtime=1791882994.982348645 30 atime=1791882994.982195133 30 ctime=1791882994.982348645 YAML-PP-v0.43.0/t/invalid/i035/===0000644000175000017500000000004015263373362014421 0ustar00tinatinaLiteral modifers greater than 9 YAML-PP-v0.43.0/t/invalid/PaxHeaders/i0340000644000000000000000000000013215263373362014426 xustar0030 mtime=1791882994.993190237 30 atime=1791882994.982040154 30 ctime=1791882994.993190237 YAML-PP-v0.43.0/t/invalid/i034/0000755000175000017500000000000015263373362014135 5ustar00tinatinaYAML-PP-v0.43.0/t/invalid/i034/PaxHeaders/test.event0000644000000000000000000000013215263373362016525 xustar0030 mtime=1791882994.993289413 30 atime=1791882994.993190237 30 ctime=1791882994.993289413 YAML-PP-v0.43.0/t/invalid/i034/test.event0000644000175000017500000000006015263373362016153 0ustar00tinatina+STR +DOC --- +MAP =VAL :x +SEQ [] =VAL :y -SEQ YAML-PP-v0.43.0/t/invalid/i034/PaxHeaders/in.yaml0000644000000000000000000000013215263373362015775 xustar0030 mtime=1791882994.989835602 30 atime=1791882994.989744529 30 ctime=1791882994.989835602 YAML-PP-v0.43.0/t/invalid/i034/in.yaml0000644000175000017500000000002615263373362015425 0ustar00tinatina--- x: [ y ]in: valid YAML-PP-v0.43.0/t/invalid/i034/PaxHeaders/===0000644000000000000000000000013215263373362014774 xustar0030 mtime=1791882994.982195133 30 atime=1791882994.982040154 30 ctime=1791882994.982195133 YAML-PP-v0.43.0/t/invalid/i034/===0000644000175000017500000000010115263373362014416 0ustar00tinatinaInvalid block mapping key on same line as previous flow sequence YAML-PP-v0.43.0/t/invalid/PaxHeaders/i0370000644000000000000000000000013015263373362014427 xustar0029 mtime=1791882994.99308757 30 atime=1791882994.981894744 29 ctime=1791882994.99308757 YAML-PP-v0.43.0/t/invalid/i037/0000755000175000017500000000000015263373362014140 5ustar00tinatinaYAML-PP-v0.43.0/t/invalid/i037/PaxHeaders/test.event0000644000000000000000000000013115263373362016527 xustar0030 mtime=1791882994.993190237 29 atime=1791882994.99308757 30 ctime=1791882994.993190237 YAML-PP-v0.43.0/t/invalid/i037/test.event0000644000175000017500000000001215263373362016153 0ustar00tinatina+STR +DOC YAML-PP-v0.43.0/t/invalid/i037/PaxHeaders/in.yaml0000644000000000000000000000013215263373362016000 xustar0030 mtime=1791882994.989744529 30 atime=1791882994.989652477 30 ctime=1791882994.989744529 YAML-PP-v0.43.0/t/invalid/i037/in.yaml0000644000175000017500000000000415263373362015424 0ustar00tinatina- - YAML-PP-v0.43.0/t/invalid/i037/PaxHeaders/===0000644000000000000000000000013215263373362014777 xustar0030 mtime=1791882994.982040154 30 atime=1791882994.981894744 30 ctime=1791882994.982040154 YAML-PP-v0.43.0/t/invalid/i037/===0000644000175000017500000000003115263373362014423 0ustar00tinatinaTabs in various contexts YAML-PP-v0.43.0/t/invalid/PaxHeaders/i0380000644000000000000000000000013215263373362014432 xustar0030 mtime=1791882994.992994052 30 atime=1791882994.981748984 30 ctime=1791882994.992994052 YAML-PP-v0.43.0/t/invalid/i038/0000755000175000017500000000000015263373362014141 5ustar00tinatinaYAML-PP-v0.43.0/t/invalid/i038/PaxHeaders/test.event0000644000000000000000000000013015263373362016527 xustar0029 mtime=1791882994.99308757 30 atime=1791882994.992994052 29 ctime=1791882994.99308757 YAML-PP-v0.43.0/t/invalid/i038/test.event0000644000175000017500000000001215263373362016154 0ustar00tinatina+STR +DOC YAML-PP-v0.43.0/t/invalid/i038/PaxHeaders/in.yaml0000644000000000000000000000013115263373362016000 xustar0030 mtime=1791882994.989652477 29 atime=1791882994.98955861 30 ctime=1791882994.989652477 YAML-PP-v0.43.0/t/invalid/i038/in.yaml0000644000175000017500000000000515263373362015426 0ustar00tinatina- - YAML-PP-v0.43.0/t/invalid/i038/PaxHeaders/===0000644000000000000000000000013215263373362015000 xustar0030 mtime=1791882994.981894744 30 atime=1791882994.981748984 30 ctime=1791882994.981894744 YAML-PP-v0.43.0/t/invalid/i038/===0000644000175000017500000000003115263373362014424 0ustar00tinatinaTabs in various contexts YAML-PP-v0.43.0/t/invalid/PaxHeaders/i0320000644000000000000000000000013215263373362014424 xustar0030 mtime=1791882994.992901093 30 atime=1791882994.981602247 30 ctime=1791882994.992901093 YAML-PP-v0.43.0/t/invalid/i032/0000755000175000017500000000000015263373362014133 5ustar00tinatinaYAML-PP-v0.43.0/t/invalid/i032/PaxHeaders/test.event0000644000000000000000000000013215263373362016523 xustar0030 mtime=1791882994.992994052 30 atime=1791882994.992901093 30 ctime=1791882994.992994052 YAML-PP-v0.43.0/t/invalid/i032/test.event0000644000175000017500000000001215263373362016146 0ustar00tinatina+STR +DOC YAML-PP-v0.43.0/t/invalid/i032/PaxHeaders/in.yaml0000644000000000000000000000013015263373362015771 xustar0029 mtime=1791882994.98955861 30 atime=1791882994.989465092 29 ctime=1791882994.98955861 YAML-PP-v0.43.0/t/invalid/i032/in.yaml0000644000175000017500000000004215263373362015421 0ustar00tinatina! > scalar YAML-PP-v0.43.0/t/invalid/i032/PaxHeaders/===0000644000000000000000000000013215263373362014772 xustar0030 mtime=1791882994.981748984 30 atime=1791882994.981602247 30 ctime=1791882994.981748984 YAML-PP-v0.43.0/t/invalid/i032/===0000644000175000017500000000004315263373362014421 0ustar00tinatinaInvalid characters in Verbatim Tag YAML-PP-v0.43.0/t/invalid/PaxHeaders/i0330000644000000000000000000000013215263373362014425 xustar0030 mtime=1791882994.992804013 30 atime=1791882994.981404665 30 ctime=1791882994.992804013 YAML-PP-v0.43.0/t/invalid/i033/0000755000175000017500000000000015263373362014134 5ustar00tinatinaYAML-PP-v0.43.0/t/invalid/i033/PaxHeaders/test.event0000644000000000000000000000013215263373362016524 xustar0030 mtime=1791882994.992901093 30 atime=1791882994.992804013 30 ctime=1791882994.992901093 YAML-PP-v0.43.0/t/invalid/i033/test.event0000644000175000017500000000002615263373362016154 0ustar00tinatina+STR +DOC --- +MAP {} YAML-PP-v0.43.0/t/invalid/i033/PaxHeaders/in.yaml0000644000000000000000000000013215263373362015774 xustar0030 mtime=1791882994.989465092 30 atime=1791882994.989371574 30 ctime=1791882994.989465092 YAML-PP-v0.43.0/t/invalid/i033/in.yaml0000644000175000017500000000003315263373362015422 0ustar00tinatina--- { ? ? question: mark } YAML-PP-v0.43.0/t/invalid/i033/PaxHeaders/===0000644000000000000000000000013215263373362014773 xustar0030 mtime=1791882994.981602247 30 atime=1791882994.981551262 30 ctime=1791882994.981602247 YAML-PP-v0.43.0/t/invalid/i033/===0000644000175000017500000000005315263373362014423 0ustar00tinatinaRepeated question mark in flow mapping key YAML-PP-v0.43.0/t/PaxHeaders/10.parse-valid.t0000644000000000000000000000013215263373362015211 xustar0030 mtime=1791882994.981404665 30 atime=1791882994.981315058 30 ctime=1791882994.981404665 YAML-PP-v0.43.0/t/10.parse-valid.t0000644000175000017500000000300315263373362014637 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use lib "$Bin/lib"; use YAML::PP::Test; use Data::Dumper; use YAML::PP::Parser; use Encode; $ENV{YAML_PP_RESERVED_DIRECTIVE} = 'ignore'; $|++; my $yts = "$Bin/../test-suite/yaml-test-suite-data"; my @skip = qw/ 4FJ6 9MMW LX3P Q9WF 6BFJ CT4Q M2N8:01 UKK6:01 /; my $testsuite = YAML::PP::Test->new( test_suite_dir => "$yts", dir => "$Bin/valid", valid => 1, events => 1, in_yaml => 1, linecount => 1, ); my ($testcases) = $testsuite->read_tests( skip => \@skip, ); my %errors; $testsuite->run_testcases( code => \&test, ); $testsuite->print_stats( count => [qw/ OK DIFF ERROR TODO SKIP /], ids => [qw/ DIFF ERROR /], ); for my $type (sort keys %errors) { diag "ERRORS($type): (@{ $errors{ $type } })"; } sub test { my ($testsuite, $testcase) = @_; my $id = $testcase->{id}; my $result = $testsuite->parse_events($testcase); my $err = $result->{err}; if ($err) { diag "ERROR($id): $err"; my $error_type = 'unknown'; if ($err =~ m/^(Expected) *:/m) { $error_type = "$1"; } elsif ($err =~ m/(Not Implemented: .*?) at/) { $error_type = "$1"; } elsif ($err =~ m/(Unexpected .*?) at/) { $error_type = "$1"; } push @{ $errors{ $error_type } }, $id; } $testsuite->compare_parse_events($testcase, $result); return $result; } done_testing; YAML-PP-v0.43.0/t/PaxHeaders/23-dump-anchor.t0000644000000000000000000000013215263373362015222 xustar0030 mtime=1791882994.981315058 30 atime=1791882994.981214556 30 ctime=1791882994.981315058 YAML-PP-v0.43.0/t/23-dump-anchor.t0000644000175000017500000000147115263373362014657 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use YAML::PP::Dumper; my $hash = { a => "b" }; my $seq = [ "a", "b" ]; my $data1 = { hash => $hash, hashcopy => $hash, seq => $seq, seqcopy => $seq, }; my $exp_yaml1 = <<"EOM"; --- hash: &1 a: b hashcopy: *1 seq: &2 - a - b seqcopy: *2 EOM my $refa = { name => "a" }; my $refb = { name => "b", link => $refa }; $refa->{link} = $refb; my $data2 = { a => $refa, b => $refb, }; # cyclic my $exp_yaml2 = <<"EOM"; --- a: &1 link: &2 link: *1 name: b name: a b: *2 EOM my $yppd = YAML::PP::Dumper->new; my $yaml = $yppd->dump_string($data1); cmp_ok($yaml, 'eq', $exp_yaml1, "dump anchors"); $yaml = $yppd->dump_string($data2); cmp_ok($yaml, 'eq', $exp_yaml2, "dump cyclic data structure"); done_testing; YAML-PP-v0.43.0/t/PaxHeaders/37.schema-perl.t0000644000000000000000000000013015263373362015211 xustar0030 mtime=1791882994.981214556 28 atime=1791882994.9811158 30 ctime=1791882994.981214556 YAML-PP-v0.43.0/t/37.schema-perl.t0000644000175000017500000002357015263373362014654 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use Data::Dumper; use Scalar::Util (); use YAML::PP; use YAML::PP::Perl; my $test_deep; BEGIN { eval "use Test::Deep qw/ cmp_deeply /"; unless ($@) { $test_deep = 1; } } unless ($test_deep) { plan skip_all => "No Test::Deep available"; exit; } my $tests = require "$Bin/../examples/schema-perl.pm"; my $perl_no_objects = YAML::PP::Schema::Perl->new( classes => [], cyclic_refs => 'allow', ); my $perl_no_objects_loadcode = YAML::PP::Schema::Perl->new( classes => [], loadcode => 1, cyclic_refs => 'allow', ); my $yp_perl = YAML::PP::Perl->new( schema => [qw/ JSON Perl tags=!perl /], cyclic_refs => 'allow', ); my $yp_perl_no_objects = YAML::PP::Perl->new( schema => [qw/ JSON /, $perl_no_objects], cyclic_refs => 'allow', ); my $yp_loadcode = YAML::PP->new( schema => [qw/ JSON Perl +loadcode /], cyclic_refs => 'allow', ); my $yp_loadcode_no_objects = YAML::PP->new( schema => [qw/ JSON /, $perl_no_objects_loadcode], cyclic_refs => 'allow', ); my $yp_perl_two = YAML::PP::Perl->new( schema => [qw/ JSON Perl tags=!!perl /], cyclic_refs => 'allow', ); my $yp_loadcode_two = YAML::PP->new( schema => [qw/ JSON Perl tags=!!perl +loadcode /], cyclic_refs => 'allow', ); my $yp_loadcode_one_two = YAML::PP->new( schema => [qw/ JSON Perl tags=!perl+!!perl +loadcode /], cyclic_refs => 'allow', ); my $yp_loadcode_two_one = YAML::PP->new( schema => [qw/ JSON Perl tags=!!perl+!perl +loadcode /], cyclic_refs => 'allow', ); my $yp_perl_one_two = YAML::PP::Perl->new( schema => [qw/ JSON Perl tags=!perl+!!perl /], cyclic_refs => 'allow', ); my $yp_perl_two_one = YAML::PP::Perl->new( schema => [qw/ JSON Perl tags=!!perl+!perl /], cyclic_refs => 'allow', ); my $yp_no_dumpcode = YAML::PP::Perl->new( schema => [qw/ + Perl -dumpcode /], ); my @tests = sort keys %$tests; @tests = qw/ array array_blessed hash hash_blessed scalarref scalarref_blessed refref refref_blessed coderef coderef_blessed regexp regexp_blessed circular /; { my $test_qr = qr{TEST_STRINGYFY_REGEX}; my $test_qr_string = "$test_qr"; diag("TEST QR: $test_qr_string"); my $qr_prefix = $test_qr_string; $qr_prefix =~ s/TEST_STRINGYFY_REGEX.*//; diag("QR PREFIX: $qr_prefix"); } my %loaders_perl = ( one => $yp_perl, one_no_objects => $yp_perl_no_objects, two => $yp_perl_two, onetwo => $yp_perl_one_two, twoone => $yp_perl_two_one, ); my %loaders_perl_code = ( one => $yp_loadcode, one_no_objects => $yp_loadcode_no_objects, two => $yp_loadcode_two, onetwo => $yp_loadcode_one_two, twoone => $yp_loadcode_two_one, ); my @tagtypes = qw/ one two onetwo twoone /; for my $type (@tagtypes) { for my $name (@tests) { test_perl($type, $name); } } sub test_perl { my ($type, $name) = @_; my $test = $tests->{ $name }; my $yp = $yp_perl; $yp = $loaders_perl{ $type }; my ($code, $yaml, $options) = @$test; if ($type eq 'two' or $type eq 'twoone') { unless (ref $yaml) { $yaml =~ s/\!perl/!!perl/g; } } my $data = eval $code; my $docs = [ $data, $data ]; my $out; if ($options->{load_code}) { $yp = $loaders_perl_code{ $type }; } if ($options->{load_only}) { $out = $yaml; } else { $out = $yp->dump_string($docs); if (ref $yaml) { cmp_ok($out, '=~', $yaml, "tagtype=$type $name: dump_string()"); } else { cmp_ok($out, 'eq', $yaml, "tagtype=$type $name: dump_string()"); } note($out); } my $reload_docs = $yp->load_string($out); if (Scalar::Util::reftype($data) eq 'CODE') { my $sub = $reload_docs->[0]; if (ref $sub and Scalar::Util::reftype($sub) eq 'CODE') { my %args = ( x => 23, y => 42 ); my $result1 = $data->(%args); my $result2 = $sub->(%args); cmp_ok($result2, 'eq', $result1, "tagtype=$type Coderef returns the same as original"); } else { ok(0, "tagtype=$type Did not reload as coderef"); } } else { cmp_deeply($reload_docs, $docs, "tagtype=$type $name: Reloaded data equals original"); } } subtest dummy_code => sub { my $yaml = <<'EOM'; --- - !perl/code | { die "oops"; } - !perl/code:Foo | { die "oops"; } EOM my $data = $yp_perl->load_string($yaml); my $code1 = $data->[0]; my $code2 = $data->[1]; isa_ok($code2, 'Foo', "Code is blessed 'Foo'"); is($code1->(), undef, "Dummy code 1 returns undef"); is($code2->(), undef, "Dummy code 2 returns undef"); }; subtest invalid_code => sub { my $yaml = <<'EOM'; --- - !perl/code | die "oops"; EOM my $data = eval { $yp_loadcode->load_string($yaml) }; my $error = $@; cmp_ok($error, '=~', qr{Malformed code}, "Loading invalid code dies"); $yaml = <<'EOM'; --- - !perl/code:Foo | die "oops"; EOM $data = eval { $yp_loadcode->load_string($yaml) }; $error = $@; cmp_ok($error, '=~', qr{Malformed code}, "Loading invalid code dies"); $yaml = <<'EOM'; --- - !perl/code | { =====> invalid <===== } EOM $data = eval { $yp_loadcode->load_string($yaml) }; $error = $@; cmp_ok($error, '=~', qr{eval code}, "Loading invalid code dies"); $yaml = <<'EOM'; --- - !perl/code:Foo | { =====> invalid <===== } EOM $data = eval { $yp_loadcode->load_string($yaml) }; $error = $@; cmp_ok($error, '=~', qr{eval code}, "Loading invalid code dies"); }; subtest regex => sub { my $re = qr{foo}; my $yaml = <<"EOM"; --- - !perl/regexp $re - !perl/regexp:Foo $re EOM my $data = $yp_perl->load_string($yaml); my ($regex1, $regex2) = @$data; isa_ok($regex2, 'Foo', "Regex is blessed 'Foo'"); cmp_ok('foo', '=~', $regex1, "Loaded regex 1 matches"); cmp_ok('foo', '=~', $regex2, "Loaded regex 2 matches"); }; subtest simple_array => sub { my $yaml = <<"EOM"; --- !perl/array [a, b] EOM my $data = $yp_perl->load_string($yaml); cmp_deeply($data, [qw/ a b /], "Loaded simple array"); }; subtest invalid_ref => sub { my @yaml = ( ['!perl/ref', q#--- !perl/ref {==: Invalid}#], ['!perl/ref:Foo', q#--- !perl/ref:Foo {==: Invalid}#], ['!perl/scalar', q#--- !perl/scalar {==: Invalid}#], ['!perl/scalar:Foo', q#--- !perl/scalar:Foo {==: Invalid}#], ['!perl/ref', q#--- !perl/ref {}#], ['!perl/ref:Foo', q#--- !perl/ref:Foo {}#], ['!perl/scalar', q#--- !perl/scalar {}#], ['!perl/scalar:Foo', q#--- !perl/scalar:Foo {}#], ); for my $test (@yaml) { my ($type, $yaml) = @$test; my $data = eval { $yp_perl->load_string($yaml) }; my $error = $@; cmp_ok($error, '=~', qr{Unexpected data}, "Invalid $type dies"); } }; subtest array => sub { my $object = bless [qw/ a b /], "Foo"; my $yaml_one_two = $yp_perl_one_two->dump_string($object); my $yaml_one_two_expected = <<'EOM'; --- !perl/array:Foo - a - b EOM my $yaml_two_one_expected = <<'EOM'; --- !!perl/array:Foo - a - b EOM my $yaml_two_one = $yp_perl_two_one->dump_string($object); cmp_ok($yaml_one_two, 'eq', $yaml_one_two_expected, "Perl =!+!! dump"); cmp_ok($yaml_two_one, 'eq', $yaml_two_one_expected, "Perl =!!+! dump"); my $reload1 = $yp_perl_two_one->load_string($yaml_one_two); my $reload2 = $yp_perl_two_one->load_string($yaml_two_one); my $reload3 = $yp_perl_one_two->load_string($yaml_one_two); my $reload4 = $yp_perl_one_two->load_string($yaml_two_one); cmp_deeply($reload1, $object, "Reload 1"); cmp_deeply($reload2, $object, "Reload 2"); cmp_deeply($reload3, $object, "Reload 3"); cmp_deeply($reload4, $object, "Reload 4"); }; subtest no_objects => sub { my $yaml = <<'EOM'; --- - !perl/array:Foo [a] - !perl/hash:Foo { a: 1 } - !perl/code:Foo "sub { return 23 }" - !perl/ref:Foo { = : { a: 1 } } - !perl/scalar:Foo { = : foo } - !perl/regexp:Foo foo EOM my $perl = YAML::PP::Schema::Perl->new( classes => [], ); my $yp = YAML::PP::Perl->new( schema => [qw/ JSON /, $perl], ); my $data = $yp->load_string($yaml); for my $i (0 .. $#$data) { my $item = $data->[ $i ]; my $blessed = Scalar::Util::blessed($item) || ''; if ($blessed eq 'Regexp') { ok(1, "Data $i not blessed"); } else { cmp_ok($blessed, 'eq', '', "Data $i not blessed"); } } }; subtest some_objects => sub { my $yaml = <<'EOM'; --- - !perl/array:Foo [a] - !perl/hash:Foo { a: 1 } - !perl/code:Foo "sub { return 23 }" - !perl/ref:Foo { = : { a: 1 } } - !perl/scalar:Foo { = : foo } - !perl/regexp:Foo foo - !perl/array:Bar [a] - !perl/hash:Bar { a: 1 } - !perl/code:Bar "sub { return 23 }" - !perl/ref:Bar { = : { a: 1 } } - !perl/scalar:Bar { = : foo } - !perl/regexp:Bar foo EOM my $perl = YAML::PP::Schema::Perl->new( classes => ['Bar'], ); my $yp = YAML::PP::Perl->new( schema => [qw/ JSON /, $perl], ); my $data = $yp->load_string($yaml); for my $i (0 .. $#$data) { my $item = $data->[ $i ]; my $blessed = Scalar::Util::blessed($item) || ''; if ($blessed eq 'Regexp') { ok(1, "Data $i not blessed"); } elsif ($i > 5) { cmp_ok($blessed, 'eq', 'Bar', "Data $i blessed"); } else { cmp_ok($blessed, 'eq', '', "Data $i not blessed"); } } }; subtest no_dumpcode => sub { my $code1 = sub { 23 }; my $code2 = sub { 23 }; my $data = { foo => bless ($code1, "Foo"), bar => $code2 }; my $yaml = $yp_no_dumpcode->dump_string($data); my $exp = <<'EOM'; --- bar: !perl/code '{ "DUMMY" }' foo: !perl/code:Foo '{ "DUMMY" }' EOM is $yaml, $exp, "Use -loadcode"; }; done_testing; YAML-PP-v0.43.0/t/PaxHeaders/13.load-anchor.t0000644000000000000000000000012615263373362015177 xustar0028 mtime=1791882994.9811158 30 atime=1791882994.981023748 28 ctime=1791882994.9811158 YAML-PP-v0.43.0/t/13.load-anchor.t0000644000175000017500000000134415263373362014630 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use Data::Dumper; use YAML::PP; my $yaml = <<'EOM'; foo: &sequence - a - b - c bar: *sequence copies: - &alias A - *alias EOM my $yp = YAML::PP->new; my $data = $yp->load_string($yaml); cmp_ok($data->{copies}->[0],'eq', 'A', "Scalar anchor"); cmp_ok($data->{copies}->[0],'eq', $data->{copies}->[1], "Scalar alias equals anchor"); $data->{foo}->[-1] = "changed"; cmp_ok($data->{bar}->[-1],'eq', 'changed', "Alias changes when anchor changes"); $yaml = <<'EOM'; this should: *be_fatal EOM $data = eval { $yp->load_string($yaml) }; my $err = $@; like $err, qr{No anchor defined for alias}, 'Error when loading undefined alias'; done_testing; YAML-PP-v0.43.0/t/PaxHeaders/32.cyclic-refs.t0000644000000000000000000000013215263373362015211 xustar0030 mtime=1791882994.981023748 30 atime=1791882994.980930789 30 ctime=1791882994.981023748 YAML-PP-v0.43.0/t/32.cyclic-refs.t0000644000175000017500000000313015263373362014640 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use Test::Warnings 0.005 qw(:all :no_end_test); use Data::Dumper; use YAML::PP; my $yaml = <<'EOM'; - &NODEA name: A link: &NODEB name: B link: *NODEA EOM my $yaml2 = <<'EOM'; - &NODEA name: A foo: &NODEA # overwrite anchor bar: boo link: &NODEB name: B link: *NODEA EOM my $fatal = YAML::PP->new( cyclic_refs => 'fatal' ); my $warn = YAML::PP->new( cyclic_refs => 'warn' ); my $ignore = YAML::PP->new( cyclic_refs => 'ignore' ); my $allow = YAML::PP->new( cyclic_refs => 'allow' ); my $fatal2 = YAML::PP->new( ); my $data = eval { $fatal->load_string($yaml); }; my $error = $@; cmp_ok($error, '=~', qr{found cyclic ref}i, "cyclic_refs=fatal"); like warning { $warn->load_string($yaml); }, qr{found cyclic ref}i, "cyclic_refs=warn"; is($data->[0]->{link}->{link}, undef, "cyclic_refs=warn"); $data = $ignore->load_string($yaml); is($data->[0]->{link}->{link}, undef, "cyclic_refs=ignore"); $data = $allow->load_string($yaml); cmp_ok($data->[0]->{link}->{link}->{name}, 'eq', 'A', "cyclic_refs=allow"); $data = eval { $fatal2->load_string($yaml) }; $error = $@; cmp_ok($error, '=~', qr{found cyclic ref}i, "cyclic_refs=default (fatal)"); $data = eval { my $nonsense = YAML::PP->new( cyclic_refs => 'nonsense'); $nonsense->load_string($yaml); }; $error = $@; cmp_ok($error, '=~', qr{invalid}i, "cyclic_refs=nonsense (invalid parameter)"); $data = $fatal->load_string($yaml2); cmp_ok($data->[0]->{link}->{link}->{bar}, 'eq', 'boo', "cyclic_refs=fatal, no cyclic ref found"); done_testing; YAML-PP-v0.43.0/t/PaxHeaders/lib0000644000000000000000000000013215263373362013067 xustar0030 mtime=1791882994.987993039 30 atime=1791882994.980597714 30 ctime=1791882994.987993039 YAML-PP-v0.43.0/t/lib/0000755000175000017500000000000015263373362012576 5ustar00tinatinaYAML-PP-v0.43.0/t/lib/PaxHeaders/YAML0000644000000000000000000000013215263373362013631 xustar0030 mtime=1791882994.988149624 30 atime=1791882994.987993039 30 ctime=1791882994.988149624 YAML-PP-v0.43.0/t/lib/YAML/0000755000175000017500000000000015263373362013340 5ustar00tinatinaYAML-PP-v0.43.0/t/lib/YAML/PaxHeaders/PP0000644000000000000000000000013215263373362014150 xustar0030 mtime=1791882994.988149624 30 atime=1791882994.987993039 30 ctime=1791882994.988149624 YAML-PP-v0.43.0/t/lib/YAML/PP/0000755000175000017500000000000015263373362013657 5ustar00tinatinaYAML-PP-v0.43.0/t/lib/YAML/PP/PaxHeaders/Test.pm0000644000000000000000000000013215263373362015502 xustar0030 mtime=1791882994.988205428 30 atime=1791882994.988149624 30 ctime=1791882994.988205428 YAML-PP-v0.43.0/t/lib/YAML/PP/Test.pm0000644000175000017500000005402015263373362015135 0ustar00tinatinapackage YAML::PP::Test; use strict; use warnings; use File::Basename qw/ dirname basename /; use Encode; use Test::More; use YAML::PP qw/ LoadFile /; use YAML::PP::Common qw/ YAML_FLOW_SEQUENCE_STYLE YAML_FLOW_MAPPING_STYLE YAML_PLAIN_SCALAR_STYLE /; sub new { my ($class, %args) = @_; my $self = bless { stats => {}, %args, }, $class; $self->{tag2ids} = LoadFile "$self->{test_suite_dir}/../tag_id.yaml"; return $self; } sub get_tests { my ($self) = @_; my $test_suite_dir = $self->{test_suite_dir}; my $dir = $self->{dir}; my $tag = $self->{tag}; my $tag2ids = $self->{tag2ids}; my $valid = $self->{valid}; my $json = $self->{in_json}; my @dirs; if (-d $test_suite_dir) { opendir my $dh, $test_suite_dir or die $!; my @ids = grep { m/^[A-Z0-9]{4}\z/ } readdir $dh; closedir $dh; my @allids; for my $id (@ids) { if (-f "$test_suite_dir/$id/===") { push @allids, $id; next; } opendir my $dh, "$test_suite_dir/$id" or die $!; my @subids = map { "$id/$_" } grep { m/^[0-9]+\z/ } readdir $dh; closedir $dh; push @allids, @subids; } @allids = grep { $valid ? not -f "$test_suite_dir/$_/error" : -f "$test_suite_dir/$_/error" } @allids; if ($json) { @allids = grep { -f "$test_suite_dir/$_/in.json" } @allids; } if ($tag) { @allids = grep { $tag2ids->{ $tag }->{ $_ }; } @allids; } push @dirs, map { "$test_suite_dir/$_" } @allids; } else { Test::More::diag("\n############################"); Test::More::diag("No yaml-test-suite directory"); Test::More::diag("Using only local tests"); Test::More::diag("Checkout with: git worktree add test-suite test-suite"); Test::More::diag("############################"); } @dirs = sort @dirs; opendir my $dh, $dir or die $!; push @dirs, map { "$dir/$_" } grep { m/^[iv][A-Z0-9]{3}\z/ and (not $json or -f "$dir/$_/in.json") } readdir $dh; closedir $dh; return @dirs; } sub read_tests { my ($self, %args) = @_; my $test_suite_dir = $self->{test_suite_dir}; my $dir = $self->{dir}; my $skip = $args{skip}; my @dirs; my @todo; if ($ENV{TEST_ALL}) { @todo = @$skip; @$skip = (); } if (my $dir = $ENV{YAML_TEST_DIR}) { @dirs = ($dir); @todo = (); @$skip = (); } else { @dirs = $self->get_tests(); } my $skipped; @$skipped{ @$skip } = (1) x @$skip; my %todo; @todo{ @todo } = (); my @testcases; for my $dir (sort @dirs) { my $id = basename $dir; if ($id =~ m/^\d+$/) { $id = (basename dirname $dir) . ':' . $id; } open my $fh, '<', "$dir/===" or die $!; chomp(my $title = <$fh>); close $fh; my @test_events; if ($self->{events}) { open my $fh, '<', "$dir/test.event" or die $!; chomp(@test_events = <$fh>); close $fh; } my $in_yaml; if ($self->{in_yaml}) { open my $fh, "<:encoding(UTF-8)", "$dir/in.yaml" or die $!; $in_yaml = do { local $/; <$fh> }; close $fh; } my $linecount = 0; if ($self->{linecount} and length $in_yaml) { $linecount = () = $in_yaml =~ m/^/mg; } my $out_yaml; if ($self->{out_yaml}) { if (-f "$dir/out.yaml") { open my $fh, "<:encoding(UTF-8)", "$dir/out.yaml" or die $!; $out_yaml = do { local $/; <$fh> }; close $fh; } else { open my $fh, "<:encoding(UTF-8)", "$dir/in.yaml" or die $!; $out_yaml = do { local $/; <$fh> }; close $fh; } } my $emit_yaml; if ($self->{emit_yaml}) { my $file = "$dir/emit.yaml"; unless (-f $file) { $file = "$dir/out.yaml"; } unless (-f $file) { $file = "$dir/in.yaml"; } open my $fh, "<:encoding(UTF-8)", $file or die $!; $emit_yaml = do { local $/; <$fh> }; close $fh; } my $in_json; if ($self->{in_json}) { open my $fh, "<:encoding(UTF-8)", "$dir/in.json" or die $!; $in_json = do { local $/; <$fh> }; close $fh; } my $todo = exists $todo{ $id }; my $skip = delete $skipped->{ $id }; my $test = { id => $id, dir => dirname($dir), title => $title, test_events => \@test_events, in_yaml => $in_yaml, out_yaml => $out_yaml, emit_yaml => $emit_yaml, in_json => $in_json, linecount => $linecount, todo => $todo, skip => $skip, }; push @testcases, $test; } if (keys %$skipped) { # are there any leftover skips? warn __PACKAGE__.':'.__LINE__.$".Data::Dumper->Dump([\$skipped], ['skipped']); } $self->{testcases} = \@testcases; return (\@testcases); } sub run_testcases { my ($self, %args) = @_; my $testcases = $self->{testcases}; my $code = $args{code}; my $stats = $self->{stats}; unless (@$testcases) { ok(1); return; } for my $testcase (@$testcases) { my $id = $testcase->{id}; my $todo = $testcase->{todo}; # diag "------------------------------ $id"; my $result; if ($testcase->{skip}) { SKIP: { push @{ $stats->{SKIP} }, $id; skip "SKIP $id", 1; $result = $code->($self, $testcase); } } elsif ($todo) { TODO: { local $TODO = $todo; $result = $code->($self, $testcase); } } else { $result = $code->($self, $testcase); } } } sub print_stats { my ($self, %args) = @_; my $count_fields = $args{count}; my $list_fields = $args{ids}; my $stats = $self->{stats}; my $counts = ''; for my $field (@$count_fields) { my $count = scalar @{ $stats->{ $field } || [] }; $counts .= "$field: $count "; } $counts .= "\n"; diag $counts; for my $field (@$list_fields) { my $ids = $stats->{ $field } || []; diag "$field: (@$ids)" if @$ids; } } sub parse_events { my ($class, $testcase) = @_; my @events; my $parser = YAML::PP::Parser->new( receiver => sub { my ($self, $event, $info) = @_; push @events, YAML::PP::Common::event_to_test_suite($info, { flow => 1 }); }, ); eval { $parser->parse_string($testcase->{in_yaml}); }; my $err = $@; my $line = $parser->lexer->line; return { events => \@events, err => $err, parser => $parser, line => $line, }; } sub compare_parse_events { my ($self, $testcase, $result) = @_; my $stats = $self->{stats}; my $id = $testcase->{id}; my $title = $testcase->{title}; my $err = $result->{err}; my $yaml = $testcase->{in_yaml}; my $test_events = $testcase->{test_events}; my $exp_lines = $testcase->{linecount}; my @events = @{ $result->{events} }; $_ = encode_utf8 $_ for @events; my $ok = 0; if ($err) { push @{ $stats->{ERROR} }, $id; ok(0, "$id - $title (ERROR)"); } else { $ok = is_deeply(\@events, $test_events, "$id - $title"); } if ($ok) { push @{ $stats->{OK} }, $id; if (defined $exp_lines) { my $lines = $result->{line}; cmp_ok($lines, '==', $exp_lines, "$id - Line count $lines == $exp_lines"); } } else { push @{ $stats->{DIFF} }, $id unless $err; if ($testcase->{todo}) { push @{ $stats->{TODO} }, $id; } if (not $testcase->{todo} or $ENV{YAML_PP_TRACE}) { diag "YAML:\n$yaml" unless $testcase->{todo}; diag "EVENTS:\n" . join '', map { "$_\n" } @$test_events; diag "GOT EVENTS:\n" . join '', map { "$_\n" } @events; } } } sub parse_tokens { my ($class, $testcase) = @_; my $parser = YAML::PP::Parser->new( receiver => sub { my ($self, @args) = @_; }, ); eval { $parser->parse_string($testcase->{in_yaml}); }; my $err = $@; my $tokens = $parser->tokens; return { err => $err, tokens => $tokens, }; } sub compare_tokens { my ($self, $testcase, $result) = @_; my $id = $testcase->{id}; my $title = $testcase->{title}; my $yaml = $testcase->{in_yaml}; my $all_tokens = $result->{tokens}; my @yaml_lines = split /(?<=\n)/, $yaml; my $error; my $ok = 1; LINE: for my $i (0 .. $#yaml_lines) { my $line_number = $i + 1; # diag("============== Line $line_number"); my $line = $yaml_lines[ $i ]; my @tokens; TOKEN: while (@$all_tokens) { my $next = $all_tokens->[0]; if (my $sub = $next->{subtokens}) { shift @$all_tokens; unshift @$all_tokens, @$sub; next TOKEN; } if ($next->{line} < $line_number) { $error = { token => $next, msg => "Wrong line", }; $ok = 0; last LINE; } last if $next->{line} > $line_number; $next = shift @$all_tokens; push @tokens, $next; } my $column = 0; while (@tokens) { my $token = shift @tokens; my $token_column = $token->{column}; my $value = $token->{value}; if ($token->{orig}) { $value = $token->{orig}; } unless ($token->{column} == $column) { $ok = 0; $error = { token => $token, msg => "Wrong column", }; last LINE; } unless ($line =~ s/^\Q$value//) { $ok = 0; $error = { token => $token, msg => "Token does not match YAML", }; last LINE; } $column += length($value); } if (length $line) { $ok = 0; $error = { msg => "Line is longer than tokens", }; } } if (@$all_tokens) { $ok = 0; $error = { msg => "More tokens than YAML lines", }; } unless ($ok) { warn __PACKAGE__.':'.__LINE__.$".Data::Dumper->Dump([$error], ['error']); diag($yaml); } ok($ok, "$id - Tokens match YAML"); } sub compare_invalid_parse_events { my ($self, $testcase, $result) = @_; my $stats = $self->{stats}; my $id = $testcase->{id}; my $title = $testcase->{title}; my $err = $result->{err}; my $yaml = $testcase->{in_yaml}; my $test_events = $testcase->{test_events}; my $ok = 0; if (not $err) { push @{ $stats->{OK} }, $id; ok(0, "$id - $title - should be invalid"); } else { push @{ $stats->{ERROR} }, $id; if (not $result->{events}) { $ok = ok(1, "$id - $title"); } else { $ok = is_deeply($result->{events}, $test_events, "$id - $title"); } } if ($ok) { } else { push @{ $stats->{DIFF} }, $id; if ($testcase->{todo}) { push @{ $stats->{TODO} }, $id; } if (not $testcase->{todo} or $ENV{YAML_PP_TRACE}) { diag "YAML:\n$yaml" unless $testcase->{todo}; diag "EVENTS:\n" . join '', map { "$_\n" } @$test_events; diag "GOT EVENTS:\n" . join '', map { "$_\n" } @{ $result->{events} }; } } } sub load_json { my ($self, $testcase) = @_; my $ypp = YAML::PP->new(boolean => 'JSON::PP', schema => [qw/ Core Catchall /]); my @docs = eval { $ypp->load_string($testcase->{in_yaml}) }; my $err = $@; return { data => \@docs, err => $err, }; } sub compare_load_json { my ($self, $testcase, $result) = @_; my $stats = $self->{stats}; my $id = $testcase->{id}; my $title = $testcase->{title}; my $err = $result->{err}; my $yaml = $testcase->{in_yaml}; my $exp_json = $testcase->{in_json}; my $docs = $result->{data}; # input can contain multiple JSON my @exp_json = split m/^(?=true|false|null|[0-9"\{\[])/m, $exp_json; $exp_json = ''; my $coder = JSON::PP->new->ascii->pretty->allow_nonref->canonical; for my $exp (@exp_json) { my $data = $coder->decode($exp); $exp = $coder->encode($data); $exp_json .= $exp; } my $json = ''; for my $doc (@$docs) { my $j = $coder->encode($doc); $json .= $j; } my $ok = 0; if ($err) { push @{ $stats->{ERROR} }, $id; ok(0, "$id - $title - ERROR"); } else { $ok = cmp_ok($json, 'eq', $exp_json, "$id - load -> JSON equals expected JSON"); if ($ok) { push @{ $stats->{OK} }, $id; } else { push @{ $stats->{DIFF} }, $id; } } unless ($ok) { if ($testcase->{todo}) { push @{ $stats->{TODO} }, $id; } if (not $testcase->{todo} or $ENV{YAML_PP_TRACE}) { diag "YAML:\n$yaml" unless $testcase->{todo}; diag "JSON:\n" . $exp_json; diag "GOT JSON:\n" . $json; } } } sub dump_yaml { my ($self, $testcase) = @_; my $id = $testcase->{id}; my $ypp = YAML::PP->new( boolean => 'JSON::PP', duplicate_keys => 1, schema => [qw/ + Catchall /] ); my @docs = eval { $ypp->load_string($testcase->{in_yaml}) }; my $err = $@; my $result = {}; if ($err) { diag "ERROR loading $id"; $result->{err} = $err; return $result; } my $out_yaml; eval { $out_yaml = $ypp->dump_string(@docs); }; $err = $@; if ($err) { diag "ERROR dumping $id"; $result->{err} = $err; return $result; } $result->{dump_yaml} = $out_yaml; my @reload = eval { $ypp->load_string($out_yaml) }; $err = $@; if ($err) { diag "ERROR reloading $id"; $result->{err} = $err; return $result; } $result->{data} = \@docs; $result->{data_reload} = \@reload; my $exp_out_yaml = $testcase->{out_yaml}; my @events; my @reparse_events; my $parser = YAML::PP::Parser->new( receiver => sub { my ($self, $event, $info) = @_; push @events, YAML::PP::Common::event_to_test_suite($info, { flow => 0 }); }, ); eval { $parser->parse_string($out_yaml); }; $err = $@; if ($err) { diag "ERROR parsing $id\n$err"; $result->{err} = $err; return $result; } @reparse_events = @events; @events = (); my @exp_events; eval { $parser->parse_string($testcase->{out_yaml}); }; $err = $@; @exp_events = @events; $result->{dump_events} = \@reparse_events; $result->{expected_events} = \@exp_events; return $result; } sub compare_dump_yaml { my ($self, $testcase, $result) = @_; my $stats = $self->{stats}; my $id = $testcase->{id}; my $title = $testcase->{title}; my $err = $result->{err}; my $yaml = $testcase->{in_yaml}; my $out_yaml = $testcase->{out_yaml}; my $docs = $result->{data}; my $reload_docs = $result->{data_reload}; my $dump_yaml = $result->{dump_yaml}; my $dump_events = $result->{dump_events}; my $exp_events = $result->{expected_events}; my $ok = 0; if ($err) { push @{ $stats->{ERROR} }, $id; ok(0, "$id - $title - ERROR"); } else { $ok = is_deeply($reload_docs, $docs, "$id - $title - Reload data equals original"); push @{ $stats->{DIFF} }, $id unless $ok; } if ($ok) { push @{ $stats->{OK} }, $id; } else { if ($testcase->{todo}) { push @{ $stats->{TODO} }, $id; } warn __PACKAGE__.':'.__LINE__.$".Data::Dumper->Dump([\$docs], ['docs']); if (not $testcase->{todo} or $ENV{YAML_PP_TRACE}) { diag "YAML:\n$out_yaml" unless $testcase->{todo}; diag "OUT YAML:\n$out_yaml" unless $testcase->{todo}; my $reload_dump = Data::Dumper->Dump([$reload_docs], ['reload_docs']); diag "RELOAD DATA:\n$reload_dump" unless $testcase->{todo}; } } # TODO # my $same_events = is_deeply($dump_events, $exp_events, "$id - $title - Events from re-parsing are the same"); } sub emit_yaml { my ($self, $testcase, $args) = @_; my $flow = $args->{flow} ||= 'no'; my $indent = $args->{indent} ||= 2; my $id = $testcase->{id}; my $exp_yaml = $testcase->{emit_yaml}; my @events; my $parser = YAML::PP::Parser->new( receiver => sub { my ($self, @args) = @_; push @events, [@args]; }, ); eval { $parser->parse_string($testcase->{in_yaml}); }; my $err = $@; my $result = {}; if ($err) { diag "ERROR parsing $id\n$err"; $result->{err} = $err; return $result; } my $emit_yaml = $self->_emit_events(\@events, $args); my @reparse_events; my @expected_reparse_events; my @ev; my @emit_events; $parser = YAML::PP::Parser->new( receiver => sub { my ($self, @args) = @_; my ($type, $info) = @args; push @emit_events, $info; push @ev, YAML::PP::Common::event_to_test_suite($info, { flow => $flow eq 'keep' }); }, ); eval { $parser->parse_string($emit_yaml); }; $err = $@; if ($err) { diag "ERROR parsing $id\n$err"; diag $emit_yaml; $result->{err} = $err; return $result; } @reparse_events = @ev; if ($flow eq 'keep') { @expected_reparse_events = map { YAML::PP::Common::event_to_test_suite($_->[1], { flow => 1 }) } @events; } elsif ($flow eq 'no') { @ev = (); eval { $parser->parse_string($exp_yaml); }; @expected_reparse_events = @ev; } else { @expected_reparse_events = map { if ($_->[1]->{name} eq 'sequence_start_event') { $_->[1]->{style} = YAML_FLOW_SEQUENCE_STYLE; } elsif ($_->[1]->{name} eq 'mapping_start_event') { $_->[1]->{style} = YAML_FLOW_MAPPING_STYLE; } elsif ($_->[1]->{name} eq 'scalar_event') { $_->[1]->{style} = YAML_PLAIN_SCALAR_STYLE; } YAML::PP::Common::event_to_test_suite($_->[1], { flow => 1 }); } @events; @reparse_events = map { if ($_->{name} eq 'scalar_event') { $_->{style} = YAML_PLAIN_SCALAR_STYLE; } YAML::PP::Common::event_to_test_suite($_, { flow => 1 }); } @emit_events; } $result = { expected_events => \@expected_reparse_events, reparse_events => \@reparse_events, }; # note "========= EMIT:\n$emit_yaml"; $result->{emit_yaml} = $emit_yaml if $flow eq 'no'; return $result; } sub _emit_events { my ($testsuite, $events, $args) = @_; my $indent = $args->{indent} ||= 2; my $writer = YAML::PP::Writer->new; my $emitter = YAML::PP::Emitter->new( indent => $indent ); $emitter->set_writer($writer); $emitter->init; for my $event (@$events) { my ($type, $info) = @$event; delete $info->{version_directive}; if ($type eq 'sequence_start_event' or $type eq 'mapping_start_event') { if ($args->{flow} eq 'no') { delete $info->{style}; } elsif ($args->{flow} eq 'keep') { delete $info->{style} if $args->{flow} eq 'no'; } elsif ($args->{flow} eq 'yes') { if ($type eq 'sequence_start_event') { $info->{style} = YAML_FLOW_SEQUENCE_STYLE; } else { $info->{style} = YAML_FLOW_MAPPING_STYLE; } } } $emitter->$type($info); } my $yaml = $emitter->writer->output; return $yaml; } sub compare_emit_yaml { my ($self, $testcase, $result) = @_; my $stats = $self->{stats}; my $id = $testcase->{id}; my $title = $testcase->{title}; my $err = $result->{err}; my $yaml = $testcase->{in_yaml}; my $exp_emit_yaml = $testcase->{emit_yaml}; my $emit_yaml = $result->{emit_yaml}; my $exp_events = $result->{expected_events}; my $reparse_events = $result->{reparse_events}; if ($err) { push @{ $stats->{ERROR} }, $id; ok(0, "$id - $title - ERROR"); return; } $_ = encode_utf8 $_ for (@$reparse_events, @$exp_events); my $same_events = is_deeply($reparse_events, $exp_events, "$id - $title - Events from re-parsing are the same"); if ($same_events) { push @{ $stats->{SAME_EVENTS} }, $id; if (defined $emit_yaml) { $_ = encode_utf8 $_ for ($emit_yaml, $exp_emit_yaml); my $same_yaml = cmp_ok($emit_yaml, 'eq', $exp_emit_yaml, "$id - $title - Emit events"); if ($same_yaml) { push @{ $stats->{SAME_YAML} }, $id; } else { local $Data::Dumper::Useqq = 1; diag(' ' . Data::Dumper->Dump([$emit_yaml], ['emit_yaml'])); diag(Data::Dumper->Dump([$exp_emit_yaml], ['exp_emit_yaml'])); push @{ $stats->{DIFF_YAML} }, $id; } } } else { push @{ $stats->{DIFF_EVENTS} }, $id; } } 1; YAML-PP-v0.43.0/t/lib/PaxHeaders/MySchema.pm0000644000000000000000000000013215263373362015210 xustar0030 mtime=1791882994.980743823 30 atime=1791882994.980597714 30 ctime=1791882994.980743823 YAML-PP-v0.43.0/t/lib/MySchema.pm0000644000175000017500000000143715263373362014647 0ustar00tinatinapackage MySchema; use base 'YAML::PP::Schema'; use strict; use warnings; sub new { my ($class, %args) = @_; my $self = bless {}, $class; return $self; } sub register { my ($self, %args) = @_; my $schema = $args{schema}; $schema->add_mapping_resolver( tag => '!Class1', on_create => sub { return bless { id => 23 }, 'Class1' }, on_data => sub { my ($constructor, $data, $list) = @_; %$$data = (%$$data, @$list); }, ); $schema->add_representer( class_equals => 'Class1', code => sub { my ($representer, $node) = @_; # $node->{value} contains the object $node->{tag} = '!Class1'; $node->{data} = $node->{value}; return 1; }, ); } 1; YAML-PP-v0.43.0/t/PaxHeaders/56.force-flow.t0000644000000000000000000000013215263373362015057 xustar0030 mtime=1791882994.980597714 30 atime=1791882994.980502799 30 ctime=1791882994.980597714 YAML-PP-v0.43.0/t/56.force-flow.t0000644000175000017500000000233515263373362014514 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use lib "$Bin/lib"; use YAML::PP::Test; use Data::Dumper; use YAML::PP::Parser; use YAML::PP::Emitter; use YAML::PP::Writer; use Encode; $ENV{YAML_PP_RESERVED_DIRECTIVE} = 'ignore'; $|++; my $yts = "$Bin/../test-suite/yaml-test-suite-data"; # skip tests that parser can't parse my @skip = qw/ 4FJ6 4ABK 87E4 8UDB 9MMW CN3R CT4Q FRK4 L9U5 LQZ7 LX3P QF4Y Q9WF 6BFJ CFD4 M2N8:01 UKK6:01 /; push @skip, qw/ 6VJK MJS9 7T8X JHB9 LE5A v014 v020 /; my $testsuite = YAML::PP::Test->new( test_suite_dir => "$yts", dir => "$Bin/valid", valid => 1, in_yaml => 1, emit_yaml => 1, ); my ($testcases) = $testsuite->read_tests( skip => \@skip, ); $testsuite->run_testcases( code => \&test, ); $testsuite->print_stats( count => [qw/ SAME_EVENTS SAME_YAML DIFF_EVENTS DIFF_YAML ERROR TODO SKIP /], ids => [qw/ DIFF_YAML DIFF_EVENTS /], ); sub test { my ($testsuite, $testcase) = @_; my $id = $testcase->{id}; my $result = $testsuite->emit_yaml($testcase, { flow => 'yes' }); $testsuite->compare_emit_yaml($testcase, $result); } done_testing; exit; YAML-PP-v0.43.0/t/PaxHeaders/51.directives.t0000644000000000000000000000013215263373362015150 xustar0030 mtime=1791882994.980502799 30 atime=1791882994.980404811 30 ctime=1791882994.980502799 YAML-PP-v0.43.0/t/51.directives.t0000644000175000017500000001363115263373362014606 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use YAML::PP; subtest 'emit-yaml-directive' => sub { my $yp = YAML::PP->new( version_directive => 1, header => 0, # this should be overruled by version_directive ); my $yp_footer = YAML::PP->new( version_directive => 1, footer => 1, yaml_version => '1.1', ); my @docs = ( { a => 1 }, [ b => 2 ], 'c3', ); my $yaml = $yp->dump_string(@docs); my $yaml_footer = $yp_footer->dump_string(@docs); my $exp = <<'EOM'; %YAML 1.2 --- a: 1 ... %YAML 1.2 --- - b - 2 ... %YAML 1.2 --- c3 EOM my $exp_footer = <<'EOM'; %YAML 1.1 --- a: 1 ... %YAML 1.1 --- - b - 2 ... %YAML 1.1 --- c3 ... EOM is($yaml, $exp, 'Emit version directive'); is($yaml_footer, $exp_footer, 'Emit version directive (footer=1)'); }; subtest 'yaml-version' => sub { my $yaml = <<'EOM'; %YAML 1.2 --- a: 1 --- b: 2 ... %YAML 1.1 --- c: 3 --- b: 4 EOM my @events; my $receiver = sub { my ($p, $name, $event) = @_; if ($event->{name} eq 'document_start_event') { push @events, $event; } }; my $parser = YAML::PP::Parser->new( receiver => $receiver, ); my $parser_1_1 = YAML::PP::Parser->new( receiver => $receiver, default_yaml_version => '1.1', ); $parser->parse_string($yaml); is($events[0]->{version_directive}->{major}, '1', 'YAML 1.2 detected'); is($events[0]->{version_directive}->{minor}, '2', 'YAML 1.2 detected'); ok(! exists $events[1]->{version_directive}, 'No version directive'); is($events[2]->{version_directive}->{major}, '1', 'YAML 1.1 detected'); is($events[2]->{version_directive}->{minor}, '1', 'YAML 1.1 detected'); @events = (); $receiver = sub { my ($p, $name, $event) = @_; if ($event->{name} eq 'scalar_event') { push @events, $event; } }; my $parser_1_2 = YAML::PP::Parser->new( receiver => $receiver, ); $parser_1_1 = YAML::PP::Parser->new( receiver => $receiver, default_yaml_version => '1.1', ); $yaml = <<'EOM'; %TAG !a! !long- --- - !a!foo value --- - !a!bar value EOM eval { $parser_1_2->parse_string($yaml); }; my $err = $@; like($err, qr{undefined tag handle}, 'No global tags in YAML 1.2'); @events = (); $parser_1_1->parse_string($yaml); is($events[0]->{tag}, '!long-foo', 'First tag ok'); is($events[1]->{tag}, '!long-bar', 'Second tag ok'); }; subtest 'version-schema' => sub { my $yaml = <<'EOM'; what: [ yes, true ] ... %YAML 1.1 --- bool: yes ... %YAML 1.2 --- bool: true string: yes EOM my $out_12_11 = <<'EOM'; %YAML 1.2 --- what: - yes - 1 ... %YAML 1.2 --- bool: 1 ... %YAML 1.2 --- bool: 1 string: yes EOM my $out_11_12 = <<'EOM'; %YAML 1.1 --- what: - 1 - 1 ... %YAML 1.1 --- bool: 1 ... %YAML 1.1 --- bool: 1 string: 'yes' EOM my $out_12 = <<'EOM'; %YAML 1.2 --- what: - yes - 1 ... %YAML 1.2 --- bool: yes ... %YAML 1.2 --- bool: 1 string: yes EOM my $out_11 = <<'EOM'; %YAML 1.1 --- what: - 1 - 1 ... %YAML 1.1 --- bool: 1 ... %YAML 1.1 --- bool: 1 string: 1 EOM my %args= ( schema => [qw/ + /], boolean => '', version_directive => 1, ); my $yp = YAML::PP->new( %args, yaml_version => ['1.2', '1.1'], ); my @docs = $yp->load_string($yaml); is($docs[0]->{what}->[0], 'yes', '[1.2,1.1] Doc 1 default string'); is($docs[0]->{what}->[1], 1, '[1.2,1.1] Doc 1 YAML 1.2 bool'); is($docs[1]->{bool}, 1, '[1.2,1.1] Doc 2 YAML 1.1 bool'); is($docs[2]->{bool}, 1, '[1.2,1.1] Doc 2 YAML 1.2 bool'); is($docs[2]->{string}, 'yes', '[1.2,1.1] Doc 3 YAML 1.2 string'); my $out = $yp->dump_string(@docs); is($out, $out_12_11, '[1.2,1.1] Dump ok'); $yp = YAML::PP->new( %args, yaml_version => ['1.1', '1.2'], ); @docs = $yp->load_string($yaml); is($docs[0]->{what}->[0], 1, '[1.1,1.2] Doc 1 default bool'); is($docs[0]->{what}->[1], 1, '[1.1,1.2] Doc 1 YAML 1.1 bool'); is($docs[1]->{bool}, 1, '[1.1,1.2] Doc 2 YAML 1.1 bool'); is($docs[2]->{bool}, 1, '[1.1,1.2] Doc 2 YAML 1.2 bool'); is($docs[2]->{string}, 'yes', '[1.1,1.2] Doc 3 YAML 1.2 string'); $out = $yp->dump_string(@docs); is($out, $out_11_12, '[1.1,1.2] Dump ok'); $yp = YAML::PP->new( %args, yaml_version => ['1.2'], ); @docs = $yp->load_string($yaml); is($docs[0]->{what}->[0], 'yes', '[1.2] Doc 1 default string'); is($docs[0]->{what}->[1], 1, '[1.2] Doc 1 YAML 1.1 bool'); is($docs[1]->{bool}, 'yes', '[1.2] Doc 2 YAML 1.1 string'); is($docs[2]->{bool}, 1, '[1.2] Doc 2 YAML 1.2 bool'); is($docs[2]->{string}, 'yes', '[1.2] Doc 3 YAML 1.2 string'); $out = $yp->dump_string(@docs); is($out, $out_12, '[1.2] Dump ok'); $yp = YAML::PP->new( %args, yaml_version => ['1.1'], ); @docs = $yp->load_string($yaml); is($docs[0]->{what}->[0], 1, '[1.1] Doc 1 default bool'); is($docs[0]->{what}->[1], 1, '[1.1] Doc 1 YAML 1.1 bool'); is($docs[1]->{bool}, 1, '[1.1] Doc 2 YAML 1.1 bool'); is($docs[2]->{bool}, 1, '[1.1] Doc 2 YAML 1.2 bool'); is($docs[2]->{string}, 1, '[1.1] Doc 3 YAML 1.2 bool'); $out = $yp->dump_string(@docs); is($out, $out_11, '[1.1] Dump ok'); }; subtest 'yaml-and-tag' => sub { my $yaml = <<'EOM'; %YAML 1.2 %TAG !x! tag:foo- --- - !x!x EOM my @events; my $receiver = sub { my ($p, $name, $event) = @_; if ($event->{name} eq 'scalar_event') { push @events, $event; } }; my $parser = YAML::PP::Parser->new( receiver => $receiver, ); $parser->parse_string($yaml); is($events[0]->{tag}, 'tag:foo-x', '%YAML and %TAG directive'); }; done_testing; YAML-PP-v0.43.0/t/PaxHeaders/valid0000644000000000000000000000013215263373362013420 xustar0030 mtime=1791882994.980049317 30 atime=1791882994.977486896 30 ctime=1791882994.980049317 YAML-PP-v0.43.0/t/valid/0000755000175000017500000000000015263373362013127 5ustar00tinatinaYAML-PP-v0.43.0/t/valid/PaxHeaders/v0300000644000000000000000000000013215263373362014110 xustar0030 mtime=1791882994.992018085 30 atime=1791882994.980049317 30 ctime=1791882994.992018085 YAML-PP-v0.43.0/t/valid/v030/0000755000175000017500000000000015263373362013617 5ustar00tinatinaYAML-PP-v0.43.0/t/valid/v030/PaxHeaders/test.event0000644000000000000000000000013215263373362016207 xustar0030 mtime=1791882994.992114187 30 atime=1791882994.992018085 30 ctime=1791882994.992114187 YAML-PP-v0.43.0/t/valid/v030/test.event0000644000175000017500000000004015263373362015633 0ustar00tinatina+STR +DOC --- =VAL :a -DOC -STR YAML-PP-v0.43.0/t/valid/v030/PaxHeaders/out.yaml0000644000000000000000000000013115263373362015657 xustar0030 mtime=1791882994.987993039 29 atime=1791882994.98790001 30 ctime=1791882994.987993039 YAML-PP-v0.43.0/t/valid/v030/out.yaml0000644000175000017500000000000615263373362015306 0ustar00tinatina--- a YAML-PP-v0.43.0/t/valid/v030/PaxHeaders/in.yaml0000644000000000000000000000013215263373362015457 xustar0030 mtime=1791882994.985958481 30 atime=1791882994.985863008 30 ctime=1791882994.985958481 YAML-PP-v0.43.0/t/valid/v030/in.yaml0000644000175000017500000000002115263373362015102 0ustar00tinatina%YAMLL 1.1 --- a YAML-PP-v0.43.0/t/valid/v030/PaxHeaders/===0000644000000000000000000000013015263373362014454 xustar0029 mtime=1791882994.98021135 30 atime=1791882994.980049317 29 ctime=1791882994.98021135 YAML-PP-v0.43.0/t/valid/v030/===0000644000175000017500000000002315263373362014103 0ustar00tinatinaDirective variants YAML-PP-v0.43.0/t/valid/PaxHeaders/v0250000644000000000000000000000013215263373362014114 xustar0030 mtime=1791882994.991924217 30 atime=1791882994.979889869 30 ctime=1791882994.991924217 YAML-PP-v0.43.0/t/valid/v025/0000755000175000017500000000000015263373362013623 5ustar00tinatinaYAML-PP-v0.43.0/t/valid/v025/PaxHeaders/test.event0000644000000000000000000000013215263373362016213 xustar0030 mtime=1791882994.992018085 30 atime=1791882994.991924217 30 ctime=1791882994.992018085 YAML-PP-v0.43.0/t/valid/v025/test.event0000644000175000017500000000044215263373362015645 0ustar00tinatina+STR +DOC +SEQ +MAP {} =VAL : =VAL : -MAP +MAP {} =VAL : =VAL : -MAP +MAP {} =VAL : =VAL : -MAP +MAP {} =VAL : =VAL : -MAP +MAP {} =VAL : =VAL : -MAP +MAP {} =VAL : =VAL : -MAP +MAP {} =VAL : =VAL : =VAL :key =VAL :value -MAP +MAP {} =VAL : =VAL : =VAL :key =VAL :value -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/t/valid/v025/PaxHeaders/out.yaml0000644000000000000000000000013015263373362015662 xustar0029 mtime=1791882994.98790001 30 atime=1791882994.987807051 29 ctime=1791882994.98790001 YAML-PP-v0.43.0/t/valid/v025/out.yaml0000644000175000017500000000007215263373362015315 0ustar00tinatina- : - : - : - : - : - : - : key: value - : key: value YAML-PP-v0.43.0/t/valid/v025/PaxHeaders/in.yaml0000644000000000000000000000013215263373362015463 xustar0030 mtime=1791882994.985863008 30 atime=1791882994.985769071 30 ctime=1791882994.985863008 YAML-PP-v0.43.0/t/valid/v025/in.yaml0000644000175000017500000000013715263373362015116 0ustar00tinatina- {? } - { ? } - { ? } - { ? } - { ? ,} - { ? , } - { ? ,key: value} - { ? , key: value} YAML-PP-v0.43.0/t/valid/v025/PaxHeaders/===0000644000000000000000000000013215263373362014462 xustar0030 mtime=1791882994.980049317 30 atime=1791882994.979889869 30 ctime=1791882994.980049317 YAML-PP-v0.43.0/t/valid/v025/===0000644000175000017500000000006015263373362014110 0ustar00tinatinaExplicit empty key/value pairs in flow mappings YAML-PP-v0.43.0/t/valid/PaxHeaders/v0200000644000000000000000000000013215263373362014107 xustar0030 mtime=1791882994.991841665 30 atime=1791882994.979745436 30 ctime=1791882994.991841665 YAML-PP-v0.43.0/t/valid/v020/0000755000175000017500000000000015263373362013616 5ustar00tinatinaYAML-PP-v0.43.0/t/valid/v020/PaxHeaders/test.event0000644000000000000000000000013215263373362016206 xustar0030 mtime=1791882994.991924217 30 atime=1791882994.991841665 30 ctime=1791882994.991924217 YAML-PP-v0.43.0/t/valid/v020/test.event0000644000175000017500000000035115263373362015637 0ustar00tinatina+STR +DOC --- +MAP +MAP =VAL :x =VAL :y -MAP =VAL :z =VAL :a =VAL :b -MAP -DOC +DOC --- +MAP =VAL :top1 +MAP +MAP =VAL :a =VAL :1 -MAP +MAP =VAL :b +SEQ [] =VAL :c -SEQ -MAP =VAL :x =VAL :y -MAP =VAL :top2 =VAL :value -MAP -DOC -STR YAML-PP-v0.43.0/t/valid/v020/PaxHeaders/out.yaml0000644000000000000000000000013215263373362015657 xustar0030 mtime=1791882994.987807051 30 atime=1791882994.987716955 30 ctime=1791882994.987807051 YAML-PP-v0.43.0/t/valid/v020/out.yaml0000644000175000017500000000011115263373362015302 0ustar00tinatina--- ? x: y : z a: b --- top1: ? a: 1 : b: - c x: y top2: value YAML-PP-v0.43.0/t/valid/v020/PaxHeaders/in.yaml0000644000000000000000000000013215263373362015456 xustar0030 mtime=1791882994.985769071 30 atime=1791882994.985676461 30 ctime=1791882994.985769071 YAML-PP-v0.43.0/t/valid/v020/in.yaml0000644000175000017500000000011215263373362015102 0ustar00tinatina--- ? x: y : z a: b --- top1: ? a: 1 : b: [c] ? x : y top2: value YAML-PP-v0.43.0/t/valid/v020/PaxHeaders/===0000644000000000000000000000013215263373362014455 xustar0030 mtime=1791882994.979889869 30 atime=1791882994.979745436 30 ctime=1791882994.979889869 YAML-PP-v0.43.0/t/valid/v020/===0000644000175000017500000000002415263373362014103 0ustar00tinatinaComplex mapping key YAML-PP-v0.43.0/t/valid/PaxHeaders/v0310000644000000000000000000000013215263373362014111 xustar0030 mtime=1791882994.991744585 30 atime=1791882994.979598908 30 ctime=1791882994.991744585 YAML-PP-v0.43.0/t/valid/v031/0000755000175000017500000000000015263373362013620 5ustar00tinatinaYAML-PP-v0.43.0/t/valid/v031/PaxHeaders/test.event0000644000000000000000000000013215263373362016210 xustar0030 mtime=1791882994.991841665 30 atime=1791882994.991744585 30 ctime=1791882994.991841665 YAML-PP-v0.43.0/t/valid/v031/test.event0000644000175000017500000000012415263373362015637 0ustar00tinatina+STR +DOC --- =VAL :a -DOC ... +DOC --- =VAL :b -DOC ... +DOC --- =VAL :c -DOC -STR YAML-PP-v0.43.0/t/valid/v031/PaxHeaders/out.yaml0000644000000000000000000000013215263373362015661 xustar0030 mtime=1791882994.987716955 30 atime=1791882994.987625393 30 ctime=1791882994.987716955 YAML-PP-v0.43.0/t/valid/v031/out.yaml0000644000175000017500000000003215263373362015306 0ustar00tinatina--- a ... --- b ... --- c YAML-PP-v0.43.0/t/valid/v031/PaxHeaders/in.yaml0000644000000000000000000000013215263373362015460 xustar0030 mtime=1791882994.985676461 30 atime=1791882994.985582454 30 ctime=1791882994.985676461 YAML-PP-v0.43.0/t/valid/v031/in.yaml0000644000175000017500000000007215263373362015111 0ustar00tinatina%YAML 1.1 --- a ... %YAML 1.1 --- b ... %YAML 1.1 --- c YAML-PP-v0.43.0/t/valid/v031/PaxHeaders/===0000644000000000000000000000013215263373362014457 xustar0030 mtime=1791882994.979745436 30 atime=1791882994.979598908 30 ctime=1791882994.979745436 YAML-PP-v0.43.0/t/valid/v031/===0000644000175000017500000000002315263373362014104 0ustar00tinatinaDirective variants YAML-PP-v0.43.0/t/valid/PaxHeaders/v0220000644000000000000000000000013215263373362014111 xustar0030 mtime=1791882994.991648203 30 atime=1791882994.979453917 30 ctime=1791882994.991648203 YAML-PP-v0.43.0/t/valid/v022/0000755000175000017500000000000015263373362013620 5ustar00tinatinaYAML-PP-v0.43.0/t/valid/v022/PaxHeaders/test.event0000644000000000000000000000013215263373362016210 xustar0030 mtime=1791882994.991744585 30 atime=1791882994.991648203 30 ctime=1791882994.991744585 YAML-PP-v0.43.0/t/valid/v022/test.event0000644000175000017500000000153515263373362015646 0ustar00tinatina+STR +DOC +SEQ +SEQ [] =VAL : =VAL :second value -SEQ +SEQ [] =VAL : -SEQ +SEQ [] =VAL : -SEQ +SEQ [] =VAL : -SEQ +SEQ [] =VAL : -SEQ +SEQ [] =VAL &anchor1 : =VAL :second value -SEQ +SEQ [] =VAL &anchor2 : -SEQ +SEQ [] =VAL &anchor3 : -SEQ +SEQ [] =VAL &anchor4 : -SEQ +SEQ [] =VAL &anchor5 : -SEQ +SEQ [] =VAL &anchor6 : -SEQ +SEQ [] =VAL &anchor7 : -SEQ +SEQ [] =VAL &anchor8 : -SEQ +SEQ [] =VAL &anchor9 : -SEQ +SEQ [] =VAL &anchor10 : -SEQ +SEQ [] =VAL &anchor11 : -SEQ +SEQ [] =VAL &anchor12 : -SEQ +SEQ [] =VAL &anchor13 : -SEQ -SEQ -DOC -STR YAML-PP-v0.43.0/t/valid/v022/PaxHeaders/out.yaml0000644000000000000000000000013215263373362015661 xustar0030 mtime=1791882994.987625393 30 atime=1791882994.987534389 30 ctime=1791882994.987625393 YAML-PP-v0.43.0/t/valid/v022/out.yaml0000644000175000017500000000046115263373362015314 0ustar00tinatina- - !!str - second value - - !!str - - !!str - - !!str - - !!str - - &anchor1 - second value - - &anchor2 - - &anchor3 - - &anchor4 - - &anchor5 - - &anchor6 !!str - - &anchor7 !!str - - &anchor8 !!str - - &anchor9 !!str - - &anchor10 !!str - - &anchor11 !!str - - &anchor12 !!str - - &anchor13 !!str YAML-PP-v0.43.0/t/valid/v022/PaxHeaders/in.json0000644000000000000000000000013215263373362015467 xustar0030 mtime=1791882994.985582454 30 atime=1791882994.985490891 30 ctime=1791882994.985582454 YAML-PP-v0.43.0/t/valid/v022/in.json0000644000175000017500000000064115263373362015122 0ustar00tinatina[ [ "", "second value" ], [ "" ], [ "" ], [ "" ], [ "" ], [ null, "second value" ], [ null ], [ null ], [ null ], [ null ], [ "" ], [ "" ], [ "" ], [ "" ], [ "" ], [ "" ], [ "" ], [ "" ] ] YAML-PP-v0.43.0/t/valid/v022/PaxHeaders/in.yaml0000644000000000000000000000013215263373362015460 xustar0030 mtime=1791882994.985490891 30 atime=1791882994.985399888 30 ctime=1791882994.985490891 YAML-PP-v0.43.0/t/valid/v022/in.yaml0000644000175000017500000000047115263373362015114 0ustar00tinatina- [!!str,second value] - [!!str,] - [!!str ,] - [!!str] - [!!str ] - [&anchor1,second value] - [&anchor2,] - [&anchor3 ,] - [&anchor4] - [&anchor5 ] - [!!str &anchor6,] - [!!str &anchor7 ,] - [!!str &anchor8] - [!!str &anchor9 ] - [&anchor10 !!str,] - [&anchor11 !!str ,] - [&anchor12 !!str] - [&anchor13 !!str ] YAML-PP-v0.43.0/t/valid/v022/PaxHeaders/===0000644000000000000000000000013215263373362014457 xustar0030 mtime=1791882994.979598908 30 atime=1791882994.979453917 30 ctime=1791882994.979598908 YAML-PP-v0.43.0/t/valid/v022/===0000644000175000017500000000003315263373362014105 0ustar00tinatinaEmpty flow sequence values YAML-PP-v0.43.0/t/valid/PaxHeaders/v0230000644000000000000000000000013015263373362014110 xustar0029 mtime=1791882994.99156579 30 atime=1791882994.979307529 29 ctime=1791882994.99156579 YAML-PP-v0.43.0/t/valid/v023/0000755000175000017500000000000015263373362013621 5ustar00tinatinaYAML-PP-v0.43.0/t/valid/v023/PaxHeaders/test.event0000644000000000000000000000013115263373362016210 xustar0030 mtime=1791882994.991648203 29 atime=1791882994.99156579 30 ctime=1791882994.991648203 YAML-PP-v0.43.0/t/valid/v023/test.event0000644000175000017500000000013715263373362015644 0ustar00tinatina+STR +DOC +SEQ +SEQ [] -SEQ +SEQ [] -SEQ +SEQ [] -SEQ +SEQ [] -SEQ +SEQ [] -SEQ -SEQ -DOC -STR YAML-PP-v0.43.0/t/valid/v023/PaxHeaders/out.yaml0000644000000000000000000000013215263373362015662 xustar0030 mtime=1791882994.987534389 30 atime=1791882994.987443315 30 ctime=1791882994.987534389 YAML-PP-v0.43.0/t/valid/v023/out.yaml0000644000175000017500000000003115263373362015306 0ustar00tinatina- [] - [] - [] - [] - [] YAML-PP-v0.43.0/t/valid/v023/PaxHeaders/in.json0000644000000000000000000000013215263373362015470 xustar0030 mtime=1791882994.985399888 30 atime=1791882994.985296033 30 ctime=1791882994.985399888 YAML-PP-v0.43.0/t/valid/v023/in.json0000644000175000017500000000004615263373362015122 0ustar00tinatina[ [], [], [], [], [] ] YAML-PP-v0.43.0/t/valid/v023/PaxHeaders/in.yaml0000644000000000000000000000013215263373362015461 xustar0030 mtime=1791882994.985296033 30 atime=1791882994.985202026 30 ctime=1791882994.985296033 YAML-PP-v0.43.0/t/valid/v023/in.yaml0000644000175000017500000000012015263373362015104 0ustar00tinatina- [ ] - [ ] - [ # comment ] - [ # comment ] - [ # comment ] YAML-PP-v0.43.0/t/valid/v023/PaxHeaders/===0000644000000000000000000000013215263373362014460 xustar0030 mtime=1791882994.979453917 30 atime=1791882994.979307529 30 ctime=1791882994.979453917 YAML-PP-v0.43.0/t/valid/v023/===0000644000175000017500000000003015263373362014103 0ustar00tinatinaComment lines with tabs YAML-PP-v0.43.0/t/valid/PaxHeaders/v0190000644000000000000000000000013215263373362014117 xustar0030 mtime=1791882994.991469758 30 atime=1791882994.979159604 30 ctime=1791882994.991469758 YAML-PP-v0.43.0/t/valid/v019/0000755000175000017500000000000015263373362013626 5ustar00tinatinaYAML-PP-v0.43.0/t/valid/v019/PaxHeaders/test.event0000644000000000000000000000013015263373362016214 xustar0029 mtime=1791882994.99156579 30 atime=1791882994.991469758 29 ctime=1791882994.99156579 YAML-PP-v0.43.0/t/valid/v019/test.event0000644000175000017500000000020115263373362015641 0ustar00tinatina+STR +DOC --- +MAP =VAL :mapping +MAP =VAL >key\n =VAL : =VAL : =VAL :value +SEQ =VAL :a =VAL :b -SEQ =VAL : -MAP -MAP -DOC -STR YAML-PP-v0.43.0/t/valid/v019/PaxHeaders/out.yaml0000644000000000000000000000013215263373362015667 xustar0030 mtime=1791882994.987443315 30 atime=1791882994.987351194 30 ctime=1791882994.987443315 YAML-PP-v0.43.0/t/valid/v019/out.yaml0000644000175000017500000000007515263373362015323 0ustar00tinatina--- mapping: ? > key : : value ? - a - b : YAML-PP-v0.43.0/t/valid/v019/PaxHeaders/in.yaml0000644000000000000000000000013215263373362015466 xustar0030 mtime=1791882994.985202026 30 atime=1791882994.985084553 30 ctime=1791882994.985202026 YAML-PP-v0.43.0/t/valid/v019/in.yaml0000644000175000017500000000007115263373362015116 0ustar00tinatina--- mapping: ? > key : : value ? - a - b YAML-PP-v0.43.0/t/valid/v019/PaxHeaders/===0000644000000000000000000000013215263373362014465 xustar0030 mtime=1791882994.979307529 30 atime=1791882994.979159604 30 ctime=1791882994.979307529 YAML-PP-v0.43.0/t/valid/v019/===0000644000175000017500000000005115263373362014113 0ustar00tinatinaImplicit Key Block Sequence on same line YAML-PP-v0.43.0/t/valid/PaxHeaders/v0330000644000000000000000000000013215263373362014113 xustar0030 mtime=1791882994.991387205 30 atime=1791882994.979006651 30 ctime=1791882994.991387205 YAML-PP-v0.43.0/t/valid/v033/0000755000175000017500000000000015263373362013622 5ustar00tinatinaYAML-PP-v0.43.0/t/valid/v033/PaxHeaders/test.event0000644000000000000000000000013215263373362016212 xustar0030 mtime=1791882994.991469758 30 atime=1791882994.991387205 30 ctime=1791882994.991469758 YAML-PP-v0.43.0/t/valid/v033/test.event0000644000175000017500000000014515263373362015644 0ustar00tinatina+STR +DOC --- +SEQ =VAL > =VAL >\n =VAL >\n\n =VAL >a\n =VAL >a\n\n =VAL >a\n\n\n -SEQ -DOC ... -STR YAML-PP-v0.43.0/t/valid/v033/PaxHeaders/in.json0000644000000000000000000000013215263373362015471 xustar0030 mtime=1791882994.985084553 30 atime=1791882994.985001231 30 ctime=1791882994.985084553 YAML-PP-v0.43.0/t/valid/v033/in.json0000644000175000017500000000007415263373362015124 0ustar00tinatina[ "", "\n", "\n\n", "a\n", "a\n\n", "a\n\n\n" ] YAML-PP-v0.43.0/t/valid/v033/PaxHeaders/in.yaml0000644000000000000000000000013215263373362015462 xustar0030 mtime=1791882994.985001231 30 atime=1791882994.984907644 30 ctime=1791882994.985001231 YAML-PP-v0.43.0/t/valid/v033/in.yaml0000644000175000017500000000006515263373362015115 0ustar00tinatina--- - >+ - >+ - >+ - >+ a - >+ a - >+ a ... YAML-PP-v0.43.0/t/valid/v033/PaxHeaders/===0000644000000000000000000000013215263373362014461 xustar0030 mtime=1791882994.979159604 30 atime=1791882994.979006651 30 ctime=1791882994.979159604 YAML-PP-v0.43.0/t/valid/v033/===0000644000175000017500000000006015263373362014107 0ustar00tinatinaFolded scalars with keeping trailing linebreaks YAML-PP-v0.43.0/t/valid/PaxHeaders/v0280000644000000000000000000000013215263373362014117 xustar0030 mtime=1791882994.991295642 30 atime=1791882994.978842802 30 ctime=1791882994.991295642 YAML-PP-v0.43.0/t/valid/v028/0000755000175000017500000000000015263373362013626 5ustar00tinatinaYAML-PP-v0.43.0/t/valid/v028/PaxHeaders/test.event0000644000000000000000000000013215263373362016216 xustar0030 mtime=1791882994.991387205 30 atime=1791882994.991295642 30 ctime=1791882994.991387205 YAML-PP-v0.43.0/t/valid/v028/test.event0000644000175000017500000000024215263373362015646 0ustar00tinatina+STR +DOC +SEQ =VAL "1 leading \ttab =VAL "2 leading \ttab =VAL "3 leading tab =VAL "4 leading \t tab =VAL "5 leading \t tab =VAL "6 leading tab -SEQ -DOC -STR YAML-PP-v0.43.0/t/valid/v028/PaxHeaders/out.yaml0000644000000000000000000000013215263373362015667 xustar0030 mtime=1791882994.987351194 30 atime=1791882994.987258584 30 ctime=1791882994.987351194 YAML-PP-v0.43.0/t/valid/v028/out.yaml0000644000175000017500000000017015263373362015317 0ustar00tinatina- "1 leading \ttab" - "2 leading \ttab" - "3 leading tab" - "4 leading \t tab" - "5 leading \t tab" - "6 leading tab" YAML-PP-v0.43.0/t/valid/v028/PaxHeaders/in.yaml0000644000000000000000000000013215263373362015466 xustar0030 mtime=1791882994.984907644 30 atime=1791882994.984822227 30 ctime=1791882994.984907644 YAML-PP-v0.43.0/t/valid/v028/in.yaml0000644000175000017500000000022415263373362015116 0ustar00tinatina- "1 leading \ttab" - "2 leading \ tab" - "3 leading tab" - "4 leading \t tab" - "5 leading \ tab" - "6 leading tab" YAML-PP-v0.43.0/t/valid/v028/PaxHeaders/===0000644000000000000000000000013215263373362014465 xustar0030 mtime=1791882994.979006651 30 atime=1791882994.978842802 30 ctime=1791882994.979006651 YAML-PP-v0.43.0/t/valid/v028/===0000644000175000017500000000003615263373362014116 0ustar00tinatinaLeading tabs in double quotes YAML-PP-v0.43.0/t/valid/PaxHeaders/v0210000644000000000000000000000013215263373362014110 xustar0030 mtime=1791882994.991202194 30 atime=1791882994.978705214 30 ctime=1791882994.991202194 YAML-PP-v0.43.0/t/valid/v021/0000755000175000017500000000000015263373362013617 5ustar00tinatinaYAML-PP-v0.43.0/t/valid/v021/PaxHeaders/test.event0000644000000000000000000000013215263373362016207 xustar0030 mtime=1791882994.991295642 30 atime=1791882994.991202194 30 ctime=1791882994.991295642 YAML-PP-v0.43.0/t/valid/v021/test.event0000644000175000017500000000013015263373362015633 0ustar00tinatina+STR +DOC +SEQ +MAP =VAL :one =VAL | two\n =VAL :three =VAL |four\n -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/t/valid/v021/PaxHeaders/out.yaml0000644000000000000000000000013215263373362015660 xustar0030 mtime=1791882994.987258584 30 atime=1791882994.987162692 30 ctime=1791882994.987258584 YAML-PP-v0.43.0/t/valid/v021/out.yaml0000644000175000017500000000004715263373362015313 0ustar00tinatina- one: |2 two three: | four YAML-PP-v0.43.0/t/valid/v021/PaxHeaders/in.yaml0000644000000000000000000000013215263373362015457 xustar0030 mtime=1791882994.984822227 30 atime=1791882994.984730595 30 ctime=1791882994.984822227 YAML-PP-v0.43.0/t/valid/v021/in.yaml0000644000175000017500000000004715263373362015112 0ustar00tinatina- one: |2 two three: | four YAML-PP-v0.43.0/t/valid/v021/PaxHeaders/===0000644000000000000000000000013215263373362014456 xustar0030 mtime=1791882994.978842802 30 atime=1791882994.978705214 30 ctime=1791882994.978842802 YAML-PP-v0.43.0/t/valid/v021/===0000644000175000017500000000004215263373362014104 0ustar00tinatinaBlock indicators in deeper levels YAML-PP-v0.43.0/t/valid/PaxHeaders/v0340000644000000000000000000000013215263373362014114 xustar0030 mtime=1791882994.991097152 30 atime=1791882994.978560642 30 ctime=1791882994.991097152 YAML-PP-v0.43.0/t/valid/v034/0000755000175000017500000000000015263373362013623 5ustar00tinatinaYAML-PP-v0.43.0/t/valid/v034/PaxHeaders/test.event0000644000000000000000000000013215263373362016213 xustar0030 mtime=1791882994.991202194 30 atime=1791882994.991097152 30 ctime=1791882994.991202194 YAML-PP-v0.43.0/t/valid/v034/test.event0000644000175000017500000000026415263373362015647 0ustar00tinatina+STR +DOC --- +MAP =VAL :key =VAL &alias :value =ALI *alias +SEQ =VAL :key -SEQ -MAP -DOC +DOC --- +MAP =VAL :key =VAL &alias :value =ALI *alias +SEQ =VAL :key -SEQ -MAP -DOC -STR YAML-PP-v0.43.0/t/valid/v034/PaxHeaders/out.yaml0000644000000000000000000000013215263373362015664 xustar0030 mtime=1791882994.987162692 30 atime=1791882994.987066869 30 ctime=1791882994.987162692 YAML-PP-v0.43.0/t/valid/v034/out.yaml0000644000175000017500000000011215263373362015310 0ustar00tinatina--- key: &alias value *alias : - key --- key: &alias value *alias : - key YAML-PP-v0.43.0/t/valid/v034/PaxHeaders/in.json0000644000000000000000000000013215263373362015472 xustar0030 mtime=1791882994.984730595 30 atime=1791882994.984638055 30 ctime=1791882994.984730595 YAML-PP-v0.43.0/t/valid/v034/in.json0000644000175000017500000000014215263373362015121 0ustar00tinatina{ "key": "value", "value": [ "key" ] } { "key": "value", "value": [ "key" ] } YAML-PP-v0.43.0/t/valid/v034/PaxHeaders/in.yaml0000644000000000000000000000013215263373362015463 xustar0030 mtime=1791882994.984638055 30 atime=1791882994.984546981 30 ctime=1791882994.984638055 YAML-PP-v0.43.0/t/valid/v034/in.yaml0000644000175000017500000000011415263373362015111 0ustar00tinatina--- key: &alias value *alias : - key --- key: &alias value *alias : - key YAML-PP-v0.43.0/t/valid/v034/PaxHeaders/===0000644000000000000000000000013215263373362014462 xustar0030 mtime=1791882994.978705214 30 atime=1791882994.978560642 30 ctime=1791882994.978705214 YAML-PP-v0.43.0/t/valid/v034/===0000644000175000017500000000006115263373362014111 0ustar00tinatinaAlias as mapping key and block sequence as value YAML-PP-v0.43.0/t/valid/PaxHeaders/v0290000644000000000000000000000013215263373362014120 xustar0030 mtime=1791882994.991006288 30 atime=1791882994.978417117 30 ctime=1791882994.991006288 YAML-PP-v0.43.0/t/valid/v029/0000755000175000017500000000000015263373362013627 5ustar00tinatinaYAML-PP-v0.43.0/t/valid/v029/PaxHeaders/test.event0000644000000000000000000000013215263373362016217 xustar0030 mtime=1791882994.991097152 30 atime=1791882994.991006288 30 ctime=1791882994.991097152 YAML-PP-v0.43.0/t/valid/v029/test.event0000644000175000017500000000004015263373362015643 0ustar00tinatina+STR +DOC --- =VAL :a -DOC -STR YAML-PP-v0.43.0/t/valid/v029/PaxHeaders/out.yaml0000644000000000000000000000013215263373362015670 xustar0030 mtime=1791882994.987066869 30 atime=1791882994.986975725 30 ctime=1791882994.987066869 YAML-PP-v0.43.0/t/valid/v029/out.yaml0000644000175000017500000000000615263373362015316 0ustar00tinatina--- a YAML-PP-v0.43.0/t/valid/v029/PaxHeaders/in.yaml0000644000000000000000000000013215263373362015467 xustar0030 mtime=1791882994.984546981 30 atime=1791882994.984454511 30 ctime=1791882994.984546981 YAML-PP-v0.43.0/t/valid/v029/in.yaml0000644000175000017500000000002515263373362015116 0ustar00tinatina%YAML 1.1 #... --- a YAML-PP-v0.43.0/t/valid/v029/PaxHeaders/===0000644000000000000000000000013215263373362014466 xustar0030 mtime=1791882994.978560642 30 atime=1791882994.978417117 30 ctime=1791882994.978560642 YAML-PP-v0.43.0/t/valid/v029/===0000644000175000017500000000002315263373362014113 0ustar00tinatinaDirective variants YAML-PP-v0.43.0/t/valid/PaxHeaders/v0090000644000000000000000000000013215263373362014116 xustar0030 mtime=1791882994.990915005 30 atime=1791882994.978271497 30 ctime=1791882994.990915005 YAML-PP-v0.43.0/t/valid/v009/0000755000175000017500000000000015263373362013625 5ustar00tinatinaYAML-PP-v0.43.0/t/valid/v009/PaxHeaders/test.event0000644000000000000000000000013215263373362016215 xustar0030 mtime=1791882994.991006288 30 atime=1791882994.990915005 30 ctime=1791882994.991006288 YAML-PP-v0.43.0/t/valid/v009/test.event0000644000175000017500000000012715263373362015647 0ustar00tinatina+STR +DOC +MAP =VAL :a +SEQ =VAL :1 =VAL :2 =VAL : -SEQ =VAL :b =VAL :3 -MAP -DOC -STR YAML-PP-v0.43.0/t/valid/v009/PaxHeaders/out.yaml0000644000000000000000000000013215263373362015666 xustar0030 mtime=1791882994.986975725 30 atime=1791882994.986884233 30 ctime=1791882994.986975725 YAML-PP-v0.43.0/t/valid/v009/out.yaml0000644000175000017500000000002215263373362015312 0ustar00tinatinaa: - 1 - 2 - b: 3 YAML-PP-v0.43.0/t/valid/v009/PaxHeaders/in.yaml0000644000000000000000000000013215263373362015465 xustar0030 mtime=1791882994.984454511 30 atime=1791882994.984361202 30 ctime=1791882994.984454511 YAML-PP-v0.43.0/t/valid/v009/in.yaml0000644000175000017500000000003215263373362015112 0ustar00tinatinaa: - 1 - 2 - # empty b: 3 YAML-PP-v0.43.0/t/valid/v009/PaxHeaders/===0000644000000000000000000000013215263373362014464 xustar0030 mtime=1791882994.978417117 30 atime=1791882994.978271497 30 ctime=1791882994.978417117 YAML-PP-v0.43.0/t/valid/v009/===0000644000175000017500000000005215263373362014113 0ustar00tinatinaEmpty value at end of unindented sequence YAML-PP-v0.43.0/t/valid/PaxHeaders/v0260000644000000000000000000000013115263373362014114 xustar0030 mtime=1791882994.990822954 29 atime=1791882994.97811603 30 ctime=1791882994.990822954 YAML-PP-v0.43.0/t/valid/v026/0000755000175000017500000000000015263373362013624 5ustar00tinatinaYAML-PP-v0.43.0/t/valid/v026/PaxHeaders/test.event0000644000000000000000000000013215263373362016214 xustar0030 mtime=1791882994.990915005 30 atime=1791882994.990822954 30 ctime=1791882994.990915005 YAML-PP-v0.43.0/t/valid/v026/test.event0000644000175000017500000000013215263373362015642 0ustar00tinatina+STR +DOC +SEQ =VAL "1 inline\ttab =VAL "2 inline\ttab =VAL "3 inline\ttab -SEQ -DOC -STR YAML-PP-v0.43.0/t/valid/v026/PaxHeaders/out.yaml0000644000000000000000000000013215263373362015665 xustar0030 mtime=1791882994.986884233 30 atime=1791882994.986794696 30 ctime=1791882994.986884233 YAML-PP-v0.43.0/t/valid/v026/out.yaml0000644000175000017500000000006615263373362015321 0ustar00tinatina- "1 inline\ttab" - "2 inline\ttab" - "3 inline\ttab" YAML-PP-v0.43.0/t/valid/v026/PaxHeaders/in.yaml0000644000000000000000000000013215263373362015464 xustar0030 mtime=1791882994.984361202 30 atime=1791882994.984267195 30 ctime=1791882994.984361202 YAML-PP-v0.43.0/t/valid/v026/in.yaml0000644000175000017500000000006515263373362015117 0ustar00tinatina- "1 inline\ttab" - "2 inline\ tab" - "3 inline tab" YAML-PP-v0.43.0/t/valid/v026/PaxHeaders/===0000644000000000000000000000013115263373362014462 xustar0030 mtime=1791882994.978271497 29 atime=1791882994.97811603 30 ctime=1791882994.978271497 YAML-PP-v0.43.0/t/valid/v026/===0000644000175000017500000000002615263373362014113 0ustar00tinatinaTabs in double quotes YAML-PP-v0.43.0/t/valid/PaxHeaders/v0240000644000000000000000000000013215263373362014113 xustar0030 mtime=1791882994.990732509 30 atime=1791882994.977972086 30 ctime=1791882994.990732509 YAML-PP-v0.43.0/t/valid/v024/0000755000175000017500000000000015263373362013622 5ustar00tinatinaYAML-PP-v0.43.0/t/valid/v024/PaxHeaders/test.event0000644000000000000000000000013215263373362016212 xustar0030 mtime=1791882994.990822954 30 atime=1791882994.990732509 30 ctime=1791882994.990822954 YAML-PP-v0.43.0/t/valid/v024/test.event0000644000175000017500000000174515263373362015653 0ustar00tinatina+STR +DOC +SEQ +MAP {} =VAL : =VAL : =VAL :second key =VAL : -MAP +MAP {} =VAL : =VAL : -MAP +MAP {} =VAL : =VAL : -MAP +MAP {} =VAL : =VAL : -MAP +MAP {} =VAL : =VAL : -MAP +MAP {} =VAL &anchor1 : =VAL : =VAL :second key =VAL : -MAP +MAP {} =VAL &anchor2 : =VAL : -MAP +MAP {} =VAL &anchor3 : =VAL : -MAP +MAP {} =VAL &anchor4 : =VAL : -MAP +MAP {} =VAL &anchor5 : =VAL : -MAP +MAP {} =VAL &anchor6 : =VAL : -MAP +MAP {} =VAL &anchor7 : =VAL : -MAP +MAP {} =VAL &anchor8 : =VAL : -MAP +MAP {} =VAL &anchor9 : =VAL : -MAP +MAP {} =VAL &anchor10 : =VAL : -MAP +MAP {} =VAL &anchor11 : =VAL : -MAP +MAP {} =VAL &anchor12 : =VAL : -MAP +MAP {} =VAL &anchor13 : =VAL : -MAP -SEQ -DOC -STR YAML-PP-v0.43.0/t/valid/v024/PaxHeaders/out.yaml0000644000000000000000000000013215263373362015663 xustar0030 mtime=1791882994.986794696 30 atime=1791882994.986703273 30 ctime=1791882994.986794696 YAML-PP-v0.43.0/t/valid/v024/out.yaml0000644000175000017500000000045315263373362015317 0ustar00tinatina- !!str : second key: - !!str : - !!str : - !!str : - !!str : - &anchor1 : second key: - &anchor2 : - &anchor3 : - &anchor4 : - &anchor5 : - &anchor6 !!str : - &anchor7 !!str : - &anchor8 !!str : - &anchor9 !!str : - &anchor10 !!str : - &anchor11 !!str : - &anchor12 !!str : - &anchor13 !!str : YAML-PP-v0.43.0/t/valid/v024/PaxHeaders/in.json0000644000000000000000000000013215263373362015471 xustar0030 mtime=1791882994.984267195 30 atime=1791882994.984167043 30 ctime=1791882994.984267195 YAML-PP-v0.43.0/t/valid/v024/in.json0000644000175000017500000000103715263373362015124 0ustar00tinatina[ { "" : null, "second key" : null }, { "" : null }, { "" : null }, { "" : null }, { "" : null }, { "" : null, "second key" : null }, { "" : null }, { "" : null }, { "" : null }, { "" : null }, { "" : null }, { "" : null }, { "" : null }, { "" : null }, { "" : null }, { "" : null }, { "" : null }, { "" : null } ] YAML-PP-v0.43.0/t/valid/v024/PaxHeaders/in.yaml0000644000000000000000000000013115263373362015461 xustar0030 mtime=1791882994.984167043 29 atime=1791882994.98406682 30 ctime=1791882994.984167043 YAML-PP-v0.43.0/t/valid/v024/in.yaml0000644000175000017500000000046515263373362015121 0ustar00tinatina- {!!str,second key} - {!!str,} - {!!str ,} - {!!str} - {!!str } - {&anchor1,second key} - {&anchor2,} - {&anchor3 ,} - {&anchor4} - {&anchor5 } - {!!str &anchor6,} - {!!str &anchor7 ,} - {!!str &anchor8} - {!!str &anchor9 } - {&anchor10 !!str,} - {&anchor11 !!str ,} - {&anchor12 !!str} - {&anchor13 !!str } YAML-PP-v0.43.0/t/valid/v024/PaxHeaders/===0000644000000000000000000000013015263373362014457 xustar0029 mtime=1791882994.97811603 30 atime=1791882994.977972086 29 ctime=1791882994.97811603 YAML-PP-v0.43.0/t/valid/v024/===0000644000175000017500000000003715263373362014113 0ustar00tinatinaEmpty flow mapping keys values YAML-PP-v0.43.0/t/valid/PaxHeaders/v0140000644000000000000000000000013015263373362014110 xustar0029 mtime=1791882994.99063941 30 atime=1791882994.977826187 29 ctime=1791882994.99063941 YAML-PP-v0.43.0/t/valid/v014/0000755000175000017500000000000015263373362013621 5ustar00tinatinaYAML-PP-v0.43.0/t/valid/v014/PaxHeaders/test.event0000644000000000000000000000013115263373362016210 xustar0030 mtime=1791882994.990732509 29 atime=1791882994.99063941 30 ctime=1791882994.990732509 YAML-PP-v0.43.0/t/valid/v014/test.event0000644000175000017500000000024715263373362015646 0ustar00tinatina+STR +DOC --- =VAL :scalar -DOC ... +DOC --- =VAL :scalar -DOC +DOC --- =VAL :scalar -DOC -STR YAML-PP-v0.43.0/t/valid/v014/PaxHeaders/in.yaml0000644000000000000000000000013015263373362015457 xustar0029 mtime=1791882994.98406682 30 atime=1791882994.983974349 29 ctime=1791882994.98406682 YAML-PP-v0.43.0/t/valid/v014/in.yaml0000644000175000017500000000022115263373362015106 0ustar00tinatina%TAG !123ab-! tag:example.com,2000:app/ --- !123ab-!foo scalar ... %TAG !pre! !prefix-%2F[]*@ --- !pre!name scalar --- !foo%2f()*@a=b&c=d scalar YAML-PP-v0.43.0/t/valid/v014/PaxHeaders/===0000644000000000000000000000013215263373362014460 xustar0030 mtime=1791882994.977972086 30 atime=1791882994.977826187 30 ctime=1791882994.977972086 YAML-PP-v0.43.0/t/valid/v014/===0000644000175000017500000000003315263373362014106 0ustar00tinatinaAllowed Characters in Tags YAML-PP-v0.43.0/t/valid/PaxHeaders/v0320000644000000000000000000000013015263373362014110 xustar0029 mtime=1791882994.99054694 30 atime=1791882994.977680637 29 ctime=1791882994.99054694 YAML-PP-v0.43.0/t/valid/v032/0000755000175000017500000000000015263373362013621 5ustar00tinatinaYAML-PP-v0.43.0/t/valid/v032/PaxHeaders/test.event0000644000000000000000000000012715263373362016215 xustar0029 mtime=1791882994.99063941 29 atime=1791882994.99054694 29 ctime=1791882994.99063941 YAML-PP-v0.43.0/t/valid/v032/test.event0000644000175000017500000000004715263373362015644 0ustar00tinatina+STR +DOC +SEQ =VAL :-1 -SEQ -DOC -STR YAML-PP-v0.43.0/t/valid/v032/PaxHeaders/out.yaml0000644000000000000000000000013215263373362015662 xustar0030 mtime=1791882994.986703273 30 atime=1791882994.986610384 30 ctime=1791882994.986703273 YAML-PP-v0.43.0/t/valid/v032/out.yaml0000644000175000017500000000000515263373362015307 0ustar00tinatina- -1 YAML-PP-v0.43.0/t/valid/v032/PaxHeaders/in.yaml0000644000000000000000000000013215263373362015461 xustar0030 mtime=1791882994.983974349 30 atime=1791882994.983879574 30 ctime=1791882994.983974349 YAML-PP-v0.43.0/t/valid/v032/in.yaml0000644000175000017500000000000515263373362015106 0ustar00tinatina- -1 YAML-PP-v0.43.0/t/valid/v032/PaxHeaders/===0000644000000000000000000000013215263373362014460 xustar0030 mtime=1791882994.977826187 30 atime=1791882994.977680637 30 ctime=1791882994.977826187 YAML-PP-v0.43.0/t/valid/v032/===0000644000175000017500000000003115263373362014104 0ustar00tinatinaTabs in various contexts YAML-PP-v0.43.0/t/valid/PaxHeaders/v0270000644000000000000000000000013215263373362014116 xustar0030 mtime=1791882994.990452304 30 atime=1791882994.977486896 30 ctime=1791882994.990452304 YAML-PP-v0.43.0/t/valid/v027/0000755000175000017500000000000015263373362013625 5ustar00tinatinaYAML-PP-v0.43.0/t/valid/v027/PaxHeaders/test.event0000644000000000000000000000013015263373362016213 xustar0029 mtime=1791882994.99054694 30 atime=1791882994.990452304 29 ctime=1791882994.99054694 YAML-PP-v0.43.0/t/valid/v027/test.event0000644000175000017500000000024415263373362015647 0ustar00tinatina+STR +DOC +SEQ =VAL "1 trailing\t tab =VAL "2 trailing\t tab =VAL "3 trailing\t tab =VAL "4 trailing\t tab =VAL "5 trailing tab =VAL "6 trailing tab -SEQ -DOC -STR YAML-PP-v0.43.0/t/valid/v027/PaxHeaders/out.yaml0000644000000000000000000000013215263373362015666 xustar0030 mtime=1791882994.986610384 30 atime=1791882994.986515888 30 ctime=1791882994.986610384 YAML-PP-v0.43.0/t/valid/v027/out.yaml0000644000175000017500000000017215263373362015320 0ustar00tinatina- "1 trailing\t tab" - "2 trailing\t tab" - "3 trailing\t tab" - "4 trailing\t tab" - "5 trailing tab" - "6 trailing tab" YAML-PP-v0.43.0/t/valid/v027/PaxHeaders/in.yaml0000644000000000000000000000013215263373362015465 xustar0030 mtime=1791882994.983879574 30 atime=1791882994.983785847 30 ctime=1791882994.983879574 YAML-PP-v0.43.0/t/valid/v027/in.yaml0000644000175000017500000000023215263373362015114 0ustar00tinatina- "1 trailing\t tab" - "2 trailing\t tab" - "3 trailing\ tab" - "4 trailing\ tab" - "5 trailing tab" - "6 trailing tab" YAML-PP-v0.43.0/t/valid/v027/PaxHeaders/===0000644000000000000000000000013215263373362014464 xustar0030 mtime=1791882994.977680637 30 atime=1791882994.977631468 30 ctime=1791882994.977680637 YAML-PP-v0.43.0/t/valid/v027/===0000644000175000017500000000003715263373362014116 0ustar00tinatinaTrailing tabs in double quotes YAML-PP-v0.43.0/t/PaxHeaders/35.highlight.t0000644000000000000000000000013215263373362014760 xustar0030 mtime=1791882994.977486896 30 atime=1791882994.977395892 30 ctime=1791882994.977486896 YAML-PP-v0.43.0/t/35.highlight.t0000644000175000017500000000452615263373362014421 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use YAML::PP::Highlight; my $yaml = "foo: bar\n"; my ($error, $tokens) = YAML::PP::Parser->yaml_to_tokens(string => $yaml); delete @$_{qw/ line column /} for @$tokens; my @expected_tokens = ( { name => "PLAIN", value => "foo" }, { name => "COLON", value => ":" }, { name => "WS", value => " " }, { name => "PLAIN", value => "bar" }, { name => "EOL", value => "\n" }, ); is($error, '', "yaml_to_tokens suceeded"); is_deeply($tokens, \@expected_tokens, "yaml_to_tokens returned correct tokens"); $yaml = "foo: \@bar\n"; ($error, $tokens) = YAML::PP::Parser->yaml_to_tokens(string => $yaml); cmp_ok($error, '=~', qr{Invalid}, "yaml_to_tokens returned an error"); delete @$_{qw/ line column /} for @$tokens; @expected_tokens = ( { name => "PLAIN", value => "foo" }, { name => "COLON", value => ":" }, { name => "WS", value => " " }, { name => "ERROR", value => "\@bar\n" }, ); is_deeply($tokens, \@expected_tokens, "yaml_to_tokens returned correct error tokens"); $yaml = <<'EOM'; foo: | bar quoted: "x" EOM ($error, $tokens) = YAML::PP::Parser->yaml_to_tokens(string => $yaml); my @transformed = YAML::PP::Highlight->transform($tokens); cmp_ok($transformed[6]->{name}, 'eq', 'TRAILING_SPACE', "trailing spaces detected"); my $color = eval "use Term::ANSIColor 4.02; 1"; # older versions of Term::ANSIColor didn't have grey12 if ($color) { my $highlighted = YAML::PP::Highlight::Dump({ foo => 'bar' }); my $exp_highlighted = "\e[1m---\e[0m\n\e[94mfoo\e[0m\e[1;35m:\e[0m bar\n"; cmp_ok($highlighted, 'eq', $exp_highlighted, "YAML::PP::Highlight::Dump()"); } if ($color) { my $yaml = <<'EOM'; foo: bar EOM my ($error, $tokens) = YAML::PP::Parser->yaml_to_tokens(string => $yaml); my $ansitabs = YAML::PP::Highlight->ansicolored($tokens, expand_tabs => 0); my $ansi = YAML::PP::Highlight->ansicolored($tokens); local $Data::Dumper::Useqq = 1; my $exp1 = "\e[94mfoo\e[0m\e[1;35m:\e[0m bar\e[44m\t\e[0m\n"; my $exp2 = "\e[94mfoo\e[0m\e[1;35m:\e[0m bar\e[44m \e[0m\n"; is $ansitabs, $exp1, 'ansicolored, no expanded tabs' or do { diag(Data::Dumper->Dump([$ansitabs], ['ansitabs'])); }; is $ansi, $exp2, 'ansicolored, expanded tabs' or do { diag(Data::Dumper->Dump([$ansi], ['ansi'])); }; } done_testing; YAML-PP-v0.43.0/t/PaxHeaders/15.parse-eol.t0000644000000000000000000000013215263373362014676 xustar0030 mtime=1791882994.977395892 30 atime=1791882994.977303771 30 ctime=1791882994.977395892 YAML-PP-v0.43.0/t/15.parse-eol.t0000644000175000017500000000156015263373362014332 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use Data::Dumper; use YAML::PP::Parser; my @yaml = ( 'foo: bar', 'foo: bar #end', 'foo', '- a', '-', "|\nfoo", ">\nfoo", "|", '"foo"', '"foo" ', 'foo:', 'foo: ', '&foo', '&foo ', '!foo', "foo\n ", '---', '--- ', '...', '... ', ); my $ypp = YAML::PP::Parser->new( receiver => sub {} ); if (my $num = $ENV{TEST_NUM}) { @yaml = $yaml[$num-1]; } for my $yaml (@yaml) { my $display = $yaml; $display =~ s/\n/\\n/g; $display =~ s/\r/\\r/g; $display =~ s/\t/\\t/g; my $title = "Without final EOL: >>$display<<"; eval { $ypp->parse_string($yaml); }; if ($@) { diag "Error: $@"; ok(0, $title); } else { ok(1, $title); } } done_testing; YAML-PP-v0.43.0/t/PaxHeaders/12.load-json.t0000644000000000000000000000013215263373362014672 xustar0030 mtime=1791882994.977303771 30 atime=1791882994.977206412 30 ctime=1791882994.977303771 YAML-PP-v0.43.0/t/12.load-json.t0000644000175000017500000000206115263373362014323 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use lib "$Bin/lib"; use Data::Dumper; use YAML::PP::Test; use YAML::PP; use Encode; $ENV{YAML_PP_RESERVED_DIRECTIVE} = 'ignore'; my $json_pp = eval "use JSON::PP; 1"; unless ($json_pp) { plan skip_all => "JSON::PP not installed"; exit; } my $yts = "$Bin/../test-suite/yaml-test-suite-data"; $|++; my @skip = qw/ 87E4 8UDB CN3R CT4Q L9U5 LQZ7 QF4Y UKK6:01 /; my $testsuite = YAML::PP::Test->new( test_suite_dir => "$yts", dir => "$Bin/valid", valid => 1, in_json => 1, in_yaml => 1, ); my ($testcases) = $testsuite->read_tests( skip => \@skip, ); $testsuite->run_testcases( code => \&test, ); $testsuite->print_stats( count => [qw/ OK DIFF ERROR TODO SKIP /], ids => [qw/ ERROR DIFF /], ); my $stats = $testsuite->{stats}; done_testing; exit; sub test { my ($testsuite, $testcase) = @_; my $result = $testsuite->load_json($testcase); $testsuite->compare_load_json($testcase, $result); } YAML-PP-v0.43.0/t/PaxHeaders/22.dump-bool.t0000644000000000000000000000013215263373362014703 xustar0030 mtime=1791882994.977206412 30 atime=1791882994.977105351 30 ctime=1791882994.977206412 YAML-PP-v0.43.0/t/22.dump-bool.t0000644000175000017500000001026415263373362014340 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use YAML::PP::Dumper; my $boolean = eval "use boolean; 1"; my $json_pp = eval "use JSON::PP; 1"; my $exp_yaml = <<"EOM"; --- false1: false false2: false true1: true true2: true EOM SKIP: { skip "boolean not installed", 1 unless $boolean; my $data = { "true1" => boolean::true(), "false1" => boolean::false(), "true2" => boolean::true(), "false2" => boolean::false(), }; my $yppd = YAML::PP->new(boolean => 'boolean'); my $yaml = $yppd->dump_string($data); cmp_ok($yaml, 'eq', $exp_yaml, "boolean.pm dump"); } SKIP: { skip "JSON::PP not installed", 1 unless $json_pp; my $data = { "true1" => JSON::PP::true(), "false1" => JSON::PP::false(), "true2" => JSON::PP::true(), "false2" => JSON::PP::false(), }; my $yppd = YAML::PP->new(boolean => 'JSON::PP'); my $yaml = $yppd->dump_string($data); cmp_ok($yaml, 'eq', $exp_yaml, "JSON::PP::Boolean dump"); } SKIP: { skip "JSON::PP and boolean not installed", 2 unless ($json_pp and $boolean); my $data = { "true1" => boolean::true(), "false1" => boolean::false(), "true2" => JSON::PP::true(), "false2" => JSON::PP::false(), }; my $yppd = YAML::PP->new(boolean => 'JSON::PP', schema => [qw/ + Perl /]); my $yaml = $yppd->dump_string($data); my $exp_json_pp = <<'EOM'; --- false1: !perl/scalar:boolean =: 0 false2: false true1: !perl/scalar:boolean =: 1 true2: true EOM cmp_ok($yaml, 'eq', $exp_json_pp, "JSON::PP::Boolean (no boolean) dump"); $yppd = YAML::PP->new(boolean => 'boolean', schema => [qw/ + Perl /]); $yaml = $yppd->dump_string($data); my $exp_boolean = <<'EOM'; --- false1: false false2: !perl/scalar:JSON::PP::Boolean =: 0 true1: true true2: !perl/scalar:JSON::PP::Boolean =: 1 EOM cmp_ok($yaml, 'eq', $exp_boolean, "boolean (no JSON::PP::Boolean) dump"); } SKIP: { skip "JSON::PP and boolean not installed", 6 unless ($json_pp and $boolean); my @tests = ( 'JSON::PP,boolean', 'boolean,JSON::PP', 'boolean,*', 'JSON::PP,*', '*', 'perl,*', ); my $data = { "true1" => boolean::true(), "false1" => boolean::false(), "true2" => JSON::PP::true(), "false2" => JSON::PP::false(), }; for my $test (@tests) { my $yppd = YAML::PP->new(boolean => $test); my $yaml = $yppd->dump_string($data); my $exp_json_pp = <<'EOM'; --- false1: false false2: false true1: true true2: true EOM cmp_ok($yaml, 'eq', $exp_json_pp, "$test dump"); } } SKIP: { skip "perl version < v5.36", 1 unless $] >= 5.036000; my $data = { "true1" => !!1, "false1" => !!0, }; my $yppd = YAML::PP->new(boolean => 'perl_experimental'); my $yaml = $yppd->dump_string($data); my $exp_json_pp = <<'EOM'; --- false1: false true1: true EOM cmp_ok($yaml, 'eq', $exp_json_pp, "perl_experimental dump"); } SKIP: { skip "perl version < v5.36", 1 unless $] >= 5.036000; my $data = { "true1" => !!1, "false1" => !!0, }; my $yppd = YAML::PP->new(boolean => ''); my $yaml = $yppd->dump_string($data); my $exp_json_pp = <<'EOM'; --- false1: '' true1: 1 EOM cmp_ok($yaml, 'eq', $exp_json_pp, "no booleans dump"); } SKIP: { skip "perl version < v5.36", 3 unless $] >= 5.036000; skip "JSON::PP and boolean not installed", 3 unless ($json_pp and $boolean); my @tests = ( 'perl_experimental,JSON::PP,boolean', 'perl_experimental,boolean,JSON::PP', 'perl_experimental,*', ); my $data = { "true1" => boolean::true(), "false1" => boolean::false(), "true2" => JSON::PP::true(), "false2" => JSON::PP::false(), "true3" => !!1, "false3" => !!0, }; for my $test (@tests) { my $yppd = YAML::PP->new(boolean => $test); my $yaml = $yppd->dump_string($data); my $exp_json_pp = <<'EOM'; --- false1: false false2: false false3: false true1: true true2: true true3: true EOM cmp_ok($yaml, 'eq', $exp_json_pp, "$test dump"); } } done_testing; YAML-PP-v0.43.0/t/PaxHeaders/14.load-bool.t0000644000000000000000000000013015263373362014654 xustar0030 mtime=1791882994.977105351 28 atime=1791882994.9770133 30 ctime=1791882994.977105351 YAML-PP-v0.43.0/t/14.load-bool.t0000644000175000017500000000361515263373362014315 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use Data::Dumper; use YAML::PP; my $boolean = eval "use boolean; 1"; my $json_pp = eval "use JSON::PP; 1"; my $yaml = <<'EOM'; "TRUE": true "FALSE": false EOM my $ypp = YAML::PP->new(boolean => 'perl'); my $data_p = $ypp->load_string($yaml); cmp_ok(ref $data_p->{TRUE}, 'eq', '', "pure perl true"); cmp_ok($data_p->{TRUE}, '==', 1, "pure perl true"); cmp_ok($data_p->{FALSE}, '==', 0, "pure perl false"); SKIP: { skip "boolean not installed", 3 unless $boolean; my $ypp = YAML::PP->new(boolean => 'boolean'); my $data_b = $ypp->load_string($yaml); isa_ok($data_b->{TRUE}, 'boolean'); is($data_b->{TRUE}, 1, 'boolean.pm true'); is(! $data_b->{FALSE}, 1, 'boolean.pm false'); } SKIP: { skip "JSON::PP not installed", 3 unless $json_pp; my $ypp = YAML::PP->new(boolean => 'JSON::PP'); my $data_jp = $ypp->load_string($yaml); isa_ok($data_jp->{TRUE}, 'JSON::PP::Boolean'); is($data_jp->{TRUE}, 1, 'JSON::PP::Boolean true'); is(! $data_jp->{FALSE}, 1, 'JSON::PP::Boolean false'); } SKIP: { skip "JSON::PP and boolean not installed", 3 unless ($json_pp and $boolean); my $ypp = YAML::PP->new(boolean => 'JSON::PP,boolean'); my $data_jp = $ypp->load_string($yaml); isa_ok($data_jp->{TRUE}, 'JSON::PP::Boolean'); is($data_jp->{TRUE}, 1, 'JSON::PP::Boolean true'); is(! $data_jp->{FALSE}, 1, 'JSON::PP::Boolean false'); } SKIP: { skip "perl 5.36 required for this test", 3 unless $] >= 5.036000; my $is_bool = eval 'use experimental qw/ builtin /; sub { builtin::is_bool($_[0]) }'; my $ypp = YAML::PP->new(boolean => 'perl_experimental'); my $data_jp = $ypp->load_string($yaml); ok $is_bool->($data_jp->{TRUE}) && $data_jp->{TRUE}, 'builtin::is_bool truw'; ok $is_bool->($data_jp->{FALSE}) && ! $data_jp->{FALSE}, 'builtin::is_bool false'; } done_testing; YAML-PP-v0.43.0/t/PaxHeaders/58.max-depth.t0000644000000000000000000000012615263373362014710 xustar0028 mtime=1791882994.9770133 30 atime=1791882994.976919921 28 ctime=1791882994.9770133 YAML-PP-v0.43.0/t/58.max-depth.t0000644000175000017500000000076315263373362014345 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use YAML::PP; my $yp = YAML::PP->new( max_depth => 5, ); my @errors = ( '[[[[[[]]]]]]', '[{[{[{}]}]}]', '{{{{{{}}}}}}', '{[{[{[]}]}]}', ); for my $yaml (@errors) { eval { $yp->load_string($yaml); }; like $@, qr{Depth of nesting exceeds maximum 5}, "'$yaml' expected error message"; } my $yaml = '[[[[[]]]]]'; eval { $yp->load_string($yaml); }; is $@, '', 'no error message'; done_testing; YAML-PP-v0.43.0/t/PaxHeaders/52.preserve.t0000644000000000000000000000013215263373362014643 xustar0030 mtime=1791882994.976634618 30 atime=1791882994.976541589 30 ctime=1791882994.976634618 YAML-PP-v0.43.0/t/52.preserve.t0000644000175000017500000002256615263373362014310 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use YAML::PP; use YAML::PP::Common qw/ PRESERVE_ORDER PRESERVE_SCALAR_STYLE PRESERVE_FLOW_STYLE PRESERVE_ALIAS YAML_LITERAL_SCALAR_STYLE YAML_FLOW_MAPPING_STYLE YAML_FLOW_SEQUENCE_STYLE /; subtest 'preserve-scalar-style' => sub { my $yp = YAML::PP->new( preserve => PRESERVE_ORDER | PRESERVE_SCALAR_STYLE ); my $yaml = <<'EOM'; --- p: plain 's': 'single' "d": "double" f: >- folded ? |- l : |- literal nl: |+ ... --- - 0 - null - 23 - "42" - !!int '99' EOM my $exp_styles = <<'EOM'; --- p: plain 's': 'single' "d": "double" f: >- folded ? |- l : |- literal nl: |+ ... EOM my $exp_data = <<'EOM'; --- - 0 - null - 23 - "42" - 99 EOM my @docs = $yp->load_string($yaml); my $styles = $docs[0]; my $data = $docs[1]; my $dump_styles = $yp->dump_string($styles); is($dump_styles, $exp_styles, 'preserve=1 dump styless ok'); my $newline = delete $styles->{nl}; my $string = join ' ', values %$styles; is($string, 'plain single double folded literal', 'Strings'); my $dump_data = $yp->dump_string($data); is($dump_data, $exp_data, 'preserve=1 dump data ok'); $styles->{s} .= ' APPEND'; is($styles->{s}, 'single APPEND', 'append works'); is($yp->dump_string($styles->{s}), "--- single APPEND\n", 'Style gets lost on append'); $newline->{value} = "\n\n"; is($yp->dump_string($newline),qq{--- |+\n\n\n...\n}, 'Style is preserved for direct assignment'); $newline->{value} = "\0"; is($yp->dump_string($newline),qq{--- "\\0"\n}, 'Style gets changed if necessary'); }; subtest 'preserve-order' => sub { my $yp = YAML::PP->new( preserve => PRESERVE_ORDER ); my $yaml = <<'EOM'; --- z: 1 a: 2 y: 3 b: 4 x: 5 c: 6 EOM my $data = $yp->load_string($yaml); my $dump = $yp->dump_string($data); is($dump, $yaml, 'preserve=1 Key order preserved'); my @keys = keys %$data; is("@keys", "z a y b x c", 'keys()'); is($data->{a}, 2, 'hash a'); my $first = each %$data; is($first, 'z', 'First key'); my $next = each %$data; is($next, 'a', 'Next key'); is(delete $data->{z}, 1, 'delete(z)'); @keys = keys %$data; is("@keys", "a y b x c", 'keys()'); $data->{z} = 99; @keys = keys %$data; is("@keys", "a y b x c z", 'keys()'); my $scalar = scalar %$data; if ($] >= 5.026) { is(scalar %$data, 6, 'scalar'); } my @values = values %$data; is("@values", "2 3 4 5 6 99", 'values()'); is(exists $data->{a}, 1, 'exists(a)'); is(exists $data->{A}, '', 'exists(A)'); %$data = (); is(scalar keys %$data, 0, 'clear'); is(scalar %$data, 0, 'clear'); }; subtest 'object-order' => sub { my $yp = YAML::PP->new( schema => [qw/ + Perl /], preserve => PRESERVE_ORDER, ); my $yaml = <<'EOM'; --- - !perl/hash:Foo z: 1 a: 2 y: 3 b: 4 x: 5 c: 6 EOM my $data = $yp->load_string($yaml); my $dump = $yp->dump_string($data); is($dump, $yaml, 'load-dump object with preserved hash key order'); }; subtest 'preserve-flow' => sub { my $yp = YAML::PP->new( preserve => PRESERVE_FLOW_STYLE, ); my $yaml = <<'EOM'; --- map: {z: 1, a: 2, y: 3, b: 4} seq: [c, b, {y: z}] EOM my $exp_sorted = <<'EOM'; --- map: {a: 2, b: 4, y: 3, z: 1} seq: [c, b, {y: z}] EOM my $data = $yp->load_string($yaml); my $dump = $yp->dump_string($data); is($dump, $exp_sorted, 'load-dump with preserve flow'); is(exists($data->{seq}->[0]), 1, 'load sequence'); is(exists($data->{seq}->[3]), !1, 'load sequence'); $yp = YAML::PP->new( preserve => PRESERVE_FLOW_STYLE | PRESERVE_ORDER ); $data = $yp->load_string($yaml); $dump = $yp->dump_string($data); is($dump, $yaml, 'load-dump with preserve flow && order'); $yp = YAML::PP->new( schema => [qw/ + Perl /], preserve => PRESERVE_FLOW_STYLE | PRESERVE_ORDER, ); $yaml = <<'EOM'; --- !perl/hash:Foo map: {z: 1, a: 2, y: 3, b: 4} seq: [c, b, {y: z}] EOM $data = $yp->load_string($yaml); $dump = $yp->dump_string($data); is($dump, $yaml, 'load-dump object with preserved flow && order'); }; subtest 'create-preserve' => sub { my $yp = YAML::PP->new( preserve => 1, ); my $scalar = $yp->preserved_scalar("\n", style => YAML_LITERAL_SCALAR_STYLE ); my $data = { literal => $scalar }; my $dump = $yp->dump_string($data); my $yaml = <<'EOM'; --- literal: |+ ... EOM is($dump, $yaml, 'dump with preserved scalar'); my $hash = $yp->preserved_mapping({}, style => YAML_FLOW_MAPPING_STYLE); %$hash = (z => 1, a => 2, y => 3, b => 4); my $array = $yp->preserved_sequence([23, 24], style => YAML_FLOW_SEQUENCE_STYLE); $data = $yp->preserved_mapping({}); %$data = ( map => $hash, seq => $array ); $dump = $yp->dump_string($data); $yaml = <<'EOM'; --- map: {z: 1, a: 2, y: 3, b: 4} seq: [23, 24] EOM is($dump, $yaml, 'dump with preserved flow && order'); my $alias1 = $yp->preserved_mapping({ a => 1 }, alias => 'MAP', style => YAML_FLOW_MAPPING_STYLE); my $alias2 = $yp->preserved_sequence([qw/ x y z /], alias => 'SEQ', style => YAML_FLOW_SEQUENCE_STYLE); my $alias3 = $yp->preserved_scalar('string', alias => 'SCALAR'); $data = $yp->preserved_sequence([$alias1, $alias2, $alias3, $alias3, $alias2, $alias1]); $dump = $yp->dump_string($data); my $expected = <<'EOM'; --- - &MAP {a: 1} - &SEQ [x, y, z] - &SCALAR string - *SCALAR - *SEQ - *MAP EOM is $dump, $expected, 'dump with preserved map/seq/scalar and aliases'; }; subtest 'tie-array' => sub { my $x = YAML::PP->preserved_sequence([23, 24], style => YAML_FLOW_SEQUENCE_STYLE); @$x = (25, 26); is("@$x", '25 26', 'STORE'); unshift @$x, 24; is("@$x", '24 25 26', 'UNSHIFT'); shift @$x; is("@$x", '25 26', 'SHIFT'); splice @$x, 1, 1, 99, 100; is("@$x", '25 99 100', 'SPLICE'); delete $x->[1]; { no warnings 'uninitialized'; is("@$x", '25 100', 'DELETE'); } $x->[1] = 99; $#$x = 1; is("@$x", '25 99', 'STORESIZE'); }; subtest 'tie-scalar' => sub { my $scalar = YAML::PP->preserved_scalar("abc", style => YAML_LITERAL_SCALAR_STYLE ); like $scalar, qr{abc}, 'Regex'; ok($scalar eq 'abc', 'eq'); ok('abc' eq $scalar, 'eq'); ok($scalar gt 'abb', 'gt'); $scalar = YAML::PP->preserved_scalar(23, style => YAML_LITERAL_SCALAR_STYLE ); ok($scalar > 22, '>'); ok($scalar <= 23, '<='); }; subtest 'aliases' => sub { my $yaml = <<'EOM'; --- mapping: &mapping a: 1 b: 2 alias: *mapping seq: &seq - a - b same: *seq str: &scalar xyz copy: *scalar EOM my $sorted = <<'EOM'; --- alias: &mapping a: 1 b: 2 copy: &scalar xyz mapping: *mapping same: &seq - a - b seq: *seq str: *scalar EOM my $yp = YAML::PP->new( preserve => PRESERVE_ALIAS ); my $data = $yp->load_string($yaml); my $dump = $yp->dump_string($data); is($dump, $sorted, "Preserving alias names, but not order"); $yp = YAML::PP->new( preserve => PRESERVE_ORDER | PRESERVE_ALIAS ); $data = $yp->load_string($yaml); $dump = $yp->dump_string($data); is($dump, $yaml, "Preserving alias names and order"); $yp = YAML::PP->new( preserve => PRESERVE_ALIAS | PRESERVE_FLOW_STYLE ); $yaml = <<'EOM'; --- a: &seq [a] b: *seq c: &seq [c] d: *seq e: &map {e: 1} f: *map g: &map {g: 1} h: *map i: &scalar X j: *scalar k: &scalar Y l: *scalar EOM $data = $yp->load_string($yaml); $dump = $yp->dump_string($data); my $swap = $data->{a}; $data->{a} = $data->{d}; $data->{d} = $swap; $swap = $data->{e}; $data->{e} = $data->{h}; $data->{h} = $swap; $swap = $data->{i}; $data->{i} = $data->{l}; $data->{l} = $swap; $dump = $yp->dump_string($data); my $expected = <<'EOM'; --- a: &1 [c] b: &seq [a] c: *1 d: *seq e: &2 {g: 1} f: &map {e: 1} g: *2 h: *map i: &3 Y j: &scalar X k: *3 l: *scalar EOM is $dump, $expected, 'dump - Repeated anchors are removed'; my $reload = $yp->load_string($dump); is_deeply($reload, $data, 'Reloading after shuffling wiht repeated anchors'); }; subtest 'create-tied-automatically' => sub { my $yp = YAML::PP->new( preserve => PRESERVE_ORDER ); my $outer = $yp->preserved_mapping({}); %$outer = (z => 1, a => 2, y => 3, b => 4); my $array = $outer->{new} = []; my $inner = $outer->{new}->[0] = {}; $inner->{Z} = 1; $inner->{A} = 2; $inner->{Y} = 3; $inner->{B} = 4; push @$array, {}; my $inner2 = $outer->{new}->[1]; $inner2->{Z} = 11; $inner2->{A} = 22; $inner2->{Y} = 33; $inner2->{B} = 44; splice @$array, 0, 0, {}; my $inner3 = $outer->{new}->[0]; $inner3->{Z} = 111; $inner3->{A} = 222; $inner3->{Y} = 333; $inner3->{B} = 444; unshift @$array, {}; my $inner4 = $outer->{new}->[0]; $inner4->{Z} = 1111; $inner4->{A} = 2222; $inner4->{Y} = 3333; $inner4->{B} = 4444; $outer->{new}->[4] = { key => 4 }; $outer->{new}->[5] = [55]; $outer->{newer} = { key => 6 }; $outer->{newest} = [66]; my $dump = $yp->dump_string($outer); my $expected = <<'EOM'; --- z: 1 a: 2 y: 3 b: 4 new: - Z: 1111 A: 2222 Y: 3333 B: 4444 - Z: 111 A: 222 Y: 333 B: 444 - Z: 1 A: 2 Y: 3 B: 4 - Z: 11 A: 22 Y: 33 B: 44 - key: 4 - - 55 newer: key: 6 newest: - 66 EOM is $dump, $expected, 'dump - Newly created hashes keep order automatically'; }; done_testing; YAML-PP-v0.43.0/t/PaxHeaders/57.dup-keys.t0000644000000000000000000000013215263373362014556 xustar0030 mtime=1791882994.976541589 30 atime=1791882994.976449608 30 ctime=1791882994.976541589 YAML-PP-v0.43.0/t/57.dup-keys.t0000644000175000017500000000125715263373362014215 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use Data::Dumper; use YAML::PP; my $allow = YAML::PP->new( duplicate_keys => 1, ); my $forbid = YAML::PP->new( duplicate_keys => 0, ); my $default = YAML::PP->new; my $yaml = <<'EOM'; a: 1 b: 2 a: 3 EOM my $data = $allow->load_string($yaml); my $expected = { a => 3, b => 2, }; is_deeply($data, $expected, "Allowed duplicate keys"); $data = eval { $forbid->load_string($yaml) }; my $err = $@; like $err, qr{Duplicate key 'a'}, "Forbidden duplicate keys"; $data = eval { $default->load_string($yaml) }; $err = $@; like $err, qr{Duplicate key 'a'}, "Forbidden duplicate keys by default"; done_testing; YAML-PP-v0.43.0/t/PaxHeaders/18.control.t0000644000000000000000000000013215263373362014472 xustar0030 mtime=1791882994.976089294 30 atime=1791882994.975998221 30 ctime=1791882994.976089294 YAML-PP-v0.43.0/t/18.control.t0000644000175000017500000000271515263373362014131 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use Data::Dumper; use YAML::PP::Parser; use YAML::PP; my %chars = ( "\x00" => '\0', "\x01" => '\x01', "\x02" => '\x02', "\x03" => '\x03', "\x04" => '\x04', "\x05" => '\x05', "\x06" => '\x06', "\x07" => '\a', "\x08" => '\b', "\x0b" => '\v', "\x0c" => '\f', "\x0e" => '\x0e', "\x0f" => '\x0f', "\x10" => '\x10', "\x11" => '\x11', "\x12" => '\x12', "\x13" => '\x13', "\x14" => '\x14', "\x15" => '\x15', "\x16" => '\x16', "\x17" => '\x17', "\x18" => '\x18', "\x19" => '\x19', "\x1a" => '\x1a', "\x1b" => '\e', "\x1c" => '\x1c', "\x1d" => '\x1d', "\x1e" => '\x1e', "\x1f" => '\x1f', ); my $ypp = YAML::PP::Parser->new( receiver => sub {} ); for my $char (sort keys %chars) { my $yaml = "control: $char"; local $Data::Dumper::Useqq = 1; my $display = Data::Dumper->Dump([\$yaml], ['yaml']); chomp $display; my $title = "Invalid literal control char: >>$display<<"; eval { $ypp->parse_string($yaml); }; if ($@) { #diag "Error: $@"; ok(1, "Parse: $title"); } else { ok(0, "Parse: $title"); } my $dump = YAML::PP->new->dump_string({ control => $char }); my $escaped = $chars{ $char }; my $expected = qq{---\ncontrol: "$escaped"\n}; cmp_ok($dump, 'eq', $expected, "Dump: $title"); } done_testing; YAML-PP-v0.43.0/t/PaxHeaders/49.include.t0000644000000000000000000000013215263373362014441 xustar0030 mtime=1791882994.975998221 30 atime=1791882994.975907916 30 ctime=1791882994.975998221 YAML-PP-v0.43.0/t/49.include.t0000644000175000017500000000472015263373362014076 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use Data::Dumper; use YAML::PP; use YAML::PP::Schema::Include; use Scalar::Util qw/ refaddr /; my $test_deep; BEGIN { eval "use Test::Deep qw/ cmp_deeply /"; unless ($@) { $test_deep = 1; } } unless ($test_deep) { plan skip_all => "No Test::Deep available"; exit; } my $include_path = "$Bin/data/include"; my $valid_yaml = <<'EOM'; --- - !include include1.yaml - !include include2.yaml - item3 EOM my $invalid_yaml = <<'EOM'; --- - !include ../../../../../../../../../../../etc/passwd EOM my $invalid_yaml2 = <<'EOM'; --- - !include /etc/passwd EOM my $expected = [ 'include1', [ 'include2', 'include3', ], 'item3', ]; my %objects; sub YAML::PP::DESTROY { my ($self) = @_; my $addr = refaddr($self); $objects{ $addr }--; } my $addr; subtest schema_include => sub { my $include = YAML::PP::Schema::Include->new( paths => $include_path ); my $yp = YAML::PP->new( schema => ['JSON', $include] ); $include->yp($yp); $addr = refaddr($yp); $objects{ $addr }++; my ($data) = $yp->load_string($valid_yaml); is_deeply($data, $expected, "!include"); }; cmp_ok($objects{ $addr }, 'eq', 0, "YAML::PP object was destroyed correctly"); subtest invalid_schema_include => sub { my $include = YAML::PP::Schema::Include->new( paths => $include_path, ); my $yp = YAML::PP->new( schema => ['JSON', $include] ); $include->yp($yp); my ($data) = eval { $yp->load_string($invalid_yaml) }; my $error = $@; cmp_ok($error, '=~', "not found", "Filter out .."); ($data) = eval { $yp->load_string($invalid_yaml2) }; $error = $@; cmp_ok($error, '=~', "Absolute filenames not allowed", "No absolute filenames"); }; subtest schema_include_filename => sub { my $include = YAML::PP::Schema::Include->new; my $yp = YAML::PP->new( schema => ['JSON', $include] ); $include->yp($yp); my ($data) = $yp->load_file("$include_path/include.yaml"); is_deeply($data, $expected, "!include"); }; subtest schema_include_circular => sub { my $include = YAML::PP::Schema::Include->new; my $yp = YAML::PP->new( schema => ['JSON', $include] ); $include->yp($yp); my ($data) = eval { $yp->load_file("$include_path/circular1.yaml"); }; my $error = $@; cmp_ok($@, '=~', "Circular include", "Circular include detected"); }; done_testing; YAML-PP-v0.43.0/t/PaxHeaders/00.compile.t0000644000000000000000000000013115263373362014430 xustar0030 mtime=1791882994.975907916 29 atime=1791882994.97581349 30 ctime=1791882994.975907916 YAML-PP-v0.43.0/t/00.compile.t0000644000175000017500000000707615263373362014075 0ustar00tinatinause strict; use warnings; # this test was generated with Dist::Zilla::Plugin::Test::Compile 2.059 use Test::More; plan tests => 34 + ($ENV{AUTHOR_TESTING} ? 1 : 0); my @module_files = ( 'YAML/PP.pm', 'YAML/PP/Common.pm', 'YAML/PP/Constructor.pm', 'YAML/PP/Dumper.pm', 'YAML/PP/Emitter.pm', 'YAML/PP/Exception.pm', 'YAML/PP/Grammar.pm', 'YAML/PP/Highlight.pm', 'YAML/PP/Lexer.pm', 'YAML/PP/Loader.pm', 'YAML/PP/Parser.pm', 'YAML/PP/Perl.pm', 'YAML/PP/Reader.pm', 'YAML/PP/Render.pm', 'YAML/PP/Representer.pm', 'YAML/PP/Schema.pm', 'YAML/PP/Schema/Binary.pm', 'YAML/PP/Schema/Catchall.pm', 'YAML/PP/Schema/Core.pm', 'YAML/PP/Schema/Failsafe.pm', 'YAML/PP/Schema/Include.pm', 'YAML/PP/Schema/JSON.pm', 'YAML/PP/Schema/Merge.pm', 'YAML/PP/Schema/Perl.pm', 'YAML/PP/Schema/Tie/IxHash.pm', 'YAML/PP/Schema/YAML1_1.pm', 'YAML/PP/Type/MergeKey.pm', 'YAML/PP/Writer.pm', 'YAML/PP/Writer/File.pm' ); my @scripts = ( 'bin/yamlpp-events', 'bin/yamlpp-highlight', 'bin/yamlpp-load', 'bin/yamlpp-load-dump', 'bin/yamlpp-parse-emit' ); # no fake home requested my @switches = ( -d 'blib' ? '-Mblib' : '-Ilib', ); use File::Spec; use IPC::Open3; use IO::Handle; open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!"; my @warnings; for my $lib (@module_files) { # see L my $stderr = IO::Handle->new; diag('Running: ', join(', ', map { my $str = $_; $str =~ s/'/\\'/g; q{'}.$str.q{'} } $^X, @switches, '-e', "require q[$lib]")) if $ENV{PERL_COMPILE_TEST_DEBUG}; my $pid = open3($stdin, '>&STDERR', $stderr, $^X, @switches, '-e', "require q[$lib]"); binmode $stderr, ':crlf' if $^O eq 'MSWin32'; my @_warnings = <$stderr>; waitpid($pid, 0); is($?, 0, "$lib loaded ok"); shift @_warnings if @_warnings and $_warnings[0] =~ /^Using .*\bblib/ and not eval { +require blib; blib->VERSION('1.01') }; if (@_warnings) { warn @_warnings; push @warnings, @_warnings; } } foreach my $file (@scripts) { SKIP: { open my $fh, '<', $file or warn("Unable to open $file: $!"), next; my $line = <$fh>; close $fh and skip("$file isn't perl", 1) unless $line =~ /^#!\s*(?:\S*(?:env )?perl\S*)((?:\s+-\w*)*)(?:\s*#.*)?$/; @switches = (@switches, split(' ', $1)) if $1; close $fh and skip("$file uses -T; not testable with PERL5LIB", 1) if grep $_ eq '-T', @switches and $ENV{PERL5LIB}; my $stderr = IO::Handle->new; diag('Running: ', join(', ', map { my $str = $_; $str =~ s/'/\\'/g; q{'}.$str.q{'} } $^X, @switches, '-c', $file)) if $ENV{PERL_COMPILE_TEST_DEBUG}; my $pid = open3($stdin, '>&STDERR', $stderr, $^X, @switches, '-c', $file); binmode $stderr, ':crlf' if $^O eq 'MSWin32'; my @_warnings = <$stderr>; waitpid($pid, 0); is($?, 0, "$file compiled ok"); shift @_warnings if @_warnings and $_warnings[0] =~ /^Using .*\bblib/ and not eval { +require blib; blib->VERSION('1.01') }; # in older perls, -c output is simply the file portion of the path being tested if (@_warnings = grep !/\bsyntax OK$/, grep { chomp; $_ ne (File::Spec->splitpath($file))[2] } @_warnings) { warn @_warnings; push @warnings, @_warnings; } } } is(scalar(@warnings), 0, 'no warnings found') or diag 'got warnings: ', ( Test::More->can('explain') ? Test::More::explain(\@warnings) : join("\n", '', @warnings) ) if $ENV{AUTHOR_TESTING}; YAML-PP-v0.43.0/t/PaxHeaders/31.schema.t0000644000000000000000000000013015263373362014243 xustar0029 mtime=1791882994.97581349 30 atime=1791882994.975720949 29 ctime=1791882994.97581349 YAML-PP-v0.43.0/t/31.schema.t0000644000175000017500000001276515263373362013712 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use B (); use Data::Dumper; use Scalar::Util qw/ blessed /; use YAML::PP; my $jsonpp = eval { require JSON::PP }; my $schema_file = "$Bin/../ext/yaml-test-schema/yaml-schema.yaml"; my $strings_file = "$Bin/../examples/strings.yaml"; my $schema_data = do { YAML::PP->new->load_file($schema_file) }; my $strings_data = do { YAML::PP->new->load_file($strings_file) }; $schema_data->{'#empty'}->{json_empty_null} = ['null', 'null()', "null"]; $schema_data->{'!!str #empty'}->{json_empty_null} = ['str', '', "''"]; %$schema_data = ( %$schema_data, %$strings_data, ); my $boolean = $jsonpp ? 'JSON::PP' : 'perl'; my %args = ( boolean => $boolean, header => 0, ); my $failsafe = YAML::PP->new( %args, schema => [qw/ Failsafe /] ); my $json = YAML::PP->new( %args, schema => [qw/ JSON /] ); my $json_empty_null = YAML::PP->new( %args, schema => [qw/ JSON empty=null /] ); my $core = YAML::PP->new( %args, schema => [qw/ Core /] ); my $yaml11 = YAML::PP->new( %args, schema => [qw/ YAML1_1 /] ); subtest 'invalid-option' => sub { eval { YAML::PP->new( boolean => $boolean, schema => [qw/ JSON empty=lala /] ); }; my $err = $@; like($err, qr{Invalid option}, 'Invalid option is fatal'); }; my %loaders = ( failsafe => $failsafe, json => $json, core => $core, yaml11 => $yaml11, json_empty_null => $json_empty_null, ); my $inf = 0 + 'inf'; my $inf_negative = 0 - 'inf'; my $nan = 0 + 'nan'; diag("inf: $inf -inf: $inf_negative nan: $nan"); my $inf_broken = $inf eq '0'; $inf_broken and diag("inf/nan seem broken, skipping those tests"); my %check = ( null => sub { not defined $_[0] }, inf => sub { my ($float) = @_; return $float eq $inf; }, 'inf-neg' => sub { my ($float) = @_; return $float eq $inf_negative; }, nan => sub { my ($float) = @_; return $float eq $nan; }, ); if ($jsonpp) { %check = ( %check, true => sub { blessed($_[0]) eq 'JSON::PP::Boolean' and $_[0] }, false => sub { blessed($_[0]) eq 'JSON::PP::Boolean' and not $_[0] }, ); } my $i = 0; for my $input (sort keys %$schema_data) { my $test_data = $schema_data->{ $input }; # note("Input: $input"); for my $schema_names (sort keys %$test_data) { note("[$input] Schemas: " . $schema_names); my @names = split m/ *, */, $schema_names; my $test = $test_data->{ $schema_names }; for my $name (@names) { my $yp = $loaders{ $name }; my %def; @def{ qw/ type data dump /} = @$test; next if ($def{type} eq 'bool' and not $jsonpp); my $func; my $data = $yp->load_string('--- ' . $input); my $data_orig = $data; # avoid stringifying original data my $flags = B::svref_2object(\$data)->FLAGS; my $is_str = $flags & B::SVp_POK; my $is_int = $flags & B::SVp_IOK; my $is_float = $flags & B::SVp_NOK; my $type = $def{type}; my $label = sprintf "(%s) type %s: load(%s)", $name, $def{type}, $input; if ($def{data} =~ m/^([\w-]+)\(\)$/) { my $func_name = $1; $func = $check{ $func_name }; my $ok = $func->($data); ok($ok, "$label - check $func_name() ok"); } if ($type eq 'str') { ok($is_str, "$label is str"); ok(! $is_int, "$label is not int"); ok(! $is_float, "$label is not float"); unless ($func) { cmp_ok($def{data}, 'eq', $data, "$label eq '$def{data}'"); } } elsif ($type eq 'int') { ok($is_int, "$label is int"); ok(!$is_str, "$label is not str"); unless ($func) { cmp_ok($data, '==', $def{data}, "$label == '$def{data}'"); } } elsif ($type eq 'float' or $type eq 'inf' or $type eq 'nan') { unless ($inf_broken) { ok($is_float, "$label is float"); ok(!$is_str, "$label is not str"); } unless ($func) { cmp_ok(sprintf("%.2f", $data), '==', $def{data}, "$label == '$def{data}'"); } } elsif ($type eq 'bool' or $type eq 'null') { } else { ok(0, "unknown type $type"); } unless ($inf_broken) { my $yaml_dump = $yp->dump_string($data_orig); $yaml_dump =~ s/\n\z//; cmp_ok($yaml_dump, 'eq', $def{dump}, "$label-dump as expected"); } } } # last if ++$i > 10; } subtest int_string => sub { my $x = "25.1"; my $y = $x + 0; for my $name (qw/ json core yaml11 /) { my $yp = $loaders{ $name }; my $yaml = $yp->dump_string($x); chomp $yaml; cmp_ok($yaml, 'eq', '25.1', "$name: IV and PV"); } }; subtest float_string => sub { my $x = 19; { no warnings 'numeric'; $x .= "x"; my $y = $x + 0; }; for my $name (qw/ json core yaml11 /) { my $yp = $loaders{ $name }; my $yaml = $yp->dump_string($x); chomp $yaml; cmp_ok($yaml, 'eq', '19x', "$name: NV and PV"); } }; done_testing; YAML-PP-v0.43.0/t/PaxHeaders/42.tokens.t0000644000000000000000000000013215263373362014312 xustar0030 mtime=1791882994.975720949 30 atime=1791882994.975630155 30 ctime=1791882994.975720949 YAML-PP-v0.43.0/t/42.tokens.t0000644000175000017500000000153515263373362013750 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use lib "$Bin/lib"; use YAML::PP::Test; use YAML::PP; use YAML::PP::Parser; use Data::Dumper; $ENV{YAML_PP_RESERVED_DIRECTIVE} = 'ignore'; $|++; my $yts = "$Bin/../test-suite/yaml-test-suite-data"; my @skip = qw/ 4FJ6 87E4 8UDB 9MMW CN3R CT4Q L9U5 LQZ7 LX3P Q9WF QF4Y 6BFJ CFD4 M2N8:01 UKK6:01 /; my $testsuite = YAML::PP::Test->new( test_suite_dir => "$yts", dir => "$Bin/valid", valid => 1, in_yaml => 1, ); my ($testcases) = $testsuite->read_tests( skip => \@skip, ); $testsuite->run_testcases( code => \&test, ); sub test { my ($testsuite, $testcase) = @_; my $result = $testsuite->parse_tokens($testcase); $testsuite->compare_tokens($testcase, $result); return $result; } done_testing; YAML-PP-v0.43.0/t/PaxHeaders/16.loader.t0000644000000000000000000000013215263373362014256 xustar0030 mtime=1791882994.975630155 30 atime=1791882994.975538593 30 ctime=1791882994.975630155 YAML-PP-v0.43.0/t/16.loader.t0000644000175000017500000000044415263373362013712 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use Data::Dumper; use YAML::PP::Loader; eval { my $yppl = YAML::PP::Loader->new( boolean => 'bla' ); }; my $error = $@; cmp_ok($error, '=~', 'Unexpected arguments', "Unexpected arguments"); done_testing; YAML-PP-v0.43.0/t/PaxHeaders/45.binary.t0000644000000000000000000000013215263373362014276 xustar0030 mtime=1791882994.975538593 30 atime=1791882994.975437672 30 ctime=1791882994.975538593 YAML-PP-v0.43.0/t/45.binary.t0000644000175000017500000000777615263373362013751 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More tests => 3; use YAML::PP; use Encode; use Data::Dumper; my $yp_binary = YAML::PP->new( schema => [qw/ JSON Binary /] ); my $yp = YAML::PP->new( schema => [qw/ JSON Catchall /] ); my $gif = "GIF89a\f\0\f\0\204\0\0\377\377\367\365\365\356\351\351\345fff" . "\0\0\0\347\347\347^^^\363\363\355\216\216\216\340\340\340\237\237\237" . "\223\223\223\247\247\247\236\236\236iiiccc\243\243\243\204\204\204\377" . "\376\371\377\376\371\377\376\371\377\376\371\377\376\371\377\376\371" . "\377\376\371\377\376\371\377\376\371\377\376\371\377\376\371\377\376" . "\371\377\376\371\377\376\371!\376\16Made with GIMP\0,\0\0\0\0\f\0\f" . "\0\0\5, \216\2010\236\343\@\24\350i\20\304\321\212\b\34\317\200" . "M\$z\357\3770\205p\270\2601f\r\e\316\1\303\1\36\20' \202\n\1\0;"; subtest load_binary => sub { my $yaml = <<'EOM'; canonical: !!binary "\ R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5\ OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+\ +f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC\ AgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs=" EOM my $data = $yp_binary->load_string($yaml); cmp_ok($data->{canonical}, 'eq', $gif, "Loaded binary equals gif"); my $base64 = "R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5" . "OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+" . "+f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC" . "AgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs="; my $load = $yp->load_string($yaml); cmp_ok($load->{canonical}, 'eq', $base64, "Load back literally"); }; my $latin1_a_umlaut = encode(latin1 => (decode_utf8 "ä")); my @tests = ( [utf8 => "a"], [binary => $latin1_a_umlaut], [binary => "\304\244",], [utf8 => decode_utf8("\304\244"),], [binary => "a umlaut ä",], [utf8 => decode_utf8("a umlaut ä"),], [binary => "euro €",], [utf8 => decode_utf8("euro €"),], [binary => "\303\274 \374",], [binary => "\xC0\x80"], [binary => "\xC0\xAF"], [binary => "\xE0\x80\x80"], [binary => "\xF0\x80\x80\x80"], [binary => "\xE0\x83\xBF"], [binary => "\xF0\x80\x83\xBF"], [binary => "\xF0\x80\xA3\x80"], [binary => [$gif, decode_utf8("ä")],], [binary => [$gif, 'foo'],], ); subtest roundtrip => sub { for my $item (@tests) { select undef, undef, undef, 0.1; my ($type, $data) = @$item; local $Data::Dumper::Useqq = 1; my $label = Data::Dumper->Dump([$data], ['data']); chomp $label; note("\n\n\n=============== $type: $label"); my $dump = $yp->dump_string($data); #note("========= YAML:\n$dump"); my $reload = $yp->load_string($dump); if (ref $reload eq 'ARRAY') { cmp_ok($reload->[0], 'eq', $data->[0], "Reload binary->[0] ok ($label)"); cmp_ok($reload->[1], 'eq', $data->[1], "Reload binary->[1] ok ($label)"); } else { cmp_ok($reload, 'eq', $data, "Reload binary ok ($label)"); } } }; subtest roundtrip_binary => sub { for my $item (@tests) { my ($type, $data) = @$item; local $Data::Dumper::Useqq = 1; my $label = Data::Dumper->Dump([$data], ['data']); note("=============== $type: $label"); my $dump = $yp_binary->dump_string($data); if ($type eq 'binary') { like($dump, qr{!!binary}, "Output YAML contains !!binary"); } else { unlike($dump, qr{!!binary}, "Output YAML does not contain !!binary"); } my $reload = $yp_binary->load_string($dump); if (ref $reload eq 'ARRAY') { cmp_ok($reload->[0], 'eq', $data->[0], "Reload binary->[0] ok ($label)"); cmp_ok($reload->[1], 'eq', $data->[1], "Reload binary->[1] ok ($label)"); } else { cmp_ok($reload, 'eq', $data, "Reload binary ok ($label)"); } } }; done_testing; YAML-PP-v0.43.0/t/PaxHeaders/43.indent.t0000644000000000000000000000013215263373362014271 xustar0030 mtime=1791882994.975437672 30 atime=1791882994.975330115 30 ctime=1791882994.975437672 YAML-PP-v0.43.0/t/43.indent.t0000644000175000017500000000626515263373362013734 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use lib "$Bin/lib"; use YAML::PP::Test; use YAML::PP; use Data::Dumper; my $in = <<'EOM'; --- a: b: c: d list: - 1 - x: 2 y: 3 nested1: - - a - b nested2: - - a - b EOM my $out_expected1 = <<'EOM'; --- a: b: c: d list: - 1 - x: 2 y: 3 nested1: - - a - b nested2: - - a - b EOM my $out_expected4 = <<'EOM'; --- a: b: c: d list: - 1 - x: 2 y: 3 nested1: - - a - b nested2: - - a - b EOM my @events; my $parser = YAML::PP::Parser->new( receiver => sub { my ($parser, $name, $info) = @_; push @events, $info; }, ); $parser->parse_string( $in ); my $writer = YAML::PP::Writer->new; my $emitter = YAML::PP::Emitter->new( indent => 1); $emitter->set_writer($writer); $emitter->init; for my $event (@events) { my $type = $event->{name}; $emitter->$type($event); } my $out1 = $emitter->writer->output; cmp_ok($out1, 'eq', $out_expected1, "Emitting with indent 1"); $emitter->set_indent(4); $emitter->init; for my $event (@events) { my $type = $event->{name}; $emitter->$type($event); } my $out4 = $emitter->writer->output; cmp_ok($out4, 'eq', $out_expected4, "Emitting with indent 4"); $ENV{YAML_PP_RESERVED_DIRECTIVE} = 'ignore'; $|++; my $yts = "$Bin/../test-suite/yaml-test-suite-data"; # skip tests that parser can't parse my @skip = qw/ 4FJ6 4ABK 87E4 8UDB 9MMW CN3R CT4Q FRK4 L9U5 LQZ7 LX3P Q9WF QF4Y 6BFJ F6MC NB6Z CFD4 M2N8:01 UKK6:01 /; # emitter push @skip, qw/ /; # quoting push @skip, qw/ 36F6 6CA3 9YRD HS5T EX5H NAT4 L24T:00 L24T:01 DK95:00 DK95:02 DK95:03 DK95:04 DK95:05 DK95:07 DK95:08 /; # tags push @skip, qw/ v014 /; # block scalar push @skip, qw/ 4QFQ 6VJK 7T8X R4YG v033 /; # test push @skip, qw/ XLQ9 K54U PUW8 3MYT MJS9 /; # TODO fix testsuite # 4QFQ # unicode push @skip, qw/ H3Z8 /; push @skip, qw/ X38W /; my $testsuite = YAML::PP::Test->new( test_suite_dir => "$yts", dir => "$Bin/valid", valid => 1, in_yaml => 1, emit_yaml => 1, ); my %skip_yaml_equal = ( 'X38W' => 1, 'G4RS' => 1, '6CK3' => 1, '5TYM' => 1, '565N' => 1, # fix testsuite 'K858' => 1, '4MUZ' => 1, '8KB6' => 1, '9BXH' => 1, '6ZKB' => 1, '6SLA' => 1, '9DXL' => 1, ); my ($testcases) = $testsuite->read_tests( skip => \@skip, ); my $indent = 1; subtest "indent-$indent" => sub { $testsuite->run_testcases( code => sub { test(@_, $indent) }, ); }; subtest "indent-$indent" => sub { $indent = 3; $testsuite->run_testcases( code => sub { test(@_, $indent) }, ); }; subtest "indent-$indent" => sub { $indent = 4; $testsuite->run_testcases( code => sub { test(@_, $indent) }, ); }; $testsuite->print_stats( count => [qw/ SAME_EVENTS SAME_YAML DIFF_EVENTS DIFF_YAML ERROR TODO SKIP /], ids => [qw/ DIFF_YAML DIFF_EVENTS /], ); sub test { my ($testsuite, $testcase, $indent) = @_; my $id = $testcase->{id}; my $result = $testsuite->emit_yaml($testcase, { indent => $indent }); delete $result->{emit_yaml}; $testsuite->compare_emit_yaml($testcase, $result); } done_testing; YAML-PP-v0.43.0/t/PaxHeaders/30.legacy.t0000644000000000000000000000013215263373362014250 xustar0030 mtime=1791882994.975330115 30 atime=1791882994.975243302 30 ctime=1791882994.975330115 YAML-PP-v0.43.0/t/30.legacy.t0000644000175000017500000000361015263373362013702 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use Data::Dumper; use YAML::PP; use YAML::PP::Perl; my $file = "$Bin/data/simple.yaml"; my $copy = "$Bin/data/simple.yaml.copy"; my $yaml = do { open my $fh, '<', $file or die $!; local $/; <$fh> }; my $data = { a => 1 }; my $all_data = [ { a => 1 }, { b => 2 } ]; subtest default => sub { my $data_from_string = YAML::PP::Load($yaml); my $data_from_file = YAML::PP::LoadFile($file); is_deeply($data_from_string, $data, "scalar Load data ok"); is_deeply($data_from_file, $data, "scalar LoadFile data ok"); my @all_data_from_string = YAML::PP::Load($yaml); my @all_data_from_file = YAML::PP::LoadFile($file); is_deeply(\@all_data_from_string, $all_data, "Load data ok"); is_deeply(\@all_data_from_file, $all_data, "LoadFile data ok"); my $dump = YAML::PP::Dump(@$all_data); cmp_ok($dump, 'eq', $yaml, 'Dump() ok'); YAML::PP::DumpFile($copy, @$all_data); $yaml = do { open my $fh, '<', $copy or die $!; local $/; <$fh> }; cmp_ok($dump, 'eq', $yaml, 'DumpFile() ok'); }; subtest perl => sub { my $data_from_string = YAML::PP::Perl::Load($yaml); my $data_from_file = YAML::PP::Perl::LoadFile($file); is_deeply($data_from_string, $data, "Load data ok"); is_deeply($data_from_file, $data, "LoadFile data ok"); my @all_data_from_string = YAML::PP::Perl::Load($yaml); my @all_data_from_file = YAML::PP::Perl::LoadFile($file); is_deeply(\@all_data_from_string, $all_data, "Load data ok"); is_deeply(\@all_data_from_file, $all_data, "LoadFile data ok"); my $dump = YAML::PP::Perl::Dump(@$all_data); cmp_ok($dump, 'eq', $yaml, 'Dump() ok'); YAML::PP::Perl::DumpFile($copy, @$all_data); $yaml = do { open my $fh, '<', $copy or die $!; local $/; <$fh> }; cmp_ok($dump, 'eq', $yaml, 'DumpFile() ok'); }; done_testing; END { unlink $copy; } YAML-PP-v0.43.0/t/PaxHeaders/44.writer.t0000644000000000000000000000013115263373362014324 xustar0030 mtime=1791882994.975243302 29 atime=1791882994.97514741 30 ctime=1791882994.975243302 YAML-PP-v0.43.0/t/44.writer.t0000644000175000017500000000155115263373362013761 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use YAML::PP; use Data::Dumper; my $in = <<'EOM'; --- a: b: c: d list: - 1 - 2 EOM my $out_expected = <<'EOM'; --- a: b: c: d list: - 1 - 2 EOM my $writer = MyWriter->new(\my $output); my $yp = YAML::PP->new( writer => $writer, ); my $data = $yp->load_string($in); $yp->dump($data); cmp_ok($output, 'eq', $out_expected, "Dumping with indent"); done_testing; package MyWriter; sub new { my ($class, $ref) = @_; die "No scalar reference given" unless $ref; $$ref = '' unless defined $$ref; bless { output => $ref }, $class; } sub write { my ($self, $line) = @_; ${ $self->{output} } .= $line; } sub init { ${ $_[0]->{output} } = ''; } sub finish { my ($self) = @_; } sub output { my ($self) = @_; return "dummy"; return ${ $self->{output} }; } YAML-PP-v0.43.0/t/PaxHeaders/36.debug.t0000644000000000000000000000012515263373362014102 xustar0028 mtime=1791882994.9750548 29 atime=1791882994.97497078 28 ctime=1791882994.9750548 YAML-PP-v0.43.0/t/36.debug.t0000644000175000017500000000102415263373362013527 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; #$ENV{YAML_PP_TRACE} = 1; BEGIN { $ENV{YAML_PP_DEBUG} = 1; } use YAML::PP::Parser; my $yaml = "foo: bar"; my $parser = YAML::PP::Parser->new( receiver => sub {} ); no warnings 'redefine'; my $output = ''; *YAML::PP::Parser::_colorize_warn = sub { my ($self, $colors, $text) = @_; $output .= "$text\n"; }; *YAML::PP::Parser::highlight_yaml = sub { }; $parser->parse_string($yaml); cmp_ok($output, '=~', qr{lex_next_tokens}, "Debug output"); done_testing; YAML-PP-v0.43.0/t/PaxHeaders/48.merge.t0000644000000000000000000000012615263373362014117 xustar0029 mtime=1791882994.97497078 28 atime=1791882994.9748737 29 ctime=1791882994.97497078 YAML-PP-v0.43.0/t/48.merge.t0000644000175000017500000000337115263373362013552 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use Data::Dumper; use YAML::PP; # https://yaml.org/type/merge.html my $yp = YAML::PP->new( schema => [qw/ JSON Merge /], ); subtest merge => sub { my $yaml = <<'EOM'; --- - &CENTER { x: 1, y: 2 } - &LEFT { x: 0, y: 2 } - &BIG { r: 10 } - &SMALL { r: 1 } # All the following maps are equal: - # Explicit keys x: 1 y: 2 r: 10 label: center/big - # Merge one map << : *CENTER r: 10 label: center/big - # Merge multiple maps << : [ *CENTER, *BIG ] label: center/big - # Override << : [ *BIG, *LEFT, *SMALL ] x: 1 label: center/big EOM my $data = $yp->load_string($yaml); my $expected = { label => 'center/big', x => 1, y => 2, r => 10, }; is_deeply($data->[4], $expected, "Merge: Explicit keys"); is_deeply($data->[5], $expected, "Merge: Merge one map"); is_deeply($data->[6], $expected, "Merge: Merge multiple maps"); is_deeply($data->[7], $expected, "Merge: Override"); }; subtest errors => sub { my $error1 = <<'EOM'; --- scalar: &scalar test merge: <<: *scalar EOM my $error2 = <<'EOM'; --- scalar: &scalar test merge: <<: [*scalar] EOM my $error3 = <<'EOM'; --- list: &list [23] merge: <<: [*list] EOM eval { my $data = $yp->load_string($error1); }; my $error = $@; cmp_ok($error, '=~', qr{Expected hash}, "Merge: invalid scalar"); eval { my $data = $yp->load_string($error2); }; $error = $@; cmp_ok($error, '=~', qr{Expected hash}, "Merge: invalid scalar"); eval { my $data = $yp->load_string($error3); }; $error = $@; cmp_ok($error, '=~', qr{Expected hash}, "Merge: invalid list"); }; done_testing; YAML-PP-v0.43.0/t/PaxHeaders/50.clone.t0000644000000000000000000000012615263373362014111 xustar0028 mtime=1791882994.9748737 30 atime=1791882994.974765446 28 ctime=1791882994.9748737 YAML-PP-v0.43.0/t/50.clone.t0000644000175000017500000000142515263373362013542 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use Data::Dumper; use YAML::PP; my $yp = YAML::PP->new( cyclic_refs => 'fatal', schema => ['Failsafe'], ); my $string = 'bar'; my $data = { foo => bless \$string, 'Foo' }; my $invalid = <<'EOM'; --- foo: @invalid EOM eval { $yp->load_string($invalid); }; ok($@, "load invalid YAML"); eval { $yp->dump_string($data); }; ok($@, "dump unsupported data"); my $clone = $yp->clone; my $valid = <<'EOM'; --- foo: bar EOM my $valid_data = { foo => 'bar' }; my $load = $clone->load_string($valid); is_deeply($load, $valid_data, "Second load ok"); my $dump = $clone->dump_string($load); my $exp_dump = <<'EOM'; --- foo: bar EOM cmp_ok($dump, 'eq', $exp_dump, "Second dump ok"); done_testing; YAML-PP-v0.43.0/t/PaxHeaders/54.glob.t0000644000000000000000000000013215263373362013735 xustar0030 mtime=1791882994.974607953 30 atime=1791882994.974524003 30 ctime=1791882994.974607953 YAML-PP-v0.43.0/t/54.glob.t0000644000175000017500000001225615263373362013375 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use Data::Dumper; use IO::File; use YAML::PP; use YAML::PP::Schema::Perl; use Scalar::Util qw/ blessed reftype /; my $test_deep; BEGIN { eval "use Test::Deep qw/ cmp_deeply /"; unless ($@) { $test_deep = 1; } } unless ($test_deep) { plan skip_all => "No Test::Deep available"; exit; } our $var = "Hola"; our @var = (3, 14, 15); our %var = (pi => '3.1415'); my $stdin = \*DATA, my $fileno = fileno DATA; my $perl_objects = YAML::PP::Schema::Perl->new( ); my $perl_no_objects = YAML::PP::Schema::Perl->new( classes => [], ); my $yp = YAML::PP->new( schema => ['+', $perl_objects], ); my $yp_no_objects = YAML::PP->new( schema => ['+', $perl_no_objects], ); my %tests = ( simple => { in => <<'EOM', --- !perl/glob ARRAY: - 3 - 14 - 15 HASH: pi: '3.1415' NAME: var PACKAGE: main SCALAR: Hola EOM name => '*main::var', value => 'Hola', types => { SCALAR => 'Hola', ARRAY => [ 3, 14, 15 ], HASH => { pi => '3.1415' }, }, }, blessed => { in => <<'EOM', --- !perl/glob:Foo ARRAY: - 3 - 14 - 15 HASH: pi: '3.1415' NAME: var PACKAGE: main SCALAR: Hola EOM name => '*main::var', class => 'Foo', value => 'Hola', types => { SCALAR => 'Hola', ARRAY => [ 3, 14, 15 ], HASH => { pi => '3.1415' }, }, }, io => { in => <<"EOM", --- !perl/glob IO: fileno: $fileno stat: {} NAME: DATA PACKAGE: main EOM name => '*main::DATA', types => { IO => $fileno, }, }, blessed_io => { in => <<"EOM", --- !perl/glob:Foo IO: fileno: $fileno stat: {} NAME: DATA PACKAGE: main EOM name => '*main::DATA', class => 'Foo', types => { IO => $fileno, }, }, ); subtest valid => sub { my @tests = ( [objects => $yp], [no_objects => $yp_no_objects], ); for my $type (@tests) { my ($test_type, $yp) = @$type; for my $key (sort keys %tests) { my $test = $tests{ $key }; my $name = $test->{name}; my $label = "$test_type - $key - $name"; my $class = $test->{class} || ''; note "============ $key $name"; my $input = $test->{in}; my $data = $yp->load_string($input); my $glob = *{$data}; if ($class) { my $ref = ref $data; if ($test_type eq 'no_objects') { my $reftype = reftype(\$data); is($reftype, 'GLOB', "$label - ($class) reftype is glob"); isnt(ref $data, $class, "$label - Class not equals '$class'"); } else { my $reftype = reftype($data); is($reftype, 'GLOB', "$label - ($class) reftype is glob"); is(ref $data, $class, "$label - Class equals '$class'"); } } else { my $reftype = reftype(\$data); is($reftype, 'GLOB', "$label - reftype is glob"); } is("$glob", $name, "$label - Glob name"); my $types = $test->{types}; for my $type (sort keys %$types) { my $exp = $types->{ $type }; my $value; my $glob = *{$data}{ $type }; if ($type eq 'SCALAR') { $value = $$glob; } elsif ($type eq 'ARRAY') { $value = [ @$glob ]; } elsif ($type eq 'HASH') { $value = { %$glob }; } elsif ($type eq 'IO') { $value = fileno $glob; } cmp_deeply($value, $exp, "$label - $type - Data equal"); } my $dump = $yp->dump_string($data); if ($key =~ m/io/) { $dump =~ s/^ [a-z]+: \S+\n//mg; $dump =~ s/^ tell: \S+\n//m; $dump =~ s/stat:$/stat: \{\}/m; } if ($class and $test_type eq 'no_objects') { isnt($dump, $input, "$label - Dump not equals input"); } else { is($dump, $input, "$label - Dump equals input"); } } } }; subtest ioscalar => sub { my $fh = IO::File->new("< $Bin/54.glob.t"); my $dump = $yp->dump_string($fh); my $fn = $fh->fileno; like $dump, qr{--- !perl/glob:IO::File}, "IO::Scalar correctly dumped as blessed per/glob"; like $dump, qr{fileno: $fn\n}, "IO::Scalar fileno correct"; }; my @error = ( [ <<'EOM', qr{Unexpected keys in perl/glob}], --- !perl/glob NAME: var this: should not be here EOM [ <<'EOM', qr{Missing NAME in perl/glob}], --- !perl/glob name: invalid EOM ); subtest error => sub { for my $item (@error) { my ($input, $qr) = @$item; my $data = eval { $yp->load_string($input); }; my $err = $@; like $err, $qr, "Invalid glob - error matches $qr"; } }; done_testing; __DATA__ dummy YAML-PP-v0.43.0/t/PaxHeaders/21.emit.t0000644000000000000000000000013215263373362013742 xustar0030 mtime=1791882994.974524003 30 atime=1791882994.974436352 30 ctime=1791882994.974524003 YAML-PP-v0.43.0/t/21.emit.t0000644000175000017500000000351115263373362013374 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use lib "$Bin/lib"; use YAML::PP::Test; use Data::Dumper; use YAML::PP::Parser; use YAML::PP::Emitter; use YAML::PP::Writer; use Encode; $ENV{YAML_PP_RESERVED_DIRECTIVE} = 'ignore'; $|++; my $yts = "$Bin/../test-suite/yaml-test-suite-data"; # skip tests that parser can't parse my @skip = qw/ 4FJ6 4ABK 87E4 8UDB 9MMW CN3R CT4Q FRK4 L9U5 LQZ7 LX3P Q9WF QF4Y 6BFJ F6MC NB6Z CFD4 M2N8:01 UKK6:01 /; # emitter push @skip, qw/ /; # quoting push @skip, qw/ 36F6 6CA3 9YRD HS5T EX5H NAT4 L24T:00 L24T:01 DK95:00 DK95:02 DK95:03 DK95:04 DK95:05 DK95:07 DK95:08 /; # tags push @skip, qw/ v014 /; # block scalar push @skip, qw/ 4QFQ R4YG v033 /; # test push @skip, qw/ XLQ9 K54U PUW8 MJS9 /; # TODO fix testsuite # 4QFQ # unicode push @skip, qw/ H3Z8 /; push @skip, qw/ /; my $testsuite = YAML::PP::Test->new( test_suite_dir => "$yts", dir => "$Bin/valid", valid => 1, in_yaml => 1, emit_yaml => 1, ); my %skip_yaml_equal = ( 'X38W' => 1, 'G4RS' => 1, '6CK3' => 1, '5TYM' => 1, '565N' => 1, # fix testsuite 'K858' => 1, '4MUZ' => 1, '8KB6' => 1, '9BXH' => 1, '6ZKB' => 1, '6SLA' => 1, '9DXL' => 1, ); my ($testcases) = $testsuite->read_tests( skip => \@skip, ); $testsuite->run_testcases( code => \&test, ); $testsuite->print_stats( count => [qw/ SAME_EVENTS SAME_YAML DIFF_EVENTS DIFF_YAML ERROR TODO SKIP /], ids => [qw/ DIFF_YAML DIFF_EVENTS /], ); sub test { my ($testsuite, $testcase) = @_; my $id = $testcase->{id}; my $result = $testsuite->emit_yaml($testcase); if ($skip_yaml_equal{ $id }) { delete $result->{emit_yaml}; } $testsuite->compare_emit_yaml($testcase, $result); } done_testing; exit; YAML-PP-v0.43.0/t/PaxHeaders/55.flow.t0000644000000000000000000000013215263373362013762 xustar0030 mtime=1791882994.974436352 30 atime=1791882994.974340948 30 ctime=1791882994.974436352 YAML-PP-v0.43.0/t/55.flow.t0000644000175000017500000000227115263373362013416 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use lib "$Bin/lib"; use YAML::PP::Test; use Data::Dumper; use YAML::PP::Parser; use YAML::PP::Emitter; use YAML::PP::Writer; use Encode; $ENV{YAML_PP_RESERVED_DIRECTIVE} = 'ignore'; $|++; my $yts = "$Bin/../test-suite/yaml-test-suite-data"; # skip tests that parser can't parse my @skip = qw/ 4FJ6 4ABK 87E4 8UDB 9MMW CN3R CT4Q FRK4 L9U5 LQZ7 LX3P QF4Y 6BFJ CFD4 Q9WF v022 /; push @skip, qw/ v014 v033 /; my $testsuite = YAML::PP::Test->new( test_suite_dir => "$yts", dir => "$Bin/valid", valid => 1, in_yaml => 1, emit_yaml => 1, tag => 'flow', ); my ($testcases) = $testsuite->read_tests( skip => \@skip, ); $testsuite->run_testcases( code => \&test, ); $testsuite->print_stats( count => [qw/ SAME_EVENTS SAME_YAML DIFF_EVENTS DIFF_YAML ERROR TODO SKIP /], ids => [qw/ DIFF_YAML DIFF_EVENTS /], ); sub test { my ($testsuite, $testcase) = @_; my $id = $testcase->{id}; my $result = $testsuite->emit_yaml($testcase, { flow => 'keep' }); $testsuite->compare_emit_yaml($testcase, $result); } done_testing; exit; YAML-PP-v0.43.0/t/PaxHeaders/20.dump.t0000644000000000000000000000013215263373362013750 xustar0030 mtime=1791882994.974340948 30 atime=1791882994.974244566 30 ctime=1791882994.974340948 YAML-PP-v0.43.0/t/20.dump.t0000644000175000017500000000221515263373362013402 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use lib "$Bin/lib"; use YAML::PP::Test; use Data::Dumper; use YAML::PP; use Encode; use File::Basename qw/ dirname basename /; my $json_pp = eval "use JSON::PP; 1"; unless ($json_pp) { plan skip_all => "Need JSON::PP for testing booleans"; exit; } $ENV{YAML_PP_RESERVED_DIRECTIVE} = 'ignore'; $|++; my $yts = "$Bin/../test-suite/yaml-test-suite-data"; # skip tests that parser can't parse my @skip = qw/ 4FJ6 87E4 8UDB 9MMW CN3R CT4Q L9U5 LQZ7 LX3P Q9WF QF4Y 6BFJ CFD4 M2N8:01 UKK6:01 /; my $testsuite = YAML::PP::Test->new( test_suite_dir => "$yts", dir => "$Bin/valid", valid => 1, in_yaml => 1, out_yaml => 1, ); my ($testcases) = $testsuite->read_tests( skip => \@skip, ); $testsuite->run_testcases( code => \&test, ); sub test { my ($testsuite, $testcase) = @_; my $result = $testsuite->dump_yaml($testcase); $testsuite->compare_dump_yaml($testcase, $result); } done_testing; $testsuite->print_stats( count => [qw/ OK DIFF ERROR TODO SKIP /], ids => [qw/ ERROR DIFF /], ); YAML-PP-v0.43.0/t/PaxHeaders/19.file.t0000644000000000000000000000013215263373362013732 xustar0030 mtime=1791882994.974244566 30 atime=1791882994.974068775 30 ctime=1791882994.974244566 YAML-PP-v0.43.0/t/19.file.t0000644000175000017500000000315315263373362013366 0ustar00tinatina#!/usr/bin/env perl use strict; use warnings; use Test::More; use FindBin '$Bin'; use Data::Dumper; use YAML::PP; my $file = "$Bin/data/simple.yaml"; my $file_out = "$Bin/data/simple-out.yaml"; my $invalid_file = "/non/existant/path/for/yaml/pp"; my $yaml = do { open my $fh, '<', $file or die $!; local $/; <$fh> }; my $data = { a => 1 }; my $all_data = [ { a => 1 }, { b => 2 } ]; my $data_from_string = YAML::PP->new->load_string($yaml); my $data_from_file = YAML::PP->new->load_file($file); open my $fh, '<', $file or die $!; my $data_from_filehandle = YAML::PP->new->load_file($fh); close $fh; is_deeply($data_from_string, $data, "load_string data ok"); is_deeply($data_from_file, $data, "load_file data ok"); is_deeply($data_from_filehandle, $data, "load_file(filehandle) data ok"); $data_from_file = YAML::PP::LoadFile($file); is_deeply($data_from_file, $data, "LoadFile data ok"); YAML::PP->new->dump_file($file_out, @$all_data); my $yaml2 = do { open my $fh, '<', $file_out or die $!; local $/; <$fh> }; cmp_ok($yaml2, 'eq', $yaml, "dump_file data correct"); YAML::PP::DumpFile($file_out, @$all_data); $yaml2 = do { open my $fh, '<', $file_out or die $!; local $/; <$fh> }; cmp_ok($yaml2, 'eq', $yaml, "DumpFile data correct"); open my $fh_out, '>', $file_out or die $!; YAML::PP::DumpFile($fh_out, @$all_data); close $fh_out; $yaml2 = do { open my $fh, '<', $file_out or die $!; local $/; <$fh> }; cmp_ok($yaml2, 'eq', $yaml, "DumpFile(filehandle) data correct"); eval { YAML::PP::DumpFile($invalid_file, $data); }; my $error = $@; cmp_ok($error, '=~', qr{Could not open}); done_testing; END { unlink $file_out; } YAML-PP-v0.43.0/PaxHeaders/SECURITY.md0000644000000000000000000000013215263373362013724 xustar0030 mtime=1791882994.974068775 30 atime=1791882994.973977771 30 ctime=1791882994.974068775 YAML-PP-v0.43.0/SECURITY.md0000644000175000017500000000077215263373362013364 0ustar00tinatina# Reporting Security Issues To report a security issue, please use the GitHub Security Advisory "Report a Vulnerability" tab. The project maintainer(s) will send a response indicating the next steps in handling your report. After the initial reply to your report, the maintainer(s) will keep you informed of the progress towards a fix and full announcement, and may ask for additional information or guidance. Report security bugs in third-party packages to the person or team maintaining the package. YAML-PP-v0.43.0/PaxHeaders/Makefile.PL0000644000000000000000000000013215263373362014105 xustar0030 mtime=1791882994.973977771 30 atime=1791882994.973882437 30 ctime=1791882994.973977771 YAML-PP-v0.43.0/Makefile.PL0000644000175000017500000000425715263373362013547 0ustar00tinatina# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.032. use strict; use warnings; use 5.008000; use ExtUtils::MakeMaker; my %WriteMakefileArgs = ( "ABSTRACT" => "YAML 1.2 Processor", "AUTHOR" => "Tina M\x{fc}ller ", "CONFIGURE_REQUIRES" => { "ExtUtils::MakeMaker" => 0 }, "DISTNAME" => "YAML-PP", "EXE_FILES" => [ "bin/yamlpp-events", "bin/yamlpp-highlight", "bin/yamlpp-load", "bin/yamlpp-load-dump", "bin/yamlpp-parse-emit" ], "LICENSE" => "perl", "MIN_PERL_VERSION" => "5.008000", "NAME" => "YAML::PP", "PREREQ_PM" => { "B" => 0, "B::Deparse" => 0, "Carp" => 0, "Data::Dumper" => 0, "Encode" => 0, "Exporter" => 0, "File::Basename" => 0, "File::Spec" => 0, "Getopt::Long" => 0, "MIME::Base64" => 0, "Module::Load" => 0, "Scalar::Util" => "1.07", "Tie::Array" => 0, "Tie::Hash" => 0, "base" => 0, "constant" => 0, "overload" => 0, "strict" => 0, "warnings" => 0 }, "TEST_REQUIRES" => { "File::Spec" => 0, "FindBin" => 0, "IO::File" => 0, "IO::Handle" => 0, "IPC::Open3" => 0, "Test::More" => "0.98", "Test::Warnings" => "0.005", "lib" => 0 }, "VERSION" => "v0.43.0", "test" => { "TESTS" => "t/*.t" } ); my %FallbackPrereqs = ( "B" => 0, "B::Deparse" => 0, "Carp" => 0, "Data::Dumper" => 0, "Encode" => 0, "Exporter" => 0, "File::Basename" => 0, "File::Spec" => 0, "FindBin" => 0, "Getopt::Long" => 0, "IO::File" => 0, "IO::Handle" => 0, "IPC::Open3" => 0, "MIME::Base64" => 0, "Module::Load" => 0, "Scalar::Util" => "1.07", "Test::More" => "0.98", "Test::Warnings" => "0.005", "Tie::Array" => 0, "Tie::Hash" => 0, "base" => 0, "constant" => 0, "lib" => 0, "overload" => 0, "strict" => 0, "warnings" => 0 ); unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) { delete $WriteMakefileArgs{TEST_REQUIRES}; delete $WriteMakefileArgs{BUILD_REQUIRES}; $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs; } delete $WriteMakefileArgs{CONFIGURE_REQUIRES} unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; WriteMakefile(%WriteMakefileArgs); YAML-PP-v0.43.0/PaxHeaders/META.json0000644000000000000000000000013215263373362013554 xustar0030 mtime=1791882994.973882437 30 atime=1791882994.973788151 30 ctime=1791882994.973882437 YAML-PP-v0.43.0/META.json0000644000175000017500000001407115263373362013211 0ustar00tinatina{ "abstract" : "YAML 1.2 Processor", "author" : [ "Tina M\u00fcller " ], "dynamic_config" : 0, "generated_by" : "Dist::Zilla version 6.032, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", "version" : 2 }, "name" : "YAML-PP", "prereqs" : { "configure" : { "requires" : { "ExtUtils::MakeMaker" : "0" } }, "develop" : { "requires" : { "Pod::Wordlist" : "0", "Test::More" : "0", "Test::Spelling" : "0" } }, "runtime" : { "requires" : { "B" : "0", "B::Deparse" : "0", "Carp" : "0", "Data::Dumper" : "0", "Encode" : "0", "Exporter" : "0", "File::Basename" : "0", "File::Spec" : "0", "Getopt::Long" : "0", "MIME::Base64" : "0", "Module::Load" : "0", "Scalar::Util" : "1.07", "Tie::Array" : "0", "Tie::Hash" : "0", "base" : "0", "constant" : "0", "overload" : "0", "perl" : "v5.8.0", "strict" : "0", "warnings" : "0" } }, "test" : { "recommends" : { "Test::Deep" : "0" }, "requires" : { "File::Spec" : "0", "FindBin" : "0", "IO::File" : "0", "IO::Handle" : "0", "IPC::Open3" : "0", "Test::More" : "0.98", "Test::Warnings" : "0.005", "lib" : "0" } } }, "provides" : { "YAML::PP" : { "file" : "lib/YAML/PP.pm", "version" : "v0.43.0" }, "YAML::PP::Common" : { "file" : "lib/YAML/PP/Common.pm", "version" : "v0.43.0" }, "YAML::PP::Constructor" : { "file" : "lib/YAML/PP/Constructor.pm", "version" : "v0.43.0" }, "YAML::PP::Dumper" : { "file" : "lib/YAML/PP/Dumper.pm", "version" : "v0.43.0" }, "YAML::PP::Emitter" : { "file" : "lib/YAML/PP/Emitter.pm", "version" : "v0.43.0" }, "YAML::PP::Exception" : { "file" : "lib/YAML/PP/Exception.pm", "version" : "v0.43.0" }, "YAML::PP::Grammar" : { "file" : "lib/YAML/PP/Grammar.pm", "version" : "v0.43.0" }, "YAML::PP::Highlight" : { "file" : "lib/YAML/PP/Highlight.pm", "version" : "v0.43.0" }, "YAML::PP::Lexer" : { "file" : "lib/YAML/PP/Lexer.pm", "version" : "v0.43.0" }, "YAML::PP::Loader" : { "file" : "lib/YAML/PP/Loader.pm", "version" : "v0.43.0" }, "YAML::PP::Parser" : { "file" : "lib/YAML/PP/Parser.pm", "version" : "v0.43.0" }, "YAML::PP::Perl" : { "file" : "lib/YAML/PP/Perl.pm", "version" : "v0.43.0" }, "YAML::PP::Preserve::Array" : { "file" : "lib/YAML/PP.pm", "version" : "v0.43.0" }, "YAML::PP::Preserve::Hash" : { "file" : "lib/YAML/PP.pm", "version" : "v0.43.0" }, "YAML::PP::Preserve::Scalar" : { "file" : "lib/YAML/PP.pm", "version" : "v0.43.0" }, "YAML::PP::Reader" : { "file" : "lib/YAML/PP/Reader.pm", "version" : "v0.43.0" }, "YAML::PP::Reader::File" : { "file" : "lib/YAML/PP/Reader.pm", "version" : "v0.43.0" }, "YAML::PP::Render" : { "file" : "lib/YAML/PP/Render.pm", "version" : "v0.43.0" }, "YAML::PP::Representer" : { "file" : "lib/YAML/PP/Representer.pm", "version" : "v0.43.0" }, "YAML::PP::Schema" : { "file" : "lib/YAML/PP/Schema.pm", "version" : "v0.43.0" }, "YAML::PP::Schema::Binary" : { "file" : "lib/YAML/PP/Schema/Binary.pm", "version" : "v0.43.0" }, "YAML::PP::Schema::Catchall" : { "file" : "lib/YAML/PP/Schema/Catchall.pm", "version" : "v0.43.0" }, "YAML::PP::Schema::Core" : { "file" : "lib/YAML/PP/Schema/Core.pm", "version" : "v0.43.0" }, "YAML::PP::Schema::Failsafe" : { "file" : "lib/YAML/PP/Schema/Failsafe.pm", "version" : "v0.43.0" }, "YAML::PP::Schema::Include" : { "file" : "lib/YAML/PP/Schema/Include.pm", "version" : "v0.43.0" }, "YAML::PP::Schema::JSON" : { "file" : "lib/YAML/PP/Schema/JSON.pm", "version" : "v0.43.0" }, "YAML::PP::Schema::Merge" : { "file" : "lib/YAML/PP/Schema/Merge.pm", "version" : "v0.43.0" }, "YAML::PP::Schema::Perl" : { "file" : "lib/YAML/PP/Schema/Perl.pm", "version" : "v0.43.0" }, "YAML::PP::Schema::Tie::IxHash" : { "file" : "lib/YAML/PP/Schema/Tie/IxHash.pm", "version" : "v0.43.0" }, "YAML::PP::Schema::YAML1_1" : { "file" : "lib/YAML/PP/Schema/YAML1_1.pm", "version" : "v0.43.0" }, "YAML::PP::Type::MergeKey" : { "file" : "lib/YAML/PP/Type/MergeKey.pm", "version" : "v0.43.0" }, "YAML::PP::Writer" : { "file" : "lib/YAML/PP/Writer.pm", "version" : "v0.43.0" }, "YAML::PP::Writer::File" : { "file" : "lib/YAML/PP/Writer/File.pm", "version" : "v0.43.0" } }, "release_status" : "stable", "resources" : { "bugtracker" : { "web" : "https://github.com/perlpunk/YAML-PP-p5/issues" }, "repository" : { "type" : "git", "url" : "https://github.com/perlpunk/YAML-PP-p5", "web" : "https://github.com/perlpunk/YAML-PP-p5" } }, "version" : "v0.43.0", "x_generated_by_perl" : "v5.42.0", "x_serialization_backend" : "Cpanel::JSON::XS version 4.38", "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later" } YAML-PP-v0.43.0/PaxHeaders/README.md0000644000000000000000000000013215263373362013412 xustar0030 mtime=1791882994.973788151 30 atime=1791882994.973691281 30 ctime=1791882994.973788151 YAML-PP-v0.43.0/README.md0000644000175000017500000000075615263373362013054 0ustar00tinatina# Perl module YAML::PP YAML::PP is a modular YAML processor for YAML 1.2. Additionally to loading and dumping it provides a parser and emitter. The parsing events are compatible to the [YAML Test Suite](https://github.com/yaml/yaml-test-suite) and other libraries like [libyaml](https://github.com/yaml/libyaml). Loading and Dumping can be customized. It supports the YAML 1.2 Failsafe, JSON and Core Schemas. You can find the full documentation here: https://metacpan.org/release/YAML-PP YAML-PP-v0.43.0/PaxHeaders/dist.ini0000644000000000000000000000013215263373362013577 xustar0030 mtime=1791882994.973691281 30 atime=1791882994.973568988 30 ctime=1791882994.973691281 YAML-PP-v0.43.0/dist.ini0000644000175000017500000000221515263373362013231 0ustar00tinatinaname = YAML-PP author = Tina Müller license = Perl_5 copyright_holder = Tina Müller copyright_year = 2026 version = v0.43.0 [@Filter] -bundle = @Basic -remove = GatherDir -remove = Readme option = for_basic [Prereqs] perl = 5.8.0 Scalar::Util = 1.07 ; openhandle() [AutoPrereqs] skip = Term::ANSIColor skip = boolean skip = JSON::PP skip = JSON::XS skip = Cpanel::JSON::XS skip = HTML::Entities skip = Tie::IxHash skip = Tie::StdHash skip = Tie::StdArray skip = YAML skip = YAML::PP::LibYAML skip = YAML::Syck skip = YAML::Tiny skip = YAML::XS [Prereqs / TestRequires] Test::More = 0.98 [Prereqs / TestRecommends] Test::Deep = 0 [OverridePkgVersion] [MetaProvides::Package] [Test::Compile] filename = t/00.compile.t [CopyFilesFromBuild] copy = Makefile.PL ; requires CopyFilesFromBuild >= 0.163040 copy = t/00.compile.t [GatherDir] exclude_filename = Makefile.PL exclude_filename = t/00.compile.t [MetaJSON] [MetaResources] bugtracker.web = https://github.com/perlpunk/YAML-PP-p5/issues repository.url = https://github.com/perlpunk/YAML-PP-p5 repository.web = https://github.com/perlpunk/YAML-PP-p5 repository.type = git YAML-PP-v0.43.0/PaxHeaders/MANIFEST0000644000000000000000000000013215263373362013264 xustar0030 mtime=1791882994.973568988 30 atime=1791882994.973431749 30 ctime=1791882994.973568988 YAML-PP-v0.43.0/MANIFEST0000644000175000017500000026055315263373362012731 0ustar00tinatina# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.032. CONTRIBUTING.md Changes LICENSE MANIFEST MANIFEST.SKIP META.json META.yml Makefile.PL README.md SECURITY.md bin/yamlpp-events bin/yamlpp-highlight bin/yamlpp-load bin/yamlpp-load-dump bin/yamlpp-parse-emit dist.ini etc/generate-examples.pl etc/generate-grammar.pl etc/generate-schema-html.pl etc/get-tags.pl etc/grammar.yaml etc/json-numbers.pl etc/schema-test-yaml-modules.pl etc/test-suite-html.pl etc/yaml-numbers.pl examples/external-vars-templates/ext.pl examples/external-vars-templates/ext.yaml examples/schema-ixhash.pm examples/schema-perl.pm examples/schemas.pl examples/strings.yaml examples/yaml-schema-modules.yaml ext/yaml-test-schema/Makefile ext/yaml-test-schema/README.md ext/yaml-test-schema/etc/generate-schema-html.pl ext/yaml-test-schema/yaml-schema.yaml lib/YAML/PP.pm lib/YAML/PP/Common.pm lib/YAML/PP/Constructor.pm lib/YAML/PP/Dumper.pm lib/YAML/PP/Emitter.pm lib/YAML/PP/Exception.pm lib/YAML/PP/Grammar.pm lib/YAML/PP/Highlight.pm lib/YAML/PP/Lexer.pm lib/YAML/PP/Loader.pm lib/YAML/PP/Parser.pm lib/YAML/PP/Perl.pm lib/YAML/PP/Reader.pm lib/YAML/PP/Render.pm lib/YAML/PP/Representer.pm lib/YAML/PP/Schema.pm lib/YAML/PP/Schema/Binary.pm lib/YAML/PP/Schema/Catchall.pm lib/YAML/PP/Schema/Core.pm lib/YAML/PP/Schema/Failsafe.pm lib/YAML/PP/Schema/Include.pm lib/YAML/PP/Schema/JSON.pm lib/YAML/PP/Schema/Merge.pm lib/YAML/PP/Schema/Perl.pm lib/YAML/PP/Schema/Tie/IxHash.pm lib/YAML/PP/Schema/YAML1_1.pm lib/YAML/PP/Type/MergeKey.pm lib/YAML/PP/Writer.pm lib/YAML/PP/Writer/File.pm t/00.compile.t t/10.parse-valid.t t/11.parse-invalid.t t/12.load-json.t t/13.load-anchor.t t/14.load-bool.t t/15.parse-eol.t t/16.loader.t t/17.load-complex-keys.t t/18.control.t t/19.file.t t/20.dump.t t/21.emit.t t/22.dump-bool.t t/23-dump-anchor.t t/24.double-escapes.t t/30.legacy.t t/31.schema.t t/32.cyclic-refs.t t/34.emit-scalar-styles.t t/35.highlight.t t/36.debug.t t/37.schema-catchall.t t/37.schema-perl.t t/38.schema-ixhash.t t/39.emitter-alias.t t/40.representers.t t/41.custom.schema.t t/42.tokens.t t/43.indent.t t/44.writer.t t/45.binary.t t/46.line-endings.t t/47.header-footer.t t/48.merge.t t/49.include.t t/50.clone.t t/51.directives.t t/52.preserve.t t/53.customtag-alias.t t/54.glob.t t/55.flow.t t/56.force-flow.t t/57.dup-keys.t t/58.max-depth.t t/data/include/circular1.yaml t/data/include/circular2.yaml t/data/include/include.yaml t/data/include/include1.yaml t/data/include/include2.yaml t/data/include/include3.yaml t/data/simple.yaml t/invalid/i032/=== t/invalid/i032/in.yaml t/invalid/i032/test.event t/invalid/i033/=== t/invalid/i033/in.yaml t/invalid/i033/test.event t/invalid/i034/=== t/invalid/i034/in.yaml t/invalid/i034/test.event t/invalid/i035/=== t/invalid/i035/in.yaml t/invalid/i035/test.event t/invalid/i036/=== t/invalid/i036/in.yaml t/invalid/i036/test.event t/invalid/i037/=== t/invalid/i037/in.yaml t/invalid/i037/test.event t/invalid/i038/=== t/invalid/i038/in.yaml t/invalid/i038/test.event t/lib/MySchema.pm t/lib/YAML/PP/Test.pm t/valid/v009/=== t/valid/v009/in.yaml t/valid/v009/out.yaml t/valid/v009/test.event t/valid/v014/=== t/valid/v014/in.yaml t/valid/v014/test.event t/valid/v019/=== t/valid/v019/in.yaml t/valid/v019/out.yaml t/valid/v019/test.event t/valid/v020/=== t/valid/v020/in.yaml t/valid/v020/out.yaml t/valid/v020/test.event t/valid/v021/=== t/valid/v021/in.yaml t/valid/v021/out.yaml t/valid/v021/test.event t/valid/v022/=== t/valid/v022/in.json t/valid/v022/in.yaml t/valid/v022/out.yaml t/valid/v022/test.event t/valid/v023/=== t/valid/v023/in.json t/valid/v023/in.yaml t/valid/v023/out.yaml t/valid/v023/test.event t/valid/v024/=== t/valid/v024/in.json t/valid/v024/in.yaml t/valid/v024/out.yaml t/valid/v024/test.event t/valid/v025/=== t/valid/v025/in.yaml t/valid/v025/out.yaml t/valid/v025/test.event t/valid/v026/=== t/valid/v026/in.yaml t/valid/v026/out.yaml t/valid/v026/test.event t/valid/v027/=== t/valid/v027/in.yaml t/valid/v027/out.yaml t/valid/v027/test.event t/valid/v028/=== t/valid/v028/in.yaml t/valid/v028/out.yaml t/valid/v028/test.event t/valid/v029/=== t/valid/v029/in.yaml t/valid/v029/out.yaml t/valid/v029/test.event t/valid/v030/=== t/valid/v030/in.yaml t/valid/v030/out.yaml t/valid/v030/test.event t/valid/v031/=== t/valid/v031/in.yaml t/valid/v031/out.yaml t/valid/v031/test.event t/valid/v032/=== t/valid/v032/in.yaml t/valid/v032/out.yaml t/valid/v032/test.event t/valid/v033/=== t/valid/v033/in.json t/valid/v033/in.yaml t/valid/v033/test.event t/valid/v034/=== t/valid/v034/in.json t/valid/v034/in.yaml t/valid/v034/out.yaml t/valid/v034/test.event test-suite/README.md test-suite/tag_id.yaml test-suite/yaml-test-suite-data/229Q/=== test-suite/yaml-test-suite-data/229Q/in.json test-suite/yaml-test-suite-data/229Q/in.yaml test-suite/yaml-test-suite-data/229Q/out.yaml test-suite/yaml-test-suite-data/229Q/test.event test-suite/yaml-test-suite-data/236B/=== test-suite/yaml-test-suite-data/236B/error test-suite/yaml-test-suite-data/236B/in.yaml test-suite/yaml-test-suite-data/236B/test.event test-suite/yaml-test-suite-data/26DV/=== test-suite/yaml-test-suite-data/26DV/in.json test-suite/yaml-test-suite-data/26DV/in.yaml test-suite/yaml-test-suite-data/26DV/out.yaml test-suite/yaml-test-suite-data/26DV/test.event test-suite/yaml-test-suite-data/27NA/=== test-suite/yaml-test-suite-data/27NA/in.json test-suite/yaml-test-suite-data/27NA/in.yaml test-suite/yaml-test-suite-data/27NA/out.yaml test-suite/yaml-test-suite-data/27NA/test.event test-suite/yaml-test-suite-data/2AUY/=== test-suite/yaml-test-suite-data/2AUY/in.json test-suite/yaml-test-suite-data/2AUY/in.yaml test-suite/yaml-test-suite-data/2AUY/out.yaml test-suite/yaml-test-suite-data/2AUY/test.event test-suite/yaml-test-suite-data/2CMS/=== test-suite/yaml-test-suite-data/2CMS/error test-suite/yaml-test-suite-data/2CMS/in.yaml test-suite/yaml-test-suite-data/2CMS/test.event test-suite/yaml-test-suite-data/2EBW/=== test-suite/yaml-test-suite-data/2EBW/in.json test-suite/yaml-test-suite-data/2EBW/in.yaml test-suite/yaml-test-suite-data/2EBW/out.yaml test-suite/yaml-test-suite-data/2EBW/test.event test-suite/yaml-test-suite-data/2G84/00/=== test-suite/yaml-test-suite-data/2G84/00/error test-suite/yaml-test-suite-data/2G84/00/in.yaml test-suite/yaml-test-suite-data/2G84/00/test.event test-suite/yaml-test-suite-data/2G84/01/=== test-suite/yaml-test-suite-data/2G84/01/error test-suite/yaml-test-suite-data/2G84/01/in.yaml test-suite/yaml-test-suite-data/2G84/01/test.event test-suite/yaml-test-suite-data/2G84/02/=== test-suite/yaml-test-suite-data/2G84/02/emit.yaml test-suite/yaml-test-suite-data/2G84/02/in.json test-suite/yaml-test-suite-data/2G84/02/in.yaml test-suite/yaml-test-suite-data/2G84/02/test.event test-suite/yaml-test-suite-data/2G84/03/=== test-suite/yaml-test-suite-data/2G84/03/emit.yaml test-suite/yaml-test-suite-data/2G84/03/in.json test-suite/yaml-test-suite-data/2G84/03/in.yaml test-suite/yaml-test-suite-data/2G84/03/test.event test-suite/yaml-test-suite-data/2JQS/=== test-suite/yaml-test-suite-data/2JQS/in.yaml test-suite/yaml-test-suite-data/2JQS/test.event test-suite/yaml-test-suite-data/2LFX/=== test-suite/yaml-test-suite-data/2LFX/emit.yaml test-suite/yaml-test-suite-data/2LFX/in.json test-suite/yaml-test-suite-data/2LFX/in.yaml test-suite/yaml-test-suite-data/2LFX/out.yaml test-suite/yaml-test-suite-data/2LFX/test.event test-suite/yaml-test-suite-data/2SXE/=== test-suite/yaml-test-suite-data/2SXE/in.json test-suite/yaml-test-suite-data/2SXE/in.yaml test-suite/yaml-test-suite-data/2SXE/out.yaml test-suite/yaml-test-suite-data/2SXE/test.event test-suite/yaml-test-suite-data/2XXW/=== test-suite/yaml-test-suite-data/2XXW/in.json test-suite/yaml-test-suite-data/2XXW/in.yaml test-suite/yaml-test-suite-data/2XXW/out.yaml test-suite/yaml-test-suite-data/2XXW/test.event test-suite/yaml-test-suite-data/33X3/=== test-suite/yaml-test-suite-data/33X3/in.json test-suite/yaml-test-suite-data/33X3/in.yaml test-suite/yaml-test-suite-data/33X3/out.yaml test-suite/yaml-test-suite-data/33X3/test.event test-suite/yaml-test-suite-data/35KP/=== test-suite/yaml-test-suite-data/35KP/in.json test-suite/yaml-test-suite-data/35KP/in.yaml test-suite/yaml-test-suite-data/35KP/out.yaml test-suite/yaml-test-suite-data/35KP/test.event test-suite/yaml-test-suite-data/36F6/=== test-suite/yaml-test-suite-data/36F6/in.json test-suite/yaml-test-suite-data/36F6/in.yaml test-suite/yaml-test-suite-data/36F6/out.yaml test-suite/yaml-test-suite-data/36F6/test.event test-suite/yaml-test-suite-data/3ALJ/=== test-suite/yaml-test-suite-data/3ALJ/in.json test-suite/yaml-test-suite-data/3ALJ/in.yaml test-suite/yaml-test-suite-data/3ALJ/test.event test-suite/yaml-test-suite-data/3GZX/=== test-suite/yaml-test-suite-data/3GZX/in.json test-suite/yaml-test-suite-data/3GZX/in.yaml test-suite/yaml-test-suite-data/3GZX/test.event test-suite/yaml-test-suite-data/3HFZ/=== test-suite/yaml-test-suite-data/3HFZ/error test-suite/yaml-test-suite-data/3HFZ/in.yaml test-suite/yaml-test-suite-data/3HFZ/test.event test-suite/yaml-test-suite-data/3MYT/=== test-suite/yaml-test-suite-data/3MYT/in.json test-suite/yaml-test-suite-data/3MYT/in.yaml test-suite/yaml-test-suite-data/3MYT/out.yaml test-suite/yaml-test-suite-data/3MYT/test.event test-suite/yaml-test-suite-data/3R3P/=== test-suite/yaml-test-suite-data/3R3P/in.json test-suite/yaml-test-suite-data/3R3P/in.yaml test-suite/yaml-test-suite-data/3R3P/out.yaml test-suite/yaml-test-suite-data/3R3P/test.event test-suite/yaml-test-suite-data/3RLN/00/=== test-suite/yaml-test-suite-data/3RLN/00/emit.yaml test-suite/yaml-test-suite-data/3RLN/00/in.json test-suite/yaml-test-suite-data/3RLN/00/in.yaml test-suite/yaml-test-suite-data/3RLN/00/test.event test-suite/yaml-test-suite-data/3RLN/01/=== test-suite/yaml-test-suite-data/3RLN/01/emit.yaml test-suite/yaml-test-suite-data/3RLN/01/in.json test-suite/yaml-test-suite-data/3RLN/01/in.yaml test-suite/yaml-test-suite-data/3RLN/01/test.event test-suite/yaml-test-suite-data/3RLN/02/=== test-suite/yaml-test-suite-data/3RLN/02/emit.yaml test-suite/yaml-test-suite-data/3RLN/02/in.json test-suite/yaml-test-suite-data/3RLN/02/in.yaml test-suite/yaml-test-suite-data/3RLN/02/test.event test-suite/yaml-test-suite-data/3RLN/03/=== test-suite/yaml-test-suite-data/3RLN/03/emit.yaml test-suite/yaml-test-suite-data/3RLN/03/in.json test-suite/yaml-test-suite-data/3RLN/03/in.yaml test-suite/yaml-test-suite-data/3RLN/03/test.event test-suite/yaml-test-suite-data/3RLN/04/=== test-suite/yaml-test-suite-data/3RLN/04/emit.yaml test-suite/yaml-test-suite-data/3RLN/04/in.json test-suite/yaml-test-suite-data/3RLN/04/in.yaml test-suite/yaml-test-suite-data/3RLN/04/test.event test-suite/yaml-test-suite-data/3RLN/05/=== test-suite/yaml-test-suite-data/3RLN/05/emit.yaml test-suite/yaml-test-suite-data/3RLN/05/in.json test-suite/yaml-test-suite-data/3RLN/05/in.yaml test-suite/yaml-test-suite-data/3RLN/05/test.event test-suite/yaml-test-suite-data/3UYS/=== test-suite/yaml-test-suite-data/3UYS/in.json test-suite/yaml-test-suite-data/3UYS/in.yaml test-suite/yaml-test-suite-data/3UYS/out.yaml test-suite/yaml-test-suite-data/3UYS/test.event test-suite/yaml-test-suite-data/4ABK/=== test-suite/yaml-test-suite-data/4ABK/in.yaml test-suite/yaml-test-suite-data/4ABK/out.yaml test-suite/yaml-test-suite-data/4ABK/test.event test-suite/yaml-test-suite-data/4CQQ/=== test-suite/yaml-test-suite-data/4CQQ/in.json test-suite/yaml-test-suite-data/4CQQ/in.yaml test-suite/yaml-test-suite-data/4CQQ/out.yaml test-suite/yaml-test-suite-data/4CQQ/test.event test-suite/yaml-test-suite-data/4EJS/=== test-suite/yaml-test-suite-data/4EJS/error test-suite/yaml-test-suite-data/4EJS/in.yaml test-suite/yaml-test-suite-data/4EJS/test.event test-suite/yaml-test-suite-data/4FJ6/=== test-suite/yaml-test-suite-data/4FJ6/in.yaml test-suite/yaml-test-suite-data/4FJ6/out.yaml test-suite/yaml-test-suite-data/4FJ6/test.event test-suite/yaml-test-suite-data/4GC6/=== test-suite/yaml-test-suite-data/4GC6/in.json test-suite/yaml-test-suite-data/4GC6/in.yaml test-suite/yaml-test-suite-data/4GC6/test.event test-suite/yaml-test-suite-data/4H7K/=== test-suite/yaml-test-suite-data/4H7K/error test-suite/yaml-test-suite-data/4H7K/in.yaml test-suite/yaml-test-suite-data/4H7K/test.event test-suite/yaml-test-suite-data/4HVU/=== test-suite/yaml-test-suite-data/4HVU/error test-suite/yaml-test-suite-data/4HVU/in.yaml test-suite/yaml-test-suite-data/4HVU/test.event test-suite/yaml-test-suite-data/4JVG/=== test-suite/yaml-test-suite-data/4JVG/error test-suite/yaml-test-suite-data/4JVG/in.yaml test-suite/yaml-test-suite-data/4JVG/test.event test-suite/yaml-test-suite-data/4MUZ/00/=== test-suite/yaml-test-suite-data/4MUZ/00/emit.yaml test-suite/yaml-test-suite-data/4MUZ/00/in.json test-suite/yaml-test-suite-data/4MUZ/00/in.yaml test-suite/yaml-test-suite-data/4MUZ/00/test.event test-suite/yaml-test-suite-data/4MUZ/01/=== test-suite/yaml-test-suite-data/4MUZ/01/emit.yaml test-suite/yaml-test-suite-data/4MUZ/01/in.json test-suite/yaml-test-suite-data/4MUZ/01/in.yaml test-suite/yaml-test-suite-data/4MUZ/01/test.event test-suite/yaml-test-suite-data/4MUZ/02/=== test-suite/yaml-test-suite-data/4MUZ/02/emit.yaml test-suite/yaml-test-suite-data/4MUZ/02/in.json test-suite/yaml-test-suite-data/4MUZ/02/in.yaml test-suite/yaml-test-suite-data/4MUZ/02/test.event test-suite/yaml-test-suite-data/4Q9F/=== test-suite/yaml-test-suite-data/4Q9F/in.json test-suite/yaml-test-suite-data/4Q9F/in.yaml test-suite/yaml-test-suite-data/4Q9F/out.yaml test-suite/yaml-test-suite-data/4Q9F/test.event test-suite/yaml-test-suite-data/4QFQ/=== test-suite/yaml-test-suite-data/4QFQ/emit.yaml test-suite/yaml-test-suite-data/4QFQ/in.json test-suite/yaml-test-suite-data/4QFQ/in.yaml test-suite/yaml-test-suite-data/4QFQ/test.event test-suite/yaml-test-suite-data/4RWC/=== test-suite/yaml-test-suite-data/4RWC/in.json test-suite/yaml-test-suite-data/4RWC/in.yaml test-suite/yaml-test-suite-data/4RWC/out.yaml test-suite/yaml-test-suite-data/4RWC/test.event test-suite/yaml-test-suite-data/4UYU/=== test-suite/yaml-test-suite-data/4UYU/in.json test-suite/yaml-test-suite-data/4UYU/in.yaml test-suite/yaml-test-suite-data/4UYU/test.event test-suite/yaml-test-suite-data/4V8U/=== test-suite/yaml-test-suite-data/4V8U/in.json test-suite/yaml-test-suite-data/4V8U/in.yaml test-suite/yaml-test-suite-data/4V8U/out.yaml test-suite/yaml-test-suite-data/4V8U/test.event test-suite/yaml-test-suite-data/4WA9/=== test-suite/yaml-test-suite-data/4WA9/emit.yaml test-suite/yaml-test-suite-data/4WA9/in.json test-suite/yaml-test-suite-data/4WA9/in.yaml test-suite/yaml-test-suite-data/4WA9/out.yaml test-suite/yaml-test-suite-data/4WA9/test.event test-suite/yaml-test-suite-data/4ZYM/=== test-suite/yaml-test-suite-data/4ZYM/emit.yaml test-suite/yaml-test-suite-data/4ZYM/in.json test-suite/yaml-test-suite-data/4ZYM/in.yaml test-suite/yaml-test-suite-data/4ZYM/out.yaml test-suite/yaml-test-suite-data/4ZYM/test.event test-suite/yaml-test-suite-data/52DL/=== test-suite/yaml-test-suite-data/52DL/in.json test-suite/yaml-test-suite-data/52DL/in.yaml test-suite/yaml-test-suite-data/52DL/out.yaml test-suite/yaml-test-suite-data/52DL/test.event test-suite/yaml-test-suite-data/54T7/=== test-suite/yaml-test-suite-data/54T7/in.json test-suite/yaml-test-suite-data/54T7/in.yaml test-suite/yaml-test-suite-data/54T7/out.yaml test-suite/yaml-test-suite-data/54T7/test.event test-suite/yaml-test-suite-data/55WF/=== test-suite/yaml-test-suite-data/55WF/error test-suite/yaml-test-suite-data/55WF/in.yaml test-suite/yaml-test-suite-data/55WF/test.event test-suite/yaml-test-suite-data/565N/=== test-suite/yaml-test-suite-data/565N/in.json test-suite/yaml-test-suite-data/565N/in.yaml test-suite/yaml-test-suite-data/565N/test.event test-suite/yaml-test-suite-data/57H4/=== test-suite/yaml-test-suite-data/57H4/in.json test-suite/yaml-test-suite-data/57H4/in.yaml test-suite/yaml-test-suite-data/57H4/out.yaml test-suite/yaml-test-suite-data/57H4/test.event test-suite/yaml-test-suite-data/58MP/=== test-suite/yaml-test-suite-data/58MP/in.json test-suite/yaml-test-suite-data/58MP/in.yaml test-suite/yaml-test-suite-data/58MP/out.yaml test-suite/yaml-test-suite-data/58MP/test.event test-suite/yaml-test-suite-data/5BVJ/=== test-suite/yaml-test-suite-data/5BVJ/in.json test-suite/yaml-test-suite-data/5BVJ/in.yaml test-suite/yaml-test-suite-data/5BVJ/out.yaml test-suite/yaml-test-suite-data/5BVJ/test.event test-suite/yaml-test-suite-data/5C5M/=== test-suite/yaml-test-suite-data/5C5M/in.json test-suite/yaml-test-suite-data/5C5M/in.yaml test-suite/yaml-test-suite-data/5C5M/out.yaml test-suite/yaml-test-suite-data/5C5M/test.event test-suite/yaml-test-suite-data/5GBF/=== test-suite/yaml-test-suite-data/5GBF/in.json test-suite/yaml-test-suite-data/5GBF/in.yaml test-suite/yaml-test-suite-data/5GBF/out.yaml test-suite/yaml-test-suite-data/5GBF/test.event test-suite/yaml-test-suite-data/5KJE/=== test-suite/yaml-test-suite-data/5KJE/in.json test-suite/yaml-test-suite-data/5KJE/in.yaml test-suite/yaml-test-suite-data/5KJE/out.yaml test-suite/yaml-test-suite-data/5KJE/test.event test-suite/yaml-test-suite-data/5LLU/=== test-suite/yaml-test-suite-data/5LLU/error test-suite/yaml-test-suite-data/5LLU/in.yaml test-suite/yaml-test-suite-data/5LLU/test.event test-suite/yaml-test-suite-data/5MUD/=== test-suite/yaml-test-suite-data/5MUD/in.json test-suite/yaml-test-suite-data/5MUD/in.yaml test-suite/yaml-test-suite-data/5MUD/out.yaml test-suite/yaml-test-suite-data/5MUD/test.event test-suite/yaml-test-suite-data/5NYZ/=== test-suite/yaml-test-suite-data/5NYZ/in.json test-suite/yaml-test-suite-data/5NYZ/in.yaml test-suite/yaml-test-suite-data/5NYZ/out.yaml test-suite/yaml-test-suite-data/5NYZ/test.event test-suite/yaml-test-suite-data/5T43/=== test-suite/yaml-test-suite-data/5T43/emit.yaml test-suite/yaml-test-suite-data/5T43/in.json test-suite/yaml-test-suite-data/5T43/in.yaml test-suite/yaml-test-suite-data/5T43/out.yaml test-suite/yaml-test-suite-data/5T43/test.event test-suite/yaml-test-suite-data/5TRB/=== test-suite/yaml-test-suite-data/5TRB/error test-suite/yaml-test-suite-data/5TRB/in.yaml test-suite/yaml-test-suite-data/5TRB/test.event test-suite/yaml-test-suite-data/5TYM/=== test-suite/yaml-test-suite-data/5TYM/in.json test-suite/yaml-test-suite-data/5TYM/in.yaml test-suite/yaml-test-suite-data/5TYM/test.event test-suite/yaml-test-suite-data/5U3A/=== test-suite/yaml-test-suite-data/5U3A/error test-suite/yaml-test-suite-data/5U3A/in.yaml test-suite/yaml-test-suite-data/5U3A/test.event test-suite/yaml-test-suite-data/5WE3/=== test-suite/yaml-test-suite-data/5WE3/in.json test-suite/yaml-test-suite-data/5WE3/in.yaml test-suite/yaml-test-suite-data/5WE3/out.yaml test-suite/yaml-test-suite-data/5WE3/test.event test-suite/yaml-test-suite-data/62EZ/=== test-suite/yaml-test-suite-data/62EZ/error test-suite/yaml-test-suite-data/62EZ/in.yaml test-suite/yaml-test-suite-data/62EZ/test.event test-suite/yaml-test-suite-data/652Z/=== test-suite/yaml-test-suite-data/652Z/emit.yaml test-suite/yaml-test-suite-data/652Z/in.json test-suite/yaml-test-suite-data/652Z/in.yaml test-suite/yaml-test-suite-data/652Z/out.yaml test-suite/yaml-test-suite-data/652Z/test.event test-suite/yaml-test-suite-data/65WH/=== test-suite/yaml-test-suite-data/65WH/in.json test-suite/yaml-test-suite-data/65WH/in.yaml test-suite/yaml-test-suite-data/65WH/test.event test-suite/yaml-test-suite-data/6BCT/=== test-suite/yaml-test-suite-data/6BCT/in.json test-suite/yaml-test-suite-data/6BCT/in.yaml test-suite/yaml-test-suite-data/6BCT/out.yaml test-suite/yaml-test-suite-data/6BCT/test.event test-suite/yaml-test-suite-data/6BFJ/=== test-suite/yaml-test-suite-data/6BFJ/in.yaml test-suite/yaml-test-suite-data/6BFJ/out.yaml test-suite/yaml-test-suite-data/6BFJ/test.event test-suite/yaml-test-suite-data/6CA3/=== test-suite/yaml-test-suite-data/6CA3/emit.yaml test-suite/yaml-test-suite-data/6CA3/in.json test-suite/yaml-test-suite-data/6CA3/in.yaml test-suite/yaml-test-suite-data/6CA3/test.event test-suite/yaml-test-suite-data/6CK3/=== test-suite/yaml-test-suite-data/6CK3/in.json test-suite/yaml-test-suite-data/6CK3/in.yaml test-suite/yaml-test-suite-data/6CK3/test.event test-suite/yaml-test-suite-data/6FWR/=== test-suite/yaml-test-suite-data/6FWR/emit.yaml test-suite/yaml-test-suite-data/6FWR/in.json test-suite/yaml-test-suite-data/6FWR/in.yaml test-suite/yaml-test-suite-data/6FWR/out.yaml test-suite/yaml-test-suite-data/6FWR/test.event test-suite/yaml-test-suite-data/6H3V/=== test-suite/yaml-test-suite-data/6H3V/in.json test-suite/yaml-test-suite-data/6H3V/in.yaml test-suite/yaml-test-suite-data/6H3V/out.yaml test-suite/yaml-test-suite-data/6H3V/test.event test-suite/yaml-test-suite-data/6HB6/=== test-suite/yaml-test-suite-data/6HB6/in.json test-suite/yaml-test-suite-data/6HB6/in.yaml test-suite/yaml-test-suite-data/6HB6/out.yaml test-suite/yaml-test-suite-data/6HB6/test.event test-suite/yaml-test-suite-data/6JQW/=== test-suite/yaml-test-suite-data/6JQW/in.json test-suite/yaml-test-suite-data/6JQW/in.yaml test-suite/yaml-test-suite-data/6JQW/out.yaml test-suite/yaml-test-suite-data/6JQW/test.event test-suite/yaml-test-suite-data/6JTT/=== test-suite/yaml-test-suite-data/6JTT/error test-suite/yaml-test-suite-data/6JTT/in.yaml test-suite/yaml-test-suite-data/6JTT/test.event test-suite/yaml-test-suite-data/6JWB/=== test-suite/yaml-test-suite-data/6JWB/in.json test-suite/yaml-test-suite-data/6JWB/in.yaml test-suite/yaml-test-suite-data/6JWB/out.yaml test-suite/yaml-test-suite-data/6JWB/test.event test-suite/yaml-test-suite-data/6KGN/=== test-suite/yaml-test-suite-data/6KGN/in.json test-suite/yaml-test-suite-data/6KGN/in.yaml test-suite/yaml-test-suite-data/6KGN/out.yaml test-suite/yaml-test-suite-data/6KGN/test.event test-suite/yaml-test-suite-data/6LVF/=== test-suite/yaml-test-suite-data/6LVF/in.json test-suite/yaml-test-suite-data/6LVF/in.yaml test-suite/yaml-test-suite-data/6LVF/out.yaml test-suite/yaml-test-suite-data/6LVF/test.event test-suite/yaml-test-suite-data/6M2F/=== test-suite/yaml-test-suite-data/6M2F/in.yaml test-suite/yaml-test-suite-data/6M2F/out.yaml test-suite/yaml-test-suite-data/6M2F/test.event test-suite/yaml-test-suite-data/6PBE/=== test-suite/yaml-test-suite-data/6PBE/emit.yaml test-suite/yaml-test-suite-data/6PBE/in.yaml test-suite/yaml-test-suite-data/6PBE/test.event test-suite/yaml-test-suite-data/6S55/=== test-suite/yaml-test-suite-data/6S55/error test-suite/yaml-test-suite-data/6S55/in.yaml test-suite/yaml-test-suite-data/6S55/test.event test-suite/yaml-test-suite-data/6SLA/=== test-suite/yaml-test-suite-data/6SLA/in.json test-suite/yaml-test-suite-data/6SLA/in.yaml test-suite/yaml-test-suite-data/6SLA/out.yaml test-suite/yaml-test-suite-data/6SLA/test.event test-suite/yaml-test-suite-data/6VJK/=== test-suite/yaml-test-suite-data/6VJK/in.json test-suite/yaml-test-suite-data/6VJK/in.yaml test-suite/yaml-test-suite-data/6VJK/out.yaml test-suite/yaml-test-suite-data/6VJK/test.event test-suite/yaml-test-suite-data/6WLZ/=== test-suite/yaml-test-suite-data/6WLZ/emit.yaml test-suite/yaml-test-suite-data/6WLZ/in.json test-suite/yaml-test-suite-data/6WLZ/in.yaml test-suite/yaml-test-suite-data/6WLZ/out.yaml test-suite/yaml-test-suite-data/6WLZ/test.event test-suite/yaml-test-suite-data/6WPF/=== test-suite/yaml-test-suite-data/6WPF/emit.yaml test-suite/yaml-test-suite-data/6WPF/in.json test-suite/yaml-test-suite-data/6WPF/in.yaml test-suite/yaml-test-suite-data/6WPF/out.yaml test-suite/yaml-test-suite-data/6WPF/test.event test-suite/yaml-test-suite-data/6XDY/=== test-suite/yaml-test-suite-data/6XDY/in.json test-suite/yaml-test-suite-data/6XDY/in.yaml test-suite/yaml-test-suite-data/6XDY/out.yaml test-suite/yaml-test-suite-data/6XDY/test.event test-suite/yaml-test-suite-data/6ZKB/=== test-suite/yaml-test-suite-data/6ZKB/emit.yaml test-suite/yaml-test-suite-data/6ZKB/in.json test-suite/yaml-test-suite-data/6ZKB/in.yaml test-suite/yaml-test-suite-data/6ZKB/test.event test-suite/yaml-test-suite-data/735Y/=== test-suite/yaml-test-suite-data/735Y/in.json test-suite/yaml-test-suite-data/735Y/in.yaml test-suite/yaml-test-suite-data/735Y/out.yaml test-suite/yaml-test-suite-data/735Y/test.event test-suite/yaml-test-suite-data/74H7/=== test-suite/yaml-test-suite-data/74H7/in.json test-suite/yaml-test-suite-data/74H7/in.yaml test-suite/yaml-test-suite-data/74H7/out.yaml test-suite/yaml-test-suite-data/74H7/test.event test-suite/yaml-test-suite-data/753E/=== test-suite/yaml-test-suite-data/753E/in.json test-suite/yaml-test-suite-data/753E/in.yaml test-suite/yaml-test-suite-data/753E/out.yaml test-suite/yaml-test-suite-data/753E/test.event test-suite/yaml-test-suite-data/7A4E/=== test-suite/yaml-test-suite-data/7A4E/in.json test-suite/yaml-test-suite-data/7A4E/in.yaml test-suite/yaml-test-suite-data/7A4E/out.yaml test-suite/yaml-test-suite-data/7A4E/test.event test-suite/yaml-test-suite-data/7BMT/=== test-suite/yaml-test-suite-data/7BMT/in.json test-suite/yaml-test-suite-data/7BMT/in.yaml test-suite/yaml-test-suite-data/7BMT/out.yaml test-suite/yaml-test-suite-data/7BMT/test.event test-suite/yaml-test-suite-data/7BUB/=== test-suite/yaml-test-suite-data/7BUB/in.json test-suite/yaml-test-suite-data/7BUB/in.yaml test-suite/yaml-test-suite-data/7BUB/out.yaml test-suite/yaml-test-suite-data/7BUB/test.event test-suite/yaml-test-suite-data/7FWL/=== test-suite/yaml-test-suite-data/7FWL/in.json test-suite/yaml-test-suite-data/7FWL/in.yaml test-suite/yaml-test-suite-data/7FWL/out.yaml test-suite/yaml-test-suite-data/7FWL/test.event test-suite/yaml-test-suite-data/7LBH/=== test-suite/yaml-test-suite-data/7LBH/error test-suite/yaml-test-suite-data/7LBH/in.yaml test-suite/yaml-test-suite-data/7LBH/test.event test-suite/yaml-test-suite-data/7MNF/=== test-suite/yaml-test-suite-data/7MNF/error test-suite/yaml-test-suite-data/7MNF/in.yaml test-suite/yaml-test-suite-data/7MNF/test.event test-suite/yaml-test-suite-data/7T8X/=== test-suite/yaml-test-suite-data/7T8X/in.json test-suite/yaml-test-suite-data/7T8X/in.yaml test-suite/yaml-test-suite-data/7T8X/out.yaml test-suite/yaml-test-suite-data/7T8X/test.event test-suite/yaml-test-suite-data/7TMG/=== test-suite/yaml-test-suite-data/7TMG/in.json test-suite/yaml-test-suite-data/7TMG/in.yaml test-suite/yaml-test-suite-data/7TMG/out.yaml test-suite/yaml-test-suite-data/7TMG/test.event test-suite/yaml-test-suite-data/7W2P/=== test-suite/yaml-test-suite-data/7W2P/in.json test-suite/yaml-test-suite-data/7W2P/in.yaml test-suite/yaml-test-suite-data/7W2P/out.yaml test-suite/yaml-test-suite-data/7W2P/test.event test-suite/yaml-test-suite-data/7Z25/=== test-suite/yaml-test-suite-data/7Z25/in.json test-suite/yaml-test-suite-data/7Z25/in.yaml test-suite/yaml-test-suite-data/7Z25/out.yaml test-suite/yaml-test-suite-data/7Z25/test.event test-suite/yaml-test-suite-data/7ZZ5/=== test-suite/yaml-test-suite-data/7ZZ5/in.json test-suite/yaml-test-suite-data/7ZZ5/in.yaml test-suite/yaml-test-suite-data/7ZZ5/out.yaml test-suite/yaml-test-suite-data/7ZZ5/test.event test-suite/yaml-test-suite-data/82AN/=== test-suite/yaml-test-suite-data/82AN/in.json test-suite/yaml-test-suite-data/82AN/in.yaml test-suite/yaml-test-suite-data/82AN/out.yaml test-suite/yaml-test-suite-data/82AN/test.event test-suite/yaml-test-suite-data/87E4/=== test-suite/yaml-test-suite-data/87E4/in.json test-suite/yaml-test-suite-data/87E4/in.yaml test-suite/yaml-test-suite-data/87E4/out.yaml test-suite/yaml-test-suite-data/87E4/test.event test-suite/yaml-test-suite-data/8CWC/=== test-suite/yaml-test-suite-data/8CWC/in.json test-suite/yaml-test-suite-data/8CWC/in.yaml test-suite/yaml-test-suite-data/8CWC/out.yaml test-suite/yaml-test-suite-data/8CWC/test.event test-suite/yaml-test-suite-data/8G76/=== test-suite/yaml-test-suite-data/8G76/in.json test-suite/yaml-test-suite-data/8G76/in.yaml test-suite/yaml-test-suite-data/8G76/out.yaml test-suite/yaml-test-suite-data/8G76/test.event test-suite/yaml-test-suite-data/8KB6/=== test-suite/yaml-test-suite-data/8KB6/in.json test-suite/yaml-test-suite-data/8KB6/in.yaml test-suite/yaml-test-suite-data/8KB6/out.yaml test-suite/yaml-test-suite-data/8KB6/test.event test-suite/yaml-test-suite-data/8MK2/=== test-suite/yaml-test-suite-data/8MK2/in.json test-suite/yaml-test-suite-data/8MK2/in.yaml test-suite/yaml-test-suite-data/8MK2/test.event test-suite/yaml-test-suite-data/8QBE/=== test-suite/yaml-test-suite-data/8QBE/in.json test-suite/yaml-test-suite-data/8QBE/in.yaml test-suite/yaml-test-suite-data/8QBE/out.yaml test-suite/yaml-test-suite-data/8QBE/test.event test-suite/yaml-test-suite-data/8UDB/=== test-suite/yaml-test-suite-data/8UDB/in.json test-suite/yaml-test-suite-data/8UDB/in.yaml test-suite/yaml-test-suite-data/8UDB/out.yaml test-suite/yaml-test-suite-data/8UDB/test.event test-suite/yaml-test-suite-data/8XDJ/=== test-suite/yaml-test-suite-data/8XDJ/error test-suite/yaml-test-suite-data/8XDJ/in.yaml test-suite/yaml-test-suite-data/8XDJ/test.event test-suite/yaml-test-suite-data/8XYN/=== test-suite/yaml-test-suite-data/8XYN/in.json test-suite/yaml-test-suite-data/8XYN/in.yaml test-suite/yaml-test-suite-data/8XYN/out.yaml test-suite/yaml-test-suite-data/8XYN/test.event test-suite/yaml-test-suite-data/93JH/=== test-suite/yaml-test-suite-data/93JH/in.json test-suite/yaml-test-suite-data/93JH/in.yaml test-suite/yaml-test-suite-data/93JH/out.yaml test-suite/yaml-test-suite-data/93JH/test.event test-suite/yaml-test-suite-data/93WF/=== test-suite/yaml-test-suite-data/93WF/in.json test-suite/yaml-test-suite-data/93WF/in.yaml test-suite/yaml-test-suite-data/93WF/out.yaml test-suite/yaml-test-suite-data/93WF/test.event test-suite/yaml-test-suite-data/96L6/=== test-suite/yaml-test-suite-data/96L6/in.json test-suite/yaml-test-suite-data/96L6/in.yaml test-suite/yaml-test-suite-data/96L6/out.yaml test-suite/yaml-test-suite-data/96L6/test.event test-suite/yaml-test-suite-data/96NN/00/=== test-suite/yaml-test-suite-data/96NN/00/in.json test-suite/yaml-test-suite-data/96NN/00/in.yaml test-suite/yaml-test-suite-data/96NN/00/out.yaml test-suite/yaml-test-suite-data/96NN/00/test.event test-suite/yaml-test-suite-data/96NN/01/=== test-suite/yaml-test-suite-data/96NN/01/in.json test-suite/yaml-test-suite-data/96NN/01/in.yaml test-suite/yaml-test-suite-data/96NN/01/out.yaml test-suite/yaml-test-suite-data/96NN/01/test.event test-suite/yaml-test-suite-data/98YD/=== test-suite/yaml-test-suite-data/98YD/in.json test-suite/yaml-test-suite-data/98YD/in.yaml test-suite/yaml-test-suite-data/98YD/out.yaml test-suite/yaml-test-suite-data/98YD/test.event test-suite/yaml-test-suite-data/9BXH/=== test-suite/yaml-test-suite-data/9BXH/in.json test-suite/yaml-test-suite-data/9BXH/in.yaml test-suite/yaml-test-suite-data/9BXH/out.yaml test-suite/yaml-test-suite-data/9BXH/test.event test-suite/yaml-test-suite-data/9C9N/=== test-suite/yaml-test-suite-data/9C9N/error test-suite/yaml-test-suite-data/9C9N/in.yaml test-suite/yaml-test-suite-data/9C9N/test.event test-suite/yaml-test-suite-data/9CWY/=== test-suite/yaml-test-suite-data/9CWY/error test-suite/yaml-test-suite-data/9CWY/in.yaml test-suite/yaml-test-suite-data/9CWY/test.event test-suite/yaml-test-suite-data/9DXL/=== test-suite/yaml-test-suite-data/9DXL/emit.yaml test-suite/yaml-test-suite-data/9DXL/in.json test-suite/yaml-test-suite-data/9DXL/in.yaml test-suite/yaml-test-suite-data/9DXL/test.event test-suite/yaml-test-suite-data/9FMG/=== test-suite/yaml-test-suite-data/9FMG/in.json test-suite/yaml-test-suite-data/9FMG/in.yaml test-suite/yaml-test-suite-data/9FMG/test.event test-suite/yaml-test-suite-data/9HCY/=== test-suite/yaml-test-suite-data/9HCY/error test-suite/yaml-test-suite-data/9HCY/in.yaml test-suite/yaml-test-suite-data/9HCY/test.event test-suite/yaml-test-suite-data/9J7A/=== test-suite/yaml-test-suite-data/9J7A/in.json test-suite/yaml-test-suite-data/9J7A/in.yaml test-suite/yaml-test-suite-data/9J7A/test.event test-suite/yaml-test-suite-data/9JBA/=== test-suite/yaml-test-suite-data/9JBA/error test-suite/yaml-test-suite-data/9JBA/in.yaml test-suite/yaml-test-suite-data/9JBA/test.event test-suite/yaml-test-suite-data/9KAX/=== test-suite/yaml-test-suite-data/9KAX/in.json test-suite/yaml-test-suite-data/9KAX/in.yaml test-suite/yaml-test-suite-data/9KAX/out.yaml test-suite/yaml-test-suite-data/9KAX/test.event test-suite/yaml-test-suite-data/9KBC/=== test-suite/yaml-test-suite-data/9KBC/error test-suite/yaml-test-suite-data/9KBC/in.yaml test-suite/yaml-test-suite-data/9KBC/test.event test-suite/yaml-test-suite-data/9MAG/=== test-suite/yaml-test-suite-data/9MAG/error test-suite/yaml-test-suite-data/9MAG/in.yaml test-suite/yaml-test-suite-data/9MAG/test.event test-suite/yaml-test-suite-data/9MMA/=== test-suite/yaml-test-suite-data/9MMA/error test-suite/yaml-test-suite-data/9MMA/in.yaml test-suite/yaml-test-suite-data/9MMA/test.event test-suite/yaml-test-suite-data/9MMW/=== test-suite/yaml-test-suite-data/9MMW/in.yaml test-suite/yaml-test-suite-data/9MMW/out.yaml test-suite/yaml-test-suite-data/9MMW/test.event test-suite/yaml-test-suite-data/9MQT/00/=== test-suite/yaml-test-suite-data/9MQT/00/emit.yaml test-suite/yaml-test-suite-data/9MQT/00/in.json test-suite/yaml-test-suite-data/9MQT/00/in.yaml test-suite/yaml-test-suite-data/9MQT/00/out.yaml test-suite/yaml-test-suite-data/9MQT/00/test.event test-suite/yaml-test-suite-data/9MQT/01/=== test-suite/yaml-test-suite-data/9MQT/01/error test-suite/yaml-test-suite-data/9MQT/01/in.json test-suite/yaml-test-suite-data/9MQT/01/in.yaml test-suite/yaml-test-suite-data/9MQT/01/test.event test-suite/yaml-test-suite-data/9SA2/=== test-suite/yaml-test-suite-data/9SA2/in.json test-suite/yaml-test-suite-data/9SA2/in.yaml test-suite/yaml-test-suite-data/9SA2/out.yaml test-suite/yaml-test-suite-data/9SA2/test.event test-suite/yaml-test-suite-data/9SHH/=== test-suite/yaml-test-suite-data/9SHH/in.json test-suite/yaml-test-suite-data/9SHH/in.yaml test-suite/yaml-test-suite-data/9SHH/test.event test-suite/yaml-test-suite-data/9TFX/=== test-suite/yaml-test-suite-data/9TFX/emit.yaml test-suite/yaml-test-suite-data/9TFX/in.json test-suite/yaml-test-suite-data/9TFX/in.yaml test-suite/yaml-test-suite-data/9TFX/out.yaml test-suite/yaml-test-suite-data/9TFX/test.event test-suite/yaml-test-suite-data/9U5K/=== test-suite/yaml-test-suite-data/9U5K/in.json test-suite/yaml-test-suite-data/9U5K/in.yaml test-suite/yaml-test-suite-data/9U5K/out.yaml test-suite/yaml-test-suite-data/9U5K/test.event test-suite/yaml-test-suite-data/9WXW/=== test-suite/yaml-test-suite-data/9WXW/in.json test-suite/yaml-test-suite-data/9WXW/in.yaml test-suite/yaml-test-suite-data/9WXW/out.yaml test-suite/yaml-test-suite-data/9WXW/test.event test-suite/yaml-test-suite-data/9YRD/=== test-suite/yaml-test-suite-data/9YRD/in.json test-suite/yaml-test-suite-data/9YRD/in.yaml test-suite/yaml-test-suite-data/9YRD/out.yaml test-suite/yaml-test-suite-data/9YRD/test.event test-suite/yaml-test-suite-data/A2M4/=== test-suite/yaml-test-suite-data/A2M4/in.json test-suite/yaml-test-suite-data/A2M4/in.yaml test-suite/yaml-test-suite-data/A2M4/out.yaml test-suite/yaml-test-suite-data/A2M4/test.event test-suite/yaml-test-suite-data/A6F9/=== test-suite/yaml-test-suite-data/A6F9/in.json test-suite/yaml-test-suite-data/A6F9/in.yaml test-suite/yaml-test-suite-data/A6F9/out.yaml test-suite/yaml-test-suite-data/A6F9/test.event test-suite/yaml-test-suite-data/A984/=== test-suite/yaml-test-suite-data/A984/in.json test-suite/yaml-test-suite-data/A984/in.yaml test-suite/yaml-test-suite-data/A984/out.yaml test-suite/yaml-test-suite-data/A984/test.event test-suite/yaml-test-suite-data/AB8U/=== test-suite/yaml-test-suite-data/AB8U/in.json test-suite/yaml-test-suite-data/AB8U/in.yaml test-suite/yaml-test-suite-data/AB8U/out.yaml test-suite/yaml-test-suite-data/AB8U/test.event test-suite/yaml-test-suite-data/AVM7/=== test-suite/yaml-test-suite-data/AVM7/in.json test-suite/yaml-test-suite-data/AVM7/in.yaml test-suite/yaml-test-suite-data/AVM7/test.event test-suite/yaml-test-suite-data/AZ63/=== test-suite/yaml-test-suite-data/AZ63/in.json test-suite/yaml-test-suite-data/AZ63/in.yaml test-suite/yaml-test-suite-data/AZ63/test.event test-suite/yaml-test-suite-data/AZW3/=== test-suite/yaml-test-suite-data/AZW3/in.json test-suite/yaml-test-suite-data/AZW3/in.yaml test-suite/yaml-test-suite-data/AZW3/test.event test-suite/yaml-test-suite-data/B3HG/=== test-suite/yaml-test-suite-data/B3HG/emit.yaml test-suite/yaml-test-suite-data/B3HG/in.json test-suite/yaml-test-suite-data/B3HG/in.yaml test-suite/yaml-test-suite-data/B3HG/out.yaml test-suite/yaml-test-suite-data/B3HG/test.event test-suite/yaml-test-suite-data/B63P/=== test-suite/yaml-test-suite-data/B63P/error test-suite/yaml-test-suite-data/B63P/in.yaml test-suite/yaml-test-suite-data/B63P/test.event test-suite/yaml-test-suite-data/BD7L/=== test-suite/yaml-test-suite-data/BD7L/error test-suite/yaml-test-suite-data/BD7L/in.yaml test-suite/yaml-test-suite-data/BD7L/test.event test-suite/yaml-test-suite-data/BEC7/=== test-suite/yaml-test-suite-data/BEC7/in.json test-suite/yaml-test-suite-data/BEC7/in.yaml test-suite/yaml-test-suite-data/BEC7/out.yaml test-suite/yaml-test-suite-data/BEC7/test.event test-suite/yaml-test-suite-data/BF9H/=== test-suite/yaml-test-suite-data/BF9H/error test-suite/yaml-test-suite-data/BF9H/in.yaml test-suite/yaml-test-suite-data/BF9H/test.event test-suite/yaml-test-suite-data/BS4K/=== test-suite/yaml-test-suite-data/BS4K/error test-suite/yaml-test-suite-data/BS4K/in.yaml test-suite/yaml-test-suite-data/BS4K/test.event test-suite/yaml-test-suite-data/BU8L/=== test-suite/yaml-test-suite-data/BU8L/in.json test-suite/yaml-test-suite-data/BU8L/in.yaml test-suite/yaml-test-suite-data/BU8L/out.yaml test-suite/yaml-test-suite-data/BU8L/test.event test-suite/yaml-test-suite-data/C2DT/=== test-suite/yaml-test-suite-data/C2DT/in.json test-suite/yaml-test-suite-data/C2DT/in.yaml test-suite/yaml-test-suite-data/C2DT/out.yaml test-suite/yaml-test-suite-data/C2DT/test.event test-suite/yaml-test-suite-data/C2SP/=== test-suite/yaml-test-suite-data/C2SP/error test-suite/yaml-test-suite-data/C2SP/in.yaml test-suite/yaml-test-suite-data/C2SP/test.event test-suite/yaml-test-suite-data/C4HZ/=== test-suite/yaml-test-suite-data/C4HZ/in.json test-suite/yaml-test-suite-data/C4HZ/in.yaml test-suite/yaml-test-suite-data/C4HZ/out.yaml test-suite/yaml-test-suite-data/C4HZ/test.event test-suite/yaml-test-suite-data/CC74/=== test-suite/yaml-test-suite-data/CC74/in.json test-suite/yaml-test-suite-data/CC74/in.yaml test-suite/yaml-test-suite-data/CC74/out.yaml test-suite/yaml-test-suite-data/CC74/test.event test-suite/yaml-test-suite-data/CFD4/=== test-suite/yaml-test-suite-data/CFD4/in.yaml test-suite/yaml-test-suite-data/CFD4/out.yaml test-suite/yaml-test-suite-data/CFD4/test.event test-suite/yaml-test-suite-data/CML9/=== test-suite/yaml-test-suite-data/CML9/error test-suite/yaml-test-suite-data/CML9/in.yaml test-suite/yaml-test-suite-data/CML9/test.event test-suite/yaml-test-suite-data/CN3R/=== test-suite/yaml-test-suite-data/CN3R/in.json test-suite/yaml-test-suite-data/CN3R/in.yaml test-suite/yaml-test-suite-data/CN3R/out.yaml test-suite/yaml-test-suite-data/CN3R/test.event test-suite/yaml-test-suite-data/CPZ3/=== test-suite/yaml-test-suite-data/CPZ3/in.json test-suite/yaml-test-suite-data/CPZ3/in.yaml test-suite/yaml-test-suite-data/CPZ3/out.yaml test-suite/yaml-test-suite-data/CPZ3/test.event test-suite/yaml-test-suite-data/CQ3W/=== test-suite/yaml-test-suite-data/CQ3W/error test-suite/yaml-test-suite-data/CQ3W/in.yaml test-suite/yaml-test-suite-data/CQ3W/test.event test-suite/yaml-test-suite-data/CT4Q/=== test-suite/yaml-test-suite-data/CT4Q/in.json test-suite/yaml-test-suite-data/CT4Q/in.yaml test-suite/yaml-test-suite-data/CT4Q/out.yaml test-suite/yaml-test-suite-data/CT4Q/test.event test-suite/yaml-test-suite-data/CTN5/=== test-suite/yaml-test-suite-data/CTN5/error test-suite/yaml-test-suite-data/CTN5/in.yaml test-suite/yaml-test-suite-data/CTN5/test.event test-suite/yaml-test-suite-data/CUP7/=== test-suite/yaml-test-suite-data/CUP7/in.json test-suite/yaml-test-suite-data/CUP7/in.yaml test-suite/yaml-test-suite-data/CUP7/out.yaml test-suite/yaml-test-suite-data/CUP7/test.event test-suite/yaml-test-suite-data/CVW2/=== test-suite/yaml-test-suite-data/CVW2/error test-suite/yaml-test-suite-data/CVW2/in.yaml test-suite/yaml-test-suite-data/CVW2/test.event test-suite/yaml-test-suite-data/CXX2/=== test-suite/yaml-test-suite-data/CXX2/error test-suite/yaml-test-suite-data/CXX2/in.yaml test-suite/yaml-test-suite-data/CXX2/test.event test-suite/yaml-test-suite-data/D49Q/=== test-suite/yaml-test-suite-data/D49Q/error test-suite/yaml-test-suite-data/D49Q/in.yaml test-suite/yaml-test-suite-data/D49Q/test.event test-suite/yaml-test-suite-data/D83L/=== test-suite/yaml-test-suite-data/D83L/in.json test-suite/yaml-test-suite-data/D83L/in.yaml test-suite/yaml-test-suite-data/D83L/out.yaml test-suite/yaml-test-suite-data/D83L/test.event test-suite/yaml-test-suite-data/D88J/=== test-suite/yaml-test-suite-data/D88J/in.json test-suite/yaml-test-suite-data/D88J/in.yaml test-suite/yaml-test-suite-data/D88J/out.yaml test-suite/yaml-test-suite-data/D88J/test.event test-suite/yaml-test-suite-data/D9TU/=== test-suite/yaml-test-suite-data/D9TU/in.json test-suite/yaml-test-suite-data/D9TU/in.yaml test-suite/yaml-test-suite-data/D9TU/test.event test-suite/yaml-test-suite-data/DBG4/=== test-suite/yaml-test-suite-data/DBG4/in.json test-suite/yaml-test-suite-data/DBG4/in.yaml test-suite/yaml-test-suite-data/DBG4/out.yaml test-suite/yaml-test-suite-data/DBG4/test.event test-suite/yaml-test-suite-data/DC7X/=== test-suite/yaml-test-suite-data/DC7X/in.json test-suite/yaml-test-suite-data/DC7X/in.yaml test-suite/yaml-test-suite-data/DC7X/out.yaml test-suite/yaml-test-suite-data/DC7X/test.event test-suite/yaml-test-suite-data/DE56/00/=== test-suite/yaml-test-suite-data/DE56/00/in.json test-suite/yaml-test-suite-data/DE56/00/in.yaml test-suite/yaml-test-suite-data/DE56/00/out.yaml test-suite/yaml-test-suite-data/DE56/00/test.event test-suite/yaml-test-suite-data/DE56/01/=== test-suite/yaml-test-suite-data/DE56/01/in.json test-suite/yaml-test-suite-data/DE56/01/in.yaml test-suite/yaml-test-suite-data/DE56/01/out.yaml test-suite/yaml-test-suite-data/DE56/01/test.event test-suite/yaml-test-suite-data/DE56/02/=== test-suite/yaml-test-suite-data/DE56/02/in.json test-suite/yaml-test-suite-data/DE56/02/in.yaml test-suite/yaml-test-suite-data/DE56/02/out.yaml test-suite/yaml-test-suite-data/DE56/02/test.event test-suite/yaml-test-suite-data/DE56/03/=== test-suite/yaml-test-suite-data/DE56/03/in.json test-suite/yaml-test-suite-data/DE56/03/in.yaml test-suite/yaml-test-suite-data/DE56/03/out.yaml test-suite/yaml-test-suite-data/DE56/03/test.event test-suite/yaml-test-suite-data/DE56/04/=== test-suite/yaml-test-suite-data/DE56/04/in.json test-suite/yaml-test-suite-data/DE56/04/in.yaml test-suite/yaml-test-suite-data/DE56/04/out.yaml test-suite/yaml-test-suite-data/DE56/04/test.event test-suite/yaml-test-suite-data/DE56/05/=== test-suite/yaml-test-suite-data/DE56/05/in.json test-suite/yaml-test-suite-data/DE56/05/in.yaml test-suite/yaml-test-suite-data/DE56/05/out.yaml test-suite/yaml-test-suite-data/DE56/05/test.event test-suite/yaml-test-suite-data/DFF7/=== test-suite/yaml-test-suite-data/DFF7/in.yaml test-suite/yaml-test-suite-data/DFF7/out.yaml test-suite/yaml-test-suite-data/DFF7/test.event test-suite/yaml-test-suite-data/DHP8/=== test-suite/yaml-test-suite-data/DHP8/in.json test-suite/yaml-test-suite-data/DHP8/in.yaml test-suite/yaml-test-suite-data/DHP8/out.yaml test-suite/yaml-test-suite-data/DHP8/test.event test-suite/yaml-test-suite-data/DK3J/=== test-suite/yaml-test-suite-data/DK3J/in.json test-suite/yaml-test-suite-data/DK3J/in.yaml test-suite/yaml-test-suite-data/DK3J/out.yaml test-suite/yaml-test-suite-data/DK3J/test.event test-suite/yaml-test-suite-data/DK4H/=== test-suite/yaml-test-suite-data/DK4H/error test-suite/yaml-test-suite-data/DK4H/in.yaml test-suite/yaml-test-suite-data/DK4H/test.event test-suite/yaml-test-suite-data/DK95/00/=== test-suite/yaml-test-suite-data/DK95/00/emit.yaml test-suite/yaml-test-suite-data/DK95/00/in.json test-suite/yaml-test-suite-data/DK95/00/in.yaml test-suite/yaml-test-suite-data/DK95/00/test.event test-suite/yaml-test-suite-data/DK95/01/=== test-suite/yaml-test-suite-data/DK95/01/emit.yaml test-suite/yaml-test-suite-data/DK95/01/error test-suite/yaml-test-suite-data/DK95/01/in.json test-suite/yaml-test-suite-data/DK95/01/in.yaml test-suite/yaml-test-suite-data/DK95/01/test.event test-suite/yaml-test-suite-data/DK95/02/=== test-suite/yaml-test-suite-data/DK95/02/emit.yaml test-suite/yaml-test-suite-data/DK95/02/in.json test-suite/yaml-test-suite-data/DK95/02/in.yaml test-suite/yaml-test-suite-data/DK95/02/test.event test-suite/yaml-test-suite-data/DK95/03/=== test-suite/yaml-test-suite-data/DK95/03/emit.yaml test-suite/yaml-test-suite-data/DK95/03/in.json test-suite/yaml-test-suite-data/DK95/03/in.yaml test-suite/yaml-test-suite-data/DK95/03/test.event test-suite/yaml-test-suite-data/DK95/04/=== test-suite/yaml-test-suite-data/DK95/04/emit.yaml test-suite/yaml-test-suite-data/DK95/04/in.json test-suite/yaml-test-suite-data/DK95/04/in.yaml test-suite/yaml-test-suite-data/DK95/04/test.event test-suite/yaml-test-suite-data/DK95/05/=== test-suite/yaml-test-suite-data/DK95/05/emit.yaml test-suite/yaml-test-suite-data/DK95/05/in.json test-suite/yaml-test-suite-data/DK95/05/in.yaml test-suite/yaml-test-suite-data/DK95/05/test.event test-suite/yaml-test-suite-data/DK95/06/=== test-suite/yaml-test-suite-data/DK95/06/emit.yaml test-suite/yaml-test-suite-data/DK95/06/error test-suite/yaml-test-suite-data/DK95/06/in.json test-suite/yaml-test-suite-data/DK95/06/in.yaml test-suite/yaml-test-suite-data/DK95/06/test.event test-suite/yaml-test-suite-data/DK95/07/=== test-suite/yaml-test-suite-data/DK95/07/emit.yaml test-suite/yaml-test-suite-data/DK95/07/in.json test-suite/yaml-test-suite-data/DK95/07/in.yaml test-suite/yaml-test-suite-data/DK95/07/test.event test-suite/yaml-test-suite-data/DK95/08/=== test-suite/yaml-test-suite-data/DK95/08/emit.yaml test-suite/yaml-test-suite-data/DK95/08/in.json test-suite/yaml-test-suite-data/DK95/08/in.yaml test-suite/yaml-test-suite-data/DK95/08/test.event test-suite/yaml-test-suite-data/DMG6/=== test-suite/yaml-test-suite-data/DMG6/error test-suite/yaml-test-suite-data/DMG6/in.yaml test-suite/yaml-test-suite-data/DMG6/test.event test-suite/yaml-test-suite-data/DWX9/=== test-suite/yaml-test-suite-data/DWX9/emit.yaml test-suite/yaml-test-suite-data/DWX9/in.json test-suite/yaml-test-suite-data/DWX9/in.yaml test-suite/yaml-test-suite-data/DWX9/out.yaml test-suite/yaml-test-suite-data/DWX9/test.event test-suite/yaml-test-suite-data/E76Z/=== test-suite/yaml-test-suite-data/E76Z/in.json test-suite/yaml-test-suite-data/E76Z/in.yaml test-suite/yaml-test-suite-data/E76Z/out.yaml test-suite/yaml-test-suite-data/E76Z/test.event test-suite/yaml-test-suite-data/EB22/=== test-suite/yaml-test-suite-data/EB22/error test-suite/yaml-test-suite-data/EB22/in.yaml test-suite/yaml-test-suite-data/EB22/test.event test-suite/yaml-test-suite-data/EHF6/=== test-suite/yaml-test-suite-data/EHF6/in.json test-suite/yaml-test-suite-data/EHF6/in.yaml test-suite/yaml-test-suite-data/EHF6/out.yaml test-suite/yaml-test-suite-data/EHF6/test.event test-suite/yaml-test-suite-data/EW3V/=== test-suite/yaml-test-suite-data/EW3V/error test-suite/yaml-test-suite-data/EW3V/in.yaml test-suite/yaml-test-suite-data/EW3V/test.event test-suite/yaml-test-suite-data/EX5H/=== test-suite/yaml-test-suite-data/EX5H/emit.yaml test-suite/yaml-test-suite-data/EX5H/in.json test-suite/yaml-test-suite-data/EX5H/in.yaml test-suite/yaml-test-suite-data/EX5H/out.yaml test-suite/yaml-test-suite-data/EX5H/test.event test-suite/yaml-test-suite-data/EXG3/=== test-suite/yaml-test-suite-data/EXG3/emit.yaml test-suite/yaml-test-suite-data/EXG3/in.json test-suite/yaml-test-suite-data/EXG3/in.yaml test-suite/yaml-test-suite-data/EXG3/out.yaml test-suite/yaml-test-suite-data/EXG3/test.event test-suite/yaml-test-suite-data/F2C7/=== test-suite/yaml-test-suite-data/F2C7/in.json test-suite/yaml-test-suite-data/F2C7/in.yaml test-suite/yaml-test-suite-data/F2C7/out.yaml test-suite/yaml-test-suite-data/F2C7/test.event test-suite/yaml-test-suite-data/F3CP/=== test-suite/yaml-test-suite-data/F3CP/in.json test-suite/yaml-test-suite-data/F3CP/in.yaml test-suite/yaml-test-suite-data/F3CP/out.yaml test-suite/yaml-test-suite-data/F3CP/test.event test-suite/yaml-test-suite-data/F6MC/=== test-suite/yaml-test-suite-data/F6MC/emit.yaml test-suite/yaml-test-suite-data/F6MC/in.json test-suite/yaml-test-suite-data/F6MC/in.yaml test-suite/yaml-test-suite-data/F6MC/test.event test-suite/yaml-test-suite-data/F8F9/=== test-suite/yaml-test-suite-data/F8F9/in.json test-suite/yaml-test-suite-data/F8F9/in.yaml test-suite/yaml-test-suite-data/F8F9/out.yaml test-suite/yaml-test-suite-data/F8F9/test.event test-suite/yaml-test-suite-data/FBC9/=== test-suite/yaml-test-suite-data/FBC9/in.json test-suite/yaml-test-suite-data/FBC9/in.yaml test-suite/yaml-test-suite-data/FBC9/out.yaml test-suite/yaml-test-suite-data/FBC9/test.event test-suite/yaml-test-suite-data/FH7J/=== test-suite/yaml-test-suite-data/FH7J/in.yaml test-suite/yaml-test-suite-data/FH7J/out.yaml test-suite/yaml-test-suite-data/FH7J/test.event test-suite/yaml-test-suite-data/FP8R/=== test-suite/yaml-test-suite-data/FP8R/in.json test-suite/yaml-test-suite-data/FP8R/in.yaml test-suite/yaml-test-suite-data/FP8R/out.yaml test-suite/yaml-test-suite-data/FP8R/test.event test-suite/yaml-test-suite-data/FQ7F/=== test-suite/yaml-test-suite-data/FQ7F/in.json test-suite/yaml-test-suite-data/FQ7F/in.yaml test-suite/yaml-test-suite-data/FQ7F/lex.token test-suite/yaml-test-suite-data/FQ7F/test.event test-suite/yaml-test-suite-data/FRK4/=== test-suite/yaml-test-suite-data/FRK4/in.yaml test-suite/yaml-test-suite-data/FRK4/test.event test-suite/yaml-test-suite-data/FTA2/=== test-suite/yaml-test-suite-data/FTA2/in.json test-suite/yaml-test-suite-data/FTA2/in.yaml test-suite/yaml-test-suite-data/FTA2/out.yaml test-suite/yaml-test-suite-data/FTA2/test.event test-suite/yaml-test-suite-data/FUP4/=== test-suite/yaml-test-suite-data/FUP4/in.json test-suite/yaml-test-suite-data/FUP4/in.yaml test-suite/yaml-test-suite-data/FUP4/out.yaml test-suite/yaml-test-suite-data/FUP4/test.event test-suite/yaml-test-suite-data/G4RS/=== test-suite/yaml-test-suite-data/G4RS/in.json test-suite/yaml-test-suite-data/G4RS/in.yaml test-suite/yaml-test-suite-data/G4RS/out.yaml test-suite/yaml-test-suite-data/G4RS/test.event test-suite/yaml-test-suite-data/G5U8/=== test-suite/yaml-test-suite-data/G5U8/error test-suite/yaml-test-suite-data/G5U8/in.yaml test-suite/yaml-test-suite-data/G5U8/test.event test-suite/yaml-test-suite-data/G7JE/=== test-suite/yaml-test-suite-data/G7JE/error test-suite/yaml-test-suite-data/G7JE/in.yaml test-suite/yaml-test-suite-data/G7JE/test.event test-suite/yaml-test-suite-data/G992/=== test-suite/yaml-test-suite-data/G992/in.json test-suite/yaml-test-suite-data/G992/in.yaml test-suite/yaml-test-suite-data/G992/out.yaml test-suite/yaml-test-suite-data/G992/test.event test-suite/yaml-test-suite-data/G9HC/=== test-suite/yaml-test-suite-data/G9HC/error test-suite/yaml-test-suite-data/G9HC/in.yaml test-suite/yaml-test-suite-data/G9HC/test.event test-suite/yaml-test-suite-data/GDY7/=== test-suite/yaml-test-suite-data/GDY7/error test-suite/yaml-test-suite-data/GDY7/in.yaml test-suite/yaml-test-suite-data/GDY7/test.event test-suite/yaml-test-suite-data/GH63/=== test-suite/yaml-test-suite-data/GH63/in.json test-suite/yaml-test-suite-data/GH63/in.yaml test-suite/yaml-test-suite-data/GH63/out.yaml test-suite/yaml-test-suite-data/GH63/test.event test-suite/yaml-test-suite-data/GT5M/=== test-suite/yaml-test-suite-data/GT5M/error test-suite/yaml-test-suite-data/GT5M/in.yaml test-suite/yaml-test-suite-data/GT5M/test.event test-suite/yaml-test-suite-data/H2RW/=== test-suite/yaml-test-suite-data/H2RW/emit.yaml test-suite/yaml-test-suite-data/H2RW/in.json test-suite/yaml-test-suite-data/H2RW/in.yaml test-suite/yaml-test-suite-data/H2RW/out.yaml test-suite/yaml-test-suite-data/H2RW/test.event test-suite/yaml-test-suite-data/H3Z8/=== test-suite/yaml-test-suite-data/H3Z8/in.json test-suite/yaml-test-suite-data/H3Z8/in.yaml test-suite/yaml-test-suite-data/H3Z8/out.yaml test-suite/yaml-test-suite-data/H3Z8/test.event test-suite/yaml-test-suite-data/H7J7/=== test-suite/yaml-test-suite-data/H7J7/error test-suite/yaml-test-suite-data/H7J7/in.yaml test-suite/yaml-test-suite-data/H7J7/test.event test-suite/yaml-test-suite-data/H7TQ/=== test-suite/yaml-test-suite-data/H7TQ/error test-suite/yaml-test-suite-data/H7TQ/in.yaml test-suite/yaml-test-suite-data/H7TQ/test.event test-suite/yaml-test-suite-data/HM87/00/=== test-suite/yaml-test-suite-data/HM87/00/in.json test-suite/yaml-test-suite-data/HM87/00/in.yaml test-suite/yaml-test-suite-data/HM87/00/out.yaml test-suite/yaml-test-suite-data/HM87/00/test.event test-suite/yaml-test-suite-data/HM87/01/=== test-suite/yaml-test-suite-data/HM87/01/in.json test-suite/yaml-test-suite-data/HM87/01/in.yaml test-suite/yaml-test-suite-data/HM87/01/out.yaml test-suite/yaml-test-suite-data/HM87/01/test.event test-suite/yaml-test-suite-data/HMK4/=== test-suite/yaml-test-suite-data/HMK4/in.json test-suite/yaml-test-suite-data/HMK4/in.yaml test-suite/yaml-test-suite-data/HMK4/out.yaml test-suite/yaml-test-suite-data/HMK4/test.event test-suite/yaml-test-suite-data/HMQ5/=== test-suite/yaml-test-suite-data/HMQ5/in.json test-suite/yaml-test-suite-data/HMQ5/in.yaml test-suite/yaml-test-suite-data/HMQ5/out.yaml test-suite/yaml-test-suite-data/HMQ5/test.event test-suite/yaml-test-suite-data/HRE5/=== test-suite/yaml-test-suite-data/HRE5/error test-suite/yaml-test-suite-data/HRE5/in.yaml test-suite/yaml-test-suite-data/HRE5/test.event test-suite/yaml-test-suite-data/HS5T/=== test-suite/yaml-test-suite-data/HS5T/in.json test-suite/yaml-test-suite-data/HS5T/in.yaml test-suite/yaml-test-suite-data/HS5T/out.yaml test-suite/yaml-test-suite-data/HS5T/test.event test-suite/yaml-test-suite-data/HU3P/=== test-suite/yaml-test-suite-data/HU3P/error test-suite/yaml-test-suite-data/HU3P/in.yaml test-suite/yaml-test-suite-data/HU3P/test.event test-suite/yaml-test-suite-data/HWV9/=== test-suite/yaml-test-suite-data/HWV9/in.json test-suite/yaml-test-suite-data/HWV9/in.yaml test-suite/yaml-test-suite-data/HWV9/out.yaml test-suite/yaml-test-suite-data/HWV9/test.event test-suite/yaml-test-suite-data/J3BT/=== test-suite/yaml-test-suite-data/J3BT/in.json test-suite/yaml-test-suite-data/J3BT/in.yaml test-suite/yaml-test-suite-data/J3BT/out.yaml test-suite/yaml-test-suite-data/J3BT/test.event test-suite/yaml-test-suite-data/J5UC/=== test-suite/yaml-test-suite-data/J5UC/in.json test-suite/yaml-test-suite-data/J5UC/in.yaml test-suite/yaml-test-suite-data/J5UC/test.event test-suite/yaml-test-suite-data/J7PZ/=== test-suite/yaml-test-suite-data/J7PZ/in.json test-suite/yaml-test-suite-data/J7PZ/in.yaml test-suite/yaml-test-suite-data/J7PZ/out.yaml test-suite/yaml-test-suite-data/J7PZ/test.event test-suite/yaml-test-suite-data/J7VC/=== test-suite/yaml-test-suite-data/J7VC/in.json test-suite/yaml-test-suite-data/J7VC/in.yaml test-suite/yaml-test-suite-data/J7VC/out.yaml test-suite/yaml-test-suite-data/J7VC/test.event test-suite/yaml-test-suite-data/J9HZ/=== test-suite/yaml-test-suite-data/J9HZ/in.json test-suite/yaml-test-suite-data/J9HZ/in.yaml test-suite/yaml-test-suite-data/J9HZ/out.yaml test-suite/yaml-test-suite-data/J9HZ/test.event test-suite/yaml-test-suite-data/JEF9/00/=== test-suite/yaml-test-suite-data/JEF9/00/in.json test-suite/yaml-test-suite-data/JEF9/00/in.yaml test-suite/yaml-test-suite-data/JEF9/00/out.yaml test-suite/yaml-test-suite-data/JEF9/00/test.event test-suite/yaml-test-suite-data/JEF9/01/=== test-suite/yaml-test-suite-data/JEF9/01/in.json test-suite/yaml-test-suite-data/JEF9/01/in.yaml test-suite/yaml-test-suite-data/JEF9/01/out.yaml test-suite/yaml-test-suite-data/JEF9/01/test.event test-suite/yaml-test-suite-data/JEF9/02/=== test-suite/yaml-test-suite-data/JEF9/02/in.json test-suite/yaml-test-suite-data/JEF9/02/in.yaml test-suite/yaml-test-suite-data/JEF9/02/out.yaml test-suite/yaml-test-suite-data/JEF9/02/test.event test-suite/yaml-test-suite-data/JHB9/=== test-suite/yaml-test-suite-data/JHB9/in.json test-suite/yaml-test-suite-data/JHB9/in.yaml test-suite/yaml-test-suite-data/JHB9/out.yaml test-suite/yaml-test-suite-data/JHB9/test.event test-suite/yaml-test-suite-data/JKF3/=== test-suite/yaml-test-suite-data/JKF3/error test-suite/yaml-test-suite-data/JKF3/in.yaml test-suite/yaml-test-suite-data/JKF3/test.event test-suite/yaml-test-suite-data/JQ4R/=== test-suite/yaml-test-suite-data/JQ4R/in.json test-suite/yaml-test-suite-data/JQ4R/in.yaml test-suite/yaml-test-suite-data/JQ4R/out.yaml test-suite/yaml-test-suite-data/JQ4R/test.event test-suite/yaml-test-suite-data/JR7V/=== test-suite/yaml-test-suite-data/JR7V/in.json test-suite/yaml-test-suite-data/JR7V/in.yaml test-suite/yaml-test-suite-data/JR7V/out.yaml test-suite/yaml-test-suite-data/JR7V/test.event test-suite/yaml-test-suite-data/JS2J/=== test-suite/yaml-test-suite-data/JS2J/in.json test-suite/yaml-test-suite-data/JS2J/in.yaml test-suite/yaml-test-suite-data/JS2J/test.event test-suite/yaml-test-suite-data/JTV5/=== test-suite/yaml-test-suite-data/JTV5/in.json test-suite/yaml-test-suite-data/JTV5/in.yaml test-suite/yaml-test-suite-data/JTV5/out.yaml test-suite/yaml-test-suite-data/JTV5/test.event test-suite/yaml-test-suite-data/JY7Z/=== test-suite/yaml-test-suite-data/JY7Z/error test-suite/yaml-test-suite-data/JY7Z/in.yaml test-suite/yaml-test-suite-data/JY7Z/test.event test-suite/yaml-test-suite-data/K3WX/=== test-suite/yaml-test-suite-data/K3WX/in.json test-suite/yaml-test-suite-data/K3WX/in.yaml test-suite/yaml-test-suite-data/K3WX/out.yaml test-suite/yaml-test-suite-data/K3WX/test.event test-suite/yaml-test-suite-data/K4SU/=== test-suite/yaml-test-suite-data/K4SU/in.json test-suite/yaml-test-suite-data/K4SU/in.yaml test-suite/yaml-test-suite-data/K4SU/test.event test-suite/yaml-test-suite-data/K527/=== test-suite/yaml-test-suite-data/K527/in.json test-suite/yaml-test-suite-data/K527/in.yaml test-suite/yaml-test-suite-data/K527/out.yaml test-suite/yaml-test-suite-data/K527/test.event test-suite/yaml-test-suite-data/K54U/=== test-suite/yaml-test-suite-data/K54U/in.json test-suite/yaml-test-suite-data/K54U/in.yaml test-suite/yaml-test-suite-data/K54U/out.yaml test-suite/yaml-test-suite-data/K54U/test.event test-suite/yaml-test-suite-data/K858/=== test-suite/yaml-test-suite-data/K858/in.json test-suite/yaml-test-suite-data/K858/in.yaml test-suite/yaml-test-suite-data/K858/out.yaml test-suite/yaml-test-suite-data/K858/test.event test-suite/yaml-test-suite-data/KH5V/00/=== test-suite/yaml-test-suite-data/KH5V/00/in.json test-suite/yaml-test-suite-data/KH5V/00/in.yaml test-suite/yaml-test-suite-data/KH5V/00/test.event test-suite/yaml-test-suite-data/KH5V/01/=== test-suite/yaml-test-suite-data/KH5V/01/in.json test-suite/yaml-test-suite-data/KH5V/01/in.yaml test-suite/yaml-test-suite-data/KH5V/01/out.yaml test-suite/yaml-test-suite-data/KH5V/01/test.event test-suite/yaml-test-suite-data/KH5V/02/=== test-suite/yaml-test-suite-data/KH5V/02/in.json test-suite/yaml-test-suite-data/KH5V/02/in.yaml test-suite/yaml-test-suite-data/KH5V/02/out.yaml test-suite/yaml-test-suite-data/KH5V/02/test.event test-suite/yaml-test-suite-data/KK5P/=== test-suite/yaml-test-suite-data/KK5P/in.yaml test-suite/yaml-test-suite-data/KK5P/out.yaml test-suite/yaml-test-suite-data/KK5P/test.event test-suite/yaml-test-suite-data/KMK3/=== test-suite/yaml-test-suite-data/KMK3/in.json test-suite/yaml-test-suite-data/KMK3/in.yaml test-suite/yaml-test-suite-data/KMK3/test.event test-suite/yaml-test-suite-data/KS4U/=== test-suite/yaml-test-suite-data/KS4U/error test-suite/yaml-test-suite-data/KS4U/in.yaml test-suite/yaml-test-suite-data/KS4U/test.event test-suite/yaml-test-suite-data/KSS4/=== test-suite/yaml-test-suite-data/KSS4/emit.yaml test-suite/yaml-test-suite-data/KSS4/in.json test-suite/yaml-test-suite-data/KSS4/in.yaml test-suite/yaml-test-suite-data/KSS4/out.yaml test-suite/yaml-test-suite-data/KSS4/test.event test-suite/yaml-test-suite-data/L24T/00/=== test-suite/yaml-test-suite-data/L24T/00/emit.yaml test-suite/yaml-test-suite-data/L24T/00/in.json test-suite/yaml-test-suite-data/L24T/00/in.yaml test-suite/yaml-test-suite-data/L24T/00/test.event test-suite/yaml-test-suite-data/L24T/01/=== test-suite/yaml-test-suite-data/L24T/01/emit.yaml test-suite/yaml-test-suite-data/L24T/01/in.json test-suite/yaml-test-suite-data/L24T/01/in.yaml test-suite/yaml-test-suite-data/L24T/01/test.event test-suite/yaml-test-suite-data/L383/=== test-suite/yaml-test-suite-data/L383/in.json test-suite/yaml-test-suite-data/L383/in.yaml test-suite/yaml-test-suite-data/L383/out.yaml test-suite/yaml-test-suite-data/L383/test.event test-suite/yaml-test-suite-data/L94M/=== test-suite/yaml-test-suite-data/L94M/in.json test-suite/yaml-test-suite-data/L94M/in.yaml test-suite/yaml-test-suite-data/L94M/out.yaml test-suite/yaml-test-suite-data/L94M/test.event test-suite/yaml-test-suite-data/L9U5/=== test-suite/yaml-test-suite-data/L9U5/in.json test-suite/yaml-test-suite-data/L9U5/in.yaml test-suite/yaml-test-suite-data/L9U5/out.yaml test-suite/yaml-test-suite-data/L9U5/test.event test-suite/yaml-test-suite-data/LE5A/=== test-suite/yaml-test-suite-data/LE5A/in.json test-suite/yaml-test-suite-data/LE5A/in.yaml test-suite/yaml-test-suite-data/LE5A/test.event test-suite/yaml-test-suite-data/LHL4/=== test-suite/yaml-test-suite-data/LHL4/error test-suite/yaml-test-suite-data/LHL4/in.yaml test-suite/yaml-test-suite-data/LHL4/test.event test-suite/yaml-test-suite-data/LP6E/=== test-suite/yaml-test-suite-data/LP6E/in.json test-suite/yaml-test-suite-data/LP6E/in.yaml test-suite/yaml-test-suite-data/LP6E/out.yaml test-suite/yaml-test-suite-data/LP6E/test.event test-suite/yaml-test-suite-data/LQZ7/=== test-suite/yaml-test-suite-data/LQZ7/in.json test-suite/yaml-test-suite-data/LQZ7/in.yaml test-suite/yaml-test-suite-data/LQZ7/out.yaml test-suite/yaml-test-suite-data/LQZ7/test.event test-suite/yaml-test-suite-data/LX3P/=== test-suite/yaml-test-suite-data/LX3P/in.yaml test-suite/yaml-test-suite-data/LX3P/out.yaml test-suite/yaml-test-suite-data/LX3P/test.event test-suite/yaml-test-suite-data/M29M/=== test-suite/yaml-test-suite-data/M29M/in.json test-suite/yaml-test-suite-data/M29M/in.yaml test-suite/yaml-test-suite-data/M29M/out.yaml test-suite/yaml-test-suite-data/M29M/test.event test-suite/yaml-test-suite-data/M2N8/00/=== test-suite/yaml-test-suite-data/M2N8/00/in.yaml test-suite/yaml-test-suite-data/M2N8/00/out.yaml test-suite/yaml-test-suite-data/M2N8/00/test.event test-suite/yaml-test-suite-data/M2N8/01/=== test-suite/yaml-test-suite-data/M2N8/01/in.yaml test-suite/yaml-test-suite-data/M2N8/01/out.yaml test-suite/yaml-test-suite-data/M2N8/01/test.event test-suite/yaml-test-suite-data/M5C3/=== test-suite/yaml-test-suite-data/M5C3/in.json test-suite/yaml-test-suite-data/M5C3/in.yaml test-suite/yaml-test-suite-data/M5C3/out.yaml test-suite/yaml-test-suite-data/M5C3/test.event test-suite/yaml-test-suite-data/M5DY/=== test-suite/yaml-test-suite-data/M5DY/in.yaml test-suite/yaml-test-suite-data/M5DY/out.yaml test-suite/yaml-test-suite-data/M5DY/test.event test-suite/yaml-test-suite-data/M6YH/=== test-suite/yaml-test-suite-data/M6YH/in.json test-suite/yaml-test-suite-data/M6YH/in.yaml test-suite/yaml-test-suite-data/M6YH/out.yaml test-suite/yaml-test-suite-data/M6YH/test.event test-suite/yaml-test-suite-data/M7A3/=== test-suite/yaml-test-suite-data/M7A3/emit.yaml test-suite/yaml-test-suite-data/M7A3/in.json test-suite/yaml-test-suite-data/M7A3/in.yaml test-suite/yaml-test-suite-data/M7A3/test.event test-suite/yaml-test-suite-data/M7NX/=== test-suite/yaml-test-suite-data/M7NX/in.json test-suite/yaml-test-suite-data/M7NX/in.yaml test-suite/yaml-test-suite-data/M7NX/out.yaml test-suite/yaml-test-suite-data/M7NX/test.event test-suite/yaml-test-suite-data/M9B4/=== test-suite/yaml-test-suite-data/M9B4/in.json test-suite/yaml-test-suite-data/M9B4/in.yaml test-suite/yaml-test-suite-data/M9B4/out.yaml test-suite/yaml-test-suite-data/M9B4/test.event test-suite/yaml-test-suite-data/MJS9/=== test-suite/yaml-test-suite-data/MJS9/in.json test-suite/yaml-test-suite-data/MJS9/in.yaml test-suite/yaml-test-suite-data/MJS9/out.yaml test-suite/yaml-test-suite-data/MJS9/test.event test-suite/yaml-test-suite-data/MUS6/00/=== test-suite/yaml-test-suite-data/MUS6/00/error test-suite/yaml-test-suite-data/MUS6/00/in.yaml test-suite/yaml-test-suite-data/MUS6/00/test.event test-suite/yaml-test-suite-data/MUS6/01/=== test-suite/yaml-test-suite-data/MUS6/01/error test-suite/yaml-test-suite-data/MUS6/01/in.yaml test-suite/yaml-test-suite-data/MUS6/01/test.event test-suite/yaml-test-suite-data/MUS6/02/=== test-suite/yaml-test-suite-data/MUS6/02/in.json test-suite/yaml-test-suite-data/MUS6/02/in.yaml test-suite/yaml-test-suite-data/MUS6/02/out.yaml test-suite/yaml-test-suite-data/MUS6/02/test.event test-suite/yaml-test-suite-data/MUS6/03/=== test-suite/yaml-test-suite-data/MUS6/03/in.json test-suite/yaml-test-suite-data/MUS6/03/in.yaml test-suite/yaml-test-suite-data/MUS6/03/out.yaml test-suite/yaml-test-suite-data/MUS6/03/test.event test-suite/yaml-test-suite-data/MUS6/04/=== test-suite/yaml-test-suite-data/MUS6/04/in.json test-suite/yaml-test-suite-data/MUS6/04/in.yaml test-suite/yaml-test-suite-data/MUS6/04/out.yaml test-suite/yaml-test-suite-data/MUS6/04/test.event test-suite/yaml-test-suite-data/MUS6/05/=== test-suite/yaml-test-suite-data/MUS6/05/in.json test-suite/yaml-test-suite-data/MUS6/05/in.yaml test-suite/yaml-test-suite-data/MUS6/05/out.yaml test-suite/yaml-test-suite-data/MUS6/05/test.event test-suite/yaml-test-suite-data/MUS6/06/=== test-suite/yaml-test-suite-data/MUS6/06/in.json test-suite/yaml-test-suite-data/MUS6/06/in.yaml test-suite/yaml-test-suite-data/MUS6/06/out.yaml test-suite/yaml-test-suite-data/MUS6/06/test.event test-suite/yaml-test-suite-data/MXS3/=== test-suite/yaml-test-suite-data/MXS3/in.json test-suite/yaml-test-suite-data/MXS3/in.yaml test-suite/yaml-test-suite-data/MXS3/out.yaml test-suite/yaml-test-suite-data/MXS3/test.event test-suite/yaml-test-suite-data/MYW6/=== test-suite/yaml-test-suite-data/MYW6/in.json test-suite/yaml-test-suite-data/MYW6/in.yaml test-suite/yaml-test-suite-data/MYW6/out.yaml test-suite/yaml-test-suite-data/MYW6/test.event test-suite/yaml-test-suite-data/MZX3/=== test-suite/yaml-test-suite-data/MZX3/in.json test-suite/yaml-test-suite-data/MZX3/in.yaml test-suite/yaml-test-suite-data/MZX3/test.event test-suite/yaml-test-suite-data/N4JP/=== test-suite/yaml-test-suite-data/N4JP/error test-suite/yaml-test-suite-data/N4JP/in.yaml test-suite/yaml-test-suite-data/N4JP/test.event test-suite/yaml-test-suite-data/N782/=== test-suite/yaml-test-suite-data/N782/error test-suite/yaml-test-suite-data/N782/in.yaml test-suite/yaml-test-suite-data/N782/test.event test-suite/yaml-test-suite-data/NAT4/=== test-suite/yaml-test-suite-data/NAT4/emit.yaml test-suite/yaml-test-suite-data/NAT4/in.json test-suite/yaml-test-suite-data/NAT4/in.yaml test-suite/yaml-test-suite-data/NAT4/test.event test-suite/yaml-test-suite-data/NB6Z/=== test-suite/yaml-test-suite-data/NB6Z/in.json test-suite/yaml-test-suite-data/NB6Z/in.yaml test-suite/yaml-test-suite-data/NB6Z/out.yaml test-suite/yaml-test-suite-data/NB6Z/test.event test-suite/yaml-test-suite-data/NHX8/=== test-suite/yaml-test-suite-data/NHX8/emit.yaml test-suite/yaml-test-suite-data/NHX8/in.yaml test-suite/yaml-test-suite-data/NHX8/test.event test-suite/yaml-test-suite-data/NJ66/=== test-suite/yaml-test-suite-data/NJ66/in.json test-suite/yaml-test-suite-data/NJ66/in.yaml test-suite/yaml-test-suite-data/NJ66/out.yaml test-suite/yaml-test-suite-data/NJ66/test.event test-suite/yaml-test-suite-data/NKF9/=== test-suite/yaml-test-suite-data/NKF9/emit.yaml test-suite/yaml-test-suite-data/NKF9/in.yaml test-suite/yaml-test-suite-data/NKF9/test.event test-suite/yaml-test-suite-data/NP9H/=== test-suite/yaml-test-suite-data/NP9H/in.json test-suite/yaml-test-suite-data/NP9H/in.yaml test-suite/yaml-test-suite-data/NP9H/out.yaml test-suite/yaml-test-suite-data/NP9H/test.event test-suite/yaml-test-suite-data/P2AD/=== test-suite/yaml-test-suite-data/P2AD/in.json test-suite/yaml-test-suite-data/P2AD/in.yaml test-suite/yaml-test-suite-data/P2AD/out.yaml test-suite/yaml-test-suite-data/P2AD/test.event test-suite/yaml-test-suite-data/P2EQ/=== test-suite/yaml-test-suite-data/P2EQ/error test-suite/yaml-test-suite-data/P2EQ/in.yaml test-suite/yaml-test-suite-data/P2EQ/test.event test-suite/yaml-test-suite-data/P76L/=== test-suite/yaml-test-suite-data/P76L/in.json test-suite/yaml-test-suite-data/P76L/in.yaml test-suite/yaml-test-suite-data/P76L/out.yaml test-suite/yaml-test-suite-data/P76L/test.event test-suite/yaml-test-suite-data/P94K/=== test-suite/yaml-test-suite-data/P94K/in.json test-suite/yaml-test-suite-data/P94K/in.yaml test-suite/yaml-test-suite-data/P94K/out.yaml test-suite/yaml-test-suite-data/P94K/test.event test-suite/yaml-test-suite-data/PBJ2/=== test-suite/yaml-test-suite-data/PBJ2/in.json test-suite/yaml-test-suite-data/PBJ2/in.yaml test-suite/yaml-test-suite-data/PBJ2/out.yaml test-suite/yaml-test-suite-data/PBJ2/test.event test-suite/yaml-test-suite-data/PRH3/=== test-suite/yaml-test-suite-data/PRH3/emit.yaml test-suite/yaml-test-suite-data/PRH3/in.json test-suite/yaml-test-suite-data/PRH3/in.yaml test-suite/yaml-test-suite-data/PRH3/out.yaml test-suite/yaml-test-suite-data/PRH3/test.event test-suite/yaml-test-suite-data/PUW8/=== test-suite/yaml-test-suite-data/PUW8/in.json test-suite/yaml-test-suite-data/PUW8/in.yaml test-suite/yaml-test-suite-data/PUW8/out.yaml test-suite/yaml-test-suite-data/PUW8/test.event test-suite/yaml-test-suite-data/PW8X/=== test-suite/yaml-test-suite-data/PW8X/in.yaml test-suite/yaml-test-suite-data/PW8X/out.yaml test-suite/yaml-test-suite-data/PW8X/test.event test-suite/yaml-test-suite-data/Q4CL/=== test-suite/yaml-test-suite-data/Q4CL/error test-suite/yaml-test-suite-data/Q4CL/in.yaml test-suite/yaml-test-suite-data/Q4CL/test.event test-suite/yaml-test-suite-data/Q5MG/=== test-suite/yaml-test-suite-data/Q5MG/in.json test-suite/yaml-test-suite-data/Q5MG/in.yaml test-suite/yaml-test-suite-data/Q5MG/out.yaml test-suite/yaml-test-suite-data/Q5MG/test.event test-suite/yaml-test-suite-data/Q88A/=== test-suite/yaml-test-suite-data/Q88A/in.json test-suite/yaml-test-suite-data/Q88A/in.yaml test-suite/yaml-test-suite-data/Q88A/out.yaml test-suite/yaml-test-suite-data/Q88A/test.event test-suite/yaml-test-suite-data/Q8AD/=== test-suite/yaml-test-suite-data/Q8AD/emit.yaml test-suite/yaml-test-suite-data/Q8AD/in.json test-suite/yaml-test-suite-data/Q8AD/in.yaml test-suite/yaml-test-suite-data/Q8AD/out.yaml test-suite/yaml-test-suite-data/Q8AD/test.event test-suite/yaml-test-suite-data/Q9WF/=== test-suite/yaml-test-suite-data/Q9WF/in.yaml test-suite/yaml-test-suite-data/Q9WF/out.yaml test-suite/yaml-test-suite-data/Q9WF/test.event test-suite/yaml-test-suite-data/QB6E/=== test-suite/yaml-test-suite-data/QB6E/error test-suite/yaml-test-suite-data/QB6E/in.yaml test-suite/yaml-test-suite-data/QB6E/test.event test-suite/yaml-test-suite-data/QF4Y/=== test-suite/yaml-test-suite-data/QF4Y/in.json test-suite/yaml-test-suite-data/QF4Y/in.yaml test-suite/yaml-test-suite-data/QF4Y/out.yaml test-suite/yaml-test-suite-data/QF4Y/test.event test-suite/yaml-test-suite-data/QLJ7/=== test-suite/yaml-test-suite-data/QLJ7/error test-suite/yaml-test-suite-data/QLJ7/in.yaml test-suite/yaml-test-suite-data/QLJ7/test.event test-suite/yaml-test-suite-data/QT73/=== test-suite/yaml-test-suite-data/QT73/in.json test-suite/yaml-test-suite-data/QT73/in.yaml test-suite/yaml-test-suite-data/QT73/out.yaml test-suite/yaml-test-suite-data/QT73/test.event test-suite/yaml-test-suite-data/R4YG/=== test-suite/yaml-test-suite-data/R4YG/in.json test-suite/yaml-test-suite-data/R4YG/in.yaml test-suite/yaml-test-suite-data/R4YG/out.yaml test-suite/yaml-test-suite-data/R4YG/test.event test-suite/yaml-test-suite-data/R52L/=== test-suite/yaml-test-suite-data/R52L/in.json test-suite/yaml-test-suite-data/R52L/in.yaml test-suite/yaml-test-suite-data/R52L/out.yaml test-suite/yaml-test-suite-data/R52L/test.event test-suite/yaml-test-suite-data/RHX7/=== test-suite/yaml-test-suite-data/RHX7/error test-suite/yaml-test-suite-data/RHX7/in.yaml test-suite/yaml-test-suite-data/RHX7/test.event test-suite/yaml-test-suite-data/RLU9/=== test-suite/yaml-test-suite-data/RLU9/in.json test-suite/yaml-test-suite-data/RLU9/in.yaml test-suite/yaml-test-suite-data/RLU9/out.yaml test-suite/yaml-test-suite-data/RLU9/test.event test-suite/yaml-test-suite-data/RR7F/=== test-suite/yaml-test-suite-data/RR7F/in.json test-suite/yaml-test-suite-data/RR7F/in.yaml test-suite/yaml-test-suite-data/RR7F/out.yaml test-suite/yaml-test-suite-data/RR7F/test.event test-suite/yaml-test-suite-data/RTP8/=== test-suite/yaml-test-suite-data/RTP8/in.json test-suite/yaml-test-suite-data/RTP8/in.yaml test-suite/yaml-test-suite-data/RTP8/out.yaml test-suite/yaml-test-suite-data/RTP8/test.event test-suite/yaml-test-suite-data/RXY3/=== test-suite/yaml-test-suite-data/RXY3/error test-suite/yaml-test-suite-data/RXY3/in.yaml test-suite/yaml-test-suite-data/RXY3/test.event test-suite/yaml-test-suite-data/RZP5/=== test-suite/yaml-test-suite-data/RZP5/in.yaml test-suite/yaml-test-suite-data/RZP5/out.yaml test-suite/yaml-test-suite-data/RZP5/test.event test-suite/yaml-test-suite-data/RZT7/=== test-suite/yaml-test-suite-data/RZT7/in.json test-suite/yaml-test-suite-data/RZT7/in.yaml test-suite/yaml-test-suite-data/RZT7/out.yaml test-suite/yaml-test-suite-data/RZT7/test.event test-suite/yaml-test-suite-data/S3PD/=== test-suite/yaml-test-suite-data/S3PD/emit.yaml test-suite/yaml-test-suite-data/S3PD/in.yaml test-suite/yaml-test-suite-data/S3PD/test.event test-suite/yaml-test-suite-data/S4GJ/=== test-suite/yaml-test-suite-data/S4GJ/error test-suite/yaml-test-suite-data/S4GJ/in.yaml test-suite/yaml-test-suite-data/S4GJ/test.event test-suite/yaml-test-suite-data/S4JQ/=== test-suite/yaml-test-suite-data/S4JQ/in.json test-suite/yaml-test-suite-data/S4JQ/in.yaml test-suite/yaml-test-suite-data/S4JQ/out.yaml test-suite/yaml-test-suite-data/S4JQ/test.event test-suite/yaml-test-suite-data/S4T7/=== test-suite/yaml-test-suite-data/S4T7/in.json test-suite/yaml-test-suite-data/S4T7/in.yaml test-suite/yaml-test-suite-data/S4T7/test.event test-suite/yaml-test-suite-data/S7BG/=== test-suite/yaml-test-suite-data/S7BG/in.json test-suite/yaml-test-suite-data/S7BG/in.yaml test-suite/yaml-test-suite-data/S7BG/out.yaml test-suite/yaml-test-suite-data/S7BG/test.event test-suite/yaml-test-suite-data/S98Z/=== test-suite/yaml-test-suite-data/S98Z/error test-suite/yaml-test-suite-data/S98Z/in.yaml test-suite/yaml-test-suite-data/S98Z/test.event test-suite/yaml-test-suite-data/S9E8/=== test-suite/yaml-test-suite-data/S9E8/in.json test-suite/yaml-test-suite-data/S9E8/in.yaml test-suite/yaml-test-suite-data/S9E8/out.yaml test-suite/yaml-test-suite-data/S9E8/test.event test-suite/yaml-test-suite-data/SBG9/=== test-suite/yaml-test-suite-data/SBG9/in.yaml test-suite/yaml-test-suite-data/SBG9/out.yaml test-suite/yaml-test-suite-data/SBG9/test.event test-suite/yaml-test-suite-data/SF5V/=== test-suite/yaml-test-suite-data/SF5V/error test-suite/yaml-test-suite-data/SF5V/in.yaml test-suite/yaml-test-suite-data/SF5V/test.event test-suite/yaml-test-suite-data/SKE5/=== test-suite/yaml-test-suite-data/SKE5/in.json test-suite/yaml-test-suite-data/SKE5/in.yaml test-suite/yaml-test-suite-data/SKE5/out.yaml test-suite/yaml-test-suite-data/SKE5/test.event test-suite/yaml-test-suite-data/SM9W/00/=== test-suite/yaml-test-suite-data/SM9W/00/in.json test-suite/yaml-test-suite-data/SM9W/00/in.yaml test-suite/yaml-test-suite-data/SM9W/00/out.yaml test-suite/yaml-test-suite-data/SM9W/00/test.event test-suite/yaml-test-suite-data/SM9W/01/=== test-suite/yaml-test-suite-data/SM9W/01/in.yaml test-suite/yaml-test-suite-data/SM9W/01/out.yaml test-suite/yaml-test-suite-data/SM9W/01/test.event test-suite/yaml-test-suite-data/SR86/=== test-suite/yaml-test-suite-data/SR86/error test-suite/yaml-test-suite-data/SR86/in.yaml test-suite/yaml-test-suite-data/SR86/test.event test-suite/yaml-test-suite-data/SSW6/=== test-suite/yaml-test-suite-data/SSW6/in.json test-suite/yaml-test-suite-data/SSW6/in.yaml test-suite/yaml-test-suite-data/SSW6/out.yaml test-suite/yaml-test-suite-data/SSW6/test.event test-suite/yaml-test-suite-data/SU5Z/=== test-suite/yaml-test-suite-data/SU5Z/error test-suite/yaml-test-suite-data/SU5Z/in.yaml test-suite/yaml-test-suite-data/SU5Z/test.event test-suite/yaml-test-suite-data/SU74/=== test-suite/yaml-test-suite-data/SU74/error test-suite/yaml-test-suite-data/SU74/in.yaml test-suite/yaml-test-suite-data/SU74/test.event test-suite/yaml-test-suite-data/SY6V/=== test-suite/yaml-test-suite-data/SY6V/error test-suite/yaml-test-suite-data/SY6V/in.yaml test-suite/yaml-test-suite-data/SY6V/test.event test-suite/yaml-test-suite-data/SYW4/=== test-suite/yaml-test-suite-data/SYW4/in.json test-suite/yaml-test-suite-data/SYW4/in.yaml test-suite/yaml-test-suite-data/SYW4/out.yaml test-suite/yaml-test-suite-data/SYW4/test.event test-suite/yaml-test-suite-data/T26H/=== test-suite/yaml-test-suite-data/T26H/emit.yaml test-suite/yaml-test-suite-data/T26H/in.json test-suite/yaml-test-suite-data/T26H/in.yaml test-suite/yaml-test-suite-data/T26H/out.yaml test-suite/yaml-test-suite-data/T26H/test.event test-suite/yaml-test-suite-data/T4YY/=== test-suite/yaml-test-suite-data/T4YY/emit.yaml test-suite/yaml-test-suite-data/T4YY/in.json test-suite/yaml-test-suite-data/T4YY/in.yaml test-suite/yaml-test-suite-data/T4YY/out.yaml test-suite/yaml-test-suite-data/T4YY/test.event test-suite/yaml-test-suite-data/T5N4/=== test-suite/yaml-test-suite-data/T5N4/emit.yaml test-suite/yaml-test-suite-data/T5N4/in.json test-suite/yaml-test-suite-data/T5N4/in.yaml test-suite/yaml-test-suite-data/T5N4/out.yaml test-suite/yaml-test-suite-data/T5N4/test.event test-suite/yaml-test-suite-data/T833/=== test-suite/yaml-test-suite-data/T833/error test-suite/yaml-test-suite-data/T833/in.yaml test-suite/yaml-test-suite-data/T833/test.event test-suite/yaml-test-suite-data/TD5N/=== test-suite/yaml-test-suite-data/TD5N/error test-suite/yaml-test-suite-data/TD5N/in.yaml test-suite/yaml-test-suite-data/TD5N/test.event test-suite/yaml-test-suite-data/TE2A/=== test-suite/yaml-test-suite-data/TE2A/in.json test-suite/yaml-test-suite-data/TE2A/in.yaml test-suite/yaml-test-suite-data/TE2A/out.yaml test-suite/yaml-test-suite-data/TE2A/test.event test-suite/yaml-test-suite-data/TL85/=== test-suite/yaml-test-suite-data/TL85/in.json test-suite/yaml-test-suite-data/TL85/in.yaml test-suite/yaml-test-suite-data/TL85/out.yaml test-suite/yaml-test-suite-data/TL85/test.event test-suite/yaml-test-suite-data/TS54/=== test-suite/yaml-test-suite-data/TS54/in.json test-suite/yaml-test-suite-data/TS54/in.yaml test-suite/yaml-test-suite-data/TS54/out.yaml test-suite/yaml-test-suite-data/TS54/test.event test-suite/yaml-test-suite-data/U3C3/=== test-suite/yaml-test-suite-data/U3C3/in.json test-suite/yaml-test-suite-data/U3C3/in.yaml test-suite/yaml-test-suite-data/U3C3/out.yaml test-suite/yaml-test-suite-data/U3C3/test.event test-suite/yaml-test-suite-data/U3XV/=== test-suite/yaml-test-suite-data/U3XV/in.json test-suite/yaml-test-suite-data/U3XV/in.yaml test-suite/yaml-test-suite-data/U3XV/out.yaml test-suite/yaml-test-suite-data/U3XV/test.event test-suite/yaml-test-suite-data/U44R/=== test-suite/yaml-test-suite-data/U44R/error test-suite/yaml-test-suite-data/U44R/in.yaml test-suite/yaml-test-suite-data/U44R/test.event test-suite/yaml-test-suite-data/U99R/=== test-suite/yaml-test-suite-data/U99R/error test-suite/yaml-test-suite-data/U99R/in.yaml test-suite/yaml-test-suite-data/U99R/test.event test-suite/yaml-test-suite-data/U9NS/=== test-suite/yaml-test-suite-data/U9NS/in.json test-suite/yaml-test-suite-data/U9NS/in.yaml test-suite/yaml-test-suite-data/U9NS/test.event test-suite/yaml-test-suite-data/UDM2/=== test-suite/yaml-test-suite-data/UDM2/in.json test-suite/yaml-test-suite-data/UDM2/in.yaml test-suite/yaml-test-suite-data/UDM2/out.yaml test-suite/yaml-test-suite-data/UDM2/test.event test-suite/yaml-test-suite-data/UDR7/=== test-suite/yaml-test-suite-data/UDR7/in.json test-suite/yaml-test-suite-data/UDR7/in.yaml test-suite/yaml-test-suite-data/UDR7/out.yaml test-suite/yaml-test-suite-data/UDR7/test.event test-suite/yaml-test-suite-data/UGM3/=== test-suite/yaml-test-suite-data/UGM3/in.json test-suite/yaml-test-suite-data/UGM3/in.yaml test-suite/yaml-test-suite-data/UGM3/out.yaml test-suite/yaml-test-suite-data/UGM3/test.event test-suite/yaml-test-suite-data/UKK6/00/=== test-suite/yaml-test-suite-data/UKK6/00/in.yaml test-suite/yaml-test-suite-data/UKK6/00/test.event test-suite/yaml-test-suite-data/UKK6/01/=== test-suite/yaml-test-suite-data/UKK6/01/in.json test-suite/yaml-test-suite-data/UKK6/01/in.yaml test-suite/yaml-test-suite-data/UKK6/01/test.event test-suite/yaml-test-suite-data/UKK6/02/=== test-suite/yaml-test-suite-data/UKK6/02/in.yaml test-suite/yaml-test-suite-data/UKK6/02/test.event test-suite/yaml-test-suite-data/UT92/=== test-suite/yaml-test-suite-data/UT92/in.json test-suite/yaml-test-suite-data/UT92/in.yaml test-suite/yaml-test-suite-data/UT92/out.yaml test-suite/yaml-test-suite-data/UT92/test.event test-suite/yaml-test-suite-data/UV7Q/=== test-suite/yaml-test-suite-data/UV7Q/in.json test-suite/yaml-test-suite-data/UV7Q/in.yaml test-suite/yaml-test-suite-data/UV7Q/out.yaml test-suite/yaml-test-suite-data/UV7Q/test.event test-suite/yaml-test-suite-data/V55R/=== test-suite/yaml-test-suite-data/V55R/in.json test-suite/yaml-test-suite-data/V55R/in.yaml test-suite/yaml-test-suite-data/V55R/test.event test-suite/yaml-test-suite-data/V9D5/=== test-suite/yaml-test-suite-data/V9D5/in.yaml test-suite/yaml-test-suite-data/V9D5/test.event test-suite/yaml-test-suite-data/VJP3/00/=== test-suite/yaml-test-suite-data/VJP3/00/error test-suite/yaml-test-suite-data/VJP3/00/in.yaml test-suite/yaml-test-suite-data/VJP3/00/test.event test-suite/yaml-test-suite-data/VJP3/01/=== test-suite/yaml-test-suite-data/VJP3/01/emit.yaml test-suite/yaml-test-suite-data/VJP3/01/in.json test-suite/yaml-test-suite-data/VJP3/01/in.yaml test-suite/yaml-test-suite-data/VJP3/01/out.yaml test-suite/yaml-test-suite-data/VJP3/01/test.event test-suite/yaml-test-suite-data/W42U/=== test-suite/yaml-test-suite-data/W42U/in.json test-suite/yaml-test-suite-data/W42U/in.yaml test-suite/yaml-test-suite-data/W42U/out.yaml test-suite/yaml-test-suite-data/W42U/test.event test-suite/yaml-test-suite-data/W4TN/=== test-suite/yaml-test-suite-data/W4TN/in.json test-suite/yaml-test-suite-data/W4TN/in.yaml test-suite/yaml-test-suite-data/W4TN/out.yaml test-suite/yaml-test-suite-data/W4TN/test.event test-suite/yaml-test-suite-data/W5VH/=== test-suite/yaml-test-suite-data/W5VH/in.json test-suite/yaml-test-suite-data/W5VH/in.yaml test-suite/yaml-test-suite-data/W5VH/test.event test-suite/yaml-test-suite-data/W9L4/=== test-suite/yaml-test-suite-data/W9L4/error test-suite/yaml-test-suite-data/W9L4/in.yaml test-suite/yaml-test-suite-data/W9L4/test.event test-suite/yaml-test-suite-data/WZ62/=== test-suite/yaml-test-suite-data/WZ62/in.json test-suite/yaml-test-suite-data/WZ62/in.yaml test-suite/yaml-test-suite-data/WZ62/out.yaml test-suite/yaml-test-suite-data/WZ62/test.event test-suite/yaml-test-suite-data/X38W/=== test-suite/yaml-test-suite-data/X38W/in.yaml test-suite/yaml-test-suite-data/X38W/out.yaml test-suite/yaml-test-suite-data/X38W/test.event test-suite/yaml-test-suite-data/X4QW/=== test-suite/yaml-test-suite-data/X4QW/error test-suite/yaml-test-suite-data/X4QW/in.yaml test-suite/yaml-test-suite-data/X4QW/test.event test-suite/yaml-test-suite-data/X8DW/=== test-suite/yaml-test-suite-data/X8DW/in.json test-suite/yaml-test-suite-data/X8DW/in.yaml test-suite/yaml-test-suite-data/X8DW/out.yaml test-suite/yaml-test-suite-data/X8DW/test.event test-suite/yaml-test-suite-data/XLQ9/=== test-suite/yaml-test-suite-data/XLQ9/in.json test-suite/yaml-test-suite-data/XLQ9/in.yaml test-suite/yaml-test-suite-data/XLQ9/out.yaml test-suite/yaml-test-suite-data/XLQ9/test.event test-suite/yaml-test-suite-data/XV9V/=== test-suite/yaml-test-suite-data/XV9V/in.json test-suite/yaml-test-suite-data/XV9V/in.yaml test-suite/yaml-test-suite-data/XV9V/out.yaml test-suite/yaml-test-suite-data/XV9V/test.event test-suite/yaml-test-suite-data/XW4D/=== test-suite/yaml-test-suite-data/XW4D/in.yaml test-suite/yaml-test-suite-data/XW4D/out.yaml test-suite/yaml-test-suite-data/XW4D/test.event test-suite/yaml-test-suite-data/Y2GN/=== test-suite/yaml-test-suite-data/Y2GN/in.json test-suite/yaml-test-suite-data/Y2GN/in.yaml test-suite/yaml-test-suite-data/Y2GN/out.yaml test-suite/yaml-test-suite-data/Y2GN/test.event test-suite/yaml-test-suite-data/Y79Y/000/=== test-suite/yaml-test-suite-data/Y79Y/000/error test-suite/yaml-test-suite-data/Y79Y/000/in.yaml test-suite/yaml-test-suite-data/Y79Y/000/test.event test-suite/yaml-test-suite-data/Y79Y/001/=== test-suite/yaml-test-suite-data/Y79Y/001/in.json test-suite/yaml-test-suite-data/Y79Y/001/in.yaml test-suite/yaml-test-suite-data/Y79Y/001/out.yaml test-suite/yaml-test-suite-data/Y79Y/001/test.event test-suite/yaml-test-suite-data/Y79Y/002/=== test-suite/yaml-test-suite-data/Y79Y/002/in.json test-suite/yaml-test-suite-data/Y79Y/002/in.yaml test-suite/yaml-test-suite-data/Y79Y/002/out.yaml test-suite/yaml-test-suite-data/Y79Y/002/test.event test-suite/yaml-test-suite-data/Y79Y/003/=== test-suite/yaml-test-suite-data/Y79Y/003/error test-suite/yaml-test-suite-data/Y79Y/003/in.yaml test-suite/yaml-test-suite-data/Y79Y/003/out.yaml test-suite/yaml-test-suite-data/Y79Y/003/test.event test-suite/yaml-test-suite-data/Y79Y/004/=== test-suite/yaml-test-suite-data/Y79Y/004/error test-suite/yaml-test-suite-data/Y79Y/004/in.yaml test-suite/yaml-test-suite-data/Y79Y/004/out.yaml test-suite/yaml-test-suite-data/Y79Y/004/test.event test-suite/yaml-test-suite-data/Y79Y/005/=== test-suite/yaml-test-suite-data/Y79Y/005/error test-suite/yaml-test-suite-data/Y79Y/005/in.yaml test-suite/yaml-test-suite-data/Y79Y/005/out.yaml test-suite/yaml-test-suite-data/Y79Y/005/test.event test-suite/yaml-test-suite-data/Y79Y/006/=== test-suite/yaml-test-suite-data/Y79Y/006/error test-suite/yaml-test-suite-data/Y79Y/006/in.yaml test-suite/yaml-test-suite-data/Y79Y/006/out.yaml test-suite/yaml-test-suite-data/Y79Y/006/test.event test-suite/yaml-test-suite-data/Y79Y/007/=== test-suite/yaml-test-suite-data/Y79Y/007/error test-suite/yaml-test-suite-data/Y79Y/007/in.yaml test-suite/yaml-test-suite-data/Y79Y/007/out.yaml test-suite/yaml-test-suite-data/Y79Y/007/test.event test-suite/yaml-test-suite-data/Y79Y/008/=== test-suite/yaml-test-suite-data/Y79Y/008/error test-suite/yaml-test-suite-data/Y79Y/008/in.yaml test-suite/yaml-test-suite-data/Y79Y/008/out.yaml test-suite/yaml-test-suite-data/Y79Y/008/test.event test-suite/yaml-test-suite-data/Y79Y/009/=== test-suite/yaml-test-suite-data/Y79Y/009/error test-suite/yaml-test-suite-data/Y79Y/009/in.yaml test-suite/yaml-test-suite-data/Y79Y/009/out.yaml test-suite/yaml-test-suite-data/Y79Y/009/test.event test-suite/yaml-test-suite-data/Y79Y/010/=== test-suite/yaml-test-suite-data/Y79Y/010/in.json test-suite/yaml-test-suite-data/Y79Y/010/in.yaml test-suite/yaml-test-suite-data/Y79Y/010/out.yaml test-suite/yaml-test-suite-data/Y79Y/010/test.event test-suite/yaml-test-suite-data/YD5X/=== test-suite/yaml-test-suite-data/YD5X/in.json test-suite/yaml-test-suite-data/YD5X/in.yaml test-suite/yaml-test-suite-data/YD5X/out.yaml test-suite/yaml-test-suite-data/YD5X/test.event test-suite/yaml-test-suite-data/YJV2/=== test-suite/yaml-test-suite-data/YJV2/error test-suite/yaml-test-suite-data/YJV2/in.yaml test-suite/yaml-test-suite-data/YJV2/test.event test-suite/yaml-test-suite-data/Z67P/=== test-suite/yaml-test-suite-data/Z67P/in.json test-suite/yaml-test-suite-data/Z67P/in.yaml test-suite/yaml-test-suite-data/Z67P/out.yaml test-suite/yaml-test-suite-data/Z67P/test.event test-suite/yaml-test-suite-data/Z9M4/=== test-suite/yaml-test-suite-data/Z9M4/in.json test-suite/yaml-test-suite-data/Z9M4/in.yaml test-suite/yaml-test-suite-data/Z9M4/out.yaml test-suite/yaml-test-suite-data/Z9M4/test.event test-suite/yaml-test-suite-data/ZCZ6/=== test-suite/yaml-test-suite-data/ZCZ6/error test-suite/yaml-test-suite-data/ZCZ6/in.yaml test-suite/yaml-test-suite-data/ZCZ6/test.event test-suite/yaml-test-suite-data/ZF4X/=== test-suite/yaml-test-suite-data/ZF4X/in.json test-suite/yaml-test-suite-data/ZF4X/in.yaml test-suite/yaml-test-suite-data/ZF4X/out.yaml test-suite/yaml-test-suite-data/ZF4X/test.event test-suite/yaml-test-suite-data/ZH7C/=== test-suite/yaml-test-suite-data/ZH7C/in.json test-suite/yaml-test-suite-data/ZH7C/in.yaml test-suite/yaml-test-suite-data/ZH7C/test.event test-suite/yaml-test-suite-data/ZK9H/=== test-suite/yaml-test-suite-data/ZK9H/in.json test-suite/yaml-test-suite-data/ZK9H/in.yaml test-suite/yaml-test-suite-data/ZK9H/out.yaml test-suite/yaml-test-suite-data/ZK9H/test.event test-suite/yaml-test-suite-data/ZL4Z/=== test-suite/yaml-test-suite-data/ZL4Z/error test-suite/yaml-test-suite-data/ZL4Z/in.yaml test-suite/yaml-test-suite-data/ZL4Z/test.event test-suite/yaml-test-suite-data/ZVH3/=== test-suite/yaml-test-suite-data/ZVH3/error test-suite/yaml-test-suite-data/ZVH3/in.yaml test-suite/yaml-test-suite-data/ZVH3/test.event test-suite/yaml-test-suite-data/ZWK4/=== test-suite/yaml-test-suite-data/ZWK4/in.json test-suite/yaml-test-suite-data/ZWK4/in.yaml test-suite/yaml-test-suite-data/ZWK4/out.yaml test-suite/yaml-test-suite-data/ZWK4/test.event test-suite/yaml-test-suite-data/ZXT5/=== test-suite/yaml-test-suite-data/ZXT5/error test-suite/yaml-test-suite-data/ZXT5/in.yaml test-suite/yaml-test-suite-data/ZXT5/test.event xt/02.pod-cover.t xt/03.spelling.t xt/04.pod.t YAML-PP-v0.43.0/PaxHeaders/META.yml0000644000000000000000000000013215263373362013404 xustar0030 mtime=1791882994.973431749 30 atime=1791882994.973327475 30 ctime=1791882994.973431749 YAML-PP-v0.43.0/META.yml0000644000175000017500000000726015263373362013043 0ustar00tinatina--- abstract: 'YAML 1.2 Processor' author: - 'Tina Müller ' build_requires: File::Spec: '0' FindBin: '0' IO::File: '0' IO::Handle: '0' IPC::Open3: '0' Test::More: '0.98' Test::Warnings: '0.005' lib: '0' configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 0 generated_by: 'Dist::Zilla version 6.032, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: '1.4' name: YAML-PP provides: YAML::PP: file: lib/YAML/PP.pm version: v0.43.0 YAML::PP::Common: file: lib/YAML/PP/Common.pm version: v0.43.0 YAML::PP::Constructor: file: lib/YAML/PP/Constructor.pm version: v0.43.0 YAML::PP::Dumper: file: lib/YAML/PP/Dumper.pm version: v0.43.0 YAML::PP::Emitter: file: lib/YAML/PP/Emitter.pm version: v0.43.0 YAML::PP::Exception: file: lib/YAML/PP/Exception.pm version: v0.43.0 YAML::PP::Grammar: file: lib/YAML/PP/Grammar.pm version: v0.43.0 YAML::PP::Highlight: file: lib/YAML/PP/Highlight.pm version: v0.43.0 YAML::PP::Lexer: file: lib/YAML/PP/Lexer.pm version: v0.43.0 YAML::PP::Loader: file: lib/YAML/PP/Loader.pm version: v0.43.0 YAML::PP::Parser: file: lib/YAML/PP/Parser.pm version: v0.43.0 YAML::PP::Perl: file: lib/YAML/PP/Perl.pm version: v0.43.0 YAML::PP::Preserve::Array: file: lib/YAML/PP.pm version: v0.43.0 YAML::PP::Preserve::Hash: file: lib/YAML/PP.pm version: v0.43.0 YAML::PP::Preserve::Scalar: file: lib/YAML/PP.pm version: v0.43.0 YAML::PP::Reader: file: lib/YAML/PP/Reader.pm version: v0.43.0 YAML::PP::Reader::File: file: lib/YAML/PP/Reader.pm version: v0.43.0 YAML::PP::Render: file: lib/YAML/PP/Render.pm version: v0.43.0 YAML::PP::Representer: file: lib/YAML/PP/Representer.pm version: v0.43.0 YAML::PP::Schema: file: lib/YAML/PP/Schema.pm version: v0.43.0 YAML::PP::Schema::Binary: file: lib/YAML/PP/Schema/Binary.pm version: v0.43.0 YAML::PP::Schema::Catchall: file: lib/YAML/PP/Schema/Catchall.pm version: v0.43.0 YAML::PP::Schema::Core: file: lib/YAML/PP/Schema/Core.pm version: v0.43.0 YAML::PP::Schema::Failsafe: file: lib/YAML/PP/Schema/Failsafe.pm version: v0.43.0 YAML::PP::Schema::Include: file: lib/YAML/PP/Schema/Include.pm version: v0.43.0 YAML::PP::Schema::JSON: file: lib/YAML/PP/Schema/JSON.pm version: v0.43.0 YAML::PP::Schema::Merge: file: lib/YAML/PP/Schema/Merge.pm version: v0.43.0 YAML::PP::Schema::Perl: file: lib/YAML/PP/Schema/Perl.pm version: v0.43.0 YAML::PP::Schema::Tie::IxHash: file: lib/YAML/PP/Schema/Tie/IxHash.pm version: v0.43.0 YAML::PP::Schema::YAML1_1: file: lib/YAML/PP/Schema/YAML1_1.pm version: v0.43.0 YAML::PP::Type::MergeKey: file: lib/YAML/PP/Type/MergeKey.pm version: v0.43.0 YAML::PP::Writer: file: lib/YAML/PP/Writer.pm version: v0.43.0 YAML::PP::Writer::File: file: lib/YAML/PP/Writer/File.pm version: v0.43.0 requires: B: '0' B::Deparse: '0' Carp: '0' Data::Dumper: '0' Encode: '0' Exporter: '0' File::Basename: '0' File::Spec: '0' Getopt::Long: '0' MIME::Base64: '0' Module::Load: '0' Scalar::Util: '1.07' Tie::Array: '0' Tie::Hash: '0' base: '0' constant: '0' overload: '0' perl: v5.8.0 strict: '0' warnings: '0' resources: bugtracker: https://github.com/perlpunk/YAML-PP-p5/issues repository: https://github.com/perlpunk/YAML-PP-p5 version: v0.43.0 x_generated_by_perl: v5.42.0 x_serialization_backend: 'YAML::Tiny version 1.76' x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later' YAML-PP-v0.43.0/PaxHeaders/Changes0000644000000000000000000000013215263373362013426 xustar0030 mtime=1791882994.973327475 30 atime=1791882994.973193309 30 ctime=1791882994.973327475 YAML-PP-v0.43.0/Changes0000644000175000017500000003251115263373362013062 0ustar00tinatinaRevision history for Perl module YAML::PP v0.43.0 2026-10-13 11:12:25+02:00 - Fix YAML::PP::Schema::Imclude: load File::Spec (#62 @schlad) v0.42 2026-10-11 17:04:54+02:00 - Improve startup time a bit by removing unused modules or lazy-load them. Issue #57, PR #60 (original PR #58 @oalders) v0.41.0 2026-06-17 22:01:34+02:00 - tests: replace Test::Warn with Test::Warnings (PR #59, @haarg) - Fix test suite tag data v0.40.0 2026-04-24 16:51:28+02:00 - Security: Limit default allowed maximum nesting level. Set it via new option 'max_depth'. v0.39.0 2025-02-10 00:01:45+01:00 - Allow unknown tags again, reverting the previous change in v0.38.1 which only was supposed to be a dev release - Add new option require_footer v0.38.1 2025-01-25 00:30:13+01:00 - Add --duplicate-keys commandline flag - Forbid unknown tags by default - Add a 'Catchall' schema to allow unknen tags - Add a --catchall commandline flag v0.38.0 2024-01-30 00:22:42+01:00 - Add support for builtin booleans by default - Add FAQ - Add --cyclic option to yamlpp-load(-dump) v0.37.0 2023-11-09 16:46:43+01:00 - Breaking change: Make cyclic_refs fatal by default for safety, like announced (avoid memory leaks) - Add support for plain scalars ending with colons (Issue #48, ingy++) 0.036 2023-05-10 17:09:48+02:00 - Add option -dumpcode to turn of dumping coderefs in YAML::PP::Schema::Perl - ci updates 0.035 2022-09-30 21:16:16+02:00 - Fix parsing alias as mapping key - Support emitting folded block scalars. Now any input should be able to output as a folded block scalar correctly. Preserving scalar styles will now also preserve those 0.034 2022-06-30 10:31:56+02:00 - Fix parsing empty folded block scalars with trailing linebreaks - Fix error handling (remaining tokens on invalid input) - Support experimental v5.36 booleans - Allow to specify multiple boolean classes (issue #37) 0.033 2022-06-27 16:31:32+02:00 - Fix add_mapping_resolver + on_create (tie existing data) 0.032 2022-03-08 19:02:00+01:00 - Add missing '~' to allowed chars in tags - Restructure directive parsing a bit - Support YAML::PP::Ref in yamlpp-* utility scripts - Add -P to yaml-load-dump --preserve - Add --dump option to yamlpp-parse-emit - yamlpp-load-dump -D JSON::PP: don't output space before colon - Add export tags to YAML::PP::Common - Update yaml-test-suite to 2022-01-17 0.031 2021-12-25 23:43:19+01:00 - Fix several rare test cases: - Support literal escaped tabs - Allow only one digit for block scalar indent indicator - Allow comments at the end of directives - Match word boundary after '%YAML' - Allow tabs and multiple spaces between directive elements - Forbid lines starting with tabs in block mode - After tabs no further indentation elements allowed 0.030 2021-11-07 21:57:28+01:00 - preserve: Keep existing data (issue #44) - Forbid directive without directive end marker - Support explicit empty key/value pairs in flow mappings - Enforce EOL after end of flow context - Forbid multiple question marks in flow mappings 0.029 2021-10-25 00:02:53+02:00 - Fix basic implicit mappings in flow sequences, e.g. [a, b: c, d] 0.028 2021-10-21 22:00:36+02:00 - Fix empty values with properties in flow mappings and sequences (`[ &foo , bar]`, `{ &foo , k: v }`) - Fix: Allow comment lines with tabs in flow - Fix: parsing of explicit block indenting (issue #46) - Automatically tie new hashes inside tied hashes (issue #44) - yamlpp-load-dump: Add options --dump-module and --include* - docs: Add mising constants (issue #45) 0.027 2021-04-09 11:13:28+02:00 - Forbid duplicate keys by default like announced in 0.026 - Add possibility to preserve alias names (see 'preserve' option) - Highlighter: Add option to expand tabs in ansi color mode - yamlpp-events: Add option --module - Improve error message when trying to load an undefined alias - Fix a test for perl 5.8.8 0.026 2020-09-11 00:39:09+02:00 - Add option 'duplicate_keys'. The default allows it for now and will change to forbid in the next release. 0.025 2020-09-06 22:14:07+02:00 - Emitter: Fix indentation issues for non-default indents - Emitter: Add option 'width' for maximum columns - Improve error message for unhandled reftypes 0.024 2020-08-17 12:07:01+02:00 - Parser: fix flow mappings on one line - Improve utility tools yamlpp-load(-dump) (add new options --merge, --perl and --module) #35 - Minor improvements to emitter scalar style output - Emitter supports flow style - Support for preserving flow style in Loader/Dumper - Create preserved nodes from scratch with preserved_* methods - Minor fixes for the Perl schema and globs - Update testsuite to data-2020-08-01 0.023 2020-07-09 22:09:50+02:00 - Support loading and dumping typeglobs. Issue #15 - Dumper: Don't use aliases for JSON::PP/boolean.pm booleans, because they alwas use the same reference. Issue #32 - Fix float comparison in test. Issue #33 - Make aliases in custom tags work - YAML::PP::Highlight: colorize mapping keys 0.022 2020-05-04 17:40:36+02:00 - Emitter: Also quote if string starts with '...' - Emitter: Fix bug when emitting complex keys - Preserve also quoting style of hash keys - Schema: Fix YAML 1.1 integers (no keading zeros) - Scripts: Rename yamlpp5- to yamlpp- and symlink - Scripts: Add options to yamlpp-load-dump - Tests: Support reporting flow style in testsuite event output - Tests: Restructure schema tests and outsource test data - Events: Make version_directive compatible to libyaml - Docs: Restructure 0.021 2020-02-27 19:04:58+01:00 - Add option 'preserve' for preserving hash key order and quoting style when loading and dumping 0.020 2020-02-17 15:35:44+01:00 - Change default schema from JSON to Core (this change was supposed to go in 0.019 but wasn't completely done) - Add option version_directive (print %YAML 1.2) - Add option yaml_version - Add support for detecting the right schema depending on the YAML version directive - Support both %YAML and %TAG directive for a document - Improve emitter (output footer ... after open-ended block scalars) - Improve emitter (quote strings starting with `---` to reduce ambiguity for the reader) 0.019 2020-02-13 16:06:56+01:00 - Important (and possibly breaking) changes: - Change default schema from JSON to Core. Reason: This is the recommended Schema for YAML 1.2, and what people would expect to be the default. - load* in scalar context returns first document. Reason: I think this is the most reasonable behaviour, and it will continue to work the same if you later add documents to a file. - Empty nodes in YAML 1.2 JSON Schema resolve to '' by default like before, but now it can be configured - Fix some control character escaping and encoding issues (issue#16, issue#17) YAML::PP will now just assume all input data are unicode characters and won't do an explicit utf8::upgrade - Fix Core schema resolver for inf: add +.inf, +.Inf, +.INF - Improve emitter regarding empty lists/hashes (no newline before []/{}) - Spelling and grammar fixes (PR#23 @gregoa) - Fix YAML::PP::Grammar pod (PR#22 @gregoa) - Fix yamlpp5-load-dump - Fix error tokens output - Update yaml-test-suite to data-2020-02-11 0.018 2019-07-06 19:40:10+02:00 - Turn scalar style constants into numbers - Deprecate YAML_QUOTED_SCALAR_STYLE 0.017 2019-06-29 14:34:17+02:00 - Add Include plugin - Allow to only bless specific classes for Perl Schema - YAML::PP accepts existing schema in constructor - subschema can be an object - Switch the order of 'equals' and regex tag resolvers 0.016 2019-05-20 12:37:01+02:00 - Change load methods to return the last document in scalar context for compatibility with other YAML loaders - Fix Lexer/Emitter (allowing/forbidding special characters in plain scalars) - Custom representer must fill $node->{data} - Dump: uptf8::upgrade input value (so it can store binary data) 0.015 2019-05-14 21:00:59+02:00 - Support Mac \r and Win \r\n line endings - Add options header and footer - Add support for merge keys 0.014 2019-05-07 21:46:56+02:00 - Change tagtype option in Perl Schema (e.g. tag=!perl+!!perl) - Change on_data handler to pass a reference 0.013 2019-04-30 16:02:52+02:00 - Add option "indent" for dumping - Support both !perl/ and !!perl/ tags - Change default schema from Core to JSON - Add YAML::PP::Schema::Binary for representing binary data 0.012 2019-04-14 14:02:36+02:00 - Fix bug in emitter (strings starting with % must be quoted) - Implement loading of schema classes not prefixed with YAML::PP::Schema (PR#8 @pplu) - Implement loading of perl objects - Fix line number of multiline tokens - Refactor parser/lexer. All tokens (except indentation) are now parsed by the grammar. - Change arguments of resolver callback - Add a catchall resolver for scalars 0.011 2019-03-23 12:03:12+01:00 - Add YAML::PP::Common; use constants for YAML styles - Add YAML::PP::Schema::Perl - Dump perl objects, coderefs etc. - Add YAML::PP::Schema::Tie::IxHash - keep order of hashes - Add YAML::PP::Schema::YAML1_1 - Add class_isa representer (PR#7 @pplu) - Add exceptions in tests for broken inf - Refactor schema testing - Fix indent bugs in emitter (aliases, empty lists/mappings) - Fix bug in emitter for values starting with '? ' or '- ' - Add missing resolvers to Core and YAML1_1 Schema 0.010 2018-11-02 12:53:41+01:00 - Fix regex for start of plain scalars - Large refactoring of lexer/parser. - Adjacent flow mapping values are now supported (JSON compat: `{"foo":23}`) - Empty flow mapping values are now supported - Fix nested flow collections 0.009 2018-09-30 14:10:15+02:00 - Fix yamlpp5-highlight bug from v0.008 - load_file(), LoadFile(), dump_file() and DumpFile() can take filehandles 0.008 2018-09-24 21:49:42+02:00 - Support perl 5.8 - Fix bug in folded block scalar parsing - Support multiple document end markers without content - Allow tabs at the beginning of line for flow nodes - Optimize reading input with many lines - Some internal changes - Refactor test suite - Add YAML::PP::Highlight::Dump() 0.007 2018-06-20 21:36:26+02:00 - Support .inf/.nan - Always output decimal point when dumping floats - YAML directive needs space - Improve emitter - Output multiline strings as literal block scalars - Fix regex for integers in Core Schema - Fix dumping of dualvars - Fix emitting of empty strings - Improve emitter scalar styles - Allow zero indented sequences for complex mapping keys/values - Fix parsing empty quoted strings 0.006 2018-04-01 22:59:31+02:00 - Support YAML Failsafe, JSON and Core Schema - Add dump_file, DumpFile - Add YAML::PP::Writer - Add YAML::PP::Representer - Detect cyclic references when loading - perl boolean false is now the empty string instead of 0 - Add column numbers to error messages - Fixed various bugs in Emitter - Can now emit empty collections like [], {} 0.005 2017-11-23 17:09:55+01:00 - Support reading files - Replace load() with load_string(), dump() with dump_string() - Support legacy interface functions Load, LoadFile, Dump - ... and --- are now correctly invalid in quoted scalars - Improve block scalar handling, passing two more tests - Improve multiline plain handling, passing another test - Partial implementation of flow style collections - Allow unicode in alias/anchor names - Document header at the end is now recognized - Support all valid escapes in double quotes - ...and forbid invalid ones - Multiline quoted strings must be indented - Forbid sequence or mapping as a mapping value on the same line - Forbit sequence after an anchor/tag on the same line 0.004 2017-09-15 13:30:50+02:00 - Improve regex for plain scalars - Support literal unicode characters - Reject undefined tag shorthand handles - Fix JSON test - Update yaml-test-suite 0.003_002 2017-09-09 16:27:28+02:00 - Lots of refactoring - Lots of little bugfixes - Split Loader into Constructor - Add yaml-test-suite to release tarball - Add a Lexer - Better error messages - Add a highlighter for HTML and ANSI colors - Dumper can dump aliases/anchors now 0.003_001 2017-08-07 23:29:51+02:00 - Fix some parsing bugs for quoted strings - Add Dumper and Emitter 0.003 2017-05-31 23:35:44+02:00 - Changes for new Loader API 0.002 2017-04-30 19:07:48+02:00 - Loader: Support stringification of complex mapping keys - Improve regexes for mapping keys, tags, anchors/aliases - Improve number support (int, float, oct, hex) - Reserved directives generate a warning now - Support Carriage Return as line break - Support missing final line break - Make JSON::PP optional in test - Fix bug for perl <= 5.22 0.001 Thu Apr 20 20:46:43 2017 +0200 - First Release YAML-PP-v0.43.0/PaxHeaders/LICENSE0000644000000000000000000000013215263373362013140 xustar0030 mtime=1791882994.973193309 30 atime=1791882994.972419115 30 ctime=1791882994.973193309 YAML-PP-v0.43.0/LICENSE0000644000175000017500000004630115263373362012576 0ustar00tinatinaThis software is copyright (c) 2026 by Tina Müller. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Terms of the Perl programming language system itself a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or b) the "Artistic License" --- The GNU General Public License, Version 1, February 1989 --- This software is Copyright (c) 2026 by Tina Müller. This is free software, licensed under: The GNU General Public License, Version 1, February 1989 GNU GENERAL PUBLIC LICENSE Version 1, February 1989 Copyright (C) 1989 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The license agreements of most software companies try to keep users at the mercy of those companies. By contrast, our General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. The General Public License applies to the Free Software Foundation's software and to any other program whose authors commit to using it. You can use it for your programs, too. When we speak of free software, we are referring to freedom, not price. Specifically, the General Public License is designed to make sure that you have the freedom to give away or sell copies of free software, that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of a such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must tell them their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any work containing the Program or a portion of it, either verbatim or with modifications. Each licensee is addressed as "you". 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this General Public License and to the absence of any warranty; and give any other recipients of the Program a copy of this General Public License along with the Program. You may charge a fee for the physical act of transferring a copy. 2. You may modify your copy or copies of the Program or any portion of it, and copy and distribute such modifications under the terms of Paragraph 1 above, provided that you also do the following: a) cause the modified files to carry prominent notices stating that you changed the files and the date of any change; and b) cause the whole of any work that you distribute or publish, that in whole or in part contains the Program or any part thereof, either with or without modifications, to be licensed at no charge to all third parties under the terms of this General Public License (except that you may choose to grant warranty protection to some or all third parties, at your option). c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the simplest and most usual way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this General Public License. d) You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. Mere aggregation of another independent work with the Program (or its derivative) on a volume of a storage or distribution medium does not bring the other work under the scope of these terms. 3. You may copy and distribute the Program (or a portion or derivative of it, under Paragraph 2) in object code or executable form under the terms of Paragraphs 1 and 2 above provided that you also do one of the following: a) accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Paragraphs 1 and 2 above; or, b) accompany it with a written offer, valid for at least three years, to give any third party free (except for a nominal charge for the cost of distribution) a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Paragraphs 1 and 2 above; or, c) accompany it with the information you received as to where the corresponding source code may be obtained. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form alone.) Source code for a work means the preferred form of the work for making modifications to it. For an executable file, complete source code means all the source code for all modules it contains; but, as a special exception, it need not include source code for modules which are standard libraries that accompany the operating system on which the executable file runs, or for standard header files or definitions files that accompany that operating system. 4. You may not copy, modify, sublicense, distribute or transfer the Program except as expressly provided under this General Public License. Any attempt otherwise to copy, modify, sublicense, distribute or transfer the Program is void, and will automatically terminate your rights to use the Program under this License. However, parties who have received copies, or rights to use copies, from you under this General Public License will not have their licenses terminated so long as such parties remain in full compliance. 5. By copying, distributing or modifying the Program (or any work based on the Program) you indicate your acceptance of this license to do so, and all its terms and conditions. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. 7. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of the license which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the license, you may choose any version ever published by the Free Software Foundation. 8. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS Appendix: How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to humanity, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) 19yy This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, see . Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) 19xx name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (a program to direct compilers to make passes at assemblers) written by James Hacker. , 1 April 1989 Moe Ghoul, President of Vice That's all there is to it! --- The Perl Artistic License 1.0 --- This software is Copyright (c) 2026 by Tina Müller. This is free software, licensed under: The Perl Artistic License 1.0 The "Artistic License" Preamble The intent of this document is to state the conditions under which a Package may be copied, such that the Copyright Holder maintains some semblance of artistic control over the development of the package, while giving the users of the package the right to use and distribute the Package in a more-or-less customary fashion, plus the right to make reasonable modifications. Definitions: "Package" refers to the collection of files distributed by the Copyright Holder, and derivatives of that collection of files created through textual modification. "Standard Version" refers to such a Package if it has not been modified, or has been modified in accordance with the wishes of the Copyright Holder as specified below. "Copyright Holder" is whoever is named in the copyright or copyrights for the package. "You" is you, if you're thinking about copying or distributing this Package. "Reasonable copying fee" is whatever you can justify on the basis of media cost, duplication charges, time of people involved, and so on. (You will not be required to justify it to the Copyright Holder, but only to the computing community at large as a market that must bear the fee.) "Freely Available" means that no fee is charged for the item itself, though there may be fees involved in handling the item. It also means that recipients of the item may redistribute it under the same conditions they received it. 1. You may make and give away verbatim copies of the source form of the Standard Version of this Package without restriction, provided that you duplicate all of the original copyright notices and associated disclaimers. 2. You may apply bug fixes, portability fixes and other modifications derived from the Public Domain or from the Copyright Holder. A Package modified in such a way shall still be considered the Standard Version. 3. You may otherwise modify your copy of this Package in any way, provided that you insert a prominent notice in each changed file stating how and when you changed that file, and provided that you do at least ONE of the following: a) place your modifications in the Public Domain or otherwise make them Freely Available, such as by posting said modifications to Usenet or an equivalent medium, or placing the modifications on a major archive site such as uunet.uu.net, or by allowing the Copyright Holder to include your modifications in the Standard Version of the Package. b) use the modified Package only within your corporation or organization. c) rename any non-standard executables so the names do not conflict with standard executables, which must also be provided, and provide a separate manual page for each non-standard executable that clearly documents how it differs from the Standard Version. d) make other distribution arrangements with the Copyright Holder. 4. You may distribute the programs of this Package in object code or executable form, provided that you do at least ONE of the following: a) distribute a Standard Version of the executables and library files, together with instructions (in the manual page or equivalent) on where to get the Standard Version. b) accompany the distribution with the machine-readable source of the Package with your modifications. c) give non-standard executables non-standard names, and clearly document the differences in manual pages (or equivalent), together with instructions on where to get the Standard Version. d) make other distribution arrangements with the Copyright Holder. 5. You may charge a reasonable copying fee for any distribution of this Package. You may charge any fee you choose for support of this Package. You may not charge a fee for this Package itself. However, you may distribute this Package in aggregate with other (possibly commercial) programs as part of a larger (possibly commercial) software distribution provided that you do not advertise this Package as a product of your own. You may embed this Package's interpreter within an executable of yours (by linking); this shall be construed as a mere form of aggregation, provided that the complete Standard Version of the interpreter is so embedded. 6. The scripts and library files supplied as input to or produced as output from the programs of this Package do not automatically fall under the copyright of this Package, but belong to whoever generated them, and may be sold commercially, and may be aggregated with this Package. If such scripts or library files are aggregated with this Package via the so-called "undump" or "unexec" methods of producing a binary executable image, then distribution of such an image shall neither be construed as a distribution of this Package nor shall it fall under the restrictions of Paragraphs 3 and 4, provided that you do not represent such an executable image as a Standard Version of this Package. 7. C subroutines (or comparably compiled subroutines in other languages) supplied by you and linked into this Package in order to emulate subroutines and variables of the language defined by this Package shall not be considered part of this Package, but are the equivalent of input as in Paragraph 6, provided these subroutines do not change the language in any way that would cause it to fail the regression tests for the language. 8. Aggregation of this Package with a commercial distribution is always permitted provided that the use of this Package is embedded; that is, when no overt attempt is made to make this Package's interfaces visible to the end user of the commercial distribution. Such use shall not be construed as a distribution of this Package. 9. The name of the Copyright Holder may not be used to endorse or promote products derived from this software without specific prior written permission. 10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. The End