mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Named arguments
This commit is contained in:
parent
d204922403
commit
79320652e3
15 changed files with 341 additions and 37 deletions
|
@ -185,6 +185,15 @@ void BfElementVisitor::Visit(BfExpressionStatement* exprStmt)
|
|||
VisitChild(exprStmt->mExpression);
|
||||
}
|
||||
|
||||
void BfElementVisitor::Visit(BfNamedExpression* namedExpr)
|
||||
{
|
||||
Visit(namedExpr->ToBase());
|
||||
|
||||
VisitChild(namedExpr->mNameNode);
|
||||
VisitChild(namedExpr->mColonToken);
|
||||
VisitChild(namedExpr->mExpression);
|
||||
}
|
||||
|
||||
void BfElementVisitor::Visit(BfAttributedExpression* attribExpr)
|
||||
{
|
||||
Visit(attribExpr->ToBase());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue