return matched;
}
private void print(MatcherContext<?> context, boolean matched) {
InputBuffer.Position pos = context.getInputBuffer().getPosition(context.getCurrentIndex());
MatcherPath path = context.getPath();
MatcherPath prefix = lastPath != null ? path.commonPrefix(lastPath) : null;
if (prefix != null && prefix.length() > 1) log.append("..(").append(prefix.length() - 1).append(")../");
log.append(path.toString(prefix != null ? prefix.parent : null));
String line = context.getInputBuffer().extractLine(pos.line);
log.append(", ")
.append(matched ? "matched" : "failed")
.append(", cursor at ")