return node.jjtGetChild(0).jjtAccept(this, data);
}
private void decodeResults(Object left, Object right, StringBuilder fieldName, ObjectHolder holder) {
if (left instanceof TermResult) {
TermResult tr = (TermResult) left;
fieldName.append((String) tr.value);
// Then the right has to be the value
if (right instanceof LiteralResult) {
holder.setObject(((LiteralResult) right).value);
} else {
throw new IllegalArgumentException("Object mismatch");
}
} else if (right instanceof TermResult) {
TermResult tr = (TermResult) right;
fieldName.append((String) tr.value);
if (left instanceof LiteralResult) {
holder.setObject(((LiteralResult) left).value);
} else {
throw new IllegalArgumentException("Object mismatch");