|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--at.dms.msggen.DefinitionFile
A parsed representation of a file containing compiler messages.
Constructor Summary | |
DefinitionFile(java.lang.String sourceFile,
java.lang.String packageName,
java.lang.String prefix,
java.util.List definitions)
Constructs a token definition file |
Method Summary | |
void |
checkIdentifiers(java.util.Map identifiers)
Check for duplicate identifiers |
java.lang.String |
getClassName()
Returns the package name |
java.lang.String |
getPackageName()
Returns the package name |
java.lang.String |
getPrefix()
Returns the literal prefix |
void |
printFile(java.io.PrintWriter out)
Prints the token definition to interface file (java) |
static DefinitionFile |
read(java.lang.String sourceFile)
Reads and parses an token definition file |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public DefinitionFile(java.lang.String sourceFile, java.lang.String packageName, java.lang.String prefix, java.util.List definitions)
Method Detail |
public static DefinitionFile read(java.lang.String sourceFile) throws MsggenError
sourceFile
- the name of the source filepublic void checkIdentifiers(java.util.Map identifiers) throws MsggenError
identifiers
- a table of all token identifierspublic void printFile(java.io.PrintWriter out)
out
- the output streamparent
- the super interfacepublic java.lang.String getClassName()
public java.lang.String getPackageName()
public java.lang.String getPrefix()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |