Home | History | Annotate | Download | only in Support

Lines Matching refs:yaml

35   yaml::Stream Stream(Input, SM);
44 yaml::Stream Stream(Input, SM);
162 yaml::Stream Stream("test: |\n Hello\n World\n", SM);
163 yaml::Document &Doc = *Stream.begin();
164 yaml::MappingNode *Map = cast<yaml::MappingNode>(Doc.getRoot());
166 cast<yaml::BlockScalarNode>(Map->begin()->getValue())->getValue();
192 yaml::Stream Stream(StringInArray, SM);
193 yaml::SequenceNode *ParsedSequence
194 = dyn_cast<yaml::SequenceNode>(Stream.begin()->getRoot());
196 = dyn_cast<yaml::ScalarNode>(
197 static_cast<yaml::Node*>(ParsedSequence->begin()))->getRawValue();
229 yaml::Stream Stream("[\"1\", \"2\", \"3\", \"4\", \"5\", \"6\"]", SM);
230 yaml::SequenceNode *Array
231 = dyn_cast<yaml::SequenceNode>(Stream.begin()->getRoot());
241 // When we construct a YAML stream over an unnamed string,
242 // the filename is hard-coded as "YAML".
243 yaml::Stream UnnamedStream("[]", SM);
245 EXPECT_EQ("YAML", GeneratedDiag.getFilename());
254 // When we construct a YAML stream over a named buffer,
257 MemoryBuffer::getMemBuffer("[]", "buffername.yaml");
258 yaml::Stream Stream(Buffer->getMemBufferRef(), SM);
260 EXPECT_EQ("buffername.yaml", GeneratedDiag.getFilename());