The ratify Reference Manual
Table of Contents
The ratify Reference Manual
This is the ratify Reference Manual, version 0.1.0,
generated automatically by Declt version 3.0 "Montgomery Scott"
on Tue Dec 22 14:52:36 2020 GMT+0.
1 Introduction
About Ratify
Ratify is a collection of utilities to perform validation checks and parsing. The main intention of usage for this is in web-applications in order to check form inputs for correctness and automatically parse them into their proper representations or return meaningful errors.
How To
Ratify has a load of TEST-*
functions, each accompanied by a predicate equivalent. The TEST-*
functions will signal errors of type RATIFICATION-ERROR
if the test fails, whereas the predicates will simply return NIL
. Both will return the passed argument unmodified on success. Some of the tests have an equivalent PARSE-*
function in order to turn the string into a more useful representation.
The main interaction with Ratify is not supposed to be directly with the TEST-*
and PARSE-*
functions however, but rather through the TEST
and PARSE
wrapper functions. Both also have a macro shorthand to perform many tests and parsings at once, PERFORM-COMBINED-TESTS
and WITH-PARSED-FORMS
. These macros will perform as many tests as possible and only signal an error right after all tests have been made. This error is of type COMBINED-ERROR
, which contains all the errors that occurred during the testing.
(ratify:perform-combined-tests
(:integer "45")
(:date "2014-08-01")
(:ratio "566/21"))
(ratify:perform-combined-tests
(:integer "4.5" "e")
(:date "2014-08-01" "2014" "2014-55-99")
(:ratio "566/21" "5.6/21"))
; Evaluation aborted on #<RATIFY-TESTING:COMBINED-ERROR {10074E51D3}>.
Or to perform parsing:
(let ((int "45")
(url "http://foo.bar/baz.jp?what=ever#hashtag")
(uri "things-are://sometimes:complicated@with-all.these/damn?protocols=i'm#telling+you!")
(dt "2014-08-01T21:23:01"))
(ratify:with-parsed-forms ((:integer int) (:url url) (:uri uri) (:datetime dt))
(list int url uri dt)))
If an error occurs, the ERRORS
function gives access to the list of errors that the COMBINED-ERROR
contains. For a complete list of testing and parsing functions, please see the symbol index. The syntax grammar used to describe the valid values in the docstrings of each test is regex with the addition of <brackets>
to refer to other tests, sometimes accompanied with a second line that describes limits of the values.
2 Systems
The main system appears first, followed by any subsystem dependency.
2.1 ratify
- Maintainer
Nicolas Hafner <shinmera@tymoon.eu>
- Author
Nicolas Hafner <shinmera@tymoon.eu>
- Home Page
https://Shinmera.github.io/ratify/
- Source Control
(:git "https://github.com/shinmera/ratify.git")
- Bug Tracker
https://github.com/Shinmera/ratify/issues
- License
zlib
- Description
A collection of utilities to ratify, validate and parse inputs.
- Version
0.1.0
- Dependencies
- cl-ppcre
- local-time
- parse-float
- Source
ratify.asd (file)
- Components
-
3 Files
Files are sorted by type and then listed depth-first from the systems
components trees.
3.1 Lisp
3.1.1 ratify.asd
- Location
ratify.asd
- Systems
ratify (system)
3.1.2 ratify/package.lisp
- Parent
ratify (system)
- Location
package.lisp
- Packages
-
3.1.3 ratify/toolkit.lisp
- Dependency
package.lisp (file)
- Parent
ratify (system)
- Location
toolkit.lisp
- Exported Definitions
-
3.1.4 ratify/testing.lisp
- Dependency
toolkit.lisp (file)
- Parent
ratify (system)
- Location
testing.lisp
- Exported Definitions
-
- Internal Definitions
-
3.1.5 ratify/parsing.lisp
- Dependency
testing.lisp (file)
- Parent
ratify (system)
- Location
parsing.lisp
- Exported Definitions
-
- Internal Definitions
*parsers* (special variable)
3.1.6 ratify/uri.lisp
- Dependency
parsing.lisp (file)
- Parent
ratify (system)
- Location
uri.lisp
- Exported Definitions
-
- Internal Definitions
-
3.1.7 ratify/url.lisp
- Dependency
uri.lisp (file)
- Parent
ratify (system)
- Location
url.lisp
- Exported Definitions
-
3.1.8 ratify/email.lisp
- Dependency
url.lisp (file)
- Parent
ratify (system)
- Location
email.lisp
- Exported Definitions
-
- Internal Definitions
-
3.1.9 ratify/css.lisp
- Dependency
email.lisp (file)
- Parent
ratify (system)
- Location
css.lisp
- Exported Definitions
-
- Internal Definitions
-
3.1.10 ratify/date.lisp
- Dependency
css.lisp (file)
- Parent
ratify (system)
- Location
date.lisp
- Exported Definitions
-
3.1.11 ratify/types.lisp
- Dependency
date.lisp (file)
- Parent
ratify (system)
- Location
types.lisp
- Exported Definitions
-
3.1.12 ratify/html.lisp
- Dependency
types.lisp (file)
- Parent
ratify (system)
- Location
html.lisp
- Exported Definitions
-
4 Packages
Packages are listed by definition order.
4.1 ratify-uri
- Source
package.lisp (file)
- Nickname
org.tymoonnext.ratify.uri
- Use List
-
- Used By List
ratify-url
- Exported Definitions
-
- Internal Definitions
-
4.2 ratify-css
- Source
package.lisp (file)
- Nickname
org.tymoonnext.ratify.css
- Use List
-
- Used By List
ratify-html
- Exported Definitions
-
- Internal Definitions
-
4.3 ratify-testing
- Source
package.lisp (file)
- Nickname
org.tymoonnext.ratify.testing
- Use List
-
- Used By List
-
- Exported Definitions
-
- Internal Definitions
-
4.4 ratify
- Source
package.lisp (file)
- Nickname
org.tymoonnext.ratify
- Use List
common-lisp
4.5 ratify-email
- Source
package.lisp (file)
- Nickname
org.tymoonnext.ratify.email
- Use List
-
- Used By List
ratify-html
- Exported Definitions
-
- Internal Definitions
-
4.6 ratify-parsing
- Source
package.lisp (file)
- Nickname
org.tymoonnext.ratify.parsing
- Use List
-
- Used By List
-
- Exported Definitions
-
- Internal Definitions
*parsers* (special variable)
4.7 ratify-url
- Source
package.lisp (file)
- Nickname
org.tymoonnext.ratify.url
- Use List
-
- Used By List
-
- Exported Definitions
-
4.8 ratify-html
- Source
package.lisp (file)
- Nickname
org.tymoonnext.ratify.html
- Use List
-
- Exported Definitions
-
4.9 ratify-toolkit
- Source
package.lisp (file)
- Nickname
org.tymoonnext.ratify.toolkit
- Use List
common-lisp
- Used By List
-
- Exported Definitions
-
4.10 ratify-date
- Source
package.lisp (file)
- Nicknames
- ratify-time
- org.tymoonnext.ratify.time
- org.tymoonnext.ratify.date
- Use List
-
- Used By List
ratify-html
- Exported Definitions
-
4.11 ratify-types
- Source
package.lisp (file)
- Nickname
org.tymoonnext.ratify.types
- Use List
-
- Used By List
ratify-html
- Exported 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: *permitted-protocols*
-
List of permitted protocols in a URL.
- Package
ratify-url
- Source
url.lisp (file)
5.1.2 Macros
- Macro: define-parser NAME (PARAM START END) &body BODY
-
Defines a new parse function with NAME.
PARAM will be bound to the object to parse, which is a string unless otherwise
specified, START to the starting index (inc) and END to the ending index (exc).
This function creates two other functions automatically:
PARSE-name This is the main test function. If the test fails, an error of
type RATIFICATION-ERROR should be returned. If the test succeeds
the argument passed to it is always returned.
- Package
ratify-parsing
- Source
parsing.lisp (file)
- Macro: define-test NAME (PARAM START END) &body BODY
-
Defines a new test function with NAME.
PARAM will be bound to the object to test, which is a string unless otherwise
specified, START to the starting index (inc) and END to the ending index (exc).
This function creates two other functions automatically:
TEST-name This is the main test function. If the test fails, an error of
type RATIFICATION-ERROR should be returned. If the test succeeds
the argument passed to it is always returned.
name-P Equivalent to the TEST- function, except that it simply returns
NIL on failure instead of signalling an error.
- Package
ratify-testing
- Source
testing.lisp (file)
- Macro: perform-combined-tests &body TEST-FORMS
-
Same as PERFORM-TESTS, except with WITH-ERRORS-COMBINED in effect.
- Package
ratify-testing
- Source
testing.lisp (file)
- Macro: perform-tests &body TEST-FORMS
-
Performs a series of tests.
TEST-FORMS ::= TEST-FORM*
TEST-FORM ::= (test-name test-object*)
See TEST.
- Package
ratify-testing
- Source
testing.lisp (file)
- Macro: with-errors-combined &body BODY
-
Executes the body with special error handling.
Errors are gathered in a COMBINED-ERROR, which is finally signalled once
the body finishes or an error occurs and no SKIP-ERROR restart can be found.
If no errors occur within the body, the last value of the body is returned
as per PROGN.
- Package
ratify-testing
- Source
testing.lisp (file)
- Macro: with-parsed-forms PARSE-FORMS &body BODY
-
Performs a series of parsing operations on objects and rebinds their symbols to the results.
PARSE-FORMS ::= PARSE-FORM*
PARSE-FORM ::= (parser-name object*)
See PARSE.
The parse operations are performed within WITH-ERRORS-COMBINED.
As such all parse operations are always performed and only one or no
conditions are signalled as part of the parsing.
See WITH-ERRORS-COMBINED.
- Package
ratify-parsing
- Source
parsing.lisp (file)
- Macro: with-skipping &body BODY
-
Marks the body as being skippable if an error occurs within.
This establishes the restart SKIP-ERROR.
- Package
ratify-testing
- Source
testing.lisp (file)
5.1.3 Functions
- Function: absolute-path-p PATH &optional START END
-
Predicate version of TEST-ABSOLUTE-PATH, returns the passed value on success, NIL on error.
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: alphabetic-p ALPHA &optional START END
-
Predicate version of TEST-ALPHABETIC, returns the passed value on success, NIL on error.
- Package
ratify-types
- Source
types.lisp (file)
- Function: alphanumeric-p ALPHA &optional START END
-
Predicate version of TEST-ALPHANUMERIC, returns the passed value on success, NIL on error.
- Package
ratify-types
- Source
types.lisp (file)
- Function: authority-p AUTHORITY &optional START END
-
Predicate version of TEST-AUTHORITY, returns the passed value on success, NIL on error.
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: bit-p BIT &optional START END
-
Predicate version of TEST-BIT, returns the passed value on success, NIL on error.
- Package
ratify-types
- Source
types.lisp (file)
- Function: boolean-p BOOLEAN &optional START END
-
Predicate version of TEST-BOOLEAN, returns the passed value on success, NIL on error.
- Package
ratify-types
- Source
types.lisp (file)
- Function: character-p CHARACTER &optional START END
-
Predicate version of TEST-CHARACTER, returns the passed value on success, NIL on error.
- Package
ratify-types
- Source
types.lisp (file)
- Function: checkbox-p INPUT &optional START END
-
Predicate version of TEST-CHECKBOX, returns the passed value on success, NIL on error.
- Package
ratify-html
- Source
html.lisp (file)
- Function: color-p COLOR &optional START END
-
Predicate version of TEST-COLOR, returns the passed value on success, NIL on error.
- Package
ratify-css
- Source
css.lisp (file)
- Function: complex-p COMPLEX &optional START END
-
Predicate version of TEST-COMPLEX, returns the passed value on success, NIL on error.
- Package
ratify-types
- Source
types.lisp (file)
- Function: date-p DATE &optional START END
-
Predicate version of TEST-DATE, returns the passed value on success, NIL on error.
- Package
ratify-date
- Source
date.lisp (file)
- Function: datetime-local-p DATETIME &optional START END
-
Predicate version of TEST-DATETIME-LOCAL, returns the passed value on success, NIL on error.
- Package
ratify-html
- Source
html.lisp (file)
- Function: datetime-p DATETIME &optional START END
-
Predicate version of TEST-DATETIME, returns the passed value on success, NIL on error.
- Package
ratify-date
- Source
date.lisp (file)
- Function: day-p DAY &optional START END
-
Predicate version of TEST-DAY, returns the passed value on success, NIL on error.
- Package
ratify-date
- Source
date.lisp (file)
- Function: domain-p DOMAIN &optional START END
-
Predicate version of TEST-DOMAIN, returns the passed value on success, NIL on error.
- Package
ratify-url
- Source
url.lisp (file)
- Function: email-p EMAIL &optional START END
-
Predicate version of TEST-EMAIL, returns the passed value on success, NIL on error.
- Package
ratify-email
- Source
email.lisp (file)
- Function: file-p FILE &optional START END
-
Predicate version of TEST-FILE, returns the passed value on success, NIL on error.
- Package
ratify-html
- Source
html.lisp (file)
- Function: float-p FLOAT &optional START END
-
Predicate version of TEST-FLOAT, returns the passed value on success, NIL on error.
- Package
ratify-types
- Source
types.lisp (file)
- Function: fragment-p FRAGMENT &optional START END
-
Predicate version of TEST-FRAGMENT, returns the passed value on success, NIL on error.
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: hierarchical-part-p HIERARCHICAL &optional START END
-
Predicate version of TEST-HIERARCHICAL-PART, returns the passed value on success, NIL on error.
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: host-p HOST &optional START END
-
Predicate version of TEST-HOST, returns the passed value on success, NIL on error.
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: hostname-p HOSTNAME &optional START END
-
Predicate version of TEST-HOSTNAME, returns the passed value on success, NIL on error.
- Package
ratify-url
- Source
url.lisp (file)
- Function: hour-p HOUR &optional START END
-
Predicate version of TEST-HOUR, returns the passed value on success, NIL on error.
- Package
ratify-date
- Source
date.lisp (file)
- Function: integer-p INTEGER &optional START END
-
Predicate version of TEST-INTEGER, returns the passed value on success, NIL on error.
- Package
ratify-types
- Source
types.lisp (file)
- Function: ip-p IP &optional START END
-
Predicate version of TEST-IP, returns the passed value on success, NIL on error.
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: ipv4-p IP &optional START END
-
Predicate version of TEST-IPV4, returns the passed value on success, NIL on error.
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: ipv6-p IP &optional START END
-
Predicate version of TEST-IPV6, returns the passed value on success, NIL on error.
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: make-keyword NAME
-
Returns the keyword equivalent of the passed NAME.
- Package
ratify-toolkit
- Source
toolkit.lisp (file)
- Function: minute-p MINUTE &optional START END
-
Predicate version of TEST-MINUTE, returns the passed value on success, NIL on error.
- Package
ratify-date
- Source
date.lisp (file)
- Function: month-p MONTH &optional START END
-
Predicate version of TEST-MONTH, returns the passed value on success, NIL on error.
- Package
ratify-date
- Source
date.lisp (file)
- Function: number-p NUMBER &optional START END
-
Predicate version of TEST-NUMBER, returns the passed value on success, NIL on error.
- Package
ratify-types
- Source
types.lisp (file)
- Function: numeric-p NUMBER &optional START END
-
Predicate version of TEST-NUMERIC, returns the passed value on success, NIL on error.
- Package
ratify-types
- Source
types.lisp (file)
- Function: offset-p OFFSET &optional START END
-
Predicate version of TEST-OFFSET, returns the passed value on success, NIL on error.
- Package
ratify-date
- Source
date.lisp (file)
- Function: parse PARSER-NAME OBJECT
-
Attempts to parse OBJECT using the parser named by PARSER-NAME.
Automatically establishes a SKIP-ERROR restart as per WITH-SKIPPING.
Performs exactly two operations:
1) Call the test function of name PARSER-NAME on the object
2) Call the parse function of name PARSER-NAME on the object
- Package
ratify-parsing
- Source
parsing.lisp (file)
- Function: parse-bit BIT &optional START END
-
Parses into a bit of either 1 or 0.
- Package
ratify-types
- Source
types.lisp (file)
- Function: parse-boolean BOOLEAN &optional START END
-
Parses into a boolean.
Returns T if one of ("1" "true" "T"), NIL otherwise.
- Package
ratify-types
- Source
types.lisp (file)
- Function: parse-character CHARACTER &optional START END
-
Parses into a character.
- Package
ratify-types
- Source
types.lisp (file)
- Function: parse-complex COMPLEX &optional START END
-
Parses into a complex number.
- Package
ratify-types
- Source
types.lisp (file)
- Function: parse-date DATE &optional START END
-
Parses the given date into a LOCAL-TIME:TIMESTAMP object.
- Package
ratify-date
- Source
date.lisp (file)
- Function: parse-datetime DATETIME &optional START END
-
Parses the given datetime into a LOCAL-TIME:TIMESTAMP object.
The only part that is allowed to be omitted is the timezone offset specification.
- Package
ratify-date
- Source
date.lisp (file)
- Function: parse-day DAY &optional START END
-
Parses the day into an integer
- Package
ratify-date
- Source
date.lisp (file)
- Function: parse-float FLOAT &optional START END
-
Parses into a float.
- Package
ratify-types
- Source
types.lisp (file)
- Function: parse-hour HOUR &optional START END
-
Parses the hour into an integer
- Package
ratify-date
- Source
date.lisp (file)
- Function: parse-minute MINUTE &optional START END
-
Parses the minute into an integer
- Package
ratify-date
- Source
date.lisp (file)
- Function: parse-month MONTH &optional START END
-
Parses the month into an integer.
- Package
ratify-date
- Source
date.lisp (file)
- Function: parse-number NUMBER &optional START END
-
Parses into a number.
- Package
ratify-types
- Source
types.lisp (file)
- Function: parse-offset OFFSET &optional START END
-
Parses the offset into a list of (DIR HOUR MINUTE), wherein DIR is
a string of either "+" or "-", denoting the direction of the offset.
- Package
ratify-date
- Source
date.lisp (file)
- Function: parse-ratio RATIO &optional START END
-
Parses into a ratio.
- Package
ratify-types
- Source
types.lisp (file)
- Function: parse-rational RATIONAL &optional START END
-
Parses into a rational.
- Package
ratify-types
- Source
types.lisp (file)
- Function: parse-real REAL &optional START END
-
Parses into a real.
- Package
ratify-types
- Source
types.lisp (file)
- Function: parse-second SECOND &optional START END
-
Parses the second into an integer
- Package
ratify-date
- Source
date.lisp (file)
- Function: parse-string STRING &optional START END
-
Parses into a string (simply returns its argument).
- Package
ratify-types
- Source
types.lisp (file)
- Function: parse-time TIME &optional START END
-
Parses the given time into a LOCAL-TIME:TIMESTAMP object.
- Package
ratify-date
- Source
date.lisp (file)
- Function: parse-unsigned-integer INTEGER &optional START END
-
Parses into an integer.
- Package
ratify-types
- Source
types.lisp (file)
- Function: parse-year YEAR &optional START END
-
Parses the year into an integer.
- Package
ratify-date
- Source
date.lisp (file)
- Function: parser NAME
-
Returns the function associated with the NAME.
If no such parser can be found, #’IDENTITY is returned.
The name is converted to a keyword.
SETF-able.
- Package
ratify-parsing
- Source
parsing.lisp (file)
- Writer
(setf parser) (function)
- Function: (setf parser) FUNCTION NAME
-
Sets a function to be used for a certain parser.
The name is converted to a keyword.
- Package
ratify-parsing
- Source
parsing.lisp (file)
- Reader
parser (function)
- Function: password-p PW &optional START END
-
Predicate version of TEST-PASSWORD, returns the passed value on success, NIL on error.
- Package
ratify-html
- Source
html.lisp (file)
- Function: path-segment-p SEGMENT &optional START END
-
Predicate version of TEST-PATH-SEGMENT, returns the passed value on success, NIL on error.
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: perform-test TEST-NAME TEST-OBJECT
-
Performs the test named by TEST-NAME on TEST-OBJECT.
Automatically establishes a SKIP-ERROR restart and resignals any error
as a new error of type TEST-FAILED.
- Package
ratify-testing
- Source
testing.lisp (file)
- Function: port-p PORT &optional START END
-
Predicate version of TEST-PORT, returns the passed value on success, NIL on error.
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: property-p PROPERTY &optional START END
-
Predicate version of TEST-PROPERTY, returns the passed value on success, NIL on error.
- Package
ratify-css
- Source
css.lisp (file)
- Function: protocol-p PROTOCOL &optional START END
-
Predicate version of TEST-PROTOCOL, returns the passed value on success, NIL on error.
- Package
ratify-url
- Source
url.lisp (file)
- Function: query-p QUERY &optional START END
-
Predicate version of TEST-QUERY, returns the passed value on success, NIL on error.
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: radio-p RADIO &optional START END
-
Predicate version of TEST-RADIO, returns the passed value on success, NIL on error.
- Package
ratify-html
- Source
html.lisp (file)
- Function: range-p RANGE &optional START END
-
Predicate version of TEST-RANGE, returns the passed value on success, NIL on error.
- Package
ratify-html
- Source
html.lisp (file)
- Function: ratification-error TEST-OBJECT &optional MESSAGE &rest FORMAT-ARGS
-
Shorthand function to signal a RATIFICATION-ERROR.
- Package
ratify-toolkit
- Source
toolkit.lisp (file)
- Function: ratio-p RATIO &optional START END
-
Predicate version of TEST-RATIO, returns the passed value on success, NIL on error.
- Package
ratify-types
- Source
types.lisp (file)
- Function: rational-p RATIONAL &optional START END
-
Predicate version of TEST-RATIONAL, returns the passed value on success, NIL on error.
- Package
ratify-types
- Source
types.lisp (file)
- Function: real-p REAL &optional START END
-
Predicate version of TEST-REAL, returns the passed value on success, NIL on error.
- Package
ratify-types
- Source
types.lisp (file)
- Function: rootless-path-p PATH &optional START END
-
Predicate version of TEST-ROOTLESS-PATH, returns the passed value on success, NIL on error.
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: scheme-p SCHEME &optional START END
-
Predicate version of TEST-SCHEME, returns the passed value on success, NIL on error.
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: search-p SEARCH &optional START END
-
Predicate version of TEST-SEARCH, returns the passed value on success, NIL on error.
- Package
ratify-html
- Source
html.lisp (file)
- Function: second-p SECOND &optional START END
-
Predicate version of TEST-SECOND, returns the passed value on success, NIL on error.
- Package
ratify-date
- Source
date.lisp (file)
- Function: skippable-error DATUM &rest ARGUMENTS
-
Signals a skippable error as per WITH-SKIPPING.
- Package
ratify-testing
- Source
testing.lisp (file)
- Function: string-p STRING &optional START END
-
Predicate version of TEST-STRING, returns the passed value on success, NIL on error.
- Package
ratify-types
- Source
types.lisp (file)
- Function: tel-p TEL &optional START END
-
Predicate version of TEST-TEL, returns the passed value on success, NIL on error.
- Package
ratify-html
- Source
html.lisp (file)
- Function: test NAME
-
Returns the function associated with the NAME.
If no such test can be found, an error is signalled.
The name is converted to a keyword.
SETF-able.
- Package
ratify-testing
- Source
testing.lisp (file)
- Writer
(setf test) (function)
- Function: (setf test) FUNCTION NAME
-
Sets a function to be used for a certain test.
The name is converted to a keyword.
- Package
ratify-testing
- Source
testing.lisp (file)
- Reader
test (function)
- Function: test-absolute-path PATH &optional START END
-
Tests for a valid absolute path.
/<rootless-path>
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: test-alphabetic ALPHA &optional START END
-
Tests for an alphabetic string.
[a-zA-Z]*
- Package
ratify-types
- Source
types.lisp (file)
- Function: test-alphanumeric ALPHA &optional START END
-
Tests for an alphanumeric string.
[a-zA-Z0-9]*
- Package
ratify-types
- Source
types.lisp (file)
- Function: test-authority AUTHORITY &optional START END
-
Tests for a valid authority.
(<user>@)?<authority>(:<port>)?
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: test-bit BIT &optional START END
-
Tests for a valid bit.
[01]
- Package
ratify-types
- Source
types.lisp (file)
- Function: test-boolean BOOLEAN &optional START END
-
Tests for a valid boolean.
1|0|true|false|T|NIL
case-insensitive
- Package
ratify-types
- Source
types.lisp (file)
- Function: test-character CHARACTER &optional START END
-
Tests for a valid character.
.{1}
- Package
ratify-types
- Source
types.lisp (file)
- Function: test-checkbox INPUT &optional START END
-
- Package
ratify-html
- Source
html.lisp (file)
- Function: test-color COLOR &optional START END
-
- Package
ratify-css
- Source
css.lisp (file)
- Function: test-complex COMPLEX &optional START END
-
Tests for a valid complex number.
<real>[cC]<real>
- Package
ratify-types
- Source
types.lisp (file)
- Function: test-date DATE &optional START END
-
Tests for a valid date.
<year>-<month>-<day>
- Package
ratify-date
- Source
date.lisp (file)
- Function: test-datetime DATETIME &optional START END
-
Tests for a valid datetime.
<year>-<month>-<day>T<hour>:<minute>:<second>Z<offset>
- Package
ratify-date
- Source
date.lisp (file)
- Function: test-datetime-local DATETIME &optional START END
-
- Package
ratify-html
- Source
html.lisp (file)
- Function: test-day DAY &optional START END
-
Tests for a valid day.
[0-9]{1,2}
1<=val<=31
- Package
ratify-date
- Source
date.lisp (file)
- Function: test-domain DOMAIN &optional START END
-
Tests for a valid domain.
[<ip>]|<hostname>
- Package
ratify-url
- Source
url.lisp (file)
- Function: test-email EMAIL &optional START END
-
Test an e-mail address for validity according to http://en.wikipedia.org/wiki/Email_address#Syntax
<local-part>@<domain>
- Package
ratify-email
- Source
email.lisp (file)
- Function: test-file FILE &optional START END
-
- Package
ratify-html
- Source
html.lisp (file)
- Function: test-float FLOAT &optional START END
-
Tests for a valid float.
[+-]?<unsigned-integer>(\.<unsigned-integer>)?(e<unsigned-integer>)?
- Package
ratify-types
- Source
types.lisp (file)
- Function: test-fragment FRAGMENT &optional START END
-
Tests for a valid fragment part.
[a-zA-Z0-9!$&’()*+,;=-._~:@?/]+
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: test-hierarchical-part HIERARCHICAL &optional START END
-
Tests for a valid hierarchical part.
<absolute-path>|//<authority><absolute-path>
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: test-host HOST &optional START END
-
Tests for a valid host name.
[<ip>]|[a-zA-Z0-9-._~%!$&’()*+,;=]+
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: test-hostname HOSTNAME &optional START END
-
Test a hostname for validity according to http://en.wikipedia.org/wiki/Hostname
[a-zA-Z0-9-]{1,63}(\.[a-zA-Z0-9-]{1,63})*
1<=length<=255
- Package
ratify-url
- Source
url.lisp (file)
- Function: test-hour HOUR &optional START END
-
Tests for a valid hour.
[0-9]{1,2}
0<=val<=23
- Package
ratify-date
- Source
date.lisp (file)
- Function: test-integer INTEGER &optional START END
-
Tests for a valid signed integer.
[+-]?<unsigned-integer>
- Package
ratify-types
- Source
types.lisp (file)
- Function: test-ip IP &optional START END
-
Tests for a valid IP address.
<ipv6>|<ipv4>
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: test-ipv4 IP &optional START END
-
Tests for a valid IPv4
<unsigned-integer>\.<unsigned-integer>\.<unsigned-integer>\.<unsigned-integer>
0<=unsigned-integer<=255
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: test-ipv6 IP &optional START END
-
Tests for a valid IPv6
[0-9A-F]:(:|[0-9A-F]:){1,6})[0-9A-F]?
0000<=val<=FFFF
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: test-minute MINUTE &optional START END
-
Tests for a valid minute.
[0-9]{1,2}
0<=val<=59
- Package
ratify-date
- Source
date.lisp (file)
- Function: test-month MONTH &optional START END
-
Tests for a valid month.
[0-9]{1,2}
1<=val<=12
- Package
ratify-date
- Source
date.lisp (file)
- Function: test-number NUMBER &optional START END
-
Tests for a valid number.
<real>|<complex>
- Package
ratify-types
- Source
types.lisp (file)
- Function: test-numeric NUMBER &optional START END
-
Tests for a numeric string.
[0-9]*
- Package
ratify-types
- Source
types.lisp (file)
- Function: test-offset OFFSET &optional START END
-
Tests for a valid offset.
[-+]hour:minute
- Package
ratify-date
- Source
date.lisp (file)
- Function: test-password PW &optional START END
-
- Package
ratify-html
- Source
html.lisp (file)
- Function: test-path-segment SEGMENT &optional START END
-
Tests for a valid path segment.
[a-zA-Z0-9!$&’()*+,;=-._~:@]+
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: test-port PORT &optional START END
-
Tests for a valid port.
<unsigned-integer>
0<=val<=65535
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: test-property PROPERTY &optional START END
-
- Package
ratify-css
- Source
css.lisp (file)
- Function: test-protocol PROTOCOL &optional START END
-
Tests for a valid protocol according to *PERMITTED-PROTOCOLS*
- Package
ratify-url
- Source
url.lisp (file)
- Function: test-query QUERY &optional START END
-
Tests for a valid query part.
[a-zA-Z0-9!$&’()*+,;=-._~:@?/]+
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: test-radio RADIO &optional START END
-
- Package
ratify-html
- Source
html.lisp (file)
- Function: test-range RANGE &optional START END
-
- Package
ratify-html
- Source
html.lisp (file)
- Function: test-ratio RATIO &optional START END
-
Tests for a valid ratio.
[+-]?<unsigned-integer>/<unsigned-integer>
- Package
ratify-types
- Source
types.lisp (file)
- Function: test-rational RATIONAL &optional START END
-
Tests for a valid rational.
[+-]?<unsigned-integer>(/<unsigned-integer>)?
- Package
ratify-types
- Source
types.lisp (file)
- Function: test-real REAL &optional START END
-
Tests for a valid real.
<rational>|<float>
- Package
ratify-types
- Source
types.lisp (file)
- Function: test-rootless-path PATH &optional START END
-
Tests for a valid rootless path.
<segment-nz>(/<segment>)?
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: test-scheme SCHEME &optional START END
-
Tests for a valid scheme.
[a-zA-Z][a-zA-Z0-9-.+]*
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: test-search SEARCH &optional START END
-
- Package
ratify-html
- Source
html.lisp (file)
- Function: test-second SECOND &optional START END
-
Tests for a valid second.
[0-9]{1,2}
0<=val<=59
- Package
ratify-date
- Source
date.lisp (file)
- Function: test-string STRING &optional START END
-
Tests for a valid string.
.+
- Package
ratify-types
- Source
types.lisp (file)
- Function: test-tel TEL &optional START END
-
- Package
ratify-html
- Source
html.lisp (file)
- Function: test-text TEXT &optional START END
-
- Package
ratify-html
- Source
html.lisp (file)
- Function: test-textarea TEXT &optional START END
-
- Package
ratify-html
- Source
html.lisp (file)
- Function: test-time TIME &optional START END
-
Tests for a valid time.
<hour>:<minute>:<second>Z<offset>
- Package
ratify-date
- Source
date.lisp (file)
- Function: test-unsigned-integer INTEGER &optional START END
-
Tests for a valid unsigned integer.
<numeric>
- Package
ratify-types
- Source
types.lisp (file)
- Function: test-uri URI &optional START END
-
Tests for a valid URI according to http://tools.ietf.org/html/rfc3986
<scheme>:<hierarchical-part>(?<query>)?(#<fragment>)?
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: test-url URL &optional START END
-
Tests for a valid URL.
(<protocol>://)?(<domain>)?<absolute-path>(?<query>)?(#<fragment>)?
- Package
ratify-url
- Source
url.lisp (file)
- Function: test-user USER &optional START END
-
Tests for a valid user.
[a-zA-Z0-9%!$&’()*+,;=-._~:]+
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: test-year YEAR &optional START END
-
Tests for a valid year.
[0-9]{4}
- Package
ratify-date
- Source
date.lisp (file)
- Function: text-p TEXT &optional START END
-
Predicate version of TEST-TEXT, returns the passed value on success, NIL on error.
- Package
ratify-html
- Source
html.lisp (file)
- Function: textarea-p TEXT &optional START END
-
Predicate version of TEST-TEXTAREA, returns the passed value on success, NIL on error.
- Package
ratify-html
- Source
html.lisp (file)
- Function: time-p TIME &optional START END
-
Predicate version of TEST-TIME, returns the passed value on success, NIL on error.
- Package
ratify-date
- Source
date.lisp (file)
- Function: true-alpha-p CHAR
-
Returns T if the character is one of a-Z.
ALPHA-CHAR-P as per CLHS is not strictly limited to just a-Z and returns T
for undesired characters like ü on some implementations like SBCL.
- Package
ratify-toolkit
- Source
toolkit.lisp (file)
- Function: true-alphanumeric-p CHAR
-
Returns T if the character is one of a-Z 0-9.
ALPHANUMERICP as per CLHS is not strictly limited to just a-Z 0-9 and returns T
for undesired characters like ü on some implementations like SBCL.
- Package
ratify-toolkit
- Source
toolkit.lisp (file)
- Function: unsigned-integer-p INTEGER &optional START END
-
Predicate version of TEST-UNSIGNED-INTEGER, returns the passed value on success, NIL on error.
- Package
ratify-types
- Source
types.lisp (file)
- Function: uri-p URI &optional START END
-
Predicate version of TEST-URI, returns the passed value on success, NIL on error.
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: url-p URL &optional START END
-
Predicate version of TEST-URL, returns the passed value on success, NIL on error.
- Package
ratify-url
- Source
url.lisp (file)
- Function: user-p USER &optional START END
-
Predicate version of TEST-USER, returns the passed value on success, NIL on error.
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: year-p YEAR &optional START END
-
Predicate version of TEST-YEAR, returns the passed value on success, NIL on error.
- Package
ratify-date
- Source
date.lisp (file)
5.1.4 Generic functions
- Generic Function: cause CONDITION
-
- Generic Function: (setf cause) NEW-VALUE CONDITION
-
- Package
ratify-testing
- Methods
- Method: cause (CONDITION test-failed)
-
- Method: (setf cause) NEW-VALUE (CONDITION test-failed)
-
- Source
testing.lisp (file)
- Generic Function: errors CONDITION
-
- Generic Function: (setf errors) NEW-VALUE CONDITION
-
- Package
ratify-testing
- Methods
- Method: errors (CONDITION combined-error)
-
- Method: (setf errors) NEW-VALUE (CONDITION combined-error)
-
- Source
testing.lisp (file)
- Generic Function: message CONDITION
-
- Generic Function: (setf message) NEW-VALUE CONDITION
-
- Package
ratify-toolkit
- Methods
- Method: message (CONDITION ratification-error)
-
- Method: (setf message) NEW-VALUE (CONDITION ratification-error)
-
- Source
toolkit.lisp (file)
- Generic Function: test-name CONDITION
-
- Generic Function: (setf test-name) NEW-VALUE CONDITION
-
- Package
ratify-testing
- Methods
- Method: test-name (CONDITION test-failed)
-
- Method: (setf test-name) NEW-VALUE (CONDITION test-failed)
-
- Source
testing.lisp (file)
- Generic Function: test-object CONDITION
-
- Generic Function: (setf test-object) NEW-VALUE CONDITION
-
- Package
ratify-toolkit
- Methods
- Method: test-object (CONDITION test-failed)
-
- Method: (setf test-object) NEW-VALUE (CONDITION test-failed)
-
- Source
testing.lisp (file)
- Method: test-object (CONDITION ratification-error)
-
- Method: (setf test-object) NEW-VALUE (CONDITION ratification-error)
-
- Source
toolkit.lisp (file)
5.1.5 Conditions
- Condition: combined-error ()
-
An error object that holds a combination of other errors.
Used to test multiple things before unwinding the stack.
- Package
ratify-testing
- Source
testing.lisp (file)
- Direct superclasses
error (condition)
- Direct methods
- errors (method)
- errors (method)
- Direct slots
- Slot: errors
-
- Initargs
:errors
- Initform
(quote nil)
- Readers
errors (generic function)
- Writers
(setf errors) (generic function)
- Condition: ratification-error ()
-
Error signalled if a test function hit an error in the format.
The TEST-OBJECT slot contains the object that failed to pass the test.
The MESSAGE slot contains a verbal explanation of what went wrong.
- Package
ratify-toolkit
- Source
toolkit.lisp (file)
- Direct superclasses
error (condition)
- Direct methods
-
- Direct slots
- Slot: %message
-
- Initargs
:message
- Initform
(quote nil)
- Readers
message (generic function)
- Writers
(setf message) (generic function)
- Slot: %test-object
-
- Initargs
:test-object
- Initform
(quote (error "test-object required"))
- Readers
test-object (generic function)
- Writers
(setf test-object) (generic function)
- Condition: test-failed ()
-
Condition signalled when a test fails.
The TEST-NAME slot specifies the name of the test that was run.
The TEST-OBJECT slot contains the object that failed the test.
The CAUSE slot contains the original error object, usually of type RATIFICATION-ERROR.
- Package
ratify-testing
- Source
testing.lisp (file)
- Direct superclasses
error (condition)
- Direct methods
-
- Direct slots
- Slot: %test-name
-
- Initargs
:test-name
- Initform
(quote (error "test-name required"))
- Readers
test-name (generic function)
- Writers
(setf test-name) (generic function)
- Slot: %test-object
-
- Initargs
:test-object
- Initform
(quote (error "test-object required"))
- Readers
test-object (generic function)
- Writers
(setf test-object) (generic function)
- Slot: %cause
-
- Initargs
:cause
- Initform
(quote nil)
- Readers
cause (generic function)
- Writers
(setf cause) (generic function)
5.2 Internal definitions
5.2.1 Special variables
- Special Variable: *css-color-names*
-
- Package
ratify-css
- Source
css.lisp (file)
- Special Variable: *parsers*
-
Hash map mapping keywords to parsing functions.
A parse function should take one argument.
- Package
ratify-parsing
- Source
parsing.lisp (file)
- Special Variable: *tests*
-
Hash map mapping keywords to testing functions.
A test function should take one argument.
- Package
ratify-testing
- Source
testing.lisp (file)
5.2.2 Functions
- Function: css-argslist ARGSLIST START END
-
- Package
ratify-css
- Source
css.lisp (file)
- Function: email-atpos EMAIL START END
-
- Package
ratify-email
- Source
email.lisp (file)
- Function: general-delimiter-p CHAR
-
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: local-part-p LOCAL-PART &optional START END
-
Predicate version of TEST-LOCAL-PART, returns the passed value on success, NIL on error.
- Package
ratify-email
- Source
email.lisp (file)
- Function: parse-port PORT &optional START END
-
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: pchar-p CHAR
-
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: percent-encoded-p CHAR
-
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: perform-test-no-skip TEST-NAME TEST-OBJECT
-
- Package
ratify-testing
- Source
testing.lisp (file)
- Function: reserved-character-p CHAR
-
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: sub-delimiter-p CHAR
-
- Package
ratify-uri
- Source
uri.lisp (file)
- Function: test-hsl VALS
-
- Package
ratify-css
- Source
css.lisp (file)
- Function: test-local-part LOCAL-PART &optional START END
-
Tests for a valid email local-part.
[!#$%&’*+-/=?^_‘{|}~a-zA-Z0-9][!#$%&’*+-/=?^_‘{|}~.a-zA-Z0-9]{0,63}
- Package
ratify-email
- Source
email.lisp (file)
- Function: test-percentage P
-
- Package
ratify-css
- Source
css.lisp (file)
- Function: test-rgb VALS
-
- Package
ratify-css
- Source
css.lisp (file)
- Function: unreserved-character-p CHAR
-
- Package
ratify-uri
- Source
uri.lisp (file)
Appendix A Indexes
A.1 Concepts
| Index Entry | | Section |
|
F | | |
| File, Lisp, ratify.asd: | | The ratify․asd file |
| File, Lisp, ratify/css.lisp: | | The ratify/css․lisp file |
| File, Lisp, ratify/date.lisp: | | The ratify/date․lisp file |
| File, Lisp, ratify/email.lisp: | | The ratify/email․lisp file |
| File, Lisp, ratify/html.lisp: | | The ratify/html․lisp file |
| File, Lisp, ratify/package.lisp: | | The ratify/package․lisp file |
| File, Lisp, ratify/parsing.lisp: | | The ratify/parsing․lisp file |
| File, Lisp, ratify/testing.lisp: | | The ratify/testing․lisp file |
| File, Lisp, ratify/toolkit.lisp: | | The ratify/toolkit․lisp file |
| File, Lisp, ratify/types.lisp: | | The ratify/types․lisp file |
| File, Lisp, ratify/uri.lisp: | | The ratify/uri․lisp file |
| File, Lisp, ratify/url.lisp: | | The ratify/url․lisp file |
|
L | | |
| Lisp File, ratify.asd: | | The ratify․asd file |
| Lisp File, ratify/css.lisp: | | The ratify/css․lisp file |
| Lisp File, ratify/date.lisp: | | The ratify/date․lisp file |
| Lisp File, ratify/email.lisp: | | The ratify/email․lisp file |
| Lisp File, ratify/html.lisp: | | The ratify/html․lisp file |
| Lisp File, ratify/package.lisp: | | The ratify/package․lisp file |
| Lisp File, ratify/parsing.lisp: | | The ratify/parsing․lisp file |
| Lisp File, ratify/testing.lisp: | | The ratify/testing․lisp file |
| Lisp File, ratify/toolkit.lisp: | | The ratify/toolkit․lisp file |
| Lisp File, ratify/types.lisp: | | The ratify/types․lisp file |
| Lisp File, ratify/uri.lisp: | | The ratify/uri․lisp file |
| Lisp File, ratify/url.lisp: | | The ratify/url․lisp file |
|
R | | |
| ratify.asd: | | The ratify․asd file |
| ratify/css.lisp: | | The ratify/css․lisp file |
| ratify/date.lisp: | | The ratify/date․lisp file |
| ratify/email.lisp: | | The ratify/email․lisp file |
| ratify/html.lisp: | | The ratify/html․lisp file |
| ratify/package.lisp: | | The ratify/package․lisp file |
| ratify/parsing.lisp: | | The ratify/parsing․lisp file |
| ratify/testing.lisp: | | The ratify/testing․lisp file |
| ratify/toolkit.lisp: | | The ratify/toolkit․lisp file |
| ratify/types.lisp: | | The ratify/types․lisp file |
| ratify/uri.lisp: | | The ratify/uri․lisp file |
| ratify/url.lisp: | | The ratify/url․lisp file |
|
A.2 Functions
| Index Entry | | Section |
|
( | | |
| (setf cause) : | | Exported generic functions |
| (setf cause) : | | Exported generic functions |
| (setf errors) : | | Exported generic functions |
| (setf errors) : | | Exported generic functions |
| (setf message) : | | Exported generic functions |
| (setf message) : | | Exported generic functions |
| (setf parser) : | | Exported functions |
| (setf test) : | | Exported functions |
| (setf test-name) : | | Exported generic functions |
| (setf test-name) : | | Exported generic functions |
| (setf test-object) : | | Exported generic functions |
| (setf test-object) : | | Exported generic functions |
| (setf test-object) : | | Exported generic functions |
|
A | | |
| absolute-path-p : | | Exported functions |
| alphabetic-p : | | Exported functions |
| alphanumeric-p : | | Exported functions |
| authority-p : | | Exported functions |
|
B | | |
| bit-p : | | Exported functions |
| boolean-p : | | Exported functions |
|
C | | |
| cause : | | Exported generic functions |
| cause : | | Exported generic functions |
| character-p : | | Exported functions |
| checkbox-p : | | Exported functions |
| color-p : | | Exported functions |
| complex-p : | | Exported functions |
| css-argslist : | | Internal functions |
|
D | | |
| date-p : | | Exported functions |
| datetime-local-p : | | Exported functions |
| datetime-p : | | Exported functions |
| day-p : | | Exported functions |
| define-parser : | | Exported macros |
| define-test : | | Exported macros |
| domain-p : | | Exported functions |
|
E | | |
| email-atpos : | | Internal functions |
| email-p : | | Exported functions |
| errors : | | Exported generic functions |
| errors : | | Exported generic functions |
|
F | | |
| file-p : | | Exported functions |
| float-p : | | Exported functions |
| fragment-p : | | Exported functions |
| Function, (setf parser) : | | Exported functions |
| Function, (setf test) : | | Exported functions |
| Function, absolute-path-p : | | Exported functions |
| Function, alphabetic-p : | | Exported functions |
| Function, alphanumeric-p : | | Exported functions |
| Function, authority-p : | | Exported functions |
| Function, bit-p : | | Exported functions |
| Function, boolean-p : | | Exported functions |
| Function, character-p : | | Exported functions |
| Function, checkbox-p : | | Exported functions |
| Function, color-p : | | Exported functions |
| Function, complex-p : | | Exported functions |
| Function, css-argslist : | | Internal functions |
| Function, date-p : | | Exported functions |
| Function, datetime-local-p : | | Exported functions |
| Function, datetime-p : | | Exported functions |
| Function, day-p : | | Exported functions |
| Function, domain-p : | | Exported functions |
| Function, email-atpos : | | Internal functions |
| Function, email-p : | | Exported functions |
| Function, file-p : | | Exported functions |
| Function, float-p : | | Exported functions |
| Function, fragment-p : | | Exported functions |
| Function, general-delimiter-p : | | Internal functions |
| Function, hierarchical-part-p : | | Exported functions |
| Function, host-p : | | Exported functions |
| Function, hostname-p : | | Exported functions |
| Function, hour-p : | | Exported functions |
| Function, integer-p : | | Exported functions |
| Function, ip-p : | | Exported functions |
| Function, ipv4-p : | | Exported functions |
| Function, ipv6-p : | | Exported functions |
| Function, local-part-p : | | Internal functions |
| Function, make-keyword : | | Exported functions |
| Function, minute-p : | | Exported functions |
| Function, month-p : | | Exported functions |
| Function, number-p : | | Exported functions |
| Function, numeric-p : | | Exported functions |
| Function, offset-p : | | Exported functions |
| Function, parse : | | Exported functions |
| Function, parse-bit : | | Exported functions |
| Function, parse-boolean : | | Exported functions |
| Function, parse-character : | | Exported functions |
| Function, parse-complex : | | Exported functions |
| Function, parse-date : | | Exported functions |
| Function, parse-datetime : | | Exported functions |
| Function, parse-day : | | Exported functions |
| Function, parse-float : | | Exported functions |
| Function, parse-hour : | | Exported functions |
| Function, parse-minute : | | Exported functions |
| Function, parse-month : | | Exported functions |
| Function, parse-number : | | Exported functions |
| Function, parse-offset : | | Exported functions |
| Function, parse-port : | | Internal functions |
| Function, parse-ratio : | | Exported functions |
| Function, parse-rational : | | Exported functions |
| Function, parse-real : | | Exported functions |
| Function, parse-second : | | Exported functions |
| Function, parse-string : | | Exported functions |
| Function, parse-time : | | Exported functions |
| Function, parse-unsigned-integer : | | Exported functions |
| Function, parse-year : | | Exported functions |
| Function, parser : | | Exported functions |
| Function, password-p : | | Exported functions |
| Function, path-segment-p : | | Exported functions |
| Function, pchar-p : | | Internal functions |
| Function, percent-encoded-p : | | Internal functions |
| Function, perform-test : | | Exported functions |
| Function, perform-test-no-skip : | | Internal functions |
| Function, port-p : | | Exported functions |
| Function, property-p : | | Exported functions |
| Function, protocol-p : | | Exported functions |
| Function, query-p : | | Exported functions |
| Function, radio-p : | | Exported functions |
| Function, range-p : | | Exported functions |
| Function, ratification-error : | | Exported functions |
| Function, ratio-p : | | Exported functions |
| Function, rational-p : | | Exported functions |
| Function, real-p : | | Exported functions |
| Function, reserved-character-p : | | Internal functions |
| Function, rootless-path-p : | | Exported functions |
| Function, scheme-p : | | Exported functions |
| Function, search-p : | | Exported functions |
| Function, second-p : | | Exported functions |
| Function, skippable-error : | | Exported functions |
| Function, string-p : | | Exported functions |
| Function, sub-delimiter-p : | | Internal functions |
| Function, tel-p : | | Exported functions |
| Function, test : | | Exported functions |
| Function, test-absolute-path : | | Exported functions |
| Function, test-alphabetic : | | Exported functions |
| Function, test-alphanumeric : | | Exported functions |
| Function, test-authority : | | Exported functions |
| Function, test-bit : | | Exported functions |
| Function, test-boolean : | | Exported functions |
| Function, test-character : | | Exported functions |
| Function, test-checkbox : | | Exported functions |
| Function, test-color : | | Exported functions |
| Function, test-complex : | | Exported functions |
| Function, test-date : | | Exported functions |
| Function, test-datetime : | | Exported functions |
| Function, test-datetime-local : | | Exported functions |
| Function, test-day : | | Exported functions |
| Function, test-domain : | | Exported functions |
| Function, test-email : | | Exported functions |
| Function, test-file : | | Exported functions |
| Function, test-float : | | Exported functions |
| Function, test-fragment : | | Exported functions |
| Function, test-hierarchical-part : | | Exported functions |
| Function, test-host : | | Exported functions |
| Function, test-hostname : | | Exported functions |
| Function, test-hour : | | Exported functions |
| Function, test-hsl : | | Internal functions |
| Function, test-integer : | | Exported functions |
| Function, test-ip : | | Exported functions |
| Function, test-ipv4 : | | Exported functions |
| Function, test-ipv6 : | | Exported functions |
| Function, test-local-part : | | Internal functions |
| Function, test-minute : | | Exported functions |
| Function, test-month : | | Exported functions |
| Function, test-number : | | Exported functions |
| Function, test-numeric : | | Exported functions |
| Function, test-offset : | | Exported functions |
| Function, test-password : | | Exported functions |
| Function, test-path-segment : | | Exported functions |
| Function, test-percentage : | | Internal functions |
| Function, test-port : | | Exported functions |
| Function, test-property : | | Exported functions |
| Function, test-protocol : | | Exported functions |
| Function, test-query : | | Exported functions |
| Function, test-radio : | | Exported functions |
| Function, test-range : | | Exported functions |
| Function, test-ratio : | | Exported functions |
| Function, test-rational : | | Exported functions |
| Function, test-real : | | Exported functions |
| Function, test-rgb : | | Internal functions |
| Function, test-rootless-path : | | Exported functions |
| Function, test-scheme : | | Exported functions |
| Function, test-search : | | Exported functions |
| Function, test-second : | | Exported functions |
| Function, test-string : | | Exported functions |
| Function, test-tel : | | Exported functions |
| Function, test-text : | | Exported functions |
| Function, test-textarea : | | Exported functions |
| Function, test-time : | | Exported functions |
| Function, test-unsigned-integer : | | Exported functions |
| Function, test-uri : | | Exported functions |
| Function, test-url : | | Exported functions |
| Function, test-user : | | Exported functions |
| Function, test-year : | | Exported functions |
| Function, text-p : | | Exported functions |
| Function, textarea-p : | | Exported functions |
| Function, time-p : | | Exported functions |
| Function, true-alpha-p : | | Exported functions |
| Function, true-alphanumeric-p : | | Exported functions |
| Function, unreserved-character-p : | | Internal functions |
| Function, unsigned-integer-p : | | Exported functions |
| Function, uri-p : | | Exported functions |
| Function, url-p : | | Exported functions |
| Function, user-p : | | Exported functions |
| Function, year-p : | | Exported functions |
|
G | | |
| general-delimiter-p : | | Internal functions |
| Generic Function, (setf cause) : | | Exported generic functions |
| Generic Function, (setf errors) : | | Exported generic functions |
| Generic Function, (setf message) : | | Exported generic functions |
| Generic Function, (setf test-name) : | | Exported generic functions |
| Generic Function, (setf test-object) : | | Exported generic functions |
| Generic Function, cause : | | Exported generic functions |
| Generic Function, errors : | | Exported generic functions |
| Generic Function, message : | | Exported generic functions |
| Generic Function, test-name : | | Exported generic functions |
| Generic Function, test-object : | | Exported generic functions |
|
H | | |
| hierarchical-part-p : | | Exported functions |
| host-p : | | Exported functions |
| hostname-p : | | Exported functions |
| hour-p : | | Exported functions |
|
I | | |
| integer-p : | | Exported functions |
| ip-p : | | Exported functions |
| ipv4-p : | | Exported functions |
| ipv6-p : | | Exported functions |
|
L | | |
| local-part-p : | | Internal functions |
|
M | | |
| Macro, define-parser : | | Exported macros |
| Macro, define-test : | | Exported macros |
| Macro, perform-combined-tests : | | Exported macros |
| Macro, perform-tests : | | Exported macros |
| Macro, with-errors-combined : | | Exported macros |
| Macro, with-parsed-forms : | | Exported macros |
| Macro, with-skipping : | | Exported macros |
| make-keyword : | | Exported functions |
| message : | | Exported generic functions |
| message : | | Exported generic functions |
| Method, (setf cause) : | | Exported generic functions |
| Method, (setf errors) : | | Exported generic functions |
| Method, (setf message) : | | Exported generic functions |
| Method, (setf test-name) : | | Exported generic functions |
| Method, (setf test-object) : | | Exported generic functions |
| Method, (setf test-object) : | | Exported generic functions |
| Method, cause : | | Exported generic functions |
| Method, errors : | | Exported generic functions |
| Method, message : | | Exported generic functions |
| Method, test-name : | | Exported generic functions |
| Method, test-object : | | Exported generic functions |
| Method, test-object : | | Exported generic functions |
| minute-p : | | Exported functions |
| month-p : | | Exported functions |
|
N | | |
| number-p : | | Exported functions |
| numeric-p : | | Exported functions |
|
O | | |
| offset-p : | | Exported functions |
|
P | | |
| parse : | | Exported functions |
| parse-bit : | | Exported functions |
| parse-boolean : | | Exported functions |
| parse-character : | | Exported functions |
| parse-complex : | | Exported functions |
| parse-date : | | Exported functions |
| parse-datetime : | | Exported functions |
| parse-day : | | Exported functions |
| parse-float : | | Exported functions |
| parse-hour : | | Exported functions |
| parse-minute : | | Exported functions |
| parse-month : | | Exported functions |
| parse-number : | | Exported functions |
| parse-offset : | | Exported functions |
| parse-port : | | Internal functions |
| parse-ratio : | | Exported functions |
| parse-rational : | | Exported functions |
| parse-real : | | Exported functions |
| parse-second : | | Exported functions |
| parse-string : | | Exported functions |
| parse-time : | | Exported functions |
| parse-unsigned-integer : | | Exported functions |
| parse-year : | | Exported functions |
| parser : | | Exported functions |
| password-p : | | Exported functions |
| path-segment-p : | | Exported functions |
| pchar-p : | | Internal functions |
| percent-encoded-p : | | Internal functions |
| perform-combined-tests : | | Exported macros |
| perform-test : | | Exported functions |
| perform-test-no-skip : | | Internal functions |
| perform-tests : | | Exported macros |
| port-p : | | Exported functions |
| property-p : | | Exported functions |
| protocol-p : | | Exported functions |
|
Q | | |
| query-p : | | Exported functions |
|
R | | |
| radio-p : | | Exported functions |
| range-p : | | Exported functions |
| ratification-error : | | Exported functions |
| ratio-p : | | Exported functions |
| rational-p : | | Exported functions |
| real-p : | | Exported functions |
| reserved-character-p : | | Internal functions |
| rootless-path-p : | | Exported functions |
|
S | | |
| scheme-p : | | Exported functions |
| search-p : | | Exported functions |
| second-p : | | Exported functions |
| skippable-error : | | Exported functions |
| string-p : | | Exported functions |
| sub-delimiter-p : | | Internal functions |
|
T | | |
| tel-p : | | Exported functions |
| test : | | Exported functions |
| test-absolute-path : | | Exported functions |
| test-alphabetic : | | Exported functions |
| test-alphanumeric : | | Exported functions |
| test-authority : | | Exported functions |
| test-bit : | | Exported functions |
| test-boolean : | | Exported functions |
| test-character : | | Exported functions |
| test-checkbox : | | Exported functions |
| test-color : | | Exported functions |
| test-complex : | | Exported functions |
| test-date : | | Exported functions |
| test-datetime : | | Exported functions |
| test-datetime-local : | | Exported functions |
| test-day : | | Exported functions |
| test-domain : | | Exported functions |
| test-email : | | Exported functions |
| test-file : | | Exported functions |
| test-float : | | Exported functions |
| test-fragment : | | Exported functions |
| test-hierarchical-part : | | Exported functions |
| test-host : | | Exported functions |
| test-hostname : | | Exported functions |
| test-hour : | | Exported functions |
| test-hsl : | | Internal functions |
| test-integer : | | Exported functions |
| test-ip : | | Exported functions |
| test-ipv4 : | | Exported functions |
| test-ipv6 : | | Exported functions |
| test-local-part : | | Internal functions |
| test-minute : | | Exported functions |
| test-month : | | Exported functions |
| test-name : | | Exported generic functions |
| test-name : | | Exported generic functions |
| test-number : | | Exported functions |
| test-numeric : | | Exported functions |
| test-object : | | Exported generic functions |
| test-object : | | Exported generic functions |
| test-object : | | Exported generic functions |
| test-offset : | | Exported functions |
| test-password : | | Exported functions |
| test-path-segment : | | Exported functions |
| test-percentage : | | Internal functions |
| test-port : | | Exported functions |
| test-property : | | Exported functions |
| test-protocol : | | Exported functions |
| test-query : | | Exported functions |
| test-radio : | | Exported functions |
| test-range : | | Exported functions |
| test-ratio : | | Exported functions |
| test-rational : | | Exported functions |
| test-real : | | Exported functions |
| test-rgb : | | Internal functions |
| test-rootless-path : | | Exported functions |
| test-scheme : | | Exported functions |
| test-search : | | Exported functions |
| test-second : | | Exported functions |
| test-string : | | Exported functions |
| test-tel : | | Exported functions |
| test-text : | | Exported functions |
| test-textarea : | | Exported functions |
| test-time : | | Exported functions |
| test-unsigned-integer : | | Exported functions |
| test-uri : | | Exported functions |
| test-url : | | Exported functions |
| test-user : | | Exported functions |
| test-year : | | Exported functions |
| text-p : | | Exported functions |
| textarea-p : | | Exported functions |
| time-p : | | Exported functions |
| true-alpha-p : | | Exported functions |
| true-alphanumeric-p : | | Exported functions |
|
U | | |
| unreserved-character-p : | | Internal functions |
| unsigned-integer-p : | | Exported functions |
| uri-p : | | Exported functions |
| url-p : | | Exported functions |
| user-p : | | Exported functions |
|
W | | |
| with-errors-combined : | | Exported macros |
| with-parsed-forms : | | Exported macros |
| with-skipping : | | Exported macros |
|
Y | | |
| year-p : | | Exported functions |
|
A.3 Variables
| Index Entry | | Section |
|
% | | |
| %cause : | | Exported conditions |
| %message : | | Exported conditions |
| %test-name : | | Exported conditions |
| %test-object : | | Exported conditions |
| %test-object : | | Exported conditions |
|
* | | |
| *css-color-names* : | | Internal special variables |
| *parsers* : | | Internal special variables |
| *permitted-protocols* : | | Exported special variables |
| *tests* : | | Internal special variables |
|
E | | |
| errors : | | Exported conditions |
|
S | | |
| Slot, %cause : | | Exported conditions |
| Slot, %message : | | Exported conditions |
| Slot, %test-name : | | Exported conditions |
| Slot, %test-object : | | Exported conditions |
| Slot, %test-object : | | Exported conditions |
| Slot, errors : | | Exported conditions |
| Special Variable, *css-color-names* : | | Internal special variables |
| Special Variable, *parsers* : | | Internal special variables |
| Special Variable, *permitted-protocols* : | | Exported special variables |
| Special Variable, *tests* : | | Internal special variables |
|
A.4 Data types
| Index Entry | | Section |
|
C | | |
| combined-error : | | Exported conditions |
| Condition, combined-error : | | Exported conditions |
| Condition, ratification-error : | | Exported conditions |
| Condition, test-failed : | | Exported conditions |
|
P | | |
| Package, ratify : | | The ratify package |
| Package, ratify-css : | | The ratify-css package |
| Package, ratify-date : | | The ratify-date package |
| Package, ratify-email : | | The ratify-email package |
| Package, ratify-html : | | The ratify-html package |
| Package, ratify-parsing : | | The ratify-parsing package |
| Package, ratify-testing : | | The ratify-testing package |
| Package, ratify-toolkit : | | The ratify-toolkit package |
| Package, ratify-types : | | The ratify-types package |
| Package, ratify-uri : | | The ratify-uri package |
| Package, ratify-url : | | The ratify-url package |
|
R | | |
| ratification-error : | | Exported conditions |
| ratify : | | The ratify system |
| ratify : | | The ratify package |
| ratify-css : | | The ratify-css package |
| ratify-date : | | The ratify-date package |
| ratify-email : | | The ratify-email package |
| ratify-html : | | The ratify-html package |
| ratify-parsing : | | The ratify-parsing package |
| ratify-testing : | | The ratify-testing package |
| ratify-toolkit : | | The ratify-toolkit package |
| ratify-types : | | The ratify-types package |
| ratify-uri : | | The ratify-uri package |
| ratify-url : | | The ratify-url package |
|
S | | |
| System, ratify : | | The ratify system |
|
T | | |
| test-failed : | | Exported conditions |
|