Package jetbrains.mps.generator.template
Class ReferenceMacroContext
- java.lang.Object
 - 
- jetbrains.mps.generator.template.TemplateQueryContext
 - 
- jetbrains.mps.generator.template.ReferenceMacroContext
 
 
 
- 
public final class ReferenceMacroContext extends TemplateQueryContext
What Reference Macro resolution code could expect to know about outer world. 
- 
- 
Field Summary
- 
Fields inherited from class jetbrains.mps.generator.template.TemplateQueryContext
myContext 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ReferenceMacroContext(TemplateContext context, SNode outputNode, SNodeReference macroNode, SReferenceLink role) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SNodegetOutputNode()'outputNode' mappingSNodegetOutputNodeByInputNodeAndMappingLabelAndOutputNodeScope(SNode inputNode, String label)"pick outputfor ( )" GenerationContextOp_GetOutputByLabelAndInputAndReferenceScope - 
Methods inherited from class jetbrains.mps.generator.template.TemplateQueryContext
createIndexedName, createUniqueName, getAllOutputNodesByInputNodeAndMappingLabel, getCopiedOutputNodeForInputNode, getGenerationParameter, getGenerator, getInputModel, getInputNode, getNode, getOriginalCopiedInputNode, getOriginalInputModel, getOutputModel, getOutputNodeByInputNodeAndMappingLabel, getOutputNodeByMappingLabel, getPatternVariable, getPreviousInputNodeByMappingLabel, getRuleNode, getSessionObject, getStepObject, getTemplateNodeRef, getTemplateReference, getTransientObject, getVariable, putSessionObject, putStepObject, putTransientObject, registerMappingLabel, showErrorMessage, showInformationMessage, showWarningMessage 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ReferenceMacroContext
public ReferenceMacroContext(@NotNull TemplateContext context, @NotNull SNode outputNode, @NotNull SNodeReference macroNode, @NotNull SReferenceLink role)
- Since:
 - 3.3
 
 
 - 
 
- 
Method Detail
- 
getOutputNode
public SNode getOutputNode()
'outputNode' mapping- Overrides:
 getOutputNodein classTemplateQueryContext
 
 - 
 
 -