TreeFromLineStreamBuilder

FinalYes

Helper class of TreeBuilder classes: This class gets a node with a LineStream - a node created from a sys_template 'constants' or 'setup' field, or created from a file import or a string. It then looks for conditions and imports in the attached LineStream and splits the node into child nodes if needed.

So while SysTemplateTreeBuilder is all about creating includes from sys_template records in correct order, this class takes care of conditions and @import within single source streams.

This class has no cache-implementation itself: The higher level class caches include trees of token streams.

Tags
internal:

Internal tree structure.

Table of Contents

Methods

__construct()  : mixed
buildTree()  : void

Methods


        
On this page

Search results