package lrgrep
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=e53de12e4c5cbe6bca00643593266b4f9fa2e3f6a138195eeff7a4329f5c1c75
sha512=7fd7c4d11506fea7cc11c9bbf5aea9142d905643553c0c90e1bb16b794106b0c14a266acf89ae91b6929008dc0ba6515f788642873e2e4ba6c3d49bd45d25127
doc/kernel/Kernel/Regexp/Expr/index.html
Module Regexp.ExprSource
Integer that serves as a unique id to identify sub-terms. Thanks to properties of Antimirov's derivatives, no new term is introduced during derivation. All terms are produced during initial parsing.
and 'g desc = | Set of 'g Info.lr1 Utils.Misc.indexset * Capture.set(*Recognise a set of states, and optionally bind the matching state to a variable.
*)| Alt of 'g t list(*
*)Alt tsis the disjunction of sub-termsts.Alt []represents the empty language.| Seq of 'g t list(*
*)Seq tsis the concatenation of sub-termsts.Seq []represents the empty stringε.| Star of 'g t * Syntax.quantifier_kind(*
*)Star t qkis the Kleene star oftwith quantifier policyqk(shortest or longest match).| Filter of 'g Info.lr1 Utils.Misc.indexset(*Restrict matching to LR(1) states in the given set.
*)| Reduce of Capture.set * 'g Reductions.t(*The reduction operator. The first component is the set of captures to bind, the second is the reduction specification.
*)| Usage of Utils.Usage.set(*Dead-code tracking marker. The set records which source constructs are exercised at this point in the expression.
*)
The different constructors of regular expressions
Introduce a new term, allocating a unique ID
Print a term to a Cmon document. The optional lr1 argument allows customizing the printing of LR(1) state indices.