antlr.preprocessor
Class Tool

java.lang.Object
  extended by antlr.preprocessor.Tool

public class Tool
extends java.lang.Object

Tester for the preprocessor


Field Summary
protected  Tool antlrTool
           
protected  java.lang.String[] args
           
protected  java.lang.String grammarFileName
           
protected  Vector grammars
           
protected  int nargs
           
protected  Hierarchy theHierarchy
           
 
Constructor Summary
Tool(Tool t, java.lang.String[] args)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 boolean preprocess()
           
 java.lang.String[] preprocessedArgList()
          create new arg list with correct length to pass to ANTLR
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theHierarchy

protected Hierarchy theHierarchy

grammarFileName

protected java.lang.String grammarFileName

args

protected java.lang.String[] args

nargs

protected int nargs

grammars

protected Vector grammars

antlrTool

protected Tool antlrTool
Constructor Detail

Tool

public Tool(Tool t,
            java.lang.String[] args)
Method Detail

main

public static void main(java.lang.String[] args)

preprocess

public boolean preprocess()

preprocessedArgList

public java.lang.String[] preprocessedArgList()
create new arg list with correct length to pass to ANTLR