mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-10 08:12:21 +03:00
violet: initial implementation
This commit is contained in:
10
src/grey.h
10
src/grey.h
@@ -51,7 +51,9 @@ struct Grey {
|
||||
bool allowLbr;
|
||||
bool allowMcClellan;
|
||||
bool allowPuff;
|
||||
bool allowLiteral;
|
||||
bool allowRose;
|
||||
bool allowViolet;
|
||||
bool allowExtendedNFA;
|
||||
bool allowLimExNFA;
|
||||
bool allowAnchoredAcyclic;
|
||||
@@ -62,6 +64,14 @@ struct Grey {
|
||||
bool allowNoodle;
|
||||
bool fdrAllowTeddy;
|
||||
|
||||
u32 violetAvoidSuffixes; /* 0=never, 1=sometimes, 2=always */
|
||||
bool violetAvoidWeakInfixes;
|
||||
bool violetDoubleCut;
|
||||
bool violetExtractStrongLiterals;
|
||||
bool violetLiteralChains;
|
||||
u32 violetDoubleCutLiteralLen;
|
||||
u32 violetEarlyCleanLiteralLen;
|
||||
|
||||
bool puffImproveHead;
|
||||
bool castleExclusive; // enable castle mutual exclusion analysis
|
||||
|
||||
|
Reference in New Issue
Block a user