sleep.engine.atoms
Class Iterate

java.lang.Object
  extended by sleep.engine.Step
      extended by sleep.engine.atoms.Iterate
All Implemented Interfaces:
java.io.Serializable

public class Iterate
extends Step

See Also:
Serialized Form

Nested Class Summary
static class Iterate.IteratorData
           
 
Field Summary
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
           
 
Fields inherited from class sleep.engine.Step
line, next
 
Constructor Summary
Iterate(java.lang.String _key, java.lang.String _value, int _type)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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
Constructor Detail

Iterate

public Iterate(java.lang.String _key,
               java.lang.String _value,
               int _type)
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

Overrides:
toString in class Step

evaluate

public Scalar evaluate(ScriptEnvironment e)
Description copied from class: Step
evaluate this atomic step.

Overrides:
evaluate in class Step