module Regexp:Regexp.RegexpType
typeposition =int
module Position:Set.OrderedTypewith type t = position
module PositionSet:Set.Swith type elt = position
type letter
type regexp =
| |
RSym of |
| |
RSeq of |
| |
REmpty |
| |
RChoice of |
| |
RNone |
| |
RPlus of |
| |
RStar of |
| |
RAmp of |
val nullable : regexp -> boolval pos : regexp -> PositionSet.tval first : regexp -> PositionSet.tval last : regexp -> PositionSet.tval follow : regexp ->
position -> PositionSet.tval chi : regexp ->
position -> letterval star_normalize_aux : regexp -> regexpval star_normalize : regexp -> regexp