← All changes
|
wp-includes/database/parser/class-wp-parser-token.php
+3
-1
2.2.21
→
trunk
View file →
| @@ -6,8 +6,10 @@ | ||
| 6 | 6 | * This class represents a token that is consumed and recognized by WP_Parser. |
| 7 | 7 | * In a parse tree, a token represent a leaf, that is, a node without children. |
| 8 | 8 | * It is a simple generic container for a token ID and value, that can be used |
| 9 | 9 | * as a base class and extended for specific use cases. |
| 10 | + * | |
| 11 | + * @access private | |
| 10 | 12 | */ |
| 11 | 13 | class WP_Parser_Token { |
| 12 | 14 | /** |
| 13 | 15 | * Token ID represented as an integer constant. |
| @@ -34,9 +36,9 @@ | ||
| 34 | 36 | * Input bytes from which the token was parsed. |
| 35 | 37 | * |
| 36 | 38 | * @var string |
| 37 | 39 | */ |
| 38 | - private $input; | |
| 40 | + protected $input; | |
| 39 | 41 | |
| 40 | 42 | /** |
| 41 | 43 | * Constructor. |
| 42 | 44 | * |