final boolean ignoreCase = rule.getIgnoreCase();
type.accept(new IVisitor() {
public void acceptSpan(Span span) {
IToken defaultToken = token;
if(span.hasDelegate()) {
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(),