remove deprecated funcs in messages.d (#549)
remove deprecated funcs in messages.d merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
This commit is contained in:
parent
30311c719e
commit
016af265dd
|
|
@ -148,16 +148,6 @@ struct AutocompleteResponse
|
||||||
* Documentation associated with this symbol.
|
* Documentation associated with this symbol.
|
||||||
*/
|
*/
|
||||||
string documentation;
|
string documentation;
|
||||||
|
|
||||||
deprecated("Use identifier (or definition for calltips) instead") string compatibilityContent() const nothrow
|
|
||||||
{
|
|
||||||
if (kind == ubyte.init)
|
|
||||||
return definition;
|
|
||||||
else
|
|
||||||
return identifier;
|
|
||||||
}
|
|
||||||
|
|
||||||
alias compatibilityContent this;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -190,30 +180,6 @@ struct AutocompleteResponse
|
||||||
*/
|
*/
|
||||||
ulong symbolIdentifier;
|
ulong symbolIdentifier;
|
||||||
|
|
||||||
deprecated("use completions[].documentation + escapeConsoleOutputString instead") string[] docComments() @property
|
|
||||||
{
|
|
||||||
string[] ret;
|
|
||||||
foreach (ref completion; completions)
|
|
||||||
ret ~= completion.documentation.escapeConsoleOutputString(true);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
deprecated("use completions[].kind instead") char[] completionKinds() @property
|
|
||||||
{
|
|
||||||
char[] ret;
|
|
||||||
foreach (ref completion; completions)
|
|
||||||
ret ~= completion.kind;
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
deprecated("use completions[].symbolLocation instead") size_t[] locations() @property
|
|
||||||
{
|
|
||||||
size_t[] ret;
|
|
||||||
foreach (ref completion; completions)
|
|
||||||
ret ~= completion.symbolLocation;
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates an empty acknowledgement response
|
* Creates an empty acknowledgement response
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue