Package jetbrains.mps.generator
Interface IGenerationSettings
- 
- All Known Subinterfaces:
 IModifiableGenerationSettings
- All Known Implementing Classes:
 DefaultModifiableGenerationSettings
public interface IGenerationSettingsfyodor, 4/11/11 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIGenerationSettings.GenTraceSettingsgroup by steps - changes within individual generation phases are grouped under 'step' nodes show empty steps - when generation phases are grouped under step nodes, decides whether to show empty ones. 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancreateStaticReferences()For references we've got resolve info only, we can create either a dynamic reference and let it get resolved by name through scope, or we can resolve it right away (or on the first read) and keep it static.intgetNumberOfModelsToKeep()intgetNumberOfParallelThreads()intgetPerformanceTracingLevel()IGenerationSettings.GenTraceSettingsgetTraceSettings()Presentation options of the new generation tracer.booleanisGenerateDebugInfo()booleanisKeepModelsWithWarnings()booleanisParallelGenerator()booleanisSaveTransientModels()booleanisShowBadChildWarning()booleanisShowInfo()booleanisShowWarnings()booleanisStrictMode()booleanuseInplaceTransformations() 
 - 
 
- 
- 
Method Detail
- 
isParallelGenerator
boolean isParallelGenerator()
 
- 
isStrictMode
boolean isStrictMode()
 
- 
getNumberOfParallelThreads
int getNumberOfParallelThreads()
 
- 
getPerformanceTracingLevel
int getPerformanceTracingLevel()
 
- 
getNumberOfModelsToKeep
int getNumberOfModelsToKeep()
 
- 
isShowInfo
boolean isShowInfo()
 
- 
isShowWarnings
boolean isShowWarnings()
 
- 
isKeepModelsWithWarnings
boolean isKeepModelsWithWarnings()
 
- 
isGenerateDebugInfo
boolean isGenerateDebugInfo()
 
- 
isShowBadChildWarning
boolean isShowBadChildWarning()
 
- 
isSaveTransientModels
boolean isSaveTransientModels()
 
- 
useInplaceTransformations
boolean useInplaceTransformations()
 
- 
createStaticReferences
boolean createStaticReferences()
For references we've got resolve info only, we can create either a dynamic reference and let it get resolved by name through scope, or we can resolve it right away (or on the first read) and keep it static. It looks that use of dynamic references by default wasn't sensible decision at the first place, as resolution of dynamic reference requires scope each time reference is accessed. It didn't induce any issue unless we got thousands of DynamicReferences, and their resolution became nightmare. However, it's not obvious we do need dynamic references in the first place, for any node we refer to by name. 
- 
getTraceSettings
@NotNull IGenerationSettings.GenTraceSettings getTraceSettings()
Presentation options of the new generation tracer. At the moment, they affect the way trace is represented, not collected, and as such might not fit IGenerationSettings, but (a) trace functionality is inherently generator-related; (b) I don't want to introduce another location for settings 
 - 
 
 -