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 /**
010 * Represents a JavaScript debugger statement.
011 */
012 public class JsDebugger extends SourceInfoAwareJsNode implements JsStatement {
013 public JsDebugger() {
014 }
015
016 @Override
017 public void accept(JsVisitor v) {
018 v.visitDebugger(this);
019 }
020
021 @Override
022 public void acceptChildren(JsVisitor visitor) {
023
024 }
025
026 @Override
027 public void traverse(JsVisitorWithContext v, JsContext ctx) {
028 v.visit(this, ctx);
029 v.endVisit(this, ctx);
030 }
031
032 @NotNull
033 @Override
034 public JsDebugger deepCopy() {
035 return this;
036 }
037 }