[all packages]
[package ]
[class hierarchy]
[index]
java.lang.Object | +----PremonEnvironment
public class PremonEnvironment
A class which contains the `environment' of a Premon applet.
A premon applet is called with four arguments:
The base context (the nodes in the graph).
The free variables (the incoming edges of the graph).
The expression (the graph).
A flag to say whether the graph should be drawn with a control line or not.
This information is stored as a parsed syntax tree, and as a desugared and typechecked syntax tree.
In addition, the current font and font metrics are stored, as well as the graph (as a constraint set) and the solution to the constraints. These allow the graph to be drawn.

PremonEnvironment(Applet)

constructors
constructorsDesugared
context
contextDesugared
d
isRed
s
term
termDesugared
textFont
textFontMetrics

PremonEnvironmentpublic PremonEnvironment(Applet parent);

contextpublic PremonJJTCon context;
public PremonJJTCon constructors;
public PremonJJTExp term;
public PremonCon contextDesugared;
public PremonCon constructorsDesugared;
public PremonExp termDesugared;
public boolean isRed;
public Font textFont;
public FontMetrics textFontMetrics;
public Drawable d;
public Solution s;
[all packages]
[package ]
[class hierarchy]
[index]