Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Schuetz2012-10-29 12:14:02 -0400
committerThomas Schuetz2012-10-29 12:14:02 -0400
commita3fc9f7ab62dffb1a1df18145745018924323029 (patch)
treed504bf56f52a8e58365cc8d94591fd38f490248a
parent3695212f9ea0b7f7d90932e2c57b2705c8852643 (diff)
downloadorg.eclipse.etrice-a3fc9f7ab62dffb1a1df18145745018924323029.tar.gz
org.eclipse.etrice-a3fc9f7ab62dffb1a1df18145745018924323029.tar.xz
org.eclipse.etrice-a3fc9f7ab62dffb1a1df18145745018924323029.zip
[generator.c] changed initialization of external types / checked in
other line endings to get rid of diffs
-rw-r--r--examples/org.eclipse.etrice.tutorials.c/.cproject246
-rw-r--r--examples/org.eclipse.etrice.tutorials.c/.gitignore2
-rw-r--r--examples/org.eclipse.etrice.tutorials.c/.project64
-rw-r--r--examples/org.eclipse.etrice.tutorials.c/.settings/org.eclipse.cdt.managedbuilder.core.prefs22
-rw-r--r--examples/org.eclipse.etrice.tutorials.c/gen_org.eclipse.etrice.tutorials.c.launch22
-rw-r--r--examples/org.eclipse.etrice.tutorials.c/model/RemoveComment/RemoveComment.room360
-rw-r--r--examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/ACParser.c650
-rw-r--r--examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/ACParser.h120
-rw-r--r--examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/AFileReader.c404
-rw-r--r--examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/AFileReader.h122
-rw-r--r--examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/ATop.c72
-rw-r--r--examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/ATop.h78
-rw-r--r--examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/FileReaderProtocol.c178
-rw-r--r--examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/FileReaderProtocol.h108
-rw-r--r--examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys.c222
-rw-r--r--examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys.h60
-rw-r--r--examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Disp.h62
-rw-r--r--examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Inst.h152
-rw-r--r--examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Runner.c98
-rw-r--r--examples/org.eclipse.etrice.tutorials.c/src-gen/readme.txt8
-rw-r--r--examples/org.eclipse.etrice.tutorials.c/test.txt650
-rw-r--r--examples/org.eclipse.etrice.tutorials.java/model/Blinky/diagrams/Blinky.BlinkyTop.behavior50
-rw-r--r--examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/tmp/log/SubSysDemo_Async.seq15
-rw-r--r--examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/tmp/log/SubSysDemo_Sync.seq1
-rw-r--r--examples/org.eclipse.etrice.tutorials.simulators.trafficlight/.classpath12
-rw-r--r--examples/org.eclipse.etrice.tutorials.simulators.trafficlight/.project34
-rw-r--r--examples/org.eclipse.etrice.tutorials.simulators.trafficlight/.settings/org.eclipse.jdt.core.prefs24
-rw-r--r--examples/org.eclipse.etrice.tutorials.simulators.trafficlight/release.jardesc32
-rw-r--r--examples/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/PedastrianLightWnd.java364
-rw-r--r--examples/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/TrafficLight2.java172
-rw-r--r--examples/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/TrafficLight3.java182
-rw-r--r--examples/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/WindowClosingAdapter.java106
-rw-r--r--examples/org.eclipse.etrice.tutorials.simulators.trafficlight/trafficlight_port_4441.launch24
-rw-r--r--examples/org.eclipse.etrice.tutorials.simulators.trafficlight/trafficlight_port_4442.launch24
-rw-r--r--plugins/org.eclipse.etrice.abstractexec.behavior/META-INF/MANIFEST.MF28
-rw-r--r--plugins/org.eclipse.etrice.core.config.tests/src-gen/org/eclipse/etrice/core/ConfigUiInjectorProvider.java32
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/.project56
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/build.properties8
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/plugin.xml562
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/plugin.xml_gen646
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/AbstractConfigUiModule.java394
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/ConfigExecutableExtensionFactory.java58
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/AbstractConfigProposalProvider.java468
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/ConfigParser.java342
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/PartialConfigContentAssistParser.java74
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfig.g12582
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/internal/ConfigActivator.java190
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/src/org/eclipse/etrice/core/ui/ConfigUiModule.java78
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/src/org/eclipse/etrice/core/ui/contentassist/ConfigProposalProvider.java598
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/src/org/eclipse/etrice/core/ui/labeling/ConfigDescriptionLabelProvider.java54
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/src/org/eclipse/etrice/core/ui/labeling/ConfigLabelProvider.java68
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/src/org/eclipse/etrice/core/ui/outline/ConfigOutlineTreeProvider.java28
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/src/org/eclipse/etrice/core/ui/quickfix/ConfigQuickfixProvider.java38
-rw-r--r--plugins/org.eclipse.etrice.core.config/.launch/Generate Language Infrastructure (org.eclipse.etrice.core.config).launch36
-rw-r--r--plugins/org.eclipse.etrice.core.config/.project68
-rw-r--r--plugins/org.eclipse.etrice.core.config/build.properties10
-rw-r--r--plugins/org.eclipse.etrice.core.config/plugin.xml36
-rw-r--r--plugins/org.eclipse.etrice.core.config/plugin.xml_gen34
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/AbstractConfigRuntimeModule.java324
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/ConfigStandaloneSetupGenerated.java86
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/ConfigAntlrTokenFileProvider.java30
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/ConfigParser.java78
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g4294
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/services/ConfigGrammarAccess.java3794
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/validation/AbstractConfigJavaValidator.java36
-rw-r--r--plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/Config.xtext408
-rw-r--r--plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/ConfigRuntimeModule.java108
-rw-r--r--plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/ConfigStandaloneSetup.java48
-rw-r--r--plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/formatting/ConfigFormatter.java148
-rw-r--r--plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/generator/ConfigGenerator.xtend30
-rw-r--r--plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/scoping/ConfigScopeProvider.java286
-rw-r--r--plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/validation/ConfigJavaValidator.java986
-rw-r--r--plugins/org.eclipse.etrice.core.genmodel/META-INF/MANIFEST.MF40
-rw-r--r--plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/Main.java6
-rw-r--r--plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/gen/CExtensions.xtend6
-rw-r--r--plugins/org.eclipse.etrice.generator.c/xtend-gen/org/eclipse/etrice/generator/c/gen/CExtensions.java21
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest.ui/build.properties8
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest.ui/plugin.xml646
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest.ui/plugin.xml_gen646
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest.ui/src-gen/org/eclipse/etrice/generator/ui/AbstractFSMtestUiModule.java494
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest.ui/src-gen/org/eclipse/etrice/generator/ui/FSMtestExecutableExtensionFactory.java58
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest.ui/src-gen/org/eclipse/etrice/generator/ui/contentassist/AbstractFSMtestProposalProvider.java240
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest.ui/src-gen/org/eclipse/etrice/generator/ui/contentassist/antlr/FSMtestParser.java212
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest.ui/src-gen/org/eclipse/etrice/generator/ui/contentassist/antlr/PartialFSMtestContentAssistParser.java74
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest.ui/src-gen/org/eclipse/etrice/generator/ui/contentassist/antlr/internal/InternalFSMtest.g3916
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest.ui/src-gen/org/eclipse/etrice/generator/ui/internal/FSMtestActivator.java190
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest.ui/src/org/eclipse/etrice/generator/ui/FSMtestUiModule.java30
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest.ui/src/org/eclipse/etrice/generator/ui/contentassist/FSMtestProposalProvider.java24
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest.ui/src/org/eclipse/etrice/generator/ui/labeling/FSMtestDescriptionLabelProvider.java54
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest.ui/src/org/eclipse/etrice/generator/ui/labeling/FSMtestLabelProvider.java68
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest.ui/src/org/eclipse/etrice/generator/ui/outline/FSMtestOutlineTreeProvider.java28
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest.ui/src/org/eclipse/etrice/generator/ui/quickfix/FSMtestQuickfixProvider.java38
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest/build.properties10
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest/plugin.xml34
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest/plugin.xml_gen34
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest/src-gen/org/eclipse/etrice/generator/AbstractFSMtestRuntimeModule.java344
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest/src-gen/org/eclipse/etrice/generator/FSMtestStandaloneSetupGenerated.java86
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest/src-gen/org/eclipse/etrice/generator/parser/antlr/FSMtestAntlrTokenFileProvider.java30
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest/src-gen/org/eclipse/etrice/generator/parser/antlr/FSMtestParser.java78
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest/src-gen/org/eclipse/etrice/generator/parser/antlr/internal/InternalFSMtest.g1534
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest/src-gen/org/eclipse/etrice/generator/services/FSMtestGrammarAccess.java1330
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest/src-gen/org/eclipse/etrice/generator/validation/AbstractFSMtestJavaValidator.java36
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest/src/org/eclipse/etrice/generator/FSMtestRuntimeModule.java22
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest/src/org/eclipse/etrice/generator/FSMtestStandaloneSetup.java28
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest/src/org/eclipse/etrice/generator/formatting/FSMtestFormatter.java130
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest/src/org/eclipse/etrice/generator/generator/FSMtestGenerator.xtend30
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest/src/org/eclipse/etrice/generator/scoping/FSMtestScopeProvider.java34
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest/src/org/eclipse/etrice/generator/validation/FSMtestJavaValidator.java76
-rw-r--r--plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/Main.java6
-rw-r--r--plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ConfigGenAddon.xtend240
-rw-r--r--plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/VariableServiceGen.xtend564
-rw-r--r--plugins/org.eclipse.etrice.generator/src/org/eclipse/etrice/generator/generic/GenericActorClassGenerator.xtend96
-rw-r--r--runtime/org.eclipse.etrice.modellib.c/.cproject266
-rw-r--r--runtime/org.eclipse.etrice.modellib.c/.project160
-rw-r--r--runtime/org.eclipse.etrice.modellib.c/.settings/org.eclipse.cdt.managedbuilder.core.prefs16
-rw-r--r--runtime/org.eclipse.etrice.modellib.c/model/Language.room4
-rw-r--r--runtime/org.eclipse.etrice.modellib.c/model/TimingService.room566
-rw-r--r--runtime/org.eclipse.etrice.modellib.c/model/Types.room40
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_F5438_CCS5_HWElevator/etDatatypes.h144
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_F5438_CCS5_HWElevator/etLogger.c156
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_F5438_CCS5_HWElevator/etPlatform.c582
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_F5438_CCS5_HWElevator/etPlatform.h72
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_G2553_CCS5_LaunchPad/etTimer.c138
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/platforms/naming-convention.txt18
-rw-r--r--team/flattenProjectsWin.bat36
-rw-r--r--tests/org.eclipse.etrice.abstractexec.behavior.tests/META-INF/MANIFEST.MF30
-rw-r--r--tests/org.eclipse.etrice.core.config.tests/.project56
-rw-r--r--tests/org.eclipse.etrice.core.config.tests/build.properties6
-rw-r--r--tests/org.eclipse.etrice.core.config.tests/src-gen/org/eclipse/etrice/core/ConfigInjectorProvider.java90
-rw-r--r--tests/org.eclipse.etrice.core.config.tests/src-gen/org/eclipse/etrice/core/ConfigUiInjectorProvider.java32
-rw-r--r--tests/org.eclipse.etrice.core.genmodel.tests/META-INF/MANIFEST.MF26
-rw-r--r--tests/org.eclipse.etrice.etunit.converter.tests/META-INF/MANIFEST.MF24
-rw-r--r--tests/org.eclipse.etrice.etunit.converter.tests/reports/out.tex82
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/.gitignore4
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/.project154
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/.settings/org.eclipse.cdt.codan.core.prefs132
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/.settings/org.eclipse.cdt.managedbuilder.core.prefs44
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/.settings/org.eclipse.cdt.ui.prefs6
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/genGeneratorTest1.launch22
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/genSendingDataTest.launch22
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/model/GeneratorTest1.room208
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/model/diagrams/GeneratorTest1.SS.structure178
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/model/diagrams/GeneratorTest1.Testee.behavior480
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/model/diagrams/GeneratorTest1.Testee.structure72
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/model/diagrams/GeneratorTest1.Tester.behavior270
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/model/diagrams/GeneratorTest1.Tester.structure72
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/src-gen/GeneratorTest1/PTestTrigger.c154
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/src-gen/GeneratorTest1/PTestTrigger.h96
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/src-gen/GeneratorTest1/SS.c184
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/src-gen/GeneratorTest1/SS.h56
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/src-gen/GeneratorTest1/SS_Disp.h60
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/src-gen/GeneratorTest1/SS_Inst.h102
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/src-gen/GeneratorTest1/SS_Runner.c98
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/src-gen/GeneratorTest1/Testee.c466
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/src-gen/GeneratorTest1/Testee.h122
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/src-gen/GeneratorTest1/Tester.c380
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/src-gen/GeneratorTest1/Tester.h122
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/src-gen/readme.txt8
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/src/test/generator/RunCGeneratorTestcases.h52
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/src/test/generator/TestDataClass.h52
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests.old/tmp/testlog/GeneratorTest1.xml10
-rw-r--r--tests/org.eclipse.etrice.generator.common.tests/models/ChoicePointTest.room438
-rw-r--r--tests/org.eclipse.etrice.generator.common.tests/models/PingPongThreadReplPortTest.room298
-rw-r--r--tests/org.eclipse.etrice.generator.common.tests/models/PingPongThreadTest.room308
-rw-r--r--tests/org.eclipse.etrice.generator.common.tests/models/SendingDataTestC.room1182
-rw-r--r--tests/org.eclipse.etrice.generator.common.tests/models/SendingDataTestJava.room1182
-rw-r--r--tests/org.eclipse.etrice.generator.fsmtest.tests/build.properties10
-rw-r--r--tests/org.eclipse.etrice.generator.fsmtest.tests/src-gen/org/eclipse/etrice/generator/FSMtestInjectorProvider.java90
-rw-r--r--tests/org.eclipse.etrice.generator.fsmtest.tests/src-gen/org/eclipse/etrice/generator/FSMtestUiInjectorProvider.java32
169 files changed, 26591 insertions, 26544 deletions
diff --git a/examples/org.eclipse.etrice.tutorials.c/.cproject b/examples/org.eclipse.etrice.tutorials.c/.cproject
index f81c6738f..8db258309 100644
--- a/examples/org.eclipse.etrice.tutorials.c/.cproject
+++ b/examples/org.eclipse.etrice.tutorials.c/.cproject
@@ -1,123 +1,123 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<?fileVersion 4.0.0?>
-
-<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
- <storageModule moduleId="org.eclipse.cdt.core.settings">
- <cconfiguration id="cdt.managedbuild.config.gnu.mingw.exe.debug.332073761">
- <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.mingw.exe.debug.332073761" moduleId="org.eclipse.cdt.core.settings" name="Debug">
- <externalSettings/>
- <extensions>
- <extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/>
- <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
- <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
- <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
- </extensions>
- </storageModule>
- <storageModule moduleId="cdtBuildSystem" version="4.0.0">
- <configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.mingw.exe.debug.332073761" name="Debug" parent="cdt.managedbuild.config.gnu.mingw.exe.debug">
- <folderInfo id="cdt.managedbuild.config.gnu.mingw.exe.debug.332073761." name="/" resourcePath="">
- <toolChain id="cdt.managedbuild.toolchain.gnu.mingw.exe.debug.398564850" name="MinGW GCC" superClass="cdt.managedbuild.toolchain.gnu.mingw.exe.debug">
- <targetPlatform id="cdt.managedbuild.target.gnu.platform.mingw.exe.debug.1829109580" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.mingw.exe.debug"/>
- <builder buildPath="${workspace_loc:/org.eclipse.etrice.tutorials.c/Debug}" id="cdt.managedbuild.tool.gnu.builder.mingw.base.856247028" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="CDT Internal Builder" superClass="cdt.managedbuild.tool.gnu.builder.mingw.base"/>
- <tool id="cdt.managedbuild.tool.gnu.assembler.mingw.exe.debug.1509057272" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.mingw.exe.debug">
- <inputType id="cdt.managedbuild.tool.gnu.assembler.input.1460359562" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
- </tool>
- <tool id="cdt.managedbuild.tool.gnu.archiver.mingw.base.48213125" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.mingw.base"/>
- <tool id="cdt.managedbuild.tool.gnu.cpp.compiler.mingw.exe.debug.1958071026" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.mingw.exe.debug">
- <option id="gnu.cpp.compiler.mingw.exe.debug.option.optimization.level.1447113587" name="Optimization Level" superClass="gnu.cpp.compiler.mingw.exe.debug.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
- <option id="gnu.cpp.compiler.mingw.exe.debug.option.debugging.level.559425075" name="Debug Level" superClass="gnu.cpp.compiler.mingw.exe.debug.option.debugging.level" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
- </tool>
- <tool id="cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.debug.137613907" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.debug">
- <option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.mingw.exe.debug.option.optimization.level.1729303001" name="Optimization Level" superClass="gnu.c.compiler.mingw.exe.debug.option.optimization.level" valueType="enumerated"/>
- <option id="gnu.c.compiler.mingw.exe.debug.option.debugging.level.145157070" name="Debug Level" superClass="gnu.c.compiler.mingw.exe.debug.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/>
- <option id="gnu.c.compiler.option.include.paths.327861845" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
- <listOptionValue builtIn="false" value="&quot;${workspace_loc:/org.eclipse.etrice.runtime.c/src/common}&quot;"/>
- <listOptionValue builtIn="false" value="&quot;${workspace_loc:/org.eclipse.etrice.runtime.c/src/config}&quot;"/>
- <listOptionValue builtIn="false" value="&quot;${workspace_loc:/org.eclipse.etrice.runtime.c/src/platforms/generic}&quot;"/>
- </option>
- <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.533629505" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
- </tool>
- <tool id="cdt.managedbuild.tool.gnu.c.linker.mingw.exe.debug.319733671" name="MinGW C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.mingw.exe.debug">
- <option id="gnu.c.link.option.paths.819761090" superClass="gnu.c.link.option.paths" valueType="libPaths">
- <listOptionValue builtIn="false" value="&quot;${workspace_loc:/org.eclipse.etrice.runtime.c/Debug}&quot;"/>
- </option>
- <option id="gnu.c.link.option.libs.1013803342" superClass="gnu.c.link.option.libs" valueType="libs">
- <listOptionValue builtIn="false" value="org.eclipse.etrice.runtime.c"/>
- </option>
- <inputType id="cdt.managedbuild.tool.gnu.c.linker.input.506258125" superClass="cdt.managedbuild.tool.gnu.c.linker.input">
- <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
- <additionalInput kind="additionalinput" paths="$(LIBS)"/>
- </inputType>
- </tool>
- <tool id="cdt.managedbuild.tool.gnu.cpp.linker.mingw.exe.debug.1214027870" name="MinGW C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.mingw.exe.debug"/>
- </toolChain>
- </folderInfo>
- </configuration>
- </storageModule>
- <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
- </cconfiguration>
- <cconfiguration id="cdt.managedbuild.config.gnu.mingw.exe.release.1584531196">
- <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.mingw.exe.release.1584531196" moduleId="org.eclipse.cdt.core.settings" name="Release">
- <externalSettings/>
- <extensions>
- <extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/>
- <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
- <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
- <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
- </extensions>
- </storageModule>
- <storageModule moduleId="cdtBuildSystem" version="4.0.0">
- <configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.mingw.exe.release.1584531196" name="Release" parent="cdt.managedbuild.config.gnu.mingw.exe.release">
- <folderInfo id="cdt.managedbuild.config.gnu.mingw.exe.release.1584531196." name="/" resourcePath="">
- <toolChain id="cdt.managedbuild.toolchain.gnu.mingw.exe.release.1134127031" name="MinGW GCC" superClass="cdt.managedbuild.toolchain.gnu.mingw.exe.release">
- <targetPlatform id="cdt.managedbuild.target.gnu.platform.mingw.exe.release.922928036" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.mingw.exe.release"/>
- <builder buildPath="${workspace_loc:/org.eclipse.etrice.tutorials.c/Release}" id="cdt.managedbuild.tool.gnu.builder.mingw.base.462260253" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="CDT Internal Builder" superClass="cdt.managedbuild.tool.gnu.builder.mingw.base"/>
- <tool id="cdt.managedbuild.tool.gnu.assembler.mingw.exe.release.372228887" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.mingw.exe.release">
- <inputType id="cdt.managedbuild.tool.gnu.assembler.input.2135748071" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
- </tool>
- <tool id="cdt.managedbuild.tool.gnu.archiver.mingw.base.1157198261" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.mingw.base"/>
- <tool id="cdt.managedbuild.tool.gnu.cpp.compiler.mingw.exe.release.2109801791" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.mingw.exe.release">
- <option id="gnu.cpp.compiler.mingw.exe.release.option.optimization.level.223357319" name="Optimization Level" superClass="gnu.cpp.compiler.mingw.exe.release.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
- <option id="gnu.cpp.compiler.mingw.exe.release.option.debugging.level.1181424034" name="Debug Level" superClass="gnu.cpp.compiler.mingw.exe.release.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
- </tool>
- <tool id="cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.release.48613690" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.release">
- <option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.mingw.exe.release.option.optimization.level.510402959" name="Optimization Level" superClass="gnu.c.compiler.mingw.exe.release.option.optimization.level" valueType="enumerated"/>
- <option id="gnu.c.compiler.mingw.exe.release.option.debugging.level.1826357245" name="Debug Level" superClass="gnu.c.compiler.mingw.exe.release.option.debugging.level" value="gnu.c.debugging.level.none" valueType="enumerated"/>
- <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1173535425" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
- </tool>
- <tool id="cdt.managedbuild.tool.gnu.c.linker.mingw.exe.release.121611690" name="MinGW C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.mingw.exe.release">
- <inputType id="cdt.managedbuild.tool.gnu.c.linker.input.484005163" superClass="cdt.managedbuild.tool.gnu.c.linker.input">
- <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
- <additionalInput kind="additionalinput" paths="$(LIBS)"/>
- </inputType>
- </tool>
- <tool id="cdt.managedbuild.tool.gnu.cpp.linker.mingw.exe.release.489779988" name="MinGW C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.mingw.exe.release"/>
- </toolChain>
- </folderInfo>
- </configuration>
- </storageModule>
- <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
- </cconfiguration>
- </storageModule>
- <storageModule moduleId="cdtBuildSystem" version="4.0.0">
- <project id="org.eclipse.etrice.tutorials.c.cdt.managedbuild.target.gnu.mingw.exe.395320964" name="Executable" projectType="cdt.managedbuild.target.gnu.mingw.exe"/>
- </storageModule>
- <storageModule moduleId="scannerConfiguration">
- <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
- <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.mingw.exe.release.1584531196;cdt.managedbuild.config.gnu.mingw.exe.release.1584531196.;cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.release.48613690;cdt.managedbuild.tool.gnu.c.compiler.input.1173535425">
- <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
- </scannerConfigBuildInfo>
- <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.mingw.exe.debug.332073761;cdt.managedbuild.config.gnu.mingw.exe.debug.332073761.;cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.debug.137613907;cdt.managedbuild.tool.gnu.c.compiler.input.533629505">
- <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
- </scannerConfigBuildInfo>
- </storageModule>
- <storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
- <storageModule moduleId="refreshScope" versionNumber="2">
- <configuration configurationName="Release">
- <resource resourceType="PROJECT" workspacePath="/org.eclipse.etrice.tutorials.c"/>
- </configuration>
- <configuration configurationName="Debug">
- <resource resourceType="PROJECT" workspacePath="/org.eclipse.etrice.tutorials.c"/>
- </configuration>
- </storageModule>
-</cproject>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?fileVersion 4.0.0?>
+
+<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
+ <storageModule moduleId="org.eclipse.cdt.core.settings">
+ <cconfiguration id="cdt.managedbuild.config.gnu.mingw.exe.debug.332073761">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.mingw.exe.debug.332073761" moduleId="org.eclipse.cdt.core.settings" name="Debug">
+ <externalSettings/>
+ <extensions>
+ <extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.mingw.exe.debug.332073761" name="Debug" parent="cdt.managedbuild.config.gnu.mingw.exe.debug">
+ <folderInfo id="cdt.managedbuild.config.gnu.mingw.exe.debug.332073761." name="/" resourcePath="">
+ <toolChain id="cdt.managedbuild.toolchain.gnu.mingw.exe.debug.398564850" name="MinGW GCC" superClass="cdt.managedbuild.toolchain.gnu.mingw.exe.debug">
+ <targetPlatform id="cdt.managedbuild.target.gnu.platform.mingw.exe.debug.1829109580" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.mingw.exe.debug"/>
+ <builder buildPath="${workspace_loc:/org.eclipse.etrice.tutorials.c/Debug}" id="cdt.managedbuild.tool.gnu.builder.mingw.base.856247028" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="CDT Internal Builder" superClass="cdt.managedbuild.tool.gnu.builder.mingw.base"/>
+ <tool id="cdt.managedbuild.tool.gnu.assembler.mingw.exe.debug.1509057272" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.mingw.exe.debug">
+ <inputType id="cdt.managedbuild.tool.gnu.assembler.input.1460359562" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
+ </tool>
+ <tool id="cdt.managedbuild.tool.gnu.archiver.mingw.base.48213125" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.mingw.base"/>
+ <tool id="cdt.managedbuild.tool.gnu.cpp.compiler.mingw.exe.debug.1958071026" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.mingw.exe.debug">
+ <option id="gnu.cpp.compiler.mingw.exe.debug.option.optimization.level.1447113587" name="Optimization Level" superClass="gnu.cpp.compiler.mingw.exe.debug.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
+ <option id="gnu.cpp.compiler.mingw.exe.debug.option.debugging.level.559425075" name="Debug Level" superClass="gnu.cpp.compiler.mingw.exe.debug.option.debugging.level" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
+ </tool>
+ <tool id="cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.debug.137613907" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.debug">
+ <option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.mingw.exe.debug.option.optimization.level.1729303001" name="Optimization Level" superClass="gnu.c.compiler.mingw.exe.debug.option.optimization.level" valueType="enumerated"/>
+ <option id="gnu.c.compiler.mingw.exe.debug.option.debugging.level.145157070" name="Debug Level" superClass="gnu.c.compiler.mingw.exe.debug.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/>
+ <option id="gnu.c.compiler.option.include.paths.327861845" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
+ <listOptionValue builtIn="false" value="&quot;${workspace_loc:/org.eclipse.etrice.runtime.c/src/common}&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${workspace_loc:/org.eclipse.etrice.runtime.c/src/config}&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${workspace_loc:/org.eclipse.etrice.runtime.c/src/platforms/generic}&quot;"/>
+ </option>
+ <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.533629505" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
+ </tool>
+ <tool id="cdt.managedbuild.tool.gnu.c.linker.mingw.exe.debug.319733671" name="MinGW C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.mingw.exe.debug">
+ <option id="gnu.c.link.option.paths.819761090" superClass="gnu.c.link.option.paths" valueType="libPaths">
+ <listOptionValue builtIn="false" value="&quot;${workspace_loc:/org.eclipse.etrice.runtime.c/Debug}&quot;"/>
+ </option>
+ <option id="gnu.c.link.option.libs.1013803342" superClass="gnu.c.link.option.libs" valueType="libs">
+ <listOptionValue builtIn="false" value="org.eclipse.etrice.runtime.c"/>
+ </option>
+ <inputType id="cdt.managedbuild.tool.gnu.c.linker.input.506258125" superClass="cdt.managedbuild.tool.gnu.c.linker.input">
+ <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
+ <additionalInput kind="additionalinput" paths="$(LIBS)"/>
+ </inputType>
+ </tool>
+ <tool id="cdt.managedbuild.tool.gnu.cpp.linker.mingw.exe.debug.1214027870" name="MinGW C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.mingw.exe.debug"/>
+ </toolChain>
+ </folderInfo>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ <cconfiguration id="cdt.managedbuild.config.gnu.mingw.exe.release.1584531196">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.mingw.exe.release.1584531196" moduleId="org.eclipse.cdt.core.settings" name="Release">
+ <externalSettings/>
+ <extensions>
+ <extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.mingw.exe.release.1584531196" name="Release" parent="cdt.managedbuild.config.gnu.mingw.exe.release">
+ <folderInfo id="cdt.managedbuild.config.gnu.mingw.exe.release.1584531196." name="/" resourcePath="">
+ <toolChain id="cdt.managedbuild.toolchain.gnu.mingw.exe.release.1134127031" name="MinGW GCC" superClass="cdt.managedbuild.toolchain.gnu.mingw.exe.release">
+ <targetPlatform id="cdt.managedbuild.target.gnu.platform.mingw.exe.release.922928036" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.mingw.exe.release"/>
+ <builder buildPath="${workspace_loc:/org.eclipse.etrice.tutorials.c/Release}" id="cdt.managedbuild.tool.gnu.builder.mingw.base.462260253" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="CDT Internal Builder" superClass="cdt.managedbuild.tool.gnu.builder.mingw.base"/>
+ <tool id="cdt.managedbuild.tool.gnu.assembler.mingw.exe.release.372228887" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.mingw.exe.release">
+ <inputType id="cdt.managedbuild.tool.gnu.assembler.input.2135748071" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
+ </tool>
+ <tool id="cdt.managedbuild.tool.gnu.archiver.mingw.base.1157198261" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.mingw.base"/>
+ <tool id="cdt.managedbuild.tool.gnu.cpp.compiler.mingw.exe.release.2109801791" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.mingw.exe.release">
+ <option id="gnu.cpp.compiler.mingw.exe.release.option.optimization.level.223357319" name="Optimization Level" superClass="gnu.cpp.compiler.mingw.exe.release.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
+ <option id="gnu.cpp.compiler.mingw.exe.release.option.debugging.level.1181424034" name="Debug Level" superClass="gnu.cpp.compiler.mingw.exe.release.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
+ </tool>
+ <tool id="cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.release.48613690" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.release">
+ <option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.mingw.exe.release.option.optimization.level.510402959" name="Optimization Level" superClass="gnu.c.compiler.mingw.exe.release.option.optimization.level" valueType="enumerated"/>
+ <option id="gnu.c.compiler.mingw.exe.release.option.debugging.level.1826357245" name="Debug Level" superClass="gnu.c.compiler.mingw.exe.release.option.debugging.level" value="gnu.c.debugging.level.none" valueType="enumerated"/>
+ <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1173535425" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
+ </tool>
+ <tool id="cdt.managedbuild.tool.gnu.c.linker.mingw.exe.release.121611690" name="MinGW C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.mingw.exe.release">
+ <inputType id="cdt.managedbuild.tool.gnu.c.linker.input.484005163" superClass="cdt.managedbuild.tool.gnu.c.linker.input">
+ <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
+ <additionalInput kind="additionalinput" paths="$(LIBS)"/>
+ </inputType>
+ </tool>
+ <tool id="cdt.managedbuild.tool.gnu.cpp.linker.mingw.exe.release.489779988" name="MinGW C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.mingw.exe.release"/>
+ </toolChain>
+ </folderInfo>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <project id="org.eclipse.etrice.tutorials.c.cdt.managedbuild.target.gnu.mingw.exe.395320964" name="Executable" projectType="cdt.managedbuild.target.gnu.mingw.exe"/>
+ </storageModule>
+ <storageModule moduleId="scannerConfiguration">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
+ <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.mingw.exe.release.1584531196;cdt.managedbuild.config.gnu.mingw.exe.release.1584531196.;cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.release.48613690;cdt.managedbuild.tool.gnu.c.compiler.input.1173535425">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
+ </scannerConfigBuildInfo>
+ <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.mingw.exe.debug.332073761;cdt.managedbuild.config.gnu.mingw.exe.debug.332073761.;cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.debug.137613907;cdt.managedbuild.tool.gnu.c.compiler.input.533629505">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
+ </scannerConfigBuildInfo>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
+ <storageModule moduleId="refreshScope" versionNumber="2">
+ <configuration configurationName="Release">
+ <resource resourceType="PROJECT" workspacePath="/org.eclipse.etrice.tutorials.c"/>
+ </configuration>
+ <configuration configurationName="Debug">
+ <resource resourceType="PROJECT" workspacePath="/org.eclipse.etrice.tutorials.c"/>
+ </configuration>
+ </storageModule>
+</cproject>
diff --git a/examples/org.eclipse.etrice.tutorials.c/.gitignore b/examples/org.eclipse.etrice.tutorials.c/.gitignore
index 329d484df..f63ef278e 100644
--- a/examples/org.eclipse.etrice.tutorials.c/.gitignore
+++ b/examples/org.eclipse.etrice.tutorials.c/.gitignore
@@ -1 +1 @@
-Debug
+Debug
diff --git a/examples/org.eclipse.etrice.tutorials.c/.project b/examples/org.eclipse.etrice.tutorials.c/.project
index 61322faec..d25319e54 100644
--- a/examples/org.eclipse.etrice.tutorials.c/.project
+++ b/examples/org.eclipse.etrice.tutorials.c/.project
@@ -1,32 +1,32 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.etrice.tutorials.c</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
- <triggers>clean,full,incremental,</triggers>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
- <triggers>full,incremental,</triggers>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.cdt.core.cnature</nature>
- <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
- <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
- <nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
- </natures>
-</projectDescription>
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.etrice.tutorials.c</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
+ <triggers>clean,full,incremental,</triggers>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.cdt.core.cnature</nature>
+ <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
+ <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
+ <nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
+ </natures>
+</projectDescription>
diff --git a/examples/org.eclipse.etrice.tutorials.c/.settings/org.eclipse.cdt.managedbuilder.core.prefs b/examples/org.eclipse.etrice.tutorials.c/.settings/org.eclipse.cdt.managedbuilder.core.prefs
index 0d1a951fd..fb57c2949 100644
--- a/examples/org.eclipse.etrice.tutorials.c/.settings/org.eclipse.cdt.managedbuilder.core.prefs
+++ b/examples/org.eclipse.etrice.tutorials.c/.settings/org.eclipse.cdt.managedbuilder.core.prefs
@@ -1,11 +1,11 @@
-eclipse.preferences.version=1
-environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.332073761/CPATH/delimiter=;
-environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.332073761/CPATH/operation=remove
-environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.332073761/C_INCLUDE_PATH/delimiter=;
-environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.332073761/C_INCLUDE_PATH/operation=remove
-environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.332073761/append=true
-environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.332073761/appendContributed=true
-environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.332073761/LIBRARY_PATH/delimiter=;
-environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.332073761/LIBRARY_PATH/operation=remove
-environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.332073761/append=true
-environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.332073761/appendContributed=true
+eclipse.preferences.version=1
+environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.332073761/CPATH/delimiter=;
+environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.332073761/CPATH/operation=remove
+environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.332073761/C_INCLUDE_PATH/delimiter=;
+environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.332073761/C_INCLUDE_PATH/operation=remove
+environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.332073761/append=true
+environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.332073761/appendContributed=true
+environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.332073761/LIBRARY_PATH/delimiter=;
+environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.332073761/LIBRARY_PATH/operation=remove
+environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.332073761/append=true
+environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.332073761/appendContributed=true
diff --git a/examples/org.eclipse.etrice.tutorials.c/gen_org.eclipse.etrice.tutorials.c.launch b/examples/org.eclipse.etrice.tutorials.c/gen_org.eclipse.etrice.tutorials.c.launch
index e95f078cf..b43afc976 100644
--- a/examples/org.eclipse.etrice.tutorials.c/gen_org.eclipse.etrice.tutorials.c.launch
+++ b/examples/org.eclipse.etrice.tutorials.c/gen_org.eclipse.etrice.tutorials.c.launch
@@ -1,11 +1,11 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<launchConfiguration type="org.eclipse.etrice.generator.launch.c.launchConfigurationType">
-<booleanAttribute key="GenInstanceDiagram" value="false"/>
-<stringAttribute key="GenModelPath" value=""/>
-<booleanAttribute key="Lib" value="false"/>
-<listAttribute key="ModelFiles">
-<listEntry value="${workspace_loc:/org.eclipse.etrice.tutorials.c/model/RemoveComment/RemoveComment.room}"/>
-</listAttribute>
-<booleanAttribute key="SaveGenModel" value="false"/>
-<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${workspace}"/>
-</launchConfiguration>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.etrice.generator.launch.c.launchConfigurationType">
+<booleanAttribute key="GenInstanceDiagram" value="false"/>
+<stringAttribute key="GenModelPath" value=""/>
+<booleanAttribute key="Lib" value="false"/>
+<listAttribute key="ModelFiles">
+<listEntry value="${workspace_loc:/org.eclipse.etrice.tutorials.c/model/RemoveComment/RemoveComment.room}"/>
+</listAttribute>
+<booleanAttribute key="SaveGenModel" value="false"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${workspace}"/>
+</launchConfiguration>
diff --git a/examples/org.eclipse.etrice.tutorials.c/model/RemoveComment/RemoveComment.room b/examples/org.eclipse.etrice.tutorials.c/model/RemoveComment/RemoveComment.room
index f9e6b4552..23d9c1b8e 100644
--- a/examples/org.eclipse.etrice.tutorials.c/model/RemoveComment/RemoveComment.room
+++ b/examples/org.eclipse.etrice.tutorials.c/model/RemoveComment/RemoveComment.room
@@ -1,181 +1,181 @@
-RoomModel RemoveComment {
- import room.basic.types.* from "../../../org.eclipse.etrice.modellib.c/model/Types.room"
-
- PrimitiveType file:ptInteger -> FILE default "0"
-
- SubSystemClass RemoveCommentSubSys {
- ActorRef Topref:ATop
- }
- ActorClass ATop {
- Structure {
- ActorRef reader: AFileReader
- ActorRef cParser: ACParser
- Binding reader.outPort and cParser.readerPort
- }
- Behavior { }
- }
- ActorClass AFileReader{
- Interface {
- Port outPort: FileReaderProtocol
- }
- Structure {
- usercode3{"#include <stdio.h>"
- }
- external Port outPort
- Attribute f:file ref
- }
- Behavior {
- StateMachine {
- Transition init: initial -> reading {
- action {
- "if ((f = fopen(\"test.txt\",\"r\")) != 0) {"
- "\tprintf(\"file open ok !\\r\\n\");"
- "\t}"
- "\telse {"
- "\tprintf(\"file not found !\\r\\n\");"
- "\tSubSysClass_shutdown();"
- "\t}"
- }
- }
- Transition tr0: reading -> reading {
- triggers {
- <getNextChar: outPort>
- }
- action {
- "int8 c;"
- "if ((c=fgetc(f)) != EOF) {"
- "\toutPort.nextChar(c);"
- "\t}"
- "\telse {"
- "\tfclose(f);"
- "\tprintf(\"file closed !\\r\\n\");"
- "\tSubSysClass_shutdown();"
- "\t}"
- }
- }
- State reading
- }
- }
- }
- ActorClass ACParser{
- Interface {
- conjugated Port readerPort: FileReaderProtocol
- }
- Structure {
- external Port readerPort
- }
- Behavior {
- StateMachine {
- Transition init: initial -> code {
- action {
- "readerPort.getNextChar();"
- }
- }
- Transition tr0: code -> cp cp0 {
- triggers {
- <nextChar: readerPort>
- }
- action {
- "readerPort.getNextChar();"
- }
- }
- Transition tr1: cp cp0 -> code {
- action {
- "printf(\"%c\",c);"
- }
- }
- Transition tr2: cp cp0 -> firstSlash {
- cond {
- "c==\'/\'"
- }
- }
- Transition tr3: firstSlash -> cp cp1 {
- triggers {
- <nextChar: readerPort>
- }
- action {
- "readerPort.getNextChar();"
- }
- }
- Transition tr4: cp cp1 -> cp cp4
- Transition tr5: cp cp1 -> blockComment {
- cond {
- "c==\'*\'"
- }
- }
- Transition tr6: blockComment -> cp cp2 {
- triggers {
- <nextChar: readerPort>
- }
- action {
- "readerPort.getNextChar();"
- }
- }
- Transition tr7: cp cp2 -> blockComment
- Transition tr8: cp cp2 -> firstStar {
- cond {
- "c==\'*\'"
- }
- }
- Transition tr9: firstStar -> cp cp3 {
- triggers {
- <nextChar: readerPort>
- }
- action {
- "readerPort.getNextChar();"
- }
- }
- Transition tr10: cp cp3 -> blockComment
- Transition tr11: cp cp3 -> code {
- cond {
- "c==\'/\'"
- }
- }
- Transition tr12: cp cp4 -> code {
- action {
- "printf(\"%c%c\",\'/\',c);"
- }
- }
- Transition tr13: cp cp4 -> lineComment {
- cond {
- "c==\'/\'"
- }
- }
- Transition tr14: cp cp5 -> lineComment
- Transition tr15: lineComment -> cp cp5 {
- triggers {
- <nextChar: readerPort>
- }
- action {
- "readerPort.getNextChar();"
- }
- }
- Transition tr16: cp cp5 -> code {
- cond {
- "c==\'\\n\'"
- }
- }
- ChoicePoint cp0
- ChoicePoint cp1
- ChoicePoint cp2
- ChoicePoint cp3
- ChoicePoint cp4
- ChoicePoint cp5
- State code
- State firstSlash
- State blockComment
- State firstStar
- State lineComment
- }
- }
- }
-
- ProtocolClass FileReaderProtocol {
- incoming {
- Message getNextChar()
- }
- outgoing {
- Message nextChar(c:char)
- }
- }
+RoomModel RemoveComment {
+ import room.basic.types.* from "../../../org.eclipse.etrice.modellib.c/model/Types.room"
+
+ PrimitiveType file:ptInteger -> FILE default "0"
+
+ SubSystemClass RemoveCommentSubSys {
+ ActorRef Topref:ATop
+ }
+ ActorClass ATop {
+ Structure {
+ ActorRef reader: AFileReader
+ ActorRef cParser: ACParser
+ Binding reader.outPort and cParser.readerPort
+ }
+ Behavior { }
+ }
+ ActorClass AFileReader{
+ Interface {
+ Port outPort: FileReaderProtocol
+ }
+ Structure {
+ usercode3{"#include <stdio.h>"
+ }
+ external Port outPort
+ Attribute f:file ref
+ }
+ Behavior {
+ StateMachine {
+ Transition init: initial -> reading {
+ action {
+ "if ((f = fopen(\"test.txt\",\"r\")) != 0) {"
+ "\tprintf(\"file open ok !\\r\\n\");"
+ "\t}"
+ "\telse {"
+ "\tprintf(\"file not found !\\r\\n\");"
+ "\tSubSysClass_shutdown();"
+ "\t}"
+ }
+ }
+ Transition tr0: reading -> reading {
+ triggers {
+ <getNextChar: outPort>
+ }
+ action {
+ "int8 c;"
+ "if ((c=fgetc(f)) != EOF) {"
+ "\toutPort.nextChar(c);"
+ "\t}"
+ "\telse {"
+ "\tfclose(f);"
+ "\tprintf(\"file closed !\\r\\n\");"
+ "\tSubSysClass_shutdown();"
+ "\t}"
+ }
+ }
+ State reading
+ }
+ }
+ }
+ ActorClass ACParser{
+ Interface {
+ conjugated Port readerPort: FileReaderProtocol
+ }
+ Structure {
+ external Port readerPort
+ }
+ Behavior {
+ StateMachine {
+ Transition init: initial -> code {
+ action {
+ "readerPort.getNextChar();"
+ }
+ }
+ Transition tr0: code -> cp cp0 {
+ triggers {
+ <nextChar: readerPort>
+ }
+ action {
+ "readerPort.getNextChar();"
+ }
+ }
+ Transition tr1: cp cp0 -> code {
+ action {
+ "printf(\"%c\",c);"
+ }
+ }
+ Transition tr2: cp cp0 -> firstSlash {
+ cond {
+ "c==\'/\'"
+ }
+ }
+ Transition tr3: firstSlash -> cp cp1 {
+ triggers {
+ <nextChar: readerPort>
+ }
+ action {
+ "readerPort.getNextChar();"
+ }
+ }
+ Transition tr4: cp cp1 -> cp cp4
+ Transition tr5: cp cp1 -> blockComment {
+ cond {
+ "c==\'*\'"
+ }
+ }
+ Transition tr6: blockComment -> cp cp2 {
+ triggers {
+ <nextChar: readerPort>
+ }
+ action {
+ "readerPort.getNextChar();"
+ }
+ }
+ Transition tr7: cp cp2 -> blockComment
+ Transition tr8: cp cp2 -> firstStar {
+ cond {
+ "c==\'*\'"
+ }
+ }
+ Transition tr9: firstStar -> cp cp3 {
+ triggers {
+ <nextChar: readerPort>
+ }
+ action {
+ "readerPort.getNextChar();"
+ }
+ }
+ Transition tr10: cp cp3 -> blockComment
+ Transition tr11: cp cp3 -> code {
+ cond {
+ "c==\'/\'"
+ }
+ }
+ Transition tr12: cp cp4 -> code {
+ action {
+ "printf(\"%c%c\",\'/\',c);"
+ }
+ }
+ Transition tr13: cp cp4 -> lineComment {
+ cond {
+ "c==\'/\'"
+ }
+ }
+ Transition tr14: cp cp5 -> lineComment
+ Transition tr15: lineComment -> cp cp5 {
+ triggers {
+ <nextChar: readerPort>
+ }
+ action {
+ "readerPort.getNextChar();"
+ }
+ }
+ Transition tr16: cp cp5 -> code {
+ cond {
+ "c==\'\\n\'"
+ }
+ }
+ ChoicePoint cp0
+ ChoicePoint cp1
+ ChoicePoint cp2
+ ChoicePoint cp3
+ ChoicePoint cp4
+ ChoicePoint cp5
+ State code
+ State firstSlash
+ State blockComment
+ State firstStar
+ State lineComment
+ }
+ }
+ }
+
+ ProtocolClass FileReaderProtocol {
+ incoming {
+ Message getNextChar()
+ }
+ outgoing {
+ Message nextChar(c:char)
+ }
+ }
} \ No newline at end of file
diff --git a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/ACParser.c b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/ACParser.c
index 61e44a287..dfdd262e9 100644
--- a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/ACParser.c
+++ b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/ACParser.c
@@ -1,325 +1,325 @@
-/**
- * @author generated by eTrice
- *
- * Source File of ActorClass ACParser
- *
- */
-
-#include "ACParser.h"
-
-#include "modelbase/etActor.h"
-#include "debugging/etLogger.h"
-#include "debugging/etMSCLogger.h"
-#include "etUnit/etUnit.h"
-#include "platform/etMemory.h"
-
-#include "FileReaderProtocol.h"
-
-
-/* interface item IDs */
-enum interface_items {
- IFITEM_readerPort = 1
-};
-
-
-/* state IDs */
-enum state_ids {
- NO_STATE = 0,
- STATE_TOP = 1,
- STATE_code = 2,
- STATE_firstSlash = 3,
- STATE_blockComment = 4,
- STATE_firstStar = 5,
- STATE_lineComment = 6
-};
-
-/* transition chains */
-enum chain_ids {
- CHAIN_TRANS_INITIAL_TO__code = 1,
- CHAIN_TRANS_tr0_FROM_code_TO_cp0_BY_nextCharreaderPort = 2,
- CHAIN_TRANS_tr3_FROM_firstSlash_TO_cp1_BY_nextCharreaderPort = 3,
- CHAIN_TRANS_tr6_FROM_blockComment_TO_cp2_BY_nextCharreaderPort = 4,
- CHAIN_TRANS_tr9_FROM_firstStar_TO_cp3_BY_nextCharreaderPort = 5,
- CHAIN_TRANS_tr15_FROM_lineComment_TO_cp5_BY_nextCharreaderPort = 6
-};
-
-/* triggers */
-enum triggers {
- POLLING = 0,
- TRIG_readerPort__nextChar = IFITEM_readerPort + EVT_SHIFT*FileReaderProtocol_OUT_nextChar
-};
-
-
-static void setState(ACParser* self, int new_state) {
- self->state = new_state;
-}
-
-/* Entry and Exit Codes */
-
-/* Action Codes */
-static void action_TRANS_INITIAL_TO__code(ACParser* self) {
- FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
-}
-static void action_TRANS_tr0_FROM_code_TO_cp0_BY_nextCharreaderPort(ACParser* self, InterfaceItemBase ifitem, char c) {
- FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
-}
-static void action_TRANS_tr1_FROM_cp0_TO_code(ACParser* self, InterfaceItemBase ifitem, char c) {
- printf("%c",c);
-}
-static void action_TRANS_tr3_FROM_firstSlash_TO_cp1_BY_nextCharreaderPort(ACParser* self, InterfaceItemBase ifitem, char c) {
- FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
-}
-static void action_TRANS_tr6_FROM_blockComment_TO_cp2_BY_nextCharreaderPort(ACParser* self, InterfaceItemBase ifitem, char c) {
- FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
-}
-static void action_TRANS_tr9_FROM_firstStar_TO_cp3_BY_nextCharreaderPort(ACParser* self, InterfaceItemBase ifitem, char c) {
- FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
-}
-static void action_TRANS_tr12_FROM_cp4_TO_code(ACParser* self, InterfaceItemBase ifitem, char c) {
- printf("%c%c",'/',c);
-}
-static void action_TRANS_tr15_FROM_lineComment_TO_cp5_BY_nextCharreaderPort(ACParser* self, InterfaceItemBase ifitem, char c) {
- FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
-}
-
-/**
- * calls exit codes while exiting from the current state to one of its
- * parent states while remembering the history
- * @param current - the current state
- * @param to - the final parent state
- * @param handler - entry and exit codes are called only if not handler (for handler TransitionPoints)
- */
-static void exitTo(ACParser* self, int current, int to, boolean handler) {
- while (current!=to) {
- switch (current) {
- case STATE_code:
- self->history[STATE_TOP] = STATE_code;
- current = STATE_TOP;
- break;
- case STATE_firstSlash:
- self->history[STATE_TOP] = STATE_firstSlash;
- current = STATE_TOP;
- break;
- case STATE_blockComment:
- self->history[STATE_TOP] = STATE_blockComment;
- current = STATE_TOP;
- break;
- case STATE_firstStar:
- self->history[STATE_TOP] = STATE_firstStar;
- current = STATE_TOP;
- break;
- case STATE_lineComment:
- self->history[STATE_TOP] = STATE_lineComment;
- current = STATE_TOP;
- break;
- }
- }
-}
-
-/**
- * calls action, entry and exit codes along a transition chain. The generic data are cast to typed data
- * matching the trigger of this chain. The ID of the final state is returned
- * @param chain - the chain ID
- * @param generic_data - the generic data pointer
- * @return the ID of the final state
- */
-static int executeTransitionChain(ACParser* self, int chain, InterfaceItemBase ifitem, void* generic_data) {
- switch (chain) {
- case CHAIN_TRANS_INITIAL_TO__code:
- {
- action_TRANS_INITIAL_TO__code(self);
- return STATE_code;
- }
- case CHAIN_TRANS_tr0_FROM_code_TO_cp0_BY_nextCharreaderPort:
- {
- char c = *((char*) generic_data);
- action_TRANS_tr0_FROM_code_TO_cp0_BY_nextCharreaderPort(self, ifitem, c);
- if (c=='/') {
- return STATE_firstSlash;}
- else {
- action_TRANS_tr1_FROM_cp0_TO_code(self, ifitem, c);
- return STATE_code;}
- }
- case CHAIN_TRANS_tr3_FROM_firstSlash_TO_cp1_BY_nextCharreaderPort:
- {
- char c = *((char*) generic_data);
- action_TRANS_tr3_FROM_firstSlash_TO_cp1_BY_nextCharreaderPort(self, ifitem, c);
- if (c=='*') {
- return STATE_blockComment;}
- else {
- if (c=='/') {
- return STATE_lineComment;}
- else {
- action_TRANS_tr12_FROM_cp4_TO_code(self, ifitem, c);
- return STATE_code;}
- }
- }
- case CHAIN_TRANS_tr6_FROM_blockComment_TO_cp2_BY_nextCharreaderPort:
- {
- char c = *((char*) generic_data);
- action_TRANS_tr6_FROM_blockComment_TO_cp2_BY_nextCharreaderPort(self, ifitem, c);
- if (c=='*') {
- return STATE_firstStar;}
- else {
- return STATE_blockComment;}
- }
- case CHAIN_TRANS_tr9_FROM_firstStar_TO_cp3_BY_nextCharreaderPort:
- {
- char c = *((char*) generic_data);
- action_TRANS_tr9_FROM_firstStar_TO_cp3_BY_nextCharreaderPort(self, ifitem, c);
- if (c=='/') {
- return STATE_code;}
- else {
- return STATE_blockComment;}
- }
- case CHAIN_TRANS_tr15_FROM_lineComment_TO_cp5_BY_nextCharreaderPort:
- {
- char c = *((char*) generic_data);
- action_TRANS_tr15_FROM_lineComment_TO_cp5_BY_nextCharreaderPort(self, ifitem, c);
- if (c=='\n') {
- return STATE_code;}
- else {
- return STATE_lineComment;}
- }
- }
- return NO_STATE;
-}
-
-/**
- * calls entry codes while entering a state's history. The ID of the final leaf state is returned
- * @param state - the state which is entered
- * @param handler - entry code is executed if not handler
- * @return - the ID of the final leaf state
- */
-static int enterHistory(ACParser* self, int state, boolean handler, boolean skip_entry) {
- while (TRUE) {
- switch (state) {
- case STATE_code:
- // in leaf state: return state id
- return STATE_code;
- case STATE_firstSlash:
- // in leaf state: return state id
- return STATE_firstSlash;
- case STATE_blockComment:
- // in leaf state: return state id
- return STATE_blockComment;
- case STATE_firstStar:
- // in leaf state: return state id
- return STATE_firstStar;
- case STATE_lineComment:
- // in leaf state: return state id
- return STATE_lineComment;
- case STATE_TOP:
- state = self->history[STATE_TOP];
- break;
- }
- skip_entry = FALSE;
- }
- //return NO_STATE; // required by CDT but detected as unreachable by JDT because of while (true)
-}
-
-static void executeInitTransition(ACParser* self) {
- int chain = CHAIN_TRANS_INITIAL_TO__code;
- int next = executeTransitionChain(self, chain, NULL, NULL);
- next = enterHistory(self, next, FALSE, FALSE);
- setState(self, next);
-}
-
-/* receiveEvent contains the main implementation of the FSM */
-static void receiveEvent(ACParser* self, InterfaceItemBase ifitem, int evt, void* generic_data) {
- int trigger = ifitem->localId + EVT_SHIFT*evt;
- int chain = NOT_CAUGHT;
- int catching_state = NO_STATE;
- boolean is_handler = FALSE;
- boolean skip_entry = FALSE;
-
- if (!handleSystemEvent(ifitem, evt, generic_data)) {
- switch (self->state) {
- case STATE_code:
- switch(trigger) {
- case TRIG_readerPort__nextChar:
- {
- chain = CHAIN_TRANS_tr0_FROM_code_TO_cp0_BY_nextCharreaderPort;
- catching_state = STATE_TOP;
- }
- break;
- }
- break;
- case STATE_firstSlash:
- switch(trigger) {
- case TRIG_readerPort__nextChar:
- {
- chain = CHAIN_TRANS_tr3_FROM_firstSlash_TO_cp1_BY_nextCharreaderPort;
- catching_state = STATE_TOP;
- }
- break;
- }
- break;
- case STATE_blockComment:
- switch(trigger) {
- case TRIG_readerPort__nextChar:
- {
- chain = CHAIN_TRANS_tr6_FROM_blockComment_TO_cp2_BY_nextCharreaderPort;
- catching_state = STATE_TOP;
- }
- break;
- }
- break;
- case STATE_firstStar:
- switch(trigger) {
- case TRIG_readerPort__nextChar:
- {
- chain = CHAIN_TRANS_tr9_FROM_firstStar_TO_cp3_BY_nextCharreaderPort;
- catching_state = STATE_TOP;
- }
- break;
- }
- break;
- case STATE_lineComment:
- switch(trigger) {
- case TRIG_readerPort__nextChar:
- {
- chain = CHAIN_TRANS_tr15_FROM_lineComment_TO_cp5_BY_nextCharreaderPort;
- catching_state = STATE_TOP;
- }
- break;
- }
- break;
- }
- }
- if (chain != NOT_CAUGHT) {
- exitTo(self, self->state, catching_state, is_handler);
- int next = executeTransitionChain(self, chain, ifitem, generic_data);
- next = enterHistory(self, next, is_handler, skip_entry);
- setState(self, next);
- }
-}
-
-//******************************************
-// END of generated code for FSM
-//******************************************
-
-void ACParser_init(ACParser* self){
- ET_MSC_LOGGER_SYNC_ENTRY("ACParser", "init")
- self->state = STATE_TOP;
- {
- int i;
- for (i=0; i<ACPARSER_HISTORY_SIZE; ++i)
- self->history[i] = NO_STATE;
- }
- executeInitTransition(self);
- ET_MSC_LOGGER_SYNC_EXIT
-}
-
-
-void ACParser_receiveMessage(void* self, void* ifitem, const etMessage* msg){
- ET_MSC_LOGGER_SYNC_ENTRY("ACParser", "_receiveMessage")
-
- receiveEvent(self, (etPort*)ifitem, msg->evtID, (void*)(((char*)msg)+MEM_CEIL(sizeof(etMessage))));
-
- ET_MSC_LOGGER_SYNC_EXIT
-}
-
-
-/*--------------------- operations ---------------------*/
-
+/**
+ * @author generated by eTrice
+ *
+ * Source File of ActorClass ACParser
+ *
+ */
+
+#include "ACParser.h"
+
+#include "modelbase/etActor.h"
+#include "debugging/etLogger.h"
+#include "debugging/etMSCLogger.h"
+#include "etUnit/etUnit.h"
+#include "platform/etMemory.h"
+
+#include "FileReaderProtocol.h"
+
+
+/* interface item IDs */
+enum interface_items {
+ IFITEM_readerPort = 1
+};
+
+
+/* state IDs */
+enum state_ids {
+ NO_STATE = 0,
+ STATE_TOP = 1,
+ STATE_code = 2,
+ STATE_firstSlash = 3,
+ STATE_blockComment = 4,
+ STATE_firstStar = 5,
+ STATE_lineComment = 6
+};
+
+/* transition chains */
+enum chain_ids {
+ CHAIN_TRANS_INITIAL_TO__code = 1,
+ CHAIN_TRANS_tr0_FROM_code_TO_cp0_BY_nextCharreaderPort = 2,
+ CHAIN_TRANS_tr3_FROM_firstSlash_TO_cp1_BY_nextCharreaderPort = 3,
+ CHAIN_TRANS_tr6_FROM_blockComment_TO_cp2_BY_nextCharreaderPort = 4,
+ CHAIN_TRANS_tr9_FROM_firstStar_TO_cp3_BY_nextCharreaderPort = 5,
+ CHAIN_TRANS_tr15_FROM_lineComment_TO_cp5_BY_nextCharreaderPort = 6
+};
+
+/* triggers */
+enum triggers {
+ POLLING = 0,
+ TRIG_readerPort__nextChar = IFITEM_readerPort + EVT_SHIFT*FileReaderProtocol_OUT_nextChar
+};
+
+
+static void setState(ACParser* self, int new_state) {
+ self->state = new_state;
+}
+
+/* Entry and Exit Codes */
+
+/* Action Codes */
+static void action_TRANS_INITIAL_TO__code(ACParser* self) {
+ FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
+}
+static void action_TRANS_tr0_FROM_code_TO_cp0_BY_nextCharreaderPort(ACParser* self, InterfaceItemBase ifitem, char c) {
+ FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
+}
+static void action_TRANS_tr1_FROM_cp0_TO_code(ACParser* self, InterfaceItemBase ifitem, char c) {
+ printf("%c",c);
+}
+static void action_TRANS_tr3_FROM_firstSlash_TO_cp1_BY_nextCharreaderPort(ACParser* self, InterfaceItemBase ifitem, char c) {
+ FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
+}
+static void action_TRANS_tr6_FROM_blockComment_TO_cp2_BY_nextCharreaderPort(ACParser* self, InterfaceItemBase ifitem, char c) {
+ FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
+}
+static void action_TRANS_tr9_FROM_firstStar_TO_cp3_BY_nextCharreaderPort(ACParser* self, InterfaceItemBase ifitem, char c) {
+ FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
+}
+static void action_TRANS_tr12_FROM_cp4_TO_code(ACParser* self, InterfaceItemBase ifitem, char c) {
+ printf("%c%c",'/',c);
+}
+static void action_TRANS_tr15_FROM_lineComment_TO_cp5_BY_nextCharreaderPort(ACParser* self, InterfaceItemBase ifitem, char c) {
+ FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
+}
+
+/**
+ * calls exit codes while exiting from the current state to one of its
+ * parent states while remembering the history
+ * @param current - the current state
+ * @param to - the final parent state
+ * @param handler - entry and exit codes are called only if not handler (for handler TransitionPoints)
+ */
+static void exitTo(ACParser* self, int current, int to, boolean handler) {
+ while (current!=to) {
+ switch (current) {
+ case STATE_code:
+ self->history[STATE_TOP] = STATE_code;
+ current = STATE_TOP;
+ break;
+ case STATE_firstSlash:
+ self->history[STATE_TOP] = STATE_firstSlash;
+ current = STATE_TOP;
+ break;
+ case STATE_blockComment:
+ self->history[STATE_TOP] = STATE_blockComment;
+ current = STATE_TOP;
+ break;
+ case STATE_firstStar:
+ self->history[STATE_TOP] = STATE_firstStar;
+ current = STATE_TOP;
+ break;
+ case STATE_lineComment:
+ self->history[STATE_TOP] = STATE_lineComment;
+ current = STATE_TOP;
+ break;
+ }
+ }
+}
+
+/**
+ * calls action, entry and exit codes along a transition chain. The generic data are cast to typed data
+ * matching the trigger of this chain. The ID of the final state is returned
+ * @param chain - the chain ID
+ * @param generic_data - the generic data pointer
+ * @return the ID of the final state
+ */
+static int executeTransitionChain(ACParser* self, int chain, InterfaceItemBase ifitem, void* generic_data) {
+ switch (chain) {
+ case CHAIN_TRANS_INITIAL_TO__code:
+ {
+ action_TRANS_INITIAL_TO__code(self);
+ return STATE_code;
+ }
+ case CHAIN_TRANS_tr0_FROM_code_TO_cp0_BY_nextCharreaderPort:
+ {
+ char c = *((char*) generic_data);
+ action_TRANS_tr0_FROM_code_TO_cp0_BY_nextCharreaderPort(self, ifitem, c);
+ if (c=='/') {
+ return STATE_firstSlash;}
+ else {
+ action_TRANS_tr1_FROM_cp0_TO_code(self, ifitem, c);
+ return STATE_code;}
+ }
+ case CHAIN_TRANS_tr3_FROM_firstSlash_TO_cp1_BY_nextCharreaderPort:
+ {
+ char c = *((char*) generic_data);
+ action_TRANS_tr3_FROM_firstSlash_TO_cp1_BY_nextCharreaderPort(self, ifitem, c);
+ if (c=='*') {
+ return STATE_blockComment;}
+ else {
+ if (c=='/') {
+ return STATE_lineComment;}
+ else {
+ action_TRANS_tr12_FROM_cp4_TO_code(self, ifitem, c);
+ return STATE_code;}
+ }
+ }
+ case CHAIN_TRANS_tr6_FROM_blockComment_TO_cp2_BY_nextCharreaderPort:
+ {
+ char c = *((char*) generic_data);
+ action_TRANS_tr6_FROM_blockComment_TO_cp2_BY_nextCharreaderPort(self, ifitem, c);
+ if (c=='*') {
+ return STATE_firstStar;}
+ else {
+ return STATE_blockComment;}
+ }
+ case CHAIN_TRANS_tr9_FROM_firstStar_TO_cp3_BY_nextCharreaderPort:
+ {
+ char c = *((char*) generic_data);
+ action_TRANS_tr9_FROM_firstStar_TO_cp3_BY_nextCharreaderPort(self, ifitem, c);
+ if (c=='/') {
+ return STATE_code;}
+ else {
+ return STATE_blockComment;}
+ }
+ case CHAIN_TRANS_tr15_FROM_lineComment_TO_cp5_BY_nextCharreaderPort:
+ {
+ char c = *((char*) generic_data);
+ action_TRANS_tr15_FROM_lineComment_TO_cp5_BY_nextCharreaderPort(self, ifitem, c);
+ if (c=='\n') {
+ return STATE_code;}
+ else {
+ return STATE_lineComment;}
+ }
+ }
+ return NO_STATE;
+}
+
+/**
+ * calls entry codes while entering a state's history. The ID of the final leaf state is returned
+ * @param state - the state which is entered
+ * @param handler - entry code is executed if not handler
+ * @return - the ID of the final leaf state
+ */
+static int enterHistory(ACParser* self, int state, boolean handler, boolean skip_entry) {
+ while (TRUE) {
+ switch (state) {
+ case STATE_code:
+ // in leaf state: return state id
+ return STATE_code;
+ case STATE_firstSlash:
+ // in leaf state: return state id
+ return STATE_firstSlash;
+ case STATE_blockComment:
+ // in leaf state: return state id
+ return STATE_blockComment;
+ case STATE_firstStar:
+ // in leaf state: return state id
+ return STATE_firstStar;
+ case STATE_lineComment:
+ // in leaf state: return state id
+ return STATE_lineComment;
+ case STATE_TOP:
+ state = self->history[STATE_TOP];
+ break;
+ }
+ skip_entry = FALSE;
+ }
+ //return NO_STATE; // required by CDT but detected as unreachable by JDT because of while (true)
+}
+
+static void executeInitTransition(ACParser* self) {
+ int chain = CHAIN_TRANS_INITIAL_TO__code;
+ int next = executeTransitionChain(self, chain, NULL, NULL);
+ next = enterHistory(self, next, FALSE, FALSE);
+ setState(self, next);
+}
+
+/* receiveEvent contains the main implementation of the FSM */
+static void receiveEvent(ACParser* self, InterfaceItemBase ifitem, int evt, void* generic_data) {
+ int trigger = ifitem->localId + EVT_SHIFT*evt;
+ int chain = NOT_CAUGHT;
+ int catching_state = NO_STATE;
+ boolean is_handler = FALSE;
+ boolean skip_entry = FALSE;
+
+ if (!handleSystemEvent(ifitem, evt, generic_data)) {
+ switch (self->state) {
+ case STATE_code:
+ switch(trigger) {
+ case TRIG_readerPort__nextChar:
+ {
+ chain = CHAIN_TRANS_tr0_FROM_code_TO_cp0_BY_nextCharreaderPort;
+ catching_state = STATE_TOP;
+ }
+ break;
+ }
+ break;
+ case STATE_firstSlash:
+ switch(trigger) {
+ case TRIG_readerPort__nextChar:
+ {
+ chain = CHAIN_TRANS_tr3_FROM_firstSlash_TO_cp1_BY_nextCharreaderPort;
+ catching_state = STATE_TOP;
+ }
+ break;
+ }
+ break;
+ case STATE_blockComment:
+ switch(trigger) {
+ case TRIG_readerPort__nextChar:
+ {
+ chain = CHAIN_TRANS_tr6_FROM_blockComment_TO_cp2_BY_nextCharreaderPort;
+ catching_state = STATE_TOP;
+ }
+ break;
+ }
+ break;
+ case STATE_firstStar:
+ switch(trigger) {
+ case TRIG_readerPort__nextChar:
+ {
+ chain = CHAIN_TRANS_tr9_FROM_firstStar_TO_cp3_BY_nextCharreaderPort;
+ catching_state = STATE_TOP;
+ }
+ break;
+ }
+ break;
+ case STATE_lineComment:
+ switch(trigger) {
+ case TRIG_readerPort__nextChar:
+ {
+ chain = CHAIN_TRANS_tr15_FROM_lineComment_TO_cp5_BY_nextCharreaderPort;
+ catching_state = STATE_TOP;
+ }
+ break;
+ }
+ break;
+ }
+ }
+ if (chain != NOT_CAUGHT) {
+ exitTo(self, self->state, catching_state, is_handler);
+ int next = executeTransitionChain(self, chain, ifitem, generic_data);
+ next = enterHistory(self, next, is_handler, skip_entry);
+ setState(self, next);
+ }
+}
+
+//******************************************
+// END of generated code for FSM
+//******************************************
+
+void ACParser_init(ACParser* self){
+ ET_MSC_LOGGER_SYNC_ENTRY("ACParser", "init")
+ self->state = STATE_TOP;
+ {
+ int i;
+ for (i=0; i<ACPARSER_HISTORY_SIZE; ++i)
+ self->history[i] = NO_STATE;
+ }
+ executeInitTransition(self);
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
+
+void ACParser_receiveMessage(void* self, void* ifitem, const etMessage* msg){
+ ET_MSC_LOGGER_SYNC_ENTRY("ACParser", "_receiveMessage")
+
+ receiveEvent(self, (etPort*)ifitem, msg->evtID, (void*)(((char*)msg)+MEM_CEIL(sizeof(etMessage))));
+
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
+
+/*--------------------- operations ---------------------*/
+
diff --git a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/ACParser.h b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/ACParser.h
index a578244b3..f53886e9a 100644
--- a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/ACParser.h
+++ b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/ACParser.h
@@ -1,60 +1,60 @@
-/**
- * @author generated by eTrice
- *
- * Header File of ActorClass ACParser
- *
- */
-
-#ifndef _ACPARSER_H_
-#define _ACPARSER_H_
-
-#include "etDatatypes.h"
-#include "messaging/etMessage.h"
-
-#include "FileReaderProtocol.h"
-
-
-typedef struct ACParser ACParser;
-
-/* const part of ActorClass (ROM) */
-typedef struct ACParser_const {
- /* simple ports */
- const FileReaderProtocolConjPort readerPort;
-
- /* data receive ports */
-
- /* saps */
-
- /* replicated ports */
-
- /* services */
-} ACParser_const;
-
-
-/* constant for state machine data */
-#define ACPARSER_HISTORY_SIZE 2
-
-/* variable part of ActorClass (RAM) */
-struct ACParser {
- const ACParser_const* const constData;
-
- /* data send ports */
-
- /*--------------------- attributes ---------------------*/
-
-
- /* state machine variables */
- etInt16 state;
- etInt16 history[ACPARSER_HISTORY_SIZE];
-};
-
-void ACParser_init(ACParser* self);
-
-void ACParser_receiveMessage(void* self, void* ifitem, const etMessage* msg);
-
-
-/*--------------------- operations ---------------------*/
-
-
-#endif /* _ACPARSER_H_ */
-
+/**
+ * @author generated by eTrice
+ *
+ * Header File of ActorClass ACParser
+ *
+ */
+
+#ifndef _ACPARSER_H_
+#define _ACPARSER_H_
+
+#include "etDatatypes.h"
+#include "messaging/etMessage.h"
+
+#include "FileReaderProtocol.h"
+
+
+typedef struct ACParser ACParser;
+
+/* const part of ActorClass (ROM) */
+typedef struct ACParser_const {
+ /* simple ports */
+ const FileReaderProtocolConjPort readerPort;
+
+ /* data receive ports */
+
+ /* saps */
+
+ /* replicated ports */
+
+ /* services */
+} ACParser_const;
+
+
+/* constant for state machine data */
+#define ACPARSER_HISTORY_SIZE 2
+
+/* variable part of ActorClass (RAM) */
+struct ACParser {
+ const ACParser_const* const constData;
+
+ /* data send ports */
+
+ /*--------------------- attributes ---------------------*/
+
+
+ /* state machine variables */
+ etInt16 state;
+ etInt16 history[ACPARSER_HISTORY_SIZE];
+};
+
+void ACParser_init(ACParser* self);
+
+void ACParser_receiveMessage(void* self, void* ifitem, const etMessage* msg);
+
+
+/*--------------------- operations ---------------------*/
+
+
+#endif /* _ACPARSER_H_ */
+
diff --git a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/AFileReader.c b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/AFileReader.c
index 027ddf644..d156f7548 100644
--- a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/AFileReader.c
+++ b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/AFileReader.c
@@ -1,202 +1,202 @@
-/**
- * @author generated by eTrice
- *
- * Source File of ActorClass AFileReader
- *
- */
-
-#include "AFileReader.h"
-
-#include "modelbase/etActor.h"
-#include "debugging/etLogger.h"
-#include "debugging/etMSCLogger.h"
-#include "etUnit/etUnit.h"
-#include "platform/etMemory.h"
-
-#include "FileReaderProtocol.h"
-
-/*--------------------- begin user code ---------------------*/
-#include <stdio.h>
-/*--------------------- end user code ---------------------*/
-
-/* interface item IDs */
-enum interface_items {
- IFITEM_outPort = 1
-};
-
-
-/* state IDs */
-enum state_ids {
- NO_STATE = 0,
- STATE_TOP = 1,
- STATE_reading = 2
-};
-
-/* transition chains */
-enum chain_ids {
- CHAIN_TRANS_INITIAL_TO__reading = 1,
- CHAIN_TRANS_tr0_FROM_reading_TO_reading_BY_getNextCharoutPort_tr0 = 2
-};
-
-/* triggers */
-enum triggers {
- POLLING = 0,
- TRIG_outPort__getNextChar = IFITEM_outPort + EVT_SHIFT*FileReaderProtocol_IN_getNextChar
-};
-
-
-static void setState(AFileReader* self, int new_state) {
- self->state = new_state;
-}
-
-/* Entry and Exit Codes */
-
-/* Action Codes */
-static void action_TRANS_INITIAL_TO__reading(AFileReader* self) {
- if ((self->f /* ORIG: f */ = fopen("test.txt","r")) != 0) {
- printf("file open ok !\r\n");
- }
- else {
- printf("file not found !\r\n");
- SubSysClass_shutdown();
- }
-}
-static void action_TRANS_tr0_FROM_reading_TO_reading_BY_getNextCharoutPort_tr0(AFileReader* self, InterfaceItemBase ifitem) {
- int8 c;
- if ((c=fgetc(self->f /* ORIG: f */)) != EOF) {
- FileReaderProtocolPort_nextChar(&self->constData->outPort, c) /* ORIG: outPort.nextChar(c) */;
- }
- else {
- fclose(self->f /* ORIG: f */);
- printf("file closed !\r\n");
- SubSysClass_shutdown();
- }
-}
-
-/**
- * calls exit codes while exiting from the current state to one of its
- * parent states while remembering the history
- * @param current - the current state
- * @param to - the final parent state
- * @param handler - entry and exit codes are called only if not handler (for handler TransitionPoints)
- */
-static void exitTo(AFileReader* self, int current, int to, boolean handler) {
- while (current!=to) {
- switch (current) {
- case STATE_reading:
- self->history[STATE_TOP] = STATE_reading;
- current = STATE_TOP;
- break;
- }
- }
-}
-
-/**
- * calls action, entry and exit codes along a transition chain. The generic data are cast to typed data
- * matching the trigger of this chain. The ID of the final state is returned
- * @param chain - the chain ID
- * @param generic_data - the generic data pointer
- * @return the ID of the final state
- */
-static int executeTransitionChain(AFileReader* self, int chain, InterfaceItemBase ifitem, void* generic_data) {
- switch (chain) {
- case CHAIN_TRANS_INITIAL_TO__reading:
- {
- action_TRANS_INITIAL_TO__reading(self);
- return STATE_reading;
- }
- case CHAIN_TRANS_tr0_FROM_reading_TO_reading_BY_getNextCharoutPort_tr0:
- {
- action_TRANS_tr0_FROM_reading_TO_reading_BY_getNextCharoutPort_tr0(self, ifitem);
- return STATE_reading;
- }
- }
- return NO_STATE;
-}
-
-/**
- * calls entry codes while entering a state's history. The ID of the final leaf state is returned
- * @param state - the state which is entered
- * @param handler - entry code is executed if not handler
- * @return - the ID of the final leaf state
- */
-static int enterHistory(AFileReader* self, int state, boolean handler, boolean skip_entry) {
- while (TRUE) {
- switch (state) {
- case STATE_reading:
- // in leaf state: return state id
- return STATE_reading;
- case STATE_TOP:
- state = self->history[STATE_TOP];
- break;
- }
- skip_entry = FALSE;
- }
- //return NO_STATE; // required by CDT but detected as unreachable by JDT because of while (true)
-}
-
-static void executeInitTransition(AFileReader* self) {
- int chain = CHAIN_TRANS_INITIAL_TO__reading;
- int next = executeTransitionChain(self, chain, NULL, NULL);
- next = enterHistory(self, next, FALSE, FALSE);
- setState(self, next);
-}
-
-/* receiveEvent contains the main implementation of the FSM */
-static void receiveEvent(AFileReader* self, InterfaceItemBase ifitem, int evt, void* generic_data) {
- int trigger = ifitem->localId + EVT_SHIFT*evt;
- int chain = NOT_CAUGHT;
- int catching_state = NO_STATE;
- boolean is_handler = FALSE;
- boolean skip_entry = FALSE;
-
- if (!handleSystemEvent(ifitem, evt, generic_data)) {
- switch (self->state) {
- case STATE_reading:
- switch(trigger) {
- case TRIG_outPort__getNextChar:
- {
- chain = CHAIN_TRANS_tr0_FROM_reading_TO_reading_BY_getNextCharoutPort_tr0;
- catching_state = STATE_TOP;
- }
- break;
- }
- break;
- }
- }
- if (chain != NOT_CAUGHT) {
- exitTo(self, self->state, catching_state, is_handler);
- int next = executeTransitionChain(self, chain, ifitem, generic_data);
- next = enterHistory(self, next, is_handler, skip_entry);
- setState(self, next);
- }
-}
-
-//******************************************
-// END of generated code for FSM
-//******************************************
-
-void AFileReader_init(AFileReader* self){
- ET_MSC_LOGGER_SYNC_ENTRY("AFileReader", "init")
- self->state = STATE_TOP;
- {
- int i;
- for (i=0; i<AFILEREADER_HISTORY_SIZE; ++i)
- self->history[i] = NO_STATE;
- }
- executeInitTransition(self);
- ET_MSC_LOGGER_SYNC_EXIT
-}
-
-
-void AFileReader_receiveMessage(void* self, void* ifitem, const etMessage* msg){
- ET_MSC_LOGGER_SYNC_ENTRY("AFileReader", "_receiveMessage")
-
- receiveEvent(self, (etPort*)ifitem, msg->evtID, (void*)(((char*)msg)+MEM_CEIL(sizeof(etMessage))));
-
- ET_MSC_LOGGER_SYNC_EXIT
-}
-
-
-/*--------------------- operations ---------------------*/
-
+/**
+ * @author generated by eTrice
+ *
+ * Source File of ActorClass AFileReader
+ *
+ */
+
+#include "AFileReader.h"
+
+#include "modelbase/etActor.h"
+#include "debugging/etLogger.h"
+#include "debugging/etMSCLogger.h"
+#include "etUnit/etUnit.h"
+#include "platform/etMemory.h"
+
+#include "FileReaderProtocol.h"
+
+/*--------------------- begin user code ---------------------*/
+#include <stdio.h>
+/*--------------------- end user code ---------------------*/
+
+/* interface item IDs */
+enum interface_items {
+ IFITEM_outPort = 1
+};
+
+
+/* state IDs */
+enum state_ids {
+ NO_STATE = 0,
+ STATE_TOP = 1,
+ STATE_reading = 2
+};
+
+/* transition chains */
+enum chain_ids {
+ CHAIN_TRANS_INITIAL_TO__reading = 1,
+ CHAIN_TRANS_tr0_FROM_reading_TO_reading_BY_getNextCharoutPort_tr0 = 2
+};
+
+/* triggers */
+enum triggers {
+ POLLING = 0,
+ TRIG_outPort__getNextChar = IFITEM_outPort + EVT_SHIFT*FileReaderProtocol_IN_getNextChar
+};
+
+
+static void setState(AFileReader* self, int new_state) {
+ self->state = new_state;
+}
+
+/* Entry and Exit Codes */
+
+/* Action Codes */
+static void action_TRANS_INITIAL_TO__reading(AFileReader* self) {
+ if ((self->f /* ORIG: f */ = fopen("test.txt","r")) != 0) {
+ printf("file open ok !\r\n");
+ }
+ else {
+ printf("file not found !\r\n");
+ SubSysClass_shutdown();
+ }
+}
+static void action_TRANS_tr0_FROM_reading_TO_reading_BY_getNextCharoutPort_tr0(AFileReader* self, InterfaceItemBase ifitem) {
+ int8 c;
+ if ((c=fgetc(self->f /* ORIG: f */)) != EOF) {
+ FileReaderProtocolPort_nextChar(&self->constData->outPort, c) /* ORIG: outPort.nextChar(c) */;
+ }
+ else {
+ fclose(self->f /* ORIG: f */);
+ printf("file closed !\r\n");
+ SubSysClass_shutdown();
+ }
+}
+
+/**
+ * calls exit codes while exiting from the current state to one of its
+ * parent states while remembering the history
+ * @param current - the current state
+ * @param to - the final parent state
+ * @param handler - entry and exit codes are called only if not handler (for handler TransitionPoints)
+ */
+static void exitTo(AFileReader* self, int current, int to, boolean handler) {
+ while (current!=to) {
+ switch (current) {
+ case STATE_reading:
+ self->history[STATE_TOP] = STATE_reading;
+ current = STATE_TOP;
+ break;
+ }
+ }
+}
+
+/**
+ * calls action, entry and exit codes along a transition chain. The generic data are cast to typed data
+ * matching the trigger of this chain. The ID of the final state is returned
+ * @param chain - the chain ID
+ * @param generic_data - the generic data pointer
+ * @return the ID of the final state
+ */
+static int executeTransitionChain(AFileReader* self, int chain, InterfaceItemBase ifitem, void* generic_data) {
+ switch (chain) {
+ case CHAIN_TRANS_INITIAL_TO__reading:
+ {
+ action_TRANS_INITIAL_TO__reading(self);
+ return STATE_reading;
+ }
+ case CHAIN_TRANS_tr0_FROM_reading_TO_reading_BY_getNextCharoutPort_tr0:
+ {
+ action_TRANS_tr0_FROM_reading_TO_reading_BY_getNextCharoutPort_tr0(self, ifitem);
+ return STATE_reading;
+ }
+ }
+ return NO_STATE;
+}
+
+/**
+ * calls entry codes while entering a state's history. The ID of the final leaf state is returned
+ * @param state - the state which is entered
+ * @param handler - entry code is executed if not handler
+ * @return - the ID of the final leaf state
+ */
+static int enterHistory(AFileReader* self, int state, boolean handler, boolean skip_entry) {
+ while (TRUE) {
+ switch (state) {
+ case STATE_reading:
+ // in leaf state: return state id
+ return STATE_reading;
+ case STATE_TOP:
+ state = self->history[STATE_TOP];
+ break;
+ }
+ skip_entry = FALSE;
+ }
+ //return NO_STATE; // required by CDT but detected as unreachable by JDT because of while (true)
+}
+
+static void executeInitTransition(AFileReader* self) {
+ int chain = CHAIN_TRANS_INITIAL_TO__reading;
+ int next = executeTransitionChain(self, chain, NULL, NULL);
+ next = enterHistory(self, next, FALSE, FALSE);
+ setState(self, next);
+}
+
+/* receiveEvent contains the main implementation of the FSM */
+static void receiveEvent(AFileReader* self, InterfaceItemBase ifitem, int evt, void* generic_data) {
+ int trigger = ifitem->localId + EVT_SHIFT*evt;
+ int chain = NOT_CAUGHT;
+ int catching_state = NO_STATE;
+ boolean is_handler = FALSE;
+ boolean skip_entry = FALSE;
+
+ if (!handleSystemEvent(ifitem, evt, generic_data)) {
+ switch (self->state) {
+ case STATE_reading:
+ switch(trigger) {
+ case TRIG_outPort__getNextChar:
+ {
+ chain = CHAIN_TRANS_tr0_FROM_reading_TO_reading_BY_getNextCharoutPort_tr0;
+ catching_state = STATE_TOP;
+ }
+ break;
+ }
+ break;
+ }
+ }
+ if (chain != NOT_CAUGHT) {
+ exitTo(self, self->state, catching_state, is_handler);
+ int next = executeTransitionChain(self, chain, ifitem, generic_data);
+ next = enterHistory(self, next, is_handler, skip_entry);
+ setState(self, next);
+ }
+}
+
+//******************************************
+// END of generated code for FSM
+//******************************************
+
+void AFileReader_init(AFileReader* self){
+ ET_MSC_LOGGER_SYNC_ENTRY("AFileReader", "init")
+ self->state = STATE_TOP;
+ {
+ int i;
+ for (i=0; i<AFILEREADER_HISTORY_SIZE; ++i)
+ self->history[i] = NO_STATE;
+ }
+ executeInitTransition(self);
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
+
+void AFileReader_receiveMessage(void* self, void* ifitem, const etMessage* msg){
+ ET_MSC_LOGGER_SYNC_ENTRY("AFileReader", "_receiveMessage")
+
+ receiveEvent(self, (etPort*)ifitem, msg->evtID, (void*)(((char*)msg)+MEM_CEIL(sizeof(etMessage))));
+
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
+
+/*--------------------- operations ---------------------*/
+
diff --git a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/AFileReader.h b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/AFileReader.h
index 933ec228c..8cb2323e1 100644
--- a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/AFileReader.h
+++ b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/AFileReader.h
@@ -1,61 +1,61 @@
-/**
- * @author generated by eTrice
- *
- * Header File of ActorClass AFileReader
- *
- */
-
-#ifndef _AFILEREADER_H_
-#define _AFILEREADER_H_
-
-#include "etDatatypes.h"
-#include "messaging/etMessage.h"
-
-#include "FileReaderProtocol.h"
-
-
-typedef struct AFileReader AFileReader;
-
-/* const part of ActorClass (ROM) */
-typedef struct AFileReader_const {
- /* simple ports */
- const FileReaderProtocolPort outPort;
-
- /* data receive ports */
-
- /* saps */
-
- /* replicated ports */
-
- /* services */
-} AFileReader_const;
-
-
-/* constant for state machine data */
-#define AFILEREADER_HISTORY_SIZE 2
-
-/* variable part of ActorClass (RAM) */
-struct AFileReader {
- const AFileReader_const* const constData;
-
- /* data send ports */
-
- /*--------------------- attributes ---------------------*/
- FILE* f;
-
-
- /* state machine variables */
- etInt16 state;
- etInt16 history[AFILEREADER_HISTORY_SIZE];
-};
-
-void AFileReader_init(AFileReader* self);
-
-void AFileReader_receiveMessage(void* self, void* ifitem, const etMessage* msg);
-
-
-/*--------------------- operations ---------------------*/
-
-
-#endif /* _AFILEREADER_H_ */
-
+/**
+ * @author generated by eTrice
+ *
+ * Header File of ActorClass AFileReader
+ *
+ */
+
+#ifndef _AFILEREADER_H_
+#define _AFILEREADER_H_
+
+#include "etDatatypes.h"
+#include "messaging/etMessage.h"
+
+#include "FileReaderProtocol.h"
+
+
+typedef struct AFileReader AFileReader;
+
+/* const part of ActorClass (ROM) */
+typedef struct AFileReader_const {
+ /* simple ports */
+ const FileReaderProtocolPort outPort;
+
+ /* data receive ports */
+
+ /* saps */
+
+ /* replicated ports */
+
+ /* services */
+} AFileReader_const;
+
+
+/* constant for state machine data */
+#define AFILEREADER_HISTORY_SIZE 2
+
+/* variable part of ActorClass (RAM) */
+struct AFileReader {
+ const AFileReader_const* const constData;
+
+ /* data send ports */
+
+ /*--------------------- attributes ---------------------*/
+ FILE* f;
+
+
+ /* state machine variables */
+ etInt16 state;
+ etInt16 history[AFILEREADER_HISTORY_SIZE];
+};
+
+void AFileReader_init(AFileReader* self);
+
+void AFileReader_receiveMessage(void* self, void* ifitem, const etMessage* msg);
+
+
+/*--------------------- operations ---------------------*/
+
+
+#endif /* _AFILEREADER_H_ */
+
diff --git a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/ATop.c b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/ATop.c
index 7dcc75d39..12813013d 100644
--- a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/ATop.c
+++ b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/ATop.c
@@ -1,36 +1,36 @@
-/**
- * @author generated by eTrice
- *
- * Source File of ActorClass ATop
- *
- */
-
-#include "ATop.h"
-
-#include "modelbase/etActor.h"
-#include "debugging/etLogger.h"
-#include "debugging/etMSCLogger.h"
-#include "etUnit/etUnit.h"
-#include "platform/etMemory.h"
-
-
-
-/* interface item IDs */
-/* empty enum not generated */
-
-
-void ATop_init(ATop* self){
- ET_MSC_LOGGER_SYNC_ENTRY("ATop", "init")
- ET_MSC_LOGGER_SYNC_EXIT
-}
-
-
-void ATop_receiveMessage(void* self, void* ifitem, const etMessage* msg){
- ET_MSC_LOGGER_SYNC_ENTRY("ATop", "_receiveMessage")
-
- ET_MSC_LOGGER_SYNC_EXIT
-}
-
-
-/*--------------------- operations ---------------------*/
-
+/**
+ * @author generated by eTrice
+ *
+ * Source File of ActorClass ATop
+ *
+ */
+
+#include "ATop.h"
+
+#include "modelbase/etActor.h"
+#include "debugging/etLogger.h"
+#include "debugging/etMSCLogger.h"
+#include "etUnit/etUnit.h"
+#include "platform/etMemory.h"
+
+
+
+/* interface item IDs */
+/* empty enum not generated */
+
+
+void ATop_init(ATop* self){
+ ET_MSC_LOGGER_SYNC_ENTRY("ATop", "init")
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
+
+void ATop_receiveMessage(void* self, void* ifitem, const etMessage* msg){
+ ET_MSC_LOGGER_SYNC_ENTRY("ATop", "_receiveMessage")
+
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
+
+/*--------------------- operations ---------------------*/
+
diff --git a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/ATop.h b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/ATop.h
index b73f9f72b..b77f9a9c4 100644
--- a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/ATop.h
+++ b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/ATop.h
@@ -1,39 +1,39 @@
-/**
- * @author generated by eTrice
- *
- * Header File of ActorClass ATop
- *
- */
-
-#ifndef _ATOP_H_
-#define _ATOP_H_
-
-#include "etDatatypes.h"
-#include "messaging/etMessage.h"
-
-
-
-typedef struct ATop ATop;
-
-/* const part of ActorClass (ROM) */
-/* this actor class has no ports and thus no constant data */
-
-
-/* variable part of ActorClass (RAM) */
-struct ATop {
- /* data send ports */
-
- /*--------------------- attributes ---------------------*/
-
-};
-
-void ATop_init(ATop* self);
-
-void ATop_receiveMessage(void* self, void* ifitem, const etMessage* msg);
-
-
-/*--------------------- operations ---------------------*/
-
-
-#endif /* _ATOP_H_ */
-
+/**
+ * @author generated by eTrice
+ *
+ * Header File of ActorClass ATop
+ *
+ */
+
+#ifndef _ATOP_H_
+#define _ATOP_H_
+
+#include "etDatatypes.h"
+#include "messaging/etMessage.h"
+
+
+
+typedef struct ATop ATop;
+
+/* const part of ActorClass (ROM) */
+/* this actor class has no ports and thus no constant data */
+
+
+/* variable part of ActorClass (RAM) */
+struct ATop {
+ /* data send ports */
+
+ /*--------------------- attributes ---------------------*/
+
+};
+
+void ATop_init(ATop* self);
+
+void ATop_receiveMessage(void* self, void* ifitem, const etMessage* msg);
+
+
+/*--------------------- operations ---------------------*/
+
+
+#endif /* _ATOP_H_ */
+
diff --git a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/FileReaderProtocol.c b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/FileReaderProtocol.c
index 63acb3720..c2a0ec25a 100644
--- a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/FileReaderProtocol.c
+++ b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/FileReaderProtocol.c
@@ -1,89 +1,89 @@
-/**
- * @author generated by eTrice
- *
- * Source File of ProtocolClass FileReaderProtocol
- *
- */
-
-#include "FileReaderProtocol.h"
-#include "debugging/etMSCLogger.h"
-
-
-/*--------------------- port methods */
-
-void FileReaderProtocolPort_nextChar(const FileReaderProtocolPort* self, char data) {
- ET_MSC_LOGGER_SYNC_ENTRY("FileReaderProtocolPort", "nextChar")
- etPort_sendMessage(self, FileReaderProtocol_OUT_nextChar, sizeof(char), &data);
- ET_MSC_LOGGER_SYNC_EXIT
-}
-
-void FileReaderProtocolReplPort_nextChar_broadcast(const FileReaderProtocolReplPort* self, char data) {
- int i;
- ET_MSC_LOGGER_SYNC_ENTRY("FileReaderProtocolReplPort", "nextChar")
- for (i=0; i<((etReplPort*)self)->size; ++i) {
- etPort_sendMessage(((etPort*)&((etReplPort*)self)->ports[i]), FileReaderProtocol_OUT_nextChar, sizeof(char), &data);
- }
- ET_MSC_LOGGER_SYNC_EXIT
-}
-
-void FileReaderProtocolReplPort_nextChar(const FileReaderProtocolReplPort* self, int idx, char data) {
- ET_MSC_LOGGER_SYNC_ENTRY("FileReaderProtocolReplPort", "nextChar")
- if (0<=idx && idx<((etReplPort*)self)->size) {
- etPort_sendMessage(((etPort*)&((etReplPort*)self)->ports[idx]), FileReaderProtocol_OUT_nextChar, sizeof(char), &data);
- }
- ET_MSC_LOGGER_SYNC_EXIT
-}
-
-
-// getReplication
-etInt32 FileReaderProtocolReplPort_getReplication(const FileReaderProtocolReplPort* self) {
- return ((etReplPort*)self)->size;
-}
-
-
-
-void FileReaderProtocolConjPort_getNextChar(const FileReaderProtocolConjPort* self) {
- ET_MSC_LOGGER_SYNC_ENTRY("FileReaderProtocolConjPort", "getNextChar")
- etPort_sendMessage(self, FileReaderProtocol_IN_getNextChar, 0, NULL);
- ET_MSC_LOGGER_SYNC_EXIT
-}
-
-void FileReaderProtocolConjReplPort_getNextChar_broadcast(const FileReaderProtocolConjReplPort* self) {
- int i;
- ET_MSC_LOGGER_SYNC_ENTRY("FileReaderProtocolConjReplPort", "getNextChar")
- for (i=0; i<((etReplPort*)self)->size; ++i) {
- etPort_sendMessage(((etPort*)&((etReplPort*)self)->ports[i]), FileReaderProtocol_IN_getNextChar, 0, NULL);
- }
- ET_MSC_LOGGER_SYNC_EXIT
-}
-
-void FileReaderProtocolConjReplPort_getNextChar(const FileReaderProtocolConjReplPort* self, int idx) {
- ET_MSC_LOGGER_SYNC_ENTRY("FileReaderProtocolConjReplPort", "getNextChar")
- if (0<=idx && idx<((etReplPort*)self)->size) {
- etPort_sendMessage(((etPort*)&((etReplPort*)self)->ports[idx]), FileReaderProtocol_IN_getNextChar, 0, NULL);
- }
- ET_MSC_LOGGER_SYNC_EXIT
-}
-
-
-// getReplication
-etInt32 FileReaderProtocolConjReplPort_getReplication(const FileReaderProtocolConjReplPort* self) {
- return ((etReplPort*)self)->size;
-}
-
-
-
-/*--------------------- debug helpers */
-
-/* message names as strings for debugging (generate MSC) */
-static const char* const FileReaderProtocol_messageStrings[] = {"MIN", "nextChar","getNextChar", "MAX"};
-
-const char* FileReaderProtocol_getMessageString(int msg_id) {
- if (msg_id<FileReaderProtocol_MSG_MIN || msg_id>FileReaderProtocol_MSG_MAX+1){
- /* id out of range */
- return "Message ID out of range";
- }
- else{
- return FileReaderProtocol_messageStrings[msg_id];
- }
-}
+/**
+ * @author generated by eTrice
+ *
+ * Source File of ProtocolClass FileReaderProtocol
+ *
+ */
+
+#include "FileReaderProtocol.h"
+#include "debugging/etMSCLogger.h"
+
+
+/*--------------------- port methods */
+
+void FileReaderProtocolPort_nextChar(const FileReaderProtocolPort* self, char data) {
+ ET_MSC_LOGGER_SYNC_ENTRY("FileReaderProtocolPort", "nextChar")
+ etPort_sendMessage(self, FileReaderProtocol_OUT_nextChar, sizeof(char), &data);
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
+void FileReaderProtocolReplPort_nextChar_broadcast(const FileReaderProtocolReplPort* self, char data) {
+ int i;
+ ET_MSC_LOGGER_SYNC_ENTRY("FileReaderProtocolReplPort", "nextChar")
+ for (i=0; i<((etReplPort*)self)->size; ++i) {
+ etPort_sendMessage(((etPort*)&((etReplPort*)self)->ports[i]), FileReaderProtocol_OUT_nextChar, sizeof(char), &data);
+ }
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
+void FileReaderProtocolReplPort_nextChar(const FileReaderProtocolReplPort* self, int idx, char data) {
+ ET_MSC_LOGGER_SYNC_ENTRY("FileReaderProtocolReplPort", "nextChar")
+ if (0<=idx && idx<((etReplPort*)self)->size) {
+ etPort_sendMessage(((etPort*)&((etReplPort*)self)->ports[idx]), FileReaderProtocol_OUT_nextChar, sizeof(char), &data);
+ }
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
+
+// getReplication
+etInt32 FileReaderProtocolReplPort_getReplication(const FileReaderProtocolReplPort* self) {
+ return ((etReplPort*)self)->size;
+}
+
+
+
+void FileReaderProtocolConjPort_getNextChar(const FileReaderProtocolConjPort* self) {
+ ET_MSC_LOGGER_SYNC_ENTRY("FileReaderProtocolConjPort", "getNextChar")
+ etPort_sendMessage(self, FileReaderProtocol_IN_getNextChar, 0, NULL);
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
+void FileReaderProtocolConjReplPort_getNextChar_broadcast(const FileReaderProtocolConjReplPort* self) {
+ int i;
+ ET_MSC_LOGGER_SYNC_ENTRY("FileReaderProtocolConjReplPort", "getNextChar")
+ for (i=0; i<((etReplPort*)self)->size; ++i) {
+ etPort_sendMessage(((etPort*)&((etReplPort*)self)->ports[i]), FileReaderProtocol_IN_getNextChar, 0, NULL);
+ }
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
+void FileReaderProtocolConjReplPort_getNextChar(const FileReaderProtocolConjReplPort* self, int idx) {
+ ET_MSC_LOGGER_SYNC_ENTRY("FileReaderProtocolConjReplPort", "getNextChar")
+ if (0<=idx && idx<((etReplPort*)self)->size) {
+ etPort_sendMessage(((etPort*)&((etReplPort*)self)->ports[idx]), FileReaderProtocol_IN_getNextChar, 0, NULL);
+ }
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
+
+// getReplication
+etInt32 FileReaderProtocolConjReplPort_getReplication(const FileReaderProtocolConjReplPort* self) {
+ return ((etReplPort*)self)->size;
+}
+
+
+
+/*--------------------- debug helpers */
+
+/* message names as strings for debugging (generate MSC) */
+static const char* const FileReaderProtocol_messageStrings[] = {"MIN", "nextChar","getNextChar", "MAX"};
+
+const char* FileReaderProtocol_getMessageString(int msg_id) {
+ if (msg_id<FileReaderProtocol_MSG_MIN || msg_id>FileReaderProtocol_MSG_MAX+1){
+ /* id out of range */
+ return "Message ID out of range";
+ }
+ else{
+ return FileReaderProtocol_messageStrings[msg_id];
+ }
+}
diff --git a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/FileReaderProtocol.h b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/FileReaderProtocol.h
index 588fa2fff..884a313f6 100644
--- a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/FileReaderProtocol.h
+++ b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/FileReaderProtocol.h
@@ -1,54 +1,54 @@
-/**
- * @author generated by eTrice
- *
- * Header File of ProtocolClass FileReaderProtocol
- *
- */
-
-#ifndef _FILEREADERPROTOCOL_H_
-#define _FILEREADERPROTOCOL_H_
-
-#include "etDatatypes.h"
-#include "modelbase/etPort.h"
-
-
-
-
-/* message IDs */
-enum FileReaderProtocol_msg_ids {
- FileReaderProtocol_MSG_MIN = 0,
- FileReaderProtocol_OUT_nextChar = 1,
- FileReaderProtocol_IN_getNextChar = 2,
- FileReaderProtocol_MSG_MAX = 3
-};
-
-/*--------------------- port structs and methods */
-typedef etPort FileReaderProtocolPort;
-typedef etReplPort FileReaderProtocolReplPort;
-
-
-void FileReaderProtocolPort_nextChar(const FileReaderProtocolPort* self, char data);
-void FileReaderProtocolReplPort_nextChar_broadcast(const FileReaderProtocolReplPort* self, char data);
-void FileReaderProtocolReplPort_nextChar(const FileReaderProtocolReplPort* self, int idx, char data);
-
-
-etInt32 FileReaderProtocolReplPort_getReplication(const FileReaderProtocolReplPort* self);
-typedef etPort FileReaderProtocolConjPort;
-typedef etReplPort FileReaderProtocolConjReplPort;
-
-
-void FileReaderProtocolConjPort_getNextChar(const FileReaderProtocolConjPort* self);
-void FileReaderProtocolConjReplPort_getNextChar_broadcast(const FileReaderProtocolConjReplPort* self);
-void FileReaderProtocolConjReplPort_getNextChar(const FileReaderProtocolConjReplPort* self, int idx);
-
-
-etInt32 FileReaderProtocolConjReplPort_getReplication(const FileReaderProtocolConjReplPort* self);
-
-/*--------------------- debug helpers */
-
-/* get message string for message id */
-const char* FileReaderProtocol_getMessageString(int msg_id);
-
-
-#endif /* _FILEREADERPROTOCOL_H_ */
-
+/**
+ * @author generated by eTrice
+ *
+ * Header File of ProtocolClass FileReaderProtocol
+ *
+ */
+
+#ifndef _FILEREADERPROTOCOL_H_
+#define _FILEREADERPROTOCOL_H_
+
+#include "etDatatypes.h"
+#include "modelbase/etPort.h"
+
+
+
+
+/* message IDs */
+enum FileReaderProtocol_msg_ids {
+ FileReaderProtocol_MSG_MIN = 0,
+ FileReaderProtocol_OUT_nextChar = 1,
+ FileReaderProtocol_IN_getNextChar = 2,
+ FileReaderProtocol_MSG_MAX = 3
+};
+
+/*--------------------- port structs and methods */
+typedef etPort FileReaderProtocolPort;
+typedef etReplPort FileReaderProtocolReplPort;
+
+
+void FileReaderProtocolPort_nextChar(const FileReaderProtocolPort* self, char data);
+void FileReaderProtocolReplPort_nextChar_broadcast(const FileReaderProtocolReplPort* self, char data);
+void FileReaderProtocolReplPort_nextChar(const FileReaderProtocolReplPort* self, int idx, char data);
+
+
+etInt32 FileReaderProtocolReplPort_getReplication(const FileReaderProtocolReplPort* self);
+typedef etPort FileReaderProtocolConjPort;
+typedef etReplPort FileReaderProtocolConjReplPort;
+
+
+void FileReaderProtocolConjPort_getNextChar(const FileReaderProtocolConjPort* self);
+void FileReaderProtocolConjReplPort_getNextChar_broadcast(const FileReaderProtocolConjReplPort* self);
+void FileReaderProtocolConjReplPort_getNextChar(const FileReaderProtocolConjReplPort* self, int idx);
+
+
+etInt32 FileReaderProtocolConjReplPort_getReplication(const FileReaderProtocolConjReplPort* self);
+
+/*--------------------- debug helpers */
+
+/* get message string for message id */
+const char* FileReaderProtocol_getMessageString(int msg_id);
+
+
+#endif /* _FILEREADERPROTOCOL_H_ */
+
diff --git a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys.c b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys.c
index 24deffd85..a6faad5dc 100644
--- a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys.c
+++ b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys.c
@@ -1,111 +1,111 @@
-/**
- * @author generated by eTrice
- *
- * Source File of SubSystemClass RemoveCommentSubSys
- *
- */
-
-#include "RemoveCommentSubSys.h"
-
-/* include instances for all classes */
-#include "RemoveCommentSubSys_Inst.h"
-#include "RemoveCommentSubSys_Disp.h"
-
-#include "debugging/etLogger.h"
-#include "debugging/etMSCLogger.h"
-
-#include "platform/etTimer.h"
-#include "etRuntimeConfig.h"
-
-
-/* data for SubSysten RemoveCommentSubSys */
-typedef struct RemoveCommentSubSys {
- char *name;
- volatile int shutdownRequest;
-} RemoveCommentSubSys;
-
-static RemoveCommentSubSys RemoveCommentSubSysInst = {"RemoveCommentSubSys",0};
-
-void RemoveCommentSubSys_initActorInstances(void);
-void RemoveCommentSubSys_constructActorInstances(void);
-
-void RemoveCommentSubSys_init(void){
- ET_MSC_LOGGER_SYNC_ENTRY("SubSys", "init")
- etLogger_logInfoF("%s_init", RemoveCommentSubSysInst.name);
-
- /* construct all actors */
- RemoveCommentSubSys_constructActorInstances();
-
- /* initialization of all message services */
- etMessageService_init(&msgService_Thread1, msgBuffer_Thread1, MESSAGE_POOL_MAX, MESSAGE_BLOCK_SIZE, MsgDispatcher_Thread1_receiveMessage);
-
- /* init all actors */
- RemoveCommentSubSys_initActorInstances();
-
- ET_MSC_LOGGER_SYNC_EXIT
-}
-
-void RemoveCommentSubSys_start(void){
- ET_MSC_LOGGER_SYNC_ENTRY("SubSys", "start")
- etLogger_logInfoF("%s_start", RemoveCommentSubSysInst.name);
- ET_MSC_LOGGER_SYNC_EXIT
-}
-
-void RemoveCommentSubSys_run(void){
- ET_MSC_LOGGER_SYNC_ENTRY("SubSys", "run")
-
- #ifdef ET_RUNTIME_ENDLESS
- while(!(RemoveCommentSubSysInst.shutdownRequest)){
- if (etTimer_executeNeeded()){
- etMessageService_execute(&msgService_Thread1);
- }
- }
- #else
- uint32 loopCounter = 0;
- while(!(RemoveCommentSubSysInst.shutdownRequest)){
- if (etTimer_executeNeeded()){
- etMessageService_execute(&msgService_Thread1);
- etLogger_logInfo("Execute");
- if (loopCounter++ > ET_RUNTIME_MAXLOOP){
- break;
- }
- }
- }
- #endif
-
- ET_MSC_LOGGER_SYNC_EXIT
-}
-
-void RemoveCommentSubSys_stop(void){
- ET_MSC_LOGGER_SYNC_ENTRY("SubSys", "stop")
- etLogger_logInfoF("%s_stop", RemoveCommentSubSysInst.name);
- ET_MSC_LOGGER_SYNC_EXIT
-}
-
-void RemoveCommentSubSys_destroy(void){
- ET_MSC_LOGGER_SYNC_ENTRY("SubSys", "destroy")
- etLogger_logInfoF("%s_destroy", RemoveCommentSubSysInst.name);
- ET_MSC_LOGGER_SYNC_EXIT
-}
-
-void SubSysClass_shutdown(void){
- ET_MSC_LOGGER_SYNC_ENTRY("SubSys", "shutdown")
- etLogger_logInfoF("%s_shutdown", RemoveCommentSubSysInst.name);
- RemoveCommentSubSysInst.shutdownRequest = 1;
- ET_MSC_LOGGER_SYNC_EXIT
-}
-
-
-void RemoveCommentSubSys_constructActorInstances(void){
- ET_MSC_LOGGER_SYNC_ENTRY("RemoveCommentSubSys", "constructActorInstances")
- ET_MSC_LOGGER_SYNC_EXIT
-}
-
-void RemoveCommentSubSys_initActorInstances(void){
- ET_MSC_LOGGER_SYNC_ENTRY("RemoveCommentSubSys", "initActorInstances")
- ATop_init(&_RemoveCommentSubSys_Topref);
- AFileReader_init(&_RemoveCommentSubSys_Topref_reader);
- ACParser_init(&_RemoveCommentSubSys_Topref_cParser);
- ET_MSC_LOGGER_SYNC_EXIT
-}
-
+/**
+ * @author generated by eTrice
+ *
+ * Source File of SubSystemClass RemoveCommentSubSys
+ *
+ */
+
+#include "RemoveCommentSubSys.h"
+
+/* include instances for all classes */
+#include "RemoveCommentSubSys_Inst.h"
+#include "RemoveCommentSubSys_Disp.h"
+
+#include "debugging/etLogger.h"
+#include "debugging/etMSCLogger.h"
+
+#include "platform/etTimer.h"
+#include "etRuntimeConfig.h"
+
+
+/* data for SubSysten RemoveCommentSubSys */
+typedef struct RemoveCommentSubSys {
+ char *name;
+ volatile int shutdownRequest;
+} RemoveCommentSubSys;
+
+static RemoveCommentSubSys RemoveCommentSubSysInst = {"RemoveCommentSubSys",0};
+
+void RemoveCommentSubSys_initActorInstances(void);
+void RemoveCommentSubSys_constructActorInstances(void);
+
+void RemoveCommentSubSys_init(void){
+ ET_MSC_LOGGER_SYNC_ENTRY("SubSys", "init")
+ etLogger_logInfoF("%s_init", RemoveCommentSubSysInst.name);
+
+ /* construct all actors */
+ RemoveCommentSubSys_constructActorInstances();
+
+ /* initialization of all message services */
+ etMessageService_init(&msgService_Thread1, msgBuffer_Thread1, MESSAGE_POOL_MAX, MESSAGE_BLOCK_SIZE, MsgDispatcher_Thread1_receiveMessage);
+
+ /* init all actors */
+ RemoveCommentSubSys_initActorInstances();
+
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
+void RemoveCommentSubSys_start(void){
+ ET_MSC_LOGGER_SYNC_ENTRY("SubSys", "start")
+ etLogger_logInfoF("%s_start", RemoveCommentSubSysInst.name);
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
+void RemoveCommentSubSys_run(void){
+ ET_MSC_LOGGER_SYNC_ENTRY("SubSys", "run")
+
+ #ifdef ET_RUNTIME_ENDLESS
+ while(!(RemoveCommentSubSysInst.shutdownRequest)){
+ if (etTimer_executeNeeded()){
+ etMessageService_execute(&msgService_Thread1);
+ }
+ }
+ #else
+ uint32 loopCounter = 0;
+ while(!(RemoveCommentSubSysInst.shutdownRequest)){
+ if (etTimer_executeNeeded()){
+ etMessageService_execute(&msgService_Thread1);
+ etLogger_logInfo("Execute");
+ if (loopCounter++ > ET_RUNTIME_MAXLOOP){
+ break;
+ }
+ }
+ }
+ #endif
+
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
+void RemoveCommentSubSys_stop(void){
+ ET_MSC_LOGGER_SYNC_ENTRY("SubSys", "stop")
+ etLogger_logInfoF("%s_stop", RemoveCommentSubSysInst.name);
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
+void RemoveCommentSubSys_destroy(void){
+ ET_MSC_LOGGER_SYNC_ENTRY("SubSys", "destroy")
+ etLogger_logInfoF("%s_destroy", RemoveCommentSubSysInst.name);
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
+void SubSysClass_shutdown(void){
+ ET_MSC_LOGGER_SYNC_ENTRY("SubSys", "shutdown")
+ etLogger_logInfoF("%s_shutdown", RemoveCommentSubSysInst.name);
+ RemoveCommentSubSysInst.shutdownRequest = 1;
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
+
+void RemoveCommentSubSys_constructActorInstances(void){
+ ET_MSC_LOGGER_SYNC_ENTRY("RemoveCommentSubSys", "constructActorInstances")
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
+void RemoveCommentSubSys_initActorInstances(void){
+ ET_MSC_LOGGER_SYNC_ENTRY("RemoveCommentSubSys", "initActorInstances")
+ ATop_init(&_RemoveCommentSubSys_Topref);
+ AFileReader_init(&_RemoveCommentSubSys_Topref_reader);
+ ACParser_init(&_RemoveCommentSubSys_Topref_cParser);
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
diff --git a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys.h b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys.h
index c910fc0a1..6138f770e 100644
--- a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys.h
+++ b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys.h
@@ -1,30 +1,30 @@
-/**
- * @author generated by eTrice
- *
- * Header File of SubSystemClass RemoveCommentSubSys
- *
- */
-
-#ifndef _REMOVECOMMENTSUBSYS_H_
-#define _REMOVECOMMENTSUBSYS_H_
-
-
-
-/* lifecycle functions
- * init -> start -> run (loop) -> stop -> destroy
- */
-
-void RemoveCommentSubSys_init(void); /* lifecycle init */
-void RemoveCommentSubSys_start(void); /* lifecycle start */
-
-void RemoveCommentSubSys_run(void); /* lifecycle run */
-
-void RemoveCommentSubSys_stop(void); /* lifecycle stop */
-void RemoveCommentSubSys_destroy(void); /* lifecycle destroy */
-
-void SubSysClass_shutdown(void); /* shutdown the dispatcher loop */
-
-
-#endif /* _REMOVECOMMENTSUBSYS_H_ */
-
-
+/**
+ * @author generated by eTrice
+ *
+ * Header File of SubSystemClass RemoveCommentSubSys
+ *
+ */
+
+#ifndef _REMOVECOMMENTSUBSYS_H_
+#define _REMOVECOMMENTSUBSYS_H_
+
+
+
+/* lifecycle functions
+ * init -> start -> run (loop) -> stop -> destroy
+ */
+
+void RemoveCommentSubSys_init(void); /* lifecycle init */
+void RemoveCommentSubSys_start(void); /* lifecycle start */
+
+void RemoveCommentSubSys_run(void); /* lifecycle run */
+
+void RemoveCommentSubSys_stop(void); /* lifecycle stop */
+void RemoveCommentSubSys_destroy(void); /* lifecycle destroy */
+
+void SubSysClass_shutdown(void); /* shutdown the dispatcher loop */
+
+
+#endif /* _REMOVECOMMENTSUBSYS_H_ */
+
+
diff --git a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Disp.h b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Disp.h
index 8a53e12ca..daea560b3 100644
--- a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Disp.h
+++ b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Disp.h
@@ -1,31 +1,31 @@
-/**
- * @author generated by eTrice
- *
- * Dispatcher File of SubSystemClass RemoveCommentSubSys
- * - one generated dispatcher for each MessageService (Thread)
- */
-
-#include "messaging/etMessageReceiver.h"
-#include "debugging/etLogger.h"
-#include "debugging/etMSCLogger.h"
-
-static void MsgDispatcher_Thread1_receiveMessage(const etMessage* msg){
- ET_MSC_LOGGER_SYNC_ENTRY("MsgDispatcher_Thread1", "receiveMessage")
- switch(msg->address){
-
- /* interface items of /RemoveCommentSubSys/Topref */
- /* interface items of /RemoveCommentSubSys/Topref/reader */
- case 103:
- AFileReader_receiveMessage((void*)&_RemoveCommentSubSys_Topref_reader,(etPort*)&_RemoveCommentSubSys_Topref_reader_const.outPort, msg);
- break;
- /* interface items of /RemoveCommentSubSys/Topref/cParser */
- case 105:
- ACParser_receiveMessage((void*)&_RemoveCommentSubSys_Topref_cParser,(etPort*)&_RemoveCommentSubSys_Topref_cParser_const.readerPort, msg);
- break;
-
- default:
- etLogger_logErrorF("MessageService_Thread1_receiveMessage: address %d does not exist ", msg->address);
- break;
- }
- ET_MSC_LOGGER_SYNC_EXIT
-}
+/**
+ * @author generated by eTrice
+ *
+ * Dispatcher File of SubSystemClass RemoveCommentSubSys
+ * - one generated dispatcher for each MessageService (Thread)
+ */
+
+#include "messaging/etMessageReceiver.h"
+#include "debugging/etLogger.h"
+#include "debugging/etMSCLogger.h"
+
+static void MsgDispatcher_Thread1_receiveMessage(const etMessage* msg){
+ ET_MSC_LOGGER_SYNC_ENTRY("MsgDispatcher_Thread1", "receiveMessage")
+ switch(msg->address){
+
+ /* interface items of /RemoveCommentSubSys/Topref */
+ /* interface items of /RemoveCommentSubSys/Topref/reader */
+ case 103:
+ AFileReader_receiveMessage((void*)&_RemoveCommentSubSys_Topref_reader,(etPort*)&_RemoveCommentSubSys_Topref_reader_const.outPort, msg);
+ break;
+ /* interface items of /RemoveCommentSubSys/Topref/cParser */
+ case 105:
+ ACParser_receiveMessage((void*)&_RemoveCommentSubSys_Topref_cParser,(etPort*)&_RemoveCommentSubSys_Topref_cParser_const.readerPort, msg);
+ break;
+
+ default:
+ etLogger_logErrorF("MessageService_Thread1_receiveMessage: address %d does not exist ", msg->address);
+ break;
+ }
+ ET_MSC_LOGGER_SYNC_EXIT
+}
diff --git a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Inst.h b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Inst.h
index ba606608f..70f3e7378 100644
--- a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Inst.h
+++ b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Inst.h
@@ -1,76 +1,76 @@
-/**
- * @author generated by eTrice
- *
- * Instance File of SubSystemClass RemoveCommentSubSys
- * - instantiation of all actor instances and port instances
- * - configuration of data and connection of ports
- */
-
-#include "messaging/etMessageService.h"
-#include "platform/etMemory.h"
-
-/* instantiation of message services */
-
-/* MessageService for Thread1 */
-static uint8 msgBuffer_Thread1[MESSAGE_POOL_MAX*MESSAGE_BLOCK_SIZE];
-static etMessageService msgService_Thread1;
-
-
-/* include all used ActorClasses */
-#include "ATop.h"
-#include "ACParser.h"
-#include "AFileReader.h"
-
-/* include all used ProtcolClasses */
-#include "FileReaderProtocol.h"
-
-
-/* declarations of all ActorClass instances (const and variable structs) */
-
-/* forward declaration of variable actor structs */
-static ATop _RemoveCommentSubSys_Topref;
-static AFileReader _RemoveCommentSubSys_Topref_reader;
-static ACParser _RemoveCommentSubSys_Topref_cParser;
-
-/* forward declaration of variable port structs */
-/*nothing to do */
-
-
-/* instance _RemoveCommentSubSys_Topref */
-/* no ports/saps/services - nothing to initialize statically */
-
-/* instance _RemoveCommentSubSys_Topref_reader */
-static const AFileReader_const _RemoveCommentSubSys_Topref_reader_const = {
- /* Ports: {varData, msgService, peerAddress, localId} */
- {0,&msgService_Thread1, 105, 1} /* Port outPort */
-
- /* data receive ports */
-};
-static AFileReader _RemoveCommentSubSys_Topref_reader = {
- &_RemoveCommentSubSys_Topref_reader_const,
-
- /* data send ports */
-
- /* attributes */
- 0,
-
- /* state and history are initialized in init fuction */
-};
-
-/* instance _RemoveCommentSubSys_Topref_cParser */
-static const ACParser_const _RemoveCommentSubSys_Topref_cParser_const = {
- /* Ports: {varData, msgService, peerAddress, localId} */
- {0,&msgService_Thread1, 103, 1} /* Port readerPort */
-
- /* data receive ports */
-};
-static ACParser _RemoveCommentSubSys_Topref_cParser = {
- &_RemoveCommentSubSys_Topref_cParser_const,
-
- /* data send ports */
-
- /* attributes */
-
- /* state and history are initialized in init fuction */
-};
-
+/**
+ * @author generated by eTrice
+ *
+ * Instance File of SubSystemClass RemoveCommentSubSys
+ * - instantiation of all actor instances and port instances
+ * - configuration of data and connection of ports
+ */
+
+#include "messaging/etMessageService.h"
+#include "platform/etMemory.h"
+
+/* instantiation of message services */
+
+/* MessageService for Thread1 */
+static uint8 msgBuffer_Thread1[MESSAGE_POOL_MAX*MESSAGE_BLOCK_SIZE];
+static etMessageService msgService_Thread1;
+
+
+/* include all used ActorClasses */
+#include "ATop.h"
+#include "ACParser.h"
+#include "AFileReader.h"
+
+/* include all used ProtcolClasses */
+#include "FileReaderProtocol.h"
+
+
+/* declarations of all ActorClass instances (const and variable structs) */
+
+/* forward declaration of variable actor structs */
+static ATop _RemoveCommentSubSys_Topref;
+static AFileReader _RemoveCommentSubSys_Topref_reader;
+static ACParser _RemoveCommentSubSys_Topref_cParser;
+
+/* forward declaration of variable port structs */
+/*nothing to do */
+
+
+/* instance _RemoveCommentSubSys_Topref */
+/* no ports/saps/services - nothing to initialize statically */
+
+/* instance _RemoveCommentSubSys_Topref_reader */
+static const AFileReader_const _RemoveCommentSubSys_Topref_reader_const = {
+ /* Ports: {varData, msgService, peerAddress, localId} */
+ {0,&msgService_Thread1, 105, 1} /* Port outPort */
+
+ /* data receive ports */
+};
+static AFileReader _RemoveCommentSubSys_Topref_reader = {
+ &_RemoveCommentSubSys_Topref_reader_const,
+
+ /* data send ports */
+
+ /* attributes */
+ 0,
+
+ /* state and history are initialized in init fuction */
+};
+
+/* instance _RemoveCommentSubSys_Topref_cParser */
+static const ACParser_const _RemoveCommentSubSys_Topref_cParser_const = {
+ /* Ports: {varData, msgService, peerAddress, localId} */
+ {0,&msgService_Thread1, 103, 1} /* Port readerPort */
+
+ /* data receive ports */
+};
+static ACParser _RemoveCommentSubSys_Topref_cParser = {
+ &_RemoveCommentSubSys_Topref_cParser_const,
+
+ /* data send ports */
+
+ /* attributes */
+
+ /* state and history are initialized in init fuction */
+};
+
diff --git a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Runner.c b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Runner.c
index b613131cc..4d6220e70 100644
--- a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Runner.c
+++ b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/RemoveCommentSubSys_Runner.c
@@ -1,49 +1,49 @@
-/**
- * @author generated by eTrice
- *
- * this class contains the main function running component RemoveCommentSubSys
- * it instantiates RemoveCommentSubSys and starts and ends the lifecycle
- */
-
-
-#include "RemoveCommentSubSys.h"
-
-#include "debugging/etLogger.h"
-#include "debugging/etMSCLogger.h"
-#include "platform/etPlatform.h"
-
-
-/**
- * main function
- * creates component and starts and stops the lifecycle
- */
-
-int main(void) {
- etUserEntry(); /* platform specific */
-
- etLogger_logInfo("*** T H E B E G I N ***");
- ET_MSC_LOGGER_OPEN("main");
-
- /* startup sequence of lifecycle */
- RemoveCommentSubSys_init(); /* lifecycle init */
- RemoveCommentSubSys_start(); /* lifecycle start */
-
- etUserPreRun(); /* platform specific */
-
- /* run Scheduler */
- RemoveCommentSubSys_run();
-
- etUserPostRun(); /* platform specific */
-
- /* shutdown sequence of lifecycle */
- RemoveCommentSubSys_stop(); /* lifecycle stop */
- RemoveCommentSubSys_destroy(); /* lifecycle destroy */
-
- ET_MSC_LOGGER_CLOSE
- etLogger_logInfo("*** T H E E N D ***");
-
- etUserExit(); /* platform specific */
-
- return 0;
-}
-
+/**
+ * @author generated by eTrice
+ *
+ * this class contains the main function running component RemoveCommentSubSys
+ * it instantiates RemoveCommentSubSys and starts and ends the lifecycle
+ */
+
+
+#include "RemoveCommentSubSys.h"
+
+#include "debugging/etLogger.h"
+#include "debugging/etMSCLogger.h"
+#include "platform/etPlatform.h"
+
+
+/**
+ * main function
+ * creates component and starts and stops the lifecycle
+ */
+
+int main(void) {
+ etUserEntry(); /* platform specific */
+
+ etLogger_logInfo("*** T H E B E G I N ***");
+ ET_MSC_LOGGER_OPEN("main");
+
+ /* startup sequence of lifecycle */
+ RemoveCommentSubSys_init(); /* lifecycle init */
+ RemoveCommentSubSys_start(); /* lifecycle start */
+
+ etUserPreRun(); /* platform specific */
+
+ /* run Scheduler */
+ RemoveCommentSubSys_run();
+
+ etUserPostRun(); /* platform specific */
+
+ /* shutdown sequence of lifecycle */
+ RemoveCommentSubSys_stop(); /* lifecycle stop */
+ RemoveCommentSubSys_destroy(); /* lifecycle destroy */
+
+ ET_MSC_LOGGER_CLOSE
+ etLogger_logInfo("*** T H E E N D ***");
+
+ etUserExit(); /* platform specific */
+
+ return 0;
+}
+
diff --git a/examples/org.eclipse.etrice.tutorials.c/src-gen/readme.txt b/examples/org.eclipse.etrice.tutorials.c/src-gen/readme.txt
index 1dc2b35ab..c3b99d458 100644
--- a/examples/org.eclipse.etrice.tutorials.c/src-gen/readme.txt
+++ b/examples/org.eclipse.etrice.tutorials.c/src-gen/readme.txt
@@ -1,4 +1,4 @@
-This directory is an eTrice code generation target.
-It will be erased every time the generator is executed.
-
-DO NOT PLACE OTHER FILES HERE!
+This directory is an eTrice code generation target.
+It will be erased every time the generator is executed.
+
+DO NOT PLACE OTHER FILES HERE!
diff --git a/examples/org.eclipse.etrice.tutorials.c/test.txt b/examples/org.eclipse.etrice.tutorials.c/test.txt
index 61e44a287..dfdd262e9 100644
--- a/examples/org.eclipse.etrice.tutorials.c/test.txt
+++ b/examples/org.eclipse.etrice.tutorials.c/test.txt
@@ -1,325 +1,325 @@
-/**
- * @author generated by eTrice
- *
- * Source File of ActorClass ACParser
- *
- */
-
-#include "ACParser.h"
-
-#include "modelbase/etActor.h"
-#include "debugging/etLogger.h"
-#include "debugging/etMSCLogger.h"
-#include "etUnit/etUnit.h"
-#include "platform/etMemory.h"
-
-#include "FileReaderProtocol.h"
-
-
-/* interface item IDs */
-enum interface_items {
- IFITEM_readerPort = 1
-};
-
-
-/* state IDs */
-enum state_ids {
- NO_STATE = 0,
- STATE_TOP = 1,
- STATE_code = 2,
- STATE_firstSlash = 3,
- STATE_blockComment = 4,
- STATE_firstStar = 5,
- STATE_lineComment = 6
-};
-
-/* transition chains */
-enum chain_ids {
- CHAIN_TRANS_INITIAL_TO__code = 1,
- CHAIN_TRANS_tr0_FROM_code_TO_cp0_BY_nextCharreaderPort = 2,
- CHAIN_TRANS_tr3_FROM_firstSlash_TO_cp1_BY_nextCharreaderPort = 3,
- CHAIN_TRANS_tr6_FROM_blockComment_TO_cp2_BY_nextCharreaderPort = 4,
- CHAIN_TRANS_tr9_FROM_firstStar_TO_cp3_BY_nextCharreaderPort = 5,
- CHAIN_TRANS_tr15_FROM_lineComment_TO_cp5_BY_nextCharreaderPort = 6
-};
-
-/* triggers */
-enum triggers {
- POLLING = 0,
- TRIG_readerPort__nextChar = IFITEM_readerPort + EVT_SHIFT*FileReaderProtocol_OUT_nextChar
-};
-
-
-static void setState(ACParser* self, int new_state) {
- self->state = new_state;
-}
-
-/* Entry and Exit Codes */
-
-/* Action Codes */
-static void action_TRANS_INITIAL_TO__code(ACParser* self) {
- FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
-}
-static void action_TRANS_tr0_FROM_code_TO_cp0_BY_nextCharreaderPort(ACParser* self, InterfaceItemBase ifitem, char c) {
- FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
-}
-static void action_TRANS_tr1_FROM_cp0_TO_code(ACParser* self, InterfaceItemBase ifitem, char c) {
- printf("%c",c);
-}
-static void action_TRANS_tr3_FROM_firstSlash_TO_cp1_BY_nextCharreaderPort(ACParser* self, InterfaceItemBase ifitem, char c) {
- FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
-}
-static void action_TRANS_tr6_FROM_blockComment_TO_cp2_BY_nextCharreaderPort(ACParser* self, InterfaceItemBase ifitem, char c) {
- FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
-}
-static void action_TRANS_tr9_FROM_firstStar_TO_cp3_BY_nextCharreaderPort(ACParser* self, InterfaceItemBase ifitem, char c) {
- FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
-}
-static void action_TRANS_tr12_FROM_cp4_TO_code(ACParser* self, InterfaceItemBase ifitem, char c) {
- printf("%c%c",'/',c);
-}
-static void action_TRANS_tr15_FROM_lineComment_TO_cp5_BY_nextCharreaderPort(ACParser* self, InterfaceItemBase ifitem, char c) {
- FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
-}
-
-/**
- * calls exit codes while exiting from the current state to one of its
- * parent states while remembering the history
- * @param current - the current state
- * @param to - the final parent state
- * @param handler - entry and exit codes are called only if not handler (for handler TransitionPoints)
- */
-static void exitTo(ACParser* self, int current, int to, boolean handler) {
- while (current!=to) {
- switch (current) {
- case STATE_code:
- self->history[STATE_TOP] = STATE_code;
- current = STATE_TOP;
- break;
- case STATE_firstSlash:
- self->history[STATE_TOP] = STATE_firstSlash;
- current = STATE_TOP;
- break;
- case STATE_blockComment:
- self->history[STATE_TOP] = STATE_blockComment;
- current = STATE_TOP;
- break;
- case STATE_firstStar:
- self->history[STATE_TOP] = STATE_firstStar;
- current = STATE_TOP;
- break;
- case STATE_lineComment:
- self->history[STATE_TOP] = STATE_lineComment;
- current = STATE_TOP;
- break;
- }
- }
-}
-
-/**
- * calls action, entry and exit codes along a transition chain. The generic data are cast to typed data
- * matching the trigger of this chain. The ID of the final state is returned
- * @param chain - the chain ID
- * @param generic_data - the generic data pointer
- * @return the ID of the final state
- */
-static int executeTransitionChain(ACParser* self, int chain, InterfaceItemBase ifitem, void* generic_data) {
- switch (chain) {
- case CHAIN_TRANS_INITIAL_TO__code:
- {
- action_TRANS_INITIAL_TO__code(self);
- return STATE_code;
- }
- case CHAIN_TRANS_tr0_FROM_code_TO_cp0_BY_nextCharreaderPort:
- {
- char c = *((char*) generic_data);
- action_TRANS_tr0_FROM_code_TO_cp0_BY_nextCharreaderPort(self, ifitem, c);
- if (c=='/') {
- return STATE_firstSlash;}
- else {
- action_TRANS_tr1_FROM_cp0_TO_code(self, ifitem, c);
- return STATE_code;}
- }
- case CHAIN_TRANS_tr3_FROM_firstSlash_TO_cp1_BY_nextCharreaderPort:
- {
- char c = *((char*) generic_data);
- action_TRANS_tr3_FROM_firstSlash_TO_cp1_BY_nextCharreaderPort(self, ifitem, c);
- if (c=='*') {
- return STATE_blockComment;}
- else {
- if (c=='/') {
- return STATE_lineComment;}
- else {
- action_TRANS_tr12_FROM_cp4_TO_code(self, ifitem, c);
- return STATE_code;}
- }
- }
- case CHAIN_TRANS_tr6_FROM_blockComment_TO_cp2_BY_nextCharreaderPort:
- {
- char c = *((char*) generic_data);
- action_TRANS_tr6_FROM_blockComment_TO_cp2_BY_nextCharreaderPort(self, ifitem, c);
- if (c=='*') {
- return STATE_firstStar;}
- else {
- return STATE_blockComment;}
- }
- case CHAIN_TRANS_tr9_FROM_firstStar_TO_cp3_BY_nextCharreaderPort:
- {
- char c = *((char*) generic_data);
- action_TRANS_tr9_FROM_firstStar_TO_cp3_BY_nextCharreaderPort(self, ifitem, c);
- if (c=='/') {
- return STATE_code;}
- else {
- return STATE_blockComment;}
- }
- case CHAIN_TRANS_tr15_FROM_lineComment_TO_cp5_BY_nextCharreaderPort:
- {
- char c = *((char*) generic_data);
- action_TRANS_tr15_FROM_lineComment_TO_cp5_BY_nextCharreaderPort(self, ifitem, c);
- if (c=='\n') {
- return STATE_code;}
- else {
- return STATE_lineComment;}
- }
- }
- return NO_STATE;
-}
-
-/**
- * calls entry codes while entering a state's history. The ID of the final leaf state is returned
- * @param state - the state which is entered
- * @param handler - entry code is executed if not handler
- * @return - the ID of the final leaf state
- */
-static int enterHistory(ACParser* self, int state, boolean handler, boolean skip_entry) {
- while (TRUE) {
- switch (state) {
- case STATE_code:
- // in leaf state: return state id
- return STATE_code;
- case STATE_firstSlash:
- // in leaf state: return state id
- return STATE_firstSlash;
- case STATE_blockComment:
- // in leaf state: return state id
- return STATE_blockComment;
- case STATE_firstStar:
- // in leaf state: return state id
- return STATE_firstStar;
- case STATE_lineComment:
- // in leaf state: return state id
- return STATE_lineComment;
- case STATE_TOP:
- state = self->history[STATE_TOP];
- break;
- }
- skip_entry = FALSE;
- }
- //return NO_STATE; // required by CDT but detected as unreachable by JDT because of while (true)
-}
-
-static void executeInitTransition(ACParser* self) {
- int chain = CHAIN_TRANS_INITIAL_TO__code;
- int next = executeTransitionChain(self, chain, NULL, NULL);
- next = enterHistory(self, next, FALSE, FALSE);
- setState(self, next);
-}
-
-/* receiveEvent contains the main implementation of the FSM */
-static void receiveEvent(ACParser* self, InterfaceItemBase ifitem, int evt, void* generic_data) {
- int trigger = ifitem->localId + EVT_SHIFT*evt;
- int chain = NOT_CAUGHT;
- int catching_state = NO_STATE;
- boolean is_handler = FALSE;
- boolean skip_entry = FALSE;
-
- if (!handleSystemEvent(ifitem, evt, generic_data)) {
- switch (self->state) {
- case STATE_code:
- switch(trigger) {
- case TRIG_readerPort__nextChar:
- {
- chain = CHAIN_TRANS_tr0_FROM_code_TO_cp0_BY_nextCharreaderPort;
- catching_state = STATE_TOP;
- }
- break;
- }
- break;
- case STATE_firstSlash:
- switch(trigger) {
- case TRIG_readerPort__nextChar:
- {
- chain = CHAIN_TRANS_tr3_FROM_firstSlash_TO_cp1_BY_nextCharreaderPort;
- catching_state = STATE_TOP;
- }
- break;
- }
- break;
- case STATE_blockComment:
- switch(trigger) {
- case TRIG_readerPort__nextChar:
- {
- chain = CHAIN_TRANS_tr6_FROM_blockComment_TO_cp2_BY_nextCharreaderPort;
- catching_state = STATE_TOP;
- }
- break;
- }
- break;
- case STATE_firstStar:
- switch(trigger) {
- case TRIG_readerPort__nextChar:
- {
- chain = CHAIN_TRANS_tr9_FROM_firstStar_TO_cp3_BY_nextCharreaderPort;
- catching_state = STATE_TOP;
- }
- break;
- }
- break;
- case STATE_lineComment:
- switch(trigger) {
- case TRIG_readerPort__nextChar:
- {
- chain = CHAIN_TRANS_tr15_FROM_lineComment_TO_cp5_BY_nextCharreaderPort;
- catching_state = STATE_TOP;
- }
- break;
- }
- break;
- }
- }
- if (chain != NOT_CAUGHT) {
- exitTo(self, self->state, catching_state, is_handler);
- int next = executeTransitionChain(self, chain, ifitem, generic_data);
- next = enterHistory(self, next, is_handler, skip_entry);
- setState(self, next);
- }
-}
-
-//******************************************
-// END of generated code for FSM
-//******************************************
-
-void ACParser_init(ACParser* self){
- ET_MSC_LOGGER_SYNC_ENTRY("ACParser", "init")
- self->state = STATE_TOP;
- {
- int i;
- for (i=0; i<ACPARSER_HISTORY_SIZE; ++i)
- self->history[i] = NO_STATE;
- }
- executeInitTransition(self);
- ET_MSC_LOGGER_SYNC_EXIT
-}
-
-
-void ACParser_receiveMessage(void* self, void* ifitem, const etMessage* msg){
- ET_MSC_LOGGER_SYNC_ENTRY("ACParser", "_receiveMessage")
-
- receiveEvent(self, (etPort*)ifitem, msg->evtID, (void*)(((char*)msg)+MEM_CEIL(sizeof(etMessage))));
-
- ET_MSC_LOGGER_SYNC_EXIT
-}
-
-
-/*--------------------- operations ---------------------*/
-
+/**
+ * @author generated by eTrice
+ *
+ * Source File of ActorClass ACParser
+ *
+ */
+
+#include "ACParser.h"
+
+#include "modelbase/etActor.h"
+#include "debugging/etLogger.h"
+#include "debugging/etMSCLogger.h"
+#include "etUnit/etUnit.h"
+#include "platform/etMemory.h"
+
+#include "FileReaderProtocol.h"
+
+
+/* interface item IDs */
+enum interface_items {
+ IFITEM_readerPort = 1
+};
+
+
+/* state IDs */
+enum state_ids {
+ NO_STATE = 0,
+ STATE_TOP = 1,
+ STATE_code = 2,
+ STATE_firstSlash = 3,
+ STATE_blockComment = 4,
+ STATE_firstStar = 5,
+ STATE_lineComment = 6
+};
+
+/* transition chains */
+enum chain_ids {
+ CHAIN_TRANS_INITIAL_TO__code = 1,
+ CHAIN_TRANS_tr0_FROM_code_TO_cp0_BY_nextCharreaderPort = 2,
+ CHAIN_TRANS_tr3_FROM_firstSlash_TO_cp1_BY_nextCharreaderPort = 3,
+ CHAIN_TRANS_tr6_FROM_blockComment_TO_cp2_BY_nextCharreaderPort = 4,
+ CHAIN_TRANS_tr9_FROM_firstStar_TO_cp3_BY_nextCharreaderPort = 5,
+ CHAIN_TRANS_tr15_FROM_lineComment_TO_cp5_BY_nextCharreaderPort = 6
+};
+
+/* triggers */
+enum triggers {
+ POLLING = 0,
+ TRIG_readerPort__nextChar = IFITEM_readerPort + EVT_SHIFT*FileReaderProtocol_OUT_nextChar
+};
+
+
+static void setState(ACParser* self, int new_state) {
+ self->state = new_state;
+}
+
+/* Entry and Exit Codes */
+
+/* Action Codes */
+static void action_TRANS_INITIAL_TO__code(ACParser* self) {
+ FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
+}
+static void action_TRANS_tr0_FROM_code_TO_cp0_BY_nextCharreaderPort(ACParser* self, InterfaceItemBase ifitem, char c) {
+ FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
+}
+static void action_TRANS_tr1_FROM_cp0_TO_code(ACParser* self, InterfaceItemBase ifitem, char c) {
+ printf("%c",c);
+}
+static void action_TRANS_tr3_FROM_firstSlash_TO_cp1_BY_nextCharreaderPort(ACParser* self, InterfaceItemBase ifitem, char c) {
+ FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
+}
+static void action_TRANS_tr6_FROM_blockComment_TO_cp2_BY_nextCharreaderPort(ACParser* self, InterfaceItemBase ifitem, char c) {
+ FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
+}
+static void action_TRANS_tr9_FROM_firstStar_TO_cp3_BY_nextCharreaderPort(ACParser* self, InterfaceItemBase ifitem, char c) {
+ FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
+}
+static void action_TRANS_tr12_FROM_cp4_TO_code(ACParser* self, InterfaceItemBase ifitem, char c) {
+ printf("%c%c",'/',c);
+}
+static void action_TRANS_tr15_FROM_lineComment_TO_cp5_BY_nextCharreaderPort(ACParser* self, InterfaceItemBase ifitem, char c) {
+ FileReaderProtocolConjPort_getNextChar(&self->constData->readerPort) /* ORIG: readerPort.getNextChar() */;
+}
+
+/**
+ * calls exit codes while exiting from the current state to one of its
+ * parent states while remembering the history
+ * @param current - the current state
+ * @param to - the final parent state
+ * @param handler - entry and exit codes are called only if not handler (for handler TransitionPoints)
+ */
+static void exitTo(ACParser* self, int current, int to, boolean handler) {
+ while (current!=to) {
+ switch (current) {
+ case STATE_code:
+ self->history[STATE_TOP] = STATE_code;
+ current = STATE_TOP;
+ break;
+ case STATE_firstSlash:
+ self->history[STATE_TOP] = STATE_firstSlash;
+ current = STATE_TOP;
+ break;
+ case STATE_blockComment:
+ self->history[STATE_TOP] = STATE_blockComment;
+ current = STATE_TOP;
+ break;
+ case STATE_firstStar:
+ self->history[STATE_TOP] = STATE_firstStar;
+ current = STATE_TOP;
+ break;
+ case STATE_lineComment:
+ self->history[STATE_TOP] = STATE_lineComment;
+ current = STATE_TOP;
+ break;
+ }
+ }
+}
+
+/**
+ * calls action, entry and exit codes along a transition chain. The generic data are cast to typed data
+ * matching the trigger of this chain. The ID of the final state is returned
+ * @param chain - the chain ID
+ * @param generic_data - the generic data pointer
+ * @return the ID of the final state
+ */
+static int executeTransitionChain(ACParser* self, int chain, InterfaceItemBase ifitem, void* generic_data) {
+ switch (chain) {
+ case CHAIN_TRANS_INITIAL_TO__code:
+ {
+ action_TRANS_INITIAL_TO__code(self);
+ return STATE_code;
+ }
+ case CHAIN_TRANS_tr0_FROM_code_TO_cp0_BY_nextCharreaderPort:
+ {
+ char c = *((char*) generic_data);
+ action_TRANS_tr0_FROM_code_TO_cp0_BY_nextCharreaderPort(self, ifitem, c);
+ if (c=='/') {
+ return STATE_firstSlash;}
+ else {
+ action_TRANS_tr1_FROM_cp0_TO_code(self, ifitem, c);
+ return STATE_code;}
+ }
+ case CHAIN_TRANS_tr3_FROM_firstSlash_TO_cp1_BY_nextCharreaderPort:
+ {
+ char c = *((char*) generic_data);
+ action_TRANS_tr3_FROM_firstSlash_TO_cp1_BY_nextCharreaderPort(self, ifitem, c);
+ if (c=='*') {
+ return STATE_blockComment;}
+ else {
+ if (c=='/') {
+ return STATE_lineComment;}
+ else {
+ action_TRANS_tr12_FROM_cp4_TO_code(self, ifitem, c);
+ return STATE_code;}
+ }
+ }
+ case CHAIN_TRANS_tr6_FROM_blockComment_TO_cp2_BY_nextCharreaderPort:
+ {
+ char c = *((char*) generic_data);
+ action_TRANS_tr6_FROM_blockComment_TO_cp2_BY_nextCharreaderPort(self, ifitem, c);
+ if (c=='*') {
+ return STATE_firstStar;}
+ else {
+ return STATE_blockComment;}
+ }
+ case CHAIN_TRANS_tr9_FROM_firstStar_TO_cp3_BY_nextCharreaderPort:
+ {
+ char c = *((char*) generic_data);
+ action_TRANS_tr9_FROM_firstStar_TO_cp3_BY_nextCharreaderPort(self, ifitem, c);
+ if (c=='/') {
+ return STATE_code;}
+ else {
+ return STATE_blockComment;}
+ }
+ case CHAIN_TRANS_tr15_FROM_lineComment_TO_cp5_BY_nextCharreaderPort:
+ {
+ char c = *((char*) generic_data);
+ action_TRANS_tr15_FROM_lineComment_TO_cp5_BY_nextCharreaderPort(self, ifitem, c);
+ if (c=='\n') {
+ return STATE_code;}
+ else {
+ return STATE_lineComment;}
+ }
+ }
+ return NO_STATE;
+}
+
+/**
+ * calls entry codes while entering a state's history. The ID of the final leaf state is returned
+ * @param state - the state which is entered
+ * @param handler - entry code is executed if not handler
+ * @return - the ID of the final leaf state
+ */
+static int enterHistory(ACParser* self, int state, boolean handler, boolean skip_entry) {
+ while (TRUE) {
+ switch (state) {
+ case STATE_code:
+ // in leaf state: return state id
+ return STATE_code;
+ case STATE_firstSlash:
+ // in leaf state: return state id
+ return STATE_firstSlash;
+ case STATE_blockComment:
+ // in leaf state: return state id
+ return STATE_blockComment;
+ case STATE_firstStar:
+ // in leaf state: return state id
+ return STATE_firstStar;
+ case STATE_lineComment:
+ // in leaf state: return state id
+ return STATE_lineComment;
+ case STATE_TOP:
+ state = self->history[STATE_TOP];
+ break;
+ }
+ skip_entry = FALSE;
+ }
+ //return NO_STATE; // required by CDT but detected as unreachable by JDT because of while (true)
+}
+
+static void executeInitTransition(ACParser* self) {
+ int chain = CHAIN_TRANS_INITIAL_TO__code;
+ int next = executeTransitionChain(self, chain, NULL, NULL);
+ next = enterHistory(self, next, FALSE, FALSE);
+ setState(self, next);
+}
+
+/* receiveEvent contains the main implementation of the FSM */
+static void receiveEvent(ACParser* self, InterfaceItemBase ifitem, int evt, void* generic_data) {
+ int trigger = ifitem->localId + EVT_SHIFT*evt;
+ int chain = NOT_CAUGHT;
+ int catching_state = NO_STATE;
+ boolean is_handler = FALSE;
+ boolean skip_entry = FALSE;
+
+ if (!handleSystemEvent(ifitem, evt, generic_data)) {
+ switch (self->state) {
+ case STATE_code:
+ switch(trigger) {
+ case TRIG_readerPort__nextChar:
+ {
+ chain = CHAIN_TRANS_tr0_FROM_code_TO_cp0_BY_nextCharreaderPort;
+ catching_state = STATE_TOP;
+ }
+ break;
+ }
+ break;
+ case STATE_firstSlash:
+ switch(trigger) {
+ case TRIG_readerPort__nextChar:
+ {
+ chain = CHAIN_TRANS_tr3_FROM_firstSlash_TO_cp1_BY_nextCharreaderPort;
+ catching_state = STATE_TOP;
+ }
+ break;
+ }
+ break;
+ case STATE_blockComment:
+ switch(trigger) {
+ case TRIG_readerPort__nextChar:
+ {
+ chain = CHAIN_TRANS_tr6_FROM_blockComment_TO_cp2_BY_nextCharreaderPort;
+ catching_state = STATE_TOP;
+ }
+ break;
+ }
+ break;
+ case STATE_firstStar:
+ switch(trigger) {
+ case TRIG_readerPort__nextChar:
+ {
+ chain = CHAIN_TRANS_tr9_FROM_firstStar_TO_cp3_BY_nextCharreaderPort;
+ catching_state = STATE_TOP;
+ }
+ break;
+ }
+ break;
+ case STATE_lineComment:
+ switch(trigger) {
+ case TRIG_readerPort__nextChar:
+ {
+ chain = CHAIN_TRANS_tr15_FROM_lineComment_TO_cp5_BY_nextCharreaderPort;
+ catching_state = STATE_TOP;
+ }
+ break;
+ }
+ break;
+ }
+ }
+ if (chain != NOT_CAUGHT) {
+ exitTo(self, self->state, catching_state, is_handler);
+ int next = executeTransitionChain(self, chain, ifitem, generic_data);
+ next = enterHistory(self, next, is_handler, skip_entry);
+ setState(self, next);
+ }
+}
+
+//******************************************
+// END of generated code for FSM
+//******************************************
+
+void ACParser_init(ACParser* self){
+ ET_MSC_LOGGER_SYNC_ENTRY("ACParser", "init")
+ self->state = STATE_TOP;
+ {
+ int i;
+ for (i=0; i<ACPARSER_HISTORY_SIZE; ++i)
+ self->history[i] = NO_STATE;
+ }
+ executeInitTransition(self);
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
+
+void ACParser_receiveMessage(void* self, void* ifitem, const etMessage* msg){
+ ET_MSC_LOGGER_SYNC_ENTRY("ACParser", "_receiveMessage")
+
+ receiveEvent(self, (etPort*)ifitem, msg->evtID, (void*)(((char*)msg)+MEM_CEIL(sizeof(etMessage))));
+
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
+
+/*--------------------- operations ---------------------*/
+
diff --git a/examples/org.eclipse.etrice.tutorials.java/model/Blinky/diagrams/Blinky.BlinkyTop.behavior b/examples/org.eclipse.etrice.tutorials.java/model/Blinky/diagrams/Blinky.BlinkyTop.behavior
index 0132445bf..c266e6635 100644
--- a/examples/org.eclipse.etrice.tutorials.java/model/Blinky/diagrams/Blinky.BlinkyTop.behavior
+++ b/examples/org.eclipse.etrice.tutorials.java/model/Blinky/diagrams/Blinky.BlinkyTop.behavior
@@ -1,25 +1,25 @@
-<?xml version="1.0" encoding="ASCII"?>
-<pi:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:al="http://eclipse.org/graphiti/mm/algorithms" xmlns:pi="http://eclipse.org/graphiti/mm/pictograms" visible="true" gridUnit="10" diagramTypeId="room.behavior" name="Behavior of BlinkyTop" pictogramLinks="//@link //@children.0/@link" verticalGridUnit="10" version="0.9.0">
- <graphicsAlgorithm xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.0" lineWidth="1" transparency="0.0" width="1000" height="1000"/>
- <link>
- <businessObjects href="../Blinky.room#ActorClass:BlinkyTop"/>
- </link>
- <children xsi:type="pi:ContainerShape" visible="true" active="true">
- <properties key="obj-type" value="sg"/>
- <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="654" height="436" x="59" y="10">
- <graphicsAlgorithmChildren xsi:type="al:RoundedRectangle" background="//@colors.1" foreground="//@colors.2" lineWidth="4" transparency="0.5" width="574" height="356" x="40" y="40" cornerHeight="20" cornerWidth="20"/>
- <graphicsAlgorithmChildren xsi:type="al:RoundedRectangle" foreground="//@colors.2" lineWidth="4" filled="false" transparency="0.0" width="574" height="356" x="40" y="40" cornerHeight="20" cornerWidth="20"/>
- </graphicsAlgorithm>
- <link>
- <businessObjects href="../Blinky.room#StateGraph:BlinkyTop$sg"/>
- </link>
- <children visible="true">
- <graphicsAlgorithm xsi:type="al:Text" background="//@colors.2" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="574" height="80" y="40" font="//@fonts.1" horizontalAlignment="ALIGNMENT_RIGHT" verticalAlignment="ALIGNMENT_TOP" value="/"/>
- </children>
- </children>
- <colors red="227" green="238" blue="249"/>
- <colors red="255" green="255" blue="255"/>
- <colors/>
- <fonts name="Arial" size="8"/>
- <fonts name="Arial" size="9" bold="true"/>
-</pi:Diagram>
+<?xml version="1.0" encoding="ASCII"?>
+<pi:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:al="http://eclipse.org/graphiti/mm/algorithms" xmlns:pi="http://eclipse.org/graphiti/mm/pictograms" visible="true" gridUnit="10" diagramTypeId="room.behavior" name="Behavior of BlinkyTop" pictogramLinks="//@link //@children.0/@link" verticalGridUnit="10" version="0.9.0">
+ <graphicsAlgorithm xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.0" lineWidth="1" transparency="0.0" width="1000" height="1000"/>
+ <link>
+ <businessObjects href="../Blinky.room#ActorClass:BlinkyTop"/>
+ </link>
+ <children xsi:type="pi:ContainerShape" visible="true" active="true">
+ <properties key="obj-type" value="sg"/>
+ <graphicsAlgorithm xsi:type="al:Rectangle" lineWidth="1" filled="false" lineVisible="false" transparency="0.0" width="654" height="436" x="59" y="10">
+ <graphicsAlgorithmChildren xsi:type="al:RoundedRectangle" background="//@colors.1" foreground="//@colors.2" lineWidth="4" transparency="0.5" width="574" height="356" x="40" y="40" cornerHeight="20" cornerWidth="20"/>
+ <graphicsAlgorithmChildren xsi:type="al:RoundedRectangle" foreground="//@colors.2" lineWidth="4" filled="false" transparency="0.0" width="574" height="356" x="40" y="40" cornerHeight="20" cornerWidth="20"/>
+ </graphicsAlgorithm>
+ <link>
+ <businessObjects href="../Blinky.room#StateGraph:BlinkyTop$sg"/>
+ </link>
+ <children visible="true">
+ <graphicsAlgorithm xsi:type="al:Text" background="//@colors.2" foreground="//@colors.2" lineWidth="1" filled="false" transparency="0.0" width="574" height="80" y="40" font="//@fonts.1" horizontalAlignment="ALIGNMENT_RIGHT" verticalAlignment="ALIGNMENT_TOP" value="/"/>
+ </children>
+ </children>
+ <colors red="227" green="238" blue="249"/>
+ <colors red="255" green="255" blue="255"/>
+ <colors/>
+ <fonts name="Arial" size="8"/>
+ <fonts name="Arial" size="9" bold="true"/>
+</pi:Diagram>
diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/tmp/log/SubSysDemo_Async.seq b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/tmp/log/SubSysDemo_Async.seq
new file mode 100644
index 000000000..dce783e24
--- /dev/null
+++ b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/tmp/log/SubSysDemo_Async.seq
@@ -0,0 +1,15 @@
+#generated MSC for Trace2UML
+ /SubSysDemo >-- /SubSysDemo/application executeInitialTransition
+ /SubSysDemo >-- /SubSysDemo/application/tc1 executeInitialTransition
+ /SubSysDemo >-- /SubSysDemo/ref0 executeInitialTransition
+ /SubSysDemo --> /SubSysDemo/application executeInitialTransition
+ /SubSysDemo --> /SubSysDemo/application/tc1 executeInitialTransition
+ /SubSysDemo/application/tc1 >-- /SubSysDemo/ref0 internalStartTimeout
+ /SubSysDemo/application/tc1 >>> Idle
+ /SubSysDemo --> /SubSysDemo/ref0 executeInitialTransition
+ /SubSysDemo/ref0 >>> Operational
+ /SubSysDemo/application/tc1 --> /SubSysDemo/ref0 internalStartTimeout
+ /SubSysDemo/ref0 >>> Operational
+ /SubSysDemo/ref0 >-- /SubSysDemo/application/tc1 internalTimeout
+ /SubSysDemo/ref0 --> /SubSysDemo/application/tc1 internalTimeout
+ /SubSysDemo/application/tc1 >>> SwitchToLight1GreenForCars
diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/tmp/log/SubSysDemo_Sync.seq b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/tmp/log/SubSysDemo_Sync.seq
new file mode 100644
index 000000000..50058ecdd
--- /dev/null
+++ b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight.example/tmp/log/SubSysDemo_Sync.seq
@@ -0,0 +1 @@
+#generated MSC for Trace2UML
diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/.classpath b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/.classpath
index 18d70f02c..07ca123c6 100644
--- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/.classpath
+++ b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/.classpath
@@ -1,6 +1,6 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/.project b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/.project
index a0bb7df0c..c67fa413e 100644
--- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/.project
+++ b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/.project
@@ -1,17 +1,17 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.etrice.tutorials.simulators.trafficlight</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.etrice.tutorials.simulators.trafficlight</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/.settings/org.eclipse.jdt.core.prefs b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/.settings/org.eclipse.jdt.core.prefs
index a23aa28f4..b1bdd4dee 100644
--- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/.settings/org.eclipse.jdt.core.prefs
+++ b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/.settings/org.eclipse.jdt.core.prefs
@@ -1,12 +1,12 @@
-#Sat Jun 16 13:47:44 CEST 2012
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.6
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.6
+#Sat Jun 16 13:47:44 CEST 2012
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/release.jardesc b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/release.jardesc
index 339890e9b..aa0b55c28 100644
--- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/release.jardesc
+++ b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/release.jardesc
@@ -1,16 +1,16 @@
-<?xml version="1.0" encoding="WINDOWS-1252" standalone="no"?>
-<jardesc>
- <jar path="org.eclipse.etrice.tutorials.simulators.trafficlight/release/trafficlight.jar"/>
- <options buildIfNeeded="true" compress="true" descriptionLocation="/org.eclipse.etrice.tutorials.simulators.trafficlight/release.jardesc" exportErrors="true" exportWarnings="true" includeDirectoryEntries="false" overwrite="false" saveDescription="true" storeRefactorings="false" useSourceFolders="false"/>
- <storedRefactorings deprecationInfo="true" structuralOnly="false"/>
- <selectedProjects/>
- <manifest generateManifest="true" mainClassHandleIdentifier="=org.eclipse.etrice.tutorials.simulators.trafficlight/src&lt;org.eclipse.etrice.tutorials.simulators.trafficlight{Main.java[Main" manifestLocation="" manifestVersion="1.0" reuseManifest="false" saveManifest="false" usesManifest="true">
- <sealing sealJar="false">
- <packagesToSeal/>
- <packagesToUnSeal/>
- </sealing>
- </manifest>
- <selectedElements exportClassFiles="true" exportJavaFiles="false" exportOutputFolder="false">
- <javaElement handleIdentifier="=org.eclipse.etrice.tutorials.simulators.trafficlight/src"/>
- </selectedElements>
-</jardesc>
+<?xml version="1.0" encoding="WINDOWS-1252" standalone="no"?>
+<jardesc>
+ <jar path="org.eclipse.etrice.tutorials.simulators.trafficlight/release/trafficlight.jar"/>
+ <options buildIfNeeded="true" compress="true" descriptionLocation="/org.eclipse.etrice.tutorials.simulators.trafficlight/release.jardesc" exportErrors="true" exportWarnings="true" includeDirectoryEntries="false" overwrite="false" saveDescription="true" storeRefactorings="false" useSourceFolders="false"/>
+ <storedRefactorings deprecationInfo="true" structuralOnly="false"/>
+ <selectedProjects/>
+ <manifest generateManifest="true" mainClassHandleIdentifier="=org.eclipse.etrice.tutorials.simulators.trafficlight/src&lt;org.eclipse.etrice.tutorials.simulators.trafficlight{Main.java[Main" manifestLocation="" manifestVersion="1.0" reuseManifest="false" saveManifest="false" usesManifest="true">
+ <sealing sealJar="false">
+ <packagesToSeal/>
+ <packagesToUnSeal/>
+ </sealing>
+ </manifest>
+ <selectedElements exportClassFiles="true" exportJavaFiles="false" exportOutputFolder="false">
+ <javaElement handleIdentifier="=org.eclipse.etrice.tutorials.simulators.trafficlight/src"/>
+ </selectedElements>
+</jardesc>
diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/PedastrianLightWnd.java b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/PedastrianLightWnd.java
index 94e3ffbe3..b95ec3e43 100644
--- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/PedastrianLightWnd.java
+++ b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/PedastrianLightWnd.java
@@ -1,182 +1,182 @@
-/*******************************************************************************
- * Copyright (c) 2012 tieto deutschland gmbh (http://www.tieto.com)
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Thomas Jung (initial contribution)
- * Thomas Schuetz
- *******************************************************************************/
-
-package org.eclipse.etrice.tutorials.simulators.trafficlight;
-
-import java.awt.Button;
-import java.awt.Frame;
-import java.awt.GridBagConstraints;
-import java.awt.GridBagLayout;
-import java.awt.Insets;
-import java.awt.TextField;
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.InputStreamReader;
-import java.io.OutputStream;
-import java.net.ServerSocket;
-import java.net.Socket;
-
-public class PedastrianLightWnd extends Frame {
- private static final long serialVersionUID = 1L;
-
- private TrafficLight3 carLights = null;
- private TrafficLight2 pedLights = null;
-
- ButtonActionListener buttonListener = null;
-
- Button requestButton = null;
- TextField statusLine = null;
-
-
- public PedastrianLightWnd(int ipPort) {
- super("PedestrianLightsGUI");
- GridBagLayout layout = new GridBagLayout();
- GridBagConstraints gbc;
- carLights = new TrafficLight3(4);
- pedLights = new TrafficLight2(2);
- statusLine = new TextField();
- requestButton = new Button("REQUEST");
- requestButton.setEnabled(false);
- addWindowListener(new WindowClosingAdapter(true));
-
- setLayout(layout);
-
- gbc = makeGbc(0, 1, 1, 1);
- layout.setConstraints(carLights, gbc);
- add(carLights);
-
- gbc = makeGbc(1, 1, 1, 1);
- layout.setConstraints(pedLights, gbc);
- add(pedLights);
-
- statusLine.setText("listening on TCP Port " + ipPort);
- statusLine.setEditable(false);
- statusLine.setFocusable(false);
- gbc = makeGbc(0, 0, 2, 1);
- gbc.fill = GridBagConstraints.BOTH;
- layout.setConstraints(statusLine, gbc);
- add(statusLine);
-
- gbc = makeGbc(0, 2, 2, 1);
- gbc.fill = GridBagConstraints.BOTH;
- layout.setConstraints(requestButton, gbc);
- add(requestButton);
-
- pack();
- setVisible(true);
-
- loopSocket(ipPort); // blocking loop
- }
-
- private void loopSocket(int ipPort) {
- while (true) {
- // open and close socket endlessly
- try {
- // open Socket
- ServerSocket socketServer = new ServerSocket(ipPort);
-
- // wait blocking for client to connect
- Socket socket = socketServer.accept();
- statusLine.setText("socket connected !");
-
- // prepare input and output streams
- BufferedReader in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
- OutputStream out = socket.getOutputStream();
-
- // add listener for outgoing command
- buttonListener = new ButtonActionListener(out);
- requestButton.addActionListener(buttonListener);
- requestButton.setEnabled(true);
-
- resetLights();
-
- // read blocking until socket is disconnected
- String cmd;
- while ((cmd = in.readLine()) != null) {
- dispatchCommand(requestButton, cmd);
- }
- statusLine.setText("socket disconnected !");
-
- // deactivate button
- requestButton.removeActionListener(buttonListener);
- requestButton.setEnabled(false);
-
- resetLights();
-
- // clean up socket
- socket.close();
- socketServer.close();
-
- } catch (IOException e) {
- System.err.println(e.toString());
- System.exit(1);
- }
- }
- }
-
- private void dispatchCommand(Button requestButton, String cmd) {
- // check carLights
- if (cmd.equals("carLights=red")) {
- carLights.setState(carLights.RED);
- }
- if (cmd.equals("carLights=yellowRed")) {
- carLights.setState(carLights.YELLOWRED);
- }
- if (cmd.equals("carLights=green")) {
- carLights.setState(carLights.GREEN);
- }
- if (cmd.equals("carLights=yellow")) {
- carLights.setState(carLights.YELLOW);
- }
- if (cmd.equals("carLights=off")) {
- carLights.setState(carLights.OFF);
- }
-
- // check pedLights
- if (cmd.equals("pedLights=red")) {
- pedLights.setState(pedLights.RED);
- }
- if (cmd.equals("pedLights=green")) {
- pedLights.setState(pedLights.GREEN);
- }
- if (cmd.equals("pedLights=off")) {
- pedLights.setState(pedLights.OFF);
- }
-
- // check button
- if (cmd.equals("button=on")) {
- requestButton.setEnabled(true);
- }
- if (cmd.equals("button=off")) {
- requestButton.setEnabled(false);
- }
- }
-
- private void resetLights() {
- carLights.setState(carLights.OFF);
- pedLights.setState(pedLights.OFF);
- }
-
- private GridBagConstraints makeGbc(int x, int y, int width, int height) {
- GridBagConstraints gbc = new GridBagConstraints();
- gbc.gridx = x;
- gbc.gridy = y;
- gbc.gridwidth = width;
- gbc.gridheight = height;
- gbc.weightx = 1;
- gbc.weighty = 1;
- // gbc.fill = GridBagConstraints.BOTH;
- gbc.anchor = GridBagConstraints.CENTER;
- gbc.insets = new Insets(1, 1, 1, 1);
- return gbc;
- }
-}
+/*******************************************************************************
+ * Copyright (c) 2012 tieto deutschland gmbh (http://www.tieto.com)
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Thomas Jung (initial contribution)
+ * Thomas Schuetz
+ *******************************************************************************/
+
+package org.eclipse.etrice.tutorials.simulators.trafficlight;
+
+import java.awt.Button;
+import java.awt.Frame;
+import java.awt.GridBagConstraints;
+import java.awt.GridBagLayout;
+import java.awt.Insets;
+import java.awt.TextField;
+import java.io.BufferedReader;
+import java.io.IOException;
+import java.io.InputStreamReader;
+import java.io.OutputStream;
+import java.net.ServerSocket;
+import java.net.Socket;
+
+public class PedastrianLightWnd extends Frame {
+ private static final long serialVersionUID = 1L;
+
+ private TrafficLight3 carLights = null;
+ private TrafficLight2 pedLights = null;
+
+ ButtonActionListener buttonListener = null;
+
+ Button requestButton = null;
+ TextField statusLine = null;
+
+
+ public PedastrianLightWnd(int ipPort) {
+ super("PedestrianLightsGUI");
+ GridBagLayout layout = new GridBagLayout();
+ GridBagConstraints gbc;
+ carLights = new TrafficLight3(4);
+ pedLights = new TrafficLight2(2);
+ statusLine = new TextField();
+ requestButton = new Button("REQUEST");
+ requestButton.setEnabled(false);
+ addWindowListener(new WindowClosingAdapter(true));
+
+ setLayout(layout);
+
+ gbc = makeGbc(0, 1, 1, 1);
+ layout.setConstraints(carLights, gbc);
+ add(carLights);
+
+ gbc = makeGbc(1, 1, 1, 1);
+ layout.setConstraints(pedLights, gbc);
+ add(pedLights);
+
+ statusLine.setText("listening on TCP Port " + ipPort);
+ statusLine.setEditable(false);
+ statusLine.setFocusable(false);
+ gbc = makeGbc(0, 0, 2, 1);
+ gbc.fill = GridBagConstraints.BOTH;
+ layout.setConstraints(statusLine, gbc);
+ add(statusLine);
+
+ gbc = makeGbc(0, 2, 2, 1);
+ gbc.fill = GridBagConstraints.BOTH;
+ layout.setConstraints(requestButton, gbc);
+ add(requestButton);
+
+ pack();
+ setVisible(true);
+
+ loopSocket(ipPort); // blocking loop
+ }
+
+ private void loopSocket(int ipPort) {
+ while (true) {
+ // open and close socket endlessly
+ try {
+ // open Socket
+ ServerSocket socketServer = new ServerSocket(ipPort);
+
+ // wait blocking for client to connect
+ Socket socket = socketServer.accept();
+ statusLine.setText("socket connected !");
+
+ // prepare input and output streams
+ BufferedReader in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
+ OutputStream out = socket.getOutputStream();
+
+ // add listener for outgoing command
+ buttonListener = new ButtonActionListener(out);
+ requestButton.addActionListener(buttonListener);
+ requestButton.setEnabled(true);
+
+ resetLights();
+
+ // read blocking until socket is disconnected
+ String cmd;
+ while ((cmd = in.readLine()) != null) {
+ dispatchCommand(requestButton, cmd);
+ }
+ statusLine.setText("socket disconnected !");
+
+ // deactivate button
+ requestButton.removeActionListener(buttonListener);
+ requestButton.setEnabled(false);
+
+ resetLights();
+
+ // clean up socket
+ socket.close();
+ socketServer.close();
+
+ } catch (IOException e) {
+ System.err.println(e.toString());
+ System.exit(1);
+ }
+ }
+ }
+
+ private void dispatchCommand(Button requestButton, String cmd) {
+ // check carLights
+ if (cmd.equals("carLights=red")) {
+ carLights.setState(carLights.RED);
+ }
+ if (cmd.equals("carLights=yellowRed")) {
+ carLights.setState(carLights.YELLOWRED);
+ }
+ if (cmd.equals("carLights=green")) {
+ carLights.setState(carLights.GREEN);
+ }
+ if (cmd.equals("carLights=yellow")) {
+ carLights.setState(carLights.YELLOW);
+ }
+ if (cmd.equals("carLights=off")) {
+ carLights.setState(carLights.OFF);
+ }
+
+ // check pedLights
+ if (cmd.equals("pedLights=red")) {
+ pedLights.setState(pedLights.RED);
+ }
+ if (cmd.equals("pedLights=green")) {
+ pedLights.setState(pedLights.GREEN);
+ }
+ if (cmd.equals("pedLights=off")) {
+ pedLights.setState(pedLights.OFF);
+ }
+
+ // check button
+ if (cmd.equals("button=on")) {
+ requestButton.setEnabled(true);
+ }
+ if (cmd.equals("button=off")) {
+ requestButton.setEnabled(false);
+ }
+ }
+
+ private void resetLights() {
+ carLights.setState(carLights.OFF);
+ pedLights.setState(pedLights.OFF);
+ }
+
+ private GridBagConstraints makeGbc(int x, int y, int width, int height) {
+ GridBagConstraints gbc = new GridBagConstraints();
+ gbc.gridx = x;
+ gbc.gridy = y;
+ gbc.gridwidth = width;
+ gbc.gridheight = height;
+ gbc.weightx = 1;
+ gbc.weighty = 1;
+ // gbc.fill = GridBagConstraints.BOTH;
+ gbc.anchor = GridBagConstraints.CENTER;
+ gbc.insets = new Insets(1, 1, 1, 1);
+ return gbc;
+ }
+}
diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/TrafficLight2.java b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/TrafficLight2.java
index ff3d40fc1..552906493 100644
--- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/TrafficLight2.java
+++ b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/TrafficLight2.java
@@ -1,86 +1,86 @@
-/*******************************************************************************
- * Copyright (c) 2012 tieto deutschland gmbh (http://www.tieto.com)
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Thomas Jung (initial contribution)
- * Thomas Schuetz
- *******************************************************************************/
-
-
-package org.eclipse.etrice.tutorials.simulators.trafficlight;
-import java.awt.Canvas;
-import java.awt.Color;
-import java.awt.Dimension;
-import java.awt.Graphics;
-
-
-public class TrafficLight2 extends Canvas {
- private static final long serialVersionUID = 1L;
- // Traffic light has 4 states
- public final int RED = 0;
- public final int GREEN = 1;
- public final int OFF = 2;
-
- private int state;
-
- public TrafficLight2(int state){
- this.state = state;
- }
- public TrafficLight2(){
- this.state = 0;
- }
-
- private int singleLightSize = 20;
- private int xPosition = 5;
- private int gap = 5;
-
- public void paint(Graphics g){
- Color lightRed = new Color(255,0,0);
- Color darkRed = new Color (127,0,0);
- Color lightGreen = new Color (0,255,0);
- Color darkGreen = new Color (0,127,0);
-
- Color colors [][] = {
- {lightRed,darkGreen},
- {darkRed,lightGreen},
- {darkRed,darkGreen}
- };
-
- // set Background
- g.setColor(Color.lightGray);
- g.fillRect(0,0,getSize().width,getSize().height);
- // draw boarder
- g.setColor(Color.BLACK);
- g.drawRect(0,0,getSize().width-1,getSize().height-1);
-
- for (int i = 0; i<2; i++) {
- g.setColor(colors[state][i]);
- g.fillOval(xPosition,i*singleLightSize+gap,singleLightSize,singleLightSize);
- g.setColor(Color.black);
- g.drawOval(xPosition,i*singleLightSize+gap,singleLightSize-1,singleLightSize-1);
- }
- }
-
- public Dimension getPreferredSize(){
- return new Dimension(singleLightSize + 2 * gap, singleLightSize * 2 + 2 * gap);
- }
-
- public Dimension getMinimumSize()
- {
- return new Dimension(singleLightSize + 2 * gap, singleLightSize * 2 + 2 * gap);
- }
-
- public void setState(int state)
- {
- // avoid array error
- if (state < 3){
- this.state = state;
- repaint();
- }
- }
-
-}
+/*******************************************************************************
+ * Copyright (c) 2012 tieto deutschland gmbh (http://www.tieto.com)
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Thomas Jung (initial contribution)
+ * Thomas Schuetz
+ *******************************************************************************/
+
+
+package org.eclipse.etrice.tutorials.simulators.trafficlight;
+import java.awt.Canvas;
+import java.awt.Color;
+import java.awt.Dimension;
+import java.awt.Graphics;
+
+
+public class TrafficLight2 extends Canvas {
+ private static final long serialVersionUID = 1L;
+ // Traffic light has 4 states
+ public final int RED = 0;
+ public final int GREEN = 1;
+ public final int OFF = 2;
+
+ private int state;
+
+ public TrafficLight2(int state){
+ this.state = state;
+ }
+ public TrafficLight2(){
+ this.state = 0;
+ }
+
+ private int singleLightSize = 20;
+ private int xPosition = 5;
+ private int gap = 5;
+
+ public void paint(Graphics g){
+ Color lightRed = new Color(255,0,0);
+ Color darkRed = new Color (127,0,0);
+ Color lightGreen = new Color (0,255,0);
+ Color darkGreen = new Color (0,127,0);
+
+ Color colors [][] = {
+ {lightRed,darkGreen},
+ {darkRed,lightGreen},
+ {darkRed,darkGreen}
+ };
+
+ // set Background
+ g.setColor(Color.lightGray);
+ g.fillRect(0,0,getSize().width,getSize().height);
+ // draw boarder
+ g.setColor(Color.BLACK);
+ g.drawRect(0,0,getSize().width-1,getSize().height-1);
+
+ for (int i = 0; i<2; i++) {
+ g.setColor(colors[state][i]);
+ g.fillOval(xPosition,i*singleLightSize+gap,singleLightSize,singleLightSize);
+ g.setColor(Color.black);
+ g.drawOval(xPosition,i*singleLightSize+gap,singleLightSize-1,singleLightSize-1);
+ }
+ }
+
+ public Dimension getPreferredSize(){
+ return new Dimension(singleLightSize + 2 * gap, singleLightSize * 2 + 2 * gap);
+ }
+
+ public Dimension getMinimumSize()
+ {
+ return new Dimension(singleLightSize + 2 * gap, singleLightSize * 2 + 2 * gap);
+ }
+
+ public void setState(int state)
+ {
+ // avoid array error
+ if (state < 3){
+ this.state = state;
+ repaint();
+ }
+ }
+
+}
diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/TrafficLight3.java b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/TrafficLight3.java
index 7e3314b90..afcc78176 100644
--- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/TrafficLight3.java
+++ b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/TrafficLight3.java
@@ -1,91 +1,91 @@
-/*******************************************************************************
- * Copyright (c) 2012 tieto deutschland gmbh (http://www.tieto.com)
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Thomas Jung (initial contribution)
- * Thomas Schuetz
- *******************************************************************************/
-
-
-package org.eclipse.etrice.tutorials.simulators.trafficlight;
-import java.awt.Canvas;
-import java.awt.Color;
-import java.awt.Dimension;
-import java.awt.Graphics;
-
-
-public class TrafficLight3 extends Canvas {
- private static final long serialVersionUID = 1L;
- // Traffic light has 4 states
- public final int RED = 0;
- public final int YELLOWRED = 1;
- public final int GREEN = 2;
- public final int YELLOW = 3;
- public final int OFF = 4;
-
- private int state;
-
- public TrafficLight3(int state){
- this.state = state;
- }
- public TrafficLight3(){
- this.state = 0;
- }
-
- private int singleLightSize = 20;
- private int xPosition = 5;
- private int gap = 5;
-
- public void paint(Graphics g){
- Color lightRed = new Color(255,0,0);
- Color darkRed = new Color (127,0,0);
- Color lightGreen = new Color (0,255,0);
- Color darkGreen = new Color (0,127,0);
- Color lightYellow = new Color (255,255,0);
- Color darkYellow = new Color (127,127,0);
-
- Color colors [][] = {
- {lightRed,darkYellow,darkGreen},
- {lightRed,lightYellow,darkGreen},
- {darkRed,darkYellow,lightGreen},
- {darkRed,lightYellow,darkGreen},
- {darkRed,darkYellow,darkGreen}
- };
-
-
- // set Background
- g.setColor(Color.lightGray);
- g.fillRect(0,0,getSize().width,getSize().height);
- // draw boarder
- g.setColor(Color.BLACK);
- g.drawRect(0,0,getSize().width-1,getSize().height-1);
-
- for (int i = 0; i<3; i++) {
- g.setColor(colors[state][i]);
- g.fillOval(xPosition,i*singleLightSize+gap,singleLightSize,singleLightSize);
- g.setColor(Color.black);
- g.drawOval(xPosition,i*singleLightSize+gap,singleLightSize-1,singleLightSize-1);
- }
- }
-
- public Dimension getPreferredSize(){
- return new Dimension(singleLightSize + 2 * gap, singleLightSize * 3 + 2 * gap);
- }
-
- public Dimension getMinimumSize()
- {
- return new Dimension(singleLightSize + 2 * gap, singleLightSize * 3 + 2 * gap);
- }
-
- public void setState(int state)
- {
- if (state < 5){
- this.state = state;
- repaint();
- }
- }
-}
+/*******************************************************************************
+ * Copyright (c) 2012 tieto deutschland gmbh (http://www.tieto.com)
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Thomas Jung (initial contribution)
+ * Thomas Schuetz
+ *******************************************************************************/
+
+
+package org.eclipse.etrice.tutorials.simulators.trafficlight;
+import java.awt.Canvas;
+import java.awt.Color;
+import java.awt.Dimension;
+import java.awt.Graphics;
+
+
+public class TrafficLight3 extends Canvas {
+ private static final long serialVersionUID = 1L;
+ // Traffic light has 4 states
+ public final int RED = 0;
+ public final int YELLOWRED = 1;
+ public final int GREEN = 2;
+ public final int YELLOW = 3;
+ public final int OFF = 4;
+
+ private int state;
+
+ public TrafficLight3(int state){
+ this.state = state;
+ }
+ public TrafficLight3(){
+ this.state = 0;
+ }
+
+ private int singleLightSize = 20;
+ private int xPosition = 5;
+ private int gap = 5;
+
+ public void paint(Graphics g){
+ Color lightRed = new Color(255,0,0);
+ Color darkRed = new Color (127,0,0);
+ Color lightGreen = new Color (0,255,0);
+ Color darkGreen = new Color (0,127,0);
+ Color lightYellow = new Color (255,255,0);
+ Color darkYellow = new Color (127,127,0);
+
+ Color colors [][] = {
+ {lightRed,darkYellow,darkGreen},
+ {lightRed,lightYellow,darkGreen},
+ {darkRed,darkYellow,lightGreen},
+ {darkRed,lightYellow,darkGreen},
+ {darkRed,darkYellow,darkGreen}
+ };
+
+
+ // set Background
+ g.setColor(Color.lightGray);
+ g.fillRect(0,0,getSize().width,getSize().height);
+ // draw boarder
+ g.setColor(Color.BLACK);
+ g.drawRect(0,0,getSize().width-1,getSize().height-1);
+
+ for (int i = 0; i<3; i++) {
+ g.setColor(colors[state][i]);
+ g.fillOval(xPosition,i*singleLightSize+gap,singleLightSize,singleLightSize);
+ g.setColor(Color.black);
+ g.drawOval(xPosition,i*singleLightSize+gap,singleLightSize-1,singleLightSize-1);
+ }
+ }
+
+ public Dimension getPreferredSize(){
+ return new Dimension(singleLightSize + 2 * gap, singleLightSize * 3 + 2 * gap);
+ }
+
+ public Dimension getMinimumSize()
+ {
+ return new Dimension(singleLightSize + 2 * gap, singleLightSize * 3 + 2 * gap);
+ }
+
+ public void setState(int state)
+ {
+ if (state < 5){
+ this.state = state;
+ repaint();
+ }
+ }
+}
diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/WindowClosingAdapter.java b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/WindowClosingAdapter.java
index e43b8a232..e37fdb029 100644
--- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/WindowClosingAdapter.java
+++ b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/WindowClosingAdapter.java
@@ -1,53 +1,53 @@
-/*******************************************************************************
- * Copyright (c) 2012 tieto deutschland gmbh (http://www.tieto.com)
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Thomas Jung (initial contribution)
- *******************************************************************************/
-
-
-package org.eclipse.etrice.tutorials.simulators.trafficlight;
-
-
-/* WindowClosingAdapter.java */
-
-import java.awt.event.WindowAdapter;
-import java.awt.event.WindowEvent;
-
-public class WindowClosingAdapter
-extends WindowAdapter
-{
- private boolean exitSystem;
-
- /**
- * Erzeugt einen WindowClosingAdapter zum Schliessen
- * des Fensters. Ist exitSystem true, wird das komplette
- * Programm beendet.
- */
- public WindowClosingAdapter(boolean exitSystem)
- {
- this.exitSystem = exitSystem;
- }
-
- /**
- * Erzeugt einen WindowClosingAdapter zum Schliessen
- * des Fensters. Das Programm wird nicht beendet.
- */
- public WindowClosingAdapter()
- {
- this(false);
- }
-
- public void windowClosing(WindowEvent event)
- {
- event.getWindow().setVisible(false);
- event.getWindow().dispose();
- if (exitSystem) {
- System.exit(0);
- }
- }
-}
+/*******************************************************************************
+ * Copyright (c) 2012 tieto deutschland gmbh (http://www.tieto.com)
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Thomas Jung (initial contribution)
+ *******************************************************************************/
+
+
+package org.eclipse.etrice.tutorials.simulators.trafficlight;
+
+
+/* WindowClosingAdapter.java */
+
+import java.awt.event.WindowAdapter;
+import java.awt.event.WindowEvent;
+
+public class WindowClosingAdapter
+extends WindowAdapter
+{
+ private boolean exitSystem;
+
+ /**
+ * Erzeugt einen WindowClosingAdapter zum Schliessen
+ * des Fensters. Ist exitSystem true, wird das komplette
+ * Programm beendet.
+ */
+ public WindowClosingAdapter(boolean exitSystem)
+ {
+ this.exitSystem = exitSystem;
+ }
+
+ /**
+ * Erzeugt einen WindowClosingAdapter zum Schliessen
+ * des Fensters. Das Programm wird nicht beendet.
+ */
+ public WindowClosingAdapter()
+ {
+ this(false);
+ }
+
+ public void windowClosing(WindowEvent event)
+ {
+ event.getWindow().setVisible(false);
+ event.getWindow().dispose();
+ if (exitSystem) {
+ System.exit(0);
+ }
+ }
+}
diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/trafficlight_port_4441.launch b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/trafficlight_port_4441.launch
index 82afbbd0a..a39cce7fc 100644
--- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/trafficlight_port_4441.launch
+++ b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/trafficlight_port_4441.launch
@@ -1,12 +1,12 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
-<listEntry value="/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/Main.java"/>
-</listAttribute>
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
-<listEntry value="1"/>
-</listAttribute>
-<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.etrice.tutorials.simulators.trafficlight.Main"/>
-<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="4441"/>
-<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.etrice.tutorials.simulators.trafficlight"/>
-</launchConfiguration>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/Main.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.etrice.tutorials.simulators.trafficlight.Main"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="4441"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.etrice.tutorials.simulators.trafficlight"/>
+</launchConfiguration>
diff --git a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/trafficlight_port_4442.launch b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/trafficlight_port_4442.launch
index 30b28c52f..56ec1a32d 100644
--- a/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/trafficlight_port_4442.launch
+++ b/examples/org.eclipse.etrice.tutorials.simulators.trafficlight/trafficlight_port_4442.launch
@@ -1,12 +1,12 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
-<listEntry value="/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/Main.java"/>
-</listAttribute>
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
-<listEntry value="1"/>
-</listAttribute>
-<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.etrice.tutorials.simulators.trafficlight.Main"/>
-<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="4442"/>
-<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.etrice.tutorials.simulators.trafficlight"/>
-</launchConfiguration>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/org.eclipse.etrice.tutorials.simulators.trafficlight/src/org/eclipse/etrice/tutorials/simulators/trafficlight/Main.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.etrice.tutorials.simulators.trafficlight.Main"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="4442"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.etrice.tutorials.simulators.trafficlight"/>
+</launchConfiguration>
diff --git a/plugins/org.eclipse.etrice.abstractexec.behavior/META-INF/MANIFEST.MF b/plugins/org.eclipse.etrice.abstractexec.behavior/META-INF/MANIFEST.MF
index 06bec0601..896d73ec0 100644
--- a/plugins/org.eclipse.etrice.abstractexec.behavior/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.etrice.abstractexec.behavior/META-INF/MANIFEST.MF
@@ -1,14 +1,14 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Abstract Execution for State Machines
-Bundle-SymbolicName: org.eclipse.etrice.abstractexec.behavior;singleton:=true
-Bundle-Version: 0.2.0.qualifier
-Bundle-Vendor: eTrice (Incubation)
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Require-Bundle: org.eclipse.etrice.core.room;bundle-version="0.2.0",
- org.eclipse.etrice.core.room.ui;bundle-version="0.2.0",
- org.eclipse.etrice.core.genmodel;bundle-version="0.2.0",
- org.eclipse.etrice.generator;bundle-version="0.2.0",
- org.eclipse.emf.ecore;bundle-version="2.7.0",
- org.eclipse.xtext;bundle-version="2.1.1",
- org.eclipse.xtext.ui;bundle-version="2.1.1"
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Abstract Execution for State Machines
+Bundle-SymbolicName: org.eclipse.etrice.abstractexec.behavior;singleton:=true
+Bundle-Version: 0.2.0.qualifier
+Bundle-Vendor: eTrice (Incubation)
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Require-Bundle: org.eclipse.etrice.core.room;bundle-version="0.2.0",
+ org.eclipse.etrice.core.room.ui;bundle-version="0.2.0",
+ org.eclipse.etrice.core.genmodel;bundle-version="0.2.0",
+ org.eclipse.etrice.generator;bundle-version="0.2.0",
+ org.eclipse.emf.ecore;bundle-version="2.7.0",
+ org.eclipse.xtext;bundle-version="2.1.1",
+ org.eclipse.xtext.ui;bundle-version="2.1.1"
diff --git a/plugins/org.eclipse.etrice.core.config.tests/src-gen/org/eclipse/etrice/core/ConfigUiInjectorProvider.java b/plugins/org.eclipse.etrice.core.config.tests/src-gen/org/eclipse/etrice/core/ConfigUiInjectorProvider.java
index 34b7a4cd5..a978aa3a2 100644
--- a/plugins/org.eclipse.etrice.core.config.tests/src-gen/org/eclipse/etrice/core/ConfigUiInjectorProvider.java
+++ b/plugins/org.eclipse.etrice.core.config.tests/src-gen/org/eclipse/etrice/core/ConfigUiInjectorProvider.java
@@ -1,16 +1,16 @@
-/*
-* generated by Xtext
-*/
-package org.eclipse.etrice.core;
-
-import org.eclipse.xtext.junit4.IInjectorProvider;
-
-import com.google.inject.Injector;
-
-public class ConfigUiInjectorProvider implements IInjectorProvider {
-
- public Injector getInjector() {
- return org.eclipse.etrice.core.ui.internal.ConfigActivator.getInstance().getInjector("org.eclipse.etrice.core.Config");
- }
-
-}
+/*
+* generated by Xtext
+*/
+package org.eclipse.etrice.core;
+
+import org.eclipse.xtext.junit4.IInjectorProvider;
+
+import com.google.inject.Injector;
+
+public class ConfigUiInjectorProvider implements IInjectorProvider {
+
+ public Injector getInjector() {
+ return org.eclipse.etrice.core.ui.internal.ConfigActivator.getInstance().getInjector("org.eclipse.etrice.core.Config");
+ }
+
+}
diff --git a/plugins/org.eclipse.etrice.core.config.ui/.project b/plugins/org.eclipse.etrice.core.config.ui/.project
index 1f147cb79..4a42e8ec7 100644
--- a/plugins/org.eclipse.etrice.core.config.ui/.project
+++ b/plugins/org.eclipse.etrice.core.config.ui/.project
@@ -1,28 +1,28 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.etrice.core.config.ui</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.etrice.core.config.ui</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
diff --git a/plugins/org.eclipse.etrice.core.config.ui/build.properties b/plugins/org.eclipse.etrice.core.config.ui/build.properties
index e10dcceb6..de48124aa 100644
--- a/plugins/org.eclipse.etrice.core.config.ui/build.properties
+++ b/plugins/org.eclipse.etrice.core.config.ui/build.properties
@@ -1,5 +1,5 @@
-source.. = src/,\
- src-gen/
-bin.includes = META-INF/,\
- .,\
+source.. = src/,\
+ src-gen/
+bin.includes = META-INF/,\
+ .,\
plugin.xml \ No newline at end of file
diff --git a/plugins/org.eclipse.etrice.core.config.ui/plugin.xml b/plugins/org.eclipse.etrice.core.config.ui/plugin.xml
index 88804d58a..4fc2efaec 100644
--- a/plugins/org.eclipse.etrice.core.config.ui/plugin.xml
+++ b/plugins/org.eclipse.etrice.core.config.ui/plugin.xml
@@ -1,281 +1,281 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-
-<plugin>
-
- <extension
- point="org.eclipse.ui.editors">
- <editor
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor"
- contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor"
- default="true"
- extensions="config"
- id="org.eclipse.etrice.core.Config"
- name="Config Editor">
- </editor>
- </extension>
- <extension
- point="org.eclipse.ui.handlers">
- <handler
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclarationHandler"
- commandId="org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclaration">
- <activeWhen>
- <reference
- definitionId="org.eclipse.etrice.core.Config.Editor.opened">
- </reference>
- </activeWhen>
- </handler>
- <handler
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler"
- commandId="org.eclipse.etrice.core.Config.validate">
- <activeWhen>
- <reference
- definitionId="org.eclipse.etrice.core.Config.Editor.opened">
- </reference>
- </activeWhen>
- </handler>
- </extension>
- <extension point="org.eclipse.core.expressions.definitions">
- <definition id="org.eclipse.etrice.core.Config.Editor.opened">
- <and>
- <reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/>
- <with variable="activeEditor">
- <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
- value="org.eclipse.etrice.core.Config"
- forcePluginActivation="true"/>
- </with>
- </and>
- </definition>
- </extension>
- <extension
- point="org.eclipse.ui.preferencePages">
- <page
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
- id="org.eclipse.etrice.core.Config"
- name="Config">
- <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
- </page>
- <page
- category="org.eclipse.etrice.core.Config"
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.syntaxcoloring.SyntaxColoringPreferencePage"
- id="org.eclipse.etrice.core.Config.coloring"
- name="Syntax Coloring">
- <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
- </page>
- <page
- category="org.eclipse.etrice.core.Config"
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage"
- id="org.eclipse.etrice.core.Config.templates"
- name="Templates">
- <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
- </page>
- </extension>
- <extension
- point="org.eclipse.ui.propertyPages">
- <page
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
- id="org.eclipse.etrice.core.Config"
- name="Config">
- <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
- <enabledWhen>
- <adapt type="org.eclipse.core.resources.IProject"/>
- </enabledWhen>
- <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
- </page>
- </extension>
- <extension
- point="org.eclipse.ui.keywords">
- <keyword
- id="org.eclipse.etrice.core.ui.keyword_Config"
- label="Config"/>
- </extension>
- <extension
- point="org.eclipse.ui.commands">
- <command
- description="Trigger expensive validation"
- id="org.eclipse.etrice.core.Config.validate"
- name="Validate">
- </command>
- </extension>
- <extension point="org.eclipse.ui.menus">
- <menuContribution
- locationURI="popup:#TextEditorContext?after=group.edit">
- <command
- commandId="org.eclipse.etrice.core.Config.validate"
- style="push"
- tooltip="Trigger expensive validation">
- <visibleWhen checkEnabled="false">
- <reference
- definitionId="org.eclipse.etrice.core.Config.Editor.opened">
- </reference>
- </visibleWhen>
- </command>
- </menuContribution>
- </extension>
- <extension point="org.eclipse.ui.menus">
- <menuContribution locationURI="popup:#TextEditorContext?endof=group.find">
- <command commandId="org.eclipse.xtext.ui.editor.FindReferences">
- <visibleWhen checkEnabled="false">
- <reference definitionId="org.eclipse.etrice.core.Config.Editor.opened">
- </reference>
- </visibleWhen>
- </command>
- </menuContribution>
- </extension>
- <extension point="org.eclipse.ui.handlers">
- <handler
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler"
- commandId="org.eclipse.xtext.ui.editor.FindReferences">
- <activeWhen>
- <reference
- definitionId="org.eclipse.etrice.core.Config.Editor.opened">
- </reference>
- </activeWhen>
- </handler>
- </extension>
-
-<!-- adding resource factories -->
-
- <extension
- point="org.eclipse.emf.ecore.extension_parser">
- <parser
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.resource.IResourceFactory"
- type="config">
- </parser>
- </extension>
- <extension point="org.eclipse.xtext.extension_resourceServiceProvider">
- <resourceServiceProvider
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.resource.IResourceUIServiceProvider"
- uriExtension="config">
- </resourceServiceProvider>
- </extension>
-
-
-
- <extension
- point="org.eclipse.xtext.builder.participant">
- <participant
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.builder.IXtextBuilderParticipant">
- </participant>
- </extension>
- <extension
- point="org.eclipse.ui.preferencePages">
- <page
- category="org.eclipse.etrice.core.Config"
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
- id="org.eclipse.etrice.core.Config.compiler.preferencePage"
- name="Compiler">
- <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
- </page>
- </extension>
- <extension
- point="org.eclipse.ui.propertyPages">
- <page
- category="org.eclipse.etrice.core.Config"
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
- id="org.eclipse.etrice.core.Config.compiler.propertyPage"
- name="Compiler">
- <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
- <enabledWhen>
- <adapt type="org.eclipse.core.resources.IProject"/>
- </enabledWhen>
- <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
- </page>
- </extension>
-
- <!-- Quick Outline -->
- <extension
- point="org.eclipse.ui.handlers">
- <handler
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler"
- commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline">
- <activeWhen>
- <reference
- definitionId="org.eclipse.etrice.core.Config.Editor.opened">
- </reference>
- </activeWhen>
- </handler>
- </extension>
- <extension
- point="org.eclipse.ui.commands">
- <command
- description="Open the quick outline."
- id="org.eclipse.xtext.ui.editor.outline.QuickOutline"
- name="Quick Outline">
- </command>
- </extension>
- <extension point="org.eclipse.ui.menus">
- <menuContribution
- locationURI="popup:#TextEditorContext?after=group.open">
- <command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"
- style="push"
- tooltip="Open Quick Outline">
- <visibleWhen checkEnabled="false">
- <reference definitionId="org.eclipse.etrice.core.Config.Editor.opened"/>
- </visibleWhen>
- </command>
- </menuContribution>
- </extension>
- <!-- quickfix marker resolution generator -->
- <extension
- point="org.eclipse.ui.ide.markerResolution">
- <markerResolutionGenerator
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator">
- </markerResolutionGenerator>
- </extension>
- <!-- Rename Refactoring -->
- <extension point="org.eclipse.ui.handlers">
- <handler
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.IRenameElementHandler"
- commandId="org.eclipse.xtext.ui.refactoring.RenameElement">
- <activeWhen>
- <reference
- definitionId="org.eclipse.etrice.core.Config.Editor.opened">
- </reference>
- </activeWhen>
- </handler>
- </extension>
- <extension point="org.eclipse.ui.menus">
- <menuContribution
- locationURI="popup:#TextEditorContext?after=group.edit">
- <command commandId="org.eclipse.xtext.ui.refactoring.RenameElement"
- style="push">
- <visibleWhen checkEnabled="false">
- <reference
- definitionId="org.eclipse.etrice.core.Config.Editor.opened">
- </reference>
- </visibleWhen>
- </command>
- </menuContribution>
- </extension>
- <extension point="org.eclipse.ui.preferencePages">
- <page
- category="org.eclipse.etrice.core.Config"
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferencePage"
- id="org.eclipse.etrice.core.Config.refactoring"
- name="Refactoring">
- <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
- </page>
- </extension>
-
-
- <extension point="org.eclipse.compare.contentViewers">
- <viewer id="org.eclipse.etrice.core.Config.compare.contentViewers"
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator"
- extensions="config">
- </viewer>
- </extension>
- <extension point="org.eclipse.compare.contentMergeViewers">
- <viewer id="org.eclipse.etrice.core.Config.compare.contentMergeViewers"
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator"
- extensions="config" label="Config Compare">
- </viewer>
- </extension>
- <extension point="org.eclipse.ui.editors.documentProviders">
- <provider id="org.eclipse.etrice.core.Config.editors.documentProviders"
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.model.XtextDocumentProvider"
- extensions="config">
- </provider>
- </extension>
-
-</plugin>
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+
+<plugin>
+
+ <extension
+ point="org.eclipse.ui.editors">
+ <editor
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor"
+ contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor"
+ default="true"
+ extensions="config"
+ id="org.eclipse.etrice.core.Config"
+ name="Config Editor">
+ </editor>
+ </extension>
+ <extension
+ point="org.eclipse.ui.handlers">
+ <handler
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclarationHandler"
+ commandId="org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclaration">
+ <activeWhen>
+ <reference
+ definitionId="org.eclipse.etrice.core.Config.Editor.opened">
+ </reference>
+ </activeWhen>
+ </handler>
+ <handler
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler"
+ commandId="org.eclipse.etrice.core.Config.validate">
+ <activeWhen>
+ <reference
+ definitionId="org.eclipse.etrice.core.Config.Editor.opened">
+ </reference>
+ </activeWhen>
+ </handler>
+ </extension>
+ <extension point="org.eclipse.core.expressions.definitions">
+ <definition id="org.eclipse.etrice.core.Config.Editor.opened">
+ <and>
+ <reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/>
+ <with variable="activeEditor">
+ <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
+ value="org.eclipse.etrice.core.Config"
+ forcePluginActivation="true"/>
+ </with>
+ </and>
+ </definition>
+ </extension>
+ <extension
+ point="org.eclipse.ui.preferencePages">
+ <page
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
+ id="org.eclipse.etrice.core.Config"
+ name="Config">
+ <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
+ </page>
+ <page
+ category="org.eclipse.etrice.core.Config"
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.syntaxcoloring.SyntaxColoringPreferencePage"
+ id="org.eclipse.etrice.core.Config.coloring"
+ name="Syntax Coloring">
+ <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
+ </page>
+ <page
+ category="org.eclipse.etrice.core.Config"
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage"
+ id="org.eclipse.etrice.core.Config.templates"
+ name="Templates">
+ <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
+ </page>
+ </extension>
+ <extension
+ point="org.eclipse.ui.propertyPages">
+ <page
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
+ id="org.eclipse.etrice.core.Config"
+ name="Config">
+ <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
+ <enabledWhen>
+ <adapt type="org.eclipse.core.resources.IProject"/>
+ </enabledWhen>
+ <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
+ </page>
+ </extension>
+ <extension
+ point="org.eclipse.ui.keywords">
+ <keyword
+ id="org.eclipse.etrice.core.ui.keyword_Config"
+ label="Config"/>
+ </extension>
+ <extension
+ point="org.eclipse.ui.commands">
+ <command
+ description="Trigger expensive validation"
+ id="org.eclipse.etrice.core.Config.validate"
+ name="Validate">
+ </command>
+ </extension>
+ <extension point="org.eclipse.ui.menus">
+ <menuContribution
+ locationURI="popup:#TextEditorContext?after=group.edit">
+ <command
+ commandId="org.eclipse.etrice.core.Config.validate"
+ style="push"
+ tooltip="Trigger expensive validation">
+ <visibleWhen checkEnabled="false">
+ <reference
+ definitionId="org.eclipse.etrice.core.Config.Editor.opened">
+ </reference>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ </extension>
+ <extension point="org.eclipse.ui.menus">
+ <menuContribution locationURI="popup:#TextEditorContext?endof=group.find">
+ <command commandId="org.eclipse.xtext.ui.editor.FindReferences">
+ <visibleWhen checkEnabled="false">
+ <reference definitionId="org.eclipse.etrice.core.Config.Editor.opened">
+ </reference>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ </extension>
+ <extension point="org.eclipse.ui.handlers">
+ <handler
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler"
+ commandId="org.eclipse.xtext.ui.editor.FindReferences">
+ <activeWhen>
+ <reference
+ definitionId="org.eclipse.etrice.core.Config.Editor.opened">
+ </reference>
+ </activeWhen>
+ </handler>
+ </extension>
+
+<!-- adding resource factories -->
+
+ <extension
+ point="org.eclipse.emf.ecore.extension_parser">
+ <parser
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.resource.IResourceFactory"
+ type="config">
+ </parser>
+ </extension>
+ <extension point="org.eclipse.xtext.extension_resourceServiceProvider">
+ <resourceServiceProvider
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.resource.IResourceUIServiceProvider"
+ uriExtension="config">
+ </resourceServiceProvider>
+ </extension>
+
+
+
+ <extension
+ point="org.eclipse.xtext.builder.participant">
+ <participant
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.builder.IXtextBuilderParticipant">
+ </participant>
+ </extension>
+ <extension
+ point="org.eclipse.ui.preferencePages">
+ <page
+ category="org.eclipse.etrice.core.Config"
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
+ id="org.eclipse.etrice.core.Config.compiler.preferencePage"
+ name="Compiler">
+ <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
+ </page>
+ </extension>
+ <extension
+ point="org.eclipse.ui.propertyPages">
+ <page
+ category="org.eclipse.etrice.core.Config"
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
+ id="org.eclipse.etrice.core.Config.compiler.propertyPage"
+ name="Compiler">
+ <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
+ <enabledWhen>
+ <adapt type="org.eclipse.core.resources.IProject"/>
+ </enabledWhen>
+ <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
+ </page>
+ </extension>
+
+ <!-- Quick Outline -->
+ <extension
+ point="org.eclipse.ui.handlers">
+ <handler
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler"
+ commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline">
+ <activeWhen>
+ <reference
+ definitionId="org.eclipse.etrice.core.Config.Editor.opened">
+ </reference>
+ </activeWhen>
+ </handler>
+ </extension>
+ <extension
+ point="org.eclipse.ui.commands">
+ <command
+ description="Open the quick outline."
+ id="org.eclipse.xtext.ui.editor.outline.QuickOutline"
+ name="Quick Outline">
+ </command>
+ </extension>
+ <extension point="org.eclipse.ui.menus">
+ <menuContribution
+ locationURI="popup:#TextEditorContext?after=group.open">
+ <command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"
+ style="push"
+ tooltip="Open Quick Outline">
+ <visibleWhen checkEnabled="false">
+ <reference definitionId="org.eclipse.etrice.core.Config.Editor.opened"/>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ </extension>
+ <!-- quickfix marker resolution generator -->
+ <extension
+ point="org.eclipse.ui.ide.markerResolution">
+ <markerResolutionGenerator
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator">
+ </markerResolutionGenerator>
+ </extension>
+ <!-- Rename Refactoring -->
+ <extension point="org.eclipse.ui.handlers">
+ <handler
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.IRenameElementHandler"
+ commandId="org.eclipse.xtext.ui.refactoring.RenameElement">
+ <activeWhen>
+ <reference
+ definitionId="org.eclipse.etrice.core.Config.Editor.opened">
+ </reference>
+ </activeWhen>
+ </handler>
+ </extension>
+ <extension point="org.eclipse.ui.menus">
+ <menuContribution
+ locationURI="popup:#TextEditorContext?after=group.edit">
+ <command commandId="org.eclipse.xtext.ui.refactoring.RenameElement"
+ style="push">
+ <visibleWhen checkEnabled="false">
+ <reference
+ definitionId="org.eclipse.etrice.core.Config.Editor.opened">
+ </reference>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ </extension>
+ <extension point="org.eclipse.ui.preferencePages">
+ <page
+ category="org.eclipse.etrice.core.Config"
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferencePage"
+ id="org.eclipse.etrice.core.Config.refactoring"
+ name="Refactoring">
+ <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
+ </page>
+ </extension>
+
+
+ <extension point="org.eclipse.compare.contentViewers">
+ <viewer id="org.eclipse.etrice.core.Config.compare.contentViewers"
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator"
+ extensions="config">
+ </viewer>
+ </extension>
+ <extension point="org.eclipse.compare.contentMergeViewers">
+ <viewer id="org.eclipse.etrice.core.Config.compare.contentMergeViewers"
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator"
+ extensions="config" label="Config Compare">
+ </viewer>
+ </extension>
+ <extension point="org.eclipse.ui.editors.documentProviders">
+ <provider id="org.eclipse.etrice.core.Config.editors.documentProviders"
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.model.XtextDocumentProvider"
+ extensions="config">
+ </provider>
+ </extension>
+
+</plugin>
diff --git a/plugins/org.eclipse.etrice.core.config.ui/plugin.xml_gen b/plugins/org.eclipse.etrice.core.config.ui/plugin.xml_gen
index b8d0938cc..dd4224394 100644
--- a/plugins/org.eclipse.etrice.core.config.ui/plugin.xml_gen
+++ b/plugins/org.eclipse.etrice.core.config.ui/plugin.xml_gen
@@ -1,323 +1,323 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-
-<plugin>
-
- <extension
- point="org.eclipse.ui.editors">
- <editor
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor"
- contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor"
- default="true"
- extensions="config"
- id="org.eclipse.etrice.core.Config"
- name="Config Editor">
- </editor>
- </extension>
- <extension
- point="org.eclipse.ui.handlers">
- <handler
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclarationHandler"
- commandId="org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclaration">
- <activeWhen>
- <reference
- definitionId="org.eclipse.etrice.core.Config.Editor.opened">
- </reference>
- </activeWhen>
- </handler>
- <handler
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler"
- commandId="org.eclipse.etrice.core.Config.validate">
- <activeWhen>
- <reference
- definitionId="org.eclipse.etrice.core.Config.Editor.opened">
- </reference>
- </activeWhen>
- </handler>
- </extension>
- <extension point="org.eclipse.core.expressions.definitions">
- <definition id="org.eclipse.etrice.core.Config.Editor.opened">
- <and>
- <reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/>
- <with variable="activeEditor">
- <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
- value="org.eclipse.etrice.core.Config"
- forcePluginActivation="true"/>
- </with>
- </and>
- </definition>
- </extension>
- <extension
- point="org.eclipse.ui.preferencePages">
- <page
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
- id="org.eclipse.etrice.core.Config"
- name="Config">
- <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
- </page>
- <page
- category="org.eclipse.etrice.core.Config"
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.syntaxcoloring.SyntaxColoringPreferencePage"
- id="org.eclipse.etrice.core.Config.coloring"
- name="Syntax Coloring">
- <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
- </page>
- <page
- category="org.eclipse.etrice.core.Config"
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage"
- id="org.eclipse.etrice.core.Config.templates"
- name="Templates">
- <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
- </page>
- </extension>
- <extension
- point="org.eclipse.ui.propertyPages">
- <page
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
- id="org.eclipse.etrice.core.Config"
- name="Config">
- <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
- <enabledWhen>
- <adapt type="org.eclipse.core.resources.IProject"/>
- </enabledWhen>
- <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
- </page>
- </extension>
- <extension
- point="org.eclipse.ui.keywords">
- <keyword
- id="org.eclipse.etrice.core.ui.keyword_Config"
- label="Config"/>
- </extension>
- <extension
- point="org.eclipse.ui.commands">
- <command
- description="Trigger expensive validation"
- id="org.eclipse.etrice.core.Config.validate"
- name="Validate">
- </command>
- </extension>
- <extension point="org.eclipse.ui.menus">
- <menuContribution
- locationURI="popup:#TextEditorContext?after=group.edit">
- <command
- commandId="org.eclipse.etrice.core.Config.validate"
- style="push"
- tooltip="Trigger expensive validation">
- <visibleWhen checkEnabled="false">
- <reference
- definitionId="org.eclipse.etrice.core.Config.Editor.opened">
- </reference>
- </visibleWhen>
- </command>
- </menuContribution>
- </extension>
- <extension point="org.eclipse.ui.menus">
- <menuContribution locationURI="popup:#TextEditorContext?endof=group.find">
- <command commandId="org.eclipse.xtext.ui.editor.FindReferences">
- <visibleWhen checkEnabled="false">
- <reference definitionId="org.eclipse.etrice.core.Config.Editor.opened">
- </reference>
- </visibleWhen>
- </command>
- </menuContribution>
- </extension>
- <extension point="org.eclipse.ui.handlers">
- <handler
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler"
- commandId="org.eclipse.xtext.ui.editor.FindReferences">
- <activeWhen>
- <reference
- definitionId="org.eclipse.etrice.core.Config.Editor.opened">
- </reference>
- </activeWhen>
- </handler>
- </extension>
-
-<!-- adding resource factories -->
-
- <extension
- point="org.eclipse.emf.ecore.extension_parser">
- <parser
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.resource.IResourceFactory"
- type="config">
- </parser>
- </extension>
- <extension point="org.eclipse.xtext.extension_resourceServiceProvider">
- <resourceServiceProvider
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.resource.IResourceUIServiceProvider"
- uriExtension="config">
- </resourceServiceProvider>
- </extension>
-
-
- <!-- marker definitions for org.eclipse.etrice.core.Config -->
- <extension
- id="config.check.fast"
- name="Config Problem"
- point="org.eclipse.core.resources.markers">
- <super type="org.eclipse.xtext.ui.check.fast"/>
- <persistent value="true"/>
- </extension>
- <extension
- id="config.check.normal"
- name="Config Problem"
- point="org.eclipse.core.resources.markers">
- <super type="org.eclipse.xtext.ui.check.normal"/>
- <persistent value="true"/>
- </extension>
- <extension
- id="config.check.expensive"
- name="Config Problem"
- point="org.eclipse.core.resources.markers">
- <super type="org.eclipse.xtext.ui.check.expensive"/>
- <persistent value="true"/>
- </extension>
-
- <extension
- point="org.eclipse.xtext.builder.participant">
- <participant
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.builder.IXtextBuilderParticipant">
- </participant>
- </extension>
- <extension
- point="org.eclipse.ui.preferencePages">
- <page
- category="org.eclipse.etrice.core.Config"
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
- id="org.eclipse.etrice.core.Config.compiler.preferencePage"
- name="Compiler">
- <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
- </page>
- </extension>
- <extension
- point="org.eclipse.ui.propertyPages">
- <page
- category="org.eclipse.etrice.core.Config"
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
- id="org.eclipse.etrice.core.Config.compiler.propertyPage"
- name="Compiler">
- <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
- <enabledWhen>
- <adapt type="org.eclipse.core.resources.IProject"/>
- </enabledWhen>
- <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
- </page>
- </extension>
-
- <!-- Quick Outline -->
- <extension
- point="org.eclipse.ui.handlers">
- <handler
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler"
- commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline">
- <activeWhen>
- <reference
- definitionId="org.eclipse.etrice.core.Config.Editor.opened">
- </reference>
- </activeWhen>
- </handler>
- </extension>
- <extension
- point="org.eclipse.ui.commands">
- <command
- description="Open the quick outline."
- id="org.eclipse.xtext.ui.editor.outline.QuickOutline"
- name="Quick Outline">
- </command>
- </extension>
- <extension point="org.eclipse.ui.menus">
- <menuContribution
- locationURI="popup:#TextEditorContext?after=group.open">
- <command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"
- style="push"
- tooltip="Open Quick Outline">
- <visibleWhen checkEnabled="false">
- <reference definitionId="org.eclipse.etrice.core.Config.Editor.opened"/>
- </visibleWhen>
- </command>
- </menuContribution>
- </extension>
- <!-- quickfix marker resolution generator for org.eclipse.etrice.core.Config -->
- <extension
- point="org.eclipse.ui.ide.markerResolution">
- <markerResolutionGenerator
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
- markerType="org.eclipse.etrice.core.ui.config.check.fast">
- <attribute
- name="FIXABLE_KEY"
- value="true">
- </attribute>
- </markerResolutionGenerator>
- <markerResolutionGenerator
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
- markerType="org.eclipse.etrice.core.ui.config.check.normal">
- <attribute
- name="FIXABLE_KEY"
- value="true">
- </attribute>
- </markerResolutionGenerator>
- <markerResolutionGenerator
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
- markerType="org.eclipse.etrice.core.ui.config.check.expensive">
- <attribute
- name="FIXABLE_KEY"
- value="true">
- </attribute>
- </markerResolutionGenerator>
- </extension>
- <!-- Rename Refactoring -->
- <extension point="org.eclipse.ui.handlers">
- <handler
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.IRenameElementHandler"
- commandId="org.eclipse.xtext.ui.refactoring.RenameElement">
- <activeWhen>
- <reference
- definitionId="org.eclipse.etrice.core.Config.Editor.opened">
- </reference>
- </activeWhen>
- </handler>
- </extension>
- <extension point="org.eclipse.ui.menus">
- <menuContribution
- locationURI="popup:#TextEditorContext?after=group.edit">
- <command commandId="org.eclipse.xtext.ui.refactoring.RenameElement"
- style="push">
- <visibleWhen checkEnabled="false">
- <reference
- definitionId="org.eclipse.etrice.core.Config.Editor.opened">
- </reference>
- </visibleWhen>
- </command>
- </menuContribution>
- </extension>
- <extension point="org.eclipse.ui.preferencePages">
- <page
- category="org.eclipse.etrice.core.Config"
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferencePage"
- id="org.eclipse.etrice.core.Config.refactoring"
- name="Refactoring">
- <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
- </page>
- </extension>
-
- <extension point="org.eclipse.compare.contentViewers">
- <viewer id="org.eclipse.etrice.core.Config.compare.contentViewers"
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator"
- extensions="config">
- </viewer>
- </extension>
- <extension point="org.eclipse.compare.contentMergeViewers">
- <viewer id="org.eclipse.etrice.core.Config.compare.contentMergeViewers"
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator"
- extensions="config" label="Config Compare">
- </viewer>
- </extension>
- <extension point="org.eclipse.ui.editors.documentProviders">
- <provider id="org.eclipse.etrice.core.Config.editors.documentProviders"
- class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.model.XtextDocumentProvider"
- extensions="config">
- </provider>
- </extension>
-
-</plugin>
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+
+<plugin>
+
+ <extension
+ point="org.eclipse.ui.editors">
+ <editor
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor"
+ contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor"
+ default="true"
+ extensions="config"
+ id="org.eclipse.etrice.core.Config"
+ name="Config Editor">
+ </editor>
+ </extension>
+ <extension
+ point="org.eclipse.ui.handlers">
+ <handler
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclarationHandler"
+ commandId="org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclaration">
+ <activeWhen>
+ <reference
+ definitionId="org.eclipse.etrice.core.Config.Editor.opened">
+ </reference>
+ </activeWhen>
+ </handler>
+ <handler
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler"
+ commandId="org.eclipse.etrice.core.Config.validate">
+ <activeWhen>
+ <reference
+ definitionId="org.eclipse.etrice.core.Config.Editor.opened">
+ </reference>
+ </activeWhen>
+ </handler>
+ </extension>
+ <extension point="org.eclipse.core.expressions.definitions">
+ <definition id="org.eclipse.etrice.core.Config.Editor.opened">
+ <and>
+ <reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/>
+ <with variable="activeEditor">
+ <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
+ value="org.eclipse.etrice.core.Config"
+ forcePluginActivation="true"/>
+ </with>
+ </and>
+ </definition>
+ </extension>
+ <extension
+ point="org.eclipse.ui.preferencePages">
+ <page
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
+ id="org.eclipse.etrice.core.Config"
+ name="Config">
+ <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
+ </page>
+ <page
+ category="org.eclipse.etrice.core.Config"
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.syntaxcoloring.SyntaxColoringPreferencePage"
+ id="org.eclipse.etrice.core.Config.coloring"
+ name="Syntax Coloring">
+ <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
+ </page>
+ <page
+ category="org.eclipse.etrice.core.Config"
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage"
+ id="org.eclipse.etrice.core.Config.templates"
+ name="Templates">
+ <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
+ </page>
+ </extension>
+ <extension
+ point="org.eclipse.ui.propertyPages">
+ <page
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
+ id="org.eclipse.etrice.core.Config"
+ name="Config">
+ <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
+ <enabledWhen>
+ <adapt type="org.eclipse.core.resources.IProject"/>
+ </enabledWhen>
+ <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
+ </page>
+ </extension>
+ <extension
+ point="org.eclipse.ui.keywords">
+ <keyword
+ id="org.eclipse.etrice.core.ui.keyword_Config"
+ label="Config"/>
+ </extension>
+ <extension
+ point="org.eclipse.ui.commands">
+ <command
+ description="Trigger expensive validation"
+ id="org.eclipse.etrice.core.Config.validate"
+ name="Validate">
+ </command>
+ </extension>
+ <extension point="org.eclipse.ui.menus">
+ <menuContribution
+ locationURI="popup:#TextEditorContext?after=group.edit">
+ <command
+ commandId="org.eclipse.etrice.core.Config.validate"
+ style="push"
+ tooltip="Trigger expensive validation">
+ <visibleWhen checkEnabled="false">
+ <reference
+ definitionId="org.eclipse.etrice.core.Config.Editor.opened">
+ </reference>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ </extension>
+ <extension point="org.eclipse.ui.menus">
+ <menuContribution locationURI="popup:#TextEditorContext?endof=group.find">
+ <command commandId="org.eclipse.xtext.ui.editor.FindReferences">
+ <visibleWhen checkEnabled="false">
+ <reference definitionId="org.eclipse.etrice.core.Config.Editor.opened">
+ </reference>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ </extension>
+ <extension point="org.eclipse.ui.handlers">
+ <handler
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler"
+ commandId="org.eclipse.xtext.ui.editor.FindReferences">
+ <activeWhen>
+ <reference
+ definitionId="org.eclipse.etrice.core.Config.Editor.opened">
+ </reference>
+ </activeWhen>
+ </handler>
+ </extension>
+
+<!-- adding resource factories -->
+
+ <extension
+ point="org.eclipse.emf.ecore.extension_parser">
+ <parser
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.resource.IResourceFactory"
+ type="config">
+ </parser>
+ </extension>
+ <extension point="org.eclipse.xtext.extension_resourceServiceProvider">
+ <resourceServiceProvider
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.resource.IResourceUIServiceProvider"
+ uriExtension="config">
+ </resourceServiceProvider>
+ </extension>
+
+
+ <!-- marker definitions for org.eclipse.etrice.core.Config -->
+ <extension
+ id="config.check.fast"
+ name="Config Problem"
+ point="org.eclipse.core.resources.markers">
+ <super type="org.eclipse.xtext.ui.check.fast"/>
+ <persistent value="true"/>
+ </extension>
+ <extension
+ id="config.check.normal"
+ name="Config Problem"
+ point="org.eclipse.core.resources.markers">
+ <super type="org.eclipse.xtext.ui.check.normal"/>
+ <persistent value="true"/>
+ </extension>
+ <extension
+ id="config.check.expensive"
+ name="Config Problem"
+ point="org.eclipse.core.resources.markers">
+ <super type="org.eclipse.xtext.ui.check.expensive"/>
+ <persistent value="true"/>
+ </extension>
+
+ <extension
+ point="org.eclipse.xtext.builder.participant">
+ <participant
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.builder.IXtextBuilderParticipant">
+ </participant>
+ </extension>
+ <extension
+ point="org.eclipse.ui.preferencePages">
+ <page
+ category="org.eclipse.etrice.core.Config"
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
+ id="org.eclipse.etrice.core.Config.compiler.preferencePage"
+ name="Compiler">
+ <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
+ </page>
+ </extension>
+ <extension
+ point="org.eclipse.ui.propertyPages">
+ <page
+ category="org.eclipse.etrice.core.Config"
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
+ id="org.eclipse.etrice.core.Config.compiler.propertyPage"
+ name="Compiler">
+ <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
+ <enabledWhen>
+ <adapt type="org.eclipse.core.resources.IProject"/>
+ </enabledWhen>
+ <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
+ </page>
+ </extension>
+
+ <!-- Quick Outline -->
+ <extension
+ point="org.eclipse.ui.handlers">
+ <handler
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler"
+ commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline">
+ <activeWhen>
+ <reference
+ definitionId="org.eclipse.etrice.core.Config.Editor.opened">
+ </reference>
+ </activeWhen>
+ </handler>
+ </extension>
+ <extension
+ point="org.eclipse.ui.commands">
+ <command
+ description="Open the quick outline."
+ id="org.eclipse.xtext.ui.editor.outline.QuickOutline"
+ name="Quick Outline">
+ </command>
+ </extension>
+ <extension point="org.eclipse.ui.menus">
+ <menuContribution
+ locationURI="popup:#TextEditorContext?after=group.open">
+ <command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"
+ style="push"
+ tooltip="Open Quick Outline">
+ <visibleWhen checkEnabled="false">
+ <reference definitionId="org.eclipse.etrice.core.Config.Editor.opened"/>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ </extension>
+ <!-- quickfix marker resolution generator for org.eclipse.etrice.core.Config -->
+ <extension
+ point="org.eclipse.ui.ide.markerResolution">
+ <markerResolutionGenerator
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
+ markerType="org.eclipse.etrice.core.ui.config.check.fast">
+ <attribute
+ name="FIXABLE_KEY"
+ value="true">
+ </attribute>
+ </markerResolutionGenerator>
+ <markerResolutionGenerator
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
+ markerType="org.eclipse.etrice.core.ui.config.check.normal">
+ <attribute
+ name="FIXABLE_KEY"
+ value="true">
+ </attribute>
+ </markerResolutionGenerator>
+ <markerResolutionGenerator
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
+ markerType="org.eclipse.etrice.core.ui.config.check.expensive">
+ <attribute
+ name="FIXABLE_KEY"
+ value="true">
+ </attribute>
+ </markerResolutionGenerator>
+ </extension>
+ <!-- Rename Refactoring -->
+ <extension point="org.eclipse.ui.handlers">
+ <handler
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.IRenameElementHandler"
+ commandId="org.eclipse.xtext.ui.refactoring.RenameElement">
+ <activeWhen>
+ <reference
+ definitionId="org.eclipse.etrice.core.Config.Editor.opened">
+ </reference>
+ </activeWhen>
+ </handler>
+ </extension>
+ <extension point="org.eclipse.ui.menus">
+ <menuContribution
+ locationURI="popup:#TextEditorContext?after=group.edit">
+ <command commandId="org.eclipse.xtext.ui.refactoring.RenameElement"
+ style="push">
+ <visibleWhen checkEnabled="false">
+ <reference
+ definitionId="org.eclipse.etrice.core.Config.Editor.opened">
+ </reference>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ </extension>
+ <extension point="org.eclipse.ui.preferencePages">
+ <page
+ category="org.eclipse.etrice.core.Config"
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferencePage"
+ id="org.eclipse.etrice.core.Config.refactoring"
+ name="Refactoring">
+ <keywordReference id="org.eclipse.etrice.core.ui.keyword_Config"/>
+ </page>
+ </extension>
+
+ <extension point="org.eclipse.compare.contentViewers">
+ <viewer id="org.eclipse.etrice.core.Config.compare.contentViewers"
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator"
+ extensions="config">
+ </viewer>
+ </extension>
+ <extension point="org.eclipse.compare.contentMergeViewers">
+ <viewer id="org.eclipse.etrice.core.Config.compare.contentMergeViewers"
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator"
+ extensions="config" label="Config Compare">
+ </viewer>
+ </extension>
+ <extension point="org.eclipse.ui.editors.documentProviders">
+ <provider id="org.eclipse.etrice.core.Config.editors.documentProviders"
+ class="org.eclipse.etrice.core.ui.ConfigExecutableExtensionFactory:org.eclipse.xtext.ui.editor.model.XtextDocumentProvider"
+ extensions="config">
+ </provider>
+ </extension>
+
+</plugin>
diff --git a/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/AbstractConfigUiModule.java b/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/AbstractConfigUiModule.java
index 317451cc7..156d1e33e 100644
--- a/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/AbstractConfigUiModule.java
+++ b/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/AbstractConfigUiModule.java
@@ -1,197 +1,197 @@
-
-/*
- * generated by Xtext
- */
-package org.eclipse.etrice.core.ui;
-
-import org.eclipse.xtext.ui.DefaultUiModule;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-
-/**
- * Manual modifications go to {org.eclipse.etrice.core.ui.ConfigUiModule}
- */
-@SuppressWarnings("all")
-public abstract class AbstractConfigUiModule extends DefaultUiModule {
-
- public AbstractConfigUiModule(AbstractUIPlugin plugin) {
- super(plugin);
- }
-
-
- // contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment
- public com.google.inject.Provider<org.eclipse.xtext.resource.containers.IAllContainersState> provideIAllContainersState() {
- return org.eclipse.xtext.ui.shared.Access.getJavaProjectsState();
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() {
- return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public void configureHighlightingLexer(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.etrice.core.parser.antlr.internal.InternalConfigLexer.class);
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public void configureHighlightingTokenDefProvider(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class);
- }
-
- // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment
- public Class<? extends org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher> bindPrefixMatcher() {
- return org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher.class;
- }
-
- // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment
- public Class<? extends org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator> bindIDependentElementsCalculator() {
- return org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator.class;
- }
-
- // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
- public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.builder.clustering.CurrentDescriptions.ResourceSetAware.class);
- }
-
- // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
- public Class<? extends org.eclipse.xtext.ui.editor.IXtextEditorCallback> bindIXtextEditorCallback() {
- return org.eclipse.xtext.builder.nature.NatureAddingEditorCallback.class;
- }
-
- // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
- public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.builder.builderState.IBuilderState.class);
- }
-
- // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
- public Class<? extends org.eclipse.xtext.ui.editor.DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
- return org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource.class;
- }
-
- // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment
- public Class<? extends org.eclipse.xtext.builder.IXtextBuilderParticipant> bindIXtextBuilderParticipant() {
- return org.eclipse.xtext.builder.BuilderParticipant.class;
- }
-
- // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment
- public org.eclipse.core.resources.IWorkspaceRoot bindIWorkspaceRootToInstance() {
- return org.eclipse.core.resources.ResourcesPlugin.getWorkspace().getRoot();
- }
-
- // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment
- public void configureBuilderPreferenceStoreInitializer(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("builderPreferenceInitializer")).to(org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess.Initializer.class);
- }
-
- // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment
- public Class<? extends org.eclipse.jface.viewers.ILabelProvider> bindILabelProvider() {
- return org.eclipse.etrice.core.ui.labeling.ConfigLabelProvider.class;
- }
-
- // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment
- public void configureResourceUIServiceLabelProvider(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.etrice.core.ui.labeling.ConfigDescriptionLabelProvider.class);
- }
-
- // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
- public Class<? extends org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider> bindIOutlineTreeProvider() {
- return org.eclipse.etrice.core.ui.outline.ConfigOutlineTreeProvider.class;
- }
-
- // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
- public Class<? extends org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() {
- return org.eclipse.etrice.core.ui.outline.ConfigOutlineTreeProvider.class;
- }
-
- // contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment
- public Class<? extends org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider> bindIssueResolutionProvider() {
- return org.eclipse.etrice.core.ui.quickfix.ConfigQuickfixProvider.class;
- }
-
- // contributed by org.eclipse.xtext.ui.generator.contentAssist.JavaBasedContentAssistFragment
- public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IContentProposalProvider> bindIContentProposalProvider() {
- return org.eclipse.etrice.core.ui.contentassist.ConfigProposalProvider.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
- public Class<? extends org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext.Factory> bindContentAssistContext$Factory() {
- return org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
- public Class<? extends org.eclipse.xtext.ui.editor.contentassist.antlr.IContentAssistParser> bindIContentAssistParser() {
- return org.eclipse.etrice.core.ui.contentassist.antlr.ConfigParser.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
- public void configureContentAssistLexerProvider(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.etrice.core.ui.contentassist.antlr.internal.InternalConfigLexer.class).toProvider(org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.etrice.core.ui.contentassist.antlr.internal.InternalConfigLexer.class));
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
- public void configureContentAssistLexer(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.CONTENT_ASSIST)).to(org.eclipse.etrice.core.ui.contentassist.antlr.internal.InternalConfigLexer.class);
- }
-
- // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment
- public Class<? extends org.eclipse.xtext.ui.refactoring.IRenameStrategy> bindIRenameStrategy() {
- return org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategy.class;
- }
-
- // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment
- public Class<? extends org.eclipse.xtext.ui.refactoring.IReferenceUpdater> bindIReferenceUpdater() {
- return org.eclipse.xtext.ui.refactoring.impl.DefaultReferenceUpdater.class;
- }
-
- // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment
- public void configureIPreferenceStoreInitializer(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("RefactoringPreferences")).to(org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferences.Initializer.class);
- }
-
- // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment
- public Class<? extends org.eclipse.xtext.ui.refactoring.IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
- return org.eclipse.xtext.ui.refactoring.impl.DefaultRenameRefactoringProvider.class;
- }
-
- // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment
- public Class<? extends org.eclipse.xtext.ui.refactoring.ui.IRenameSupport.Factory> bindIRenameSupport$Factory() {
- return org.eclipse.xtext.ui.refactoring.ui.DefaultRenameSupport.Factory.class;
- }
-
- // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment
- public Class<? extends org.eclipse.xtext.ui.refactoring.ui.IRenameElementHandler> bindIRenameElementHandler() {
- return org.eclipse.xtext.ui.refactoring.ui.DefaultRenameElementHandler.class;
- }
-
- // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment
- public com.google.inject.Provider<org.eclipse.xtext.ui.codetemplates.ui.preferences.TemplatesLanguageConfiguration> provideTemplatesLanguageConfiguration() {
- return org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator.getTemplatesLanguageConfigurationProvider();
- }
-
- // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment
- public com.google.inject.Provider<org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistry> provideLanguageRegistry() {
- return org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator.getLanguageRegistry();
- }
-
- // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment
- @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class<? extends org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar> bindLanguageRegistrar() {
- return org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar.class;
- }
-
- // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment
- public Class<? extends org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage> bindXtextTemplatePreferencePage() {
- return org.eclipse.xtext.ui.codetemplates.ui.preferences.AdvancedTemplatesPreferencePage.class;
- }
-
- // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment
- public Class<? extends org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialContentAssistParser> bindIPartialContentAssistParser() {
- return org.eclipse.etrice.core.ui.contentassist.antlr.PartialConfigContentAssistParser.class;
- }
-
- // contributed by org.eclipse.xtext.ui.generator.compare.CompareFragment
- public Class<? extends org.eclipse.compare.IViewerCreator> bindIViewerCreator() {
- return org.eclipse.xtext.ui.compare.DefaultViewerCreator.class;
- }
-
-
-}
+
+/*
+ * generated by Xtext
+ */
+package org.eclipse.etrice.core.ui;
+
+import org.eclipse.xtext.ui.DefaultUiModule;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+
+/**
+ * Manual modifications go to {org.eclipse.etrice.core.ui.ConfigUiModule}
+ */
+@SuppressWarnings("all")
+public abstract class AbstractConfigUiModule extends DefaultUiModule {
+
+ public AbstractConfigUiModule(AbstractUIPlugin plugin) {
+ super(plugin);
+ }
+
+
+ // contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment
+ public com.google.inject.Provider<org.eclipse.xtext.resource.containers.IAllContainersState> provideIAllContainersState() {
+ return org.eclipse.xtext.ui.shared.Access.getJavaProjectsState();
+ }
+
+ // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
+ public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() {
+ return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
+ public void configureHighlightingLexer(com.google.inject.Binder binder) {
+ binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.etrice.core.parser.antlr.internal.InternalConfigLexer.class);
+ }
+
+ // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
+ public void configureHighlightingTokenDefProvider(com.google.inject.Binder binder) {
+ binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class);
+ }
+
+ // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment
+ public Class<? extends org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher> bindPrefixMatcher() {
+ return org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment
+ public Class<? extends org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator> bindIDependentElementsCalculator() {
+ return org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
+ public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
+ binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.builder.clustering.CurrentDescriptions.ResourceSetAware.class);
+ }
+
+ // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
+ public Class<? extends org.eclipse.xtext.ui.editor.IXtextEditorCallback> bindIXtextEditorCallback() {
+ return org.eclipse.xtext.builder.nature.NatureAddingEditorCallback.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
+ public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) {
+ binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.builder.builderState.IBuilderState.class);
+ }
+
+ // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
+ public Class<? extends org.eclipse.xtext.ui.editor.DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
+ return org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment
+ public Class<? extends org.eclipse.xtext.builder.IXtextBuilderParticipant> bindIXtextBuilderParticipant() {
+ return org.eclipse.xtext.builder.BuilderParticipant.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment
+ public org.eclipse.core.resources.IWorkspaceRoot bindIWorkspaceRootToInstance() {
+ return org.eclipse.core.resources.ResourcesPlugin.getWorkspace().getRoot();
+ }
+
+ // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment
+ public void configureBuilderPreferenceStoreInitializer(com.google.inject.Binder binder) {
+ binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("builderPreferenceInitializer")).to(org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess.Initializer.class);
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment
+ public Class<? extends org.eclipse.jface.viewers.ILabelProvider> bindILabelProvider() {
+ return org.eclipse.etrice.core.ui.labeling.ConfigLabelProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment
+ public void configureResourceUIServiceLabelProvider(com.google.inject.Binder binder) {
+ binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.etrice.core.ui.labeling.ConfigDescriptionLabelProvider.class);
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
+ public Class<? extends org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider> bindIOutlineTreeProvider() {
+ return org.eclipse.etrice.core.ui.outline.ConfigOutlineTreeProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
+ public Class<? extends org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() {
+ return org.eclipse.etrice.core.ui.outline.ConfigOutlineTreeProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment
+ public Class<? extends org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider> bindIssueResolutionProvider() {
+ return org.eclipse.etrice.core.ui.quickfix.ConfigQuickfixProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.contentAssist.JavaBasedContentAssistFragment
+ public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IContentProposalProvider> bindIContentProposalProvider() {
+ return org.eclipse.etrice.core.ui.contentassist.ConfigProposalProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
+ public Class<? extends org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext.Factory> bindContentAssistContext$Factory() {
+ return org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
+ public Class<? extends org.eclipse.xtext.ui.editor.contentassist.antlr.IContentAssistParser> bindIContentAssistParser() {
+ return org.eclipse.etrice.core.ui.contentassist.antlr.ConfigParser.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
+ public void configureContentAssistLexerProvider(com.google.inject.Binder binder) {
+ binder.bind(org.eclipse.etrice.core.ui.contentassist.antlr.internal.InternalConfigLexer.class).toProvider(org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.etrice.core.ui.contentassist.antlr.internal.InternalConfigLexer.class));
+ }
+
+ // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
+ public void configureContentAssistLexer(com.google.inject.Binder binder) {
+ binder.bind(org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.CONTENT_ASSIST)).to(org.eclipse.etrice.core.ui.contentassist.antlr.internal.InternalConfigLexer.class);
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment
+ public Class<? extends org.eclipse.xtext.ui.refactoring.IRenameStrategy> bindIRenameStrategy() {
+ return org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategy.class;
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment
+ public Class<? extends org.eclipse.xtext.ui.refactoring.IReferenceUpdater> bindIReferenceUpdater() {
+ return org.eclipse.xtext.ui.refactoring.impl.DefaultReferenceUpdater.class;
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment
+ public void configureIPreferenceStoreInitializer(com.google.inject.Binder binder) {
+ binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("RefactoringPreferences")).to(org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferences.Initializer.class);
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment
+ public Class<? extends org.eclipse.xtext.ui.refactoring.IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
+ return org.eclipse.xtext.ui.refactoring.impl.DefaultRenameRefactoringProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment
+ public Class<? extends org.eclipse.xtext.ui.refactoring.ui.IRenameSupport.Factory> bindIRenameSupport$Factory() {
+ return org.eclipse.xtext.ui.refactoring.ui.DefaultRenameSupport.Factory.class;
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment
+ public Class<? extends org.eclipse.xtext.ui.refactoring.ui.IRenameElementHandler> bindIRenameElementHandler() {
+ return org.eclipse.xtext.ui.refactoring.ui.DefaultRenameElementHandler.class;
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment
+ public com.google.inject.Provider<org.eclipse.xtext.ui.codetemplates.ui.preferences.TemplatesLanguageConfiguration> provideTemplatesLanguageConfiguration() {
+ return org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator.getTemplatesLanguageConfigurationProvider();
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment
+ public com.google.inject.Provider<org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistry> provideLanguageRegistry() {
+ return org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator.getLanguageRegistry();
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment
+ @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class<? extends org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar> bindLanguageRegistrar() {
+ return org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar.class;
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment
+ public Class<? extends org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage> bindXtextTemplatePreferencePage() {
+ return org.eclipse.xtext.ui.codetemplates.ui.preferences.AdvancedTemplatesPreferencePage.class;
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment
+ public Class<? extends org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialContentAssistParser> bindIPartialContentAssistParser() {
+ return org.eclipse.etrice.core.ui.contentassist.antlr.PartialConfigContentAssistParser.class;
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.compare.CompareFragment
+ public Class<? extends org.eclipse.compare.IViewerCreator> bindIViewerCreator() {
+ return org.eclipse.xtext.ui.compare.DefaultViewerCreator.class;
+ }
+
+
+}
diff --git a/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/ConfigExecutableExtensionFactory.java b/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/ConfigExecutableExtensionFactory.java
index 24bd98894..6695a3260 100644
--- a/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/ConfigExecutableExtensionFactory.java
+++ b/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/ConfigExecutableExtensionFactory.java
@@ -1,29 +1,29 @@
-/*
- * generated by Xtext
- */
-package org.eclipse.etrice.core.ui;
-
-import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
-import org.osgi.framework.Bundle;
-
-import com.google.inject.Injector;
-
-import org.eclipse.etrice.core.ui.internal.ConfigActivator;
-
-/**
- * This class was generated. Customizations should only happen in a newly
- * introduced subclass.
- */
-public class ConfigExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
-
- @Override
- protected Bundle getBundle() {
- return ConfigActivator.getInstance().getBundle();
- }
-
- @Override
- protected Injector getInjector() {
- return ConfigActivator.getInstance().getInjector(ConfigActivator.ORG_ECLIPSE_ETRICE_CORE_CONFIG);
- }
-
-}
+/*
+ * generated by Xtext
+ */
+package org.eclipse.etrice.core.ui;
+
+import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
+import org.osgi.framework.Bundle;
+
+import com.google.inject.Injector;
+
+import org.eclipse.etrice.core.ui.internal.ConfigActivator;
+
+/**
+ * This class was generated. Customizations should only happen in a newly
+ * introduced subclass.
+ */
+public class ConfigExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
+
+ @Override
+ protected Bundle getBundle() {
+ return ConfigActivator.getInstance().getBundle();
+ }
+
+ @Override
+ protected Injector getInjector() {
+ return ConfigActivator.getInstance().getInjector(ConfigActivator.ORG_ECLIPSE_ETRICE_CORE_CONFIG);
+ }
+
+}
diff --git a/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/AbstractConfigProposalProvider.java b/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/AbstractConfigProposalProvider.java
index 68d44716f..65b78e4b4 100644
--- a/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/AbstractConfigProposalProvider.java
+++ b/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/AbstractConfigProposalProvider.java
@@ -1,234 +1,234 @@
-/*
-* generated by Xtext
-*/
-package org.eclipse.etrice.core.ui.contentassist;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.xtext.*;
-import org.eclipse.xtext.common.ui.contentassist.TerminalsProposalProvider;
-import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor;
-import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext;
-
-/**
- * Represents a generated, default implementation of interface {@link IProposalProvider}.
- * Methods are dynamically dispatched on the first parameter, i.e., you can override them
- * with a more concrete subtype.
- */
-@SuppressWarnings("all")
-public class AbstractConfigProposalProvider extends TerminalsProposalProvider {
-
- public void completeConfigModel_Imports(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeConfigModel_ConfigElements(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeSubSystemConfig_SubSystem(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
- }
- public void completeSubSystemConfig_DynConfig(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeDynamicConfig_FilePath(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeDynamicConfig_UserCode1(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeDynamicConfig_UserCode2(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeDynamicConfig_Polling(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeActorClassConfig_Actor(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
- }
- public void completeActorClassConfig_Attributes(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeActorInstanceConfig_Root(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
- }
- public void completeActorInstanceConfig_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeActorInstanceConfig_Attributes(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeActorInstanceConfig_Ports(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeProtocolClassConfig_Protocol(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
- }
- public void completeProtocolClassConfig_Regular(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeProtocolClassConfig_Conjugated(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completePortClassConfig_Attributes(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completePortInstanceConfig_Item(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
- }
- public void completePortInstanceConfig_Attributes(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeAttrClassConfig_Attribute(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
- }
- public void completeAttrClassConfig_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeAttrClassConfig_Min(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeAttrClassConfig_Max(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeAttrClassConfig_Attributes(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeAttrInstanceConfig_Attribute(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
- }
- public void completeAttrInstanceConfig_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeAttrInstanceConfig_DynConfig(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void completeAttrInstanceConfig_ReadOnly(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void completeAttrInstanceConfig_Attributes(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeRefPath_Refs(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeImport_ImportedNamespace(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeImport_ImportURI(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeLiteralArray_Literals(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeBooleanLiteral_IsTrue(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void completeRealLiteral_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeIntLiteral_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
- public void completeStringLiteral_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
- }
-
- public void complete_ConfigModel(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_ConfigElement(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_SubSystemConfig(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_DynamicConfig(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_ActorClassConfig(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_ActorInstanceConfig(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_ProtocolClassConfig(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_PortClassConfig(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_PortInstanceConfig(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_AttrConfig(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_AttrClassConfig(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_AttrInstanceConfig(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_RefPath(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_Import(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_ImportedFQN(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_FQN(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_LiteralArray(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_Literal(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_BooleanLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_NumberLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_RealLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_IntLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_StringLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_Integer(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_SignedInteger(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_Hexadecimal(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_Real(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_Decimal(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_DotDecimal(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_DecimalDot(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_DecimalExp(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_EXP(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
- public void complete_HEX(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
-}
+/*
+* generated by Xtext
+*/
+package org.eclipse.etrice.core.ui.contentassist;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.*;
+import org.eclipse.xtext.common.ui.contentassist.TerminalsProposalProvider;
+import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor;
+import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext;
+
+/**
+ * Represents a generated, default implementation of interface {@link IProposalProvider}.
+ * Methods are dynamically dispatched on the first parameter, i.e., you can override them
+ * with a more concrete subtype.
+ */
+@SuppressWarnings("all")
+public class AbstractConfigProposalProvider extends TerminalsProposalProvider {
+
+ public void completeConfigModel_Imports(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeConfigModel_ConfigElements(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeSubSystemConfig_SubSystem(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeSubSystemConfig_DynConfig(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeDynamicConfig_FilePath(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeDynamicConfig_UserCode1(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeDynamicConfig_UserCode2(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeDynamicConfig_Polling(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeActorClassConfig_Actor(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeActorClassConfig_Attributes(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeActorInstanceConfig_Root(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeActorInstanceConfig_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeActorInstanceConfig_Attributes(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeActorInstanceConfig_Ports(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeProtocolClassConfig_Protocol(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeProtocolClassConfig_Regular(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeProtocolClassConfig_Conjugated(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completePortClassConfig_Attributes(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completePortInstanceConfig_Item(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
+ }
+ public void completePortInstanceConfig_Attributes(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeAttrClassConfig_Attribute(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeAttrClassConfig_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeAttrClassConfig_Min(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeAttrClassConfig_Max(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeAttrClassConfig_Attributes(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeAttrInstanceConfig_Attribute(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeAttrInstanceConfig_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeAttrInstanceConfig_DynConfig(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void completeAttrInstanceConfig_ReadOnly(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void completeAttrInstanceConfig_Attributes(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeRefPath_Refs(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeImport_ImportedNamespace(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeImport_ImportURI(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeLiteralArray_Literals(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeBooleanLiteral_IsTrue(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void completeRealLiteral_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeIntLiteral_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+ public void completeStringLiteral_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
+ }
+
+ public void complete_ConfigModel(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_ConfigElement(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_SubSystemConfig(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_DynamicConfig(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_ActorClassConfig(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_ActorInstanceConfig(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_ProtocolClassConfig(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_PortClassConfig(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_PortInstanceConfig(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_AttrConfig(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_AttrClassConfig(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_AttrInstanceConfig(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_RefPath(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_Import(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_ImportedFQN(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_FQN(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_LiteralArray(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_Literal(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_BooleanLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_NumberLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_RealLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_IntLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_StringLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_Integer(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_SignedInteger(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_Hexadecimal(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_Real(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_Decimal(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_DotDecimal(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_DecimalDot(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_DecimalExp(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_EXP(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+ public void complete_HEX(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+}
diff --git a/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/ConfigParser.java b/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/ConfigParser.java
index 5457f00db..01a05b7fb 100644
--- a/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/ConfigParser.java
+++ b/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/ConfigParser.java
@@ -1,171 +1,171 @@
-/*
-* generated by Xtext
-*/
-package org.eclipse.etrice.core.ui.contentassist.antlr;
-
-import java.util.Collection;
-import java.util.Map;
-import java.util.HashMap;
-
-import org.antlr.runtime.RecognitionException;
-import org.eclipse.xtext.AbstractElement;
-import org.eclipse.xtext.ui.editor.contentassist.antlr.AbstractContentAssistParser;
-import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement;
-import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
-
-import com.google.inject.Inject;
-
-import org.eclipse.etrice.core.services.ConfigGrammarAccess;
-
-public class ConfigParser extends AbstractContentAssistParser {
-
- @Inject
- private ConfigGrammarAccess grammarAccess;
-
- private Map<AbstractElement, String> nameMappings;
-
- @Override
- protected org.eclipse.etrice.core.ui.contentassist.antlr.internal.InternalConfigParser createParser() {
- org.eclipse.etrice.core.ui.contentassist.antlr.internal.InternalConfigParser result = new org.eclipse.etrice.core.ui.contentassist.antlr.internal.InternalConfigParser(null);
- result.setGrammarAccess(grammarAccess);
- return result;
- }
-
- @Override
- protected String getRuleName(AbstractElement element) {
- if (nameMappings == null) {
- nameMappings = new HashMap<AbstractElement, String>() {
- private static final long serialVersionUID = 1L;
- {
- put(grammarAccess.getConfigElementAccess().getAlternatives(), "rule__ConfigElement__Alternatives");
- put(grammarAccess.getDynamicConfigAccess().getAlternatives_2_0(), "rule__DynamicConfig__Alternatives_2_0");
- put(grammarAccess.getAttrConfigAccess().getAlternatives(), "rule__AttrConfig__Alternatives");
- put(grammarAccess.getAttrInstanceConfigAccess().getAlternatives_3_1_0_1(), "rule__AttrInstanceConfig__Alternatives_3_1_0_1");
- put(grammarAccess.getImportAccess().getAlternatives_1(), "rule__Import__Alternatives_1");
- put(grammarAccess.getLiteralAccess().getAlternatives(), "rule__Literal__Alternatives");
- put(grammarAccess.getBooleanLiteralAccess().getAlternatives_1(), "rule__BooleanLiteral__Alternatives_1");
- put(grammarAccess.getNumberLiteralAccess().getAlternatives(), "rule__NumberLiteral__Alternatives");
- put(grammarAccess.getIntegerAccess().getAlternatives(), "rule__Integer__Alternatives");
- put(grammarAccess.getSignedIntegerAccess().getAlternatives_0(), "rule__SignedInteger__Alternatives_0");
- put(grammarAccess.getRealAccess().getAlternatives(), "rule__Real__Alternatives");
- put(grammarAccess.getDecimalAccess().getAlternatives_0(), "rule__Decimal__Alternatives_0");
- put(grammarAccess.getDotDecimalAccess().getAlternatives_0(), "rule__DotDecimal__Alternatives_0");
- put(grammarAccess.getDecimalDotAccess().getAlternatives_0(), "rule__DecimalDot__Alternatives_0");
- put(grammarAccess.getDecimalExpAccess().getAlternatives_0(), "rule__DecimalExp__Alternatives_0");
- put(grammarAccess.getConfigModelAccess().getGroup(), "rule__ConfigModel__Group__0");
- put(grammarAccess.getSubSystemConfigAccess().getGroup(), "rule__SubSystemConfig__Group__0");
- put(grammarAccess.getDynamicConfigAccess().getGroup(), "rule__DynamicConfig__Group__0");
- put(grammarAccess.getDynamicConfigAccess().getGroup_2_0_0(), "rule__DynamicConfig__Group_2_0_0__0");
- put(grammarAccess.getDynamicConfigAccess().getGroup_2_0_1(), "rule__DynamicConfig__Group_2_0_1__0");
- put(grammarAccess.getDynamicConfigAccess().getGroup_2_0_1_0(), "rule__DynamicConfig__Group_2_0_1_0__0");
- put(grammarAccess.getDynamicConfigAccess().getGroup_2_0_1_1(), "rule__DynamicConfig__Group_2_0_1_1__0");
- put(grammarAccess.getDynamicConfigAccess().getGroup_2_1(), "rule__DynamicConfig__Group_2_1__0");
- put(grammarAccess.getActorClassConfigAccess().getGroup(), "rule__ActorClassConfig__Group__0");
- put(grammarAccess.getActorInstanceConfigAccess().getGroup(), "rule__ActorInstanceConfig__Group__0");
- put(grammarAccess.getProtocolClassConfigAccess().getGroup(), "rule__ProtocolClassConfig__Group__0");
- put(grammarAccess.getProtocolClassConfigAccess().getGroup_3_0(), "rule__ProtocolClassConfig__Group_3_0__0");
- put(grammarAccess.getProtocolClassConfigAccess().getGroup_3_1(), "rule__ProtocolClassConfig__Group_3_1__0");
- put(grammarAccess.getPortClassConfigAccess().getGroup(), "rule__PortClassConfig__Group__0");
- put(grammarAccess.getPortInstanceConfigAccess().getGroup(), "rule__PortInstanceConfig__Group__0");
- put(grammarAccess.getAttrClassConfigAccess().getGroup(), "rule__AttrClassConfig__Group__0");
- put(grammarAccess.getAttrClassConfigAccess().getGroup_2(), "rule__AttrClassConfig__Group_2__0");
- put(grammarAccess.getAttrClassConfigAccess().getGroup_3(), "rule__AttrClassConfig__Group_3__0");
- put(grammarAccess.getAttrClassConfigAccess().getGroup_3_1(), "rule__AttrClassConfig__Group_3_1__0");
- put(grammarAccess.getAttrClassConfigAccess().getGroup_3_1_0(), "rule__AttrClassConfig__Group_3_1_0__0");
- put(grammarAccess.getAttrClassConfigAccess().getGroup_3_1_1(), "rule__AttrClassConfig__Group_3_1_1__0");
- put(grammarAccess.getAttrInstanceConfigAccess().getGroup(), "rule__AttrInstanceConfig__Group__0");
- put(grammarAccess.getAttrInstanceConfigAccess().getGroup_2(), "rule__AttrInstanceConfig__Group_2__0");
- put(grammarAccess.getAttrInstanceConfigAccess().getGroup_3(), "rule__AttrInstanceConfig__Group_3__0");
- put(grammarAccess.getAttrInstanceConfigAccess().getGroup_3_1(), "rule__AttrInstanceConfig__Group_3_1__0");
- put(grammarAccess.getAttrInstanceConfigAccess().getGroup_3_1_0(), "rule__AttrInstanceConfig__Group_3_1_0__0");
- put(grammarAccess.getRefPathAccess().getGroup(), "rule__RefPath__Group__0");
- put(grammarAccess.getRefPathAccess().getGroup_1(), "rule__RefPath__Group_1__0");
- put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0");
- put(grammarAccess.getImportAccess().getGroup_1_0(), "rule__Import__Group_1_0__0");
- put(grammarAccess.getImportedFQNAccess().getGroup(), "rule__ImportedFQN__Group__0");
- put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0");
- put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0");
- put(grammarAccess.getLiteralArrayAccess().getGroup(), "rule__LiteralArray__Group__0");
- put(grammarAccess.getLiteralArrayAccess().getGroup_1(), "rule__LiteralArray__Group_1__0");
- put(grammarAccess.getBooleanLiteralAccess().getGroup(), "rule__BooleanLiteral__Group__0");
- put(grammarAccess.getRealLiteralAccess().getGroup(), "rule__RealLiteral__Group__0");
- put(grammarAccess.getIntLiteralAccess().getGroup(), "rule__IntLiteral__Group__0");
- put(grammarAccess.getStringLiteralAccess().getGroup(), "rule__StringLiteral__Group__0");
- put(grammarAccess.getSignedIntegerAccess().getGroup(), "rule__SignedInteger__Group__0");
- put(grammarAccess.getDecimalAccess().getGroup(), "rule__Decimal__Group__0");
- put(grammarAccess.getDotDecimalAccess().getGroup(), "rule__DotDecimal__Group__0");
- put(grammarAccess.getDecimalDotAccess().getGroup(), "rule__DecimalDot__Group__0");
- put(grammarAccess.getDecimalExpAccess().getGroup(), "rule__DecimalExp__Group__0");
- put(grammarAccess.getConfigModelAccess().getImportsAssignment_0(), "rule__ConfigModel__ImportsAssignment_0");
- put(grammarAccess.getConfigModelAccess().getConfigElementsAssignment_1(), "rule__ConfigModel__ConfigElementsAssignment_1");
- put(grammarAccess.getSubSystemConfigAccess().getSubSystemAssignment_1(), "rule__SubSystemConfig__SubSystemAssignment_1");
- put(grammarAccess.getSubSystemConfigAccess().getDynConfigAssignment_3(), "rule__SubSystemConfig__DynConfigAssignment_3");
- put(grammarAccess.getDynamicConfigAccess().getFilePathAssignment_2_0_0_1(), "rule__DynamicConfig__FilePathAssignment_2_0_0_1");
- put(grammarAccess.getDynamicConfigAccess().getUserCode1Assignment_2_0_1_0_1(), "rule__DynamicConfig__UserCode1Assignment_2_0_1_0_1");
- put(grammarAccess.getDynamicConfigAccess().getUserCode2Assignment_2_0_1_1_1(), "rule__DynamicConfig__UserCode2Assignment_2_0_1_1_1");
- put(grammarAccess.getDynamicConfigAccess().getPollingAssignment_2_1_1(), "rule__DynamicConfig__PollingAssignment_2_1_1");
- put(grammarAccess.getActorClassConfigAccess().getActorAssignment_1(), "rule__ActorClassConfig__ActorAssignment_1");
- put(grammarAccess.getActorClassConfigAccess().getAttributesAssignment_3(), "rule__ActorClassConfig__AttributesAssignment_3");
- put(grammarAccess.getActorInstanceConfigAccess().getRootAssignment_1(), "rule__ActorInstanceConfig__RootAssignment_1");
- put(grammarAccess.getActorInstanceConfigAccess().getPathAssignment_3(), "rule__ActorInstanceConfig__PathAssignment_3");
- put(grammarAccess.getActorInstanceConfigAccess().getAttributesAssignment_5_0(), "rule__ActorInstanceConfig__AttributesAssignment_5_0");
- put(grammarAccess.getActorInstanceConfigAccess().getPortsAssignment_5_1(), "rule__ActorInstanceConfig__PortsAssignment_5_1");
- put(grammarAccess.getProtocolClassConfigAccess().getProtocolAssignment_1(), "rule__ProtocolClassConfig__ProtocolAssignment_1");
- put(grammarAccess.getProtocolClassConfigAccess().getRegularAssignment_3_0_1(), "rule__ProtocolClassConfig__RegularAssignment_3_0_1");
- put(grammarAccess.getProtocolClassConfigAccess().getConjugatedAssignment_3_1_1(), "rule__ProtocolClassConfig__ConjugatedAssignment_3_1_1");
- put(grammarAccess.getPortClassConfigAccess().getAttributesAssignment_3(), "rule__PortClassConfig__AttributesAssignment_3");
- put(grammarAccess.getPortInstanceConfigAccess().getItemAssignment_1(), "rule__PortInstanceConfig__ItemAssignment_1");
- put(grammarAccess.getPortInstanceConfigAccess().getAttributesAssignment_3(), "rule__PortInstanceConfig__AttributesAssignment_3");
- put(grammarAccess.getAttrClassConfigAccess().getAttributeAssignment_1(), "rule__AttrClassConfig__AttributeAssignment_1");
- put(grammarAccess.getAttrClassConfigAccess().getValueAssignment_2_1(), "rule__AttrClassConfig__ValueAssignment_2_1");
- put(grammarAccess.getAttrClassConfigAccess().getMinAssignment_3_1_0_2(), "rule__AttrClassConfig__MinAssignment_3_1_0_2");
- put(grammarAccess.getAttrClassConfigAccess().getMaxAssignment_3_1_1_2(), "rule__AttrClassConfig__MaxAssignment_3_1_1_2");
- put(grammarAccess.getAttrClassConfigAccess().getAttributesAssignment_3_1_2(), "rule__AttrClassConfig__AttributesAssignment_3_1_2");
- put(grammarAccess.getAttrInstanceConfigAccess().getAttributeAssignment_1(), "rule__AttrInstanceConfig__AttributeAssignment_1");
- put(grammarAccess.getAttrInstanceConfigAccess().getValueAssignment_2_1(), "rule__AttrInstanceConfig__ValueAssignment_2_1");
- put(grammarAccess.getAttrInstanceConfigAccess().getDynConfigAssignment_3_1_0_0(), "rule__AttrInstanceConfig__DynConfigAssignment_3_1_0_0");
- put(grammarAccess.getAttrInstanceConfigAccess().getReadOnlyAssignment_3_1_0_1_0(), "rule__AttrInstanceConfig__ReadOnlyAssignment_3_1_0_1_0");
- put(grammarAccess.getAttrInstanceConfigAccess().getAttributesAssignment_3_1_1(), "rule__AttrInstanceConfig__AttributesAssignment_3_1_1");
- put(grammarAccess.getRefPathAccess().getRefsAssignment_0(), "rule__RefPath__RefsAssignment_0");
- put(grammarAccess.getRefPathAccess().getRefsAssignment_1_1(), "rule__RefPath__RefsAssignment_1_1");
- put(grammarAccess.getImportAccess().getImportedNamespaceAssignment_1_0_0(), "rule__Import__ImportedNamespaceAssignment_1_0_0");
- put(grammarAccess.getImportAccess().getImportURIAssignment_2(), "rule__Import__ImportURIAssignment_2");
- put(grammarAccess.getLiteralArrayAccess().getLiteralsAssignment_0(), "rule__LiteralArray__LiteralsAssignment_0");
- put(grammarAccess.getLiteralArrayAccess().getLiteralsAssignment_1_1(), "rule__LiteralArray__LiteralsAssignment_1_1");
- put(grammarAccess.getBooleanLiteralAccess().getIsTrueAssignment_1_1(), "rule__BooleanLiteral__IsTrueAssignment_1_1");
- put(grammarAccess.getRealLiteralAccess().getValueAssignment_1(), "rule__RealLiteral__ValueAssignment_1");
- put(grammarAccess.getIntLiteralAccess().getValueAssignment_1(), "rule__IntLiteral__ValueAssignment_1");
- put(grammarAccess.getStringLiteralAccess().getValueAssignment_1(), "rule__StringLiteral__ValueAssignment_1");
- put(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), "rule__DynamicConfig__UnorderedGroup_2");
- put(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5(), "rule__ActorInstanceConfig__UnorderedGroup_5");
- put(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), "rule__ProtocolClassConfig__UnorderedGroup_3");
- }
- };
- }
- return nameMappings.get(element);
- }
-
- @Override
- protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) {
- try {
- org.eclipse.etrice.core.ui.contentassist.antlr.internal.InternalConfigParser typedParser = (org.eclipse.etrice.core.ui.contentassist.antlr.internal.InternalConfigParser) parser;
- typedParser.entryRuleConfigModel();
- return typedParser.getFollowElements();
- } catch(RecognitionException ex) {
- throw new RuntimeException(ex);
- }
- }
-
- @Override
- protected String[] getInitialHiddenTokens() {
- return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" };
- }
-
- public ConfigGrammarAccess getGrammarAccess() {
- return this.grammarAccess;
- }
-
- public void setGrammarAccess(ConfigGrammarAccess grammarAccess) {
- this.grammarAccess = grammarAccess;
- }
-}
+/*
+* generated by Xtext
+*/
+package org.eclipse.etrice.core.ui.contentassist.antlr;
+
+import java.util.Collection;
+import java.util.Map;
+import java.util.HashMap;
+
+import org.antlr.runtime.RecognitionException;
+import org.eclipse.xtext.AbstractElement;
+import org.eclipse.xtext.ui.editor.contentassist.antlr.AbstractContentAssistParser;
+import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement;
+import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
+
+import com.google.inject.Inject;
+
+import org.eclipse.etrice.core.services.ConfigGrammarAccess;
+
+public class ConfigParser extends AbstractContentAssistParser {
+
+ @Inject
+ private ConfigGrammarAccess grammarAccess;
+
+ private Map<AbstractElement, String> nameMappings;
+
+ @Override
+ protected org.eclipse.etrice.core.ui.contentassist.antlr.internal.InternalConfigParser createParser() {
+ org.eclipse.etrice.core.ui.contentassist.antlr.internal.InternalConfigParser result = new org.eclipse.etrice.core.ui.contentassist.antlr.internal.InternalConfigParser(null);
+ result.setGrammarAccess(grammarAccess);
+ return result;
+ }
+
+ @Override
+ protected String getRuleName(AbstractElement element) {
+ if (nameMappings == null) {
+ nameMappings = new HashMap<AbstractElement, String>() {
+ private static final long serialVersionUID = 1L;
+ {
+ put(grammarAccess.getConfigElementAccess().getAlternatives(), "rule__ConfigElement__Alternatives");
+ put(grammarAccess.getDynamicConfigAccess().getAlternatives_2_0(), "rule__DynamicConfig__Alternatives_2_0");
+ put(grammarAccess.getAttrConfigAccess().getAlternatives(), "rule__AttrConfig__Alternatives");
+ put(grammarAccess.getAttrInstanceConfigAccess().getAlternatives_3_1_0_1(), "rule__AttrInstanceConfig__Alternatives_3_1_0_1");
+ put(grammarAccess.getImportAccess().getAlternatives_1(), "rule__Import__Alternatives_1");
+ put(grammarAccess.getLiteralAccess().getAlternatives(), "rule__Literal__Alternatives");
+ put(grammarAccess.getBooleanLiteralAccess().getAlternatives_1(), "rule__BooleanLiteral__Alternatives_1");
+ put(grammarAccess.getNumberLiteralAccess().getAlternatives(), "rule__NumberLiteral__Alternatives");
+ put(grammarAccess.getIntegerAccess().getAlternatives(), "rule__Integer__Alternatives");
+ put(grammarAccess.getSignedIntegerAccess().getAlternatives_0(), "rule__SignedInteger__Alternatives_0");
+ put(grammarAccess.getRealAccess().getAlternatives(), "rule__Real__Alternatives");
+ put(grammarAccess.getDecimalAccess().getAlternatives_0(), "rule__Decimal__Alternatives_0");
+ put(grammarAccess.getDotDecimalAccess().getAlternatives_0(), "rule__DotDecimal__Alternatives_0");
+ put(grammarAccess.getDecimalDotAccess().getAlternatives_0(), "rule__DecimalDot__Alternatives_0");
+ put(grammarAccess.getDecimalExpAccess().getAlternatives_0(), "rule__DecimalExp__Alternatives_0");
+ put(grammarAccess.getConfigModelAccess().getGroup(), "rule__ConfigModel__Group__0");
+ put(grammarAccess.getSubSystemConfigAccess().getGroup(), "rule__SubSystemConfig__Group__0");
+ put(grammarAccess.getDynamicConfigAccess().getGroup(), "rule__DynamicConfig__Group__0");
+ put(grammarAccess.getDynamicConfigAccess().getGroup_2_0_0(), "rule__DynamicConfig__Group_2_0_0__0");
+ put(grammarAccess.getDynamicConfigAccess().getGroup_2_0_1(), "rule__DynamicConfig__Group_2_0_1__0");
+ put(grammarAccess.getDynamicConfigAccess().getGroup_2_0_1_0(), "rule__DynamicConfig__Group_2_0_1_0__0");
+ put(grammarAccess.getDynamicConfigAccess().getGroup_2_0_1_1(), "rule__DynamicConfig__Group_2_0_1_1__0");
+ put(grammarAccess.getDynamicConfigAccess().getGroup_2_1(), "rule__DynamicConfig__Group_2_1__0");
+ put(grammarAccess.getActorClassConfigAccess().getGroup(), "rule__ActorClassConfig__Group__0");
+ put(grammarAccess.getActorInstanceConfigAccess().getGroup(), "rule__ActorInstanceConfig__Group__0");
+ put(grammarAccess.getProtocolClassConfigAccess().getGroup(), "rule__ProtocolClassConfig__Group__0");
+ put(grammarAccess.getProtocolClassConfigAccess().getGroup_3_0(), "rule__ProtocolClassConfig__Group_3_0__0");
+ put(grammarAccess.getProtocolClassConfigAccess().getGroup_3_1(), "rule__ProtocolClassConfig__Group_3_1__0");
+ put(grammarAccess.getPortClassConfigAccess().getGroup(), "rule__PortClassConfig__Group__0");
+ put(grammarAccess.getPortInstanceConfigAccess().getGroup(), "rule__PortInstanceConfig__Group__0");
+ put(grammarAccess.getAttrClassConfigAccess().getGroup(), "rule__AttrClassConfig__Group__0");
+ put(grammarAccess.getAttrClassConfigAccess().getGroup_2(), "rule__AttrClassConfig__Group_2__0");
+ put(grammarAccess.getAttrClassConfigAccess().getGroup_3(), "rule__AttrClassConfig__Group_3__0");
+ put(grammarAccess.getAttrClassConfigAccess().getGroup_3_1(), "rule__AttrClassConfig__Group_3_1__0");
+ put(grammarAccess.getAttrClassConfigAccess().getGroup_3_1_0(), "rule__AttrClassConfig__Group_3_1_0__0");
+ put(grammarAccess.getAttrClassConfigAccess().getGroup_3_1_1(), "rule__AttrClassConfig__Group_3_1_1__0");
+ put(grammarAccess.getAttrInstanceConfigAccess().getGroup(), "rule__AttrInstanceConfig__Group__0");
+ put(grammarAccess.getAttrInstanceConfigAccess().getGroup_2(), "rule__AttrInstanceConfig__Group_2__0");
+ put(grammarAccess.getAttrInstanceConfigAccess().getGroup_3(), "rule__AttrInstanceConfig__Group_3__0");
+ put(grammarAccess.getAttrInstanceConfigAccess().getGroup_3_1(), "rule__AttrInstanceConfig__Group_3_1__0");
+ put(grammarAccess.getAttrInstanceConfigAccess().getGroup_3_1_0(), "rule__AttrInstanceConfig__Group_3_1_0__0");
+ put(grammarAccess.getRefPathAccess().getGroup(), "rule__RefPath__Group__0");
+ put(grammarAccess.getRefPathAccess().getGroup_1(), "rule__RefPath__Group_1__0");
+ put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0");
+ put(grammarAccess.getImportAccess().getGroup_1_0(), "rule__Import__Group_1_0__0");
+ put(grammarAccess.getImportedFQNAccess().getGroup(), "rule__ImportedFQN__Group__0");
+ put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0");
+ put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0");
+ put(grammarAccess.getLiteralArrayAccess().getGroup(), "rule__LiteralArray__Group__0");
+ put(grammarAccess.getLiteralArrayAccess().getGroup_1(), "rule__LiteralArray__Group_1__0");
+ put(grammarAccess.getBooleanLiteralAccess().getGroup(), "rule__BooleanLiteral__Group__0");
+ put(grammarAccess.getRealLiteralAccess().getGroup(), "rule__RealLiteral__Group__0");
+ put(grammarAccess.getIntLiteralAccess().getGroup(), "rule__IntLiteral__Group__0");
+ put(grammarAccess.getStringLiteralAccess().getGroup(), "rule__StringLiteral__Group__0");
+ put(grammarAccess.getSignedIntegerAccess().getGroup(), "rule__SignedInteger__Group__0");
+ put(grammarAccess.getDecimalAccess().getGroup(), "rule__Decimal__Group__0");
+ put(grammarAccess.getDotDecimalAccess().getGroup(), "rule__DotDecimal__Group__0");
+ put(grammarAccess.getDecimalDotAccess().getGroup(), "rule__DecimalDot__Group__0");
+ put(grammarAccess.getDecimalExpAccess().getGroup(), "rule__DecimalExp__Group__0");
+ put(grammarAccess.getConfigModelAccess().getImportsAssignment_0(), "rule__ConfigModel__ImportsAssignment_0");
+ put(grammarAccess.getConfigModelAccess().getConfigElementsAssignment_1(), "rule__ConfigModel__ConfigElementsAssignment_1");
+ put(grammarAccess.getSubSystemConfigAccess().getSubSystemAssignment_1(), "rule__SubSystemConfig__SubSystemAssignment_1");
+ put(grammarAccess.getSubSystemConfigAccess().getDynConfigAssignment_3(), "rule__SubSystemConfig__DynConfigAssignment_3");
+ put(grammarAccess.getDynamicConfigAccess().getFilePathAssignment_2_0_0_1(), "rule__DynamicConfig__FilePathAssignment_2_0_0_1");
+ put(grammarAccess.getDynamicConfigAccess().getUserCode1Assignment_2_0_1_0_1(), "rule__DynamicConfig__UserCode1Assignment_2_0_1_0_1");
+ put(grammarAccess.getDynamicConfigAccess().getUserCode2Assignment_2_0_1_1_1(), "rule__DynamicConfig__UserCode2Assignment_2_0_1_1_1");
+ put(grammarAccess.getDynamicConfigAccess().getPollingAssignment_2_1_1(), "rule__DynamicConfig__PollingAssignment_2_1_1");
+ put(grammarAccess.getActorClassConfigAccess().getActorAssignment_1(), "rule__ActorClassConfig__ActorAssignment_1");
+ put(grammarAccess.getActorClassConfigAccess().getAttributesAssignment_3(), "rule__ActorClassConfig__AttributesAssignment_3");
+ put(grammarAccess.getActorInstanceConfigAccess().getRootAssignment_1(), "rule__ActorInstanceConfig__RootAssignment_1");
+ put(grammarAccess.getActorInstanceConfigAccess().getPathAssignment_3(), "rule__ActorInstanceConfig__PathAssignment_3");
+ put(grammarAccess.getActorInstanceConfigAccess().getAttributesAssignment_5_0(), "rule__ActorInstanceConfig__AttributesAssignment_5_0");
+ put(grammarAccess.getActorInstanceConfigAccess().getPortsAssignment_5_1(), "rule__ActorInstanceConfig__PortsAssignment_5_1");
+ put(grammarAccess.getProtocolClassConfigAccess().getProtocolAssignment_1(), "rule__ProtocolClassConfig__ProtocolAssignment_1");
+ put(grammarAccess.getProtocolClassConfigAccess().getRegularAssignment_3_0_1(), "rule__ProtocolClassConfig__RegularAssignment_3_0_1");
+ put(grammarAccess.getProtocolClassConfigAccess().getConjugatedAssignment_3_1_1(), "rule__ProtocolClassConfig__ConjugatedAssignment_3_1_1");
+ put(grammarAccess.getPortClassConfigAccess().getAttributesAssignment_3(), "rule__PortClassConfig__AttributesAssignment_3");
+ put(grammarAccess.getPortInstanceConfigAccess().getItemAssignment_1(), "rule__PortInstanceConfig__ItemAssignment_1");
+ put(grammarAccess.getPortInstanceConfigAccess().getAttributesAssignment_3(), "rule__PortInstanceConfig__AttributesAssignment_3");
+ put(grammarAccess.getAttrClassConfigAccess().getAttributeAssignment_1(), "rule__AttrClassConfig__AttributeAssignment_1");
+ put(grammarAccess.getAttrClassConfigAccess().getValueAssignment_2_1(), "rule__AttrClassConfig__ValueAssignment_2_1");
+ put(grammarAccess.getAttrClassConfigAccess().getMinAssignment_3_1_0_2(), "rule__AttrClassConfig__MinAssignment_3_1_0_2");
+ put(grammarAccess.getAttrClassConfigAccess().getMaxAssignment_3_1_1_2(), "rule__AttrClassConfig__MaxAssignment_3_1_1_2");
+ put(grammarAccess.getAttrClassConfigAccess().getAttributesAssignment_3_1_2(), "rule__AttrClassConfig__AttributesAssignment_3_1_2");
+ put(grammarAccess.getAttrInstanceConfigAccess().getAttributeAssignment_1(), "rule__AttrInstanceConfig__AttributeAssignment_1");
+ put(grammarAccess.getAttrInstanceConfigAccess().getValueAssignment_2_1(), "rule__AttrInstanceConfig__ValueAssignment_2_1");
+ put(grammarAccess.getAttrInstanceConfigAccess().getDynConfigAssignment_3_1_0_0(), "rule__AttrInstanceConfig__DynConfigAssignment_3_1_0_0");
+ put(grammarAccess.getAttrInstanceConfigAccess().getReadOnlyAssignment_3_1_0_1_0(), "rule__AttrInstanceConfig__ReadOnlyAssignment_3_1_0_1_0");
+ put(grammarAccess.getAttrInstanceConfigAccess().getAttributesAssignment_3_1_1(), "rule__AttrInstanceConfig__AttributesAssignment_3_1_1");
+ put(grammarAccess.getRefPathAccess().getRefsAssignment_0(), "rule__RefPath__RefsAssignment_0");
+ put(grammarAccess.getRefPathAccess().getRefsAssignment_1_1(), "rule__RefPath__RefsAssignment_1_1");
+ put(grammarAccess.getImportAccess().getImportedNamespaceAssignment_1_0_0(), "rule__Import__ImportedNamespaceAssignment_1_0_0");
+ put(grammarAccess.getImportAccess().getImportURIAssignment_2(), "rule__Import__ImportURIAssignment_2");
+ put(grammarAccess.getLiteralArrayAccess().getLiteralsAssignment_0(), "rule__LiteralArray__LiteralsAssignment_0");
+ put(grammarAccess.getLiteralArrayAccess().getLiteralsAssignment_1_1(), "rule__LiteralArray__LiteralsAssignment_1_1");
+ put(grammarAccess.getBooleanLiteralAccess().getIsTrueAssignment_1_1(), "rule__BooleanLiteral__IsTrueAssignment_1_1");
+ put(grammarAccess.getRealLiteralAccess().getValueAssignment_1(), "rule__RealLiteral__ValueAssignment_1");
+ put(grammarAccess.getIntLiteralAccess().getValueAssignment_1(), "rule__IntLiteral__ValueAssignment_1");
+ put(grammarAccess.getStringLiteralAccess().getValueAssignment_1(), "rule__StringLiteral__ValueAssignment_1");
+ put(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), "rule__DynamicConfig__UnorderedGroup_2");
+ put(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5(), "rule__ActorInstanceConfig__UnorderedGroup_5");
+ put(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), "rule__ProtocolClassConfig__UnorderedGroup_3");
+ }
+ };
+ }
+ return nameMappings.get(element);
+ }
+
+ @Override
+ protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) {
+ try {
+ org.eclipse.etrice.core.ui.contentassist.antlr.internal.InternalConfigParser typedParser = (org.eclipse.etrice.core.ui.contentassist.antlr.internal.InternalConfigParser) parser;
+ typedParser.entryRuleConfigModel();
+ return typedParser.getFollowElements();
+ } catch(RecognitionException ex) {
+ throw new RuntimeException(ex);
+ }
+ }
+
+ @Override
+ protected String[] getInitialHiddenTokens() {
+ return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" };
+ }
+
+ public ConfigGrammarAccess getGrammarAccess() {
+ return this.grammarAccess;
+ }
+
+ public void setGrammarAccess(ConfigGrammarAccess grammarAccess) {
+ this.grammarAccess = grammarAccess;
+ }
+}
diff --git a/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/PartialConfigContentAssistParser.java b/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/PartialConfigContentAssistParser.java
index 4d2604f3e..b2028b9f2 100644
--- a/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/PartialConfigContentAssistParser.java
+++ b/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/PartialConfigContentAssistParser.java
@@ -1,37 +1,37 @@
-/*
- * generated by Xtext
- */
-package org.eclipse.etrice.core.ui.contentassist.antlr;
-
-import java.util.Collection;
-import java.util.Collections;
-
-import org.eclipse.xtext.AbstractRule;
-import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialContentAssistParser;
-import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement;
-import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
-import org.eclipse.xtext.util.PolymorphicDispatcher;
-
-/**
- * @author Sebastian Zarnekow - Initial contribution and API
- */
-public class PartialConfigContentAssistParser extends ConfigParser implements IPartialContentAssistParser {
-
- private AbstractRule rule;
-
- public void initializeFor(AbstractRule rule) {
- this.rule = rule;
- }
-
- @Override
- protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) {
- if (rule == null || rule.eIsProxy())
- return Collections.emptyList();
- String methodName = "entryRule" + rule.getName();
- PolymorphicDispatcher<Collection<FollowElement>> dispatcher =
- new PolymorphicDispatcher<Collection<FollowElement>>(methodName, 0, 0, Collections.singletonList(parser));
- dispatcher.invoke();
- return parser.getFollowElements();
- }
-
-}
+/*
+ * generated by Xtext
+ */
+package org.eclipse.etrice.core.ui.contentassist.antlr;
+
+import java.util.Collection;
+import java.util.Collections;
+
+import org.eclipse.xtext.AbstractRule;
+import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialContentAssistParser;
+import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement;
+import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
+import org.eclipse.xtext.util.PolymorphicDispatcher;
+
+/**
+ * @author Sebastian Zarnekow - Initial contribution and API
+ */
+public class PartialConfigContentAssistParser extends ConfigParser implements IPartialContentAssistParser {
+
+ private AbstractRule rule;
+
+ public void initializeFor(AbstractRule rule) {
+ this.rule = rule;
+ }
+
+ @Override
+ protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) {
+ if (rule == null || rule.eIsProxy())
+ return Collections.emptyList();
+ String methodName = "entryRule" + rule.getName();
+ PolymorphicDispatcher<Collection<FollowElement>> dispatcher =
+ new PolymorphicDispatcher<Collection<FollowElement>>(methodName, 0, 0, Collections.singletonList(parser));
+ dispatcher.invoke();
+ return parser.getFollowElements();
+ }
+
+}
diff --git a/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfig.g b/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfig.g
index 5d0a419d7..611ec59e3 100644
--- a/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfig.g
+++ b/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfig.g
@@ -1,6291 +1,6291 @@
-/*
-* generated by Xtext
-*/
-grammar InternalConfig;
-
-options {
- superClass=AbstractInternalContentAssistParser;
-
-}
-
-@lexer::header {
-package org.eclipse.etrice.core.ui.contentassist.antlr.internal;
-
-// Hack: Use our own Lexer superclass by means of import.
-// Currently there is no other way to specify the superclass for the lexer.
-import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer;
-}
-
-@parser::header {
-package org.eclipse.etrice.core.ui.contentassist.antlr.internal;
-
-import java.io.InputStream;
-import org.eclipse.xtext.*;
-import org.eclipse.xtext.parser.*;
-import org.eclipse.xtext.parser.impl.*;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.xtext.parser.antlr.XtextTokenStream;
-import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
-import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
-import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA;
-import org.eclipse.etrice.core.services.ConfigGrammarAccess;
-
-}
-
-@parser::members {
-
- private ConfigGrammarAccess grammarAccess;
-
- public void setGrammarAccess(ConfigGrammarAccess grammarAccess) {
- this.grammarAccess = grammarAccess;
- }
-
- @Override
- protected Grammar getGrammar() {
- return grammarAccess.getGrammar();
- }
-
- @Override
- protected String getValueForTokenName(String tokenName) {
- return tokenName;
- }
-
-}
-
-
-
-
-// Entry rule entryRuleConfigModel
-entryRuleConfigModel
-:
-{ before(grammarAccess.getConfigModelRule()); }
- ruleConfigModel
-{ after(grammarAccess.getConfigModelRule()); }
- EOF
-;
-
-// Rule ConfigModel
-ruleConfigModel
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getConfigModelAccess().getGroup()); }
-(rule__ConfigModel__Group__0)
-{ after(grammarAccess.getConfigModelAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleConfigElement
-entryRuleConfigElement
-:
-{ before(grammarAccess.getConfigElementRule()); }
- ruleConfigElement
-{ after(grammarAccess.getConfigElementRule()); }
- EOF
-;
-
-// Rule ConfigElement
-ruleConfigElement
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getConfigElementAccess().getAlternatives()); }
-(rule__ConfigElement__Alternatives)
-{ after(grammarAccess.getConfigElementAccess().getAlternatives()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleSubSystemConfig
-entryRuleSubSystemConfig
-:
-{ before(grammarAccess.getSubSystemConfigRule()); }
- ruleSubSystemConfig
-{ after(grammarAccess.getSubSystemConfigRule()); }
- EOF
-;
-
-// Rule SubSystemConfig
-ruleSubSystemConfig
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getSubSystemConfigAccess().getGroup()); }
-(rule__SubSystemConfig__Group__0)
-{ after(grammarAccess.getSubSystemConfigAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleDynamicConfig
-entryRuleDynamicConfig
-:
-{ before(grammarAccess.getDynamicConfigRule()); }
- ruleDynamicConfig
-{ after(grammarAccess.getDynamicConfigRule()); }
- EOF
-;
-
-// Rule DynamicConfig
-ruleDynamicConfig
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getDynamicConfigAccess().getGroup()); }
-(rule__DynamicConfig__Group__0)
-{ after(grammarAccess.getDynamicConfigAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleActorClassConfig
-entryRuleActorClassConfig
-:
-{ before(grammarAccess.getActorClassConfigRule()); }
- ruleActorClassConfig
-{ after(grammarAccess.getActorClassConfigRule()); }
- EOF
-;
-
-// Rule ActorClassConfig
-ruleActorClassConfig
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getActorClassConfigAccess().getGroup()); }
-(rule__ActorClassConfig__Group__0)
-{ after(grammarAccess.getActorClassConfigAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleActorInstanceConfig
-entryRuleActorInstanceConfig
-:
-{ before(grammarAccess.getActorInstanceConfigRule()); }
- ruleActorInstanceConfig
-{ after(grammarAccess.getActorInstanceConfigRule()); }
- EOF
-;
-
-// Rule ActorInstanceConfig
-ruleActorInstanceConfig
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getActorInstanceConfigAccess().getGroup()); }
-(rule__ActorInstanceConfig__Group__0)
-{ after(grammarAccess.getActorInstanceConfigAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleProtocolClassConfig
-entryRuleProtocolClassConfig
-:
-{ before(grammarAccess.getProtocolClassConfigRule()); }
- ruleProtocolClassConfig
-{ after(grammarAccess.getProtocolClassConfigRule()); }
- EOF
-;
-
-// Rule ProtocolClassConfig
-ruleProtocolClassConfig
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getProtocolClassConfigAccess().getGroup()); }
-(rule__ProtocolClassConfig__Group__0)
-{ after(grammarAccess.getProtocolClassConfigAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRulePortClassConfig
-entryRulePortClassConfig
-:
-{ before(grammarAccess.getPortClassConfigRule()); }
- rulePortClassConfig
-{ after(grammarAccess.getPortClassConfigRule()); }
- EOF
-;
-
-// Rule PortClassConfig
-rulePortClassConfig
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getPortClassConfigAccess().getGroup()); }
-(rule__PortClassConfig__Group__0)
-{ after(grammarAccess.getPortClassConfigAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRulePortInstanceConfig
-entryRulePortInstanceConfig
-:
-{ before(grammarAccess.getPortInstanceConfigRule()); }
- rulePortInstanceConfig
-{ after(grammarAccess.getPortInstanceConfigRule()); }
- EOF
-;
-
-// Rule PortInstanceConfig
-rulePortInstanceConfig
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getPortInstanceConfigAccess().getGroup()); }
-(rule__PortInstanceConfig__Group__0)
-{ after(grammarAccess.getPortInstanceConfigAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-// Entry rule entryRuleAttrClassConfig
-entryRuleAttrClassConfig
-:
-{ before(grammarAccess.getAttrClassConfigRule()); }
- ruleAttrClassConfig
-{ after(grammarAccess.getAttrClassConfigRule()); }
- EOF
-;
-
-// Rule AttrClassConfig
-ruleAttrClassConfig
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getGroup()); }
-(rule__AttrClassConfig__Group__0)
-{ after(grammarAccess.getAttrClassConfigAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleAttrInstanceConfig
-entryRuleAttrInstanceConfig
-:
-{ before(grammarAccess.getAttrInstanceConfigRule()); }
- ruleAttrInstanceConfig
-{ after(grammarAccess.getAttrInstanceConfigRule()); }
- EOF
-;
-
-// Rule AttrInstanceConfig
-ruleAttrInstanceConfig
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getGroup()); }
-(rule__AttrInstanceConfig__Group__0)
-{ after(grammarAccess.getAttrInstanceConfigAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleRefPath
-entryRuleRefPath
-:
-{ before(grammarAccess.getRefPathRule()); }
- ruleRefPath
-{ after(grammarAccess.getRefPathRule()); }
- EOF
-;
-
-// Rule RefPath
-ruleRefPath
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getRefPathAccess().getGroup()); }
-(rule__RefPath__Group__0)
-{ after(grammarAccess.getRefPathAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleImport
-entryRuleImport
-:
-{ before(grammarAccess.getImportRule()); }
- ruleImport
-{ after(grammarAccess.getImportRule()); }
- EOF
-;
-
-// Rule Import
-ruleImport
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getImportAccess().getGroup()); }
-(rule__Import__Group__0)
-{ after(grammarAccess.getImportAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleImportedFQN
-entryRuleImportedFQN
-:
-{ before(grammarAccess.getImportedFQNRule()); }
- ruleImportedFQN
-{ after(grammarAccess.getImportedFQNRule()); }
- EOF
-;
-
-// Rule ImportedFQN
-ruleImportedFQN
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getImportedFQNAccess().getGroup()); }
-(rule__ImportedFQN__Group__0)
-{ after(grammarAccess.getImportedFQNAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleFQN
-entryRuleFQN
-:
-{ before(grammarAccess.getFQNRule()); }
- ruleFQN
-{ after(grammarAccess.getFQNRule()); }
- EOF
-;
-
-// Rule FQN
-ruleFQN
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getFQNAccess().getGroup()); }
-(rule__FQN__Group__0)
-{ after(grammarAccess.getFQNAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleLiteralArray
-entryRuleLiteralArray
-:
-{ before(grammarAccess.getLiteralArrayRule()); }
- ruleLiteralArray
-{ after(grammarAccess.getLiteralArrayRule()); }
- EOF
-;
-
-// Rule LiteralArray
-ruleLiteralArray
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getLiteralArrayAccess().getGroup()); }
-(rule__LiteralArray__Group__0)
-{ after(grammarAccess.getLiteralArrayAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleLiteral
-entryRuleLiteral
-:
-{ before(grammarAccess.getLiteralRule()); }
- ruleLiteral
-{ after(grammarAccess.getLiteralRule()); }
- EOF
-;
-
-// Rule Literal
-ruleLiteral
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getLiteralAccess().getAlternatives()); }
-(rule__Literal__Alternatives)
-{ after(grammarAccess.getLiteralAccess().getAlternatives()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleBooleanLiteral
-entryRuleBooleanLiteral
-:
-{ before(grammarAccess.getBooleanLiteralRule()); }
- ruleBooleanLiteral
-{ after(grammarAccess.getBooleanLiteralRule()); }
- EOF
-;
-
-// Rule BooleanLiteral
-ruleBooleanLiteral
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getBooleanLiteralAccess().getGroup()); }
-(rule__BooleanLiteral__Group__0)
-{ after(grammarAccess.getBooleanLiteralAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleNumberLiteral
-entryRuleNumberLiteral
-:
-{ before(grammarAccess.getNumberLiteralRule()); }
- ruleNumberLiteral
-{ after(grammarAccess.getNumberLiteralRule()); }
- EOF
-;
-
-// Rule NumberLiteral
-ruleNumberLiteral
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getNumberLiteralAccess().getAlternatives()); }
-(rule__NumberLiteral__Alternatives)
-{ after(grammarAccess.getNumberLiteralAccess().getAlternatives()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleRealLiteral
-entryRuleRealLiteral
-:
-{ before(grammarAccess.getRealLiteralRule()); }
- ruleRealLiteral
-{ after(grammarAccess.getRealLiteralRule()); }
- EOF
-;
-
-// Rule RealLiteral
-ruleRealLiteral
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getRealLiteralAccess().getGroup()); }
-(rule__RealLiteral__Group__0)
-{ after(grammarAccess.getRealLiteralAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleIntLiteral
-entryRuleIntLiteral
-:
-{ before(grammarAccess.getIntLiteralRule()); }
- ruleIntLiteral
-{ after(grammarAccess.getIntLiteralRule()); }
- EOF
-;
-
-// Rule IntLiteral
-ruleIntLiteral
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getIntLiteralAccess().getGroup()); }
-(rule__IntLiteral__Group__0)
-{ after(grammarAccess.getIntLiteralAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleStringLiteral
-entryRuleStringLiteral
-:
-{ before(grammarAccess.getStringLiteralRule()); }
- ruleStringLiteral
-{ after(grammarAccess.getStringLiteralRule()); }
- EOF
-;
-
-// Rule StringLiteral
-ruleStringLiteral
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getStringLiteralAccess().getGroup()); }
-(rule__StringLiteral__Group__0)
-{ after(grammarAccess.getStringLiteralAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleInteger
-entryRuleInteger
-:
-{ before(grammarAccess.getIntegerRule()); }
- ruleInteger
-{ after(grammarAccess.getIntegerRule()); }
- EOF
-;
-
-// Rule Integer
-ruleInteger
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getIntegerAccess().getAlternatives()); }
-(rule__Integer__Alternatives)
-{ after(grammarAccess.getIntegerAccess().getAlternatives()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleSignedInteger
-entryRuleSignedInteger
-@init {
- HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
-}
-:
-{ before(grammarAccess.getSignedIntegerRule()); }
- ruleSignedInteger
-{ after(grammarAccess.getSignedIntegerRule()); }
- EOF
-;
-finally {
- myHiddenTokenState.restore();
-}
-
-// Rule SignedInteger
-ruleSignedInteger
- @init {
- HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getSignedIntegerAccess().getGroup()); }
-(rule__SignedInteger__Group__0)
-{ after(grammarAccess.getSignedIntegerAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
- myHiddenTokenState.restore();
-}
-
-
-
-// Entry rule entryRuleHexadecimal
-entryRuleHexadecimal
-@init {
- HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
-}
-:
-{ before(grammarAccess.getHexadecimalRule()); }
- ruleHexadecimal
-{ after(grammarAccess.getHexadecimalRule()); }
- EOF
-;
-finally {
- myHiddenTokenState.restore();
-}
-
-// Rule Hexadecimal
-ruleHexadecimal
- @init {
- HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getHexadecimalAccess().getHEXTerminalRuleCall()); }
- RULE_HEX
-{ after(grammarAccess.getHexadecimalAccess().getHEXTerminalRuleCall()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
- myHiddenTokenState.restore();
-}
-
-
-
-// Entry rule entryRuleReal
-entryRuleReal
-:
-{ before(grammarAccess.getRealRule()); }
- ruleReal
-{ after(grammarAccess.getRealRule()); }
- EOF
-;
-
-// Rule Real
-ruleReal
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getRealAccess().getAlternatives()); }
-(rule__Real__Alternatives)
-{ after(grammarAccess.getRealAccess().getAlternatives()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleDecimal
-entryRuleDecimal
-@init {
- HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
-}
-:
-{ before(grammarAccess.getDecimalRule()); }
- ruleDecimal
-{ after(grammarAccess.getDecimalRule()); }
- EOF
-;
-finally {
- myHiddenTokenState.restore();
-}
-
-// Rule Decimal
-ruleDecimal
- @init {
- HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getDecimalAccess().getGroup()); }
-(rule__Decimal__Group__0)
-{ after(grammarAccess.getDecimalAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
- myHiddenTokenState.restore();
-}
-
-
-
-// Entry rule entryRuleDotDecimal
-entryRuleDotDecimal
-@init {
- HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
-}
-:
-{ before(grammarAccess.getDotDecimalRule()); }
- ruleDotDecimal
-{ after(grammarAccess.getDotDecimalRule()); }
- EOF
-;
-finally {
- myHiddenTokenState.restore();
-}
-
-// Rule DotDecimal
-ruleDotDecimal
- @init {
- HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getDotDecimalAccess().getGroup()); }
-(rule__DotDecimal__Group__0)
-{ after(grammarAccess.getDotDecimalAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
- myHiddenTokenState.restore();
-}
-
-
-
-// Entry rule entryRuleDecimalDot
-entryRuleDecimalDot
-@init {
- HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
-}
-:
-{ before(grammarAccess.getDecimalDotRule()); }
- ruleDecimalDot
-{ after(grammarAccess.getDecimalDotRule()); }
- EOF
-;
-finally {
- myHiddenTokenState.restore();
-}
-
-// Rule DecimalDot
-ruleDecimalDot
- @init {
- HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getDecimalDotAccess().getGroup()); }
-(rule__DecimalDot__Group__0)
-{ after(grammarAccess.getDecimalDotAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
- myHiddenTokenState.restore();
-}
-
-
-
-// Entry rule entryRuleDecimalExp
-entryRuleDecimalExp
-@init {
- HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
-}
-:
-{ before(grammarAccess.getDecimalExpRule()); }
- ruleDecimalExp
-{ after(grammarAccess.getDecimalExpRule()); }
- EOF
-;
-finally {
- myHiddenTokenState.restore();
-}
-
-// Rule DecimalExp
-ruleDecimalExp
- @init {
- HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getDecimalExpAccess().getGroup()); }
-(rule__DecimalExp__Group__0)
-{ after(grammarAccess.getDecimalExpAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
- myHiddenTokenState.restore();
-}
-
-
-
-
-rule__ConfigElement__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getConfigElementAccess().getSubSystemConfigParserRuleCall_0()); }
- ruleSubSystemConfig
-{ after(grammarAccess.getConfigElementAccess().getSubSystemConfigParserRuleCall_0()); }
-)
-
- |(
-{ before(grammarAccess.getConfigElementAccess().getActorClassConfigParserRuleCall_1()); }
- ruleActorClassConfig
-{ after(grammarAccess.getConfigElementAccess().getActorClassConfigParserRuleCall_1()); }
-)
-
- |(
-{ before(grammarAccess.getConfigElementAccess().getActorInstanceConfigParserRuleCall_2()); }
- ruleActorInstanceConfig
-{ after(grammarAccess.getConfigElementAccess().getActorInstanceConfigParserRuleCall_2()); }
-)
-
- |(
-{ before(grammarAccess.getConfigElementAccess().getProtocolClassConfigParserRuleCall_3()); }
- ruleProtocolClassConfig
-{ after(grammarAccess.getConfigElementAccess().getProtocolClassConfigParserRuleCall_3()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DynamicConfig__Alternatives_2_0
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDynamicConfigAccess().getGroup_2_0_0()); }
-(rule__DynamicConfig__Group_2_0_0__0)
-{ after(grammarAccess.getDynamicConfigAccess().getGroup_2_0_0()); }
-)
-
- |(
-{ before(grammarAccess.getDynamicConfigAccess().getGroup_2_0_1()); }
-(rule__DynamicConfig__Group_2_0_1__0)
-{ after(grammarAccess.getDynamicConfigAccess().getGroup_2_0_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AttrInstanceConfig__Alternatives_3_1_0_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getReadOnlyAssignment_3_1_0_1_0()); }
-(rule__AttrInstanceConfig__ReadOnlyAssignment_3_1_0_1_0)
-{ after(grammarAccess.getAttrInstanceConfigAccess().getReadOnlyAssignment_3_1_0_1_0()); }
-)
-
- |(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getWriteKeyword_3_1_0_1_1()); }
-
- 'write'
-
-{ after(grammarAccess.getAttrInstanceConfigAccess().getWriteKeyword_3_1_0_1_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Import__Alternatives_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getImportAccess().getGroup_1_0()); }
-(rule__Import__Group_1_0__0)
-{ after(grammarAccess.getImportAccess().getGroup_1_0()); }
-)
-
- |(
-{ before(grammarAccess.getImportAccess().getModelKeyword_1_1()); }
-
- 'model'
-
-{ after(grammarAccess.getImportAccess().getModelKeyword_1_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Literal__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getLiteralAccess().getBooleanLiteralParserRuleCall_0()); }
- ruleBooleanLiteral
-{ after(grammarAccess.getLiteralAccess().getBooleanLiteralParserRuleCall_0()); }
-)
-
- |(
-{ before(grammarAccess.getLiteralAccess().getNumberLiteralParserRuleCall_1()); }
- ruleNumberLiteral
-{ after(grammarAccess.getLiteralAccess().getNumberLiteralParserRuleCall_1()); }
-)
-
- |(
-{ before(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_2()); }
- ruleStringLiteral
-{ after(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BooleanLiteral__Alternatives_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0()); }
-
- 'false'
-
-{ after(grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0()); }
-)
-
- |(
-{ before(grammarAccess.getBooleanLiteralAccess().getIsTrueAssignment_1_1()); }
-(rule__BooleanLiteral__IsTrueAssignment_1_1)
-{ after(grammarAccess.getBooleanLiteralAccess().getIsTrueAssignment_1_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__NumberLiteral__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getNumberLiteralAccess().getIntLiteralParserRuleCall_0()); }
- ruleIntLiteral
-{ after(grammarAccess.getNumberLiteralAccess().getIntLiteralParserRuleCall_0()); }
-)
-
- |(
-{ before(grammarAccess.getNumberLiteralAccess().getRealLiteralParserRuleCall_1()); }
- ruleRealLiteral
-{ after(grammarAccess.getNumberLiteralAccess().getRealLiteralParserRuleCall_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Integer__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getIntegerAccess().getSignedIntegerParserRuleCall_0()); }
- ruleSignedInteger
-{ after(grammarAccess.getIntegerAccess().getSignedIntegerParserRuleCall_0()); }
-)
-
- |(
-{ before(grammarAccess.getIntegerAccess().getHexadecimalParserRuleCall_1()); }
- ruleHexadecimal
-{ after(grammarAccess.getIntegerAccess().getHexadecimalParserRuleCall_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__SignedInteger__Alternatives_0
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getSignedIntegerAccess().getPlusSignKeyword_0_0()); }
-
- '+'
-
-{ after(grammarAccess.getSignedIntegerAccess().getPlusSignKeyword_0_0()); }
-)
-
- |(
-{ before(grammarAccess.getSignedIntegerAccess().getHyphenMinusKeyword_0_1()); }
-
- '-'
-
-{ after(grammarAccess.getSignedIntegerAccess().getHyphenMinusKeyword_0_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Real__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getRealAccess().getDecimalParserRuleCall_0()); }
- ruleDecimal
-{ after(grammarAccess.getRealAccess().getDecimalParserRuleCall_0()); }
-)
-
- |(
-{ before(grammarAccess.getRealAccess().getDotDecimalParserRuleCall_1()); }
- ruleDotDecimal
-{ after(grammarAccess.getRealAccess().getDotDecimalParserRuleCall_1()); }
-)
-
- |(
-{ before(grammarAccess.getRealAccess().getDecimalDotParserRuleCall_2()); }
- ruleDecimalDot
-{ after(grammarAccess.getRealAccess().getDecimalDotParserRuleCall_2()); }
-)
-
- |(
-{ before(grammarAccess.getRealAccess().getDecimalExpParserRuleCall_3()); }
- ruleDecimalExp
-{ after(grammarAccess.getRealAccess().getDecimalExpParserRuleCall_3()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Decimal__Alternatives_0
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDecimalAccess().getPlusSignKeyword_0_0()); }
-
- '+'
-
-{ after(grammarAccess.getDecimalAccess().getPlusSignKeyword_0_0()); }
-)
-
- |(
-{ before(grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1()); }
-
- '-'
-
-{ after(grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DotDecimal__Alternatives_0
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDotDecimalAccess().getPlusSignKeyword_0_0()); }
-
- '+'
-
-{ after(grammarAccess.getDotDecimalAccess().getPlusSignKeyword_0_0()); }
-)
-
- |(
-{ before(grammarAccess.getDotDecimalAccess().getHyphenMinusKeyword_0_1()); }
-
- '-'
-
-{ after(grammarAccess.getDotDecimalAccess().getHyphenMinusKeyword_0_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DecimalDot__Alternatives_0
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDecimalDotAccess().getPlusSignKeyword_0_0()); }
-
- '+'
-
-{ after(grammarAccess.getDecimalDotAccess().getPlusSignKeyword_0_0()); }
-)
-
- |(
-{ before(grammarAccess.getDecimalDotAccess().getHyphenMinusKeyword_0_1()); }
-
- '-'
-
-{ after(grammarAccess.getDecimalDotAccess().getHyphenMinusKeyword_0_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DecimalExp__Alternatives_0
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDecimalExpAccess().getPlusSignKeyword_0_0()); }
-
- '+'
-
-{ after(grammarAccess.getDecimalExpAccess().getPlusSignKeyword_0_0()); }
-)
-
- |(
-{ before(grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1()); }
-
- '-'
-
-{ after(grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-rule__ConfigModel__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ConfigModel__Group__0__Impl
- rule__ConfigModel__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ConfigModel__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getConfigModelAccess().getImportsAssignment_0()); }
-(rule__ConfigModel__ImportsAssignment_0)*
-{ after(grammarAccess.getConfigModelAccess().getImportsAssignment_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ConfigModel__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ConfigModel__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ConfigModel__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getConfigModelAccess().getConfigElementsAssignment_1()); }
-(rule__ConfigModel__ConfigElementsAssignment_1)*
-{ after(grammarAccess.getConfigModelAccess().getConfigElementsAssignment_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__SubSystemConfig__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__SubSystemConfig__Group__0__Impl
- rule__SubSystemConfig__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__SubSystemConfig__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getSubSystemConfigAccess().getSubSystemConfigKeyword_0()); }
-
- 'SubSystemConfig'
-
-{ after(grammarAccess.getSubSystemConfigAccess().getSubSystemConfigKeyword_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__SubSystemConfig__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__SubSystemConfig__Group__1__Impl
- rule__SubSystemConfig__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__SubSystemConfig__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getSubSystemConfigAccess().getSubSystemAssignment_1()); }
-(rule__SubSystemConfig__SubSystemAssignment_1)
-{ after(grammarAccess.getSubSystemConfigAccess().getSubSystemAssignment_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__SubSystemConfig__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__SubSystemConfig__Group__2__Impl
- rule__SubSystemConfig__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__SubSystemConfig__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getSubSystemConfigAccess().getLeftCurlyBracketKeyword_2()); }
-
- '{'
-
-{ after(grammarAccess.getSubSystemConfigAccess().getLeftCurlyBracketKeyword_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__SubSystemConfig__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__SubSystemConfig__Group__3__Impl
- rule__SubSystemConfig__Group__4
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__SubSystemConfig__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getSubSystemConfigAccess().getDynConfigAssignment_3()); }
-(rule__SubSystemConfig__DynConfigAssignment_3)
-{ after(grammarAccess.getSubSystemConfigAccess().getDynConfigAssignment_3()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__SubSystemConfig__Group__4
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__SubSystemConfig__Group__4__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__SubSystemConfig__Group__4__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getSubSystemConfigAccess().getRightCurlyBracketKeyword_4()); }
-
- '}'
-
-{ after(grammarAccess.getSubSystemConfigAccess().getRightCurlyBracketKeyword_4()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-
-
-
-
-rule__DynamicConfig__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DynamicConfig__Group__0__Impl
- rule__DynamicConfig__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DynamicConfig__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDynamicConfigAccess().getDynamicConfigurationKeyword_0()); }
-
- 'dynamic configuration'
-
-{ after(grammarAccess.getDynamicConfigAccess().getDynamicConfigurationKeyword_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DynamicConfig__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DynamicConfig__Group__1__Impl
- rule__DynamicConfig__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DynamicConfig__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDynamicConfigAccess().getLeftCurlyBracketKeyword_1()); }
-
- '{'
-
-{ after(grammarAccess.getDynamicConfigAccess().getLeftCurlyBracketKeyword_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DynamicConfig__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DynamicConfig__Group__2__Impl
- rule__DynamicConfig__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DynamicConfig__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2()); }
-(rule__DynamicConfig__UnorderedGroup_2)
-{ after(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DynamicConfig__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DynamicConfig__Group__3__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DynamicConfig__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDynamicConfigAccess().getRightCurlyBracketKeyword_3()); }
-
- '}'
-
-{ after(grammarAccess.getDynamicConfigAccess().getRightCurlyBracketKeyword_3()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-
-
-rule__DynamicConfig__Group_2_0_0__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DynamicConfig__Group_2_0_0__0__Impl
- rule__DynamicConfig__Group_2_0_0__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DynamicConfig__Group_2_0_0__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDynamicConfigAccess().getFilePathKeyword_2_0_0_0()); }
-
- 'file path'
-
-{ after(grammarAccess.getDynamicConfigAccess().getFilePathKeyword_2_0_0_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DynamicConfig__Group_2_0_0__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DynamicConfig__Group_2_0_0__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DynamicConfig__Group_2_0_0__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDynamicConfigAccess().getFilePathAssignment_2_0_0_1()); }
-(rule__DynamicConfig__FilePathAssignment_2_0_0_1)
-{ after(grammarAccess.getDynamicConfigAccess().getFilePathAssignment_2_0_0_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__DynamicConfig__Group_2_0_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DynamicConfig__Group_2_0_1__0__Impl
- rule__DynamicConfig__Group_2_0_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DynamicConfig__Group_2_0_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDynamicConfigAccess().getGroup_2_0_1_0()); }
-(rule__DynamicConfig__Group_2_0_1_0__0)
-{ after(grammarAccess.getDynamicConfigAccess().getGroup_2_0_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DynamicConfig__Group_2_0_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DynamicConfig__Group_2_0_1__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DynamicConfig__Group_2_0_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDynamicConfigAccess().getGroup_2_0_1_1()); }
-(rule__DynamicConfig__Group_2_0_1_1__0)
-{ after(grammarAccess.getDynamicConfigAccess().getGroup_2_0_1_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__DynamicConfig__Group_2_0_1_0__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DynamicConfig__Group_2_0_1_0__0__Impl
- rule__DynamicConfig__Group_2_0_1_0__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DynamicConfig__Group_2_0_1_0__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDynamicConfigAccess().getUserImportKeyword_2_0_1_0_0()); }
-
- 'user import'
-
-{ after(grammarAccess.getDynamicConfigAccess().getUserImportKeyword_2_0_1_0_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DynamicConfig__Group_2_0_1_0__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DynamicConfig__Group_2_0_1_0__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DynamicConfig__Group_2_0_1_0__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDynamicConfigAccess().getUserCode1Assignment_2_0_1_0_1()); }
-(rule__DynamicConfig__UserCode1Assignment_2_0_1_0_1)
-{ after(grammarAccess.getDynamicConfigAccess().getUserCode1Assignment_2_0_1_0_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__DynamicConfig__Group_2_0_1_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DynamicConfig__Group_2_0_1_1__0__Impl
- rule__DynamicConfig__Group_2_0_1_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DynamicConfig__Group_2_0_1_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDynamicConfigAccess().getUserConstructorKeyword_2_0_1_1_0()); }
-
- 'user constructor'
-
-{ after(grammarAccess.getDynamicConfigAccess().getUserConstructorKeyword_2_0_1_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DynamicConfig__Group_2_0_1_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DynamicConfig__Group_2_0_1_1__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DynamicConfig__Group_2_0_1_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDynamicConfigAccess().getUserCode2Assignment_2_0_1_1_1()); }
-(rule__DynamicConfig__UserCode2Assignment_2_0_1_1_1)
-{ after(grammarAccess.getDynamicConfigAccess().getUserCode2Assignment_2_0_1_1_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__DynamicConfig__Group_2_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DynamicConfig__Group_2_1__0__Impl
- rule__DynamicConfig__Group_2_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DynamicConfig__Group_2_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDynamicConfigAccess().getPollingTimerMsKeyword_2_1_0()); }
-
- 'polling timer [ms]'
-
-{ after(grammarAccess.getDynamicConfigAccess().getPollingTimerMsKeyword_2_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DynamicConfig__Group_2_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DynamicConfig__Group_2_1__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DynamicConfig__Group_2_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDynamicConfigAccess().getPollingAssignment_2_1_1()); }
-(rule__DynamicConfig__PollingAssignment_2_1_1)
-{ after(grammarAccess.getDynamicConfigAccess().getPollingAssignment_2_1_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__ActorClassConfig__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ActorClassConfig__Group__0__Impl
- rule__ActorClassConfig__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorClassConfig__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorClassConfigAccess().getActorClassConfigKeyword_0()); }
-
- 'ActorClassConfig'
-
-{ after(grammarAccess.getActorClassConfigAccess().getActorClassConfigKeyword_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ActorClassConfig__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ActorClassConfig__Group__1__Impl
- rule__ActorClassConfig__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorClassConfig__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorClassConfigAccess().getActorAssignment_1()); }
-(rule__ActorClassConfig__ActorAssignment_1)
-{ after(grammarAccess.getActorClassConfigAccess().getActorAssignment_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ActorClassConfig__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ActorClassConfig__Group__2__Impl
- rule__ActorClassConfig__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorClassConfig__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorClassConfigAccess().getLeftCurlyBracketKeyword_2()); }
-
- '{'
-
-{ after(grammarAccess.getActorClassConfigAccess().getLeftCurlyBracketKeyword_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ActorClassConfig__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ActorClassConfig__Group__3__Impl
- rule__ActorClassConfig__Group__4
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorClassConfig__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorClassConfigAccess().getAttributesAssignment_3()); }
-(rule__ActorClassConfig__AttributesAssignment_3)*
-{ after(grammarAccess.getActorClassConfigAccess().getAttributesAssignment_3()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ActorClassConfig__Group__4
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ActorClassConfig__Group__4__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorClassConfig__Group__4__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorClassConfigAccess().getRightCurlyBracketKeyword_4()); }
-
- '}'
-
-{ after(grammarAccess.getActorClassConfigAccess().getRightCurlyBracketKeyword_4()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-
-
-
-
-rule__ActorInstanceConfig__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ActorInstanceConfig__Group__0__Impl
- rule__ActorInstanceConfig__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorInstanceConfig__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorInstanceConfigAccess().getActorInstanceConfigKeyword_0()); }
-
- 'ActorInstanceConfig'
-
-{ after(grammarAccess.getActorInstanceConfigAccess().getActorInstanceConfigKeyword_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ActorInstanceConfig__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ActorInstanceConfig__Group__1__Impl
- rule__ActorInstanceConfig__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorInstanceConfig__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorInstanceConfigAccess().getRootAssignment_1()); }
-(rule__ActorInstanceConfig__RootAssignment_1)
-{ after(grammarAccess.getActorInstanceConfigAccess().getRootAssignment_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ActorInstanceConfig__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ActorInstanceConfig__Group__2__Impl
- rule__ActorInstanceConfig__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorInstanceConfig__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorInstanceConfigAccess().getSolidusKeyword_2()); }
-
- '/'
-
-{ after(grammarAccess.getActorInstanceConfigAccess().getSolidusKeyword_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ActorInstanceConfig__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ActorInstanceConfig__Group__3__Impl
- rule__ActorInstanceConfig__Group__4
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorInstanceConfig__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorInstanceConfigAccess().getPathAssignment_3()); }
-(rule__ActorInstanceConfig__PathAssignment_3)
-{ after(grammarAccess.getActorInstanceConfigAccess().getPathAssignment_3()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ActorInstanceConfig__Group__4
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ActorInstanceConfig__Group__4__Impl
- rule__ActorInstanceConfig__Group__5
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorInstanceConfig__Group__4__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorInstanceConfigAccess().getLeftCurlyBracketKeyword_4()); }
-
- '{'
-
-{ after(grammarAccess.getActorInstanceConfigAccess().getLeftCurlyBracketKeyword_4()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ActorInstanceConfig__Group__5
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ActorInstanceConfig__Group__5__Impl
- rule__ActorInstanceConfig__Group__6
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorInstanceConfig__Group__5__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5()); }
-(rule__ActorInstanceConfig__UnorderedGroup_5)
-{ after(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ActorInstanceConfig__Group__6
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ActorInstanceConfig__Group__6__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorInstanceConfig__Group__6__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorInstanceConfigAccess().getRightCurlyBracketKeyword_6()); }
-
- '}'
-
-{ after(grammarAccess.getActorInstanceConfigAccess().getRightCurlyBracketKeyword_6()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-rule__ProtocolClassConfig__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ProtocolClassConfig__Group__0__Impl
- rule__ProtocolClassConfig__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ProtocolClassConfig__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getProtocolClassConfigAccess().getProtocolClassConfigKeyword_0()); }
-
- 'ProtocolClassConfig'
-
-{ after(grammarAccess.getProtocolClassConfigAccess().getProtocolClassConfigKeyword_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ProtocolClassConfig__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ProtocolClassConfig__Group__1__Impl
- rule__ProtocolClassConfig__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ProtocolClassConfig__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getProtocolClassConfigAccess().getProtocolAssignment_1()); }
-(rule__ProtocolClassConfig__ProtocolAssignment_1)
-{ after(grammarAccess.getProtocolClassConfigAccess().getProtocolAssignment_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ProtocolClassConfig__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ProtocolClassConfig__Group__2__Impl
- rule__ProtocolClassConfig__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ProtocolClassConfig__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getProtocolClassConfigAccess().getLeftCurlyBracketKeyword_2()); }
-
- '{'
-
-{ after(grammarAccess.getProtocolClassConfigAccess().getLeftCurlyBracketKeyword_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ProtocolClassConfig__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ProtocolClassConfig__Group__3__Impl
- rule__ProtocolClassConfig__Group__4
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ProtocolClassConfig__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3()); }
-(rule__ProtocolClassConfig__UnorderedGroup_3)
-{ after(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ProtocolClassConfig__Group__4
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ProtocolClassConfig__Group__4__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ProtocolClassConfig__Group__4__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getProtocolClassConfigAccess().getRightCurlyBracketKeyword_4()); }
-
- '}'
-
-{ after(grammarAccess.getProtocolClassConfigAccess().getRightCurlyBracketKeyword_4()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-
-
-
-
-rule__ProtocolClassConfig__Group_3_0__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ProtocolClassConfig__Group_3_0__0__Impl
- rule__ProtocolClassConfig__Group_3_0__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ProtocolClassConfig__Group_3_0__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getProtocolClassConfigAccess().getRegularKeyword_3_0_0()); }
-
- 'regular'
-
-{ after(grammarAccess.getProtocolClassConfigAccess().getRegularKeyword_3_0_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ProtocolClassConfig__Group_3_0__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ProtocolClassConfig__Group_3_0__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ProtocolClassConfig__Group_3_0__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getProtocolClassConfigAccess().getRegularAssignment_3_0_1()); }
-(rule__ProtocolClassConfig__RegularAssignment_3_0_1)
-{ after(grammarAccess.getProtocolClassConfigAccess().getRegularAssignment_3_0_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__ProtocolClassConfig__Group_3_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ProtocolClassConfig__Group_3_1__0__Impl
- rule__ProtocolClassConfig__Group_3_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ProtocolClassConfig__Group_3_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getProtocolClassConfigAccess().getConjugateKeyword_3_1_0()); }
-
- 'conjugate'
-
-{ after(grammarAccess.getProtocolClassConfigAccess().getConjugateKeyword_3_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ProtocolClassConfig__Group_3_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ProtocolClassConfig__Group_3_1__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ProtocolClassConfig__Group_3_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getProtocolClassConfigAccess().getConjugatedAssignment_3_1_1()); }
-(rule__ProtocolClassConfig__ConjugatedAssignment_3_1_1)
-{ after(grammarAccess.getProtocolClassConfigAccess().getConjugatedAssignment_3_1_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__PortClassConfig__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PortClassConfig__Group__0__Impl
- rule__PortClassConfig__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PortClassConfig__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPortClassConfigAccess().getPortClassConfigAction_0()); }
-(
-
-)
-{ after(grammarAccess.getPortClassConfigAccess().getPortClassConfigAction_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__PortClassConfig__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PortClassConfig__Group__1__Impl
- rule__PortClassConfig__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PortClassConfig__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPortClassConfigAccess().getPortKeyword_1()); }
-
- 'Port'
-
-{ after(grammarAccess.getPortClassConfigAccess().getPortKeyword_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__PortClassConfig__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PortClassConfig__Group__2__Impl
- rule__PortClassConfig__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PortClassConfig__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPortClassConfigAccess().getLeftCurlyBracketKeyword_2()); }
-
- '{'
-
-{ after(grammarAccess.getPortClassConfigAccess().getLeftCurlyBracketKeyword_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__PortClassConfig__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PortClassConfig__Group__3__Impl
- rule__PortClassConfig__Group__4
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PortClassConfig__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPortClassConfigAccess().getAttributesAssignment_3()); }
-(rule__PortClassConfig__AttributesAssignment_3)*
-{ after(grammarAccess.getPortClassConfigAccess().getAttributesAssignment_3()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__PortClassConfig__Group__4
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PortClassConfig__Group__4__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PortClassConfig__Group__4__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPortClassConfigAccess().getRightCurlyBracketKeyword_4()); }
-
- '}'
-
-{ after(grammarAccess.getPortClassConfigAccess().getRightCurlyBracketKeyword_4()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-
-
-
-
-rule__PortInstanceConfig__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PortInstanceConfig__Group__0__Impl
- rule__PortInstanceConfig__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PortInstanceConfig__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPortInstanceConfigAccess().getInterfaceItemKeyword_0()); }
-
- 'InterfaceItem'
-
-{ after(grammarAccess.getPortInstanceConfigAccess().getInterfaceItemKeyword_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__PortInstanceConfig__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PortInstanceConfig__Group__1__Impl
- rule__PortInstanceConfig__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PortInstanceConfig__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPortInstanceConfigAccess().getItemAssignment_1()); }
-(rule__PortInstanceConfig__ItemAssignment_1)
-{ after(grammarAccess.getPortInstanceConfigAccess().getItemAssignment_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__PortInstanceConfig__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PortInstanceConfig__Group__2__Impl
- rule__PortInstanceConfig__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PortInstanceConfig__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPortInstanceConfigAccess().getLeftCurlyBracketKeyword_2()); }
-
- '{'
-
-{ after(grammarAccess.getPortInstanceConfigAccess().getLeftCurlyBracketKeyword_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__PortInstanceConfig__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PortInstanceConfig__Group__3__Impl
- rule__PortInstanceConfig__Group__4
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PortInstanceConfig__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPortInstanceConfigAccess().getAttributesAssignment_3()); }
-(rule__PortInstanceConfig__AttributesAssignment_3)*
-{ after(grammarAccess.getPortInstanceConfigAccess().getAttributesAssignment_3()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__PortInstanceConfig__Group__4
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PortInstanceConfig__Group__4__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PortInstanceConfig__Group__4__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPortInstanceConfigAccess().getRightCurlyBracketKeyword_4()); }
-
- '}'
-
-{ after(grammarAccess.getPortInstanceConfigAccess().getRightCurlyBracketKeyword_4()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-
-
-
-
-rule__AttrClassConfig__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrClassConfig__Group__0__Impl
- rule__AttrClassConfig__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrClassConfig__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getAttrKeyword_0()); }
-
- 'Attr'
-
-{ after(grammarAccess.getAttrClassConfigAccess().getAttrKeyword_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AttrClassConfig__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrClassConfig__Group__1__Impl
- rule__AttrClassConfig__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrClassConfig__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getAttributeAssignment_1()); }
-(rule__AttrClassConfig__AttributeAssignment_1)
-{ after(grammarAccess.getAttrClassConfigAccess().getAttributeAssignment_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AttrClassConfig__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrClassConfig__Group__2__Impl
- rule__AttrClassConfig__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrClassConfig__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getGroup_2()); }
-(rule__AttrClassConfig__Group_2__0)?
-{ after(grammarAccess.getAttrClassConfigAccess().getGroup_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AttrClassConfig__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrClassConfig__Group__3__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrClassConfig__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getGroup_3()); }
-(rule__AttrClassConfig__Group_3__0)?
-{ after(grammarAccess.getAttrClassConfigAccess().getGroup_3()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-
-
-rule__AttrClassConfig__Group_2__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrClassConfig__Group_2__0__Impl
- rule__AttrClassConfig__Group_2__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrClassConfig__Group_2__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_2_0()); }
-
- '='
-
-{ after(grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_2_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AttrClassConfig__Group_2__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrClassConfig__Group_2__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrClassConfig__Group_2__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getValueAssignment_2_1()); }
-(rule__AttrClassConfig__ValueAssignment_2_1)
-{ after(grammarAccess.getAttrClassConfigAccess().getValueAssignment_2_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__AttrClassConfig__Group_3__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrClassConfig__Group_3__0__Impl
- rule__AttrClassConfig__Group_3__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrClassConfig__Group_3__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getLeftCurlyBracketKeyword_3_0()); }
-
- '{'
-
-{ after(grammarAccess.getAttrClassConfigAccess().getLeftCurlyBracketKeyword_3_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AttrClassConfig__Group_3__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrClassConfig__Group_3__1__Impl
- rule__AttrClassConfig__Group_3__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrClassConfig__Group_3__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getGroup_3_1()); }
-(rule__AttrClassConfig__Group_3_1__0)
-{ after(grammarAccess.getAttrClassConfigAccess().getGroup_3_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AttrClassConfig__Group_3__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrClassConfig__Group_3__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrClassConfig__Group_3__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getRightCurlyBracketKeyword_3_2()); }
-
- '}'
-
-{ after(grammarAccess.getAttrClassConfigAccess().getRightCurlyBracketKeyword_3_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-rule__AttrClassConfig__Group_3_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrClassConfig__Group_3_1__0__Impl
- rule__AttrClassConfig__Group_3_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrClassConfig__Group_3_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getGroup_3_1_0()); }
-(rule__AttrClassConfig__Group_3_1_0__0)?
-{ after(grammarAccess.getAttrClassConfigAccess().getGroup_3_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AttrClassConfig__Group_3_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrClassConfig__Group_3_1__1__Impl
- rule__AttrClassConfig__Group_3_1__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrClassConfig__Group_3_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getGroup_3_1_1()); }
-(rule__AttrClassConfig__Group_3_1_1__0)?
-{ after(grammarAccess.getAttrClassConfigAccess().getGroup_3_1_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AttrClassConfig__Group_3_1__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrClassConfig__Group_3_1__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrClassConfig__Group_3_1__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getAttributesAssignment_3_1_2()); }
-(rule__AttrClassConfig__AttributesAssignment_3_1_2)*
-{ after(grammarAccess.getAttrClassConfigAccess().getAttributesAssignment_3_1_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-rule__AttrClassConfig__Group_3_1_0__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrClassConfig__Group_3_1_0__0__Impl
- rule__AttrClassConfig__Group_3_1_0__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrClassConfig__Group_3_1_0__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getMinKeyword_3_1_0_0()); }
-
- 'min'
-
-{ after(grammarAccess.getAttrClassConfigAccess().getMinKeyword_3_1_0_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AttrClassConfig__Group_3_1_0__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrClassConfig__Group_3_1_0__1__Impl
- rule__AttrClassConfig__Group_3_1_0__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrClassConfig__Group_3_1_0__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_3_1_0_1()); }
-
- '='
-
-{ after(grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_3_1_0_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AttrClassConfig__Group_3_1_0__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrClassConfig__Group_3_1_0__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrClassConfig__Group_3_1_0__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getMinAssignment_3_1_0_2()); }
-(rule__AttrClassConfig__MinAssignment_3_1_0_2)
-{ after(grammarAccess.getAttrClassConfigAccess().getMinAssignment_3_1_0_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-rule__AttrClassConfig__Group_3_1_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrClassConfig__Group_3_1_1__0__Impl
- rule__AttrClassConfig__Group_3_1_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrClassConfig__Group_3_1_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getMaxKeyword_3_1_1_0()); }
-
- 'max'
-
-{ after(grammarAccess.getAttrClassConfigAccess().getMaxKeyword_3_1_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AttrClassConfig__Group_3_1_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrClassConfig__Group_3_1_1__1__Impl
- rule__AttrClassConfig__Group_3_1_1__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrClassConfig__Group_3_1_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_3_1_1_1()); }
-
- '='
-
-{ after(grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_3_1_1_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AttrClassConfig__Group_3_1_1__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrClassConfig__Group_3_1_1__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrClassConfig__Group_3_1_1__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getMaxAssignment_3_1_1_2()); }
-(rule__AttrClassConfig__MaxAssignment_3_1_1_2)
-{ after(grammarAccess.getAttrClassConfigAccess().getMaxAssignment_3_1_1_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-rule__AttrInstanceConfig__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrInstanceConfig__Group__0__Impl
- rule__AttrInstanceConfig__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrInstanceConfig__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getAttrKeyword_0()); }
-
- 'Attr'
-
-{ after(grammarAccess.getAttrInstanceConfigAccess().getAttrKeyword_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AttrInstanceConfig__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrInstanceConfig__Group__1__Impl
- rule__AttrInstanceConfig__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrInstanceConfig__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getAttributeAssignment_1()); }
-(rule__AttrInstanceConfig__AttributeAssignment_1)
-{ after(grammarAccess.getAttrInstanceConfigAccess().getAttributeAssignment_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AttrInstanceConfig__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrInstanceConfig__Group__2__Impl
- rule__AttrInstanceConfig__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrInstanceConfig__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getGroup_2()); }
-(rule__AttrInstanceConfig__Group_2__0)?
-{ after(grammarAccess.getAttrInstanceConfigAccess().getGroup_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AttrInstanceConfig__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrInstanceConfig__Group__3__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrInstanceConfig__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getGroup_3()); }
-(rule__AttrInstanceConfig__Group_3__0)?
-{ after(grammarAccess.getAttrInstanceConfigAccess().getGroup_3()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-
-
-rule__AttrInstanceConfig__Group_2__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrInstanceConfig__Group_2__0__Impl
- rule__AttrInstanceConfig__Group_2__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrInstanceConfig__Group_2__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getEqualsSignKeyword_2_0()); }
-
- '='
-
-{ after(grammarAccess.getAttrInstanceConfigAccess().getEqualsSignKeyword_2_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AttrInstanceConfig__Group_2__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrInstanceConfig__Group_2__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrInstanceConfig__Group_2__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getValueAssignment_2_1()); }
-(rule__AttrInstanceConfig__ValueAssignment_2_1)
-{ after(grammarAccess.getAttrInstanceConfigAccess().getValueAssignment_2_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__AttrInstanceConfig__Group_3__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrInstanceConfig__Group_3__0__Impl
- rule__AttrInstanceConfig__Group_3__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrInstanceConfig__Group_3__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getLeftCurlyBracketKeyword_3_0()); }
-
- '{'
-
-{ after(grammarAccess.getAttrInstanceConfigAccess().getLeftCurlyBracketKeyword_3_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AttrInstanceConfig__Group_3__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrInstanceConfig__Group_3__1__Impl
- rule__AttrInstanceConfig__Group_3__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrInstanceConfig__Group_3__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getGroup_3_1()); }
-(rule__AttrInstanceConfig__Group_3_1__0)
-{ after(grammarAccess.getAttrInstanceConfigAccess().getGroup_3_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AttrInstanceConfig__Group_3__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrInstanceConfig__Group_3__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrInstanceConfig__Group_3__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getRightCurlyBracketKeyword_3_2()); }
-
- '}'
-
-{ after(grammarAccess.getAttrInstanceConfigAccess().getRightCurlyBracketKeyword_3_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-rule__AttrInstanceConfig__Group_3_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrInstanceConfig__Group_3_1__0__Impl
- rule__AttrInstanceConfig__Group_3_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrInstanceConfig__Group_3_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getGroup_3_1_0()); }
-(rule__AttrInstanceConfig__Group_3_1_0__0)?
-{ after(grammarAccess.getAttrInstanceConfigAccess().getGroup_3_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AttrInstanceConfig__Group_3_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrInstanceConfig__Group_3_1__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrInstanceConfig__Group_3_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getAttributesAssignment_3_1_1()); }
-(rule__AttrInstanceConfig__AttributesAssignment_3_1_1)*
-{ after(grammarAccess.getAttrInstanceConfigAccess().getAttributesAssignment_3_1_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__AttrInstanceConfig__Group_3_1_0__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrInstanceConfig__Group_3_1_0__0__Impl
- rule__AttrInstanceConfig__Group_3_1_0__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrInstanceConfig__Group_3_1_0__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getDynConfigAssignment_3_1_0_0()); }
-(rule__AttrInstanceConfig__DynConfigAssignment_3_1_0_0)
-{ after(grammarAccess.getAttrInstanceConfigAccess().getDynConfigAssignment_3_1_0_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__AttrInstanceConfig__Group_3_1_0__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__AttrInstanceConfig__Group_3_1_0__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrInstanceConfig__Group_3_1_0__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getAlternatives_3_1_0_1()); }
-(rule__AttrInstanceConfig__Alternatives_3_1_0_1)
-{ after(grammarAccess.getAttrInstanceConfigAccess().getAlternatives_3_1_0_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__RefPath__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__RefPath__Group__0__Impl
- rule__RefPath__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__RefPath__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getRefPathAccess().getRefsAssignment_0()); }
-(rule__RefPath__RefsAssignment_0)
-{ after(grammarAccess.getRefPathAccess().getRefsAssignment_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__RefPath__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__RefPath__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__RefPath__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getRefPathAccess().getGroup_1()); }
-(rule__RefPath__Group_1__0)*
-{ after(grammarAccess.getRefPathAccess().getGroup_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__RefPath__Group_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__RefPath__Group_1__0__Impl
- rule__RefPath__Group_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__RefPath__Group_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getRefPathAccess().getSolidusKeyword_1_0()); }
-
- '/'
-
-{ after(grammarAccess.getRefPathAccess().getSolidusKeyword_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__RefPath__Group_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__RefPath__Group_1__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__RefPath__Group_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getRefPathAccess().getRefsAssignment_1_1()); }
-(rule__RefPath__RefsAssignment_1_1)
-{ after(grammarAccess.getRefPathAccess().getRefsAssignment_1_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__Import__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Import__Group__0__Impl
- rule__Import__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Import__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getImportAccess().getImportKeyword_0()); }
-
- 'import'
-
-{ after(grammarAccess.getImportAccess().getImportKeyword_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__Import__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Import__Group__1__Impl
- rule__Import__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Import__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getImportAccess().getAlternatives_1()); }
-(rule__Import__Alternatives_1)
-{ after(grammarAccess.getImportAccess().getAlternatives_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__Import__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Import__Group__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Import__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getImportAccess().getImportURIAssignment_2()); }
-(rule__Import__ImportURIAssignment_2)
-{ after(grammarAccess.getImportAccess().getImportURIAssignment_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-rule__Import__Group_1_0__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Import__Group_1_0__0__Impl
- rule__Import__Group_1_0__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Import__Group_1_0__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getImportAccess().getImportedNamespaceAssignment_1_0_0()); }
-(rule__Import__ImportedNamespaceAssignment_1_0_0)
-{ after(grammarAccess.getImportAccess().getImportedNamespaceAssignment_1_0_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__Import__Group_1_0__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Import__Group_1_0__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Import__Group_1_0__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getImportAccess().getFromKeyword_1_0_1()); }
-
- 'from'
-
-{ after(grammarAccess.getImportAccess().getFromKeyword_1_0_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__ImportedFQN__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ImportedFQN__Group__0__Impl
- rule__ImportedFQN__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ImportedFQN__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getImportedFQNAccess().getFQNParserRuleCall_0()); }
- ruleFQN
-{ after(grammarAccess.getImportedFQNAccess().getFQNParserRuleCall_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ImportedFQN__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ImportedFQN__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ImportedFQN__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1()); }
-(
- '.*'
-)?
-{ after(grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__FQN__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__FQN__Group__0__Impl
- rule__FQN__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__FQN__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); }
- RULE_ID
-{ after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__FQN__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__FQN__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__FQN__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getFQNAccess().getGroup_1()); }
-(rule__FQN__Group_1__0)*
-{ after(grammarAccess.getFQNAccess().getGroup_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__FQN__Group_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__FQN__Group_1__0__Impl
- rule__FQN__Group_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__FQN__Group_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); }
-
- '.'
-
-{ after(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__FQN__Group_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__FQN__Group_1__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__FQN__Group_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); }
- RULE_ID
-{ after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__LiteralArray__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__LiteralArray__Group__0__Impl
- rule__LiteralArray__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LiteralArray__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getLiteralArrayAccess().getLiteralsAssignment_0()); }
-(rule__LiteralArray__LiteralsAssignment_0)
-{ after(grammarAccess.getLiteralArrayAccess().getLiteralsAssignment_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__LiteralArray__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__LiteralArray__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LiteralArray__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getLiteralArrayAccess().getGroup_1()); }
-(rule__LiteralArray__Group_1__0)*
-{ after(grammarAccess.getLiteralArrayAccess().getGroup_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__LiteralArray__Group_1__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__LiteralArray__Group_1__0__Impl
- rule__LiteralArray__Group_1__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LiteralArray__Group_1__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getLiteralArrayAccess().getCommaKeyword_1_0()); }
-
- ','
-
-{ after(grammarAccess.getLiteralArrayAccess().getCommaKeyword_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__LiteralArray__Group_1__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__LiteralArray__Group_1__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LiteralArray__Group_1__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getLiteralArrayAccess().getLiteralsAssignment_1_1()); }
-(rule__LiteralArray__LiteralsAssignment_1_1)
-{ after(grammarAccess.getLiteralArrayAccess().getLiteralsAssignment_1_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__BooleanLiteral__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BooleanLiteral__Group__0__Impl
- rule__BooleanLiteral__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BooleanLiteral__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getBooleanLiteralAccess().getBooleanLiteralAction_0()); }
-(
-
-)
-{ after(grammarAccess.getBooleanLiteralAccess().getBooleanLiteralAction_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__BooleanLiteral__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__BooleanLiteral__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BooleanLiteral__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getBooleanLiteralAccess().getAlternatives_1()); }
-(rule__BooleanLiteral__Alternatives_1)
-{ after(grammarAccess.getBooleanLiteralAccess().getAlternatives_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__RealLiteral__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__RealLiteral__Group__0__Impl
- rule__RealLiteral__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__RealLiteral__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getRealLiteralAccess().getRealLiteralAction_0()); }
-(
-
-)
-{ after(grammarAccess.getRealLiteralAccess().getRealLiteralAction_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__RealLiteral__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__RealLiteral__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__RealLiteral__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getRealLiteralAccess().getValueAssignment_1()); }
-(rule__RealLiteral__ValueAssignment_1)
-{ after(grammarAccess.getRealLiteralAccess().getValueAssignment_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__IntLiteral__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__IntLiteral__Group__0__Impl
- rule__IntLiteral__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__IntLiteral__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getIntLiteralAccess().getIntLiteralAction_0()); }
-(
-
-)
-{ after(grammarAccess.getIntLiteralAccess().getIntLiteralAction_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__IntLiteral__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__IntLiteral__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__IntLiteral__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getIntLiteralAccess().getValueAssignment_1()); }
-(rule__IntLiteral__ValueAssignment_1)
-{ after(grammarAccess.getIntLiteralAccess().getValueAssignment_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__StringLiteral__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__StringLiteral__Group__0__Impl
- rule__StringLiteral__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__StringLiteral__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getStringLiteralAccess().getStringLiteralAction_0()); }
-(
-
-)
-{ after(grammarAccess.getStringLiteralAccess().getStringLiteralAction_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__StringLiteral__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__StringLiteral__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__StringLiteral__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getStringLiteralAccess().getValueAssignment_1()); }
-(rule__StringLiteral__ValueAssignment_1)
-{ after(grammarAccess.getStringLiteralAccess().getValueAssignment_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__SignedInteger__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__SignedInteger__Group__0__Impl
- rule__SignedInteger__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__SignedInteger__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getSignedIntegerAccess().getAlternatives_0()); }
-(rule__SignedInteger__Alternatives_0)?
-{ after(grammarAccess.getSignedIntegerAccess().getAlternatives_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__SignedInteger__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__SignedInteger__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__SignedInteger__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getSignedIntegerAccess().getINTTerminalRuleCall_1()); }
- RULE_INT
-{ after(grammarAccess.getSignedIntegerAccess().getINTTerminalRuleCall_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__Decimal__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Decimal__Group__0__Impl
- rule__Decimal__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Decimal__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDecimalAccess().getAlternatives_0()); }
-(rule__Decimal__Alternatives_0)?
-{ after(grammarAccess.getDecimalAccess().getAlternatives_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__Decimal__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Decimal__Group__1__Impl
- rule__Decimal__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Decimal__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDecimalAccess().getINTTerminalRuleCall_1()); }
- RULE_INT
-{ after(grammarAccess.getDecimalAccess().getINTTerminalRuleCall_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__Decimal__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Decimal__Group__2__Impl
- rule__Decimal__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Decimal__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDecimalAccess().getFullStopKeyword_2()); }
-
- '.'
-
-{ after(grammarAccess.getDecimalAccess().getFullStopKeyword_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__Decimal__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__Decimal__Group__3__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Decimal__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDecimalAccess().getINTTerminalRuleCall_3()); }
- RULE_INT
-{ after(grammarAccess.getDecimalAccess().getINTTerminalRuleCall_3()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-
-
-rule__DotDecimal__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DotDecimal__Group__0__Impl
- rule__DotDecimal__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DotDecimal__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDotDecimalAccess().getAlternatives_0()); }
-(rule__DotDecimal__Alternatives_0)?
-{ after(grammarAccess.getDotDecimalAccess().getAlternatives_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DotDecimal__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DotDecimal__Group__1__Impl
- rule__DotDecimal__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DotDecimal__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDotDecimalAccess().getFullStopKeyword_1()); }
-
- '.'
-
-{ after(grammarAccess.getDotDecimalAccess().getFullStopKeyword_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DotDecimal__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DotDecimal__Group__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DotDecimal__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDotDecimalAccess().getINTTerminalRuleCall_2()); }
- RULE_INT
-{ after(grammarAccess.getDotDecimalAccess().getINTTerminalRuleCall_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-rule__DecimalDot__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DecimalDot__Group__0__Impl
- rule__DecimalDot__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DecimalDot__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDecimalDotAccess().getAlternatives_0()); }
-(rule__DecimalDot__Alternatives_0)?
-{ after(grammarAccess.getDecimalDotAccess().getAlternatives_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DecimalDot__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DecimalDot__Group__1__Impl
- rule__DecimalDot__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DecimalDot__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDecimalDotAccess().getINTTerminalRuleCall_1()); }
- RULE_INT
-{ after(grammarAccess.getDecimalDotAccess().getINTTerminalRuleCall_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DecimalDot__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DecimalDot__Group__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DecimalDot__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDecimalDotAccess().getFullStopKeyword_2()); }
-
- '.'
-
-{ after(grammarAccess.getDecimalDotAccess().getFullStopKeyword_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-rule__DecimalExp__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DecimalExp__Group__0__Impl
- rule__DecimalExp__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DecimalExp__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDecimalExpAccess().getAlternatives_0()); }
-(rule__DecimalExp__Alternatives_0)?
-{ after(grammarAccess.getDecimalExpAccess().getAlternatives_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DecimalExp__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DecimalExp__Group__1__Impl
- rule__DecimalExp__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DecimalExp__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_1()); }
- RULE_INT
-{ after(grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DecimalExp__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DecimalExp__Group__2__Impl
- rule__DecimalExp__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DecimalExp__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDecimalExpAccess().getFullStopKeyword_2()); }
-
- '.'
-
-{ after(grammarAccess.getDecimalExpAccess().getFullStopKeyword_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DecimalExp__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DecimalExp__Group__3__Impl
- rule__DecimalExp__Group__4
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DecimalExp__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_3()); }
- RULE_INT
-{ after(grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_3()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DecimalExp__Group__4
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DecimalExp__Group__4__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DecimalExp__Group__4__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDecimalExpAccess().getEXPTerminalRuleCall_4()); }
- RULE_EXP
-{ after(grammarAccess.getDecimalExpAccess().getEXPTerminalRuleCall_4()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-rule__DynamicConfig__UnorderedGroup_2
- @init {
- int stackSize = keepStackSize();
- getUnorderedGroupHelper().enter(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2());
- }
-:
- rule__DynamicConfig__UnorderedGroup_2__0
-
- {getUnorderedGroupHelper().canLeave(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2())}?
-
-;
-finally {
- getUnorderedGroupHelper().leave(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2());
- restoreStackSize(stackSize);
-}
-
-
-rule__DynamicConfig__UnorderedGroup_2__Impl
- @init {
- int stackSize = keepStackSize();
- boolean selected = false;
- }
-:
- (
-
- (
- {getUnorderedGroupHelper().canSelect(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 0)}?=>(
- {
- getUnorderedGroupHelper().select(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 0);
- }
- {
- selected = true;
- }
- (
-
- { before(grammarAccess.getDynamicConfigAccess().getAlternatives_2_0()); }
- (rule__DynamicConfig__Alternatives_2_0)
- { after(grammarAccess.getDynamicConfigAccess().getAlternatives_2_0()); }
- )
- )
- ) |
-
- (
- {getUnorderedGroupHelper().canSelect(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 1)}?=>(
- {
- getUnorderedGroupHelper().select(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 1);
- }
- {
- selected = true;
- }
- (
-
- { before(grammarAccess.getDynamicConfigAccess().getGroup_2_1()); }
- (rule__DynamicConfig__Group_2_1__0)
- { after(grammarAccess.getDynamicConfigAccess().getGroup_2_1()); }
- )
- )
- )
-
- )
-;
-finally {
- if (selected)
- getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2());
- restoreStackSize(stackSize);
-}
-
-
-rule__DynamicConfig__UnorderedGroup_2__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DynamicConfig__UnorderedGroup_2__Impl
- rule__DynamicConfig__UnorderedGroup_2__1?
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DynamicConfig__UnorderedGroup_2__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DynamicConfig__UnorderedGroup_2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__ActorInstanceConfig__UnorderedGroup_5
- @init {
- int stackSize = keepStackSize();
- getUnorderedGroupHelper().enter(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5());
- }
-:
- rule__ActorInstanceConfig__UnorderedGroup_5__0
- ?
-
-;
-finally {
- getUnorderedGroupHelper().leave(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5());
- restoreStackSize(stackSize);
-}
-
-
-rule__ActorInstanceConfig__UnorderedGroup_5__Impl
- @init {
- int stackSize = keepStackSize();
- boolean selected = false;
- }
-:
- (
-
- (
- {getUnorderedGroupHelper().canSelect(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5(), 0)}?=>(
- {
- getUnorderedGroupHelper().select(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5(), 0);
- }
- {
- selected = true;
- }
- (
- (
- { before(grammarAccess.getActorInstanceConfigAccess().getAttributesAssignment_5_0()); }
- (rule__ActorInstanceConfig__AttributesAssignment_5_0)
- { after(grammarAccess.getActorInstanceConfigAccess().getAttributesAssignment_5_0()); }
- )
- (
- { before(grammarAccess.getActorInstanceConfigAccess().getAttributesAssignment_5_0()); }
- ((rule__ActorInstanceConfig__AttributesAssignment_5_0)=>rule__ActorInstanceConfig__AttributesAssignment_5_0)*
- { after(grammarAccess.getActorInstanceConfigAccess().getAttributesAssignment_5_0()); }
- ) )
- )
- ) |
-
- (
- {getUnorderedGroupHelper().canSelect(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5(), 1)}?=>(
- {
- getUnorderedGroupHelper().select(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5(), 1);
- }
- {
- selected = true;
- }
- (
- (
- { before(grammarAccess.getActorInstanceConfigAccess().getPortsAssignment_5_1()); }
- (rule__ActorInstanceConfig__PortsAssignment_5_1)
- { after(grammarAccess.getActorInstanceConfigAccess().getPortsAssignment_5_1()); }
- )
- (
- { before(grammarAccess.getActorInstanceConfigAccess().getPortsAssignment_5_1()); }
- ((rule__ActorInstanceConfig__PortsAssignment_5_1)=>rule__ActorInstanceConfig__PortsAssignment_5_1)*
- { after(grammarAccess.getActorInstanceConfigAccess().getPortsAssignment_5_1()); }
- ) )
- )
- )
-
- )
-;
-finally {
- if (selected)
- getUnorderedGroupHelper().returnFromSelection(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5());
- restoreStackSize(stackSize);
-}
-
-
-rule__ActorInstanceConfig__UnorderedGroup_5__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ActorInstanceConfig__UnorderedGroup_5__Impl
- rule__ActorInstanceConfig__UnorderedGroup_5__1?
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ActorInstanceConfig__UnorderedGroup_5__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ActorInstanceConfig__UnorderedGroup_5__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__ProtocolClassConfig__UnorderedGroup_3
- @init {
- int stackSize = keepStackSize();
- getUnorderedGroupHelper().enter(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3());
- }
-:
- rule__ProtocolClassConfig__UnorderedGroup_3__0
- ?
-
-;
-finally {
- getUnorderedGroupHelper().leave(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3());
- restoreStackSize(stackSize);
-}
-
-
-rule__ProtocolClassConfig__UnorderedGroup_3__Impl
- @init {
- int stackSize = keepStackSize();
- boolean selected = false;
- }
-:
- (
-
- (
- {getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 0)}?=>(
- {
- getUnorderedGroupHelper().select(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 0);
- }
- {
- selected = true;
- }
- (
-
- { before(grammarAccess.getProtocolClassConfigAccess().getGroup_3_0()); }
- (rule__ProtocolClassConfig__Group_3_0__0)
- { after(grammarAccess.getProtocolClassConfigAccess().getGroup_3_0()); }
- )
- )
- ) |
-
- (
- {getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 1)}?=>(
- {
- getUnorderedGroupHelper().select(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 1);
- }
- {
- selected = true;
- }
- (
-
- { before(grammarAccess.getProtocolClassConfigAccess().getGroup_3_1()); }
- (rule__ProtocolClassConfig__Group_3_1__0)
- { after(grammarAccess.getProtocolClassConfigAccess().getGroup_3_1()); }
- )
- )
- )
-
- )
-;
-finally {
- if (selected)
- getUnorderedGroupHelper().returnFromSelection(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3());
- restoreStackSize(stackSize);
-}
-
-
-rule__ProtocolClassConfig__UnorderedGroup_3__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ProtocolClassConfig__UnorderedGroup_3__Impl
- rule__ProtocolClassConfig__UnorderedGroup_3__1?
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ProtocolClassConfig__UnorderedGroup_3__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ProtocolClassConfig__UnorderedGroup_3__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__ConfigModel__ImportsAssignment_0
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getConfigModelAccess().getImportsImportParserRuleCall_0_0()); }
- ruleImport{ after(grammarAccess.getConfigModelAccess().getImportsImportParserRuleCall_0_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ConfigModel__ConfigElementsAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getConfigModelAccess().getConfigElementsConfigElementParserRuleCall_1_0()); }
- ruleConfigElement{ after(grammarAccess.getConfigModelAccess().getConfigElementsConfigElementParserRuleCall_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__SubSystemConfig__SubSystemAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getSubSystemConfigAccess().getSubSystemSubSystemClassCrossReference_1_0()); }
-(
-{ before(grammarAccess.getSubSystemConfigAccess().getSubSystemSubSystemClassIDTerminalRuleCall_1_0_1()); }
- RULE_ID{ after(grammarAccess.getSubSystemConfigAccess().getSubSystemSubSystemClassIDTerminalRuleCall_1_0_1()); }
-)
-{ after(grammarAccess.getSubSystemConfigAccess().getSubSystemSubSystemClassCrossReference_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__SubSystemConfig__DynConfigAssignment_3
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getSubSystemConfigAccess().getDynConfigDynamicConfigParserRuleCall_3_0()); }
- ruleDynamicConfig{ after(grammarAccess.getSubSystemConfigAccess().getDynConfigDynamicConfigParserRuleCall_3_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DynamicConfig__FilePathAssignment_2_0_0_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDynamicConfigAccess().getFilePathSTRINGTerminalRuleCall_2_0_0_1_0()); }
- RULE_STRING{ after(grammarAccess.getDynamicConfigAccess().getFilePathSTRINGTerminalRuleCall_2_0_0_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DynamicConfig__UserCode1Assignment_2_0_1_0_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDynamicConfigAccess().getUserCode1STRINGTerminalRuleCall_2_0_1_0_1_0()); }
- RULE_STRING{ after(grammarAccess.getDynamicConfigAccess().getUserCode1STRINGTerminalRuleCall_2_0_1_0_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DynamicConfig__UserCode2Assignment_2_0_1_1_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDynamicConfigAccess().getUserCode2STRINGTerminalRuleCall_2_0_1_1_1_0()); }
- RULE_STRING{ after(grammarAccess.getDynamicConfigAccess().getUserCode2STRINGTerminalRuleCall_2_0_1_1_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DynamicConfig__PollingAssignment_2_1_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDynamicConfigAccess().getPollingINTTerminalRuleCall_2_1_1_0()); }
- RULE_INT{ after(grammarAccess.getDynamicConfigAccess().getPollingINTTerminalRuleCall_2_1_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorClassConfig__ActorAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorClassConfigAccess().getActorActorClassCrossReference_1_0()); }
-(
-{ before(grammarAccess.getActorClassConfigAccess().getActorActorClassFQNParserRuleCall_1_0_1()); }
- ruleFQN{ after(grammarAccess.getActorClassConfigAccess().getActorActorClassFQNParserRuleCall_1_0_1()); }
-)
-{ after(grammarAccess.getActorClassConfigAccess().getActorActorClassCrossReference_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorClassConfig__AttributesAssignment_3
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorClassConfigAccess().getAttributesAttrClassConfigParserRuleCall_3_0()); }
- ruleAttrClassConfig{ after(grammarAccess.getActorClassConfigAccess().getAttributesAttrClassConfigParserRuleCall_3_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorInstanceConfig__RootAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorInstanceConfigAccess().getRootSubSystemClassCrossReference_1_0()); }
-(
-{ before(grammarAccess.getActorInstanceConfigAccess().getRootSubSystemClassFQNParserRuleCall_1_0_1()); }
- ruleFQN{ after(grammarAccess.getActorInstanceConfigAccess().getRootSubSystemClassFQNParserRuleCall_1_0_1()); }
-)
-{ after(grammarAccess.getActorInstanceConfigAccess().getRootSubSystemClassCrossReference_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorInstanceConfig__PathAssignment_3
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorInstanceConfigAccess().getPathRefPathParserRuleCall_3_0()); }
- ruleRefPath{ after(grammarAccess.getActorInstanceConfigAccess().getPathRefPathParserRuleCall_3_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorInstanceConfig__AttributesAssignment_5_0
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_5_0_0()); }
- ruleAttrInstanceConfig{ after(grammarAccess.getActorInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_5_0_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorInstanceConfig__PortsAssignment_5_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorInstanceConfigAccess().getPortsPortInstanceConfigParserRuleCall_5_1_0()); }
- rulePortInstanceConfig{ after(grammarAccess.getActorInstanceConfigAccess().getPortsPortInstanceConfigParserRuleCall_5_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ProtocolClassConfig__ProtocolAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getProtocolClassConfigAccess().getProtocolProtocolClassCrossReference_1_0()); }
-(
-{ before(grammarAccess.getProtocolClassConfigAccess().getProtocolProtocolClassFQNParserRuleCall_1_0_1()); }
- ruleFQN{ after(grammarAccess.getProtocolClassConfigAccess().getProtocolProtocolClassFQNParserRuleCall_1_0_1()); }
-)
-{ after(grammarAccess.getProtocolClassConfigAccess().getProtocolProtocolClassCrossReference_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ProtocolClassConfig__RegularAssignment_3_0_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getProtocolClassConfigAccess().getRegularPortClassConfigParserRuleCall_3_0_1_0()); }
- rulePortClassConfig{ after(grammarAccess.getProtocolClassConfigAccess().getRegularPortClassConfigParserRuleCall_3_0_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ProtocolClassConfig__ConjugatedAssignment_3_1_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getProtocolClassConfigAccess().getConjugatedPortClassConfigParserRuleCall_3_1_1_0()); }
- rulePortClassConfig{ after(grammarAccess.getProtocolClassConfigAccess().getConjugatedPortClassConfigParserRuleCall_3_1_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PortClassConfig__AttributesAssignment_3
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPortClassConfigAccess().getAttributesAttrClassConfigParserRuleCall_3_0()); }
- ruleAttrClassConfig{ after(grammarAccess.getPortClassConfigAccess().getAttributesAttrClassConfigParserRuleCall_3_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PortInstanceConfig__ItemAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPortInstanceConfigAccess().getItemInterfaceItemCrossReference_1_0()); }
-(
-{ before(grammarAccess.getPortInstanceConfigAccess().getItemInterfaceItemIDTerminalRuleCall_1_0_1()); }
- RULE_ID{ after(grammarAccess.getPortInstanceConfigAccess().getItemInterfaceItemIDTerminalRuleCall_1_0_1()); }
-)
-{ after(grammarAccess.getPortInstanceConfigAccess().getItemInterfaceItemCrossReference_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PortInstanceConfig__AttributesAssignment_3
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPortInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_3_0()); }
- ruleAttrInstanceConfig{ after(grammarAccess.getPortInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_3_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrClassConfig__AttributeAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getAttributeAttributeCrossReference_1_0()); }
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getAttributeAttributeIDTerminalRuleCall_1_0_1()); }
- RULE_ID{ after(grammarAccess.getAttrClassConfigAccess().getAttributeAttributeIDTerminalRuleCall_1_0_1()); }
-)
-{ after(grammarAccess.getAttrClassConfigAccess().getAttributeAttributeCrossReference_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrClassConfig__ValueAssignment_2_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getValueLiteralArrayParserRuleCall_2_1_0()); }
- ruleLiteralArray{ after(grammarAccess.getAttrClassConfigAccess().getValueLiteralArrayParserRuleCall_2_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrClassConfig__MinAssignment_3_1_0_2
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getMinNumberLiteralParserRuleCall_3_1_0_2_0()); }
- ruleNumberLiteral{ after(grammarAccess.getAttrClassConfigAccess().getMinNumberLiteralParserRuleCall_3_1_0_2_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrClassConfig__MaxAssignment_3_1_1_2
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getMaxNumberLiteralParserRuleCall_3_1_1_2_0()); }
- ruleNumberLiteral{ after(grammarAccess.getAttrClassConfigAccess().getMaxNumberLiteralParserRuleCall_3_1_1_2_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrClassConfig__AttributesAssignment_3_1_2
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrClassConfigAccess().getAttributesAttrClassConfigParserRuleCall_3_1_2_0()); }
- ruleAttrClassConfig{ after(grammarAccess.getAttrClassConfigAccess().getAttributesAttrClassConfigParserRuleCall_3_1_2_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrInstanceConfig__AttributeAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getAttributeAttributeCrossReference_1_0()); }
-(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getAttributeAttributeIDTerminalRuleCall_1_0_1()); }
- RULE_ID{ after(grammarAccess.getAttrInstanceConfigAccess().getAttributeAttributeIDTerminalRuleCall_1_0_1()); }
-)
-{ after(grammarAccess.getAttrInstanceConfigAccess().getAttributeAttributeCrossReference_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrInstanceConfig__ValueAssignment_2_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getValueLiteralArrayParserRuleCall_2_1_0()); }
- ruleLiteralArray{ after(grammarAccess.getAttrInstanceConfigAccess().getValueLiteralArrayParserRuleCall_2_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrInstanceConfig__DynConfigAssignment_3_1_0_0
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getDynConfigDynamicConfigurationKeyword_3_1_0_0_0()); }
-(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getDynConfigDynamicConfigurationKeyword_3_1_0_0_0()); }
-
- 'dynamic configuration'
-
-{ after(grammarAccess.getAttrInstanceConfigAccess().getDynConfigDynamicConfigurationKeyword_3_1_0_0_0()); }
-)
-
-{ after(grammarAccess.getAttrInstanceConfigAccess().getDynConfigDynamicConfigurationKeyword_3_1_0_0_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrInstanceConfig__ReadOnlyAssignment_3_1_0_1_0
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getReadOnlyReadKeyword_3_1_0_1_0_0()); }
-(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getReadOnlyReadKeyword_3_1_0_1_0_0()); }
-
- 'read'
-
-{ after(grammarAccess.getAttrInstanceConfigAccess().getReadOnlyReadKeyword_3_1_0_1_0_0()); }
-)
-
-{ after(grammarAccess.getAttrInstanceConfigAccess().getReadOnlyReadKeyword_3_1_0_1_0_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__AttrInstanceConfig__AttributesAssignment_3_1_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getAttrInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_3_1_1_0()); }
- ruleAttrInstanceConfig{ after(grammarAccess.getAttrInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_3_1_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__RefPath__RefsAssignment_0
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getRefPathAccess().getRefsIDTerminalRuleCall_0_0()); }
- RULE_ID{ after(grammarAccess.getRefPathAccess().getRefsIDTerminalRuleCall_0_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__RefPath__RefsAssignment_1_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getRefPathAccess().getRefsIDTerminalRuleCall_1_1_0()); }
- RULE_ID{ after(grammarAccess.getRefPathAccess().getRefsIDTerminalRuleCall_1_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Import__ImportedNamespaceAssignment_1_0_0
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getImportAccess().getImportedNamespaceImportedFQNParserRuleCall_1_0_0_0()); }
- ruleImportedFQN{ after(grammarAccess.getImportAccess().getImportedNamespaceImportedFQNParserRuleCall_1_0_0_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__Import__ImportURIAssignment_2
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_2_0()); }
- RULE_STRING{ after(grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_2_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LiteralArray__LiteralsAssignment_0
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getLiteralArrayAccess().getLiteralsLiteralParserRuleCall_0_0()); }
- ruleLiteral{ after(grammarAccess.getLiteralArrayAccess().getLiteralsLiteralParserRuleCall_0_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__LiteralArray__LiteralsAssignment_1_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getLiteralArrayAccess().getLiteralsLiteralParserRuleCall_1_1_0()); }
- ruleLiteral{ after(grammarAccess.getLiteralArrayAccess().getLiteralsLiteralParserRuleCall_1_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BooleanLiteral__IsTrueAssignment_1_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0()); }
-(
-{ before(grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0()); }
-
- 'true'
-
-{ after(grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0()); }
-)
-
-{ after(grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__RealLiteral__ValueAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getRealLiteralAccess().getValueRealParserRuleCall_1_0()); }
- ruleReal{ after(grammarAccess.getRealLiteralAccess().getValueRealParserRuleCall_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__IntLiteral__ValueAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getIntLiteralAccess().getValueIntegerParserRuleCall_1_0()); }
- ruleInteger{ after(grammarAccess.getIntLiteralAccess().getValueIntegerParserRuleCall_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__StringLiteral__ValueAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0()); }
- RULE_STRING{ after(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-RULE_EXP : ('e'|'E') ('+'|'-')? ('0'..'9')+;
-
-RULE_HEX : ('0x'|'0X') ('0'..'9'|'a'..'f'|'A'..'F')+;
-
-RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
-
-RULE_INT : ('0'..'9')+;
-
-RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
-
-RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
-
-RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;
-
-RULE_WS : (' '|'\t'|'\r'|'\n')+;
-
-RULE_ANY_OTHER : .;
-
-
+/*
+* generated by Xtext
+*/
+grammar InternalConfig;
+
+options {
+ superClass=AbstractInternalContentAssistParser;
+
+}
+
+@lexer::header {
+package org.eclipse.etrice.core.ui.contentassist.antlr.internal;
+
+// Hack: Use our own Lexer superclass by means of import.
+// Currently there is no other way to specify the superclass for the lexer.
+import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer;
+}
+
+@parser::header {
+package org.eclipse.etrice.core.ui.contentassist.antlr.internal;
+
+import java.io.InputStream;
+import org.eclipse.xtext.*;
+import org.eclipse.xtext.parser.*;
+import org.eclipse.xtext.parser.impl.*;
+import org.eclipse.emf.ecore.util.EcoreUtil;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.antlr.XtextTokenStream;
+import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
+import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
+import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA;
+import org.eclipse.etrice.core.services.ConfigGrammarAccess;
+
+}
+
+@parser::members {
+
+ private ConfigGrammarAccess grammarAccess;
+
+ public void setGrammarAccess(ConfigGrammarAccess grammarAccess) {
+ this.grammarAccess = grammarAccess;
+ }
+
+ @Override
+ protected Grammar getGrammar() {
+ return grammarAccess.getGrammar();
+ }
+
+ @Override
+ protected String getValueForTokenName(String tokenName) {
+ return tokenName;
+ }
+
+}
+
+
+
+
+// Entry rule entryRuleConfigModel
+entryRuleConfigModel
+:
+{ before(grammarAccess.getConfigModelRule()); }
+ ruleConfigModel
+{ after(grammarAccess.getConfigModelRule()); }
+ EOF
+;
+
+// Rule ConfigModel
+ruleConfigModel
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getConfigModelAccess().getGroup()); }
+(rule__ConfigModel__Group__0)
+{ after(grammarAccess.getConfigModelAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleConfigElement
+entryRuleConfigElement
+:
+{ before(grammarAccess.getConfigElementRule()); }
+ ruleConfigElement
+{ after(grammarAccess.getConfigElementRule()); }
+ EOF
+;
+
+// Rule ConfigElement
+ruleConfigElement
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getConfigElementAccess().getAlternatives()); }
+(rule__ConfigElement__Alternatives)
+{ after(grammarAccess.getConfigElementAccess().getAlternatives()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleSubSystemConfig
+entryRuleSubSystemConfig
+:
+{ before(grammarAccess.getSubSystemConfigRule()); }
+ ruleSubSystemConfig
+{ after(grammarAccess.getSubSystemConfigRule()); }
+ EOF
+;
+
+// Rule SubSystemConfig
+ruleSubSystemConfig
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getSubSystemConfigAccess().getGroup()); }
+(rule__SubSystemConfig__Group__0)
+{ after(grammarAccess.getSubSystemConfigAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleDynamicConfig
+entryRuleDynamicConfig
+:
+{ before(grammarAccess.getDynamicConfigRule()); }
+ ruleDynamicConfig
+{ after(grammarAccess.getDynamicConfigRule()); }
+ EOF
+;
+
+// Rule DynamicConfig
+ruleDynamicConfig
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getDynamicConfigAccess().getGroup()); }
+(rule__DynamicConfig__Group__0)
+{ after(grammarAccess.getDynamicConfigAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleActorClassConfig
+entryRuleActorClassConfig
+:
+{ before(grammarAccess.getActorClassConfigRule()); }
+ ruleActorClassConfig
+{ after(grammarAccess.getActorClassConfigRule()); }
+ EOF
+;
+
+// Rule ActorClassConfig
+ruleActorClassConfig
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getActorClassConfigAccess().getGroup()); }
+(rule__ActorClassConfig__Group__0)
+{ after(grammarAccess.getActorClassConfigAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleActorInstanceConfig
+entryRuleActorInstanceConfig
+:
+{ before(grammarAccess.getActorInstanceConfigRule()); }
+ ruleActorInstanceConfig
+{ after(grammarAccess.getActorInstanceConfigRule()); }
+ EOF
+;
+
+// Rule ActorInstanceConfig
+ruleActorInstanceConfig
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getActorInstanceConfigAccess().getGroup()); }
+(rule__ActorInstanceConfig__Group__0)
+{ after(grammarAccess.getActorInstanceConfigAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleProtocolClassConfig
+entryRuleProtocolClassConfig
+:
+{ before(grammarAccess.getProtocolClassConfigRule()); }
+ ruleProtocolClassConfig
+{ after(grammarAccess.getProtocolClassConfigRule()); }
+ EOF
+;
+
+// Rule ProtocolClassConfig
+ruleProtocolClassConfig
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getProtocolClassConfigAccess().getGroup()); }
+(rule__ProtocolClassConfig__Group__0)
+{ after(grammarAccess.getProtocolClassConfigAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRulePortClassConfig
+entryRulePortClassConfig
+:
+{ before(grammarAccess.getPortClassConfigRule()); }
+ rulePortClassConfig
+{ after(grammarAccess.getPortClassConfigRule()); }
+ EOF
+;
+
+// Rule PortClassConfig
+rulePortClassConfig
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getPortClassConfigAccess().getGroup()); }
+(rule__PortClassConfig__Group__0)
+{ after(grammarAccess.getPortClassConfigAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRulePortInstanceConfig
+entryRulePortInstanceConfig
+:
+{ before(grammarAccess.getPortInstanceConfigRule()); }
+ rulePortInstanceConfig
+{ after(grammarAccess.getPortInstanceConfigRule()); }
+ EOF
+;
+
+// Rule PortInstanceConfig
+rulePortInstanceConfig
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getPortInstanceConfigAccess().getGroup()); }
+(rule__PortInstanceConfig__Group__0)
+{ after(grammarAccess.getPortInstanceConfigAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+// Entry rule entryRuleAttrClassConfig
+entryRuleAttrClassConfig
+:
+{ before(grammarAccess.getAttrClassConfigRule()); }
+ ruleAttrClassConfig
+{ after(grammarAccess.getAttrClassConfigRule()); }
+ EOF
+;
+
+// Rule AttrClassConfig
+ruleAttrClassConfig
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getAttrClassConfigAccess().getGroup()); }
+(rule__AttrClassConfig__Group__0)
+{ after(grammarAccess.getAttrClassConfigAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleAttrInstanceConfig
+entryRuleAttrInstanceConfig
+:
+{ before(grammarAccess.getAttrInstanceConfigRule()); }
+ ruleAttrInstanceConfig
+{ after(grammarAccess.getAttrInstanceConfigRule()); }
+ EOF
+;
+
+// Rule AttrInstanceConfig
+ruleAttrInstanceConfig
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getAttrInstanceConfigAccess().getGroup()); }
+(rule__AttrInstanceConfig__Group__0)
+{ after(grammarAccess.getAttrInstanceConfigAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleRefPath
+entryRuleRefPath
+:
+{ before(grammarAccess.getRefPathRule()); }
+ ruleRefPath
+{ after(grammarAccess.getRefPathRule()); }
+ EOF
+;
+
+// Rule RefPath
+ruleRefPath
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getRefPathAccess().getGroup()); }
+(rule__RefPath__Group__0)
+{ after(grammarAccess.getRefPathAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleImport
+entryRuleImport
+:
+{ before(grammarAccess.getImportRule()); }
+ ruleImport
+{ after(grammarAccess.getImportRule()); }
+ EOF
+;
+
+// Rule Import
+ruleImport
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getImportAccess().getGroup()); }
+(rule__Import__Group__0)
+{ after(grammarAccess.getImportAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleImportedFQN
+entryRuleImportedFQN
+:
+{ before(grammarAccess.getImportedFQNRule()); }
+ ruleImportedFQN
+{ after(grammarAccess.getImportedFQNRule()); }
+ EOF
+;
+
+// Rule ImportedFQN
+ruleImportedFQN
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getImportedFQNAccess().getGroup()); }
+(rule__ImportedFQN__Group__0)
+{ after(grammarAccess.getImportedFQNAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleFQN
+entryRuleFQN
+:
+{ before(grammarAccess.getFQNRule()); }
+ ruleFQN
+{ after(grammarAccess.getFQNRule()); }
+ EOF
+;
+
+// Rule FQN
+ruleFQN
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getFQNAccess().getGroup()); }
+(rule__FQN__Group__0)
+{ after(grammarAccess.getFQNAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleLiteralArray
+entryRuleLiteralArray
+:
+{ before(grammarAccess.getLiteralArrayRule()); }
+ ruleLiteralArray
+{ after(grammarAccess.getLiteralArrayRule()); }
+ EOF
+;
+
+// Rule LiteralArray
+ruleLiteralArray
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getLiteralArrayAccess().getGroup()); }
+(rule__LiteralArray__Group__0)
+{ after(grammarAccess.getLiteralArrayAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleLiteral
+entryRuleLiteral
+:
+{ before(grammarAccess.getLiteralRule()); }
+ ruleLiteral
+{ after(grammarAccess.getLiteralRule()); }
+ EOF
+;
+
+// Rule Literal
+ruleLiteral
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getLiteralAccess().getAlternatives()); }
+(rule__Literal__Alternatives)
+{ after(grammarAccess.getLiteralAccess().getAlternatives()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleBooleanLiteral
+entryRuleBooleanLiteral
+:
+{ before(grammarAccess.getBooleanLiteralRule()); }
+ ruleBooleanLiteral
+{ after(grammarAccess.getBooleanLiteralRule()); }
+ EOF
+;
+
+// Rule BooleanLiteral
+ruleBooleanLiteral
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getBooleanLiteralAccess().getGroup()); }
+(rule__BooleanLiteral__Group__0)
+{ after(grammarAccess.getBooleanLiteralAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleNumberLiteral
+entryRuleNumberLiteral
+:
+{ before(grammarAccess.getNumberLiteralRule()); }
+ ruleNumberLiteral
+{ after(grammarAccess.getNumberLiteralRule()); }
+ EOF
+;
+
+// Rule NumberLiteral
+ruleNumberLiteral
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getNumberLiteralAccess().getAlternatives()); }
+(rule__NumberLiteral__Alternatives)
+{ after(grammarAccess.getNumberLiteralAccess().getAlternatives()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleRealLiteral
+entryRuleRealLiteral
+:
+{ before(grammarAccess.getRealLiteralRule()); }
+ ruleRealLiteral
+{ after(grammarAccess.getRealLiteralRule()); }
+ EOF
+;
+
+// Rule RealLiteral
+ruleRealLiteral
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getRealLiteralAccess().getGroup()); }
+(rule__RealLiteral__Group__0)
+{ after(grammarAccess.getRealLiteralAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleIntLiteral
+entryRuleIntLiteral
+:
+{ before(grammarAccess.getIntLiteralRule()); }
+ ruleIntLiteral
+{ after(grammarAccess.getIntLiteralRule()); }
+ EOF
+;
+
+// Rule IntLiteral
+ruleIntLiteral
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getIntLiteralAccess().getGroup()); }
+(rule__IntLiteral__Group__0)
+{ after(grammarAccess.getIntLiteralAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleStringLiteral
+entryRuleStringLiteral
+:
+{ before(grammarAccess.getStringLiteralRule()); }
+ ruleStringLiteral
+{ after(grammarAccess.getStringLiteralRule()); }
+ EOF
+;
+
+// Rule StringLiteral
+ruleStringLiteral
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getStringLiteralAccess().getGroup()); }
+(rule__StringLiteral__Group__0)
+{ after(grammarAccess.getStringLiteralAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleInteger
+entryRuleInteger
+:
+{ before(grammarAccess.getIntegerRule()); }
+ ruleInteger
+{ after(grammarAccess.getIntegerRule()); }
+ EOF
+;
+
+// Rule Integer
+ruleInteger
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getIntegerAccess().getAlternatives()); }
+(rule__Integer__Alternatives)
+{ after(grammarAccess.getIntegerAccess().getAlternatives()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleSignedInteger
+entryRuleSignedInteger
+@init {
+ HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
+}
+:
+{ before(grammarAccess.getSignedIntegerRule()); }
+ ruleSignedInteger
+{ after(grammarAccess.getSignedIntegerRule()); }
+ EOF
+;
+finally {
+ myHiddenTokenState.restore();
+}
+
+// Rule SignedInteger
+ruleSignedInteger
+ @init {
+ HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getSignedIntegerAccess().getGroup()); }
+(rule__SignedInteger__Group__0)
+{ after(grammarAccess.getSignedIntegerAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+ myHiddenTokenState.restore();
+}
+
+
+
+// Entry rule entryRuleHexadecimal
+entryRuleHexadecimal
+@init {
+ HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
+}
+:
+{ before(grammarAccess.getHexadecimalRule()); }
+ ruleHexadecimal
+{ after(grammarAccess.getHexadecimalRule()); }
+ EOF
+;
+finally {
+ myHiddenTokenState.restore();
+}
+
+// Rule Hexadecimal
+ruleHexadecimal
+ @init {
+ HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getHexadecimalAccess().getHEXTerminalRuleCall()); }
+ RULE_HEX
+{ after(grammarAccess.getHexadecimalAccess().getHEXTerminalRuleCall()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+ myHiddenTokenState.restore();
+}
+
+
+
+// Entry rule entryRuleReal
+entryRuleReal
+:
+{ before(grammarAccess.getRealRule()); }
+ ruleReal
+{ after(grammarAccess.getRealRule()); }
+ EOF
+;
+
+// Rule Real
+ruleReal
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getRealAccess().getAlternatives()); }
+(rule__Real__Alternatives)
+{ after(grammarAccess.getRealAccess().getAlternatives()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleDecimal
+entryRuleDecimal
+@init {
+ HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
+}
+:
+{ before(grammarAccess.getDecimalRule()); }
+ ruleDecimal
+{ after(grammarAccess.getDecimalRule()); }
+ EOF
+;
+finally {
+ myHiddenTokenState.restore();
+}
+
+// Rule Decimal
+ruleDecimal
+ @init {
+ HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getDecimalAccess().getGroup()); }
+(rule__Decimal__Group__0)
+{ after(grammarAccess.getDecimalAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+ myHiddenTokenState.restore();
+}
+
+
+
+// Entry rule entryRuleDotDecimal
+entryRuleDotDecimal
+@init {
+ HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
+}
+:
+{ before(grammarAccess.getDotDecimalRule()); }
+ ruleDotDecimal
+{ after(grammarAccess.getDotDecimalRule()); }
+ EOF
+;
+finally {
+ myHiddenTokenState.restore();
+}
+
+// Rule DotDecimal
+ruleDotDecimal
+ @init {
+ HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getDotDecimalAccess().getGroup()); }
+(rule__DotDecimal__Group__0)
+{ after(grammarAccess.getDotDecimalAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+ myHiddenTokenState.restore();
+}
+
+
+
+// Entry rule entryRuleDecimalDot
+entryRuleDecimalDot
+@init {
+ HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
+}
+:
+{ before(grammarAccess.getDecimalDotRule()); }
+ ruleDecimalDot
+{ after(grammarAccess.getDecimalDotRule()); }
+ EOF
+;
+finally {
+ myHiddenTokenState.restore();
+}
+
+// Rule DecimalDot
+ruleDecimalDot
+ @init {
+ HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getDecimalDotAccess().getGroup()); }
+(rule__DecimalDot__Group__0)
+{ after(grammarAccess.getDecimalDotAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+ myHiddenTokenState.restore();
+}
+
+
+
+// Entry rule entryRuleDecimalExp
+entryRuleDecimalExp
+@init {
+ HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
+}
+:
+{ before(grammarAccess.getDecimalExpRule()); }
+ ruleDecimalExp
+{ after(grammarAccess.getDecimalExpRule()); }
+ EOF
+;
+finally {
+ myHiddenTokenState.restore();
+}
+
+// Rule DecimalExp
+ruleDecimalExp
+ @init {
+ HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getDecimalExpAccess().getGroup()); }
+(rule__DecimalExp__Group__0)
+{ after(grammarAccess.getDecimalExpAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+ myHiddenTokenState.restore();
+}
+
+
+
+
+rule__ConfigElement__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getConfigElementAccess().getSubSystemConfigParserRuleCall_0()); }
+ ruleSubSystemConfig
+{ after(grammarAccess.getConfigElementAccess().getSubSystemConfigParserRuleCall_0()); }
+)
+
+ |(
+{ before(grammarAccess.getConfigElementAccess().getActorClassConfigParserRuleCall_1()); }
+ ruleActorClassConfig
+{ after(grammarAccess.getConfigElementAccess().getActorClassConfigParserRuleCall_1()); }
+)
+
+ |(
+{ before(grammarAccess.getConfigElementAccess().getActorInstanceConfigParserRuleCall_2()); }
+ ruleActorInstanceConfig
+{ after(grammarAccess.getConfigElementAccess().getActorInstanceConfigParserRuleCall_2()); }
+)
+
+ |(
+{ before(grammarAccess.getConfigElementAccess().getProtocolClassConfigParserRuleCall_3()); }
+ ruleProtocolClassConfig
+{ after(grammarAccess.getConfigElementAccess().getProtocolClassConfigParserRuleCall_3()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DynamicConfig__Alternatives_2_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDynamicConfigAccess().getGroup_2_0_0()); }
+(rule__DynamicConfig__Group_2_0_0__0)
+{ after(grammarAccess.getDynamicConfigAccess().getGroup_2_0_0()); }
+)
+
+ |(
+{ before(grammarAccess.getDynamicConfigAccess().getGroup_2_0_1()); }
+(rule__DynamicConfig__Group_2_0_1__0)
+{ after(grammarAccess.getDynamicConfigAccess().getGroup_2_0_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AttrInstanceConfig__Alternatives_3_1_0_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrInstanceConfigAccess().getReadOnlyAssignment_3_1_0_1_0()); }
+(rule__AttrInstanceConfig__ReadOnlyAssignment_3_1_0_1_0)
+{ after(grammarAccess.getAttrInstanceConfigAccess().getReadOnlyAssignment_3_1_0_1_0()); }
+)
+
+ |(
+{ before(grammarAccess.getAttrInstanceConfigAccess().getWriteKeyword_3_1_0_1_1()); }
+
+ 'write'
+
+{ after(grammarAccess.getAttrInstanceConfigAccess().getWriteKeyword_3_1_0_1_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Import__Alternatives_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getImportAccess().getGroup_1_0()); }
+(rule__Import__Group_1_0__0)
+{ after(grammarAccess.getImportAccess().getGroup_1_0()); }
+)
+
+ |(
+{ before(grammarAccess.getImportAccess().getModelKeyword_1_1()); }
+
+ 'model'
+
+{ after(grammarAccess.getImportAccess().getModelKeyword_1_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Literal__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getLiteralAccess().getBooleanLiteralParserRuleCall_0()); }
+ ruleBooleanLiteral
+{ after(grammarAccess.getLiteralAccess().getBooleanLiteralParserRuleCall_0()); }
+)
+
+ |(
+{ before(grammarAccess.getLiteralAccess().getNumberLiteralParserRuleCall_1()); }
+ ruleNumberLiteral
+{ after(grammarAccess.getLiteralAccess().getNumberLiteralParserRuleCall_1()); }
+)
+
+ |(
+{ before(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_2()); }
+ ruleStringLiteral
+{ after(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_2()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BooleanLiteral__Alternatives_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0()); }
+
+ 'false'
+
+{ after(grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0()); }
+)
+
+ |(
+{ before(grammarAccess.getBooleanLiteralAccess().getIsTrueAssignment_1_1()); }
+(rule__BooleanLiteral__IsTrueAssignment_1_1)
+{ after(grammarAccess.getBooleanLiteralAccess().getIsTrueAssignment_1_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__NumberLiteral__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getNumberLiteralAccess().getIntLiteralParserRuleCall_0()); }
+ ruleIntLiteral
+{ after(grammarAccess.getNumberLiteralAccess().getIntLiteralParserRuleCall_0()); }
+)
+
+ |(
+{ before(grammarAccess.getNumberLiteralAccess().getRealLiteralParserRuleCall_1()); }
+ ruleRealLiteral
+{ after(grammarAccess.getNumberLiteralAccess().getRealLiteralParserRuleCall_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Integer__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getIntegerAccess().getSignedIntegerParserRuleCall_0()); }
+ ruleSignedInteger
+{ after(grammarAccess.getIntegerAccess().getSignedIntegerParserRuleCall_0()); }
+)
+
+ |(
+{ before(grammarAccess.getIntegerAccess().getHexadecimalParserRuleCall_1()); }
+ ruleHexadecimal
+{ after(grammarAccess.getIntegerAccess().getHexadecimalParserRuleCall_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__SignedInteger__Alternatives_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getSignedIntegerAccess().getPlusSignKeyword_0_0()); }
+
+ '+'
+
+{ after(grammarAccess.getSignedIntegerAccess().getPlusSignKeyword_0_0()); }
+)
+
+ |(
+{ before(grammarAccess.getSignedIntegerAccess().getHyphenMinusKeyword_0_1()); }
+
+ '-'
+
+{ after(grammarAccess.getSignedIntegerAccess().getHyphenMinusKeyword_0_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Real__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getRealAccess().getDecimalParserRuleCall_0()); }
+ ruleDecimal
+{ after(grammarAccess.getRealAccess().getDecimalParserRuleCall_0()); }
+)
+
+ |(
+{ before(grammarAccess.getRealAccess().getDotDecimalParserRuleCall_1()); }
+ ruleDotDecimal
+{ after(grammarAccess.getRealAccess().getDotDecimalParserRuleCall_1()); }
+)
+
+ |(
+{ before(grammarAccess.getRealAccess().getDecimalDotParserRuleCall_2()); }
+ ruleDecimalDot
+{ after(grammarAccess.getRealAccess().getDecimalDotParserRuleCall_2()); }
+)
+
+ |(
+{ before(grammarAccess.getRealAccess().getDecimalExpParserRuleCall_3()); }
+ ruleDecimalExp
+{ after(grammarAccess.getRealAccess().getDecimalExpParserRuleCall_3()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__Decimal__Alternatives_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDecimalAccess().getPlusSignKeyword_0_0()); }
+
+ '+'
+
+{ after(grammarAccess.getDecimalAccess().getPlusSignKeyword_0_0()); }
+)
+
+ |(
+{ before(grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1()); }
+
+ '-'
+
+{ after(grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DotDecimal__Alternatives_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDotDecimalAccess().getPlusSignKeyword_0_0()); }
+
+ '+'
+
+{ after(grammarAccess.getDotDecimalAccess().getPlusSignKeyword_0_0()); }
+)
+
+ |(
+{ before(grammarAccess.getDotDecimalAccess().getHyphenMinusKeyword_0_1()); }
+
+ '-'
+
+{ after(grammarAccess.getDotDecimalAccess().getHyphenMinusKeyword_0_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DecimalDot__Alternatives_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDecimalDotAccess().getPlusSignKeyword_0_0()); }
+
+ '+'
+
+{ after(grammarAccess.getDecimalDotAccess().getPlusSignKeyword_0_0()); }
+)
+
+ |(
+{ before(grammarAccess.getDecimalDotAccess().getHyphenMinusKeyword_0_1()); }
+
+ '-'
+
+{ after(grammarAccess.getDecimalDotAccess().getHyphenMinusKeyword_0_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DecimalExp__Alternatives_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDecimalExpAccess().getPlusSignKeyword_0_0()); }
+
+ '+'
+
+{ after(grammarAccess.getDecimalExpAccess().getPlusSignKeyword_0_0()); }
+)
+
+ |(
+{ before(grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1()); }
+
+ '-'
+
+{ after(grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+rule__ConfigModel__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ConfigModel__Group__0__Impl
+ rule__ConfigModel__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ConfigModel__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getConfigModelAccess().getImportsAssignment_0()); }
+(rule__ConfigModel__ImportsAssignment_0)*
+{ after(grammarAccess.getConfigModelAccess().getImportsAssignment_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ConfigModel__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ConfigModel__Group__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ConfigModel__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getConfigModelAccess().getConfigElementsAssignment_1()); }
+(rule__ConfigModel__ConfigElementsAssignment_1)*
+{ after(grammarAccess.getConfigModelAccess().getConfigElementsAssignment_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+rule__SubSystemConfig__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__SubSystemConfig__Group__0__Impl
+ rule__SubSystemConfig__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__SubSystemConfig__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getSubSystemConfigAccess().getSubSystemConfigKeyword_0()); }
+
+ 'SubSystemConfig'
+
+{ after(grammarAccess.getSubSystemConfigAccess().getSubSystemConfigKeyword_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__SubSystemConfig__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__SubSystemConfig__Group__1__Impl
+ rule__SubSystemConfig__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__SubSystemConfig__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getSubSystemConfigAccess().getSubSystemAssignment_1()); }
+(rule__SubSystemConfig__SubSystemAssignment_1)
+{ after(grammarAccess.getSubSystemConfigAccess().getSubSystemAssignment_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__SubSystemConfig__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__SubSystemConfig__Group__2__Impl
+ rule__SubSystemConfig__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__SubSystemConfig__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getSubSystemConfigAccess().getLeftCurlyBracketKeyword_2()); }
+
+ '{'
+
+{ after(grammarAccess.getSubSystemConfigAccess().getLeftCurlyBracketKeyword_2()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__SubSystemConfig__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__SubSystemConfig__Group__3__Impl
+ rule__SubSystemConfig__Group__4
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__SubSystemConfig__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getSubSystemConfigAccess().getDynConfigAssignment_3()); }
+(rule__SubSystemConfig__DynConfigAssignment_3)
+{ after(grammarAccess.getSubSystemConfigAccess().getDynConfigAssignment_3()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__SubSystemConfig__Group__4
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__SubSystemConfig__Group__4__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__SubSystemConfig__Group__4__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getSubSystemConfigAccess().getRightCurlyBracketKeyword_4()); }
+
+ '}'
+
+{ after(grammarAccess.getSubSystemConfigAccess().getRightCurlyBracketKeyword_4()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+
+
+
+
+
+
+rule__DynamicConfig__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DynamicConfig__Group__0__Impl
+ rule__DynamicConfig__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DynamicConfig__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDynamicConfigAccess().getDynamicConfigurationKeyword_0()); }
+
+ 'dynamic configuration'
+
+{ after(grammarAccess.getDynamicConfigAccess().getDynamicConfigurationKeyword_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__DynamicConfig__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DynamicConfig__Group__1__Impl
+ rule__DynamicConfig__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DynamicConfig__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDynamicConfigAccess().getLeftCurlyBracketKeyword_1()); }
+
+ '{'
+
+{ after(grammarAccess.getDynamicConfigAccess().getLeftCurlyBracketKeyword_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__DynamicConfig__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DynamicConfig__Group__2__Impl
+ rule__DynamicConfig__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DynamicConfig__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2()); }
+(rule__DynamicConfig__UnorderedGroup_2)
+{ after(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__DynamicConfig__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DynamicConfig__Group__3__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DynamicConfig__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDynamicConfigAccess().getRightCurlyBracketKeyword_3()); }
+
+ '}'
+
+{ after(grammarAccess.getDynamicConfigAccess().getRightCurlyBracketKeyword_3()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+
+
+
+
+rule__DynamicConfig__Group_2_0_0__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DynamicConfig__Group_2_0_0__0__Impl
+ rule__DynamicConfig__Group_2_0_0__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DynamicConfig__Group_2_0_0__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDynamicConfigAccess().getFilePathKeyword_2_0_0_0()); }
+
+ 'file path'
+
+{ after(grammarAccess.getDynamicConfigAccess().getFilePathKeyword_2_0_0_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__DynamicConfig__Group_2_0_0__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DynamicConfig__Group_2_0_0__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DynamicConfig__Group_2_0_0__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDynamicConfigAccess().getFilePathAssignment_2_0_0_1()); }
+(rule__DynamicConfig__FilePathAssignment_2_0_0_1)
+{ after(grammarAccess.getDynamicConfigAccess().getFilePathAssignment_2_0_0_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+rule__DynamicConfig__Group_2_0_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DynamicConfig__Group_2_0_1__0__Impl
+ rule__DynamicConfig__Group_2_0_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DynamicConfig__Group_2_0_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDynamicConfigAccess().getGroup_2_0_1_0()); }
+(rule__DynamicConfig__Group_2_0_1_0__0)
+{ after(grammarAccess.getDynamicConfigAccess().getGroup_2_0_1_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__DynamicConfig__Group_2_0_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DynamicConfig__Group_2_0_1__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DynamicConfig__Group_2_0_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDynamicConfigAccess().getGroup_2_0_1_1()); }
+(rule__DynamicConfig__Group_2_0_1_1__0)
+{ after(grammarAccess.getDynamicConfigAccess().getGroup_2_0_1_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+rule__DynamicConfig__Group_2_0_1_0__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DynamicConfig__Group_2_0_1_0__0__Impl
+ rule__DynamicConfig__Group_2_0_1_0__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DynamicConfig__Group_2_0_1_0__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDynamicConfigAccess().getUserImportKeyword_2_0_1_0_0()); }
+
+ 'user import'
+
+{ after(grammarAccess.getDynamicConfigAccess().getUserImportKeyword_2_0_1_0_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__DynamicConfig__Group_2_0_1_0__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DynamicConfig__Group_2_0_1_0__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DynamicConfig__Group_2_0_1_0__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDynamicConfigAccess().getUserCode1Assignment_2_0_1_0_1()); }
+(rule__DynamicConfig__UserCode1Assignment_2_0_1_0_1)
+{ after(grammarAccess.getDynamicConfigAccess().getUserCode1Assignment_2_0_1_0_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+rule__DynamicConfig__Group_2_0_1_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DynamicConfig__Group_2_0_1_1__0__Impl
+ rule__DynamicConfig__Group_2_0_1_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DynamicConfig__Group_2_0_1_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDynamicConfigAccess().getUserConstructorKeyword_2_0_1_1_0()); }
+
+ 'user constructor'
+
+{ after(grammarAccess.getDynamicConfigAccess().getUserConstructorKeyword_2_0_1_1_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__DynamicConfig__Group_2_0_1_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DynamicConfig__Group_2_0_1_1__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DynamicConfig__Group_2_0_1_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDynamicConfigAccess().getUserCode2Assignment_2_0_1_1_1()); }
+(rule__DynamicConfig__UserCode2Assignment_2_0_1_1_1)
+{ after(grammarAccess.getDynamicConfigAccess().getUserCode2Assignment_2_0_1_1_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+rule__DynamicConfig__Group_2_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DynamicConfig__Group_2_1__0__Impl
+ rule__DynamicConfig__Group_2_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DynamicConfig__Group_2_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDynamicConfigAccess().getPollingTimerMsKeyword_2_1_0()); }
+
+ 'polling timer [ms]'
+
+{ after(grammarAccess.getDynamicConfigAccess().getPollingTimerMsKeyword_2_1_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__DynamicConfig__Group_2_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DynamicConfig__Group_2_1__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DynamicConfig__Group_2_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDynamicConfigAccess().getPollingAssignment_2_1_1()); }
+(rule__DynamicConfig__PollingAssignment_2_1_1)
+{ after(grammarAccess.getDynamicConfigAccess().getPollingAssignment_2_1_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+rule__ActorClassConfig__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ActorClassConfig__Group__0__Impl
+ rule__ActorClassConfig__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ActorClassConfig__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getActorClassConfigAccess().getActorClassConfigKeyword_0()); }
+
+ 'ActorClassConfig'
+
+{ after(grammarAccess.getActorClassConfigAccess().getActorClassConfigKeyword_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ActorClassConfig__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ActorClassConfig__Group__1__Impl
+ rule__ActorClassConfig__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ActorClassConfig__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getActorClassConfigAccess().getActorAssignment_1()); }
+(rule__ActorClassConfig__ActorAssignment_1)
+{ after(grammarAccess.getActorClassConfigAccess().getActorAssignment_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ActorClassConfig__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ActorClassConfig__Group__2__Impl
+ rule__ActorClassConfig__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ActorClassConfig__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getActorClassConfigAccess().getLeftCurlyBracketKeyword_2()); }
+
+ '{'
+
+{ after(grammarAccess.getActorClassConfigAccess().getLeftCurlyBracketKeyword_2()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ActorClassConfig__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ActorClassConfig__Group__3__Impl
+ rule__ActorClassConfig__Group__4
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ActorClassConfig__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getActorClassConfigAccess().getAttributesAssignment_3()); }
+(rule__ActorClassConfig__AttributesAssignment_3)*
+{ after(grammarAccess.getActorClassConfigAccess().getAttributesAssignment_3()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ActorClassConfig__Group__4
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ActorClassConfig__Group__4__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ActorClassConfig__Group__4__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getActorClassConfigAccess().getRightCurlyBracketKeyword_4()); }
+
+ '}'
+
+{ after(grammarAccess.getActorClassConfigAccess().getRightCurlyBracketKeyword_4()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+
+
+
+
+
+
+rule__ActorInstanceConfig__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ActorInstanceConfig__Group__0__Impl
+ rule__ActorInstanceConfig__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ActorInstanceConfig__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getActorInstanceConfigAccess().getActorInstanceConfigKeyword_0()); }
+
+ 'ActorInstanceConfig'
+
+{ after(grammarAccess.getActorInstanceConfigAccess().getActorInstanceConfigKeyword_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ActorInstanceConfig__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ActorInstanceConfig__Group__1__Impl
+ rule__ActorInstanceConfig__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ActorInstanceConfig__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getActorInstanceConfigAccess().getRootAssignment_1()); }
+(rule__ActorInstanceConfig__RootAssignment_1)
+{ after(grammarAccess.getActorInstanceConfigAccess().getRootAssignment_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ActorInstanceConfig__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ActorInstanceConfig__Group__2__Impl
+ rule__ActorInstanceConfig__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ActorInstanceConfig__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getActorInstanceConfigAccess().getSolidusKeyword_2()); }
+
+ '/'
+
+{ after(grammarAccess.getActorInstanceConfigAccess().getSolidusKeyword_2()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ActorInstanceConfig__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ActorInstanceConfig__Group__3__Impl
+ rule__ActorInstanceConfig__Group__4
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ActorInstanceConfig__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getActorInstanceConfigAccess().getPathAssignment_3()); }
+(rule__ActorInstanceConfig__PathAssignment_3)
+{ after(grammarAccess.getActorInstanceConfigAccess().getPathAssignment_3()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ActorInstanceConfig__Group__4
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ActorInstanceConfig__Group__4__Impl
+ rule__ActorInstanceConfig__Group__5
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ActorInstanceConfig__Group__4__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getActorInstanceConfigAccess().getLeftCurlyBracketKeyword_4()); }
+
+ '{'
+
+{ after(grammarAccess.getActorInstanceConfigAccess().getLeftCurlyBracketKeyword_4()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ActorInstanceConfig__Group__5
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ActorInstanceConfig__Group__5__Impl
+ rule__ActorInstanceConfig__Group__6
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ActorInstanceConfig__Group__5__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5()); }
+(rule__ActorInstanceConfig__UnorderedGroup_5)
+{ after(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ActorInstanceConfig__Group__6
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ActorInstanceConfig__Group__6__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ActorInstanceConfig__Group__6__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getActorInstanceConfigAccess().getRightCurlyBracketKeyword_6()); }
+
+ '}'
+
+{ after(grammarAccess.getActorInstanceConfigAccess().getRightCurlyBracketKeyword_6()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+rule__ProtocolClassConfig__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ProtocolClassConfig__Group__0__Impl
+ rule__ProtocolClassConfig__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ProtocolClassConfig__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getProtocolClassConfigAccess().getProtocolClassConfigKeyword_0()); }
+
+ 'ProtocolClassConfig'
+
+{ after(grammarAccess.getProtocolClassConfigAccess().getProtocolClassConfigKeyword_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ProtocolClassConfig__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ProtocolClassConfig__Group__1__Impl
+ rule__ProtocolClassConfig__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ProtocolClassConfig__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getProtocolClassConfigAccess().getProtocolAssignment_1()); }
+(rule__ProtocolClassConfig__ProtocolAssignment_1)
+{ after(grammarAccess.getProtocolClassConfigAccess().getProtocolAssignment_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ProtocolClassConfig__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ProtocolClassConfig__Group__2__Impl
+ rule__ProtocolClassConfig__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ProtocolClassConfig__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getProtocolClassConfigAccess().getLeftCurlyBracketKeyword_2()); }
+
+ '{'
+
+{ after(grammarAccess.getProtocolClassConfigAccess().getLeftCurlyBracketKeyword_2()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ProtocolClassConfig__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ProtocolClassConfig__Group__3__Impl
+ rule__ProtocolClassConfig__Group__4
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ProtocolClassConfig__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3()); }
+(rule__ProtocolClassConfig__UnorderedGroup_3)
+{ after(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ProtocolClassConfig__Group__4
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ProtocolClassConfig__Group__4__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ProtocolClassConfig__Group__4__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getProtocolClassConfigAccess().getRightCurlyBracketKeyword_4()); }
+
+ '}'
+
+{ after(grammarAccess.getProtocolClassConfigAccess().getRightCurlyBracketKeyword_4()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+
+
+
+
+
+
+rule__ProtocolClassConfig__Group_3_0__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ProtocolClassConfig__Group_3_0__0__Impl
+ rule__ProtocolClassConfig__Group_3_0__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ProtocolClassConfig__Group_3_0__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getProtocolClassConfigAccess().getRegularKeyword_3_0_0()); }
+
+ 'regular'
+
+{ after(grammarAccess.getProtocolClassConfigAccess().getRegularKeyword_3_0_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ProtocolClassConfig__Group_3_0__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ProtocolClassConfig__Group_3_0__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ProtocolClassConfig__Group_3_0__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getProtocolClassConfigAccess().getRegularAssignment_3_0_1()); }
+(rule__ProtocolClassConfig__RegularAssignment_3_0_1)
+{ after(grammarAccess.getProtocolClassConfigAccess().getRegularAssignment_3_0_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+rule__ProtocolClassConfig__Group_3_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ProtocolClassConfig__Group_3_1__0__Impl
+ rule__ProtocolClassConfig__Group_3_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ProtocolClassConfig__Group_3_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getProtocolClassConfigAccess().getConjugateKeyword_3_1_0()); }
+
+ 'conjugate'
+
+{ after(grammarAccess.getProtocolClassConfigAccess().getConjugateKeyword_3_1_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ProtocolClassConfig__Group_3_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ProtocolClassConfig__Group_3_1__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ProtocolClassConfig__Group_3_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getProtocolClassConfigAccess().getConjugatedAssignment_3_1_1()); }
+(rule__ProtocolClassConfig__ConjugatedAssignment_3_1_1)
+{ after(grammarAccess.getProtocolClassConfigAccess().getConjugatedAssignment_3_1_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+rule__PortClassConfig__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PortClassConfig__Group__0__Impl
+ rule__PortClassConfig__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PortClassConfig__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPortClassConfigAccess().getPortClassConfigAction_0()); }
+(
+
+)
+{ after(grammarAccess.getPortClassConfigAccess().getPortClassConfigAction_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__PortClassConfig__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PortClassConfig__Group__1__Impl
+ rule__PortClassConfig__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PortClassConfig__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPortClassConfigAccess().getPortKeyword_1()); }
+
+ 'Port'
+
+{ after(grammarAccess.getPortClassConfigAccess().getPortKeyword_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__PortClassConfig__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PortClassConfig__Group__2__Impl
+ rule__PortClassConfig__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PortClassConfig__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPortClassConfigAccess().getLeftCurlyBracketKeyword_2()); }
+
+ '{'
+
+{ after(grammarAccess.getPortClassConfigAccess().getLeftCurlyBracketKeyword_2()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__PortClassConfig__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PortClassConfig__Group__3__Impl
+ rule__PortClassConfig__Group__4
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PortClassConfig__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPortClassConfigAccess().getAttributesAssignment_3()); }
+(rule__PortClassConfig__AttributesAssignment_3)*
+{ after(grammarAccess.getPortClassConfigAccess().getAttributesAssignment_3()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__PortClassConfig__Group__4
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PortClassConfig__Group__4__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PortClassConfig__Group__4__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPortClassConfigAccess().getRightCurlyBracketKeyword_4()); }
+
+ '}'
+
+{ after(grammarAccess.getPortClassConfigAccess().getRightCurlyBracketKeyword_4()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+
+
+
+
+
+
+rule__PortInstanceConfig__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PortInstanceConfig__Group__0__Impl
+ rule__PortInstanceConfig__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PortInstanceConfig__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPortInstanceConfigAccess().getInterfaceItemKeyword_0()); }
+
+ 'InterfaceItem'
+
+{ after(grammarAccess.getPortInstanceConfigAccess().getInterfaceItemKeyword_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__PortInstanceConfig__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PortInstanceConfig__Group__1__Impl
+ rule__PortInstanceConfig__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PortInstanceConfig__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPortInstanceConfigAccess().getItemAssignment_1()); }
+(rule__PortInstanceConfig__ItemAssignment_1)
+{ after(grammarAccess.getPortInstanceConfigAccess().getItemAssignment_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__PortInstanceConfig__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PortInstanceConfig__Group__2__Impl
+ rule__PortInstanceConfig__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PortInstanceConfig__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPortInstanceConfigAccess().getLeftCurlyBracketKeyword_2()); }
+
+ '{'
+
+{ after(grammarAccess.getPortInstanceConfigAccess().getLeftCurlyBracketKeyword_2()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__PortInstanceConfig__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PortInstanceConfig__Group__3__Impl
+ rule__PortInstanceConfig__Group__4
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PortInstanceConfig__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPortInstanceConfigAccess().getAttributesAssignment_3()); }
+(rule__PortInstanceConfig__AttributesAssignment_3)*
+{ after(grammarAccess.getPortInstanceConfigAccess().getAttributesAssignment_3()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__PortInstanceConfig__Group__4
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PortInstanceConfig__Group__4__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PortInstanceConfig__Group__4__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPortInstanceConfigAccess().getRightCurlyBracketKeyword_4()); }
+
+ '}'
+
+{ after(grammarAccess.getPortInstanceConfigAccess().getRightCurlyBracketKeyword_4()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+
+
+
+
+
+
+rule__AttrClassConfig__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrClassConfig__Group__0__Impl
+ rule__AttrClassConfig__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrClassConfig__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrClassConfigAccess().getAttrKeyword_0()); }
+
+ 'Attr'
+
+{ after(grammarAccess.getAttrClassConfigAccess().getAttrKeyword_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AttrClassConfig__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrClassConfig__Group__1__Impl
+ rule__AttrClassConfig__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrClassConfig__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrClassConfigAccess().getAttributeAssignment_1()); }
+(rule__AttrClassConfig__AttributeAssignment_1)
+{ after(grammarAccess.getAttrClassConfigAccess().getAttributeAssignment_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AttrClassConfig__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrClassConfig__Group__2__Impl
+ rule__AttrClassConfig__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrClassConfig__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrClassConfigAccess().getGroup_2()); }
+(rule__AttrClassConfig__Group_2__0)?
+{ after(grammarAccess.getAttrClassConfigAccess().getGroup_2()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AttrClassConfig__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrClassConfig__Group__3__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrClassConfig__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrClassConfigAccess().getGroup_3()); }
+(rule__AttrClassConfig__Group_3__0)?
+{ after(grammarAccess.getAttrClassConfigAccess().getGroup_3()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+
+
+
+
+rule__AttrClassConfig__Group_2__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrClassConfig__Group_2__0__Impl
+ rule__AttrClassConfig__Group_2__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrClassConfig__Group_2__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_2_0()); }
+
+ '='
+
+{ after(grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_2_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AttrClassConfig__Group_2__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrClassConfig__Group_2__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrClassConfig__Group_2__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrClassConfigAccess().getValueAssignment_2_1()); }
+(rule__AttrClassConfig__ValueAssignment_2_1)
+{ after(grammarAccess.getAttrClassConfigAccess().getValueAssignment_2_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+rule__AttrClassConfig__Group_3__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrClassConfig__Group_3__0__Impl
+ rule__AttrClassConfig__Group_3__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrClassConfig__Group_3__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrClassConfigAccess().getLeftCurlyBracketKeyword_3_0()); }
+
+ '{'
+
+{ after(grammarAccess.getAttrClassConfigAccess().getLeftCurlyBracketKeyword_3_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AttrClassConfig__Group_3__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrClassConfig__Group_3__1__Impl
+ rule__AttrClassConfig__Group_3__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrClassConfig__Group_3__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrClassConfigAccess().getGroup_3_1()); }
+(rule__AttrClassConfig__Group_3_1__0)
+{ after(grammarAccess.getAttrClassConfigAccess().getGroup_3_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AttrClassConfig__Group_3__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrClassConfig__Group_3__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrClassConfig__Group_3__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrClassConfigAccess().getRightCurlyBracketKeyword_3_2()); }
+
+ '}'
+
+{ after(grammarAccess.getAttrClassConfigAccess().getRightCurlyBracketKeyword_3_2()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+
+
+rule__AttrClassConfig__Group_3_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrClassConfig__Group_3_1__0__Impl
+ rule__AttrClassConfig__Group_3_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrClassConfig__Group_3_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrClassConfigAccess().getGroup_3_1_0()); }
+(rule__AttrClassConfig__Group_3_1_0__0)?
+{ after(grammarAccess.getAttrClassConfigAccess().getGroup_3_1_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AttrClassConfig__Group_3_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrClassConfig__Group_3_1__1__Impl
+ rule__AttrClassConfig__Group_3_1__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrClassConfig__Group_3_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrClassConfigAccess().getGroup_3_1_1()); }
+(rule__AttrClassConfig__Group_3_1_1__0)?
+{ after(grammarAccess.getAttrClassConfigAccess().getGroup_3_1_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AttrClassConfig__Group_3_1__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrClassConfig__Group_3_1__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrClassConfig__Group_3_1__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrClassConfigAccess().getAttributesAssignment_3_1_2()); }
+(rule__AttrClassConfig__AttributesAssignment_3_1_2)*
+{ after(grammarAccess.getAttrClassConfigAccess().getAttributesAssignment_3_1_2()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+
+
+rule__AttrClassConfig__Group_3_1_0__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrClassConfig__Group_3_1_0__0__Impl
+ rule__AttrClassConfig__Group_3_1_0__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrClassConfig__Group_3_1_0__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrClassConfigAccess().getMinKeyword_3_1_0_0()); }
+
+ 'min'
+
+{ after(grammarAccess.getAttrClassConfigAccess().getMinKeyword_3_1_0_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AttrClassConfig__Group_3_1_0__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrClassConfig__Group_3_1_0__1__Impl
+ rule__AttrClassConfig__Group_3_1_0__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrClassConfig__Group_3_1_0__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_3_1_0_1()); }
+
+ '='
+
+{ after(grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_3_1_0_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AttrClassConfig__Group_3_1_0__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrClassConfig__Group_3_1_0__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrClassConfig__Group_3_1_0__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrClassConfigAccess().getMinAssignment_3_1_0_2()); }
+(rule__AttrClassConfig__MinAssignment_3_1_0_2)
+{ after(grammarAccess.getAttrClassConfigAccess().getMinAssignment_3_1_0_2()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+
+
+rule__AttrClassConfig__Group_3_1_1__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrClassConfig__Group_3_1_1__0__Impl
+ rule__AttrClassConfig__Group_3_1_1__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrClassConfig__Group_3_1_1__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrClassConfigAccess().getMaxKeyword_3_1_1_0()); }
+
+ 'max'
+
+{ after(grammarAccess.getAttrClassConfigAccess().getMaxKeyword_3_1_1_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AttrClassConfig__Group_3_1_1__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrClassConfig__Group_3_1_1__1__Impl
+ rule__AttrClassConfig__Group_3_1_1__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrClassConfig__Group_3_1_1__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_3_1_1_1()); }
+
+ '='
+
+{ after(grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_3_1_1_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AttrClassConfig__Group_3_1_1__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrClassConfig__Group_3_1_1__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrClassConfig__Group_3_1_1__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrClassConfigAccess().getMaxAssignment_3_1_1_2()); }
+(rule__AttrClassConfig__MaxAssignment_3_1_1_2)
+{ after(grammarAccess.getAttrClassConfigAccess().getMaxAssignment_3_1_1_2()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+
+
+rule__AttrInstanceConfig__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrInstanceConfig__Group__0__Impl
+ rule__AttrInstanceConfig__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrInstanceConfig__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrInstanceConfigAccess().getAttrKeyword_0()); }
+
+ 'Attr'
+
+{ after(grammarAccess.getAttrInstanceConfigAccess().getAttrKeyword_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AttrInstanceConfig__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrInstanceConfig__Group__1__Impl
+ rule__AttrInstanceConfig__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrInstanceConfig__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrInstanceConfigAccess().getAttributeAssignment_1()); }
+(rule__AttrInstanceConfig__AttributeAssignment_1)
+{ after(grammarAccess.getAttrInstanceConfigAccess().getAttributeAssignment_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AttrInstanceConfig__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrInstanceConfig__Group__2__Impl
+ rule__AttrInstanceConfig__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrInstanceConfig__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrInstanceConfigAccess().getGroup_2()); }
+(rule__AttrInstanceConfig__Group_2__0)?
+{ after(grammarAccess.getAttrInstanceConfigAccess().getGroup_2()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AttrInstanceConfig__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrInstanceConfig__Group__3__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrInstanceConfig__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrInstanceConfigAccess().getGroup_3()); }
+(rule__AttrInstanceConfig__Group_3__0)?
+{ after(grammarAccess.getAttrInstanceConfigAccess().getGroup_3()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+
+
+
+
+rule__AttrInstanceConfig__Group_2__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrInstanceConfig__Group_2__0__Impl
+ rule__AttrInstanceConfig__Group_2__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrInstanceConfig__Group_2__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrInstanceConfigAccess().getEqualsSignKeyword_2_0()); }
+
+ '='
+
+{ after(grammarAccess.getAttrInstanceConfigAccess().getEqualsSignKeyword_2_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__AttrInstanceConfig__Group_2__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__AttrInstanceConfig__Group_2__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__AttrInstanceConfig__Group_2__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getAttrInstanceConfigAccess().getValueAssignment_2_1()); }
+(rule__AttrInstanceConfig__ValueAssignment_2_1)
+{ after(grammarAccess.getAttrInstanceConfigAccess().getValueAssignment_2_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+