Class MCCommonLiterals2OD
java.lang.Object
de.monticore.literals.mccommonliterals._od.MCCommonLiterals2OD
- All Implemented Interfaces:
MCCommonLiteralsHandler,MCCommonLiteralsVisitor2,de.monticore.visitor.IHandler,de.monticore.visitor.IVisitor
public class MCCommonLiterals2OD
extends Object
implements MCCommonLiteralsVisitor2, MCCommonLiteralsHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected de.monticore.prettyprint.IndentPrinterprotected booleanprotected booleanprotected de.monticore.generating.templateengine.reporting.commons.ReportingRepositoryprotected MCCommonLiteralsTraverser -
Constructor Summary
ConstructorsConstructorDescriptionMCCommonLiterals2OD(de.monticore.prettyprint.IndentPrinter printer, de.monticore.generating.templateengine.reporting.commons.ReportingRepository reporting) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(ASTBasicDoubleLiteral node) voidhandle(ASTBasicFloatLiteral node) voidhandle(ASTBasicLongLiteral node) voidhandle(ASTBooleanLiteral node) voidhandle(ASTCharLiteral node) voidhandle(ASTNatLiteral node) voidhandle(ASTNullLiteral node) voidvoidvoidvoidhandle(ASTSignedNatLiteral node) voidhandle(ASTStringLiteral node) booleanbooleanprotected voidprintAttribute(String name, String value) protected voidprintObject(String objName, String objType) printObjectDiagram(String modelName, ASTMCCommonLiteralsNode node) voidsetPrintEmptyList(boolean printEmptyList) voidsetPrintEmptyOptional(boolean printEmptyOptional) voidsetTraverser(MCCommonLiteralsTraverser 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.literals.mccommonliterals._visitor.MCCommonLiteralsHandler
handle, handle, handle, handle, handle, handle, handle, handle, traverse, traverse, traverse, traverse, traverse, traverse, traverse, traverse, traverse, traverse, traverse, traverse, traverse, traverse, traverse, traverseMethods inherited from interface de.monticore.literals.mccommonliterals._visitor.MCCommonLiteralsVisitor2
endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Field Details
-
traverser
-
pp
protected de.monticore.prettyprint.IndentPrinter pp -
reporting
protected de.monticore.generating.templateengine.reporting.commons.ReportingRepository reporting -
printEmptyOptional
protected boolean printEmptyOptional -
printEmptyList
protected boolean printEmptyList
-
-
Constructor Details
-
MCCommonLiterals2OD
public MCCommonLiterals2OD(de.monticore.prettyprint.IndentPrinter printer, de.monticore.generating.templateengine.reporting.commons.ReportingRepository reporting)
-
-
Method Details
-
handle
- Specified by:
handlein interfaceMCCommonLiteralsHandler
-
handle
- Specified by:
handlein interfaceMCCommonLiteralsHandler
-
handle
- Specified by:
handlein interfaceMCCommonLiteralsHandler
-
handle
- Specified by:
handlein interfaceMCCommonLiteralsHandler
-
handle
- Specified by:
handlein interfaceMCCommonLiteralsHandler
-
handle
- Specified by:
handlein interfaceMCCommonLiteralsHandler
-
handle
- Specified by:
handlein interfaceMCCommonLiteralsHandler
-
handle
- Specified by:
handlein interfaceMCCommonLiteralsHandler
-
handle
- Specified by:
handlein interfaceMCCommonLiteralsHandler
-
handle
- Specified by:
handlein interfaceMCCommonLiteralsHandler
-
handle
- Specified by:
handlein interfaceMCCommonLiteralsHandler
-
handle
- Specified by:
handlein interfaceMCCommonLiteralsHandler
-
getTraverser
- Specified by:
getTraverserin interfacede.monticore.visitor.IHandler- Specified by:
getTraverserin interfaceMCCommonLiteralsHandler
-
setTraverser
- Specified by:
setTraverserin interfaceMCCommonLiteralsHandler
-
printAttribute
-
printObject
-
printObjectDiagram
-
isPrintEmptyOptional
public boolean isPrintEmptyOptional() -
setPrintEmptyOptional
public void setPrintEmptyOptional(boolean printEmptyOptional) -
isPrintEmptyList
public boolean isPrintEmptyList() -
setPrintEmptyList
public void setPrintEmptyList(boolean printEmptyList)
-