LLVM: llvm::yaml::PolymorphicTraits< DocNode > Struct Reference (original) (raw)

YAMLIO for DocNode. More...

Inheritance diagram for llvm::yaml::PolymorphicTraits< DocNode >:

[legend]

Static Public Member Functions
static NodeKind getKind (const DocNode &N)
static MapDocNode & getAsMap (DocNode &N)
static ArrayDocNode & getAsSequence (DocNode &N)
static ScalarDocNode & getAsScalar (DocNode &N)

Detailed Description

YAMLIO for DocNode.

Definition at line 146 of file MsgPackDocumentYAML.cpp.

Member Function Documentation

getAsMap()

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

Definition at line 159 of file MsgPackDocumentYAML.cpp.

References N.

getAsScalar()

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

Definition at line 166 of file MsgPackDocumentYAML.cpp.

References N.

getAsSequence()

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

Definition at line 161 of file MsgPackDocumentYAML.cpp.

References N.

getKind()

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

Definition at line 148 of file MsgPackDocumentYAML.cpp.

References llvm::msgpack::Array, llvm::msgpack::Map, llvm::yaml::Map, N, llvm::yaml::Scalar, and llvm::yaml::Sequence.


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