Class StreamExpressionsPrettyPrinter
java.lang.Object
de.monticore.expressions.streamexpressions._prettyprint.StreamExpressionsPrettyPrinter
- All Implemented Interfaces:
StreamExpressionsHandler,StreamExpressionsVisitor2,de.monticore.visitor.IHandler,de.monticore.visitor.IVisitor
public class StreamExpressionsPrettyPrinter
extends Object
implements StreamExpressionsHandler, StreamExpressionsVisitor2
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected de.monticore.prettyprint.IndentPrinterprotected StreamExpressionsTraverser -
Constructor Summary
ConstructorsConstructorDescriptionStreamExpressionsPrettyPrinter(de.monticore.prettyprint.IndentPrinter printer, boolean printComments) -
Method Summary
Modifier and TypeMethodDescriptionde.monticore.prettyprint.IndentPrintervoidvoidvoidvoidvoidvoidvoidbooleanvoidsetPrintComments(boolean printComments) voidsetTraverser(StreamExpressionsTraverser traverser) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.monticore.visitor.IHandler
handle, handle, handle, handle, handle, traverse, traverseMethods inherited from interface de.monticore.visitor.IVisitor
endVisit, endVisit, endVisit, endVisit, visit, visit, visit, visit
-
Field Details
-
printer
protected de.monticore.prettyprint.IndentPrinter printer -
printComments
protected boolean printComments -
traverser
-
-
Constructor Details
-
StreamExpressionsPrettyPrinter
public StreamExpressionsPrettyPrinter(de.monticore.prettyprint.IndentPrinter printer, boolean printComments)
-
-
Method Details
-
handle
- Specified by:
handlein interfaceStreamExpressionsHandler
-
handle
- Specified by:
handlein interfaceStreamExpressionsHandler
-
handle
- Specified by:
handlein interfaceStreamExpressionsHandler
-
handle
- Specified by:
handlein interfaceStreamExpressionsHandler
-
handle
- Specified by:
handlein interfaceStreamExpressionsHandler
-
handle
- Specified by:
handlein interfaceStreamExpressionsHandler
-
handle
- Specified by:
handlein interfaceStreamExpressionsHandler
-
getPrinter
public de.monticore.prettyprint.IndentPrinter getPrinter() -
isPrintComments
public boolean isPrintComments() -
setPrintComments
public void setPrintComments(boolean printComments) -
getTraverser
- Specified by:
getTraverserin interfacede.monticore.visitor.IHandler- Specified by:
getTraverserin interfaceStreamExpressionsHandler
-
setTraverser
- Specified by:
setTraverserin interfaceStreamExpressionsHandler
-