Package jetbrains.mps.generator.template
Class SourceSubstituteMacroNodesContext
- java.lang.Object
 - 
- jetbrains.mps.generator.template.TemplateQueryContext
 - 
- jetbrains.mps.generator.template.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. 
- 
- 
Field Summary
- 
Fields inherited from class jetbrains.mps.generator.template.TemplateQueryContext
myContext 
 - 
 
- 
Constructor Summary
Constructors Constructor Description SourceSubstituteMacroNodesContext(TemplateContext context, SNodeReference templateNode) 
- 
Method Summary
- 
Methods inherited from class jetbrains.mps.generator.template.TemplateQueryContext
createIndexedName, createUniqueName, getAllOutputNodesByInputNodeAndMappingLabel, getCopiedOutputNodeForInputNode, getGenerationParameter, getGenerator, getInputModel, getInputNode, getNode, getOriginalCopiedInputNode, getOriginalInputModel, getOutputModel, getOutputNode, getOutputNodeByInputNodeAndMappingLabel, getOutputNodeByMappingLabel, getPatternVariable, getPreviousInputNodeByMappingLabel, getRuleNode, getSessionObject, getStepObject, getTemplateNodeRef, getTemplateReference, getTransientObject, getVariable, putSessionObject, putStepObject, putTransientObject, registerMappingLabel, showErrorMessage, showInformationMessage, showWarningMessage 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
SourceSubstituteMacroNodesContext
public SourceSubstituteMacroNodesContext(@NotNull TemplateContext context, @NotNull SNodeReference templateNode)
- Since:
 - 3.1
 
 
 - 
 
 -