antlr.preprocessor

Class Tool

public class Tool extends Object

Tester for the preprocessor
Field Summary
protected ToolantlrTool
protected String[]args
protected StringgrammarFileName
protected Vectorgrammars
protected intnargs
protected HierarchytheHierarchy
Constructor Summary
Tool(Tool t, String[] args)
Method Summary
static voidmain(String[] args)
booleanpreprocess()
String[]preprocessedArgList()
create new arg list with correct length to pass to ANTLR

Field Detail

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 Detail

Tool

public Tool(Tool t, String[] args)

Method Detail

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