Package jetbrains.mps.generator.impl
Class GenPlanTranslator
- java.lang.Object
 - 
- jetbrains.mps.generator.impl.GenPlanTranslator
 
 
- 
public final class GenPlanTranslator extends Object
Mediator between a model with Plan node andModelGenerationPlanrun-time presentation. Translates sequence of plan steps from model into sequence ofGenerationPlanBuildercalls. I useGenerationPlanBuilderalthough it seems like an excessive mediator to hide implementation details and to facilitate plan creation not from a model-backed description. 
- 
- 
Constructor Summary
Constructors Constructor Description GenPlanTranslator(SNode planDeclaration) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenPlanTranslatorfeed(GenerationPlanBuilder planBuilder)Doesn't wrap the planBuilder, it's up to caller.PlanIdentitygetPlanIdentity() 
 - 
 
- 
- 
Method Detail
- 
getPlanIdentity
public PlanIdentity getPlanIdentity()
 
- 
feed
public GenPlanTranslator feed(@NotNull GenerationPlanBuilder planBuilder)
Doesn't wrap the planBuilder, it's up to caller.- Returns:
 thisfor convenience
 
 - 
 
 -