1 package org.simantics.scl.compiler.elaboration.expressions.list;
\r
3 import gnu.trove.map.hash.TObjectIntHashMap;
\r
4 import gnu.trove.set.hash.THashSet;
\r
5 import gnu.trove.set.hash.TIntHashSet;
\r
7 import org.simantics.scl.compiler.elaboration.contexts.SimplificationContext;
\r
8 import org.simantics.scl.compiler.elaboration.contexts.TranslationContext;
\r
9 import org.simantics.scl.compiler.elaboration.contexts.TypingContext;
\r
10 import org.simantics.scl.compiler.elaboration.expressions.Variable;
\r
11 import org.simantics.scl.compiler.elaboration.expressions.VariableProcedure;
\r
12 import org.simantics.scl.compiler.internal.elaboration.utils.ExpressionDecorator;
\r
13 import org.simantics.scl.compiler.internal.parsing.Symbol;
\r
14 import org.simantics.scl.compiler.types.Type;
\r
16 public abstract class ListQualifier extends Symbol {
\r
18 public abstract void checkType(TypingContext context);
\r
19 public abstract void collectRefs(TObjectIntHashMap<Object> allRefs, TIntHashSet refs);
\r
20 public abstract void collectVars(TObjectIntHashMap<Variable> allVars, TIntHashSet vars);
\r
21 public abstract void collectFreeVariables(THashSet<Variable> vars);
\r
22 public abstract CompiledQualifier compile(SimplificationContext context);
\r
23 public abstract void resolve(TranslationContext context);
\r
24 public abstract void decorate(ExpressionDecorator decorator);
\r
25 public abstract void collectEffects(THashSet<Type> effects);
\r
26 public abstract void setLocationDeep(long loc);
\r
27 public abstract void accept(ListQualifierVisitor visitor);
\r
28 public abstract ListQualifier accept(ListQualifierTransformer transformer);
\r
29 public abstract void forVariables(VariableProcedure procedure);
\r