package acgtk

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

This module contains the type for syntax errors in scripts.

type t =
  1. | UnexpectedEOI
    (*

    UnexpectedEOI is for valid but incomplete inputs.

    *)
  2. | TrailingChars
    (*

    TrailingChars is for invalid inputs containing a valid prefix.

    *)
  3. | SyntaxError of int
    (*

    SyntaxError i is for all other syntax errors, with i the number given by Menhir to select the correct message.

    *)
  4. | Other
    (*

    Other is for unknown syntax errors.

    *)
val kind : string
val pp : Stdlib.Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.