mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
HackStudio+LanguageServers/Cpp: Show scope of symbols in Locator
This commit is contained in:
parent
6054a418e5
commit
84e34d76d8
Notes:
sideshowbarker
2024-07-18 21:07:23 +09:00
Author: https://github.com/itamar8910
Commit: 84e34d76d8
Pull-request: https://github.com/SerenityOS/serenity/pull/5924
10 changed files with 52 additions and 13 deletions
|
@ -75,6 +75,7 @@ public:
|
|||
virtual bool is_variable_or_parameter_declaration() const { return false; }
|
||||
virtual bool is_function_call() const { return false; }
|
||||
virtual bool is_type() const { return false; }
|
||||
virtual bool is_declaration() const { return false; }
|
||||
|
||||
protected:
|
||||
ASTNode(ASTNode* parent, Optional<Position> start, Optional<Position> end, const String& filename)
|
||||
|
@ -113,7 +114,6 @@ public:
|
|||
virtual ~Statement() override = default;
|
||||
virtual const char* class_name() const override { return "Statement"; }
|
||||
|
||||
virtual bool is_declaration() const { return false; }
|
||||
virtual NonnullRefPtrVector<Declaration> declarations() const override;
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue