class documentation
class RecursiveDescentApp(object): (source)
Constructor: RecursiveDescentApp(grammar, sent, trace)
A graphical tool for exploring the recursive descent parser. The tool displays the parser's tree and the remaining text, and allows the user to control the parser's operation. In particular, the user can expand subtrees on the frontier, match tokens on the frontier against the text, and backtrack. A "step" button simply steps through the parsing process, performing the operations that RecursiveDescentParser would use.
Method | __init__ |
Undocumented |
Method | about |
Undocumented |
Method | autostep |
Undocumented |
Method | backtrack |
Undocumented |
Method | cancel |
Undocumented |
Method | destroy |
Undocumented |
Method | edit |
Undocumented |
Method | edit |
Undocumented |
Method | expand |
Undocumented |
Method | help |
Undocumented |
Method | mainloop |
Enter the Tkinter mainloop. This function must be called if this demo is created from a non-interactive program (e.g. from a secript); otherwise, the demo will close as soon as the script completes. |
Method | match |
Undocumented |
Method | postscript |
Undocumented |
Method | reset |
Undocumented |
Method | resize |
Undocumented |
Method | set |
Undocumented |
Method | set |
Undocumented |
Method | step |
Undocumented |
Method | _animate |
Undocumented |
Method | _animate |
Undocumented |
Method | _animate |
Undocumented |
Method | _animate |
Undocumented |
Method | _animate |
Undocumented |
Method | _animate |
Undocumented |
Method | _animate |
Undocumented |
Method | _animate |
Undocumented |
Method | _backtrack |
Undocumented |
Method | _configure |
Undocumented |
Method | _expand |
Undocumented |
Method | _get |
Undocumented |
Method | _highlight |
Undocumented |
Method | _highlight |
Undocumented |
Method | _init |
Undocumented |
Method | _init |
Undocumented |
Method | _init |
Undocumented |
Method | _init |
Undocumented |
Method | _init |
Undocumented |
Method | _init |
Undocumented |
Method | _init |
Undocumented |
Method | _makeroom |
Make sure that no sibling tree bbox's overlap. |
Method | _match |
Undocumented |
Method | _position |
Undocumented |
Method | _prodlist |
Undocumented |
Method | _redraw |
Undocumented |
Method | _redraw |
Undocumented |
Method | _step |
Undocumented |
Method | _toggle |
Undocumented |
Method | _tree |
Undocumented |
Instance Variable | _animating |
Undocumented |
Instance Variable | _animation |
Undocumented |
Instance Variable | _autostep |
Undocumented |
Instance Variable | _bigfont |
Undocumented |
Instance Variable | _boldfont |
Undocumented |
Instance Variable | _buttonframe |
Undocumented |
Instance Variable | _canvas |
Undocumented |
Instance Variable | _cframe |
Undocumented |
Instance Variable | _feedbackframe |
Undocumented |
Instance Variable | _font |
Undocumented |
Instance Variable | _lastoper1 |
Undocumented |
Instance Variable | _lastoper2 |
Undocumented |
Instance Variable | _lastoper |
Undocumented |
Instance Variable | _parser |
Undocumented |
Instance Variable | _prodframe |
Undocumented |
Instance Variable | _prodlist |
Undocumented |
Instance Variable | _prodlist |
Undocumented |
Instance Variable | _productions |
Undocumented |
Instance Variable | _sent |
Undocumented |
Instance Variable | _show |
Undocumented |
Instance Variable | _size |
Undocumented |
Instance Variable | _sysfont |
Undocumented |
Instance Variable | _textline |
Undocumented |
Instance Variable | _textwidgets |
Undocumented |
Instance Variable | _top |
Undocumented |
Instance Variable | _tree |
Undocumented |