1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-23 06:11:25 +01:00
psalm/src/Psalm/Internal/Scanner/VarDocblockComment.php

69 lines
988 B
PHP
Raw Normal View History

<?php
2018-11-05 21:57:36 -05:00
namespace Psalm\Internal\Scanner;
use Psalm\Type;
/**
* @internal
*/
class VarDocblockComment
{
/**
* @var ?Type\Union
*/
public $type;
/**
* @var ?string
*/
public $original_type;
/**
* @var string|null
*/
public $var_id = null;
/**
* @var int|null
*/
public $line_number;
2019-06-01 12:25:57 -04:00
/**
* @var int|null
*/
public $type_start;
/**
* @var int|null
*/
public $type_end;
/**
* Whether or not the property is deprecated
2017-05-26 20:16:18 -04:00
*
* @var bool
*/
public $deprecated = false;
/**
* Whether or not the property is internal
*
* @var bool
*/
public $internal = false;
/**
2019-05-11 18:56:55 +01:00
* If set, the property is internal to the given namespace.
*
* @var null|string
*/
public $psalm_internal = null;
2019-08-11 16:01:37 -04:00
/**
* Whether or not the property is readonly
*
* @var bool
*/
public $readonly = false;
}