MediaWiki REL1_39
PPDStack_Hash Class Reference

Stack class to help Preprocessor::preprocessToObj() More...

Collaboration diagram for PPDStack_Hash:

Public Member Functions

 __construct ()
 
 addPart ( $s='')
 
 count ()
 
getAccum ()
 
 getCurrentPart ()
 
 getFlags ()
 
 pop ()
 
 push ( $data)
 

Public Attributes

string[] $accum
 
 $elementClass = PPDStackElement_Hash::class
 
 $out
 
string[] $rootAccum
 
PPDStackElement_Hash[] $stack
 
PPDStackElement_Hash false $top
 

Static Public Attributes

static $false = false
 

Detailed Description

Stack class to help Preprocessor::preprocessToObj()

Definition at line 27 of file PPDStack_Hash.php.

Constructor & Destructor Documentation

◆ __construct()

PPDStack_Hash::__construct ( )

Definition at line 44 of file PPDStack_Hash.php.

References $rootAccum.

Member Function Documentation

◆ addPart()

PPDStack_Hash::addPart ( $s = '')

Definition at line 100 of file PPDStack_Hash.php.

References $s.

◆ count()

PPDStack_Hash::count ( )
Returns
int

Definition at line 54 of file PPDStack_Hash.php.

References count().

Referenced by count(), pop(), and push().

◆ getAccum()

& PPDStack_Hash::getAccum ( )

Definition at line 58 of file PPDStack_Hash.php.

References $accum.

◆ getCurrentPart()

PPDStack_Hash::getCurrentPart ( )
Returns
false|PPDPart_Hash

Definition at line 65 of file PPDStack_Hash.php.

◆ getFlags()

PPDStack_Hash::getFlags ( )
Returns
array

Definition at line 108 of file PPDStack_Hash.php.

◆ pop()

PPDStack_Hash::pop ( )

Definition at line 84 of file PPDStack_Hash.php.

References $false, $rootAccum, and count().

◆ push()

PPDStack_Hash::push ( $data)

Definition at line 73 of file PPDStack_Hash.php.

References $elementClass, and count().

Member Data Documentation

◆ $accum

string [] PPDStack_Hash::$accum

Definition at line 33 of file PPDStack_Hash.php.

Referenced by getAccum().

◆ $elementClass

PPDStack_Hash::$elementClass = PPDStackElement_Hash::class

Definition at line 40 of file PPDStack_Hash.php.

Referenced by push().

◆ $false

PPDStack_Hash::$false = false
static

Definition at line 42 of file PPDStack_Hash.php.

Referenced by pop().

◆ $out

PPDStack_Hash::$out

Definition at line 39 of file PPDStack_Hash.php.

◆ $rootAccum

string [] PPDStack_Hash::$rootAccum

Definition at line 31 of file PPDStack_Hash.php.

Referenced by __construct(), and pop().

◆ $stack

PPDStackElement_Hash [] PPDStack_Hash::$stack

Definition at line 29 of file PPDStack_Hash.php.

◆ $top

PPDStackElement_Hash false PPDStack_Hash::$top

Definition at line 38 of file PPDStack_Hash.php.


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