1 package org.simantics.scl.compiler.internal.codegen.chr;
3 import org.cojen.classfile.TypeDesc;
5 public interface CHRCodeGenerationConstants {
7 public static final TypeDesc FACT_ID_TYPE = TypeDesc.INT;
9 public static final String CHRHashIndex_name = "org/simantics/scl/runtime/chr/CHRHashIndex";
10 public static final TypeDesc CHRHashIndex = TypeDesc.forClass(CHRHashIndex_name);
12 public static final String CHRFact_name = "org/simantics/scl/runtime/chr/CHRFact";
13 public static final TypeDesc CHRFact = TypeDesc.forClass(CHRFact_name);
15 public static final String CHRPriority_name = "org/simantics/scl/runtime/chr/CHRPriority";
17 public static final String CHRPriorityFactContainer_name = "org/simantics/scl/runtime/chr/CHRPriorityFactContainer";
18 public static final TypeDesc CHRPriorityFactContainer = TypeDesc.forClass(CHRPriorityFactContainer_name);
20 public static final String CHRContext_name = "org/simantics/scl/runtime/chr/CHRContext";
21 public static final TypeDesc CHRContext = TypeDesc.forClass(CHRContext_name);
23 public static final String CHRRuntimeRuleset_name = "org/simantics/scl/runtime/chr/CHRRuntimeRuleset";
24 public static final TypeDesc CHRRuntimeRuleset = TypeDesc.forClass(CHRRuntimeRuleset_name);
26 public static String priorityName(int priority) {
27 return "l" + priority;
30 public static String fieldName(int id) {
34 public static String parameterName(int i) {