MediaWiki REL1_40
|
Public Member Functions | |
__construct ( $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) | |
string | $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 29 of file PPDStackElement_Hash.php.
PPDStackElement_Hash::__construct | ( | $data = [] | ) |
Definition at line 70 of file PPDStackElement_Hash.php.
References $partClass.
PPDStackElement_Hash::addPart | ( | $s = '' | ) |
Definition at line 83 of file PPDStackElement_Hash.php.
References $partClass.
PPDStackElement_Hash::breakSyntax | ( | $openingCount = false | ) |
Get the accumulator that would result if the close is not found.
int | false | $openingCount |
Definition at line 114 of file PPDStackElement_Hash.php.
References $count.
& PPDStackElement_Hash::getAccum | ( | ) |
Definition at line 79 of file PPDStackElement_Hash.php.
PPDStackElement_Hash::getCurrentPart | ( | ) |
Definition at line 91 of file PPDStackElement_Hash.php.
PPDStackElement_Hash::getFlags | ( | ) |
Definition at line 98 of file PPDStackElement_Hash.php.
string PPDStackElement_Hash::$close |
Matching closing character.
Definition at line 38 of file PPDStackElement_Hash.php.
int PPDStackElement_Hash::$count |
Number of opening characters found (number of "=" for heading)
Definition at line 54 of file PPDStackElement_Hash.php.
Referenced by breakSyntax().
bool PPDStackElement_Hash::$lineStart |
True if the open char appeared at the start of the input line.
Not set for headings.
Definition at line 65 of file PPDStackElement_Hash.php.
string PPDStackElement_Hash::$open |
Opening character (\n for heading)
Definition at line 33 of file PPDStackElement_Hash.php.
string PPDStackElement_Hash::$partClass = PPDPart_Hash::class |
Definition at line 68 of file PPDStackElement_Hash.php.
Referenced by __construct(), and addPart().
PPDPart_Hash [] PPDStackElement_Hash::$parts |
Array of PPDPart objects describing pipe-separated parts.
Definition at line 59 of file PPDStackElement_Hash.php.
string PPDStackElement_Hash::$savedPrefix = '' |
Saved prefix that may affect later processing, e.g.
to differentiate -{{{{
and {{{{
after later seeing }}}
.
Definition at line 44 of file PPDStackElement_Hash.php.
int PPDStackElement_Hash::$startPos |
Start offset of this element in the source wikitext.
Definition at line 49 of file PPDStackElement_Hash.php.