1 package polyglot.ast; 2 3 import polyglot.types.LocalInstance; 4 5 /** 6 * A local variable expression. 7 */ 8 public interface Local extends Variable 9 { 10 /** Get the name of the local variable. */ 11 String name(); 12 13 /** Set the name of the local variable. */ 14 Local name(String name); 15 16 /** 17 * Get the type object for the local. This field may not be valid until 18 * after type checking. 19 */ 20 LocalInstance localInstance(); 21 /** Set the type object for the local. */ 22 Local localInstance(LocalInstance li); 23 } 24