Prevent DnD monitor expression evaluation or inversion from failing with state property expressions where property names start with lower-case letters
|Assignee:||Tuukka Lehtonen||% Done:|
|Category:||User Components||Spent time:||-|
|Release notes:||Fixed DnD monitor expression (inverse) evaluation (parsing) to work also with properties whose name doesn't start with capital letters [A-Z] since in SCL all variable names must start with lower-case letters [a-z].|
|Velocity based estimate||-|
|Release||Simantics 1.18.1||Release relationship||Auto|
Current a user component type can have stateful properties whose value is defined by an expression.
These expression are e.g. A.fooBar where A is a component and fooBar is the name of its property.
Currently InvertBasicExpressionVisitor is not capable of handling these properly because it only expects to find expressions like A.FooBar where the property names always start with upper-case letters.
Fixed InvertBasicExpressionVisitor to understand expressions like A.fooBar, where property names start with lower-case letters.
Also added some extra robustness to MonitorExpressionVisitor multiplication evaluation for cases where values are not available.
Merged trunk@31155 to branches/simantics-1.18 on 2015-04-09 for 1.18.1 release.