1 | <?php |
||
20 | class SymbolTable implements SymbolTableInterface |
||
21 | { |
||
22 | /** |
||
23 | * @var int |
||
24 | */ |
||
25 | private $id = 0; |
||
26 | |||
27 | /** |
||
28 | * @var array|VarSymbolInterface[] |
||
29 | */ |
||
30 | private $variables = []; |
||
31 | |||
32 | /** |
||
33 | * @param VarSymbolInterface $record |
||
34 | * @return int |
||
35 | */ |
||
36 | public function declare(VarSymbolInterface $record): int |
||
44 | |||
45 | /** |
||
46 | * @param int $addr |
||
47 | * @return VarSymbolInterface |
||
48 | * @throws NotFoundException |
||
49 | */ |
||
50 | public function fetch(int $addr): VarSymbolInterface |
||
59 | |||
60 | /** |
||
61 | * @return VarSymbol[]|\Traversable<int,VarSymbol> |
||
|
|||
62 | */ |
||
63 | public function getIterator(): \Traversable |
||
69 | |||
70 | /** |
||
71 | * @return array |
||
72 | */ |
||
73 | public function __debugInfo(): array |
||
85 | |||
86 | /** |
||
87 | * @return int |
||
88 | */ |
||
89 | public function count(): int |
||
93 | } |
||
94 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.