Generation Off Region
Generation-off Region with an In-line Island
Reference: GenerationOffRegion.
Verified by JUnit test
testTheRegionIsRenderedAsDocumentationAndTheIslandAsCode.
ALF:
//@generation(off)
this.display.show(x);
/*@inline('C++')
native_show();
*/
this.log();
//@generation(on)
C++:
// @generation(off): ALF simulated by CATIA Magic, not generated // this.display.show(x); native_show(); // this.log(); // @generation(on)