use of com.googlecode.aviator.code.interpreter.ir.GotoIR in project aviatorscript by killme2008.
the class InterpretCodeGenerator method onTernaryLeft.
@Override
public void onTernaryLeft(final Token<?> lookhead) {
this.instruments.add(new GotoIR(peekLabel1(), new SourceInfo(this.sourceFile, lookhead.getLineNo())));
// emit(PopIR.INSTANCE);
Label label0 = popLabel0();
visitLabel(label0);
emit(PopIR.INSTANCE);
}
Aggregations