Variable: combobulate-javascript-envelope-procedure-shorthand-alist
combobulate-javascript-envelope-procedure-shorthand-alist is a
variable defined in combobulate-js-ts.el.
Value
((valid-jsx-expression
(:activation-nodes
((:nodes
(exclude
("jsx_element" "jsx_text" "jsx_self_closing_element"
"jsx_fragment" "jsx_attribute" (rule "jsx_attribute"))
"jsx_expression")
:has-parent (irule "jsx_expression")))))
(expressions
(:activation-nodes
((:nodes ((rule "primary_expression") (rule "expression"))))))
(wrap-expressions
(:activation-nodes
((:nodes ((rule "primary_expression") (rule "expression"))))))
(inside-arrow
(:activation-nodes
((:nodes (rule "arrow_function" :body) :has-parent "arrow_function"))))
(general-statement
(:activation-nodes
((:nodes (rule "statement") :has-parent (irule "statement"))))))
Documentation
Alist of shorthand symbols for envelope procedures.
Each entry must be an alist with the key being the shorthand symbol and the value being a valid combobulate procedure.
Shorthands are used in lieu of inlining the procedure in the
:nodes property for an envelope, and instead lets you refer to
a procedure by a :shorthand property matching the key in this
alist.
Source Code
;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-js-ts.el