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
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