|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.sym.SymImpl | +--coins.sym.VarImpl | +--coins.sym.ParamImpl
Param Class Param class (formal parameter class) interface. Anonymous parameter should be assigned a generated name.
フィールドの概要 | |
protected boolean |
fCallByReference
fCallByReference true if call-by-reference, false if call-by-value. |
protected int |
fIndex
Parameter index number |
protected boolean |
fOptional
Optional parameter generated for "..." specification |
クラス coins.sym.VarImpl から継承したフィールド |
fDefList, fDefUseList, fOperandSet, fUseList |
クラス coins.sym.SymImpl から継承したフィールド |
fDbgLevel, fDefinedIn, fFlagBox, fKind, fName, fNextSym, fRecordedIn, fSourceInf, fSymInf, fType, fUniqueNameSym, fWork, machineParam, sourceLanguage, symRoot |
インタフェース coins.sym.Var から継承したフィールド |
STORAGECLASS, VAR_AUTO, VAR_REGISTER, VAR_STATIC |
インタフェース coins.sym.Sym から継承したフィールド |
KIND_NAME, VISIBILITY |
コンストラクタの概要 | |
ParamImpl(SymRoot pSymRoot)
|
|
ParamImpl(SymRoot pSymRoot,
java.lang.String pParamName,
int pIndex,
Sym pDefinedIn)
|
|
ParamImpl(SymRoot pSymRoot,
java.lang.String pParamName,
Sym pDefinedIn)
|
メソッドの概要 | |
Param |
generateOptionalParam()
|
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. |
クラス coins.sym.VarImpl から継承したメソッド |
addOperand, evaluateAsObject, getDimension, getIndex, getInitialValue, getNext, getOperandSet, getSize, getStorageClass, getVisibility, isSizeEvaluable, resetFlowAnalInf, setIndex, setInitialValue, setNext, setStorageClass, setVisibility, toStringDetail |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
インタフェース coins.sym.Var から継承したメソッド |
evaluateAsObject, getDimension, getInitialValue, getNext, getSize, getStorageClass, getVisibility, isSizeEvaluable, setInitialValue, setNext, setStorageClass, setVisibility |
インタフェース 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 |
フィールドの詳細 |
protected int fIndex
protected boolean fOptional
protected boolean fCallByReference
コンストラクタの詳細 |
public ParamImpl(SymRoot pSymRoot)
public ParamImpl(SymRoot pSymRoot, java.lang.String pParamName, Sym pDefinedIn)
public ParamImpl(SymRoot pSymRoot, java.lang.String pParamName, int pIndex, Sym pDefinedIn)
メソッドの詳細 |
public int getParamIndex()
Param
内の getParamIndex
public void setParamIndex(int pIndex)
Param
の記述:
Param
内の setParamIndex
pIndex
- index value to be set to this parameter.
public Param generateOptionalParam()
public boolean isOptionalParam()
Param
内の isOptionalParam
public void markAsOptional()
Param
の記述:
Param
内の markAsOptional
public void markAsCallByReference()
Param
の記述:
Param
内の markAsCallByReference
public void markAsCallByValue()
Param
の記述:
Param
内の markAsCallByValue
public boolean isCallByReference()
Param
の記述:
Param
内の isCallByReference
public boolean isCallByValue()
Param
の記述:
Param
内の isCallByValue
public Subp getSubp()
Param
の記述:
Param
内の getSubp
public long getArrayParamSize()
Param
の記述:
Param
内の getArrayParamSize
public void setArrayParamSize(long s)
Param
の記述:
Param
内の setArrayParamSize
s
- array parameter size
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |