IdentifierFunctionLine extends AbstractLine

FinalYes

A line with a function assignment using the ":=" operator: "foo.bar := addToList(42)".

Contains $identifierTokenStream for the left side ("foo" and "bar" token), a single token for the function name ("addToList"), and an optional token for the value ("42"). Note the value token is optional since there are functions without values (eg. "uniqueList()").

Tags
internal:

Internal tokenizer structure.

Table of Contents

Properties

$tokenStream  : TokenStreamInterface

Methods

getFunctionNameToken()  : Token
getFunctionValueTokenStream()  : TokenStreamInterface
getIdentifierTokenStream()  : IdentifierTokenStream
getTokenStream()  : TokenStreamInterface
setFunctionNameToken()  : IdentifierFunctionLine
setFunctionValueTokenStream()  : IdentifierFunctionLine
setIdentifierTokenStream()  : IdentifierFunctionLine
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