Package jetbrains.mps.generator.runtime
Interface TemplateReductionRule
- 
- All Superinterfaces:
 TemplateRule,TemplateRuleForConcept
- All Known Implementing Classes:
 ReductionRuleBase,TemplateReductionPatternRuleInterpreted,TemplateReductionRuleInterpreted
public interface TemplateReductionRule extends TemplateRuleForConcept
XXX why this rule doesn't extend TemplateRuleWithCondition? Evgeny Gryaznov, 10/27/10 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<SNode>apply(TemplateContext context)Try to apply rule in the given context- 
Methods inherited from interface jetbrains.mps.generator.runtime.TemplateRule
getRuleNode 
- 
Methods inherited from interface jetbrains.mps.generator.runtime.TemplateRuleForConcept
applyToInheritors, getApplicableConcept 
 - 
 
 - 
 
- 
- 
Method Detail
- 
apply
@Nullable Collection<SNode> apply(@NotNull TemplateContext context) throws GenerationException
Try to apply rule in the given context- Parameters:
 context- execution context- Returns:
 nullto indicate this rule could not do anything to active input node- Throws:
 GenerationException- failure/cancellation/control flow. BothDismissTopMappingRuleExceptionandAbandonRuleInputExceptionexceptions are honoured.
 
 - 
 
 -