Lines Matching refs:tree
80 // parse tree
81 $tree = $this->syntax->constructTree($lines,'data entry');
83 // allow subclasses first pick in the tree
84 $this->handleBody($tree, $result);
87 $lines = $this->syntax->extractText($tree);
90 if(count($tree['cs'])) {
91 msg(sprintf($this->syntax->getLang('error_entry_block'), ($tree['cs'][0]['tag']?sprintf($this->syntax->getLang('named_group'),utf8_tohtml(hsc($tree['cs'][0]['tag']))):$this->syntax->getLang('unnamed_group')), utf8_tohtml(hsc($result['entry']))),-1);
203 * @param tree array the parsed tree
206 function handleBody(&$tree, &$result) {