Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EDT:EGL Language Statements"

(Statements (Table 5))
Line 36: Line 36:
 
|-
 
|-
 
| bgcolor="#cccccc" | ''Move<sup>1</sup>''  
 
| bgcolor="#cccccc" | ''Move<sup>1</sup>''  
| <br>1d  
+
| <br>1d {{bug|354164}}
 
| 2d<br>  
 
| 2d<br>  
 
| 2d {{bug|353670}}<br>
 
| 2d {{bug|353670}}<br>
Line 76: Line 76:
 
|-
 
|-
 
| bgcolor="#cccccc" | ''Label''  
 
| bgcolor="#cccccc" | ''Label''  
| 1d (remove label field from ConditionalStatement)<br>  
+
| 1d (remove label field from ConditionalStatement)<br>{{bug|354163}}
 
| done<br>  
 
| done<br>  
 
| done<br>
 
| done<br>

Revision as of 12:34, 8 August 2011

Please see the parent of this page, EDT:EGL Language.

Statements (Table 5)

Statements Core JavaScript Java
Variable declaration
done
done
done
Annotations before declarations4 6d none none
Const declaration
done
done
done
Use
done
done
Assignment done
done
done
Move1
1d bug 354164
2d
2d bug 353670
Return
done
done
(see Function invocation below)
done
Function invocation
done

JS:Function Invocation tests

Synchronous service invocation

REST Service invocation

SOAP Service invocation bug 352590(3d)

Call2
done

REST Service invocation

SOAP Service invocation bug 352591(3d)
Dedicated service invocation bug 352592(3d)
Proxy bug 346145(5d)

5d bug 353672
Label 1d (remove label field from ConditionalStatement)
bug 354163
done
done
Transfer
done
N/S
1d
Throw
done
JS:Throws0.2d
done
Try done
done
done
Case
done
JS: Case0.2d
(preprocessor doesn't pass case statement, it breaks into a series of IF statements) - no work needed
If
done
JS: If 0.1d
done
While done
JS: While0.2d
done
For done
JS:For0.2d
done for 0.7.0
done
Foreach (SQL) done N/S 0.5d bug 353671
Foreach (array)3 1d
JS: Foreach0.1d
0.5d
Exit
done
done
done
Continue
done
JS: Continue0.1d
done
done
Empty statement (a semicolon) done
done
done
Add done
N/S
1d bug 353671
Close done
N/S
0.5d bug 353671
Delete
done
N/S
1d bug 353671
Get done
N/S
2d bug 353671
Replace
done
N/S
2d bug 353671
Execute done?
N/S
1d bug 353671
Prepare done?
N/S
1d
Open
done?
N/S
2d bug 353671
FreeSQL
done?
N/S
0.5d
Goto

done
N/S N/S
Set

done
N/S N/S
Converse
done
N/S N/S
Display
done
N/S N/S
Print
done
N/S N/S
Forward

done
N/S N/S
Show

done
N/S N/S
OpenUI

done
N/S N/S

Notes on Table 5

  1. EDT won't support every variation of RBD's move statement. There will be support for move byName, move for, and move for all. A move statement without one of the additional keywords is only allowed between two references, and it results in the target being assigned a copy of the source's value. If/when we support structured records, we might not support move byName on them because of the complex (unclean) design.
  2. EDT doesn't have called programs, but services and native programs can be called.
  3. EDT's foreach statement will support iterating over an array.
  4. New syntax will allow setting annotations on declarations without the use of curly braces. In RBD we usually do x int {myAnnotation = 3}; but another way to do the same thing is x int {@myAnnotation{3}};. In EDT we will allow that to be outside of curly braces and before the declaration, for example @myAnnotation{3} x int;.


Back to the top