1: <?php
2: namespace {
3: /**
4: * SEval - Compiler and executor for parsed AST
5: */
6: class SEval {
7: public function setMainObject($object) {}
8: public function setPropObject(&$object) {}
9: public function setObject($name, $object) {}
10: public function setVariable($name, $value) {}
11: /**
12: * Check if expression is an if statement
13: */
14: public function process($template){}
15: /**
16: * Execute AST node
17: */
18: /**
19: * Check if value is truthy
20: */
21: /**
22: * Resolve variable name reference
23: */
24: /**
25: * Convert value to string for output
26: */
27: /**
28: * Process content (public alias for process)
29: */
30: public function processContent($content) {}
31: /**
32: * Get all variables (for debugging)
33: */
34: public function getVariables() {}
35: public function getVariable($name) {}
36: /**
37: * Clear all variables
38: */
39: public function clearVariables() {}
40: }
41: }