llvm-project/llvm/test/YAMLParser
Alex Lorenz a22b250c6f YAML: Implement block scalar parsing.
This commit implements the parsing of YAML block scalars.
Some code existed for it before, but it couldn't parse block
scalars.

This commit adds a new yaml node type to represent the block
scalar values. 

This commit also deletes the 'spec-09-27' and 'spec-09-28' tests
as they are identical to the test file 'spec-09-26'.

This commit introduces 3 new utility functions to the YAML scanner
class: `skip_s_space`, `advanceWhile` and `consumeLineBreakIfPresent`.

Reviewers: Duncan P. N. Exon Smith

Differential Revision: http://reviews.llvm.org/D9503

llvm-svn: 237314
2015-05-13 23:10:51 +00:00
..
LICENSE.txt
bool.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
construct-bool.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
construct-custom.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
construct-float.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
construct-int.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
construct-map.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
construct-merge.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
construct-null.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
construct-omap.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
construct-pairs.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
construct-seq.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
construct-set.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
construct-str-ascii.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
construct-str.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
construct-timestamp.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
construct-value.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
duplicate-key.former-loader-error.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
duplicate-mapping-key.former-loader-error.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
duplicate-merge-key.former-loader-error.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
duplicate-value-key.former-loader-error.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
emit-block-scalar-in-simple-key-context-bug.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
empty-document-bug.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
float.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
int.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
invalid-single-quote-bug.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
merge.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
more-floats.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
negative-float-bug.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
null.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
resolver.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
run-parser-crash-bug.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
scan-document-end-bug.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
scan-line-break-bug.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
single-dot-is-not-float-bug.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
sloppy-indentation.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-01.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-02.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-03.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-04.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-05.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-06.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-07.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-08.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-09.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-10.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-11.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-12.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-13.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-14.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-15.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-16.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-17.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-18.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-19.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-20.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-21.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-22.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-23.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-24.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-25.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-26.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-27.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-02-28.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-05-01-utf8.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-05-02-utf8.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-05-03.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-05-04.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-05-05.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-05-06.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-05-07.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-05-08.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-05-09.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-05-10.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-05-11.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-05-12.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-05-13.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-05-14.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-05-15.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-06-01.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-06-02.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-06-03.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-06-04.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-06-05.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-06-06.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-06-07.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-06-08.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-07-01.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-07-02.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-07-03.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-07-04.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-07-05.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-07-06.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-07-07a.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-07-07b.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-07-08.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-07-09.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-07-10.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-07-11.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-07-12a.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-07-12b.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-07-13.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-08-01.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-08-02.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-08-03.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-08-04.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-08-05.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-08-06.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-08-07.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-08-08.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-08-09.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-08-10.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-08-11.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-08-12.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-08-13.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-08-14.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-08-15.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-09-01.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-09-02.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-09-03.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-09-04.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-09-05.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-09-06.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-09-07.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-09-08.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-09-09.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-09-10.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-09-11.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-09-12.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-09-13.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-09-14.test YAML: Implement block scalar parsing. 2015-05-13 23:10:51 +00:00
spec-09-15.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-09-16.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-09-17.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-09-18.test YAML: Implement block scalar parsing. 2015-05-13 23:10:51 +00:00
spec-09-19.test YAML: Implement block scalar parsing. 2015-05-13 23:10:51 +00:00
spec-09-20.test YAML: Implement block scalar parsing. 2015-05-13 23:10:51 +00:00
spec-09-21.test YAML: Implement block scalar parsing. 2015-05-13 23:10:51 +00:00
spec-09-22.test YAML: Implement block scalar parsing. 2015-05-13 23:10:51 +00:00
spec-09-23.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-09-24.test YAML: Implement block scalar parsing. 2015-05-13 23:10:51 +00:00
spec-09-25.test YAML: Implement block scalar parsing. 2015-05-13 23:10:51 +00:00
spec-09-26.test YAML: Implement block scalar parsing. 2015-05-13 23:10:51 +00:00
spec-09-29.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-09-30.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-09-31.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-09-32.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-09-33.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-10-01.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-10-02.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-10-03.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-10-04.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-10-05.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-10-06.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-10-07.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-10-08.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-10-09.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-10-10.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-10-11.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-10-12.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-10-13.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-10-14.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
spec-10-15.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
str.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
timestamp-bugs.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
timestamp.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
utf8-implicit.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
utf8.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
value.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00
yaml.test YAML: Enable the YAMLParser tests. 2015-05-07 18:08:46 +00:00