Function: vhdl-template-alias
vhdl-template-alias is an interactive and byte-compiled function
defined in vhdl-mode.el.gz.
Signature
(vhdl-template-alias)
Documentation
Insert alias declaration.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
(defun vhdl-template-alias ()
"Insert alias declaration."
(interactive)
(let ((start (point)))
(vhdl-insert-keyword "ALIAS ")
(when (vhdl-template-field "name" nil t start (point))
(insert " : ")
(unless (vhdl-template-field
(concat "[type" (and (vhdl-standard-p 'ams) " or nature") "]")
nil t)
(delete-char -3))
(vhdl-insert-keyword " IS ")
(vhdl-template-field "name" ";")
(vhdl-comment-insert-inline))))