if (type != null) {
schema = context.parseSchemaType(context.getConstantString(type), context.getCurrentOrigin());
} else {
schema = null;
}
cfg.addStatement(new GapifyStm(hardcodeResult = makevar(), translateExpr(base),
context.getConstantString(xpath), context.getConstantString(gap), schema, context.getCurrentOrigin()));
checkDiscardedResult();
}