Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340104 - Misc improvements to the expression language
Summary: Misc improvements to the expression language
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sapphire (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Konstantin Komissarchik CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2011-03-15 20:42 EDT by Konstantin Komissarchik CLA
Modified: 2021-11-19 09:21 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.