4 grammar InternalEditor;
7 superClass=AbstractInternalAntlrParser;
12 package org.opendaylight.nemo.tool.eclipse.plugin.parser.antlr.internal;
14 // Hack: Use our own Lexer superclass by means of import.
15 // Currently there is no other way to specify the superclass for the lexer.
16 import org.eclipse.xtext.parser.antlr.Lexer;
20 package org.opendaylight.nemo.tool.eclipse.plugin.parser.antlr.internal;
22 import org.eclipse.xtext.*;
23 import org.eclipse.xtext.parser.*;
24 import org.eclipse.xtext.parser.impl.*;
25 import org.eclipse.emf.ecore.util.EcoreUtil;
26 import org.eclipse.emf.ecore.EObject;
27 import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
28 import org.eclipse.xtext.parser.antlr.XtextTokenStream;
29 import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
30 import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
31 import org.opendaylight.nemo.tool.eclipse.plugin.services.EditorGrammarAccess;
37 private EditorGrammarAccess grammarAccess;
39 public InternalEditorParser(TokenStream input, EditorGrammarAccess grammarAccess) {
41 this.grammarAccess = grammarAccess;
42 registerRules(grammarAccess.getGrammar());
46 protected String getFirstRuleName() {
51 protected EditorGrammarAccess getGrammarAccess() {
57 catch (RecognitionException re) {
59 appendSkippedTokens();
66 // Entry rule entryRuleModel
67 entryRuleModel returns [EObject current=null]
69 { newCompositeNode(grammarAccess.getModelRule()); }
70 iv_ruleModel=ruleModel
71 { $current=$iv_ruleModel.current; }
76 ruleModel returns [EObject current=null]
79 @after { leaveRule(); }:
83 newCompositeNode(grammarAccess.getModelAccess().getSentencesSentenceParserRuleCall_0());
85 lv_sentences_0_0=ruleSentence {
87 $current = createModelElementForParent(grammarAccess.getModelRule());
94 afterParserOrEnumRuleCall();
105 // Entry rule entryRuleSentence
106 entryRuleSentence returns [EObject current=null]
108 { newCompositeNode(grammarAccess.getSentenceRule()); }
109 iv_ruleSentence=ruleSentence
110 { $current=$iv_ruleSentence.current; }
115 ruleSentence returns [EObject current=null]
118 @after { leaveRule(); }:
121 newCompositeNode(grammarAccess.getSentenceAccess().getSenEnginesParserRuleCall_0());
125 afterParserOrEnumRuleCall();
130 newCompositeNode(grammarAccess.getSentenceAccess().getUserParserRuleCall_1());
134 afterParserOrEnumRuleCall();
139 newCompositeNode(grammarAccess.getSentenceAccess().getNodeParserRuleCall_2());
143 $current = $this_Node_2.current;
144 afterParserOrEnumRuleCall();
149 newCompositeNode(grammarAccess.getSentenceAccess().getNodeOperatingParserRuleCall_3());
151 this_NodeOperating_3=ruleNodeOperating
153 $current = $this_NodeOperating_3.current;
154 afterParserOrEnumRuleCall();
159 newCompositeNode(grammarAccess.getSentenceAccess().getConnectionParserRuleCall_4());
161 this_Connection_4=ruleConnection
163 $current = $this_Connection_4.current;
164 afterParserOrEnumRuleCall();
169 newCompositeNode(grammarAccess.getSentenceAccess().getConnectionUpdateParserRuleCall_5());
171 this_ConnectionUpdate_5=ruleConnectionUpdate
173 $current = $this_ConnectionUpdate_5.current;
174 afterParserOrEnumRuleCall();
179 newCompositeNode(grammarAccess.getSentenceAccess().getFlowParserRuleCall_6());
183 $current = $this_Flow_6.current;
184 afterParserOrEnumRuleCall();
189 newCompositeNode(grammarAccess.getSentenceAccess().getFlowUpdateParserRuleCall_7());
191 this_FlowUpdate_7=ruleFlowUpdate
193 $current = $this_FlowUpdate_7.current;
194 afterParserOrEnumRuleCall();
199 newCompositeNode(grammarAccess.getSentenceAccess().getOperationParserRuleCall_8());
201 this_Operation_8=ruleOperation
203 $current = $this_Operation_8.current;
204 afterParserOrEnumRuleCall();
213 // Entry rule entryRuleSenEngines
214 entryRuleSenEngines returns [String current=null]
216 { newCompositeNode(grammarAccess.getSenEnginesRule()); }
217 iv_ruleSenEngines=ruleSenEngines
218 { $current=$iv_ruleSenEngines.current.getText(); }
223 ruleSenEngines returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
226 @after { leaveRule(); }:
231 newLeafNode(kw, grammarAccess.getSenEnginesAccess().getEnginesKeyword_0());
235 newCompositeNode(grammarAccess.getSenEnginesAccess().getIpv4ParserRuleCall_1());
237 this_Ipv4_1=ruleIpv4 {
238 $current.merge(this_Ipv4_1);
242 afterParserOrEnumRuleCall();
248 newLeafNode(kw, grammarAccess.getSenEnginesAccess().getCommaKeyword_2_0());
252 newCompositeNode(grammarAccess.getSenEnginesAccess().getIpv4ParserRuleCall_2_1());
254 this_Ipv4_3=ruleIpv4 {
255 $current.merge(this_Ipv4_3);
259 afterParserOrEnumRuleCall();
265 newLeafNode(kw, grammarAccess.getSenEnginesAccess().getSemicolonKeyword_3());
274 // Entry rule entryRuleIpv4
275 entryRuleIpv4 returns [String current=null]
277 { newCompositeNode(grammarAccess.getIpv4Rule()); }
279 { $current=$iv_ruleIpv4.current.getText(); }
284 ruleIpv4 returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
287 @after { leaveRule(); }:
288 ( this_IPV4_SUB_0=RULE_IPV4_SUB {
289 $current.merge(this_IPV4_SUB_0);
293 newLeafNode(this_IPV4_SUB_0, grammarAccess.getIpv4Access().getIPV4_SUBTerminalRuleCall_0());
299 newLeafNode(kw, grammarAccess.getIpv4Access().getFullStopKeyword_1());
301 this_IPV4_SUB_2=RULE_IPV4_SUB {
302 $current.merge(this_IPV4_SUB_2);
306 newLeafNode(this_IPV4_SUB_2, grammarAccess.getIpv4Access().getIPV4_SUBTerminalRuleCall_2());
312 newLeafNode(kw, grammarAccess.getIpv4Access().getFullStopKeyword_3());
314 this_IPV4_SUB_4=RULE_IPV4_SUB {
315 $current.merge(this_IPV4_SUB_4);
319 newLeafNode(this_IPV4_SUB_4, grammarAccess.getIpv4Access().getIPV4_SUBTerminalRuleCall_4());
325 newLeafNode(kw, grammarAccess.getIpv4Access().getFullStopKeyword_5());
327 this_IPV4_SUB_6=RULE_IPV4_SUB {
328 $current.merge(this_IPV4_SUB_6);
332 newLeafNode(this_IPV4_SUB_6, grammarAccess.getIpv4Access().getIPV4_SUBTerminalRuleCall_6());
341 // Entry rule entryRuleUser
342 entryRuleUser returns [String current=null]
344 { newCompositeNode(grammarAccess.getUserRule()); }
346 { $current=$iv_ruleUser.current.getText(); }
351 ruleUser returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
354 @after { leaveRule(); }:
359 newLeafNode(kw, grammarAccess.getUserAccess().getCREATEKeyword_0());
361 this_STRING_1=RULE_STRING {
362 $current.merge(this_STRING_1);
366 newLeafNode(this_STRING_1, grammarAccess.getUserAccess().getSTRINGTerminalRuleCall_1());
368 this_STRING_2=RULE_STRING {
369 $current.merge(this_STRING_2);
373 newLeafNode(this_STRING_2, grammarAccess.getUserAccess().getSTRINGTerminalRuleCall_2());
375 this_STRING_3=RULE_STRING {
376 $current.merge(this_STRING_3);
380 newLeafNode(this_STRING_3, grammarAccess.getUserAccess().getSTRINGTerminalRuleCall_3());
386 newLeafNode(kw, grammarAccess.getUserAccess().getSemicolonKeyword_4());
395 // Entry rule entryRuleNode
396 entryRuleNode returns [EObject current=null]
398 { newCompositeNode(grammarAccess.getNodeRule()); }
400 { $current=$iv_ruleNode.current; }
405 ruleNode returns [EObject current=null]
408 @after { leaveRule(); }:
411 newCompositeNode(grammarAccess.getNodeAccess().getNewObjParserRuleCall_0());
415 afterParserOrEnumRuleCall();
419 newLeafNode(otherlv_1, grammarAccess.getNodeAccess().getNodeKeyword_1());
423 lv_name_2_0=RULE_NEMOID
425 newLeafNode(lv_name_2_0, grammarAccess.getNodeAccess().getNameNemoIdTerminalRuleCall_2_0());
428 if ($current==null) {
429 $current = createModelElement(grammarAccess.getNodeRule());
441 newLeafNode(otherlv_3, grammarAccess.getNodeAccess().getTypeKeyword_3_0());
443 this_NemoId_4=RULE_NEMOID
445 newLeafNode(this_NemoId_4, grammarAccess.getNodeAccess().getNemoIdTerminalRuleCall_3_1());
447 )( otherlv_5='Contain'
449 newLeafNode(otherlv_5, grammarAccess.getNodeAccess().getContainKeyword_4_0());
454 if ($current==null) {
455 $current = createModelElement(grammarAccess.getNodeRule());
458 otherlv_6=RULE_NEMOID
460 newLeafNode(otherlv_6, grammarAccess.getNodeAccess().getNodesNodeCrossReference_4_1_0());
466 newLeafNode(otherlv_7, grammarAccess.getNodeAccess().getCommaKeyword_4_2_0());
471 if ($current==null) {
472 $current = createModelElement(grammarAccess.getNodeRule());
475 otherlv_8=RULE_NEMOID
477 newLeafNode(otherlv_8, grammarAccess.getNodeAccess().getNodesNodeCrossReference_4_2_1_0());
483 newCompositeNode(grammarAccess.getNodeAccess().getPropertyParserRuleCall_5());
487 afterParserOrEnumRuleCall();
491 newLeafNode(otherlv_10, grammarAccess.getNodeAccess().getSemicolonKeyword_6());
502 // Entry rule entryRuleNodeOperating
503 entryRuleNodeOperating returns [EObject current=null]
505 { newCompositeNode(grammarAccess.getNodeOperatingRule()); }
506 iv_ruleNodeOperating=ruleNodeOperating
507 { $current=$iv_ruleNodeOperating.current; }
511 // Rule NodeOperating
512 ruleNodeOperating returns [EObject current=null]
515 @after { leaveRule(); }:
516 (( otherlv_0='UPDATE'
518 newLeafNode(otherlv_0, grammarAccess.getNodeOperatingAccess().getUPDATEKeyword_0_0());
523 newLeafNode(otherlv_1, grammarAccess.getNodeOperatingAccess().getDELETEKeyword_0_1());
527 newLeafNode(otherlv_2, grammarAccess.getNodeOperatingAccess().getNodeKeyword_1());
532 if ($current==null) {
533 $current = createModelElement(grammarAccess.getNodeOperatingRule());
536 otherlv_3=RULE_NEMOID
538 newLeafNode(otherlv_3, grammarAccess.getNodeOperatingAccess().getNodenameNodeCrossReference_2_0());
544 newLeafNode(otherlv_4, grammarAccess.getNodeOperatingAccess().getTypeKeyword_3_0());
546 this_NemoId_5=RULE_NEMOID
548 newLeafNode(this_NemoId_5, grammarAccess.getNodeOperatingAccess().getNemoIdTerminalRuleCall_3_1());
550 )?( otherlv_6='Contain'
552 newLeafNode(otherlv_6, grammarAccess.getNodeOperatingAccess().getContainKeyword_4_0());
557 if ($current==null) {
558 $current = createModelElement(grammarAccess.getNodeOperatingRule());
561 otherlv_7=RULE_NEMOID
563 newLeafNode(otherlv_7, grammarAccess.getNodeOperatingAccess().getNodesNodeCrossReference_4_1_0());
569 newLeafNode(otherlv_8, grammarAccess.getNodeOperatingAccess().getCommaKeyword_4_2_0());
574 if ($current==null) {
575 $current = createModelElement(grammarAccess.getNodeOperatingRule());
578 otherlv_9=RULE_NEMOID
580 newLeafNode(otherlv_9, grammarAccess.getNodeOperatingAccess().getNodesNodeCrossReference_4_2_1_0());
586 newCompositeNode(grammarAccess.getNodeOperatingAccess().getPropertyParserRuleCall_5());
590 afterParserOrEnumRuleCall();
594 newLeafNode(otherlv_11, grammarAccess.getNodeOperatingAccess().getSemicolonKeyword_6());
603 // Entry rule entryRuleConnection
604 entryRuleConnection returns [EObject current=null]
606 { newCompositeNode(grammarAccess.getConnectionRule()); }
607 iv_ruleConnection=ruleConnection
608 { $current=$iv_ruleConnection.current; }
613 ruleConnection returns [EObject current=null]
616 @after { leaveRule(); }:
619 newLeafNode(otherlv_0, grammarAccess.getConnectionAccess().getCREATEKeyword_0());
621 otherlv_1='Connection'
623 newLeafNode(otherlv_1, grammarAccess.getConnectionAccess().getConnectionKeyword_1());
627 lv_name_2_0=RULE_NEMOID
629 newLeafNode(lv_name_2_0, grammarAccess.getConnectionAccess().getNameNemoIdTerminalRuleCall_2_0());
632 if ($current==null) {
633 $current = createModelElement(grammarAccess.getConnectionRule());
645 newLeafNode(otherlv_3, grammarAccess.getConnectionAccess().getTypeKeyword_3());
647 this_NemoId_4=RULE_NEMOID
649 newLeafNode(this_NemoId_4, grammarAccess.getConnectionAccess().getNemoIdTerminalRuleCall_4());
651 ( otherlv_5='Endnodes'
653 newLeafNode(otherlv_5, grammarAccess.getConnectionAccess().getEndnodesKeyword_5_0());
658 if ($current==null) {
659 $current = createModelElement(grammarAccess.getConnectionRule());
662 otherlv_6=RULE_NEMOID
664 newLeafNode(otherlv_6, grammarAccess.getConnectionAccess().getEndnodeNodeCrossReference_5_1_0());
670 newLeafNode(otherlv_7, grammarAccess.getConnectionAccess().getCommaKeyword_5_2_0());
675 if ($current==null) {
676 $current = createModelElement(grammarAccess.getConnectionRule());
679 otherlv_8=RULE_NEMOID
681 newLeafNode(otherlv_8, grammarAccess.getConnectionAccess().getEndnodeNodeCrossReference_5_2_1_0());
687 newCompositeNode(grammarAccess.getConnectionAccess().getPropertyParserRuleCall_6());
691 afterParserOrEnumRuleCall();
695 newLeafNode(otherlv_10, grammarAccess.getConnectionAccess().getSemicolonKeyword_7());
704 // Entry rule entryRuleConnectionUpdate
705 entryRuleConnectionUpdate returns [EObject current=null]
707 { newCompositeNode(grammarAccess.getConnectionUpdateRule()); }
708 iv_ruleConnectionUpdate=ruleConnectionUpdate
709 { $current=$iv_ruleConnectionUpdate.current; }
713 // Rule ConnectionUpdate
714 ruleConnectionUpdate returns [EObject current=null]
717 @after { leaveRule(); }:
718 (( otherlv_0='UPDATE'
720 newLeafNode(otherlv_0, grammarAccess.getConnectionUpdateAccess().getUPDATEKeyword_0_0());
725 newLeafNode(otherlv_1, grammarAccess.getConnectionUpdateAccess().getDELETEKeyword_0_1());
727 ) otherlv_2='Connection'
729 newLeafNode(otherlv_2, grammarAccess.getConnectionUpdateAccess().getConnectionKeyword_1());
734 if ($current==null) {
735 $current = createModelElement(grammarAccess.getConnectionUpdateRule());
738 otherlv_3=RULE_NEMOID
740 newLeafNode(otherlv_3, grammarAccess.getConnectionUpdateAccess().getConnectionnameConnectionCrossReference_2_0());
746 newLeafNode(otherlv_4, grammarAccess.getConnectionUpdateAccess().getTypeKeyword_3_0());
748 this_NemoId_5=RULE_NEMOID
750 newLeafNode(this_NemoId_5, grammarAccess.getConnectionUpdateAccess().getNemoIdTerminalRuleCall_3_1());
752 )?( otherlv_6='Endnodes'
754 newLeafNode(otherlv_6, grammarAccess.getConnectionUpdateAccess().getEndnodesKeyword_4_0());
759 if ($current==null) {
760 $current = createModelElement(grammarAccess.getConnectionUpdateRule());
763 otherlv_7=RULE_NEMOID
765 newLeafNode(otherlv_7, grammarAccess.getConnectionUpdateAccess().getEndnodeNodeCrossReference_4_1_0());
771 newLeafNode(otherlv_8, grammarAccess.getConnectionUpdateAccess().getCommaKeyword_4_2_0());
776 if ($current==null) {
777 $current = createModelElement(grammarAccess.getConnectionUpdateRule());
780 otherlv_9=RULE_NEMOID
782 newLeafNode(otherlv_9, grammarAccess.getConnectionUpdateAccess().getEndnodeNodeCrossReference_4_2_1_0());
788 newCompositeNode(grammarAccess.getConnectionUpdateAccess().getPropertyParserRuleCall_5());
792 afterParserOrEnumRuleCall();
796 newLeafNode(otherlv_11, grammarAccess.getConnectionUpdateAccess().getSemicolonKeyword_6());
805 // Entry rule entryRuleFlow
806 entryRuleFlow returns [EObject current=null]
808 { newCompositeNode(grammarAccess.getFlowRule()); }
810 { $current=$iv_ruleFlow.current; }
815 ruleFlow returns [EObject current=null]
818 @after { leaveRule(); }:
821 newLeafNode(otherlv_0, grammarAccess.getFlowAccess().getCREATEKeyword_0());
825 newLeafNode(otherlv_1, grammarAccess.getFlowAccess().getFlowKeyword_1());
829 lv_name_2_0=RULE_NEMOID
831 newLeafNode(lv_name_2_0, grammarAccess.getFlowAccess().getNameNemoIdTerminalRuleCall_2_0());
834 if ($current==null) {
835 $current = createModelElement(grammarAccess.getFlowRule());
847 newCompositeNode(grammarAccess.getFlowAccess().getMatchesParserRuleCall_3());
851 afterParserOrEnumRuleCall();
855 newLeafNode(otherlv_4, grammarAccess.getFlowAccess().getSemicolonKeyword_4());
864 // Entry rule entryRuleFlowUpdate
865 entryRuleFlowUpdate returns [EObject current=null]
867 { newCompositeNode(grammarAccess.getFlowUpdateRule()); }
868 iv_ruleFlowUpdate=ruleFlowUpdate
869 { $current=$iv_ruleFlowUpdate.current; }
874 ruleFlowUpdate returns [EObject current=null]
877 @after { leaveRule(); }:
878 (( otherlv_0='UPDATE'
880 newLeafNode(otherlv_0, grammarAccess.getFlowUpdateAccess().getUPDATEKeyword_0_0());
885 newLeafNode(otherlv_1, grammarAccess.getFlowUpdateAccess().getDELETEKeyword_0_1());
889 newLeafNode(otherlv_2, grammarAccess.getFlowUpdateAccess().getFlowKeyword_1());
894 if ($current==null) {
895 $current = createModelElement(grammarAccess.getFlowUpdateRule());
898 otherlv_3=RULE_NEMOID
900 newLeafNode(otherlv_3, grammarAccess.getFlowUpdateAccess().getFlowIdFlowCrossReference_2_0());
906 newCompositeNode(grammarAccess.getFlowUpdateAccess().getMatchesParserRuleCall_3());
910 afterParserOrEnumRuleCall();
914 newLeafNode(otherlv_5, grammarAccess.getFlowUpdateAccess().getSemicolonKeyword_4());
923 // Entry rule entryRuleMatches
924 entryRuleMatches returns [String current=null]
926 { newCompositeNode(grammarAccess.getMatchesRule()); }
927 iv_ruleMatches=ruleMatches
928 { $current=$iv_ruleMatches.current.getText(); }
933 ruleMatches returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
936 @after { leaveRule(); }:
941 newLeafNode(kw, grammarAccess.getMatchesAccess().getMatchKeyword_0());
945 newCompositeNode(grammarAccess.getMatchesAccess().getMatchParserRuleCall_1());
947 this_Match_1=ruleMatch {
948 $current.merge(this_Match_1);
952 afterParserOrEnumRuleCall();
958 newLeafNode(kw, grammarAccess.getMatchesAccess().getCommaKeyword_2_0());
962 newCompositeNode(grammarAccess.getMatchesAccess().getMatchParserRuleCall_2_1());
964 this_Match_3=ruleMatch {
965 $current.merge(this_Match_3);
969 afterParserOrEnumRuleCall();
978 // Entry rule entryRuleMatch
979 entryRuleMatch returns [String current=null]
981 { newCompositeNode(grammarAccess.getMatchRule()); }
982 iv_ruleMatch=ruleMatch
983 { $current=$iv_ruleMatch.current.getText(); }
988 ruleMatch returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
991 @after { leaveRule(); }:
992 ( this_NemoId_0=RULE_NEMOID {
993 $current.merge(this_NemoId_0);
997 newLeafNode(this_NemoId_0, grammarAccess.getMatchAccess().getNemoIdTerminalRuleCall_0());
1003 newLeafNode(kw, grammarAccess.getMatchAccess().getColonKeyword_1());
1005 this_STRING_2=RULE_STRING {
1006 $current.merge(this_STRING_2);
1010 newLeafNode(this_STRING_2, grammarAccess.getMatchAccess().getSTRINGTerminalRuleCall_2());
1019 // Entry rule entryRuleOperation
1020 entryRuleOperation returns [EObject current=null]
1022 { newCompositeNode(grammarAccess.getOperationRule()); }
1023 iv_ruleOperation=ruleOperation
1024 { $current=$iv_ruleOperation.current; }
1029 ruleOperation returns [EObject current=null]
1030 @init { enterRule();
1032 @after { leaveRule(); }:
1033 ( otherlv_0='CREATE'
1035 newLeafNode(otherlv_0, grammarAccess.getOperationAccess().getCREATEKeyword_0());
1037 otherlv_1='Operation'
1039 newLeafNode(otherlv_1, grammarAccess.getOperationAccess().getOperationKeyword_1());
1043 lv_name_2_0=RULE_NEMOID
1045 newLeafNode(lv_name_2_0, grammarAccess.getOperationAccess().getNameNemoIdTerminalRuleCall_2_0());
1048 if ($current==null) {
1049 $current = createModelElement(grammarAccess.getOperationRule());
1051 setWithLastConsumed(
1059 )( otherlv_3='Priority'
1061 newLeafNode(otherlv_3, grammarAccess.getOperationAccess().getPriorityKeyword_3_0());
1065 lv_value_4_0=RULE_INT
1067 newLeafNode(lv_value_4_0, grammarAccess.getOperationAccess().getValueINTTerminalRuleCall_3_1_0());
1070 if ($current==null) {
1071 $current = createModelElement(grammarAccess.getOperationRule());
1073 addWithLastConsumed(
1081 ))? otherlv_5='Target'
1083 newLeafNode(otherlv_5, grammarAccess.getOperationAccess().getTargetKeyword_4());
1088 if ($current==null) {
1089 $current = createModelElement(grammarAccess.getOperationRule());
1092 otherlv_6=RULE_NEMOID
1094 newLeafNode(otherlv_6, grammarAccess.getOperationAccess().getTargetIdFlowCrossReference_5_0());
1100 newCompositeNode(grammarAccess.getOperationAccess().getConditionParserRuleCall_6());
1104 afterParserOrEnumRuleCall();
1106 )? otherlv_8='Action'
1108 newLeafNode(otherlv_8, grammarAccess.getOperationAccess().getActionKeyword_7());
1110 (this_NemoId_9=RULE_NEMOID
1112 newLeafNode(this_NemoId_9, grammarAccess.getOperationAccess().getNemoIdTerminalRuleCall_8_0());
1115 |(this_NemoId_10=RULE_NEMOID
1117 newLeafNode(this_NemoId_10, grammarAccess.getOperationAccess().getNemoIdTerminalRuleCall_8_1_0());
1121 newLeafNode(otherlv_11, grammarAccess.getOperationAccess().getColonKeyword_8_1_1());
1126 if ($current==null) {
1127 $current = createModelElement(grammarAccess.getOperationRule());
1130 otherlv_12=RULE_NEMOID
1132 newLeafNode(otherlv_12, grammarAccess.getOperationAccess().getTargetNodeNodeCrossReference_8_1_2_0());
1138 newLeafNode(otherlv_13, grammarAccess.getOperationAccess().getSemicolonKeyword_9());
1147 // Entry rule entryRuleCondition
1148 entryRuleCondition returns [String current=null]
1150 { newCompositeNode(grammarAccess.getConditionRule()); }
1151 iv_ruleCondition=ruleCondition
1152 { $current=$iv_ruleCondition.current.getText(); }
1157 ruleCondition returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
1158 @init { enterRule();
1160 @after { leaveRule(); }:
1165 newLeafNode(kw, grammarAccess.getConditionAccess().getConditionKeyword_0());
1167 this_STRING_1=RULE_STRING {
1168 $current.merge(this_STRING_1);
1172 newLeafNode(this_STRING_1, grammarAccess.getConditionAccess().getSTRINGTerminalRuleCall_1());
1178 newLeafNode(kw, grammarAccess.getConditionAccess().getCommaKeyword_2_0());
1180 this_STRING_3=RULE_STRING {
1181 $current.merge(this_STRING_3);
1185 newLeafNode(this_STRING_3, grammarAccess.getConditionAccess().getSTRINGTerminalRuleCall_2_1());
1194 // Entry rule entryRuleProperty
1195 entryRuleProperty returns [String current=null]
1197 { newCompositeNode(grammarAccess.getPropertyRule()); }
1198 iv_ruleProperty=ruleProperty
1199 { $current=$iv_ruleProperty.current.getText(); }
1204 ruleProperty returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
1205 @init { enterRule();
1207 @after { leaveRule(); }:
1212 newLeafNode(kw, grammarAccess.getPropertyAccess().getPropertyKeyword_0());
1216 newCompositeNode(grammarAccess.getPropertyAccess().getOnePropertyParserRuleCall_1());
1218 this_OneProperty_1=ruleOneProperty {
1219 $current.merge(this_OneProperty_1);
1223 afterParserOrEnumRuleCall();
1229 newLeafNode(kw, grammarAccess.getPropertyAccess().getCommaKeyword_2_0());
1233 newCompositeNode(grammarAccess.getPropertyAccess().getOnePropertyParserRuleCall_2_1());
1235 this_OneProperty_3=ruleOneProperty {
1236 $current.merge(this_OneProperty_3);
1240 afterParserOrEnumRuleCall();
1249 // Entry rule entryRuleOneProperty
1250 entryRuleOneProperty returns [String current=null]
1252 { newCompositeNode(grammarAccess.getOnePropertyRule()); }
1253 iv_ruleOneProperty=ruleOneProperty
1254 { $current=$iv_ruleOneProperty.current.getText(); }
1259 ruleOneProperty returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
1260 @init { enterRule();
1262 @after { leaveRule(); }:
1263 ( this_NemoId_0=RULE_NEMOID {
1264 $current.merge(this_NemoId_0);
1268 newLeafNode(this_NemoId_0, grammarAccess.getOnePropertyAccess().getNemoIdTerminalRuleCall_0());
1274 newLeafNode(kw, grammarAccess.getOnePropertyAccess().getColonKeyword_1());
1276 ( this_STRING_2=RULE_STRING {
1277 $current.merge(this_STRING_2);
1281 newLeafNode(this_STRING_2, grammarAccess.getOnePropertyAccess().getSTRINGTerminalRuleCall_2_0());
1284 | this_INT_3=RULE_INT {
1285 $current.merge(this_INT_3);
1289 newLeafNode(this_INT_3, grammarAccess.getOnePropertyAccess().getINTTerminalRuleCall_2_1());
1298 // Entry rule entryRuleModelProperty
1299 entryRuleModelProperty returns [String current=null]
1301 { newCompositeNode(grammarAccess.getModelPropertyRule()); }
1302 iv_ruleModelProperty=ruleModelProperty
1303 { $current=$iv_ruleModelProperty.current.getText(); }
1307 // Rule ModelProperty
1308 ruleModelProperty returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
1309 @init { enterRule();
1311 @after { leaveRule(); }:
1316 newLeafNode(kw, grammarAccess.getModelPropertyAccess().getPropertyKeyword_0());
1320 newCompositeNode(grammarAccess.getModelPropertyAccess().getOneModelPropertyParserRuleCall_1());
1322 this_OneModelProperty_1=ruleOneModelProperty {
1323 $current.merge(this_OneModelProperty_1);
1327 afterParserOrEnumRuleCall();
1333 newLeafNode(kw, grammarAccess.getModelPropertyAccess().getCommaKeyword_2_0());
1337 newCompositeNode(grammarAccess.getModelPropertyAccess().getOneModelPropertyParserRuleCall_2_1());
1339 this_OneModelProperty_3=ruleOneModelProperty {
1340 $current.merge(this_OneModelProperty_3);
1344 afterParserOrEnumRuleCall();
1353 // Entry rule entryRuleOneModelProperty
1354 entryRuleOneModelProperty returns [String current=null]
1356 { newCompositeNode(grammarAccess.getOneModelPropertyRule()); }
1357 iv_ruleOneModelProperty=ruleOneModelProperty
1358 { $current=$iv_ruleOneModelProperty.current.getText(); }
1362 // Rule OneModelProperty
1363 ruleOneModelProperty returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
1364 @init { enterRule();
1366 @after { leaveRule(); }:
1367 (( this_STRING_0=RULE_STRING {
1368 $current.merge(this_STRING_0);
1372 newLeafNode(this_STRING_0, grammarAccess.getOneModelPropertyAccess().getSTRINGTerminalRuleCall_0_0());
1375 | this_INT_1=RULE_INT {
1376 $current.merge(this_INT_1);
1380 newLeafNode(this_INT_1, grammarAccess.getOneModelPropertyAccess().getINTTerminalRuleCall_0_1());
1386 newLeafNode(kw, grammarAccess.getOneModelPropertyAccess().getColonKeyword_1());
1388 this_NemoId_3=RULE_NEMOID {
1389 $current.merge(this_NemoId_3);
1393 newLeafNode(this_NemoId_3, grammarAccess.getOneModelPropertyAccess().getNemoIdTerminalRuleCall_2());
1402 // Entry rule entryRuleNewObj
1403 entryRuleNewObj returns [String current=null]
1405 { newCompositeNode(grammarAccess.getNewObjRule()); }
1406 iv_ruleNewObj=ruleNewObj
1407 { $current=$iv_ruleNewObj.current.getText(); }
1412 ruleNewObj returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
1413 @init { enterRule();
1415 @after { leaveRule(); }:
1420 newLeafNode(kw, grammarAccess.getNewObjAccess().getCREATEKeyword_0());
1427 newLeafNode(kw, grammarAccess.getNewObjAccess().getIMPORTKeyword_1());
1436 RULE_IPV4_SUB : ('0'..'9'|'1'..'9' '0'..'9'|'1' '0'..'9' '0'..'9'|'2' '0'..'4' '0'..'9'|'25' '0'..'5');
1438 RULE_NEMOID : ('a'..'z'|'A'..'Z'|'$'|'_') ('a'..'z'|'A'..'Z'|'$'|'_'|'-'|'0'..'9')*;
1440 RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
1442 RULE_INT : ('0'..'9')+;
1444 RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\'');
1446 RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
1448 RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;
1450 RULE_WS : (' '|'\t'|'\r'|'\n')+;