org.antlr.tool
Class Interp

java.lang.Object
  extended by org.antlr.tool.Interp

public class Interp
extends 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.


Nested Class Summary
static class Interp.FilteringTokenStream
           
 
Constructor Summary
Interp()
           
 
Method Summary
static void main(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(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2011. All Rights Reserved.