Lines Matching refs:stmt
24 foreach ($this->stmts as $stmt) {
25 if ($stmt instanceof TraitUse) {
26 $traitUses[] = $stmt;
37 foreach ($this->stmts as $stmt) {
38 if ($stmt instanceof ClassConst) {
39 $constants[] = $stmt;
50 foreach ($this->stmts as $stmt) {
51 if ($stmt instanceof Property) {
52 $properties[] = $stmt;
66 foreach ($this->stmts as $stmt) {
67 if ($stmt instanceof Property) {
68 foreach ($stmt->props as $prop) {
70 return $stmt;
85 foreach ($this->stmts as $stmt) {
86 if ($stmt instanceof ClassMethod) {
87 $methods[] = $stmt;
102 foreach ($this->stmts as $stmt) {
103 if ($stmt instanceof ClassMethod && $lowerName === $stmt->name->toLowerString()) {
104 return $stmt;