Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 340104

Summary: Misc improvements to the expression language
Product: z_Archived Reporter: Konstantin Komissarchik <konstantin>
Component: SapphireAssignee: Konstantin Komissarchik <konstantin>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: ling.hao
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Konstantin Komissarchik CLA 2011-03-15 20:42:48 EDT
The following improvements are needed in the expression language to make it more flexible:

1. Use array notation to index into a list.

2. Use Size property to access size of any collection.

3. Support actual conditional evaluation of the conditional operator, such that the unused branch is not evaluated. It should be possible for the unused branch to be in error state without erroring the entire expression.
Comment 1 Konstantin Komissarchik CLA 2011-03-16 00:35:11 EDT
Enhancements implemented. Added to the release notes. Implemented unit tests TestExpr0002, TestExpr0003 and TestExpr0004 to cover the features described here.
Comment 2 Ling Hao CLA 2011-06-10 12:21:05 EDT
Verify in unit tests.