package ocp-indent
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A simple tool to indent OCaml programs
Install
dune-project
Dependency
Authors
Maintainers
Sources
1.6.1.tar.gz
sha256=f314fa1d6f1ece652a291b552f1f49ec6439c9c3f5e7819e16de5c08d4588fe2
md5=935d03f4f6376d687c46f350ff5eecdd
doc/ocp-indent.lexer/Approx_lexer/index.html
Module Approx_lexer
include module type of struct include Approx_tokens end
type token = Approx_tokens.token = | AMPERAMPER| AMPERSAND| AND| AS| ASSERT| BACKQUOTE| BANG| BAR| BARBAR| BARRBRACKET| BEGIN| CHAR of char overflow| CLASS| COLON| COLONCOLON| COLONEQUAL| COLONGREATER| COMMA| COMMENT| OCAMLDOC_CODE| OCAMLDOC_VERB| COMMENTCONT| CONSTRAINT| DO| DONE| DOT| DOTDOT| DOWNTO| ELSE| END| EOF| EQUAL| EXCEPTION| EXTERNAL| FALSE| FLOAT of string| FOR| FUN| FUNCTION| FUNCTOR| GREATER| GREATERRBRACE| GREATERRBRACKET| IF| ILLEGAL_CHAR of char| IN| INCLUDE| INFIXOP0 of string| INFIXOP1 of string| INFIXOP2 of string| INFIXOP3 of string| INFIXOP4 of string| INHERIT| INITIALIZER| INT of int overflow| INT32 of int32 overflow| INT64 of int64 overflow| LABEL of string| LAZY| LBRACE| LBRACELESS| LBRACKET| LBRACKETBAR| LBRACKETLESS| LBRACKETGREATER| LBRACKETPERCENT| LBRACKETPERCENTPERCENT| LBRACKETAT| LBRACKETATAT| LBRACKETATATAT| LESS| LESSMINUS| LET| LIDENT of string| LINE_DIRECTIVE| LPAREN| MATCH| METHOD| MINUS| MINUSDOT| MINUSGREATER| MODULE| MUTABLE| NATIVEINT of nativeint overflow| NEW| OBJECT| OF| OPEN| OPTLABEL of string| OR| PLUS| PLUSDOT| PREFIXOP of string| PRIVATE| QUESTION| QUESTIONQUESTION| QUOTATION| QUOTE| RBRACE| RBRACKET| REC| RPAREN| SEMI| SEMISEMI| SHARP| SIG| STAR| STRING of string| STRUCT| THEN| TILDE| TO| TRUE| TRY| TYPE| UIDENT of string| UNDERSCORE| VAL| VIRTUAL| WHEN| WHILE| WITH| EOL| SPACES
val lines_starts : (int * int) list refval keywords : (string * token) listval lexer_extensions : (Lexing.lexbuf -> Approx_tokens.token) list refval string_buff : bytes refval string_index : int refval string_start_loc : int refval quotation_start_loc : int refval quotation_kind : [ `Camlp4 | `Ppx of string ] refval comment_stack : in_comment list refval entering_inline_code_block : bool refval close_comment : unit -> tokenval rewind : Lexing.lexbuf -> int -> unitval can_overflow : (string -> 'a) -> Lexing.lexbuf -> 'a overflowval char_for_hexadecimal_code : Lexing.lexbuf -> int -> charval update_loc : Lexing.lexbuf -> string option -> int -> bool -> int -> unitval parse_token : Lexing.lexbuf -> tokenval __ocaml_lex_parse_token_rec : Lexing.lexbuf -> int -> tokenval quotation : Lexing.lexbuf -> tokenval __ocaml_lex_quotation_rec : Lexing.lexbuf -> int -> tokenval comment : Lexing.lexbuf -> tokenval __ocaml_lex_comment_rec : Lexing.lexbuf -> int -> tokenval verbatim : Lexing.lexbuf -> tokenval __ocaml_lex_verbatim_rec : Lexing.lexbuf -> int -> tokenval string : Lexing.lexbuf -> tokenval __ocaml_lex_string_rec : Lexing.lexbuf -> int -> tokenval token_locs : Lexing.lexbuf -> token * (Lexing.position * Lexing.position)val token_pos : Lexing.lexbuf -> token * (int * int)val token_locs_and_comments :
Lexing.lexbuf ->
token * (Lexing.position * Lexing.position)val get_token : Lexing.lexbuf -> tokenval token_with_comments : Lexing.lexbuf -> tokenval token : Lexing.lexbuf -> tokenval tokens_of_file : string -> (token * (int * int)) listval tokens_with_loc_of_string : string -> (token * (int * int)) listval tokens_of_string : string -> token list sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>