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.14.0.tbz
sha256=0fd5a9bc5b458524a71463a1fe0cd16f9b7be13673ae303118b7216e0d273ba9
sha512=d64a5ab671424279be13ebd080deac7ee46e2c9bc3abcfc37a6dff164124cc3abc52801527c35d9160ec868f9b8f334880026aaeaad02e507112fd8392094845
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)"
>