| Summary: | Missing and incorrect operators | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Matt Heitz <mheitz> |
| Component: | EDT | Assignee: | Paul Harmon <pharmon> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Matt Heitz
This one is really important, blocking some of my work defining the types. Paul, I changed my mind about array access. We should have an operator for it too. I just fixed the value of Operation.NULL_CONCAT and added the following fields: String ARRAY_ACCESS = "[]"; String SUBSTRING = "[:"; String DYNAMIC_ACCESS = "['"; In org.eclipse.edt.mof.egl, ArrayAccess, DynamicAccess, and SubstringAccess now have a getOperation() method. They each use a method called resolveOperation(), to be implemented by Paul. I also added an operation field to those three types in Expressions.egl . The new operators <<, >>, >>>, ~, and the ternary if-then-else will not be included in 0.7 so they won't be implemented under this bug. We'll open a new bug for them when the time comes. This is done. |