|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Main
public class Main
A primitive tester to verify that the parser works as expected.
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 |
---|
public Main()
Method Detail |
---|
public static void traverse(Node n)
n
- root of the treepublic static void main(java.lang.String[] args)
args
- command line arguments
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |