LLVM API Documentation

Public Member Functions | Static Public Member Functions
llvm::yaml::ScalarNode Class Reference

A scalar node is an opaque datum that can be presented as a series of zero or more Unicode scalar values. More...

#include <YAMLParser.h>

Inheritance diagram for llvm::yaml::ScalarNode:
Inheritance graph
[legend]
Collaboration diagram for llvm::yaml::ScalarNode:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ScalarNode (std::unique_ptr< Document > &D, StringRef Anchor, StringRef Tag, StringRef Val)
StringRef getRawValue () const
StringRef getValue (SmallVectorImpl< char > &Storage) const
 Gets the value of this node as a StringRef.

Static Public Member Functions

static bool classof (const Node *N)

Detailed Description

A scalar node is an opaque datum that can be presented as a series of zero or more Unicode scalar values.

Example: Adena

Definition at line 190 of file YAMLParser.h.


Constructor & Destructor Documentation

llvm::yaml::ScalarNode::ScalarNode ( std::unique_ptr< Document > &  D,
StringRef  Anchor,
StringRef  Tag,
StringRef  Val 
) [inline]

Member Function Documentation

static bool llvm::yaml::ScalarNode::classof ( const Node N) [inline, static]

Definition at line 214 of file YAMLParser.h.

References llvm::yaml::Node::getType(), and llvm::yaml::Node::NK_Scalar.

Definition at line 205 of file YAMLParser.h.

StringRef ScalarNode::getValue ( SmallVectorImpl< char > &  Storage) const

The documentation for this class was generated from the following files: