checkTypedExpression

fun checkTypedExpression(expression: String, values: Set<String>, functions: TypedFunctionExtensions = TypedFunctionExtensions.EMPTY): List<ExpressionProblem>(source)

The problems of the typed expression, all of them, without evaluating it: syntax errors, names that are neither in values, parameters of the lambdas and functions around them, values declared before them nor PI, values and functions declared twice, functions of more than 5 parameters, calls of functions that are neither built in, in functions nor in values (a constant can be a function), or that take other numbers of arguments, and lambdas of more than two parameters. The types of values are not known before they are evaluated, so the properties and functions of values, and the types of operands, are not checked. Names are only checked when the expression can be read.