mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
A number of smaller API extensions to provide plugins with access to
information.
This commit is contained in:
parent
79531a4538
commit
d88b333353
13 changed files with 127 additions and 35 deletions
|
@ -608,6 +608,10 @@ public:
|
|||
CondExpr(Expr* op1, Expr* op2, Expr* op3);
|
||||
~CondExpr();
|
||||
|
||||
const Expr* Op1() const { return op1; }
|
||||
const Expr* Op2() const { return op2; }
|
||||
const Expr* Op3() const { return op3; }
|
||||
|
||||
Expr* Simplify(SimplifyType simp_type);
|
||||
Val* Eval(Frame* f) const;
|
||||
int IsPure() const;
|
||||
|
@ -706,6 +710,7 @@ public:
|
|||
~FieldExpr();
|
||||
|
||||
int Field() const { return field; }
|
||||
const char* FieldName() const { return field_name; }
|
||||
|
||||
int CanDel() const;
|
||||
|
||||
|
@ -737,6 +742,8 @@ public:
|
|||
HasFieldExpr(Expr* op, const char* field_name);
|
||||
~HasFieldExpr();
|
||||
|
||||
const char* FieldName() const { return field_name; }
|
||||
|
||||
protected:
|
||||
friend class Expr;
|
||||
HasFieldExpr() { field_name = 0; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue