public class ClawPythonTranslatorDriver extends ClawTranslatorDriver
Constructor and Description |
---|
ClawPythonTranslatorDriver(java.lang.String transScript,
java.lang.String xcodemlInputFile,
java.lang.String xcodemlOutputFile)
ClawPythonTranslatorDriver constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
analyze()
Analysis the XcodeML/F directives and categorized them in corresponding
transformation with the help of the translator.
|
void |
transform()
Apply the transformation script
|
flush, getTranslationUnit, getTranslator
public ClawPythonTranslatorDriver(java.lang.String transScript, java.lang.String xcodemlInputFile, java.lang.String xcodemlOutputFile)
transScript
- The python recipe input file path.xcodemlInputFile
- The XcodeML input file path.xcodemlOutputFile
- The XcodeML output file path.public void analyze()
analyze
in class ClawTranslatorDriver
public void transform()
transform
in class ClawTranslatorDriver