Package sleep.engine.atoms
Class Iterate
- java.lang.Object
-
- sleep.engine.Step
-
- sleep.engine.atoms.Iterate
-
- All Implemented Interfaces:
java.io.Serializable
public class Iterate extends Step
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Iterate.IteratorData
-
Field Summary
Fields Modifier and Type Field Description static int
ITERATOR_CREATE
static int
ITERATOR_DESTROY
static int
ITERATOR_NEXT
protected java.lang.String
key
protected int
type
protected java.lang.String
value
-
Constructor Summary
Constructors Constructor Description Iterate(java.lang.String _key, java.lang.String _value, int _type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Scalar
evaluate(ScriptEnvironment e)
evaluate this atomic step.java.lang.String
toString(java.lang.String prefix)
returns a string representation of this atomic step-
Methods inherited from class sleep.engine.Step
getHighLineNumber, getLineNumber, getLowLineNumber, setInfo, toString
-
-
-
-
Field Detail
-
ITERATOR_CREATE
public static final int ITERATOR_CREATE
- See Also:
- Constant Field Values
-
ITERATOR_DESTROY
public static final int ITERATOR_DESTROY
- See Also:
- Constant Field Values
-
ITERATOR_NEXT
public static final int ITERATOR_NEXT
- See Also:
- Constant Field Values
-
type
protected int type
-
key
protected java.lang.String key
-
value
protected java.lang.String value
-
-
Method Detail
-
toString
public java.lang.String toString(java.lang.String prefix)
Description copied from class:Step
returns a string representation of this atomic step
-
evaluate
public Scalar evaluate(ScriptEnvironment e)
Description copied from class:Step
evaluate this atomic step.
-
-