Rule delegateRule = mode.getRule(span.getDelegate());
defaultToken = new DelegateToken(type, delegateRule, span.getEnd());
}
/* Using a PatternRule instead of a MultiLineRule because
* PatternRule exposes the break on newline behavior. */
PatternRule pat = new CasedPatternRule(span.getStart(), span.getEnd(),
defaultToken, mode.getDefaultRuleSet().getEscape(), span.noLineBreak(),
ignoreCase);
rules.add(pat);
}
public void acceptTextSequence(TextSequence text) {