@@ -102,6 +102,10 @@ discard block |
||
102 | 102 | ); |
103 | 103 | } |
104 | 104 | } |
105 | + |
|
106 | + /** |
|
107 | + * @param string $content |
|
108 | + */ |
|
105 | 109 | public function createScopeForFile(File $file, $content, Index $index, $rewrite = true) |
106 | 110 | { |
107 | 111 | $startParser = microtime(1); |
@@ -114,6 +118,10 @@ discard block |
||
114 | 118 | $this->getLogger()->info("Parsing: [$end]s"); |
115 | 119 | return $scope; |
116 | 120 | } |
121 | + |
|
122 | + /** |
|
123 | + * @param string $hash |
|
124 | + */ |
|
117 | 125 | public function processFileScope(File $file, Index $index, FileScope $scope = null, $hash = null) |
118 | 126 | { |
119 | 127 | if (empty($scope)) { |
@@ -88,6 +88,10 @@ |
||
88 | 88 | } |
89 | 89 | return $nodes; |
90 | 90 | } |
91 | + |
|
92 | + /** |
|
93 | + * @param \Padawan\Domain\Project\Index $index |
|
94 | + */ |
|
91 | 95 | public function setIndex($index) |
92 | 96 | { |
93 | 97 | foreach ($this->walkers as $walker) { |