gov.llnl.babel.backend.fortran

Class ImplModule


public class ImplModule
extends java.lang.Object

This class provides the ability to write a FORTRAN 90 module file containing the developer's derived type and a wrapper type too.

Constructor Summary

ImplModule(LanguageWriterForFortran writer, CodeSplicer splicer, Class cls, Context context)

Method Summary

void
generateCode()
static void
generateCode(Class cls, LanguageWriterForFortran writer, CodeSplicer splicer, Context context)

Constructor Details

ImplModule

public ImplModule(LanguageWriterForFortran writer,
                  CodeSplicer splicer,
                  Class cls,
                  Context context)
            throws NoSuchAlgorithmException

Method Details

generateCode

public void generateCode()
            throws CodeGenerationException

generateCode

public static void generateCode(Class cls,
                                LanguageWriterForFortran writer,
                                CodeSplicer splicer,
                                Context context)
            throws CodeGenerationException,
                   NoSuchAlgorithmException