Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 package antlr.collections; 2 3 9 10 import antlr.Token; 11 12 15 public interface AST { 16 17 public void addChild(AST c); 18 19 public boolean equals(AST t); 20 21 public boolean equalsList(AST t); 22 23 public boolean equalsListPartial(AST t); 24 25 public boolean equalsTree(AST t); 26 27 public boolean equalsTreePartial(AST t); 28 29 public ASTEnumeration findAll(AST tree); 30 31 public ASTEnumeration findAllPartial(AST subtree); 32 33 34 public AST getFirstChild(); 35 36 37 public AST getNextSibling(); 38 39 40 public String getText(); 41 42 43 public int getType(); 44 45 public void initialize(int t, String txt); 46 47 public void initialize(AST t); 48 49 public void initialize(Token t); 50 51 52 public void setFirstChild(AST c); 53 54 55 public void setNextSibling(AST n); 56 57 58 public void setText(String text); 59 60 61 public void setType(int ttype); 62 63 public String toString(); 64 65 public String toStringList(); 66 67 public String toStringTree(); 68 } 69
| Popular Tags
|