nil))
(defun c-ts-common-statement-offset (node parent &rest _)
- "This anchor is used for children of a statement inside a block.
+ "Return an indent offset for a statement inside a block.
+
+Assumes the anchor is (point-min), i.e., the 0th column.
This function basically counts the number of block nodes (i.e.,
brackets) (defined by `c-ts-common-indent-block-type-regexp')
checks whether the opening bracket { is on its own line, if so,
it adds an extra level, except for the top-level.
+It also has special handling for bracketless statements and
+else-if statements, which see.
+
PARENT is NODE's parent, BOL is the beginning of non-whitespace
characters on the current line."
(let ((level 0))