chiark / gitweb /
src/{lexer-{proto,impl},parser/floc-proto}.lisp: Conditionify parse errors.
[sod] / doc / SYMBOLS
index f77f549285fbcb9a36155a61e8e00da01f6a6c77..16e763ac6a33d6bf05e3c6403daecec1b9e931bc 100644 (file)
@@ -469,12 +469,12 @@ fragment-parse.lisp
 lexer-proto.lisp
   define-indicator                              function
   cl:error                                      function class parser
-  lexer-error                                   function
+  lexer-error                                   function class
   must                                          parser
   scan-comment                                  function
   skip-until                                    function parser
   sod-token-scanner                             class
-  syntax-error                                  function
+  syntax-error                                  function class
 
 method-aggregate.lisp
   aggregating-effective-method                  class
@@ -641,8 +641,22 @@ Classes:
 cl:t
   sb-pcl::slot-object
     cl:condition
+      sod-parser:condition-with-location
+        sod-parser:error-with-location [cl:error]
+          sod-parser:base-lexer-error
+            lexer-error [sod-parser:parser-error]
+          sod-parser:base-syntax-error
+            syntax-error [sod-parser:parser-error]
       cl:serious-condition
         cl:error
+          sod-parser:error-with-location [sod-parser:condition-with-location]
+            sod-parser:base-lexer-error
+              lexer-error [sod-parser:parser-error]
+            sod-parser:base-syntax-error
+              syntax-error [sod-parser:parser-error]
+          sod-parser:parser-error
+            lexer-error [sod-parser:base-lexer-error]
+            syntax-error [sod-parser:base-syntax-error]
     cl:standard-object
       alignas-storage-specifier
       base-offset
@@ -1581,9 +1595,12 @@ Methods:
 Package `sod-parser'
 
 floc-proto.lisp
+  base-lexer-error                              class
+  base-syntax-error                             class
   cerror*                                       function
   cerror*-with-location                         function
   cerror-with-location                          function
+  classify-condition                            generic
   condition-with-location                       class
   count-and-report-errors                       macro
   enclosed-condition                            generic
@@ -1606,10 +1623,16 @@ floc-proto.lisp
   make-condition-with-location                  function
   make-file-location                            function
   noted                                         function
+  parser-error                                  class
+  parser-error-expected                         generic
+  parser-error-found                            generic
+  report-parser-error                           function
   simple-condition-with-location                class
   simple-error-with-location                    class
   simple-information                            class
   simple-information-with-location              class
+  simple-lexer-error                            class
+  simple-syntax-error                           class
   simple-warning-with-location                  class
   warn-with-location                            function
   warning-with-location                         class
@@ -1751,7 +1774,13 @@ cl:t
           enclosing-information-with-location [information]
           enclosing-warning-with-location [cl:warning]
         error-with-location [cl:error]
+          base-lexer-error
+            simple-lexer-error [simple-error-with-location]
+          base-syntax-error
+            simple-syntax-error [simple-error-with-location]
           simple-error-with-location [cl:simple-error]
+            simple-lexer-error [base-lexer-error]
+            simple-syntax-error [base-syntax-error]
         information-with-location [information]
           simple-information-with-location [simple-information]
         simple-condition-with-location [cl:simple-condition]
@@ -1772,13 +1801,24 @@ cl:t
         cl:error
           enclosing-error-with-location [enclosing-condition-with-location]
           error-with-location [condition-with-location]
+            base-lexer-error
+              simple-lexer-error [simple-error-with-location]
+            base-syntax-error
+              simple-syntax-error [simple-error-with-location]
             simple-error-with-location [cl:simple-error]
+              simple-lexer-error [base-lexer-error]
+              simple-syntax-error [base-syntax-error]
+          parser-error
           cl:simple-error [cl:simple-condition]
             simple-error-with-location [error-with-location]
+              simple-lexer-error [base-lexer-error]
+              simple-syntax-error [base-syntax-error]
       cl:simple-condition
         simple-condition-with-location [condition-with-location]
         cl:simple-error [cl:error]
           simple-error-with-location [error-with-location]
+            simple-lexer-error [base-lexer-error]
+            simple-syntax-error [base-syntax-error]
         simple-information [information]
           simple-information-with-location [information-with-location]
         cl:simple-warning [cl:warning]
@@ -1891,6 +1931,12 @@ apply-operator
   simple-unary-operator sod-parser::expression-parse-state
 charbuf-scanner-map
   charbuf-scanner t
+classify-condition
+  cl:error
+  cl:warning
+  base-lexer-error
+  base-syntax-error
+  information
 enclosed-condition
   enclosing-condition
 enclosing-condition-with-location-type
@@ -1989,6 +2035,10 @@ parser-capture-place
 parser-current-char
   character-scanner-context
   string-parser
+parser-error-expected
+  parser-error
+parser-error-found
+  parser-error
 parser-places-must-be-released-p
   t
   list-parser