mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Stmt: Introduce assert statement and related hooks
including two hooks called assertion_failure() and assertion_result() for customization and tracking of assertion results.
This commit is contained in:
parent
a25b1a9d59
commit
25ea678626
41 changed files with 635 additions and 3 deletions
|
@ -29,6 +29,7 @@ namespace detail
|
|||
class CompositeHash;
|
||||
class Frame;
|
||||
|
||||
class AssertStmt;
|
||||
class CatchReturnStmt;
|
||||
class ExprStmt;
|
||||
class ForStmt;
|
||||
|
@ -94,6 +95,7 @@ public:
|
|||
const WhenStmt* AsWhenStmt() const;
|
||||
const SwitchStmt* AsSwitchStmt() const;
|
||||
const NullStmt* AsNullStmt() const;
|
||||
const AssertStmt* AsAssertStmt() const;
|
||||
|
||||
void RegisterAccess() const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue