library/smarty/libs/sysplugins/smarty_internal_parsetree.php
changeset 46 f11c31f7fa3e
parent 45 a56e7f9a0463
child 47 03388ec805b4
equal deleted inserted replaced
45:a56e7f9a0463 46:f11c31f7fa3e
     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