package earley
Parsing library based on Earley Algorithm
Install
Dune Dependency
Authors
Maintainers
Sources
3.0.0.tar.gz
md5=6b666c0392dc5b153f81c27d6ef49b12
sha512=a81d2bcf05088a3aaa5c3c0fb3a38306061a624ddf6d8bbefee1b4a17d7a5961ad1b12c0af9bd8dce86aa14b6f05f1956b3f7b5731f3c552bec7f4550182c398
doc/earley.core/Earley_core/Keywords/Make/index.html
Module Keywords.Make
Source
Parameters
Signature
reserve s
reserves the word s
as if it was a keyword, although it will not be defined as one. The exception Invalid_argument
is raised if the word s
is already reserved.
mem s
tests whether s
is a reserved word or not.
check s
calls Earley.give_up ()
if s
is a reserved word. It can be used to reject keywords while parsing identifiers for example.
create s
reserves the keyword s
and returns a parser accepting the string s
, not followed by a character of S.id_charset
. In the case where s
is already reserved, Invalid_argument
is raised.
special s
accpets the same input as create s
, but the word s
is not reserved.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page