|
|||||||||||
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.AbstractCPPGenVisitor
Class AbstractCPPGenVisitor
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 | |
AbstractCPPGenVisitor(java.lang.String extender)
Default Constructor |
Method Summary | |
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. |
java.lang.String |
getAssocTemplateName()
Get the assocTemplateName attribute of the AbstractCPPGenVisitor object |
java.lang.String |
getContainerName(OOCollectionEnum containerType,
boolean bound)
get the full qualified containername for type containerType |
java.lang.String |
getMethodName(OOMethod methodName)
Get the methodName attribute of the OOGenVisitor object |
java.lang.String |
getOOTypeAsString(OOContainerType theType,
boolean isBound)
Get the oOTypeAsString attribute of the AbstractCPPGenVisitor object |
java.lang.String |
getReferenceTemplateName()
Get the referenceTemplateName attribute of the AbstractCPPGenVisitor object |
java.lang.String |
getSourceCode(OOCallAttrExpr expression)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOCallMethodExpr expression)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOClassOfVariableExpr expression)
Get the sourceCode attribute of the AbstractCPPGenVisitor object |
java.lang.String |
getSourceCode(OOFWIteratorGetExpr expression)
Get the sourceCode attribute of the AbstractCPPGenVisitor object |
java.lang.String |
getSourceCode(OOFWIteratorGotoNextExpr expression)
Get the sourceCode attribute of the AbstractCPPGenVisitor object |
java.lang.String |
getSourceCode(OOFWIteratorHasNextExpr expression)
Get the sourceCode attribute of the AbstractCPPGenVisitor object |
java.lang.String |
getSourceCode(OOFWIteratorOfExpr expression)
Get the sourceCode attribute of the AbstractCPPGenVisitor object |
java.lang.String |
getSourceCode(OONewArrayExpr expression)
Get the sourceCode attribute of the AbstractCPPGenVisitor object |
java.lang.String |
getSourceCode(OOObjectOfTypeExpr expression)
Get the sourceCode attribute of the AbstractCPPGenVisitor object |
java.lang.String |
getSourceCode(OOThrowStatement statement)
Get the sourceCode attribute of the AbstractCPPGenVisitor object |
java.lang.String |
getSourceCode(OOTypeCastExpr expression)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getTypeAsString(FType theType,
boolean isPointer)
Get the uMLTypeAsString attribute of the OOGenVisitor 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. |
void |
removeYou()
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 AbstractCPPGenVisitor(java.lang.String extender)
extender
- No description providedMethod Detail |
public java.lang.String getReferenceTemplateName()
getReferenceTemplateName
in class OOGenVisitor
public 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 java.lang.String getMethodName(OOMethod methodName)
getMethodName
in class OOGenVisitor
methodName
- No description provided
public final java.lang.String getSourceCode(OOThrowStatement statement)
getSourceCode
in class OOGenVisitor
statement
- No description provided
public java.lang.String getSourceCode(OOTypeCastExpr expression)
getSourceCode
in class OOGenVisitor
expression
- No description provided
public 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 java.lang.String getSourceCode(OONewArrayExpr expression)
getSourceCode
in class OOGenVisitor
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(OOCallAttrExpr expression)
getSourceCode
in class OOGenVisitor
expression
- No description provided
public java.lang.String getSourceCode(OOCallMethodExpr expression)
getSourceCode
in class OOGenVisitor
expression
- No description provided
public java.lang.String getTypeAsString(FType theType, boolean isPointer)
getTypeAsString
in class OOGenVisitor
theType
- No description providedisPointer
- No description provided
public java.lang.String getOOTypeAsString(OOContainerType theType, boolean isBound)
getOOTypeAsString
in class OOGenVisitor
theType
- No description providedisBound
- No description provided
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 void removeYou()
removeYou
in class OOGenVisitor
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 |