logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Syntaxerr - Auxiliary type for reporting syntax errors

Documentation

       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)

Module

       Module   Syntaxerr

Name

       Syntaxerr - Auxiliary type for reporting syntax errors

See Also