Function: combobulate-production-rules-get-types
combobulate-production-rules-get-types is a natively compiled function
defined in combobulate-procedure.el.
Signature
(combobulate-production-rules-get-types &optional LANGUAGE SKIP-DISCARD-RULES)
Documentation
Return a list of all node types in LANGUAGE.
By default, node rules listed in the shorthand
combobulate-discard-rules are removed from the list of all node types
if combobulate-procedure-apply-shared-discard-rules is non-nil.
If SKIP-DISCARD-RULES is non-nil, discard rules are not included.
Source Code
;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-procedure.el
(defun combobulate-production-rules-get-types (&optional language skip-discard-rules)
"Return a list of all node types in LANGUAGE.
By default, node rules listed in the shorthand
`combobulate-discard-rules' are removed from the list of all node types
if `combobulate-procedure-apply-shared-discard-rules' is non-nil.
If SKIP-DISCARD-RULES is non-nil, discard rules are not included."
(seq-difference
(combobulate-production-rules--get combobulate-rules-types-alist language)
(when (and (combobulate-primary-language t)
combobulate-procedure-apply-shared-discard-rules
(not skip-discard-rules))
(combobulate-procedure-expand-rules
(combobulate-read procedure-discard-rules)))))