class BlockScalarNode

Declaration

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

Description

A block scalar node is an opaque datum that can be presented as a series of zero or more Unicode scalar values. Example: | Hello World

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

Inherits from: Node

Member Variables

private llvm::StringRef Value

Inherited from Node:

protected Doc
protected SourceRange

Method Overview

  • public BlockScalarNode(std::unique_ptr<Document> & D, llvm::StringRef Anchor, llvm::StringRef Tag, llvm::StringRef Value, llvm::StringRef RawVal)
  • private void anchor()
  • public static bool classof(const llvm::yaml::Node * N)
  • public llvm::StringRef getValue() const

Inherited from Node:

Methods

BlockScalarNode(std::unique_ptr<Document>& D,
                llvm::StringRef Anchor,
                llvm::StringRef Tag,
                llvm::StringRef Value,
                llvm::StringRef RawVal)

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

Parameters

std::unique_ptr<Document>& D
llvm::StringRef Anchor
llvm::StringRef Tag
llvm::StringRef Value
llvm::StringRef RawVal

void anchor()

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

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

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

Parameters

const llvm::yaml::Node* N

llvm::StringRef getValue() const

Description

Gets the value of this node as a StringRef.

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