|
LLVM
3.7.0
|
This class represents a YAML stream potentially containing multiple documents. More...
#include <YAMLParser.h>
Public Member Functions | |
| Stream (StringRef Input, SourceMgr &, bool ShowColors=true) | |
This keeps a reference to the string referenced by Input. More... | |
| Stream (MemoryBufferRef InputBuffer, SourceMgr &, bool ShowColors=true) | |
| ~Stream () | |
| document_iterator | begin () |
| document_iterator | end () |
| void | skip () |
| bool | failed () |
| bool | validate () |
| void | printError (Node *N, const Twine &Msg) |
Friends | |
| class | Document |
This class represents a YAML stream potentially containing multiple documents.
Definition at line 76 of file YAMLParser.h.
This keeps a reference to the string referenced by Input.
Definition at line 1771 of file YAMLParser.cpp.
| Stream::Stream | ( | MemoryBufferRef | InputBuffer, |
| SourceMgr & | SM, | ||
| bool | ShowColors = true |
||
| ) |
Definition at line 1774 of file YAMLParser.cpp.
| Stream::~Stream | ( | ) |
Definition at line 1777 of file YAMLParser.cpp.
| document_iterator Stream::begin | ( | ) |
Definition at line 1788 of file YAMLParser.cpp.
References Document, and llvm::report_fatal_error().
Referenced by skip().
| document_iterator Stream::end | ( | ) |
Definition at line 1799 of file YAMLParser.cpp.
Referenced by skip().
| bool Stream::failed | ( | ) |
Definition at line 1779 of file YAMLParser.cpp.
Referenced by validate().
Definition at line 1781 of file YAMLParser.cpp.
References llvm::SourceMgr::DK_Error, llvm::yaml::Node::getSourceRange(), and llvm::SMRange::Start.
| void Stream::skip | ( | ) |
Definition at line 1803 of file YAMLParser.cpp.
References begin(), and end().
Referenced by validate().
|
inline |
Definition at line 88 of file YAMLParser.h.
|
friend |
Definition at line 99 of file YAMLParser.h.
Referenced by begin().
1.8.6