1 package polyglot.ast; 2 3 import polyglot.util.Copy; 4 import polyglot.util.CodeWriter; 5 import polyglot.util.Position; 6 import polyglot.types.Type; 7 import polyglot.visit.*; 8 import java.util.List ; 9 10 16 public interface Node extends JL, Copy 17 { 18 21 Node del(JL del); 22 23 26 JL del(); 27 28 31 Node ext(Ext ext); 32 33 36 Ext ext(); 37 38 41 Node ext(int n, Ext ext); 42 43 46 Ext ext(int n); 47 48 52 Position position(); 53 54 55 Node position(Position position); 56 57 64 Node visit(NodeVisitor v); 65 66 77 Node visitEdge(Node parent, NodeVisitor v); 78 79 87 Node visitChild(Node child, NodeVisitor v); 88 89 100 public List visitList(List l, NodeVisitor v); 101 102 115 Type childExpectedType(Expr child, AscriptionVisitor av); 116 117 120 void dump(CodeWriter w); 121 } 122 | Popular Tags |