mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-18 10:10:35 +03:00
violet: initial implementation
This commit is contained in:
@@ -46,6 +46,11 @@ void calcVertexOffsets(RoseInGraph &ig);
|
||||
enum nfa_kind whatRoseIsThis(const RoseInGraph &in, const RoseInEdge &e);
|
||||
void pruneUseless(RoseInGraph &g);
|
||||
|
||||
inline
|
||||
bool is_any_accept(RoseInVertex v, const RoseInGraph &g) {
|
||||
return g[v].type == RIV_ACCEPT || g[v].type == RIV_ACCEPT_EOD;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user