@@ -3022,6 +3022,9 @@ discard block |
||
| 3022 | 3022 | return '"' . substr($this->string, $this->position) . '"'; |
| 3023 | 3023 | } |
| 3024 | 3024 | |
| 3025 | + /** |
|
| 3026 | + * @param string $expecting |
|
| 3027 | + */ |
|
| 3025 | 3028 | protected function report($position, $expecting) |
| 3026 | 3029 | { |
| 3027 | 3030 | if ($this->cut) { |
@@ -3044,6 +3047,9 @@ discard block |
||
| 3044 | 3047 | return implode(', ', end($this->warnings)); |
| 3045 | 3048 | } |
| 3046 | 3049 | |
| 3050 | + /** |
|
| 3051 | + * @param string $_string |
|
| 3052 | + */ |
|
| 3047 | 3053 | public function parse($_string) |
| 3048 | 3054 | { |
| 3049 | 3055 | $this->string = $_string; |