class BooleanNot
Hierarchy
- class \PhpParser\NodeAbstract implements \PhpParser\Node, \PhpParser\JsonSerializable
- class \PhpParser\Node\Expr extends \PhpParser\NodeAbstract
- class \PhpParser\Node\Expr\BooleanNot extends \PhpParser\Node\Expr
- class \PhpParser\Node\Expr extends \PhpParser\NodeAbstract
Expanded class hierarchy of BooleanNot
1 file declares its use of BooleanNot
- AssertTypeSpecifyingExtensionHelper.php in vendor/
phpstan/ phpstan-phpunit/ src/ Type/ PHPUnit/ Assert/ AssertTypeSpecifyingExtensionHelper.php
1 string reference to 'BooleanNot'
- SpaceUnaryOperatorSniff::process in vendor/
drupal/ coder/ coder_sniffer/ Drupal/ Sniffs/ Formatting/ SpaceUnaryOperatorSniff.php - Processes this test, when one of its tokens is encountered.
File
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ Node/ Expr/ BooleanNot.php, line 7
Namespace
PhpParser\Node\ExprView source
class BooleanNot extends Expr {
/** @var Expr Expression */
public Expr $expr;
/**
* Constructs a boolean 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_BooleanNot';
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
BooleanNot::$expr | public | property | @var Expr Expression |
BooleanNot::getSubNodeNames | public | function | |
BooleanNot::getType | public | function | |
BooleanNot::__construct | public | function | Constructs a boolean not node. |