| Total Complexity | 9 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class TypeSystemExtensionASTBuilder extends AbstractASTBuilder |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param LexerInterface $lexer |
||
| 13 | * @return bool |
||
| 14 | */ |
||
| 15 | public function supportsBuilder(string $kind): bool |
||
| 16 | { |
||
| 17 | return $kind === ASTKindEnum::TYPE_SYSTEM_EXTENSION; |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @inheritdoc |
||
| 22 | */ |
||
| 23 | public function build(LexerInterface $lexer, array $params): ?array |
||
| 45 | } |
||
| 46 | } |
||
| 47 |