‪TYPO3CMS  ‪main
TYPO3\CMS\Core\TypoScript\Tokenizer\Line\IdentifierAssignmentLine Class Reference
Inheritance diagram for TYPO3\CMS\Core\TypoScript\Tokenizer\Line\IdentifierAssignmentLine:
TYPO3\CMS\Core\TypoScript\Tokenizer\Line\AbstractLine TYPO3\CMS\Core\TypoScript\Tokenizer\Line\LineInterface

Public Member Functions

 setIdentifierTokenStream (IdentifierTokenStream $tokenStream)
 
 getIdentifierTokenStream ()
 
 setValueTokenStream (TokenStreamInterface $tokenStream)
 
 getValueTokenStream ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\TypoScript\Tokenizer\Line\AbstractLine
 setTokenStream (TokenStreamInterface $tokenStream)
 
 getTokenStream ()
 

Private Attributes

IdentifierTokenStream $identifierTokenStream
 
TokenStreamInterface $valueTokenStream
 

Additional Inherited Members

- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\TypoScript\Tokenizer\Line\AbstractLine
TokenStreamInterface $tokenStream
 

Detailed Description

Simple "=" assignments and multiline "(" assignments: "foo.bar = barValue".

Each line has two additional token streams: $identifierTokenStream for the left side ("foo" and "bar" tokens) and $valueTokenStream for the right side ("barValue" token). Right side is often a single token only, but can be many tokens when constants and multiline assignments are involved.

Neither the left, nor the right side streams can be empty: Even with "foo.bar =" a T_VALUE token with empty value is created for the right side.

: Internal tokenizer structure.

Definition at line 36 of file IdentifierAssignmentLine.php.

Member Function Documentation

◆ getIdentifierTokenStream()

◆ getValueTokenStream()

◆ setIdentifierTokenStream()

TYPO3\CMS\Core\TypoScript\Tokenizer\Line\IdentifierAssignmentLine::setIdentifierTokenStream ( IdentifierTokenStream  $tokenStream)

◆ setValueTokenStream()

TYPO3\CMS\Core\TypoScript\Tokenizer\Line\IdentifierAssignmentLine::setValueTokenStream ( TokenStreamInterface  $tokenStream)

Member Data Documentation

◆ $identifierTokenStream

IdentifierTokenStream TYPO3\CMS\Core\TypoScript\Tokenizer\Line\IdentifierAssignmentLine::$identifierTokenStream
private

◆ $valueTokenStream

TokenStreamInterface TYPO3\CMS\Core\TypoScript\Tokenizer\Line\IdentifierAssignmentLine::$valueTokenStream
private