|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ComplexTransform
Base class for a program that reads in an abstract syntax tree, transforms the code, and rewrites the file to disk.
| Method Summary | |
|---|---|
void |
add(TransformAST value)
Adds a syntax tree transformation |
void |
apply(java.io.File inputFile,
java.io.File outputFile)
Given a file, applies a set of transformations to it |
void |
clear()
Clears all the transforms |
void |
createFile(java.io.File file)
Creates a new file |
boolean |
hasAnyChanges()
Is it worth applying the transforms |
void |
removeFile(java.io.File file)
Removes an old file |
void |
setUndoAction(UndoAction init)
|
| Method Detail |
|---|
void setUndoAction(UndoAction init)
void add(TransformAST value)
value - Description of Parametervoid clear()
boolean hasAnyChanges()
void apply(java.io.File inputFile,
java.io.File outputFile)
inputFile - Description of ParameteroutputFile - Description of Parametervoid createFile(java.io.File file)
file - Description of Parametervoid removeFile(java.io.File file)
file - Description of Parameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||