Re: TemplateProcessingTracer question

2024-04-11 Thread Daniel Dekany
I have added a TracedElement parameter to exitElement. I will look into the exception question sometimes later. On Sat, Apr 6, 2024 at 8:02 PM Simon Hartley wrote: > > I know that this is something I'm abusing by treating it like a lifecycle > hook. > I asked just-in-case you thought it had any

Re: TemplateProcessingTracer question

2024-04-06 Thread Simon Hartley
I know that this is something I'm abusing by treating it like a lifecycle hook. I asked just-in-case you thought it had any impact on the design before it gets released. I had been thinking that exception checking would be similar to how Environment.isInAttemptBlock() is used. So within Template

Re: TemplateProcessingTracer question

2024-04-06 Thread Daniel Dekany
I believe TemplateProcessingTracer won't be used by 99.9...% percent of applications, so I added it with the assumption that its impact on performance and code complexity is practically nothing. And so, it's hooked in inside Environment.pushElement and popElement. And the pattern of calling those i