Class SourceSubstituteMacroNodesContext


  • public class SourceSubstituteMacroNodesContext
    extends TemplateQueryContext
    Despite the name, the context serves not only to 'sourceNodesQuery' in macros but also to similar queries in rules (any sourceNodesQuery) in fact. For transition period (I don't like the idea of templates instantiating these context classes directly) I leave this class and its usages as is (i.e. both from rules and macros), although have changed superclass to fulfil genContext.templateNode contract.