LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
llvm::yaml::NullNode Class Reference

A null value. More...

#include <YAMLParser.h>

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

Public Member Functions

 NullNode (OwningPtr< Document > &D)
 
- Public Member Functions inherited from llvm::yaml::Node
 Node (unsigned int Type, OwningPtr< Document > &, StringRef Anchor, StringRef Tag)
 
StringRef getAnchor () const
 Get the value of the anchor attached to this node. If it does not have one, getAnchor().size() will be 0. More...
 
StringRef getRawTag () const
 Get the tag as it was written in the document. This does not perform tag resolution. More...
 
std::string getVerbatimTag () const
 Get the verbatium tag for a given Node. This performs tag resoluton and substitution. More...
 
SMRange getSourceRange () const
 
void setSourceRange (SMRange SR)
 
TokenpeekNext ()
 
Token getNext ()
 
NodeparseBlockNode ()
 
BumpPtrAllocatorgetAllocator ()
 
void setError (const Twine &Message, Token &Location) const
 
bool failed () const
 
virtual void skip ()
 
unsigned int getType () const
 
void * operator new (size_t Size, BumpPtrAllocator &Alloc, size_t Alignment=16) throw ()
 
void operator delete (void *Ptr, BumpPtrAllocator &Alloc, size_t) throw ()
 

Static Public Member Functions

static bool classof (const Node *N)
 

Additional Inherited Members

- Public Types inherited from llvm::yaml::Node
enum  NodeKind {
  NK_Null, NK_Scalar, NK_KeyValue, NK_Mapping,
  NK_Sequence, NK_Alias
}
 
- Protected Member Functions inherited from llvm::yaml::Node
void operator delete (void *) throw ()
 
virtual ~Node ()
 
- Protected Attributes inherited from llvm::yaml::Node
OwningPtr< Document > & Doc
 
SMRange SourceRange
 

Detailed Description

A null value.

Example: !!null null

Definition at line 178 of file YAMLParser.h.

Constructor & Destructor Documentation

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

Definition at line 181 of file YAMLParser.h.

Member Function Documentation

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

Definition at line 184 of file YAMLParser.h.

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


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