Files
development/vendor/felixfbecker/language-server-protocol/src/DocumentSymbolClientCapabilitiesSymbolKind.php
2023-03-09 16:27:10 +09:00

38 lines
948 B
PHP

<?php
namespace LanguageServerProtocol;
/**
* Specific capabilities for the `SymbolKind` in the
* `textDocument/documentSymbol` request.
*/
class DocumentSymbolClientCapabilitiesSymbolKind
{
/**
* The symbol kind values the client supports. When this
* property exists the client also guarantees that it will
* handle values outside its set gracefully and falls back
* to a default value when unknown.
*
* If this property is not present the client only supports
* the symbol kinds from `File` to `Array` as defined in
* the initial version of the protocol.
*
* @var int[]
* @see SymbolKind
*/
public $valueSet;
/**
* Undocumented function
*
* @param int[]|null $valueSet
*/
public function __construct(array $valueSet = null)
{
/** @psalm-suppress PossiblyNullPropertyAssignmentValue */
$this->valueSet = $valueSet;
}
}