|
|||||||||||
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
Class OOGenVisitor
Field Summary | |
java.lang.String |
ABSTRACT_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
ADD_OP_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
ADD_TO_SET_METHOD_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
AND_OP_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
ASSIGNMENT_OP_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
BREAK_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
CASE_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
CATCH_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
CLASS_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
CLOSE_NORM_BRACKET
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
COMPARE_TO_METHOD_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
DECR_OP_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
DIV_OP_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
DO_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
ELSE_STRING
No comment provided by developer, please add a comment to improve documentation. |
static java.lang.String |
EMPTY_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
END_BLOCK
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
END_METHOD_BLOCK
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
END_OF_LINE
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
END_OF_STATEMENT
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
END_OF_STATEMENT_LINE
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
EQUAL_OP_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
EQUALS_METHOD_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
EXTENDS_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
F_STATIC_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
FALSE_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
FINAL_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
FINALLY_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
FOR_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
GREATER_EQUAL_OP_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
GREATER_OP_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
IF_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
ILLEGALDATA_EXCEPTION_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
IMPLEMENTS_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
INCR_OP_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
INTERFACE_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
INTERRUPTED_EXCEPTION_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
LESS_EQUAL_OP_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
LESS_OP_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
LIST_SEPARATOR
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
MUL_OP_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
NATIVE_STRING
No comment provided by developer, please add a comment to improve documentation. |
static int |
NO_ORDER
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
NOT_EQUAL_OP_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
NOT_OP_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
NULL_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
OPEN_NORM_BRACKET
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
OR_OP_STRING
No comment provided by developer, please add a comment to improve documentation. |
static int |
ORDER
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
POINTER_POSTFIX
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
RETURN_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
SDM_ENSURE_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
SDM_EXCEPTION_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
SET_CONTAINS_METHOD_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
START_BLOCK
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
START_IF_BLOCK
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
START_METHOD_BLOCK
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
START_METHOD_BODY
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
SUB_OP_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
SWITCH_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
SYNCHRONIZED_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
THIS_STRING
No comment provided by developer, please add a comment to improve documentation. |
static java.lang.String |
TMP_FILE_EXTENDER
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
TRANSIENT_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
TRUE_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
TRY_STRING
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
UNIT_ASSERT_STRING
No comment provided by developer, please add a comment to improve documentation. |
protected java.lang.String[] |
visibilityStrings
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
WHILE_STRING
No comment provided by developer, please add a comment to improve documentation. |
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 | |
OOGenVisitor()
Default Constructor |
|
OOGenVisitor(java.lang.String extender)
Default Constructor |
Method Summary | |
protected void |
addToProgLangTypes(java.lang.String key,
java.lang.String elem)
|
void |
appendAttrCommentary(java.lang.String comment)
No comment provided by developer, please add a comment to improve documentation. |
void |
appendAttrDeclaration(java.lang.String declString)
No comment provided by developer, please add a comment to improve documentation. |
void |
appendClassCommentary(java.lang.String comment)
No comment provided by developer, please add a comment to improve documentation. |
void |
appendClassDeclaration(java.lang.String declString)
No comment provided by developer, please add a comment to improve documentation. |
void |
appendMethodBody(java.lang.String body)
No comment provided by developer, please add a comment to improve documentation. |
void |
appendMethodCommentary(java.lang.String comment)
No comment provided by developer, please add a comment to improve documentation. |
void |
appendMethodDeclaration(java.lang.String declString)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
appendStatement(OOStatement statement)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
createAttrCommentary(FCommentary theCommentary)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
createAttrDeclaration(FAttr theAttr)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
createClassCommentary(FCommentary theCommentary)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
createClassDeclaration(FClass theClass)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
createClassExtendsDeclaration(FClass theClass)
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 |
createCloseBlock(java.lang.String blockType)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
createInitializerDeclaration(FMethod theMethod)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
createInterfaceDeclaration(FClass theClass)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
createInterfaceExtendsDeclaration(FClass theClass)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
createMethodCommentary(FCommentary theCommentary)
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 |
createMethodParamList(FMethod theMethod)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
createNormalFMethodDeclaration(FMethod theMethod)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
createOpenBlock(java.lang.String blockType)
No comment provided by developer, please add a comment to improve documentation. |
protected java.util.Iterator |
entriesOfProgLangTypes()
|
abstract void |
generateClassEndBlock()
No comment provided by developer, please add a comment to improve documentation. |
abstract void |
generateClassStartBlock()
No comment provided by developer, please add a comment to improve documentation. |
void |
generateCloseBlock(java.lang.String blockType)
No comment provided by developer, please add a comment to improve documentation. |
abstract java.lang.String |
generateImportClass(FClass theClass)
No comment provided by developer, please add a comment to improve documentation. |
abstract java.lang.String |
generateImportPackage(FPackage thePackage)
No comment provided by developer, please add a comment to improve documentation. |
void |
generateOpenBlock(java.lang.String blockType)
No comment provided by developer, please add a comment to improve documentation. |
abstract void |
generatePackageBegin(FFile theFile)
No comment provided by developer, please add a comment to improve documentation. |
abstract void |
generatePackageEnd(FFile theFile)
No comment provided by developer, please add a comment to improve documentation. |
abstract java.lang.String |
getAssocTemplateName()
Get the assocTemplateName attribute of the CodeGenVisitor object |
abstract java.lang.String |
getAttrDeclName(FAttr theAttr)
Get the attrDeclName attribute of the OOGenVisitor object |
java.lang.String |
getAttrDeclVisibilityString(int visibility)
Get the uMLAttrDeclVisibilityString attribute of the OOGenVisitor object |
java.lang.String |
getClassName(FClass theClass)
Get the className attribute of the OOGenVisitor object |
java.lang.String |
getContainerName(OOCollectionEnum containerType)
Get the containerName attribute of the CodeGenVisitor object |
abstract java.lang.String |
getContainerName(OOCollectionEnum containerType,
boolean bound)
get the full qualified containername for type containerType |
protected java.lang.String |
getFromProgLangTypes(java.lang.String key)
|
java.lang.String |
getInterfaceName(FClass theClass)
Get the interfaceName attribute of the OOGenVisitor object |
abstract java.lang.String |
getMethodDeclName(FMethod theMethod)
Get the methodDeclName attribute of the OOGenVisitor object |
java.lang.String |
getMethodDeclVisibilityString(int visibility)
Get the uMLMethodDeclVisibilityString attribute of the OOGenVisitor object |
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 OOGenVisitor object |
java.lang.String |
getOOTypeAsString(OOType theType)
Get the oOTypeAsString attribute of the OOGenVisitor object |
java.lang.String |
getOOTypeAsString(OOType theType,
boolean isBound)
Get the oOTypeAsString attribute of the OOGenVisitor object |
java.lang.String |
getOOTypeAsString(OOTypeInterface theType)
Get the oOTypeAsString attribute of the OOGenVisitor object |
java.lang.String |
getOOTypeAsString(OOTypeInterface theType,
boolean isBound)
Get the oOTypeAsString attribute of the OOGenVisitor object |
java.lang.String |
getOperationText(int operation)
Deprecated. seems not to be used, otherwise remove deprecation 07.10.03 AZ |
java.lang.String |
getProgLangType(FBaseTypes baseType)
Get the progLangType attribute of the CodeGenVisitor object |
abstract java.lang.String |
getReferenceTemplateName()
Get the referenceTemplateName attribute of the CodeGenVisitor object |
java.lang.String |
getSourceCode(OOAssignExpr expression)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOBeginMethodBodyStatement statement)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOBreakStatement statement)
Get the sourceCode attribute of the OOGenVisitor 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(OOCaseStatement caseStatement)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOCatchStatement statement)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OODoStatement statement)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOElseStatement statement)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOEmptyLineStatement statement)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOEndBlockStatement statement)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOEndMethodBodyStatement statement)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOExceptionExpr expression)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOExpression expression)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOExprStatement statement)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOForStatement statement)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOIdentifierExpr expression)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOIfStatement statement)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOInfixExprLeft expression)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOInfixOp theOp)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOLineCommentStatement statement)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOLocalVarDeclStatement statement)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOMemoStatement statement)
Get the sourceCode attribute of the OOGenVisitor object |
abstract java.lang.String |
getSourceCode(OONewArrayExpr expression)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OONewObjectExpr expression)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOPrefixExpr expression)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOReturnStatement statement)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOSDMEnsureStatement statement)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOStartBlockStatement statement)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOStartMethodBodyStatement statement)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOStatement statement)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOStringExpr expression)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOSwitchCaseStatement statement)
Get the sourceCode attribute of the OOGenVisitor object |
abstract java.lang.String |
getSourceCode(OOThrowStatement statement)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOTryStatement statement)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOTypeCastExpr expression)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOVariable var)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getSourceCode(OOWhileStatement statement)
Get the sourceCode attribute of the OOGenVisitor object |
java.lang.String |
getTypeAsString(FType theType)
Get the uMLTypeAsString attribute of the OOGenVisitor object |
java.lang.String |
getTypeAsString(FType theType,
boolean isPointer)
Get the uMLTypeAsString attribute of the OOGenVisitor object |
java.lang.String |
getTypeNameAsString(java.lang.String typeName)
Get the uMLTypeNameAsString attribute of the OOGenVisitor object |
java.lang.String |
getTypeNameAsString(java.lang.String typeName,
boolean isPointer)
Get the uMLTypeNameAsString attribute of the OOGenVisitor object |
java.lang.String |
getVarName(OOVariable variableName)
Get the varName attribute of the OOGenVisitor object |
java.lang.String |
getVarName(OOVariableType type)
Get the varName attribute of the OOGenVisitor object |
java.lang.String |
getVisibilityString(int visibility)
Get the visibilityString attribute of the CodeGenVisitor object |
protected boolean |
hasInProgLangTypes(java.lang.String object)
|
protected boolean |
hasKeyInProgLangTypes(java.lang.String key)
|
protected abstract void |
initProgLangTypes()
No comment provided by developer, please add a comment to improve documentation. |
abstract void |
initVisibilityStrings()
No comment provided by developer, please add a comment to improve documentation. |
protected java.util.Iterator |
iteratorOfProgLangTypes()
|
protected java.util.Iterator |
keysOfProgLangTypes()
|
protected void |
removeAllFromProgLangTypes()
|
protected void |
removeKeyFromProgLangTypes(java.lang.String key)
|
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 |
Field Detail |
public static final java.lang.String TMP_FILE_EXTENDER
public static final java.lang.String EMPTY_STRING
public java.lang.String CLASS_STRING
public java.lang.String INTERFACE_STRING
public java.lang.String NULL_STRING
public java.lang.String EXTENDS_STRING
public java.lang.String IMPLEMENTS_STRING
public java.lang.String START_BLOCK
public java.lang.String END_BLOCK
public java.lang.String START_IF_BLOCK
public java.lang.String START_METHOD_BLOCK
public java.lang.String START_METHOD_BODY
public java.lang.String END_METHOD_BLOCK
public java.lang.String OPEN_NORM_BRACKET
public java.lang.String CLOSE_NORM_BRACKET
public java.lang.String END_OF_STATEMENT
public java.lang.String END_OF_LINE
public java.lang.String END_OF_STATEMENT_LINE
public java.lang.String LIST_SEPARATOR
public java.lang.String POINTER_POSTFIX
public java.lang.String SDM_ENSURE_STRING
public java.lang.String SDM_EXCEPTION_STRING
public java.lang.String UNIT_ASSERT_STRING
public java.lang.String INTERRUPTED_EXCEPTION_STRING
public java.lang.String ILLEGALDATA_EXCEPTION_STRING
public java.lang.String ASSIGNMENT_OP_STRING
public java.lang.String FALSE_STRING
public java.lang.String TRUE_STRING
public java.lang.String IF_STRING
public java.lang.String WHILE_STRING
public java.lang.String TRY_STRING
public java.lang.String CATCH_STRING
public java.lang.String FINALLY_STRING
public java.lang.String ELSE_STRING
public java.lang.String DO_STRING
public java.lang.String BREAK_STRING
public java.lang.String FOR_STRING
public java.lang.String SWITCH_STRING
public java.lang.String CASE_STRING
public java.lang.String THIS_STRING
public java.lang.String RETURN_STRING
public java.lang.String AND_OP_STRING
public java.lang.String OR_OP_STRING
public java.lang.String EQUAL_OP_STRING
public java.lang.String NOT_EQUAL_OP_STRING
public java.lang.String LESS_OP_STRING
public java.lang.String GREATER_OP_STRING
public java.lang.String LESS_EQUAL_OP_STRING
public java.lang.String GREATER_EQUAL_OP_STRING
public java.lang.String ADD_OP_STRING
public java.lang.String SUB_OP_STRING
public java.lang.String MUL_OP_STRING
public java.lang.String DIV_OP_STRING
public java.lang.String NOT_OP_STRING
public java.lang.String INCR_OP_STRING
public java.lang.String DECR_OP_STRING
public java.lang.String F_STATIC_STRING
public java.lang.String FINAL_STRING
public java.lang.String TRANSIENT_STRING
public java.lang.String ABSTRACT_STRING
public java.lang.String SYNCHRONIZED_STRING
public java.lang.String NATIVE_STRING
public java.lang.String EQUALS_METHOD_STRING
public java.lang.String COMPARE_TO_METHOD_STRING
public java.lang.String ADD_TO_SET_METHOD_STRING
public java.lang.String SET_CONTAINS_METHOD_STRING
public static final int NO_ORDER
public static final int ORDER
protected java.lang.String[] visibilityStrings
Constructor Detail |
public OOGenVisitor()
public OOGenVisitor(java.lang.String extender)
extender
- No description providedMethod Detail |
public abstract java.lang.String getReferenceTemplateName()
public abstract java.lang.String getAssocTemplateName()
public abstract java.lang.String getContainerName(OOCollectionEnum containerType, boolean bound)
containerType
containerType
- the containerType
bound
- true, if assoc is bound
public final java.lang.String getContainerName(OOCollectionEnum containerType)
containerType
- No description provided
public abstract void generateClassEndBlock()
public abstract void generateClassStartBlock()
public abstract void generatePackageBegin(FFile theFile)
theFile
- No description providedpublic abstract void generatePackageEnd(FFile theFile)
theFile
- No description providedpublic abstract java.lang.String generateImportPackage(FPackage thePackage)
thePackage
- No description provided
public abstract java.lang.String generateImportClass(FClass theClass)
theClass
- No description provided
public abstract java.lang.String getAttrDeclName(FAttr theAttr)
theAttr
- No description provided
public abstract java.lang.String getMethodDeclName(FMethod theMethod)
theMethod
- No description provided
public java.lang.String getMethodName(OOMethod methodName)
methodName
- No description provided
public void generateOpenBlock(java.lang.String blockType)
blockType
- No description providedpublic void generateCloseBlock(java.lang.String blockType)
blockType
- No description providedpublic java.lang.String createClassInterfaceModifier(FClass theClass)
theClass
- No description provided
public java.lang.String createInterfaceDeclaration(FClass theClass)
theClass
- No description provided
public java.lang.String createClassDeclaration(FClass theClass)
theClass
- No description provided
public java.lang.String createClassExtendsDeclaration(FClass theClass)
theClass
- No description provided
public java.lang.String createInterfaceExtendsDeclaration(FClass theClass)
theClass
- No description provided
public java.lang.String createClassCommentary(FCommentary theCommentary)
theCommentary
- No description provided
public java.lang.String createAttrCommentary(FCommentary theCommentary)
theCommentary
- No description provided
public java.lang.String createMethodCommentary(FCommentary theCommentary)
theCommentary
- No description provided
public java.lang.String createAttrDeclaration(FAttr theAttr)
theAttr
- No description provided
public java.lang.String createMethodDeclaration(FMethod theMethod)
theMethod
- No description provided
public java.lang.String createInitializerDeclaration(FMethod theMethod)
theMethod
- No description provided
public java.lang.String createNormalFMethodDeclaration(FMethod theMethod)
theMethod
- No description provided
public java.lang.String createOpenBlock(java.lang.String blockType)
blockType
- No description provided
public java.lang.String createCloseBlock(java.lang.String blockType)
blockType
- No description provided
public java.lang.String createMethodParamList(FMethod theMethod)
theMethod
- No description provided
public java.lang.String createMethodParam(FParam theParam)
theParam
- No description provided
public abstract java.lang.String getSourceCode(OOThrowStatement statement)
statement
- No description provided
public java.lang.String getSourceCode(OOExprStatement statement)
statement
- No description provided
public java.lang.String getSourceCode(OOIfStatement statement)
statement
- No description provided
public java.lang.String getSourceCode(OOWhileStatement statement)
statement
- No description provided
public java.lang.String getSourceCode(OOForStatement statement)
statement
- No description provided
public java.lang.String getSourceCode(OOElseStatement statement)
statement
- No description provided
public java.lang.String getSourceCode(OOLineCommentStatement statement)
statement
- No description provided
public java.lang.String getSourceCode(OOLocalVarDeclStatement statement)
statement
- No description provided
public java.lang.String getSourceCode(OOStartBlockStatement statement)
statement
- No description provided
public java.lang.String getSourceCode(OOEndBlockStatement statement)
statement
- No description provided
public java.lang.String getSourceCode(OOSDMEnsureStatement statement)
statement
- No description provided
public java.lang.String getSourceCode(OOTryStatement statement)
statement
- No description provided
public java.lang.String getSourceCode(OOReturnStatement statement)
statement
- No description provided
public java.lang.String getSourceCode(OOCatchStatement statement)
statement
- No description provided
public java.lang.String getSourceCode(OOStartMethodBodyStatement statement)
statement
- No description provided
public java.lang.String getSourceCode(OOBeginMethodBodyStatement statement)
statement
- No description provided
public java.lang.String getSourceCode(OOEndMethodBodyStatement statement)
statement
- No description provided
public java.lang.String getSourceCode(OOEmptyLineStatement statement)
statement
- No description provided
public java.lang.String getSourceCode(OODoStatement statement)
statement
- No description provided
public java.lang.String getSourceCode(OOMemoStatement statement)
statement
- No description provided
public java.lang.String getSourceCode(OOBreakStatement statement)
statement
- No description provided
public final java.lang.String getSourceCode(OOSwitchCaseStatement statement)
statement
- No description provided
public final java.lang.String getSourceCode(OOCaseStatement caseStatement)
caseStatement
- No description provided
public final java.lang.String getSourceCode(OOStatement statement)
statement
- No description provided
public final java.lang.String appendStatement(OOStatement statement)
statement
- No description provided
public abstract java.lang.String getSourceCode(OONewArrayExpr expression)
expression
- No description provided
public final java.lang.String getSourceCode(OONewObjectExpr expression)
expression
- No description provided
public java.lang.String getSourceCode(OOPrefixExpr expression)
expression
- No description provided
public java.lang.String getSourceCode(OOInfixExprLeft expression)
expression
- No description provided
public java.lang.String getSourceCode(OOIdentifierExpr expression)
expression
- No description provided
public java.lang.String getSourceCode(OOTypeCastExpr expression)
expression
- No description provided
public java.lang.String getSourceCode(OOAssignExpr expression)
expression
- No description provided
public java.lang.String getSourceCode(OOCallAttrExpr expression)
expression
- No description provided
public java.lang.String getSourceCode(OOCallMethodExpr expression)
expression
- No description provided
public java.lang.String getSourceCode(OOExceptionExpr expression)
expression
- No description provided
public java.lang.String getSourceCode(OOVariable var)
var
- No description provided
public final java.lang.String getSourceCode(OOStringExpr expression)
expression
- No description provided
public final java.lang.String getSourceCode(OOExpression expression)
expression
- No description provided
public java.lang.String getSourceCode(OOInfixOp theOp)
theOp
- No description provided
public void appendClassCommentary(java.lang.String comment)
comment
- No description providedpublic void appendClassDeclaration(java.lang.String declString)
declString
- No description providedpublic void appendAttrCommentary(java.lang.String comment)
comment
- No description providedpublic void appendAttrDeclaration(java.lang.String declString)
declString
- No description providedpublic void appendMethodCommentary(java.lang.String comment)
comment
- No description providedpublic void appendMethodDeclaration(java.lang.String declString)
declString
- No description providedpublic void appendMethodBody(java.lang.String body)
body
- No description providedpublic java.lang.String getVarName(OOVariableType type)
type
- No description provided
public java.lang.String getVarName(OOVariable variableName)
variableName
- No description provided
public java.lang.String getAttrDeclVisibilityString(int visibility)
visibility
- No description provided
public java.lang.String getMethodDeclVisibilityString(int visibility)
visibility
- No description provided
public java.lang.String getInterfaceName(FClass theClass)
theClass
- No description provided
public java.lang.String getClassName(FClass theClass)
theClass
- No description provided
public final java.lang.String getOOTypeAsString(OOTypeInterface theType)
theType
- No description provided
public final java.lang.String getOOTypeAsString(OOTypeInterface theType, boolean isBound)
theType
- No description providedisBound
- No description provided
public java.lang.String getOOTypeAsString(OOContainerType theType, boolean isBound)
theType
- No description providedisBound
- No description provided
public final java.lang.String getOOTypeAsString(OOType theType)
theType
- No description provided
public java.lang.String getOOTypeAsString(OOType theType, boolean isBound)
theType
- No description providedisBound
- No description provided
public java.lang.String getTypeAsString(FType theType)
theType
- No description provided
public java.lang.String getTypeAsString(FType theType, boolean isPointer)
theType
- No description providedisPointer
- No description provided
public java.lang.String getTypeNameAsString(java.lang.String typeName)
typeName
- No description provided
public java.lang.String getTypeNameAsString(java.lang.String typeName, boolean isPointer)
typeName
- No description providedisPointer
- No description provided
public final java.lang.String getOperationText(int operation)
operation
- No description provided
protected abstract void initProgLangTypes()
public final java.lang.String getProgLangType(FBaseTypes baseType)
baseType
- No description provided
protected final boolean hasInProgLangTypes(java.lang.String object)
object
- No description provided
#progLangTypes
protected final boolean hasKeyInProgLangTypes(java.lang.String key)
key
- No description provided
#progLangTypes
protected final java.util.Iterator iteratorOfProgLangTypes()
#progLangTypes
protected final java.util.Iterator keysOfProgLangTypes()
#progLangTypes
protected final java.util.Iterator entriesOfProgLangTypes()
#progLangTypes
protected final java.lang.String getFromProgLangTypes(java.lang.String key)
key
- No description provided
#progLangTypes
protected final void addToProgLangTypes(java.lang.String key, java.lang.String elem)
key
- The object added.elem
- The object added.#progLangTypes
protected final void removeKeyFromProgLangTypes(java.lang.String key)
key
- No description provided#progLangTypes
protected final void removeAllFromProgLangTypes()
#progLangTypes
public abstract void initVisibilityStrings()
public final java.lang.String getVisibilityString(int visibility)
visibility
- No description provided
public void removeYou()
removeYou
in class CodeGenVisitor
public java.lang.String toString()
toString
in class CodeGenVisitor
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |