Function: js-jsx--expr-attribute-pos
js-jsx--expr-attribute-pos is a byte-compiled function defined in
js.el.gz.
Signature
(js-jsx--expr-attribute-pos START LIMIT)
Documentation
Look back from START to LIMIT for a JSXAttribute.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/js.el.gz
(defun js-jsx--expr-attribute-pos (start limit)
"Look back from START to LIMIT for a JSXAttribute."
(save-excursion
(goto-char start) ; Skip the first curly.
;; Skip any remaining enclosing curlies until the JSXElement’s
;; beginning position; the last curly ought to be one of a
;; JSXExpressionContainer, which may refer to its JSXAttribute’s
;; beginning position (if it has one).
(js-jsx--goto-outermost-enclosing-curly limit)
(get-text-property (point) 'js-jsx-expr-attribute)))