Variable: ruby-ts--statement-container-regexp

ruby-ts--statement-container-regexp is a variable defined in ruby-ts-mode.el.gz.

Value

"\\`\\(?:b\\(?:egin_block\\|lock_body\\|ody_statement\\)\\|do\\|e\\(?:lse\\|n\\(?:d_block\\|sure\\)\\)\\|interpolation\\|program\\|then\\)\\'"

Documentation

Regular expression of the nodes that can contain statements.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/ruby-ts-mode.el.gz
(defconst ruby-ts--statement-container-regexp
  (rx string-start
      (or "program"
          "block_body"
          "begin_block"
          "end_block"
          "do"
          "else"
          "then"
          "ensure"
          "body_statement"
          "interpolation")
      string-end)
  "Regular expression of the nodes that can contain statements.")