Class CommonExpressionsJavaPrinter

All Implemented Interfaces:
CommonExpressionsHandler, CommonExpressionsVisitor2, de.monticore.visitor.IHandler, de.monticore.visitor.IVisitor

public class CommonExpressionsJavaPrinter extends CommonExpressionsPrettyPrinter
  • Constructor Details

    • CommonExpressionsJavaPrinter

      public CommonExpressionsJavaPrinter(de.monticore.prettyprint.IndentPrinter printer, boolean printComments)
  • Method Details

    • handle

      public void handle(ASTFieldAccessExpression node)
      Specified by:
      handle in interface CommonExpressionsHandler
      Overrides:
      handle in class CommonExpressionsPrettyPrinter
    • applyJavaPrinter

      public static <T extends CommonExpressionsTraverser> void applyJavaPrinter(T traverser, de.monticore.prettyprint.IndentPrinter indentPrinter, boolean printComments)
      Apply this overridden handling of FieldAccessExpressions to a FullPrettyPrinter
      Parameters:
      traverser - the FullPrettyPrinters traverser
      indentPrinter - the printer to use
      printComments - whether to print comments