LLDB  mainline
Public Member Functions | Static Public Member Functions | List of all members
lldb_private::ClangExpressionHelper Class Referenceabstract

#include <ClangExpressionHelper.h>

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

Public Member Functions

 ClangExpressionHelper ()
 
virtual ~ClangExpressionHelper ()=default
 Destructor. More...
 
virtual ClangExpressionDeclMapDeclMap ()=0
 Return the object that the parser should use when resolving external values. More...
 
virtual clang::ASTConsumer * ASTTransformer (clang::ASTConsumer *passthrough)=0
 Return the object that the parser should allow to access ASTs. More...
 
virtual void CommitPersistentDecls ()
 
- Public Member Functions inherited from lldb_private::ExpressionTypeSystemHelper
LLVMCastKind getKind () const
 
 ExpressionTypeSystemHelper (LLVMCastKind kind)
 
 ~ExpressionTypeSystemHelper ()=default
 

Static Public Member Functions

static bool classof (const ExpressionTypeSystemHelper *ts)
 

Additional Inherited Members

- Public Types inherited from lldb_private::ExpressionTypeSystemHelper
enum  LLVMCastKind { eKindClangHelper, eKindSwiftHelper, eKindGoHelper, kNumKinds }
 
- Protected Attributes inherited from lldb_private::ExpressionTypeSystemHelper
LLVMCastKind m_kind
 

Detailed Description

Definition at line 30 of file ClangExpressionHelper.h.

Constructor & Destructor Documentation

◆ ClangExpressionHelper()

lldb_private::ClangExpressionHelper::ClangExpressionHelper ( )
inline

Definition at line 36 of file ClangExpressionHelper.h.

◆ ~ClangExpressionHelper()

virtual lldb_private::ClangExpressionHelper::~ClangExpressionHelper ( )
virtualdefault

Destructor.

Member Function Documentation

◆ ASTTransformer()

virtual clang::ASTConsumer* lldb_private::ClangExpressionHelper::ASTTransformer ( clang::ASTConsumer *  passthrough)
pure virtual

Return the object that the parser should allow to access ASTs.

May be NULL if the ASTs do not need to be transformed.

Parameters
[in]passthroughThe ASTConsumer that the returned transformer should send the ASTs to after transformation.

Implemented in lldb_private::ClangUtilityFunction::ClangUtilityFunctionHelper, lldb_private::ClangFunctionCaller::ClangFunctionCallerHelper, and lldb_private::ClangUserExpression::ClangUserExpressionHelper.

Referenced by lldb_private::ClangExpressionParser::ParseInternal().

◆ classof()

static bool lldb_private::ClangExpressionHelper::classof ( const ExpressionTypeSystemHelper ts)
inlinestatic

◆ CommitPersistentDecls()

virtual void lldb_private::ClangExpressionHelper::CommitPersistentDecls ( )
inlinevirtual

◆ DeclMap()

virtual ClangExpressionDeclMap* lldb_private::ClangExpressionHelper::DeclMap ( )
pure virtual

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