Skip to content

Commit

Permalink
support visitSimpleNameStringTemplateEntry
Browse files Browse the repository at this point in the history
  • Loading branch information
kunli2 committed Oct 6, 2023
1 parent 01a3059 commit 07db50d
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,14 @@ public J visitSelfType(KtSelfType type, ExecutionContext data) {

@Override
public J visitSimpleNameStringTemplateEntry(KtSimpleNameStringTemplateEntry entry, ExecutionContext data) {
throw new UnsupportedOperationException("TODO");
return new K.KString.Value(
randomId(),
Space.EMPTY,
Markers.EMPTY,
entry.getExpression().accept(this, data),
suffix(entry.getExpression()),
false
);
}

@Override
Expand Down

0 comments on commit 07db50d

Please sign in to comment.