1 package polyglot.ast; 2 3 import polyglot.types.Type; 4 import polyglot.util.CodeWriter; 5 import polyglot.visit.PrettyPrinter; 6 7 11 public interface Expr extends Receiver, Term 12 { 13 16 Expr type(Type type); 17 18 19 Precedence precedence(); 20 21 25 boolean isConstant(); 26 27 28 Object constantValue(); 29 30 39 void printSubExpr(Expr expr, boolean associative, 40 CodeWriter w, PrettyPrinter pp); 41 42 48 void printSubExpr(Expr expr, CodeWriter w, PrettyPrinter pp); 49 } 50 | Popular Tags |