MCPcopy Create free account
hub / github.com/Genivia/ugrep / MetaEdgesClosure

Method MetaEdgesClosure

include/reflex/pattern.h:847–853  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

845 // transitive closure of DFA meta edges; no follow metas to accepting states and no follow cycles
846 struct MetaEdgesClosure {
847 MetaEdgesClosure(State& state)
848 {
849 edge = state.edges.begin();
850 end = state.edges.end();
851 accept = state.accept > 0 || state.edges.empty();
852 walk();
853 }
854 MetaEdgesClosure(State *state)
855 {
856 edge = state->edges.begin();

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected