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 classIterate.IteratorData
-
Field Summary
Fields Modifier and Type Field Description static intITERATOR_CREATEstatic intITERATOR_DESTROYstatic intITERATOR_NEXTprotected java.lang.Stringkeyprotected inttypeprotected java.lang.Stringvalue
-
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 Scalarevaluate(ScriptEnvironment e)evaluate this atomic step.java.lang.StringtoString(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:Stepreturns a string representation of this atomic step
-
evaluate
public Scalar evaluate(ScriptEnvironment e)
Description copied from class:Stepevaluate this atomic step.
-
-