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 a JavaScript do..while statement. 009 */ 010 public class JsDoWhile extends JsWhile { 011 public JsDoWhile() { 012 } 013 014 public JsDoWhile(JsExpression condition, JsStatement body) { 015 super(condition, body); 016 } 017 018 @Override 019 public void accept(JsVisitor v) { 020 v.visitDoWhile(this); 021 } 022 }