IdentifierAssignmentLine extends AbstractLine

FinalYes

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.

Tags
internal:

Internal tokenizer structure.

Table of Contents

Properties

$tokenStream  : TokenStreamInterface

Methods

getIdentifierTokenStream()  : IdentifierTokenStream
getTokenStream()  : TokenStreamInterface
getValueTokenStream()  : TokenStreamInterface
setIdentifierTokenStream()  : static
setTokenStream()  : static
Set and get the token stream that represents the full line. This is mostly used in backend to for instance create a TypoScript string back from tokenized lines.
setValueTokenStream()  : static

Properties

Methods

setTokenStream()

Set and get the token stream that represents the full line. This is mostly used in backend to for instance create a TypoScript string back from tokenized lines.

public setTokenStream(TokenStreamInterface $tokenStream) : static

Note: Only the LosslessTokenizer fills this 'full line' stream, LossyTokenizer does not for performance reasons.

Parameters
$tokenStream : TokenStreamInterface
Return values
static

        
On this page

Search results