PHPCfg\Parser::mapAttributes PHP Method

mapAttributes() private method

private mapAttributes ( PhpParser\Node $expr )
$expr PhpParser\Node
    private function mapAttributes(Node $expr)
    {
        return array_merge(["filename" => $this->fileName, "doccomment" => $expr->getDocComment()], $expr->getAttributes());
    }
Parser