LLVM: llvm::yaml::Stream Class Reference (original) (raw)

This class represents a YAML stream potentially containing multiple documents. More...

#include "[llvm/Support/YAMLParser.h](YAMLParser%5F8h%5Fsource.html)"

Public Member Functions
LLVM_ABI Stream (StringRef Input, SourceMgr &, bool ShowColors=true, std::error_code *EC=nullptr)
This keeps a reference to the string referenced by Input.
LLVM_ABI Stream (MemoryBufferRef InputBuffer, SourceMgr &, bool ShowColors=true, std::error_code *EC=nullptr)
LLVM_ABI ~Stream ()
LLVM_ABI document_iterator begin ()
LLVM_ABI document_iterator end ()
LLVM_ABI void skip ()
LLVM_ABI bool failed ()
bool validate ()
LLVM_ABI void printError (Node *N, const Twine &Msg, SourceMgr::DiagKind Kind=SourceMgr::DK_Error)
LLVM_ABI void printError (const SMRange &Range, const Twine &Msg, SourceMgr::DiagKind Kind=SourceMgr::DK_Error)

This class represents a YAML stream potentially containing multiple documents.

Definition at line 88 of file YAMLParser.h.

Stream() [1/2]

Stream() [2/2]

Stream::~Stream ( ) default

begin()

end()

failed()

printError() [1/2]

printError() [2/2]

skip()

validate()

bool llvm::yaml::Stream::validate ( ) inline

Document


The documentation for this class was generated from the following files: