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.
30 lines
534 B
30 lines
534 B
<?php
|
|
/**
|
|
* This file is part of Swoole-Compiler(AOT).
|
|
*
|
|
* @link https://www.swoole.com/
|
|
* @contact service@swoole.com
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpAot\Php;
|
|
|
|
class ConstantDef
|
|
{
|
|
public string $name;
|
|
|
|
public string $type;
|
|
|
|
public string $flags;
|
|
|
|
public string $value;
|
|
|
|
public function __construct(string $name, string $flags, string $type, string $value)
|
|
{
|
|
$this->name = $name;
|
|
$this->type = $type;
|
|
$this->flags = $flags;
|
|
$this->value = $value;
|
|
}
|
|
}
|
|
|