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

Methods

Document(llvm::yaml::Stream& ParentStream)

Declared at: llvm/include/llvm/Support/YAMLParser.h:524

Parameters

llvm::yaml::Stream& ParentStream

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

Declared at: llvm/include/llvm/Support/YAMLParser.h:540

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

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