mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
captures for "when" statements
update Triggers to IntrusivePtr's and simpler AST traversal introduce IDSet type, migrate associated "ID*" types to "const ID*"
This commit is contained in:
parent
fa142438fe
commit
f895008c34
24 changed files with 648 additions and 202 deletions
2
src/ID.h
2
src/ID.h
|
@ -5,6 +5,7 @@
|
|||
#include <map>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <unordered_set>
|
||||
#include <vector>
|
||||
|
||||
#include "zeek/Attr.h"
|
||||
|
@ -55,6 +56,7 @@ enum IDScope
|
|||
|
||||
class ID;
|
||||
using IDPtr = IntrusivePtr<ID>;
|
||||
using IDSet = std::unordered_set<const ID*>;
|
||||
|
||||
class IDOptInfo;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue