| @@ 13263-13281 (lines=19) @@ | ||
| 13260 | $this->state = false; |
|
| 13261 | } |
|
| 13262 | } |
|
| 13263 | public function version_value() |
|
| 13264 | { |
|
| 13265 | if ($this->version = $this->get_value()) |
|
| 13266 | { |
|
| 13267 | $this->skip_whitespace(); |
|
| 13268 | if ($this->has_data()) |
|
| 13269 | { |
|
| 13270 | $this->state = 'encoding_name'; |
|
| 13271 | } |
|
| 13272 | else |
|
| 13273 | { |
|
| 13274 | $this->state = 'emit'; |
|
| 13275 | } |
|
| 13276 | } |
|
| 13277 | else |
|
| 13278 | { |
|
| 13279 | $this->state = false; |
|
| 13280 | } |
|
| 13281 | } |
|
| 13282 | public function encoding_name() |
|
| 13283 | { |
|
| 13284 | if (substr($this->data, $this->position, 8) === 'encoding') |
|
| @@ 13308-13326 (lines=19) @@ | ||
| 13305 | $this->state = false; |
|
| 13306 | } |
|
| 13307 | } |
|
| 13308 | public function encoding_value() |
|
| 13309 | { |
|
| 13310 | if ($this->encoding = $this->get_value()) |
|
| 13311 | { |
|
| 13312 | $this->skip_whitespace(); |
|
| 13313 | if ($this->has_data()) |
|
| 13314 | { |
|
| 13315 | $this->state = 'standalone_name'; |
|
| 13316 | } |
|
| 13317 | else |
|
| 13318 | { |
|
| 13319 | $this->state = 'emit'; |
|
| 13320 | } |
|
| 13321 | } |
|
| 13322 | else |
|
| 13323 | { |
|
| 13324 | $this->state = false; |
|
| 13325 | } |
|
| 13326 | } |
|
| 13327 | public function standalone_name() |
|
| 13328 | { |
|
| 13329 | if (substr($this->data, $this->position, 10) === 'standalone') |
|