mirror of
https://github.com/RGBCube/serenity
synced 2025-10-29 12:52:36 +00:00
This commit un-deprecates DeprecatedString, and repurposes it as a byte
string.
As the null state has already been removed, there are no other
particularly hairy blockers in repurposing this type as a byte string
(what it _really_ is).
This commit is auto-generated:
$ xs=$(ack -l \bDeprecatedString\b\|deprecated_string AK Userland \
Meta Ports Ladybird Tests Kernel)
$ perl -pie 's/\bDeprecatedString\b/ByteString/g;
s/deprecated_string/byte_string/g' $xs
$ clang-format --style=file -i \
$(git diff --name-only | grep \.cpp\|\.h)
$ gn format $(git ls-files '*.gn' '*.gni')
15 lines
668 B
Text
15 lines
668 B
Text
endpoint LanguageServer
|
|
{
|
|
greet(ByteString project_root) =|
|
|
|
|
file_opened(ByteString filename, IPC::File file) =|
|
|
file_edit_insert_text(ByteString filename, ByteString text, i32 start_line, i32 start_column) =|
|
|
file_edit_remove_text(ByteString filename, i32 start_line, i32 start_column, i32 end_line, i32 end_column) =|
|
|
set_file_content(ByteString filename, ByteString content) =|
|
|
|
|
auto_complete_suggestions(CodeComprehension::ProjectLocation location) =|
|
|
find_declaration(CodeComprehension::ProjectLocation location) =|
|
|
get_parameters_hint(CodeComprehension::ProjectLocation location) =|
|
|
get_tokens_info(ByteString filename) =|
|
|
|
|
}
|