1 package polyglot.ast; 2 3 import polyglot.util.CodeWriter; 4 import polyglot.util.Copy; 5 import polyglot.types.SemanticException; 6 import polyglot.types.Context; 7 import polyglot.visit.*; 8 9 /** 10 * <code>JL</code> contains all methods implemented by an AST node. 11 * AST nodes and delegates for AST nodes must implement this interface. 12 */ 13 public interface JL extends NodeOps, Copy 14 { 15 /** Pointer back to the node we are delegating for, possibly this. */ 16 public Node node(); 17 18 /** Initialize the back pointer to the node. */ 19 public void init(Node node); 20 } 21