]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/expressions/EListLiteral.java
Merge "(refs #7375) Replaced collectEffects by CollectEffectsVisitor"
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / elaboration / expressions / EListLiteral.java
index 5c2a0d9d4c07e5f4e1a51f08bee1f95703f8bfe6..478d7b31195cf7deb793a0d7e1a7e7114aa16725 100644 (file)
@@ -36,13 +36,6 @@ public class EListLiteral extends SimplifiableExpression {
     public Expression[] getComponents() {
         return components;
     }
-    
-    @Override
-    public void collectRefs(TObjectIntHashMap<Object> allRefs,
-            TIntHashSet refs) {
-        for(Expression component : components)
-            component.collectRefs(allRefs, refs);
-    }
 
     @Override
     public void collectVars(TObjectIntHashMap<Variable> allVars,
@@ -113,12 +106,6 @@ public class EListLiteral extends SimplifiableExpression {
         return this;
     }
 
-    @Override
-    public void collectEffects(THashSet<Type> effects) {
-        for(Expression component : components)
-            component.collectEffects(effects);
-    }
-
     @Override
     public void setLocationDeep(long loc) {
         if(location == Locations.NO_LOCATION) {