1 2 3 package de.gulden.util.javasource.jjt; 4 5 8 9 public interface Node { 10 11 13 public void jjtOpen(); 14 15 17 public void jjtClose(); 18 19 21 public void jjtSetParent(Node n); 22 public Node jjtGetParent(); 23 24 26 public void jjtAddChild(Node n, int i); 27 28 30 public Node jjtGetChild(int i); 31 32 33 public int jjtGetNumChildren(); 34 35 36 37 38 public int getId(); 39 40 public Node getChild(int id); 41 42 public boolean hasChild(int id); 43 44 public Node[] getChildren(int id); 45 46 public Node[] getAllChildren(); 47 48 public String getValue(); 49 50 public void setValue(String v); 51 52 public String getName(); 53 54 public String retrieveName(); 55 56 public void setStartToken(Token t); 57 58 public void setEndToken(Token t); 59 60 public Token getStartToken(); 61 62 public Token getEndToken(); 63 64 public void setTextImage(TextImage ti); 65 66 public TextImage getTextImage(); 67 68 public String getSource(); 69 70 public void setSource(String source); 71 72 public int[] getSourcePosition(); 73 } 74 | Popular Tags |