LLVM API Documentation
Classes | |
| struct | ScalarEnumerationTraits< COFF::MachineTypes > |
| struct | ScalarEnumerationTraits< COFF::SymbolBaseType > |
| struct | ScalarEnumerationTraits< COFF::SymbolStorageClass > |
| struct | ScalarEnumerationTraits< COFF::SymbolComplexType > |
| struct | ScalarEnumerationTraits< COFF::RelocationTypeX86 > |
| struct | ScalarBitSetTraits< COFF::Characteristics > |
| struct | ScalarBitSetTraits< COFF::SectionCharacteristics > |
| struct | MappingTraits< COFF::relocation > |
| struct | MappingTraits< COFF::header > |
| struct | MappingTraits< COFFYAML::Symbol > |
| struct | MappingTraits< COFFYAML::Section > |
| struct | MappingTraits< COFFYAML::Object > |
| class | Stream |
| This class represents a YAML stream potentially containing multiple documents. More... | |
| class | Node |
| Abstract base class for all Nodes. More... | |
| class | NullNode |
| A null value. More... | |
| class | ScalarNode |
| A scalar node is an opaque datum that can be presented as a series of zero or more Unicode scalar values. More... | |
| class | KeyValueNode |
| A key and value pair. While not technically a Node under the YAML representation graph, it is easier to treat them this way. More... | |
| class | basic_collection_iterator |
| This is an iterator abstraction over YAML collections shared by both sequences and maps. More... | |
| class | MappingNode |
| Represents a YAML map created from either a block map for a flow map. More... | |
| class | SequenceNode |
| Represents a YAML sequence created from either a block sequence for a flow sequence. More... | |
| class | AliasNode |
| Represents an alias to a Node with an anchor. More... | |
| class | Document |
| A YAML Stream is a sequence of Documents. A document contains a root node. More... | |
| class | document_iterator |
| Iterator abstraction for Documents over a Stream. More... | |
| struct | MappingTraits |
| struct | ScalarEnumerationTraits |
| struct | ScalarBitSetTraits |
| struct | ScalarTraits |
| struct | SequenceTraits |
| struct | DocumentListTraits |
| struct | has_ScalarEnumerationTraits |
| struct | has_ScalarBitSetTraits |
| struct | has_ScalarTraits |
| struct | has_MappingTraits |
| struct | has_SequenceMethodTraits |
| class | has_FlowTraits |
| struct | has_FlowTraits< T, true > |
| struct | has_SequenceTraits |
| struct | has_DocumentListTraits |
| struct | missingTraits |
| class | IO |
| struct | ScalarTraits< bool > |
| struct | ScalarTraits< StringRef > |
| struct | ScalarTraits< uint8_t > |
| struct | ScalarTraits< uint16_t > |
| struct | ScalarTraits< uint32_t > |
| struct | ScalarTraits< uint64_t > |
| struct | ScalarTraits< int8_t > |
| struct | ScalarTraits< int16_t > |
| struct | ScalarTraits< int32_t > |
| struct | ScalarTraits< int64_t > |
| struct | ScalarTraits< float > |
| struct | ScalarTraits< double > |
| struct | MappingNormalization |
| struct | MappingNormalizationHeap |
| class | Input |
| class | Output |
| struct | ScalarTraits< Hex8 > |
| struct | ScalarTraits< Hex16 > |
| struct | ScalarTraits< Hex32 > |
| struct | ScalarTraits< Hex64 > |
| struct | Token |
| Token - A single YAML token. More... | |
| class | Scanner |
| Scans YAML tokens from a MemoryBuffer. More... | |
Functions | |
| bool | dumpTokens (StringRef Input, raw_ostream &) |
| Dump all the tokens in this stream to OS. | |
| bool | scanTokens (StringRef Input) |
| Scans all tokens in input without outputting anything. This is used for benchmarking the tokenizer. | |
| std::string | escape (StringRef Input) |
| Escape Input for a double quoted scalar. | |
| template<class CollectionType > | |
| CollectionType::iterator | begin (CollectionType &C) |
| template<class CollectionType > | |
| void | skip (CollectionType &C) |
| template<typename T > | |
| llvm::enable_if_c < has_ScalarEnumerationTraits < T >::value, void >::type | yamlize (IO &io, T &Val, bool) |
| template<typename T > | |
| llvm::enable_if_c < has_DocumentListTraits< T > ::value, Input & >::type | operator>> (Input &yin, T &docList) |
| template<typename T > | |
| llvm::enable_if_c < has_DocumentListTraits< T > ::value, Output & >::type | operator<< (Output &yout, T &docList) |
| CollectionType::iterator llvm::yaml::begin | ( | CollectionType & | C | ) |
Definition at line 308 of file YAMLParser.h.
Referenced by skip().
| bool llvm::yaml::dumpTokens | ( | StringRef | Input, |
| raw_ostream & | OS | ||
| ) |
Dump all the tokens in this stream to OS.
Definition at line 539 of file YAMLParser.cpp.
References llvm::yaml::Scanner::getNext(), llvm::yaml::Token::Kind, llvm::yaml::Token::Range, llvm::yaml::Token::TK_Alias, llvm::yaml::Token::TK_Anchor, llvm::yaml::Token::TK_BlockEnd, llvm::yaml::Token::TK_BlockEntry, llvm::yaml::Token::TK_BlockMappingStart, llvm::yaml::Token::TK_BlockSequenceStart, llvm::yaml::Token::TK_DocumentEnd, llvm::yaml::Token::TK_DocumentStart, llvm::yaml::Token::TK_Error, llvm::yaml::Token::TK_FlowEntry, llvm::yaml::Token::TK_FlowMappingEnd, llvm::yaml::Token::TK_FlowMappingStart, llvm::yaml::Token::TK_FlowSequenceEnd, llvm::yaml::Token::TK_FlowSequenceStart, llvm::yaml::Token::TK_Key, llvm::yaml::Token::TK_Scalar, llvm::yaml::Token::TK_StreamEnd, llvm::yaml::Token::TK_StreamStart, llvm::yaml::Token::TK_Tag, llvm::yaml::Token::TK_TagDirective, llvm::yaml::Token::TK_Value, and llvm::yaml::Token::TK_VersionDirective.
| std::string llvm::yaml::escape | ( | StringRef | Input | ) |
Escape Input for a double quoted scalar.
Definition at line 633 of file YAMLParser.cpp.
References llvm::StringRef::begin(), llvm::SmallVectorTemplateCommon< char >::begin(), decodeUTF8(), encodeUTF8(), llvm::StringRef::end(), llvm::SmallVectorTemplateCommon< char >::end(), and llvm::utohexstr().
| llvm::enable_if_c< missingTraits< T >::value, Output & >::type llvm::yaml::operator<< | ( | Output & | yout, |
| T & | docList | ||
| ) | [inline] |
Definition at line 989 of file YAMLTraits.h.
References llvm::yaml::Output::beginDocuments(), llvm::yaml::Output::endDocuments(), llvm::yaml::Output::postflightDocument(), llvm::yaml::Output::preflightDocument(), and yamlize().
| llvm::enable_if_c< missingTraits< T >::value, Input & >::type llvm::yaml::operator>> | ( | Input & | yin, |
| T & | docList | ||
| ) | [inline] |
Definition at line 942 of file YAMLTraits.h.
References llvm::yaml::Input::error(), llvm::yaml::Input::nextDocument(), llvm::yaml::Input::setCurrentDocument(), and yamlize().
Scans all tokens in input without outputting anything. This is used for benchmarking the tokenizer.
Definition at line 620 of file YAMLParser.cpp.
References llvm::yaml::Scanner::getNext(), llvm::yaml::Token::Kind, llvm::yaml::Token::TK_Error, and llvm::yaml::Token::TK_StreamEnd.
| void llvm::yaml::skip | ( | CollectionType & | C | ) |
Definition at line 317 of file YAMLParser.h.
References begin().
| llvm::enable_if_c< has_SequenceTraits< T >::value, void >::type llvm::yaml::yamlize | ( | IO & | io, |
| T & | Val, | ||
| bool | |||
| ) |
Definition at line 444 of file YAMLTraits.h.
References llvm::yaml::IO::beginEnumScalar(), and llvm::yaml::IO::endEnumScalar().
Referenced by operator<<(), and operator>>().