mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 02:21:15 +00:00
Remove unnecessary this-> expressions
This commit is contained in:
parent
17e7f85c06
commit
15369fdb1d
39 changed files with 160 additions and 160 deletions
|
|
@ -421,7 +421,7 @@ Array GDScriptTextDocument::definition(const Dictionary &p_params) {
|
|||
lsp::TextDocumentPositionParams params;
|
||||
params.load(p_params);
|
||||
List<const lsp::DocumentSymbol *> symbols;
|
||||
Array arr = this->find_symbols(params, symbols);
|
||||
Array arr = find_symbols(params, symbols);
|
||||
return arr;
|
||||
}
|
||||
|
||||
|
|
@ -429,7 +429,7 @@ Variant GDScriptTextDocument::declaration(const Dictionary &p_params) {
|
|||
lsp::TextDocumentPositionParams params;
|
||||
params.load(p_params);
|
||||
List<const lsp::DocumentSymbol *> symbols;
|
||||
Array arr = this->find_symbols(params, symbols);
|
||||
Array arr = find_symbols(params, symbols);
|
||||
if (arr.is_empty() && !symbols.is_empty() && !symbols.front()->get()->native_class.is_empty()) { // Find a native symbol
|
||||
const lsp::DocumentSymbol *symbol = symbols.front()->get();
|
||||
if (GDScriptLanguageProtocol::get_singleton()->is_goto_native_symbols_enabled()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue