|
@@ 148-157 (lines=10) @@
|
| 145 |
|
return [Variable::NAMESPACE_TYPE, $handle]; |
| 146 |
|
} |
| 147 |
|
|
| 148 |
|
public function enterClass(N\Stmt\Class_ $node, $start_line, $end_line) { |
| 149 |
|
$handle = $this->insert->_class |
| 150 |
|
( $node->name |
| 151 |
|
, $this->location->_file() |
| 152 |
|
, $start_line |
| 153 |
|
, $end_line |
| 154 |
|
, $this->location->_namespace() |
| 155 |
|
); |
| 156 |
|
return [Variable::CLASS_TYPE, $handle]; |
| 157 |
|
} |
| 158 |
|
|
| 159 |
|
public function enterInterface(N\Stmt\Interface_ $node, $start_line, $end_line) { |
| 160 |
|
$handle = $this->insert->_interface |
|
@@ 159-168 (lines=10) @@
|
| 156 |
|
return [Variable::CLASS_TYPE, $handle]; |
| 157 |
|
} |
| 158 |
|
|
| 159 |
|
public function enterInterface(N\Stmt\Interface_ $node, $start_line, $end_line) { |
| 160 |
|
$handle = $this->insert->_interface |
| 161 |
|
( $node->name |
| 162 |
|
, $this->location->_file() |
| 163 |
|
, $start_line |
| 164 |
|
, $end_line |
| 165 |
|
, $this->location->_namespace() |
| 166 |
|
); |
| 167 |
|
return [Variable::INTERFACE_TYPE, $handle]; |
| 168 |
|
} |
| 169 |
|
|
| 170 |
|
public function enterTrait(N\Stmt\Trait_ $node, $start_line, $end_line) { |
| 171 |
|
$handle = $this->insert->_trait |
|
@@ 170-179 (lines=10) @@
|
| 167 |
|
return [Variable::INTERFACE_TYPE, $handle]; |
| 168 |
|
} |
| 169 |
|
|
| 170 |
|
public function enterTrait(N\Stmt\Trait_ $node, $start_line, $end_line) { |
| 171 |
|
$handle = $this->insert->_trait |
| 172 |
|
( $node->name |
| 173 |
|
, $this->location->_file() |
| 174 |
|
, $start_line |
| 175 |
|
, $end_line |
| 176 |
|
, $this->location->_namespace() |
| 177 |
|
); |
| 178 |
|
return [Variable::INTERFACE_TYPE, $handle]; |
| 179 |
|
} |
| 180 |
|
|
| 181 |
|
public function enterMethod(N\Stmt\ClassMethod $node, $start_line, $end_line) { |
| 182 |
|
$handle = $this->insert->_method |