1 package org.simantics.scl.compiler.elaboration.expressions.list;
3 import org.simantics.scl.compiler.elaboration.contexts.SimplificationContext;
4 import org.simantics.scl.compiler.elaboration.contexts.TranslationContext;
5 import org.simantics.scl.compiler.elaboration.contexts.TypingContext;
6 import org.simantics.scl.compiler.elaboration.expressions.Variable;
7 import org.simantics.scl.compiler.internal.parsing.Symbol;
9 import gnu.trove.map.hash.TObjectIntHashMap;
10 import gnu.trove.set.hash.THashSet;
11 import gnu.trove.set.hash.TIntHashSet;
13 public abstract class ListQualifier extends Symbol {
15 public abstract void checkType(TypingContext context);
16 public abstract void collectVars(TObjectIntHashMap<Variable> allVars, TIntHashSet vars);
17 public abstract void collectFreeVariables(THashSet<Variable> vars);
19 * Called in simplification.
21 public abstract CompiledQualifier compile(SimplificationContext context);
22 public abstract void resolve(TranslationContext context);
23 public abstract void setLocationDeep(long loc);
24 public abstract void accept(ListQualifierVisitor visitor);
25 public abstract ListQualifier accept(ListQualifierTransformer transformer);