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

Lines Matching defs:def

95 	 ;; def and class dealt with separately below
108 (,(rx symbol-start (group "def") (1+ space) (group (1+ (or word ?_))))
234 ["Mark def/class" mark-defun
241 ["Start of def/class" beginning-of-defun
243 ["End of def/class" end-of-defun
261 ["Eval def/class" python-send-defun
380 (looking-at (rx (and (or "if" "else" "elif" "while" "for" "def"
583 ;; def ...
766 (def-re (rx line-start (0+ space) (or "def" "class") (1+ space)
768 found lep) ;; def-line
774 ;;(setq def-line (looking-at def-re))
777 (if (and (re-search-backward def-re nil 'move)
785 ;; non-def statement of the main body.
786 ;;(and def-line (= in ci))
796 (pattern (rx line-start (0+ space) (or "def" "class") space)))
816 (if (and (bobp) (not (looking-at "def\\|class")))
834 ;; def ...
1014 Makes nested Imenu menus from nested `class' and `def' statements.
1034 (or (group "def") (group "class")) ; type
1040 (if (match-beginning 2) ; def or class?
1836 ;; Move up the tree of nested `class' and `def' blocks until we
1845 (if (looking-at (rx (0+ space) (or "def" "class") (1+ space)
2025 (defmacro def-python-skeleton (name &rest elements)
2035 (put 'def-python-skeleton 'lisp-indent-function 2)
2043 (def-python-skeleton if
2061 (def-python-skeleton while
2067 (def-python-skeleton for
2073 (def-python-skeleton try/except
2088 (def-python-skeleton try/finally
2095 (def-python-skeleton def
2097 "def " str " (" ("Parameter, %s: " (unless (equal ?\( (char-before)) ", ")
2102 (def-python-skeleton class
2216 with nested `def' and `class' blocks. They take the innermost one as
2232 Info-Look and Imenu. In Outline minor mode, `class' and `def'
2262 (rx (* space) (or "class" "def" "elif" "else" "except" "finally"
2282 `(python-mode "^\\s-*def\\>" nil "#"