Determines whether or not the current line in the document starts with a specific character sequence,
skipping over any comments on that line. The character sequence is passed to the constructor of the class
as a String argument.
version: $Id: QuestionCurrLineStartsWithSkipComments.java 4255 2007-08-28 19:17:37Z mgricken $
applyRule(AbstractDJDocument doc, Indenter.IndentReason reason) Determines whether or not the current line in the document starts
with the character sequence specified by the String field _prefix,
skipping over any comments on that line.
Parameters: doc - The AbstractDJDocument containing the current line.
Parameters: yesRule - The decision subtree for the case that this rule applies in the current context. Parameters: noRule - The decision subtree for the case that this rule does not apply in the current context.
Determines whether or not the current line in the document starts
with the character sequence specified by the String field _prefix,
skipping over any comments on that line.
Parameters: doc - The AbstractDJDocument containing the current line. True iff the current line in the document starts with thecharacter sequence specified by the String field _prefix.
Methods inherited from edu.rice.cs.drjava.model.definitions.indent.IndentRuleQuestion