2016-08-22 20:40:16 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace LanguageServer\Protocol;
|
|
|
|
|
2016-10-09 12:34:30 +00:00
|
|
|
use PhpParser\Node;
|
|
|
|
|
2016-08-22 20:40:16 +00:00
|
|
|
/**
|
|
|
|
* Represents information about programming constructs like variables, classes,
|
|
|
|
* interfaces etc.
|
|
|
|
*/
|
|
|
|
class SymbolInformation
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The name of this symbol.
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
public $name;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The kind of this symbol.
|
|
|
|
*
|
|
|
|
* @var number
|
|
|
|
*/
|
|
|
|
public $kind;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The location of this symbol.
|
|
|
|
*
|
|
|
|
* @var Location
|
|
|
|
*/
|
|
|
|
public $location;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The name of the symbol containing this symbol.
|
|
|
|
*
|
|
|
|
* @var string|null
|
|
|
|
*/
|
|
|
|
public $containerName;
|
|
|
|
}
|