/** * @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; }
/** * @param string $sign */ public function __construct($sign) { parent::__construct(self::PRIORITY_MINUS); $this->sign = $sign; }
public function __construct() { parent::__construct(self::PRIORITY_MUL_DIV); }
/** * @param string $sign */ public function __construct() { parent::__construct(self::PRIORITY_MINUS); }
public function __construct() { parent::__construct(self::PRIORITY_LEFT_PAREN); }