jay.yydebug
public class yyAnim extends Frame implements yyDebug
If the panel is to simulate standard input it must be instantiated before standard input is accessed. Otherwise the reader might be waiting for a different stream.
See Also: java.lang.System#setIn
Field Summary | |
---|---|
protected Thread | eventThread set by the checkbox listener. |
static int | IN trap java.lang.System#in. |
protected static int | nFrames counts instances to exit on last close. |
protected boolean | outputBreak breakpoint, only(!) |
static int | OUT trap java.lang.System#out. |
protected yyAnimPanel | panel input, stack, and comments. |
Constructor Summary | |
---|---|
yyAnim(String title, int io) creates and displays the frame. | |
yyAnim(Class system, String title, int io) creates and displays the frame. |
Method Summary | |
---|---|
void | accept(Object value) |
void | discard(int state, int token, String name, Object value) |
void | error(String message) |
void | lex(int state, int token, String name, Object value) |
void | pop(int state) |
void | push(int state, Object value) |
void | reduce(int from, int to, int rule, String text, int len) |
void | reject() |
static void | setStaggeredLocation(Component c) try to cascade multiple instances of components. |
void | shift(int from, int to, int errorFlag) |
void | shift(int from, int to) |
Parameters: io flags to trap standard input, and/or standard and diagnostic output.
Parameters: system hook to spoof java.lang.System. io flags to trap standard input, and/or standard and diagnostic output.