module type RegexpType =sig
..end
typeposition =
int
module Position:Set.OrderedType
with type t = position
module PositionSet:Set.S
with type elt = position
type
letter
type
regexp =
| |
RSym of |
| |
RSeq of |
| |
REmpty |
| |
RChoice of |
| |
RNone |
| |
RPlus of |
| |
RStar of |
| |
RAmp of |
val nullable : regexp -> bool
val pos : regexp -> PositionSet.t
val first : regexp -> PositionSet.t
val last : regexp -> PositionSet.t
val follow : regexp ->
position -> PositionSet.t
val chi : regexp ->
position -> letter
val star_normalize_aux : regexp -> regexp
val star_normalize : regexp -> regexp