edu.rice.cs.drjava.model.definitions.reducedmodel
Class Stutter

java.lang.Object
  extended by edu.rice.cs.drjava.model.definitions.reducedmodel.ReducedModelState
      extended by edu.rice.cs.drjava.model.definitions.reducedmodel.Stutter

public class Stutter
extends ReducedModelState

This class represents a special state, passed by some methods that return states, to indicate that it is necessary to back up one position before continuing in an iteration over a TokenList. It probably shouldn't exist, and, hopefully, it would go away if the underlying logic of the reduced model were refactored.

Version:
$Id: Stutter.java 5175 2010-01-20 08:46:32Z mgricken $

Field Summary
static Stutter ONLY
          Singleton instance.
 
Constructor Summary
private Stutter()
          Singleton constructor.
 
Method Summary
(package private)  ReducedModelState update(TokenList.Iterator copyCursor)
           
 
Methods inherited from class edu.rice.cs.drjava.model.definitions.reducedmodel.ReducedModelState
_combineCurrentAndNextIfEscape, _combineCurrentAndNextIfFind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ONLY

public static final Stutter ONLY
Singleton instance.

Constructor Detail

Stutter

private Stutter()
Singleton constructor.

Method Detail

update

ReducedModelState update(TokenList.Iterator copyCursor)
Specified by:
update in class ReducedModelState