// process root query
if (twigNode.hasRoot()) {
final String rootExpr = twigNode.getRoot().toString();
final String field = twigNode.getField().toString();
query.addRoot((NodeQuery) keywordParser.parse(rootExpr, field));
}
// process child and descendant queries
try {
processChildren(children, query);