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/>



(advance parser)
generic-function
Shitf next-token into token and scan the next token.
parser
class
A parser.
Class precedence list: parser standard-object t
Class init args: scanner
parser-error
condition
A parser error.
Class precedence list: parser-error error serious-condition condition standard-object t
Class init args: parser token next-token format-control format-arguments
(parser-error-format-arguments error)
generic-function
The error message format control arguments.
(parser-error-format-control error)
generic-function
The error message format control string.
(parser-error-next-token error)
generic-function
The next-token where the error was detected.
(parser-error-parser error)
generic-function
The parser that signaled the error.
(parser-error-token error)
generic-function
The token where the error was detected.
(parser-next-token parser)
generic-function
The next-token of the parser.
(parser-scanner parser)
generic-function
The scanner of the parser.
(parser-token parser)
generic-function
The current token of the parser.
(report-error parser message &rest arguments)
generic-function
Signal a parser-error.