예제 #1
0
 /**
  * Initializes the expression node. The argument determines the
  * expression that it represents.
  * @param String $expression The expression represented by the node.
  */
 public function __construct($expression)
 {
     parent::__construct();
     $this->_expression = $expression;
 }
예제 #2
0
 /**
  * Creates the scannable node.
  */
 public function __construct()
 {
     parent::__construct();
 }
예제 #3
0
 /**
  * Constructs a new Opt_Xml_Cdata node.
  *
  * @param String $cdata The initial text.
  */
 public function __construct($cdata)
 {
     parent::__construct();
     self::$mode != Opt_Class::QUIRKS_MODE and $this->_validate($cdata);
     $this->_text = $cdata;
 }