7.13.1 Renderer
Page 243 of 800 |
| Search internet |
Rendering is one of the four, user defined functions which are invoked by lgc(1). The way it is invoked is similar to the way the verifier and macro engine are invoked. A page is rendered thus:
- Look up the render aspect of the page symbol of the page being rendered.
- If found, apply the render aspect to the cache of the page being rendered leading to a tree of rendering events and execute those events.
- If not found, look up the render aspect of the page symbol of the bed page (if any). The bed page is reference number 1 of the page being verified.
- If found, apply the render aspect to the cache of the page being rendered leading to a tree of rendering events and execute those events.
- If not found, apply the default renderer to the cache of the page leading to a tree of rendering events and execute those events.
Contrary to verification and macro expansion, the pages described here do not define their own renderer. Rather, they rely on the default renderer.
The default renderer is defined as part of the lgc compiler and thus appears on the lgc page. That page contains much more information than the overview given in the following.
Page 243 of 800 |
| Search logiweb.eu |
Copyright © 2010
Klaus Grue,
GRD-2010-01-05