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 /**
008 * Represents the JavaScript break statement.
009 */
010 public final class JsBreak extends JsContinue {
011 public JsBreak() {
012 super(null);
013 }
014
015 public JsBreak(String label) {
016 super(label);
017 }
018
019 @Override
020 public void accept(JsVisitor v) {
021 v.visitBreak(this);
022 }
023 }