|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.uni_paderborn.fujaba.codegen.CodeGenVisitor
de.uni_paderborn.fujaba.codegen.OOGenVisitor
de.uni_paderborn.fujaba.codegen.EiffelGenVisitor
Class EiffelGenVisitor
| Field Summary | |
private static org.apache.log4j.Logger |
log
log4j logging |
| Fields inherited from class de.uni_paderborn.fujaba.codegen.CodeGenVisitor |
EIFFEL_VISITOR, END_BLOCK_COMMENTARY, GNU_CPP_CLASS_VISITOR, GNU_CPP_HEADER_VISITOR, INDENT_STRING, JAVA_VISITOR, LINE_COMMENTARY, LINE_IN_BLOCK_COMMENTARY, START_BLOCK_COMMENTARY |
| Constructor Summary | |
EiffelGenVisitor()
Default Constructor |
|
| Method Summary | |
java.lang.String |
createAttrDeclaration(FAttr theAttr)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
createClassInterfaceModifier(FClass theClass)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
createMethodDeclaration(FMethod theMethod)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
createMethodParam(FParam theParam)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
createVarDecl(java.lang.String varType,
java.lang.String varName,
java.lang.String initString)
No comment provided by developer, please add a comment to improve documentation. |
void |
generateClassEndBlock()
No comment provided by developer, please add a comment to improve documentation. |
void |
generateClassStartBlock()
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
generateImportClass(FClass theClass)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
generateImportPackage(FPackage thePackage)
No comment provided by developer, please add a comment to improve documentation. |
void |
generatePackageBegin(FFile theFile)
No comment provided by developer, please add a comment to improve documentation. |
void |
generatePackageEnd(FFile theFile)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
getAssocTemplateName()
Get the assocTemplateName attribute of the EiffelGenVisitor object |
java.lang.String |
getAttrDeclName(FAttr theAttr)
Get the attrDeclName attribute of the EiffelGenVisitor object |
java.lang.String |
getAttrDeclVisibilityString(int visibility)
Get the uMLAttrDeclVisibilityString attribute of the EiffelGenVisitor object |
java.lang.String |
getContainerName(OOCollectionEnum containerType,
boolean bound)
get the full qualified containername for type containerType |
java.lang.String |
getMethodDeclName(FMethod theMethod)
Get the methodDeclName attribute of the EiffelGenVisitor object |
java.lang.String |
getMethodDeclVisibilityString(int visibility)
Get the uMLMethodDeclVisibilityString attribute of the EiffelGenVisitor object |
java.lang.String |
getReferenceTemplateName()
Get the referenceTemplateName attribute of the EiffelGenVisitor object |
java.lang.String |
getSourceCode(OOClassOfVariableExpr expression)
Get the sourceCode attribute of the EiffelGenVisitor object |
java.lang.String |
getSourceCode(OOFWIteratorGetExpr expression)
Get the sourceCode attribute of the EiffelGenVisitor object |
java.lang.String |
getSourceCode(OOFWIteratorGotoNextExpr expression)
Get the sourceCode attribute of the EiffelGenVisitor object |
java.lang.String |
getSourceCode(OOFWIteratorHasNextExpr expression)
Get the sourceCode attribute of the EiffelGenVisitor object |
java.lang.String |
getSourceCode(OOFWIteratorOfExpr expression)
Get the sourceCode attribute of the EiffelGenVisitor object |
java.lang.String |
getSourceCode(OOIfStatement statement)
Get the sourceCode attribute of the EiffelGenVisitor object |
java.lang.String |
getSourceCode(OONewArrayExpr expr)
Get the sourceCode attribute of the EiffelGenVisitor object |
java.lang.String |
getSourceCode(OOObjectOfTypeExpr expression)
Get the sourceCode attribute of the EiffelGenVisitor object |
java.lang.String |
getSourceCode(OOStartBlockStatement statement)
Get the sourceCode attribute of the EiffelGenVisitor object |
java.lang.String |
getSourceCode(OOStartMethodBodyStatement statement)
Get the sourceCode attribute of the EiffelGenVisitor object |
java.lang.String |
getSourceCode(OOThrowStatement statement)
Get the sourceCode attribute of the EiffelGenVisitor object |
void |
initProgLangTypes()
No comment provided by developer, please add a comment to improve documentation. |
void |
initVisibilityStrings()
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private static final transient org.apache.log4j.Logger log
| Constructor Detail |
public EiffelGenVisitor()
| Method Detail |
public final java.lang.String getReferenceTemplateName()
getReferenceTemplateName in class OOGenVisitorpublic final java.lang.String getAssocTemplateName()
getAssocTemplateName in class OOGenVisitor
public java.lang.String getContainerName(OOCollectionEnum containerType,
boolean bound)
containerType
getContainerName in class OOGenVisitorcontainerType - the containerTypebound - true, if assoc is bound
public void initProgLangTypes()
initProgLangTypes in class OOGenVisitorpublic void initVisibilityStrings()
initVisibilityStrings in class OOGenVisitorpublic final java.lang.String getSourceCode(OOThrowStatement statement)
getSourceCode in class OOGenVisitorstatement - No description provided
public final java.lang.String getSourceCode(OOStartMethodBodyStatement statement)
getSourceCode in class OOGenVisitorstatement - No description provided
public java.lang.String getSourceCode(OOIfStatement statement)
getSourceCode in class OOGenVisitorstatement - No description provided
public java.lang.String getSourceCode(OOStartBlockStatement statement)
getSourceCode in class OOGenVisitorstatement - No description provided
public final java.lang.String getSourceCode(OOObjectOfTypeExpr expression)
getSourceCode in class OOGenVisitorexpression - No description provided
public final java.lang.String getSourceCode(OOClassOfVariableExpr expression)
getSourceCode in class OOGenVisitorexpression - No description provided
public final java.lang.String getSourceCode(OOFWIteratorOfExpr expression)
getSourceCode in class OOGenVisitorexpression - No description provided
public final java.lang.String getSourceCode(OOFWIteratorGetExpr expression)
getSourceCode in class OOGenVisitorexpression - No description provided
public final java.lang.String getSourceCode(OOFWIteratorHasNextExpr expression)
getSourceCode in class OOGenVisitorexpression - No description provided
public final java.lang.String getSourceCode(OOFWIteratorGotoNextExpr expression)
getSourceCode in class OOGenVisitorexpression - No description provided
public java.lang.String getSourceCode(OONewArrayExpr expr)
getSourceCode in class OOGenVisitorexpr - No description provided
public void generatePackageBegin(FFile theFile)
generatePackageBegin in class OOGenVisitortheFile - No description providedpublic void generatePackageEnd(FFile theFile)
generatePackageEnd in class OOGenVisitortheFile - No description providedpublic void generateClassEndBlock()
generateClassEndBlock in class OOGenVisitorpublic void generateClassStartBlock()
generateClassStartBlock in class OOGenVisitorpublic java.lang.String generateImportPackage(FPackage thePackage)
generateImportPackage in class OOGenVisitorthePackage - No description provided
public java.lang.String generateImportClass(FClass theClass)
generateImportClass in class OOGenVisitortheClass - No description provided
public java.lang.String createClassInterfaceModifier(FClass theClass)
createClassInterfaceModifier in class OOGenVisitortheClass - No description provided
public java.lang.String createAttrDeclaration(FAttr theAttr)
createAttrDeclaration in class OOGenVisitortheAttr - No description provided
public java.lang.String createMethodDeclaration(FMethod theMethod)
createMethodDeclaration in class OOGenVisitortheMethod - No description provided
public java.lang.String createMethodParam(FParam theParam)
createMethodParam in class OOGenVisitortheParam - No description provided
public java.lang.String createVarDecl(java.lang.String varType,
java.lang.String varName,
java.lang.String initString)
varType - No description providedvarName - No description providedinitString - No description provided
public java.lang.String getAttrDeclName(FAttr theAttr)
getAttrDeclName in class OOGenVisitortheAttr - No description provided
public java.lang.String getMethodDeclName(FMethod theMethod)
getMethodDeclName in class OOGenVisitortheMethod - No description provided
public java.lang.String getAttrDeclVisibilityString(int visibility)
getAttrDeclVisibilityString in class OOGenVisitorvisibility - No description provided
public java.lang.String getMethodDeclVisibilityString(int visibility)
getMethodDeclVisibilityString in class OOGenVisitorvisibility - No description provided
public java.lang.String toString()
toString in class OOGenVisitor
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||