mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
accessors / friends needed for compiling-to-C++
This commit is contained in:
parent
66fb3e0f56
commit
1ede6a8424
3 changed files with 17 additions and 5 deletions
|
@ -85,6 +85,12 @@ const AnyIndexExpr* Expr::AsAnyIndexExpr() const
|
|||
return (const AnyIndexExpr*) this;
|
||||
}
|
||||
|
||||
LambdaExpr* Expr::AsLambdaExpr()
|
||||
{
|
||||
CHECK_TAG(tag, EXPR_LAMBDA, "ExprVal::AsLambdaExpr", expr_name)
|
||||
return (LambdaExpr*) this;
|
||||
}
|
||||
|
||||
const LambdaExpr* Expr::AsLambdaExpr() const
|
||||
{
|
||||
CHECK_TAG(tag, EXPR_LAMBDA, "ExprVal::AsLambdaExpr", expr_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue