generated/Parser/ParserImpl.php
protected function parseNamedArgument()
    {
        $a = [];

        if ($this->type !== 'T_LABEL') { return $this; }
        $a[] = $this->consume();

        if (null === ($parsed = yield 'Statement')) { $this->error("Error parsing \"NamedArgument\" on line %s:"); }
        $a[] = $parsed;

        return ($this->action)('NamedArgument', 'parseNamedArgument', $a);
    }
protected function parseNamedArgument()
    {
        $a = [];

        if ($this->type !== 'T_LABEL') { return $this; }
        $a[] = $this->consume();

        if (null === ($parsed = yield 'Statement')) { $this->error("Error parsing \"NamedArgument\" on line %s:"); }
        $a[] = $parsed;

        return ($this->action)('NamedArgument', 'parseNamedArgument', $a);
    }
NamedArgument ::= T_LABEL Statement