MediaWiki
1.34.0
|
Public Member Functions | |
__construct ( $data=[]) | |
addPart ( $s='') | |
breakSyntax ( $openingCount=false) | |
Get the output string that would result if the close is not found. More... | |
& | getAccum () |
getCurrentPart () | |
getFlags () | |
Public Attributes | |
string | $close |
Matching closing character. More... | |
int | $count |
Number of opening characters found (number of "=" for heading) More... | |
bool | $lineStart |
True if the open char appeared at the start of the input line. More... | |
string | $open |
Opening character (\n for heading) More... | |
$partClass = PPDPart::class | |
PPDPart[] | $parts |
Array of PPDPart objects describing pipe-separated parts. More... | |
string | $savedPrefix = '' |
Saved prefix that may affect later processing, e.g. More... | |
Definition at line 27 of file PPDStackElement.php.
PPDStackElement::__construct | ( | $data = [] | ) |
Reimplemented in PPDStackElement_Hash.
Definition at line 62 of file PPDStackElement.php.
References $partClass.
PPDStackElement::addPart | ( | $s = '' | ) |
Definition at line 75 of file PPDStackElement.php.
References $partClass, and $s.
PPDStackElement::breakSyntax | ( | $openingCount = false | ) |
Get the output string that would result if the close is not found.
bool | int | $openingCount |
Reimplemented in PPDStackElement_Hash.
Definition at line 106 of file PPDStackElement.php.
& PPDStackElement::getAccum | ( | ) |
Definition at line 71 of file PPDStackElement.php.
PPDStackElement::getCurrentPart | ( | ) |
Definition at line 83 of file PPDStackElement.php.
PPDStackElement::getFlags | ( | ) |
Definition at line 90 of file PPDStackElement.php.
string PPDStackElement::$close |
Matching closing character.
Definition at line 36 of file PPDStackElement.php.
int PPDStackElement::$count |
Number of opening characters found (number of "=" for heading)
Definition at line 47 of file PPDStackElement.php.
Referenced by PPDStackElement_Hash\breakSyntax(), and breakSyntax().
bool PPDStackElement::$lineStart |
True if the open char appeared at the start of the input line.
Not set for headings.
Definition at line 58 of file PPDStackElement.php.
string PPDStackElement::$open |
Opening character (\n for heading)
Definition at line 31 of file PPDStackElement.php.
PPDStackElement::$partClass = PPDPart::class |
Definition at line 60 of file PPDStackElement.php.
Referenced by __construct(), and addPart().
PPDPart [] PPDStackElement::$parts |
Array of PPDPart objects describing pipe-separated parts.
Definition at line 52 of file PPDStackElement.php.
string PPDStackElement::$savedPrefix = '' |
Saved prefix that may affect later processing, e.g.
to differentiate -{{{{
and {{{{
after later seeing }}}
.
Definition at line 42 of file PPDStackElement.php.