-
Notifications
You must be signed in to change notification settings - Fork 650
/
ClassLikeDocblockComment.php
104 lines (76 loc) · 2.08 KB
/
ClassLikeDocblockComment.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?php
namespace Psalm\Internal\Scanner;
use PhpParser\Node\Stmt\ClassMethod;
/**
* @internal
*/
class ClassLikeDocblockComment
{
/**
* Whether or not the class is deprecated
*/
public bool $deprecated = false;
/**
* Whether or not the class is internal
*/
public bool $internal = false;
/**
* Whether or not the class is final
*/
public bool $final = false;
/**
* If set, the class is internal to the given namespace.
*
* @var list<non-empty-string>
*/
public array $psalm_internal = [];
/**
* @var string[]
*/
public array $mixins = [];
/**
* @var array<int, array{string, ?string, ?string, bool, int}>
*/
public array $templates = [];
/**
* @var array<int, string>
*/
public array $template_extends = [];
/**
* @var array<int, string>
*/
public array $template_implements = [];
public ?string $yield = null;
/**
* @var array<int, array{end?: int, line_number: int, name: string, start?: int, tag: string, type: string}>
*/
public array $properties = [];
/**
* @var array<int, ClassMethod>
*/
public array $methods = [];
public bool $sealed_properties = false;
public bool $sealed_methods = false;
public bool $override_property_visibility = false;
public bool $override_method_visibility = false;
public bool $mutation_free = false;
public bool $external_mutation_free = false;
public bool $taint_specialize = false;
/**
* @var array<int, string>
*/
public array $suppressed_issues = [];
/**
* @var list<array{line_number:int,start_offset:int,end_offset:int,parts:list<string>}>
*/
public array $imported_types = [];
public bool $consistent_constructor = false;
public bool $consistent_templates = false;
public bool $stub_override = false;
public ?string $extension_requirement = null;
/**
* @var array<int, string>
*/
public array $implementation_requirements = [];
public ?string $description = null;
}