- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
35 lines
659 B
PHP
Executable File
35 lines
659 B
PHP
Executable File
<?php
|
|
|
|
namespace NXP\Classes;
|
|
|
|
class Token
|
|
{
|
|
public const Literal = 'literal';
|
|
|
|
public const Variable = 'variable';
|
|
|
|
public const Operator = 'operator';
|
|
|
|
public const LeftParenthesis = 'LP';
|
|
|
|
public const RightParenthesis = 'RP';
|
|
|
|
public const Function = 'function';
|
|
|
|
public const ParamSeparator = 'separator';
|
|
|
|
public const String = 'string';
|
|
|
|
public const Space = 'space';
|
|
|
|
public ?int $paramCount = null;//to store function parameter count in stack
|
|
|
|
/**
|
|
* Token constructor.
|
|
*
|
|
*/
|
|
public function __construct(public string $type, public mixed $value, public ?string $name = null)
|
|
{
|
|
}
|
|
}
|