mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
simplify WhenInfo and Trigger classes given removal of old capture semantics
This commit is contained in:
parent
4af6b52876
commit
84906171ba
4 changed files with 62 additions and 179 deletions
|
@ -48,11 +48,6 @@ public:
|
|||
// statements are executed immediately and the object is deleted
|
||||
// right away.
|
||||
|
||||
// These first constructor is for the deprecated deep-copy semantics.
|
||||
Trigger(ExprPtr cond, StmtPtr body, StmtPtr timeout_stmts, double timeout, Frame* f,
|
||||
bool is_return, const Location* loc);
|
||||
|
||||
// Used for capture-list semantics.
|
||||
Trigger(WhenInfo* wi, double timeout, const IDSet& globals, std::vector<ValPtr> local_aggrs,
|
||||
Frame* f, const Location* loc);
|
||||
|
||||
|
@ -112,9 +107,6 @@ public:
|
|||
private:
|
||||
friend class TriggerTimer;
|
||||
|
||||
void Init(ExprPtr cond, StmtPtr body, StmtPtr timeout_stmts, Frame* frame, bool is_return,
|
||||
const Location* location);
|
||||
|
||||
void ReInit(std::vector<ValPtr> index_expr_results);
|
||||
|
||||
void Register(const ID* id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue