|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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 |
AbstractReducedModel.makeCopyCursor()
Make a copy of the token list's iterator. |
TokenList.Iterator |
TokenList._getIterator()
Gets a TokenList.Iterator for this list. |
TokenList.Iterator |
TokenList.Iterator._copy()
Makes a fresh copy of this TokenList.Iterator. |
Methods in edu.rice.cs.drjava.model.definitions.reducedmodel with parameters of type TokenList.Iterator | |
private int |
ReducedModelComment._getDistToPreviousNewline(TokenList.Iterator copyCursor)
returns distance to after newline |
(package private) abstract ReducedModelState |
ReducedModelState.update(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. |
(package private) boolean |
ReducedModelState._combineCurrentAndNextIfEscape(TokenList.Iterator copyCursor)
|
(package private) ReducedModelState |
Free.update(TokenList.Iterator copyCursor)
Walk function for when we're not inside a string or comment. |
(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 |
InsideBlockComment.update(TokenList.Iterator copyCursor)
Walk function for inside block comment. |
void |
TokenList.Iterator.setTo(TokenList.Iterator that)
|
private int |
TokenList.Iterator._delete(int count,
TokenList.Iterator copyCursor)
Helper function for delete. |
(package private) int |
TokenList.Iterator.deleteRight(TokenList.Iterator delTo)
Deletes from offset in delFrom to endOffset in delTo. |
private int |
TokenList.Iterator._calculateOffset(int delToSizePrev,
String delToTypePrev,
int delToSizeCurr,
String delToTypeCurr,
TokenList.Iterator delTo)
By contrasting 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. |
private boolean |
TokenList.Iterator._checkPrevEquals(TokenList.Iterator delTo,
String match)
Checks if the previous token is of a certain type. |
(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)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |