LLVM 20.0.0git
Classes | Namespaces | Functions
YAMLParser.h File Reference
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/SMLoc.h"
#include "llvm/Support/SourceMgr.h"
#include <cassert>
#include <cstddef>
#include <iterator>
#include <map>
#include <memory>
#include <optional>
#include <string>
#include <system_error>

Go to the source code of this file.

Classes

class  llvm::yaml::Stream
 This class represents a YAML stream potentially containing multiple documents. More...
 
class  llvm::yaml::Node
 Abstract base class for all Nodes. More...
 
class  llvm::yaml::NullNode
 A null value. More...
 
class  llvm::yaml::ScalarNode
 A scalar node is an opaque datum that can be presented as a series of zero or more Unicode scalar values. More...
 
class  llvm::yaml::BlockScalarNode
 A block scalar node is an opaque datum that can be presented as a series of zero or more Unicode scalar values. More...
 
class  llvm::yaml::KeyValueNode
 A key and value pair. More...
 
class  llvm::yaml::basic_collection_iterator< BaseT, ValueT >
 This is an iterator abstraction over YAML collections shared by both sequences and maps. More...
 
class  llvm::yaml::MappingNode
 Represents a YAML map created from either a block map for a flow map. More...
 
class  llvm::yaml::SequenceNode
 Represents a YAML sequence created from either a block sequence for a flow sequence. More...
 
class  llvm::yaml::AliasNode
 Represents an alias to a Node with an anchor. More...
 
class  llvm::yaml::Document
 A YAML Stream is a sequence of Documents. More...
 
class  llvm::yaml::document_iterator
 Iterator abstraction for Documents over a Stream. More...
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::yaml
 

Functions

bool llvm::yaml::dumpTokens (StringRef Input, raw_ostream &)
 Dump all the tokens in this stream to OS.
 
bool llvm::yaml::scanTokens (StringRef Input)
 Scans all tokens in input without outputting anything.
 
std::string llvm::yaml::escape (StringRef Input, bool EscapePrintable=true)
 Escape Input for a double quoted scalar; if EscapePrintable is true, all UTF8 sequences will be escaped, if EscapePrintable is false, those UTF8 sequences encoding printable unicode scalars will not be escaped, but emitted verbatim.
 
std::optional< boolllvm::yaml::parseBool (StringRef S)
 Parse S as a bool according to https://yaml.org/type/bool.html.
 
template<class CollectionType >
CollectionType::iterator llvm::yaml::begin (CollectionType &C)
 
template<class CollectionType >
void llvm::yaml::skip (CollectionType &C)