sdr 0.5

net.cscott.sdr.calls.transform
Class Evaluator.Standard

java.lang.Object
  extended by net.cscott.sdr.calls.transform.Evaluator
      extended by net.cscott.sdr.calls.transform.Evaluator.Standard
Enclosing class:
Evaluator

public static class Evaluator.Standard
extends Evaluator

This is the standard top level evaluator. It contains a number of convenience methods for adding elements dynamically to the continuation and accessing the current top-level formation.


Nested Class Summary
 
Nested classes/interfaces inherited from class net.cscott.sdr.calls.transform.Evaluator
Evaluator.EvaluatorChain, Evaluator.Standard
 
Constructor Summary
Evaluator.Standard(Comp continuation)
          Create a standard evaluator which wll dance the specified calls.
 
Method Summary
 Evaluator evaluate(DanceState ds)
          Do "one part" of the continuation, and return an Evaluator which will do the remaining parts, or null if there are no additional parts to evaluate.
 
Methods inherited from class net.cscott.sdr.calls.transform.Evaluator
evaluateAll, parseAndEval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Evaluator.Standard

public Evaluator.Standard(Comp continuation)
Create a standard evaluator which wll dance the specified calls.

Method Detail

evaluate

public Evaluator evaluate(DanceState ds)
Description copied from class: Evaluator
Do "one part" of the continuation, and return an Evaluator which will do the remaining parts, or null if there are no additional parts to evaluate.

Specified by:
evaluate in class Evaluator
Parameters:
ds - The dynamic dance state. Accumulates dancer actions and movements and tracks static dance information like the level of the dance.
Returns:
An Evaluator for the remaining parts, or null.

sdr 0.5

Copyright © 2006-2009 C. Scott Ananian