IdentifierBlockOpenLine extends AbstractLine
FinalYes
A block open line: "foo.bar {".
$identifierTokenStream is a stream of tokens on the left side, "foo" and "bar" token in the example above. That stream must not be empty.
Tags
Table of Contents
Properties
Methods
- getIdentifierTokenStream() : IdentifierTokenStream
- getTokenStream() : 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.
Properties
$tokenStream
protected
TokenStreamInterface
$tokenStream
Methods
getIdentifierTokenStream()
public
getIdentifierTokenStream() : IdentifierTokenStream
Return values
IdentifierTokenStreamgetTokenStream()
public
getTokenStream() : TokenStreamInterface
Return values
TokenStreamInterfacesetIdentifierTokenStream()
public
setIdentifierTokenStream(IdentifierTokenStream $tokenStream) : static
Parameters
- $tokenStream : IdentifierTokenStream
Return values
staticsetTokenStream()
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