char[] src, int beginIndex, int endIndex, boolean isSubst) throws IOException {
if (parts.size() < 2) {
throw new AssertionError("not enough arguments");
}
ModuleExecutor executor = model.getModuleExecutor();
if (executor == null) {
throw new AssertionError("no ModuleExecutor defined");
}
String module = parts.get(0).trim();
String method = parts.get(1).trim();
Frame parent = model.getFrame();
try {
Map<String, String> map = getParameters(parts, model);
return executor.run(model, module, method, new Frame(map, parent));
} finally {
model.setFrame(parent);
}
}