MediaWiki  master
PPDStack Class Reference

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

Inheritance diagram for PPDStack:
Collaboration diagram for PPDStack:

Public Member Functions

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

Public Attributes

 $elementClass = PPDStackElement::class
 
 $out
 
 $rootAccum
 
 $stack
 
PPDStack false $top
 

Static Public Attributes

static $false = false
 

Detailed Description

Stack class to help Preprocessor::preprocessToObj()

Definition at line 26 of file PPDStack.php.

Constructor & Destructor Documentation

◆ __construct()

PPDStack::__construct ( )

Definition at line 38 of file PPDStack.php.

References $rootAccum.

Member Function Documentation

◆ addPart()

PPDStack::addPart (   $s = '')

Definition at line 94 of file PPDStack.php.

References $s.

◆ count()

PPDStack::count ( )
Returns
int

Definition at line 48 of file PPDStack.php.

Referenced by pop(), and push().

◆ getAccum()

& PPDStack::getAccum ( )

Definition at line 52 of file PPDStack.php.

◆ getCurrentPart()

PPDStack::getCurrentPart ( )
Returns
bool|PPDPart

Definition at line 59 of file PPDStack.php.

◆ getFlags()

PPDStack::getFlags ( )
Returns
array

Definition at line 102 of file PPDStack.php.

◆ pop()

PPDStack::pop ( )

Definition at line 78 of file PPDStack.php.

References $rootAccum, and count().

◆ push()

PPDStack::push (   $data)

Definition at line 67 of file PPDStack.php.

References $elementClass, and count().

Member Data Documentation

◆ $elementClass

PPDStack::$elementClass = PPDStackElement::class

Definition at line 34 of file PPDStack.php.

Referenced by push().

◆ $false

PPDStack::$false = false
static

Definition at line 36 of file PPDStack.php.

◆ $out

PPDStack::$out

Definition at line 33 of file PPDStack.php.

◆ $rootAccum

PPDStack::$rootAccum

Definition at line 27 of file PPDStack.php.

Referenced by __construct(), and pop().

◆ $stack

PPDStack::$stack

Definition at line 27 of file PPDStack.php.

◆ $top

PPDStack false PPDStack::$top

Definition at line 32 of file PPDStack.php.


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