Skip to content
Snippets Groups Projects
Commit bf1440f7 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] TS Parser: Update a visitor variable name

A misleading variable name is updated to make
the method more clear and easier to read.

Resolves: #100181
Related: #97816
Releases: main
Change-Id: I12b646196cbb80d521eb8bb3a1bd175ef3d9bbdc
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78136


Tested-by: default avatarJasmina Ließmann <minapokhalo+typo3@gmail.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Reviewed-by: default avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarJasmina Ließmann <minapokhalo+typo3@gmail.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent bfa2524c
Branches
Tags
No related merge requests found
......@@ -82,11 +82,11 @@ final class IncludeTreeAstBuilderVisitor implements IncludeTreeVisitorInterface
*/
public function visit(IncludeInterface $include, int $currentDepth): void
{
$tokenStream = $include->getLineStream();
if ($tokenStream && !$include->isSplit()) {
$lineStream = $include->getLineStream();
if ($lineStream && !$include->isSplit()) {
// A "split" include means that the entire TypoScript is split into child includes. The
// TokenStream of the split include itself must not be parsed, so it's excluded here.
$this->ast = $this->astBuilder->build($tokenStream, $this->ast, $this->flatConstants);
$this->ast = $this->astBuilder->build($lineStream, $this->ast, $this->flatConstants);
}
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment