package opam-file-format
Parser and printer for the opam file syntax
Install
Dune Dependency
Authors
Maintainers
Sources
2.1.1.tar.gz
md5=c1949c5dff062c754d0642c7eded794f
sha512=bb5fab696a31d985539e75383d82299145ea594456e7aa9ecff425187f2c781a2efda6924a193623938cafa13a8c65a2624dd965242289d5404f0a4d61af37b0
doc/opam-file-format/OpamParserTypes/index.html
Module OpamParserTypes
Defines the types for the opam format lexer and parser
Type definitions used by the legacy and the new full position modules
Relational operators
type pos = file_name * int * int
Source file positions: (filename, line, column)
module FullPos : sig ... end
OpamParserTypes
transitional module with full position types
type value =
| Bool of pos * bool
| Int of pos * int
| String of pos * string
| Relop of pos * relop * value * value
| Prefix_relop of pos * relop * value
| Logop of pos * logop * value * value
| Pfxop of pos * pfxop * value
| Ident of pos * string
| List of pos * value list
| Group of pos * value list
| Option of pos * value * value list
| Env_binding of pos * value * env_update_op * value
type opamfile_section = {
section_kind : string;
section_name : string option;
section_items : opamfile_item list;
}
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>