‪TYPO3CMS  ‪main
TYPO3\CMS\Core\TypoScript\AST\CurrentObjectPath\CurrentObjectPathStack Class Reference

Public Member Functions

 push (CurrentObjectPath $path)
 
 pop ()
 
 getCurrent ()
 
 getFirst ()
 

Private Attributes

array $stack = []
 
int $stackSize = 0
 

Detailed Description

A stack for CurrentObjectPath: When opening a block "{", CurrentObjectPath is pushed, when closing a block "}", it is popped from this stack.

: Internal AST structure.

Definition at line 27 of file CurrentObjectPathStack.php.

Member Function Documentation

◆ getCurrent()

TYPO3\CMS\Core\TypoScript\AST\CurrentObjectPath\CurrentObjectPathStack::getCurrent ( )

◆ getFirst()

TYPO3\CMS\Core\TypoScript\AST\CurrentObjectPath\CurrentObjectPathStack::getFirst ( )

Definition at line 59 of file CurrentObjectPathStack.php.

◆ pop()

TYPO3\CMS\Core\TypoScript\AST\CurrentObjectPath\CurrentObjectPathStack::pop ( )

◆ push()

TYPO3\CMS\Core\TypoScript\AST\CurrentObjectPath\CurrentObjectPathStack::push ( CurrentObjectPath  $path)

Member Data Documentation

◆ $stack

array TYPO3\CMS\Core\TypoScript\AST\CurrentObjectPath\CurrentObjectPathStack::$stack = []
private

Definition at line 32 of file CurrentObjectPathStack.php.

◆ $stackSize

int TYPO3\CMS\Core\TypoScript\AST\CurrentObjectPath\CurrentObjectPathStack::$stackSize = 0
private

Definition at line 33 of file CurrentObjectPathStack.php.