|
| assertEnd () |
| If the position is not at the end of the input string, raise an error, complaining of trailing characters.
|
|
| consumeFixedDigits ( $numDigits) |
| Consume a specified number of digits, or throw an exception.
|
|
| consumeString ( $s) |
| Consume a specified string, or throw an exception.
|
|
| error ( $message) |
| Throw an exception to indicate a parse error.
|
|
| setInput ( $input) |
| Set the input, and derived convenience properties.
|
|
| skipWhitespace () |
| Skip whitespace at the input position (OWS)
|
|
|
string | $input |
| The input string being processed.
|
|
int | $inputLength |
| The length of $input.
|
|
int | $pos |
| The position within $input.
|
|
- Access: internal
Definition at line 8 of file HeaderParserBase.php.
◆ assertEnd()
MediaWiki\Rest\HeaderParser\HeaderParserBase::assertEnd |
( |
| ) |
|
|
protected |
◆ consumeFixedDigits()
MediaWiki\Rest\HeaderParser\HeaderParserBase::consumeFixedDigits |
( |
| $numDigits | ) |
|
|
protected |
◆ consumeString()
MediaWiki\Rest\HeaderParser\HeaderParserBase::consumeString |
( |
| $s | ) |
|
|
protected |
◆ error()
MediaWiki\Rest\HeaderParser\HeaderParserBase::error |
( |
| $message | ) |
|
|
protected |
◆ setInput()
MediaWiki\Rest\HeaderParser\HeaderParserBase::setInput |
( |
| $input | ) |
|
|
protected |
◆ skipWhitespace()
MediaWiki\Rest\HeaderParser\HeaderParserBase::skipWhitespace |
( |
| ) |
|
|
protected |
◆ $input
string MediaWiki\Rest\HeaderParser\HeaderParserBase::$input |
|
protected |
◆ $inputLength
int MediaWiki\Rest\HeaderParser\HeaderParserBase::$inputLength |
|
protected |
◆ $pos
int MediaWiki\Rest\HeaderParser\HeaderParserBase::$pos |
|
protected |
The documentation for this class was generated from the following file: