Function: sqlind-syntax-keyword
sqlind-syntax-keyword is a natively compiled function defined in
sql-indent.el.
Signature
(sqlind-syntax-keyword CONTEXT)
Documentation
Return the syntax keyword for the most specific syntax of CONTEXT.
This is used for complex syntax symbols like '(in-block case
""), in that case, it will return the 'case symbol. See
sqlind-syntax-of-line for the definition of CONTEXT.
Source Code
;; Defined in /nix/store/jxjf2h9nnkdqnn1w1mr0ag8bqng2rlrs-emacs-packages-deps/share/emacs/site-lisp/elpa/sql-indent-1.7/sql-indent.el
(defun sqlind-syntax-keyword (context)
"Return the syntax keyword for the most specific syntax of CONTEXT.
This is used for complex syntax symbols like \\='(in-block case
\"\"), in that case, it will return the \\='case symbol. See
`sqlind-syntax-of-line' for the definition of CONTEXT."
(when context
(let ((syntax-part (caar context)))
(if (symbolp syntax-part)
nil ; no KEYWORD
(nth 1 syntax-part)))))