Class TemplateCreateRootRuleInterpreted
- java.lang.Object
 - 
- jetbrains.mps.generator.runtime.CreateRootRuleBase
 - 
- jetbrains.mps.generator.impl.interpreted.TemplateCreateRootRuleInterpreted
 
 
 
- 
- All Implemented Interfaces:
 TemplateCreateRootRule,TemplateRule,TemplateRuleWithCondition
public class TemplateCreateRootRuleInterpreted extends CreateRootRuleBase implements TemplateCreateRootRule
 
- 
- 
Constructor Summary
Constructors Constructor Description TemplateCreateRootRuleInterpreted(SNode ruleNode) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<SNode>apply(TemplateExecutionEnvironment environment)booleanisApplicable(TemplateContext context)Subclasses can rely on default implementation to returntrue.- 
Methods inherited from class jetbrains.mps.generator.runtime.CreateRootRuleBase
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.TemplateRule
getRuleNode 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
TemplateCreateRootRuleInterpreted
public TemplateCreateRootRuleInterpreted(SNode ruleNode)
 
 - 
 
- 
Method Detail
- 
isApplicable
public boolean isApplicable(@NotNull TemplateContext context) throws GenerationFailureException
Description copied from class:CreateRootRuleBaseSubclasses can rely on default implementation to returntrue.- Specified by:
 isApplicablein interfaceTemplateRuleWithCondition- Overrides:
 isApplicablein classCreateRootRuleBase- Throws:
 GenerationFailureException
 
- 
apply
public Collection<SNode> apply(TemplateExecutionEnvironment environment) throws GenerationCanceledException, GenerationFailureException, DismissTopMappingRuleException
- Specified by:
 applyin interfaceTemplateCreateRootRule- Throws:
 GenerationCanceledExceptionGenerationFailureExceptionDismissTopMappingRuleException
 
 - 
 
 -