1 package polyglot.ast;2 3 import java.util.List ;4 5 /**6 * An immutable representation of a <code>assert</code> statement.7 */8 public interface Assert extends Stmt9 {10 /** The condition to check. */11 Expr cond();12 13 /** Set the condition to check. */14 Assert cond(Expr cond);15 16 /** The error message expression, or null. */17 Expr errorMessage();18 19 /** Set the error message expression. */20 Assert errorMessage(Expr errorMessage);21 }22