Class MCBasicsPrettyPrinter
- java.lang.Object
-
- de.monticore.mcbasics._prettyprint.MCBasicsPrettyPrinter
-
- All Implemented Interfaces:
MCBasicsHandler,MCBasicsVisitor2,de.monticore.visitor.IHandler,de.monticore.visitor.IVisitor
public class MCBasicsPrettyPrinter extends java.lang.Object implements MCBasicsHandler, MCBasicsVisitor2
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanprintCommentsprotected de.monticore.prettyprint.IndentPrinterprinterprotected MCBasicsTraversertraverser
-
Constructor Summary
Constructors Constructor Description MCBasicsPrettyPrinter(de.monticore.prettyprint.IndentPrinter printer, boolean printComments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.monticore.prettyprint.IndentPrintergetPrinter()MCBasicsTraversergetTraverser()booleanisPrintComments()voidsetPrintComments(boolean printComments)voidsetTraverser(MCBasicsTraverser traverser)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.monticore.visitor.IHandler
handle, handle, handle, handle, handle, traverse, traverse
-
Methods inherited from interface de.monticore.visitor.IVisitor
endVisit, endVisit, endVisit, endVisit, visit, visit, visit, visit
-
-
-
-
Field Detail
-
printer
protected de.monticore.prettyprint.IndentPrinter printer
-
printComments
protected boolean printComments
-
traverser
protected MCBasicsTraverser traverser
-
-
Method Detail
-
getPrinter
public de.monticore.prettyprint.IndentPrinter getPrinter()
-
isPrintComments
public boolean isPrintComments()
-
setPrintComments
public void setPrintComments(boolean printComments)
-
getTraverser
public MCBasicsTraverser getTraverser()
- Specified by:
getTraverserin interfacede.monticore.visitor.IHandler- Specified by:
getTraverserin interfaceMCBasicsHandler
-
setTraverser
public void setTraverser(MCBasicsTraverser traverser)
- Specified by:
setTraverserin interfaceMCBasicsHandler
-
-