1
0
Fork 0

Remove Params / Request / Response classes

pull/6/head
Felix Becker 2016-08-25 15:28:39 +02:00
parent 41ad025fe7
commit 0c96597fdf
72 changed files with 0 additions and 1238 deletions

View File

@ -1,13 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods;
use LanguageServer\Protocol\Notification;
class CancelRequestNotification extends Notification
{
/**
* @var CancelRequestParams
*/
public $params;
}

View File

@ -1,15 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods;
use LanguageServer\Protocol\Params;
class CancelRequestParams extends Params
{
/**
* The request id to cancel.
*
* @var int|string
*/
public $id;
}

View File

@ -1,17 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\CodeLens;
use LanguageServer\Protocol\Request;
/**
* The code lens resolve request is sent from the client to the server to resolve the command for a given code lens
* item.
*/
class ResolveRequest extends Request
{
/**
* @var LanguageServer\Protocol\CodeLens
*/
public $params;
}

View File

@ -1,13 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\CodeLens;
use LanguageServer\Protocol\Response;
class ResolveResponse extends Response
{
/**
* @var LanguageServer\Protocol\CodeLens
*/
public $result;
}

View File

@ -1,17 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\CompletionItem;
use LanguageServer\Protocol\Request;
/**
* The request is sent from the client to the server to resolve additional
* information for a given completion item.
*/
class ResolveRequest extends Request
{
/**
* @var LanguageServer\Protocol\CompletionItem
*/
public $params;
}

View File

@ -1,13 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\CompletionItem;
use LanguageServer\Protocol\Response;
class ResolveResponse extends Response
{
/**
* @var LanguageServer\Protocol\CompletionItem
*/
public $result;
}

View File

@ -1,16 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods;
use LanguageServer\Protocol\Notification;
/**
* A notification to ask the server to exit its process.
*/
class ExitNotification extends Notification
{
/**
* @var null
*/
public $params;
}

View File

@ -1,14 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\Initialize;
class InitializeError
{
/*
* Indicates whether the client should retry to send the initilize request after
* showing the message provided in the ResponseError.
*
* @var bool
*/
public $retry;
}

View File

@ -1,28 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods;
class InitializeParams
{
/**
* The rootPath of the workspace. Is null if no folder is open.
*
* @var string
*/
public $rootPath;
/**
* The process Id of the parent process that started the server.
*
* @var int
*/
public $processId;
/**
* The capabilities provided by the client (editor)
*
* @var ClientCapabilities
*/
public $capabilities;
}

View File

@ -1,16 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods;
use LanguageServer\Protocol\Request;
/**
* The initialize request is sent as the first request from the client to the server.
*/
class InitializeRequest extends Request
{
/**
* @var InitializeParams
*/
public $params;
}

View File

@ -1,11 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods;
class InitializeResponse
{
/**
* @var InitializeResult
*/
public $result;
}

View File

@ -1,18 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods;
use LanguageServer\Protocol\Request;
/**
* The shutdown request is sent from the client to the server. It asks the server to shut down, but to not exit
* (otherwise the response might not be delivered correctly to the client). There is a separate exit notification that
* asks the server to exit.
*/
class ShutdownRequest extends Request
{
/**
* @var null
*/
public $params;
}

View File

@ -1,18 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods;
use LanguageServer\Protocol\Request;
/**
* The shutdown request is sent from the client to the server. It asks the server to shut down, but to not exit
* (otherwise the response might not be delivered correctly to the client). There is a separate exit notification that
* asks the server to exit.
*/
class ShutdownRequest extends Request
{
/**
* @var null
*/
public $result;
}

View File

@ -1,17 +0,0 @@
<?php
namespace LanguageServer\Protocol\Telementry;
use LanguageServer\Protocol\Notification;
/**
* The telemetry notification is sent from the server to the client to ask the client
* to log a telemetry event.
*/
class EventNotification extends Notification
{
/**
* @var mixed
*/
public $params;
}

View File

@ -1,32 +0,0 @@
<?php
namespace LanguageServer\Protocol\TextDocument;
use LanguageServer\Protocol\Params;
/**
* Params for the CodeActionRequest
*/
class CodeActionParams extends Params
{
/**
* The document in which the command was invoked.
*
* @var LanguageServer\Protocol\TextDocumentIdentifier
*/
public $textDocument;
/**
* The range for which the command was invoked.
*
* @var LanguageServer\Protocol\Range
*/
public $range;
/**
* Context carrying additional information.
*
* @var LanguageServer\Protocol\CodeActionContext
*/
public $context;
}

View File

@ -1,18 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Request;
/**
* The code action request is sent from the client to the server to compute commands for a given text document and
* range. The request is triggered when the user moves the cursor into a problem marker in the editor or presses the
* lightbulb associated with a marker.
*/
class CodeActionRequest extends Request
{
/**
* @var CodeActionParams
*/
public $params;
}

View File

@ -1,13 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Response;
class CodeActionResponse extends Response
{
/**
* @var LanguageServer\Protocol\Command[]
*/
public $result;
}

View File

@ -1,15 +0,0 @@
<?php
namespace LanguageServer\Protocol\TextDocument;
use LanguageServer\Protocol\Params;
class CodeLensParams extends Params
{
/**
* The document to request code lens for.
*
* @var TextDocumentIdentifier
*/
public $textDocument;
}

View File

@ -1,16 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Request;
/**
* The code lens request is sent from the client to the server to compute code lenses for a given text document.
*/
class CodeLensRequest extends Request
{
/**
* @var CodeLensParams
*/
public $params;
}

View File

@ -1,13 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Response;
class CodeLensResponse extends Response
{
/**
* @var LanguageServer\Protocol\CodeLens[]
*/
public $result;
}

View File

@ -1,21 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Request;
/*
* The Completion request is sent from the client to the server to compute completion
* items at a given cursor position. Completion items are presented in the
* [IntelliSense](https://code.visualstudio.com/docs/editor/editingevolved#_intellisense)
* user interface. If computing full completion items is expensive, servers can
* additionally provide a handler for the completion item resolve request. This
* request is sent when a completion item is selected in the user interface.
*/
class CompletionRequest extends Request
{
/**
* @var PositionParams
*/
public $params;
}

View File

@ -1,13 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Response;
class CompletionResponse extends Response
{
/**
* @var LanguageServer\Protocol\CompletionItem[]|LanguageServer\Protocol\CompletionList
*/
public $result;
}

View File

@ -1,17 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Request;
/**
* The goto definition request is sent from the client to the server to resolve the definition location of a symbol at a
* given text document position.
*/
class DefinitionRequest extends Request
{
/**
* @var PositionParams
*/
public $params;
}

View File

@ -1,13 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Response;
class DefinitionResponse extends Response
{
/**
* @var LanguageServer\Protocol\Location[]|LanguageServer\Protocol\Location
*/
public $result;
}

View File

@ -1,16 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Notification;
/**
* The document change notification is sent from the client to the server to signal changes to a text document.
*/
class DidChangeNotification extends Notification
{
/**
* @var DidChangeParams
*/
public $params;
}

View File

@ -1,24 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Params;
class DidChangeParams extends Params
{
/**
* The document that did change. The version int points
* to the version after all provided content changes have
* been applied.
*
* @var LanguageServer\Protocol\VersionedTextDocumentIdentifier
*/
public $textDocument;
/**
* The actual content changes.
*
* @var LanguageServer\Protocol\TextDocumentContentChangeEvent[]
*/
public $contentChanges;
}

View File

@ -1,17 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Notification;
/**
* The watched files notification is sent from the client to the server when the client detects changes to files watched
* by the language client.
*/
class DidChangeWatchedFilesNotification extends Notification
{
/**
* @var DidChangeWatchedFilesParams
*/
public $params;
}

View File

@ -1,15 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Params;
class DidChangeWatchedFilesParams extends Params
{
/**
* The actual file events.
*
* @var LanguageServer\Protocol\FileEvent[]
*/
public $changes;
}

View File

@ -1,18 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Notification;
/**
* The document close notification is sent from the client to the server when the document got closed in the client. The
* document's truth now exists where the document's uri points to (e.g. if the document's uri is a file uri the truth
* now exists on disk).
*/
class DidCloseNotification extends Notification
{
/**
* @var DidCloseParams
*/
public $params;
}

View File

@ -1,15 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Params;
class DidCloseTextDocumentParams extends Params
{
/**
* The document that was closed.
*
* @var LanguageServer\Protocol\TextDocumentIdentifier
*/
public $textDocument;
}

View File

@ -1,18 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Notification;
/**
* The document open notification is sent from the client to the server to signal newly opened text documents. The
* document's truth is now managed by the client and the server must not try to read the document's truth using the
* document's uri.
*/
class DidOpenNotification extends Notification
{
/**
* @var DidOpenParams
*/
public $params;
}

View File

@ -1,15 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Params;
class DidOpenTextDocumentParams extends Params
{
/**
* The document that was opened.
*
* @var LanguageServer\Protocol\TextDocumentItem
*/
public $textDocument;
}

View File

@ -1,19 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Params;
/**
* The document save notification is sent from the client to the server when the
* document was saved in the client.
*/
class DidSaveTextDocumentParams extends Params
{
/**
* The document that was closed.
*
* @var LanguageServer\Protocol\TextDocumentIdentifier
*/
public $textDocument;
}

View File

@ -1,20 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Request;
/**
* The document highlight request is sent from the client to the server to resolve a document highlights for a given
* text document position. For programming languages this usually highlights all references to the symbol scoped to this
* file. However we kept 'textDocument/documentHighlight' and 'textDocument/references' separate requests since the
* first one is allowed to be more fuzzy. Symbol matches usually have a DocumentHighlightKind of Read or Write whereas
* fuzzy or textual matches use Textas the kind.
*/
class ReferencesRequest extends Request
{
/**
* @var PositionParams
*/
public $params;
}

View File

@ -1,13 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Response;
class ReferencesResponse extends Response
{
/**
* @var LanguageServer\Protocol\DocumentHighlight[]
*/
public $result;
}

View File

@ -1,15 +0,0 @@
<?php
namespace LanguageServer\Protocol\TextDocument;
use LanguageServer\Protocol\Params;
class DocumentSymbolParams extends Params
{
/**
* The text document.
*
* @var LanguageServer\Protocol\TextDocumentIdentifier
*/
public $textDocument;
}

View File

@ -1,16 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Request;
/**
* The document symbol request is sent from the client to the server to list all symbols found in a given text document.
*/
class DocumentSymbolRequest extends Request
{
/**
* @var DocumentSymbolParams
*/
public $params;
}

View File

@ -1,13 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Response;
class DocumentSymbolResponse extends Response
{
/**
* @var LanguageServer\Protocol\SymbolInformation[]
*/
public $result;
}

View File

@ -1,22 +0,0 @@
<?php
namespace LanguageServer\Protocol\TextDocument;
use LanguageServer\Protocol\Params;
class FormattingParams extends Params
{
/**
* The document to format.
*
* @var LanguageServer\Protocol\TextDocumentIdentifier
*/
public $textDocument;
/**
* The format options.
*
* @var LanguageServer\Protocol\FormattingOptions
*/
public $options;
}

View File

@ -1,16 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Request;
/**
* The document formatting request is sent from the server to the client to format a whole document.
*/
class FormattingRequest extends Request
{
/**
* @var FormattingParams
*/
public $params;
}

View File

@ -1,13 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Response;
class FormattingResponse extends Response
{
/**
* @var LanguageServer\Protocol\TextEdit[]
*/
public $result;
}

View File

@ -1,13 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument\HoverRequest;
use LanguageServer\Protocol\Request;
class HoverRequest extends Request
{
/**
* @var PositionParams
*/
public $params;
}

View File

@ -1,13 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Response;
class HoverResponse extends Response
{
/**
* @var LanguageServer\Protocol\Hover
*/
public $result;
}

View File

@ -1,36 +0,0 @@
<?php
namespace LanguageServer\Protocol\TextDocument;
use LanguageServer\Protocol\Params;
class OnTypeFormattingParams extends Params
{
/**
* The document to format.
*
* @var LanguageServer\Protocol\TextDocumentIdentifier
*/
public $textDocument;
/**
* The position at which this request was sent.
*
* @var LanguageServer\Protocol\Position
*/
public $position;
/**
* The character that has been typed.
*
* @var string
*/
public $ch;
/**
* The format options.
*
* @var LanguageServer\Protocol\FormattingOptions
*/
public $options;
}

View File

@ -1,17 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Request;
/**
* The document on type formatting request is sent from the client to the server to format parts of the document during
* typing.
*/
class OnTypeFormattingRequest extends Request
{
/**
* @var OnTypeFormattingParams
*/
public $params;
}

View File

@ -1,13 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Response;
class OnTypeFormattingResponse extends Response
{
/**
* @var LanguageServer\Protocol\TextEdit[]
*/
public $result;
}

View File

@ -1,26 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Params;
/**
* A parameter literal used in requests to pass a text document and a position inside
* that document.
*/
class TextDocumentPositionParams extends Params
{
/**
* The text document.
*
* @var LanguageServer\Protocol\TextDocumentIdentifier
*/
public $textDocument;
/**
* The position inside the text document.
*
* @var LanguageServer\Protocol\Position
*/
public $position;
}

View File

@ -1,16 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Notification;
/**
* Diagnostics notification are sent from the server to the client to signal results of validation runs.
*/
class PublishDiagnosticsNotification extends Notification
{
/**
* @var PublishDiagnosticsParams
*/
public $params;
}

View File

@ -1,22 +0,0 @@
<?php
namespace LanguageServer\Protocol\TextDocument;
use LanguageServer\Protocol\Params;
class PublishDiagnosticsParams extends Params
{
/**
* The URI for which diagnostic information is reported.
*
* @var string
*/
public $uri;
/**
* An array of diagnostic information items.
*
* @var LanguageServer\Protocol\Diagnostic[]
*/
public $diagnostics;
}

View File

@ -1,29 +0,0 @@
<?php
namespace LanguageServer\Protocol\TextDocument;
use LanguageServer\Protocol\Params;
class RangeFormattingParams extends Params
{
/**
* The document to format.
*
* @var LanguageServer\Protocol\TextDocumentIdentifier
*/
public $textDocument;
/**
* The range to format
*
* @var LanguageServer\Protocol\Range
*/
public $range;
/**
* The format options
*
* @var LanguageServer\Protocol\FormattingOptions
*/
public $options;
}

View File

@ -1,16 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Request;
/**
* The document range formatting request is sent from the client to the server to format a given range in a document.
*/
class RangeFormattingRequest extends Request
{
/**
* @var RangeFormattingParams
*/
public $params;
}

View File

@ -1,13 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Response;
class RangeFormattingResponse extends Response
{
/**
* @var LanguageServer\Protocol\TextEdit[]
*/
public $result;
}

View File

@ -1,13 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Params;
class ReferencesParams extends Params
{
/**
* @var LanguageServer\Protocol\ReferencesContext
*/
public $context;
}

View File

@ -1,17 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Request;
/**
* The references request is sent from the client to the server to resolve project-wide references for the symbol
* denoted by the given text document position.
*/
class ReferencesRequest extends Request
{
/**
* @var ReferenceParams
*/
public $params;
}

View File

@ -1,13 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Response;
class ReferencesResponse extends Response
{
/**
* @var LanguageServer\Protocol\Location[]
*/
public $result;
}

View File

@ -1,31 +0,0 @@
<?php
namespace LanguageServer\Protocol\TextDocument;
use LanguageServer\Protocol\Params;
class RenameParams extends Params
{
/**
* The document to format.
*
* @var LanguageServer\Protocol\TextDocumentIdentifier
*/
public $textDocument;
/**
* The position at which this request was sent.
*
* @var LanguageServer\Protocol\Position
*/
public $position;
/**
* The new name of the symbol. If the given name is not valid the
* request must return a ResponseError with an
* appropriate message set.
*
* @var string
*/
public $newName;
}

View File

@ -1,16 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Request;
/**
* The rename request is sent from the client to the server to perform a workspace-wide rename of a symbol.
*/
class RenameRequest extends Request
{
/**
* @var RenameParams
*/
public $params;
}

View File

@ -1,13 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Response;
class RenameResponse extends Response
{
/**
* @var LanguageServer\Protocol\WorkspaceEdit
*/
public $result;
}

View File

@ -1,13 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Request;
class SignatureHelpRequest extends Request
{
/**
* @var PositionParams
*/
public $params;
}

View File

@ -1,13 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\TextDocument;
use LanguageServer\Protocol\Response;
class SignatureHelpResponse extends Response
{
/**
* @var LanguageServer\Protocol\SignatureHelp
*/
public $result;
}

View File

@ -1,17 +0,0 @@
<?php
namespace LanguageServer\Protocol\Window;
use LanguageServer\Protocol\Notification;
/**
* The log message notification is sent from the server to the client to ask the
* client to log a particular message.
*/
class LogMessageNotification extends Notification
{
/**
* @var LogMessageParams
*/
public $params;
}

View File

@ -1,22 +0,0 @@
<?php
namespace LanguageServer\Protocol\Window;
use LanguageServer\Protocol\Params;
class LogMessageParams extends Params
{
/**
* The message type. See LanguageServer\Protocol\MessageType
*
* @var int
*/
public $type;
/**
* The actual message
*
* @var string
*/
public $message;
}

View File

@ -1,17 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\Windows;
use LanguageServer\Protocol\Notification;
/**
* The show message notification is sent from a server to a client to ask the client to display a particular message in
* the user interface.
*/
class ShowMessageNotification extends Notification
{
/**
* @var ShowMessageParams
*/
public $params;
}

View File

@ -1,22 +0,0 @@
<?php
namespace LanguageServer\Protocol\Window;
use LanguageServer\Protocol\Params;
class ShowMessageParams extends Params
{
/**
* The message type. See LanguageServer\Protocol\MessageType
*
* @var int
*/
public $type;
/**
* The actual message.
*
* @var string
*/
public $message;
}

View File

@ -1,18 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\Window;
use LanguageServer\Protocol\Request;
/**
* The show message request is sent from a server to a client to ask the client to display a particular message in the
* user interface. In addition to the show message notification the request allows to pass actions and to wait for an
* answer from the client.
*/
class ShowMessageRequest extends Request
{
/**
* @var ShowMessageRequestParams
*/
public $params;
}

View File

@ -1,27 +0,0 @@
<?php
namespace LanguageServer\Protocol\Window;
class ShowMessageParams
{
/**
* The message type. See {@link MessageType}
*
* @var int
*/
public $type;
/**
* The actual message
*
* @var string
*/
public $message;
/**
* The message action items to present.
*
* @var LanguageServer\Protocol\MessageActionItem[]|null
*/
public $actions;
}

View File

@ -1,17 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\InitializeRequest;
use LanguageServer\Protocol\Notification;
/**
* A notification sent from the client to the server to signal the change of
* configuration settings.
*/
class DidChangeConfigurationNotification extends Notification
{
/**
* @var DidChangeConfigurationParams
*/
public $params;
}

View File

@ -1,15 +0,0 @@
<?php
namespace LanguageServer\Protocol\Workspace;
use LanguageServer\Protocol\Params;
class DidChangeConfigurationParams extends Params
{
/**
* The actual changed settings
*
* @var mixed
*/
public $settings;
}

View File

@ -1,13 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\Workspace;
use LanguageServer\Protocol\Request;
class SymbolRequest extends Request
{
/**
* @var SymbolParams
*/
public $params;
}

View File

@ -1,13 +0,0 @@
<?php
namespace LanguageServer\Protocol\Methods\Workspace;
use LanguageServer\Protocol\Response;
class SymbolResponse extends Response
{
/**
* @var LanguageServer\Protocol\SymbolInformation[]
*/
public $result;
}

View File

@ -1,24 +0,0 @@
<?php
namespace LanguageServer\Protocol;
/**
* A notification message. A processed notification message must not send a response
* back. They work like events.
*/
abstract class Notification extends Message
{
/**
* The method to be invoked.
*
* @var string
*/
public $method;
/**
* The notification's params.
*
* @var mixed|null
*/
public $params;
}

View File

@ -1,8 +0,0 @@
<?php
namespace LanguageServer\Protocol;
class Params
{
}