Search in sources :

Example 1 with Multi

use of lucee.runtime.interpreter.ref.op.Multi in project Lucee by lucee.

the class CFMLExpressionInterpreter method _multi.

private Ref _multi(Ref ref) throws PageException {
    // \=
    if (cfml.forwardIfCurrent('=')) {
        cfml.removeSpace();
        Ref right = assignOp();
        Ref res = preciseMath ? new BigMulti(ref, right, limited) : new Multi(ref, right, limited);
        ref = new Assign(ref, res, limited);
    } else {
        cfml.removeSpace();
        ref = preciseMath ? new BigMulti(ref, expoOp(), limited) : new Multi(ref, expoOp(), limited);
    }
    return ref;
}
Also used : Ref(lucee.runtime.interpreter.ref.Ref) BigMulti(lucee.runtime.interpreter.ref.op.BigMulti) Multi(lucee.runtime.interpreter.ref.op.Multi) Assign(lucee.runtime.interpreter.ref.var.Assign) DynAssign(lucee.runtime.interpreter.ref.var.DynAssign) BigMulti(lucee.runtime.interpreter.ref.op.BigMulti)

Aggregations

Ref (lucee.runtime.interpreter.ref.Ref)1 BigMulti (lucee.runtime.interpreter.ref.op.BigMulti)1 Multi (lucee.runtime.interpreter.ref.op.Multi)1 Assign (lucee.runtime.interpreter.ref.var.Assign)1 DynAssign (lucee.runtime.interpreter.ref.var.DynAssign)1