LLVM 22.0.0git
llvm::yaml::PolymorphicTraits< DocNode > Struct Reference

YAMLIO for DocNode. More...

Inheritance diagram for llvm::yaml::PolymorphicTraits< DocNode >:
[legend]

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

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()


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