The lsx Reference Manual

Next: , Previous: , Up: (dir)   [Contents][Index]

The lsx Reference Manual

This is the lsx Reference Manual, version 0.1.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Thu Sep 15 05:31:11 2022 GMT+0.

Table of Contents


1 Introduction

LSX

Quicklisp dist Build Status Coverage Status

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

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.


Next: , Previous: , Up: Systems   [Contents][Index]

2.1 lsx

Embeddable HTML templating engine with JSX-like syntax

Author

Eitaro Fukamachi

License

BSD 2-Clause

Version

0.1.0

Dependency

lsx/main (system).

Source

lsx.asd.


Next: , Previous: , Up: Systems   [Contents][Index]

2.2 lsx/main

Author

Eitaro Fukamachi

License

BSD 2-Clause

Dependencies
Source

lsx.asd.


Next: , Previous: , Up: Systems   [Contents][Index]

2.3 lsx/reader

Author

Eitaro Fukamachi

License

BSD 2-Clause

Dependencies
Source

lsx.asd.


Next: , Previous: , Up: Systems   [Contents][Index]

2.4 lsx/tag

Author

Eitaro Fukamachi

License

BSD 2-Clause

Dependency

lsx/html (system).

Source

lsx.asd.


Next: , Previous: , Up: Systems   [Contents][Index]

2.5 lsx/html

Author

Eitaro Fukamachi

License

BSD 2-Clause

Source

lsx.asd.


Next: , Previous: , Up: Systems   [Contents][Index]

2.6 lsx/file

Author

Eitaro Fukamachi

License

BSD 2-Clause

Dependency

lsx/reader (system).

Source

lsx.asd.


Previous: , Up: Systems   [Contents][Index]

2.7 lsx/template

Author

Eitaro Fukamachi

License

BSD 2-Clause

Dependencies
  • lsx/html (system).
  • closer-mop (system).
Source

lsx.asd.


3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp   [Contents][Index]

3.1.1 lsx/lsx.asd

Source

lsx.asd.

Parent Component

lsx (system).

ASDF Systems

3.1.2 lsx/main/file-type.lisp

Source

lsx.asd.

Parent Component

lsx/main (system).

Packages

lsx.


3.1.3 lsx/reader/file-type.lisp

Source

lsx.asd.

Parent Component

lsx/reader (system).

Packages

lsx/reader.

Public Interface
Internals

3.1.4 lsx/tag/file-type.lisp

Source

lsx.asd.

Parent Component

lsx/tag (system).

Packages

lsx/tag.

Public Interface
Internals

3.1.5 lsx/html/file-type.lisp

Source

lsx.asd.

Parent Component

lsx/html (system).

Packages

lsx/html.

Public Interface
Internals

3.1.6 lsx/file/file-type.lisp

Source

lsx.asd.

Parent Component

lsx/file (system).

Packages

lsx/file.

Public Interface

3.1.7 lsx/template/file-type.lisp

Source

lsx.asd.

Parent Component

lsx/template (system).

Packages

lsx/template.

Public Interface
Internals

4 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

4.1 lsx

Source

file-type.lisp.

Nickname

lsx/main

Use List

Next: , Previous: , Up: Packages   [Contents][Index]

4.2 lsx/html

Source

file-type.lisp.

Use List

common-lisp.

Used By List

lsx.

Public Interface
Internals

Next: , Previous: , Up: Packages   [Contents][Index]

4.3 lsx/reader

Source

file-type.lisp.

Use List

common-lisp.

Used By List

lsx.

Public Interface
Internals

Next: , Previous: , Up: Packages   [Contents][Index]

4.4 lsx/template

Source

file-type.lisp.

Use List

common-lisp.

Used By List

lsx.

Public Interface
Internals

Next: , Previous: , Up: Packages   [Contents][Index]

4.5 lsx/file

Source

file-type.lisp.

Use List

common-lisp.

Used By List

lsx.

Public Interface

Previous: , Up: Packages   [Contents][Index]

4.6 lsx/tag

Source

file-type.lisp.

Use List

common-lisp.

Used By List

lsx.

Public Interface
Internals

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Public Interface


Next: , Previous: , Up: Public Interface   [Contents][Index]

5.1.1 Special variables

Special Variable: *auto-escape*
Package

lsx/html.

Source

file-type.lisp.


5.1.2 Macros

Macro: deftag (name lambda-list &body body)
Package

lsx/tag.

Source

file-type.lisp.

Macro: deftemplate (name superclasses slot-definitions &rest class-options)
Package

lsx/template.

Source

file-type.lisp.

Macro: disable-lsx-syntax ()
Package

lsx/reader.

Source

file-type.lisp.

Macro: enable-lsx-syntax ()
Package

lsx/reader.

Source

file-type.lisp.

Macro: with-lsx-syntax (&body body)
Package

lsx/file.

Source

file-type.lisp.


5.1.3 Ordinary functions

Reader: attribute-name (instance)
Writer: (setf attribute-name) (instance)
Package

lsx/html.

Source

file-type.lisp.

Target Slot

name.

Reader: attribute-value (instance)
Writer: (setf attribute-value) (instance)
Package

lsx/html.

Source

file-type.lisp.

Target Slot

value.

Reader: element-attributes (instance)
Writer: (setf element-attributes) (instance)
Package

lsx/html.

Source

file-type.lisp.

Target Slot

attributes.

Reader: element-children (instance)
Writer: (setf element-children) (instance)
Package

lsx/html.

Source

file-type.lisp.

Target Slot

children.

Reader: element-name (instance)
Writer: (setf element-name) (instance)
Package

lsx/html.

Source

file-type.lisp.

Target Slot

name.

Reader: element-self-closing (instance)
Writer: (setf element-self-closing) (instance)
Package

lsx/html.

Source

file-type.lisp.

Target Slot

self-closing.

Function: h (tag-name &optional attributes children)
Package

lsx/tag.

Source

file-type.lisp.

Function: h* (tag-name &optional attributes children)
Package

lsx/html.

Source

file-type.lisp.

Function: html-mode ()
Package

lsx/html.

Source

file-type.lisp.

Function: (setf html-mode) ()
Package

lsx/html.

Source

file-type.lisp.

Function: make-danger-element (&key element)
Package

lsx/html.

Source

file-type.lisp.

Function: make-element (&key name attributes children self-closing void-tag)
Package

lsx/html.

Source

file-type.lisp.

Function: prologue ()
Package

lsx/html.

Source

file-type.lisp.

Function: read-lsx-file (file)
Package

lsx/file.

Source

file-type.lisp.

Function: read-lsx-string (string)
Package

lsx/file.

Source

file-type.lisp.

Function: void-tag-p (name)
Package

lsx/html.

Source

file-type.lisp.


5.1.4 Generic functions

Generic Function: render (template &rest args)
Package

lsx/template.

Source

file-type.lisp.

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.

Methods
Method: render-object ((object template) stream)
Source

file-type.lisp.

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 :around (object (stream (eql t)))
Method: render-object :around (object (stream (eql nil)))

5.1.5 Standalone methods

Method: direct-slot-definition-class ((class template-class) &key &allow-other-keys)
Package

sb-mop.

Source

file-type.lisp.

Method: initialize-instance :after ((class template-class) &rest initargs &key direct-slots render &allow-other-keys)
Source

file-type.lisp.

Method: initialize-instance :around ((class template-slot-class) &rest args &key name &allow-other-keys)
Source

file-type.lisp.

Method: print-object ((object element-list) stream)
Source

file-type.lisp.

Method: print-object ((object danger-element) stream)
Source

file-type.lisp.

Method: print-object ((object element) stream)
Source

file-type.lisp.

Method: reinitialize-instance :after ((class template-class) &rest initargs &key direct-slots render &allow-other-keys)
Source

file-type.lisp.

Method: reinitialize-instance :around ((class template-slot-class) &rest args &key name &allow-other-keys)
Source

file-type.lisp.

Method: validate-superclass ((class template-class) (super standard-class))
Package

sb-mop.

Source

file-type.lisp.


5.1.6 Structures

Structure: attribute
Package

lsx/html.

Source

file-type.lisp.

Direct superclasses

structure-object.

Direct methods

render-object.

Direct slots
Slot: name
Type

string

Readers

attribute-name.

Writers

(setf attribute-name).

Slot: value
Readers

attribute-value.

Writers

(setf attribute-value).

Structure: danger-element
Package

lsx/html.

Source

file-type.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: element
Readers

danger-element-element.

Writers

(setf danger-element-element).

Structure: declaration-element
Package

lsx/html.

Source

file-type.lisp.

Direct superclasses

element.

Direct methods

render-object.

Direct slots
Slot: name
Type

string

Readers

declaration-element-name.

Writers

(setf declaration-element-name).

Slot: content
Type

string

Readers

declaration-element-content.

Writers

(setf declaration-element-content).

Structure: element
Package

lsx/html.

Source

file-type.lisp.

Direct superclasses

structure-object.

Direct subclasses

declaration-element.

Direct methods
Direct slots
Slot: name
Type

string

Readers

element-name.

Writers

(setf element-name).

Slot: attributes
Type

list

Readers

element-attributes.

Writers

(setf element-attributes).

Slot: children
Type

list

Readers

element-children.

Writers

(setf element-children).

Slot: self-closing
Type

boolean

Readers

element-self-closing.

Writers

(setf element-self-closing).

Slot: void-tag
Type

boolean

Readers

element-void-tag.

Writers

(setf element-void-tag).

Structure: element-list
Package

lsx/html.

Source

file-type.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: elements
Type

list

Readers

element-list-elements.

Writers

(setf element-list-elements).


Previous: , Up: Public Interface   [Contents][Index]

5.1.7 Classes

Class: template
Package

lsx/template.

Source

file-type.lisp.

Direct methods

render-object.

Class: template-class
Package

lsx/template.

Source

file-type.lisp.

Direct superclasses

standard-class.

Direct methods
Direct slots
Slot: render
Initargs

:render


5.2 Internals


Next: , Previous: , Up: Internals   [Contents][Index]

5.2.1 Special variables

Special Variable: *default-readtable*
Package

lsx/reader.

Source

file-type.lisp.

Special Variable: *escape-map*
Package

lsx/html.

Source

file-type.lisp.

Special Variable: *html-mode*
Package

lsx/html.

Source

file-type.lisp.

Special Variable: *previous-readtables*
Package

lsx/reader.

Source

file-type.lisp.

Special Variable: *reading-tag*
Package

lsx/reader.

Source

file-type.lisp.

Special Variable: *reading-tag-children*
Package

lsx/reader.

Source

file-type.lisp.

Special Variable: *user-tags*
Package

lsx/tag.

Source

file-type.lisp.

Special Variable: *void-tag-map*
Package

lsx/html.

Source

file-type.lisp.


5.2.2 Macros

Macro: define-initialize-instance (method-qualifier lambda-list &body body)
Package

lsx/template.

Source

file-type.lisp.


Next: , Previous: , Up: Internals   [Contents][Index]

5.2.3 Ordinary functions

Function: %disable-lsx-syntax ()
Package

lsx/reader.

Source

file-type.lisp.

Function: %enable-lsx-syntax ()
Package

lsx/reader.

Source

file-type.lisp.

Function: attribute-p (object)
Package

lsx/html.

Source

file-type.lisp.

Function: copy-attribute (instance)
Package

lsx/html.

Source

file-type.lisp.

Function: copy-danger-element (instance)
Package

lsx/html.

Source

file-type.lisp.

Function: copy-declaration-element (instance)
Package

lsx/html.

Source

file-type.lisp.

Function: copy-element (instance)
Package

lsx/html.

Source

file-type.lisp.

Function: copy-element-list (instance)
Package

lsx/html.

Source

file-type.lisp.

Reader: danger-element-element (instance)
Writer: (setf danger-element-element) (instance)
Package

lsx/html.

Source

file-type.lisp.

Target Slot

element.

Function: danger-element-p (object)
Package

lsx/html.

Source

file-type.lisp.

Function: declaration-element-attributes (instance)
Package

lsx/html.

Source

file-type.lisp.

Function: (setf declaration-element-attributes) (instance)
Package

lsx/html.

Source

file-type.lisp.

Function: declaration-element-children (instance)
Package

lsx/html.

Source

file-type.lisp.

Function: (setf declaration-element-children) (instance)
Package

lsx/html.

Source

file-type.lisp.

Reader: declaration-element-content (instance)
Writer: (setf declaration-element-content) (instance)
Package

lsx/html.

Source

file-type.lisp.

Target Slot

content.

Reader: declaration-element-name (instance)
Writer: (setf declaration-element-name) (instance)
Package

lsx/html.

Source

file-type.lisp.

Target Slot

name.

Function: declaration-element-p (object)
Package

lsx/html.

Source

file-type.lisp.

Function: declaration-element-self-closing (instance)
Package

lsx/html.

Source

file-type.lisp.

Function: (setf declaration-element-self-closing) (instance)
Package

lsx/html.

Source

file-type.lisp.

Function: declaration-element-void-tag (instance)
Package

lsx/html.

Source

file-type.lisp.

Function: (setf declaration-element-void-tag) (instance)
Package

lsx/html.

Source

file-type.lisp.

Function: do-nothing (stream char)
Package

lsx/reader.

Source

file-type.lisp.

Reader: element-list-elements (instance)
Writer: (setf element-list-elements) (instance)
Package

lsx/html.

Source

file-type.lisp.

Target Slot

elements.

Function: element-list-p (object)
Package

lsx/html.

Source

file-type.lisp.

Function: element-p (object)
Package

lsx/html.

Source

file-type.lisp.

Reader: element-void-tag (instance)
Writer: (setf element-void-tag) (instance)
Package

lsx/html.

Source

file-type.lisp.

Target Slot

void-tag.

Function: html-attributes-to-plist (attributes)
Package

lsx/tag.

Source

file-type.lisp.

Function: inline-lisp-reader (stream char)
Package

lsx/reader.

Source

file-type.lisp.

Function: make-attribute (&key name value)
Package

lsx/html.

Source

file-type.lisp.

Function: make-declaration-element (&key name attributes children self-closing void-tag content)
Package

lsx/html.

Source

file-type.lisp.

Function: make-element-list (&key elements)
Package

lsx/html.

Source

file-type.lisp.

Function: print-escaped-text (value stream)
Package

lsx/html.

Source

file-type.lisp.

Function: read-as-string (stream while)
Package

lsx/reader.

Source

file-type.lisp.

Function: read-attribute (stream)
Package

lsx/reader.

Source

file-type.lisp.

Function: read-attribute-key (stream)
Package

lsx/reader.

Source

file-type.lisp.

Function: read-attribute-value (stream)
Package

lsx/reader.

Source

file-type.lisp.

Function: read-element-name (stream)
Package

lsx/reader.

Source

file-type.lisp.

Function: read-html-tag (stream char)
Package

lsx/reader.

Source

file-type.lisp.

Function: read-html-tag-children (stream name attrs)
Package

lsx/reader.

Source

file-type.lisp.

Function: read-html-tag-inner (stream)
Package

lsx/reader.

Source

file-type.lisp.

Function: skip-while (stream while)
Package

lsx/reader.

Source

file-type.lisp.

Function: space-char-p (char)
Package

lsx/reader.

Source

file-type.lisp.


5.2.4 Classes

Class: template-slot-class
Package

lsx/template.

Source

file-type.lisp.

Direct superclasses

standard-direct-slot-definition.

Direct methods

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts


Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   %   (  
A   C   D   E   F   G   H   I   M   P   R   S   V   W  
Index Entry  Section

%
%disable-lsx-syntax: Private ordinary functions
%enable-lsx-syntax: Private ordinary functions

(
(setf attribute-name): Public ordinary functions
(setf attribute-value): Public ordinary functions
(setf danger-element-element): Private ordinary functions
(setf declaration-element-attributes): Private ordinary functions
(setf declaration-element-children): Private ordinary functions
(setf declaration-element-content): Private ordinary functions
(setf declaration-element-name): Private ordinary functions
(setf declaration-element-self-closing): Private ordinary functions
(setf declaration-element-void-tag): Private ordinary functions
(setf element-attributes): Public ordinary functions
(setf element-children): Public ordinary functions
(setf element-list-elements): Private ordinary functions
(setf element-name): Public ordinary functions
(setf element-self-closing): Public ordinary functions
(setf element-void-tag): Private ordinary functions
(setf html-mode): Public ordinary functions

A
attribute-name: Public ordinary functions
attribute-p: Private ordinary functions
attribute-value: Public ordinary functions

C
copy-attribute: Private ordinary functions
copy-danger-element: Private ordinary functions
copy-declaration-element: Private ordinary functions
copy-element: Private ordinary functions
copy-element-list: Private ordinary functions

D
danger-element-element: Private ordinary functions
danger-element-p: Private ordinary functions
declaration-element-attributes: Private ordinary functions
declaration-element-children: Private ordinary functions
declaration-element-content: Private ordinary functions
declaration-element-name: Private ordinary functions
declaration-element-p: Private ordinary functions
declaration-element-self-closing: Private ordinary functions
declaration-element-void-tag: Private ordinary functions
define-initialize-instance: Private macros
deftag: Public macros
deftemplate: Public macros
direct-slot-definition-class: Public standalone methods
disable-lsx-syntax: Public macros
do-nothing: Private ordinary functions

E
element-attributes: Public ordinary functions
element-children: Public ordinary functions
element-list-elements: Private ordinary functions
element-list-p: Private ordinary functions
element-name: Public ordinary functions
element-p: Private ordinary functions
element-self-closing: Public ordinary functions
element-void-tag: Private ordinary functions
enable-lsx-syntax: Public macros

F
Function, %disable-lsx-syntax: Private ordinary functions
Function, %enable-lsx-syntax: Private ordinary functions
Function, (setf attribute-name): Public ordinary functions
Function, (setf attribute-value): Public ordinary functions
Function, (setf danger-element-element): Private ordinary functions
Function, (setf declaration-element-attributes): Private ordinary functions
Function, (setf declaration-element-children): Private ordinary functions
Function, (setf declaration-element-content): Private ordinary functions
Function, (setf declaration-element-name): Private ordinary functions
Function, (setf declaration-element-self-closing): Private ordinary functions
Function, (setf declaration-element-void-tag): Private ordinary functions
Function, (setf element-attributes): Public ordinary functions
Function, (setf element-children): Public ordinary functions
Function, (setf element-list-elements): Private ordinary functions
Function, (setf element-name): Public ordinary functions
Function, (setf element-self-closing): Public ordinary functions
Function, (setf element-void-tag): Private ordinary functions
Function, (setf html-mode): Public ordinary functions
Function, attribute-name: Public ordinary functions
Function, attribute-p: Private ordinary functions
Function, attribute-value: Public ordinary functions
Function, copy-attribute: Private ordinary functions
Function, copy-danger-element: Private ordinary functions
Function, copy-declaration-element: Private ordinary functions
Function, copy-element: Private ordinary functions
Function, copy-element-list: Private ordinary functions
Function, danger-element-element: Private ordinary functions
Function, danger-element-p: Private ordinary functions
Function, declaration-element-attributes: Private ordinary functions
Function, declaration-element-children: Private ordinary functions
Function, declaration-element-content: Private ordinary functions
Function, declaration-element-name: Private ordinary functions
Function, declaration-element-p: Private ordinary functions
Function, declaration-element-self-closing: Private ordinary functions
Function, declaration-element-void-tag: Private ordinary functions
Function, do-nothing: Private ordinary functions
Function, element-attributes: Public ordinary functions
Function, element-children: Public ordinary functions
Function, element-list-elements: Private ordinary functions
Function, element-list-p: Private ordinary functions
Function, element-name: Public ordinary functions
Function, element-p: Private ordinary functions
Function, element-self-closing: Public ordinary functions
Function, element-void-tag: Private ordinary functions
Function, h: Public ordinary functions
Function, h*: Public ordinary functions
Function, html-attributes-to-plist: Private ordinary functions
Function, html-mode: Public ordinary functions
Function, inline-lisp-reader: Private ordinary functions
Function, make-attribute: Private ordinary functions
Function, make-danger-element: Public ordinary functions
Function, make-declaration-element: Private ordinary functions
Function, make-element: Public ordinary functions
Function, make-element-list: Private ordinary functions
Function, print-escaped-text: Private ordinary functions
Function, prologue: Public ordinary functions
Function, read-as-string: Private ordinary functions
Function, read-attribute: Private ordinary functions
Function, read-attribute-key: Private ordinary functions
Function, read-attribute-value: Private ordinary functions
Function, read-element-name: Private ordinary functions
Function, read-html-tag: Private ordinary functions
Function, read-html-tag-children: Private ordinary functions
Function, read-html-tag-inner: Private ordinary functions
Function, read-lsx-file: Public ordinary functions
Function, read-lsx-string: Public ordinary functions
Function, skip-while: Private ordinary functions
Function, space-char-p: Private ordinary functions
Function, void-tag-p: Public ordinary functions

G
Generic Function, render: Public generic functions
Generic Function, render-object: Public generic functions

H
h: Public ordinary functions
h*: Public ordinary functions
html-attributes-to-plist: Private ordinary functions
html-mode: Public ordinary functions

I
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
inline-lisp-reader: Private ordinary functions

M
Macro, define-initialize-instance: Private macros
Macro, deftag: Public macros
Macro, deftemplate: Public macros
Macro, disable-lsx-syntax: Public macros
Macro, enable-lsx-syntax: Public macros
Macro, with-lsx-syntax: Public macros
make-attribute: Private ordinary functions
make-danger-element: Public ordinary functions
make-declaration-element: Private ordinary functions
make-element: Public ordinary functions
make-element-list: Private ordinary functions
Method, direct-slot-definition-class: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, reinitialize-instance: Public standalone methods
Method, reinitialize-instance: Public standalone methods
Method, render: Public generic functions
Method, render: Public generic functions
Method, render-object: Public generic functions
Method, render-object: Public generic functions
Method, render-object: Public generic functions
Method, render-object: Public generic functions
Method, render-object: Public generic functions
Method, render-object: Public generic functions
Method, render-object: Public generic functions
Method, render-object: Public generic functions
Method, render-object: Public generic functions
Method, render-object: Public generic functions
Method, render-object: Public generic functions
Method, render-object: Public generic functions
Method, render-object: Public generic functions
Method, render-object: Public generic functions
Method, render-object: Public generic functions
Method, validate-superclass: Public standalone methods

P
print-escaped-text: Private ordinary functions
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
prologue: Public ordinary functions

R
read-as-string: Private ordinary functions
read-attribute: Private ordinary functions
read-attribute-key: Private ordinary functions
read-attribute-value: Private ordinary functions
read-element-name: Private ordinary functions
read-html-tag: Private ordinary functions
read-html-tag-children: Private ordinary functions
read-html-tag-inner: Private ordinary functions
read-lsx-file: Public ordinary functions
read-lsx-string: Public ordinary functions
reinitialize-instance: Public standalone methods
reinitialize-instance: Public standalone methods
render: Public generic functions
render: Public generic functions
render: Public generic functions
render-object: Public generic functions
render-object: Public generic functions
render-object: Public generic functions
render-object: Public generic functions
render-object: Public generic functions
render-object: Public generic functions
render-object: Public generic functions
render-object: Public generic functions
render-object: Public generic functions
render-object: Public generic functions
render-object: Public generic functions
render-object: Public generic functions
render-object: Public generic functions
render-object: Public generic functions
render-object: Public generic functions
render-object: Public generic functions

S
skip-while: Private ordinary functions
space-char-p: Private ordinary functions

V
validate-superclass: Public standalone methods
void-tag-p: Public ordinary functions

W
with-lsx-syntax: Public macros

Jump to:   %   (  
A   C   D   E   F   G   H   I   M   P   R   S   V   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *  
A   C   E   N   R   S   V  
Index Entry  Section

*
*auto-escape*: Public special variables
*default-readtable*: Private special variables
*escape-map*: Private special variables
*html-mode*: Private special variables
*previous-readtables*: Private special variables
*reading-tag*: Private special variables
*reading-tag-children*: Private special variables
*user-tags*: Private special variables
*void-tag-map*: Private special variables

A
attributes: Public structures

C
children: Public structures
content: Public structures

E
element: Public structures
elements: Public structures

N
name: Public structures
name: Public structures
name: Public structures

R
render: Public classes

S
self-closing: Public structures
Slot, attributes: Public structures
Slot, children: Public structures
Slot, content: Public structures
Slot, element: Public structures
Slot, elements: Public structures
Slot, name: Public structures
Slot, name: Public structures
Slot, name: Public structures
Slot, render: Public classes
Slot, self-closing: Public structures
Slot, value: Public structures
Slot, void-tag: Public structures
Special Variable, *auto-escape*: Public special variables
Special Variable, *default-readtable*: Private special variables
Special Variable, *escape-map*: Private special variables
Special Variable, *html-mode*: Private special variables
Special Variable, *previous-readtables*: Private special variables
Special Variable, *reading-tag*: Private special variables
Special Variable, *reading-tag-children*: Private special variables
Special Variable, *user-tags*: Private special variables
Special Variable, *void-tag-map*: Private special variables

V
value: Public structures
void-tag: Public structures

Jump to:   *  
A   C   E   N   R   S   V  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   A   C   D   E   F   L   P   S   T  
Index Entry  Section

A
attribute: Public structures

C
Class, template: Public classes
Class, template-class: Public classes
Class, template-slot-class: Private classes

D
danger-element: Public structures
declaration-element: Public structures

E
element: Public structures
element-list: Public structures

F
File, file-type.lisp: The lsx/main/file-type․lisp file
File, file-type.lisp: The lsx/reader/file-type․lisp file
File, file-type.lisp: The lsx/tag/file-type․lisp file
File, file-type.lisp: The lsx/html/file-type․lisp file
File, file-type.lisp: The lsx/file/file-type․lisp file
File, file-type.lisp: The lsx/template/file-type․lisp file
File, lsx.asd: The lsx/lsx․asd file
file-type.lisp: The lsx/main/file-type․lisp file
file-type.lisp: The lsx/reader/file-type․lisp file
file-type.lisp: The lsx/tag/file-type․lisp file
file-type.lisp: The lsx/html/file-type․lisp file
file-type.lisp: The lsx/file/file-type․lisp file
file-type.lisp: The lsx/template/file-type․lisp file

L
lsx: The lsx system
lsx: The lsx package
lsx.asd: The lsx/lsx․asd file
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: Public structures
Structure, danger-element: Public structures
Structure, declaration-element: Public structures
Structure, element: Public structures
Structure, element-list: Public 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: Public classes
template-class: Public classes
template-slot-class: Private classes

Jump to:   A   C   D   E   F   L   P   S   T