|
MediaWiki master
|

Public Member Functions | |
| __construct (array $data=[]) | |
| addPart ( $s='') | |
| breakSyntax ( $openingCount=false) | |
| Get the accumulator that would result if the close is not found. | |
| & | getAccum () |
| getCurrentPart () | |
| getFlags () | |
Public Attributes | |
| string | $close |
| Matching closing character. | |
| int | $count |
| Number of opening characters found (number of "=" for heading) | |
| bool | $lineStart |
| True if the open char appeared at the start of the input line. | |
| string | $open |
| Opening character (\n for heading) | |
| class string< PPDPart_Hash > | $partClass = PPDPart_Hash::class |
| PPDPart_Hash[] | $parts |
| Array of PPDPart objects describing pipe-separated parts. | |
| string | $savedPrefix = '' |
| Saved prefix that may affect later processing, e.g. | |
| int | $startPos |
| Start offset of this element in the source wikitext. | |
Definition at line 17 of file PPDStackElement_Hash.php.
| MediaWiki\Parser\PPDStackElement_Hash::__construct | ( | array | $data = [] | ) |
Definition at line 58 of file PPDStackElement_Hash.php.
References MediaWiki\Parser\PPDStackElement_Hash\$partClass.
| MediaWiki\Parser\PPDStackElement_Hash::addPart | ( | $s = '' | ) |
Definition at line 73 of file PPDStackElement_Hash.php.
References MediaWiki\Parser\PPDStackElement_Hash\$partClass.
| MediaWiki\Parser\PPDStackElement_Hash::breakSyntax | ( | $openingCount = false | ) |
Get the accumulator that would result if the close is not found.
| int | false | $openingCount |
Definition at line 104 of file PPDStackElement_Hash.php.
References MediaWiki\Parser\PPDStackElement_Hash\$count.
| & MediaWiki\Parser\PPDStackElement_Hash::getAccum | ( | ) |
Definition at line 68 of file PPDStackElement_Hash.php.
| MediaWiki\Parser\PPDStackElement_Hash::getCurrentPart | ( | ) |
Definition at line 81 of file PPDStackElement_Hash.php.
| MediaWiki\Parser\PPDStackElement_Hash::getFlags | ( | ) |
Definition at line 88 of file PPDStackElement_Hash.php.
| string MediaWiki\Parser\PPDStackElement_Hash::$close |
Matching closing character.
Definition at line 26 of file PPDStackElement_Hash.php.
| int MediaWiki\Parser\PPDStackElement_Hash::$count |
Number of opening characters found (number of "=" for heading)
Definition at line 42 of file PPDStackElement_Hash.php.
Referenced by MediaWiki\Parser\PPDStackElement_Hash\breakSyntax().
| bool MediaWiki\Parser\PPDStackElement_Hash::$lineStart |
True if the open char appeared at the start of the input line.
Not set for headings.
Definition at line 53 of file PPDStackElement_Hash.php.
| string MediaWiki\Parser\PPDStackElement_Hash::$open |
Opening character (\n for heading)
Definition at line 21 of file PPDStackElement_Hash.php.
| class string<PPDPart_Hash> MediaWiki\Parser\PPDStackElement_Hash::$partClass = PPDPart_Hash::class |
Definition at line 56 of file PPDStackElement_Hash.php.
Referenced by MediaWiki\Parser\PPDStackElement_Hash\__construct(), and MediaWiki\Parser\PPDStackElement_Hash\addPart().
| PPDPart_Hash [] MediaWiki\Parser\PPDStackElement_Hash::$parts |
Array of PPDPart objects describing pipe-separated parts.
Definition at line 47 of file PPDStackElement_Hash.php.
| string MediaWiki\Parser\PPDStackElement_Hash::$savedPrefix = '' |
Saved prefix that may affect later processing, e.g.
to differentiate -{{{{ and {{{{ after later seeing }}}.
Definition at line 32 of file PPDStackElement_Hash.php.
| int MediaWiki\Parser\PPDStackElement_Hash::$startPos |
Start offset of this element in the source wikitext.
Definition at line 37 of file PPDStackElement_Hash.php.