Skip to main content

Notice: This Wiki is now read only and edits are no longer 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"

Line 53: Line 53:
 
|-
 
|-
 
| bgcolor="#cccccc" | ''Call<sup>2</sup>''  
 
| bgcolor="#cccccc" | ''Call<sup>2</sup>''  
| <br>done
+
| <br>done  
 
|  
 
|  
 
REST Service invocation  
 
REST Service invocation  
Line 71: Line 71:
 
|-
 
|-
 
| bgcolor="#cccccc" | ''Transfer''  
 
| bgcolor="#cccccc" | ''Transfer''  
| <br>done
+
| <br>done  
 
| N/S<br>
 
| N/S<br>
 
| <br>
 
| <br>
 
|-
 
|-
 
| bgcolor="#cccccc" | ''Throw''  
 
| bgcolor="#cccccc" | ''Throw''  
| <br>done
+
| <br>done  
 
| [https://bugs.eclipse.org/bugs/show_bug.cgi?id=352140 JS:Throws]<br>
 
| [https://bugs.eclipse.org/bugs/show_bug.cgi?id=352140 JS:Throws]<br>
 
| done<br>
 
| done<br>
Line 86: Line 86:
 
|-
 
|-
 
| bgcolor="#cccccc" | ''Catch''  
 
| bgcolor="#cccccc" | ''Catch''  
| <br>done
+
| <br>done  
 
| done  
 
| done  
 
| done<br>
 
| done<br>
 
|-
 
|-
 
| bgcolor="#cccccc" | ''Case''  
 
| bgcolor="#cccccc" | ''Case''  
| <br>done
+
| <br>done  
 
| [https://bugs.eclipse.org/bugs/show_bug.cgi?id=352031 JS: Case]<br>
 
| [https://bugs.eclipse.org/bugs/show_bug.cgi?id=352031 JS: Case]<br>
 
| (preprocessor doesn't pass case statement, it breaks into a series of IF statements) - no work needed<br>
 
| (preprocessor doesn't pass case statement, it breaks into a series of IF statements) - no work needed<br>
 
|-
 
|-
 
| bgcolor="#cccccc" | ''If''  
 
| bgcolor="#cccccc" | ''If''  
| <br>done
+
| <br>done  
 
| [https://bugs.eclipse.org/bugs/show_bug.cgi?id=352028 JS: If ]<br>
 
| [https://bugs.eclipse.org/bugs/show_bug.cgi?id=352028 JS: If ]<br>
 
| done<br>
 
| done<br>
Line 111: Line 111:
 
|-
 
|-
 
| bgcolor="#cccccc" | ''Foreach<sup>3</sup>''  
 
| bgcolor="#cccccc" | ''Foreach<sup>3</sup>''  
| <br>
+
| 1d<br>
 
| [https://bugs.eclipse.org/bugs/show_bug.cgi?id=352030 JS: Foreach]<br>
 
| [https://bugs.eclipse.org/bugs/show_bug.cgi?id=352030 JS: Foreach]<br>
 
| <br>
 
| <br>
 
|-
 
|-
 
| bgcolor="#cccccc" | ''Exit''  
 
| bgcolor="#cccccc" | ''Exit''  
| <br>done
+
| <br>done  
 
| done<br>
 
| done<br>
 
| done<br>
 
| done<br>
 
|-
 
|-
 
| bgcolor="#cccccc" | ''Continue''  
 
| bgcolor="#cccccc" | ''Continue''  
| <br>done
+
| <br>done  
 
| [https://bugs.eclipse.org/bugs/show_bug.cgi?id=352139 JS: Continue]<br>
 
| [https://bugs.eclipse.org/bugs/show_bug.cgi?id=352139 JS: Continue]<br>
 
| done<br>
 
| done<br>
Line 141: Line 141:
 
|-
 
|-
 
| bgcolor="#cccccc" | ''Delete''  
 
| bgcolor="#cccccc" | ''Delete''  
| <br>done
+
| <br>done  
 
| N/S<br>
 
| N/S<br>
 
| <br>
 
| <br>
Line 151: Line 151:
 
|-
 
|-
 
| bgcolor="#cccccc" | ''Replace''  
 
| bgcolor="#cccccc" | ''Replace''  
| <br>done
+
| <br>done  
 
| N/S<br>
 
| N/S<br>
 
| <br>
 
| <br>
 
|-
 
|-
 
| bgcolor="#cccccc" | ''Execute<sup>4</sup>''  
 
| bgcolor="#cccccc" | ''Execute<sup>4</sup>''  
| <br>
+
| done?<br>
 
| N/S<br>
 
| N/S<br>
 
| <br>
 
| <br>
 
|-
 
|-
 
| bgcolor="#cccccc" | ''Prepare<sup>4</sup>''  
 
| bgcolor="#cccccc" | ''Prepare<sup>4</sup>''  
| <br>
+
| done?<br>
 
| N/S<br>
 
| N/S<br>
 
| <br>
 
| <br>
 
|-
 
|-
 
| bgcolor="#cccccc" | ''Open<sup>4</sup>''  
 
| bgcolor="#cccccc" | ''Open<sup>4</sup>''  
| <br>
+
| <br>done?
 
| N/S<br>
 
| N/S<br>
 
| <br>
 
| <br>
 
|-
 
|-
 
| bgcolor="#cccccc" | ''FreeSQL<sup>4</sup>''  
 
| bgcolor="#cccccc" | ''FreeSQL<sup>4</sup>''  
| <br>
+
| <br>done?
 
| N/S<br>
 
| N/S<br>
 
| <br>
 
| <br>
 
|-
 
|-
 
| bgcolor="#cccccc" | ''Goto''<br>
 
| bgcolor="#cccccc" | ''Goto''<br>
| <br>done
+
| <br>done  
 
| N/S  
 
| N/S  
 
| N/S
 
| N/S
 
|-
 
|-
 
| bgcolor="#cccccc" | ''Set''<br>
 
| bgcolor="#cccccc" | ''Set''<br>
| <br>done
+
| <br>done  
 
| N/S  
 
| N/S  
 
| N/S
 
| N/S
Line 201: Line 201:
 
|-
 
|-
 
| bgcolor="#cccccc" | ''Forward''<br>
 
| bgcolor="#cccccc" | ''Forward''<br>
| <br>done
+
| <br>done  
 
| N/S  
 
| N/S  
 
| N/S
 
| N/S
 
|-
 
|-
 
| bgcolor="#cccccc" | ''Show''<br>
 
| bgcolor="#cccccc" | ''Show''<br>
| <br>done
+
| <br>done  
 
| N/S  
 
| N/S  
 
| N/S
 
| N/S
 
|-
 
|-
 
| bgcolor="#cccccc" | ''OpenUI''<br>
 
| bgcolor="#cccccc" | ''OpenUI''<br>
| <br>done
+
| <br>done  
 
| N/S  
 
| N/S  
 
| N/S
 
| N/S

Revision as of 16:05, 20 July 2011

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

Statements (Table 5)

Statements Core JavaScript Java
Variable declaration5
6d

done
Const declaration
done

done
Assignment done
done
done
Move1
1d


Return
done
JS:Functions, Return
done
Function invocation
done

JS: Functions, Return

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)


Label 1d (remove label field from ConditionalStatement)
done
done
Transfer
done
N/S

Throw
done
JS:Throws
done
Try done
done
done
Catch
done
done done
Case
done
JS: Case
(preprocessor doesn't pass case statement, it breaks into a series of IF statements) - no work needed
If
done
JS: If
done
While done
JS: While
done
For done
JS:For
done
Foreach3 1d
JS: Foreach

Exit
done
done
done
Continue
done
JS: Continue
done
Empty statement (a semicolon) done
done
done
Add done
N/S

Close done
N/S

Delete
done
N/S

Get done
N/S

Replace
done
N/S

Execute4 done?
N/S

Prepare4 done?
N/S

Open4
done?
N/S

FreeSQL4
done?
N/S

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. Support for these statements is tentative, pending the design for JPA in EDT.
  5. 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