Main Page   Class Hierarchy   Compound List   File List   Compound Members  

UnaryTree Class Reference

Inheritance diagram for UnaryTree::

LogicTree Not List of all members.

Public Methods

void toStringBuffer (String indentation, StringBuffer buffer)

Private Methods

 UnaryTree (String op, LogicTree subtree)

Private Attributes

String op
LogicTree subtree

Detailed Description

a logic tree with a generic unary operator

Definition at line 218 of file LogicTree.java.


Constructor & Destructor Documentation

UnaryTree::UnaryTree ( String op,
LogicTree subtree ) [inline, private]
 

Construct a logic tree with a generic unary operator.

Definition at line 238 of file LogicTree.java.

00239   {
00240   this.op       = op;
00241   this.subtree  = subtree;
00242   }


Member Function Documentation

void UnaryTree::toStringBuffer ( String indentation,
StringBuffer buffer ) [inline, virtual]
 

Put the tree's representation into a StringBuffer.

Reimplemented from LogicTree.

Definition at line 244 of file LogicTree.java.

00245   {
00246   buffer.append(indentation);
00247   buffer.append(op);
00248   buffer.append("\n"); 
00249   subtree.toStringBuffer(indentation + additionalIndentation, buffer);
00250   }


Member Data Documentation

String UnaryTree::op [private]
 

the operator

Definition at line 224 of file LogicTree.java.

LogicTree UnaryTree::subtree [private]
 

the one subtree of this tree

Definition at line 231 of file LogicTree.java.


The documentation for this class was generated from the following file:
Generated at Wed Mar 26 13:57:26 2003 for LogicParserSupportFiles by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001