| 1: | <?php declare(strict_types = 1); |
| 2: | |
| 3: | namespace PHPStan\PhpDocParser\Ast; |
| 4: | |
| 5: | interface Node |
| 6: | { |
| 7: | |
| 8: | public function __toString(): string; |
| 9: | |
| 10: | /** |
| 11: | * @param mixed $value |
| 12: | */ |
| 13: | public function setAttribute(string $key, $value): void; |
| 14: | |
| 15: | public function hasAttribute(string $key): bool; |
| 16: | |
| 17: | /** |
| 18: | * @return mixed |
| 19: | */ |
| 20: | public function getAttribute(string $key); |
| 21: | |
| 22: | } |
| 23: |