package acgtk

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

Source file parserMessages.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76

(* This file was auto-generated based on "parserMessages.messages". *)

(* Please note that the function [message] can raise [Not_found]. *)

let message =
  fun s ->
    match s with
    | 17 ->
        "Expecting function arguments, \"|\" or \"<\"\n"
    | 12 ->
        "Expecting an argument value, an argument name, \"|\" or \",\"\n"
    | 11 ->
        "Expecting an argument value, an argument name, \"|\" or \",\"\n"
    | 10 ->
        "Expecting a lexicon name or a string after \",\"\n"
    | 9 ->
        "Expecting an argument value, an argument name, \"|\" or \",\"\n"
    | 63 ->
        "A ';' is expected at the end of a command\n"
    | 60 ->
        "Expecting a function name, \"let\" or a term literal\n"
    | 57 ->
        "Trailing chars at end of the line\n"
    | 56 ->
        "Bug, please report\n"
    | 55 ->
        "Expecting function arguments or \"|\"\n"
    | 53 ->
        "Expecting a function name\n"
    | 52 ->
        "Expecting function arguments, \"|\" or \"<\"\n"
    | 49 ->
        "Expecting function arguments, \"|\" or \"<\"\n"
    | 48 ->
        "Expecting a function after \"|\"\n"
    | 47 ->
        "Expecting \"|\" after the term literal\n"
    | 43 ->
        "Unknown error\n"
    | 41 ->
        "Expecting a function name after \"|\"\n"
    | 40 ->
        "Unknown error\n"
    | 36 ->
        "Unknown error\n"
    | 31 ->
        "Expecting an argument value after \"=\"\n"
    | 30 ->
        "Expecting function arguments, \"|\" or \"<\"\n"
    | 27 ->
        "Expecting a boolean argument name after \"+\"\n"
    | 24 ->
        "Expecting a boolean argument name after \"+\"\n"
    | 23 ->
        "Expecting function arguments, \"|\" or \"<\" after the function name\n"
    | 22 ->
        "Expecting a function or a term literal after \":=\"\n"
    | 8 ->
        "Expecting an argument value, an argument name, \"|\" or \",\"\n"
    | 7 ->
        "Expecting a lexicon name or a string after \",\"\n"
    | 6 ->
        "Expecting an argument value or an argument name.\n"
    | 4 ->
        "Expecting argument default value after \"=\"\n"
    | 3 ->
        "Expecting argument names or \":=\"\n"
    | 2 ->
        "Expecting argument names or \":=\" after the function name\n"
    | 1 ->
        "Expecting a function name after the keyword \"let\"\n"
    | 0 ->
        "Expecting a function name, \"let\" or a term literal\n"
    | _ ->
        raise Not_found
OCaml

Innovation. Community. Security.