Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalRoom.g')
-rw-r--r--plugins/org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalRoom.g198
1 files changed, 56 insertions, 142 deletions
diff --git a/plugins/org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalRoom.g b/plugins/org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalRoom.g
index 1b5bb19da..8c77e2c9f 100644
--- a/plugins/org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalRoom.g
+++ b/plugins/org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalRoom.g
@@ -158,179 +158,95 @@ ruleRoomModel returns [EObject current=null]
}
)
-)*((
+)*(
(
{
- newCompositeNode(grammarAccess.getRoomModelAccess().getPrimitiveTypesPrimitiveTypeParserRuleCall_6_0_0());
+ newCompositeNode(grammarAccess.getRoomModelAccess().getAnnotationTypesAnnotationTypeParserRuleCall_6_0());
}
- lv_primitiveTypes_6_0=rulePrimitiveType {
+ lv_annotationTypes_6_0=ruleAnnotationType {
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getRoomModelRule());
}
add(
$current,
- "primitiveTypes",
- lv_primitiveTypes_6_0,
- "org.eclipse.etrice.core.Room.PrimitiveType");
+ "annotationTypes",
+ lv_annotationTypes_6_0,
+ "org.eclipse.etrice.core.common.Base.AnnotationType");
afterParserOrEnumRuleCall();
}
)
-)
- |(
+)*(
(
{
- newCompositeNode(grammarAccess.getRoomModelAccess().getEnumerationTypesEnumerationTypeParserRuleCall_6_1_0());
+ newCompositeNode(grammarAccess.getRoomModelAccess().getRoomClassesRoomClassParserRuleCall_7_0());
}
- lv_enumerationTypes_7_0=ruleEnumerationType {
+ lv_roomClasses_7_0=ruleRoomClass {
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getRoomModelRule());
}
add(
$current,
- "enumerationTypes",
- lv_enumerationTypes_7_0,
- "org.eclipse.etrice.core.Room.EnumerationType");
+ "roomClasses",
+ lv_roomClasses_7_0,
+ "org.eclipse.etrice.core.Room.RoomClass");
afterParserOrEnumRuleCall();
}
)
+)* otherlv_8='}'
+ {
+ newLeafNode(otherlv_8, grammarAccess.getRoomModelAccess().getRightCurlyBracketKeyword_8());
+ }
)
- |(
-(
- {
- newCompositeNode(grammarAccess.getRoomModelAccess().getExternalTypesExternalTypeParserRuleCall_6_2_0());
- }
- lv_externalTypes_8_0=ruleExternalType {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getRoomModelRule());
- }
- add(
- $current,
- "externalTypes",
- lv_externalTypes_8_0,
- "org.eclipse.etrice.core.Room.ExternalType");
- afterParserOrEnumRuleCall();
- }
+;
-)
-)
- |(
-(
- {
- newCompositeNode(grammarAccess.getRoomModelAccess().getDataClassesDataClassParserRuleCall_6_3_0());
- }
- lv_dataClasses_9_0=ruleDataClass {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getRoomModelRule());
- }
- add(
- $current,
- "dataClasses",
- lv_dataClasses_9_0,
- "org.eclipse.etrice.core.Room.DataClass");
- afterParserOrEnumRuleCall();
- }
-)
-)
- |(
-(
- {
- newCompositeNode(grammarAccess.getRoomModelAccess().getProtocolClassesGeneralProtocolClassParserRuleCall_6_4_0());
- }
- lv_protocolClasses_10_0=ruleGeneralProtocolClass {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getRoomModelRule());
- }
- add(
- $current,
- "protocolClasses",
- lv_protocolClasses_10_0,
- "org.eclipse.etrice.core.Room.GeneralProtocolClass");
- afterParserOrEnumRuleCall();
- }
-)
-)
- |(
-(
- {
- newCompositeNode(grammarAccess.getRoomModelAccess().getActorClassesActorClassParserRuleCall_6_5_0());
- }
- lv_actorClasses_11_0=ruleActorClass {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getRoomModelRule());
- }
- add(
- $current,
- "actorClasses",
- lv_actorClasses_11_0,
- "org.eclipse.etrice.core.Room.ActorClass");
- afterParserOrEnumRuleCall();
- }
-)
-)
- |(
-(
- {
- newCompositeNode(grammarAccess.getRoomModelAccess().getSubSystemClassesSubSystemClassParserRuleCall_6_6_0());
- }
- lv_subSystemClasses_12_0=ruleSubSystemClass {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getRoomModelRule());
- }
- add(
- $current,
- "subSystemClasses",
- lv_subSystemClasses_12_0,
- "org.eclipse.etrice.core.Room.SubSystemClass");
- afterParserOrEnumRuleCall();
- }
-)
-)
- |(
-(
- {
- newCompositeNode(grammarAccess.getRoomModelAccess().getSystemsLogicalSystemParserRuleCall_6_7_0());
- }
- lv_systems_13_0=ruleLogicalSystem {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getRoomModelRule());
- }
- add(
- $current,
- "systems",
- lv_systems_13_0,
- "org.eclipse.etrice.core.Room.LogicalSystem");
- afterParserOrEnumRuleCall();
- }
+// Entry rule entryRuleRoomClass
+entryRuleRoomClass returns [EObject current=null]
+ :
+ { newCompositeNode(grammarAccess.getRoomClassRule()); }
+ iv_ruleRoomClass=ruleRoomClass
+ { $current=$iv_ruleRoomClass.current; }
+ EOF
+;
-)
-)
- |(
+// Rule RoomClass
+ruleRoomClass returns [EObject current=null]
+ @init { enterRule();
+ }
+ @after { leaveRule(); }:
(
- {
- newCompositeNode(grammarAccess.getRoomModelAccess().getAnnotationTypesAnnotationTypeParserRuleCall_6_8_0());
- }
- lv_annotationTypes_14_0=ruleAnnotationType {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getRoomModelRule());
- }
- add(
- $current,
- "annotationTypes",
- lv_annotationTypes_14_0,
- "org.eclipse.etrice.core.common.Base.AnnotationType");
- afterParserOrEnumRuleCall();
- }
+ {
+ newCompositeNode(grammarAccess.getRoomClassAccess().getDataTypeParserRuleCall_0());
+ }
+ this_DataType_0=ruleDataType
+ {
+ $current = $this_DataType_0.current;
+ afterParserOrEnumRuleCall();
+ }
-)
-))* otherlv_15='}'
- {
- newLeafNode(otherlv_15, grammarAccess.getRoomModelAccess().getRightCurlyBracketKeyword_7());
+ |
+ {
+ newCompositeNode(grammarAccess.getRoomClassAccess().getGeneralProtocolClassParserRuleCall_1());
+ }
+ this_GeneralProtocolClass_1=ruleGeneralProtocolClass
+ {
+ $current = $this_GeneralProtocolClass_1.current;
+ afterParserOrEnumRuleCall();
+ }
+
+ |
+ {
+ newCompositeNode(grammarAccess.getRoomClassAccess().getStructureClassParserRuleCall_2());
+ }
+ this_StructureClass_2=ruleStructureClass
+ {
+ $current = $this_StructureClass_2.current;
+ afterParserOrEnumRuleCall();
}
)
;
@@ -339,8 +255,6 @@ ruleRoomModel returns [EObject current=null]
-
-
// Entry rule entryRuleStructureClass
entryRuleStructureClass returns [EObject current=null]
:

Back to the top