package lrgrep
Module Automata.DFASource
Source
type ('src, 'tgt) mapping =
('tgt, 'src Fix.Indexing.index * (Regexp.Capture.set * Utils.Usage.set))
Fix.Indexing.vectorSource
type ('g, 'r, 'dfa, 'n) state = {index : 'dfa Fix.Indexing.index;branches : ('n, ('g, 'r) Spec.branch Fix.Indexing.index) Fix.Indexing.vector;accepting : 'n Utils.Boolvector.t;mutable transitions : ('g, 'r, 'dfa, 'n) transition list;
}Source
and ('g, 'r, 'dfa, 'src) transition = | Transition : {label : 'g Info.lr1 Utils.Misc.indexset;target : ('g, 'r, 'dfa, 'tgt) state;mapping : ('src, 'tgt) mapping;
} -> ('g, 'r, 'dfa, 'src) transition
Source
type ('g, 'r, 'dfa) t = {initial : 'dfa Fix.Indexing.index;states : ('dfa, ('g, 'r, 'dfa) packed) Fix.Indexing.vector;domain : ('dfa, 'g Info.lr1 Utils.Misc.indexset) Fix.Indexing.vector;kernels : ('dfa, ('g, 'r) NFA.t array) Fix.Indexing.vector;
}Source
val dump :
'a Kernel__Info.grammar ->
('a, 'b, 'c) t ->
'a Redgraph.graph ->
Stdlib.out_channel ->
unitSource
val determinize :
'g Info.grammar ->
('g, 'r) Spec.branches ->
('g, 's) stacks ->
('a, ('g, 'r) NFA.t) Fix.Indexing.Vector.t ->
('g, 'r) _t