package utop
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Universal toplevel for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
utop-2.15.0.tar.gz
sha256=7659dea0a7f7a5b16e30024ee681445179f8c0f87630e5cdae554280dacd6fac
sha512=f05aa85fbec3a4ecda6068b1ed350f61a0b3626969641c37508fde0fdeeffa80abd50b406c36884a81bc965d91d97d797490da1fe4edea0daa3936d47bbb1c70
doc/utop/UTop_token/index.html
Module UTop_tokenSource
Tokens.
The type of tokens is semi-structured: parentheses construct and quotations are nested and others tokens are flat list.
Source
type location = {idx1 : int;(*Start position in unicode characters.
*)idx2 : int;(*Stop position in unicode characters.
*)ofs1 : int;(*Start position in bytes.
*)ofs2 : int;(*Stop position in bytes.
*)
}Locations in the source string, which is encoded in UTF-8.
Source
type t = | Symbol of string| Lident of string| Uident of string| Constant of string| Char| String of int * bool(*
*)String (quote_size, terminated).| Comment of comment_kind * bool(*
*)Comment (kind, terminated).| Blanks| Error| Quotation of (quotation_item * location) list * bool(*
*)Quotation (items, terminated).
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>