‪TYPO3CMS  ‪main
TYPO3\CMS\Core\TypoScript\AST\AstBuilderInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Core\TypoScript\AST\AstBuilderInterface:
TYPO3\CMS\Core\TypoScript\AST\AstBuilder TYPO3\CMS\Core\TypoScript\AST\CommentAwareAstBuilder

Public Member Functions

 build (LineStream $lineStream, RootNode $ast, array $flatConstants=[])
 

Detailed Description

The main TypoScript AST builder.

This creates a tree of Nodes, starting with the root node. Each node can have children. The implementation basically iterates a LineStream created by the tokenizers, and creates AST depending on the line type. It handles all the different operator lines like "=", "<" and so on.

: Internal AST structure.

Definition at line 33 of file AstBuilderInterface.php.

Member Function Documentation

◆ build()

TYPO3\CMS\Core\TypoScript\AST\AstBuilderInterface::build ( LineStream  $lineStream,
RootNode  $ast,
array  $flatConstants = [] 
)