PhpParser\Error::setAttributes PHP Method

setAttributes() public method

Sets the attributes of the node/token the error occured at.
public setAttributes ( array $attributes )
$attributes array
    public function setAttributes(array $attributes)
    {
        $this->attributes = $attributes;
        $this->updateMessage();
    }