9#ifndef LLDB_VALUEOBJECT_DILEVAL_H
10#define LLDB_VALUEOBJECT_DILEVAL_H
14#include "llvm/ADT/StringRef.h"
15#include "llvm/Support/Error.h"
27 std::shared_ptr<StackFrame> frame_sp,
35 std::shared_ptr<StackFrame> frame_sp,
42 std::shared_ptr<StackFrame> frame_sp,
44 bool fragile_ivar,
bool check_ptr_vs_member);
49 llvm::Expected<lldb::ValueObjectSP>
53 llvm::Expected<lldb::ValueObjectSP>
55 llvm::Expected<lldb::ValueObjectSP>
57 llvm::Expected<lldb::ValueObjectSP>
59 llvm::Expected<lldb::ValueObjectSP>
61 llvm::Expected<lldb::ValueObjectSP>
64 llvm::Expected<CompilerType>
66 std::shared_ptr<ExecutionContextScope> ctx,
The rest of the classes in this file, except for the Visitor class at the very end,...
std::shared_ptr< StackFrame > m_exe_ctx_scope
llvm::Expected< lldb::ValueObjectSP > Visit(const IdentifierNode *node) override
llvm::Expected< lldb::ValueObjectSP > Evaluate(const ASTNode *node)
Interpreter(lldb::TargetSP target, llvm::StringRef expr, std::shared_ptr< StackFrame > frame_sp, lldb::DynamicValueType use_dynamic, bool use_synthetic, bool fragile_ivar, bool check_ptr_vs_member)
bool m_check_ptr_vs_member
lldb::ValueObjectSP m_scope
lldb::DynamicValueType m_use_dynamic
llvm::Expected< CompilerType > PickIntegerType(lldb::TypeSystemSP type_system, std::shared_ptr< ExecutionContextScope > ctx, const IntegerLiteralNode *literal)
This class contains one Visit method for each specialized type of DIL AST node.
lldb::ValueObjectSP LookupGlobalIdentifier(llvm::StringRef name_ref, std::shared_ptr< StackFrame > frame_sp, lldb::TargetSP target_sp, lldb::DynamicValueType use_dynamic)
Given the name of an identifier, check to see if it matches the name of a global variable.
lldb::ValueObjectSP LookupIdentifier(llvm::StringRef name_ref, std::shared_ptr< StackFrame > frame_sp, lldb::DynamicValueType use_dynamic)
Given the name of an identifier (variable name, member name, type name, etc.), find the ValueObject f...
std::shared_ptr< lldb_private::TypeSystem > TypeSystemSP
std::shared_ptr< lldb_private::ValueObject > ValueObjectSP
std::shared_ptr< lldb_private::Target > TargetSP