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

Method State

include/reflex/pattern.h:805–815  ·  view source on GitHub ↗

< maps lo to hi and state to transition to on char in range [lo,hi]

Source from the content-addressed store, hash-verified

803 typedef std::pair<Char,State*> Edge; ///< hi of char range [lo,hi] and state to transition to
804 typedef std::map<Char,Edge> Edges; ///< maps lo to hi and state to transition to on char in range [lo,hi]
805 State()
806 :
807 next(NULL),
808 left(NULL),
809 right(NULL),
810 tnode(NULL),
811 first(0),
812 index(0),
813 accept(0),
814 redo(false)
815 { }
816#ifndef WITH_TREE_DFA
817 State *assign(Tree::Node *node)
818 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected