|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.codegen.OOStatement
de.uni_paderborn.fujaba.codegen.OOLocalVarDeclStatement
Class OOLocalVarDeclStatement
Constructor Summary | |
OOLocalVarDeclStatement(OOTypeInterface varType,
OOVariable objectName,
OOExpression initExpr)
Constructor for class OOLocalVarDeclStatement |
Method Summary | |
OOExpression |
getInitExpr()
Get the value of initExpr. |
OOVariable |
getObjectName()
Get the value of objectName. |
java.lang.String |
getSourceCode(OOGenVisitor visitor)
Get the sourceCode attribute of the OOLocalVarDeclStatement object |
OOTypeInterface |
getVarType()
Get the value of varType. |
boolean |
isDeclared()
Get the value of declared. |
void |
setDeclared(boolean declared)
Set the value of declared. |
void |
setInitExpr(OOExpression initExpr)
Sets the initExpr attribute of the OOLocalVarDeclStatement object |
java.lang.String |
toString()
Describe toString method here. |
Methods inherited from class de.uni_paderborn.fujaba.codegen.OOStatement |
add, add, addAll, addAll, getToken, removeYou, setToken, toArray |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public OOLocalVarDeclStatement(OOTypeInterface varType, OOVariable objectName, OOExpression initExpr)
varType
- No description providedobjectName
- No description providedinitExpr
- No description providedMethod Detail |
public boolean isDeclared()
public void setDeclared(boolean declared)
declared
- Value to assign to declared.public OOTypeInterface getVarType()
public OOVariable getObjectName()
public OOExpression getInitExpr()
public void setInitExpr(OOExpression initExpr)
initExpr
- The new initExpr valuepublic java.lang.String getSourceCode(OOGenVisitor visitor)
getSourceCode
in class OOStatement
visitor
- No description provided
public java.lang.String toString()
OOStatement
toString
method here.
toString
in class OOStatement
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |