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