1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-15 10:57:08 +01:00
psalm/src/Psalm/Internal/Scanner/ClassLikeDocblockComment.php

145 lines
2.4 KiB
PHP
Raw Normal View History

2017-02-10 02:35:17 +01:00
<?php
2018-11-06 03:57:36 +01:00
namespace Psalm\Internal\Scanner;
2017-02-10 02:35:17 +01:00
/**
* @internal
*/
2017-02-10 02:35:17 +01:00
class ClassLikeDocblockComment
{
/**
* Whether or not the class is deprecated
2017-05-27 02:16:18 +02:00
*
* @var bool
2017-02-10 02:35:17 +01:00
*/
public $deprecated = false;
/**
* Whether or not the class is internal
*
* @var bool
*/
public $internal = false;
/**
* Whether or not the class is final
*
* @var bool
*/
public $final = false;
/**
* If set, the class is internal to the given namespace.
*
* @var null|string
*/
public $psalm_internal = null;
/**
* @var string[]
*/
public $mixins = [];
2017-02-10 02:35:17 +01:00
/**
* @var array<int, array{string, ?string, ?string, bool, int}>
2017-02-10 02:35:17 +01:00
*/
public $templates = [];
/**
* @var array<int, string>
*/
public $template_extends = [];
/**
* @var array<int, string>
*/
public $template_implements = [];
/**
* @var ?string
*/
public $yield = null;
/**
* @var array<int, array{name:string, type:string, tag:string, line_number:int}>
*/
public $properties = [];
/**
* @var array<int, \PhpParser\Node\Stmt\ClassMethod>
*/
public $methods = [];
/**
* @var bool
*/
public $sealed_properties = false;
/**
* @var bool
*/
public $sealed_methods = false;
/**
* @var bool
*/
public $override_property_visibility = false;
/**
* @var bool
*/
public $override_method_visibility = false;
2019-08-30 18:36:35 +02:00
/**
* @var bool
*/
public $mutation_free = false;
/**
* @var bool
*/
public $external_mutation_free = false;
/**
* @var bool
*/
public $taint_specialize = false;
/**
* @var array<int, string>
*/
public $suppressed_issues = [];
/**
* @var list<array{line_number:int,start_offset:int,end_offset:int,parts:list<string>}>
*/
public $imported_types = [];
/**
* @var bool
*/
public $consistent_constructor = false;
/**
* @var bool
*/
public $consistent_templates = false;
/** @var bool */
public $stub_override = false;
/**
* @var null|string
*/
public $extension_requirement;
/**
* @var array<int, string>
*/
public $implementation_requirements = [];
/**
* @var ?string
*/
public $description;
2017-02-10 02:35:17 +01:00
}