Class MCCommonPrettyPrinter

java.lang.Object
de.monticore.mccommon._prettyprint.MCCommonPrettyPrinter
All Implemented Interfaces:
MCCommonHandler, MCCommonVisitor2, de.monticore.visitor.IHandler, de.monticore.visitor.IVisitor

public class MCCommonPrettyPrinter extends Object implements MCCommonHandler, MCCommonVisitor2
  • Field Details

    • printer

      protected de.monticore.prettyprint.IndentPrinter printer
    • printComments

      protected boolean printComments
    • traverser

      protected MCCommonTraverser traverser
  • Constructor Details

    • MCCommonPrettyPrinter

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

    • getPrinter

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

      public boolean isPrintComments()
    • setPrintComments

      public void setPrintComments(boolean printComments)
    • getTraverser

      public MCCommonTraverser getTraverser()
      Specified by:
      getTraverser in interface de.monticore.visitor.IHandler
      Specified by:
      getTraverser in interface MCCommonHandler
    • setTraverser

      public void setTraverser(MCCommonTraverser traverser)
      Specified by:
      setTraverser in interface MCCommonHandler