Lines Matching refs:Stmt
9 use PhpParser\Node\Stmt; alias
10 use PhpParser\Node\Stmt\Class_;
11 use PhpParser\Node\Stmt\Enum_;
12 use PhpParser\Node\Stmt\Interface_;
13 use PhpParser\Node\Stmt\Trait_;
2376 Stmt\PropertyProperty $property,
2432 Name $name, Stmt\ClassLike $class, array $properties, array $methods, array $enumCases
2495 function handlePreprocessorConditions(array &$conds, Stmt $stmt): ?string {
2543 if ($stmt instanceof Stmt\Nop) {
2547 if ($stmt instanceof Stmt\Namespace_) {
2553 if ($stmt instanceof Stmt\Function_) {
2565 if ($stmt instanceof Stmt\ClassLike) {
2572 if ($classStmt instanceof Stmt\Nop) {
2577 $abstractFlag = $stmt instanceof Stmt\Interface_ ? Class_::MODIFIER_ABSTRACT : 0;
2579 if ($classStmt instanceof Stmt\Property) {
2593 } else if ($classStmt instanceof Stmt\ClassMethod) {
2605 } else if ($classStmt instanceof Stmt\EnumCase) {