package alba
Alba compiler
Install
Dune Dependency
Authors
Maintainers
Sources
0.4.4.tar.gz
sha256=4817038301d3e45bac9edf7e6f2fc8bf0a6d78e76e02ad7ea33ef69bcc17df3b
md5=25234357587126685d64f16236167937
doc/alba.fmlib/Fmlib/Generic_parser/Make/index.html
Module Generic_parser.Make
Parameters
module T : Module_types.ANY
module S : Module_types.ANY
module Expect : Module_types.ANY
module Semantic : Module_types.ANY
module F : Module_types.ANY
Signature
type token = T.t
type final = F.t
include COMBINATORS with type semantic = Semantic.t
type semantic = Semantic.t
val return : 'a -> 'a t
val succeed : 'a -> 'a t
followed_by p expect
Parses p
and backtracks (i.e. all tokens of p
will be pushed back to the lookahead). In case p
succeeds, the followed_by
parser succeeds without consuming tokens. Otherwise it fails without consuming tokens.
not_followed_by p expect
Parses p
and backtracks (i.e. all tokens of p
will be pushed back to the lookahead). In case p
succeeds, the not_followed_by
parser fails without consuming tokens. Otherwise it succeeds without consuming tokens.
val needs_more : parser -> bool
val has_ended : parser -> bool
val error_string :
parser ->
(Expect.t -> string) ->
(Semantic.t -> string) ->
string
val has_succeeded : parser -> bool
val has_failed : parser -> bool
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page