Common Lisp Package: COM.INFORMATIMAGO.COMMON-LISP.PARSER.PARSER

An abstract parser class. License: AGPL3 Copyright Pascal J. Bourguignon 2004 - 2012 This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>

README:

GENERIC-FUNCTION

Public

ADVANCE (PARSER)

Shitf next-token into token and scan the next token.

PARSER-ERROR-FORMAT-ARGUMENTS (ERROR)

The error message format control arguments.

PARSER-ERROR-FORMAT-CONTROL (ERROR)

The error message format control string.

PARSER-ERROR-NEXT-TOKEN (ERROR)

The next-token where the error was detected.

PARSER-ERROR-PARSER (ERROR)

The parser that signaled the error.

PARSER-ERROR-TOKEN (ERROR)

The token where the error was detected.

REPORT-ERROR (PARSER MESSAGE &REST ARGUMENTS)

Signal a parser-error.

SLOT-ACCESSOR

Public

PARSER-NEXT-TOKEN (PARSER)

The The next-token of the parser.

SETFPARSER-NEXT-TOKEN (NEW-VALUE OBJECT)

Set the The next-token of the parser.

PARSER-SCANNER (PARSER)

The The scanner of the parser.

SETFPARSER-SCANNER (NEW-VALUE OBJECT)

Set the The scanner of the parser.

PARSER-TOKEN (PARSER)

The The current token of the parser.

SETFPARSER-TOKEN (NEW-VALUE OBJECT)

Set the The current token of the parser.

CLASS

Public

PARSER

A parser.

CONDITION

Public

PARSER-ERROR

A parser error.