]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/modules/SCLValue.java
New SCL completion implementation
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / elaboration / modules / SCLValue.java
index 408eb01e561cf96fc5bf020b04e574cadf0e030d..0d4651d4852530452959897f87aca2a2f1b7f01d 100644 (file)
@@ -159,4 +159,11 @@ public final class SCLValue implements Typed {
        public String getDocumentation() {
                return documentation;
        }
+
+    public boolean isPrivateOrDerived() {
+        for(SCLValueProperty property : properties)
+            if(property == PrivateProperty.INSTANCE || property == DerivedProperty.INSTANCE)
+                return true;
+        return false;
+    }
 }