Expression

    A class that stores an expression you can execute.

    An expression can be made of any arithmetic operation, built-in math function call, method call of a passed instance, or built-in type construction call.

    In the following example we use a node to write our expression and show the result.

    Executes the expression that was previously parsed by parse and returns the result. Before you use the returned object, you should check if the method failed by calling .


    • String get_error_text ( ) const

    Returns the error text if has failed.


    Returns if execute has failed.


    • parse ( String expression, input_names=PoolStringArray( ) )

    You can optionally specify names of variables that may appear in the expression with , so that you can bind them when it gets executed.