public StylerResult style(StylerContext context) {
// Check to see whether the matcher matches the current element.
MatcherContext matcherContext =
context.getMatcherContext();
MatcherResult result = matcher.matches(matcherContext);
StylerResult stylerResult;
if (result == MatcherResult.MATCHED) {
// The matcher matched so merge the styles in.
delta.applyTo(context);
stylerResult = StylerResult.STYLED;