Search in sources :

Example 1 with Xor

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

the class CFMLExpressionInterpreter method xorOp.

/**
 * Transfomiert eine  Xor (xor) Operation.
 * <br />
 * EBNF:<br />
 * <code>orOp {"xor" spaces  orOp};</code>
 * @return CFXD Element
 * @throws PageException
 */
private Ref xorOp() throws PageException {
    Ref ref = orOp();
    while (cfml.forwardIfCurrent("xor")) {
        cfml.removeSpace();
        ref = new Xor(ref, orOp(), limited);
    }
    return ref;
}
Also used : Ref(lucee.runtime.interpreter.ref.Ref) Xor(lucee.runtime.interpreter.ref.op.Xor)

Aggregations

Ref (lucee.runtime.interpreter.ref.Ref)1 Xor (lucee.runtime.interpreter.ref.op.Xor)1