mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Support for expression-bodied properties with mut
This commit is contained in:
parent
60b6437f69
commit
c0fe1d1c1b
7 changed files with 47 additions and 11 deletions
|
@ -2584,6 +2584,13 @@ void BfPrinter::Visit(BfPropertyMethodDeclaration* propertyMethodDeclaration)
|
|||
QueueVisitChild(propertyMethodDeclaration->mEndSemicolon);
|
||||
}
|
||||
|
||||
void BfPrinter::Visit(BfPropertyBodyExpression* propertyBodyExpression)
|
||||
{
|
||||
VisitChild(propertyBodyExpression->mMutSpecifier);
|
||||
ExpectSpace();
|
||||
VisitChild(propertyBodyExpression->mFatTokenArrow);
|
||||
}
|
||||
|
||||
void BfPrinter::Visit(BfPropertyDeclaration* propertyDeclaration)
|
||||
{
|
||||
auto indexerDeclaration = BfNodeDynCast<BfIndexerDeclaration>(propertyDeclaration);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue