class BitwiseNot
Hierarchy
- class \PhpParser\NodeAbstract implements \PhpParser\Node, \PhpParser\JsonSerializable
- class \PhpParser\Node\Expr extends \PhpParser\NodeAbstract
- class \PhpParser\Node\Expr\BitwiseNot extends \PhpParser\Node\Expr
- class \PhpParser\Node\Expr extends \PhpParser\NodeAbstract
Expanded class hierarchy of BitwiseNot
File
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ Node/ Expr/ BitwiseNot.php, line 7
Namespace
PhpParser\Node\ExprView source
class BitwiseNot extends Expr {
/** @var Expr Expression */
public Expr $expr;
/**
* Constructs a bitwise not node.
*
* @param Expr $expr Expression
* @param array<string, mixed> $attributes Additional attributes
*/
public function __construct(Expr $expr, array $attributes = []) {
$this->attributes = $attributes;
$this->expr = $expr;
}
public function getSubNodeNames() : array {
return [
'expr',
];
}
public function getType() : string {
return 'Expr_BitwiseNot';
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
BitwiseNot::$expr | public | property | @var Expr Expression |
BitwiseNot::getSubNodeNames | public | function | |
BitwiseNot::getType | public | function | |
BitwiseNot::__construct | public | function | Constructs a bitwise not node. |