Question rule in the indentation decision tree. Determines if the current line starts with the specified
string.
version: $Id: QuestionCurrLineStartsWith.java 4255 2007-08-28 19:17:37Z mgricken $
Constructs a new rule for the given prefix string. Does not look inside comments.
Parameters: prefix - String to search for Parameters: yesRule - Rule to use if this rule holds Parameters: noRule - Rule to use if this rule does not hold
Determines if the current line in the document starts with the specified prefix, ignoring whitespace.
Parameters: doc - AbstractDJDocument containing the line to be indented. Parameters: reason - The reason that the indentation is being done true if this node's rule holds.
Methods inherited from edu.rice.cs.drjava.model.definitions.indent.IndentRuleQuestion