Common Lisp Package: ROUTES

README:

FUNCTION

Public

Undocumented

CONNECT (MAP ROUTE)

MAKE-ROUTE (TMPL &OPTIONAL VARSPECS)

PARSE-TEMPLATE (TMPL &OPTIONAL VARSPECS)

RESET-MAPPER (MAP)

ROUTE-VARIABLES (ROUTE)

Private

EXTEND-BINDINGS (VAR VAL BINDINGS)

Add a (var . value) pair to a binding list.

GET-BINDING (VAR BINDINGS)

Find a (variable . value) pair in a binding list.

LOOKUP (VAR BINDINGS)

Get the value part (for var) from a binding list.

OCCURS-IN-P (VAR X BINDINGS)

Does var occur anywhere inside x?

Undocumented

GENERATE-URL (ROUTE BINDINGS)

MAKE-CONCAT-TEMPLATE (SPEC)

MAKE-OR-TEMPLATE (SPEC)

MAKE-UNIFY-TEMPLATE (TYPE SPEC)

MAKE-VARIABLE-TEMPLATE (SPEC)

MAKE-WILDCARD-TEMPLATE (SPEC)

PARSE-PATH (STR &OPTIONAL VARSPECS)

UNIFY (X Y &OPTIONAL (BINDINGS +NO-BINDINGS+))

VARIABLE-P (X)

GENERIC-FUNCTION

Public

ROUTE-CHECK-CONDITIONS (ROUTE BINDINGS)

Used for check the additional conditions when comparing the ROUTE with the request.

ROUTE-NAME (ROUTE)

Route name

Undocumented

MATCH (MAP URI &OPTIONAL BINDINGS)

TEMPLATE-VARIABLES (TMPL)

Private

MERGE-URI-TEMPLATES (A B)

Merge the templates A and B into one template

URI-TEMPLATE-EQUAL (A B)

Return T if template a and template are equal

Undocumented

APPLY-BINDINGS (TMPL BINDINGS)

ROUTE-EMACS-INSPECT (ROUTE)

UNIFY/IMPL (A B BINDINGS)

SLOT-ACCESSOR

Public

ROUTE-TEMPLATE (ROUTE)

The Template URI of ROUTE

Undocumented

PROXY-ROUTE-TARGET (OBJECT)

TEMPLATE-DATA (OBJECT)

SETFTEMPLATE-DATA (NEW-VALUE OBJECT)

VARIABLE-PARSE-FUN (OBJECT)

VARIABLE

Public

+NO-BINDINGS+

Indicates unification success, with no variables.

Private

Undocumented

*CURRENT-INDENTION*

*INDENTION*

*MAKE-TEMPLATE-MAP*

CLASS

Public

Undocumented

BASE-ROUTE

CONCAT-TEMPLATE

CUSTOM-VARIABLE-TEMPLATE

MAPPER

OR-TEMPLATE

PROXY-ROUTE

ROUTE

URI-COMPONENT-TEMPLATE

VARIABLE-TEMPLATE

WILDCARD-TEMPLATE

Private

Undocumented

CUSTOM-TEMPLATE

CUSTOM-WILDCARD-TEMPLATE

CONSTANT

Private

+FAIL+

Indicates unification failure