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:249
Inherits from: Node
Member Variables
Inherited from Node:
Method Overview
- public BlockScalarNode(std::unique_ptr<Document> & D, llvm::StringRef Anchor, llvm::StringRef Tag, llvm::StringRef Value, llvm::StringRef RawVal)
- public static bool classof(const llvm::yaml::Node * N)
- public llvm::StringRef getValue() const
Inherited from Node:
- public failed
- public getAllocator
- public getAnchor
- public getNext
- public getRawTag
- public getSourceRange
- public getType
- public getVerbatimTag
- public parseBlockNode
- public peekNext
- public setError
- public setSourceRange
- public skip
Methods
¶BlockScalarNode(std::unique_ptr<Document>& D,
llvm::StringRef Anchor,
llvm::StringRef Tag,
llvm::StringRef Value,
llvm::StringRef RawVal)
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:253
Parameters
- std::unique_ptr<Document>& D
- llvm::StringRef Anchor
- llvm::StringRef Tag
- llvm::StringRef Value
- llvm::StringRef RawVal
¶static bool classof(const llvm::yaml::Node* N)
static bool classof(const llvm::yaml::Node* N)
Declared at: llvm/include/llvm/Support/YAMLParser.h:264
Parameters
- const llvm::yaml::Node* N
¶llvm::StringRef getValue() const
llvm::StringRef getValue() const
Description
Gets the value of this node as a StringRef.
Declared at: llvm/include/llvm/Support/YAMLParser.h:262