Class Interp


  • public class Interp
    extends java.lang.Object
    Interpret any ANTLR grammar: java Interp file.g tokens-to-ignore start-rule input-file java Interp C.g 'WS COMMENT' program t.c where the WS and COMMENT are the names of tokens you want to have the parser ignore.
    • Constructor Summary

      Constructors 
      Constructor Description
      Interp()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Interp

        public Interp()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception