• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/emacs-93/emacs/lisp/progmodes/

Lines Matching +defs:mode +defs:function

1 ;;; cc-awk.el --- AWK specific code within cc-mode.
6 ;; Author: Alan Mackenzie <acm@muc.de> (originally based on awk-mode.el)
8 ;; Keywords: AWK, cc-mode, unix, languages
29 ;; This file contains (most of) the adaptations to cc-mode required for the
39 ;; The AWK Mode keymap, abbreviation table, and the mode function itself are
40 ;; in cc-mode.el.
55 (cc-bytecomp-defvar font-lock-mode) ; Checked with boundp before use.
64 (defvar awk-mode-syntax-table
269 ;; analysis is in the middle of the function
279 ;; after-change function) must be constantly updated for the mode to work
321 ;; This function might do hidden buffer changes.
334 (defun c-awk-after-function-decl-param-list ()
335 ;; Are we just after the ) in "function foo (bar)" ?
337 ;; This function might do hidden buffer changes.
353 ;; This function might do hidden buffer changes.
364 ;; This function might do hidden buffer changes.
388 ;; POINT MUST BE AT THE START OF A LINE when calling this function. This
392 ;; This function might do hidden buffer changes.
401 ;; N.B. the following function will not go back past an EOL if
439 ;; This function might do hidden buffer changes.
454 (c-awk-after-function-decl-param-list)
486 ;; This function might do hidden buffer changes.
496 ;; function returns the property value an EOL would have got.)
500 ;; This function might do hidden buffer changes.
514 ;; This function might do hidden buffer changes.
521 ;; This function might do hidden buffer changes.
550 ;; defeat the (admittedly kludgey) purpose of this function, which is to
556 ;; This function is run from before-change-hooks. It clears the
561 ;; This function might do hidden buffer changes.
570 ;; Thing. This function's action is required by c-put-char-property.
588 ;(define-key awk-mode-map [?\C-c ?\r] 'NL-props) ; commented out, 2002/8/31
590 ;awk-mode-map isn't yet defined. :-(
599 ;; purpose of the function c-awk-set-syntax-table-properties and the myriad
602 ;; Because AWK is a line oriented language, I felt the normal cc-mode strategy
609 ;; function to have access to the start of the string/regexp, which may be
619 ;; comment, string or regexp. IT MAY WELL BE that this function should not be
622 ;; This function might do hidden buffer changes.
636 ;; comment, string or regexp. IT MAY WELL BE that this function should not be
639 ;; This function might do hidden buffer changes.
647 ;; ACM, 2002/02/15: The idea of the next function is to put the "Error font"
666 ;; This function does hidden buffer changes.
693 ;; This function does hidden buffer changes.
718 ;; This function might do hidden buffer changes.
745 ;; This function is designed to be called as the FUNCTION in a MATCHER in
750 ;; "undefined" after this function exits. THE BUFFER SHOULD HAVE BEEN
765 ;; This function does hidden buffer changes.
787 ;; ACM, 2002/07/21: Thoughts: We need an AWK Mode after-change function to set
797 ;; This function is called exclusively from the before-change-functions hook.
801 ;; This function might do hidden buffer changes.
814 ;; This function might do hidden buffer changes.
819 ;; This function is called exclusively as an after-change function in
821 ;; changed region. However, if font-lock is enabled, this function does
822 ;; nothing, since an enabled font-lock after-change function will always do
825 ;; This function might do hidden buffer changes.
826 (unless (and (boundp 'font-lock-mode) font-lock-mode)
837 ;; specified by the font-lock after-change function must be expanded to
842 (defmacro c-awk-advise-fl-for-awk-region (function)
843 `(defadvice ,function (before get-awk-region activate)
846 (when (eq major-mode 'awk-mode)
854 (c-awk-advise-fl-for-awk-region font-lock-after-change-function)
868 (1 font-lock-keyword-face) (3 font-lock-function-name-face nil t))
948 "Default expressions to highlight in AWK mode.")
986 By a \"defun\" is meant either a pattern-action pair or a function. The start
992 Note that this function might do hidden buffer changes. See the
1020 ;; Point is at the start of an AWK pattern (which may be null) or function
1023 ;; action/function body. Otherwise we stop at the EOL (or ;) marking the
1026 ;; This function might do hidden buffer changes.
1045 ;; This function might do hidden buffer changes.
1058 ;; This function might do hidden buffer changes.
1068 no explicit action; see function `c-awk-beginning-of-defun'.
1070 Note that this function might do hidden buffer changes. See the
1109 (cc-provide 'cc-awk) ; Changed from 'awk-mode, ACM 2002/5/21
1112 ;;; awk-mode.el ends here