antlr.preprocessor
Class Tool

java.lang.Object
  |
  +--antlr.preprocessor.Tool

public class Tool
extends Object

Untamed:


Field Summary
protected  Tool antlrTool
           
protected  String[] args
           
protected  String grammarFileName
           
protected  Vector grammars
           
protected  int nargs
           
protected  Hierarchy theHierarchy
           
 
Constructor Summary
Tool(Tool t, String[] args)
          Enabled:
 
Method Summary
static void main(String[] args)
          Enabled:
 boolean preprocess()
          Enabled:
 String[] preprocessedArgList()
          Enabled: create new arg list with correct length to pass to ANTLR
private  void processArguments(String[] incomingArgs)
          Process -glib options and grammar file.
 
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 String grammarFileName

args

protected String[] args

nargs

protected int nargs

grammars

protected Vector grammars

antlrTool

protected Tool antlrTool
Constructor Detail

Tool

public Tool(Tool t,
            String[] args)
Enabled:

Method Detail

main

public static void main(String[] args)
Enabled:


preprocess

public boolean preprocess()
Enabled:


preprocessedArgList

public String[] preprocessedArgList()
Enabled: create new arg list with correct length to pass to ANTLR


processArguments

private void processArguments(String[] incomingArgs)
Process -glib options and grammar file. Create a new args list that does not contain the -glib option. The grammar file name might be modified and, hence, is not added yet to args list.



comments?