Constructs a class const fetch node.
Name|Expr $class Class name:
string|Identifier|Expr|Error $name Constant name:
array<string, mixed> $attributes Additional attributes:
public function __construct(Node $class, $name, array $attributes = []) { $this->attributes = $attributes; $this->class = $class; $this->name = \is_string($name) ? new Identifier($name) : $name; }