use of org.kie.dmn.core.ast.DMNListEvaluator in project drools by kiegroup.
the class DMNEvaluatorCompiler method compileList.
private DMNExpressionEvaluator compileList(DMNCompilerContext ctx, DMNModelImpl model, DMNBaseNode node, String listName, org.kie.dmn.model.v1_1.List expression) {
org.kie.dmn.model.v1_1.List listDef = expression;
DMNListEvaluator listEval = new DMNListEvaluator(node.getName(), node.getSource(), listDef);
for (Expression expr : listDef.getExpression()) {
listEval.addElement(compileExpression(ctx, model, node, listName, expr));
}
return listEval;
}
use of org.kie.dmn.core.ast.DMNListEvaluator in project drools by kiegroup.
the class DMNEvaluatorCompiler method compileList.
private DMNExpressionEvaluator compileList(DMNCompilerContext ctx, DMNModelImpl model, DMNBaseNode node, String listName, org.kie.dmn.model.api.List expression) {
org.kie.dmn.model.api.List listDef = expression;
DMNListEvaluator listEval = new DMNListEvaluator(node.getName(), node.getSource(), listDef);
for (Expression expr : listDef.getExpression()) {
listEval.addElement(compileExpression(ctx, model, node, listName, expr));
}
return listEval;
}
Aggregations