Function: sqlind-in-comment-or-string

sqlind-in-comment-or-string is a byte-compiled function defined in sql-indent.el.

Signature

(sqlind-in-comment-or-string POS)

Documentation

Return non nil if POS is inside a comment or a string.

We actually return 'string if POS is inside a string,
'comment if POS is inside a comment, nil otherwise.

Source Code

;; Defined in /nix/store/jxjf2h9nnkdqnn1w1mr0ag8bqng2rlrs-emacs-packages-deps/share/emacs/site-lisp/elpa/sql-indent-1.7/sql-indent.el
(defsubst sqlind-in-comment-or-string (pos)
  "Return non nil if POS is inside a comment or a string.
We actually return \\='string if POS is inside a string,
\\='comment if POS is inside a comment, nil otherwise."
  (syntax-ppss-context (syntax-ppss pos)))