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
-
endEvent
- This is our reserved event keyword.
-
dumpTables(Statechart)
- This is the only constructor for this class.
-
generateSymState(Path)
- Generate the symbolic state name as a String.
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.
dumpTables
public dumpTables(Statechart s)
- This is the only constructor for this class. Do not use any
other automatically generated constructors.
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