| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* Native-mode public parser entry point. |
| 5 |
* |
| 6 |
* Always extends the pure-PHP `WP_Parser` so `$parser instanceof WP_Parser` |
| 7 |
* keeps working for callers regardless of whether the Rust extension is |
| 8 |
* loaded. The actual parsing work is delegated to a composed |
| 9 |
* `WP_MySQL_Native_Parser` instance via the `WP_MySQL_Native_Parser_Impl` |
| 10 |
* trait — see that file for the per-method delegation. |
| 11 |
* |
| 12 |
* @access private |
| 13 |
*/ |
| 14 |
class WP_MySQL_Parser extends WP_Parser { |
| 15 |
use WP_MySQL_Native_Parser_Impl; |
| 16 |
} |
| 17 |
|