mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
Stmt: move Stmt classes into zeek::detail namespace
This commit is contained in:
parent
f952acaddc
commit
3fa4acc175
23 changed files with 177 additions and 132 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
#include "zeek-config.h"
|
||||
|
||||
#include "Stmt.h"
|
||||
|
||||
#include "CompHash.h"
|
||||
#include "Expr.h"
|
||||
#include "Event.h"
|
||||
|
@ -9,7 +11,6 @@
|
|||
#include "File.h"
|
||||
#include "Reporter.h"
|
||||
#include "NetVar.h"
|
||||
#include "Stmt.h"
|
||||
#include "Scope.h"
|
||||
#include "Var.h"
|
||||
#include "Desc.h"
|
||||
|
@ -34,6 +35,8 @@ const char* stmt_name(BroStmtTag t)
|
|||
return stmt_names[int(t)];
|
||||
}
|
||||
|
||||
namespace zeek::detail {
|
||||
|
||||
Stmt::Stmt(BroStmtTag arg_tag)
|
||||
{
|
||||
tag = arg_tag;
|
||||
|
@ -1833,3 +1836,5 @@ TraversalCode WhenStmt::Traverse(TraversalCallback* cb) const
|
|||
tc = cb->PostStmt(this);
|
||||
HANDLE_TC_STMT_POST(tc);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue