EmptyLine extends AbstractLine

FinalYes

A completely empty line, or a line consisting of tabs or whitespaces only.

This is not created when the TypoScript source line is within multiline "(" assignments and multiline "/*" comments: The T_BLANK and T_NEWLINE tokens are part of the value steram in these contexts.

Note the LossyTokenizers does not create these and just skips them since they have no semantic meaning for the resulting TypoScript tree.

Tags
internal:

Internal tokenizer structure.

Table of Contents

Properties

$tokenStream  : TokenStreamInterface

Methods

getTokenStream()  : TokenStreamInterface
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.

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