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
Table of Contents
Properties
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
$tokenStream
protected
TokenStreamInterface
$tokenStream
Methods
getTokenStream()
public
getTokenStream() : TokenStreamInterface
Return values
TokenStreamInterfacesetTokenStream()
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