|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ReducedModelState | |
---|---|
edu.rice.cs.drjava.model | The model package is responsible for the majority of the logic
and state in DrJava. |
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 |
---|
Methods in edu.rice.cs.drjava.model that return ReducedModelState | |
---|---|
ReducedModelState |
DummyOpenDefDoc.getStateAtCurrent()
|
ReducedModelState |
DJDocument.getStateAtCurrent()
|
ReducedModelState |
AbstractDJDocument.getStateAtCurrent()
Assumes that read lock and reduced lock are already held. |
ReducedModelState |
AbstractDJDocument.stateAtRelLocation(int dist)
Assumes that read lock and reduced lock are already held. |
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
The shadowing state that corresponds to being inside a block comment. |
class |
InsideDoubleQuote
The shadowing state that corresponds to being inside a double-quoted string. |
class |
InsideLineComment
The shadowing state that corresponds to being inside a line comment. |
class |
InsideSingleQuote
The 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. |
Methods in edu.rice.cs.drjava.model.definitions.reducedmodel that return ReducedModelState | |
---|---|
ReducedModelState |
ReducedToken.getState()
Get the shadowing state of the token. |
ReducedModelState |
AbstractReducedModel.getState()
|
ReducedModelState |
TokenList.Iterator.getStateAtCurrent()
Returns the current commented/quoted state at the cursor. |
ReducedModelState |
ReducedModelControl.getStateAtCurrent()
Gets the shadowing state at the current caret position. |
ReducedModelState |
ReducedModelComment.getStateAtCurrent()
Returns the state of the _cursor iterator. |
ReducedModelState |
BraceReduction.getStateAtCurrent()
Get the state of the token at the current cursor position. |
ReducedModelState |
ReducedModelControl.moveWalkerGetState(int relDistance)
Returns the state at the relDistance, where relDistance is relative to the last time it was called. |
protected ReducedModelState |
ReducedModelComment.moveWalkerGetState(int relLocation)
Returns the state at the relLocation, where relLocation is the location relative to the walker |
protected ReducedModelState |
ReducedModelBrace.moveWalkerGetState(int relDistance)
|
ReducedModelState |
BraceReduction.moveWalkerGetState(int relLocation)
Returns the state at the relLocation, where relLocation is the location relative to the walker |
protected abstract ReducedModelState |
AbstractReducedModel.moveWalkerGetState(int relLocation)
Returns the state at the relLocation, where relLocation is the location relative to the walker. |
Methods in edu.rice.cs.drjava.model.definitions.reducedmodel with parameters of type ReducedModelState | |
---|---|
void |
ReducedToken.setState(ReducedModelState state)
Set the shadowing state of the token. |
Constructors in edu.rice.cs.drjava.model.definitions.reducedmodel with parameters of type ReducedModelState | |
---|---|
ReducedToken(ReducedModelState state)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |