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.
BraceInfo Indent information block.
BraceInfoTest Test class for the IndentInfo class.
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.
GapTest Tests the functionality of the Gap class.
HighlightStatus A block that represents information about the highlighting status of a particular section in the document.
IndentInfo Indent information block.
InsideBlockComment The shadowing state that corresponds to being inside a block comment.
InsideDoubleQuote The shadowing state that corresponds to being inside a double-quoted string.
InsideLineComment The shadowing state that corresponds to being inside a line comment.
InsideSingleQuote The shadowing state that corresponds to being between single quotes.
MixedQuoteTest Tests the interaction between double and single quotes and comments
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 Represents the bstract 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  
 

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.