MediaWiki  1.28.0
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. More...
 
- Public Member Functions inherited from PPDStackElement
 __construct ($data=[])
 
 addPart ($s= '')
 
 breakSyntax ($openingCount=false)
 Get the output string that would result if the close is not found. More...
 
getAccum ()
 
 getCurrentPart ()
 
 getFlags ()
 

Additional Inherited Members

- Public Attributes inherited from PPDStackElement
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'
 
PPDPart[] $parts
 Array of PPDPart objects describing pipe-separated parts. More...
 

Detailed Description

Definition at line 720 of file Preprocessor_Hash.php.

Constructor & Destructor Documentation

PPDStackElement_Hash::__construct (   $data = [])

Definition at line 723 of file Preprocessor_Hash.php.

Member Function Documentation

PPDStackElement_Hash::breakSyntax (   $openingCount = false)

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

Parameters
int | bool$openingCount
Returns
array

Definition at line 734 of file Preprocessor_Hash.php.

References PPDStackElement\$count, as, and Makefile\open.


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