Initial commit of third_party/PyYAML:

Both @jlowdermilk and I have tried to use this for initial
configuration work. It's cheaper just to import it for now:

Name: PyYAML
Version: 3.11
Summary: YAML parser and emitter for Python
Home-page: http://pyyaml.org/wiki/PyYAML
Author: Kirill Simonov
Author-email: xi@resolvent.net
License: MIT
Download-URL: http://pyyaml.org/download/pyyaml/PyYAML-3.11.tar.gz
Description: YAML is a data serialization format designed for human readability
        and interaction with scripting languages.  PyYAML is a YAML parser
        and emitter for Python.

        PyYAML features a complete YAML 1.1 parser, Unicode support, pickle
        support, capable extension API, and sensible error messages.  PyYAML
        supports standard YAML tags and provides Python-specific tags that
        allow to represent an arbitrary Python object.

        PyYAML is applicable for a broad range of tasks from complex
        configuration files to object serialization and persistance.
This commit is contained in:
Zach Loafman
2015-03-10 12:56:15 -07:00
parent c542518ed6
commit 43b1668dae
652 changed files with 44643 additions and 0 deletions

View File

@@ -0,0 +1 @@
[ [

View File

@@ -0,0 +1 @@
[ today, today ]

View File

@@ -0,0 +1,8 @@
- !StreamStart
- !DocumentStart
- !SequenceStart
- !Scalar { anchor: 'myanchor', tag: '!mytag', value: 'data' }
- !Alias { anchor: 'myanchor' }
- !SequenceEnd
- !DocumentEnd
- !StreamEnd

View File

@@ -0,0 +1,4 @@
- yes
- NO
- True
- on

View File

@@ -0,0 +1 @@
tag:yaml.org,2002:bool

View File

@@ -0,0 +1 @@
{ foo:bar }

View File

@@ -0,0 +1,7 @@
{
"canonical":
"GIF89a\x0c\x00\x0c\x00\x84\x00\x00\xff\xff\xf7\xf5\xf5\xee\xe9\xe9\xe5fff\x00\x00\x00\xe7\xe7\xe7^^^\xf3\xf3\xed\x8e\x8e\x8e\xe0\xe0\xe0\x9f\x9f\x9f\x93\x93\x93\xa7\xa7\xa7\x9e\x9e\x9eiiiccc\xa3\xa3\xa3\x84\x84\x84\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9!\xfe\x0eMade with GIMP\x00,\x00\x00\x00\x00\x0c\x00\x0c\x00\x00\x05, \x8e\x810\x9e\xe3@\x14\xe8i\x10\xc4\xd1\x8a\x08\x1c\xcf\x80M$z\xef\xff0\x85p\xb8\xb01f\r\x1b\xce\x01\xc3\x01\x1e\x10' \x82\n\x01\x00;",
"generic":
"GIF89a\x0c\x00\x0c\x00\x84\x00\x00\xff\xff\xf7\xf5\xf5\xee\xe9\xe9\xe5fff\x00\x00\x00\xe7\xe7\xe7^^^\xf3\xf3\xed\x8e\x8e\x8e\xe0\xe0\xe0\x9f\x9f\x9f\x93\x93\x93\xa7\xa7\xa7\x9e\x9e\x9eiiiccc\xa3\xa3\xa3\x84\x84\x84\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9!\xfe\x0eMade with GIMP\x00,\x00\x00\x00\x00\x0c\x00\x0c\x00\x00\x05, \x8e\x810\x9e\xe3@\x14\xe8i\x10\xc4\xd1\x8a\x08\x1c\xcf\x80M$z\xef\xff0\x85p\xb8\xb01f\r\x1b\xce\x01\xc3\x01\x1e\x10' \x82\n\x01\x00;",
"description": "The binary value above is a tiny arrow encoded as a gif image.",
}

View File

@@ -0,0 +1,12 @@
canonical: !!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.

View File

@@ -0,0 +1,7 @@
{
"canonical":
b"GIF89a\x0c\x00\x0c\x00\x84\x00\x00\xff\xff\xf7\xf5\xf5\xee\xe9\xe9\xe5fff\x00\x00\x00\xe7\xe7\xe7^^^\xf3\xf3\xed\x8e\x8e\x8e\xe0\xe0\xe0\x9f\x9f\x9f\x93\x93\x93\xa7\xa7\xa7\x9e\x9e\x9eiiiccc\xa3\xa3\xa3\x84\x84\x84\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9!\xfe\x0eMade with GIMP\x00,\x00\x00\x00\x00\x0c\x00\x0c\x00\x00\x05, \x8e\x810\x9e\xe3@\x14\xe8i\x10\xc4\xd1\x8a\x08\x1c\xcf\x80M$z\xef\xff0\x85p\xb8\xb01f\r\x1b\xce\x01\xc3\x01\x1e\x10' \x82\n\x01\x00;",
"generic":
b"GIF89a\x0c\x00\x0c\x00\x84\x00\x00\xff\xff\xf7\xf5\xf5\xee\xe9\xe9\xe5fff\x00\x00\x00\xe7\xe7\xe7^^^\xf3\xf3\xed\x8e\x8e\x8e\xe0\xe0\xe0\x9f\x9f\x9f\x93\x93\x93\xa7\xa7\xa7\x9e\x9e\x9eiiiccc\xa3\xa3\xa3\x84\x84\x84\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9\xff\xfe\xf9!\xfe\x0eMade with GIMP\x00,\x00\x00\x00\x00\x0c\x00\x0c\x00\x00\x05, \x8e\x810\x9e\xe3@\x14\xe8i\x10\xc4\xd1\x8a\x08\x1c\xcf\x80M$z\xef\xff0\x85p\xb8\xb01f\r\x1b\xce\x01\xc3\x01\x1e\x10' \x82\n\x01\x00;",
"description": "The binary value above is a tiny arrow encoded as a gif image.",
}

View File

@@ -0,0 +1,12 @@
canonical: !!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.

View File

@@ -0,0 +1,7 @@
{
"canonical": True,
"answer": False,
"logical": True,
"option": True,
"but": { "y": "is a string", "n": "is a string" },
}

View File

@@ -0,0 +1,9 @@
canonical: yes
answer: NO
logical: True
option: on
but:
y: is a string
n: is a string

View File

@@ -0,0 +1,10 @@
[
MyTestClass1(x=1),
MyTestClass1(x=1, y=2, z=3),
MyTestClass2(x=10),
MyTestClass2(x=10, y=20, z=30),
MyTestClass3(x=1),
MyTestClass3(x=1, y=2, z=3),
MyTestClass3(x=1, y=2, z=3),
YAMLObject1(my_parameter='foo', my_another_parameter=[1,2,3])
]

View File

@@ -0,0 +1,26 @@
---
- !tag1
x: 1
- !tag1
x: 1
'y': 2
z: 3
- !tag2
10
- !tag2
=: 10
'y': 20
z: 30
- !tag3
x: 1
- !tag3
x: 1
'y': 2
z: 3
- !tag3
=: 1
'y': 2
z: 3
- !foo
my-parameter: foo
my-another-parameter: [1,2,3]

View File

@@ -0,0 +1,8 @@
{
"canonical": 685230.15,
"exponential": 685230.15,
"fixed": 685230.15,
"sexagesimal": 685230.15,
"negative infinity": -1e300000,
"not a number": 1e300000/1e300000,
}

View File

@@ -0,0 +1,6 @@
canonical: 6.8523015e+5
exponential: 685.230_15e+03
fixed: 685_230.15
sexagesimal: 190:20:30.15
negative infinity: -.inf
not a number: .NaN

View File

@@ -0,0 +1,8 @@
{
"canonical": 685230,
"decimal": 685230,
"octal": 685230,
"hexadecimal": 685230,
"binary": 685230,
"sexagesimal": 685230,
}

View File

@@ -0,0 +1,6 @@
canonical: 685230
decimal: +685_230
octal: 02472256
hexadecimal: 0x_0A_74_AE
binary: 0b1010_0111_0100_1010_1110
sexagesimal: 190:20:30

View File

@@ -0,0 +1,6 @@
{
"Block style":
{ "Clark" : "Evans", "Brian" : "Ingerson", "Oren" : "Ben-Kiki" },
"Flow style":
{ "Clark" : "Evans", "Brian" : "Ingerson", "Oren" : "Ben-Kiki" },
}

View File

@@ -0,0 +1,6 @@
# Unordered set of key: value pairs.
Block style: !!map
Clark : Evans
Brian : Ingerson
Oren : Ben-Kiki
Flow style: !!map { Clark: Evans, Brian: Ingerson, Oren: Ben-Kiki }

View File

@@ -0,0 +1,10 @@
[
{ "x": 1, "y": 2 },
{ "x": 0, "y": 2 },
{ "r": 10 },
{ "r": 1 },
{ "x": 1, "y": 2, "r": 10, "label": "center/big" },
{ "x": 1, "y": 2, "r": 10, "label": "center/big" },
{ "x": 1, "y": 2, "r": 10, "label": "center/big" },
{ "x": 1, "y": 2, "r": 10, "label": "center/big" },
]

View File

@@ -0,0 +1,27 @@
---
- &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

View File

@@ -0,0 +1,13 @@
[
None,
{ "empty": None, "canonical": None, "english": None, None: "null key" },
{
"sparse": [
None,
"2nd entry",
None,
"4th entry",
None,
],
},
]

View File

@@ -0,0 +1,18 @@
# A document may be null.
---
---
# This mapping has four keys,
# one has a value.
empty:
canonical: ~
english: null
~: null key
---
# This sequence has five
# entries, two have values.
sparse:
- ~
- 2nd entry
-
- 4th entry
- Null

View File

@@ -0,0 +1,8 @@
{
"Bestiary": [
("aardvark", "African pig-like ant eater. Ugly."),
("anteater", "South-American ant eater. Two species."),
("anaconda", "South-American constrictor snake. Scaly."),
],
"Numbers": [ ("one", 1), ("two", 2), ("three", 3) ],
}

View File

@@ -0,0 +1,8 @@
# Explicitly typed ordered map (dictionary).
Bestiary: !!omap
- aardvark: African pig-like ant eater. Ugly.
- anteater: South-American ant eater. Two species.
- anaconda: South-American constrictor snake. Scaly.
# Etc.
# Flow style
Numbers: !!omap [ one: 1, two: 2, three : 3 ]

View File

@@ -0,0 +1,9 @@
{
"Block tasks": [
("meeting", "with team."),
("meeting", "with boss."),
("break", "lunch."),
("meeting", "with client."),
],
"Flow tasks": [ ("meeting", "with team"), ("meeting", "with boss") ],
}

View File

@@ -0,0 +1,7 @@
# Explicitly typed pairs.
Block tasks: !!pairs
- meeting: with team.
- meeting: with boss.
- break: lunch.
- meeting: with client.
Flow tasks: !!pairs [ meeting: with team, meeting: with boss ]

View File

@@ -0,0 +1 @@
[ True, False ]

View File

@@ -0,0 +1 @@
[ !!python/bool True, !!python/bool False ]

View File

@@ -0,0 +1 @@
b'some binary data'

View File

@@ -0,0 +1 @@
--- !!python/bytes 'c29tZSBiaW5hcnkgZGF0YQ=='

View File

@@ -0,0 +1 @@
[0.5+0j, 0.5+0.5j, 0.5j, -0.5+0.5j, -0.5+0j, -0.5-0.5j, -0.5j, 0.5-0.5j]

View File

@@ -0,0 +1,8 @@
- !!python/complex 0.5+0j
- !!python/complex 0.5+0.5j
- !!python/complex 0.5j
- !!python/complex -0.5+0.5j
- !!python/complex -0.5+0j
- !!python/complex -0.5-0.5j
- !!python/complex -0.5j
- !!python/complex 0.5-0.5j

View File

@@ -0,0 +1 @@
123.456

View File

@@ -0,0 +1 @@
!!python/float 123.456

View File

@@ -0,0 +1 @@
123

View File

@@ -0,0 +1 @@
!!python/int 123

View File

@@ -0,0 +1 @@
123L

View File

@@ -0,0 +1 @@
!!python/long 123

View File

@@ -0,0 +1 @@
123

View File

@@ -0,0 +1 @@
!!python/long 123

View File

@@ -0,0 +1 @@
[str, yaml.Loader, yaml.dump, abs, yaml.tokens]

View File

@@ -0,0 +1,5 @@
- !!python/name:str
- !!python/name:yaml.Loader
- !!python/name:yaml.dump
- !!python/name:abs
- !!python/module:yaml.tokens

View File

@@ -0,0 +1 @@
None

View File

@@ -0,0 +1 @@
!!python/none

View File

@@ -0,0 +1,23 @@
[
AnObject(1, 'two', [3,3,3]),
AnInstance(1, 'two', [3,3,3]),
AnObject(1, 'two', [3,3,3]),
AnInstance(1, 'two', [3,3,3]),
AState(1, 'two', [3,3,3]),
ACustomState(1, 'two', [3,3,3]),
InitArgs(1, 'two', [3,3,3]),
InitArgsWithState(1, 'two', [3,3,3]),
NewArgs(1, 'two', [3,3,3]),
NewArgsWithState(1, 'two', [3,3,3]),
Reduce(1, 'two', [3,3,3]),
ReduceWithState(1, 'two', [3,3,3]),
MyInt(3),
MyList(3),
MyDict(3),
]

View File

@@ -0,0 +1,21 @@
- !!python/object:test_constructor.AnObject { foo: 1, bar: two, baz: [3,3,3] }
- !!python/object:test_constructor.AnInstance { foo: 1, bar: two, baz: [3,3,3] }
- !!python/object/new:test_constructor.AnObject { args: [1, two], kwds: {baz: [3,3,3]} }
- !!python/object/apply:test_constructor.AnInstance { args: [1, two], kwds: {baz: [3,3,3]} }
- !!python/object:test_constructor.AState { _foo: 1, _bar: two, _baz: [3,3,3] }
- !!python/object/new:test_constructor.ACustomState { state: !!python/tuple [1, two, [3,3,3]] }
- !!python/object/new:test_constructor.InitArgs [1, two, [3,3,3]]
- !!python/object/new:test_constructor.InitArgsWithState { args: [1, two], state: [3,3,3] }
- !!python/object/new:test_constructor.NewArgs [1, two, [3,3,3]]
- !!python/object/new:test_constructor.NewArgsWithState { args: [1, two], state: [3,3,3] }
- !!python/object/apply:test_constructor.Reduce [1, two, [3,3,3]]
- !!python/object/apply:test_constructor.ReduceWithState { args: [1, two], state: [3,3,3] }
- !!python/object/new:test_constructor.MyInt [3]
- !!python/object/new:test_constructor.MyList { listitems: [~, ~, ~] }
- !!python/object/new:test_constructor.MyDict { dictitems: {0, 1, 2} }

View File

@@ -0,0 +1 @@
"ascii string"

View File

@@ -0,0 +1 @@
--- !!python/str "ascii string"

View File

@@ -0,0 +1 @@
u'\u042d\u0442\u043e \u0443\u043d\u0438\u043a\u043e\u0434\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430'.encode('utf-8')

View File

@@ -0,0 +1 @@
--- !!python/str "Это уникодная строка"

View File

@@ -0,0 +1 @@
'\u042d\u0442\u043e \u0443\u043d\u0438\u043a\u043e\u0434\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430'

View File

@@ -0,0 +1 @@
--- !!python/str "Это уникодная строка"

View File

@@ -0,0 +1,6 @@
[
[1, 2, 3, 4],
(1, 2, 3, 4),
{1: 2, 3: 4},
{(0,0): 0, (0,1): 1, (1,0): 1, (1,1): 0},
]

View File

@@ -0,0 +1,8 @@
- !!python/list [1, 2, 3, 4]
- !!python/tuple [1, 2, 3, 4]
- !!python/dict {1: 2, 3: 4}
- !!python/dict
!!python/tuple [0,0]: 0
!!python/tuple [0,1]: 1
!!python/tuple [1,0]: 1
!!python/tuple [1,1]: 0

View File

@@ -0,0 +1 @@
u"ascii string"

View File

@@ -0,0 +1 @@
--- !!python/unicode "ascii string"

View File

@@ -0,0 +1 @@
"ascii string"

View File

@@ -0,0 +1 @@
--- !!python/unicode "ascii string"

View File

@@ -0,0 +1 @@
u'\u042d\u0442\u043e \u0443\u043d\u0438\u043a\u043e\u0434\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430'

View File

@@ -0,0 +1 @@
--- !!python/unicode "Это уникодная строка"

View File

@@ -0,0 +1 @@
'\u042d\u0442\u043e \u0443\u043d\u0438\u043a\u043e\u0434\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430'

View File

@@ -0,0 +1 @@
--- !!python/unicode "Это уникодная строка"

View File

@@ -0,0 +1,4 @@
{
"Block style": ["Mercury", "Venus", "Earth", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune", "Pluto"],
"Flow style": ["Mercury", "Venus", "Earth", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune", "Pluto"],
}

View File

@@ -0,0 +1,15 @@
# Ordered sequence of nodes
Block style: !!seq
- Mercury # Rotates - no light/dark sides.
- Venus # Deadliest. Aptly named.
- Earth # Mostly dirt.
- Mars # Seems empty.
- Jupiter # The king.
- Saturn # Pretty.
- Uranus # Where the sun hardly shines.
- Neptune # Boring. No rings.
- Pluto # You call this a planet?
Flow style: !!seq [ Mercury, Venus, Earth, Mars, # Rocks
Jupiter, Saturn, Uranus, Neptune, # Gas
Pluto ] # Overrated

View File

@@ -0,0 +1,4 @@
{
"baseball players": set(["Mark McGwire", "Sammy Sosa", "Ken Griffey"]),
"baseball teams": set(["Boston Red Sox", "Detroit Tigers", "New York Yankees"]),
}

View File

@@ -0,0 +1,7 @@
# Explicitly typed set.
baseball players: !!set
? Mark McGwire
? Sammy Sosa
? Ken Griffey
# Flow style
baseball teams: !!set { Boston Red Sox, Detroit Tigers, New York Yankees }

View File

@@ -0,0 +1 @@
"ascii string"

View File

@@ -0,0 +1 @@
--- !!str "ascii string"

View File

@@ -0,0 +1 @@
u'\u042d\u0442\u043e \u0443\u043d\u0438\u043a\u043e\u0434\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430'

View File

@@ -0,0 +1 @@
--- !!str "Это уникодная строка"

View File

@@ -0,0 +1 @@
'\u042d\u0442\u043e \u0443\u043d\u0438\u043a\u043e\u0434\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430'

View File

@@ -0,0 +1 @@
--- !!str "Это уникодная строка"

View File

@@ -0,0 +1 @@
{ "string": "abcd" }

View File

@@ -0,0 +1 @@
string: abcd

View File

@@ -0,0 +1,7 @@
{
"canonical": datetime.datetime(2001, 12, 15, 2, 59, 43, 100000),
"valid iso8601": datetime.datetime(2001, 12, 15, 2, 59, 43, 100000),
"space separated": datetime.datetime(2001, 12, 15, 2, 59, 43, 100000),
"no time zone (Z)": datetime.datetime(2001, 12, 15, 2, 59, 43, 100000),
"date (00:00:00Z)": datetime.date(2002, 12, 14),
}

View File

@@ -0,0 +1,5 @@
canonical: 2001-12-15T02:59:43.1Z
valid iso8601: 2001-12-14t21:59:43.10-05:00
space separated: 2001-12-14 21:59:43.10 -5
no time zone (Z): 2001-12-15 2:59:43.10
date (00:00:00Z): 2002-12-14

View File

@@ -0,0 +1,9 @@
[
{ "link with": [ "library1.dll", "library2.dll" ] },
{
"link with": [
{ "=": "library1.dll", "version": 1.2 },
{ "=": "library2.dll", "version": 2.3 },
],
},
]

View File

@@ -0,0 +1,10 @@
--- # Old schema
link with:
- library1.dll
- library2.dll
--- # New schema
link with:
- = : library1.dll
version: 1.2
- = : library2.dll
version: 2.3

View File

@@ -0,0 +1,11 @@
---
"this --- is correct"
---
"this
...is also
correct"
---
"a quoted scalar
cannot contain
---
document separators"

View File

@@ -0,0 +1,11 @@
- !StreamStart
- !DocumentStart { explicit: false }
- !Scalar { implicit: [true,false], value: 'data' }
- !DocumentEnd
- !DocumentStart
- !Scalar { implicit: [true,false] }
- !DocumentEnd
- !DocumentStart { version: [1,1], tags: { '!': '!foo', '!yaml!': 'tag:yaml.org,2002:', '!ugly!': '!!!!!!!' } }
- !Scalar { implicit: [true,false] }
- !DocumentEnd
- !StreamEnd

View File

@@ -0,0 +1,3 @@
- &foo bar
- &bar bar
- &foo bar

View File

@@ -0,0 +1 @@
&foo [1, 2, 3, &foo 4]

View File

@@ -0,0 +1 @@
{ 'foo': 'baz' }

View File

@@ -0,0 +1,3 @@
---
foo: bar
foo: baz

View File

@@ -0,0 +1 @@
{ 'foo': { 'baz': 'bat', 'foo': 'duplicate key' } }

View File

@@ -0,0 +1,6 @@
---
&anchor foo:
foo: bar
*anchor: duplicate key
baz: bat
*anchor: duplicate key

View File

@@ -0,0 +1 @@
{ 'x': 1, 'y': 2, 'foo': 'bar', 'z': 3, 't': 4 }

View File

@@ -0,0 +1,4 @@
---
<<: {x: 1, y: 2}
foo: bar
<<: {z: 3, t: 4}

View File

@@ -0,0 +1,3 @@
%TAG !foo! bar
%TAG !foo! baz
--- foo

View File

@@ -0,0 +1 @@
{ 'foo': 'bar', '=': 2 }

View File

@@ -0,0 +1,4 @@
---
=: 1
foo: bar
=: 2

View File

@@ -0,0 +1,3 @@
%YAML 1.1
%YAML 1.1
--- foo

View File

@@ -0,0 +1,6 @@
%YAML 1.1
--- !!map
{
? !!str "foo"
: !!str "bar"
}

View File

@@ -0,0 +1,4 @@
? |-
foo
: |-
bar

View File

@@ -0,0 +1 @@
u"\udd00"

View File

@@ -0,0 +1 @@
"\udd00"

View File

@@ -0,0 +1 @@
"\udd00"

Some files were not shown because too many files have changed in this diff Show More