Package 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.

See:
          Description

Interface Summary
BraceReduction The interface BraceReduction serves as the template for our reduced view of a java document, which stores only the information necessary for parenthesis matching.
ReducedModelStates This interface contains the various constants used by the reduced model to represent the states of various blocks in the document.
 

Class Summary
AbstractReducedModel A refactoring of the common code between ReducedModelComment and ReducedModelBrace.
BackSlashTest Test the interactions between double quotes and backslashes.
Brace This class acts as the representation of a brace in the reduced view.
BraceReductionTestCase 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 Tests the Brace class.
Free Shadowing state that indicates normal, unshadowed text.
Gap A subclass of ReducedToken that represents non-special characters.
GapTest Tests the functionality of the Gap class.
HighlightStatus A block that represents some information about the highlighting status in a particular section in the document.
IndentInfo Indent information block.
IndentInfoTest  
InsideBlockComment Shadowing state that corresponds to being inside a block comment.
InsideDoubleQuote Shadowing state that corresponds to being inside a double-quoted string.
InsideLineComment Shadowing state that corresponds to being inside a line comment.
InsideSingleQuote Shadowing state that corresponds to being between single quotes.
MixedQuoteTest Tests the interaction between double and single quotes.
ModelList A list class with some extra features.
ModelList.Node A node class for the list.
ModelListTest Tests the functionality of the ModelList list class.
ReducedModelBrace Keeps track of the true braces (i.e., "(){}[]").
ReducedModelComment Keeps track of newlines, comment blocks, and single and double-quoted strings.
ReducedModelControl This class provides an implementation of the BraceReduction interface for brace matching.
ReducedModelDeleteTest Test the delete functionality of the reduced model.
ReducedModelState The abstract notion of a shadowing state.
ReducedModelTest Tests insertion and move and other non-delete functionality of the reduced model.
ReducedToken The representation of document text in the reduced model.
SingleQuoteTest Tests the interaction between quotes and backslashes.
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.
TokenList A list of reduced model tokens.
 

Exception Summary
BraceException An exception class used by methods in this class.
 

Package edu.rice.cs.drjava.model.definitions.reducedmodel Description

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.