Translates a sequence of IntermediateCode.ImpLanStmt to the corresponding code in the target language. In
difference to generateCode it splits the statements into groups of size chunkSize and creates an own method
for each of them. This is useful for the generation of Scala code to give the JIT compiler better opportunities to
optimize.
Translates a sequence of IntermediateCode.ImpLanStmt to the corresponding code in the target language. In
difference to generateCode it splits the statements into groups of size chunkSize and creates an own method
for each of them. This is useful for the generation of Scala code to give the JIT compiler better opportunities to
optimize.
Attributes
stmts
The sequence of statements to be translated.
Returns:
Tuple with the chunk methods as first parameter and chunk method calls as second parameter.
Translates a sequence of IntermediateCode.ImpLanStmt to the corresponding code in the target language. Has to
be implemented by Backend-Implementations.
Translates a sequence of IntermediateCode.ImpLanStmt to the corresponding code in the target language. Has to
be implemented by Backend-Implementations.
Translates a set of variables with base information (type, default value, declaration type) to corresponding
variable declarations in the target source code. Has to be implemented by Backend-Implementations.
Translates a set of variables with base information (type, default value, declaration type) to corresponding
variable declarations in the target source code. Has to be implemented by Backend-Implementations.
Attributes
vars
Sequence of variables to be translated: Name -> (Type x Default value x Declaration type)