for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Remorhaz\Lexer\Runtime\IO;
/**
* @psalm-immutable
*/
final class NullLexeme implements LexemeInterface
{
* @return SymbolInterface[]
* @psalm-return array<int,SymbolInterface>
* @psalm-pure
public function getSymbols(): array
return [];
}
* @return int[]
* @psalm-return array<int,int>
public function getStartOffsets(): array
public function getFinishOffsets(): array
* @return LexemeInterface
public function getConstituentLexeme(): LexemeInterface
return $this;