Public Member Functions | |
void | addChild (SyntaxTree child) |
String | buildSentence () |
ArrayList< SyntaxTree > | getChildren () |
int | getdepth () |
SyntaxElement | getElement () |
SyntaxTree | getParent () |
ArrayList< SyntaxTree > | getSiblings () |
void | printTree () |
void | setElement (SyntaxElement element) |
void | setParent (SyntaxTree parent) |
String | toString () |
void | writeToFile (FileWriter writer) throws IOException |
Package Attributes | |
ArrayList< SyntaxTree > | children = new ArrayList<SyntaxTree>() |
SyntaxElement | element |
SyntaxTree | parent |
Private Member Functions | |
void | _getdepth (SyntaxTree node) |
void | buildSentenceInternal (StringBuffer str) |
void | printTreeInternal (int level, SyntaxTree tree) |
void | toStringInternal (int level, SyntaxTree tree, StringBuilder str) |
void | writeToFileInternal (int level, SyntaxTree tree, FileWriter writer) throws IOException |
Private Attributes | |
int | curr_depth |
int | tree_depth |
Definition at line 10 of file SyntaxTree.java.
void instruction.syntaxparser.SyntaxTree._getdepth | ( | SyntaxTree | node | ) | [inline, private] |
Definition at line 67 of file SyntaxTree.java.
void instruction.syntaxparser.SyntaxTree.addChild | ( | SyntaxTree | child | ) | [inline] |
Definition at line 36 of file SyntaxTree.java.
String instruction.syntaxparser.SyntaxTree.buildSentence | ( | ) | [inline] |
Definition at line 140 of file SyntaxTree.java.
void instruction.syntaxparser.SyntaxTree.buildSentenceInternal | ( | StringBuffer | str | ) | [inline, private] |
Definition at line 147 of file SyntaxTree.java.
ArrayList<SyntaxTree> instruction.syntaxparser.SyntaxTree.getChildren | ( | ) | [inline] |
Definition at line 21 of file SyntaxTree.java.
int instruction.syntaxparser.SyntaxTree.getdepth | ( | ) | [inline] |
Definition at line 79 of file SyntaxTree.java.
Definition at line 26 of file SyntaxTree.java.
SyntaxTree instruction.syntaxparser.SyntaxTree.getParent | ( | ) | [inline] |
Definition at line 51 of file SyntaxTree.java.
ArrayList<SyntaxTree> instruction.syntaxparser.SyntaxTree.getSiblings | ( | ) | [inline] |
Definition at line 56 of file SyntaxTree.java.
void instruction.syntaxparser.SyntaxTree.printTree | ( | ) | [inline] |
Definition at line 46 of file SyntaxTree.java.
void instruction.syntaxparser.SyntaxTree.printTreeInternal | ( | int | level, |
SyntaxTree | tree | ||
) | [inline, private] |
Definition at line 86 of file SyntaxTree.java.
void instruction.syntaxparser.SyntaxTree.setElement | ( | SyntaxElement | element | ) | [inline] |
Definition at line 31 of file SyntaxTree.java.
void instruction.syntaxparser.SyntaxTree.setParent | ( | SyntaxTree | parent | ) | [inline] |
Definition at line 41 of file SyntaxTree.java.
String instruction.syntaxparser.SyntaxTree.toString | ( | ) | [inline] |
Definition at line 99 of file SyntaxTree.java.
void instruction.syntaxparser.SyntaxTree.toStringInternal | ( | int | level, |
SyntaxTree | tree, | ||
StringBuilder | str | ||
) | [inline, private] |
Definition at line 106 of file SyntaxTree.java.
void instruction.syntaxparser.SyntaxTree.writeToFile | ( | FileWriter | writer | ) | throws IOException [inline] |
Definition at line 119 of file SyntaxTree.java.
void instruction.syntaxparser.SyntaxTree.writeToFileInternal | ( | int | level, |
SyntaxTree | tree, | ||
FileWriter | writer | ||
) | throws IOException [inline, private] |
Definition at line 125 of file SyntaxTree.java.
ArrayList<SyntaxTree> instruction.syntaxparser.SyntaxTree.children = new ArrayList<SyntaxTree>() [package] |
Definition at line 15 of file SyntaxTree.java.
int instruction.syntaxparser.SyntaxTree.curr_depth [private] |
Definition at line 19 of file SyntaxTree.java.
Definition at line 12 of file SyntaxTree.java.
Definition at line 14 of file SyntaxTree.java.
int instruction.syntaxparser.SyntaxTree.tree_depth [private] |
Definition at line 18 of file SyntaxTree.java.