Class ReportingRepository
java.lang.Object
de.monticore.generating.templateengine.reporting.commons.ReportingRepository
ReportingRepository holds all used formatted ASTNode strings. All string representations for a
ASTNode should be retrieved from this repository (getASTNodeNameFormatted method).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethod that converts the ASTNode into a formatted string with a source position if this is possible.protected StringgetNameFormatted(Object obj, String out, de.se_rwth.commons.SourcePosition sourcePos) getScopeNameFormatted(IScope scope) Method that converts the Symbol into a formatted string with a source position if this is possible.getSymbolNameFormatted(ISymbol symbol) Method that converts the Symbol into a formatted string with a source position if this is possible.
-
Field Details
-
astNodeIdentHelper
-
node2Ident
-
node2Name
-
name2maxidSourcePos
-
nodeWithSource2Ident
-
nodeWithSource2Name
-
name2maxid
-
allHWJavaNames
-
allHWTemplateNames
-
-
Constructor Details
-
ReportingRepository
-
-
Method Details
-
getNameFormatted
-
getASTNodeNameFormatted
Method that converts the ASTNode into a formatted string with a source position if this is possible. The structure of the string is@nodeName!nodeType(x,y)or@nodeName!nodeType(!ID).- Parameters:
a- that should be converted into unique String- Returns:
- representation of the ASTNode that contains either the position or a unique identification number for the object
-
getSymbolNameFormatted
Method that converts the Symbol into a formatted string with a source position if this is possible. The structure of the string is@symbolName!symbolType(x,y)or@symbolName!symbolType(!ID).- Parameters:
symbol- The symbol that should be converted into unique String- Returns:
- representation of the ASTNode that contains either the position or a unique identification number for the object
-
getScopeNameFormatted
Method that converts the Symbol into a formatted string with a source position if this is possible. The structure of the string is@symbolName!symbolType(x,y)or@symbolName!symbolType(!ID).- Parameters:
scope- The scope that should be converted into unique String- Returns:
- representation of the ASTNode that contains either the position or a unique identification number for the object
-
getAllHWJavaNames
-
getAllHWTemplateNames
-