Uses of Class
edu.rice.cs.drjava.model.definitions.reducedmodel.TokenList.Iterator

Packages that use TokenList.Iterator
edu.rice.cs.drjava.model.definitions.reducedmodel This package contains the code for the "reduced model": a model of the text in the definitions pane designed for quickly locating matching parentheses, quotation marks, and comment delimiters. 
 

Uses of TokenList.Iterator in edu.rice.cs.drjava.model.definitions.reducedmodel
 

Fields in edu.rice.cs.drjava.model.definitions.reducedmodel declared as TokenList.Iterator
(package private)  TokenList.Iterator AbstractReducedModel._cursor
          Keeps track of cursor position in document.
(package private)  TokenList.Iterator ReducedModelComment._walker
          Can be used by other classes to walk through the list of comment chars
 

Methods in edu.rice.cs.drjava.model.definitions.reducedmodel that return TokenList.Iterator
 TokenList.Iterator TokenList.Iterator.copy()
          Makes a fresh copy of this TokenList.Iterator.
 TokenList.Iterator TokenList.getIterator()
          Gets a TokenList.Iterator for this list.
 TokenList.Iterator AbstractReducedModel.makeCopyCursor()
          Make a copy of the token list's iterator.
 

Methods in edu.rice.cs.drjava.model.definitions.reducedmodel with parameters of type TokenList.Iterator
private  int TokenList.Iterator._calculateOffset(int delToSizePrev, String delToTypePrev, int delToSizeCurr, String delToTypeCurr, TokenList.Iterator delTo)
          By comparing the delTo token after the walk to what it was before the walk we can see how it has changed and where the offset should go.

Prev is the item previous to the current cursor.

private  boolean TokenList.Iterator._checkPrevEquals(TokenList.Iterator delTo, String match)
          Checks if the previous token is of a certain type.
(package private)  boolean ReducedModelState._combineCurrentAndNextIfEscape(TokenList.Iterator copyCursor)
           
(package private)  boolean ReducedModelState._combineCurrentAndNextIfFind(String first, String second, TokenList.Iterator copyCursor)
          Combines the current and next braces if they match the given types.
private  int TokenList.Iterator._delete(int count, TokenList.Iterator copyCursor)
          Helper function for delete.
private  int ReducedModelComment._getDistToStart(TokenList.Iterator copyCursor)
          Returns distance to previous newline (not including the newline itself).
 int AbstractReducedModel.absOffset(TokenList.Iterator cursor)
          Absolute offset of the specified iterator.
(package private)  int TokenList.Iterator.deleteRight(TokenList.Iterator delTo)
          Deletes from offset in this to endOffset in delTo.
 void TokenList.Iterator.setTo(TokenList.Iterator that)
           
(package private)  ReducedModelState InsideBlockComment.update(TokenList.Iterator copyCursor)
          Walk function for inside block comment.
(package private) abstract  ReducedModelState ReducedModelState.update(TokenList.Iterator copyCursor)
           
(package private)  ReducedModelState Stutter.update(TokenList.Iterator copyCursor)
           
(package private)  ReducedModelState InsideSingleQuote.update(TokenList.Iterator copyCursor)
          Walk function for when inside single quotes.
(package private)  ReducedModelState Free.update(TokenList.Iterator copyCursor)
          Walk function for when we're not inside a string or comment.
(package private)  ReducedModelState InsideDoubleQuote.update(TokenList.Iterator copyCursor)
          Walk function for when inside a quoted string.
(package private)  ReducedModelState InsideLineComment.update(TokenList.Iterator copyCursor)
          Walk function for inside line comment.
 

Constructors in edu.rice.cs.drjava.model.definitions.reducedmodel with parameters of type TokenList.Iterator
TokenList.Iterator(TokenList.Iterator that)