org.exolab.castor.jdo.oql
public class ParseTest extends Object implements TokenTypes
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:24 $
Field Summary | |
---|---|
static int | NODE_TYPES |
static int | NODE_VALUES |
Method Summary | |
---|---|
static void | main(String[] args)
Main function. |
static String | treeToString(ParseTreeNode theTree, int printWhat)
Returns a string representation of the tree using lisp tree notation.
|
Parameters: args Pass an OQL query string on the command line.
Parameters: theTree the Tree to convert to a string printWhat should be one of the static members NODE_TYPES or NODE_VALUES to tell the method what to write in the string.
Returns: a string as described above.