Class TemplatesReporter
java.lang.Object
de.monticore.generating.templateengine.reporting.commons.DefaultReportEventHandler
de.monticore.generating.templateengine.reporting.commons.AReporter
de.monticore.generating.templateengine.reporting.reporter.TemplatesReporter
- All Implemented Interfaces:
IReportEventHandler
-
Field Summary
FieldsFields inherited from class de.monticore.generating.templateengine.reporting.commons.AReporter
file, fileextension, fileOpen, qualifiedFileName, reportingHelper -
Constructor Summary
ConstructorsConstructorDescriptionTemplatesReporter(String outputDir, String modelName, ReportingRepository repository) -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod is called after generation.protected StringgetIndentAfterCount(String countString) voidreportTemplateStart(String templatename, ASTNode ast) protected voidprotected voidprotected voidprotected voidprotected voidprotected voidMethods inherited from class de.monticore.generating.templateengine.reporting.commons.AReporter
closeFile, openFile, writeLineMethods inherited from class de.monticore.generating.templateengine.reporting.commons.DefaultReportEventHandler
reportAddAfterTemplate, reportAddBeforeTemplate, reportAddValue, reportASTSpecificTemplateReplacement, reportCallAfterHookPoint, reportCallBeforeHookPoint, reportCallHookPointEnd, reportCallHookPointStart, reportCallReplacementHookPoint, reportCallSpecificReplacementHookPoint, reportDetailed, reportError, reportErrorInternal, reportErrorUser, reportExecuteStandardTemplate, reportFileCreation, reportFileCreation, reportFileCreation, reportFileExistenceChecking, reportFileFinalization, reportHWCExistenceCheck, reportInstantiate, reportMethodCall, reportModelEnd, reportModelLoad, reportModelStart, reportOpenInputFile, reportOpenInputFile, reportParseInputFile, reportSetAfterTemplate, reportSetBeforeTemplate, reportSetHookPoint, reportSetValue, reportSymbolTableScope, reportTemplateEnd, reportTemplateInclude, reportTemplateReplacement, reportTemplateWrite, reportTransformationNewValue, reportTransformationNewValue, reportTransformationNewValue, reportTransformationObjectChange, reportTransformationObjectCreation, reportTransformationObjectDeletion, reportTransformationObjectMatch, reportTransformationOldValue, reportTransformationOldValue, reportTransformationOldValue, reportTransformationStart, reportUseHandwrittenCodeFile, reportUserSpecificTemplate, reportUserWarning, reportWarning
-
Field Details
-
SIMPLE_FILE_NAME
- See Also:
-
templateCount
-
hwTemplateCount
-
realTemplateNames
-
realHWTemplateNames
-
repository
-
-
Constructor Details
-
TemplatesReporter
-
-
Method Details
-
writeHeader
protected void writeHeader()- Specified by:
writeHeaderin classAReporter
-
writeContent
protected void writeContent() -
writeUsedTemplates
protected void writeUsedTemplates() -
writeUsedUSTemplates
protected void writeUsedUSTemplates() -
writeUnusedUSTemplates
protected void writeUnusedUSTemplates() -
getIndentAfterCount
-
reportTemplateStart
- Specified by:
reportTemplateStartin interfaceIReportEventHandler- Overrides:
reportTemplateStartin classDefaultReportEventHandler
-
flush
Description copied from class:AReporterMethod is called after generation.- Specified by:
flushin interfaceIReportEventHandler- Overrides:
flushin classAReporter- Parameters:
ast- Compilation unit AST or null on error
-