Function: parseclj-lex-string

parseclj-lex-string is a byte-compiled function defined in parseclj-lex.el.

Signature

(parseclj-lex-string)

Documentation

Return a lex token representing a string.

If EOF is reached without finding a closing double quote, a :lex-error token is returned.

Source Code

;; Defined in ~/.emacs.d/elpa/parseclj-20231203.1905/parseclj-lex.el
(defun parseclj-lex-string ()
  "Return a lex token representing a string.
If EOF is reached without finding a closing double quote, a :lex-error
token is returned."
  (let ((pos (point))
        (str (parseclj-lex-string*)))
    (if str
        (parseclj-lex-token :string str pos)
      (parseclj-lex-error-token pos :invalid-string))))