antlr.preprocessor

Class Tool


public class Tool
extends Object

Tester for the preprocessor

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)

Method Summary

static void
main(String[] args)
boolean
preprocess()
String[]
preprocessedArgList()
create new arg list with correct length to pass to ANTLR

Field Details

antlrTool

protected Tool antlrTool

args

protected String[] args

grammarFileName

protected String grammarFileName

grammars

protected Vector grammars

nargs

protected int nargs

theHierarchy

protected Hierarchy theHierarchy

Constructor Details

Tool

public Tool(Tool t,
            String[] args)

Method Details

main

public static void main(String[] args)

preprocess

public boolean preprocess()

preprocessedArgList

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