39 lines
642 B
PHP
39 lines
642 B
PHP
<?php
|
|
|
|
namespace LanguageServer\Protocol;
|
|
|
|
/**
|
|
* An item to transfer a text document from the client to the server.
|
|
*/
|
|
class TextDocumentItem
|
|
{
|
|
/**
|
|
* The text document's URI.
|
|
*
|
|
* @var string
|
|
*/
|
|
public $uri;
|
|
|
|
/**
|
|
* The text document's language identifier.
|
|
*
|
|
* @var string
|
|
*/
|
|
public $languageId;
|
|
|
|
/**
|
|
* The version number of this document (it will strictly increase after each
|
|
* change, including undo/redo).
|
|
*
|
|
* @var int
|
|
*/
|
|
public $version;
|
|
|
|
/**
|
|
* The content of the opened text document.
|
|
*
|
|
* @var string
|
|
*/
|
|
public $text;
|
|
}
|