Search in sources :

Example 1 with PSMEval

use of catdata.fql.sql.PSMEval in project fql by CategoricalData.

the class InstOps method visit.

@Override
public List<PSM> visit(String env, TransEval e) {
    List<PSM> ret = new LinkedList<>();
    InstExp k = prog.insts.get(e.inst);
    Times t = (Times) k;
    InstExp v = prog.insts.get(t.a);
    Exp i = (Exp) v;
    ret.add(new PSMEval(env, i.a, i.b, t.a, e.inst, t.type(prog).toSig(prog)));
    return ret;
}
Also used : PSMEval(catdata.fql.sql.PSMEval) Times(catdata.fql.decl.InstExp.Times) PropPSM(catdata.fql.sql.PropPSM) ExpPSM(catdata.fql.sql.ExpPSM) PSM(catdata.fql.sql.PSM) Exp(catdata.fql.decl.InstExp.Exp) LinkedList(java.util.LinkedList)

Aggregations

Exp (catdata.fql.decl.InstExp.Exp)1 Times (catdata.fql.decl.InstExp.Times)1 ExpPSM (catdata.fql.sql.ExpPSM)1 PSM (catdata.fql.sql.PSM)1 PSMEval (catdata.fql.sql.PSMEval)1 PropPSM (catdata.fql.sql.PropPSM)1 LinkedList (java.util.LinkedList)1