@@ -3,7 +3,6 @@ |
||
| 3 | 3 | use Desmond\functions\DesmondFunction; |
| 4 | 4 | use Desmond\ArgumentHelper; |
| 5 | 5 | use Desmond\TypeHelper; |
| 6 | -use Desmond\data_types\VectorType; |
|
| 7 | 6 | use Desmond\exceptions\ArgumentException; |
| 8 | 7 | use RuntimeException; |
| 9 | 8 | use ArgumentCountError; |
@@ -49,11 +49,17 @@ |
||
| 49 | 49 | return fgets(STDIN); |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | + /** |
|
| 53 | + * @param string $input |
|
| 54 | + */ |
|
| 52 | 55 | private function isExitCommand($input) |
| 53 | 56 | { |
| 54 | 57 | return $input == "exit\n"; |
| 55 | 58 | } |
| 56 | 59 | |
| 60 | + /** |
|
| 61 | + * @param string $input |
|
| 62 | + */ |
|
| 57 | 63 | private function shouldBeProcessed($input) |
| 58 | 64 | { |
| 59 | 65 | return !empty($input) && !preg_match('/^;/', $input); |
@@ -1,7 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace Desmond; |
| 3 | 3 | use Desmond\Desmond; |
| 4 | -use Desmond\data_types\VoidType; |
|
| 5 | 4 | |
| 6 | 5 | class Repl |
| 7 | 6 | { |