mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
fix for analyzing non-reduced ASTs
This commit is contained in:
parent
55c5ce06d1
commit
f6a119254f
2 changed files with 6 additions and 1 deletions
|
@ -67,6 +67,12 @@ const AddToExpr* Expr::AsAddToExpr() const
|
|||
return (const AddToExpr*) this;
|
||||
}
|
||||
|
||||
const InlineExpr* Expr::AsInlineExpr() const
|
||||
{
|
||||
CHECK_TAG(tag, EXPR_INLINE, "ExprVal::AsInlineExpr", expr_name)
|
||||
return (const InlineExpr*) this;
|
||||
}
|
||||
|
||||
ExprPtr Expr::GetOp1() const { return nullptr; }
|
||||
ExprPtr Expr::GetOp2() const { return nullptr; }
|
||||
ExprPtr Expr::GetOp3() const { return nullptr; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue