BinaryOpNode.BinaryOp



A binary operation for combining two values in a BinaryOpNode. Unless otherwise specified for a particular operator, the result will be null (i.e. undefined) if either input value is null.

Summary

Public companion properties

BinaryOpNode.BinaryOp

Evaluates to null if the first input is null, otherwise evaluates to the second input.

Cmn
BinaryOpNode.BinaryOp

Evaluates to the max of the two input values.

Cmn
BinaryOpNode.BinaryOp

Evaluates to the min of the two input values.

Cmn
BinaryOpNode.BinaryOp

Evaluates to first input if it's not null, otherwise evaluates to the second input.

Cmn
BinaryOpNode.BinaryOp

Evaluates to the product of the two input values.

Cmn
BinaryOpNode.BinaryOp

Evaluates to the sum of the two input values.

Cmn
BinaryOpNode.BinaryOp

If exactly one input isn't null, evaluates to that one, otherwise evaluates to null.

Cmn

Public functions

open String
Cmn

Public companion properties

AND_THEN

val AND_THENBinaryOpNode.BinaryOp

Evaluates to null if the first input is null, otherwise evaluates to the second input.

MAX

val MAXBinaryOpNode.BinaryOp

Evaluates to the max of the two input values.

MIN

val MINBinaryOpNode.BinaryOp

Evaluates to the min of the two input values.

OR_ELSE

val OR_ELSEBinaryOpNode.BinaryOp

Evaluates to first input if it's not null, otherwise evaluates to the second input.

PRODUCT

val PRODUCTBinaryOpNode.BinaryOp

Evaluates to the product of the two input values.

SUM

val SUMBinaryOpNode.BinaryOp

Evaluates to the sum of the two input values.

XOR_ELSE

val XOR_ELSEBinaryOpNode.BinaryOp

If exactly one input isn't null, evaluates to that one, otherwise evaluates to null.

Public functions

toString

open fun toString(): String