class Stream
Declaration
class Stream { /* full declaration omitted */ };
Description
This class represents a YAML stream potentially containing multiple documents.
Declared at: llvm/include/llvm/Support/YAMLParser.h:83
Method Overview
- public Stream(llvm::StringRef Input, llvm::SourceMgr &, bool ShowColors = true, std::error_code * EC = nullptr)
- public Stream(llvm::MemoryBufferRef InputBuffer, llvm::SourceMgr &, bool ShowColors = true, std::error_code * EC = nullptr)
- public llvm::yaml::document_iterator begin()
- public llvm::yaml::document_iterator end()
- public bool failed()
- public void printError(llvm::yaml::Node * N, const llvm::Twine & Msg)
- public void skip()
- public bool validate()
- public ~Stream()
Methods
¶Stream(llvm::StringRef Input,
llvm::SourceMgr&,
bool ShowColors = true,
std::error_code* EC = nullptr)
Stream(llvm::StringRef Input,
llvm::SourceMgr&,
bool ShowColors = true,
std::error_code* EC = nullptr)
Description
This keeps a reference to the string referenced by \p Input.
Declared at: llvm/include/llvm/Support/YAMLParser.h:86
Parameters
- llvm::StringRef Input
- llvm::SourceMgr&
- bool ShowColors = true
- std::error_code* EC = nullptr
¶Stream(llvm::MemoryBufferRef InputBuffer,
llvm::SourceMgr&,
bool ShowColors = true,
std::error_code* EC = nullptr)
Stream(llvm::MemoryBufferRef InputBuffer,
llvm::SourceMgr&,
bool ShowColors = true,
std::error_code* EC = nullptr)
Declared at: llvm/include/llvm/Support/YAMLParser.h:89
Parameters
- llvm::MemoryBufferRef InputBuffer
- llvm::SourceMgr&
- bool ShowColors = true
- std::error_code* EC = nullptr
¶llvm::yaml::document_iterator begin()
llvm::yaml::document_iterator begin()
Declared at: llvm/include/llvm/Support/YAMLParser.h:93
¶llvm::yaml::document_iterator end()
llvm::yaml::document_iterator end()
Declared at: llvm/include/llvm/Support/YAMLParser.h:94
¶bool failed()
bool failed()
Declared at: llvm/include/llvm/Support/YAMLParser.h:96
¶void printError(llvm::yaml::Node* N,
const llvm::Twine& Msg)
void printError(llvm::yaml::Node* N,
const llvm::Twine& Msg)
Declared at: llvm/include/llvm/Support/YAMLParser.h:103
Parameters
- llvm::yaml::Node* N
- const llvm::Twine& Msg
¶void skip()
void skip()
Declared at: llvm/include/llvm/Support/YAMLParser.h:95
¶bool validate()
bool validate()
Declared at: llvm/include/llvm/Support/YAMLParser.h:98
¶~Stream()
~Stream()
Declared at: llvm/include/llvm/Support/YAMLParser.h:91