private static function lexTextChar(string $char, string &$textBuffer, int &$cursor): void
    {
        $textBuffer .= $char;
        $cursor++;
    }
private static function lexTextChar(string $char, string &$textBuffer, int &$cursor): void
    {
        $textBuffer .= $char;
        $cursor++;
    }
private static function lexTextChar ( string $ char , string & $ textBuffer , int & $ cursor ) : void { $ textBuffer .= $ char ; $ cursor ++ ; }
Lexes a text character lexeme

@param string $char The lexeme to add
@param string $textBuffer The text buffer to add to
@param int $cursor The current cursor
Lexes a text character lexeme