$value $value : integer|null Type integer|null — The token's integer value. Always null for literal tokens.
__construct() __construct(string $code, integer|null $value = null, integer|null $line = null) Constructs a token object. Parameters string $code integer|null $value integer|null $line Throws \InvalidArgumentException
is() is(mixed $value) : boolean Determines if the token's value/code is equal to the specified value. Parameters mixed $value The value to check. Returns boolean — True if the token is equal to the value.