diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-02-08 11:55:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-08 11:55:06 +0100 |
commit | 0e377f348ce3b359c64eb5573b35077b5cc3dba8 (patch) | |
tree | 366c3e4f63ee8874c210861d53ebded1fcfeb3de /doc | |
parent | 3dd00e77b4cd09e34e54a86216a2265862455557 (diff) | |
parent | 08ea2aedd254d49d37240fbfe486f4ae50840f62 (diff) |
Merge pull request #25517 from Zylann/doc_expression
Explain how to use Expression inputs
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Expression.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/Expression.xml b/doc/classes/Expression.xml index b0a21d7f82..78623b359e 100644 --- a/doc/classes/Expression.xml +++ b/doc/classes/Expression.xml @@ -39,6 +39,7 @@ </argument> <description> Executes the expression that was previously parsed by [method parse] and returns the result. Before you use the returned object, you should check if the method failed by calling [method has_execute_failed]. + If you defined input variables in [method parse], you can specify their values in the inputs array, in the same order. </description> </method> <method name="get_error_text" qualifiers="const"> @@ -64,6 +65,7 @@ </argument> <description> Parses the expression and returns a [enum @GlobalScope.Error]. + You can optionally specify names of variables that may appear in the expression with [code]input_names[/code], so that you can bind them when it gets executed. </description> </method> </methods> |