The lsx Reference Manual
Table of Contents
The lsx Reference Manual
This is the lsx Reference Manual, version 0.1.0,
generated automatically by Declt version 3.0 "Montgomery Scott"
on Sun May 15 05:28:15 2022 GMT+0.
1 Introduction
LSX

Embeddable HTML templating engine with JSX-like syntax.
Usage
(ql:quickload '(:lsx :local-time))
(lsx:enable-lsx-syntax)
<br/>
;=> #<LSX/HTML:ELEMENT br {1003F98BF3}>
(lsx:render-object <br/> t)
;-> <br>
;=> NIL
(lsx:render-object <a href="/hello">Say Hello</a> t)
;-> <a href="/hello">Say Hello</a>
;=> NIL
;;
;; Embed Lisp code in {}
(lsx:render-object <a href="/hello">Say Hello at {(local-time:now)}</a> t)
;-> <a href="/hello">Say Hello at 2018-09-14T05:04:55.009102+09:00</a>
;=> NIL
Defining custom tags
(lsx:deftag welcome (&key name)
<h1>{name}</h1>)
<welcome name="fukamachi"></welcome>
;=> #<WELCOME {10028D74D3}>
(lsx:render-object <welcome name="fukamachi" /> t)
;-> <h1>fukamachi</h1>
;=> NIL
Defining templates
(lsx:deftemplate default-layout ()
(title body)
(:render
<html>
<head>
<title>{title}</title>
</head>
<body>
{body}
</body>
</html>))
(lsx:deftemplate index-page (default-layout)
()
(:default-initargs
:title "Index"
:body <h1>Welcome</h1>))
(lsx:render 'index-page)
;=> "<!DOCTYPE html>
; <html>
; <head>
; <title>Index</title>
; </head>
; <body>
; <h1>Welcome</h1>
; </body>
; </html>
; "
Loading from file
;; example.lsx
(lambda (&key (name "Guest"))
<html>
<head>
<title>Welcome {name}</title>
</head>
<body>
<div id="main"><h1>Hello</h1><p><a href="/entries">Show Entries</a></p></div>
</body>
</html>)
(lsx:read-lsx-file #P"example.lsx")
;=> #<FUNCTION (LAMBDA (&KEY :NAME) :IN "~/Programs/lib/lsx/example.lsx") {1005E72B5B}>
(lsx:render-object (funcall * :name "fukamachi") t)
;-> <!DOCTYPE html>
; <html>
; <head>
; <title>Welcome fukamachi</title>
; </head>
; <body>
; <div id="main"><h1>Hello</h1><p><a href="/entries">Show Entries</a></p></div>
; </body>
; </html>
;=> NIL
How it works
LSX syntax is implemented as reader macro. It's able to see how it's expanded with quoting.
'<br/>
;=> (LSX/TAG:H 'BR (LIST))
'<a href="/hello">Say Hello</a>
;=> (LSX/TAG:H 'A (LIST (CONS "href" "/hello")) (LIST "Say Hello"))
'<a href="/hello">Say Hello at {(local-time:now)}</a>
;=> (LSX/TAG:H 'A (LIST (CONS "href" "/hello")) (LIST "Say Hello at " (LAMBDA () (LOCAL-TIME:NOW))))
h
is a function to make an element. It takes a single required argument, a tag-name
as a string, and 2 optional arguments, attributes as an association list and children as a list of elements.
;; Same as <br/>
(lsx:h "br")
;=> #<LSX/HTML:ELEMENT br {10033183D3}>
(lsx:h "a" '(("href" . "/hello")) '("Say Hello"))
;=> #<LSX/HTML:ELEMENT a {100331D823}>
(lsx:h "a" '(("href" . "/hello")) (list "Say Hello at " (lambda () (local-time:now))))
See Also
Author
- Eitaro Fukamachi (e.arrows@gmail.com)
Copyright
Copyright (c) 2018 Eitaro Fukamachi
License
Licensed under the BSD 2-Clause License.
2 Systems
The main system appears first, followed by any subsystem dependency.
2.1 lsx
- Author
Eitaro Fukamachi
- License
BSD 2-Clause
- Description
Embeddable HTML templating engine with JSX-like syntax
- Version
0.1.0
- Dependency
lsx/main (system)
- Source
lsx.asd (file)
2.2 lsx/main
- Author
Eitaro Fukamachi
- License
BSD 2-Clause
- Dependencies
-
- Source
lsx.asd (file)
- Component
file-type.lisp (file)
2.3 lsx/file
- Author
Eitaro Fukamachi
- License
BSD 2-Clause
- Dependency
lsx/reader (system)
- Source
lsx.asd (file)
- Component
file-type.lisp (file)
2.4 lsx/reader
- Author
Eitaro Fukamachi
- License
BSD 2-Clause
- Dependencies
-
- Source
lsx.asd (file)
- Component
file-type.lisp (file)
2.5 lsx/tag
- Author
Eitaro Fukamachi
- License
BSD 2-Clause
- Dependency
lsx/html (system)
- Source
lsx.asd (file)
- Component
file-type.lisp (file)
2.6 lsx/template
- Author
Eitaro Fukamachi
- License
BSD 2-Clause
- Dependencies
-
- Source
lsx.asd (file)
- Component
file-type.lisp (file)
2.7 lsx/html
- Author
Eitaro Fukamachi
- License
BSD 2-Clause
- Source
lsx.asd (file)
- Component
file-type.lisp (file)
3 Files
Files are sorted by type and then listed depth-first from the systems
components trees.
3.1 Lisp
3.1.1 lsx.asd
- Location
lsx.asd
- Systems
-
3.1.2 lsx/main/file-type.lisp
- Parent
lsx/main (system)
- Location
main.lisp
- Packages
lsx
3.1.3 lsx/file/file-type.lisp
- Parent
lsx/file (system)
- Location
file.lisp
- Packages
lsx/file
- Exported Definitions
-
3.1.4 lsx/reader/file-type.lisp
- Parent
lsx/reader (system)
- Location
reader.lisp
- Packages
lsx/reader
- Exported Definitions
-
- Internal Definitions
-
3.1.5 lsx/tag/file-type.lisp
- Parent
lsx/tag (system)
- Location
tag.lisp
- Packages
lsx/tag
- Exported Definitions
-
- Internal Definitions
-
3.1.6 lsx/template/file-type.lisp
- Parent
lsx/template (system)
- Location
template.lisp
- Packages
lsx/template
- Exported Definitions
-
- Internal Definitions
-
3.1.7 lsx/html/file-type.lisp
- Parent
lsx/html (system)
- Location
html.lisp
- Packages
lsx/html
- Exported Definitions
-
- Internal Definitions
-
4 Packages
Packages are listed by definition order.
4.1 lsx
- Source
file-type.lisp (file)
- Nickname
lsx/main
- Use List
-
4.2 lsx/file
- Source
file-type.lisp (file)
- Use List
common-lisp
- Used By List
lsx
- Exported Definitions
-
4.3 lsx/reader
- Source
file-type.lisp (file)
- Use List
common-lisp
- Used By List
lsx
- Exported Definitions
-
- Internal Definitions
-
4.4 lsx/tag
- Source
file-type.lisp (file)
- Use List
common-lisp
- Used By List
lsx
- Exported Definitions
-
- Internal Definitions
-
4.5 lsx/template
- Source
file-type.lisp (file)
- Use List
common-lisp
- Used By List
lsx
- Exported Definitions
-
- Internal Definitions
-
4.6 lsx/html
- Source
file-type.lisp (file)
- Use List
common-lisp
- Used By List
lsx
- Exported Definitions
-
- Internal Definitions
-
5 Definitions
Definitions are sorted by export status, category, package, and then by
lexicographic order.
5.1 Exported definitions
5.1.1 Special variables
- Special Variable: *auto-escape*
-
- Package
lsx/html
- Source
file-type.lisp (file)
5.1.2 Macros
- Macro: deftag NAME LAMBDA-LIST &body BODY
-
- Package
lsx/tag
- Source
file-type.lisp (file)
- Macro: deftemplate NAME SUPERCLASSES SLOT-DEFINITIONS &rest CLASS-OPTIONS
-
- Package
lsx/template
- Source
file-type.lisp (file)
- Macro: disable-lsx-syntax ()
-
- Package
lsx/reader
- Source
file-type.lisp (file)
- Macro: enable-lsx-syntax ()
-
- Package
lsx/reader
- Source
file-type.lisp (file)
- Macro: with-lsx-syntax &body BODY
-
- Package
lsx/file
- Source
file-type.lisp (file)
5.1.3 Functions
- Function: attribute-name INSTANCE
-
- Function: (setf attribute-name) VALUE INSTANCE
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: attribute-value INSTANCE
-
- Function: (setf attribute-value) VALUE INSTANCE
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: element-attributes INSTANCE
-
- Function: (setf element-attributes) VALUE INSTANCE
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: element-children INSTANCE
-
- Function: (setf element-children) VALUE INSTANCE
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: element-name INSTANCE
-
- Function: (setf element-name) VALUE INSTANCE
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: element-self-closing INSTANCE
-
- Function: (setf element-self-closing) VALUE INSTANCE
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: h TAG-NAME &optional ATTRIBUTES CHILDREN
-
- Package
lsx/tag
- Source
file-type.lisp (file)
- Function: h* TAG-NAME &optional ATTRIBUTES CHILDREN
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: html-mode ()
-
- Function: (setf html-mode) NEW-VALUE
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: make-danger-element &key (ELEMENT ELEMENT)
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: make-element &key (NAME NAME) (ATTRIBUTES ATTRIBUTES) (CHILDREN CHILDREN) (SELF-CLOSING SELF-CLOSING) (VOID-TAG VOID-TAG)
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: prologue ()
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: read-lsx-file FILE
-
- Package
lsx/file
- Source
file-type.lisp (file)
- Function: read-lsx-string STRING
-
- Package
lsx/file
- Source
file-type.lisp (file)
- Function: void-tag-p NAME
-
- Package
lsx/html
- Source
file-type.lisp (file)
5.1.4 Generic functions
- Generic Function: render TEMPLATE &rest ARGS
-
- Package
lsx/template
- Source
file-type.lisp (file)
- Methods
- Method: render (TEMPLATE template-class) &rest ARGS
-
- Method: render (TEMPLATE symbol) &rest ARGS
-
- Generic Function: render-object OBJECT STREAM
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Methods
- Method: render-object (OBJECT template) STREAM
-
- Source
file-type.lisp (file)
- Method: render-object (OBJECT function) STREAM
-
- Method: render-object (OBJECT (eql t)) STREAM
-
- Method: render-object (OBJECT cons) STREAM
-
- Method: render-object (OBJECT null) STREAM
-
- Method: render-object (OBJECT number) STREAM
-
- Method: render-object (OBJECT string) STREAM
-
- Method: render-object (OBJECT declaration-element) STREAM
-
- Method: render-object (OBJECT danger-element) STREAM
-
- Method: render-object (OBJECT element-list) STREAM
-
- Method: render-object (ATTRIBUTE attribute) STREAM
-
- Method: render-object (ELEMENT element) STREAM
-
- Method: render-object OBJECT STREAM
-
- Method: render-object OBJECT (STREAM (eql t)) around
-
- Method: render-object OBJECT (STREAM (eql nil)) around
-
5.1.5 Structures
- Structure: attribute ()
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Direct superclasses
structure-object (structure)
- Direct methods
render-object (method)
- Direct slots
- Slot: name
-
- Type
string
- Readers
attribute-name (function)
- Writers
(setf attribute-name) (function)
- Slot: value
-
- Readers
attribute-value (function)
- Writers
(setf attribute-value) (function)
- Structure: danger-element ()
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Direct superclasses
structure-object (structure)
- Direct methods
-
- Direct slots
- Slot: element
-
- Readers
danger-element-element (function)
- Writers
(setf danger-element-element) (function)
- Structure: declaration-element ()
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Direct superclasses
element (structure)
- Direct methods
render-object (method)
- Direct slots
- Slot: name
-
- Type
string
- Readers
declaration-element-name (function)
- Writers
(setf declaration-element-name) (function)
- Slot: content
-
- Type
string
- Readers
declaration-element-content (function)
- Writers
(setf declaration-element-content) (function)
- Structure: element ()
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Direct superclasses
structure-object (structure)
- Direct subclasses
declaration-element (structure)
- Direct methods
-
- Direct slots
- Slot: name
-
- Type
string
- Readers
element-name (function)
- Writers
(setf element-name) (function)
- Slot: attributes
-
- Type
list
- Readers
element-attributes (function)
- Writers
(setf element-attributes) (function)
- Slot: children
-
- Type
list
- Readers
element-children (function)
- Writers
(setf element-children) (function)
- Slot: self-closing
-
- Type
boolean
- Readers
element-self-closing (function)
- Writers
(setf element-self-closing) (function)
- Slot: void-tag
-
- Type
boolean
- Readers
element-void-tag (function)
- Writers
(setf element-void-tag) (function)
- Structure: element-list ()
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Direct superclasses
structure-object (structure)
- Direct methods
-
- Direct slots
- Slot: elements
-
- Type
list
- Readers
element-list-elements (function)
- Writers
(setf element-list-elements) (function)
5.1.6 Classes
- Class: template ()
-
- Package
lsx/template
- Source
file-type.lisp (file)
- Direct superclasses
standard-object (class)
- Direct methods
render-object (method)
- Class: template-class ()
-
- Package
lsx/template
- Source
file-type.lisp (file)
- Direct superclasses
standard-class (class)
- Direct methods
- render (method)
- reinitialize-instance (method)
- initialize-instance (method)
- validate-superclass (method)
- direct-slot-definition-class (method)
- Direct slots
- Slot: render
-
- Initargs
:render
5.2 Internal definitions
5.2.1 Special variables
- Special Variable: *default-readtable*
-
- Package
lsx/reader
- Source
file-type.lisp (file)
- Special Variable: *escape-map*
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Special Variable: *html-mode*
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Special Variable: *previous-readtables*
-
- Package
lsx/reader
- Source
file-type.lisp (file)
- Special Variable: *reading-tag*
-
- Package
lsx/reader
- Source
file-type.lisp (file)
- Special Variable: *reading-tag-children*
-
- Package
lsx/reader
- Source
file-type.lisp (file)
- Special Variable: *user-tags*
-
- Package
lsx/tag
- Source
file-type.lisp (file)
- Special Variable: *void-tag-map*
-
- Package
lsx/html
- Source
file-type.lisp (file)
5.2.2 Macros
- Macro: define-initialize-instance METHOD-QUALIFIER LAMBDA-LIST &body BODY
-
- Package
lsx/template
- Source
file-type.lisp (file)
5.2.3 Functions
- Function: %disable-lsx-syntax ()
-
- Package
lsx/reader
- Source
file-type.lisp (file)
- Function: %enable-lsx-syntax ()
-
- Package
lsx/reader
- Source
file-type.lisp (file)
- Function: attribute-p OBJECT
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: copy-attribute INSTANCE
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: copy-danger-element INSTANCE
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: copy-declaration-element INSTANCE
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: copy-element INSTANCE
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: copy-element-list INSTANCE
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: danger-element-element INSTANCE
-
- Function: (setf danger-element-element) VALUE INSTANCE
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: danger-element-p OBJECT
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: declaration-element-attributes INSTANCE
-
- Function: (setf declaration-element-attributes) VALUE INSTANCE
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: declaration-element-children INSTANCE
-
- Function: (setf declaration-element-children) VALUE INSTANCE
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: declaration-element-content INSTANCE
-
- Function: (setf declaration-element-content) VALUE INSTANCE
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: declaration-element-name INSTANCE
-
- Function: (setf declaration-element-name) VALUE INSTANCE
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: declaration-element-p OBJECT
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: declaration-element-self-closing INSTANCE
-
- Function: (setf declaration-element-self-closing) VALUE INSTANCE
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: declaration-element-void-tag INSTANCE
-
- Function: (setf declaration-element-void-tag) VALUE INSTANCE
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: do-nothing STREAM CHAR
-
- Package
lsx/reader
- Source
file-type.lisp (file)
- Function: element-list-elements INSTANCE
-
- Function: (setf element-list-elements) VALUE INSTANCE
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: element-list-p OBJECT
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: element-p OBJECT
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: element-void-tag INSTANCE
-
- Function: (setf element-void-tag) VALUE INSTANCE
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: html-attributes-to-plist ATTRIBUTES
-
- Package
lsx/tag
- Source
file-type.lisp (file)
- Function: inline-lisp-reader STREAM CHAR
-
- Package
lsx/reader
- Source
file-type.lisp (file)
- Function: make-attribute &key (NAME NAME) (VALUE VALUE)
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: make-declaration-element &key (NAME NAME) (ATTRIBUTES ATTRIBUTES) (CHILDREN CHILDREN) (SELF-CLOSING SELF-CLOSING) (VOID-TAG VOID-TAG) (CONTENT CONTENT)
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: make-element-list &key (ELEMENTS ELEMENTS)
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: print-escaped-text VALUE STREAM
-
- Package
lsx/html
- Source
file-type.lisp (file)
- Function: read-as-string STREAM WHILE
-
- Package
lsx/reader
- Source
file-type.lisp (file)
- Function: read-attribute STREAM
-
- Package
lsx/reader
- Source
file-type.lisp (file)
- Function: read-attribute-key STREAM
-
- Package
lsx/reader
- Source
file-type.lisp (file)
- Function: read-attribute-value STREAM
-
- Package
lsx/reader
- Source
file-type.lisp (file)
- Function: read-element-name STREAM
-
- Package
lsx/reader
- Source
file-type.lisp (file)
- Function: read-html-tag STREAM CHAR
-
- Package
lsx/reader
- Source
file-type.lisp (file)
- Function: read-html-tag-children STREAM NAME ATTRS
-
- Package
lsx/reader
- Source
file-type.lisp (file)
- Function: read-html-tag-inner STREAM
-
- Package
lsx/reader
- Source
file-type.lisp (file)
- Function: skip-while STREAM WHILE
-
- Package
lsx/reader
- Source
file-type.lisp (file)
- Function: space-char-p CHAR
-
- Package
lsx/reader
- Source
file-type.lisp (file)
5.2.4 Classes
- Class: template-slot-class ()
-
- Package
lsx/template
- Source
file-type.lisp (file)
- Direct superclasses
standard-direct-slot-definition (class)
- Direct methods
- reinitialize-instance (method)
- initialize-instance (method)
Appendix A Indexes
A.1 Concepts
| Index Entry | | Section |
|
F | | |
| File, Lisp, lsx.asd: | | The lsx․asd file |
| File, Lisp, lsx/file/file-type.lisp: | | The lsx/file/file-type․lisp file |
| File, Lisp, lsx/html/file-type.lisp: | | The lsx/html/file-type․lisp file |
| File, Lisp, lsx/main/file-type.lisp: | | The lsx/main/file-type․lisp file |
| File, Lisp, lsx/reader/file-type.lisp: | | The lsx/reader/file-type․lisp file |
| File, Lisp, lsx/tag/file-type.lisp: | | The lsx/tag/file-type․lisp file |
| File, Lisp, lsx/template/file-type.lisp: | | The lsx/template/file-type․lisp file |
|
L | | |
| Lisp File, lsx.asd: | | The lsx․asd file |
| Lisp File, lsx/file/file-type.lisp: | | The lsx/file/file-type․lisp file |
| Lisp File, lsx/html/file-type.lisp: | | The lsx/html/file-type․lisp file |
| Lisp File, lsx/main/file-type.lisp: | | The lsx/main/file-type․lisp file |
| Lisp File, lsx/reader/file-type.lisp: | | The lsx/reader/file-type․lisp file |
| Lisp File, lsx/tag/file-type.lisp: | | The lsx/tag/file-type․lisp file |
| Lisp File, lsx/template/file-type.lisp: | | The lsx/template/file-type․lisp file |
| lsx.asd: | | The lsx․asd file |
| lsx/file/file-type.lisp: | | The lsx/file/file-type․lisp file |
| lsx/html/file-type.lisp: | | The lsx/html/file-type․lisp file |
| lsx/main/file-type.lisp: | | The lsx/main/file-type․lisp file |
| lsx/reader/file-type.lisp: | | The lsx/reader/file-type․lisp file |
| lsx/tag/file-type.lisp: | | The lsx/tag/file-type․lisp file |
| lsx/template/file-type.lisp: | | The lsx/template/file-type․lisp file |
|
A.2 Functions
| Index Entry | | Section |
|
% | | |
| %disable-lsx-syntax : | | Internal functions |
| %enable-lsx-syntax : | | Internal functions |
|
( | | |
| (setf attribute-name) : | | Exported functions |
| (setf attribute-value) : | | Exported functions |
| (setf danger-element-element) : | | Internal functions |
| (setf declaration-element-attributes) : | | Internal functions |
| (setf declaration-element-children) : | | Internal functions |
| (setf declaration-element-content) : | | Internal functions |
| (setf declaration-element-name) : | | Internal functions |
| (setf declaration-element-self-closing) : | | Internal functions |
| (setf declaration-element-void-tag) : | | Internal functions |
| (setf element-attributes) : | | Exported functions |
| (setf element-children) : | | Exported functions |
| (setf element-list-elements) : | | Internal functions |
| (setf element-name) : | | Exported functions |
| (setf element-self-closing) : | | Exported functions |
| (setf element-void-tag) : | | Internal functions |
| (setf html-mode) : | | Exported functions |
|
A | | |
| attribute-name : | | Exported functions |
| attribute-p : | | Internal functions |
| attribute-value : | | Exported functions |
|
C | | |
| copy-attribute : | | Internal functions |
| copy-danger-element : | | Internal functions |
| copy-declaration-element : | | Internal functions |
| copy-element : | | Internal functions |
| copy-element-list : | | Internal functions |
|
D | | |
| danger-element-element : | | Internal functions |
| danger-element-p : | | Internal functions |
| declaration-element-attributes : | | Internal functions |
| declaration-element-children : | | Internal functions |
| declaration-element-content : | | Internal functions |
| declaration-element-name : | | Internal functions |
| declaration-element-p : | | Internal functions |
| declaration-element-self-closing : | | Internal functions |
| declaration-element-void-tag : | | Internal functions |
| define-initialize-instance : | | Internal macros |
| deftag : | | Exported macros |
| deftemplate : | | Exported macros |
| disable-lsx-syntax : | | Exported macros |
| do-nothing : | | Internal functions |
|
E | | |
| element-attributes : | | Exported functions |
| element-children : | | Exported functions |
| element-list-elements : | | Internal functions |
| element-list-p : | | Internal functions |
| element-name : | | Exported functions |
| element-p : | | Internal functions |
| element-self-closing : | | Exported functions |
| element-void-tag : | | Internal functions |
| enable-lsx-syntax : | | Exported macros |
|
F | | |
| Function, %disable-lsx-syntax : | | Internal functions |
| Function, %enable-lsx-syntax : | | Internal functions |
| Function, (setf attribute-name) : | | Exported functions |
| Function, (setf attribute-value) : | | Exported functions |
| Function, (setf danger-element-element) : | | Internal functions |
| Function, (setf declaration-element-attributes) : | | Internal functions |
| Function, (setf declaration-element-children) : | | Internal functions |
| Function, (setf declaration-element-content) : | | Internal functions |
| Function, (setf declaration-element-name) : | | Internal functions |
| Function, (setf declaration-element-self-closing) : | | Internal functions |
| Function, (setf declaration-element-void-tag) : | | Internal functions |
| Function, (setf element-attributes) : | | Exported functions |
| Function, (setf element-children) : | | Exported functions |
| Function, (setf element-list-elements) : | | Internal functions |
| Function, (setf element-name) : | | Exported functions |
| Function, (setf element-self-closing) : | | Exported functions |
| Function, (setf element-void-tag) : | | Internal functions |
| Function, (setf html-mode) : | | Exported functions |
| Function, attribute-name : | | Exported functions |
| Function, attribute-p : | | Internal functions |
| Function, attribute-value : | | Exported functions |
| Function, copy-attribute : | | Internal functions |
| Function, copy-danger-element : | | Internal functions |
| Function, copy-declaration-element : | | Internal functions |
| Function, copy-element : | | Internal functions |
| Function, copy-element-list : | | Internal functions |
| Function, danger-element-element : | | Internal functions |
| Function, danger-element-p : | | Internal functions |
| Function, declaration-element-attributes : | | Internal functions |
| Function, declaration-element-children : | | Internal functions |
| Function, declaration-element-content : | | Internal functions |
| Function, declaration-element-name : | | Internal functions |
| Function, declaration-element-p : | | Internal functions |
| Function, declaration-element-self-closing : | | Internal functions |
| Function, declaration-element-void-tag : | | Internal functions |
| Function, do-nothing : | | Internal functions |
| Function, element-attributes : | | Exported functions |
| Function, element-children : | | Exported functions |
| Function, element-list-elements : | | Internal functions |
| Function, element-list-p : | | Internal functions |
| Function, element-name : | | Exported functions |
| Function, element-p : | | Internal functions |
| Function, element-self-closing : | | Exported functions |
| Function, element-void-tag : | | Internal functions |
| Function, h : | | Exported functions |
| Function, h* : | | Exported functions |
| Function, html-attributes-to-plist : | | Internal functions |
| Function, html-mode : | | Exported functions |
| Function, inline-lisp-reader : | | Internal functions |
| Function, make-attribute : | | Internal functions |
| Function, make-danger-element : | | Exported functions |
| Function, make-declaration-element : | | Internal functions |
| Function, make-element : | | Exported functions |
| Function, make-element-list : | | Internal functions |
| Function, print-escaped-text : | | Internal functions |
| Function, prologue : | | Exported functions |
| Function, read-as-string : | | Internal functions |
| Function, read-attribute : | | Internal functions |
| Function, read-attribute-key : | | Internal functions |
| Function, read-attribute-value : | | Internal functions |
| Function, read-element-name : | | Internal functions |
| Function, read-html-tag : | | Internal functions |
| Function, read-html-tag-children : | | Internal functions |
| Function, read-html-tag-inner : | | Internal functions |
| Function, read-lsx-file : | | Exported functions |
| Function, read-lsx-string : | | Exported functions |
| Function, skip-while : | | Internal functions |
| Function, space-char-p : | | Internal functions |
| Function, void-tag-p : | | Exported functions |
|
G | | |
| Generic Function, render : | | Exported generic functions |
| Generic Function, render-object : | | Exported generic functions |
|
H | | |
| h : | | Exported functions |
| h* : | | Exported functions |
| html-attributes-to-plist : | | Internal functions |
| html-mode : | | Exported functions |
|
I | | |
| inline-lisp-reader : | | Internal functions |
|
M | | |
| Macro, define-initialize-instance : | | Internal macros |
| Macro, deftag : | | Exported macros |
| Macro, deftemplate : | | Exported macros |
| Macro, disable-lsx-syntax : | | Exported macros |
| Macro, enable-lsx-syntax : | | Exported macros |
| Macro, with-lsx-syntax : | | Exported macros |
| make-attribute : | | Internal functions |
| make-danger-element : | | Exported functions |
| make-declaration-element : | | Internal functions |
| make-element : | | Exported functions |
| make-element-list : | | Internal functions |
| Method, render : | | Exported generic functions |
| Method, render : | | Exported generic functions |
| Method, render-object : | | Exported generic functions |
| Method, render-object : | | Exported generic functions |
| Method, render-object : | | Exported generic functions |
| Method, render-object : | | Exported generic functions |
| Method, render-object : | | Exported generic functions |
| Method, render-object : | | Exported generic functions |
| Method, render-object : | | Exported generic functions |
| Method, render-object : | | Exported generic functions |
| Method, render-object : | | Exported generic functions |
| Method, render-object : | | Exported generic functions |
| Method, render-object : | | Exported generic functions |
| Method, render-object : | | Exported generic functions |
| Method, render-object : | | Exported generic functions |
| Method, render-object : | | Exported generic functions |
| Method, render-object : | | Exported generic functions |
|
P | | |
| print-escaped-text : | | Internal functions |
| prologue : | | Exported functions |
|
R | | |
| read-as-string : | | Internal functions |
| read-attribute : | | Internal functions |
| read-attribute-key : | | Internal functions |
| read-attribute-value : | | Internal functions |
| read-element-name : | | Internal functions |
| read-html-tag : | | Internal functions |
| read-html-tag-children : | | Internal functions |
| read-html-tag-inner : | | Internal functions |
| read-lsx-file : | | Exported functions |
| read-lsx-string : | | Exported functions |
| render : | | Exported generic functions |
| render : | | Exported generic functions |
| render : | | Exported generic functions |
| render-object : | | Exported generic functions |
| render-object : | | Exported generic functions |
| render-object : | | Exported generic functions |
| render-object : | | Exported generic functions |
| render-object : | | Exported generic functions |
| render-object : | | Exported generic functions |
| render-object : | | Exported generic functions |
| render-object : | | Exported generic functions |
| render-object : | | Exported generic functions |
| render-object : | | Exported generic functions |
| render-object : | | Exported generic functions |
| render-object : | | Exported generic functions |
| render-object : | | Exported generic functions |
| render-object : | | Exported generic functions |
| render-object : | | Exported generic functions |
| render-object : | | Exported generic functions |
|
S | | |
| skip-while : | | Internal functions |
| space-char-p : | | Internal functions |
|
V | | |
| void-tag-p : | | Exported functions |
|
W | | |
| with-lsx-syntax : | | Exported macros |
|
A.3 Variables
| Index Entry | | Section |
|
* | | |
| *auto-escape* : | | Exported special variables |
| *default-readtable* : | | Internal special variables |
| *escape-map* : | | Internal special variables |
| *html-mode* : | | Internal special variables |
| *previous-readtables* : | | Internal special variables |
| *reading-tag* : | | Internal special variables |
| *reading-tag-children* : | | Internal special variables |
| *user-tags* : | | Internal special variables |
| *void-tag-map* : | | Internal special variables |
|
A | | |
| attributes : | | Exported structures |
|
C | | |
| children : | | Exported structures |
| content : | | Exported structures |
|
E | | |
| element : | | Exported structures |
| elements : | | Exported structures |
|
N | | |
| name : | | Exported structures |
| name : | | Exported structures |
| name : | | Exported structures |
|
R | | |
| render : | | Exported classes |
|
S | | |
| self-closing : | | Exported structures |
| Slot, attributes : | | Exported structures |
| Slot, children : | | Exported structures |
| Slot, content : | | Exported structures |
| Slot, element : | | Exported structures |
| Slot, elements : | | Exported structures |
| Slot, name : | | Exported structures |
| Slot, name : | | Exported structures |
| Slot, name : | | Exported structures |
| Slot, render : | | Exported classes |
| Slot, self-closing : | | Exported structures |
| Slot, value : | | Exported structures |
| Slot, void-tag : | | Exported structures |
| Special Variable, *auto-escape* : | | Exported special variables |
| Special Variable, *default-readtable* : | | Internal special variables |
| Special Variable, *escape-map* : | | Internal special variables |
| Special Variable, *html-mode* : | | Internal special variables |
| Special Variable, *previous-readtables* : | | Internal special variables |
| Special Variable, *reading-tag* : | | Internal special variables |
| Special Variable, *reading-tag-children* : | | Internal special variables |
| Special Variable, *user-tags* : | | Internal special variables |
| Special Variable, *void-tag-map* : | | Internal special variables |
|
V | | |
| value : | | Exported structures |
| void-tag : | | Exported structures |
|
A.4 Data types
| Index Entry | | Section |
|
A | | |
| attribute : | | Exported structures |
|
C | | |
| Class, template : | | Exported classes |
| Class, template-class : | | Exported classes |
| Class, template-slot-class : | | Internal classes |
|
D | | |
| danger-element : | | Exported structures |
| declaration-element : | | Exported structures |
|
E | | |
| element : | | Exported structures |
| element-list : | | Exported structures |
|
L | | |
| lsx : | | The lsx system |
| lsx : | | The lsx package |
| lsx/file : | | The lsx/file system |
| lsx/file : | | The lsx/file package |
| lsx/html : | | The lsx/html system |
| lsx/html : | | The lsx/html package |
| lsx/main : | | The lsx/main system |
| lsx/reader : | | The lsx/reader system |
| lsx/reader : | | The lsx/reader package |
| lsx/tag : | | The lsx/tag system |
| lsx/tag : | | The lsx/tag package |
| lsx/template : | | The lsx/template system |
| lsx/template : | | The lsx/template package |
|
P | | |
| Package, lsx : | | The lsx package |
| Package, lsx/file : | | The lsx/file package |
| Package, lsx/html : | | The lsx/html package |
| Package, lsx/reader : | | The lsx/reader package |
| Package, lsx/tag : | | The lsx/tag package |
| Package, lsx/template : | | The lsx/template package |
|
S | | |
| Structure, attribute : | | Exported structures |
| Structure, danger-element : | | Exported structures |
| Structure, declaration-element : | | Exported structures |
| Structure, element : | | Exported structures |
| Structure, element-list : | | Exported structures |
| System, lsx : | | The lsx system |
| System, lsx/file : | | The lsx/file system |
| System, lsx/html : | | The lsx/html system |
| System, lsx/main : | | The lsx/main system |
| System, lsx/reader : | | The lsx/reader system |
| System, lsx/tag : | | The lsx/tag system |
| System, lsx/template : | | The lsx/template system |
|
T | | |
| template : | | Exported classes |
| template-class : | | Exported classes |
| template-slot-class : | | Internal classes |
|