Lines Matching refs:yaml
34 yaml::Stream Stream(Input, SM); in ExpectParseError()
43 yaml::Stream Stream(Input, SM); in ExpectParseSuccess()
161 yaml::Stream Stream("test: |\n Hello\n World\n", SM); in TEST()
162 yaml::Document &Doc = *Stream.begin(); in TEST()
163 yaml::MappingNode *Map = cast<yaml::MappingNode>(Doc.getRoot()); in TEST()
165 cast<yaml::BlockScalarNode>(Map->begin()->getValue())->getValue(); in TEST()
191 yaml::Stream Stream(StringInArray, SM); in ExpectCanParseString()
192 yaml::SequenceNode *ParsedSequence in ExpectCanParseString()
193 = dyn_cast<yaml::SequenceNode>(Stream.begin()->getRoot()); in ExpectCanParseString()
195 = dyn_cast<yaml::ScalarNode>( in ExpectCanParseString()
196 static_cast<yaml::Node*>(ParsedSequence->begin()))->getRawValue(); in ExpectCanParseString()
228 yaml::Stream Stream("[\"1\", \"2\", \"3\", \"4\", \"5\", \"6\"]", SM); in TEST()
229 yaml::SequenceNode *Array in TEST()
230 = dyn_cast<yaml::SequenceNode>(Stream.begin()->getRoot()); in TEST()
242 yaml::Stream UnnamedStream("[]", SM); in TEST()
257 yaml::Stream Stream(Buffer->getMemBufferRef(), SM); in TEST()
264 yaml::Stream Stream("[\"1\", \"2\"]", SM); in TEST()
266 yaml::SequenceNode *Node = dyn_cast<yaml::SequenceNode>( in TEST()
279 yaml::Stream Stream("[\"1\", \"2\"]", SM); in TEST()
281 yaml::SequenceNode *Node = dyn_cast<yaml::SequenceNode>( in TEST()
294 yaml::Stream Stream("[\"1\", \"2\"]", SM); in TEST()
295 yaml::Stream AnotherStream("[\"1\", \"2\"]", SM); in TEST()
297 yaml::SequenceNode *Node = dyn_cast<yaml::SequenceNode>( in TEST()
299 yaml::SequenceNode *AnotherNode = dyn_cast<yaml::SequenceNode>( in TEST()
315 yaml::Stream Stream("[\"1\", \"2\"]", SM); in TEST()
316 yaml::Stream AnotherStream("[\"1\", \"2\"]", SM); in TEST()
318 yaml::SequenceNode *Node = dyn_cast<yaml::SequenceNode>( in TEST()
320 yaml::SequenceNode *AnotherNode = dyn_cast<yaml::SequenceNode>( in TEST()