LLDB  mainline
Public Types | Public Member Functions | Protected Attributes | List of all members
lldb_private::ExpressionTypeSystemHelper Class Reference

"lldb/Expression/ExpressionTypeSystemHelper.h" A helper object that the Expression can pass to its ExpressionParser to provide generic information that any type of expression will need to supply. More...

#include <ExpressionTypeSystemHelper.h>

Inheritance diagram for lldb_private::ExpressionTypeSystemHelper:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::ExpressionTypeSystemHelper:
Collaboration graph
[legend]

Public Types

enum  LLVMCastKind { eKindClangHelper, eKindSwiftHelper, eKindGoHelper, kNumKinds }
 

Public Member Functions

LLVMCastKind getKind () const
 
 ExpressionTypeSystemHelper (LLVMCastKind kind)
 
 ~ExpressionTypeSystemHelper ()
 

Protected Attributes

LLVMCastKind m_kind
 

Detailed Description

"lldb/Expression/ExpressionTypeSystemHelper.h" A helper object that the Expression can pass to its ExpressionParser to provide generic information that any type of expression will need to supply.

It's only job is to support dyn_cast so that the expression parser can cast it back to the requisite specific type.

Definition at line 26 of file ExpressionTypeSystemHelper.h.

Member Enumeration Documentation

◆ LLVMCastKind

Enumerator
eKindClangHelper 
eKindSwiftHelper 
eKindGoHelper 
kNumKinds 

Definition at line 28 of file ExpressionTypeSystemHelper.h.

Constructor & Destructor Documentation

◆ ExpressionTypeSystemHelper()

lldb_private::ExpressionTypeSystemHelper::ExpressionTypeSystemHelper ( LLVMCastKind  kind)
inline

Definition at line 37 of file ExpressionTypeSystemHelper.h.

◆ ~ExpressionTypeSystemHelper()

lldb_private::ExpressionTypeSystemHelper::~ExpressionTypeSystemHelper ( )
inline

Definition at line 39 of file ExpressionTypeSystemHelper.h.

Member Function Documentation

◆ getKind()

LLVMCastKind lldb_private::ExpressionTypeSystemHelper::getKind ( ) const
inline

Definition at line 35 of file ExpressionTypeSystemHelper.h.

References m_kind.

Referenced by lldb_private::ClangExpressionHelper::classof().

Member Data Documentation

◆ m_kind

LLVMCastKind lldb_private::ExpressionTypeSystemHelper::m_kind
protected

Definition at line 42 of file ExpressionTypeSystemHelper.h.

Referenced by getKind().


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