<?php
/**
* Web Application Component Toolkit
*
* @link http://www.phpwact.org/
*
* @author Wact Development Team
* @link http://www.phpwact.org/team
*
* @copyright Copyright 2006, Jeff Moore
* @license http://opensource.org/licenses/mit-license.php MIT
*/

/**
* The root compile time component in the template hierarchy.
*/
class Wact_Template_Compiler_Node_Root extends Wact_Template_Compiler_Node_ScopedView {

    /**
    * The view class corresponding to this template node.
    * @var string
    */
    public $parentViewClass = 'Wact_View_Root';

    /**
    * @var string
    */
    protected $viewClass;

    /**
    */
    function __construct($tag, $tagInfo, $sourceLocation, $viewClass) {
        parent::__construct($tag, $tagInfo, $sourceLocation);

        $this->viewClass = $viewClass;
        $this->root = $this;
    }

}
?>