Search in sources :

Example 1 with PSMChi

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

the class InstOps method visit.

@Override
public List<PSM> visit(String env, Chi e) {
    List<PSM> ret = new LinkedList<>();
    Signature sig = prog.insts.get(e.prop).type(prog).toSig(prog);
    TransExp t = prog.transforms.get(e.trans);
    Pair<String, String> k = t.type(prog);
    ret.add(new PSMChi(sig, env, k.first, k.second, e.prop, e.trans));
    return ret;
}
Also used : PSMChi(catdata.fql.sql.PSMChi) PropPSM(catdata.fql.sql.PropPSM) ExpPSM(catdata.fql.sql.ExpPSM) PSM(catdata.fql.sql.PSM) LinkedList(java.util.LinkedList)

Aggregations

ExpPSM (catdata.fql.sql.ExpPSM)1 PSM (catdata.fql.sql.PSM)1 PSMChi (catdata.fql.sql.PSMChi)1 PropPSM (catdata.fql.sql.PropPSM)1 LinkedList (java.util.LinkedList)1