Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Source file parse_error.ml
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115moduleLocation=Odoc_model.Location_moduleError=Odoc_model.ErroropenOdoc_compatletbad_markup:?suggestion:string->string->Location.span->Error.t=fun?suggestion->Error.make?suggestion"'%s': bad markup."letbad_heading_level:int->Location.span->Error.t=Error.make"'%d': bad heading level (0-5 allowed)."letleading_zero_in_heading_level:string->Location.span->Error.t=Error.make"'%s': leading zero in heading level."letshould_not_be_empty:what:string->Location.span->Error.t=fun~what->Error.make"%s should not be empty."(String.capitalize_asciiwhat)letshould_begin_on_its_own_line:what:string->Location.span->Error.t=fun~what->Error.make"%s should begin on its own line."(String.capitalize_asciiwhat)letshould_be_followed_by_whitespace:what:string->Location.span->Error.t=fun~what->Error.make"%s should be followed by space, a tab, or a new line."(String.capitalize_asciiwhat)letnot_allowed:?suggestion:string->what:string->in_what:string->Location.span->Error.t=fun?suggestion~what~in_what->Error.make?suggestion"%s is not allowed in %s."(String.capitalize_asciiwhat)in_whatletno_leading_whitespace_in_verbatim:Location.span->Error.t=Error.make"'{v' should be followed by whitespace."letno_trailing_whitespace_in_verbatim:Location.span->Error.t=Error.make"'v}' should be preceded by whitespace."letpage_heading_required:string->Error.t=Error.filename_only"Pages (.mld files) should start with a heading."letheading_level_should_be_lower_than_top_level:int->int->Location.span->Error.t=funthis_heading_leveltop_heading_level->Error.make"%s: heading level should be lower than top heading level '%d'."(String.capitalize_ascii(Token.print(`Begin_section_heading(this_heading_level,None))))top_heading_levelletheadings_not_allowed:Location.span->Error.t=Error.make"Headings not allowed in this comment."lettitles_not_allowed:Location.span->Error.t=Error.make"Title-level headings {0 ...} are only allowed in pages."letstray_at:Location.span->Error.t=Error.make"Stray '@'."letstray_cr:Location.span->Error.t=Error.make"Stray '\\r' (carriage return character)."lettruncated_before:Location.span->Error.t=Error.make"'@before' expects version number on the same line."lettruncated_param:Location.span->Error.t=Error.make"'@param' expects parameter name on the same line."lettruncated_raise:Location.span->Error.t=Error.make"'@raise' expects exception constructor on the same line."lettruncated_see:Location.span->Error.t=Error.make"'@see' should be followed by <url>, 'file', or \"document title\"."letunknown_tag:string->Location.span->Error.t=Error.make"Unknown tag '%s'."letunpaired_right_brace:Location.span->Error.t=Error.make~suggestion:"try '\\}'.""Unpaired '}' (end of markup)."letunpaired_right_bracket:Location.span->Error.t=Error.make~suggestion:"try '\\]'.""Unpaired ']' (end of code)."letinvalid_raw_markup_target:string->Location.span->Error.t=Error.make~suggestion:(Printf.sprintf"try %s."(Token.print(`Raw_markup(Some"html",""))))"'{%%%s:': bad raw markup target."letdefault_raw_markup_target_not_supported:Location.span->Error.t=Error.make~suggestion:(Printf.sprintf"try %s."(Token.print(`Raw_markup(Some"html",""))))"%s needs a target language."(Token.describe(`Raw_markup(None,"")))letexpected:string->Location.span->Error.t=Error.make"Expected %s."letunknown_reference_qualifier:string->Location.span->Error.t=Error.make"Unknown reference qualifier '%s'."letdeprecated_reference_kind:string->string->Location.span->Error.t=Error.make"'%s' is deprecated, use '%s' instead."letreference_kinds_do_not_match:string->string->Location.span->Error.t=Error.make"Old-style reference kind ('%s:') does not match new ('%s-')."