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

java.lang.Object
  |
  +--edu.rice.cs.drjava.model.definitions.reducedmodel.ReducedModelState
        |
        +--edu.rice.cs.drjava.model.definitions.reducedmodel.Stutter
All Implemented Interfaces:
ReducedModelStates

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,v 1.6 2002/02/08 14:22:21 brianstoler Exp $

Field Summary
static Stutter ONLY
           
 
Fields inherited from interface edu.rice.cs.drjava.model.definitions.reducedmodel.ReducedModelStates
FREE, INSIDE_BLOCK_COMMENT, INSIDE_DOUBLE_QUOTE, INSIDE_LINE_COMMENT, INSIDE_SINGLE_QUOTE, STUTTER
 
Constructor Summary
private Stutter()
           
 
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, registerNatives, toString, wait, wait, wait
 

Field Detail

ONLY

public static final Stutter ONLY
Constructor Detail

Stutter

private Stutter()
Method Detail

update

ReducedModelState update(TokenList.Iterator copyCursor)
Overrides:
update in class ReducedModelState