zeek/src/DbgWatch.h
Johanna Amann 36741c2fbf Reformat
2023-11-06 09:42:46 +00:00

26 lines
394 B
C++

// Structures and methods for implementing watches in the Zeek debugger.
#pragma once
#include "zeek/util.h"
namespace zeek {
class Obj;
}
namespace zeek::detail {
class Expr;
class DbgWatch {
public:
explicit DbgWatch(Obj* var_to_watch);
explicit DbgWatch(Expr* expr_to_watch);
~DbgWatch() = default;
protected:
Obj* var;
Expr* expr;
};
} // namespace zeek::detail