Class MCCommonFullPrettyPrinter

java.lang.Object
de.monticore.mccommon._prettyprint.MCCommonFullPrettyPrinter

public class MCCommonFullPrettyPrinter extends Object
  • Field Details

    • printer

      protected de.monticore.prettyprint.IndentPrinter printer
    • traverser

      protected MCCommonTraverser traverser
  • Constructor Details

    • MCCommonFullPrettyPrinter

      public MCCommonFullPrettyPrinter(de.monticore.prettyprint.IndentPrinter printer, boolean printComments)
    • MCCommonFullPrettyPrinter

      public MCCommonFullPrettyPrinter(de.monticore.prettyprint.IndentPrinter printer)
  • Method Details

    • getPrinter

      public de.monticore.prettyprint.IndentPrinter getPrinter()
    • getTraverser

      public MCCommonTraverser getTraverser()
    • setTraverser

      public void setTraverser(MCCommonTraverser traverser)
    • initializeTraverser

      protected void initializeTraverser(boolean printComments)
    • setPrintComments

      public void setPrintComments(boolean printComments)
    • prettyprint

      public String prettyprint(de.monticore.ast.ASTNode node)