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 (OwningPtr< Document > &D, StringRef Anchor, MappingType MT) | |
| iterator | begin () |
| iterator | end () |
| virtual void | skip () LLVM_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 333 of file YAMLParser.h.
Definition at line 350 of file YAMLParser.h.
Definition at line 335 of file YAMLParser.h.
| llvm::yaml::MappingNode::MappingNode | ( | OwningPtr< Document > & | D, |
| StringRef | Anchor, | ||
| MappingType | MT | ||
| ) | [inline] |
Definition at line 341 of file YAMLParser.h.
| iterator llvm::yaml::MappingNode::begin | ( | ) | [inline] |
Definition at line 354 of file YAMLParser.h.
Definition at line 364 of file YAMLParser.h.
References llvm::yaml::Node::getType(), and llvm::yaml::Node::NK_Mapping.
| iterator llvm::yaml::MappingNode::end | ( | ) | [inline] |
Definition at line 358 of file YAMLParser.h.
| virtual void llvm::yaml::MappingNode::skip | ( | ) | [inline, virtual] |
Reimplemented from llvm::yaml::Node.
Definition at line 360 of file YAMLParser.h.
friend class basic_collection_iterator< MappingNode, KeyValueNode > [friend] |
Definition at line 349 of file YAMLParser.h.
| T::iterator yaml::begin | ( | T & | ) | [friend] |
| void yaml::skip | ( | T & | ) | [friend] |