mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Revert "Merge remote-tracking branch 'origin/topic/vern/at-if-analyze'"
This reverts commit4e797ddbbc
, reversing changes made to3ac28ba5a2
.
This commit is contained in:
parent
cfbb7eb8ee
commit
5a3abbe364
78 changed files with 340 additions and 1286 deletions
|
@ -37,15 +37,12 @@ public:
|
|||
|
||||
const IDPtr& Find(std::string_view name) const;
|
||||
|
||||
void Insert(std::string name, IDPtr id)
|
||||
template <typename N, typename I> void Insert(N&& name, I&& id)
|
||||
{
|
||||
local[name] = id;
|
||||
ordered_vars.push_back(id);
|
||||
local[std::forward<N>(name)] = std::forward<I>(id);
|
||||
ordered_vars.push_back(std::forward<I>(id));
|
||||
}
|
||||
|
||||
// Must only be called for the global scope.
|
||||
void RemoveGlobal(std::string name, IDPtr gid);
|
||||
|
||||
const IDPtr& GetID() const { return scope_id; }
|
||||
|
||||
const std::unique_ptr<std::vector<AttrPtr>>& Attrs() const { return attrs; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue