Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Source file parser_errors.ml
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286(* This file was auto-generated based on "parser.messages". *)(* Please note that the function [message] can raise [Not_found]. *)letmessage=funs->matchswith|0->"expected some law text or code block\n"|1->"expected some law text or code block\n"|376->"expected some declaration or scope use inside this code block\n"|7->"expected the name of the scope being used\n"|9->"expected a scope use condition or the content of this scope use\n"|10->"expected an expression\n"|11->"expected the year for this date literal\n"|13->"expected the \"-\" sign after the year\n"|14->"expected the month of the year\n"|15->"expected the \"-\" sign after the month of the year\n"|16->"expected the day of the month\n"|17->"expected a vertical bar to end the date literal\n"|51->"expected an enum constructor to test if the expression on the left\n"|174->"<YOUR SYNTAX ERROR MESSAGE HERE>\n"|90->"<YOUR SYNTAX ERROR MESSAGE HERE>\n"|95->"the expression before ended, what follows next should be an operator or the rest of the code structure\n"|92->"expecting an expression to stand in as the function argument\n"|93->"unexpected expression following a function application with an enum constructor name\n"|91->"a enum constructor pattern should be followed by a payload\n"|89->"the expression before ended, what follows next should be an operator or the rest of the code structure\n"|127->"expected an expression after the plus or minus operator\n"|102->"expected an expression for the argument of this function call\n"|162->"expected an expression on the right side of the comparison operator\n"|137->"expected an expression on the right side of the multiplication or division operator\n"|129->"expected an operator to compose the expression on the left\n"|113->"expected an expression standing for the set you want to test for membership\n"|52->"expected the name of the struct field of the expression before\n"|56->"expected the rest of the path after a dot\n"|53->"expected the rest of the path after the dot\n"|233->"expected a colon after the scope use precondition\n"|20->"expected the \"for\" keyword to spell the aggregation\n"|164->"expected an expression to take the negation of\n"|87->"expected an expression to take the opposite of\n"|36->"expected the type of the elements compared for the minimum\n"|37->"expected the \"initial\" keyword to introduce the minimum initial expression\n"|38->"expected the minimum initial expression\n"|40->"expected the type of the elements compared for the maximum\n"|41->"expected the \"initial\" keyword to introduce the maximum initial expression\n"|42->"expected the maximum initial expression\n"|44->"expected an expression to match with\n"|58->"expected the \"with pattern\" keyword\n"|59->"expected a pattern matching case\n"|60->"expected the name of the constructor for the enum case in the pattern matching\n"|192->"expected a constructor payload binding or a colon\n"|193->"expected a correct expression for this match arm\n"|190->"expected the \"with pattern\" keyword to complete the pattern matching expression\n"|105->"expected the \"for\" keyword to introduce the identifier for the map predicate\n"|106->"expected the identifier for the map predicate\n"|107->"expected the \"in\" keyword to introduce the collection argument to map\n"|108->"expected the collection argument to map\n"|109->"expected the \"of\" keyword to introduce the map predicate\n"|110->"expected an expression for the map predicate\n"|39->"expected a collection element\n"|227->"expected a semicolon or a right square bracket after the collection element\n"|43->"expected an expression inside the parenthesis\n"|221->"unmatched parenthesis that should have been closed by here\n"|70->"expected a unit for this literal, or a valid operator to complete the expression\n"|196->"expected an expression for the test of the conditional\n"|216->"expected the \"then\" keyword as the conditional expression is complete\n"|197->"expected the \"all\" keyword to mean the \"for all\" construction of the universal test\n"|202->"expected an identifier for the bound variable of the universal test\n"|203->"expected the \"in\" keyword for the rest of the universal test\n"|204->"expected the expression designating the set on which to perform the universal test\n"|205->"expected the \"we have\" keyword for this universal test\n"|201->"expected an expression for the universal test\n"|210->"expected an identifier that will designate the existential witness for the test\n"|211->"expected the \"in\" keyword to continue this existential test\n"|212->"expected an expression that designates the set subject to the existential test\n"|213->"expected a keyword to form the \"such that\" expression for the existential test\n"|214->"expected a keyword to complete the \"such that\" construction\n"|208->"expected an expression for the existential test\n"|65->"this is the start of an arg-maximum or arg-minimum expression\n"|66->"expected the type of the elements compared to get the minimum\n"|67->"expected the \"initial\" keyword introducing the initial expression for the minimum\n"|68->"expected the initial expression for the minimum\n"|185->"expected the type of the elements compared to get the maximum\n"|186->"expected the \"initial\" keyword introducing the initial expression for the maximum\n"|187->"expected the initial expression for the maximum\n"|78->"expected a payload for the enum case constructor, or the rest of the expression (with an operator ?)\n"|79->"expected structure fields introduced by --\n"|80->"expected the name of the structure field\n"|84->"expected a colon\n"|85->"expected the expression for this struct field\n"|81->"expected another structure field or the closing bracket\n"|96->"expected the rest of the path after the dot\n"|180->"expected the rest of the path, or the content of the enum constructor\n"|181->"expected an expression for the content of this enum case\n"|182->"the expression for the content of the enum case is already well-formed, expected an operator to form a bigger expression\n"|86->"expected the keyword following cardinal to compute the number of elements in a set\n"|234->"expected a scope use item: a rule, definition or assertion\n"|270->"expected the name of the variable subject to the rule\n"|247->"expected a condition or a consequence for this rule, or the rest of the variable qualified name\n"|281->"expected a condition or a consequence for this rule\n"|282->"expected the name of the parameter for this dependent variable\n"|271->"expected the expression of the rule\n"|279->"expected the filled keyword the this rule\n"|248->"expected a struct field or a sub-scope context item after the dot\n"|235->"expected the name of the label\n"|265->"expected a rule or a definition after the label declaration\n"|266->"expected the label to which the exception is referring back\n"|269->"expected a rule or a definition after the exception declaration\n"|286->"expected the name of the variable you want to define\n"|287->"expected the defined as keyword to introduce the definition of this variable\n"|288->"expected a expression for defining this function, introduced by the defined as keyword\n"|291->"expected an expression for the definition\n"|237->"expected an expression that shoud be asserted during execution\n"|238->"expecting the name of the varying variable\n"|241->"the variable varies with an expression that was expected here\n"|242->"expected an indication about the variation sense of the variable, or a new scope item\n"|240->"expected an indication about what this variable varies with\n"|250->"expected an expression for this condition\n"|260->"expected a consequence for this definition under condition\n"|252->"expected the name of the variable that should be fixed\n"|253->"expected the legislative text by which the value of the variable is fixed\n"|254->"expected the legislative text by which the value of the variable is fixed\n"|263->"expected a new scope use item\n"|298->"expected the kind of the declaration (struct, scope or enum)\n"|299->"expected the struct name\n"|300->"expected a colon\n"|301->"expected struct data or condition\n"|302->"expected the name of this struct data\n"|303->"expected the type of this struct data, introduced by the content keyword\n"|304->"expected the type of this struct data\n"|318->"expected the name of this struct condition\n"|311->"expected a new struct data, or another declaration or scope use\n"|312->"expected the type of the parameter of this struct data function\n"|316->"expected a new struct data, or another declaration or scope use\n"|308->"expected a new struct data, or another declaration or scope use\n"|321->"expected the name of the scope you are declaring\n"|322->"expected a colon followed by the list of context items of this scope\n"|323->"expected a context item introduced by \"context\"\n"|348->"expected the name of your enum\n"|349->"expected a colon\n"|350->"expected an enum case\n"|351->"expected the name of an enum case\n"|352->"expected a payload for your enum case, or another case or declaration\n"|353->"expected a content type\n"|358->"expected another enum case, or a new declaration or scope use\n"|_->raiseNot_found