| [ Index ] |
PHP Cross Reference of Limb3 |
[Source view] [Print] [Project Stats]
Acts on the root lmbMacroNode in response to events within the lmbMacroParser When adding an open tag to the tree, call pushExpectedTag(). When closing a tag, call popExpectedTag(), which ensures the tree is balanced.
| Version: | $Id$ |
| File Size: | 176 lines (5 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| __construct($compiler) X-Ref |
| Stack of tags pushed onto the tree builder |
| getCursor() X-Ref |
| Returns the current node |
| setCursor($node) X-Ref |
| Sets the cursor (the current working node) of the tree builder |
| pushNode($node) X-Ref |
| Begins a node's build phase in relation to the node tree. Adds a node to the tree, then makes that node the 'cursor'. |
| addNode($node) X-Ref |
| Adds a node to the tree, without descending into it. This begins and finishes the node's composition |
| addTextNode($text) X-Ref |
| No description |
| popNode() X-Ref |
| Ends a node's build phase in relation to the tree. Checks child server ids and moves the 'cursor' up the tree to the parent node. |
| pushExpectedTag($tag, $location = null) X-Ref |
| No description |
| pushCursor($newPosition, $location) X-Ref |
| Sets the cursor to a new position, and pushes the old cursor onto the expected tags stack. |
| popExpectedTag($tag, $location) X-Ref |
| Tests the passed tag against what is expected. Returns any info that was kept about the expected tag. If the item in the tag stack is a node, then the cursor is restored to that, and popExpectedTag is called again. |
| getExpectedTagCount() X-Ref |
| Return the size of the expected tags stack |
| getExpectedTag() X-Ref |
| Returns the current expected tag |
| getExpectedTagLocation() X-Ref |
| No description |
| Generated: Fri Aug 29 04:49:26 2008 | Cross-referenced by PHPXref 0.7 |