edu.rice.cs.drjava.model.definitions.indent
Class QuestionExistsCharInPrevStmt

java.lang.Object
  extended by edu.rice.cs.drjava.model.definitions.indent.IndentRuleWithTrace
      extended by edu.rice.cs.drjava.model.definitions.indent.IndentRuleQuestion
          extended by edu.rice.cs.drjava.model.definitions.indent.QuestionExistsCharInPrevStmt
All Implemented Interfaces:
IndentRule

public class QuestionExistsCharInPrevStmt
extends IndentRuleQuestion

This class checks the previous statement for the given character

Version:
$Id: QuestionExistsCharInPrevStmt.java 4653 2008-08-26 14:46:35Z rcartwright $

Field Summary
 
Fields inherited from class edu.rice.cs.drjava.model.definitions.indent.IndentRuleWithTrace
NO, TERMINUS_RULE, YES
 
Constructor Summary
QuestionExistsCharInPrevStmt(char lookFor, IndentRule yesRule, IndentRule noRule)
           
 
Method Summary
 
Methods inherited from class edu.rice.cs.drjava.model.definitions.indent.IndentRuleQuestion
indentLine, testIndentLine
 
Methods inherited from class edu.rice.cs.drjava.model.definitions.indent.IndentRuleWithTrace
_addToIndentTrace, getRuleName, indentLine, printLastIndentTrace, setRuleTraceEnabled, testIndentLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuestionExistsCharInPrevStmt

public QuestionExistsCharInPrevStmt(char lookFor,
                                    IndentRule yesRule,
                                    IndentRule noRule)