dk.brics.string.java
Interface StatementTranslator

All Known Implementing Classes:
StatementTranslatorImpl

public interface StatementTranslator

Translates individual jimple-statements into intermediate code, which is put into an IntermediateFactory. See StatementTranslatorImpl.

See Also:
StatementTranslatorFacade, translateStatement(Stmt, IntermediateFactory)

Method Summary
 void translateStatement(Stmt statement, IntermediateFactory factory)
          Translates the specified statement into intermediate code, using the specified factory.
 

Method Detail

translateStatement

void translateStatement(Stmt statement,
                        IntermediateFactory factory)
Translates the specified statement into intermediate code, using the specified factory. The results of the translation exist only in the side-effects imposed by method calls to the factory.

Parameters:
statement - the jimple statement to translate.
factory - the factory to produce intermediate code with.


Copyright © 2003-2009 Anders Møller, Aske Simon Christensen, Asger Feldthaus.