org.javacc.parser
Class Main

java.lang.Object
  extended by org.javacc.parser.Main

public class Main
extends java.lang.Object


Constructor Summary
Main()
           
 
Method Summary
static void main(java.lang.String[] args)
          A main program that exercises the parser.
static int mainProgram(java.lang.String[] args)
          The method to call to exercise the parser from other Java programs.
static void reInitAll()
           
 
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

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
A main program that exercises the parser.

Throws:
java.lang.Exception

mainProgram

public static int mainProgram(java.lang.String[] args)
                       throws java.lang.Exception
The method to call to exercise the parser from other Java programs. It returns an error code. See how the main program above uses this method.

Throws:
java.lang.Exception

reInitAll

public static void reInitAll()