Package de.monticore.codegen
Interface CodeGenerator
- All Known Implementing Classes:
AbstractCodeGenVisitor,AbstractJavaGenVisitor,AssignmentExpressionsJavaGenVisitor,BitExpressionsJavaGenVisitor,CommonExpressionsJavaGenVisitor,ExpressionsBasisJavaGenVisitor,LambdaExpressionsJavaGenVisitor,MCCommonLiteralsJavaGenVisitor,TupleExpressionsJavaGenVisitor,UglyExpressionsJavaGenVisitor
public interface CodeGenerator
-
Method Summary
Modifier and TypeMethodDescriptiongenerateCode(de.monticore.ast.ASTNode node) Generates code for the given node, adding the results to the end of anIndentPrinter.de.monticore.prettyprint.IndentPrinter
-
Method Details
-
generateCode
Generates code for the given node, adding the results to the end of anIndentPrinter. Further details are to be specified by the concrete CodeGenerators. -
getPrinter
de.monticore.prettyprint.IndentPrinter getPrinter()- Returns:
- the printer storing the (intermediate/final results)
-