All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class codegen.CodeGen

java.lang.Object
   |
   +----codegen.CodeGen

public class CodeGen
extends Object
This class provides a simple interface to other parts of codegen. If an error occures, we will throw a CodeGenException.
Status Most of the code is implemented. Non-determinism is not handled correctly yet.
To Do
Known Bugs swtech25
Prerequisites:
Assertions:
Changes:

Version:
$Id: CodeGen.java,v 1.19 1999/03/01 17:38:34 swtech25 Exp $
Author:
Marcel Kyas, Walter Loeser, Andre Paetzold.

Constructor Index

 o CodeGen(Statechart)
This simple constructor will generate code for a statechart s using default options.
 o CodeGen(Statechart, CodeGenOpt)
This constructor will cause codegen to produce code for statechart s with options o.
 o CodeGen(Statechart, Statechart)
This constructor will generate code for statecharts s1 and s2 with the default options.
 o CodeGen(Statechart, Statechart, CodeGenOpt)
This constructor will generate code for statecharts s1 and s2 with options o.

Constructors

 o CodeGen
 public CodeGen(Statechart s,
                CodeGenOpt o) throws CodeGenException
This constructor will cause codegen to produce code for statechart s with options o.

Throws: CodeGenException
if code generation fails.
 o CodeGen
 public CodeGen(Statechart s1,
                Statechart s2) throws CodeGenException
This constructor will generate code for statecharts s1 and s2 with the default options. In this scenario s1 and s2 will be composed into a single, closed system.

Throws: CodeGenException
if code generation fails.
 o CodeGen
 public CodeGen(Statechart s) throws CodeGenException
This simple constructor will generate code for a statechart s using default options.

Throws: CodeGenException
if code generation fails.
 o CodeGen
 public CodeGen(Statechart s1,
                Statechart s2,
                CodeGenOpt o) throws CodeGenException
This constructor will generate code for statecharts s1 and s2 with options o. In this scenario s1 and s2 will be composed into a single, closed system.

Throws: CodeGenException
if code generation fails.

All Packages  Class Hierarchy  This Package  Previous  Next  Index