1 package polyglot.ast; 2 3 /** 4 * An <code>Instanceof</code> is an immutable representation of 5 * the use of the <code>instanceof</code> operator. 6 */ 7 public interface Instanceof extends Expr 8 { 9 /** Get the expression to check. */ 10 Expr expr(); 11 /** Set the expression to check. */ 12 Instanceof expr(Expr expr); 13 14 /** Get the type to compare against. */ 15 TypeNode compareType(); 16 /** Set the type to compare against. */ 17 Instanceof compareType(TypeNode compareType); 18 } 19