All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends
Public Member Functions | Package Attributes | Private Member Functions | Private Attributes
instruction.syntaxparser.SyntaxTree Class Reference

List of all members.

Public Member Functions

void addChild (SyntaxTree child)
String buildSentence ()
ArrayList< SyntaxTreegetChildren ()
int getdepth ()
SyntaxElement getElement ()
SyntaxTree getParent ()
ArrayList< SyntaxTreegetSiblings ()
void printTree ()
void setElement (SyntaxElement element)
void setParent (SyntaxTree parent)
String toString ()
void writeToFile (FileWriter writer) throws IOException

Package Attributes

ArrayList< SyntaxTreechildren = 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

Detailed Description

Definition at line 10 of file SyntaxTree.java.


Member Function Documentation

Definition at line 67 of file SyntaxTree.java.

Definition at line 36 of file SyntaxTree.java.

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.

Definition at line 21 of file SyntaxTree.java.

Definition at line 79 of file SyntaxTree.java.

Definition at line 26 of file SyntaxTree.java.

Definition at line 51 of file SyntaxTree.java.

Definition at line 56 of file SyntaxTree.java.

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.

Definition at line 31 of file SyntaxTree.java.

Definition at line 41 of file SyntaxTree.java.

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.


Member Data Documentation

ArrayList<SyntaxTree> instruction.syntaxparser.SyntaxTree.children = new ArrayList<SyntaxTree>() [package]

Definition at line 15 of file SyntaxTree.java.

Definition at line 19 of file SyntaxTree.java.

Definition at line 12 of file SyntaxTree.java.

Definition at line 14 of file SyntaxTree.java.

Definition at line 18 of file SyntaxTree.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


comp_ehow
Author(s): Moritz Tenorth, Daniel Nyga
autogenerated on Tue Apr 16 2013 00:18:25