JS: converted JsEmpty to kotlin
This commit is contained in:
@@ -2,28 +2,20 @@
|
|||||||
// for details. All rights reserved. Use of this source code is governed by a
|
// for details. All rights reserved. Use of this source code is governed by a
|
||||||
// BSD-style license that can be found in the LICENSE file.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
package com.google.dart.compiler.backend.js.ast;
|
package com.google.dart.compiler.backend.js.ast
|
||||||
|
|
||||||
import org.jetbrains.annotations.NotNull;
|
public class JsEmpty : SourceInfoAwareJsNode(), JsStatement {
|
||||||
|
|
||||||
public class JsEmpty extends SourceInfoAwareJsNode implements JsStatement {
|
override fun accept(v: JsVisitor) {
|
||||||
JsEmpty() {
|
v.visitEmpty(this)
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
override fun traverse(v: JsVisitorWithContext, ctx: JsContext) {
|
||||||
public void accept(JsVisitor v) {
|
v.visit(this, ctx)
|
||||||
v.visitEmpty(this);
|
v.endVisit(this, ctx)
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
override fun deepCopy(): JsEmpty {
|
||||||
public void traverse(JsVisitorWithContext v, JsContext ctx) {
|
return this
|
||||||
v.visit(this, ctx);
|
|
||||||
v.endVisit(this, ctx);
|
|
||||||
}
|
|
||||||
|
|
||||||
@NotNull
|
|
||||||
@Override
|
|
||||||
public JsEmpty deepCopy() {
|
|
||||||
return this;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user