mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
mcclellancompile: docs for main compile function
This commit is contained in:
parent
42fca877a7
commit
c6f5275acc
@ -66,8 +66,20 @@ private:
|
|||||||
raw_dfa &rdfa;
|
raw_dfa &rdfa;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* accel_states: (optional) on success, is filled with the set of accelerable
|
/**
|
||||||
* states */
|
* \brief Construct an implementation DFA.
|
||||||
|
*
|
||||||
|
* \param raw the raw dfa to construct from
|
||||||
|
* \param cc compile context
|
||||||
|
* \param rm report manger
|
||||||
|
* \param only_accel_init if true, only the init states will be examined for
|
||||||
|
* acceleration opportunities
|
||||||
|
* \param trust_daddy_states if true, trust the daddy state set in the raw dfa
|
||||||
|
* rather than conducting a search for a better daddy (for Sherman
|
||||||
|
* states)
|
||||||
|
* \param accel_states (optional) success, is filled with the set of
|
||||||
|
* accelerable states
|
||||||
|
*/
|
||||||
bytecode_ptr<NFA>
|
bytecode_ptr<NFA>
|
||||||
mcclellanCompile(raw_dfa &raw, const CompileContext &cc,
|
mcclellanCompile(raw_dfa &raw, const CompileContext &cc,
|
||||||
const ReportManager &rm, bool only_accel_init,
|
const ReportManager &rm, bool only_accel_init,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user