Class Main

java.lang.Object
  extended by Main

public class Main
extends java.lang.Object

A primitive tester to verify that the parser works as expected.

Version:
16. Dec. 2007
Author:
P. Tellenbach

Constructor Summary
Main()
           
 
Method Summary
static void main(java.lang.String[] args)
          Instantiates the parser and lets it parse the command line arguments
static void traverse(Node n)
          Traverses the parse tree and prints the nodes in post order
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

traverse

public static void traverse(Node n)
Traverses the parse tree and prints the nodes in post order

Parameters:
n - root of the tree

main

public static void main(java.lang.String[] args)
Instantiates the parser and lets it parse the command line arguments

Parameters:
args - command line arguments