package catala

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

Module Surface.LexerSource

Sourceval __sedlex_table_75 : string
Sourceval __sedlex_table_7 : string
Sourceval __sedlex_table_13 : string
Sourceval __sedlex_table_16 : string
Sourceval __sedlex_table_19 : string
Sourceval __sedlex_table_33 : string
Sourceval __sedlex_table_1 : string
Sourceval __sedlex_table_3 : string
Sourceval __sedlex_table_4 : string
Sourceval __sedlex_table_5 : string
Sourceval __sedlex_table_6 : string
Sourceval __sedlex_table_9 : string
Sourceval __sedlex_table_15 : string
Sourceval __sedlex_table_18 : string
Sourceval __sedlex_table_21 : string
Sourceval __sedlex_table_22 : string
Sourceval __sedlex_table_24 : string
Sourceval __sedlex_table_25 : string
Sourceval __sedlex_table_26 : string
Sourceval __sedlex_table_27 : string
Sourceval __sedlex_table_28 : string
Sourceval __sedlex_table_30 : string
Sourceval __sedlex_table_31 : string
Sourceval __sedlex_table_34 : string
Sourceval __sedlex_table_36 : string
Sourceval __sedlex_table_37 : string
Sourceval __sedlex_table_38 : string
Sourceval __sedlex_table_40 : string
Sourceval __sedlex_table_45 : string
Sourceval __sedlex_table_49 : string
Sourceval __sedlex_table_50 : string
Sourceval __sedlex_table_54 : string
Sourceval __sedlex_table_56 : string
Sourceval __sedlex_table_57 : string
Sourceval __sedlex_table_58 : string
Sourceval __sedlex_table_59 : string
Sourceval __sedlex_table_60 : string
Sourceval __sedlex_table_61 : string
Sourceval __sedlex_table_63 : string
Sourceval __sedlex_table_65 : string
Sourceval __sedlex_table_66 : string
Sourceval __sedlex_table_67 : string
Sourceval __sedlex_table_69 : string
Sourceval __sedlex_table_70 : string
Sourceval __sedlex_table_71 : string
Sourceval __sedlex_table_73 : string
Sourceval __sedlex_table_74 : string
Sourceval __sedlex_table_76 : string
Sourceval __sedlex_table_79 : string
Sourceval __sedlex_table_11 : string
Sourceval __sedlex_table_23 : string
Sourceval __sedlex_table_35 : string
Sourceval __sedlex_table_42 : string
Sourceval __sedlex_table_80 : string
Sourceval __sedlex_table_55 : string
Sourceval __sedlex_table_78 : string
Sourceval __sedlex_table_43 : string
Sourceval __sedlex_table_8 : string
Sourceval __sedlex_table_17 : string
Sourceval __sedlex_table_41 : string
Sourceval __sedlex_table_48 : string
Sourceval __sedlex_table_52 : string
Sourceval __sedlex_table_2 : string
Sourceval __sedlex_table_10 : string
Sourceval __sedlex_table_44 : string
Sourceval __sedlex_table_72 : string
Sourceval __sedlex_table_12 : string
Sourceval __sedlex_table_77 : string
Sourceval __sedlex_table_14 : string
Sourceval __sedlex_table_20 : string
Sourceval __sedlex_table_32 : string
Sourceval __sedlex_table_46 : string
Sourceval __sedlex_table_47 : string
Sourceval __sedlex_table_53 : string
Sourceval __sedlex_table_62 : string
Sourceval __sedlex_table_68 : string
Sourceval __sedlex_table_29 : string
Sourceval __sedlex_table_39 : string
Sourceval __sedlex_table_64 : string
Sourceval __sedlex_table_51 : string
Sourceval __sedlex_partition_45 : int -> int
Sourceval __sedlex_partition_3 : int -> int
Sourceval __sedlex_partition_29 : int -> int
Sourceval __sedlex_partition_18 : int -> int
Sourceval __sedlex_partition_89 : int -> int
Sourceval __sedlex_partition_36 : int -> int
Sourceval __sedlex_partition_26 : int -> int
Sourceval __sedlex_partition_74 : int -> int
Sourceval __sedlex_partition_70 : int -> int
Sourceval __sedlex_partition_6 : int -> int
Sourceval __sedlex_partition_11 : int -> int
Sourceval __sedlex_partition_32 : int -> int
Sourceval __sedlex_partition_40 : int -> int
Sourceval __sedlex_partition_4 : int -> int
Sourceval __sedlex_partition_12 : int -> int
Sourceval __sedlex_partition_64 : int -> int
Sourceval __sedlex_partition_78 : int -> int
Sourceval __sedlex_partition_5 : int -> int
Sourceval __sedlex_partition_38 : int -> int
Sourceval __sedlex_partition_82 : int -> int
Sourceval __sedlex_partition_86 : int -> int
Sourceval __sedlex_partition_57 : int -> int
Sourceval __sedlex_partition_72 : int -> int
Sourceval __sedlex_partition_13 : int -> int
Sourceval __sedlex_partition_50 : int -> int
Sourceval __sedlex_partition_52 : int -> int
Sourceval __sedlex_partition_61 : int -> int
Sourceval __sedlex_partition_90 : int -> int
Sourceval __sedlex_partition_46 : int -> int
Sourceval __sedlex_partition_60 : int -> int
Sourceval __sedlex_partition_30 : int -> int
Sourceval __sedlex_partition_33 : int -> int
Sourceval __sedlex_partition_21 : int -> int
Sourceval __sedlex_partition_49 : int -> int
Sourceval __sedlex_partition_93 : int -> int
Sourceval __sedlex_partition_28 : int -> int
Sourceval __sedlex_partition_7 : int -> int
Sourceval __sedlex_partition_17 : int -> int
Sourceval __sedlex_partition_85 : int -> int
Sourceval __sedlex_partition_59 : int -> int
Sourceval __sedlex_partition_69 : int -> int
Sourceval __sedlex_partition_55 : int -> int
Sourceval __sedlex_partition_87 : int -> int
Sourceval __sedlex_partition_62 : int -> int
Sourceval __sedlex_partition_16 : int -> int
Sourceval __sedlex_partition_22 : int -> int
Sourceval __sedlex_partition_51 : int -> int
Sourceval __sedlex_partition_79 : int -> int
Sourceval __sedlex_partition_53 : int -> int
Sourceval __sedlex_partition_2 : int -> int
Sourceval __sedlex_partition_77 : int -> int
Sourceval __sedlex_partition_91 : int -> int
Sourceval __sedlex_partition_92 : int -> int
Sourceval __sedlex_partition_10 : int -> int
Sourceval __sedlex_partition_35 : int -> int
Sourceval __sedlex_partition_76 : int -> int
Sourceval __sedlex_partition_66 : int -> int
Sourceval __sedlex_partition_68 : int -> int
Sourceval __sedlex_partition_27 : int -> int
Sourceval __sedlex_partition_54 : int -> int
Sourceval __sedlex_partition_83 : int -> int
Sourceval __sedlex_partition_1 : int -> int
Sourceval __sedlex_partition_9 : int -> int
Sourceval __sedlex_partition_25 : int -> int
Sourceval __sedlex_partition_81 : int -> int
Sourceval __sedlex_partition_39 : int -> int
Sourceval __sedlex_partition_41 : int -> int
Sourceval __sedlex_partition_44 : int -> int
Sourceval __sedlex_partition_56 : int -> int
Sourceval __sedlex_partition_24 : int -> int
Sourceval __sedlex_partition_42 : int -> int
Sourceval __sedlex_partition_58 : int -> int
Sourceval __sedlex_partition_19 : int -> int
Sourceval __sedlex_partition_94 : int -> int
Sourceval __sedlex_partition_20 : int -> int
Sourceval __sedlex_partition_84 : int -> int
Sourceval __sedlex_partition_31 : int -> int
Sourceval __sedlex_partition_15 : int -> int
Sourceval __sedlex_partition_63 : int -> int
Sourceval __sedlex_partition_67 : int -> int
Sourceval __sedlex_partition_8 : int -> int
Sourceval __sedlex_partition_23 : int -> int
Sourceval __sedlex_partition_34 : int -> int
Sourceval __sedlex_partition_47 : int -> int
Sourceval __sedlex_partition_75 : int -> int
Sourceval __sedlex_partition_14 : int -> int
Sourceval __sedlex_partition_37 : int -> int
Sourceval __sedlex_partition_73 : int -> int
Sourceval __sedlex_partition_43 : int -> int
Sourceval __sedlex_partition_80 : int -> int
Sourceval __sedlex_partition_65 : int -> int
Sourceval __sedlex_partition_48 : int -> int
Sourceval __sedlex_partition_71 : int -> int
Sourceval __sedlex_partition_88 : int -> int

Concise syntax with English abbreviated keywords.

Sourcemodule Pos = Utils.Pos
Sourcemodule Errors = Utils.Errors
Sourcemodule R = Re.Pcre
Sourceval is_code : bool ref

Boolean reference, used by the lexer as the mutable state to distinguish whether it is lexing code or law.

Sourceval code_string_acc : string ref

Mutable string reference that accumulates the string representation of the body of code being lexed. This string representation is used in the literate programming backends to faithfully capture the spacing pattern of the original program

Sourceval update_acc : Sedlexing.lexbuf -> unit

Updates code_string_acc with the current lexeme

Sourceval raise_lexer_error : Pos.t -> string -> 'a

Error-generating helper

Sourceval token_list_language_agnostic : (string * Parser.token) list

Associative list matching each punctuation string part of the Catala syntax with its Surface.Parser token. Same for all the input languages (English, French, etc.)

Sourceval token_list : (string * Parser.token) list

Same as token_list_language_agnostic, but with tokens whose string varies with the input language.

Main lexing function used in a code block

Main lexing function used outside code blocks

Entry point of the lexer, distributes to lex_code or lex_law depending of is_code.

OCaml

Innovation. Community. Security.