Search in sources :

Example 1 with PluginType

use of platformSpecific.fakeInternet.PluginType in project L42 by ElvisResearchGroup.

the class TranslateExpression method visit.

@Override
public Void visit(Using s) {
    List<String> es = new ArrayList<>();
    StringBuilder resOld = res;
    res = new StringBuilder();
    s.getInner().accept(this);
    String e = res.toString();
    for (ExpCore ei : s.getEs()) {
        res = new StringBuilder();
        ei.accept(this);
        es.add(res.toString());
    }
    res = resOld;
    PluginType pt = platformSpecific.fakeInternet.OnLineCode.plugin(Resources.getP(), s);
    res.append(pt.executableJ(Resources.getP(), s, e, es, TranslateExpression.labels));
    return null;
}
Also used : ExpCore(ast.ExpCore) ArrayList(java.util.ArrayList) PluginType(platformSpecific.fakeInternet.PluginType)

Aggregations

ExpCore (ast.ExpCore)1 ArrayList (java.util.ArrayList)1 PluginType (platformSpecific.fakeInternet.PluginType)1