feat: add limited support of comments inside js call.
This commit is contained in:
@@ -1147,6 +1147,15 @@ public class JsToStringGenerationVisitor extends JsVisitor {
|
||||
newline();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void visitMultiLineComment(@NotNull JsMultiLineComment comment) {
|
||||
p.print("/*");
|
||||
p.print(comment.getText());
|
||||
p.print("*/");
|
||||
needSemi = false;
|
||||
newline();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void visitDocComment(@NotNull JsDocComment comment) {
|
||||
boolean asSingleLine = comment.getTags().size() == 1;
|
||||
|
||||
Reference in New Issue
Block a user