MediaWiki  1.29.1
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'
 
 $out
 
 $rootAccum
 
 $stack
 
PPDStack $top
 

Static Public Attributes

static $false = false
 

Detailed Description

Stack class to help Preprocessor::preprocessToObj()

Definition at line 761 of file Preprocessor_DOM.php.

Constructor & Destructor Documentation

◆ __construct()

PPDStack::__construct ( )

Reimplemented in PPDStack_Hash.

Definition at line 773 of file Preprocessor_DOM.php.

References $rootAccum.

Member Function Documentation

◆ addPart()

PPDStack::addPart (   $s = '')

Definition at line 826 of file Preprocessor_DOM.php.

References $s.

◆ count()

PPDStack::count ( )
Returns
int

Definition at line 783 of file Preprocessor_DOM.php.

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

◆ getAccum()

& PPDStack::getAccum ( )

Definition at line 787 of file Preprocessor_DOM.php.

◆ getCurrentPart()

PPDStack::getCurrentPart ( )

Definition at line 791 of file Preprocessor_DOM.php.

◆ getFlags()

PPDStack::getFlags ( )
Returns
array

Definition at line 834 of file Preprocessor_DOM.php.

References count().

◆ pop()

PPDStack::pop ( )

Definition at line 810 of file Preprocessor_DOM.php.

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

◆ push()

PPDStack::push (   $data)

Definition at line 799 of file Preprocessor_DOM.php.

References $elementClass, and count().

Member Data Documentation

◆ $elementClass

PPDStack::$elementClass = 'PPDStackElement'

Definition at line 769 of file Preprocessor_DOM.php.

Referenced by push().

◆ $false

PPDStack::$false = false
static

Definition at line 771 of file Preprocessor_DOM.php.

Referenced by pop().

◆ $out

PPDStack::$out

Definition at line 768 of file Preprocessor_DOM.php.

◆ $rootAccum

PPDStack::$rootAccum

Definition at line 762 of file Preprocessor_DOM.php.

Referenced by __construct(), and pop().

◆ $stack

PPDStack::$stack

Definition at line 762 of file Preprocessor_DOM.php.

◆ $top

PPDStack PPDStack::$top

Definition at line 767 of file Preprocessor_DOM.php.


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