mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 16:46:08 +00:00
LibGUI: Add AutocompleteProvider::TokenInfo::type_to_string()
This commit is contained in:
parent
3ab7388754
commit
53c6c36fba
Notes:
sideshowbarker
2024-07-17 20:58:35 +09:00
Author: https://github.com/itamar8910
Commit: 53c6c36fba
Pull-request: https://github.com/SerenityOS/serenity/pull/13377
2 changed files with 38 additions and 17 deletions
|
@ -940,6 +940,7 @@ Vector<GUI::AutocompleteProvider::TokenInfo> CppComprehensionEngine::get_tokens_
|
|||
tokens_info.append({ get_token_semantic_type(document, token),
|
||||
token.start().line, token.start().column, token.end().line, token.end().column });
|
||||
++i;
|
||||
dbgln_if(CPP_LANGUAGE_SERVER_DEBUG, "{}: {}", token.text(), GUI::AutocompleteProvider::TokenInfo::type_to_string(tokens_info.last().type));
|
||||
}
|
||||
return tokens_info;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue