package pacomb
Parsing library based on combinators and ppx extension to write languages
Install
Dune Dependency
Authors
Maintainers
Sources
1.3.tar.gz
md5=e48dc9fae5b96632bd1de929a49af71c
sha512=e4bf5dcfb0d4c5225a81fffe8e74cd9c147221eb9c8278b05d22391da0e06c6997e5b9a83a6431d72829f07f402da2449778cfe0bd56e7e2d3c8e08bbc1a73d5
doc/pacomb/Pacomb/Blank/index.html
Module Pacomb.Blank
Source
Position in a buffer is a Input.buffer
together with an index Input.pos
.
A blank function is just a function progressing in a buffer
Functions managing blanks
line_comments s
Blank with standard spaces and line starting with s
. cs
defaults to Charset.from_string " \t\n\r"
Source
type layout_config = {
old_blanks_before : bool;
(*Ignoring blanks with the old blank function before parsing?
*)new_blanks_before : bool;
(*Then ignore blanks with the new blank function (before parsing)?
*)new_blanks_after : bool;
(*Use the new blank function one last time before resuming old layout?
*)old_blanks_after : bool;
(*Use then the old blank function one last time as well?
*)
}
Default configuration, parsing with the old blanks before (i.e., the field old_blanks_before
is true
), and the new blanks after (i.e., the field old_blanks_after
is also true
). The other two fields are false
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page