Total Complexity | 2 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class ScalarTypeExtensionNode extends AbstractNode implements TypeExtensionNodeInterface, DirectivesAwareInterface, |
||
8 | NameAwareInterface |
||
9 | { |
||
10 | use NameTrait; |
||
11 | use DirectivesTrait; |
||
12 | |||
13 | /** |
||
14 | * ScalarTypeDefinitionNode constructor. |
||
15 | * |
||
16 | * @param NameNode $name |
||
17 | * @param DirectiveNode[] $directives |
||
18 | * @param Location|null $location |
||
19 | */ |
||
20 | public function __construct(NameNode $name, array $directives, ?Location $location) |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @inheritdoc |
||
30 | */ |
||
31 | public function toAST(): array |
||
41 |