Instead of the hack that that uses session parameters to pass parameters to expandMacro, use directly `withParams` method on macro token. All parameters are mapped to corresponding fields. Introduce CustomSessionParameter to access parameters in TemplateApplicationSession. |
||
|---|---|---|
| .. | ||
| generator/template | ||
| languageModels | ||
| runtime | ||
| jetbrains.mps.lang.coderules.mpl | ||
| jetbrains.mps.lang.typesystem2.migration | ||