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:413

Inherits from: Node

Member Variables

private llvm::yaml::MappingNode::MappingType Type
private bool IsAtBeginning = true
private bool IsAtEnd = false
private llvm::yaml::KeyValueNode* CurrentEntry = nullptr

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)
  • private void anchor()
  • public llvm::yaml::MappingNode::iterator begin()
  • public static bool classof(const llvm::yaml::Node * N)
  • public llvm::yaml::MappingNode::iterator end()
  • private void increment()
  • 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:423

Parameters

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

void anchor()

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

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

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

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

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

Parameters

const llvm::yaml::Node* N

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

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

void increment()

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

void skip()

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