|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbyucc.jhdl.util.xmac.XMAC
This class implements a replacement for the old JMAC program written in perl. XMAC files are (X)ML (Mac)ros that are mostly for use in library primitives. XMAC files are composed of a series of tags that define certain behaviors and specifications that become java files.
Field Summary | |
static java.lang.String |
programName
Indicates the name of the program to run from command line |
Constructor Summary | |
XMAC(java.lang.String basedir,
java.lang.String[] xmacList,
boolean quiet,
boolean createTestVect,
boolean createMainMethod)
Contstruct a new XMAC parser. |
Method Summary | |
static void |
main(java.lang.String[] args)
The main method. |
boolean |
parse()
Parse the .xmac files. |
static void |
setOutputFileExtension(java.lang.String extension)
Determines the extension of new files. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String programName
Constructor Detail |
public XMAC(java.lang.String basedir, java.lang.String[] xmacList, boolean quiet, boolean createTestVect, boolean createMainMethod)
basedir
- A String
that contains the base directory to toss
the resulting java files into.xmacList
- An array containing the file names to process.quiet
- If true then supress output to stdin.createTestVect
- If true then create test vectors.createMainMethod
- If true then create the main method.Method Detail |
public static void main(java.lang.String[] args)
public boolean parse()
public static void setOutputFileExtension(java.lang.String extension)
extension
- the new extension to use in creating new files
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |