All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class codegen.dumpTables

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

public class dumpTables
extends Object
This class will dump the tables of our code. Internallz we will work with numerical values. This is faster and more efficient. But we want to provide the environment an interface to the original textual representations of states, events and conditions.

Version:
$Id: dumpTables.java,v 1.14 1999/02/12 15:13:08 swtech25 Exp $
Author:
Marcel Kyas

Variable Index

 o endEvent
This is our reserved event keyword.

Constructor Index

 o dumpTables(Statechart)
This is the only constructor for this class.

Method Index

 o generateSymState(Path)
Generate the symbolic state name as a String.

Variables

 o endEvent
 public static final String endEvent
This is our reserved event keyword. If it occures, the generated code will clean up and exit. Obviously, EVENT_$$stop$$ is a valid identifier in Java. You may want to change this, if your Compiler chokes on this one.

Constructors

 o dumpTables
 public dumpTables(Statechart s)
This is the only constructor for this class. Do not use any other automatically generated constructors.

Methods

 o generateSymState
 public static String generateSymState(Path path)
Generate the symbolic state name as a String. This is a crude hack. It will convert all dots '.' to '$' in order to make tokens out of it. We need to check, if there is a chance of name clashes.


All Packages  Class Hierarchy  This Package  Previous  Next  Index