]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
(refs #6878) validateOnly flag to ExpressionEvaluator and CommandSession 15/515/4
authorHannu Niemistö <hannu.niemisto@semantum.fi>
Fri, 12 May 2017 10:58:22 +0000 (13:58 +0300)
committerHannu Niemistö <hannu.niemisto@semantum.fi>
Fri, 12 May 2017 13:57:45 +0000 (16:57 +0300)
Added a new flag validateOnly to ExpressionEvaluator and CommandSession.
This prevents the execution of the expression. In command session,
variable types are however updated, so it is possible to run longer
command sequences and check their types. To use the flag, run the script
in CommandSession with static method validate.

Change-Id: I3fbb5501c8a902f2f3ea547d5c5bc7d693df3a77


No differences found