@@ -1733,6 +1733,9 @@ discard block |
||
1733 | 1733 | return '"' . substr($this->string, $this->position) . '"'; |
1734 | 1734 | } |
1735 | 1735 | |
1736 | + /** |
|
1737 | + * @param string $expecting |
|
1738 | + */ |
|
1736 | 1739 | protected function report($position, $expecting) |
1737 | 1740 | { |
1738 | 1741 | if ($this->cut) { |
@@ -1755,6 +1758,9 @@ discard block |
||
1755 | 1758 | return implode(', ', end($this->warnings)); |
1756 | 1759 | } |
1757 | 1760 | |
1761 | + /** |
|
1762 | + * @param string $_string |
|
1763 | + */ |
|
1758 | 1764 | public function parse($_string) |
1759 | 1765 | { |
1760 | 1766 | $this->string = $_string; |