Function: verilog-in-struct-nested-p

verilog-in-struct-nested-p is an interactive and byte-compiled function defined in verilog-mode.el.gz.

Signature

(verilog-in-struct-nested-p)

Documentation

Return nil for not in struct.

Return 0 for in non-nested struct. Return >0 for nested struct.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/verilog-mode.el.gz
(defun verilog-in-struct-nested-p ()
  "Return nil for not in struct.
Return 0 for in non-nested struct.
Return >0 for nested struct."
  (interactive)
  (let (col)
    (save-excursion
      (if (verilog-in-paren)
          (progn
            (verilog-backward-up-list 1)
            (setq col (verilog-at-struct-mv-p))
            (if col
                (if (verilog-in-struct-p) (current-column) 0)))
        nil))))