Variable: neocaml--block-regex

neocaml--block-regex is a variable defined in neocaml.el.

Value

"\\_<\\(a\\(?:nd\\|rray_expression\\|s\\(?:sert\\)?\\)\\|b\\(?:\\(?:egi\\|oolea\\)n\\)\\|c\\(?:haracter\\|lass\\|onstr\\(?:aint\\|uctor_\\(?:name\\|path\\)\\)\\)\\|do\\(?:_clause\\|ne\\|wnto\\)?\\|e\\(?:ffect\\|lse\\|nd\\|x\\(?:ception\\|ternal\\(?:_declaration\\)?\\)\\)\\|f\\(?:or\\|un\\(?:ct\\(?:ion\\|or\\)\\)?\\)\\|i\\(?:n\\(?:clude\\|fix_operator\\|herit\\|itializer\\)\\|[fn]\\)\\|l\\(?:a\\(?:bel_name\\|zy\\)\\|et\\(?:_binding\\)?\\|\\(?:ist\\|ocal_open\\)_expression\\)\\|m\\(?:atch\\(?:_case\\)?\\|ethod\\|odule\\(?:_\\(?:name\\|path\\|type_name\\)\\)?\\|utable\\)\\|n\\(?:ew\\|onrec\\|umber\\)\\|o\\(?:bject\\|f\\|pen\\)\\|p\\(?:a\\(?:ckage_expression\\|r\\(?:ameter\\|enthesized_\\(?:\\(?:expressio\\|patter\\)n\\)\\)\\)\\|rivate\\)\\|quoted_string\\|rec\\|s\\(?:ig\\(?:nature\\)?\\|tr\\(?:ing\\|uct\\(?:ure\\)?\\)\\)\\|t\\(?:hen\\|o\\|ry\\|ype\\(?:_\\(?:constructor\\|definition\\)\\|d_\\(?:\\(?:module_\\)?expression\\)\\)?\\)\\|unit\\|v\\(?:al\\(?:ue_\\(?:name\\|pat\\(?:h\\|tern\\)\\|specification\\)\\)?\\|irtual\\)\\|w\\(?:h\\(?:en\\|ile\\)\\|ith\\)\\)\\_>"

Documentation

Regex matching tree-sitter node types for sexp-based navigation.

Used by neocaml-forward-sexp to identify balanced expressions.

Source Code

;; Defined in /nix/store/ahssdx4rwzyxhyhavpn0bkznk13xrggi-emacs-packages-deps/share/emacs/site-lisp/elpa/neocaml-20260907.2015/neocaml.el
;;;; Structured navigation

(defvar neocaml--block-regex
  (regexp-opt `(,@neocaml-mode--keywords
                "do_clause"
                ;; "if_expression"
                ;; "fun_expression"
                ;; "match_expression"
                "local_open_expression"
                "typed_expression"
                "external_declaration"
                "array_expression"
                "list_expression"
                "parenthesized_expression"
                "parenthesized_pattern"
                "match_case"
                "parameter"
                ;; "value_definition"
                "let_binding"
                "value_specification"
                "value_name"
                "label_name"
                "constructor_name"
                "module_name"
                "module_type_name"
                "value_pattern"
                "value_path"
                "constructor_path"
                "infix_operator"
                "number" "boolean" "unit"
                "type_definition"
                "type_constructor"
                ;; "module_definition"
                "package_expression"
                "typed_module_expression"
                "module_path"
                "signature"
                "structure"
                "string" "quoted_string" "character")
              'symbols)
  "Regex matching tree-sitter node types for sexp-based navigation.
Used by `neocaml-forward-sexp' to identify balanced expressions.")