Lines Matching refs:Modifiers

6 use PhpParser\Modifiers;  alias
1298 return ($this->flags & Modifiers::FINAL) || ($this->classFlags & Modifiers::FINAL);
1303 … return !($this->flags & Modifiers::STATIC) && $this->isMethod() && !$this->name->isConstructor();
1315 if ($this->flags & Modifiers::FINAL) {
1317 } elseif ($this->flags & Modifiers::ABSTRACT && $this->classFlags & ~Modifiers::ABSTRACT) {
1321 if ($this->flags & Modifiers::PROTECTED) {
1323 } elseif ($this->flags & Modifiers::PRIVATE) {
1329 if ($this->flags & Modifiers::STATIC) {
1376 if ($this->flags & Modifiers::ABSTRACT) {
1452 if ($this->flags & Modifiers::ABSTRACT) {
1565 if ($this->flags & Modifiers::PROTECTED) {
1567 } elseif ($this->flags & Modifiers::PRIVATE) {
1573 if ($this->flags & Modifiers::STATIC) {
1577 if ($this->flags & Modifiers::FINAL) {
1581 if ($this->flags & Modifiers::ABSTRACT) {
2413 if ($this->flags & Modifiers::PROTECTED) {
2415 } elseif ($this->flags & Modifiers::PRIVATE) {
2511 if ($this->flags & Modifiers::PUBLIC) {
2514 } elseif ($this->flags & Modifiers::PROTECTED) {
2517 } elseif ($this->flags & Modifiers::PRIVATE) {
2673 $this->flags &= ~Modifiers::FINAL;
2886 if ($this->flags & Modifiers::FINAL) {
2897 if ($this->flags & Modifiers::FINAL) {
3067 $this->flags &= ~Modifiers::READONLY;
3189 if ($this->flags & Modifiers::STATIC) {
3193 if ($this->flags & Modifiers::READONLY) {
3195 } elseif ($this->classFlags & Modifiers::READONLY) {
3210 if ($this->flags & Modifiers::STATIC) {
3215 if ($this->flags & Modifiers::READONLY || $this->isDocReadonly) {
3591 if ($this->flags & Modifiers::FINAL) {
3595 if ($this->flags & Modifiers::ABSTRACT) {
3617 if ($this->flags & Modifiers::READONLY) {
3643 $this->flags &= ~Modifiers::READONLY;
3873 if ($classInfo->flags & Modifiers::FINAL) {
3877 if ($classInfo->flags & Modifiers::ABSTRACT) {
3881 if ($classInfo->flags & Modifiers::READONLY) {
4026 if ($funcInfo->name->isConstructor() && !($funcInfo->flags & Modifiers::PRIVATE)) {
4905 $abstractFlag = $stmt instanceof Stmt\Interface_ ? Modifiers::ABSTRACT : 0;