This is the cl-emb Reference Manual, version 0.4.3, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 04:51:36 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
cl-emb
A templating system for Common Lisp
Stefan Scholl <stesch@no-spoon.de>
Lesser Lisp General Public License
0.4.3
cl-ppcre
(system).
packages.lisp
(file).
emb.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-emb/emb.lisp
packages.lisp
(file).
cl-emb
(system).
*case-sensitivity*
(special variable).
*debug*
(special variable).
*emb-end-marker*
(special variable).
*emb-start-marker*
(special variable).
*escape-type*
(special variable).
*function-package*
(special variable).
*locking-function*
(special variable).
clear-emb
(function).
clear-emb-all
(function).
clear-emb-all-files
(function).
clear-expand-template-tag-hash
(function).
construct-emb-function
(function).
execute-emb
(generic function).
getf*
(generic function).
pprint-emb-function
(function).
register-emb
(generic function).
*emb-stream-redirection*
(special variable).
*functions*
(special variable).
*latex-replacements*
(special variable).
*set-parameter-list*
(special variable).
*set-special-list*
(special variable).
*template-tag-expand*
(special variable).
autofuncall
(function).
construct-emb-body-string
(function).
contents-of-file
(function).
echo
(function).
emb-function
(class).
emb-function-form
(reader method).
(setf emb-function-form)
(writer method).
emb-function-function
(reader method).
(setf emb-function-function)
(writer method).
emb-function-path
(reader method).
(setf emb-function-path)
(writer method).
emb-function-time
(reader method).
(setf emb-function-time)
(writer method).
escape-by-table
(function).
escape-for-latex
(function).
escape-for-xml
(function).
expand-template-tags
(function).
get-emb-function
(function).
getf-emb
(macro).
insert-file
(function).
make-emb-function
(function).
next-code
(function).
scanner-for-expand-template-tag
(function).
set-specials
(function).
string-right-trim-spaces-until-newline
(function).
string-to-keyword
(function).
tag-template
(function).
url-encode
(function).
with-lock
(macro).
Packages are listed by definition order.
cl-emb
emb
common-lisp
.
*case-sensitivity*
(special variable).
*debug*
(special variable).
*emb-end-marker*
(special variable).
*emb-start-marker*
(special variable).
*escape-type*
(special variable).
*function-package*
(special variable).
*locking-function*
(special variable).
clear-emb
(function).
clear-emb-all
(function).
clear-emb-all-files
(function).
clear-expand-template-tag-hash
(function).
construct-emb-function
(function).
execute-emb
(generic function).
getf*
(generic function).
pprint-emb-function
(function).
register-emb
(generic function).
*emb-stream-redirection*
(special variable).
*functions*
(special variable).
*latex-replacements*
(special variable).
*set-parameter-list*
(special variable).
*set-special-list*
(special variable).
*template-tag-expand*
(special variable).
autofuncall
(function).
construct-emb-body-string
(function).
contents-of-file
(function).
echo
(function).
emb-function
(class).
emb-function-form
(generic reader).
(setf emb-function-form)
(generic writer).
emb-function-function
(generic reader).
(setf emb-function-function)
(generic writer).
emb-function-path
(generic reader).
(setf emb-function-path)
(generic writer).
emb-function-time
(generic reader).
(setf emb-function-time)
(generic writer).
escape-by-table
(function).
escape-for-latex
(function).
escape-for-xml
(function).
expand-template-tags
(function).
get-emb-function
(function).
getf-emb
(macro).
insert-file
(function).
make-emb-function
(function).
next-code
(function).
scanner-for-expand-template-tag
(function).
set-specials
(function).
string-right-trim-spaces-until-newline
(function).
string-to-keyword
(function).
tag-template
(function).
url-encode
(function).
with-lock
(macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Whether use case-sensitive mode (the default) or case-insensitive mode. If this is set NIL, the case of keys in ENV will be ignored.
End of scriptlet or expression.
Start of scriptlet or expression. Remember that a following #= indicates an expression.
Default value for escaping @var output.
Package the emb function body gets interned to.
Function to call to lock access to an internal hash table. Must accept a function designator which must be called with the lock hold.
Remove all registered file emb code (registered/executed by a pathname).
Removes all scanners for template tags from cache.
Builds and compiles the emb-function out of template code.
DEBUG function. Pretty prints function form, if *DEBUG* was t when the function was registered.
Execute named emb code. Returns a string. Keyword parameter ENV to pass objects to the code. ENV must be a plist.
Returns a value by a key
standard-object
) key &optional default) ¶Uses slot-value to get a value from a standard object, where the slot name is derived from key
hash-table
) key &optional default) ¶Uses gethash to get a value from a hash-table
list
) key &optional default) ¶Uses getf to get a value from a plist
Register given CODE as NAME.
Table mapping names to emb-function instances.
List of conses. FIRST is regex, REST replacement (STRING or FUNCTION). Functions get called with two parameters: match and list of registers.
Search either plist TOPENV or ENV according to the search path in KEY. KEY is a string.
Locking all accesses to *functions*
Takes a string containing an emb code and returns a string containing the lisp code that implements that emb code.
Returns a string with the entire contents of the specified file.
Emit given STRING. Escape if wanted (global or via ESCAPE keyword). STRING can be NIL.
Expand template-tags (@if, @else, ...) to Common Lisp. Replacement and regex in *TEMPLATE-TAG-EXPAND*
Returns the named function implementing a registered emb code. Rebuilds it when text template was a file which has been modified.
Constructor for class EMB-FUNCTION.
Returns a CL-PPCRE scanner which matches a template tag expanded by EXPAND-TEMPLATE-TAGS. Scanners are memoized in SCANNER-HASH once they are created.
Parse parameter(s) of @set and set special variables like e. g. *ESCAPE-TYPE*.
Interns a given STRING uppercased in the keyword package.
emb-function
)) ¶automatically generated reader method
emb-function
)) ¶automatically generated writer method
emb-function
)) ¶automatically generated reader method
emb-function
)) ¶automatically generated writer method
emb-function
)) ¶automatically generated reader method
emb-function
)) ¶automatically generated writer method
emb-function
)) ¶automatically generated reader method
emb-function
)) ¶automatically generated writer method
Jump to: | (
A C E F G I M N P R S T U W |
---|
Jump to: | (
A C E F G I M N P R S T U W |
---|
Jump to: | *
F P S T |
---|
Jump to: | *
F P S T |
---|
Jump to: | C E F P S |
---|
Jump to: | C E F P S |
---|