package acgtk

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

Module Errors.Syntax_lSource

This module contains the type for syntax errors in scripts.

Sourcetype 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.

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

Innovation. Community. Security.