LLVM  15.0.0git
Public Types | Public Member Functions | Public Attributes | List of all members
AbstractManglingParser< Derived, Alloc >::OperatorInfo Struct Reference

#include "llvm/Demangle/ItaniumDemangle.h"

Collaboration diagram for AbstractManglingParser< Derived, Alloc >::OperatorInfo:
Collaboration graph
[legend]

Public Types

enum  OIKind : unsigned char {
  Prefix, Postfix, Binary, Array,
  Member, New, Del, Call,
  CCast, Conditional, NameOnly, NamedCast,
  OfIdOp, Unnameable = NamedCast
}
 

Public Member Functions

constexpr OperatorInfo (const char(&E)[3], OIKind K, bool F, Node::Prec P, const char *N)
 
bool operator< (const OperatorInfo &Other) const
 
bool operator< (const char *Peek) const
 
bool operator== (const char *Peek) const
 
bool operator!= (const char *Peek) const
 
StringView getSymbol () const
 
StringView getName () const
 
OIKind getKind () const
 
bool getFlag () const
 
Node::Prec getPrecedence () const
 

Public Attributes

char Enc [2]
 
OIKind Kind
 
bool Flag: 1
 
Node::Prec Prec: 7
 
const char * Name
 

Detailed Description

template<typename Derived, typename Alloc>
struct AbstractManglingParser< Derived, Alloc >::OperatorInfo

Definition at line 2571 of file ItaniumDemangle.h.

Member Enumeration Documentation

◆ OIKind

template<typename Derived , typename Alloc >
enum AbstractManglingParser::OperatorInfo::OIKind : unsigned char
Enumerator
Prefix 
Postfix 
Binary 
Array 
Member 
New 
Del 
Call 
CCast 
Conditional 
NameOnly 
NamedCast 
OfIdOp 
Unnameable 

Definition at line 2572 of file ItaniumDemangle.h.

Constructor & Destructor Documentation

◆ OperatorInfo()

template<typename Derived , typename Alloc >
constexpr AbstractManglingParser< Derived, Alloc >::OperatorInfo::OperatorInfo ( const char(&)  E[3],
OIKind  K,
bool  F,
Node::Prec  P,
const char *  N 
)
inlineconstexpr

Definition at line 2597 of file ItaniumDemangle.h.

References E.

Member Function Documentation

◆ getFlag()

template<typename Derived , typename Alloc >
bool AbstractManglingParser< Derived, Alloc >::OperatorInfo::getFlag ( ) const
inline

◆ getKind()

template<typename Derived , typename Alloc >
OIKind AbstractManglingParser< Derived, Alloc >::OperatorInfo::getKind ( ) const
inline

◆ getName()

template<typename Derived , typename Alloc >
StringView AbstractManglingParser< Derived, Alloc >::OperatorInfo::getName ( ) const
inline

◆ getPrecedence()

template<typename Derived , typename Alloc >
Node::Prec AbstractManglingParser< Derived, Alloc >::OperatorInfo::getPrecedence ( ) const
inline

◆ getSymbol()

template<typename Derived , typename Alloc >
StringView AbstractManglingParser< Derived, Alloc >::OperatorInfo::getSymbol ( ) const
inline

◆ operator!=()

template<typename Derived , typename Alloc >
bool AbstractManglingParser< Derived, Alloc >::OperatorInfo::operator!= ( const char *  Peek) const
inline

◆ operator<() [1/2]

template<typename Derived , typename Alloc >
bool AbstractManglingParser< Derived, Alloc >::OperatorInfo::operator< ( const char *  Peek) const
inline

◆ operator<() [2/2]

template<typename Derived , typename Alloc >
bool AbstractManglingParser< Derived, Alloc >::OperatorInfo::operator< ( const OperatorInfo Other) const
inline

Definition at line 2602 of file ItaniumDemangle.h.

References Other.

◆ operator==()

template<typename Derived , typename Alloc >
bool AbstractManglingParser< Derived, Alloc >::OperatorInfo::operator== ( const char *  Peek) const
inline

Member Data Documentation

◆ Enc

template<typename Derived , typename Alloc >
char AbstractManglingParser< Derived, Alloc >::OperatorInfo::Enc[2]

◆ Flag

template<typename Derived , typename Alloc >
bool AbstractManglingParser< Derived, Alloc >::OperatorInfo::Flag

◆ Kind

template<typename Derived , typename Alloc >
OIKind AbstractManglingParser< Derived, Alloc >::OperatorInfo::Kind

◆ Name

template<typename Derived , typename Alloc >
const char* AbstractManglingParser< Derived, Alloc >::OperatorInfo::Name

◆ Prec

template<typename Derived , typename Alloc >
Node::Prec AbstractManglingParser< Derived, Alloc >::OperatorInfo::Prec

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