class SequenceNode
Declaration
class SequenceNode : public Node { /* full declaration omitted */ };
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: - Hello - World
Declared at: llvm/include/llvm/Support/YAMLParser.h:461
Inherits from: Node
Member Variables
- private llvm::yaml::SequenceNode::SequenceType SeqType
- private bool IsAtBeginning = true
- private bool IsAtEnd = false
- private bool WasPreviousTokenFlowEntry = true
- private llvm::yaml::Node* CurrentEntry = nullptr
Inherited from Node:
Method Overview
- public SequenceNode(std::unique_ptr<Document> & D, llvm::StringRef Anchor, llvm::StringRef Tag, llvm::yaml::SequenceNode::SequenceType ST)
- private void anchor()
- public llvm::yaml::SequenceNode::iterator begin()
- public static bool classof(const llvm::yaml::Node * N)
- public llvm::yaml::SequenceNode::iterator end()
- public void increment()
- public void skip()
Inherited from Node:
- public failed
- public getAllocator
- public getAnchor
- public getNext
- public getRawTag
- public getSourceRange
- public getType
- public getVerbatimTag
- public parseBlockNode
- public peekNext
- public setError
- public setSourceRange
- public skip
Methods
¶SequenceNode(
std::unique_ptr<Document>& D,
llvm::StringRef Anchor,
llvm::StringRef Tag,
llvm::yaml::SequenceNode::SequenceType ST)
SequenceNode(
std::unique_ptr<Document>& D,
llvm::StringRef Anchor,
llvm::StringRef Tag,
llvm::yaml::SequenceNode::SequenceType ST)
Declared at: llvm/include/llvm/Support/YAMLParser.h:478
Parameters
- std::unique_ptr<Document>& D
- llvm::StringRef Anchor
- llvm::StringRef Tag
- llvm::yaml::SequenceNode::SequenceType ST
¶void anchor()
void anchor()
Declared at: llvm/include/llvm/Support/YAMLParser.h:462
¶llvm::yaml::SequenceNode::iterator begin()
llvm::yaml::SequenceNode::iterator begin()
Declared at: llvm/include/llvm/Support/YAMLParser.h:491
¶static bool classof(const llvm::yaml::Node* N)
static bool classof(const llvm::yaml::Node* N)
Declared at: llvm/include/llvm/Support/YAMLParser.h:497
Parameters
- const llvm::yaml::Node* N
¶llvm::yaml::SequenceNode::iterator end()
llvm::yaml::SequenceNode::iterator end()
Declared at: llvm/include/llvm/Support/YAMLParser.h:493
¶void increment()
void increment()
Declared at: llvm/include/llvm/Support/YAMLParser.h:489
¶void skip()
void skip()
Declared at: llvm/include/llvm/Support/YAMLParser.h:495