VarDefn.Kindtype| Constructor and Description |
|---|
LoopVar(String name,
SoyNode.LocalVarNode declaringNode,
SoyType type) |
| Modifier and Type | Method and Description |
|---|---|
LoopVar |
clone() |
int |
currentLoopIndexIndex() |
int |
isLastIteratorIndex() |
VarDefn.Kind |
kind()
What kind of variable this is (param, local var, etc).
|
void |
setExtraLoopIndices(int currentIndexIndex,
int isLastIndex) |
declaringNode, setTypelocalVariableIndex, name, setLocalVariableIndex, typepublic LoopVar(String name, SoyNode.LocalVarNode declaringNode, SoyType type)
name - The variable name.declaringNode - The statement in which this variable is defined.type - The data type of the variable.public VarDefn.Kind kind()
VarDefnpublic void setExtraLoopIndices(int currentIndexIndex,
int isLastIndex)
public int currentLoopIndexIndex()
public int isLastIteratorIndex()