LLVM API Documentation
#include <YAMLTraits.h>
Public Member Functions | |
IO (void *Ctxt=NULL) | |
virtual | ~IO () |
virtual bool | outputting () const =0 |
virtual unsigned | beginSequence ()=0 |
virtual bool | preflightElement (unsigned, void *&)=0 |
virtual void | postflightElement (void *)=0 |
virtual void | endSequence ()=0 |
virtual bool | canElideEmptySequence ()=0 |
virtual unsigned | beginFlowSequence ()=0 |
virtual bool | preflightFlowElement (unsigned, void *&)=0 |
virtual void | postflightFlowElement (void *)=0 |
virtual void | endFlowSequence ()=0 |
virtual bool | mapTag (StringRef Tag, bool Default=false)=0 |
virtual void | beginMapping ()=0 |
virtual void | endMapping ()=0 |
virtual bool | preflightKey (const char *, bool, bool, bool &, void *&)=0 |
virtual void | postflightKey (void *)=0 |
virtual void | beginEnumScalar ()=0 |
virtual bool | matchEnumScalar (const char *, bool)=0 |
virtual void | endEnumScalar ()=0 |
virtual bool | beginBitSetScalar (bool &)=0 |
virtual bool | bitSetMatch (const char *, bool)=0 |
virtual void | endBitSetScalar ()=0 |
virtual void | scalarString (StringRef &)=0 |
virtual void | setError (const Twine &)=0 |
template<typename T > | |
void | enumCase (T &Val, const char *Str, const T ConstVal) |
template<typename T > | |
void | enumCase (T &Val, const char *Str, const uint32_t ConstVal) |
template<typename T > | |
void | bitSetCase (T &Val, const char *Str, const T ConstVal) |
template<typename T > | |
void | bitSetCase (T &Val, const char *Str, const uint32_t ConstVal) |
void * | getContext () |
void | setContext (void *) |
template<typename T > | |
void | mapRequired (const char *Key, T &Val) |
template<typename T > | |
llvm::enable_if_c < has_SequenceTraits< T > ::value, void >::type | mapOptional (const char *Key, T &Val) |
template<typename T > | |
llvm::enable_if_c <!has_SequenceTraits< T > ::value, void >::type | mapOptional (const char *Key, T &Val) |
template<typename T > | |
void | mapOptional (const char *Key, T &Val, const T &Default) |
Definition at line 315 of file YAMLTraits.h.
IO::IO | ( | void * | Ctxt = NULL | ) |
Definition at line 26 of file YAMLTraits.cpp.
|
virtual |
Definition at line 29 of file YAMLTraits.cpp.
Implemented in llvm::yaml::Output.
Referenced by llvm::yaml::yamlize().
|
pure virtual |
Implemented in llvm::yaml::Output.
Referenced by llvm::yaml::yamlize().
|
pure virtual |
Implemented in llvm::yaml::Output.
Referenced by llvm::yaml::yamlize().
|
pure virtual |
Implemented in llvm::yaml::Output.
Referenced by llvm::yaml::yamlize().
|
pure virtual |
Implemented in llvm::yaml::Output.
Referenced by llvm::yaml::yamlize().
|
inline |
Definition at line 368 of file YAMLTraits.h.
References bitSetMatch(), and outputting().
|
inline |
Definition at line 376 of file YAMLTraits.h.
References bitSetMatch(), and outputting().
Implemented in llvm::yaml::Output.
Referenced by bitSetCase().
|
pure virtual |
Implemented in llvm::yaml::Output.
Referenced by mapOptional().
|
pure virtual |
Implemented in llvm::yaml::Output.
Referenced by llvm::yaml::yamlize().
|
pure virtual |
Implemented in llvm::yaml::Output.
Referenced by llvm::yaml::yamlize().
|
pure virtual |
Implemented in llvm::yaml::Output.
Referenced by llvm::yaml::yamlize().
|
pure virtual |
Implemented in llvm::yaml::Output.
Referenced by llvm::yaml::yamlize().
|
pure virtual |
Implemented in llvm::yaml::Output.
Referenced by llvm::yaml::yamlize().
|
inline |
Definition at line 353 of file YAMLTraits.h.
References matchEnumScalar(), and outputting().
Referenced by llvm::yaml::ScalarEnumerationTraits< MCAtom::AtomKind >::enumeration().
|
inline |
Definition at line 361 of file YAMLTraits.h.
References matchEnumScalar(), and outputting().
void * IO::getContext | ( | ) |
Definition at line 32 of file YAMLTraits.cpp.
Referenced by llvm::yaml::yamlize().
|
inline |
Definition at line 392 of file YAMLTraits.h.
References canElideEmptySequence().
Referenced by llvm::yaml::MappingTraits< COFF::header >::mapping(), llvm::yaml::MappingTraits< COFFYAML::Symbol >::mapping(), llvm::yaml::MappingTraits< COFFYAML::Section >::mapping(), llvm::yaml::MappingTraits< ELFYAML::FileHeader >::mapping(), llvm::yaml::MappingTraits< ELFYAML::Symbol >::mapping(), llvm::yaml::MappingTraits< ELFYAML::LocalGlobalWeakSymbols >::mapping(), llvm::yaml::MappingTraits< ELFYAML::Section >::mapping(), llvm::yaml::MappingTraits< ELFYAML::Object >::mapping(), and llvm::yaml::MappingTraits< MCModuleYAML::Module >::mapping().
|
inline |
Definition at line 401 of file YAMLTraits.h.
|
inline |
Definition at line 406 of file YAMLTraits.h.
|
inline |
Definition at line 386 of file YAMLTraits.h.
Referenced by llvm::yaml::MappingTraits< COFFYAML::Relocation >::mapping(), llvm::yaml::MappingTraits< COFF::header >::mapping(), llvm::yaml::MappingTraits< COFFYAML::Symbol >::mapping(), llvm::yaml::MappingTraits< COFFYAML::Section >::mapping(), llvm::yaml::MappingTraits< COFFYAML::Object >::mapping(), llvm::yaml::MappingTraits< ELFYAML::FileHeader >::mapping(), llvm::yaml::MappingTraits< MCModuleYAML::Atom >::mapping(), llvm::yaml::MappingTraits< MCModuleYAML::Inst >::mapping(), llvm::yaml::MappingTraits< MCModuleYAML::BasicBlock >::mapping(), llvm::yaml::MappingTraits< ELFYAML::Section >::mapping(), llvm::yaml::MappingTraits< MCModuleYAML::Function >::mapping(), llvm::yaml::MappingTraits< ELFYAML::Object >::mapping(), and llvm::yaml::MappingTraits< MCModuleYAML::Module >::mapping().
Implemented in llvm::yaml::Output.
Implemented in llvm::yaml::Output.
Referenced by enumCase().
|
pure virtual |
Implemented in llvm::yaml::Output.
Referenced by bitSetCase(), llvm::yaml::Input::classof(), llvm::yaml::Output::classof(), enumCase(), llvm::yaml::MappingNormalization< TNorm, TFinal >::MappingNormalization(), llvm::yaml::MappingNormalizationHeap< TNorm, TFinal >::MappingNormalizationHeap(), llvm::yaml::yamlize(), llvm::yaml::MappingNormalization< TNorm, TFinal >::~MappingNormalization(), and llvm::yaml::MappingNormalizationHeap< TNorm, TFinal >::~MappingNormalizationHeap().
|
pure virtual |
Implemented in llvm::yaml::Output.
Referenced by llvm::yaml::yamlize().
|
pure virtual |
Implemented in llvm::yaml::Output.
Referenced by llvm::yaml::yamlize().
|
pure virtual |
Implemented in llvm::yaml::Output.
Implemented in llvm::yaml::Output.
Referenced by llvm::yaml::yamlize().
Implemented in llvm::yaml::Output.
Referenced by llvm::yaml::yamlize().
|
pure virtual |
Implemented in llvm::yaml::Output.
|
pure virtual |
Implemented in llvm::yaml::Output.
Referenced by llvm::yaml::yamlize().
void IO::setContext | ( | void * | Context | ) |
Definition at line 36 of file YAMLTraits.cpp.
|
pure virtual |
Implemented in llvm::yaml::Output.
Referenced by llvm::yaml::yamlize().