mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
String interpolation
This commit is contained in:
parent
22cc81862b
commit
281f19e04c
15 changed files with 379 additions and 59 deletions
|
@ -1163,6 +1163,14 @@ void BfPrinter::Visit(BfLiteralExpression* literalExpr)
|
|||
WriteSourceString(literalExpr);
|
||||
}
|
||||
|
||||
void BfPrinter::Visit(BfStringInterpolationExpression* stringInterpolationExpression)
|
||||
{
|
||||
Visit(stringInterpolationExpression->ToBase());
|
||||
String str;
|
||||
stringInterpolationExpression->ToString(str);
|
||||
Write(str);
|
||||
}
|
||||
|
||||
void BfPrinter::Visit(BfIdentifierNode* identifierNode)
|
||||
{
|
||||
Visit(identifierNode->ToBase());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue