public abstract class AccumulateVisitor extends Object
| Modifier and Type | Field and Description |
|---|---|
protected RuleContext |
context |
protected AbstractExpressionBuilder |
expressionBuilder |
protected PackageModel |
packageModel |
| Modifier and Type | Method and Description |
|---|---|
protected abstract com.github.javaparser.ast.expr.MethodCallExpr |
buildBinding(String bindingName,
Collection<String> usedDeclaration,
com.github.javaparser.ast.expr.Expression expression) |
protected abstract void |
postVisit() |
protected abstract void |
processNewBinding(Optional<org.drools.modelcompiler.builder.generator.visitor.accumulate.AccumulateVisitor.NewBinding> optNewBinding) |
void |
visit(org.drools.compiler.lang.descr.AccumulateDescr descr,
org.drools.compiler.lang.descr.PatternDescr basePattern) |
protected Optional<org.drools.modelcompiler.builder.generator.visitor.accumulate.AccumulateVisitor.NewBinding> |
visit(RuleContext context,
org.drools.compiler.lang.descr.AccumulateDescr.AccumulateFunctionCallDescr function,
com.github.javaparser.ast.expr.MethodCallExpr accumulateDSL,
org.drools.compiler.lang.descr.PatternDescr basePattern) |
protected final RuleContext context
protected final PackageModel packageModel
protected AbstractExpressionBuilder expressionBuilder
public void visit(org.drools.compiler.lang.descr.AccumulateDescr descr,
org.drools.compiler.lang.descr.PatternDescr basePattern)
protected Optional<org.drools.modelcompiler.builder.generator.visitor.accumulate.AccumulateVisitor.NewBinding> visit(RuleContext context, org.drools.compiler.lang.descr.AccumulateDescr.AccumulateFunctionCallDescr function, com.github.javaparser.ast.expr.MethodCallExpr accumulateDSL, org.drools.compiler.lang.descr.PatternDescr basePattern)
protected abstract com.github.javaparser.ast.expr.MethodCallExpr buildBinding(String bindingName, Collection<String> usedDeclaration, com.github.javaparser.ast.expr.Expression expression)
protected abstract void processNewBinding(Optional<org.drools.modelcompiler.builder.generator.visitor.accumulate.AccumulateVisitor.NewBinding> optNewBinding)
protected abstract void postVisit()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.