TypePHP 编译器
https://swoole.com/aot/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
653 B
26 lines
653 B
<?php
|
|
/**
|
|
* This file is part of TypePHP.
|
|
*
|
|
* @link https://www.swoole.com/
|
|
* @contact service@swoole.com
|
|
*/
|
|
|
|
namespace TypePhp\Exception;
|
|
|
|
use PhpParser\Node;
|
|
|
|
final class CompileTimeAttributeError extends SyntaxError
|
|
{
|
|
public function __construct(
|
|
string $message,
|
|
public readonly Node $target,
|
|
public readonly ?string $attribute = null,
|
|
public readonly ?Node $attributeSource = null,
|
|
public readonly ?string $conflictAttribute = null,
|
|
public readonly ?Node $conflictSource = null,
|
|
?\Throwable $previous = null,
|
|
) {
|
|
parent::__construct($message, 0, $previous);
|
|
}
|
|
}
|
|
|