[TASK] Cleanup and small improvements to Interceptors
authorSebastian Kurfuerst <sebastian@typo3.org>
Sun, 19 Jun 2011 08:14:10 +0000 (10:14 +0200)
committerSebastian Kurfuerst <sebastian@typo3.org>
Mon, 20 Jun 2011 08:16:59 +0000 (10:16 +0200)
commit8c66da55d664c43f4456275d17c84a65711c31be
tree8a20d1eb3dc90dec5c1e6de0b46687ab8b3be21a
parent0401b77da4a7e019f40f60737724da2d6238f521
[TASK] Cleanup and small improvements to Interceptors

Interceptors now also get passed the current Parsing State,
which they can use to interact with the tree. This can be helpful
to add new syntax tree elements dynamically after or before the
current one. While this functionality is not yet used inside Fluid,
it is used inside a package I am currently developing.

Original Change: 1c093afb1de5915c2302ebe737ced3c083abee67

Change-Id: Ie95c4e95fb4f8ca26e5e738aea965931a65adf5b
typo3/sysext/fluid/Classes/Core/Parser/Interceptor/Escape.php
typo3/sysext/fluid/Classes/Core/Parser/InterceptorInterface.php
typo3/sysext/fluid/Classes/Core/Parser/ParsingState.php
typo3/sysext/fluid/Classes/Core/Parser/TemplateParser.php
typo3/sysext/fluid/Classes/Core/Rendering/RenderingContext.php
typo3/sysext/fluid/Classes/Core/Rendering/RenderingContextInterface.php
typo3/sysext/fluid/Classes/View/AbstractTemplateView.php
typo3/sysext/fluid/Tests/Unit/Core/Parser/SyntaxTree/ViewHelperNodeTest.php