Variable: c-ts-common-indent-type-regexp-alist
c-ts-common-indent-type-regexp-alist is a variable defined in
c-ts-common.el.gz.
Value
nil
Documentation
An alist of node type regexps.
Each key in the alist is one of if, else, do, while,
for, block, close-bracket. Each value in the alist
is the regexp matching the type of that kind of node. Most of
these types are self-explanatory, e.g., if corresponds to
"if_statement" in C. block corresponds to the {} block.
Some types, specifically else, is usually not identified by a
standalone node, but a child under the "if_statement", under a
field name like "alternative", etc. In that case, use a
cons (TYPE . FIELD-NAME) as the value, where TYPE is the node's
parent's type, and FIELD-NAME is the field name of the node.
If the language doesn't have a particular type, it is fine to omit it.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/c-ts-common.el.gz
(defvar c-ts-common-indent-type-regexp-alist nil
"An alist of node type regexps.
Each key in the alist is one of `if', `else', `do', `while',
`for', `block', `close-bracket'. Each value in the alist
is the regexp matching the type of that kind of node. Most of
these types are self-explanatory, e.g., `if' corresponds to
\"if_statement\" in C. `block' corresponds to the {} block.
Some types, specifically `else', is usually not identified by a
standalone node, but a child under the \"if_statement\", under a
field name like \"alternative\", etc. In that case, use a
cons (TYPE . FIELD-NAME) as the value, where TYPE is the node's
parent's type, and FIELD-NAME is the field name of the node.
If the language doesn't have a particular type, it is fine to
omit it.")