[xwiki-devs] [Proposal] Rendering: Move MacroContentParser.getCurrentSyntax() to MacroTransformationContext.getCurrentSyntax()
Sergiu Dumitriu
sergiu at xwiki.com
Sat Jan 7 16:50:41 UTC 2012
On 01/07/2012 07:16 AM, Vincent Massol wrote:
> Hi dev,
>
> I've just noticed that we have a MacroContentParser.getCurrentSyntax() API.
>
> However there's a more general need of being able to get the current syntax even without using a MacroContentParser (I have this need now in some code).
>
> Thus I'm proposing to deprecate (remove?) the MacroContentParser.getCurrentSyntax() method and add a new MacroTransformationContext.getCurrentSyntax()
>
> WDYT?
+0. I'd like something even more generic, not related to
transformations. Do we have a ParsingContext?
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
More information about the devs
mailing list