The structure of an expression

Expressions are combinations of variable references, function calls, and constant values. They are combined with operators such as "+", "||", and "!".

Operators come in three basic classes: unary, binary, and tertiary. Unary operators perform an operation on one operand, binaries on two, and tertiaries on three. Let's look at each in turn...

Note that, in general, each of these operands may actually be an arbitrarily large tree, which must be evaluated down to a single value before being used by the operation.
This page was last modified .