LLZK 0.1.0
Veridise's ZK Language IR
Loading...
Searching...
No Matches
llzk::SymbolLookupResult< T > Class Template Reference

#include <SymbolLookup.h>

Public Member Functions

 SymbolLookupResult (SymbolLookupResultUntyped &&inner)
 
operator-> ()
 Access the internal operation as type T.
 
operator* ()
 
const T operator* () const
 
get ()
 
get () const
 
 operator bool () const
 
std::vector< llvm::StringRef > getIncludeSymNames () const
 Return the stack of symbol names from the IncludeOp that were traversed to load this result.
 
bool viaInclude () const
 Return 'true' if at least one IncludeOp was traversed to load this result.
 
bool operator== (const SymbolLookupResult< T > &rhs) const
 

Friends

class Within
 

Detailed Description

template<typename T>
class llzk::SymbolLookupResult< T >

Definition at line 81 of file SymbolLookup.h.

Constructor & Destructor Documentation

◆ SymbolLookupResult()

template<typename T>
llzk::SymbolLookupResult< T >::SymbolLookupResult ( SymbolLookupResultUntyped && inner)
inline

Definition at line 83 of file SymbolLookup.h.

Member Function Documentation

◆ get() [1/2]

template<typename T>
T llzk::SymbolLookupResult< T >::get ( )
inline

Definition at line 90 of file SymbolLookup.h.

◆ get() [2/2]

template<typename T>
T llzk::SymbolLookupResult< T >::get ( ) const
inline

Definition at line 91 of file SymbolLookup.h.

◆ getIncludeSymNames()

template<typename T>
std::vector< llvm::StringRef > llzk::SymbolLookupResult< T >::getIncludeSymNames ( ) const
inline

Return the stack of symbol names from the IncludeOp that were traversed to load this result.

Definition at line 96 of file SymbolLookup.h.

◆ operator bool()

template<typename T>
llzk::SymbolLookupResult< T >::operator bool ( ) const
inline

Definition at line 93 of file SymbolLookup.h.

◆ operator*() [1/2]

template<typename T>
T llzk::SymbolLookupResult< T >::operator* ( )
inline

Definition at line 88 of file SymbolLookup.h.

◆ operator*() [2/2]

template<typename T>
const T llzk::SymbolLookupResult< T >::operator* ( ) const
inline

Definition at line 89 of file SymbolLookup.h.

◆ operator->()

template<typename T>
T llzk::SymbolLookupResult< T >::operator-> ( )
inline

Access the internal operation as type T.

Follows the behaviors of llvm::dyn_cast if the internal operation cannot cast to that type.

Definition at line 87 of file SymbolLookup.h.

◆ operator==()

template<typename T>
bool llzk::SymbolLookupResult< T >::operator== ( const SymbolLookupResult< T > & rhs) const
inline

Definition at line 101 of file SymbolLookup.h.

◆ viaInclude()

template<typename T>
bool llzk::SymbolLookupResult< T >::viaInclude ( ) const
inline

Return 'true' if at least one IncludeOp was traversed to load this result.

Definition at line 99 of file SymbolLookup.h.

Friends And Related Symbol Documentation

◆ Within

template<typename T>
friend class Within
friend

Definition at line 106 of file SymbolLookup.h.


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