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.Nullable;
008
009 public class JsContinue extends SourceInfoAwareJsNode implements JsStatement {
010 protected final String label;
011
012 public JsContinue() {
013 this(null);
014 }
015
016 public JsContinue(@Nullable String label) {
017 super();
018 this.label = label;
019 }
020
021 public String getLabel() {
022 return label;
023 }
024
025 @Override
026 public void accept(JsVisitor v) {
027 v.visitContinue(this);
028 }
029 }