public class IteratorList extends java.lang.Object implements IZenIterator
| Constructor and Description |
|---|
IteratorList(MethodOutput methodOutput,
ZenType iteratorType) |
| Modifier and Type | Method and Description |
|---|---|
void |
compileEnd()
Compiles the end of the whole iteration.
|
void |
compilePostIterate(int[] locals,
org.objectweb.asm.Label exit,
org.objectweb.asm.Label repeat)
Compiles the end of an iteration.
|
void |
compilePreIterate(int[] locals,
org.objectweb.asm.Label exit)
Compiles the start of an iteration.
|
void |
compileStart(int[] locals)
Compiles the header before the iteration.
|
ZenType |
getType(int i) |
public IteratorList(MethodOutput methodOutput, ZenType iteratorType)
public void compileStart(int[] locals)
IZenIteratorcompileStart in interface IZenIteratorpublic void compilePreIterate(int[] locals,
org.objectweb.asm.Label exit)
IZenIteratorcompilePreIterate in interface IZenIteratorpublic void compilePostIterate(int[] locals,
org.objectweb.asm.Label exit,
org.objectweb.asm.Label repeat)
IZenIteratorcompilePostIterate in interface IZenIteratorpublic void compileEnd()
IZenIteratorcompileEnd in interface IZenIteratorpublic ZenType getType(int i)
getType in interface IZenIterator