dparsergen.generator.nfa

Undocumented in source.

Members

Aliases

Set
alias Set = HybridSet
Undocumented in source.

Classes

Graph
class Graph(Symbol_, Result_, EdgeExtra_ = string)
Undocumented in source.

Enums

EdgeFlags
enum EdgeFlags
Undocumented in source.

Functions

completeEmpty
void completeEmpty(G graph, Set!(G.NodeID) current)
Undocumented in source.
defaultNodeResultsText
string defaultNodeResultsText(G graph, G.NodeID node)
Undocumented in source. Be warned that the author may not have intended to support it.
makeDeterministic
Graph!(G.Symbol, G.Result, G.EdgeExtra) makeDeterministic(G inputGraph, G.NodeID start, bool stopOnSingleResult, immutable(G.Result)[] delegate(immutable(G.Result)[]) filterResult)
Undocumented in source.
minimizeDFA
Graph!(Symbol, Result, EdgeExtra) minimizeDFA(Graph!(Symbol, Result, EdgeExtra) g, bool verbose, bool anyEdges)
Undocumented in source. Be warned that the author may not have intended to support it.
reachableResults
G.Result[] reachableResults(G graph, G.NodeID start)
Undocumented in source.
removeDeadStates
Graph!(Symbol, Result, EdgeExtra) removeDeadStates(Graph!(Symbol, Result, EdgeExtra) g)
Undocumented in source. Be warned that the author may not have intended to support it.
simulate
void simulate(G graph, Set!(G.NodeID) current, G.Symbol symbol, Set!(G.NodeID) next, EdgeFlags flags)
Undocumented in source.
simulate
Set!(G.NodeID) simulate(G graph, Set!(G.NodeID) current, G.Symbol symbol)
Undocumented in source.
simulate
Set!(G.NodeID) simulate(G graph, G.NodeID start, G.Symbol[] input)
Undocumented in source.
toGraphViz
void toGraphViz(G g, string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
toGraphViz
void toGraphViz(G g, File f, size_t idoffset)
Undocumented in source. Be warned that the author may not have intended to support it.
toGraphViz2
void toGraphViz2(G g, string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
toGraphViz2
void toGraphViz2(G g, File f, size_t idoffset)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

HybridSet
struct HybridSet(ID)
Undocumented in source.

Meta