. */ /* */ /*************************************************************************************/ require_once __DIR__ . "/../../fonctions/autoload.php"; class PexTexte extends PexElement{ public $texte; function __construct(&$texte) { $this->texte = $texte; } function type() { return PexToken::TYPE_TEXTE; } function ajouter($texte) { $this->texte .= $texte; } function evaluer(&$substitutions = array()) { if (DEBUG_EVAL) { Analyse::echo_debug("Eval texte '$this->texte'"); } return $this->replace($substitutions, $this->texte); } function imprimer() { Analyse::echo_debug($this->texte); } } ?>