Class TemplateReductionPatternRuleInterpreted
- java.lang.Object
 - 
- jetbrains.mps.generator.runtime.ReductionRuleBase
 - 
- jetbrains.mps.generator.impl.interpreted.TemplateReductionPatternRuleInterpreted
 
 
 
- 
- All Implemented Interfaces:
 TemplateReductionRule,TemplateRule,TemplateRuleForConcept
public class TemplateReductionPatternRuleInterpreted extends ReductionRuleBase implements TemplateReductionRule
Evgeny Gryaznov, 11/23/10 
- 
- 
Constructor Summary
Constructors Constructor Description TemplateReductionPatternRuleInterpreted(SNode ruleNode) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<SNode>apply(TemplateContext context)Try to apply rule in the given context- 
Methods inherited from class jetbrains.mps.generator.runtime.ReductionRuleBase
applyToInheritors, getApplicableConcept, getRuleNode, isApplicable 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface jetbrains.mps.generator.runtime.TemplateRule
getRuleNode 
- 
Methods inherited from interface jetbrains.mps.generator.runtime.TemplateRuleForConcept
applyToInheritors, getApplicableConcept 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
TemplateReductionPatternRuleInterpreted
public TemplateReductionPatternRuleInterpreted(SNode ruleNode)
 
 - 
 
- 
Method Detail
- 
apply
public Collection<SNode> apply(@NotNull TemplateContext context) throws GenerationException
Description copied from interface:TemplateReductionRuleTry to apply rule in the given context- Specified by:
 applyin interfaceTemplateReductionRule- 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.
 
 - 
 
 -