class Document
Declaration
class Document { /* full declaration omitted */ };
Description
A YAML Stream is a sequence of Documents. A document contains a root node.
Declared at: llvm/include/llvm/Support/YAMLParser.h:522
Method Overview
- public Document(llvm::yaml::Stream & ParentStream)
- public llvm::yaml::Node * getRoot()
- public const std::map<StringRef, StringRef> & getTagMap() const
- public llvm::yaml::Node * parseBlockNode()
- public bool skip()
Methods
¶Document(llvm::yaml::Stream& ParentStream)
Document(llvm::yaml::Stream& ParentStream)
Declared at: llvm/include/llvm/Support/YAMLParser.h:524
Parameters
- llvm::yaml::Stream& ParentStream
¶llvm::yaml::Node* getRoot()
llvm::yaml::Node* getRoot()
Description
Parse and return the root level node.
Declared at: llvm/include/llvm/Support/YAMLParser.h:534
¶const std::map<StringRef, StringRef>& getTagMap()
const
const std::map<StringRef, StringRef>& getTagMap()
const
Declared at: llvm/include/llvm/Support/YAMLParser.h:540
¶llvm::yaml::Node* parseBlockNode()
llvm::yaml::Node* parseBlockNode()
Description
Root for parsing a node. Returns a single node.
Declared at: llvm/include/llvm/Support/YAMLParser.h:527
¶bool skip()
bool skip()
Description
Finish parsing the current document and return true if there are more. Return false otherwise.
Declared at: llvm/include/llvm/Support/YAMLParser.h:531