LLVM  10.0.0svn
Static Public Member Functions | List of all members
llvm::yaml::PolymorphicTraits< DocNode > Struct Template Reference

YAMLIO for DocNode. More...

Static Public Member Functions

static NodeKind getKind (const DocNode &N)
 
static MapDocNodegetAsMap (DocNode &N)
 
static ArrayDocNodegetAsSequence (DocNode &N)
 
static ScalarDocNode & getAsScalar (DocNode &N)
 

Detailed Description

template<>
struct llvm::yaml::PolymorphicTraits< DocNode >

YAMLIO for DocNode.

Definition at line 147 of file MsgPackDocumentYAML.cpp.

Member Function Documentation

◆ getAsMap()

static MapDocNode& llvm::yaml::PolymorphicTraits< DocNode >::getAsMap ( DocNode N)
inlinestatic

Definition at line 160 of file MsgPackDocumentYAML.cpp.

References llvm::msgpack::DocNode::getMap().

◆ getAsScalar()

static ScalarDocNode& llvm::yaml::PolymorphicTraits< DocNode >::getAsScalar ( DocNode N)
inlinestatic

Definition at line 167 of file MsgPackDocumentYAML.cpp.

References N.

◆ getAsSequence()

static ArrayDocNode& llvm::yaml::PolymorphicTraits< DocNode >::getAsSequence ( DocNode N)
inlinestatic

Definition at line 162 of file MsgPackDocumentYAML.cpp.

References llvm::msgpack::DocNode::getArray(), and N.

◆ getKind()

static NodeKind llvm::yaml::PolymorphicTraits< DocNode >::getKind ( const DocNode N)
inlinestatic

The documentation for this struct was generated from the following file: