Lines Matching refs:flags
14 public int $flags; variable in PhpParser\\Node\\Stmt\\Property
27 * @param int $flags Modifiers
34 …public function __construct(int $flags, array $props, array $attributes = [], ?Node $type = null, … argument
36 $this->flags = $flags;
51 return ($this->flags & Modifiers::PUBLIC) !== 0
52 || ($this->flags & Modifiers::VISIBILITY_MASK) === 0;
59 return (bool) ($this->flags & Modifiers::PROTECTED);
66 return (bool) ($this->flags & Modifiers::PRIVATE);
73 return (bool) ($this->flags & Modifiers::STATIC);
80 return (bool) ($this->flags & Modifiers::READONLY);
87 return (bool) ($this->flags & Modifiers::PUBLIC_SET);
94 return (bool) ($this->flags & Modifiers::PROTECTED_SET);
101 return (bool) ($this->flags & Modifiers::PRIVATE_SET);