mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:48:14 +00:00
LibGUI: Add AutocompleteProvider::TokenInfo::type_to_string()
This commit is contained in:
parent
3ab7388754
commit
53c6c36fba
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