Go to the documentation of this file.
9 #ifndef LLDB_EXPRESSION_EXPRESSION_H
10 #define LLDB_EXPRESSION_EXPRESSION_H
23 class RecordingMemoryManager;
46 virtual const char *
Text() = 0;
89 virtual bool isA(
const void *ClassID)
const = 0;
106 #endif // LLDB_EXPRESSION_EXPRESSION_H
virtual const char * FunctionName()=0
Return the function name that should be used for executing the expression.
virtual void WillStartExecuting()
Called to notify the expression that it is about to be executed.
virtual ExpressionTypeSystemHelper * GetTypeSystemHelper()
lldb::ProcessWP m_jit_process_wp
Expression's always have to have a target...
virtual bool NeedsVariableResolution()=0
Return true if external variables in the expression should be resolved.
virtual EvaluateExpressionOptions * GetOptions()
LanguageType
Programming language type.
lldb::addr_t m_jit_start_addr
An expression might have a process, but it doesn't need to (e.g.
virtual bool isA(const void *ClassID) const =0
virtual bool NeedsValidation()=0
Flags.
lldb::addr_t m_jit_end_addr
The address of the JITted function within the JIT allocation.
virtual ResultType DesiredResultType()
Return the desired result type of the function, or eResultTypeAny if indifferent.
virtual lldb::LanguageType Language() const
Return the language that should be used when parsing.
Expression(Target &target)
virtual Materializer * GetMaterializer()
Return the Materializer that the parser should use when registering external values.
lldb::TargetWP m_target_wp
@ eLanguageTypeUnknown
Unknown or invalid language value.
lldb::addr_t StartAddress()
Return the address of the function's JIT-compiled code, or LLDB_INVALID_ADDRESS if the function is no...
virtual ~Expression()=default
Destructor.
virtual void DidFinishExecuting()
Called to notify the expression that its execution has finished.
A class that represents a running process on the host machine.
virtual const char * Text()=0
Return the string that the parser should parse.