|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ReducedModelState | |
edu.rice.cs.drjava.model.definitions | Provides the data model for storing Java source code. |
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 ReducedModelState in edu.rice.cs.drjava.model.definitions |
Methods in edu.rice.cs.drjava.model.definitions that return ReducedModelState | |
ReducedModelState |
DefinitionsDocument.stateAtRelLocation(int dist)
|
ReducedModelState |
DefinitionsDocument.getStateAtCurrent()
|
Uses of ReducedModelState in edu.rice.cs.drjava.model.definitions.reducedmodel |
Subclasses of ReducedModelState in edu.rice.cs.drjava.model.definitions.reducedmodel | |
class |
Free
Shadowing state that indicates normal, unshadowed text. |
class |
InsideBlockComment
Shadowing state that corresponds to being inside a block comment. |
class |
InsideDoubleQuote
Shadowing state that corresponds to being inside a double-quoted string. |
class |
InsideLineComment
Shadowing state that corresponds to being inside a line comment. |
class |
InsideSingleQuote
Shadowing state that corresponds to being between single quotes. |
class |
Stutter
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. |
Fields in edu.rice.cs.drjava.model.definitions.reducedmodel declared as ReducedModelState | |
private ReducedModelState |
ReducedToken._state
|
Methods in edu.rice.cs.drjava.model.definitions.reducedmodel that return ReducedModelState | |
protected ReducedModelState |
AbstractReducedModel.getStateAtCurrent()
Wrapper for TokenList.Iterator.getStateAtCurrent that returns the current state for some iterator. |
protected abstract ReducedModelState |
AbstractReducedModel.stateAtRelLocation(int relLocation)
Returns the state at the relLocation, where relLocation is the location relative to the walker |
protected ReducedModelState |
ReducedModelComment.stateAtRelLocation(int relLocation)
Returns the state at the relLocation, where relLocation is the location relative to the walker |
ReducedModelState |
BraceReduction.getStateAtCurrent()
Get the state of the token at the current cursor position. |
ReducedModelState |
BraceReduction.stateAtRelLocation(int relLocation)
Returns the state at the relLocation, where relLocation is the location relative to the walker |
(package private) abstract ReducedModelState |
ReducedModelState.update(TokenList.Iterator copyCursor)
|
(package private) ReducedModelState |
BraceReductionTestCase.stateOfCurrentToken(BraceReduction br)
Convenience function to get state of the current token. |
ReducedModelState |
ReducedToken.getState()
Get the shadowing state of the token. |
protected ReducedModelState |
ReducedModelBrace.stateAtRelLocation(int relDistance)
|
(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. |
ReducedModelState |
ReducedModelControl.stateAtRelLocation(int relDistance)
This function returns the state at the relDistance, where relDistance is relative to the last time it was called. |
ReducedModelState |
ReducedModelControl.getStateAtCurrent()
Get the shadowing state at the current caret position. |
(package private) ReducedModelState |
InsideBlockComment.update(TokenList.Iterator copyCursor)
Walk function for inside block comment. |
ReducedModelState |
TokenList.Iterator.getStateAtCurrent()
Returns the current commented/quoted state at the cursor. |
(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. |
Methods in edu.rice.cs.drjava.model.definitions.reducedmodel with parameters of type ReducedModelState | |
void |
ReducedToken.setState(ReducedModelState state)
put your documentation comment here |
static Brace |
Brace.MakeBrace(String type,
ReducedModelState state)
Virtual constructor. |
Constructors in edu.rice.cs.drjava.model.definitions.reducedmodel with parameters of type ReducedModelState | |
ReducedToken(ReducedModelState state)
|
|
Brace(int type,
ReducedModelState state)
Constructor. |
|
Gap(int size,
ReducedModelState state)
put your documentation comment here |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |