The cl-mustache Reference Manual

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

The cl-mustache Reference Manual

This is the cl-mustache Reference Manual, version 0.12.3, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Aug 15 03:50:42 2022 GMT+0.

Table of Contents


1 Introduction

========
CL-MUSTACHE
========

.. image:: https://travis-ci.org/kanru/cl-mustache.png?branch=master
   :target: https://travis-ci.org/kanru/cl-mustache

Inspired by ctemplate_ and et_, Mustache_ is a
framework-agnostic way to render logic-free views.

As ctemplates says, "It emphasizes separating logic from presentation:
it is impossible to embed application logic in this template language."

CL-MUSTACHE is a Common Lisp implementation of Mustache v1.1.2+λ. Tested with:

 - SBCL 1.0.55
 - CLISP 2.49

CL-MUSTACHE is semantically versioned: http://semver.org.

Documentation
=============

The different Mustache tags are documented at `mustache(5)`_.

Install It
==========

Using quicklisp is recommended.

::

    CL-USER> (ql:quickload "cl-mustache")


Use It
======

Currently accepts context data in alist format, for example:

::

   `((:tag . "string")
     (:array . #(1 2 3 4))
     (:lambda ,(lambda () "world"))
     (:nested . ((:data . t))))

To render the template:

::

    CL-USER> (mustache:render* "Hi {{person}}!" '((:person . "Mom")))
    "Hi Mom!"

Or save the renderer for later use:

::

    CL-USER> (setf view (mustache:compile-template "Hi {{person}}!"))

Or define static renderer function:

::

    CL-USER> (mustache:define view "Hi {{person}}!")
    CL-USER> (view context)

Test It
=======

::

    CL-USR> (ql:quickload "cl-mustache-test")
    CL-USR> (prove:run :cl-mustache-test)

Extend It (Experimental)
========================

Define your tag classes, tag character and render function:

::

    (in-package :mustache)
    (defclass exec-tag (non-standalone-tag)
      ((command :initarg :command :accessor command)))
    (set-mustache-character
      #\$
      (lambda (raw-text arg-text escapep start end)
        (make-instance 'exec-tag :command arg-text)))
    ;; or
    ;; (define-mustache-character #\$
    ;;   (make-instance 'exec-tag :command arg-text))
    (defmethod render-token ((token exec-tag) context template)
       (print-data (run-program-output (command token)) t context))

.. _ctemplate: http://code.google.com/p/google-ctemplate/
.. _et: http://www.ivan.fomichev.name/2008/05/erlang-template-engine-prototype.html
.. _Mustache: http://mustache.github.com/
.. _mustache(5): http://mustache.github.com/mustache.5.html


2 Systems

The main system appears first, followed by any subsystem dependency.


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

2.1 cl-mustache

Mustache Template Renderer

Author

Kan-Ru Chen <kanru@kanru.info>

License

MIT/Expat

Version

0.12.3

Dependency

uiop (system).

Source

cl-mustache.asd.

Child Components

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 cl-mustache/cl-mustache.asd

Source

cl-mustache.asd.

Parent Component

cl-mustache (system).

ASDF Systems

cl-mustache.


3.1.2 cl-mustache/packages.lisp

Source

cl-mustache.asd.

Parent Component

cl-mustache (system).

Packages

mustache.


3.1.3 cl-mustache/mustache.lisp

Dependency

packages.lisp (file).

Source

cl-mustache.asd.

Parent Component

cl-mustache (system).

Public Interface
Internals

3.1.4 cl-mustache/compat-api-v1.lisp

Dependency

mustache.lisp (file).

Source

cl-mustache.asd.

Parent Component

cl-mustache (system).

Public Interface
Internals

4 Packages

Packages are listed by definition order.


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

4.1 mustache

Source

packages.lisp.

Use List

common-lisp.

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: *context*

Current context for lambda section

Package

mustache.

Source

mustache.lisp.

Special Variable: *default-pathname-type*

The default file extension for partials.

Package

mustache.

Source

mustache.lisp.

Special Variable: *escape-tokens*
Package

mustache.

Source

mustache.lisp.

Special Variable: *load-path*

A list. The search pathes for partials.

Package

mustache.

Source

mustache.lisp.

Special Variable: *mustache-output*

Deprecated in favor of MUSTACHE:*OUTPUT-STREAM* since version 0.10.0

Package

mustache.

Source

compat-api-v1.lisp.

Special Variable: *output-stream*

The default output stream for mustache rendering. Bind this variable before calling mustache-rendering and friends. Default is *standard-output*.

Package

mustache.

Source

mustache.lisp.


5.1.2 Macros

Macro: define (name template)

Define a named renderer of string TEMPLATE.

Package

mustache.

Source

mustache.lisp.

Macro: defmustache (name template)

Define a named renderer of string TEMPLATE.

Package

mustache.

Source

compat-api-v1.lisp.


5.1.3 Ordinary functions

Function: make-context (&key data partials)

Create mustache context from alist DATA.

Package

mustache.

Source

mustache.lisp.

Function: mustache-compile (&rest args)

Return a compiled rendering function.

Package

mustache.

Source

compat-api-v1.lisp.

Function: mustache-context (&rest args)

Create mustache context from alist DATA.

Package

mustache.

Source

compat-api-v1.lisp.

Function: mustache-render (&rest args)

Render TEMPLATE with optional CONTEXT to *OUTPUT-STREAM* or OUTPUT-STREAM

Package

mustache.

Source

compat-api-v1.lisp.

Function: mustache-render-to-stream (stream template &optional context)

Render TEMPLATE with optional CONTEXT to STREAM.

Package

mustache.

Source

compat-api-v1.lisp.

Function: mustache-render-to-string (&rest args)

Render TEMPLATE with optional CONTEXT to string.

Package

mustache.

Source

compat-api-v1.lisp.

Function: mustache-type (&rest args)

Return the CL-MUSTACHE version.

Package

mustache.

Source

compat-api-v1.lisp.

Function: mustache-version (&rest args)

Return the CL-MUSTACHE version.

Package

mustache.

Source

compat-api-v1.lisp.

Function: render* (template &optional context)

Render TEMPLATE with optional CONTEXT to string.

Package

mustache.

Source

mustache.lisp.

Function: version ()

Return the CL-MUSTACHE version.

Package

mustache.

Source

mustache.lisp.


5.1.4 Generic functions

Generic Function: compile-template (template)

Return a compiled rendering function.

Package

mustache.

Source

mustache.lisp.

Methods
Method: compile-template ((template pathname))
Method: compile-template ((template string))
Generic Function: render (template &optional context output-stream)

Render TEMPLATE with optional CONTEXT to *OUTPUT-STREAM* or OUTPUT-STREAM

Package

mustache.

Source

mustache.lisp.

Methods
Method: render ((template pathname) &optional context output-stream)
Method: render ((template string) &optional context output-stream)

5.1.5 Standalone methods

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

mustache.lisp.


5.2 Internals


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

5.2.1 Special variables

Special Variable: *close-delimiter*
Package

mustache.

Source

mustache.lisp.

Special Variable: *default-close-delimiter*
Package

mustache.

Source

mustache.lisp.

Special Variable: *default-open-delimiter*
Package

mustache.

Source

mustache.lisp.

Special Variable: *default-triple-close-delimiter*
Package

mustache.

Source

mustache.lisp.

Special Variable: *default-triple-open-delimiter*
Package

mustache.

Source

mustache.lisp.

Special Variable: *mustache-tag-table*
Package

mustache.

Source

mustache.lisp.

Special Variable: *open-delimiter*
Package

mustache.

Source

mustache.lisp.

Special Variable: *real-standard-output*
Package

mustache.

Source

mustache.lisp.

Special Variable: *triple-close-delimiter*
Package

mustache.

Source

mustache.lisp.

Special Variable: *triple-open-delimiter*
Package

mustache.

Source

mustache.lisp.

Special Variable: beginning-of-line
Package

mustache.

Source

mustache.lisp.

Special Variable: crlf
Package

mustache.

Source

mustache.lisp.

Special Variable: crlf-newline
Package

mustache.

Source

mustache.lisp.

Special Variable: newline
Package

mustache.

Source

mustache.lisp.


5.2.2 Macros

Macro: define-mustache-character (char &body body)
Package

mustache.

Source

mustache.lisp.

Macro: make-obsolete (obsolete-name current-name when)
Package

mustache.

Source

compat-api-v1.lisp.


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

5.2.3 Ordinary functions

Function: %escape (string)
Package

mustache.

Source

mustache.lisp.

Function: %output ()
Package

mustache.

Source

mustache.lisp.

Function: call-lambda (lambda text context)
Package

mustache.

Source

mustache.lisp.

Function: change-delimiter (text)

Change the mustache tag delimiter according to TEXT. The syntax grammar is:
delimiter-tag = left-d 1*space right-d
left-d = *ALPHANUM
right-d = *ALPHANUM
space = #\Space #\Tab

Package

mustache.

Source

mustache.lisp.

Function: collect-line (tokens)
Package

mustache.

Source

mustache.lisp.

Function: ensure-context (maybe-context)

Ensure MAYBE-CONTEXT is a valid context. If not then make one.

Package

mustache.

Source

mustache.lisp.

Function: escape (string)

HTML escape STRING when *escape-tokens* is t.

Package

mustache.

Source

mustache.lisp.

Function: filename (filename)
Package

mustache.

Source

mustache.lisp.

Function: find-standalone-tag (tokens)
Package

mustache.

Source

mustache.lisp.

Function: fold-text (tokens)
Package

mustache.

Source

mustache.lisp.

Function: get-mustache-character (char)
Package

mustache.

Source

mustache.lisp.

Function: group-sections (tokens &optional sections acc)
Package

mustache.

Source

mustache.lisp.

Function: key (token)
Package

mustache.

Source

mustache.lisp.

Function: locate-file (filename)
Package

mustache.

Source

mustache.lisp.

Function: make-context-chain (data context)
Package

mustache.

Source

mustache.lisp.

Function: make-section-tag (start-tag end-tag tokens)
Package

mustache.

Source

mustache.lisp.

Function: make-tag (&key str escapep start end)
Package

mustache.

Source

mustache.lisp.

Function: newline-char-p (char)
Package

mustache.

Source

mustache.lisp.

Function: parse (template)
Package

mustache.

Source

mustache.lisp.

Function: parse-key (string)
Package

mustache.

Source

mustache.lisp.

Function: read-newline (string start)
Package

mustache.

Source

mustache.lisp.

Function: read-partial (filename context)
Package

mustache.

Source

mustache.lisp.

Function: read-tag (string triplep start end)
Package

mustache.

Source

mustache.lisp.

Function: read-text (type string start end)
Package

mustache.

Source

mustache.lisp.

Function: read-token (string start end)
Package

mustache.

Source

mustache.lisp.

Function: render-body (tokens context template)
Package

mustache.

Source

mustache.lisp.

Function: render-tokens (tokens context template)
Package

mustache.

Source

mustache.lisp.

Function: save-hash-table (source)
Package

mustache.

Source

mustache.lisp.

Function: scan (string &optional start end)
Package

mustache.

Source

mustache.lisp.

Function: set-mustache-character (char new-function)
Package

mustache.

Source

mustache.lisp.

Function: space-char-p (char)
Package

mustache.

Source

mustache.lisp.

Function: string-starts-with-p (pattern string start)
Package

mustache.

Source

mustache.lisp.

Function: text-char-p (char)
Package

mustache.

Source

mustache.lisp.

Function: tokens-standalone-p (tokens)
Package

mustache.

Source

mustache.lisp.

Function: trim-standalone (tokens)
Package

mustache.

Source

mustache.lisp.


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

5.2.4 Generic functions

Generic Reader: close-delimiter (object)
Package

mustache.

Methods
Reader Method: close-delimiter ((section-start-tag section-start-tag))

automatically generated reader method

Source

mustache.lisp.

Target Slot

%close-delimiter.

Generic Writer: (setf close-delimiter) (object)
Package

mustache.

Methods
Writer Method: (setf close-delimiter) ((section-start-tag section-start-tag))

automatically generated writer method

Source

mustache.lisp.

Target Slot

%close-delimiter.

Generic Function: context-get (key context)

Get data from CONTEXT by KEY.

Package

mustache.

Source

mustache.lisp.

Methods
Method: context-get ((key list) context)
Method: context-get ((key (eql mustache::implicit-iterator)) context)
Method: context-get ((key string) (context context))
Method: context-get ((key string) (context hash-table))
Method: context-get ((key string) (context null))
Method: context-get ((key string) context)
Generic Reader: data (object)
Package

mustache.

Methods
Reader Method: data ((context context))

automatically generated reader method

Source

mustache.lisp.

Target Slot

%data.

Generic Writer: (setf data) (object)
Package

mustache.

Methods
Writer Method: (setf data) ((context context))

automatically generated writer method

Source

mustache.lisp.

Target Slot

%data.

Generic Reader: deprecated-name (condition)
Package

mustache.

Methods
Reader Method: deprecated-name ((condition deprecation-warning))
Source

compat-api-v1.lisp.

Target Slot

name.

Generic Reader: deprecated-name-replacement (condition)
Package

mustache.

Methods
Reader Method: deprecated-name-replacement ((condition deprecation-warning))
Source

compat-api-v1.lisp.

Target Slot

replacements.

Generic Reader: deprecated-since (condition)
Package

mustache.

Methods
Reader Method: deprecated-since ((condition deprecation-warning))
Source

compat-api-v1.lisp.

Target Slot

since.

Generic Reader: end (object)
Package

mustache.

Methods
Reader Method: end ((section-start-tag section-start-tag))

automatically generated reader method

Source

mustache.lisp.

Target Slot

%end.

Generic Writer: (setf end) (object)
Package

mustache.

Methods
Writer Method: (setf end) ((section-start-tag section-start-tag))

automatically generated writer method

Source

mustache.lisp.

Target Slot

%end.

Generic Reader: escapep (object)
Package

mustache.

Methods
Reader Method: escapep ((tag tag))

automatically generated reader method

Source

mustache.lisp.

Target Slot

%escapep.

Generic Reader: falsey (object)
Package

mustache.

Methods
Reader Method: falsey ((section-start-tag section-start-tag))

automatically generated reader method

Source

mustache.lisp.

Target Slot

%falsey.

Generic Writer: (setf falsey) (object)
Package

mustache.

Methods
Writer Method: (setf falsey) ((section-start-tag section-start-tag))

automatically generated writer method

Source

mustache.lisp.

Target Slot

%falsey.

Generic Reader: indent (object)
Package

mustache.

Methods
Reader Method: indent ((context context))

automatically generated reader method

Source

mustache.lisp.

Target Slot

%indent.

Reader Method: indent ((tag tag))

automatically generated reader method

Source

mustache.lisp.

Target Slot

%indent.

Generic Writer: (setf indent) (object)
Package

mustache.

Methods
Writer Method: (setf indent) ((context context))

automatically generated writer method

Source

mustache.lisp.

Target Slot

%indent.

Writer Method: (setf indent) ((tag tag))

automatically generated writer method

Source

mustache.lisp.

Target Slot

%indent.

Generic Reader: next (object)
Package

mustache.

Methods
Reader Method: next ((context context))

automatically generated reader method

Source

mustache.lisp.

Target Slot

%next.

Generic Writer: (setf next) (object)
Package

mustache.

Methods
Writer Method: (setf next) ((context context))

automatically generated writer method

Source

mustache.lisp.

Target Slot

%next.

Generic Reader: open-delimiter (object)
Package

mustache.

Methods
Reader Method: open-delimiter ((section-start-tag section-start-tag))

automatically generated reader method

Source

mustache.lisp.

Target Slot

%open-delimiter.

Generic Writer: (setf open-delimiter) (object)
Package

mustache.

Methods
Writer Method: (setf open-delimiter) ((section-start-tag section-start-tag))

automatically generated writer method

Source

mustache.lisp.

Target Slot

%open-delimiter.

Generic Reader: partials (object)
Package

mustache.

Methods
Reader Method: partials ((context context))

automatically generated reader method

Source

mustache.lisp.

Target Slot

%partials.

Generic Writer: (setf partials) (object)
Package

mustache.

Methods
Writer Method: (setf partials) ((context context))

automatically generated writer method

Source

mustache.lisp.

Target Slot

%partials.

Generic Function: print-data (data escapep context)
Package

mustache.

Source

mustache.lisp.

Methods
Method: print-data (token escapep context)
Method: print-data ((data function) escapep context)
Method: print-data ((data symbol) escapep context)
Method: print-data ((data string) escapep context)
Generic Function: render-token (token context template)
Package

mustache.

Source

mustache.lisp.

Methods
Method: render-token ((token beginning-of-line) context (template string))
Method: render-token ((token section-tag) context (template string))
Method: render-token ((token partial-tag) context (template string))
Method: render-token ((token tag) context (template string))
Method: render-token ((token text) context (template string))
Generic Reader: start (object)
Package

mustache.

Methods
Reader Method: start ((section-end-tag section-end-tag))

automatically generated reader method

Source

mustache.lisp.

Target Slot

%start.

Generic Writer: (setf start) (object)
Package

mustache.

Methods
Writer Method: (setf start) ((section-end-tag section-end-tag))

automatically generated writer method

Source

mustache.lisp.

Target Slot

%start.

Generic Reader: text (object)
Package

mustache.

Methods
Reader Method: text ((tag tag))

automatically generated reader method

Source

mustache.lisp.

Target Slot

%text.

Reader Method: text ((text text))

automatically generated reader method

Source

mustache.lisp.

Target Slot

%text.

Generic Writer: (setf text) (object)
Package

mustache.

Methods
Writer Method: (setf text) ((tag tag))

automatically generated writer method

Source

mustache.lisp.

Target Slot

%text.

Writer Method: (setf text) ((text text))

automatically generated writer method

Source

mustache.lisp.

Target Slot

%text.

Generic Reader: tokens (object)
Package

mustache.

Methods
Reader Method: tokens ((section-tag section-tag))

automatically generated reader method

Source

mustache.lisp.

Target Slot

%tokens.

Generic Writer: (setf tokens) (object)
Package

mustache.

Methods
Writer Method: (setf tokens) ((section-tag section-tag))

automatically generated writer method

Source

mustache.lisp.

Target Slot

%tokens.


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

5.2.5 Conditions

Condition: deprecation-warning
Package

mustache.

Source

compat-api-v1.lisp.

Direct superclasses

style-warning.

Direct methods
Direct slots
Slot: name
Initargs

:name

Readers

deprecated-name.

Writers

This slot is read-only.

Slot: replacements
Initargs

:replacement

Readers

deprecated-name-replacement.

Writers

This slot is read-only.

Slot: since
Initargs

:since

Readers

deprecated-since.

Writers

This slot is read-only.


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

5.2.6 Classes

Class: ampersand-tag
Package

mustache.

Source

mustache.lisp.

Direct superclasses

non-standalone-tag.

Direct slots
Slot: %escapep
Class: beginning-of-line
Package

mustache.

Source

mustache.lisp.

Direct superclasses

token.

Direct methods

render-token.

Class: can-standalone-tag
Package

mustache.

Source

mustache.lisp.

Direct superclasses

tag.

Direct subclasses
Class: comment-tag
Package

mustache.

Source

mustache.lisp.

Direct superclasses

can-standalone-tag.

Class: context
Package

mustache.

Source

mustache.lisp.

Direct methods
Direct slots
Slot: %data
Initargs

:data

Readers

data.

Writers

(setf data).

Slot: %indent
Type

list

Initargs

:indent

Readers

indent.

Writers

(setf indent).

Slot: %partials
Initargs

:partials

Readers

partials.

Writers

(setf partials).

Slot: %next
Type

(or null mustache::context)

Initargs

:next

Readers

next.

Writers

(setf next).

Class: crlf-newline
Package

mustache.

Source

mustache.lisp.

Direct superclasses

newline.

Direct slots
Slot: %text
Initform

mustache::crlf

Class: delimiter-tag
Package

mustache.

Source

mustache.lisp.

Direct superclasses

can-standalone-tag.

Class: newline
Package

mustache.

Source

mustache.lisp.

Direct superclasses

text.

Direct subclasses

crlf-newline.

Direct slots
Slot: %text
Initform

" "

Class: non-standalone-tag
Package

mustache.

Source

mustache.lisp.

Direct superclasses

tag.

Direct subclasses
Class: normal-tag
Package

mustache.

Source

mustache.lisp.

Direct superclasses

non-standalone-tag.

Class: partial-tag
Package

mustache.

Source

mustache.lisp.

Direct superclasses

can-standalone-tag.

Direct methods

render-token.

Class: section-end-tag
Package

mustache.

Source

mustache.lisp.

Direct superclasses

can-standalone-tag.

Direct subclasses

section-tag.

Direct methods
Direct slots
Slot: %start
Type

mustache::offset

Initform

0

Initargs

:start

Readers

start.

Writers

(setf start).

Class: section-start-tag
Package

mustache.

Source

mustache.lisp.

Direct superclasses

can-standalone-tag.

Direct subclasses

section-tag.

Direct methods
Direct slots
Slot: %falsey
Type

boolean

Initargs

:falsey

Readers

falsey.

Writers

(setf falsey).

Slot: %end
Type

mustache::offset

Initform

0

Initargs

:end

Readers

end.

Writers

(setf end).

Slot: %open-delimiter
Type

string

Initform

""

Initargs

:open-delimiter

Readers

open-delimiter.

Writers

(setf open-delimiter).

Slot: %close-delimiter
Type

string

Initform

""

Initargs

:close-delimiter

Readers

close-delimiter.

Writers

(setf close-delimiter).

Class: section-tag
Package

mustache.

Source

mustache.lisp.

Direct superclasses
Direct methods
Direct slots
Slot: %tokens
Type

list

Initargs

:tokens

Readers

tokens.

Writers

(setf tokens).

Class: tag
Package

mustache.

Source

mustache.lisp.

Direct superclasses

token.

Direct subclasses
Direct methods
Direct slots
Slot: %text
Type

string

Initargs

:text

Readers

text.

Writers

(setf text).

Slot: %escapep
Type

boolean

Initform

t

Initargs

:escape

Readers

escapep.

Writers

This slot is read-only.

Slot: %indent
Type

list

Initargs

:indent

Readers

indent.

Writers

(setf indent).

Class: text
Package

mustache.

Source

mustache.lisp.

Direct superclasses

token.

Direct subclasses
Direct methods
Direct slots
Slot: %text
Type

string

Initargs

:text

Readers

text.

Writers

(setf text).

Class: token
Package

mustache.

Source

mustache.lisp.

Direct subclasses
Class: whitespace
Package

mustache.

Source

mustache.lisp.

Direct superclasses

text.


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

5.2.7 Types

Type: alist ()
Package

mustache.

Source

mustache.lisp.

Type: newline-char ()
Package

mustache.

Source

mustache.lisp.

Type: offset ()

File or string offset.

Package

mustache.

Source

mustache.lisp.

Type: space-char ()
Package

mustache.

Source

mustache.lisp.

Type: text-char ()
Package

mustache.

Source

mustache.lisp.

Type: text-token ()
Package

mustache.

Source

mustache.lisp.


Appendix A Indexes


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

A.1 Concepts


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

A.2 Functions

Jump to:   %   (  
C   D   E   F   G   I   K   L   M   N   O   P   R   S   T   V  
Index Entry  Section

%
%escape: Private ordinary functions
%output: Private ordinary functions

(
(setf close-delimiter): Private generic functions
(setf close-delimiter): Private generic functions
(setf data): Private generic functions
(setf data): Private generic functions
(setf end): Private generic functions
(setf end): Private generic functions
(setf falsey): Private generic functions
(setf falsey): Private generic functions
(setf indent): Private generic functions
(setf indent): Private generic functions
(setf indent): Private generic functions
(setf next): Private generic functions
(setf next): Private generic functions
(setf open-delimiter): Private generic functions
(setf open-delimiter): Private generic functions
(setf partials): Private generic functions
(setf partials): Private generic functions
(setf start): Private generic functions
(setf start): Private generic functions
(setf text): Private generic functions
(setf text): Private generic functions
(setf text): Private generic functions
(setf tokens): Private generic functions
(setf tokens): Private generic functions

C
call-lambda: Private ordinary functions
change-delimiter: Private ordinary functions
close-delimiter: Private generic functions
close-delimiter: Private generic functions
collect-line: Private ordinary functions
compile-template: Public generic functions
compile-template: Public generic functions
compile-template: Public generic functions
context-get: Private generic functions
context-get: Private generic functions
context-get: Private generic functions
context-get: Private generic functions
context-get: Private generic functions
context-get: Private generic functions
context-get: Private generic functions

D
data: Private generic functions
data: Private generic functions
define: Public macros
define-mustache-character: Private macros
defmustache: Public macros
deprecated-name: Private generic functions
deprecated-name: Private generic functions
deprecated-name-replacement: Private generic functions
deprecated-name-replacement: Private generic functions
deprecated-since: Private generic functions
deprecated-since: Private generic functions

E
end: Private generic functions
end: Private generic functions
ensure-context: Private ordinary functions
escape: Private ordinary functions
escapep: Private generic functions
escapep: Private generic functions

F
falsey: Private generic functions
falsey: Private generic functions
filename: Private ordinary functions
find-standalone-tag: Private ordinary functions
fold-text: Private ordinary functions
Function, %escape: Private ordinary functions
Function, %output: Private ordinary functions
Function, call-lambda: Private ordinary functions
Function, change-delimiter: Private ordinary functions
Function, collect-line: Private ordinary functions
Function, ensure-context: Private ordinary functions
Function, escape: Private ordinary functions
Function, filename: Private ordinary functions
Function, find-standalone-tag: Private ordinary functions
Function, fold-text: Private ordinary functions
Function, get-mustache-character: Private ordinary functions
Function, group-sections: Private ordinary functions
Function, key: Private ordinary functions
Function, locate-file: Private ordinary functions
Function, make-context: Public ordinary functions
Function, make-context-chain: Private ordinary functions
Function, make-section-tag: Private ordinary functions
Function, make-tag: Private ordinary functions
Function, mustache-compile: Public ordinary functions
Function, mustache-context: Public ordinary functions
Function, mustache-render: Public ordinary functions
Function, mustache-render-to-stream: Public ordinary functions
Function, mustache-render-to-string: Public ordinary functions
Function, mustache-type: Public ordinary functions
Function, mustache-version: Public ordinary functions
Function, newline-char-p: Private ordinary functions
Function, parse: Private ordinary functions
Function, parse-key: Private ordinary functions
Function, read-newline: Private ordinary functions
Function, read-partial: Private ordinary functions
Function, read-tag: Private ordinary functions
Function, read-text: Private ordinary functions
Function, read-token: Private ordinary functions
Function, render*: Public ordinary functions
Function, render-body: Private ordinary functions
Function, render-tokens: Private ordinary functions
Function, save-hash-table: Private ordinary functions
Function, scan: Private ordinary functions
Function, set-mustache-character: Private ordinary functions
Function, space-char-p: Private ordinary functions
Function, string-starts-with-p: Private ordinary functions
Function, text-char-p: Private ordinary functions
Function, tokens-standalone-p: Private ordinary functions
Function, trim-standalone: Private ordinary functions
Function, version: Public ordinary functions

G
Generic Function, (setf close-delimiter): Private generic functions
Generic Function, (setf data): Private generic functions
Generic Function, (setf end): Private generic functions
Generic Function, (setf falsey): Private generic functions
Generic Function, (setf indent): Private generic functions
Generic Function, (setf next): Private generic functions
Generic Function, (setf open-delimiter): Private generic functions
Generic Function, (setf partials): Private generic functions
Generic Function, (setf start): Private generic functions
Generic Function, (setf text): Private generic functions
Generic Function, (setf tokens): Private generic functions
Generic Function, close-delimiter: Private generic functions
Generic Function, compile-template: Public generic functions
Generic Function, context-get: Private generic functions
Generic Function, data: Private generic functions
Generic Function, deprecated-name: Private generic functions
Generic Function, deprecated-name-replacement: Private generic functions
Generic Function, deprecated-since: Private generic functions
Generic Function, end: Private generic functions
Generic Function, escapep: Private generic functions
Generic Function, falsey: Private generic functions
Generic Function, indent: Private generic functions
Generic Function, next: Private generic functions
Generic Function, open-delimiter: Private generic functions
Generic Function, partials: Private generic functions
Generic Function, print-data: Private generic functions
Generic Function, render: Public generic functions
Generic Function, render-token: Private generic functions
Generic Function, start: Private generic functions
Generic Function, text: Private generic functions
Generic Function, tokens: Private generic functions
get-mustache-character: Private ordinary functions
group-sections: Private ordinary functions

I
indent: Private generic functions
indent: Private generic functions
indent: Private generic functions

K
key: Private ordinary functions

L
locate-file: Private ordinary functions

M
Macro, define: Public macros
Macro, define-mustache-character: Private macros
Macro, defmustache: Public macros
Macro, make-obsolete: Private macros
make-context: Public ordinary functions
make-context-chain: Private ordinary functions
make-obsolete: Private macros
make-section-tag: Private ordinary functions
make-tag: Private ordinary functions
Method, (setf close-delimiter): Private generic functions
Method, (setf data): Private generic functions
Method, (setf end): Private generic functions
Method, (setf falsey): Private generic functions
Method, (setf indent): Private generic functions
Method, (setf indent): Private generic functions
Method, (setf next): Private generic functions
Method, (setf open-delimiter): Private generic functions
Method, (setf partials): Private generic functions
Method, (setf start): Private generic functions
Method, (setf text): Private generic functions
Method, (setf text): Private generic functions
Method, (setf tokens): Private generic functions
Method, close-delimiter: Private generic functions
Method, compile-template: Public generic functions
Method, compile-template: Public generic functions
Method, context-get: Private generic functions
Method, context-get: Private generic functions
Method, context-get: Private generic functions
Method, context-get: Private generic functions
Method, context-get: Private generic functions
Method, context-get: Private generic functions
Method, data: Private generic functions
Method, deprecated-name: Private generic functions
Method, deprecated-name-replacement: Private generic functions
Method, deprecated-since: Private generic functions
Method, end: Private generic functions
Method, escapep: Private generic functions
Method, falsey: Private generic functions
Method, indent: Private generic functions
Method, indent: Private generic functions
Method, next: Private generic functions
Method, open-delimiter: Private generic functions
Method, partials: Private generic functions
Method, print-data: Private generic functions
Method, print-data: Private generic functions
Method, print-data: Private generic functions
Method, print-data: Private generic functions
Method, print-object: Public standalone methods
Method, render: Public generic functions
Method, render: Public generic functions
Method, render-token: Private generic functions
Method, render-token: Private generic functions
Method, render-token: Private generic functions
Method, render-token: Private generic functions
Method, render-token: Private generic functions
Method, start: Private generic functions
Method, text: Private generic functions
Method, text: Private generic functions
Method, tokens: Private generic functions
mustache-compile: Public ordinary functions
mustache-context: Public ordinary functions
mustache-render: Public ordinary functions
mustache-render-to-stream: Public ordinary functions
mustache-render-to-string: Public ordinary functions
mustache-type: Public ordinary functions
mustache-version: Public ordinary functions

N
newline-char-p: Private ordinary functions
next: Private generic functions
next: Private generic functions

O
open-delimiter: Private generic functions
open-delimiter: Private generic functions

P
parse: Private ordinary functions
parse-key: Private ordinary functions
partials: Private generic functions
partials: Private generic functions
print-data: Private generic functions
print-data: Private generic functions
print-data: Private generic functions
print-data: Private generic functions
print-data: Private generic functions
print-object: Public standalone methods

R
read-newline: Private ordinary functions
read-partial: Private ordinary functions
read-tag: Private ordinary functions
read-text: Private ordinary functions
read-token: Private ordinary functions
render: Public generic functions
render: Public generic functions
render: Public generic functions
render*: Public ordinary functions
render-body: Private ordinary functions
render-token: Private generic functions
render-token: Private generic functions
render-token: Private generic functions
render-token: Private generic functions
render-token: Private generic functions
render-token: Private generic functions
render-tokens: Private ordinary functions

S
save-hash-table: Private ordinary functions
scan: Private ordinary functions
set-mustache-character: Private ordinary functions
space-char-p: Private ordinary functions
start: Private generic functions
start: Private generic functions
string-starts-with-p: Private ordinary functions

T
text: Private generic functions
text: Private generic functions
text: Private generic functions
text-char-p: Private ordinary functions
tokens: Private generic functions
tokens: Private generic functions
tokens-standalone-p: Private ordinary functions
trim-standalone: Private ordinary functions

V
version: Public ordinary functions

Jump to:   %   (  
C   D   E   F   G   I   K   L   M   N   O   P   R   S   T   V  

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

A.3 Variables

Jump to:   %   *  
B   C   N   R   S  
Index Entry  Section

%
%close-delimiter: Private classes
%data: Private classes
%end: Private classes
%escapep: Private classes
%escapep: Private classes
%falsey: Private classes
%indent: Private classes
%indent: Private classes
%next: Private classes
%open-delimiter: Private classes
%partials: Private classes
%start: Private classes
%text: Private classes
%text: Private classes
%text: Private classes
%text: Private classes
%tokens: Private classes

*
*close-delimiter*: Private special variables
*context*: Public special variables
*default-close-delimiter*: Private special variables
*default-open-delimiter*: Private special variables
*default-pathname-type*: Public special variables
*default-triple-close-delimiter*: Private special variables
*default-triple-open-delimiter*: Private special variables
*escape-tokens*: Public special variables
*load-path*: Public special variables
*mustache-output*: Public special variables
*mustache-tag-table*: Private special variables
*open-delimiter*: Private special variables
*output-stream*: Public special variables
*real-standard-output*: Private special variables
*triple-close-delimiter*: Private special variables
*triple-open-delimiter*: Private special variables

B
beginning-of-line: Private special variables

C
crlf: Private special variables
crlf-newline: Private special variables

N
name: Private conditions
newline: Private special variables

R
replacements: Private conditions

S
since: Private conditions
Slot, %close-delimiter: Private classes
Slot, %data: Private classes
Slot, %end: Private classes
Slot, %escapep: Private classes
Slot, %escapep: Private classes
Slot, %falsey: Private classes
Slot, %indent: Private classes
Slot, %indent: Private classes
Slot, %next: Private classes
Slot, %open-delimiter: Private classes
Slot, %partials: Private classes
Slot, %start: Private classes
Slot, %text: Private classes
Slot, %text: Private classes
Slot, %text: Private classes
Slot, %text: Private classes
Slot, %tokens: Private classes
Slot, name: Private conditions
Slot, replacements: Private conditions
Slot, since: Private conditions
Special Variable, *close-delimiter*: Private special variables
Special Variable, *context*: Public special variables
Special Variable, *default-close-delimiter*: Private special variables
Special Variable, *default-open-delimiter*: Private special variables
Special Variable, *default-pathname-type*: Public special variables
Special Variable, *default-triple-close-delimiter*: Private special variables
Special Variable, *default-triple-open-delimiter*: Private special variables
Special Variable, *escape-tokens*: Public special variables
Special Variable, *load-path*: Public special variables
Special Variable, *mustache-output*: Public special variables
Special Variable, *mustache-tag-table*: Private special variables
Special Variable, *open-delimiter*: Private special variables
Special Variable, *output-stream*: Public special variables
Special Variable, *real-standard-output*: Private special variables
Special Variable, *triple-close-delimiter*: Private special variables
Special Variable, *triple-open-delimiter*: Private special variables
Special Variable, beginning-of-line: Private special variables
Special Variable, crlf: Private special variables
Special Variable, crlf-newline: Private special variables
Special Variable, newline: Private special variables

Jump to:   %   *  
B   C   N   R   S  

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

A.4 Data types

Jump to:   A   B   C   D   F   M   N   O   P   S   T   W  
Index Entry  Section

A
alist: Private types
ampersand-tag: Private classes

B
beginning-of-line: Private classes

C
can-standalone-tag: Private classes
cl-mustache: The cl-mustache system
cl-mustache.asd: The cl-mustache/cl-mustache․asd file
Class, ampersand-tag: Private classes
Class, beginning-of-line: Private classes
Class, can-standalone-tag: Private classes
Class, comment-tag: Private classes
Class, context: Private classes
Class, crlf-newline: Private classes
Class, delimiter-tag: Private classes
Class, newline: Private classes
Class, non-standalone-tag: Private classes
Class, normal-tag: Private classes
Class, partial-tag: Private classes
Class, section-end-tag: Private classes
Class, section-start-tag: Private classes
Class, section-tag: Private classes
Class, tag: Private classes
Class, text: Private classes
Class, token: Private classes
Class, whitespace: Private classes
comment-tag: Private classes
compat-api-v1.lisp: The cl-mustache/compat-api-v1․lisp file
Condition, deprecation-warning: Private conditions
context: Private classes
crlf-newline: Private classes

D
delimiter-tag: Private classes
deprecation-warning: Private conditions

F
File, cl-mustache.asd: The cl-mustache/cl-mustache․asd file
File, compat-api-v1.lisp: The cl-mustache/compat-api-v1․lisp file
File, mustache.lisp: The cl-mustache/mustache․lisp file
File, packages.lisp: The cl-mustache/packages․lisp file

M
mustache: The mustache package
mustache.lisp: The cl-mustache/mustache․lisp file

N
newline: Private classes
newline-char: Private types
non-standalone-tag: Private classes
normal-tag: Private classes

O
offset: Private types

P
Package, mustache: The mustache package
packages.lisp: The cl-mustache/packages․lisp file
partial-tag: Private classes

S
section-end-tag: Private classes
section-start-tag: Private classes
section-tag: Private classes
space-char: Private types
System, cl-mustache: The cl-mustache system

T
tag: Private classes
text: Private classes
text-char: Private types
text-token: Private types
token: Private classes
Type, alist: Private types
Type, newline-char: Private types
Type, offset: Private types
Type, space-char: Private types
Type, text-char: Private types
Type, text-token: Private types

W
whitespace: Private classes

Jump to:   A   B   C   D   F   M   N   O   P   S   T   W