package acgtk

  1. Overview
  2. Docs
Abstract Categorial Grammar development toolkit

Install

dune-project
 Dependency

Authors

Maintainers

Sources

acg-2.2.0-20251107.tar.gz
sha512=07f391d052090bb70c10ec511fdc53af764954cbe1c30093778984c5ed41a4327573fdac0890c6fd619ff9827725572eb7b8a7545bd8ccb7f5bddb84d2d7f7cc

doc/acgtk.scripting/Scripting/Errors/Lexing_l/index.html

Module Errors.Lexing_lSource

This module contains the type for lexing errors in scripts.

Sourcetype t =
  1. | Unclosed of string
    (*

    Unclosed c is for opened but unclosed delimiter char c (for example, quotes).

    *)
  2. | UnterminatedComment
    (*

    UnterminatedComment is a special case of Unclosed for comments.

    *)
  3. | UnstartedComment
    (*

    UnstartedComment is raised when the comment closing token appear before the opening one.

    *)
  4. | BadChar of string
    (*

    BadChar c is raised when a char c can't appear in any lexical tokens.

    *)
  5. | Malformed
    (*

    Malformed if raised when an invalid UTF-8 sequence is encountered in the input.

    *)
Sourceval kind : string
Sourceval pp : Format.formatter -> t -> unit