This is the cl-who Reference Manual, version 1.1.4, generated automatically by Declt version 3.0 "Montgomery Scott" on Thu Mar 11 12:44:01 2021 GMT+0.
• Systems | The systems documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
The main system appears first, followed by any subsystem dependency.
• The cl-who system |
BSD
(X)HTML generation macros
1.1.4
cl-who.asd (file)
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
• The cl-who.asd file | ||
• The cl-who/packages.lisp file | ||
• The cl-who/specials.lisp file | ||
• The cl-who/util.lisp file | ||
• The cl-who/who.lisp file |
Next: The cl-who/packages․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
cl-who.asd
cl-who (system)
Next: The cl-who/specials․lisp file, Previous: The cl-who․asd file, Up: Lisp files [Contents][Index]
Next: The cl-who/util․lisp file, Previous: The cl-who/packages․lisp file, Up: Lisp files [Contents][Index]
packages.lisp (file)
cl-who (system)
specials.lisp
Next: The cl-who/who․lisp file, Previous: The cl-who/specials․lisp file, Up: Lisp files [Contents][Index]
specials.lisp (file)
cl-who (system)
util.lisp
Previous: The cl-who/util․lisp file, Up: Lisp files [Contents][Index]
util.lisp (file)
cl-who (system)
who.lisp
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The cl-who package |
packages.lisp (file)
who
common-lisp
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions | ||
• Internal definitions |
Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
• Exported special variables | ||
• Exported macros | ||
• Exported functions | ||
• Exported generic functions |
Next: Exported macros, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
Quote character for attributes.
specials.lisp (file)
If NIL, a keyword symbol representing a tag or attribute name will not be automatically converted to lowercase. If T, the tag and attribute name will be converted to lowercase only if it is in the same case. This is useful when one needs to output case sensitive XML.
specials.lisp (file)
Set this to t to enable attribute minimization (also called ’boolean attributes’, or ’empty attribute syntax’ according to the w3 html standard). In XHTML attribute minimization is forbidden, and all attributes must have a value. Thus in XHTML boolean attributes must be defined as <input disabled=’disabled’ />. In HTML5 boolean attributes can be defined as <input disabled>
specials.lisp (file)
Used by ESCAPE-STRING to test whether a character should be escaped.
specials.lisp (file)
Set this to NIL to if you want to use CL-WHO as a strict XML generator. Otherwise, CL-WHO will only write empty tags listed in *HTML-EMPTY-TAGS* as <tag/> (XHTML mode) or <tag> (SGML mode and HTML5 mode). For all other tags, it will always generate <tag></tag>.
specials.lisp (file)
The list of HTML tags that should be output as empty tags. See *HTML-EMPTY-TAG-AWARE-P*.
specials.lisp (file)
The list of HTML tags that should disable indentation inside them. The initial value is a list containing only :PRE and :TEXTAREA.
specials.lisp (file)
This is the first line that’ll be printed if the :PROLOGUE keyword argument is T
specials.lisp (file)
Next: Exported functions, Previous: Exported special variables, Up: Exported definitions [Contents][Index]
Transform the enclosed BODY consisting of HTML as s-expressions into Lisp code to write the corresponding HTML as strings to VAR - which should either hold a stream or which’ll be bound to STREAM if supplied.
Transform the enclosed BODY consisting of HTML as s-expressions into Lisp code which creates the corresponding HTML as a string.
Next: Exported generic functions, Previous: Exported macros, Up: Exported definitions [Contents][Index]
Concatenates all arguments which should be string into one string.
Helper function for CONVERT-TAG-TO-STRING-LIST which converts the alist ATTR-LIST of attributes into a list of strings and/or Lisp forms.
Returns an escaped version of the character CHAR if CHAR satisfies the predicate TEST. Always returns a string.
Escapes characters which aren’t in the 7-bit ASCII character set.
Escapes characters that aren’t defined in ISO-8859-9.
Escapes only #<, #>, and #& characters.
Like ESCAPE-CHAR-MINIMAL but also escapes quotes.
Escape all characters in STRING which pass TEST. This function is not guaranteed to return a fresh string. Note that you can pass NIL for STRING which’ll just be returned.
Escapes all characters in STRING which aren’t in the 7-bit ASCII character set.
Escapes all characters in STRING which aren’t defined in ISO-8859-1.
Escapes only #<, #>, and #& in STRING.
Like ESCAPE-STRING-MINIMAL but also escapes quotes.
Returns the current HTML mode. :SGML for (SGML-)HTML, :XML for XHTML and :HTML5 for HTML5 (HTML syntax).
who.lisp (file)
(setf html-mode) (function)
Sets the output mode to XHTML or (SGML-)HTML. MODE can be :SGML for HTML, :XML for XHTML or :HTML5 for HTML5 (HTML syntax).
Previous: Exported functions, Up: Exported definitions [Contents][Index]
Used by PROCESS-TAG to convert ‘HTML’ into a list
of strings. TAG is a keyword symbol naming the outer tag, ATTR-LIST
is an alist of its attributes (the car is the attribute’s name as a
keyword, the cdr is its value), BODY is the tag’s body, and BODY-FN is
a function which should be applied to BODY. The function must return
a list of strings or Lisp forms.
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal constants | ||
• Internal special variables | ||
• Internal macros | ||
• Internal functions |
Next: Internal special variables, Previous: Internal definitions, Up: Internal definitions [Contents][Index]
Used for indentation.
specials.lisp (file)
Used for indentation.
specials.lisp (file)
Next: Internal macros, Previous: Internal constants, Up: Internal definitions [Contents][Index]
End of an empty tag. Default is XML style.
specials.lisp (file)
:SGML for (SGML-)HTML, :XML (default) for XHTML, :HTML5 for HTML5.
specials.lisp (file)
Whether to insert line breaks and indent. Also controls amount of indentation dynamically.
specials.lisp (file)
Next: Internal functions, Previous: Internal special variables, Up: Internal definitions [Contents][Index]
Make sure VALUE is evaluated only once (to appease SBCL & clasp).
specials.lisp (file)
A string with N spaces - used by indentation.
WITH-REBINDING ( { var | (var prefix) }* ) form*
Evaluates a series of forms in the lexical environment that is formed by adding the binding of each VAR to a fresh, uninterned symbol, and the binding of that fresh, uninterned symbol to VAR’s original value, i.e., its value in the current lexical environment.
The uninterned symbol is created as if by a call to GENSYM with the
string denoted by PREFIX - or, if PREFIX is not supplied, the string
denoted by VAR - as argument.
The forms are evaluated in order, and the values of all but the last are discarded (that is, the body is an implicit PROGN).
Syntax: WITH-UNIQUE-NAMES ( { var | (var x) }* ) declaration* form*
Executes a series of forms with each VAR bound to a fresh,
uninterned symbol. The uninterned symbol is as if returned by a call
to GENSYM with the string denoted by X - or, if X is not supplied, the
string denoted by VAR - as argument.
The variable bindings created are lexical unless special declarations
are specified. The scopes of the name bindings and declarations do not
include the Xs.
The forms are evaluated in order, and the values of all but the last are discarded (that is, the body is an implicit PROGN).
Previous: Internal macros, Up: Internal definitions [Contents][Index]
Given a FORM, the declarations - if any - will be extracted
from the head of the FORM, and will return two values the declarations,
and the remaining of FORM
Helper function for the ESCAPE-FOO-ISO-8859-1 functions to determine whether CHAR must be escaped.
Helper function for the ESCAPE-FOO-MINIMAL functions to determine whether CHAR must be escaped.
Helper function for the ESCAPE-FOO-MINIMAL-PLUS-QUOTES functions to determine whether CHAR must be escaped.
Helper function for the ESCAPE-FOO-ISO-8859-1 functions to determine whether CHAR must be escaped.
Returns a string list corresponding to the ‘HTML’ (in CL-WHO syntax) in SEXP. Uses the generic function CONVERT-TO-STRING-LIST internally. Utility function used by TREE-TO-TEMPLATE.
Test if all characters of a string are in the same case.
Concatenates a list of strings to one string.
Transforms an HTML tree into an intermediate format - mainly a flattened list of strings. Utility function used by TREE-TO-COMMANDS-AUX.
Previous: Definitions, Up: Top [Contents][Index]
• Concept index | ||
• Function index | ||
• Variable index | ||
• Data type index |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | C F L |
---|
Jump to: | C F L |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | (
C D E F G H I M N P S T W |
---|
Jump to: | (
C D E F G H I M N P S T W |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Jump to: | *
+
C S |
---|
Jump to: | *
+
C S |
---|
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | C P S |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
C | |||
cl-who : | The cl-who system | ||
cl-who : | The cl-who package | ||
| |||
P | |||
Package, cl-who : | The cl-who package | ||
| |||
S | |||
System, cl-who : | The cl-who system | ||
|
Jump to: | C P S |
---|