if (matchResult.find()) {
do {
int thisIndex = matchResult.start();
if (thisIndex != lastIndex) {
pathBinderBuilder.literal(path.substring(lastIndex, thisIndex));
}
lastIndex = matchResult.end();
String component = matchResult.group(0);
boolean found = false;
for (TokenType type : TokenType.values()) {