← All changes
|
wp-includes/database/parser/class-wp-parser-grammar.php
+3
-0
2.2.21
→
trunk
View file →
| @@ -7,8 +7,10 @@ | ||
| 7 | 7 | * It loads a compressed grammar from a PHP array, inflates it to an internal |
| 8 | 8 | * representation, and precomputes a lookup table for quick branch selection. |
| 9 | 9 | * |
| 10 | 10 | * @TODO: Add more details about the grammar implementation. |
| 11 | + * | |
| 12 | + * @access private | |
| 11 | 13 | */ |
| 12 | 14 | class WP_Parser_Grammar { |
| 13 | 15 | /** |
| 14 | 16 | * ID for a special grammar rule that represents an empty "ε" (epsilon) rule. |
| @@ -31,8 +33,9 @@ | ||
| 31 | 33 | public $fragment_ids; |
| 32 | 34 | public $lookahead_is_match_possible = array(); |
| 33 | 35 | public $lowest_non_terminal_id; |
| 34 | 36 | public $highest_terminal_id; |
| 37 | + public $native_grammar; | |
| 35 | 38 | |
| 36 | 39 | public function __construct( array $rules ) { |
| 37 | 40 | $this->inflate( $rules ); |
| 38 | 41 | } |