index 6d796cd8ae23d84fe9a22f31a53574ca8d0bbad4..816950e996427df90eb7ddabfcb58826dc818b81 100644 (file)
<?php
-
+define("SIEVE_INDENT_TAB"," ");
/* This class is inherited from the original 'Parser'
* class written by Heiko Hund
function execute()
{
- return($this->dumpParseTree());
+ $ret = $this->dumpParseTree();
+ return($ret);
+ }
+
+
+ /* Check if there are errors, collect them and return them */
+ function check()
+ {
+ return($this->tree_->check());
}
return $this->status_;
}
-
+
+ function get_sieve_script()
+ {
+ return($this->tree_->get_sieve_script());
+ }
+
+
function save_object()
{
$this->tree_->save_object();
}
return strval($token);
}
+
+
+ function dumpParseTree()
+ {
+ return $this->tree_->execute();
+ }
}
?>