1 package org.simantics.scl.compiler.elaboration.chr.plan;
5 import org.simantics.scl.compiler.compilation.CompilationContext;
6 import org.simantics.scl.compiler.elaboration.chr.CHRRuleset;
7 import org.simantics.scl.compiler.internal.codegen.references.IVal;
8 import org.simantics.scl.compiler.internal.codegen.writer.CodeWriter;
10 public class PlanRealizer extends PlanContext {
14 public PlanRealizer(CompilationContext context, CHRRuleset ruleset, IVal storeVar, List<PlanOp> ops) {
15 super(context, ruleset, storeVar);
20 public void nextOp(CodeWriter w) {
21 PlanOp planOp = ops.get(id);
23 planOp.generateCode(context, this, w);