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.
Difference between revisions of "MoDisco/Cobol"
< MoDisco
(New page: The Cobol metamodel defines the concepts needed to represent COBOL programs (compliant with ANSI-85 norm). Cobol metamodel contains 109 metaclasses. To better understand it, this page wil...) |
|||
(19 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
A '''CobolProgram''' has links to a '''IdentificationDivision''', a '''DataDivision''' and a '''ProcedureDivision'''. | A '''CobolProgram''' has links to a '''IdentificationDivision''', a '''DataDivision''' and a '''ProcedureDivision'''. | ||
− | [[Image: | + | [[Image:CobolProgram.PNG|frame|center|CobolProgram metaclass]] |
=== DataDivision === | === DataDivision === | ||
Line 21: | Line 21: | ||
The data division defines the data manipulated by the COBOL program. | The data division defines the data manipulated by the COBOL program. | ||
− | [[Image: | + | [[Image:DataDivision.PNG|frame|center|DataDivision metaclass]] |
− | + | ||
=== ProcedureDivision === | === ProcedureDivision === | ||
+ | [[Image:ProcedureDivision.PNG|frame|center|ProcedureDivision metaclass]] | ||
=== NodeForStatementRepresentation === | === NodeForStatementRepresentation === | ||
+ | [[Image:NodeForStatementRepresentation.PNG|frame|center|NodeForStatementRepresentation metaclass]] | ||
==== ControlStatements ==== | ==== ControlStatements ==== | ||
+ | [[Image:ControlStatement.PNG|800px|center|thumb|ControlStatement metaclass]] | ||
+ | |||
==== NonControlStatements ==== | ==== NonControlStatements ==== | ||
+ | [[Image:NonControlStatement.PNG|800px|thumb|center|NonControlStatement metaclass]] | ||
=== NodeForDataRepresentation === | === NodeForDataRepresentation === | ||
− | + | [[Image:NodeForDataRepresentation.PNG|frame|center|NodeForDataRepresentation metaclass]] | |
== Requirements == | == Requirements == | ||
Line 43: | Line 47: | ||
:* [[EMF|EMF]] 2.3.0 or higher | :* [[EMF|EMF]] 2.3.0 or higher | ||
− | + | [[Category:MoDisco]] | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Latest revision as of 05:20, 13 January 2010
The Cobol metamodel defines the concepts needed to represent COBOL programs (compliant with ANSI-85 norm).
Cobol metamodel contains 109 metaclasses. To better understand it, this page will introduce the main features (metaclasses and links).
You could also browse definition model cobol.ecore available in sources (see install section).
Contents
Main metaclasses
CobolProgram
A COBOL program is represented by an instance of CobolProgram.
A CobolProgram has links to a IdentificationDivision, a DataDivision and a ProcedureDivision.
DataDivision
The data division defines the data manipulated by the COBOL program.
ProcedureDivision
NodeForStatementRepresentation
ControlStatements
NonControlStatements
NodeForDataRepresentation
Requirements
To use the plug-in you need:
- JDK 1.5 or above
- a version of Eclipse 3.3 or above with the following set of plugins installed
- EMF 2.3.0 or higher