See whether better to use a custom TreeAdaptor, or is it better to add code fragments to the grammer - although this may generally be used for executing behaviour, but might be possible to construct the model.
This has been done using a TreeAdaptor with specific logic to determine when model objects should be constructed. This needs customisation as the model is defined.
See whether better to use a custom TreeAdaptor, or is it better to add code fragments to the grammer - although this may generally be used for executing behaviour, but might be possible to construct the model.