Function: c-position-wrt-ml-delims
c-position-wrt-ml-delims is a byte-compiled function defined in
cc-engine.el.gz.
Signature
(c-position-wrt-ml-delims ML-STRING-DELIMS)
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-engine.el.gz
(defun c-position-wrt-ml-delims (ml-string-delims)
;; Given ML-STRING-DELIMS, a structure produced by
;; `c-ml-string-delims-around-point' called at point, return one of the
;; following indicating where POINT is with respect to the multi-line
;; string:
;; o - nil; not in the string.
;; o - open-delim: in the open-delimiter.
;; o - close-delim: in the close-delimiter.
;; o - after-close: just after the close-delimiter
;; o - string: inside the delimited string.
(cond
((null ml-string-delims)
nil)
((< (point) (cadar ml-string-delims))
'open-delim)
((or (null (cdr ml-string-delims))
(<= (point) (cadr ml-string-delims)))
'string)
((eq (point) (caddr ml-string-delims))
'after-close)
(t 'close-delim)))