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     * Implemented by JavaScript objects with conditional execution.
009     */
010    public interface HasCondition {
011    
012      JsExpression getCondition();
013    
014      void setCondition(JsExpression condition);
015    }