diff --git a/docs/reference/converter-lang.adoc b/docs/reference/converter-lang.adoc index a397138..85001a0 100644 --- a/docs/reference/converter-lang.adoc +++ b/docs/reference/converter-lang.adoc @@ -48,6 +48,16 @@ Converts all listed languages completely. If any element in the listed languages uses an element from a non-listed language, we include the element of the non-listed language -- but not any other elements of that non-listed language. We apply this strategy (known as _tree shaking_) transitively until we included all used elements. +We can set some flags for special annotation handling: + +[horizontal] +export description annotations:: +Whether concept descriptions should be exported as instances of `io.lionweb.mps.specific.lang.MPS-specific annotations.ConceptDescription`. + +export special annotations:: +Whether special concept annotations should be exported: ++ +* `jetbrains.mps.lang.structure.structure.DeprecatedNodeAnnotation` -> `io.lionweb.mps.specific.lang.MPS-specific annotations.Deprecated` [[instance-json]] == MPS Instance Model ↔ JSON diff --git a/languages/io.lionweb.mps.converter.lang/models/io.lionweb.mps.converter.lang.editor.mps b/languages/io.lionweb.mps.converter.lang/models/io.lionweb.mps.converter.lang.editor.mps index 5887193..081f643 100644 --- a/languages/io.lionweb.mps.converter.lang/models/io.lionweb.mps.converter.lang.editor.mps +++ b/languages/io.lionweb.mps.converter.lang/models/io.lionweb.mps.converter.lang.editor.mps @@ -257,6 +257,15 @@ + + + + + + + + + diff --git a/languages/io.lionweb.mps.converter.lang/models/io.lionweb.mps.converter.lang.intentions.mps b/languages/io.lionweb.mps.converter.lang/models/io.lionweb.mps.converter.lang.intentions.mps index ddf5f93..88ed3b8 100644 --- a/languages/io.lionweb.mps.converter.lang/models/io.lionweb.mps.converter.lang.intentions.mps +++ b/languages/io.lionweb.mps.converter.lang/models/io.lionweb.mps.converter.lang.intentions.mps @@ -2175,6 +2175,22 @@ + + + + + + + + + + + + + + + + diff --git a/languages/io.lionweb.mps.converter.lang/models/io.lionweb.mps.converter.lang.structure.mps b/languages/io.lionweb.mps.converter.lang/models/io.lionweb.mps.converter.lang.structure.mps index 7ac4be4..ca3b3b5 100644 --- a/languages/io.lionweb.mps.converter.lang/models/io.lionweb.mps.converter.lang.structure.mps +++ b/languages/io.lionweb.mps.converter.lang/models/io.lionweb.mps.converter.lang.structure.mps @@ -228,6 +228,11 @@ + + + + + diff --git a/solutions/io.lionweb.mps.converter.test/models/io.lionweb.mps.converter.test.converter@tests.mps b/solutions/io.lionweb.mps.converter.test/models/io.lionweb.mps.converter.test.converter@tests.mps index 5711449..ec43552 100644 --- a/solutions/io.lionweb.mps.converter.test/models/io.lionweb.mps.converter.test.converter@tests.mps +++ b/solutions/io.lionweb.mps.converter.test/models/io.lionweb.mps.converter.test.converter@tests.mps @@ -24,6 +24,12 @@ + + + + + + @@ -151,9 +157,15 @@ + + + + + + @@ -3718,5 +3730,24 @@ + + + + + + + + + + + + + + + + + + +