mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
HackStudio+LibCpp: Include class members in Locator
This commit is contained in:
parent
c8ad1df143
commit
c6c83bd80e
3 changed files with 23 additions and 12 deletions
|
@ -521,7 +521,6 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
StringView m_name;
|
||||
Vector<StringView> m_entries;
|
||||
};
|
||||
|
||||
|
@ -537,7 +536,6 @@ public:
|
|||
}
|
||||
|
||||
RefPtr<Type> m_type;
|
||||
StringView m_name;
|
||||
RefPtr<Expression> m_initial_value;
|
||||
};
|
||||
|
||||
|
@ -549,6 +547,7 @@ public:
|
|||
virtual bool is_struct_or_class() const override { return true; }
|
||||
virtual bool is_struct() const override { return m_type == Type::Struct; }
|
||||
virtual bool is_class() const override { return m_type == Type::Class; }
|
||||
virtual NonnullRefPtrVector<Declaration> declarations() const override;
|
||||
|
||||
enum class Type {
|
||||
Struct,
|
||||
|
@ -683,7 +682,6 @@ public:
|
|||
|
||||
virtual NonnullRefPtrVector<Declaration> declarations() const override { return m_declarations; }
|
||||
|
||||
StringView m_name;
|
||||
NonnullRefPtrVector<Declaration> m_declarations;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue