Expression

An expression is a combination of one or more constants, variables, operators and function calls.

RIDE interprets the expression and calculates its result.

The expression result is the value, which is obtained by the fold of the syntactic tree of the expression.

The expression type is the data type of the expression result.

Examples

The expression that consists of a single constant.

7

The expression that consists of a single variable.

x

The expression that consists of the constant 7, operators + and *, variable x and the size function call.

7 + x * size("apple")

results matching ""

    No results matching ""