|
|||||||||||
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 |
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 |
Constructor Detail |
public EiffelGenVisitor()
Method Detail |
public final java.lang.String getReferenceTemplateName()
getReferenceTemplateName
in class OOGenVisitor
public final java.lang.String getAssocTemplateName()
getAssocTemplateName
in class OOGenVisitor
public java.lang.String getContainerName(OOCollectionEnum containerType, boolean bound)
containerType
getContainerName
in class OOGenVisitor
containerType
- the containerType
bound
- true, if assoc is bound
public void initProgLangTypes()
initProgLangTypes
in class OOGenVisitor
public void initVisibilityStrings()
initVisibilityStrings
in class OOGenVisitor
public final java.lang.String getSourceCode(OOThrowStatement statement)
getSourceCode
in class OOGenVisitor
statement
- No description provided
public final java.lang.String getSourceCode(OOStartMethodBodyStatement statement)
getSourceCode
in class OOGenVisitor
statement
- No description provided
public java.lang.String getSourceCode(OOIfStatement statement)
getSourceCode
in class OOGenVisitor
statement
- No description provided
public java.lang.String getSourceCode(OOStartBlockStatement statement)
getSourceCode
in class OOGenVisitor
statement
- No description provided
public final java.lang.String getSourceCode(OOObjectOfTypeExpr expression)
expression
- No description provided
public final java.lang.String getSourceCode(OOClassOfVariableExpr expression)
expression
- No description provided
public final java.lang.String getSourceCode(OOFWIteratorOfExpr expression)
expression
- No description provided
public final java.lang.String getSourceCode(OOFWIteratorGetExpr expression)
expression
- No description provided
public final java.lang.String getSourceCode(OOFWIteratorHasNextExpr expression)
expression
- No description provided
public final java.lang.String getSourceCode(OOFWIteratorGotoNextExpr expression)
expression
- No description provided
public java.lang.String getSourceCode(OONewArrayExpr expr)
getSourceCode
in class OOGenVisitor
expr
- No description provided
public void generatePackageBegin(FFile theFile)
generatePackageBegin
in class OOGenVisitor
theFile
- No description providedpublic void generatePackageEnd(FFile theFile)
generatePackageEnd
in class OOGenVisitor
theFile
- No description providedpublic void generateClassEndBlock()
generateClassEndBlock
in class OOGenVisitor
public void generateClassStartBlock()
generateClassStartBlock
in class OOGenVisitor
public java.lang.String generateImportPackage(FPackage thePackage)
generateImportPackage
in class OOGenVisitor
thePackage
- No description provided
public java.lang.String generateImportClass(FClass theClass)
generateImportClass
in class OOGenVisitor
theClass
- No description provided
public java.lang.String createClassInterfaceModifier(FClass theClass)
createClassInterfaceModifier
in class OOGenVisitor
theClass
- No description provided
public java.lang.String createAttrDeclaration(FAttr theAttr)
createAttrDeclaration
in class OOGenVisitor
theAttr
- No description provided
public java.lang.String createMethodDeclaration(FMethod theMethod)
createMethodDeclaration
in class OOGenVisitor
theMethod
- No description provided
public java.lang.String createMethodParam(FParam theParam)
createMethodParam
in class OOGenVisitor
theParam
- 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 OOGenVisitor
theAttr
- No description provided
public java.lang.String getMethodDeclName(FMethod theMethod)
getMethodDeclName
in class OOGenVisitor
theMethod
- No description provided
public java.lang.String getAttrDeclVisibilityString(int visibility)
getAttrDeclVisibilityString
in class OOGenVisitor
visibility
- No description provided
public java.lang.String getMethodDeclVisibilityString(int visibility)
getMethodDeclVisibilityString
in class OOGenVisitor
visibility
- 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 |