LLDB  mainline
Public Member Functions | List of all members
lldb_private::ExpressionVariableList Class Reference

"lldb/Expression/ExpressionVariable.h" A list of variable references. More...

#include <ExpressionVariable.h>

Inheritance diagram for lldb_private::ExpressionVariableList:
Inheritance graph
[legend]

Public Member Functions

size_t GetSize ()
 Implementation of methods in ExpressionVariableListBase. More...
 
lldb::ExpressionVariableSP GetVariableAtIndex (size_t index)
 
size_t AddVariable (const lldb::ExpressionVariableSP &var_sp)
 
lldb::ExpressionVariableSP AddNewlyConstructedVariable (ExpressionVariable *var)
 
bool ContainsVariable (const lldb::ExpressionVariableSP &var_sp)
 
lldb::ExpressionVariableSP GetVariable (ConstString name)
 Finds a variable by name in the list. More...
 
lldb::ExpressionVariableSP GetVariable (llvm::StringRef name)
 
void RemoveVariable (lldb::ExpressionVariableSP var_sp)
 
void Clear ()
 

Detailed Description

"lldb/Expression/ExpressionVariable.h" A list of variable references.

This class stores variables internally, acting as the permanent store.

Definition at line 124 of file ExpressionVariable.h.

Member Function Documentation

◆ AddNewlyConstructedVariable()

lldb::ExpressionVariableSP lldb_private::ExpressionVariableList::AddNewlyConstructedVariable ( ExpressionVariable var)
inline

◆ AddVariable()

size_t lldb_private::ExpressionVariableList::AddVariable ( const lldb::ExpressionVariableSP &  var_sp)
inline

Definition at line 136 of file ExpressionVariable.h.

◆ Clear()

void lldb_private::ExpressionVariableList::Clear ( )
inline

Definition at line 201 of file ExpressionVariable.h.

◆ ContainsVariable()

bool lldb_private::ExpressionVariableList::ContainsVariable ( const lldb::ExpressionVariableSP &  var_sp)
inline

Definition at line 148 of file ExpressionVariable.h.

◆ GetSize()

size_t lldb_private::ExpressionVariableList::GetSize ( )
inline

◆ GetVariable() [1/2]

lldb::ExpressionVariableSP lldb_private::ExpressionVariableList::GetVariable ( ConstString  name)
inline

Finds a variable by name in the list.

Parameters
[in]nameThe name of the requested variable.
Returns
The variable requested, or nullptr if that variable is not in the list.

Definition at line 165 of file ExpressionVariable.h.

Referenced by lldb_private::Target::EvaluateExpression().

◆ GetVariable() [2/2]

lldb::ExpressionVariableSP lldb_private::ExpressionVariableList::GetVariable ( llvm::StringRef  name)
inline

Definition at line 176 of file ExpressionVariable.h.

◆ GetVariableAtIndex()

lldb::ExpressionVariableSP lldb_private::ExpressionVariableList::GetVariableAtIndex ( size_t  index)
inline

◆ RemoveVariable()

void lldb_private::ExpressionVariableList::RemoveVariable ( lldb::ExpressionVariableSP  var_sp)
inline

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