Class RefReductionRuleInterpreted
- java.lang.Object
 - 
- jetbrains.mps.generator.runtime.ReferenceReductionRuleBase
 - 
- jetbrains.mps.generator.impl.interpreted.RefReductionRuleInterpreted
 
 
 
- 
- All Implemented Interfaces:
 ReferenceReductionRule,TemplateRule,TemplateRuleForConcept,TemplateRuleWithCondition
public class RefReductionRuleInterpreted extends ReferenceReductionRuleBase
 
- 
- 
Constructor Summary
Constructors Constructor Description RefReductionRuleInterpreted(SNode rule) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(TemplateContext context, SNode outputNode)booleanisApplicable(TemplateContext context)Tell whether rule can be applied in the context FIXME shall throw GenerationFailureException (neither Dismiss/Abandon nor Cancel could not get thrown from within) but has to re-generate generated generators that implement this method (either with narrowed throws or without any at all)- 
Methods inherited from class jetbrains.mps.generator.runtime.ReferenceReductionRuleBase
getApplicableConcept, getApplicableLink, getRuleNode 
- 
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.ReferenceReductionRule
applyToInheritors 
 - 
 
 - 
 
- 
- 
Method Detail
- 
isApplicable
public boolean isApplicable(@NotNull TemplateContext context) throws GenerationFailureException
Description copied from interface:TemplateRuleWithConditionTell whether rule can be applied in the context FIXME shall throw GenerationFailureException (neither Dismiss/Abandon nor Cancel could not get thrown from within) but has to re-generate generated generators that implement this method (either with narrowed throws or without any at all)- Specified by:
 isApplicablein interfaceReferenceReductionRule- Specified by:
 isApplicablein interfaceTemplateRuleWithCondition- Overrides:
 isApplicablein classReferenceReductionRuleBase- Throws:
 GenerationFailureException
 
- 
apply
public void apply(@NotNull TemplateContext context, SNode outputNode) throws GenerationFailureException, GenerationCanceledException
 
 - 
 
 -