Class Grammar_WithConceptsPrettyPrinter
java.lang.Object
de.monticore.grammar.grammar_withconcepts._prettyprint.Grammar_WithConceptsPrettyPrinter
- All Implemented Interfaces:
Grammar_WithConceptsHandler,Grammar_WithConceptsVisitor2,de.monticore.visitor.IHandler,de.monticore.visitor.IVisitor
- Direct Known Subclasses:
Grammar_WithConceptsFormattingPrettyPrinter
public class Grammar_WithConceptsPrettyPrinter
extends Object
implements Grammar_WithConceptsHandler, Grammar_WithConceptsVisitor2
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected de.monticore.prettyprint.IndentPrinterprotected Grammar_WithConceptsTraverser -
Constructor Summary
ConstructorsConstructorDescriptionGrammar_WithConceptsPrettyPrinter(de.monticore.prettyprint.IndentPrinter printer, boolean printComments) -
Method Summary
Modifier and TypeMethodDescriptionde.monticore.prettyprint.IndentPrintervoidvoidhandle(ASTExpressionPredicate node) voidhandle(ASTJavaCode node) voidhandle(ASTMCConcept node) booleanvoidsetPrintComments(boolean printComments) voidsetTraverser(Grammar_WithConceptsTraverser traverser) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.monticore.grammar.grammar_withconcepts._visitor.Grammar_WithConceptsHandler
handle, handle, handle, handle, handle, traverse, traverse, traverse, traverse, traverse, traverse, traverse, traverseMethods inherited from interface de.monticore.grammar.grammar_withconcepts._visitor.Grammar_WithConceptsVisitor2
endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, visit, visit, visit, visit, visit, visit, visit, visitMethods 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
-
Grammar_WithConceptsPrettyPrinter
public Grammar_WithConceptsPrettyPrinter(de.monticore.prettyprint.IndentPrinter printer, boolean printComments)
-
-
Method Details
-
handle
- Specified by:
handlein interfaceGrammar_WithConceptsHandler
-
handle
- Specified by:
handlein interfaceGrammar_WithConceptsHandler
-
handle
- Specified by:
handlein interfaceGrammar_WithConceptsHandler
-
handle
- Specified by:
handlein interfaceGrammar_WithConceptsHandler
-
getPrinter
public de.monticore.prettyprint.IndentPrinter getPrinter() -
isPrintComments
public boolean isPrintComments() -
setPrintComments
public void setPrintComments(boolean printComments) -
getTraverser
- Specified by:
getTraverserin interfaceGrammar_WithConceptsHandler- Specified by:
getTraverserin interfacede.monticore.visitor.IHandler
-
setTraverser
- Specified by:
setTraverserin interfaceGrammar_WithConceptsHandler
-