* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */ /** * class VariableInformation * Enthält Informationen über eine Variable in der Baumstruktur. Objekte dieser * Klasse werden im InformationTree verwendet. */ class Comment extends Leaf { /** * * @access private */ private $comment; public function __construct($comment) { $this->setComment($comment); } public function setComment($comment) { $this->comment = $comment; } public function getComment() { return $this->comment; } /** * * @param Visitor $ visitor */ public function accept(Visitor $visitor, $level = 1) { $visitor->visit($this, $level = 1); } // end of member function accept } // end of VariableInformation ?>