LLVM API Documentation
Represents a YAML sequence created from either a block sequence for a flow sequence. More...
#include <YAMLParser.h>
Public Types | |
enum | SequenceType { ST_Block, ST_Flow, ST_Indentless } |
typedef basic_collection_iterator < SequenceNode, Node > | iterator |
Public Member Functions | |
SequenceNode (std::unique_ptr< Document > &D, StringRef Anchor, StringRef Tag, SequenceType ST) | |
void | increment () |
iterator | begin () |
iterator | end () |
void | skip () override |
Static Public Member Functions | |
static bool | classof (const Node *N) |
Friends | |
class | basic_collection_iterator< SequenceNode, Node > |
template<class T > | |
T::iterator | yaml::begin (T &) |
template<class T > | |
void | yaml::skip (T &) |
Represents a YAML sequence created from either a block sequence for a flow sequence.
This parses the YAML stream as increment() is called.
Example:
Definition at line 390 of file YAMLParser.h.
Definition at line 415 of file YAMLParser.h.
Definition at line 394 of file YAMLParser.h.
llvm::yaml::SequenceNode::SequenceNode | ( | std::unique_ptr< Document > & | D, |
StringRef | Anchor, | ||
StringRef | Tag, | ||
SequenceType | ST | ||
) | [inline] |
Definition at line 407 of file YAMLParser.h.
iterator llvm::yaml::SequenceNode::begin | ( | ) | [inline] |
Definition at line 421 of file YAMLParser.h.
static bool llvm::yaml::SequenceNode::classof | ( | const Node * | N | ) | [inline, static] |
Definition at line 427 of file YAMLParser.h.
References llvm::yaml::Node::getType(), and llvm::yaml::Node::NK_Sequence.
iterator llvm::yaml::SequenceNode::end | ( | ) | [inline] |
Definition at line 423 of file YAMLParser.h.
void SequenceNode::increment | ( | ) |
Definition at line 1926 of file YAMLParser.cpp.
References llvm::yaml::Token::Kind.
void llvm::yaml::SequenceNode::skip | ( | ) | [inline, override, virtual] |
Reimplemented from llvm::yaml::Node.
Definition at line 425 of file YAMLParser.h.
friend class basic_collection_iterator< SequenceNode, Node > [friend] |
Definition at line 414 of file YAMLParser.h.
T::iterator yaml::begin | ( | T & | ) | [friend] |
void yaml::skip | ( | T & | ) | [friend] |