Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g')
-rw-r--r--plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g33
1 files changed, 27 insertions, 6 deletions
diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g
index 68bd38f3a..7946b8e17 100644
--- a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g
+++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g
@@ -935,17 +935,17 @@ ruleDetailCode returns [EObject current=null]
@init { enterRule();
}
@after { leaveRule(); }:
-((
+(((
{
$current = forceCreateModelElement(
- grammarAccess.getDetailCodeAccess().getDetailCodeAction_0(),
+ grammarAccess.getDetailCodeAccess().getDetailCodeAction_0_0(),
$current);
}
-)(
+)((
(
lv_used_1_0= '{'
{
- newLeafNode(lv_used_1_0, grammarAccess.getDetailCodeAccess().getUsedLeftCurlyBracketKeyword_1_0());
+ newLeafNode(lv_used_1_0, grammarAccess.getDetailCodeAccess().getUsedLeftCurlyBracketKeyword_0_1_0_0());
}
{
@@ -960,7 +960,7 @@ ruleDetailCode returns [EObject current=null]
(
lv_lines_2_0=RULE_STRING
{
- newLeafNode(lv_lines_2_0, grammarAccess.getDetailCodeAccess().getLinesSTRINGTerminalRuleCall_2_0());
+ newLeafNode(lv_lines_2_0, grammarAccess.getDetailCodeAccess().getLinesSTRINGTerminalRuleCall_0_1_1_0());
}
{
if ($current==null) {
@@ -976,9 +976,28 @@ ruleDetailCode returns [EObject current=null]
)
)* otherlv_3='}'
{
- newLeafNode(otherlv_3, grammarAccess.getDetailCodeAccess().getRightCurlyBracketKeyword_3());
+ newLeafNode(otherlv_3, grammarAccess.getDetailCodeAccess().getRightCurlyBracketKeyword_0_1_2());
}
+))
+ |(
+(
+ lv_lines_4_0=RULE_CC_STRING
+ {
+ newLeafNode(lv_lines_4_0, grammarAccess.getDetailCodeAccess().getLinesCC_STRINGTerminalRuleCall_1_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getDetailCodeRule());
+ }
+ addWithLastConsumed(
+ $current,
+ "lines",
+ lv_lines_4_0,
+ "org.eclipse.etrice.core.common.Base.CC_STRING");
+ }
+
)
+)?)
;
@@ -3950,6 +3969,8 @@ ruleLiteralType returns [Enumerator current=null]
RULE_HEX : ('0x'|'0X') ('0'..'9'|'a'..'f'|'A'..'F')+;
+RULE_CC_STRING : '\'\'\'' ( options {greedy=false;} : . )*'\'\'\'';
+
RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
RULE_INT : ('0'..'9')+;

Back to the top