Package de.monticore.codegen.javagen
Class AbstractJavaGenVisitor
java.lang.Object
de.monticore.codegen.AbstractCodeGenVisitor
de.monticore.codegen.javagen.AbstractJavaGenVisitor
- All Implemented Interfaces:
CodeGenerator,de.monticore.visitor.IHandler
- Direct Known Subclasses:
AssignmentExpressionsJavaGenVisitor,BitExpressionsJavaGenVisitor,CommonExpressionsJavaGenVisitor,ExpressionsBasisJavaGenVisitor,LambdaExpressionsJavaGenVisitor,MCCommonLiteralsJavaGenVisitor,TupleExpressionsJavaGenVisitor,UglyExpressionsJavaGenVisitor
-
Field Summary
Fields inherited from class de.monticore.codegen.AbstractCodeGenVisitor
isWithinGenerateCode, LOG_NAME, printer -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractJavaGenVisitor(de.monticore.prettyprint.IndentPrinter printer) -
Method Summary
Modifier and TypeMethodDescriptionprotected void_willBeRemoved_logUnimplemented(de.monticore.ast.ASTNode node) deprecated in the sense that this is only temporary and will be removed once all ASTNodes that should be supported are.protected voidprotected voidprotected voidprotected voidprints the end of the lambda which returns the result of a Java code block s.aprintExpressionBeginLambda(de.monticore.types.check.SymTypeExpression).protected voidMethods inherited from class de.monticore.codegen.AbstractCodeGenVisitor
generateCode, getPrinterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.monticore.visitor.IHandler
getTraverser, handle, handle, handle, handle, handle, traverse, traverse
-
Constructor Details
-
AbstractJavaGenVisitor
protected AbstractJavaGenVisitor(de.monticore.prettyprint.IndentPrinter printer)
-
-
Method Details
-
startParentheses
protected void startParentheses() -
endParentheses
protected void endParentheses() -
endStatement
protected void endStatement() -
printExpressionBeginLambda
-
printExpressionEndLambda
protected void printExpressionEndLambda()prints the end of the lambda which returns the result of a Java code block s.aprintExpressionBeginLambda(de.monticore.types.check.SymTypeExpression). -
_willBeRemoved_logUnimplemented
protected void _willBeRemoved_logUnimplemented(de.monticore.ast.ASTNode node) deprecated in the sense that this is only temporary and will be removed once all ASTNodes that should be supported are.
-