]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/types/Type.java
Merge "List the unsatisfied dependencies in CanvasContext"
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / types / Type.java
index 386accc4ff5e1e941d84a1b84768740d81558877..c158cb31bc8b99b42d4b390c09bce0df0aef396b 100644 (file)
@@ -119,6 +119,13 @@ public abstract class Type {
     public abstract void updateHashCode(TypeHashCodeContext context);
     public abstract int hashCode(int hash);
     public abstract int hashCode(int hash, TVar[] boundVars);
+    
+    public int skeletonHashCode() {
+        return skeletonHashCode(HashCodeUtils.SEED);
+    }
+    
+    public abstract int skeletonHashCode(int hash);
+    public abstract int skeletonHashCode(int hash, TVar[] boundVars);
 
     public abstract void collectFreeVars(ArrayList<TVar> vars);
     
@@ -175,4 +182,6 @@ public abstract class Type {
 
     public abstract Kind getKind(Environment context);
 
+    public abstract Type[] skeletonCanonicalChildren(); 
+            
 }
\ No newline at end of file