public class ClawTranslatorDriver
extends java.lang.Object
Constructor and Description |
---|
ClawTranslatorDriver(java.lang.String xcodemlInputFile,
java.lang.String xcodemlOutputFile)
ClawTranslatorDriver ctor.
|
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 |
flush()
Flush all information stored in the translator.
|
XcodeProgram |
getTranslationUnit()
Get the XcodeProgram object representing the Fortran code translated.
|
ClawTranslator |
getTranslator()
Get the current translator associated with this translation.
|
void |
transform()
Apply all the transformation in the pipeline.
|
public ClawTranslatorDriver(java.lang.String xcodemlInputFile, java.lang.String xcodemlOutputFile) throws java.lang.Exception
xcodemlInputFile
- The XcodeML input file path.xcodemlOutputFile
- The XcodeML output file path.java.lang.Exception
- If translator cannot be created.public void analyze()
public void transform()
public void flush() throws IllegalTransformationException
IllegalTransformationException
- If module cache cannot be written.public ClawTranslator getTranslator()
public XcodeProgram getTranslationUnit()