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%2Ftypes%2FType.java;h=fd7aef52782b5fe5534cc6ff16dc6c4ed74790d7;hp=c158cb31bc8b99b42d4b390c09bce0df0aef396b;hb=5bed099be36a76e204265abb2f471d84050c0d66;hpb=6570cdea204ffa0b6a4e16ac12778fab883b49ec diff --git a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/types/Type.java b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/types/Type.java index c158cb31b..fd7aef527 100644 --- a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/types/Type.java +++ b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/types/Type.java @@ -182,6 +182,12 @@ public abstract class Type { public abstract Kind getKind(Environment context); - public abstract Type[] skeletonCanonicalChildren(); + public abstract Type[] skeletonCanonicalChildren(); + + public String toStringSkeleton() { + TypeUnparsingContext tuc = new TypeUnparsingContext(); + tuc.showSkeletons = true; + return toString(tuc); + } } \ No newline at end of file