Esempio n. 1
0
 /**
  * @param string $name
  * @param integer $arity
  */
 public function __construct($name, $arity)
 {
     parent::__construct(self::PRIORITY_FUNCTION);
     $this->name = $name;
     $this->arity = $arity;
     $this->function = null;
     $this->closed = false;
 }
Esempio n. 2
0
 /**
  * @param string $sign
  */
 public function __construct($sign)
 {
     parent::__construct(self::PRIORITY_MINUS);
     $this->sign = $sign;
 }
Esempio n. 3
0
 public function __construct()
 {
     parent::__construct(self::PRIORITY_MUL_DIV);
 }
Esempio n. 4
0
 /**
  * @param string $sign
  */
 public function __construct()
 {
     parent::__construct(self::PRIORITY_MINUS);
 }
Esempio n. 5
0
 public function __construct()
 {
     parent::__construct(self::PRIORITY_LEFT_PAREN);
 }