private static function lexPunctuation(string $punctuation, array &$tokens, int &$cursor): void
    {
        $tokens[] = new Token(TokenTypes::T_PUNCTUATION, $punctuation);
        $cursor++;
    }
private static function lexPunctuation(string $punctuation, array &$tokens, int &$cursor): void
    {
        $tokens[] = new Token(TokenTypes::T_PUNCTUATION, $punctuation);
        $cursor++;
    }
private static function lexPunctuation ( string $ punctuation , array & $ tokens , int & $ cursor ) : void { $ tokens [ ] = new Token ( TokenTypes :: T_PUNCTUATION , $ punctuation ) ; $ cursor ++ ; }
Lexes a punctuation lexeme

@param string $punctuation The lexeme to add
@param Token[] $tokens The list of tokens to add to
@param int $cursor The current cursor
Lexes a punctuation lexeme