Class MCVarDeclarationStatementsPrettyPrinter
java.lang.Object
de.monticore.statements.mcvardeclarationstatements._prettyprint.MCVarDeclarationStatementsPrettyPrinter
- All Implemented Interfaces:
MCVarDeclarationStatementsHandler,MCVarDeclarationStatementsVisitor2,de.monticore.visitor.IHandler,de.monticore.visitor.IVisitor
- Direct Known Subclasses:
MCVarDeclarationStatementsFormattingPrettyPrinter
public class MCVarDeclarationStatementsPrettyPrinter
extends Object
implements MCVarDeclarationStatementsHandler, MCVarDeclarationStatementsVisitor2
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected de.monticore.prettyprint.IndentPrinterprotected MCVarDeclarationStatementsTraverser -
Constructor Summary
ConstructorsConstructorDescriptionMCVarDeclarationStatementsPrettyPrinter(de.monticore.prettyprint.IndentPrinter printer, boolean printComments) -
Method Summary
Modifier and TypeMethodDescriptionde.monticore.prettyprint.IndentPrintervoidhandle(ASTDeclaratorId node) voidvoidvoidhandle(ASTSimpleInit node) voidhandle(ASTVariableDeclarator node) booleanvoidsetPrintComments(boolean printComments) voidsetTraverser(MCVarDeclarationStatementsTraverser 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, visitMethods inherited from interface de.monticore.statements.mcvardeclarationstatements._visitor.MCVarDeclarationStatementsHandler
handle, handle, handle, handle, handle, handle, handle, traverse, traverse, traverse, traverse, traverse, traverse, traverse, traverse, traverseMethods inherited from interface de.monticore.statements.mcvardeclarationstatements._visitor.MCVarDeclarationStatementsVisitor2
endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Field Details
-
printer
protected de.monticore.prettyprint.IndentPrinter printer -
printComments
protected boolean printComments -
traverser
-
-
Constructor Details
-
MCVarDeclarationStatementsPrettyPrinter
public MCVarDeclarationStatementsPrettyPrinter(de.monticore.prettyprint.IndentPrinter printer, boolean printComments)
-
-
Method Details
-
handle
- Specified by:
handlein interfaceMCVarDeclarationStatementsHandler
-
handle
- Specified by:
handlein interfaceMCVarDeclarationStatementsHandler
-
handle
- Specified by:
handlein interfaceMCVarDeclarationStatementsHandler
-
handle
- Specified by:
handlein interfaceMCVarDeclarationStatementsHandler
-
handle
- Specified by:
handlein interfaceMCVarDeclarationStatementsHandler
-
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 interfaceMCVarDeclarationStatementsHandler
-
setTraverser
- Specified by:
setTraverserin interfaceMCVarDeclarationStatementsHandler
-