Class Parser

Part of:

package weblocks, class us-state-parser, class text-parser, class symbol-parser, class predicate-parser, class object-id-parser, class keyword-parser, class integer-parser

Direct Subclass

integer-parserA parser designed to parse strings into
integers.
keyword-parserA parser designed to parse strings into
keywords.
object-id-parserA parser designed to convert an object id into an
object instance.
predicate-parserA parser designed to parse strings into
predicates.
symbol-parserA parser designed to parse strings into
symbols.
text-parserA default parser for forms. Simply returns strings
obtained from the request.
us-state-parserA parser designed to parse strings into
a US state.

Slot

error-message
A default error message. If subclasses override 'parser-error-message', it is still recommended that they allow callers to override the error message using the ':error-message' initarg. See the implementation of 'integer-parser' for an example of this.
Initform:this value must be valid, Initargs::error-message; Accessors:parser-error-message.