LLVM: llvm::yaml::NullNode Class Reference (original) (raw)

A null value. More...

#include "[llvm/Support/YAMLParser.h](YAMLParser%5F8h%5Fsource.html)"

Inheritance diagram for llvm::yaml::NullNode:

Public Member Functions
NullNode (std::unique_ptr< Document > &D)
Public Member Functions inherited from llvm::yaml::Node
Node (unsigned int Type, std::unique_ptr< Document > &, StringRef Anchor, StringRef Tag)
Node (const Node &)=delete
void operator= (const Node &)=delete
void * operator new (size_t Size, BumpPtrAllocator &Alloc, size_t Alignment=16) noexcept
void operator delete (void *Ptr, BumpPtrAllocator &Alloc, size_t Size) noexcept
void operator delete (void *) noexcept=delete
StringRef getAnchor () const
Get the value of the anchor attached to this node.
StringRef getRawTag () const
Get the tag as it was written in the document.
std::string getVerbatimTag () const
Get the verbatium tag for a given Node.
SMRange getSourceRange () const
void setSourceRange (SMRange SR)
Token & peekNext ()
Token getNext ()
Node * parseBlockNode ()
BumpPtrAllocator & getAllocator ()
void setError (const Twine &Message, Token &Location) const
bool failed () const
virtual void skip ()
unsigned int getType () const
Additional Inherited Members
Public Types inherited from llvm::yaml::Node
enum NodeKind { NK_Null, NK_Scalar, NK_BlockScalar, NK_KeyValue, NK_Mapping, NK_Sequence, NK_Alias }
Protected Member Functions inherited from llvm::yaml::Node
~Node ()=default
Protected Attributes inherited from llvm::yaml::Node
std::unique_ptr< Document > & Doc
SMRange SourceRange

Detailed Description

A null value.

Example: !!null null

Definition at line 199 of file YAMLParser.h.

Constructor & Destructor Documentation

llvm::yaml::NullNode::NullNode ( std::unique_ptr< Document > & D) inline

Member Function Documentation

classof()

bool llvm::yaml::NullNode::classof ( const Node * N) inlinestatic

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