use of com.googlecode.aviator.InterpretExpression in project aviatorscript by killme2008.
the class InterpretCodeGenerator method getResult.
@Override
public Expression getResult(final boolean unboxObject) {
final List<IR> instruments = this.instruments;
// for (IR ir : instruments) {
// System.out.println(ir);
// }
optimize(instruments);
resolveLabels(instruments);
final InterpretExpression exp = new InterpretExpression(this.instance, new ArrayList<VariableMeta>(this.variables.values()), this.constantPool, this.symbolTable, instruments, unboxObject);
exp.setLambdaBootstraps(this.lambdaBootstraps);
exp.setSourceFile(this.sourceFile);
exp.setFuncsArgs(this.funcsArgs);
return exp;
}
Aggregations