1 package polyglot.ast; 2 3 import polyglot.types.Type; 4 import polyglot.types.SemanticException; 5 6 /** 7 * A <code>TypeNode</code> is the syntactic representation of a 8 * <code>Type</code> within the abstract syntax tree. 9 */ 10 public interface TypeNode extends Receiver, QualifierNode 11 { 12 /** Set the type object for this node. */ 13 TypeNode type(Type type); 14 } 15