Class Main

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

public class Main extends Object
Entry point.
  • Field Details

    • lg

      public static LexGen lg
  • Constructor Details

    • Main

      protected Main()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      A main program that exercises the parser.
      Throws:
      Exception
    • mainProgram

      public static int mainProgram(String[] args) throws 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:
      Exception
    • reInitAll

      public static void reInitAll()