Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src.compiler/AstPrinterBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ export default abstract class AstPrinterBase {
protected abstract writeNewExpression(expr: cs.NewExpression);
protected abstract writeCastExpression(expr: cs.CastExpression);
protected abstract writeNonNullExpression(expr: cs.NonNullExpression);
protected abstract writeYieldExpression(expr: cs.YieldExpression);

protected writeToDoExpression(expr: cs.ToDoExpression) {
this.write('/* TODO */');
Expand Down Expand Up @@ -384,6 +385,9 @@ export default abstract class AstPrinterBase {
case cs.SyntaxKind.TypeOfExpression:
this.writeTypeOfExpression(expr as cs.TypeOfExpression);
break;
case cs.SyntaxKind.YieldExpression:
this.writeYieldExpression(expr as cs.YieldExpression);
break;
case cs.SyntaxKind.TypeReference:
this.writeType(expr as cs.TypeReference);
break;
Expand Down
Loading