|
LLDB mainline
|
The live instances of one extension class. More...
#include <ScriptedInstanceRegistry.h>
Public Member Functions | |
| bool | operator< (const ScriptedInstanceGroup &other) const |
| StructuredData::DictionarySP | ToStructuredData () const |
| void | Dump (Stream &s, const Debugger &debugger, bool use_color) const |
Public Attributes | |
| std::string | class_name |
| lldb::ScriptedExtension | extension = lldb::eScriptedExtensionInvalid |
| FileSpec | source_path |
| std::vector< ScriptedInstanceInfo > | instances |
The live instances of one extension class.
Instances belong to the same group when they share a class name, source path and extension kind, so a class reused for several kinds of extension gets one group per kind.
Definition at line 45 of file ScriptedInstanceRegistry.h.
Definition at line 130 of file ScriptedInstanceRegistry.cpp.
References lldb_private::ScriptedInstanceInfo::args_sp, class_name, lldb_private::StructuredData::Object::Dump(), extension, lldb_private::ScriptInterpreter::ExtensionToString(), lldb_private::Stream::Format(), lldb_private::ansi::FormatAnsiTerminalCodes(), lldb_private::StructuredData::Object::GetAsString(), lldb_private::Debugger::GetLabelAnsiPrefix(), lldb_private::Debugger::GetLabelAnsiSuffix(), lldb_private::Debugger::GetTitleAnsiPrefix(), lldb_private::Debugger::GetTitleAnsiSuffix(), HasArgs(), instances, LLDB_INVALID_ADDRESS, and source_path.
| bool ScriptedInstanceGroup::operator< | ( | const ScriptedInstanceGroup & | other | ) | const |
Definition at line 61 of file ScriptedInstanceRegistry.cpp.
References class_name, extension, lldb_private::FileSpec::GetPath(), and source_path.
| StructuredData::DictionarySP ScriptedInstanceGroup::ToStructuredData | ( | ) | const |
Definition at line 108 of file ScriptedInstanceRegistry.cpp.
References class_name, extension, lldb_private::ScriptInterpreter::ExtensionToString(), HasArgs(), instances, LLDB_INVALID_ADDRESS, and source_path.
| std::string lldb_private::ScriptedInstanceGroup::class_name |
Definition at line 46 of file ScriptedInstanceRegistry.h.
Referenced by Dump(), lldb_private::ScriptedInstanceRegistry::GetInstanceGroups(), operator<(), and ToStructuredData().
| lldb::ScriptedExtension lldb_private::ScriptedInstanceGroup::extension = lldb::eScriptedExtensionInvalid |
Definition at line 47 of file ScriptedInstanceRegistry.h.
Referenced by Dump(), lldb_private::ScriptedInstanceRegistry::GetInstanceGroups(), operator<(), and ToStructuredData().
| std::vector<ScriptedInstanceInfo> lldb_private::ScriptedInstanceGroup::instances |
Definition at line 49 of file ScriptedInstanceRegistry.h.
Referenced by Dump(), and ToStructuredData().
| FileSpec lldb_private::ScriptedInstanceGroup::source_path |
Definition at line 48 of file ScriptedInstanceRegistry.h.
Referenced by Dump(), lldb_private::ScriptedInstanceRegistry::GetInstanceGroups(), operator<(), and ToStructuredData().