|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.codegen.CodeGenFunction
Class CodeGenFunction
0..1 0..1 OOGenFunction --------------------- OOGenStrategyClient function client 0..1 0..1 OOGenFunction ---------------------------- OOGenFunction prevFunction successor
Field Summary | |
static int |
IN_ORDER
No comment provided by developer, please add a comment to improve documentation. |
static int |
NORM
No comment provided by developer, please add a comment to improve documentation. |
static int |
POST_ORDER
No comment provided by developer, please add a comment to improve documentation. |
static int |
PRE_ORDER
No comment provided by developer, please add a comment to improve documentation. |
Constructor Summary | |
CodeGenFunction()
Default Constructor |
|
CodeGenFunction(int mode)
Constructor for class OOGenFunction |
Method Summary | |
void |
add(java.util.LinkedList theLinkedList,
java.lang.Object theObject)
No comment provided by developer, please add a comment to improve documentation. |
java.util.LinkedList |
concat(java.lang.Object a,
java.lang.Object b)
create new LinkedList and append a and b |
static CodeGenFunction |
findNextResponsible(CodeGenFunction function,
java.lang.String methodName)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.Object |
generate(FElement incr,
java.lang.String methodName,
java.lang.Object[] param)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.Object |
generateCode(ASGElement incr,
java.lang.String methodName,
java.lang.Object[] param)
Deprecated. use generateCode(de.uni_paderborn.fujaba.metamodel.FElement,
String, Object[]) instead |
java.lang.Object |
generateCode(FElement incr,
java.lang.String methodName,
java.lang.Object[] param)
Generate code for an element. |
java.lang.Object |
generateCode(FElement incr,
java.lang.String methodName,
java.lang.Object[] param,
java.lang.Object prevResult)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.Object |
generateCode(java.lang.String methodName,
java.lang.Object[] param)
No comment provided by developer, please add a comment to improve documentation. |
CodeGenStrategy |
getClient()
|
CodeGenStrategy |
getClientOfChain()
Get the clientOfChain attribute of the OOGenFunction object |
int |
getMode()
Get the value of mode. |
CodeGenFunction |
getPrevFunction()
|
CodeGenFunction |
getSuccessor()
|
abstract boolean |
isResponsible(java.lang.String methodName)
Get the responsible attribute of the OOGenFunction object |
boolean |
setClient(CodeGenStrategy value)
|
void |
setMode(int mode)
Set the value of mode. |
boolean |
setPrevFunction(CodeGenFunction value)
|
boolean |
setSuccessor(CodeGenFunction value)
|
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 int NORM
public static final int PRE_ORDER
public static final int IN_ORDER
public static final int POST_ORDER
Constructor Detail |
public CodeGenFunction()
public CodeGenFunction(int mode)
mode
- No description providedMethod Detail |
public int getMode()
public void setMode(int mode)
mode
- Value to assign to mode.public boolean setClient(CodeGenStrategy value)
value
- The new client value
#client
public CodeGenStrategy getClient()
#client
public abstract boolean isResponsible(java.lang.String methodName)
methodName
- No description provided
public final java.lang.Object generateCode(java.lang.String methodName, java.lang.Object[] param)
methodName
- No description providedparam
- No description provided
public java.lang.Object generateCode(FElement incr, java.lang.String methodName, java.lang.Object[] param)
incr
- No description providedmethodName
- No description providedparam
- No description provided
public java.lang.Object generateCode(ASGElement incr, java.lang.String methodName, java.lang.Object[] param)
generateCode(de.uni_paderborn.fujaba.metamodel.FElement,
String, Object[])
instead
incr
- methodName
- param
-
public java.lang.Object generateCode(FElement incr, java.lang.String methodName, java.lang.Object[] param, java.lang.Object prevResult)
incr
- No description providedmethodName
- No description providedparam
- No description providedprevResult
- No description provided
public static CodeGenFunction findNextResponsible(CodeGenFunction function, java.lang.String methodName)
function
- No description providedmethodName
- No description provided
public final java.lang.Object generate(FElement incr, java.lang.String methodName, java.lang.Object[] param)
incr
- No description providedmethodName
- No description providedparam
- No description provided
public final CodeGenStrategy getClientOfChain()
public java.util.LinkedList concat(java.lang.Object a, java.lang.Object b)
LinkedList
and append a
and b
a
- an Object
valueb
- an Object
value
LinkedList
valuepublic void add(java.util.LinkedList theLinkedList, java.lang.Object theObject)
theLinkedList
- No description providedtheObject
- No description providedpublic boolean setSuccessor(CodeGenFunction value)
value
- The new successor value
#successor
public CodeGenFunction getSuccessor()
#successor
public boolean setPrevFunction(CodeGenFunction value)
value
- The new prevFunction value
#prevFunction
public CodeGenFunction getPrevFunction()
#prevFunction
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |