Jump to: navigation, search

MoDisco/Cobol

< MoDisco
Revision as of 05:20, 13 January 2010 by Nbros.mia-software.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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).


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.

CobolProgram metaclass

DataDivision

The data division defines the data manipulated by the COBOL program.

DataDivision metaclass

ProcedureDivision

ProcedureDivision metaclass

NodeForStatementRepresentation

NodeForStatementRepresentation metaclass

ControlStatements

ControlStatement metaclass

NonControlStatements

NonControlStatement metaclass

NodeForDataRepresentation

NodeForDataRepresentation metaclass

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