library/smarty/libs/sysplugins/smarty_internal_parsetree.php
changeset 0 4869aea77e21
equal deleted inserted replaced
-1:000000000000 0:4869aea77e21
       
     1 <?php
       
     2 /**
       
     3  * Smarty Internal Plugin Templateparser Parsetrees
       
     4  * These are classes to build parsetrees in the template parser
       
     5  *
       
     6  * @package    Smarty
       
     7  * @subpackage Compiler
       
     8  * @author     Thue Kristensen
       
     9  * @author     Uwe Tews
       
    10  */
       
    11 
       
    12 /**
       
    13  * @package    Smarty
       
    14  * @subpackage Compiler
       
    15  * @ignore
       
    16  */
       
    17 abstract class Smarty_Internal_ParseTree {
       
    18 
       
    19     /**
       
    20      * Parser object
       
    21      *
       
    22      * @var object
       
    23      */
       
    24     public $parser;
       
    25 
       
    26     /**
       
    27      * Buffer content
       
    28      *
       
    29      * @var mixed
       
    30      */
       
    31     public $data;
       
    32 
       
    33     /**
       
    34      * Subtree array
       
    35      *
       
    36      * @var array
       
    37      */
       
    38     public $subtrees = array();
       
    39 
       
    40     /**
       
    41      * Return buffer
       
    42      *
       
    43      * @return string buffer content
       
    44      */
       
    45     abstract public function to_smarty_php();
       
    46 }
       
    47 
       
    48