LLDB mainline
|
"lldb/Expression/ExpressionVariable.h" A list of variable references. More...
#include <ExpressionVariable.h>
Public Member Functions | |
size_t | GetSize () |
Implementation of methods in ExpressionVariableListBase. | |
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. | |
lldb::ExpressionVariableSP | GetVariable (llvm::StringRef name) |
void | RemoveVariable (lldb::ExpressionVariableSP var_sp) |
void | Clear () |
Private Attributes | |
std::vector< lldb::ExpressionVariableSP > | m_variables |
"lldb/Expression/ExpressionVariable.h" A list of variable references.
This class stores variables internally, acting as the permanent store.
Definition at line 121 of file ExpressionVariable.h.
|
inline |
Definition at line 139 of file ExpressionVariable.h.
References m_variables.
Referenced by lldb_private::ClangExpressionDeclMap::AddExpressionVariable(), lldb_private::ClangExpressionDeclMap::AddOneFunction(), lldb_private::ClangExpressionDeclMap::AddOneGenericVariable(), lldb_private::ClangExpressionDeclMap::AddOneRegister(), lldb_private::ClangExpressionDeclMap::AddPersistentVariable(), and lldb_private::ClangPersistentVariables::CreatePersistentVariable().
|
inline |
Definition at line 133 of file ExpressionVariable.h.
References m_variables.
Referenced by lldb_private::ClangExpressionDeclMap::AddValueToStruct().
|
inline |
Definition at line 198 of file ExpressionVariable.h.
References m_variables.
|
inline |
Definition at line 145 of file ExpressionVariable.h.
References m_variables.
|
inline |
Implementation of methods in ExpressionVariableListBase.
Definition at line 124 of file ExpressionVariable.h.
References m_variables.
Referenced by lldb_private::ClangExpressionDeclMap::DidParse(), lldb_private::ClangExpressionVariable::FindVariableInList(), lldb_private::ClangExpressionDeclMap::GetStructElement(), lldb_private::ClangExpressionDeclMap::GetStructInfo(), GetVariable(), and lldb_private::REPL::IOHandlerInputComplete().
|
inline |
Finds a variable by name in the list.
[in] | name | The name of the requested variable. |
Definition at line 162 of file ExpressionVariable.h.
References GetSize(), and GetVariableAtIndex().
|
inline |
Definition at line 173 of file ExpressionVariable.h.
References GetSize(), and GetVariableAtIndex().
|
inline |
Definition at line 126 of file ExpressionVariable.h.
References m_variables.
Referenced by lldb_private::ClangExpressionDeclMap::DidParse(), lldb_private::ClangExpressionVariable::FindVariableInList(), lldb_private::ClangExpressionDeclMap::GetStructElement(), GetVariable(), and lldb_private::REPL::IOHandlerInputComplete().
|
inline |
Definition at line 186 of file ExpressionVariable.h.
References m_variables.
Referenced by lldb_private::ClangPersistentVariables::RemovePersistentVariable().
|
private |
Definition at line 201 of file ExpressionVariable.h.
Referenced by AddNewlyConstructedVariable(), AddVariable(), Clear(), ContainsVariable(), GetSize(), GetVariableAtIndex(), and RemoveVariable().