MediaWiki REL1_34
PPDStackElement_Hash Class Reference
Inheritance diagram for PPDStackElement_Hash:
Collaboration diagram for PPDStackElement_Hash:

Public Member Functions

 __construct ( $data=[])
 
 breakSyntax ( $openingCount=false)
 Get the accumulator that would result if the close is not found.
 
- Public Member Functions inherited from PPDStackElement
 addPart ( $s='')
 
getAccum ()
 
 getCurrentPart ()
 
 getFlags ()
 

Additional Inherited Members

- Public Attributes inherited from PPDStackElement
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)
 
 $partClass = PPDPart::class
 
PPDPart[] $parts
 Array of PPDPart objects describing pipe-separated parts.
 
string $savedPrefix = ''
 Saved prefix that may affect later processing, e.g.
 

Detailed Description

Definition at line 27 of file PPDStackElement_Hash.php.

Constructor & Destructor Documentation

◆ __construct()

PPDStackElement_Hash::__construct ( $data = [])

Reimplemented from PPDStackElement.

Definition at line 29 of file PPDStackElement_Hash.php.

Member Function Documentation

◆ breakSyntax()

PPDStackElement_Hash::breakSyntax ( $openingCount = false)

Get the accumulator that would result if the close is not found.

Parameters
int | bool$openingCount
Returns
array PhanParamSignatureMismatch

Reimplemented from PPDStackElement.

Definition at line 41 of file PPDStackElement_Hash.php.

References PPDStackElement\$count, and $s.


The documentation for this class was generated from the following file: