Function: cperl-declaration-header-p
cperl-declaration-header-p is a byte-compiled function defined in
cperl-mode.el.gz.
Signature
(cperl-declaration-header-p POS)
Documentation
Return t if POS is in the header of a declaration.
Perl syntax can have various constructs between a
keyword (e.g. "sub") and its associated block of code, and
these can span several lines. These blocks are identified and
marked with a text-property in cperl-find-pods-heres. This
function tests that property.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cperl-mode.el.gz
(defun cperl-declaration-header-p (pos)
"Return t if POS is in the header of a declaration.
Perl syntax can have various constructs between a
keyword (e.g. \"sub\") and its associated block of code, and
these can span several lines. These blocks are identified and
marked with a text-property in `cperl-find-pods-heres'. This
function tests that property."
(equal (get-text-property pos 'syntax-type) 'sub-decl))