實作程式碼中的每個區段都具有下列格式:
... generated code
//#[ segment-type segment-identifierC++ code you entered
//#]
... generated code continues
以上所有區段都位於實作檔案中。
您可修改而不會造成無法來回轉換的區段如下:
//#[ reaction reaction-id
// you can modify this code
someReactionCode();
// do not modify beyond the //#] sign
//#]
//#[ exitAction ROOT.idle.(Entry)
someExitAction();
//#]
//#[ entryAction ROOT.idle.(Entry)
someEntryAction();
//#]
//#[ transition transition-id someTransitionCode();
//#]
//#[ operation doit()
someOperationCode();
someMoreOperationCode();
//#]