001 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
002 // for details. All rights reserved. Use of this source code is governed by a
003 // BSD-style license that can be found in the LICENSE file.
004
005 package com.google.dart.compiler.backend.js.ast;
006
007 import org.jetbrains.annotations.NotNull;
008
009 public class JsEmpty extends SourceInfoAwareJsNode implements JsStatement {
010 JsEmpty() {
011 }
012
013 @Override
014 public void accept(JsVisitor v) {
015 v.visitEmpty(this);
016 }
017
018 @Override
019 public void traverse(JsVisitorWithContext v, JsContext ctx) {
020 v.visit(this, ctx);
021 v.endVisit(this, ctx);
022 }
023
024 @NotNull
025 @Override
026 public JsEmpty deepCopy() {
027 return this;
028 }
029 }