mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
sundry accessors/cast-ers; RE_Matcher's track their construction values
This commit is contained in:
parent
17affdb858
commit
d53d2ac755
8 changed files with 50 additions and 3 deletions
|
@ -85,6 +85,12 @@ const AnyIndexExpr* Expr::AsAnyIndexExpr() const
|
|||
return (const AnyIndexExpr*) this;
|
||||
}
|
||||
|
||||
const LambdaExpr* Expr::AsLambdaExpr() const
|
||||
{
|
||||
CHECK_TAG(tag, EXPR_LAMBDA, "ExprVal::AsLambdaExpr", expr_name)
|
||||
return (const LambdaExpr*) 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