LLVM 20.0.0git
Public Member Functions | List of all members
llvm::yaml::document_iterator Class Reference

Iterator abstraction for Documents over a Stream. More...

#include "llvm/Support/YAMLParser.h"

Public Member Functions

 document_iterator ()=default
 
 document_iterator (std::unique_ptr< Document > &D)
 
bool operator== (const document_iterator &Other) const
 
bool operator!= (const document_iterator &Other) const
 
document_iterator operator++ ()
 
Documentoperator* ()
 
std::unique_ptr< Document > & operator-> ()
 

Detailed Description

Iterator abstraction for Documents over a Stream.

Definition at line 593 of file YAMLParser.h.

Constructor & Destructor Documentation

◆ document_iterator() [1/2]

llvm::yaml::document_iterator::document_iterator ( )
default

◆ document_iterator() [2/2]

llvm::yaml::document_iterator::document_iterator ( std::unique_ptr< Document > &  D)
inline

Definition at line 596 of file YAMLParser.h.

Member Function Documentation

◆ operator!=()

bool llvm::yaml::document_iterator::operator!= ( const document_iterator Other) const
inline

Definition at line 604 of file YAMLParser.h.

References llvm::Other.

◆ operator*()

Document & llvm::yaml::document_iterator::operator* ( )
inline

Definition at line 619 of file YAMLParser.h.

◆ operator++()

document_iterator llvm::yaml::document_iterator::operator++ ( )
inline

Definition at line 608 of file YAMLParser.h.

References assert().

◆ operator->()

std::unique_ptr< Document > & llvm::yaml::document_iterator::operator-> ( )
inline

Definition at line 621 of file YAMLParser.h.

◆ operator==()

bool llvm::yaml::document_iterator::operator== ( const document_iterator Other) const
inline

Definition at line 598 of file YAMLParser.h.

References llvm::Other.


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