X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.scl.compiler%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Felaboration%2Frelations%2FSCLRelation.java;h=e93ff6e8fe16a7b5eb1aeb5a45164a86302c0be2;hp=4ac37bbc1f733b4084f22a17d6bde77c141bf50d;hb=6d233d1b05176e40f634766537082d2a2ec65fd0;hpb=9a17c7c202c7104631fa5d899a4583a0cc2ad6ac diff --git a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/relations/SCLRelation.java b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/relations/SCLRelation.java index 4ac37bbc1..e93ff6e8f 100644 --- a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/relations/SCLRelation.java +++ b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/relations/SCLRelation.java @@ -35,7 +35,7 @@ public interface SCLRelation { return TPred.EMPTY_ARRAY; } int getPhase(); - + double getSelectivity(int boundVariables); int getRequiredVariablesMask(); void generate(long location, @@ -45,7 +45,10 @@ public interface SCLRelation { Expression generateEnforce(long location, EnforcingContext context, Type[] typeParameters, Variable[] parameters); - + default String[] getFieldNames() { + return null; + } + void generateIterate( PlanContext context, CodeWriter w,