package lrgrep
Module Regexp.ExprSource
Integers that serves has 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(length >= 2).Alt []represents the empty language.| Seq of 'g t list(*
*)Seq tsis the concatenation of sub-termsts(length >= 2).Seq []represents theε.| Star of 'g t * Syntax.quantifier_kind(*
*)Star tis represents the Kleene star oft| Filter of 'g Info.lr1 Utils.Misc.indexset| Reduce of Capture.set * 'g Reductions.t(*The reduction operator
*)| Usage of Utils.Usage.set
The different constructors of regular expressions
A regular expression term with its unique ID, its description and its position.
Introduce a new term, allocating a unique ID
Print a term to a Cmon document. var arguments allow to customize printing of variables.