Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
23 | public function build(LexerInterface $lexer, array $params): ?array |
||
24 | { |
||
25 | $start = $lexer->getToken(); |
||
26 | |||
27 | return [ |
||
28 | 'kind' => NodeKindEnum::SELECTION_SET, |
||
29 | 'selections' => $this->many( |
||
30 | $lexer, |
||
31 | TokenKindEnum::BRACE_L, |
||
32 | [$this, 'parseSelection'], |
||
33 | TokenKindEnum::BRACE_R |
||
34 | ), |
||
35 | 'loc' => $this->buildLocation($lexer, $start), |
||
36 | ]; |
||
51 |