This is the ratify Reference Manual, version 0.1.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 07:33:04 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
ratify
A collection of utilities to ratify, validate and parse inputs.
Yukari Hafner <shinmera@tymoon.eu>
Yukari Hafner <shinmera@tymoon.eu>
(GIT https://github.com/Shinmera/ratify.git)
zlib
0.1.0
cl-ppcre
(system).
local-time
(system).
parse-float
(system).
package.lisp
(file).
toolkit.lisp
(file).
testing.lisp
(file).
parsing.lisp
(file).
uri.lisp
(file).
url.lisp
(file).
email.lisp
(file).
css.lisp
(file).
date.lisp
(file).
types.lisp
(file).
html.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
ratify/ratify.asd
ratify/package.lisp
ratify/toolkit.lisp
ratify/testing.lisp
ratify/parsing.lisp
ratify/uri.lisp
ratify/url.lisp
ratify/email.lisp
ratify/css.lisp
ratify/date.lisp
ratify/types.lisp
ratify/html.lisp
ratify/toolkit.lisp
package.lisp
(file).
ratify
(system).
make-keyword
(function).
message
(reader method).
(setf message)
(writer method).
ratification-error
(function).
ratification-error
(condition).
test-object
(reader method).
(setf test-object)
(writer method).
true-alpha-p
(function).
true-alphanumeric-p
(function).
ratify/testing.lisp
toolkit.lisp
(file).
ratify
(system).
cause
(reader method).
(setf cause)
(writer method).
combined-error
(condition).
define-test
(macro).
errors
(reader method).
(setf errors)
(writer method).
perform-combined-tests
(macro).
perform-test
(function).
perform-tests
(macro).
skippable-error
(function).
test
(function).
(setf test)
(function).
test-failed
(condition).
test-name
(reader method).
(setf test-name)
(writer method).
test-object
(reader method).
(setf test-object)
(writer method).
with-errors-combined
(macro).
with-skipping
(macro).
*tests*
(special variable).
perform-test-no-skip
(function).
ratify/parsing.lisp
testing.lisp
(file).
ratify
(system).
define-parser
(macro).
parse
(function).
parser
(function).
(setf parser)
(function).
with-parsed-forms
(macro).
*parsers*
(special variable).
ratify/uri.lisp
parsing.lisp
(file).
ratify
(system).
absolute-path-p
(function).
authority-p
(function).
fragment-p
(function).
hierarchical-part-p
(function).
host-p
(function).
ip-p
(function).
ipv4-p
(function).
ipv6-p
(function).
path-segment-p
(function).
port-p
(function).
query-p
(function).
rootless-path-p
(function).
scheme-p
(function).
test-absolute-path
(function).
test-authority
(function).
test-fragment
(function).
test-hierarchical-part
(function).
test-host
(function).
test-ip
(function).
test-ipv4
(function).
test-ipv6
(function).
test-path-segment
(function).
test-port
(function).
test-query
(function).
test-rootless-path
(function).
test-scheme
(function).
test-uri
(function).
test-user
(function).
uri-p
(function).
user-p
(function).
general-delimiter-p
(function).
parse-port
(function).
pchar-p
(function).
percent-encoded-p
(function).
reserved-character-p
(function).
sub-delimiter-p
(function).
unreserved-character-p
(function).
ratify/url.lisp
uri.lisp
(file).
ratify
(system).
*permitted-protocols*
(special variable).
domain-p
(function).
hostname-p
(function).
protocol-p
(function).
test-domain
(function).
test-hostname
(function).
test-protocol
(function).
test-url
(function).
url-p
(function).
ratify/email.lisp
url.lisp
(file).
ratify
(system).
email-p
(function).
test-email
(function).
email-atpos
(function).
local-part-p
(function).
test-local-part
(function).
ratify/css.lisp
email.lisp
(file).
ratify
(system).
color-p
(function).
property-p
(function).
test-color
(function).
test-property
(function).
*css-color-names*
(special variable).
css-argslist
(function).
test-hsl
(function).
test-percentage
(function).
test-rgb
(function).
ratify/date.lisp
css.lisp
(file).
ratify
(system).
date-p
(function).
datetime-p
(function).
day-p
(function).
hour-p
(function).
minute-p
(function).
month-p
(function).
offset-p
(function).
parse-date
(function).
parse-datetime
(function).
parse-day
(function).
parse-hour
(function).
parse-minute
(function).
parse-month
(function).
parse-offset
(function).
parse-second
(function).
parse-time
(function).
parse-year
(function).
second-p
(function).
test-date
(function).
test-datetime
(function).
test-day
(function).
test-hour
(function).
test-minute
(function).
test-month
(function).
test-offset
(function).
test-second
(function).
test-time
(function).
test-year
(function).
time-p
(function).
year-p
(function).
ratify/types.lisp
date.lisp
(file).
ratify
(system).
alphabetic-p
(function).
alphanumeric-p
(function).
bit-p
(function).
boolean-p
(function).
character-p
(function).
complex-p
(function).
float-p
(function).
integer-p
(function).
number-p
(function).
numeric-p
(function).
parse-bit
(function).
parse-boolean
(function).
parse-character
(function).
parse-complex
(function).
parse-float
(function).
parse-number
(function).
parse-ratio
(function).
parse-rational
(function).
parse-real
(function).
parse-string
(function).
parse-unsigned-integer
(function).
ratio-p
(function).
rational-p
(function).
real-p
(function).
string-p
(function).
test-alphabetic
(function).
test-alphanumeric
(function).
test-bit
(function).
test-boolean
(function).
test-character
(function).
test-complex
(function).
test-float
(function).
test-integer
(function).
test-number
(function).
test-numeric
(function).
test-ratio
(function).
test-rational
(function).
test-real
(function).
test-string
(function).
test-unsigned-integer
(function).
unsigned-integer-p
(function).
ratify/html.lisp
types.lisp
(file).
ratify
(system).
checkbox-p
(function).
datetime-local-p
(function).
file-p
(function).
password-p
(function).
radio-p
(function).
range-p
(function).
search-p
(function).
tel-p
(function).
test-checkbox
(function).
test-datetime-local
(function).
test-file
(function).
test-password
(function).
test-radio
(function).
test-range
(function).
test-search
(function).
test-tel
(function).
test-text
(function).
test-textarea
(function).
text-p
(function).
textarea-p
(function).
Packages are listed by definition order.
ratify-css
ratify-parsing
ratify-date
ratify-email
ratify-html
ratify-uri
ratify-url
ratify
ratify-types
ratify-testing
ratify-toolkit
ratify-css
org.tymoonnext.ratify.css
common-lisp
.
ratify-testing
.
ratify-toolkit
.
color-p
(function).
property-p
(function).
test-color
(function).
test-property
(function).
*css-color-names*
(special variable).
css-argslist
(function).
test-hsl
(function).
test-percentage
(function).
test-rgb
(function).
ratify-parsing
org.tymoonnext.ratify.parsing
common-lisp
.
ratify-testing
.
ratify-toolkit
.
define-parser
(macro).
parse
(function).
parser
(function).
(setf parser)
(function).
with-parsed-forms
(macro).
*parsers*
(special variable).
ratify-date
org.tymoonnext.ratify.date
org.tymoonnext.ratify.time
ratify-time
common-lisp
.
ratify-parsing
.
ratify-testing
.
ratify-toolkit
.
date-p
(function).
datetime-p
(function).
day-p
(function).
hour-p
(function).
minute-p
(function).
month-p
(function).
offset-p
(function).
parse-date
(function).
parse-datetime
(function).
parse-day
(function).
parse-hour
(function).
parse-minute
(function).
parse-month
(function).
parse-offset
(function).
parse-second
(function).
parse-time
(function).
parse-year
(function).
second-p
(function).
test-date
(function).
test-datetime
(function).
test-day
(function).
test-hour
(function).
test-minute
(function).
test-month
(function).
test-offset
(function).
test-second
(function).
test-time
(function).
test-year
(function).
time-p
(function).
year-p
(function).
ratify-email
org.tymoonnext.ratify.email
common-lisp
.
ratify-testing
.
ratify-toolkit
.
ratify-url
.
email-p
(function).
test-email
(function).
email-atpos
(function).
local-part-p
(function).
test-local-part
(function).
ratify-html
org.tymoonnext.ratify.html
common-lisp
.
ratify-css
.
ratify-date
.
ratify-email
.
ratify-testing
.
ratify-toolkit
.
ratify-types
.
ratify-url
.
checkbox-p
(function).
datetime-local-p
(function).
file-p
(function).
password-p
(function).
radio-p
(function).
range-p
(function).
search-p
(function).
tel-p
(function).
test-checkbox
(function).
test-datetime-local
(function).
test-file
(function).
test-password
(function).
test-radio
(function).
test-range
(function).
test-search
(function).
test-tel
(function).
test-text
(function).
test-textarea
(function).
text-p
(function).
textarea-p
(function).
ratify-uri
org.tymoonnext.ratify.uri
common-lisp
.
ratify-parsing
.
ratify-testing
.
ratify-toolkit
.
absolute-path-p
(function).
authority-p
(function).
fragment-p
(function).
hierarchical-part-p
(function).
host-p
(function).
ip-p
(function).
ipv4-p
(function).
ipv6-p
(function).
path-segment-p
(function).
port-p
(function).
query-p
(function).
rootless-path-p
(function).
scheme-p
(function).
test-absolute-path
(function).
test-authority
(function).
test-fragment
(function).
test-hierarchical-part
(function).
test-host
(function).
test-ip
(function).
test-ipv4
(function).
test-ipv6
(function).
test-path-segment
(function).
test-port
(function).
test-query
(function).
test-rootless-path
(function).
test-scheme
(function).
test-uri
(function).
test-user
(function).
uri-p
(function).
user-p
(function).
general-delimiter-p
(function).
parse-port
(function).
pchar-p
(function).
percent-encoded-p
(function).
reserved-character-p
(function).
sub-delimiter-p
(function).
unreserved-character-p
(function).
ratify-url
org.tymoonnext.ratify.url
common-lisp
.
ratify-testing
.
ratify-toolkit
.
ratify-uri
.
*permitted-protocols*
(special variable).
domain-p
(function).
hostname-p
(function).
protocol-p
(function).
test-domain
(function).
test-hostname
(function).
test-protocol
(function).
test-url
(function).
url-p
(function).
ratify-types
org.tymoonnext.ratify.types
common-lisp
.
ratify-parsing
.
ratify-testing
.
ratify-toolkit
.
alphabetic-p
(function).
alphanumeric-p
(function).
bit-p
(function).
boolean-p
(function).
character-p
(function).
complex-p
(function).
float-p
(function).
integer-p
(function).
number-p
(function).
numeric-p
(function).
parse-bit
(function).
parse-boolean
(function).
parse-character
(function).
parse-complex
(function).
parse-float
(function).
parse-number
(function).
parse-ratio
(function).
parse-rational
(function).
parse-real
(function).
parse-string
(function).
parse-unsigned-integer
(function).
ratio-p
(function).
rational-p
(function).
real-p
(function).
string-p
(function).
test-alphabetic
(function).
test-alphanumeric
(function).
test-bit
(function).
test-boolean
(function).
test-character
(function).
test-complex
(function).
test-float
(function).
test-integer
(function).
test-number
(function).
test-numeric
(function).
test-ratio
(function).
test-rational
(function).
test-real
(function).
test-string
(function).
test-unsigned-integer
(function).
unsigned-integer-p
(function).
ratify-testing
org.tymoonnext.ratify.testing
common-lisp
.
ratify-toolkit
.
cause
(generic reader).
(setf cause)
(generic writer).
combined-error
(condition).
define-test
(macro).
errors
(generic reader).
(setf errors)
(generic writer).
perform-combined-tests
(macro).
perform-test
(function).
perform-tests
(macro).
skippable-error
(function).
test
(function).
(setf test)
(function).
test-failed
(condition).
test-name
(generic reader).
(setf test-name)
(generic writer).
with-errors-combined
(macro).
with-skipping
(macro).
*tests*
(special variable).
perform-test-no-skip
(function).
ratify-toolkit
org.tymoonnext.ratify.toolkit
common-lisp
.
make-keyword
(function).
message
(generic reader).
(setf message)
(generic writer).
ratification-error
(function).
ratification-error
(condition).
test-object
(generic reader).
(setf test-object)
(generic writer).
true-alpha-p
(function).
true-alphanumeric-p
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
List of permitted protocols in a URL.
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.
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.
Same as PERFORM-TESTS, except with WITH-ERRORS-COMBINED in effect.
Performs a series of tests.
TEST-FORMS ::= TEST-FORM*
TEST-FORM ::= (test-name test-object*)
See TEST.
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.
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.
Marks the body as being skippable if an error occurs within. This establishes the restart SKIP-ERROR.
Predicate version of TEST-ABSOLUTE-PATH, returns the passed value on success, NIL on error.
Predicate version of TEST-ALPHABETIC, returns the passed value on success, NIL on error.
Predicate version of TEST-ALPHANUMERIC, returns the passed value on success, NIL on error.
Predicate version of TEST-AUTHORITY, returns the passed value on success, NIL on error.
Predicate version of TEST-BIT, returns the passed value on success, NIL on error.
Predicate version of TEST-BOOLEAN, returns the passed value on success, NIL on error.
Predicate version of TEST-CHARACTER, returns the passed value on success, NIL on error.
Predicate version of TEST-CHECKBOX, returns the passed value on success, NIL on error.
Predicate version of TEST-COLOR, returns the passed value on success, NIL on error.
Predicate version of TEST-COMPLEX, returns the passed value on success, NIL on error.
Predicate version of TEST-DATE, returns the passed value on success, NIL on error.
Predicate version of TEST-DATETIME-LOCAL, returns the passed value on success, NIL on error.
Predicate version of TEST-DATETIME, returns the passed value on success, NIL on error.
Predicate version of TEST-DAY, returns the passed value on success, NIL on error.
Predicate version of TEST-DOMAIN, returns the passed value on success, NIL on error.
Predicate version of TEST-EMAIL, returns the passed value on success, NIL on error.
Predicate version of TEST-FILE, returns the passed value on success, NIL on error.
Predicate version of TEST-FLOAT, returns the passed value on success, NIL on error.
Predicate version of TEST-FRAGMENT, returns the passed value on success, NIL on error.
Predicate version of TEST-HIERARCHICAL-PART, returns the passed value on success, NIL on error.
Predicate version of TEST-HOST, returns the passed value on success, NIL on error.
Predicate version of TEST-HOSTNAME, returns the passed value on success, NIL on error.
Predicate version of TEST-HOUR, returns the passed value on success, NIL on error.
Predicate version of TEST-INTEGER, returns the passed value on success, NIL on error.
Predicate version of TEST-IP, returns the passed value on success, NIL on error.
Predicate version of TEST-IPV4, returns the passed value on success, NIL on error.
Predicate version of TEST-IPV6, returns the passed value on success, NIL on error.
Returns the keyword equivalent of the passed NAME.
Predicate version of TEST-MINUTE, returns the passed value on success, NIL on error.
Predicate version of TEST-MONTH, returns the passed value on success, NIL on error.
Predicate version of TEST-NUMBER, returns the passed value on success, NIL on error.
Predicate version of TEST-NUMERIC, returns the passed value on success, NIL on error.
Predicate version of TEST-OFFSET, returns the passed value on success, NIL on error.
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
Parses into a bit of either 1 or 0.
Parses into a boolean.
Returns T if one of ("1" "true" "T"), NIL otherwise.
Parses into a character.
Parses into a complex number.
Parses the given date into a LOCAL-TIME:TIMESTAMP object.
Parses the given datetime into a LOCAL-TIME:TIMESTAMP object.
The only part that is allowed to be omitted is the timezone offset specification.
Parses the day into an integer
Parses into a float.
Parses the hour into an integer
Parses the minute into an integer
Parses the month into an integer.
Parses into a number.
Parses the offset into a list of (DIR HOUR MINUTE), wherein DIR is a string of either "+" or "-", denoting the direction of the offset.
Parses into a ratio.
Parses into a rational.
Parses into a real.
Parses the second into an integer
Parses into a string (simply returns its argument).
Parses the given time into a LOCAL-TIME:TIMESTAMP object.
Parses into an integer.
Parses the year into an integer.
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.
Sets a function to be used for a certain parser. The name is converted to a keyword.
Predicate version of TEST-PASSWORD, returns the passed value on success, NIL on error.
Predicate version of TEST-PATH-SEGMENT, returns the passed value on success, NIL on error.
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.
Predicate version of TEST-PORT, returns the passed value on success, NIL on error.
Predicate version of TEST-PROPERTY, returns the passed value on success, NIL on error.
Predicate version of TEST-PROTOCOL, returns the passed value on success, NIL on error.
Predicate version of TEST-QUERY, returns the passed value on success, NIL on error.
Predicate version of TEST-RADIO, returns the passed value on success, NIL on error.
Predicate version of TEST-RANGE, returns the passed value on success, NIL on error.
Shorthand function to signal a RATIFICATION-ERROR.
Predicate version of TEST-RATIO, returns the passed value on success, NIL on error.
Predicate version of TEST-RATIONAL, returns the passed value on success, NIL on error.
Predicate version of TEST-REAL, returns the passed value on success, NIL on error.
Predicate version of TEST-ROOTLESS-PATH, returns the passed value on success, NIL on error.
Predicate version of TEST-SCHEME, returns the passed value on success, NIL on error.
Predicate version of TEST-SEARCH, returns the passed value on success, NIL on error.
Predicate version of TEST-SECOND, returns the passed value on success, NIL on error.
Signals a skippable error as per WITH-SKIPPING.
Predicate version of TEST-STRING, returns the passed value on success, NIL on error.
Predicate version of TEST-TEL, returns the passed value on success, NIL on error.
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.
Sets a function to be used for a certain test. The name is converted to a keyword.
Tests for a valid absolute path.
/<rootless-path>
Tests for an alphabetic string.
[a-zA-Z]*
Tests for an alphanumeric string.
[a-zA-Z0-9]*
Tests for a valid authority.
(<user>@)?<authority>(:<port>)?
Tests for a valid bit.
[01]
Tests for a valid boolean.
1|0|true|false|T|NIL case-insensitive
Tests for a valid character.
.{1}
Tests for a valid complex number.
<real>[cC]<real>
Tests for a valid date.
<year>-<month>-<day>
Tests for a valid datetime.
<year>-<month>-<day>T<hour>:<minute>:<second>Z<offset>
Tests for a valid day.
[0-9]{1,2} 1<=val<=31
Tests for a valid domain.
[<ip>]|<hostname>
Test an e-mail address for validity according to http://en.wikipedia.org/wiki/Email_address#Syntax
<local-part>@<domain>
Tests for a valid float.
[+-]?<unsigned-integer>(\.<unsigned-integer>)?(e<unsigned-integer>)?
Tests for a valid fragment part.
[a-zA-Z0-9!$&’()*+,;=-._~:@?/]+
Tests for a valid hierarchical part.
<absolute-path>|//<authority><absolute-path>
Tests for a valid host name.
[<ip>]|[a-zA-Z0-9-._~%!$&’()*+,;=]+
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
Tests for a valid hour.
[0-9]{1,2} 0<=val<=23
Tests for a valid signed integer.
[+-]?<unsigned-integer>
Tests for a valid IP address.
<ipv6>|<ipv4>
Tests for a valid IPv4
<unsigned-integer>\.<unsigned-integer>\.<unsigned-integer>\.<unsigned-integer> 0<=unsigned-integer<=255
Tests for a valid IPv6
[0-9A-F]:(:|[0-9A-F]:){1,6})[0-9A-F]? 0000<=val<=FFFF
Tests for a valid minute.
[0-9]{1,2}
0<=val<=59
Tests for a valid month.
[0-9]{1,2} 1<=val<=12
Tests for a valid number.
<real>|<complex>
Tests for a numeric string.
[0-9]*
Tests for a valid offset.
[-+]hour:minute
Tests for a valid path segment.
[a-zA-Z0-9!$&’()*+,;=-._~:@]+
Tests for a valid port.
<unsigned-integer> 0<=val<=65535
Tests for a valid protocol according to *PERMITTED-PROTOCOLS*
Tests for a valid query part.
[a-zA-Z0-9!$&’()*+,;=-._~:@?/]+
Tests for a valid ratio.
[+-]?<unsigned-integer>/<unsigned-integer>
Tests for a valid rational.
[+-]?<unsigned-integer>(/<unsigned-integer>)?
Tests for a valid real.
<rational>|<float>
Tests for a valid rootless path.
<segment-nz>(/<segment>)?
Tests for a valid scheme.
[a-zA-Z][a-zA-Z0-9-.+]*
Tests for a valid second.
[0-9]{1,2}
0<=val<=59
Tests for a valid string.
.+
Tests for a valid time.
<hour>:<minute>:<second>Z<offset>
Tests for a valid unsigned integer.
<numeric>
Tests for a valid URI according to http://tools.ietf.org/html/rfc3986
<scheme>:<hierarchical-part>(?<query>)?(#<fragment>)?
Tests for a valid URL.
(<protocol>://)?(<domain>)?<absolute-path>(?<query>)?(#<fragment>)?
Tests for a valid user.
[a-zA-Z0-9%!$&’()*+,;=-._~:]+
Tests for a valid year.
[0-9]{4}
Predicate version of TEST-TEXT, returns the passed value on success, NIL on error.
Predicate version of TEST-TEXTAREA, returns the passed value on success, NIL on error.
Predicate version of TEST-TIME, returns the passed value on success, NIL on error.
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.
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.
Predicate version of TEST-UNSIGNED-INTEGER, returns the passed value on success, NIL on error.
Predicate version of TEST-URI, returns the passed value on success, NIL on error.
Predicate version of TEST-URL, returns the passed value on success, NIL on error.
Predicate version of TEST-USER, returns the passed value on success, NIL on error.
Predicate version of TEST-YEAR, returns the passed value on success, NIL on error.
test-failed
)) ¶test-failed
)) ¶combined-error
)) ¶combined-error
)) ¶ratification-error
)) ¶ratification-error
)) ¶test-failed
)) ¶test-failed
)) ¶test-failed
)) ¶test-failed
)) ¶ratification-error
)) ¶ratification-error
)) ¶An error object that holds a combination of other errors. Used to test multiple things before unwinding the stack.
error
.
(quote nil)
:errors
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.
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.
error
.
(quote (error "test-name required"))
:test-name
(quote (error "test-object required"))
:test-object
(quote nil)
:cause
Hash map mapping keywords to parsing functions. A parse function should take one argument.
Hash map mapping keywords to testing functions. A test function should take one argument.
Predicate version of TEST-LOCAL-PART, returns the passed value on success, NIL on error.
Tests for a valid email local-part.
[!#$%&’*+-/=?^_‘{|}~a-zA-Z0-9][!#$%&’*+-/=?^_‘{|}~.a-zA-Z0-9]{0,63}
Jump to: | (
A B C D E F G H I L M N O P Q R S T U W Y |
---|
Jump to: | (
A B C D E F G H I L M N O P Q R S T U W Y |
---|
Jump to: | %
*
E S |
---|
Jump to: | %
*
E S |
---|
Jump to: | C D E F H P R S T U |
---|
Jump to: | C D E F H P R S T U |
---|