Lines Matching refs:yaml
1 //===--- YAMLParser.h - Simple YAML parser --------------------------------===//
10 // This is a YAML 1.2 parser.
12 // See http://www.yaml.org/spec/1.2/spec.html for the full standard.
20 // The most important class here is Stream. This represents a YAML stream with
25 // yaml::Stream stream(input, sm);
27 // for (yaml::document_iterator di = stream.begin(), de = stream.end();
29 // yaml::Node *n = di->getRoot();
55 namespace yaml {
75 /// @brief This class represents a YAML stream potentially containing multiple
103 /// @brief Validate a %YAML x.x directive.
191 // Return Value without any escaping or folding or other fun YAML stuff. This
215 /// @brief A key and value pair. While not technically a Node under the YAML
258 /// @brief This is an iterator abstraction over YAML collections shared by both
326 /// @brief Represents a YAML map created from either a block map for a flow map.
328 /// This parses the YAML stream as increment() is called.
351 template <class T> friend typename T::iterator yaml::begin(T &);
352 template <class T> friend void yaml::skip(T &);
355 return yaml::begin(*this);
361 yaml::skip(*this);
377 /// @brief Represents a YAML sequence created from either a block sequence for a
380 /// This parses the YAML stream as increment() is called.
411 template <class T> friend typename T::iterator yaml::begin(T &);
412 template <class T> friend void yaml::skip(T &);
417 return yaml::begin(*this);
423 yaml::skip(*this);
458 /// @brief A YAML Stream is a sequence of Documents. A document contains a root