LLVM API Documentation
Represents a YAML map created from either a block map for a flow map. More...
#include <YAMLParser.h>
Public Types | |
enum | MappingType { MT_Block, MT_Flow, MT_Inline } |
typedef basic_collection_iterator < MappingNode, KeyValueNode > | iterator |
Public Member Functions | |
MappingNode (std::unique_ptr< Document > &D, StringRef Anchor, StringRef Tag, MappingType MT) | |
iterator | begin () |
iterator | end () |
void | skip () override |
Static Public Member Functions | |
static bool | classof (const Node *N) |
Friends | |
class | basic_collection_iterator< MappingNode, KeyValueNode > |
template<class T > | |
T::iterator | yaml::begin (T &) |
template<class T > | |
void | yaml::skip (T &) |
Represents a YAML map created from either a block map for a flow map.
This parses the YAML stream as increment() is called.
Example: Name: _main Scope: Global
Definition at line 343 of file YAMLParser.h.
Definition at line 359 of file YAMLParser.h.
Definition at line 347 of file YAMLParser.h.
llvm::yaml::MappingNode::MappingNode | ( | std::unique_ptr< Document > & | D, |
StringRef | Anchor, | ||
StringRef | Tag, | ||
MappingType | MT | ||
) | [inline] |
Definition at line 353 of file YAMLParser.h.
iterator llvm::yaml::MappingNode::begin | ( | ) | [inline] |
Definition at line 363 of file YAMLParser.h.
static bool llvm::yaml::MappingNode::classof | ( | const Node * | N | ) | [inline, static] |
Definition at line 369 of file YAMLParser.h.
References llvm::yaml::Node::getType(), and llvm::yaml::Node::NK_Mapping.
iterator llvm::yaml::MappingNode::end | ( | ) | [inline] |
Definition at line 365 of file YAMLParser.h.
void llvm::yaml::MappingNode::skip | ( | ) | [inline, override, virtual] |
Reimplemented from llvm::yaml::Node.
Definition at line 367 of file YAMLParser.h.
friend class basic_collection_iterator< MappingNode, KeyValueNode > [friend] |
Definition at line 358 of file YAMLParser.h.
T::iterator yaml::begin | ( | T & | ) | [friend] |
void yaml::skip | ( | T & | ) | [friend] |