Function: srecode-template
srecode-template is a byte-compiled function defined in compile.el.gz.
Signature
(srecode-template &rest SLOTS)
Documentation
Create a new object of class type srecode-template(var)/srecode-template(fun).
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/srecode/compile.el.gz
;;; Code:
;;; Template Class
;;
;; Templates describe a pattern of text that can be inserted into a
;; buffer.
;;
(defclass srecode-template (eieio-named)
((context :initarg :context
:initform nil
:documentation
"Context this template belongs to.")
(args :initarg :args
:documentation
"List of arguments that this template requires.")
(code :initarg :code
:documentation
"Compiled text from the template.")
(dictionary :initarg :dictionary
:type (or null srecode-dictionary)
:documentation
"List of section dictionaries.
The compiled template can contain lists of section dictionaries,
or values that are expected to be passed down into different
section macros. The template section dictionaries are merged in with
any incoming dictionaries values.")
(binding :initarg :binding
:documentation
"Preferred keybinding for this template in `srecode-minor-mode-map'.")
(active :allocation :class
:initform nil
:documentation
"During template insertion, this is the stack of active templates.
The top-most template is the `active' template. Use the accessor methods
for push, pop, and peek for the active template.")
(table :initarg :table
:documentation
"The table this template lives in.")
)
"Class defines storage for semantic recoder templates.")