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.
|
Java Source File Name | Type | Comment |
AbstractReducedModel.java | Class | A refactoring of the common code between ReducedModelComment and
ReducedModelBrace. |
BackSlashTest.java | Class | Test the interactions between double quotes and backslashes. |
Brace.java | Class | This class acts as the representation of a brace in the reduced view. |
BraceReduction.java | Interface | The interface BraceReduction serves as the template for our reduced
view of a java document, which stores only the information necessary
for parenthesis matching. |
BraceReductionTestCase.java | Class | Test cases which test the implementation of BraceReduction
may extend this abstract class to acquire a convenience
function for determining the state of the current token. |
BraceTest.java | Class | Tests the Brace class. |
Free.java | Class | Shadowing state that indicates normal, unshadowed text. |
Gap.java | Class | A subclass of ReducedToken that represents sequences of non-special characters. |
GapTest.java | Class | Tests the functionality of the Gap class. |
HighlightStatus.java | Class | A block that represents information about the highlighting status of a particular section in the document. |
IndentInfo.java | Class | Indent information block. |
IndentInfoTest.java | Class | |
InsideBlockComment.java | Class | Shadowing state that corresponds to being inside a block comment. |
InsideDoubleQuote.java | Class | Shadowing state that corresponds to being inside a double-quoted string. |
InsideLineComment.java | Class | Shadowing state that corresponds to being inside a line comment. |
InsideSingleQuote.java | Class | Shadowing state that corresponds to being between single quotes. |
MixedQuoteTest.java | Class | |
ModelList.java | Class | A doubly-linked list class with header and trailer nodes. |
ModelListTest.java | Class | Tests the functionality of the ModelList list class. |
ReducedModelBrace.java | Class | Keeps track of the true braces (i.e., "() {}[]"). |
ReducedModelComment.java | Class | Keeps track of newlines, comment blocks, and single and double-quoted strings. |
ReducedModelControl.java | Class | This class provides an implementation of the BraceReduction interface for brace matching. |
ReducedModelDeleteTest.java | Class | Test the delete functionality of the reduced model. |
ReducedModelState.java | Class | The abstract notion of a shadowing state. |
ReducedModelStates.java | Interface | This interface contains the various constants used by the reduced model to
represent the states of various blocks in the document. |
ReducedModelTest.java | Class | Tests insertion and move and other non-delete functionality of the reduced model. |
ReducedToken.java | Class | The representation of document text in the reduced model. |
SingleQuoteTest.java | Class | Tests the interaction between quotes and backslashes. |
Stutter.java | Class | 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. |
TokenList.java | Class | A list of reduced model tokens. |