Visitor
Table of Contents
Interfaces
- IncludeTreeVisitorInterface
- A visitor that can be attached to IncludeTreeTraverser's.
Classes
- IncludeTreeAstBuilderVisitor
- Main visitor that creates the TypoScript AST: When adding this visitor and traversing the IncludeTree, the final AST can be fetched using getAst().
- IncludeTreeCommentAwareAstBuilderVisitor
- Secondary visitor that creates the TypoScript AST: When adding this visitor and traversing the IncludeTree, the final AST can be fetched using getAst().
- IncludeTreeConditionAggregatorVisitor
- Gather conditions in an IncludeTree.
- IncludeTreeConditionEnforcerVisitor
- Force condition verdicts.
- IncludeTreeConditionIncludeListAccumulatorVisitor
- This is used in FE to "gather" condition nodes as a flat tree (root + condition nodes).
- IncludeTreeConditionMatcherVisitor
- A visitor that looks at IncludeConditionInterface nodes and evaluates their conditions.
- IncludeTreeNodeFinderVisitor
- Find a single node in tree identified by node identifier.
- IncludeTreeSetupConditionConstantSubstitutionVisitor
- Handle constants within (TS setup) conditions: When a conditional include is like this: '["{$foo.bar}" == "4711"]', this visitor looks up 'foo.bar in given (flattened) constants and substitutes it with the constant value.
- IncludeTreeSourceAggregatorVisitor
- Create a TypoScript source back from an IncludeTree. Inline source from "@import" and friends.
- IncludeTreeSyntaxScannerVisitor
- This implements a simple TypoScript syntax scanner. It is used in page TSconfig and TypoScript "include" submodules to find and show broken syntax.