1 package org.simantics.scl.compiler.elaboration.chr.relations;
3 import org.simantics.scl.compiler.elaboration.chr.CHRRelation;
4 import org.simantics.scl.compiler.elaboration.relations.SCLRelation;
5 import org.simantics.scl.compiler.types.TVar;
6 import org.simantics.scl.compiler.types.Type;
8 public class ExternalCHRRelation implements CHRRelation {
9 public final SCLRelation relation;
11 public ExternalCHRRelation(SCLRelation relation) {
12 this.relation = relation;
16 public TVar[] getTypeVariables() {
17 return relation.getTypeVariables();
21 public Type[] getParameterTypes() {
22 return relation.getParameterTypes();
26 public String toString() {
27 return relation.toString();