public interface IVariable extends KernelParam, IVar
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
availableFor(AbstractOperator operator)
check the variable is available for current operator. for example
int i = 10;
if(i % 2 == 0) {
int j = 100;
System.out.println(i);
} else {
System.out.println(j);
}
The preceding code will be get an error cause by variable j is not
available for the second method call operator.
|
GlobalVariable |
field(String name)
Get field value from current variable.
|
VarMeta |
getMeta()
Get meta
|
asArgumentloadToStackgetFormerType, getModifiers, getNamegetResultTypeboolean availableFor(AbstractOperator operator)
int i = 10;
if(i % 2 == 0) {
int j = 100;
System.out.println(i);
} else {
System.out.println(j);
}
The preceding code will be get an error cause by variable j is not
available for the second method call operator.VarMeta getMeta()
GlobalVariable field(String name)
field 在接口中 IParamfield 在接口中 KernelParamname - Copyright © 2015. All rights reserved.