LLVM API Documentation

Public Types | Public Member Functions | Static Public Member Functions | Friends
llvm::yaml::SequenceNode Class Reference

Represents a YAML sequence created from either a block sequence for a flow sequence. More...

#include <YAMLParser.h>

Inheritance diagram for llvm::yaml::SequenceNode:
Inheritance graph
[legend]
Collaboration diagram for llvm::yaml::SequenceNode:
Collaboration graph
[legend]

List of all members.

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 &)

Detailed Description

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.


Member Typedef Documentation

Definition at line 415 of file YAMLParser.h.


Member Enumeration Documentation

Enumerator:
ST_Block 
ST_Flow 
ST_Indentless 

Definition at line 394 of file YAMLParser.h.


Constructor & Destructor Documentation

llvm::yaml::SequenceNode::SequenceNode ( std::unique_ptr< Document > &  D,
StringRef  Anchor,
StringRef  Tag,
SequenceType  ST 
) [inline]

Definition at line 407 of file YAMLParser.h.


Member Function Documentation

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.

Definition at line 423 of file YAMLParser.h.

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.


Friends And Related Function Documentation

friend class basic_collection_iterator< SequenceNode, Node > [friend]

Definition at line 414 of file YAMLParser.h.

template<class T >
T::iterator yaml::begin ( T ) [friend]
template<class T >
void yaml::skip ( T ) [friend]

The documentation for this class was generated from the following files: