public final class Xmod
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static FortranModule |
find(java.lang.String moduleName)
Find module by name.
|
static FortranModule |
findClaw(java.lang.String moduleName)
Locate a module file generated by CLAW translator.
|
static java.lang.String |
getSuffix()
Get a formatted suffix for the CLAW module file including the directive
and target of the current transformation.
|
static void |
updateSignature(java.lang.String moduleName,
XcodeProgram xcodeml,
FfunctionDefinition fctDef,
FfunctionType fctType,
boolean importFctType)
Update the function signature in the module file to reflects local changes.
|
public static FortranModule find(java.lang.String moduleName)
moduleName - Name of the module.public static FortranModule findClaw(java.lang.String moduleName)
moduleName - Name of the module.public static java.lang.String getSuffix()
public static void updateSignature(java.lang.String moduleName,
XcodeProgram xcodeml,
FfunctionDefinition fctDef,
FfunctionType fctType,
boolean importFctType)
throws IllegalTransformationException
moduleName - Xmod name to update.xcodeml - Current XcodeML file unit.fctDef - Function definition that has been changed.fctType - Function type that has been changed.importFctType - If true, import the functionType.IllegalTransformationException - If the module file or the function
cannot be located