CommentLine extends AbstractLine
FinalYes
A commented TypoScript line: Lines that start with "#", "//" and multiline comments "/* ... *\/"
Note multiline comments often represent multiple source lines: An opening "/" as first source line, then the comment body with one or more source lines, then finally the closing "/". These still create only one "CommentLine".
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