es.uned.compiler.code
Interface FinalCodeFactoryIF

All Known Implementing Classes:
FinalCodeFactory

public interface FinalCodeFactoryIF

Interfaz para la creación del código final


Method Summary
 void create(java.util.List intermediateCode)
          Creates the final code and serializes to the file.
 ExecutionEnvironmentIF getEnvironment()
          Returns the environment.
 java.io.File getFile()
          Returns the file.
 void setEnvironment(ExecutionEnvironmentIF environment)
          Sets The environment.
 void setFile(java.io.File file)
          Sets The file.
 

Method Detail

create

void create(java.util.List intermediateCode)
            throws java.io.IOException
Creates the final code and serializes to the file.

Parameters:
intermediateCode - The intermediateCode.
Throws:
java.io.IOException - Thrown when an IO Error occurs.

getEnvironment

ExecutionEnvironmentIF getEnvironment()
Returns the environment.

Returns:
Returns the environment.

getFile

java.io.File getFile()
Returns the file.

Returns:
Returns the file.

setEnvironment

void setEnvironment(ExecutionEnvironmentIF environment)
Sets The environment.

Parameters:
environment - The environment to set.

setFile

void setFile(java.io.File file)
Sets The file.

Parameters:
file - The file to set.