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 120 of file ExpressionVariable.h.
|
inline |
Definition at line 138 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(), and lldb_private::ClangExpressionDeclMap::AddPersistentVariable().
|
inline |
Definition at line 132 of file ExpressionVariable.h.
References m_variables.
Referenced by lldb_private::ClangExpressionDeclMap::AddValueToStruct().
|
inline |
Definition at line 197 of file ExpressionVariable.h.
References m_variables.
|
inline |
Definition at line 144 of file ExpressionVariable.h.
References m_variables.
|
inline |
Implementation of methods in ExpressionVariableListBase.
Definition at line 123 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 161 of file ExpressionVariable.h.
References GetSize(), and GetVariableAtIndex().
|
inline |
Definition at line 172 of file ExpressionVariable.h.
References GetSize(), and GetVariableAtIndex().
|
inline |
Definition at line 125 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 185 of file ExpressionVariable.h.
References m_variables.
|
private |
Definition at line 200 of file ExpressionVariable.h.
Referenced by AddNewlyConstructedVariable(), AddVariable(), Clear(), ContainsVariable(), GetSize(), GetVariableAtIndex(), and RemoveVariable().