Class Main


  • public class Main
    extends java.lang.Object
    Entry point.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static LexGen lg  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Main()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Field Detail

    • Constructor Detail

      • Main

        protected 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()