class MappingNode

Declaration

class MappingNode : public Node { /* full declaration omitted */ };

Description

Represents a YAML map created from either a block map for a flow map. This parses the YAML stream as increment() is called. Example: Name: _main Scope: Global

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

Inherits from: Node

Member Variables

Inherited from Node:

protected Doc
protected SourceRange

Method Overview

  • public MappingNode(std::unique_ptr<Document> & D, llvm::StringRef Anchor, llvm::StringRef Tag, llvm::yaml::MappingNode::MappingType MT)
  • public llvm::yaml::MappingNode::iterator begin()
  • public static bool classof(const llvm::yaml::Node * N)
  • public llvm::yaml::MappingNode::iterator end()
  • public void skip()

Inherited from Node:

Methods

MappingNode(
    std::unique_ptr<Document>& D,
    llvm::StringRef Anchor,
    llvm::StringRef Tag,
    llvm::yaml::MappingNode::MappingType MT)

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

Parameters

std::unique_ptr<Document>& D
llvm::StringRef Anchor
llvm::StringRef Tag
llvm::yaml::MappingNode::MappingType MT

llvm::yaml::MappingNode::iterator begin()

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

static bool classof(const llvm::yaml::Node* N)

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

Parameters

const llvm::yaml::Node* N

llvm::yaml::MappingNode::iterator end()

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

void skip()

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