|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Param interface Param class (formal parameter class) interface. Anonymous parameter should be assigned a generated name.
| Field Summary |
| Fields inherited from interface coins.sym.Var |
STORAGECLASS, VAR_AUTO, VAR_REGISTER, VAR_STATIC |
| Fields inherited from interface coins.sym.Sym |
KIND_NAME, VISIBILITY |
| Method Summary | |
long |
getArrayParamSize()
get array parameter size. |
int |
getParamIndex()
getParamIndex Get parameter index. |
Subp |
getSubp()
getSubp |
boolean |
isCallByReference()
true if this parameter is call-by-reference, false otherwise. |
boolean |
isCallByValue()
true if this parameter is call-by-value, false otherwise. |
boolean |
isOptionalParam()
isOptionalParam (##2) See if this is optional parameter generated for "..." specification. |
void |
markAsCallByReference()
Mark this parameter as call-by-reference |
void |
markAsCallByValue()
Mark this parameter as call-by-value |
void |
markAsOptional()
markAsOptional Mark this parameter as optional. |
void |
setArrayParamSize(long s)
set array parameter size. |
void |
setParamIndex(int pIndex)
setParamIndex Set parameter index. |
| Methods inherited from interface coins.sym.Var |
evaluateAsObject, getDimension, getInitialValue, getNext, getSize, getStorageClass, getVisibility, isSizeEvaluable, setInitialValue, setNext, setStorageClass, setVisibility |
| Methods inherited from interface coins.sym.Sym0 |
charConst, definedType, defineElem, defineLabel, defineParam, defineSubp, defineVar, enumType, floatConst, getDefinedFile, getDefinedIn, getFlag, getName, getNextSym, getRecordedIn, getSymKind, getSymType, getUniqueName, intConst, isGlobal, namedConst, pointerType, setFlag, stringConst, structType, subpType, unionType, vectorType, vectorTypeUnfixed |
| Method Detail |
public int getParamIndex()
public void setParamIndex(int pIndex)
pIndex - index value to be set to this parameter.
public boolean isOptionalParam()
public void markAsOptional()
public void markAsCallByReference()
public void markAsCallByValue()
public boolean isCallByReference()
public boolean isCallByValue()
public Subp getSubp()
public long getArrayParamSize()
public void setArrayParamSize(long s)
s - array parameter size
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||