for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of Railt package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Railt\SDL\Frontend\Ast;
use Phplrt\Contracts\Lexer\TokenInterface;
* Class Identifier
class Identifier extends Node
{
* @var string
public string $value;
* Name constructor.
* @param string $name
public function __construct(string $name)
$this->value = $name;
}
* @param TokenInterface $token
* @return static
public static function create(TokenInterface $token): self
return new static($token->getValue());