libs/compiler/src/Node/Definition/TokenDefinitionNode.php
<?php
declare(strict_types=1);
namespace Phplrt\Compiler\Node\Definition;
/**
* @internal This is an internal class, please do not use it in your application code.
* @psalm-internal Phplrt\Compiler
* @psalm-suppress PropertyNotSetInConstructor
*/
class TokenDefinitionNode extends Definition
{
public ?string $state = null;
public ?string $next = null;
public function __construct(
public string $name,
public string $value,
public bool $keep = true,
) {}
}