2017-05-25 07:32:34 +02:00
|
|
|
<?php
|
2018-11-06 03:57:36 +01:00
|
|
|
namespace Psalm\Internal\Scanner;
|
2018-05-12 00:35:02 +02:00
|
|
|
|
|
|
|
use Psalm\Type;
|
2017-05-25 07:32:34 +02:00
|
|
|
|
2018-12-02 00:37:49 +01:00
|
|
|
/**
|
|
|
|
* @internal
|
|
|
|
*/
|
2017-05-25 07:32:34 +02:00
|
|
|
class VarDocblockComment
|
|
|
|
{
|
|
|
|
/**
|
2018-01-02 02:04:03 +01:00
|
|
|
* @var Type\Union
|
2017-05-25 07:32:34 +02:00
|
|
|
*/
|
|
|
|
public $type;
|
|
|
|
|
2018-01-02 02:04:03 +01:00
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
public $original_type;
|
|
|
|
|
2017-05-25 07:32:34 +02:00
|
|
|
/**
|
|
|
|
* @var string|null
|
|
|
|
*/
|
|
|
|
public $var_id = null;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var int|null
|
|
|
|
*/
|
|
|
|
public $line_number;
|
|
|
|
|
|
|
|
/**
|
2018-12-02 00:37:49 +01:00
|
|
|
* Whether or not the property is deprecated
|
2017-05-27 02:16:18 +02:00
|
|
|
*
|
|
|
|
* @var bool
|
2017-05-25 07:32:34 +02:00
|
|
|
*/
|
|
|
|
public $deprecated = false;
|
2018-12-02 00:37:49 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Whether or not the property is internal
|
|
|
|
*
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
public $internal = false;
|
2019-05-11 16:45:25 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* If set, the class is internal to the given namespace.
|
|
|
|
*
|
|
|
|
* @var null|string
|
|
|
|
*/
|
|
|
|
public $psalmInternal = null;
|
2017-05-25 07:32:34 +02:00
|
|
|
}
|