Module Syntaxerr
: sigend
Auxiliary type for reporting syntax errors
Warning: this module is unstable and part of Compiler_libs .
typeinvalid_package_type =
| Parameterized_types
| Constrained_types
| Private_types
| Not_with_type
| Neither_identifier_nor_with_type
typeerror =
| Unclosed ofLocation.t*string*Location.t*string
| Expecting ofLocation.t*string
| Not_expecting ofLocation.t*string
| Applicative_path ofLocation.t
| Variable_in_scope ofLocation.t*string
| Other ofLocation.t
| Ill_formed_ast ofLocation.t*string
| Invalid_package_type ofLocation.t*invalid_package_type
| Removed_string_set ofLocation.texceptionErroroferrorexceptionEscape_errorvallocation_of_error : error->Location.tvalill_formed_ast : Location.t->string->'a
OCamldoc 2025-06-12 Syntaxerr(3o)