| package org.eclipse.papyrus.operation.editor.xtext.parser.antlr.internal; |
| |
| 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.emf.common.util.Enumerator; |
| import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; |
| import org.eclipse.xtext.parser.antlr.XtextTokenStream; |
| import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; |
| import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; |
| import org.eclipse.papyrus.operation.editor.xtext.services.OperationGrammarAccess; |
| |
| import org.antlr.runtime.*; |
| import java.util.Stack; |
| import java.util.List; |
| import java.util.ArrayList; |
| |
| @SuppressWarnings("all") |
| public class InternalOperationParser extends AbstractInternalAntlrParser { |
| public static final String[] tokenNames = new String[] { |
| "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INTEGERVALUE", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_INT", "RULE_WS", "RULE_ANY_OTHER", "';'", "'abstract'", "':'", "'('", "')'", "','", "'['", "']'", "'ordered'", |
| "'nonUnique'", "'sequence'", "'..'", "'*'", "'any'", "'redefines'", "'++'", "'--'", "'::'", "'<'", "'>'", "'=>'", "'?'", "'||'", "'&&'", "'|'", "'^'", "'&'", "'=='", "'!='", "'instanceof'", "'hastype'", "'<='", "'>='", "'<<'", "'>>'", "'>>>'", |
| "'+'", "'-'", "'/'", "'%'", "'!'", "'$'", "'~'", "'.'", "'->'", "'reduce'", "'isUnique'", "'null'", "'this'", "'super'", "'new'", "'{'", "'}'", "'allInstances'", "'/*@'", "'inline'", "'*/'", "'//@'", "'let'", "'='", "'if'", "'else'", "'or'", |
| "'switch'", "'case'", "'default'", "'while'", "'do'", "'for'", "'in'", "'break'", "'return'", "'accept'", "'classify'", "'from'", "'to'", "'public'", "'private'", "'protected'", "'out'", "'inout'", "'true'", "'false'", "'createLink'", |
| "'destroyLink'", "'clearAssoc'", "'select'", "'reject'", "'collect'", "'iterate'", "'forAll'", "'exists'", "'one'", "'isolated'", "'determined'", "'assured'", "'parallel'", "'+='", "'-='", "'*='", "'%='", "'/='", "'&='", "'|='", "'^='", "'<<='", |
| "'>>='", "'>>>='" |
| }; |
| public static final int RULE_ID = 4; |
| public static final int T__29 = 29; |
| public static final int T__28 = 28; |
| public static final int T__27 = 27; |
| public static final int T__26 = 26; |
| public static final int T__25 = 25; |
| public static final int T__24 = 24; |
| public static final int T__23 = 23; |
| public static final int T__22 = 22; |
| public static final int RULE_ANY_OTHER = 11; |
| public static final int T__21 = 21; |
| public static final int T__20 = 20; |
| public static final int EOF = -1; |
| public static final int T__93 = 93; |
| public static final int T__19 = 19; |
| public static final int T__94 = 94; |
| public static final int T__91 = 91; |
| public static final int T__92 = 92; |
| public static final int T__16 = 16; |
| public static final int T__15 = 15; |
| public static final int T__90 = 90; |
| public static final int T__18 = 18; |
| public static final int T__17 = 17; |
| public static final int T__12 = 12; |
| public static final int T__14 = 14; |
| public static final int T__13 = 13; |
| public static final int T__99 = 99; |
| public static final int RULE_INTEGERVALUE = 5; |
| public static final int T__98 = 98; |
| public static final int T__97 = 97; |
| public static final int T__96 = 96; |
| public static final int T__95 = 95; |
| public static final int T__80 = 80; |
| public static final int T__81 = 81; |
| public static final int T__82 = 82; |
| public static final int T__83 = 83; |
| public static final int T__85 = 85; |
| public static final int T__84 = 84; |
| public static final int T__87 = 87; |
| public static final int T__86 = 86; |
| public static final int T__89 = 89; |
| public static final int T__88 = 88; |
| public static final int RULE_ML_COMMENT = 7; |
| public static final int RULE_STRING = 6; |
| public static final int T__71 = 71; |
| public static final int T__72 = 72; |
| public static final int T__70 = 70; |
| public static final int T__76 = 76; |
| public static final int T__75 = 75; |
| public static final int T__74 = 74; |
| public static final int T__73 = 73; |
| public static final int T__79 = 79; |
| public static final int T__78 = 78; |
| public static final int T__77 = 77; |
| public static final int T__68 = 68; |
| public static final int T__69 = 69; |
| public static final int T__66 = 66; |
| public static final int T__67 = 67; |
| public static final int T__64 = 64; |
| public static final int T__65 = 65; |
| public static final int T__62 = 62; |
| public static final int T__63 = 63; |
| public static final int T__118 = 118; |
| public static final int T__119 = 119; |
| public static final int T__116 = 116; |
| public static final int T__117 = 117; |
| public static final int T__114 = 114; |
| public static final int T__115 = 115; |
| public static final int T__61 = 61; |
| public static final int T__60 = 60; |
| public static final int T__55 = 55; |
| public static final int T__56 = 56; |
| public static final int T__57 = 57; |
| public static final int T__58 = 58; |
| public static final int T__51 = 51; |
| public static final int T__52 = 52; |
| public static final int T__53 = 53; |
| public static final int T__54 = 54; |
| public static final int T__107 = 107; |
| public static final int T__108 = 108; |
| public static final int T__109 = 109; |
| public static final int T__103 = 103; |
| public static final int T__59 = 59; |
| public static final int T__104 = 104; |
| public static final int T__105 = 105; |
| public static final int T__106 = 106; |
| public static final int T__111 = 111; |
| public static final int T__110 = 110; |
| public static final int RULE_INT = 9; |
| public static final int T__113 = 113; |
| public static final int T__112 = 112; |
| public static final int T__50 = 50; |
| public static final int T__42 = 42; |
| public static final int T__43 = 43; |
| public static final int T__40 = 40; |
| public static final int T__41 = 41; |
| public static final int T__46 = 46; |
| public static final int T__47 = 47; |
| public static final int T__44 = 44; |
| public static final int T__45 = 45; |
| public static final int T__48 = 48; |
| public static final int T__49 = 49; |
| public static final int T__102 = 102; |
| public static final int T__101 = 101; |
| public static final int T__100 = 100; |
| public static final int RULE_SL_COMMENT = 8; |
| public static final int T__30 = 30; |
| public static final int T__31 = 31; |
| public static final int T__32 = 32; |
| public static final int T__33 = 33; |
| public static final int T__34 = 34; |
| public static final int T__35 = 35; |
| public static final int T__36 = 36; |
| public static final int T__37 = 37; |
| public static final int T__38 = 38; |
| public static final int T__39 = 39; |
| public static final int RULE_WS = 10; |
| |
| // delegates |
| // delegators |
| |
| |
| public InternalOperationParser(TokenStream input) { |
| this(input, new RecognizerSharedState()); |
| } |
| |
| public InternalOperationParser(TokenStream input, RecognizerSharedState state) { |
| super(input, state); |
| |
| } |
| |
| |
| @Override |
| public String[] getTokenNames() { |
| return InternalOperationParser.tokenNames; |
| } |
| |
| @Override |
| public String getGrammarFileName() { |
| return "../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g"; |
| } |
| |
| |
| |
| private OperationGrammarAccess grammarAccess; |
| |
| public InternalOperationParser(TokenStream input, OperationGrammarAccess grammarAccess) { |
| this(input); |
| this.grammarAccess = grammarAccess; |
| registerRules(grammarAccess.getGrammar()); |
| } |
| |
| @Override |
| protected String getFirstRuleName() { |
| return "OperationDefinitionOrStub"; |
| } |
| |
| @Override |
| protected OperationGrammarAccess getGrammarAccess() { |
| return grammarAccess; |
| } |
| |
| |
| |
| // $ANTLR start "entryRuleOperationDefinitionOrStub" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:68:1: entryRuleOperationDefinitionOrStub returns [EObject current=null] : iv_ruleOperationDefinitionOrStub= |
| // ruleOperationDefinitionOrStub EOF ; |
| public final EObject entryRuleOperationDefinitionOrStub() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleOperationDefinitionOrStub = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:69:2: (iv_ruleOperationDefinitionOrStub= ruleOperationDefinitionOrStub EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:70:2: iv_ruleOperationDefinitionOrStub= ruleOperationDefinitionOrStub EOF |
| { |
| newCompositeNode(grammarAccess.getOperationDefinitionOrStubRule()); |
| pushFollow(FOLLOW_ruleOperationDefinitionOrStub_in_entryRuleOperationDefinitionOrStub75); |
| iv_ruleOperationDefinitionOrStub = ruleOperationDefinitionOrStub(); |
| |
| state._fsp--; |
| |
| current = iv_ruleOperationDefinitionOrStub; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleOperationDefinitionOrStub85); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleOperationDefinitionOrStub" |
| |
| |
| // $ANTLR start "ruleOperationDefinitionOrStub" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:77:1: ruleOperationDefinitionOrStub returns [EObject current=null] : ( ( (lv_declaration_0_0= |
| // ruleOperationDeclaration ) ) (otherlv_1= ';' | ( (lv_body_2_0= ruleBlock ) ) ) ) ; |
| public final EObject ruleOperationDefinitionOrStub() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| EObject lv_declaration_0_0 = null; |
| |
| EObject lv_body_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:80:28: ( ( ( (lv_declaration_0_0= ruleOperationDeclaration ) ) (otherlv_1= ';' | ( (lv_body_2_0= ruleBlock |
| // ) ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:81:1: ( ( (lv_declaration_0_0= ruleOperationDeclaration ) ) (otherlv_1= ';' | ( (lv_body_2_0= ruleBlock ) |
| // ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:81:1: ( ( (lv_declaration_0_0= ruleOperationDeclaration ) ) (otherlv_1= ';' | ( (lv_body_2_0= |
| // ruleBlock ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:81:2: ( (lv_declaration_0_0= ruleOperationDeclaration ) ) (otherlv_1= ';' | ( (lv_body_2_0= ruleBlock |
| // ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:81:2: ( (lv_declaration_0_0= ruleOperationDeclaration ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:82:1: (lv_declaration_0_0= ruleOperationDeclaration ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:82:1: (lv_declaration_0_0= ruleOperationDeclaration ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:83:3: lv_declaration_0_0= ruleOperationDeclaration |
| { |
| |
| newCompositeNode(grammarAccess.getOperationDefinitionOrStubAccess().getDeclarationOperationDeclarationParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleOperationDeclaration_in_ruleOperationDefinitionOrStub131); |
| lv_declaration_0_0 = ruleOperationDeclaration(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getOperationDefinitionOrStubRule()); |
| } |
| set( |
| current, |
| "declaration", |
| lv_declaration_0_0, |
| "OperationDeclaration"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:99:2: (otherlv_1= ';' | ( (lv_body_2_0= ruleBlock ) ) ) |
| int alt1 = 2; |
| int LA1_0 = input.LA(1); |
| |
| if ((LA1_0 == 12)) { |
| alt1 = 1; |
| } |
| else if ((LA1_0 == 63)) { |
| alt1 = 2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 1, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt1) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:99:4: otherlv_1= ';' |
| { |
| otherlv_1 = (Token) match(input, 12, FOLLOW_12_in_ruleOperationDefinitionOrStub144); |
| |
| newLeafNode(otherlv_1, grammarAccess.getOperationDefinitionOrStubAccess().getSemicolonKeyword_1_0()); |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:104:6: ( (lv_body_2_0= ruleBlock ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:104:6: ( (lv_body_2_0= ruleBlock ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:105:1: (lv_body_2_0= ruleBlock ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:105:1: (lv_body_2_0= ruleBlock ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:106:3: lv_body_2_0= ruleBlock |
| { |
| |
| newCompositeNode(grammarAccess.getOperationDefinitionOrStubAccess().getBodyBlockParserRuleCall_1_1_0()); |
| |
| pushFollow(FOLLOW_ruleBlock_in_ruleOperationDefinitionOrStub171); |
| lv_body_2_0 = ruleBlock(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getOperationDefinitionOrStubRule()); |
| } |
| set( |
| current, |
| "body", |
| lv_body_2_0, |
| "Block"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleOperationDefinitionOrStub" |
| |
| |
| // $ANTLR start "entryRuleOperationDeclaration" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:130:1: entryRuleOperationDeclaration returns [EObject current=null] : iv_ruleOperationDeclaration= |
| // ruleOperationDeclaration EOF ; |
| public final EObject entryRuleOperationDeclaration() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleOperationDeclaration = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:131:2: (iv_ruleOperationDeclaration= ruleOperationDeclaration EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:132:2: iv_ruleOperationDeclaration= ruleOperationDeclaration EOF |
| { |
| newCompositeNode(grammarAccess.getOperationDeclarationRule()); |
| pushFollow(FOLLOW_ruleOperationDeclaration_in_entryRuleOperationDeclaration208); |
| iv_ruleOperationDeclaration = ruleOperationDeclaration(); |
| |
| state._fsp--; |
| |
| current = iv_ruleOperationDeclaration; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleOperationDeclaration218); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleOperationDeclaration" |
| |
| |
| // $ANTLR start "ruleOperationDeclaration" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:139:1: ruleOperationDeclaration returns [EObject current=null] : ( ( (lv_visibilityIndicator_0_0= |
| // ruleVisibilityIndicator ) )? ( (lv_abstract_1_0= 'abstract' ) )? ( (lv_name_2_0= RULE_ID ) ) ( (lv_formalParameters_3_0= ruleFormalParameters ) ) (otherlv_4= ':' ( (lv_returnType_5_0= ruleTypePart ) ) )? ( (lv_redefinition_6_0= ruleRedefinitionClause ) |
| // )? ) ; |
| public final EObject ruleOperationDeclaration() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_abstract_1_0 = null; |
| Token lv_name_2_0 = null; |
| Token otherlv_4 = null; |
| Enumerator lv_visibilityIndicator_0_0 = null; |
| |
| EObject lv_formalParameters_3_0 = null; |
| |
| EObject lv_returnType_5_0 = null; |
| |
| EObject lv_redefinition_6_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:142:28: ( ( ( (lv_visibilityIndicator_0_0= ruleVisibilityIndicator ) )? ( (lv_abstract_1_0= 'abstract' ) |
| // )? ( (lv_name_2_0= RULE_ID ) ) ( (lv_formalParameters_3_0= ruleFormalParameters ) ) (otherlv_4= ':' ( (lv_returnType_5_0= ruleTypePart ) ) )? ( (lv_redefinition_6_0= ruleRedefinitionClause ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:143:1: ( ( (lv_visibilityIndicator_0_0= ruleVisibilityIndicator ) )? ( (lv_abstract_1_0= 'abstract' ) )? ( |
| // (lv_name_2_0= RULE_ID ) ) ( (lv_formalParameters_3_0= ruleFormalParameters ) ) (otherlv_4= ':' ( (lv_returnType_5_0= ruleTypePart ) ) )? ( (lv_redefinition_6_0= ruleRedefinitionClause ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:143:1: ( ( (lv_visibilityIndicator_0_0= ruleVisibilityIndicator ) )? ( (lv_abstract_1_0= 'abstract' ) |
| // )? ( (lv_name_2_0= RULE_ID ) ) ( (lv_formalParameters_3_0= ruleFormalParameters ) ) (otherlv_4= ':' ( (lv_returnType_5_0= ruleTypePart ) ) )? ( (lv_redefinition_6_0= ruleRedefinitionClause ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:143:2: ( (lv_visibilityIndicator_0_0= ruleVisibilityIndicator ) )? ( (lv_abstract_1_0= 'abstract' ) )? |
| // ( (lv_name_2_0= RULE_ID ) ) ( (lv_formalParameters_3_0= ruleFormalParameters ) ) (otherlv_4= ':' ( (lv_returnType_5_0= ruleTypePart ) ) )? ( (lv_redefinition_6_0= ruleRedefinitionClause ) )? |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:143:2: ( (lv_visibilityIndicator_0_0= ruleVisibilityIndicator ) )? |
| int alt2 = 2; |
| int LA2_0 = input.LA(1); |
| |
| if (((LA2_0 >= 88 && LA2_0 <= 90))) { |
| alt2 = 1; |
| } |
| switch (alt2) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:144:1: (lv_visibilityIndicator_0_0= ruleVisibilityIndicator ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:144:1: (lv_visibilityIndicator_0_0= ruleVisibilityIndicator ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:145:3: lv_visibilityIndicator_0_0= ruleVisibilityIndicator |
| { |
| |
| newCompositeNode(grammarAccess.getOperationDeclarationAccess().getVisibilityIndicatorVisibilityIndicatorEnumRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleVisibilityIndicator_in_ruleOperationDeclaration264); |
| lv_visibilityIndicator_0_0 = ruleVisibilityIndicator(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getOperationDeclarationRule()); |
| } |
| set( |
| current, |
| "visibilityIndicator", |
| lv_visibilityIndicator_0_0, |
| "VisibilityIndicator"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:161:3: ( (lv_abstract_1_0= 'abstract' ) )? |
| int alt3 = 2; |
| int LA3_0 = input.LA(1); |
| |
| if ((LA3_0 == 13)) { |
| alt3 = 1; |
| } |
| switch (alt3) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:162:1: (lv_abstract_1_0= 'abstract' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:162:1: (lv_abstract_1_0= 'abstract' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:163:3: lv_abstract_1_0= 'abstract' |
| { |
| lv_abstract_1_0 = (Token) match(input, 13, FOLLOW_13_in_ruleOperationDeclaration283); |
| |
| newLeafNode(lv_abstract_1_0, grammarAccess.getOperationDeclarationAccess().getAbstractAbstractKeyword_1_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getOperationDeclarationRule()); |
| } |
| setWithLastConsumed(current, "abstract", true, "abstract"); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:176:3: ( (lv_name_2_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:177:1: (lv_name_2_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:177:1: (lv_name_2_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:178:3: lv_name_2_0= RULE_ID |
| { |
| lv_name_2_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleOperationDeclaration314); |
| |
| newLeafNode(lv_name_2_0, grammarAccess.getOperationDeclarationAccess().getNameIDTerminalRuleCall_2_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getOperationDeclarationRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "name", |
| lv_name_2_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:194:2: ( (lv_formalParameters_3_0= ruleFormalParameters ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:195:1: (lv_formalParameters_3_0= ruleFormalParameters ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:195:1: (lv_formalParameters_3_0= ruleFormalParameters ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:196:3: lv_formalParameters_3_0= ruleFormalParameters |
| { |
| |
| newCompositeNode(grammarAccess.getOperationDeclarationAccess().getFormalParametersFormalParametersParserRuleCall_3_0()); |
| |
| pushFollow(FOLLOW_ruleFormalParameters_in_ruleOperationDeclaration340); |
| lv_formalParameters_3_0 = ruleFormalParameters(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getOperationDeclarationRule()); |
| } |
| set( |
| current, |
| "formalParameters", |
| lv_formalParameters_3_0, |
| "FormalParameters"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:212:2: (otherlv_4= ':' ( (lv_returnType_5_0= ruleTypePart ) ) )? |
| int alt4 = 2; |
| int LA4_0 = input.LA(1); |
| |
| if ((LA4_0 == 14)) { |
| alt4 = 1; |
| } |
| switch (alt4) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:212:4: otherlv_4= ':' ( (lv_returnType_5_0= ruleTypePart ) ) |
| { |
| otherlv_4 = (Token) match(input, 14, FOLLOW_14_in_ruleOperationDeclaration353); |
| |
| newLeafNode(otherlv_4, grammarAccess.getOperationDeclarationAccess().getColonKeyword_4_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:216:1: ( (lv_returnType_5_0= ruleTypePart ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:217:1: (lv_returnType_5_0= ruleTypePart ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:217:1: (lv_returnType_5_0= ruleTypePart ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:218:3: lv_returnType_5_0= ruleTypePart |
| { |
| |
| newCompositeNode(grammarAccess.getOperationDeclarationAccess().getReturnTypeTypePartParserRuleCall_4_1_0()); |
| |
| pushFollow(FOLLOW_ruleTypePart_in_ruleOperationDeclaration374); |
| lv_returnType_5_0 = ruleTypePart(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getOperationDeclarationRule()); |
| } |
| set( |
| current, |
| "returnType", |
| lv_returnType_5_0, |
| "TypePart"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:234:4: ( (lv_redefinition_6_0= ruleRedefinitionClause ) )? |
| int alt5 = 2; |
| int LA5_0 = input.LA(1); |
| |
| if ((LA5_0 == 26)) { |
| alt5 = 1; |
| } |
| switch (alt5) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:235:1: (lv_redefinition_6_0= ruleRedefinitionClause ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:235:1: (lv_redefinition_6_0= ruleRedefinitionClause ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:236:3: lv_redefinition_6_0= ruleRedefinitionClause |
| { |
| |
| newCompositeNode(grammarAccess.getOperationDeclarationAccess().getRedefinitionRedefinitionClauseParserRuleCall_5_0()); |
| |
| pushFollow(FOLLOW_ruleRedefinitionClause_in_ruleOperationDeclaration397); |
| lv_redefinition_6_0 = ruleRedefinitionClause(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getOperationDeclarationRule()); |
| } |
| set( |
| current, |
| "redefinition", |
| lv_redefinition_6_0, |
| "RedefinitionClause"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleOperationDeclaration" |
| |
| |
| // $ANTLR start "entryRuleFormalParameters" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:260:1: entryRuleFormalParameters returns [EObject current=null] : iv_ruleFormalParameters= ruleFormalParameters |
| // EOF ; |
| public final EObject entryRuleFormalParameters() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleFormalParameters = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:261:2: (iv_ruleFormalParameters= ruleFormalParameters EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:262:2: iv_ruleFormalParameters= ruleFormalParameters EOF |
| { |
| newCompositeNode(grammarAccess.getFormalParametersRule()); |
| pushFollow(FOLLOW_ruleFormalParameters_in_entryRuleFormalParameters434); |
| iv_ruleFormalParameters = ruleFormalParameters(); |
| |
| state._fsp--; |
| |
| current = iv_ruleFormalParameters; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleFormalParameters444); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleFormalParameters" |
| |
| |
| // $ANTLR start "ruleFormalParameters" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:269:1: ruleFormalParameters returns [EObject current=null] : ( () otherlv_1= '(' ( (lv_formalParameterList_2_0= |
| // ruleFormalParameterList ) )? otherlv_3= ')' ) ; |
| public final EObject ruleFormalParameters() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| Token otherlv_3 = null; |
| EObject lv_formalParameterList_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:272:28: ( ( () otherlv_1= '(' ( (lv_formalParameterList_2_0= ruleFormalParameterList ) )? otherlv_3= ')' ) |
| // ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:273:1: ( () otherlv_1= '(' ( (lv_formalParameterList_2_0= ruleFormalParameterList ) )? otherlv_3= ')' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:273:1: ( () otherlv_1= '(' ( (lv_formalParameterList_2_0= ruleFormalParameterList ) )? otherlv_3= ')' |
| // ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:273:2: () otherlv_1= '(' ( (lv_formalParameterList_2_0= ruleFormalParameterList ) )? otherlv_3= ')' |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:273:2: () |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:274:5: |
| { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getFormalParametersAccess().getFormalParametersAction_0(), |
| current); |
| |
| |
| } |
| |
| otherlv_1 = (Token) match(input, 15, FOLLOW_15_in_ruleFormalParameters490); |
| |
| newLeafNode(otherlv_1, grammarAccess.getFormalParametersAccess().getLeftParenthesisKeyword_1()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:283:1: ( (lv_formalParameterList_2_0= ruleFormalParameterList ) )? |
| int alt6 = 2; |
| int LA6_0 = input.LA(1); |
| |
| if ((LA6_0 == 81 || (LA6_0 >= 91 && LA6_0 <= 92))) { |
| alt6 = 1; |
| } |
| switch (alt6) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:284:1: (lv_formalParameterList_2_0= ruleFormalParameterList ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:284:1: (lv_formalParameterList_2_0= ruleFormalParameterList ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:285:3: lv_formalParameterList_2_0= ruleFormalParameterList |
| { |
| |
| newCompositeNode(grammarAccess.getFormalParametersAccess().getFormalParameterListFormalParameterListParserRuleCall_2_0()); |
| |
| pushFollow(FOLLOW_ruleFormalParameterList_in_ruleFormalParameters511); |
| lv_formalParameterList_2_0 = ruleFormalParameterList(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getFormalParametersRule()); |
| } |
| set( |
| current, |
| "formalParameterList", |
| lv_formalParameterList_2_0, |
| "FormalParameterList"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_3 = (Token) match(input, 16, FOLLOW_16_in_ruleFormalParameters524); |
| |
| newLeafNode(otherlv_3, grammarAccess.getFormalParametersAccess().getRightParenthesisKeyword_3()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleFormalParameters" |
| |
| |
| // $ANTLR start "entryRuleFormalParameterList" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:313:1: entryRuleFormalParameterList returns [EObject current=null] : iv_ruleFormalParameterList= |
| // ruleFormalParameterList EOF ; |
| public final EObject entryRuleFormalParameterList() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleFormalParameterList = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:314:2: (iv_ruleFormalParameterList= ruleFormalParameterList EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:315:2: iv_ruleFormalParameterList= ruleFormalParameterList EOF |
| { |
| newCompositeNode(grammarAccess.getFormalParameterListRule()); |
| pushFollow(FOLLOW_ruleFormalParameterList_in_entryRuleFormalParameterList560); |
| iv_ruleFormalParameterList = ruleFormalParameterList(); |
| |
| state._fsp--; |
| |
| current = iv_ruleFormalParameterList; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleFormalParameterList570); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleFormalParameterList" |
| |
| |
| // $ANTLR start "ruleFormalParameterList" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:322:1: ruleFormalParameterList returns [EObject current=null] : ( ( (lv_formalParameter_0_0= ruleFormalParameter ) |
| // ) (otherlv_1= ',' ( (lv_formalParameter_2_0= ruleFormalParameter ) ) )* ) ; |
| public final EObject ruleFormalParameterList() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| EObject lv_formalParameter_0_0 = null; |
| |
| EObject lv_formalParameter_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:325:28: ( ( ( (lv_formalParameter_0_0= ruleFormalParameter ) ) (otherlv_1= ',' ( (lv_formalParameter_2_0= |
| // ruleFormalParameter ) ) )* ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:326:1: ( ( (lv_formalParameter_0_0= ruleFormalParameter ) ) (otherlv_1= ',' ( (lv_formalParameter_2_0= |
| // ruleFormalParameter ) ) )* ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:326:1: ( ( (lv_formalParameter_0_0= ruleFormalParameter ) ) (otherlv_1= ',' ( (lv_formalParameter_2_0= |
| // ruleFormalParameter ) ) )* ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:326:2: ( (lv_formalParameter_0_0= ruleFormalParameter ) ) (otherlv_1= ',' ( (lv_formalParameter_2_0= |
| // ruleFormalParameter ) ) )* |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:326:2: ( (lv_formalParameter_0_0= ruleFormalParameter ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:327:1: (lv_formalParameter_0_0= ruleFormalParameter ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:327:1: (lv_formalParameter_0_0= ruleFormalParameter ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:328:3: lv_formalParameter_0_0= ruleFormalParameter |
| { |
| |
| newCompositeNode(grammarAccess.getFormalParameterListAccess().getFormalParameterFormalParameterParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleFormalParameter_in_ruleFormalParameterList616); |
| lv_formalParameter_0_0 = ruleFormalParameter(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getFormalParameterListRule()); |
| } |
| add( |
| current, |
| "formalParameter", |
| lv_formalParameter_0_0, |
| "FormalParameter"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:344:2: (otherlv_1= ',' ( (lv_formalParameter_2_0= ruleFormalParameter ) ) )* |
| loop7: do { |
| int alt7 = 2; |
| int LA7_0 = input.LA(1); |
| |
| if ((LA7_0 == 17)) { |
| alt7 = 1; |
| } |
| |
| |
| switch (alt7) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:344:4: otherlv_1= ',' ( (lv_formalParameter_2_0= ruleFormalParameter ) ) |
| { |
| otherlv_1 = (Token) match(input, 17, FOLLOW_17_in_ruleFormalParameterList629); |
| |
| newLeafNode(otherlv_1, grammarAccess.getFormalParameterListAccess().getCommaKeyword_1_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:348:1: ( (lv_formalParameter_2_0= ruleFormalParameter ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:349:1: (lv_formalParameter_2_0= ruleFormalParameter ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:349:1: (lv_formalParameter_2_0= ruleFormalParameter ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:350:3: lv_formalParameter_2_0= ruleFormalParameter |
| { |
| |
| newCompositeNode(grammarAccess.getFormalParameterListAccess().getFormalParameterFormalParameterParserRuleCall_1_1_0()); |
| |
| pushFollow(FOLLOW_ruleFormalParameter_in_ruleFormalParameterList650); |
| lv_formalParameter_2_0 = ruleFormalParameter(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getFormalParameterListRule()); |
| } |
| add( |
| current, |
| "formalParameter", |
| lv_formalParameter_2_0, |
| "FormalParameter"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default: |
| break loop7; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleFormalParameterList" |
| |
| |
| // $ANTLR start "entryRuleFormalParameter" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:374:1: entryRuleFormalParameter returns [EObject current=null] : iv_ruleFormalParameter= ruleFormalParameter EOF ; |
| public final EObject entryRuleFormalParameter() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleFormalParameter = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:375:2: (iv_ruleFormalParameter= ruleFormalParameter EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:376:2: iv_ruleFormalParameter= ruleFormalParameter EOF |
| { |
| newCompositeNode(grammarAccess.getFormalParameterRule()); |
| pushFollow(FOLLOW_ruleFormalParameter_in_entryRuleFormalParameter688); |
| iv_ruleFormalParameter = ruleFormalParameter(); |
| |
| state._fsp--; |
| |
| current = iv_ruleFormalParameter; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleFormalParameter698); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleFormalParameter" |
| |
| |
| // $ANTLR start "ruleFormalParameter" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:383:1: ruleFormalParameter returns [EObject current=null] : ( ( (lv_direction_0_0= ruleParameterDirection ) ) ( |
| // (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( (lv_type_3_0= ruleTypePart ) ) ) ; |
| public final EObject ruleFormalParameter() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_name_1_0 = null; |
| Token otherlv_2 = null; |
| Enumerator lv_direction_0_0 = null; |
| |
| EObject lv_type_3_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:386:28: ( ( ( (lv_direction_0_0= ruleParameterDirection ) ) ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( |
| // (lv_type_3_0= ruleTypePart ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:387:1: ( ( (lv_direction_0_0= ruleParameterDirection ) ) ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( |
| // (lv_type_3_0= ruleTypePart ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:387:1: ( ( (lv_direction_0_0= ruleParameterDirection ) ) ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( |
| // (lv_type_3_0= ruleTypePart ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:387:2: ( (lv_direction_0_0= ruleParameterDirection ) ) ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( |
| // (lv_type_3_0= ruleTypePart ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:387:2: ( (lv_direction_0_0= ruleParameterDirection ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:388:1: (lv_direction_0_0= ruleParameterDirection ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:388:1: (lv_direction_0_0= ruleParameterDirection ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:389:3: lv_direction_0_0= ruleParameterDirection |
| { |
| |
| newCompositeNode(grammarAccess.getFormalParameterAccess().getDirectionParameterDirectionEnumRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleParameterDirection_in_ruleFormalParameter744); |
| lv_direction_0_0 = ruleParameterDirection(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getFormalParameterRule()); |
| } |
| set( |
| current, |
| "direction", |
| lv_direction_0_0, |
| "ParameterDirection"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:405:2: ( (lv_name_1_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:406:1: (lv_name_1_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:406:1: (lv_name_1_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:407:3: lv_name_1_0= RULE_ID |
| { |
| lv_name_1_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleFormalParameter761); |
| |
| newLeafNode(lv_name_1_0, grammarAccess.getFormalParameterAccess().getNameIDTerminalRuleCall_1_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getFormalParameterRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "name", |
| lv_name_1_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_2 = (Token) match(input, 14, FOLLOW_14_in_ruleFormalParameter778); |
| |
| newLeafNode(otherlv_2, grammarAccess.getFormalParameterAccess().getColonKeyword_2()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:427:1: ( (lv_type_3_0= ruleTypePart ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:428:1: (lv_type_3_0= ruleTypePart ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:428:1: (lv_type_3_0= ruleTypePart ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:429:3: lv_type_3_0= ruleTypePart |
| { |
| |
| newCompositeNode(grammarAccess.getFormalParameterAccess().getTypeTypePartParserRuleCall_3_0()); |
| |
| pushFollow(FOLLOW_ruleTypePart_in_ruleFormalParameter799); |
| lv_type_3_0 = ruleTypePart(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getFormalParameterRule()); |
| } |
| set( |
| current, |
| "type", |
| lv_type_3_0, |
| "TypePart"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleFormalParameter" |
| |
| |
| // $ANTLR start "entryRuleTypePart" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:453:1: entryRuleTypePart returns [EObject current=null] : iv_ruleTypePart= ruleTypePart EOF ; |
| public final EObject entryRuleTypePart() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleTypePart = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:454:2: (iv_ruleTypePart= ruleTypePart EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:455:2: iv_ruleTypePart= ruleTypePart EOF |
| { |
| newCompositeNode(grammarAccess.getTypePartRule()); |
| pushFollow(FOLLOW_ruleTypePart_in_entryRuleTypePart835); |
| iv_ruleTypePart = ruleTypePart(); |
| |
| state._fsp--; |
| |
| current = iv_ruleTypePart; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleTypePart845); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleTypePart" |
| |
| |
| // $ANTLR start "ruleTypePart" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:462:1: ruleTypePart returns [EObject current=null] : ( ( (lv_typeName_0_0= ruleTypeName ) ) ( |
| // (lv_multiplicity_1_0= ruleMultiplicity ) )? ) ; |
| public final EObject ruleTypePart() throws RecognitionException { |
| EObject current = null; |
| |
| EObject lv_typeName_0_0 = null; |
| |
| EObject lv_multiplicity_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:465:28: ( ( ( (lv_typeName_0_0= ruleTypeName ) ) ( (lv_multiplicity_1_0= ruleMultiplicity ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:466:1: ( ( (lv_typeName_0_0= ruleTypeName ) ) ( (lv_multiplicity_1_0= ruleMultiplicity ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:466:1: ( ( (lv_typeName_0_0= ruleTypeName ) ) ( (lv_multiplicity_1_0= ruleMultiplicity ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:466:2: ( (lv_typeName_0_0= ruleTypeName ) ) ( (lv_multiplicity_1_0= ruleMultiplicity ) )? |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:466:2: ( (lv_typeName_0_0= ruleTypeName ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:467:1: (lv_typeName_0_0= ruleTypeName ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:467:1: (lv_typeName_0_0= ruleTypeName ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:468:3: lv_typeName_0_0= ruleTypeName |
| { |
| |
| newCompositeNode(grammarAccess.getTypePartAccess().getTypeNameTypeNameParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleTypeName_in_ruleTypePart891); |
| lv_typeName_0_0 = ruleTypeName(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getTypePartRule()); |
| } |
| set( |
| current, |
| "typeName", |
| lv_typeName_0_0, |
| "TypeName"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:484:2: ( (lv_multiplicity_1_0= ruleMultiplicity ) )? |
| int alt8 = 2; |
| int LA8_0 = input.LA(1); |
| |
| if ((LA8_0 == 18)) { |
| alt8 = 1; |
| } |
| switch (alt8) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:485:1: (lv_multiplicity_1_0= ruleMultiplicity ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:485:1: (lv_multiplicity_1_0= ruleMultiplicity ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:486:3: lv_multiplicity_1_0= ruleMultiplicity |
| { |
| |
| newCompositeNode(grammarAccess.getTypePartAccess().getMultiplicityMultiplicityParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleMultiplicity_in_ruleTypePart912); |
| lv_multiplicity_1_0 = ruleMultiplicity(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getTypePartRule()); |
| } |
| set( |
| current, |
| "multiplicity", |
| lv_multiplicity_1_0, |
| "Multiplicity"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleTypePart" |
| |
| |
| // $ANTLR start "entryRuleMultiplicity" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:510:1: entryRuleMultiplicity returns [EObject current=null] : iv_ruleMultiplicity= ruleMultiplicity EOF ; |
| public final EObject entryRuleMultiplicity() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleMultiplicity = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:511:2: (iv_ruleMultiplicity= ruleMultiplicity EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:512:2: iv_ruleMultiplicity= ruleMultiplicity EOF |
| { |
| newCompositeNode(grammarAccess.getMultiplicityRule()); |
| pushFollow(FOLLOW_ruleMultiplicity_in_entryRuleMultiplicity949); |
| iv_ruleMultiplicity = ruleMultiplicity(); |
| |
| state._fsp--; |
| |
| current = iv_ruleMultiplicity; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleMultiplicity959); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleMultiplicity" |
| |
| |
| // $ANTLR start "ruleMultiplicity" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:519:1: ruleMultiplicity returns [EObject current=null] : ( () otherlv_1= '[' ( (lv_range_2_0= |
| // ruleMultiplicityRange ) )? otherlv_3= ']' ( ( ( (lv_ordered_4_0= 'ordered' ) ) ( (lv_nonUnique_5_0= 'nonUnique' ) )? ) | ( ( (lv_nonUnique_6_0= 'nonUnique' ) ) ( (lv_ordered_7_0= 'ordered' ) )? ) | ( (lv_sequence_8_0= 'sequence' ) ) )? ) ; |
| public final EObject ruleMultiplicity() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| Token otherlv_3 = null; |
| Token lv_ordered_4_0 = null; |
| Token lv_nonUnique_5_0 = null; |
| Token lv_nonUnique_6_0 = null; |
| Token lv_ordered_7_0 = null; |
| Token lv_sequence_8_0 = null; |
| EObject lv_range_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:522:28: ( ( () otherlv_1= '[' ( (lv_range_2_0= ruleMultiplicityRange ) )? otherlv_3= ']' ( ( ( |
| // (lv_ordered_4_0= 'ordered' ) ) ( (lv_nonUnique_5_0= 'nonUnique' ) )? ) | ( ( (lv_nonUnique_6_0= 'nonUnique' ) ) ( (lv_ordered_7_0= 'ordered' ) )? ) | ( (lv_sequence_8_0= 'sequence' ) ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:523:1: ( () otherlv_1= '[' ( (lv_range_2_0= ruleMultiplicityRange ) )? otherlv_3= ']' ( ( ( |
| // (lv_ordered_4_0= 'ordered' ) ) ( (lv_nonUnique_5_0= 'nonUnique' ) )? ) | ( ( (lv_nonUnique_6_0= 'nonUnique' ) ) ( (lv_ordered_7_0= 'ordered' ) )? ) | ( (lv_sequence_8_0= 'sequence' ) ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:523:1: ( () otherlv_1= '[' ( (lv_range_2_0= ruleMultiplicityRange ) )? otherlv_3= ']' ( ( ( |
| // (lv_ordered_4_0= 'ordered' ) ) ( (lv_nonUnique_5_0= 'nonUnique' ) )? ) | ( ( (lv_nonUnique_6_0= 'nonUnique' ) ) ( (lv_ordered_7_0= 'ordered' ) )? ) | ( (lv_sequence_8_0= 'sequence' ) ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:523:2: () otherlv_1= '[' ( (lv_range_2_0= ruleMultiplicityRange ) )? otherlv_3= ']' ( ( ( |
| // (lv_ordered_4_0= 'ordered' ) ) ( (lv_nonUnique_5_0= 'nonUnique' ) )? ) | ( ( (lv_nonUnique_6_0= 'nonUnique' ) ) ( (lv_ordered_7_0= 'ordered' ) )? ) | ( (lv_sequence_8_0= 'sequence' ) ) )? |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:523:2: () |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:524:5: |
| { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getMultiplicityAccess().getMultiplicityAction_0(), |
| current); |
| |
| |
| } |
| |
| otherlv_1 = (Token) match(input, 18, FOLLOW_18_in_ruleMultiplicity1005); |
| |
| newLeafNode(otherlv_1, grammarAccess.getMultiplicityAccess().getLeftSquareBracketKeyword_1()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:533:1: ( (lv_range_2_0= ruleMultiplicityRange ) )? |
| int alt9 = 2; |
| int LA9_0 = input.LA(1); |
| |
| if ((LA9_0 == RULE_INTEGERVALUE || LA9_0 == 24)) { |
| alt9 = 1; |
| } |
| switch (alt9) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:534:1: (lv_range_2_0= ruleMultiplicityRange ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:534:1: (lv_range_2_0= ruleMultiplicityRange ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:535:3: lv_range_2_0= ruleMultiplicityRange |
| { |
| |
| newCompositeNode(grammarAccess.getMultiplicityAccess().getRangeMultiplicityRangeParserRuleCall_2_0()); |
| |
| pushFollow(FOLLOW_ruleMultiplicityRange_in_ruleMultiplicity1026); |
| lv_range_2_0 = ruleMultiplicityRange(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getMultiplicityRule()); |
| } |
| set( |
| current, |
| "range", |
| lv_range_2_0, |
| "MultiplicityRange"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_3 = (Token) match(input, 19, FOLLOW_19_in_ruleMultiplicity1039); |
| |
| newLeafNode(otherlv_3, grammarAccess.getMultiplicityAccess().getRightSquareBracketKeyword_3()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:555:1: ( ( ( (lv_ordered_4_0= 'ordered' ) ) ( (lv_nonUnique_5_0= 'nonUnique' ) )? ) | ( ( |
| // (lv_nonUnique_6_0= 'nonUnique' ) ) ( (lv_ordered_7_0= 'ordered' ) )? ) | ( (lv_sequence_8_0= 'sequence' ) ) )? |
| int alt12 = 4; |
| switch (input.LA(1)) { |
| case 20: { |
| alt12 = 1; |
| } |
| break; |
| case 21: { |
| alt12 = 2; |
| } |
| break; |
| case 22: { |
| alt12 = 3; |
| } |
| break; |
| } |
| |
| switch (alt12) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:555:2: ( ( (lv_ordered_4_0= 'ordered' ) ) ( (lv_nonUnique_5_0= 'nonUnique' ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:555:2: ( ( (lv_ordered_4_0= 'ordered' ) ) ( (lv_nonUnique_5_0= 'nonUnique' ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:555:3: ( (lv_ordered_4_0= 'ordered' ) ) ( (lv_nonUnique_5_0= 'nonUnique' ) )? |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:555:3: ( (lv_ordered_4_0= 'ordered' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:556:1: (lv_ordered_4_0= 'ordered' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:556:1: (lv_ordered_4_0= 'ordered' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:557:3: lv_ordered_4_0= 'ordered' |
| { |
| lv_ordered_4_0 = (Token) match(input, 20, FOLLOW_20_in_ruleMultiplicity1059); |
| |
| newLeafNode(lv_ordered_4_0, grammarAccess.getMultiplicityAccess().getOrderedOrderedKeyword_4_0_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getMultiplicityRule()); |
| } |
| setWithLastConsumed(current, "ordered", true, "ordered"); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:570:2: ( (lv_nonUnique_5_0= 'nonUnique' ) )? |
| int alt10 = 2; |
| int LA10_0 = input.LA(1); |
| |
| if ((LA10_0 == 21)) { |
| alt10 = 1; |
| } |
| switch (alt10) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:571:1: (lv_nonUnique_5_0= 'nonUnique' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:571:1: (lv_nonUnique_5_0= 'nonUnique' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:572:3: lv_nonUnique_5_0= 'nonUnique' |
| { |
| lv_nonUnique_5_0 = (Token) match(input, 21, FOLLOW_21_in_ruleMultiplicity1090); |
| |
| newLeafNode(lv_nonUnique_5_0, grammarAccess.getMultiplicityAccess().getNonUniqueNonUniqueKeyword_4_0_1_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getMultiplicityRule()); |
| } |
| setWithLastConsumed(current, "nonUnique", true, "nonUnique"); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:586:6: ( ( (lv_nonUnique_6_0= 'nonUnique' ) ) ( (lv_ordered_7_0= 'ordered' ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:586:6: ( ( (lv_nonUnique_6_0= 'nonUnique' ) ) ( (lv_ordered_7_0= 'ordered' ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:586:7: ( (lv_nonUnique_6_0= 'nonUnique' ) ) ( (lv_ordered_7_0= 'ordered' ) )? |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:586:7: ( (lv_nonUnique_6_0= 'nonUnique' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:587:1: (lv_nonUnique_6_0= 'nonUnique' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:587:1: (lv_nonUnique_6_0= 'nonUnique' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:588:3: lv_nonUnique_6_0= 'nonUnique' |
| { |
| lv_nonUnique_6_0 = (Token) match(input, 21, FOLLOW_21_in_ruleMultiplicity1130); |
| |
| newLeafNode(lv_nonUnique_6_0, grammarAccess.getMultiplicityAccess().getNonUniqueNonUniqueKeyword_4_1_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getMultiplicityRule()); |
| } |
| setWithLastConsumed(current, "nonUnique", true, "nonUnique"); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:601:2: ( (lv_ordered_7_0= 'ordered' ) )? |
| int alt11 = 2; |
| int LA11_0 = input.LA(1); |
| |
| if ((LA11_0 == 20)) { |
| alt11 = 1; |
| } |
| switch (alt11) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:602:1: (lv_ordered_7_0= 'ordered' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:602:1: (lv_ordered_7_0= 'ordered' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:603:3: lv_ordered_7_0= 'ordered' |
| { |
| lv_ordered_7_0 = (Token) match(input, 20, FOLLOW_20_in_ruleMultiplicity1161); |
| |
| newLeafNode(lv_ordered_7_0, grammarAccess.getMultiplicityAccess().getOrderedOrderedKeyword_4_1_1_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getMultiplicityRule()); |
| } |
| setWithLastConsumed(current, "ordered", true, "ordered"); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:617:6: ( (lv_sequence_8_0= 'sequence' ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:617:6: ( (lv_sequence_8_0= 'sequence' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:618:1: (lv_sequence_8_0= 'sequence' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:618:1: (lv_sequence_8_0= 'sequence' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:619:3: lv_sequence_8_0= 'sequence' |
| { |
| lv_sequence_8_0 = (Token) match(input, 22, FOLLOW_22_in_ruleMultiplicity1200); |
| |
| newLeafNode(lv_sequence_8_0, grammarAccess.getMultiplicityAccess().getSequenceSequenceKeyword_4_2_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getMultiplicityRule()); |
| } |
| setWithLastConsumed(current, "sequence", true, "sequence"); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleMultiplicity" |
| |
| |
| // $ANTLR start "entryRuleMultiplicityRange" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:640:1: entryRuleMultiplicityRange returns [EObject current=null] : iv_ruleMultiplicityRange= ruleMultiplicityRange |
| // EOF ; |
| public final EObject entryRuleMultiplicityRange() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleMultiplicityRange = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:641:2: (iv_ruleMultiplicityRange= ruleMultiplicityRange EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:642:2: iv_ruleMultiplicityRange= ruleMultiplicityRange EOF |
| { |
| newCompositeNode(grammarAccess.getMultiplicityRangeRule()); |
| pushFollow(FOLLOW_ruleMultiplicityRange_in_entryRuleMultiplicityRange1251); |
| iv_ruleMultiplicityRange = ruleMultiplicityRange(); |
| |
| state._fsp--; |
| |
| current = iv_ruleMultiplicityRange; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleMultiplicityRange1261); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleMultiplicityRange" |
| |
| |
| // $ANTLR start "ruleMultiplicityRange" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:649:1: ruleMultiplicityRange returns [EObject current=null] : ( ( ( (lv_lower_0_0= |
| // ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) otherlv_1= '..' )? ( (lv_upper_2_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) ) ; |
| public final EObject ruleMultiplicityRange() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| EObject lv_lower_0_0 = null; |
| |
| EObject lv_upper_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:652:28: ( ( ( ( (lv_lower_0_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) otherlv_1= '..' )? ( (lv_upper_2_0= |
| // ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:653:1: ( ( ( (lv_lower_0_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) otherlv_1= '..' )? ( (lv_upper_2_0= |
| // ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:653:1: ( ( ( (lv_lower_0_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) otherlv_1= '..' )? ( (lv_upper_2_0= |
| // ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:653:2: ( ( (lv_lower_0_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) otherlv_1= '..' )? ( (lv_upper_2_0= |
| // ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:653:2: ( ( (lv_lower_0_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) otherlv_1= '..' )? |
| int alt13 = 2; |
| int LA13_0 = input.LA(1); |
| |
| if ((LA13_0 == RULE_INTEGERVALUE)) { |
| int LA13_1 = input.LA(2); |
| |
| if ((LA13_1 == 23)) { |
| alt13 = 1; |
| } |
| } |
| else if ((LA13_0 == 24)) { |
| int LA13_2 = input.LA(2); |
| |
| if ((LA13_2 == 23)) { |
| alt13 = 1; |
| } |
| } |
| switch (alt13) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:653:3: ( (lv_lower_0_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) otherlv_1= '..' |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:653:3: ( (lv_lower_0_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:654:1: (lv_lower_0_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:654:1: (lv_lower_0_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:655:3: lv_lower_0_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX |
| { |
| |
| newCompositeNode(grammarAccess.getMultiplicityRangeAccess().getLowerNUMBER_LITERAL_WITHOUT_SUFFIXParserRuleCall_0_0_0()); |
| |
| pushFollow(FOLLOW_ruleNUMBER_LITERAL_WITHOUT_SUFFIX_in_ruleMultiplicityRange1308); |
| lv_lower_0_0 = ruleNUMBER_LITERAL_WITHOUT_SUFFIX(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getMultiplicityRangeRule()); |
| } |
| set( |
| current, |
| "lower", |
| lv_lower_0_0, |
| "NUMBER_LITERAL_WITHOUT_SUFFIX"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_1 = (Token) match(input, 23, FOLLOW_23_in_ruleMultiplicityRange1320); |
| |
| newLeafNode(otherlv_1, grammarAccess.getMultiplicityRangeAccess().getFullStopFullStopKeyword_0_1()); |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:675:3: ( (lv_upper_2_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:676:1: (lv_upper_2_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:676:1: (lv_upper_2_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:677:3: lv_upper_2_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX |
| { |
| |
| newCompositeNode(grammarAccess.getMultiplicityRangeAccess().getUpperNUMBER_LITERAL_WITHOUT_SUFFIXParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleNUMBER_LITERAL_WITHOUT_SUFFIX_in_ruleMultiplicityRange1343); |
| lv_upper_2_0 = ruleNUMBER_LITERAL_WITHOUT_SUFFIX(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getMultiplicityRangeRule()); |
| } |
| set( |
| current, |
| "upper", |
| lv_upper_2_0, |
| "NUMBER_LITERAL_WITHOUT_SUFFIX"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleMultiplicityRange" |
| |
| |
| // $ANTLR start "entryRuleNUMBER_LITERAL_WITHOUT_SUFFIX" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:701:1: entryRuleNUMBER_LITERAL_WITHOUT_SUFFIX returns [EObject current=null] : |
| // iv_ruleNUMBER_LITERAL_WITHOUT_SUFFIX= ruleNUMBER_LITERAL_WITHOUT_SUFFIX EOF ; |
| public final EObject entryRuleNUMBER_LITERAL_WITHOUT_SUFFIX() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleNUMBER_LITERAL_WITHOUT_SUFFIX = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:702:2: (iv_ruleNUMBER_LITERAL_WITHOUT_SUFFIX= ruleNUMBER_LITERAL_WITHOUT_SUFFIX EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:703:2: iv_ruleNUMBER_LITERAL_WITHOUT_SUFFIX= ruleNUMBER_LITERAL_WITHOUT_SUFFIX EOF |
| { |
| newCompositeNode(grammarAccess.getNUMBER_LITERAL_WITHOUT_SUFFIXRule()); |
| pushFollow(FOLLOW_ruleNUMBER_LITERAL_WITHOUT_SUFFIX_in_entryRuleNUMBER_LITERAL_WITHOUT_SUFFIX1379); |
| iv_ruleNUMBER_LITERAL_WITHOUT_SUFFIX = ruleNUMBER_LITERAL_WITHOUT_SUFFIX(); |
| |
| state._fsp--; |
| |
| current = iv_ruleNUMBER_LITERAL_WITHOUT_SUFFIX; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleNUMBER_LITERAL_WITHOUT_SUFFIX1389); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleNUMBER_LITERAL_WITHOUT_SUFFIX" |
| |
| |
| // $ANTLR start "ruleNUMBER_LITERAL_WITHOUT_SUFFIX" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:710:1: ruleNUMBER_LITERAL_WITHOUT_SUFFIX returns [EObject current=null] : (this_INTEGER_LITERAL_WITHOUT_SUFFIX_0= |
| // ruleINTEGER_LITERAL_WITHOUT_SUFFIX | this_UNLIMITED_LITERAL_WITHOUT_SUFFIX_1= ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX ) ; |
| public final EObject ruleNUMBER_LITERAL_WITHOUT_SUFFIX() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_INTEGER_LITERAL_WITHOUT_SUFFIX_0 = null; |
| |
| EObject this_UNLIMITED_LITERAL_WITHOUT_SUFFIX_1 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:713:28: ( (this_INTEGER_LITERAL_WITHOUT_SUFFIX_0= ruleINTEGER_LITERAL_WITHOUT_SUFFIX | |
| // this_UNLIMITED_LITERAL_WITHOUT_SUFFIX_1= ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:714:1: (this_INTEGER_LITERAL_WITHOUT_SUFFIX_0= ruleINTEGER_LITERAL_WITHOUT_SUFFIX | |
| // this_UNLIMITED_LITERAL_WITHOUT_SUFFIX_1= ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:714:1: (this_INTEGER_LITERAL_WITHOUT_SUFFIX_0= ruleINTEGER_LITERAL_WITHOUT_SUFFIX | |
| // this_UNLIMITED_LITERAL_WITHOUT_SUFFIX_1= ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX ) |
| int alt14 = 2; |
| int LA14_0 = input.LA(1); |
| |
| if ((LA14_0 == RULE_INTEGERVALUE)) { |
| alt14 = 1; |
| } |
| else if ((LA14_0 == 24)) { |
| alt14 = 2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 14, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt14) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:715:5: this_INTEGER_LITERAL_WITHOUT_SUFFIX_0= ruleINTEGER_LITERAL_WITHOUT_SUFFIX |
| { |
| |
| newCompositeNode(grammarAccess.getNUMBER_LITERAL_WITHOUT_SUFFIXAccess().getINTEGER_LITERAL_WITHOUT_SUFFIXParserRuleCall_0()); |
| |
| pushFollow(FOLLOW_ruleINTEGER_LITERAL_WITHOUT_SUFFIX_in_ruleNUMBER_LITERAL_WITHOUT_SUFFIX1436); |
| this_INTEGER_LITERAL_WITHOUT_SUFFIX_0 = ruleINTEGER_LITERAL_WITHOUT_SUFFIX(); |
| |
| state._fsp--; |
| |
| |
| current = this_INTEGER_LITERAL_WITHOUT_SUFFIX_0; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:725:5: this_UNLIMITED_LITERAL_WITHOUT_SUFFIX_1= ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX |
| { |
| |
| newCompositeNode(grammarAccess.getNUMBER_LITERAL_WITHOUT_SUFFIXAccess().getUNLIMITED_LITERAL_WITHOUT_SUFFIXParserRuleCall_1()); |
| |
| pushFollow(FOLLOW_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX_in_ruleNUMBER_LITERAL_WITHOUT_SUFFIX1463); |
| this_UNLIMITED_LITERAL_WITHOUT_SUFFIX_1 = ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX(); |
| |
| state._fsp--; |
| |
| |
| current = this_UNLIMITED_LITERAL_WITHOUT_SUFFIX_1; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleNUMBER_LITERAL_WITHOUT_SUFFIX" |
| |
| |
| // $ANTLR start "entryRuleINTEGER_LITERAL_WITHOUT_SUFFIX" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:741:1: entryRuleINTEGER_LITERAL_WITHOUT_SUFFIX returns [EObject current=null] : |
| // iv_ruleINTEGER_LITERAL_WITHOUT_SUFFIX= ruleINTEGER_LITERAL_WITHOUT_SUFFIX EOF ; |
| public final EObject entryRuleINTEGER_LITERAL_WITHOUT_SUFFIX() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleINTEGER_LITERAL_WITHOUT_SUFFIX = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:742:2: (iv_ruleINTEGER_LITERAL_WITHOUT_SUFFIX= ruleINTEGER_LITERAL_WITHOUT_SUFFIX EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:743:2: iv_ruleINTEGER_LITERAL_WITHOUT_SUFFIX= ruleINTEGER_LITERAL_WITHOUT_SUFFIX EOF |
| { |
| newCompositeNode(grammarAccess.getINTEGER_LITERAL_WITHOUT_SUFFIXRule()); |
| pushFollow(FOLLOW_ruleINTEGER_LITERAL_WITHOUT_SUFFIX_in_entryRuleINTEGER_LITERAL_WITHOUT_SUFFIX1498); |
| iv_ruleINTEGER_LITERAL_WITHOUT_SUFFIX = ruleINTEGER_LITERAL_WITHOUT_SUFFIX(); |
| |
| state._fsp--; |
| |
| current = iv_ruleINTEGER_LITERAL_WITHOUT_SUFFIX; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleINTEGER_LITERAL_WITHOUT_SUFFIX1508); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleINTEGER_LITERAL_WITHOUT_SUFFIX" |
| |
| |
| // $ANTLR start "ruleINTEGER_LITERAL_WITHOUT_SUFFIX" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:750:1: ruleINTEGER_LITERAL_WITHOUT_SUFFIX returns [EObject current=null] : ( (lv_value_0_0= RULE_INTEGERVALUE ) ) |
| // ; |
| public final EObject ruleINTEGER_LITERAL_WITHOUT_SUFFIX() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_value_0_0 = null; |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:753:28: ( ( (lv_value_0_0= RULE_INTEGERVALUE ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:754:1: ( (lv_value_0_0= RULE_INTEGERVALUE ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:754:1: ( (lv_value_0_0= RULE_INTEGERVALUE ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:755:1: (lv_value_0_0= RULE_INTEGERVALUE ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:755:1: (lv_value_0_0= RULE_INTEGERVALUE ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:756:3: lv_value_0_0= RULE_INTEGERVALUE |
| { |
| lv_value_0_0 = (Token) match(input, RULE_INTEGERVALUE, FOLLOW_RULE_INTEGERVALUE_in_ruleINTEGER_LITERAL_WITHOUT_SUFFIX1549); |
| |
| newLeafNode(lv_value_0_0, grammarAccess.getINTEGER_LITERAL_WITHOUT_SUFFIXAccess().getValueIntegerValueTerminalRuleCall_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getINTEGER_LITERAL_WITHOUT_SUFFIXRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "value", |
| lv_value_0_0, |
| "IntegerValue"); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleINTEGER_LITERAL_WITHOUT_SUFFIX" |
| |
| |
| // $ANTLR start "entryRuleUNLIMITED_LITERAL_WITHOUT_SUFFIX" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:780:1: entryRuleUNLIMITED_LITERAL_WITHOUT_SUFFIX returns [EObject current=null] : |
| // iv_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX= ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX EOF ; |
| public final EObject entryRuleUNLIMITED_LITERAL_WITHOUT_SUFFIX() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:781:2: (iv_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX= ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:782:2: iv_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX= ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX EOF |
| { |
| newCompositeNode(grammarAccess.getUNLIMITED_LITERAL_WITHOUT_SUFFIXRule()); |
| pushFollow(FOLLOW_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX_in_entryRuleUNLIMITED_LITERAL_WITHOUT_SUFFIX1589); |
| iv_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX = ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX(); |
| |
| state._fsp--; |
| |
| current = iv_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleUNLIMITED_LITERAL_WITHOUT_SUFFIX1599); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleUNLIMITED_LITERAL_WITHOUT_SUFFIX" |
| |
| |
| // $ANTLR start "ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:789:1: ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX returns [EObject current=null] : ( (lv_value_0_0= '*' ) ) ; |
| public final EObject ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_value_0_0 = null; |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:792:28: ( ( (lv_value_0_0= '*' ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:793:1: ( (lv_value_0_0= '*' ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:793:1: ( (lv_value_0_0= '*' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:794:1: (lv_value_0_0= '*' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:794:1: (lv_value_0_0= '*' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:795:3: lv_value_0_0= '*' |
| { |
| lv_value_0_0 = (Token) match(input, 24, FOLLOW_24_in_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX1641); |
| |
| newLeafNode(lv_value_0_0, grammarAccess.getUNLIMITED_LITERAL_WITHOUT_SUFFIXAccess().getValueAsteriskKeyword_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getUNLIMITED_LITERAL_WITHOUT_SUFFIXRule()); |
| } |
| setWithLastConsumed(current, "value", lv_value_0_0, "*"); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX" |
| |
| |
| // $ANTLR start "entryRuleTypeName" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:816:1: entryRuleTypeName returns [EObject current=null] : iv_ruleTypeName= ruleTypeName EOF ; |
| public final EObject entryRuleTypeName() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleTypeName = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:817:2: (iv_ruleTypeName= ruleTypeName EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:818:2: iv_ruleTypeName= ruleTypeName EOF |
| { |
| newCompositeNode(grammarAccess.getTypeNameRule()); |
| pushFollow(FOLLOW_ruleTypeName_in_entryRuleTypeName1689); |
| iv_ruleTypeName = ruleTypeName(); |
| |
| state._fsp--; |
| |
| current = iv_ruleTypeName; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleTypeName1699); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleTypeName" |
| |
| |
| // $ANTLR start "ruleTypeName" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:825:1: ruleTypeName returns [EObject current=null] : ( () ( ( (lv_qualifiedName_1_0= ruleQualifiedNameWithBinding |
| // ) ) | otherlv_2= 'any' ) ) ; |
| public final EObject ruleTypeName() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_2 = null; |
| EObject lv_qualifiedName_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:828:28: ( ( () ( ( (lv_qualifiedName_1_0= ruleQualifiedNameWithBinding ) ) | otherlv_2= 'any' ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:829:1: ( () ( ( (lv_qualifiedName_1_0= ruleQualifiedNameWithBinding ) ) | otherlv_2= 'any' ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:829:1: ( () ( ( (lv_qualifiedName_1_0= ruleQualifiedNameWithBinding ) ) | otherlv_2= 'any' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:829:2: () ( ( (lv_qualifiedName_1_0= ruleQualifiedNameWithBinding ) ) | otherlv_2= 'any' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:829:2: () |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:830:5: |
| { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getTypeNameAccess().getTypeNameAction_0(), |
| current); |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:835:2: ( ( (lv_qualifiedName_1_0= ruleQualifiedNameWithBinding ) ) | otherlv_2= 'any' ) |
| int alt15 = 2; |
| int LA15_0 = input.LA(1); |
| |
| if ((LA15_0 == RULE_ID)) { |
| alt15 = 1; |
| } |
| else if ((LA15_0 == 25)) { |
| alt15 = 2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 15, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt15) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:835:3: ( (lv_qualifiedName_1_0= ruleQualifiedNameWithBinding ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:835:3: ( (lv_qualifiedName_1_0= ruleQualifiedNameWithBinding ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:836:1: (lv_qualifiedName_1_0= ruleQualifiedNameWithBinding ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:836:1: (lv_qualifiedName_1_0= ruleQualifiedNameWithBinding ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:837:3: lv_qualifiedName_1_0= ruleQualifiedNameWithBinding |
| { |
| |
| newCompositeNode(grammarAccess.getTypeNameAccess().getQualifiedNameQualifiedNameWithBindingParserRuleCall_1_0_0()); |
| |
| pushFollow(FOLLOW_ruleQualifiedNameWithBinding_in_ruleTypeName1755); |
| lv_qualifiedName_1_0 = ruleQualifiedNameWithBinding(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getTypeNameRule()); |
| } |
| set( |
| current, |
| "qualifiedName", |
| lv_qualifiedName_1_0, |
| "QualifiedNameWithBinding"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:854:7: otherlv_2= 'any' |
| { |
| otherlv_2 = (Token) match(input, 25, FOLLOW_25_in_ruleTypeName1773); |
| |
| newLeafNode(otherlv_2, grammarAccess.getTypeNameAccess().getAnyKeyword_1_1()); |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleTypeName" |
| |
| |
| // $ANTLR start "entryRuleRedefinitionClause" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:866:1: entryRuleRedefinitionClause returns [EObject current=null] : iv_ruleRedefinitionClause= |
| // ruleRedefinitionClause EOF ; |
| public final EObject entryRuleRedefinitionClause() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleRedefinitionClause = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:867:2: (iv_ruleRedefinitionClause= ruleRedefinitionClause EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:868:2: iv_ruleRedefinitionClause= ruleRedefinitionClause EOF |
| { |
| newCompositeNode(grammarAccess.getRedefinitionClauseRule()); |
| pushFollow(FOLLOW_ruleRedefinitionClause_in_entryRuleRedefinitionClause1810); |
| iv_ruleRedefinitionClause = ruleRedefinitionClause(); |
| |
| state._fsp--; |
| |
| current = iv_ruleRedefinitionClause; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleRedefinitionClause1820); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleRedefinitionClause" |
| |
| |
| // $ANTLR start "ruleRedefinitionClause" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:875:1: ruleRedefinitionClause returns [EObject current=null] : (otherlv_0= 'redefines' ( |
| // (lv_redefinedOperations_1_0= ruleQualifiedNameList ) ) ) ; |
| public final EObject ruleRedefinitionClause() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| EObject lv_redefinedOperations_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:878:28: ( (otherlv_0= 'redefines' ( (lv_redefinedOperations_1_0= ruleQualifiedNameList ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:879:1: (otherlv_0= 'redefines' ( (lv_redefinedOperations_1_0= ruleQualifiedNameList ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:879:1: (otherlv_0= 'redefines' ( (lv_redefinedOperations_1_0= ruleQualifiedNameList ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:879:3: otherlv_0= 'redefines' ( (lv_redefinedOperations_1_0= ruleQualifiedNameList ) ) |
| { |
| otherlv_0 = (Token) match(input, 26, FOLLOW_26_in_ruleRedefinitionClause1857); |
| |
| newLeafNode(otherlv_0, grammarAccess.getRedefinitionClauseAccess().getRedefinesKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:883:1: ( (lv_redefinedOperations_1_0= ruleQualifiedNameList ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:884:1: (lv_redefinedOperations_1_0= ruleQualifiedNameList ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:884:1: (lv_redefinedOperations_1_0= ruleQualifiedNameList ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:885:3: lv_redefinedOperations_1_0= ruleQualifiedNameList |
| { |
| |
| newCompositeNode(grammarAccess.getRedefinitionClauseAccess().getRedefinedOperationsQualifiedNameListParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleQualifiedNameList_in_ruleRedefinitionClause1878); |
| lv_redefinedOperations_1_0 = ruleQualifiedNameList(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getRedefinitionClauseRule()); |
| } |
| set( |
| current, |
| "redefinedOperations", |
| lv_redefinedOperations_1_0, |
| "QualifiedNameList"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleRedefinitionClause" |
| |
| |
| // $ANTLR start "entryRuleLITERAL" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:911:1: entryRuleLITERAL returns [EObject current=null] : iv_ruleLITERAL= ruleLITERAL EOF ; |
| public final EObject entryRuleLITERAL() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleLITERAL = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:912:2: (iv_ruleLITERAL= ruleLITERAL EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:913:2: iv_ruleLITERAL= ruleLITERAL EOF |
| { |
| newCompositeNode(grammarAccess.getLITERALRule()); |
| pushFollow(FOLLOW_ruleLITERAL_in_entryRuleLITERAL1916); |
| iv_ruleLITERAL = ruleLITERAL(); |
| |
| state._fsp--; |
| |
| current = iv_ruleLITERAL; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleLITERAL1926); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleLITERAL" |
| |
| |
| // $ANTLR start "ruleLITERAL" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:920:1: ruleLITERAL returns [EObject current=null] : (this_BOOLEAN_LITERAL_0= ruleBOOLEAN_LITERAL | |
| // this_NUMBER_LITERAL_1= ruleNUMBER_LITERAL | this_STRING_LITERAL_2= ruleSTRING_LITERAL ) ; |
| public final EObject ruleLITERAL() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_BOOLEAN_LITERAL_0 = null; |
| |
| EObject this_NUMBER_LITERAL_1 = null; |
| |
| EObject this_STRING_LITERAL_2 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:923:28: ( (this_BOOLEAN_LITERAL_0= ruleBOOLEAN_LITERAL | this_NUMBER_LITERAL_1= ruleNUMBER_LITERAL | |
| // this_STRING_LITERAL_2= ruleSTRING_LITERAL ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:924:1: (this_BOOLEAN_LITERAL_0= ruleBOOLEAN_LITERAL | this_NUMBER_LITERAL_1= ruleNUMBER_LITERAL | |
| // this_STRING_LITERAL_2= ruleSTRING_LITERAL ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:924:1: (this_BOOLEAN_LITERAL_0= ruleBOOLEAN_LITERAL | this_NUMBER_LITERAL_1= ruleNUMBER_LITERAL | |
| // this_STRING_LITERAL_2= ruleSTRING_LITERAL ) |
| int alt16 = 3; |
| switch (input.LA(1)) { |
| case 93: |
| case 94: { |
| alt16 = 1; |
| } |
| break; |
| case RULE_INTEGERVALUE: |
| case 24: { |
| alt16 = 2; |
| } |
| break; |
| case RULE_STRING: { |
| alt16 = 3; |
| } |
| break; |
| default: |
| NoViableAltException nvae = |
| new NoViableAltException("", 16, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt16) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:925:5: this_BOOLEAN_LITERAL_0= ruleBOOLEAN_LITERAL |
| { |
| |
| newCompositeNode(grammarAccess.getLITERALAccess().getBOOLEAN_LITERALParserRuleCall_0()); |
| |
| pushFollow(FOLLOW_ruleBOOLEAN_LITERAL_in_ruleLITERAL1973); |
| this_BOOLEAN_LITERAL_0 = ruleBOOLEAN_LITERAL(); |
| |
| state._fsp--; |
| |
| |
| current = this_BOOLEAN_LITERAL_0; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:935:5: this_NUMBER_LITERAL_1= ruleNUMBER_LITERAL |
| { |
| |
| newCompositeNode(grammarAccess.getLITERALAccess().getNUMBER_LITERALParserRuleCall_1()); |
| |
| pushFollow(FOLLOW_ruleNUMBER_LITERAL_in_ruleLITERAL2000); |
| this_NUMBER_LITERAL_1 = ruleNUMBER_LITERAL(); |
| |
| state._fsp--; |
| |
| |
| current = this_NUMBER_LITERAL_1; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 3: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:945:5: this_STRING_LITERAL_2= ruleSTRING_LITERAL |
| { |
| |
| newCompositeNode(grammarAccess.getLITERALAccess().getSTRING_LITERALParserRuleCall_2()); |
| |
| pushFollow(FOLLOW_ruleSTRING_LITERAL_in_ruleLITERAL2027); |
| this_STRING_LITERAL_2 = ruleSTRING_LITERAL(); |
| |
| state._fsp--; |
| |
| |
| current = this_STRING_LITERAL_2; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleLITERAL" |
| |
| |
| // $ANTLR start "entryRuleBOOLEAN_LITERAL" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:961:1: entryRuleBOOLEAN_LITERAL returns [EObject current=null] : iv_ruleBOOLEAN_LITERAL= ruleBOOLEAN_LITERAL EOF ; |
| public final EObject entryRuleBOOLEAN_LITERAL() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleBOOLEAN_LITERAL = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:962:2: (iv_ruleBOOLEAN_LITERAL= ruleBOOLEAN_LITERAL EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:963:2: iv_ruleBOOLEAN_LITERAL= ruleBOOLEAN_LITERAL EOF |
| { |
| newCompositeNode(grammarAccess.getBOOLEAN_LITERALRule()); |
| pushFollow(FOLLOW_ruleBOOLEAN_LITERAL_in_entryRuleBOOLEAN_LITERAL2062); |
| iv_ruleBOOLEAN_LITERAL = ruleBOOLEAN_LITERAL(); |
| |
| state._fsp--; |
| |
| current = iv_ruleBOOLEAN_LITERAL; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleBOOLEAN_LITERAL2072); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleBOOLEAN_LITERAL" |
| |
| |
| // $ANTLR start "ruleBOOLEAN_LITERAL" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:970:1: ruleBOOLEAN_LITERAL returns [EObject current=null] : ( ( (lv_value_0_0= ruleBooleanValue ) ) ( |
| // (lv_suffix_1_0= ruleSuffixExpression ) )? ) ; |
| public final EObject ruleBOOLEAN_LITERAL() throws RecognitionException { |
| EObject current = null; |
| |
| Enumerator lv_value_0_0 = null; |
| |
| EObject lv_suffix_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:973:28: ( ( ( (lv_value_0_0= ruleBooleanValue ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:974:1: ( ( (lv_value_0_0= ruleBooleanValue ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:974:1: ( ( (lv_value_0_0= ruleBooleanValue ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:974:2: ( (lv_value_0_0= ruleBooleanValue ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:974:2: ( (lv_value_0_0= ruleBooleanValue ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:975:1: (lv_value_0_0= ruleBooleanValue ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:975:1: (lv_value_0_0= ruleBooleanValue ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:976:3: lv_value_0_0= ruleBooleanValue |
| { |
| |
| newCompositeNode(grammarAccess.getBOOLEAN_LITERALAccess().getValueBooleanValueEnumRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleBooleanValue_in_ruleBOOLEAN_LITERAL2118); |
| lv_value_0_0 = ruleBooleanValue(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getBOOLEAN_LITERALRule()); |
| } |
| set( |
| current, |
| "value", |
| lv_value_0_0, |
| "BooleanValue"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:992:2: ( (lv_suffix_1_0= ruleSuffixExpression ) )? |
| int alt17 = 2; |
| int LA17_0 = input.LA(1); |
| |
| if (((LA17_0 >= 55 && LA17_0 <= 56))) { |
| alt17 = 1; |
| } |
| switch (alt17) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:993:1: (lv_suffix_1_0= ruleSuffixExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:993:1: (lv_suffix_1_0= ruleSuffixExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:994:3: lv_suffix_1_0= ruleSuffixExpression |
| { |
| |
| newCompositeNode(grammarAccess.getBOOLEAN_LITERALAccess().getSuffixSuffixExpressionParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleSuffixExpression_in_ruleBOOLEAN_LITERAL2139); |
| lv_suffix_1_0 = ruleSuffixExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getBOOLEAN_LITERALRule()); |
| } |
| set( |
| current, |
| "suffix", |
| lv_suffix_1_0, |
| "SuffixExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleBOOLEAN_LITERAL" |
| |
| |
| // $ANTLR start "entryRuleNUMBER_LITERAL" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1018:1: entryRuleNUMBER_LITERAL returns [EObject current=null] : iv_ruleNUMBER_LITERAL= ruleNUMBER_LITERAL EOF ; |
| public final EObject entryRuleNUMBER_LITERAL() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleNUMBER_LITERAL = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1019:2: (iv_ruleNUMBER_LITERAL= ruleNUMBER_LITERAL EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1020:2: iv_ruleNUMBER_LITERAL= ruleNUMBER_LITERAL EOF |
| { |
| newCompositeNode(grammarAccess.getNUMBER_LITERALRule()); |
| pushFollow(FOLLOW_ruleNUMBER_LITERAL_in_entryRuleNUMBER_LITERAL2176); |
| iv_ruleNUMBER_LITERAL = ruleNUMBER_LITERAL(); |
| |
| state._fsp--; |
| |
| current = iv_ruleNUMBER_LITERAL; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleNUMBER_LITERAL2186); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleNUMBER_LITERAL" |
| |
| |
| // $ANTLR start "ruleNUMBER_LITERAL" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1027:1: ruleNUMBER_LITERAL returns [EObject current=null] : (this_INTEGER_LITERAL_0= ruleINTEGER_LITERAL | |
| // this_UNLIMITED_LITERAL_1= ruleUNLIMITED_LITERAL ) ; |
| public final EObject ruleNUMBER_LITERAL() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_INTEGER_LITERAL_0 = null; |
| |
| EObject this_UNLIMITED_LITERAL_1 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1030:28: ( (this_INTEGER_LITERAL_0= ruleINTEGER_LITERAL | this_UNLIMITED_LITERAL_1= ruleUNLIMITED_LITERAL |
| // ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1031:1: (this_INTEGER_LITERAL_0= ruleINTEGER_LITERAL | this_UNLIMITED_LITERAL_1= ruleUNLIMITED_LITERAL ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1031:1: (this_INTEGER_LITERAL_0= ruleINTEGER_LITERAL | this_UNLIMITED_LITERAL_1= ruleUNLIMITED_LITERAL |
| // ) |
| int alt18 = 2; |
| int LA18_0 = input.LA(1); |
| |
| if ((LA18_0 == RULE_INTEGERVALUE)) { |
| alt18 = 1; |
| } |
| else if ((LA18_0 == 24)) { |
| alt18 = 2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 18, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt18) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1032:5: this_INTEGER_LITERAL_0= ruleINTEGER_LITERAL |
| { |
| |
| newCompositeNode(grammarAccess.getNUMBER_LITERALAccess().getINTEGER_LITERALParserRuleCall_0()); |
| |
| pushFollow(FOLLOW_ruleINTEGER_LITERAL_in_ruleNUMBER_LITERAL2233); |
| this_INTEGER_LITERAL_0 = ruleINTEGER_LITERAL(); |
| |
| state._fsp--; |
| |
| |
| current = this_INTEGER_LITERAL_0; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1042:5: this_UNLIMITED_LITERAL_1= ruleUNLIMITED_LITERAL |
| { |
| |
| newCompositeNode(grammarAccess.getNUMBER_LITERALAccess().getUNLIMITED_LITERALParserRuleCall_1()); |
| |
| pushFollow(FOLLOW_ruleUNLIMITED_LITERAL_in_ruleNUMBER_LITERAL2260); |
| this_UNLIMITED_LITERAL_1 = ruleUNLIMITED_LITERAL(); |
| |
| state._fsp--; |
| |
| |
| current = this_UNLIMITED_LITERAL_1; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleNUMBER_LITERAL" |
| |
| |
| // $ANTLR start "entryRuleINTEGER_LITERAL" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1058:1: entryRuleINTEGER_LITERAL returns [EObject current=null] : iv_ruleINTEGER_LITERAL= ruleINTEGER_LITERAL EOF |
| // ; |
| public final EObject entryRuleINTEGER_LITERAL() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleINTEGER_LITERAL = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1059:2: (iv_ruleINTEGER_LITERAL= ruleINTEGER_LITERAL EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1060:2: iv_ruleINTEGER_LITERAL= ruleINTEGER_LITERAL EOF |
| { |
| newCompositeNode(grammarAccess.getINTEGER_LITERALRule()); |
| pushFollow(FOLLOW_ruleINTEGER_LITERAL_in_entryRuleINTEGER_LITERAL2295); |
| iv_ruleINTEGER_LITERAL = ruleINTEGER_LITERAL(); |
| |
| state._fsp--; |
| |
| current = iv_ruleINTEGER_LITERAL; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleINTEGER_LITERAL2305); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleINTEGER_LITERAL" |
| |
| |
| // $ANTLR start "ruleINTEGER_LITERAL" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1067:1: ruleINTEGER_LITERAL returns [EObject current=null] : ( ( (lv_value_0_0= RULE_INTEGERVALUE ) ) ( |
| // (lv_suffix_1_0= ruleSuffixExpression ) )? ) ; |
| public final EObject ruleINTEGER_LITERAL() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_value_0_0 = null; |
| EObject lv_suffix_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1070:28: ( ( ( (lv_value_0_0= RULE_INTEGERVALUE ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1071:1: ( ( (lv_value_0_0= RULE_INTEGERVALUE ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1071:1: ( ( (lv_value_0_0= RULE_INTEGERVALUE ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1071:2: ( (lv_value_0_0= RULE_INTEGERVALUE ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1071:2: ( (lv_value_0_0= RULE_INTEGERVALUE ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1072:1: (lv_value_0_0= RULE_INTEGERVALUE ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1072:1: (lv_value_0_0= RULE_INTEGERVALUE ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1073:3: lv_value_0_0= RULE_INTEGERVALUE |
| { |
| lv_value_0_0 = (Token) match(input, RULE_INTEGERVALUE, FOLLOW_RULE_INTEGERVALUE_in_ruleINTEGER_LITERAL2347); |
| |
| newLeafNode(lv_value_0_0, grammarAccess.getINTEGER_LITERALAccess().getValueIntegerValueTerminalRuleCall_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getINTEGER_LITERALRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "value", |
| lv_value_0_0, |
| "IntegerValue"); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1089:2: ( (lv_suffix_1_0= ruleSuffixExpression ) )? |
| int alt19 = 2; |
| int LA19_0 = input.LA(1); |
| |
| if (((LA19_0 >= 55 && LA19_0 <= 56))) { |
| alt19 = 1; |
| } |
| switch (alt19) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1090:1: (lv_suffix_1_0= ruleSuffixExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1090:1: (lv_suffix_1_0= ruleSuffixExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1091:3: lv_suffix_1_0= ruleSuffixExpression |
| { |
| |
| newCompositeNode(grammarAccess.getINTEGER_LITERALAccess().getSuffixSuffixExpressionParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleSuffixExpression_in_ruleINTEGER_LITERAL2373); |
| lv_suffix_1_0 = ruleSuffixExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getINTEGER_LITERALRule()); |
| } |
| set( |
| current, |
| "suffix", |
| lv_suffix_1_0, |
| "SuffixExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleINTEGER_LITERAL" |
| |
| |
| // $ANTLR start "entryRuleUNLIMITED_LITERAL" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1115:1: entryRuleUNLIMITED_LITERAL returns [EObject current=null] : iv_ruleUNLIMITED_LITERAL= |
| // ruleUNLIMITED_LITERAL EOF ; |
| public final EObject entryRuleUNLIMITED_LITERAL() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleUNLIMITED_LITERAL = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1116:2: (iv_ruleUNLIMITED_LITERAL= ruleUNLIMITED_LITERAL EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1117:2: iv_ruleUNLIMITED_LITERAL= ruleUNLIMITED_LITERAL EOF |
| { |
| newCompositeNode(grammarAccess.getUNLIMITED_LITERALRule()); |
| pushFollow(FOLLOW_ruleUNLIMITED_LITERAL_in_entryRuleUNLIMITED_LITERAL2410); |
| iv_ruleUNLIMITED_LITERAL = ruleUNLIMITED_LITERAL(); |
| |
| state._fsp--; |
| |
| current = iv_ruleUNLIMITED_LITERAL; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleUNLIMITED_LITERAL2420); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleUNLIMITED_LITERAL" |
| |
| |
| // $ANTLR start "ruleUNLIMITED_LITERAL" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1124:1: ruleUNLIMITED_LITERAL returns [EObject current=null] : ( ( (lv_value_0_0= '*' ) ) ( (lv_suffix_1_0= |
| // ruleSuffixExpression ) )? ) ; |
| public final EObject ruleUNLIMITED_LITERAL() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_value_0_0 = null; |
| EObject lv_suffix_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1127:28: ( ( ( (lv_value_0_0= '*' ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1128:1: ( ( (lv_value_0_0= '*' ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1128:1: ( ( (lv_value_0_0= '*' ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1128:2: ( (lv_value_0_0= '*' ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1128:2: ( (lv_value_0_0= '*' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1129:1: (lv_value_0_0= '*' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1129:1: (lv_value_0_0= '*' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1130:3: lv_value_0_0= '*' |
| { |
| lv_value_0_0 = (Token) match(input, 24, FOLLOW_24_in_ruleUNLIMITED_LITERAL2463); |
| |
| newLeafNode(lv_value_0_0, grammarAccess.getUNLIMITED_LITERALAccess().getValueAsteriskKeyword_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getUNLIMITED_LITERALRule()); |
| } |
| setWithLastConsumed(current, "value", lv_value_0_0, "*"); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1143:2: ( (lv_suffix_1_0= ruleSuffixExpression ) )? |
| int alt20 = 2; |
| int LA20_0 = input.LA(1); |
| |
| if (((LA20_0 >= 55 && LA20_0 <= 56))) { |
| alt20 = 1; |
| } |
| switch (alt20) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1144:1: (lv_suffix_1_0= ruleSuffixExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1144:1: (lv_suffix_1_0= ruleSuffixExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1145:3: lv_suffix_1_0= ruleSuffixExpression |
| { |
| |
| newCompositeNode(grammarAccess.getUNLIMITED_LITERALAccess().getSuffixSuffixExpressionParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleSuffixExpression_in_ruleUNLIMITED_LITERAL2497); |
| lv_suffix_1_0 = ruleSuffixExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getUNLIMITED_LITERALRule()); |
| } |
| set( |
| current, |
| "suffix", |
| lv_suffix_1_0, |
| "SuffixExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleUNLIMITED_LITERAL" |
| |
| |
| // $ANTLR start "entryRuleSTRING_LITERAL" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1169:1: entryRuleSTRING_LITERAL returns [EObject current=null] : iv_ruleSTRING_LITERAL= ruleSTRING_LITERAL EOF ; |
| public final EObject entryRuleSTRING_LITERAL() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleSTRING_LITERAL = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1170:2: (iv_ruleSTRING_LITERAL= ruleSTRING_LITERAL EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1171:2: iv_ruleSTRING_LITERAL= ruleSTRING_LITERAL EOF |
| { |
| newCompositeNode(grammarAccess.getSTRING_LITERALRule()); |
| pushFollow(FOLLOW_ruleSTRING_LITERAL_in_entryRuleSTRING_LITERAL2534); |
| iv_ruleSTRING_LITERAL = ruleSTRING_LITERAL(); |
| |
| state._fsp--; |
| |
| current = iv_ruleSTRING_LITERAL; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleSTRING_LITERAL2544); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleSTRING_LITERAL" |
| |
| |
| // $ANTLR start "ruleSTRING_LITERAL" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1178:1: ruleSTRING_LITERAL returns [EObject current=null] : ( ( (lv_value_0_0= RULE_STRING ) ) ( (lv_suffix_1_0= |
| // ruleSuffixExpression ) )? ) ; |
| public final EObject ruleSTRING_LITERAL() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_value_0_0 = null; |
| EObject lv_suffix_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1181:28: ( ( ( (lv_value_0_0= RULE_STRING ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1182:1: ( ( (lv_value_0_0= RULE_STRING ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1182:1: ( ( (lv_value_0_0= RULE_STRING ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1182:2: ( (lv_value_0_0= RULE_STRING ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1182:2: ( (lv_value_0_0= RULE_STRING ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1183:1: (lv_value_0_0= RULE_STRING ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1183:1: (lv_value_0_0= RULE_STRING ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1184:3: lv_value_0_0= RULE_STRING |
| { |
| lv_value_0_0 = (Token) match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleSTRING_LITERAL2586); |
| |
| newLeafNode(lv_value_0_0, grammarAccess.getSTRING_LITERALAccess().getValueSTRINGTerminalRuleCall_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getSTRING_LITERALRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "value", |
| lv_value_0_0, |
| "STRING"); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1200:2: ( (lv_suffix_1_0= ruleSuffixExpression ) )? |
| int alt21 = 2; |
| int LA21_0 = input.LA(1); |
| |
| if (((LA21_0 >= 55 && LA21_0 <= 56))) { |
| alt21 = 1; |
| } |
| switch (alt21) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1201:1: (lv_suffix_1_0= ruleSuffixExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1201:1: (lv_suffix_1_0= ruleSuffixExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1202:3: lv_suffix_1_0= ruleSuffixExpression |
| { |
| |
| newCompositeNode(grammarAccess.getSTRING_LITERALAccess().getSuffixSuffixExpressionParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleSuffixExpression_in_ruleSTRING_LITERAL2612); |
| lv_suffix_1_0 = ruleSuffixExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSTRING_LITERALRule()); |
| } |
| set( |
| current, |
| "suffix", |
| lv_suffix_1_0, |
| "SuffixExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleSTRING_LITERAL" |
| |
| |
| // $ANTLR start "entryRuleNameExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1226:1: entryRuleNameExpression returns [EObject current=null] : iv_ruleNameExpression= ruleNameExpression EOF ; |
| public final EObject entryRuleNameExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleNameExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1227:2: (iv_ruleNameExpression= ruleNameExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1228:2: iv_ruleNameExpression= ruleNameExpression EOF |
| { |
| newCompositeNode(grammarAccess.getNameExpressionRule()); |
| pushFollow(FOLLOW_ruleNameExpression_in_entryRuleNameExpression2649); |
| iv_ruleNameExpression = ruleNameExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleNameExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleNameExpression2659); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleNameExpression" |
| |
| |
| // $ANTLR start "ruleNameExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1235:1: ruleNameExpression returns [EObject current=null] : ( ( ( ( ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= |
| // '--' ) ) ) ( (lv_path_1_0= ruleQualifiedNamePath ) )? ( (lv_id_2_0= RULE_ID ) ) ) | ( ( (lv_path_3_0= ruleQualifiedNamePath ) )? ( (lv_id_4_0= RULE_ID ) ) ( ( (lv_invocationCompletion_5_0= ruleTuple ) ) | ( (lv_sequenceConstructionCompletion_6_0= |
| // ruleSequenceConstructionOrAccessCompletion ) ) | ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) ) )? ) ) ( (lv_suffix_8_0= ruleSuffixExpression ) )? ) ; |
| public final EObject ruleNameExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_prefixOp_0_1 = null; |
| Token lv_prefixOp_0_2 = null; |
| Token lv_id_2_0 = null; |
| Token lv_id_4_0 = null; |
| Token lv_postfixOp_7_1 = null; |
| Token lv_postfixOp_7_2 = null; |
| EObject lv_path_1_0 = null; |
| |
| EObject lv_path_3_0 = null; |
| |
| EObject lv_invocationCompletion_5_0 = null; |
| |
| EObject lv_sequenceConstructionCompletion_6_0 = null; |
| |
| EObject lv_suffix_8_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1238:28: ( ( ( ( ( ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) ) ) ( (lv_path_1_0= |
| // ruleQualifiedNamePath ) )? ( (lv_id_2_0= RULE_ID ) ) ) | ( ( (lv_path_3_0= ruleQualifiedNamePath ) )? ( (lv_id_4_0= RULE_ID ) ) ( ( (lv_invocationCompletion_5_0= ruleTuple ) ) | ( (lv_sequenceConstructionCompletion_6_0= |
| // ruleSequenceConstructionOrAccessCompletion ) ) | ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) ) )? ) ) ( (lv_suffix_8_0= ruleSuffixExpression ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1239:1: ( ( ( ( ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) ) ) ( (lv_path_1_0= |
| // ruleQualifiedNamePath ) )? ( (lv_id_2_0= RULE_ID ) ) ) | ( ( (lv_path_3_0= ruleQualifiedNamePath ) )? ( (lv_id_4_0= RULE_ID ) ) ( ( (lv_invocationCompletion_5_0= ruleTuple ) ) | ( (lv_sequenceConstructionCompletion_6_0= |
| // ruleSequenceConstructionOrAccessCompletion ) ) | ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) ) )? ) ) ( (lv_suffix_8_0= ruleSuffixExpression ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1239:1: ( ( ( ( ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) ) ) ( (lv_path_1_0= |
| // ruleQualifiedNamePath ) )? ( (lv_id_2_0= RULE_ID ) ) ) | ( ( (lv_path_3_0= ruleQualifiedNamePath ) )? ( (lv_id_4_0= RULE_ID ) ) ( ( (lv_invocationCompletion_5_0= ruleTuple ) ) | ( (lv_sequenceConstructionCompletion_6_0= |
| // ruleSequenceConstructionOrAccessCompletion ) ) | ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) ) )? ) ) ( (lv_suffix_8_0= ruleSuffixExpression ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1239:2: ( ( ( ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) ) ) ( (lv_path_1_0= |
| // ruleQualifiedNamePath ) )? ( (lv_id_2_0= RULE_ID ) ) ) | ( ( (lv_path_3_0= ruleQualifiedNamePath ) )? ( (lv_id_4_0= RULE_ID ) ) ( ( (lv_invocationCompletion_5_0= ruleTuple ) ) | ( (lv_sequenceConstructionCompletion_6_0= |
| // ruleSequenceConstructionOrAccessCompletion ) ) | ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) ) )? ) ) ( (lv_suffix_8_0= ruleSuffixExpression ) )? |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1239:2: ( ( ( ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) ) ) ( (lv_path_1_0= |
| // ruleQualifiedNamePath ) )? ( (lv_id_2_0= RULE_ID ) ) ) | ( ( (lv_path_3_0= ruleQualifiedNamePath ) )? ( (lv_id_4_0= RULE_ID ) ) ( ( (lv_invocationCompletion_5_0= ruleTuple ) ) | ( (lv_sequenceConstructionCompletion_6_0= |
| // ruleSequenceConstructionOrAccessCompletion ) ) | ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) ) )? ) ) |
| int alt27 = 2; |
| int LA27_0 = input.LA(1); |
| |
| if (((LA27_0 >= 27 && LA27_0 <= 28))) { |
| alt27 = 1; |
| } |
| else if ((LA27_0 == RULE_ID)) { |
| alt27 = 2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 27, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt27) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1239:3: ( ( ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) ) ) ( (lv_path_1_0= |
| // ruleQualifiedNamePath ) )? ( (lv_id_2_0= RULE_ID ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1239:3: ( ( ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) ) ) ( (lv_path_1_0= |
| // ruleQualifiedNamePath ) )? ( (lv_id_2_0= RULE_ID ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1239:4: ( ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) ) ) ( (lv_path_1_0= |
| // ruleQualifiedNamePath ) )? ( (lv_id_2_0= RULE_ID ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1239:4: ( ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1240:1: ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1240:1: ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1241:1: (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1241:1: (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) |
| int alt22 = 2; |
| int LA22_0 = input.LA(1); |
| |
| if ((LA22_0 == 27)) { |
| alt22 = 1; |
| } |
| else if ((LA22_0 == 28)) { |
| alt22 = 2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 22, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt22) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1242:3: lv_prefixOp_0_1= '++' |
| { |
| lv_prefixOp_0_1 = (Token) match(input, 27, FOLLOW_27_in_ruleNameExpression2706); |
| |
| newLeafNode(lv_prefixOp_0_1, grammarAccess.getNameExpressionAccess().getPrefixOpPlusSignPlusSignKeyword_0_0_0_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getNameExpressionRule()); |
| } |
| setWithLastConsumed(current, "prefixOp", lv_prefixOp_0_1, null); |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1254:8: lv_prefixOp_0_2= '--' |
| { |
| lv_prefixOp_0_2 = (Token) match(input, 28, FOLLOW_28_in_ruleNameExpression2735); |
| |
| newLeafNode(lv_prefixOp_0_2, grammarAccess.getNameExpressionAccess().getPrefixOpHyphenMinusHyphenMinusKeyword_0_0_0_0_1()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getNameExpressionRule()); |
| } |
| setWithLastConsumed(current, "prefixOp", lv_prefixOp_0_2, null); |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1269:2: ( (lv_path_1_0= ruleQualifiedNamePath ) )? |
| int alt23 = 2; |
| int LA23_0 = input.LA(1); |
| |
| if ((LA23_0 == RULE_ID)) { |
| int LA23_1 = input.LA(2); |
| |
| if ((LA23_1 == 30)) { |
| int LA23_3 = input.LA(3); |
| |
| if ((LA23_3 == RULE_ID)) { |
| int LA23_5 = input.LA(4); |
| |
| if ((LA23_5 == 32)) { |
| alt23 = 1; |
| } |
| } |
| } |
| else if ((LA23_1 == 29)) { |
| alt23 = 1; |
| } |
| } |
| switch (alt23) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1270:1: (lv_path_1_0= ruleQualifiedNamePath ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1270:1: (lv_path_1_0= ruleQualifiedNamePath ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1271:3: lv_path_1_0= ruleQualifiedNamePath |
| { |
| |
| newCompositeNode(grammarAccess.getNameExpressionAccess().getPathQualifiedNamePathParserRuleCall_0_0_1_0()); |
| |
| pushFollow(FOLLOW_ruleQualifiedNamePath_in_ruleNameExpression2772); |
| lv_path_1_0 = ruleQualifiedNamePath(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getNameExpressionRule()); |
| } |
| set( |
| current, |
| "path", |
| lv_path_1_0, |
| "QualifiedNamePath"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1287:3: ( (lv_id_2_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1288:1: (lv_id_2_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1288:1: (lv_id_2_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1289:3: lv_id_2_0= RULE_ID |
| { |
| lv_id_2_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleNameExpression2790); |
| |
| newLeafNode(lv_id_2_0, grammarAccess.getNameExpressionAccess().getIdIDTerminalRuleCall_0_0_2_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getNameExpressionRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "id", |
| lv_id_2_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1306:6: ( ( (lv_path_3_0= ruleQualifiedNamePath ) )? ( (lv_id_4_0= RULE_ID ) ) ( ( |
| // (lv_invocationCompletion_5_0= ruleTuple ) ) | ( (lv_sequenceConstructionCompletion_6_0= ruleSequenceConstructionOrAccessCompletion ) ) | ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1306:6: ( ( (lv_path_3_0= ruleQualifiedNamePath ) )? ( (lv_id_4_0= RULE_ID ) ) ( ( |
| // (lv_invocationCompletion_5_0= ruleTuple ) ) | ( (lv_sequenceConstructionCompletion_6_0= ruleSequenceConstructionOrAccessCompletion ) ) | ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1306:7: ( (lv_path_3_0= ruleQualifiedNamePath ) )? ( (lv_id_4_0= RULE_ID ) ) ( ( |
| // (lv_invocationCompletion_5_0= ruleTuple ) ) | ( (lv_sequenceConstructionCompletion_6_0= ruleSequenceConstructionOrAccessCompletion ) ) | ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) ) )? |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1306:7: ( (lv_path_3_0= ruleQualifiedNamePath ) )? |
| int alt24 = 2; |
| int LA24_0 = input.LA(1); |
| |
| if ((LA24_0 == RULE_ID)) { |
| int LA24_1 = input.LA(2); |
| |
| if ((LA24_1 == 30)) { |
| int LA24_3 = input.LA(3); |
| |
| if ((LA24_3 == RULE_ID)) { |
| int LA24_5 = input.LA(4); |
| |
| if ((LA24_5 == 32)) { |
| alt24 = 1; |
| } |
| } |
| } |
| else if ((LA24_1 == 29)) { |
| alt24 = 1; |
| } |
| } |
| switch (alt24) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1307:1: (lv_path_3_0= ruleQualifiedNamePath ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1307:1: (lv_path_3_0= ruleQualifiedNamePath ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1308:3: lv_path_3_0= ruleQualifiedNamePath |
| { |
| |
| newCompositeNode(grammarAccess.getNameExpressionAccess().getPathQualifiedNamePathParserRuleCall_0_1_0_0()); |
| |
| pushFollow(FOLLOW_ruleQualifiedNamePath_in_ruleNameExpression2824); |
| lv_path_3_0 = ruleQualifiedNamePath(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getNameExpressionRule()); |
| } |
| set( |
| current, |
| "path", |
| lv_path_3_0, |
| "QualifiedNamePath"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1324:3: ( (lv_id_4_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1325:1: (lv_id_4_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1325:1: (lv_id_4_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1326:3: lv_id_4_0= RULE_ID |
| { |
| lv_id_4_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleNameExpression2842); |
| |
| newLeafNode(lv_id_4_0, grammarAccess.getNameExpressionAccess().getIdIDTerminalRuleCall_0_1_1_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getNameExpressionRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "id", |
| lv_id_4_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1342:2: ( ( (lv_invocationCompletion_5_0= ruleTuple ) ) | ( |
| // (lv_sequenceConstructionCompletion_6_0= ruleSequenceConstructionOrAccessCompletion ) ) | ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) ) )? |
| int alt26 = 4; |
| switch (input.LA(1)) { |
| case 15: { |
| alt26 = 1; |
| } |
| break; |
| case 18: { |
| int LA26_2 = input.LA(2); |
| |
| if (((LA26_2 >= RULE_ID && LA26_2 <= RULE_STRING) || LA26_2 == 15 || LA26_2 == 24 || (LA26_2 >= 27 && LA26_2 <= 28) || (LA26_2 >= 48 && LA26_2 <= 49) || (LA26_2 >= 52 && LA26_2 <= 54) || (LA26_2 >= 59 && LA26_2 <= 62) || (LA26_2 >= 93 && LA26_2 <= 94))) { |
| alt26 = 2; |
| } |
| else if ((LA26_2 == 19)) { |
| int LA26_6 = input.LA(3); |
| |
| if ((LA26_6 == 63)) { |
| alt26 = 2; |
| } |
| } |
| } |
| break; |
| case 63: { |
| alt26 = 2; |
| } |
| break; |
| case 27: |
| case 28: { |
| alt26 = 3; |
| } |
| break; |
| } |
| |
| switch (alt26) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1342:3: ( (lv_invocationCompletion_5_0= ruleTuple ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1342:3: ( (lv_invocationCompletion_5_0= ruleTuple ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1343:1: (lv_invocationCompletion_5_0= ruleTuple ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1343:1: (lv_invocationCompletion_5_0= ruleTuple ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1344:3: lv_invocationCompletion_5_0= ruleTuple |
| { |
| |
| newCompositeNode(grammarAccess.getNameExpressionAccess().getInvocationCompletionTupleParserRuleCall_0_1_2_0_0()); |
| |
| pushFollow(FOLLOW_ruleTuple_in_ruleNameExpression2869); |
| lv_invocationCompletion_5_0 = ruleTuple(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getNameExpressionRule()); |
| } |
| set( |
| current, |
| "invocationCompletion", |
| lv_invocationCompletion_5_0, |
| "Tuple"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1361:6: ( (lv_sequenceConstructionCompletion_6_0= |
| // ruleSequenceConstructionOrAccessCompletion ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1361:6: ( (lv_sequenceConstructionCompletion_6_0= |
| // ruleSequenceConstructionOrAccessCompletion ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1362:1: (lv_sequenceConstructionCompletion_6_0= |
| // ruleSequenceConstructionOrAccessCompletion ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1362:1: (lv_sequenceConstructionCompletion_6_0= |
| // ruleSequenceConstructionOrAccessCompletion ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1363:3: lv_sequenceConstructionCompletion_6_0= |
| // ruleSequenceConstructionOrAccessCompletion |
| { |
| |
| newCompositeNode(grammarAccess.getNameExpressionAccess().getSequenceConstructionCompletionSequenceConstructionOrAccessCompletionParserRuleCall_0_1_2_1_0()); |
| |
| pushFollow(FOLLOW_ruleSequenceConstructionOrAccessCompletion_in_ruleNameExpression2896); |
| lv_sequenceConstructionCompletion_6_0 = ruleSequenceConstructionOrAccessCompletion(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getNameExpressionRule()); |
| } |
| set( |
| current, |
| "sequenceConstructionCompletion", |
| lv_sequenceConstructionCompletion_6_0, |
| "SequenceConstructionOrAccessCompletion"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1380:6: ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1380:6: ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1381:1: ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1381:1: ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1382:1: (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1382:1: (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) |
| int alt25 = 2; |
| int LA25_0 = input.LA(1); |
| |
| if ((LA25_0 == 27)) { |
| alt25 = 1; |
| } |
| else if ((LA25_0 == 28)) { |
| alt25 = 2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 25, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt25) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1383:3: lv_postfixOp_7_1= '++' |
| { |
| lv_postfixOp_7_1 = (Token) match(input, 27, FOLLOW_27_in_ruleNameExpression2922); |
| |
| newLeafNode(lv_postfixOp_7_1, grammarAccess.getNameExpressionAccess().getPostfixOpPlusSignPlusSignKeyword_0_1_2_2_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getNameExpressionRule()); |
| } |
| setWithLastConsumed(current, "postfixOp", lv_postfixOp_7_1, null); |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1395:8: lv_postfixOp_7_2= '--' |
| { |
| lv_postfixOp_7_2 = (Token) match(input, 28, FOLLOW_28_in_ruleNameExpression2951); |
| |
| newLeafNode(lv_postfixOp_7_2, grammarAccess.getNameExpressionAccess().getPostfixOpHyphenMinusHyphenMinusKeyword_0_1_2_2_0_1()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getNameExpressionRule()); |
| } |
| setWithLastConsumed(current, "postfixOp", lv_postfixOp_7_2, null); |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1410:6: ( (lv_suffix_8_0= ruleSuffixExpression ) )? |
| int alt28 = 2; |
| int LA28_0 = input.LA(1); |
| |
| if (((LA28_0 >= 55 && LA28_0 <= 56))) { |
| alt28 = 1; |
| } |
| switch (alt28) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1411:1: (lv_suffix_8_0= ruleSuffixExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1411:1: (lv_suffix_8_0= ruleSuffixExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1412:3: lv_suffix_8_0= ruleSuffixExpression |
| { |
| |
| newCompositeNode(grammarAccess.getNameExpressionAccess().getSuffixSuffixExpressionParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleSuffixExpression_in_ruleNameExpression2992); |
| lv_suffix_8_0 = ruleSuffixExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getNameExpressionRule()); |
| } |
| set( |
| current, |
| "suffix", |
| lv_suffix_8_0, |
| "SuffixExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleNameExpression" |
| |
| |
| // $ANTLR start "entryRuleQualifiedNamePath" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1436:1: entryRuleQualifiedNamePath returns [EObject current=null] : iv_ruleQualifiedNamePath= |
| // ruleQualifiedNamePath EOF ; |
| public final EObject entryRuleQualifiedNamePath() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleQualifiedNamePath = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1437:2: (iv_ruleQualifiedNamePath= ruleQualifiedNamePath EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1438:2: iv_ruleQualifiedNamePath= ruleQualifiedNamePath EOF |
| { |
| newCompositeNode(grammarAccess.getQualifiedNamePathRule()); |
| pushFollow(FOLLOW_ruleQualifiedNamePath_in_entryRuleQualifiedNamePath3029); |
| iv_ruleQualifiedNamePath = ruleQualifiedNamePath(); |
| |
| state._fsp--; |
| |
| current = iv_ruleQualifiedNamePath; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleQualifiedNamePath3039); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleQualifiedNamePath" |
| |
| |
| // $ANTLR start "ruleQualifiedNamePath" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1445:1: ruleQualifiedNamePath returns [EObject current=null] : ( ( (lv_namespace_0_0= ruleUnqualifiedName ) ) |
| // otherlv_1= '::' )+ ; |
| public final EObject ruleQualifiedNamePath() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| EObject lv_namespace_0_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1448:28: ( ( ( (lv_namespace_0_0= ruleUnqualifiedName ) ) otherlv_1= '::' )+ ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1449:1: ( ( (lv_namespace_0_0= ruleUnqualifiedName ) ) otherlv_1= '::' )+ |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1449:1: ( ( (lv_namespace_0_0= ruleUnqualifiedName ) ) otherlv_1= '::' )+ |
| int cnt29 = 0; |
| loop29: do { |
| int alt29 = 2; |
| int LA29_0 = input.LA(1); |
| |
| if ((LA29_0 == RULE_ID)) { |
| int LA29_1 = input.LA(2); |
| |
| if ((LA29_1 == 30)) { |
| int LA29_3 = input.LA(3); |
| |
| if ((LA29_3 == RULE_ID)) { |
| int LA29_5 = input.LA(4); |
| |
| if ((LA29_5 == 32)) { |
| alt29 = 1; |
| } |
| |
| |
| } |
| |
| |
| } |
| else if ((LA29_1 == 29)) { |
| alt29 = 1; |
| } |
| |
| |
| } |
| |
| |
| switch (alt29) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1449:2: ( (lv_namespace_0_0= ruleUnqualifiedName ) ) otherlv_1= '::' |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1449:2: ( (lv_namespace_0_0= ruleUnqualifiedName ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1450:1: (lv_namespace_0_0= ruleUnqualifiedName ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1450:1: (lv_namespace_0_0= ruleUnqualifiedName ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1451:3: lv_namespace_0_0= ruleUnqualifiedName |
| { |
| |
| newCompositeNode(grammarAccess.getQualifiedNamePathAccess().getNamespaceUnqualifiedNameParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleUnqualifiedName_in_ruleQualifiedNamePath3085); |
| lv_namespace_0_0 = ruleUnqualifiedName(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getQualifiedNamePathRule()); |
| } |
| add( |
| current, |
| "namespace", |
| lv_namespace_0_0, |
| "UnqualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_1 = (Token) match(input, 29, FOLLOW_29_in_ruleQualifiedNamePath3097); |
| |
| newLeafNode(otherlv_1, grammarAccess.getQualifiedNamePathAccess().getColonColonKeyword_1()); |
| |
| |
| } |
| break; |
| |
| default: |
| if (cnt29 >= 1) { |
| break loop29; |
| } |
| EarlyExitException eee = |
| new EarlyExitException(29, input); |
| throw eee; |
| } |
| cnt29++; |
| } while (true); |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleQualifiedNamePath" |
| |
| |
| // $ANTLR start "entryRuleUnqualifiedName" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1479:1: entryRuleUnqualifiedName returns [EObject current=null] : iv_ruleUnqualifiedName= ruleUnqualifiedName EOF |
| // ; |
| public final EObject entryRuleUnqualifiedName() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleUnqualifiedName = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1480:2: (iv_ruleUnqualifiedName= ruleUnqualifiedName EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1481:2: iv_ruleUnqualifiedName= ruleUnqualifiedName EOF |
| { |
| newCompositeNode(grammarAccess.getUnqualifiedNameRule()); |
| pushFollow(FOLLOW_ruleUnqualifiedName_in_entryRuleUnqualifiedName3134); |
| iv_ruleUnqualifiedName = ruleUnqualifiedName(); |
| |
| state._fsp--; |
| |
| current = iv_ruleUnqualifiedName; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleUnqualifiedName3144); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleUnqualifiedName" |
| |
| |
| // $ANTLR start "ruleUnqualifiedName" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1488:1: ruleUnqualifiedName returns [EObject current=null] : ( ( (lv_name_0_0= RULE_ID ) ) ( |
| // (lv_templateBinding_1_0= ruleTemplateBinding ) )? ) ; |
| public final EObject ruleUnqualifiedName() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_name_0_0 = null; |
| EObject lv_templateBinding_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1491:28: ( ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_templateBinding_1_0= ruleTemplateBinding ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1492:1: ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_templateBinding_1_0= ruleTemplateBinding ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1492:1: ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_templateBinding_1_0= ruleTemplateBinding ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1492:2: ( (lv_name_0_0= RULE_ID ) ) ( (lv_templateBinding_1_0= ruleTemplateBinding ) )? |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1492:2: ( (lv_name_0_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1493:1: (lv_name_0_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1493:1: (lv_name_0_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1494:3: lv_name_0_0= RULE_ID |
| { |
| lv_name_0_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleUnqualifiedName3186); |
| |
| newLeafNode(lv_name_0_0, grammarAccess.getUnqualifiedNameAccess().getNameIDTerminalRuleCall_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getUnqualifiedNameRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "name", |
| lv_name_0_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1510:2: ( (lv_templateBinding_1_0= ruleTemplateBinding ) )? |
| int alt30 = 2; |
| int LA30_0 = input.LA(1); |
| |
| if ((LA30_0 == 30)) { |
| alt30 = 1; |
| } |
| switch (alt30) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1511:1: (lv_templateBinding_1_0= ruleTemplateBinding ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1511:1: (lv_templateBinding_1_0= ruleTemplateBinding ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1512:3: lv_templateBinding_1_0= ruleTemplateBinding |
| { |
| |
| newCompositeNode(grammarAccess.getUnqualifiedNameAccess().getTemplateBindingTemplateBindingParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleTemplateBinding_in_ruleUnqualifiedName3212); |
| lv_templateBinding_1_0 = ruleTemplateBinding(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getUnqualifiedNameRule()); |
| } |
| set( |
| current, |
| "templateBinding", |
| lv_templateBinding_1_0, |
| "TemplateBinding"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleUnqualifiedName" |
| |
| |
| // $ANTLR start "entryRuleTemplateBinding" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1536:1: entryRuleTemplateBinding returns [EObject current=null] : iv_ruleTemplateBinding= ruleTemplateBinding EOF |
| // ; |
| public final EObject entryRuleTemplateBinding() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleTemplateBinding = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1537:2: (iv_ruleTemplateBinding= ruleTemplateBinding EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1538:2: iv_ruleTemplateBinding= ruleTemplateBinding EOF |
| { |
| newCompositeNode(grammarAccess.getTemplateBindingRule()); |
| pushFollow(FOLLOW_ruleTemplateBinding_in_entryRuleTemplateBinding3249); |
| iv_ruleTemplateBinding = ruleTemplateBinding(); |
| |
| state._fsp--; |
| |
| current = iv_ruleTemplateBinding; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleTemplateBinding3259); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleTemplateBinding" |
| |
| |
| // $ANTLR start "ruleTemplateBinding" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1545:1: ruleTemplateBinding returns [EObject current=null] : (otherlv_0= '<' ( (lv_bindings_1_0= |
| // ruleNamedTemplateBinding ) ) (otherlv_2= ',' ( (lv_bindings_3_0= ruleNamedTemplateBinding ) ) )* otherlv_4= '>' ) ; |
| public final EObject ruleTemplateBinding() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token otherlv_2 = null; |
| Token otherlv_4 = null; |
| EObject lv_bindings_1_0 = null; |
| |
| EObject lv_bindings_3_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1548:28: ( (otherlv_0= '<' ( (lv_bindings_1_0= ruleNamedTemplateBinding ) ) (otherlv_2= ',' ( |
| // (lv_bindings_3_0= ruleNamedTemplateBinding ) ) )* otherlv_4= '>' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1549:1: (otherlv_0= '<' ( (lv_bindings_1_0= ruleNamedTemplateBinding ) ) (otherlv_2= ',' ( |
| // (lv_bindings_3_0= ruleNamedTemplateBinding ) ) )* otherlv_4= '>' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1549:1: (otherlv_0= '<' ( (lv_bindings_1_0= ruleNamedTemplateBinding ) ) (otherlv_2= ',' ( |
| // (lv_bindings_3_0= ruleNamedTemplateBinding ) ) )* otherlv_4= '>' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1549:3: otherlv_0= '<' ( (lv_bindings_1_0= ruleNamedTemplateBinding ) ) (otherlv_2= ',' ( |
| // (lv_bindings_3_0= ruleNamedTemplateBinding ) ) )* otherlv_4= '>' |
| { |
| otherlv_0 = (Token) match(input, 30, FOLLOW_30_in_ruleTemplateBinding3296); |
| |
| newLeafNode(otherlv_0, grammarAccess.getTemplateBindingAccess().getLessThanSignKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1553:1: ( (lv_bindings_1_0= ruleNamedTemplateBinding ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1554:1: (lv_bindings_1_0= ruleNamedTemplateBinding ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1554:1: (lv_bindings_1_0= ruleNamedTemplateBinding ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1555:3: lv_bindings_1_0= ruleNamedTemplateBinding |
| { |
| |
| newCompositeNode(grammarAccess.getTemplateBindingAccess().getBindingsNamedTemplateBindingParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleNamedTemplateBinding_in_ruleTemplateBinding3317); |
| lv_bindings_1_0 = ruleNamedTemplateBinding(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getTemplateBindingRule()); |
| } |
| add( |
| current, |
| "bindings", |
| lv_bindings_1_0, |
| "NamedTemplateBinding"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1571:2: (otherlv_2= ',' ( (lv_bindings_3_0= ruleNamedTemplateBinding ) ) )* |
| loop31: do { |
| int alt31 = 2; |
| int LA31_0 = input.LA(1); |
| |
| if ((LA31_0 == 17)) { |
| alt31 = 1; |
| } |
| |
| |
| switch (alt31) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1571:4: otherlv_2= ',' ( (lv_bindings_3_0= ruleNamedTemplateBinding ) ) |
| { |
| otherlv_2 = (Token) match(input, 17, FOLLOW_17_in_ruleTemplateBinding3330); |
| |
| newLeafNode(otherlv_2, grammarAccess.getTemplateBindingAccess().getCommaKeyword_2_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1575:1: ( (lv_bindings_3_0= ruleNamedTemplateBinding ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1576:1: (lv_bindings_3_0= ruleNamedTemplateBinding ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1576:1: (lv_bindings_3_0= ruleNamedTemplateBinding ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1577:3: lv_bindings_3_0= ruleNamedTemplateBinding |
| { |
| |
| newCompositeNode(grammarAccess.getTemplateBindingAccess().getBindingsNamedTemplateBindingParserRuleCall_2_1_0()); |
| |
| pushFollow(FOLLOW_ruleNamedTemplateBinding_in_ruleTemplateBinding3351); |
| lv_bindings_3_0 = ruleNamedTemplateBinding(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getTemplateBindingRule()); |
| } |
| add( |
| current, |
| "bindings", |
| lv_bindings_3_0, |
| "NamedTemplateBinding"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default: |
| break loop31; |
| } |
| } while (true); |
| |
| otherlv_4 = (Token) match(input, 31, FOLLOW_31_in_ruleTemplateBinding3365); |
| |
| newLeafNode(otherlv_4, grammarAccess.getTemplateBindingAccess().getGreaterThanSignKeyword_3()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleTemplateBinding" |
| |
| |
| // $ANTLR start "entryRuleNamedTemplateBinding" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1605:1: entryRuleNamedTemplateBinding returns [EObject current=null] : iv_ruleNamedTemplateBinding= |
| // ruleNamedTemplateBinding EOF ; |
| public final EObject entryRuleNamedTemplateBinding() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleNamedTemplateBinding = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1606:2: (iv_ruleNamedTemplateBinding= ruleNamedTemplateBinding EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1607:2: iv_ruleNamedTemplateBinding= ruleNamedTemplateBinding EOF |
| { |
| newCompositeNode(grammarAccess.getNamedTemplateBindingRule()); |
| pushFollow(FOLLOW_ruleNamedTemplateBinding_in_entryRuleNamedTemplateBinding3401); |
| iv_ruleNamedTemplateBinding = ruleNamedTemplateBinding(); |
| |
| state._fsp--; |
| |
| current = iv_ruleNamedTemplateBinding; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleNamedTemplateBinding3411); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleNamedTemplateBinding" |
| |
| |
| // $ANTLR start "ruleNamedTemplateBinding" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1614:1: ruleNamedTemplateBinding returns [EObject current=null] : ( ( (lv_formal_0_0= RULE_ID ) ) otherlv_1= '=>' |
| // ( (lv_actual_2_0= ruleQualifiedNameWithBinding ) ) ) ; |
| public final EObject ruleNamedTemplateBinding() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_formal_0_0 = null; |
| Token otherlv_1 = null; |
| EObject lv_actual_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1617:28: ( ( ( (lv_formal_0_0= RULE_ID ) ) otherlv_1= '=>' ( (lv_actual_2_0= ruleQualifiedNameWithBinding |
| // ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1618:1: ( ( (lv_formal_0_0= RULE_ID ) ) otherlv_1= '=>' ( (lv_actual_2_0= ruleQualifiedNameWithBinding ) ) |
| // ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1618:1: ( ( (lv_formal_0_0= RULE_ID ) ) otherlv_1= '=>' ( (lv_actual_2_0= ruleQualifiedNameWithBinding |
| // ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1618:2: ( (lv_formal_0_0= RULE_ID ) ) otherlv_1= '=>' ( (lv_actual_2_0= ruleQualifiedNameWithBinding ) |
| // ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1618:2: ( (lv_formal_0_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1619:1: (lv_formal_0_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1619:1: (lv_formal_0_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1620:3: lv_formal_0_0= RULE_ID |
| { |
| lv_formal_0_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleNamedTemplateBinding3453); |
| |
| newLeafNode(lv_formal_0_0, grammarAccess.getNamedTemplateBindingAccess().getFormalIDTerminalRuleCall_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getNamedTemplateBindingRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "formal", |
| lv_formal_0_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_1 = (Token) match(input, 32, FOLLOW_32_in_ruleNamedTemplateBinding3470); |
| |
| newLeafNode(otherlv_1, grammarAccess.getNamedTemplateBindingAccess().getEqualsSignGreaterThanSignKeyword_1()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1640:1: ( (lv_actual_2_0= ruleQualifiedNameWithBinding ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1641:1: (lv_actual_2_0= ruleQualifiedNameWithBinding ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1641:1: (lv_actual_2_0= ruleQualifiedNameWithBinding ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1642:3: lv_actual_2_0= ruleQualifiedNameWithBinding |
| { |
| |
| newCompositeNode(grammarAccess.getNamedTemplateBindingAccess().getActualQualifiedNameWithBindingParserRuleCall_2_0()); |
| |
| pushFollow(FOLLOW_ruleQualifiedNameWithBinding_in_ruleNamedTemplateBinding3491); |
| lv_actual_2_0 = ruleQualifiedNameWithBinding(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getNamedTemplateBindingRule()); |
| } |
| set( |
| current, |
| "actual", |
| lv_actual_2_0, |
| "QualifiedNameWithBinding"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleNamedTemplateBinding" |
| |
| |
| // $ANTLR start "entryRuleQualifiedNameWithBinding" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1666:1: entryRuleQualifiedNameWithBinding returns [EObject current=null] : iv_ruleQualifiedNameWithBinding= |
| // ruleQualifiedNameWithBinding EOF ; |
| public final EObject entryRuleQualifiedNameWithBinding() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleQualifiedNameWithBinding = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1667:2: (iv_ruleQualifiedNameWithBinding= ruleQualifiedNameWithBinding EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1668:2: iv_ruleQualifiedNameWithBinding= ruleQualifiedNameWithBinding EOF |
| { |
| newCompositeNode(grammarAccess.getQualifiedNameWithBindingRule()); |
| pushFollow(FOLLOW_ruleQualifiedNameWithBinding_in_entryRuleQualifiedNameWithBinding3527); |
| iv_ruleQualifiedNameWithBinding = ruleQualifiedNameWithBinding(); |
| |
| state._fsp--; |
| |
| current = iv_ruleQualifiedNameWithBinding; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleQualifiedNameWithBinding3537); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleQualifiedNameWithBinding" |
| |
| |
| // $ANTLR start "ruleQualifiedNameWithBinding" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1675:1: ruleQualifiedNameWithBinding returns [EObject current=null] : ( ( (lv_id_0_0= RULE_ID ) ) ( |
| // (lv_binding_1_0= ruleTemplateBinding ) )? (otherlv_2= '::' ( (lv_remaining_3_0= ruleQualifiedNameWithBinding ) ) )? ) ; |
| public final EObject ruleQualifiedNameWithBinding() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_id_0_0 = null; |
| Token otherlv_2 = null; |
| EObject lv_binding_1_0 = null; |
| |
| EObject lv_remaining_3_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1678:28: ( ( ( (lv_id_0_0= RULE_ID ) ) ( (lv_binding_1_0= ruleTemplateBinding ) )? (otherlv_2= '::' ( |
| // (lv_remaining_3_0= ruleQualifiedNameWithBinding ) ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1679:1: ( ( (lv_id_0_0= RULE_ID ) ) ( (lv_binding_1_0= ruleTemplateBinding ) )? (otherlv_2= '::' ( |
| // (lv_remaining_3_0= ruleQualifiedNameWithBinding ) ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1679:1: ( ( (lv_id_0_0= RULE_ID ) ) ( (lv_binding_1_0= ruleTemplateBinding ) )? (otherlv_2= '::' ( |
| // (lv_remaining_3_0= ruleQualifiedNameWithBinding ) ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1679:2: ( (lv_id_0_0= RULE_ID ) ) ( (lv_binding_1_0= ruleTemplateBinding ) )? (otherlv_2= '::' ( |
| // (lv_remaining_3_0= ruleQualifiedNameWithBinding ) ) )? |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1679:2: ( (lv_id_0_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1680:1: (lv_id_0_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1680:1: (lv_id_0_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1681:3: lv_id_0_0= RULE_ID |
| { |
| lv_id_0_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleQualifiedNameWithBinding3579); |
| |
| newLeafNode(lv_id_0_0, grammarAccess.getQualifiedNameWithBindingAccess().getIdIDTerminalRuleCall_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getQualifiedNameWithBindingRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "id", |
| lv_id_0_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1697:2: ( (lv_binding_1_0= ruleTemplateBinding ) )? |
| int alt32 = 2; |
| int LA32_0 = input.LA(1); |
| |
| if ((LA32_0 == 30)) { |
| int LA32_1 = input.LA(2); |
| |
| if ((LA32_1 == RULE_ID)) { |
| int LA32_3 = input.LA(3); |
| |
| if ((LA32_3 == 32)) { |
| alt32 = 1; |
| } |
| } |
| } |
| switch (alt32) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1698:1: (lv_binding_1_0= ruleTemplateBinding ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1698:1: (lv_binding_1_0= ruleTemplateBinding ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1699:3: lv_binding_1_0= ruleTemplateBinding |
| { |
| |
| newCompositeNode(grammarAccess.getQualifiedNameWithBindingAccess().getBindingTemplateBindingParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleTemplateBinding_in_ruleQualifiedNameWithBinding3605); |
| lv_binding_1_0 = ruleTemplateBinding(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getQualifiedNameWithBindingRule()); |
| } |
| set( |
| current, |
| "binding", |
| lv_binding_1_0, |
| "TemplateBinding"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1715:3: (otherlv_2= '::' ( (lv_remaining_3_0= ruleQualifiedNameWithBinding ) ) )? |
| int alt33 = 2; |
| int LA33_0 = input.LA(1); |
| |
| if ((LA33_0 == 29)) { |
| alt33 = 1; |
| } |
| switch (alt33) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1715:5: otherlv_2= '::' ( (lv_remaining_3_0= ruleQualifiedNameWithBinding ) ) |
| { |
| otherlv_2 = (Token) match(input, 29, FOLLOW_29_in_ruleQualifiedNameWithBinding3619); |
| |
| newLeafNode(otherlv_2, grammarAccess.getQualifiedNameWithBindingAccess().getColonColonKeyword_2_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1719:1: ( (lv_remaining_3_0= ruleQualifiedNameWithBinding ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1720:1: (lv_remaining_3_0= ruleQualifiedNameWithBinding ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1720:1: (lv_remaining_3_0= ruleQualifiedNameWithBinding ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1721:3: lv_remaining_3_0= ruleQualifiedNameWithBinding |
| { |
| |
| newCompositeNode(grammarAccess.getQualifiedNameWithBindingAccess().getRemainingQualifiedNameWithBindingParserRuleCall_2_1_0()); |
| |
| pushFollow(FOLLOW_ruleQualifiedNameWithBinding_in_ruleQualifiedNameWithBinding3640); |
| lv_remaining_3_0 = ruleQualifiedNameWithBinding(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getQualifiedNameWithBindingRule()); |
| } |
| set( |
| current, |
| "remaining", |
| lv_remaining_3_0, |
| "QualifiedNameWithBinding"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleQualifiedNameWithBinding" |
| |
| |
| // $ANTLR start "entryRuleTuple" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1745:1: entryRuleTuple returns [EObject current=null] : iv_ruleTuple= ruleTuple EOF ; |
| public final EObject entryRuleTuple() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleTuple = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1746:2: (iv_ruleTuple= ruleTuple EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1747:2: iv_ruleTuple= ruleTuple EOF |
| { |
| newCompositeNode(grammarAccess.getTupleRule()); |
| pushFollow(FOLLOW_ruleTuple_in_entryRuleTuple3678); |
| iv_ruleTuple = ruleTuple(); |
| |
| state._fsp--; |
| |
| current = iv_ruleTuple; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleTuple3688); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleTuple" |
| |
| |
| // $ANTLR start "ruleTuple" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1754:1: ruleTuple returns [EObject current=null] : ( () otherlv_1= '(' ( ( (lv_tupleElements_2_0= ruleTupleElement |
| // ) ) (otherlv_3= ',' ( (lv_tupleElements_4_0= ruleTupleElement ) ) )* )? otherlv_5= ')' ) ; |
| public final EObject ruleTuple() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| Token otherlv_3 = null; |
| Token otherlv_5 = null; |
| EObject lv_tupleElements_2_0 = null; |
| |
| EObject lv_tupleElements_4_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1757:28: ( ( () otherlv_1= '(' ( ( (lv_tupleElements_2_0= ruleTupleElement ) ) (otherlv_3= ',' ( |
| // (lv_tupleElements_4_0= ruleTupleElement ) ) )* )? otherlv_5= ')' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1758:1: ( () otherlv_1= '(' ( ( (lv_tupleElements_2_0= ruleTupleElement ) ) (otherlv_3= ',' ( |
| // (lv_tupleElements_4_0= ruleTupleElement ) ) )* )? otherlv_5= ')' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1758:1: ( () otherlv_1= '(' ( ( (lv_tupleElements_2_0= ruleTupleElement ) ) (otherlv_3= ',' ( |
| // (lv_tupleElements_4_0= ruleTupleElement ) ) )* )? otherlv_5= ')' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1758:2: () otherlv_1= '(' ( ( (lv_tupleElements_2_0= ruleTupleElement ) ) (otherlv_3= ',' ( |
| // (lv_tupleElements_4_0= ruleTupleElement ) ) )* )? otherlv_5= ')' |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1758:2: () |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1759:5: |
| { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getTupleAccess().getTupleAction_0(), |
| current); |
| |
| |
| } |
| |
| otherlv_1 = (Token) match(input, 15, FOLLOW_15_in_ruleTuple3734); |
| |
| newLeafNode(otherlv_1, grammarAccess.getTupleAccess().getLeftParenthesisKeyword_1()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1768:1: ( ( (lv_tupleElements_2_0= ruleTupleElement ) ) (otherlv_3= ',' ( (lv_tupleElements_4_0= |
| // ruleTupleElement ) ) )* )? |
| int alt35 = 2; |
| int LA35_0 = input.LA(1); |
| |
| if (((LA35_0 >= RULE_ID && LA35_0 <= RULE_STRING) || LA35_0 == 15 || LA35_0 == 24 || (LA35_0 >= 27 && LA35_0 <= 28) || (LA35_0 >= 48 && LA35_0 <= 49) || (LA35_0 >= 52 && LA35_0 <= 54) || (LA35_0 >= 59 && LA35_0 <= 62) || (LA35_0 >= 93 && LA35_0 <= 94))) { |
| alt35 = 1; |
| } |
| switch (alt35) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1768:2: ( (lv_tupleElements_2_0= ruleTupleElement ) ) (otherlv_3= ',' ( (lv_tupleElements_4_0= |
| // ruleTupleElement ) ) )* |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1768:2: ( (lv_tupleElements_2_0= ruleTupleElement ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1769:1: (lv_tupleElements_2_0= ruleTupleElement ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1769:1: (lv_tupleElements_2_0= ruleTupleElement ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1770:3: lv_tupleElements_2_0= ruleTupleElement |
| { |
| |
| newCompositeNode(grammarAccess.getTupleAccess().getTupleElementsTupleElementParserRuleCall_2_0_0()); |
| |
| pushFollow(FOLLOW_ruleTupleElement_in_ruleTuple3756); |
| lv_tupleElements_2_0 = ruleTupleElement(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getTupleRule()); |
| } |
| add( |
| current, |
| "tupleElements", |
| lv_tupleElements_2_0, |
| "TupleElement"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1786:2: (otherlv_3= ',' ( (lv_tupleElements_4_0= ruleTupleElement ) ) )* |
| loop34: do { |
| int alt34 = 2; |
| int LA34_0 = input.LA(1); |
| |
| if ((LA34_0 == 17)) { |
| alt34 = 1; |
| } |
| |
| |
| switch (alt34) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1786:4: otherlv_3= ',' ( (lv_tupleElements_4_0= ruleTupleElement ) ) |
| { |
| otherlv_3 = (Token) match(input, 17, FOLLOW_17_in_ruleTuple3769); |
| |
| newLeafNode(otherlv_3, grammarAccess.getTupleAccess().getCommaKeyword_2_1_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1790:1: ( (lv_tupleElements_4_0= ruleTupleElement ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1791:1: (lv_tupleElements_4_0= ruleTupleElement ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1791:1: (lv_tupleElements_4_0= ruleTupleElement ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1792:3: lv_tupleElements_4_0= ruleTupleElement |
| { |
| |
| newCompositeNode(grammarAccess.getTupleAccess().getTupleElementsTupleElementParserRuleCall_2_1_1_0()); |
| |
| pushFollow(FOLLOW_ruleTupleElement_in_ruleTuple3790); |
| lv_tupleElements_4_0 = ruleTupleElement(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getTupleRule()); |
| } |
| add( |
| current, |
| "tupleElements", |
| lv_tupleElements_4_0, |
| "TupleElement"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default: |
| break loop34; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_5 = (Token) match(input, 16, FOLLOW_16_in_ruleTuple3806); |
| |
| newLeafNode(otherlv_5, grammarAccess.getTupleAccess().getRightParenthesisKeyword_3()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleTuple" |
| |
| |
| // $ANTLR start "entryRuleTupleElement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1820:1: entryRuleTupleElement returns [EObject current=null] : iv_ruleTupleElement= ruleTupleElement EOF ; |
| public final EObject entryRuleTupleElement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleTupleElement = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1821:2: (iv_ruleTupleElement= ruleTupleElement EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1822:2: iv_ruleTupleElement= ruleTupleElement EOF |
| { |
| newCompositeNode(grammarAccess.getTupleElementRule()); |
| pushFollow(FOLLOW_ruleTupleElement_in_entryRuleTupleElement3842); |
| iv_ruleTupleElement = ruleTupleElement(); |
| |
| state._fsp--; |
| |
| current = iv_ruleTupleElement; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleTupleElement3852); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleTupleElement" |
| |
| |
| // $ANTLR start "ruleTupleElement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1829:1: ruleTupleElement returns [EObject current=null] : ( (lv_argument_0_0= ruleExpression ) ) ; |
| public final EObject ruleTupleElement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject lv_argument_0_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1832:28: ( ( (lv_argument_0_0= ruleExpression ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1833:1: ( (lv_argument_0_0= ruleExpression ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1833:1: ( (lv_argument_0_0= ruleExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1834:1: (lv_argument_0_0= ruleExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1834:1: (lv_argument_0_0= ruleExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1835:3: lv_argument_0_0= ruleExpression |
| { |
| |
| newCompositeNode(grammarAccess.getTupleElementAccess().getArgumentExpressionParserRuleCall_0()); |
| |
| pushFollow(FOLLOW_ruleExpression_in_ruleTupleElement3897); |
| lv_argument_0_0 = ruleExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getTupleElementRule()); |
| } |
| set( |
| current, |
| "argument", |
| lv_argument_0_0, |
| "Expression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleTupleElement" |
| |
| |
| // $ANTLR start "entryRuleExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1859:1: entryRuleExpression returns [EObject current=null] : iv_ruleExpression= ruleExpression EOF ; |
| public final EObject entryRuleExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1860:2: (iv_ruleExpression= ruleExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1861:2: iv_ruleExpression= ruleExpression EOF |
| { |
| newCompositeNode(grammarAccess.getExpressionRule()); |
| pushFollow(FOLLOW_ruleExpression_in_entryRuleExpression3932); |
| iv_ruleExpression = ruleExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleExpression3942); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleExpression" |
| |
| |
| // $ANTLR start "ruleExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1868:1: ruleExpression returns [EObject current=null] : this_ConditionalTestExpression_0= |
| // ruleConditionalTestExpression ; |
| public final EObject ruleExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_ConditionalTestExpression_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1871:28: (this_ConditionalTestExpression_0= ruleConditionalTestExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1873:5: this_ConditionalTestExpression_0= ruleConditionalTestExpression |
| { |
| |
| newCompositeNode(grammarAccess.getExpressionAccess().getConditionalTestExpressionParserRuleCall()); |
| |
| pushFollow(FOLLOW_ruleConditionalTestExpression_in_ruleExpression3988); |
| this_ConditionalTestExpression_0 = ruleConditionalTestExpression(); |
| |
| state._fsp--; |
| |
| |
| current = this_ConditionalTestExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleExpression" |
| |
| |
| // $ANTLR start "entryRuleConditionalTestExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1889:1: entryRuleConditionalTestExpression returns [EObject current=null] : iv_ruleConditionalTestExpression= |
| // ruleConditionalTestExpression EOF ; |
| public final EObject entryRuleConditionalTestExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleConditionalTestExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1890:2: (iv_ruleConditionalTestExpression= ruleConditionalTestExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1891:2: iv_ruleConditionalTestExpression= ruleConditionalTestExpression EOF |
| { |
| newCompositeNode(grammarAccess.getConditionalTestExpressionRule()); |
| pushFollow(FOLLOW_ruleConditionalTestExpression_in_entryRuleConditionalTestExpression4022); |
| iv_ruleConditionalTestExpression = ruleConditionalTestExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleConditionalTestExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleConditionalTestExpression4032); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleConditionalTestExpression" |
| |
| |
| // $ANTLR start "ruleConditionalTestExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1898:1: ruleConditionalTestExpression returns [EObject current=null] : ( ( (lv_exp_0_0= |
| // ruleConditionalOrExpression ) ) (otherlv_1= '?' ( (lv_whenTrue_2_0= ruleConditionalTestExpression ) ) otherlv_3= ':' ( (lv_whenFalse_4_0= ruleConditionalTestExpression ) ) )? ) ; |
| public final EObject ruleConditionalTestExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| Token otherlv_3 = null; |
| EObject lv_exp_0_0 = null; |
| |
| EObject lv_whenTrue_2_0 = null; |
| |
| EObject lv_whenFalse_4_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1901:28: ( ( ( (lv_exp_0_0= ruleConditionalOrExpression ) ) (otherlv_1= '?' ( (lv_whenTrue_2_0= |
| // ruleConditionalTestExpression ) ) otherlv_3= ':' ( (lv_whenFalse_4_0= ruleConditionalTestExpression ) ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1902:1: ( ( (lv_exp_0_0= ruleConditionalOrExpression ) ) (otherlv_1= '?' ( (lv_whenTrue_2_0= |
| // ruleConditionalTestExpression ) ) otherlv_3= ':' ( (lv_whenFalse_4_0= ruleConditionalTestExpression ) ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1902:1: ( ( (lv_exp_0_0= ruleConditionalOrExpression ) ) (otherlv_1= '?' ( (lv_whenTrue_2_0= |
| // ruleConditionalTestExpression ) ) otherlv_3= ':' ( (lv_whenFalse_4_0= ruleConditionalTestExpression ) ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1902:2: ( (lv_exp_0_0= ruleConditionalOrExpression ) ) (otherlv_1= '?' ( (lv_whenTrue_2_0= |
| // ruleConditionalTestExpression ) ) otherlv_3= ':' ( (lv_whenFalse_4_0= ruleConditionalTestExpression ) ) )? |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1902:2: ( (lv_exp_0_0= ruleConditionalOrExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1903:1: (lv_exp_0_0= ruleConditionalOrExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1903:1: (lv_exp_0_0= ruleConditionalOrExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1904:3: lv_exp_0_0= ruleConditionalOrExpression |
| { |
| |
| newCompositeNode(grammarAccess.getConditionalTestExpressionAccess().getExpConditionalOrExpressionParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleConditionalOrExpression_in_ruleConditionalTestExpression4078); |
| lv_exp_0_0 = ruleConditionalOrExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getConditionalTestExpressionRule()); |
| } |
| set( |
| current, |
| "exp", |
| lv_exp_0_0, |
| "ConditionalOrExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1920:2: (otherlv_1= '?' ( (lv_whenTrue_2_0= ruleConditionalTestExpression ) ) otherlv_3= ':' ( |
| // (lv_whenFalse_4_0= ruleConditionalTestExpression ) ) )? |
| int alt36 = 2; |
| int LA36_0 = input.LA(1); |
| |
| if ((LA36_0 == 33)) { |
| alt36 = 1; |
| } |
| switch (alt36) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1920:4: otherlv_1= '?' ( (lv_whenTrue_2_0= ruleConditionalTestExpression ) ) otherlv_3= ':' ( |
| // (lv_whenFalse_4_0= ruleConditionalTestExpression ) ) |
| { |
| otherlv_1 = (Token) match(input, 33, FOLLOW_33_in_ruleConditionalTestExpression4091); |
| |
| newLeafNode(otherlv_1, grammarAccess.getConditionalTestExpressionAccess().getQuestionMarkKeyword_1_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1924:1: ( (lv_whenTrue_2_0= ruleConditionalTestExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1925:1: (lv_whenTrue_2_0= ruleConditionalTestExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1925:1: (lv_whenTrue_2_0= ruleConditionalTestExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1926:3: lv_whenTrue_2_0= ruleConditionalTestExpression |
| { |
| |
| newCompositeNode(grammarAccess.getConditionalTestExpressionAccess().getWhenTrueConditionalTestExpressionParserRuleCall_1_1_0()); |
| |
| pushFollow(FOLLOW_ruleConditionalTestExpression_in_ruleConditionalTestExpression4112); |
| lv_whenTrue_2_0 = ruleConditionalTestExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getConditionalTestExpressionRule()); |
| } |
| set( |
| current, |
| "whenTrue", |
| lv_whenTrue_2_0, |
| "ConditionalTestExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_3 = (Token) match(input, 14, FOLLOW_14_in_ruleConditionalTestExpression4124); |
| |
| newLeafNode(otherlv_3, grammarAccess.getConditionalTestExpressionAccess().getColonKeyword_1_2()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1946:1: ( (lv_whenFalse_4_0= ruleConditionalTestExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1947:1: (lv_whenFalse_4_0= ruleConditionalTestExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1947:1: (lv_whenFalse_4_0= ruleConditionalTestExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1948:3: lv_whenFalse_4_0= ruleConditionalTestExpression |
| { |
| |
| newCompositeNode(grammarAccess.getConditionalTestExpressionAccess().getWhenFalseConditionalTestExpressionParserRuleCall_1_3_0()); |
| |
| pushFollow(FOLLOW_ruleConditionalTestExpression_in_ruleConditionalTestExpression4145); |
| lv_whenFalse_4_0 = ruleConditionalTestExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getConditionalTestExpressionRule()); |
| } |
| set( |
| current, |
| "whenFalse", |
| lv_whenFalse_4_0, |
| "ConditionalTestExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleConditionalTestExpression" |
| |
| |
| // $ANTLR start "entryRuleConditionalOrExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1972:1: entryRuleConditionalOrExpression returns [EObject current=null] : iv_ruleConditionalOrExpression= |
| // ruleConditionalOrExpression EOF ; |
| public final EObject entryRuleConditionalOrExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleConditionalOrExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1973:2: (iv_ruleConditionalOrExpression= ruleConditionalOrExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1974:2: iv_ruleConditionalOrExpression= ruleConditionalOrExpression EOF |
| { |
| newCompositeNode(grammarAccess.getConditionalOrExpressionRule()); |
| pushFollow(FOLLOW_ruleConditionalOrExpression_in_entryRuleConditionalOrExpression4183); |
| iv_ruleConditionalOrExpression = ruleConditionalOrExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleConditionalOrExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleConditionalOrExpression4193); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleConditionalOrExpression" |
| |
| |
| // $ANTLR start "ruleConditionalOrExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1981:1: ruleConditionalOrExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleConditionalAndExpression |
| // ) ) (otherlv_1= '||' ( (lv_exp_2_0= ruleConditionalAndExpression ) ) )* ) ; |
| public final EObject ruleConditionalOrExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| EObject lv_exp_0_0 = null; |
| |
| EObject lv_exp_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1984:28: ( ( ( (lv_exp_0_0= ruleConditionalAndExpression ) ) (otherlv_1= '||' ( (lv_exp_2_0= |
| // ruleConditionalAndExpression ) ) )* ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1985:1: ( ( (lv_exp_0_0= ruleConditionalAndExpression ) ) (otherlv_1= '||' ( (lv_exp_2_0= |
| // ruleConditionalAndExpression ) ) )* ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1985:1: ( ( (lv_exp_0_0= ruleConditionalAndExpression ) ) (otherlv_1= '||' ( (lv_exp_2_0= |
| // ruleConditionalAndExpression ) ) )* ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1985:2: ( (lv_exp_0_0= ruleConditionalAndExpression ) ) (otherlv_1= '||' ( (lv_exp_2_0= |
| // ruleConditionalAndExpression ) ) )* |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1985:2: ( (lv_exp_0_0= ruleConditionalAndExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1986:1: (lv_exp_0_0= ruleConditionalAndExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1986:1: (lv_exp_0_0= ruleConditionalAndExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1987:3: lv_exp_0_0= ruleConditionalAndExpression |
| { |
| |
| newCompositeNode(grammarAccess.getConditionalOrExpressionAccess().getExpConditionalAndExpressionParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleConditionalAndExpression_in_ruleConditionalOrExpression4239); |
| lv_exp_0_0 = ruleConditionalAndExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getConditionalOrExpressionRule()); |
| } |
| add( |
| current, |
| "exp", |
| lv_exp_0_0, |
| "ConditionalAndExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2003:2: (otherlv_1= '||' ( (lv_exp_2_0= ruleConditionalAndExpression ) ) )* |
| loop37: do { |
| int alt37 = 2; |
| int LA37_0 = input.LA(1); |
| |
| if ((LA37_0 == 34)) { |
| alt37 = 1; |
| } |
| |
| |
| switch (alt37) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2003:4: otherlv_1= '||' ( (lv_exp_2_0= ruleConditionalAndExpression ) ) |
| { |
| otherlv_1 = (Token) match(input, 34, FOLLOW_34_in_ruleConditionalOrExpression4252); |
| |
| newLeafNode(otherlv_1, grammarAccess.getConditionalOrExpressionAccess().getVerticalLineVerticalLineKeyword_1_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2007:1: ( (lv_exp_2_0= ruleConditionalAndExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2008:1: (lv_exp_2_0= ruleConditionalAndExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2008:1: (lv_exp_2_0= ruleConditionalAndExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2009:3: lv_exp_2_0= ruleConditionalAndExpression |
| { |
| |
| newCompositeNode(grammarAccess.getConditionalOrExpressionAccess().getExpConditionalAndExpressionParserRuleCall_1_1_0()); |
| |
| pushFollow(FOLLOW_ruleConditionalAndExpression_in_ruleConditionalOrExpression4273); |
| lv_exp_2_0 = ruleConditionalAndExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getConditionalOrExpressionRule()); |
| } |
| add( |
| current, |
| "exp", |
| lv_exp_2_0, |
| "ConditionalAndExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default: |
| break loop37; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleConditionalOrExpression" |
| |
| |
| // $ANTLR start "entryRuleConditionalAndExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2033:1: entryRuleConditionalAndExpression returns [EObject current=null] : iv_ruleConditionalAndExpression= |
| // ruleConditionalAndExpression EOF ; |
| public final EObject entryRuleConditionalAndExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleConditionalAndExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2034:2: (iv_ruleConditionalAndExpression= ruleConditionalAndExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2035:2: iv_ruleConditionalAndExpression= ruleConditionalAndExpression EOF |
| { |
| newCompositeNode(grammarAccess.getConditionalAndExpressionRule()); |
| pushFollow(FOLLOW_ruleConditionalAndExpression_in_entryRuleConditionalAndExpression4311); |
| iv_ruleConditionalAndExpression = ruleConditionalAndExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleConditionalAndExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleConditionalAndExpression4321); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleConditionalAndExpression" |
| |
| |
| // $ANTLR start "ruleConditionalAndExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2042:1: ruleConditionalAndExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleInclusiveOrExpression ) |
| // ) (otherlv_1= '&&' ( (lv_exp_2_0= ruleInclusiveOrExpression ) ) )* ) ; |
| public final EObject ruleConditionalAndExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| EObject lv_exp_0_0 = null; |
| |
| EObject lv_exp_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2045:28: ( ( ( (lv_exp_0_0= ruleInclusiveOrExpression ) ) (otherlv_1= '&&' ( (lv_exp_2_0= |
| // ruleInclusiveOrExpression ) ) )* ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2046:1: ( ( (lv_exp_0_0= ruleInclusiveOrExpression ) ) (otherlv_1= '&&' ( (lv_exp_2_0= |
| // ruleInclusiveOrExpression ) ) )* ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2046:1: ( ( (lv_exp_0_0= ruleInclusiveOrExpression ) ) (otherlv_1= '&&' ( (lv_exp_2_0= |
| // ruleInclusiveOrExpression ) ) )* ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2046:2: ( (lv_exp_0_0= ruleInclusiveOrExpression ) ) (otherlv_1= '&&' ( (lv_exp_2_0= |
| // ruleInclusiveOrExpression ) ) )* |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2046:2: ( (lv_exp_0_0= ruleInclusiveOrExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2047:1: (lv_exp_0_0= ruleInclusiveOrExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2047:1: (lv_exp_0_0= ruleInclusiveOrExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2048:3: lv_exp_0_0= ruleInclusiveOrExpression |
| { |
| |
| newCompositeNode(grammarAccess.getConditionalAndExpressionAccess().getExpInclusiveOrExpressionParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleInclusiveOrExpression_in_ruleConditionalAndExpression4367); |
| lv_exp_0_0 = ruleInclusiveOrExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getConditionalAndExpressionRule()); |
| } |
| add( |
| current, |
| "exp", |
| lv_exp_0_0, |
| "InclusiveOrExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2064:2: (otherlv_1= '&&' ( (lv_exp_2_0= ruleInclusiveOrExpression ) ) )* |
| loop38: do { |
| int alt38 = 2; |
| int LA38_0 = input.LA(1); |
| |
| if ((LA38_0 == 35)) { |
| alt38 = 1; |
| } |
| |
| |
| switch (alt38) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2064:4: otherlv_1= '&&' ( (lv_exp_2_0= ruleInclusiveOrExpression ) ) |
| { |
| otherlv_1 = (Token) match(input, 35, FOLLOW_35_in_ruleConditionalAndExpression4380); |
| |
| newLeafNode(otherlv_1, grammarAccess.getConditionalAndExpressionAccess().getAmpersandAmpersandKeyword_1_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2068:1: ( (lv_exp_2_0= ruleInclusiveOrExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2069:1: (lv_exp_2_0= ruleInclusiveOrExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2069:1: (lv_exp_2_0= ruleInclusiveOrExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2070:3: lv_exp_2_0= ruleInclusiveOrExpression |
| { |
| |
| newCompositeNode(grammarAccess.getConditionalAndExpressionAccess().getExpInclusiveOrExpressionParserRuleCall_1_1_0()); |
| |
| pushFollow(FOLLOW_ruleInclusiveOrExpression_in_ruleConditionalAndExpression4401); |
| lv_exp_2_0 = ruleInclusiveOrExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getConditionalAndExpressionRule()); |
| } |
| add( |
| current, |
| "exp", |
| lv_exp_2_0, |
| "InclusiveOrExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default: |
| break loop38; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleConditionalAndExpression" |
| |
| |
| // $ANTLR start "entryRuleInclusiveOrExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2094:1: entryRuleInclusiveOrExpression returns [EObject current=null] : iv_ruleInclusiveOrExpression= |
| // ruleInclusiveOrExpression EOF ; |
| public final EObject entryRuleInclusiveOrExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleInclusiveOrExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2095:2: (iv_ruleInclusiveOrExpression= ruleInclusiveOrExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2096:2: iv_ruleInclusiveOrExpression= ruleInclusiveOrExpression EOF |
| { |
| newCompositeNode(grammarAccess.getInclusiveOrExpressionRule()); |
| pushFollow(FOLLOW_ruleInclusiveOrExpression_in_entryRuleInclusiveOrExpression4439); |
| iv_ruleInclusiveOrExpression = ruleInclusiveOrExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleInclusiveOrExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleInclusiveOrExpression4449); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleInclusiveOrExpression" |
| |
| |
| // $ANTLR start "ruleInclusiveOrExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2103:1: ruleInclusiveOrExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleExclusiveOrExpression ) ) |
| // (otherlv_1= '|' ( (lv_exp_2_0= ruleExclusiveOrExpression ) ) )* ) ; |
| public final EObject ruleInclusiveOrExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| EObject lv_exp_0_0 = null; |
| |
| EObject lv_exp_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2106:28: ( ( ( (lv_exp_0_0= ruleExclusiveOrExpression ) ) (otherlv_1= '|' ( (lv_exp_2_0= |
| // ruleExclusiveOrExpression ) ) )* ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2107:1: ( ( (lv_exp_0_0= ruleExclusiveOrExpression ) ) (otherlv_1= '|' ( (lv_exp_2_0= |
| // ruleExclusiveOrExpression ) ) )* ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2107:1: ( ( (lv_exp_0_0= ruleExclusiveOrExpression ) ) (otherlv_1= '|' ( (lv_exp_2_0= |
| // ruleExclusiveOrExpression ) ) )* ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2107:2: ( (lv_exp_0_0= ruleExclusiveOrExpression ) ) (otherlv_1= '|' ( (lv_exp_2_0= |
| // ruleExclusiveOrExpression ) ) )* |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2107:2: ( (lv_exp_0_0= ruleExclusiveOrExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2108:1: (lv_exp_0_0= ruleExclusiveOrExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2108:1: (lv_exp_0_0= ruleExclusiveOrExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2109:3: lv_exp_0_0= ruleExclusiveOrExpression |
| { |
| |
| newCompositeNode(grammarAccess.getInclusiveOrExpressionAccess().getExpExclusiveOrExpressionParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleExclusiveOrExpression_in_ruleInclusiveOrExpression4495); |
| lv_exp_0_0 = ruleExclusiveOrExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getInclusiveOrExpressionRule()); |
| } |
| add( |
| current, |
| "exp", |
| lv_exp_0_0, |
| "ExclusiveOrExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2125:2: (otherlv_1= '|' ( (lv_exp_2_0= ruleExclusiveOrExpression ) ) )* |
| loop39: do { |
| int alt39 = 2; |
| int LA39_0 = input.LA(1); |
| |
| if ((LA39_0 == 36)) { |
| alt39 = 1; |
| } |
| |
| |
| switch (alt39) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2125:4: otherlv_1= '|' ( (lv_exp_2_0= ruleExclusiveOrExpression ) ) |
| { |
| otherlv_1 = (Token) match(input, 36, FOLLOW_36_in_ruleInclusiveOrExpression4508); |
| |
| newLeafNode(otherlv_1, grammarAccess.getInclusiveOrExpressionAccess().getVerticalLineKeyword_1_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2129:1: ( (lv_exp_2_0= ruleExclusiveOrExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2130:1: (lv_exp_2_0= ruleExclusiveOrExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2130:1: (lv_exp_2_0= ruleExclusiveOrExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2131:3: lv_exp_2_0= ruleExclusiveOrExpression |
| { |
| |
| newCompositeNode(grammarAccess.getInclusiveOrExpressionAccess().getExpExclusiveOrExpressionParserRuleCall_1_1_0()); |
| |
| pushFollow(FOLLOW_ruleExclusiveOrExpression_in_ruleInclusiveOrExpression4529); |
| lv_exp_2_0 = ruleExclusiveOrExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getInclusiveOrExpressionRule()); |
| } |
| add( |
| current, |
| "exp", |
| lv_exp_2_0, |
| "ExclusiveOrExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default: |
| break loop39; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleInclusiveOrExpression" |
| |
| |
| // $ANTLR start "entryRuleExclusiveOrExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2155:1: entryRuleExclusiveOrExpression returns [EObject current=null] : iv_ruleExclusiveOrExpression= |
| // ruleExclusiveOrExpression EOF ; |
| public final EObject entryRuleExclusiveOrExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleExclusiveOrExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2156:2: (iv_ruleExclusiveOrExpression= ruleExclusiveOrExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2157:2: iv_ruleExclusiveOrExpression= ruleExclusiveOrExpression EOF |
| { |
| newCompositeNode(grammarAccess.getExclusiveOrExpressionRule()); |
| pushFollow(FOLLOW_ruleExclusiveOrExpression_in_entryRuleExclusiveOrExpression4567); |
| iv_ruleExclusiveOrExpression = ruleExclusiveOrExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleExclusiveOrExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleExclusiveOrExpression4577); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleExclusiveOrExpression" |
| |
| |
| // $ANTLR start "ruleExclusiveOrExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2164:1: ruleExclusiveOrExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleAndExpression ) ) |
| // (otherlv_1= '^' ( (lv_exp_2_0= ruleAndExpression ) ) )* ) ; |
| public final EObject ruleExclusiveOrExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| EObject lv_exp_0_0 = null; |
| |
| EObject lv_exp_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2167:28: ( ( ( (lv_exp_0_0= ruleAndExpression ) ) (otherlv_1= '^' ( (lv_exp_2_0= ruleAndExpression ) ) )* |
| // ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2168:1: ( ( (lv_exp_0_0= ruleAndExpression ) ) (otherlv_1= '^' ( (lv_exp_2_0= ruleAndExpression ) ) )* ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2168:1: ( ( (lv_exp_0_0= ruleAndExpression ) ) (otherlv_1= '^' ( (lv_exp_2_0= ruleAndExpression ) ) )* |
| // ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2168:2: ( (lv_exp_0_0= ruleAndExpression ) ) (otherlv_1= '^' ( (lv_exp_2_0= ruleAndExpression ) ) )* |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2168:2: ( (lv_exp_0_0= ruleAndExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2169:1: (lv_exp_0_0= ruleAndExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2169:1: (lv_exp_0_0= ruleAndExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2170:3: lv_exp_0_0= ruleAndExpression |
| { |
| |
| newCompositeNode(grammarAccess.getExclusiveOrExpressionAccess().getExpAndExpressionParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleAndExpression_in_ruleExclusiveOrExpression4623); |
| lv_exp_0_0 = ruleAndExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getExclusiveOrExpressionRule()); |
| } |
| add( |
| current, |
| "exp", |
| lv_exp_0_0, |
| "AndExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2186:2: (otherlv_1= '^' ( (lv_exp_2_0= ruleAndExpression ) ) )* |
| loop40: do { |
| int alt40 = 2; |
| int LA40_0 = input.LA(1); |
| |
| if ((LA40_0 == 37)) { |
| alt40 = 1; |
| } |
| |
| |
| switch (alt40) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2186:4: otherlv_1= '^' ( (lv_exp_2_0= ruleAndExpression ) ) |
| { |
| otherlv_1 = (Token) match(input, 37, FOLLOW_37_in_ruleExclusiveOrExpression4636); |
| |
| newLeafNode(otherlv_1, grammarAccess.getExclusiveOrExpressionAccess().getCircumflexAccentKeyword_1_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2190:1: ( (lv_exp_2_0= ruleAndExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2191:1: (lv_exp_2_0= ruleAndExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2191:1: (lv_exp_2_0= ruleAndExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2192:3: lv_exp_2_0= ruleAndExpression |
| { |
| |
| newCompositeNode(grammarAccess.getExclusiveOrExpressionAccess().getExpAndExpressionParserRuleCall_1_1_0()); |
| |
| pushFollow(FOLLOW_ruleAndExpression_in_ruleExclusiveOrExpression4657); |
| lv_exp_2_0 = ruleAndExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getExclusiveOrExpressionRule()); |
| } |
| add( |
| current, |
| "exp", |
| lv_exp_2_0, |
| "AndExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default: |
| break loop40; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleExclusiveOrExpression" |
| |
| |
| // $ANTLR start "entryRuleAndExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2216:1: entryRuleAndExpression returns [EObject current=null] : iv_ruleAndExpression= ruleAndExpression EOF ; |
| public final EObject entryRuleAndExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleAndExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2217:2: (iv_ruleAndExpression= ruleAndExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2218:2: iv_ruleAndExpression= ruleAndExpression EOF |
| { |
| newCompositeNode(grammarAccess.getAndExpressionRule()); |
| pushFollow(FOLLOW_ruleAndExpression_in_entryRuleAndExpression4695); |
| iv_ruleAndExpression = ruleAndExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleAndExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleAndExpression4705); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleAndExpression" |
| |
| |
| // $ANTLR start "ruleAndExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2225:1: ruleAndExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleEqualityExpression ) ) (otherlv_1= |
| // '&' ( (lv_exp_2_0= ruleEqualityExpression ) ) )* ) ; |
| public final EObject ruleAndExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| EObject lv_exp_0_0 = null; |
| |
| EObject lv_exp_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2228:28: ( ( ( (lv_exp_0_0= ruleEqualityExpression ) ) (otherlv_1= '&' ( (lv_exp_2_0= |
| // ruleEqualityExpression ) ) )* ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2229:1: ( ( (lv_exp_0_0= ruleEqualityExpression ) ) (otherlv_1= '&' ( (lv_exp_2_0= ruleEqualityExpression |
| // ) ) )* ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2229:1: ( ( (lv_exp_0_0= ruleEqualityExpression ) ) (otherlv_1= '&' ( (lv_exp_2_0= |
| // ruleEqualityExpression ) ) )* ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2229:2: ( (lv_exp_0_0= ruleEqualityExpression ) ) (otherlv_1= '&' ( (lv_exp_2_0= |
| // ruleEqualityExpression ) ) )* |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2229:2: ( (lv_exp_0_0= ruleEqualityExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2230:1: (lv_exp_0_0= ruleEqualityExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2230:1: (lv_exp_0_0= ruleEqualityExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2231:3: lv_exp_0_0= ruleEqualityExpression |
| { |
| |
| newCompositeNode(grammarAccess.getAndExpressionAccess().getExpEqualityExpressionParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleEqualityExpression_in_ruleAndExpression4751); |
| lv_exp_0_0 = ruleEqualityExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getAndExpressionRule()); |
| } |
| add( |
| current, |
| "exp", |
| lv_exp_0_0, |
| "EqualityExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2247:2: (otherlv_1= '&' ( (lv_exp_2_0= ruleEqualityExpression ) ) )* |
| loop41: do { |
| int alt41 = 2; |
| int LA41_0 = input.LA(1); |
| |
| if ((LA41_0 == 38)) { |
| alt41 = 1; |
| } |
| |
| |
| switch (alt41) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2247:4: otherlv_1= '&' ( (lv_exp_2_0= ruleEqualityExpression ) ) |
| { |
| otherlv_1 = (Token) match(input, 38, FOLLOW_38_in_ruleAndExpression4764); |
| |
| newLeafNode(otherlv_1, grammarAccess.getAndExpressionAccess().getAmpersandKeyword_1_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2251:1: ( (lv_exp_2_0= ruleEqualityExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2252:1: (lv_exp_2_0= ruleEqualityExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2252:1: (lv_exp_2_0= ruleEqualityExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2253:3: lv_exp_2_0= ruleEqualityExpression |
| { |
| |
| newCompositeNode(grammarAccess.getAndExpressionAccess().getExpEqualityExpressionParserRuleCall_1_1_0()); |
| |
| pushFollow(FOLLOW_ruleEqualityExpression_in_ruleAndExpression4785); |
| lv_exp_2_0 = ruleEqualityExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getAndExpressionRule()); |
| } |
| add( |
| current, |
| "exp", |
| lv_exp_2_0, |
| "EqualityExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default: |
| break loop41; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleAndExpression" |
| |
| |
| // $ANTLR start "entryRuleEqualityExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2277:1: entryRuleEqualityExpression returns [EObject current=null] : iv_ruleEqualityExpression= |
| // ruleEqualityExpression EOF ; |
| public final EObject entryRuleEqualityExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleEqualityExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2278:2: (iv_ruleEqualityExpression= ruleEqualityExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2279:2: iv_ruleEqualityExpression= ruleEqualityExpression EOF |
| { |
| newCompositeNode(grammarAccess.getEqualityExpressionRule()); |
| pushFollow(FOLLOW_ruleEqualityExpression_in_entryRuleEqualityExpression4823); |
| iv_ruleEqualityExpression = ruleEqualityExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleEqualityExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleEqualityExpression4833); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleEqualityExpression" |
| |
| |
| // $ANTLR start "ruleEqualityExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2286:1: ruleEqualityExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleClassificationExpression ) ) |
| // ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '!=' ) ) ) ( (lv_exp_2_0= ruleClassificationExpression ) ) )* ) ; |
| public final EObject ruleEqualityExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_op_1_1 = null; |
| Token lv_op_1_2 = null; |
| EObject lv_exp_0_0 = null; |
| |
| EObject lv_exp_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2289:28: ( ( ( (lv_exp_0_0= ruleClassificationExpression ) ) ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '!=' ) ) |
| // ) ( (lv_exp_2_0= ruleClassificationExpression ) ) )* ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2290:1: ( ( (lv_exp_0_0= ruleClassificationExpression ) ) ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '!=' ) ) ) ( |
| // (lv_exp_2_0= ruleClassificationExpression ) ) )* ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2290:1: ( ( (lv_exp_0_0= ruleClassificationExpression ) ) ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '!=' ) ) |
| // ) ( (lv_exp_2_0= ruleClassificationExpression ) ) )* ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2290:2: ( (lv_exp_0_0= ruleClassificationExpression ) ) ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '!=' ) ) ) |
| // ( (lv_exp_2_0= ruleClassificationExpression ) ) )* |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2290:2: ( (lv_exp_0_0= ruleClassificationExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2291:1: (lv_exp_0_0= ruleClassificationExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2291:1: (lv_exp_0_0= ruleClassificationExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2292:3: lv_exp_0_0= ruleClassificationExpression |
| { |
| |
| newCompositeNode(grammarAccess.getEqualityExpressionAccess().getExpClassificationExpressionParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleClassificationExpression_in_ruleEqualityExpression4879); |
| lv_exp_0_0 = ruleClassificationExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getEqualityExpressionRule()); |
| } |
| add( |
| current, |
| "exp", |
| lv_exp_0_0, |
| "ClassificationExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2308:2: ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '!=' ) ) ) ( (lv_exp_2_0= ruleClassificationExpression |
| // ) ) )* |
| loop43: do { |
| int alt43 = 2; |
| int LA43_0 = input.LA(1); |
| |
| if (((LA43_0 >= 39 && LA43_0 <= 40))) { |
| alt43 = 1; |
| } |
| |
| |
| switch (alt43) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2308:3: ( ( (lv_op_1_1= '==' | lv_op_1_2= '!=' ) ) ) ( (lv_exp_2_0= |
| // ruleClassificationExpression ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2308:3: ( ( (lv_op_1_1= '==' | lv_op_1_2= '!=' ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2309:1: ( (lv_op_1_1= '==' | lv_op_1_2= '!=' ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2309:1: ( (lv_op_1_1= '==' | lv_op_1_2= '!=' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2310:1: (lv_op_1_1= '==' | lv_op_1_2= '!=' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2310:1: (lv_op_1_1= '==' | lv_op_1_2= '!=' ) |
| int alt42 = 2; |
| int LA42_0 = input.LA(1); |
| |
| if ((LA42_0 == 39)) { |
| alt42 = 1; |
| } |
| else if ((LA42_0 == 40)) { |
| alt42 = 2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 42, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt42) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2311:3: lv_op_1_1= '==' |
| { |
| lv_op_1_1 = (Token) match(input, 39, FOLLOW_39_in_ruleEqualityExpression4900); |
| |
| newLeafNode(lv_op_1_1, grammarAccess.getEqualityExpressionAccess().getOpEqualsSignEqualsSignKeyword_1_0_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getEqualityExpressionRule()); |
| } |
| addWithLastConsumed(current, "op", lv_op_1_1, null); |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2323:8: lv_op_1_2= '!=' |
| { |
| lv_op_1_2 = (Token) match(input, 40, FOLLOW_40_in_ruleEqualityExpression4929); |
| |
| newLeafNode(lv_op_1_2, grammarAccess.getEqualityExpressionAccess().getOpExclamationMarkEqualsSignKeyword_1_0_0_1()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getEqualityExpressionRule()); |
| } |
| addWithLastConsumed(current, "op", lv_op_1_2, null); |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2338:2: ( (lv_exp_2_0= ruleClassificationExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2339:1: (lv_exp_2_0= ruleClassificationExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2339:1: (lv_exp_2_0= ruleClassificationExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2340:3: lv_exp_2_0= ruleClassificationExpression |
| { |
| |
| newCompositeNode(grammarAccess.getEqualityExpressionAccess().getExpClassificationExpressionParserRuleCall_1_1_0()); |
| |
| pushFollow(FOLLOW_ruleClassificationExpression_in_ruleEqualityExpression4966); |
| lv_exp_2_0 = ruleClassificationExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getEqualityExpressionRule()); |
| } |
| add( |
| current, |
| "exp", |
| lv_exp_2_0, |
| "ClassificationExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default: |
| break loop43; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleEqualityExpression" |
| |
| |
| // $ANTLR start "entryRuleClassificationExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2364:1: entryRuleClassificationExpression returns [EObject current=null] : iv_ruleClassificationExpression= |
| // ruleClassificationExpression EOF ; |
| public final EObject entryRuleClassificationExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleClassificationExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2365:2: (iv_ruleClassificationExpression= ruleClassificationExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2366:2: iv_ruleClassificationExpression= ruleClassificationExpression EOF |
| { |
| newCompositeNode(grammarAccess.getClassificationExpressionRule()); |
| pushFollow(FOLLOW_ruleClassificationExpression_in_entryRuleClassificationExpression5004); |
| iv_ruleClassificationExpression = ruleClassificationExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleClassificationExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleClassificationExpression5014); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleClassificationExpression" |
| |
| |
| // $ANTLR start "ruleClassificationExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2373:1: ruleClassificationExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleRelationalExpression ) |
| // ) ( ( ( (lv_op_1_1= 'instanceof' | lv_op_1_2= 'hastype' ) ) ) ( (lv_typeName_2_0= ruleNameExpression ) ) )? ) ; |
| public final EObject ruleClassificationExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_op_1_1 = null; |
| Token lv_op_1_2 = null; |
| EObject lv_exp_0_0 = null; |
| |
| EObject lv_typeName_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2376:28: ( ( ( (lv_exp_0_0= ruleRelationalExpression ) ) ( ( ( (lv_op_1_1= 'instanceof' | lv_op_1_2= |
| // 'hastype' ) ) ) ( (lv_typeName_2_0= ruleNameExpression ) ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2377:1: ( ( (lv_exp_0_0= ruleRelationalExpression ) ) ( ( ( (lv_op_1_1= 'instanceof' | lv_op_1_2= |
| // 'hastype' ) ) ) ( (lv_typeName_2_0= ruleNameExpression ) ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2377:1: ( ( (lv_exp_0_0= ruleRelationalExpression ) ) ( ( ( (lv_op_1_1= 'instanceof' | lv_op_1_2= |
| // 'hastype' ) ) ) ( (lv_typeName_2_0= ruleNameExpression ) ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2377:2: ( (lv_exp_0_0= ruleRelationalExpression ) ) ( ( ( (lv_op_1_1= 'instanceof' | lv_op_1_2= |
| // 'hastype' ) ) ) ( (lv_typeName_2_0= ruleNameExpression ) ) )? |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2377:2: ( (lv_exp_0_0= ruleRelationalExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2378:1: (lv_exp_0_0= ruleRelationalExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2378:1: (lv_exp_0_0= ruleRelationalExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2379:3: lv_exp_0_0= ruleRelationalExpression |
| { |
| |
| newCompositeNode(grammarAccess.getClassificationExpressionAccess().getExpRelationalExpressionParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleRelationalExpression_in_ruleClassificationExpression5060); |
| lv_exp_0_0 = ruleRelationalExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getClassificationExpressionRule()); |
| } |
| set( |
| current, |
| "exp", |
| lv_exp_0_0, |
| "RelationalExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2395:2: ( ( ( (lv_op_1_1= 'instanceof' | lv_op_1_2= 'hastype' ) ) ) ( (lv_typeName_2_0= |
| // ruleNameExpression ) ) )? |
| int alt45 = 2; |
| int LA45_0 = input.LA(1); |
| |
| if (((LA45_0 >= 41 && LA45_0 <= 42))) { |
| alt45 = 1; |
| } |
| switch (alt45) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2395:3: ( ( (lv_op_1_1= 'instanceof' | lv_op_1_2= 'hastype' ) ) ) ( (lv_typeName_2_0= |
| // ruleNameExpression ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2395:3: ( ( (lv_op_1_1= 'instanceof' | lv_op_1_2= 'hastype' ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2396:1: ( (lv_op_1_1= 'instanceof' | lv_op_1_2= 'hastype' ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2396:1: ( (lv_op_1_1= 'instanceof' | lv_op_1_2= 'hastype' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2397:1: (lv_op_1_1= 'instanceof' | lv_op_1_2= 'hastype' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2397:1: (lv_op_1_1= 'instanceof' | lv_op_1_2= 'hastype' ) |
| int alt44 = 2; |
| int LA44_0 = input.LA(1); |
| |
| if ((LA44_0 == 41)) { |
| alt44 = 1; |
| } |
| else if ((LA44_0 == 42)) { |
| alt44 = 2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 44, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt44) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2398:3: lv_op_1_1= 'instanceof' |
| { |
| lv_op_1_1 = (Token) match(input, 41, FOLLOW_41_in_ruleClassificationExpression5081); |
| |
| newLeafNode(lv_op_1_1, grammarAccess.getClassificationExpressionAccess().getOpInstanceofKeyword_1_0_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getClassificationExpressionRule()); |
| } |
| setWithLastConsumed(current, "op", lv_op_1_1, null); |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2410:8: lv_op_1_2= 'hastype' |
| { |
| lv_op_1_2 = (Token) match(input, 42, FOLLOW_42_in_ruleClassificationExpression5110); |
| |
| newLeafNode(lv_op_1_2, grammarAccess.getClassificationExpressionAccess().getOpHastypeKeyword_1_0_0_1()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getClassificationExpressionRule()); |
| } |
| setWithLastConsumed(current, "op", lv_op_1_2, null); |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2425:2: ( (lv_typeName_2_0= ruleNameExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2426:1: (lv_typeName_2_0= ruleNameExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2426:1: (lv_typeName_2_0= ruleNameExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2427:3: lv_typeName_2_0= ruleNameExpression |
| { |
| |
| newCompositeNode(grammarAccess.getClassificationExpressionAccess().getTypeNameNameExpressionParserRuleCall_1_1_0()); |
| |
| pushFollow(FOLLOW_ruleNameExpression_in_ruleClassificationExpression5147); |
| lv_typeName_2_0 = ruleNameExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getClassificationExpressionRule()); |
| } |
| set( |
| current, |
| "typeName", |
| lv_typeName_2_0, |
| "NameExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleClassificationExpression" |
| |
| |
| // $ANTLR start "entryRuleRelationalExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2451:1: entryRuleRelationalExpression returns [EObject current=null] : iv_ruleRelationalExpression= |
| // ruleRelationalExpression EOF ; |
| public final EObject entryRuleRelationalExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleRelationalExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2452:2: (iv_ruleRelationalExpression= ruleRelationalExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2453:2: iv_ruleRelationalExpression= ruleRelationalExpression EOF |
| { |
| newCompositeNode(grammarAccess.getRelationalExpressionRule()); |
| pushFollow(FOLLOW_ruleRelationalExpression_in_entryRuleRelationalExpression5185); |
| iv_ruleRelationalExpression = ruleRelationalExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleRelationalExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleRelationalExpression5195); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleRelationalExpression" |
| |
| |
| // $ANTLR start "ruleRelationalExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2460:1: ruleRelationalExpression returns [EObject current=null] : ( ( (lv_left_0_0= ruleShiftExpression ) ) ( ( ( |
| // (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) ( (lv_right_2_0= ruleShiftExpression ) ) )? ) ; |
| public final EObject ruleRelationalExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_op_1_1 = null; |
| Token lv_op_1_2 = null; |
| Token lv_op_1_3 = null; |
| Token lv_op_1_4 = null; |
| EObject lv_left_0_0 = null; |
| |
| EObject lv_right_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2463:28: ( ( ( (lv_left_0_0= ruleShiftExpression ) ) ( ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= |
| // '<=' | lv_op_1_4= '>=' ) ) ) ( (lv_right_2_0= ruleShiftExpression ) ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2464:1: ( ( (lv_left_0_0= ruleShiftExpression ) ) ( ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' |
| // | lv_op_1_4= '>=' ) ) ) ( (lv_right_2_0= ruleShiftExpression ) ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2464:1: ( ( (lv_left_0_0= ruleShiftExpression ) ) ( ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= |
| // '<=' | lv_op_1_4= '>=' ) ) ) ( (lv_right_2_0= ruleShiftExpression ) ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2464:2: ( (lv_left_0_0= ruleShiftExpression ) ) ( ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= |
| // '<=' | lv_op_1_4= '>=' ) ) ) ( (lv_right_2_0= ruleShiftExpression ) ) )? |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2464:2: ( (lv_left_0_0= ruleShiftExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2465:1: (lv_left_0_0= ruleShiftExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2465:1: (lv_left_0_0= ruleShiftExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2466:3: lv_left_0_0= ruleShiftExpression |
| { |
| |
| newCompositeNode(grammarAccess.getRelationalExpressionAccess().getLeftShiftExpressionParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleShiftExpression_in_ruleRelationalExpression5241); |
| lv_left_0_0 = ruleShiftExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getRelationalExpressionRule()); |
| } |
| set( |
| current, |
| "left", |
| lv_left_0_0, |
| "ShiftExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2482:2: ( ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) ( |
| // (lv_right_2_0= ruleShiftExpression ) ) )? |
| int alt47 = 2; |
| int LA47_0 = input.LA(1); |
| |
| if (((LA47_0 >= 30 && LA47_0 <= 31) || (LA47_0 >= 43 && LA47_0 <= 44))) { |
| alt47 = 1; |
| } |
| switch (alt47) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2482:3: ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) ( |
| // (lv_right_2_0= ruleShiftExpression ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2482:3: ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2483:1: ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2483:1: ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2484:1: (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2484:1: (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) |
| int alt46 = 4; |
| switch (input.LA(1)) { |
| case 30: { |
| alt46 = 1; |
| } |
| break; |
| case 31: { |
| alt46 = 2; |
| } |
| break; |
| case 43: { |
| alt46 = 3; |
| } |
| break; |
| case 44: { |
| alt46 = 4; |
| } |
| break; |
| default: |
| NoViableAltException nvae = |
| new NoViableAltException("", 46, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt46) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2485:3: lv_op_1_1= '<' |
| { |
| lv_op_1_1 = (Token) match(input, 30, FOLLOW_30_in_ruleRelationalExpression5262); |
| |
| newLeafNode(lv_op_1_1, grammarAccess.getRelationalExpressionAccess().getOpLessThanSignKeyword_1_0_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getRelationalExpressionRule()); |
| } |
| setWithLastConsumed(current, "op", lv_op_1_1, null); |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2497:8: lv_op_1_2= '>' |
| { |
| lv_op_1_2 = (Token) match(input, 31, FOLLOW_31_in_ruleRelationalExpression5291); |
| |
| newLeafNode(lv_op_1_2, grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignKeyword_1_0_0_1()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getRelationalExpressionRule()); |
| } |
| setWithLastConsumed(current, "op", lv_op_1_2, null); |
| |
| |
| } |
| break; |
| case 3: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2509:8: lv_op_1_3= '<=' |
| { |
| lv_op_1_3 = (Token) match(input, 43, FOLLOW_43_in_ruleRelationalExpression5320); |
| |
| newLeafNode(lv_op_1_3, grammarAccess.getRelationalExpressionAccess().getOpLessThanSignEqualsSignKeyword_1_0_0_2()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getRelationalExpressionRule()); |
| } |
| setWithLastConsumed(current, "op", lv_op_1_3, null); |
| |
| |
| } |
| break; |
| case 4: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2521:8: lv_op_1_4= '>=' |
| { |
| lv_op_1_4 = (Token) match(input, 44, FOLLOW_44_in_ruleRelationalExpression5349); |
| |
| newLeafNode(lv_op_1_4, grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignEqualsSignKeyword_1_0_0_3()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getRelationalExpressionRule()); |
| } |
| setWithLastConsumed(current, "op", lv_op_1_4, null); |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2536:2: ( (lv_right_2_0= ruleShiftExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2537:1: (lv_right_2_0= ruleShiftExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2537:1: (lv_right_2_0= ruleShiftExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2538:3: lv_right_2_0= ruleShiftExpression |
| { |
| |
| newCompositeNode(grammarAccess.getRelationalExpressionAccess().getRightShiftExpressionParserRuleCall_1_1_0()); |
| |
| pushFollow(FOLLOW_ruleShiftExpression_in_ruleRelationalExpression5386); |
| lv_right_2_0 = ruleShiftExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getRelationalExpressionRule()); |
| } |
| set( |
| current, |
| "right", |
| lv_right_2_0, |
| "ShiftExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleRelationalExpression" |
| |
| |
| // $ANTLR start "entryRuleShiftExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2562:1: entryRuleShiftExpression returns [EObject current=null] : iv_ruleShiftExpression= ruleShiftExpression EOF |
| // ; |
| public final EObject entryRuleShiftExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleShiftExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2563:2: (iv_ruleShiftExpression= ruleShiftExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2564:2: iv_ruleShiftExpression= ruleShiftExpression EOF |
| { |
| newCompositeNode(grammarAccess.getShiftExpressionRule()); |
| pushFollow(FOLLOW_ruleShiftExpression_in_entryRuleShiftExpression5424); |
| iv_ruleShiftExpression = ruleShiftExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleShiftExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleShiftExpression5434); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleShiftExpression" |
| |
| |
| // $ANTLR start "ruleShiftExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2571:1: ruleShiftExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( ( |
| // (lv_op_1_1= '<<' | lv_op_1_2= '>>' | lv_op_1_3= '>>>' ) ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) )? ) ; |
| public final EObject ruleShiftExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_op_1_1 = null; |
| Token lv_op_1_2 = null; |
| Token lv_op_1_3 = null; |
| EObject lv_exp_0_0 = null; |
| |
| EObject lv_exp_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2574:28: ( ( ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( ( (lv_op_1_1= '<<' | lv_op_1_2= '>>' | |
| // lv_op_1_3= '>>>' ) ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2575:1: ( ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( ( (lv_op_1_1= '<<' | lv_op_1_2= '>>' | lv_op_1_3= |
| // '>>>' ) ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2575:1: ( ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( ( (lv_op_1_1= '<<' | lv_op_1_2= '>>' | |
| // lv_op_1_3= '>>>' ) ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2575:2: ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( ( (lv_op_1_1= '<<' | lv_op_1_2= '>>' | |
| // lv_op_1_3= '>>>' ) ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) )? |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2575:2: ( (lv_exp_0_0= ruleAdditiveExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2576:1: (lv_exp_0_0= ruleAdditiveExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2576:1: (lv_exp_0_0= ruleAdditiveExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2577:3: lv_exp_0_0= ruleAdditiveExpression |
| { |
| |
| newCompositeNode(grammarAccess.getShiftExpressionAccess().getExpAdditiveExpressionParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleAdditiveExpression_in_ruleShiftExpression5480); |
| lv_exp_0_0 = ruleAdditiveExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getShiftExpressionRule()); |
| } |
| add( |
| current, |
| "exp", |
| lv_exp_0_0, |
| "AdditiveExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2593:2: ( ( ( (lv_op_1_1= '<<' | lv_op_1_2= '>>' | lv_op_1_3= '>>>' ) ) ) ( (lv_exp_2_0= |
| // ruleAdditiveExpression ) ) )? |
| int alt49 = 2; |
| int LA49_0 = input.LA(1); |
| |
| if (((LA49_0 >= 45 && LA49_0 <= 47))) { |
| alt49 = 1; |
| } |
| switch (alt49) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2593:3: ( ( (lv_op_1_1= '<<' | lv_op_1_2= '>>' | lv_op_1_3= '>>>' ) ) ) ( (lv_exp_2_0= |
| // ruleAdditiveExpression ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2593:3: ( ( (lv_op_1_1= '<<' | lv_op_1_2= '>>' | lv_op_1_3= '>>>' ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2594:1: ( (lv_op_1_1= '<<' | lv_op_1_2= '>>' | lv_op_1_3= '>>>' ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2594:1: ( (lv_op_1_1= '<<' | lv_op_1_2= '>>' | lv_op_1_3= '>>>' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2595:1: (lv_op_1_1= '<<' | lv_op_1_2= '>>' | lv_op_1_3= '>>>' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2595:1: (lv_op_1_1= '<<' | lv_op_1_2= '>>' | lv_op_1_3= '>>>' ) |
| int alt48 = 3; |
| switch (input.LA(1)) { |
| case 45: { |
| alt48 = 1; |
| } |
| break; |
| case 46: { |
| alt48 = 2; |
| } |
| break; |
| case 47: { |
| alt48 = 3; |
| } |
| break; |
| default: |
| NoViableAltException nvae = |
| new NoViableAltException("", 48, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt48) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2596:3: lv_op_1_1= '<<' |
| { |
| lv_op_1_1 = (Token) match(input, 45, FOLLOW_45_in_ruleShiftExpression5501); |
| |
| newLeafNode(lv_op_1_1, grammarAccess.getShiftExpressionAccess().getOpLessThanSignLessThanSignKeyword_1_0_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getShiftExpressionRule()); |
| } |
| setWithLastConsumed(current, "op", lv_op_1_1, null); |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2608:8: lv_op_1_2= '>>' |
| { |
| lv_op_1_2 = (Token) match(input, 46, FOLLOW_46_in_ruleShiftExpression5530); |
| |
| newLeafNode(lv_op_1_2, grammarAccess.getShiftExpressionAccess().getOpGreaterThanSignGreaterThanSignKeyword_1_0_0_1()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getShiftExpressionRule()); |
| } |
| setWithLastConsumed(current, "op", lv_op_1_2, null); |
| |
| |
| } |
| break; |
| case 3: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2620:8: lv_op_1_3= '>>>' |
| { |
| lv_op_1_3 = (Token) match(input, 47, FOLLOW_47_in_ruleShiftExpression5559); |
| |
| newLeafNode(lv_op_1_3, grammarAccess.getShiftExpressionAccess().getOpGreaterThanSignGreaterThanSignGreaterThanSignKeyword_1_0_0_2()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getShiftExpressionRule()); |
| } |
| setWithLastConsumed(current, "op", lv_op_1_3, null); |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2635:2: ( (lv_exp_2_0= ruleAdditiveExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2636:1: (lv_exp_2_0= ruleAdditiveExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2636:1: (lv_exp_2_0= ruleAdditiveExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2637:3: lv_exp_2_0= ruleAdditiveExpression |
| { |
| |
| newCompositeNode(grammarAccess.getShiftExpressionAccess().getExpAdditiveExpressionParserRuleCall_1_1_0()); |
| |
| pushFollow(FOLLOW_ruleAdditiveExpression_in_ruleShiftExpression5596); |
| lv_exp_2_0 = ruleAdditiveExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getShiftExpressionRule()); |
| } |
| add( |
| current, |
| "exp", |
| lv_exp_2_0, |
| "AdditiveExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleShiftExpression" |
| |
| |
| // $ANTLR start "entryRuleAdditiveExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2661:1: entryRuleAdditiveExpression returns [EObject current=null] : iv_ruleAdditiveExpression= |
| // ruleAdditiveExpression EOF ; |
| public final EObject entryRuleAdditiveExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleAdditiveExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2662:2: (iv_ruleAdditiveExpression= ruleAdditiveExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2663:2: iv_ruleAdditiveExpression= ruleAdditiveExpression EOF |
| { |
| newCompositeNode(grammarAccess.getAdditiveExpressionRule()); |
| pushFollow(FOLLOW_ruleAdditiveExpression_in_entryRuleAdditiveExpression5634); |
| iv_ruleAdditiveExpression = ruleAdditiveExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleAdditiveExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleAdditiveExpression5644); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleAdditiveExpression" |
| |
| |
| // $ANTLR start "ruleAdditiveExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2670:1: ruleAdditiveExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) |
| // ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) )* ) ; |
| public final EObject ruleAdditiveExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_op_1_1 = null; |
| Token lv_op_1_2 = null; |
| EObject lv_exp_0_0 = null; |
| |
| EObject lv_exp_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2673:28: ( ( ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) |
| // ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) )* ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2674:1: ( ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( |
| // (lv_exp_2_0= ruleMultiplicativeExpression ) ) )* ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2674:1: ( ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) |
| // ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) )* ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2674:2: ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( |
| // (lv_exp_2_0= ruleMultiplicativeExpression ) ) )* |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2674:2: ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2675:1: (lv_exp_0_0= ruleMultiplicativeExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2675:1: (lv_exp_0_0= ruleMultiplicativeExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2676:3: lv_exp_0_0= ruleMultiplicativeExpression |
| { |
| |
| newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getExpMultiplicativeExpressionParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleMultiplicativeExpression_in_ruleAdditiveExpression5690); |
| lv_exp_0_0 = ruleMultiplicativeExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getAdditiveExpressionRule()); |
| } |
| add( |
| current, |
| "exp", |
| lv_exp_0_0, |
| "MultiplicativeExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2692:2: ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression ) |
| // ) )* |
| loop51: do { |
| int alt51 = 2; |
| int LA51_0 = input.LA(1); |
| |
| if (((LA51_0 >= 48 && LA51_0 <= 49))) { |
| alt51 = 1; |
| } |
| |
| |
| switch (alt51) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2692:3: ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression |
| // ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2692:3: ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2693:1: ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2693:1: ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2694:1: (lv_op_1_1= '+' | lv_op_1_2= '-' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2694:1: (lv_op_1_1= '+' | lv_op_1_2= '-' ) |
| int alt50 = 2; |
| int LA50_0 = input.LA(1); |
| |
| if ((LA50_0 == 48)) { |
| alt50 = 1; |
| } |
| else if ((LA50_0 == 49)) { |
| alt50 = 2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 50, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt50) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2695:3: lv_op_1_1= '+' |
| { |
| lv_op_1_1 = (Token) match(input, 48, FOLLOW_48_in_ruleAdditiveExpression5711); |
| |
| newLeafNode(lv_op_1_1, grammarAccess.getAdditiveExpressionAccess().getOpPlusSignKeyword_1_0_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getAdditiveExpressionRule()); |
| } |
| addWithLastConsumed(current, "op", lv_op_1_1, null); |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2707:8: lv_op_1_2= '-' |
| { |
| lv_op_1_2 = (Token) match(input, 49, FOLLOW_49_in_ruleAdditiveExpression5740); |
| |
| newLeafNode(lv_op_1_2, grammarAccess.getAdditiveExpressionAccess().getOpHyphenMinusKeyword_1_0_0_1()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getAdditiveExpressionRule()); |
| } |
| addWithLastConsumed(current, "op", lv_op_1_2, null); |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2722:2: ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2723:1: (lv_exp_2_0= ruleMultiplicativeExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2723:1: (lv_exp_2_0= ruleMultiplicativeExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2724:3: lv_exp_2_0= ruleMultiplicativeExpression |
| { |
| |
| newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getExpMultiplicativeExpressionParserRuleCall_1_1_0()); |
| |
| pushFollow(FOLLOW_ruleMultiplicativeExpression_in_ruleAdditiveExpression5777); |
| lv_exp_2_0 = ruleMultiplicativeExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getAdditiveExpressionRule()); |
| } |
| add( |
| current, |
| "exp", |
| lv_exp_2_0, |
| "MultiplicativeExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default: |
| break loop51; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleAdditiveExpression" |
| |
| |
| // $ANTLR start "entryRuleMultiplicativeExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2748:1: entryRuleMultiplicativeExpression returns [EObject current=null] : iv_ruleMultiplicativeExpression= |
| // ruleMultiplicativeExpression EOF ; |
| public final EObject entryRuleMultiplicativeExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleMultiplicativeExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2749:2: (iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2750:2: iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF |
| { |
| newCompositeNode(grammarAccess.getMultiplicativeExpressionRule()); |
| pushFollow(FOLLOW_ruleMultiplicativeExpression_in_entryRuleMultiplicativeExpression5815); |
| iv_ruleMultiplicativeExpression = ruleMultiplicativeExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleMultiplicativeExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleMultiplicativeExpression5825); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleMultiplicativeExpression" |
| |
| |
| // $ANTLR start "ruleMultiplicativeExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2757:1: ruleMultiplicativeExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleUnaryExpression ) ) ( ( |
| // ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= '%' ) ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) )* ) ; |
| public final EObject ruleMultiplicativeExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_op_1_1 = null; |
| Token lv_op_1_2 = null; |
| Token lv_op_1_3 = null; |
| EObject lv_exp_0_0 = null; |
| |
| EObject lv_exp_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2760:28: ( ( ( (lv_exp_0_0= ruleUnaryExpression ) ) ( ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= |
| // '%' ) ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) )* ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2761:1: ( ( (lv_exp_0_0= ruleUnaryExpression ) ) ( ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= '%' ) |
| // ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) )* ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2761:1: ( ( (lv_exp_0_0= ruleUnaryExpression ) ) ( ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= |
| // '%' ) ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) )* ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2761:2: ( (lv_exp_0_0= ruleUnaryExpression ) ) ( ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= '%' |
| // ) ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) )* |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2761:2: ( (lv_exp_0_0= ruleUnaryExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2762:1: (lv_exp_0_0= ruleUnaryExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2762:1: (lv_exp_0_0= ruleUnaryExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2763:3: lv_exp_0_0= ruleUnaryExpression |
| { |
| |
| newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExpUnaryExpressionParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleUnaryExpression_in_ruleMultiplicativeExpression5871); |
| lv_exp_0_0 = ruleUnaryExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getMultiplicativeExpressionRule()); |
| } |
| add( |
| current, |
| "exp", |
| lv_exp_0_0, |
| "UnaryExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2779:2: ( ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= '%' ) ) ) ( (lv_exp_2_0= |
| // ruleUnaryExpression ) ) )* |
| loop53: do { |
| int alt53 = 2; |
| int LA53_0 = input.LA(1); |
| |
| if ((LA53_0 == 24 || (LA53_0 >= 50 && LA53_0 <= 51))) { |
| alt53 = 1; |
| } |
| |
| |
| switch (alt53) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2779:3: ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= '%' ) ) ) ( (lv_exp_2_0= |
| // ruleUnaryExpression ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2779:3: ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= '%' ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2780:1: ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= '%' ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2780:1: ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= '%' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2781:1: (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= '%' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2781:1: (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= '%' ) |
| int alt52 = 3; |
| switch (input.LA(1)) { |
| case 24: { |
| alt52 = 1; |
| } |
| break; |
| case 50: { |
| alt52 = 2; |
| } |
| break; |
| case 51: { |
| alt52 = 3; |
| } |
| break; |
| default: |
| NoViableAltException nvae = |
| new NoViableAltException("", 52, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt52) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2782:3: lv_op_1_1= '*' |
| { |
| lv_op_1_1 = (Token) match(input, 24, FOLLOW_24_in_ruleMultiplicativeExpression5892); |
| |
| newLeafNode(lv_op_1_1, grammarAccess.getMultiplicativeExpressionAccess().getOpAsteriskKeyword_1_0_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getMultiplicativeExpressionRule()); |
| } |
| addWithLastConsumed(current, "op", lv_op_1_1, null); |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2794:8: lv_op_1_2= '/' |
| { |
| lv_op_1_2 = (Token) match(input, 50, FOLLOW_50_in_ruleMultiplicativeExpression5921); |
| |
| newLeafNode(lv_op_1_2, grammarAccess.getMultiplicativeExpressionAccess().getOpSolidusKeyword_1_0_0_1()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getMultiplicativeExpressionRule()); |
| } |
| addWithLastConsumed(current, "op", lv_op_1_2, null); |
| |
| |
| } |
| break; |
| case 3: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2806:8: lv_op_1_3= '%' |
| { |
| lv_op_1_3 = (Token) match(input, 51, FOLLOW_51_in_ruleMultiplicativeExpression5950); |
| |
| newLeafNode(lv_op_1_3, grammarAccess.getMultiplicativeExpressionAccess().getOpPercentSignKeyword_1_0_0_2()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getMultiplicativeExpressionRule()); |
| } |
| addWithLastConsumed(current, "op", lv_op_1_3, null); |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2821:2: ( (lv_exp_2_0= ruleUnaryExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2822:1: (lv_exp_2_0= ruleUnaryExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2822:1: (lv_exp_2_0= ruleUnaryExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2823:3: lv_exp_2_0= ruleUnaryExpression |
| { |
| |
| newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExpUnaryExpressionParserRuleCall_1_1_0()); |
| |
| pushFollow(FOLLOW_ruleUnaryExpression_in_ruleMultiplicativeExpression5987); |
| lv_exp_2_0 = ruleUnaryExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getMultiplicativeExpressionRule()); |
| } |
| add( |
| current, |
| "exp", |
| lv_exp_2_0, |
| "UnaryExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default: |
| break loop53; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleMultiplicativeExpression" |
| |
| |
| // $ANTLR start "entryRuleUnaryExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2847:1: entryRuleUnaryExpression returns [EObject current=null] : iv_ruleUnaryExpression= ruleUnaryExpression EOF |
| // ; |
| public final EObject entryRuleUnaryExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleUnaryExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2848:2: (iv_ruleUnaryExpression= ruleUnaryExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2849:2: iv_ruleUnaryExpression= ruleUnaryExpression EOF |
| { |
| newCompositeNode(grammarAccess.getUnaryExpressionRule()); |
| pushFollow(FOLLOW_ruleUnaryExpression_in_entryRuleUnaryExpression6025); |
| iv_ruleUnaryExpression = ruleUnaryExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleUnaryExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleUnaryExpression6035); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleUnaryExpression" |
| |
| |
| // $ANTLR start "ruleUnaryExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2856:1: ruleUnaryExpression returns [EObject current=null] : ( ( ( (lv_op_0_1= '!' | lv_op_0_2= '-' | lv_op_0_3= |
| // '+' | lv_op_0_4= '$' | lv_op_0_5= '~' ) ) )? ( (lv_exp_1_0= rulePrimaryExpression ) ) ) ; |
| public final EObject ruleUnaryExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_op_0_1 = null; |
| Token lv_op_0_2 = null; |
| Token lv_op_0_3 = null; |
| Token lv_op_0_4 = null; |
| Token lv_op_0_5 = null; |
| EObject lv_exp_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2859:28: ( ( ( ( (lv_op_0_1= '!' | lv_op_0_2= '-' | lv_op_0_3= '+' | lv_op_0_4= '$' | lv_op_0_5= '~' ) ) |
| // )? ( (lv_exp_1_0= rulePrimaryExpression ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2860:1: ( ( ( (lv_op_0_1= '!' | lv_op_0_2= '-' | lv_op_0_3= '+' | lv_op_0_4= '$' | lv_op_0_5= '~' ) ) )? ( |
| // (lv_exp_1_0= rulePrimaryExpression ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2860:1: ( ( ( (lv_op_0_1= '!' | lv_op_0_2= '-' | lv_op_0_3= '+' | lv_op_0_4= '$' | lv_op_0_5= '~' ) ) |
| // )? ( (lv_exp_1_0= rulePrimaryExpression ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2860:2: ( ( (lv_op_0_1= '!' | lv_op_0_2= '-' | lv_op_0_3= '+' | lv_op_0_4= '$' | lv_op_0_5= '~' ) ) )? |
| // ( (lv_exp_1_0= rulePrimaryExpression ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2860:2: ( ( (lv_op_0_1= '!' | lv_op_0_2= '-' | lv_op_0_3= '+' | lv_op_0_4= '$' | lv_op_0_5= '~' ) |
| // ) )? |
| int alt55 = 2; |
| int LA55_0 = input.LA(1); |
| |
| if (((LA55_0 >= 48 && LA55_0 <= 49) || (LA55_0 >= 52 && LA55_0 <= 54))) { |
| alt55 = 1; |
| } |
| switch (alt55) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2861:1: ( (lv_op_0_1= '!' | lv_op_0_2= '-' | lv_op_0_3= '+' | lv_op_0_4= '$' | lv_op_0_5= '~' ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2861:1: ( (lv_op_0_1= '!' | lv_op_0_2= '-' | lv_op_0_3= '+' | lv_op_0_4= '$' | lv_op_0_5= '~' |
| // ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2862:1: (lv_op_0_1= '!' | lv_op_0_2= '-' | lv_op_0_3= '+' | lv_op_0_4= '$' | lv_op_0_5= '~' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2862:1: (lv_op_0_1= '!' | lv_op_0_2= '-' | lv_op_0_3= '+' | lv_op_0_4= '$' | lv_op_0_5= |
| // '~' ) |
| int alt54 = 5; |
| switch (input.LA(1)) { |
| case 52: { |
| alt54 = 1; |
| } |
| break; |
| case 49: { |
| alt54 = 2; |
| } |
| break; |
| case 48: { |
| alt54 = 3; |
| } |
| break; |
| case 53: { |
| alt54 = 4; |
| } |
| break; |
| case 54: { |
| alt54 = 5; |
| } |
| break; |
| default: |
| NoViableAltException nvae = |
| new NoViableAltException("", 54, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt54) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2863:3: lv_op_0_1= '!' |
| { |
| lv_op_0_1 = (Token) match(input, 52, FOLLOW_52_in_ruleUnaryExpression6080); |
| |
| newLeafNode(lv_op_0_1, grammarAccess.getUnaryExpressionAccess().getOpExclamationMarkKeyword_0_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getUnaryExpressionRule()); |
| } |
| setWithLastConsumed(current, "op", lv_op_0_1, null); |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2875:8: lv_op_0_2= '-' |
| { |
| lv_op_0_2 = (Token) match(input, 49, FOLLOW_49_in_ruleUnaryExpression6109); |
| |
| newLeafNode(lv_op_0_2, grammarAccess.getUnaryExpressionAccess().getOpHyphenMinusKeyword_0_0_1()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getUnaryExpressionRule()); |
| } |
| setWithLastConsumed(current, "op", lv_op_0_2, null); |
| |
| |
| } |
| break; |
| case 3: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2887:8: lv_op_0_3= '+' |
| { |
| lv_op_0_3 = (Token) match(input, 48, FOLLOW_48_in_ruleUnaryExpression6138); |
| |
| newLeafNode(lv_op_0_3, grammarAccess.getUnaryExpressionAccess().getOpPlusSignKeyword_0_0_2()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getUnaryExpressionRule()); |
| } |
| setWithLastConsumed(current, "op", lv_op_0_3, null); |
| |
| |
| } |
| break; |
| case 4: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2899:8: lv_op_0_4= '$' |
| { |
| lv_op_0_4 = (Token) match(input, 53, FOLLOW_53_in_ruleUnaryExpression6167); |
| |
| newLeafNode(lv_op_0_4, grammarAccess.getUnaryExpressionAccess().getOpDollarSignKeyword_0_0_3()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getUnaryExpressionRule()); |
| } |
| setWithLastConsumed(current, "op", lv_op_0_4, null); |
| |
| |
| } |
| break; |
| case 5: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2911:8: lv_op_0_5= '~' |
| { |
| lv_op_0_5 = (Token) match(input, 54, FOLLOW_54_in_ruleUnaryExpression6196); |
| |
| newLeafNode(lv_op_0_5, grammarAccess.getUnaryExpressionAccess().getOpTildeKeyword_0_0_4()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getUnaryExpressionRule()); |
| } |
| setWithLastConsumed(current, "op", lv_op_0_5, null); |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2926:3: ( (lv_exp_1_0= rulePrimaryExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2927:1: (lv_exp_1_0= rulePrimaryExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2927:1: (lv_exp_1_0= rulePrimaryExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2928:3: lv_exp_1_0= rulePrimaryExpression |
| { |
| |
| newCompositeNode(grammarAccess.getUnaryExpressionAccess().getExpPrimaryExpressionParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_rulePrimaryExpression_in_ruleUnaryExpression6234); |
| lv_exp_1_0 = rulePrimaryExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getUnaryExpressionRule()); |
| } |
| set( |
| current, |
| "exp", |
| lv_exp_1_0, |
| "PrimaryExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleUnaryExpression" |
| |
| |
| // $ANTLR start "entryRulePrimaryExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2952:1: entryRulePrimaryExpression returns [EObject current=null] : iv_rulePrimaryExpression= |
| // rulePrimaryExpression EOF ; |
| public final EObject entryRulePrimaryExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_rulePrimaryExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2953:2: (iv_rulePrimaryExpression= rulePrimaryExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2954:2: iv_rulePrimaryExpression= rulePrimaryExpression EOF |
| { |
| newCompositeNode(grammarAccess.getPrimaryExpressionRule()); |
| pushFollow(FOLLOW_rulePrimaryExpression_in_entryRulePrimaryExpression6270); |
| iv_rulePrimaryExpression = rulePrimaryExpression(); |
| |
| state._fsp--; |
| |
| current = iv_rulePrimaryExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRulePrimaryExpression6280); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRulePrimaryExpression" |
| |
| |
| // $ANTLR start "rulePrimaryExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2961:1: rulePrimaryExpression returns [EObject current=null] : ( (lv_prefix_0_0= ruleValueSpecification ) ) ; |
| public final EObject rulePrimaryExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject lv_prefix_0_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2964:28: ( ( (lv_prefix_0_0= ruleValueSpecification ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2965:1: ( (lv_prefix_0_0= ruleValueSpecification ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2965:1: ( (lv_prefix_0_0= ruleValueSpecification ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2966:1: (lv_prefix_0_0= ruleValueSpecification ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2966:1: (lv_prefix_0_0= ruleValueSpecification ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2967:3: lv_prefix_0_0= ruleValueSpecification |
| { |
| |
| newCompositeNode(grammarAccess.getPrimaryExpressionAccess().getPrefixValueSpecificationParserRuleCall_0()); |
| |
| pushFollow(FOLLOW_ruleValueSpecification_in_rulePrimaryExpression6325); |
| lv_prefix_0_0 = ruleValueSpecification(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getPrimaryExpressionRule()); |
| } |
| set( |
| current, |
| "prefix", |
| lv_prefix_0_0, |
| "ValueSpecification"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "rulePrimaryExpression" |
| |
| |
| // $ANTLR start "entryRuleSuffixExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2991:1: entryRuleSuffixExpression returns [EObject current=null] : iv_ruleSuffixExpression= ruleSuffixExpression |
| // EOF ; |
| public final EObject entryRuleSuffixExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleSuffixExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2992:2: (iv_ruleSuffixExpression= ruleSuffixExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2993:2: iv_ruleSuffixExpression= ruleSuffixExpression EOF |
| { |
| newCompositeNode(grammarAccess.getSuffixExpressionRule()); |
| pushFollow(FOLLOW_ruleSuffixExpression_in_entryRuleSuffixExpression6360); |
| iv_ruleSuffixExpression = ruleSuffixExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleSuffixExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleSuffixExpression6370); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleSuffixExpression" |
| |
| |
| // $ANTLR start "ruleSuffixExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3000:1: ruleSuffixExpression returns [EObject current=null] : (this_OperationCallExpression_0= |
| // ruleOperationCallExpression | this_PropertyCallExpression_1= rulePropertyCallExpression | this_LinkOperationExpression_2= ruleLinkOperationExpression | this_SequenceOperationExpression_3= ruleSequenceOperationExpression | |
| // this_SequenceReductionExpression_4= ruleSequenceReductionExpression | this_SequenceExpansionExpression_5= ruleSequenceExpansionExpression | this_ClassExtentExpression_6= ruleClassExtentExpression ) ; |
| public final EObject ruleSuffixExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_OperationCallExpression_0 = null; |
| |
| EObject this_PropertyCallExpression_1 = null; |
| |
| EObject this_LinkOperationExpression_2 = null; |
| |
| EObject this_SequenceOperationExpression_3 = null; |
| |
| EObject this_SequenceReductionExpression_4 = null; |
| |
| EObject this_SequenceExpansionExpression_5 = null; |
| |
| EObject this_ClassExtentExpression_6 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3003:28: ( (this_OperationCallExpression_0= ruleOperationCallExpression | this_PropertyCallExpression_1= |
| // rulePropertyCallExpression | this_LinkOperationExpression_2= ruleLinkOperationExpression | this_SequenceOperationExpression_3= ruleSequenceOperationExpression | this_SequenceReductionExpression_4= ruleSequenceReductionExpression | |
| // this_SequenceExpansionExpression_5= ruleSequenceExpansionExpression | this_ClassExtentExpression_6= ruleClassExtentExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3004:1: (this_OperationCallExpression_0= ruleOperationCallExpression | this_PropertyCallExpression_1= |
| // rulePropertyCallExpression | this_LinkOperationExpression_2= ruleLinkOperationExpression | this_SequenceOperationExpression_3= ruleSequenceOperationExpression | this_SequenceReductionExpression_4= ruleSequenceReductionExpression | |
| // this_SequenceExpansionExpression_5= ruleSequenceExpansionExpression | this_ClassExtentExpression_6= ruleClassExtentExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3004:1: (this_OperationCallExpression_0= ruleOperationCallExpression | this_PropertyCallExpression_1= |
| // rulePropertyCallExpression | this_LinkOperationExpression_2= ruleLinkOperationExpression | this_SequenceOperationExpression_3= ruleSequenceOperationExpression | this_SequenceReductionExpression_4= ruleSequenceReductionExpression | |
| // this_SequenceExpansionExpression_5= ruleSequenceExpansionExpression | this_ClassExtentExpression_6= ruleClassExtentExpression ) |
| int alt56 = 7; |
| alt56 = dfa56.predict(input); |
| switch (alt56) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3005:5: this_OperationCallExpression_0= ruleOperationCallExpression |
| { |
| |
| newCompositeNode(grammarAccess.getSuffixExpressionAccess().getOperationCallExpressionParserRuleCall_0()); |
| |
| pushFollow(FOLLOW_ruleOperationCallExpression_in_ruleSuffixExpression6417); |
| this_OperationCallExpression_0 = ruleOperationCallExpression(); |
| |
| state._fsp--; |
| |
| |
| current = this_OperationCallExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3015:5: this_PropertyCallExpression_1= rulePropertyCallExpression |
| { |
| |
| newCompositeNode(grammarAccess.getSuffixExpressionAccess().getPropertyCallExpressionParserRuleCall_1()); |
| |
| pushFollow(FOLLOW_rulePropertyCallExpression_in_ruleSuffixExpression6444); |
| this_PropertyCallExpression_1 = rulePropertyCallExpression(); |
| |
| state._fsp--; |
| |
| |
| current = this_PropertyCallExpression_1; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 3: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3025:5: this_LinkOperationExpression_2= ruleLinkOperationExpression |
| { |
| |
| newCompositeNode(grammarAccess.getSuffixExpressionAccess().getLinkOperationExpressionParserRuleCall_2()); |
| |
| pushFollow(FOLLOW_ruleLinkOperationExpression_in_ruleSuffixExpression6471); |
| this_LinkOperationExpression_2 = ruleLinkOperationExpression(); |
| |
| state._fsp--; |
| |
| |
| current = this_LinkOperationExpression_2; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 4: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3035:5: this_SequenceOperationExpression_3= ruleSequenceOperationExpression |
| { |
| |
| newCompositeNode(grammarAccess.getSuffixExpressionAccess().getSequenceOperationExpressionParserRuleCall_3()); |
| |
| pushFollow(FOLLOW_ruleSequenceOperationExpression_in_ruleSuffixExpression6498); |
| this_SequenceOperationExpression_3 = ruleSequenceOperationExpression(); |
| |
| state._fsp--; |
| |
| |
| current = this_SequenceOperationExpression_3; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 5: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3045:5: this_SequenceReductionExpression_4= ruleSequenceReductionExpression |
| { |
| |
| newCompositeNode(grammarAccess.getSuffixExpressionAccess().getSequenceReductionExpressionParserRuleCall_4()); |
| |
| pushFollow(FOLLOW_ruleSequenceReductionExpression_in_ruleSuffixExpression6525); |
| this_SequenceReductionExpression_4 = ruleSequenceReductionExpression(); |
| |
| state._fsp--; |
| |
| |
| current = this_SequenceReductionExpression_4; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 6: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3055:5: this_SequenceExpansionExpression_5= ruleSequenceExpansionExpression |
| { |
| |
| newCompositeNode(grammarAccess.getSuffixExpressionAccess().getSequenceExpansionExpressionParserRuleCall_5()); |
| |
| pushFollow(FOLLOW_ruleSequenceExpansionExpression_in_ruleSuffixExpression6552); |
| this_SequenceExpansionExpression_5 = ruleSequenceExpansionExpression(); |
| |
| state._fsp--; |
| |
| |
| current = this_SequenceExpansionExpression_5; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 7: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3065:5: this_ClassExtentExpression_6= ruleClassExtentExpression |
| { |
| |
| newCompositeNode(grammarAccess.getSuffixExpressionAccess().getClassExtentExpressionParserRuleCall_6()); |
| |
| pushFollow(FOLLOW_ruleClassExtentExpression_in_ruleSuffixExpression6579); |
| this_ClassExtentExpression_6 = ruleClassExtentExpression(); |
| |
| state._fsp--; |
| |
| |
| current = this_ClassExtentExpression_6; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleSuffixExpression" |
| |
| |
| // $ANTLR start "entryRuleOperationCallExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3081:1: entryRuleOperationCallExpression returns [EObject current=null] : iv_ruleOperationCallExpression= |
| // ruleOperationCallExpression EOF ; |
| public final EObject entryRuleOperationCallExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleOperationCallExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3082:2: (iv_ruleOperationCallExpression= ruleOperationCallExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3083:2: iv_ruleOperationCallExpression= ruleOperationCallExpression EOF |
| { |
| newCompositeNode(grammarAccess.getOperationCallExpressionRule()); |
| pushFollow(FOLLOW_ruleOperationCallExpression_in_entryRuleOperationCallExpression6614); |
| iv_ruleOperationCallExpression = ruleOperationCallExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleOperationCallExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleOperationCallExpression6624); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleOperationCallExpression" |
| |
| |
| // $ANTLR start "ruleOperationCallExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3090:1: ruleOperationCallExpression returns [EObject current=null] : (otherlv_0= '.' ( (lv_operationName_1_0= |
| // RULE_ID ) ) ( (lv_tuple_2_0= ruleTuple ) ) ( (lv_suffix_3_0= ruleSuffixExpression ) )? ) ; |
| public final EObject ruleOperationCallExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token lv_operationName_1_0 = null; |
| EObject lv_tuple_2_0 = null; |
| |
| EObject lv_suffix_3_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3093:28: ( (otherlv_0= '.' ( (lv_operationName_1_0= RULE_ID ) ) ( (lv_tuple_2_0= ruleTuple ) ) ( |
| // (lv_suffix_3_0= ruleSuffixExpression ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3094:1: (otherlv_0= '.' ( (lv_operationName_1_0= RULE_ID ) ) ( (lv_tuple_2_0= ruleTuple ) ) ( |
| // (lv_suffix_3_0= ruleSuffixExpression ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3094:1: (otherlv_0= '.' ( (lv_operationName_1_0= RULE_ID ) ) ( (lv_tuple_2_0= ruleTuple ) ) ( |
| // (lv_suffix_3_0= ruleSuffixExpression ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3094:3: otherlv_0= '.' ( (lv_operationName_1_0= RULE_ID ) ) ( (lv_tuple_2_0= ruleTuple ) ) ( |
| // (lv_suffix_3_0= ruleSuffixExpression ) )? |
| { |
| otherlv_0 = (Token) match(input, 55, FOLLOW_55_in_ruleOperationCallExpression6661); |
| |
| newLeafNode(otherlv_0, grammarAccess.getOperationCallExpressionAccess().getFullStopKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3098:1: ( (lv_operationName_1_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3099:1: (lv_operationName_1_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3099:1: (lv_operationName_1_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3100:3: lv_operationName_1_0= RULE_ID |
| { |
| lv_operationName_1_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleOperationCallExpression6678); |
| |
| newLeafNode(lv_operationName_1_0, grammarAccess.getOperationCallExpressionAccess().getOperationNameIDTerminalRuleCall_1_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getOperationCallExpressionRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "operationName", |
| lv_operationName_1_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3116:2: ( (lv_tuple_2_0= ruleTuple ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3117:1: (lv_tuple_2_0= ruleTuple ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3117:1: (lv_tuple_2_0= ruleTuple ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3118:3: lv_tuple_2_0= ruleTuple |
| { |
| |
| newCompositeNode(grammarAccess.getOperationCallExpressionAccess().getTupleTupleParserRuleCall_2_0()); |
| |
| pushFollow(FOLLOW_ruleTuple_in_ruleOperationCallExpression6704); |
| lv_tuple_2_0 = ruleTuple(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getOperationCallExpressionRule()); |
| } |
| set( |
| current, |
| "tuple", |
| lv_tuple_2_0, |
| "Tuple"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3134:2: ( (lv_suffix_3_0= ruleSuffixExpression ) )? |
| int alt57 = 2; |
| int LA57_0 = input.LA(1); |
| |
| if (((LA57_0 >= 55 && LA57_0 <= 56))) { |
| alt57 = 1; |
| } |
| switch (alt57) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3135:1: (lv_suffix_3_0= ruleSuffixExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3135:1: (lv_suffix_3_0= ruleSuffixExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3136:3: lv_suffix_3_0= ruleSuffixExpression |
| { |
| |
| newCompositeNode(grammarAccess.getOperationCallExpressionAccess().getSuffixSuffixExpressionParserRuleCall_3_0()); |
| |
| pushFollow(FOLLOW_ruleSuffixExpression_in_ruleOperationCallExpression6725); |
| lv_suffix_3_0 = ruleSuffixExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getOperationCallExpressionRule()); |
| } |
| set( |
| current, |
| "suffix", |
| lv_suffix_3_0, |
| "SuffixExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleOperationCallExpression" |
| |
| |
| // $ANTLR start "entryRuleOperationCallExpressionWithoutDot" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3160:1: entryRuleOperationCallExpressionWithoutDot returns [EObject current=null] : |
| // iv_ruleOperationCallExpressionWithoutDot= ruleOperationCallExpressionWithoutDot EOF ; |
| public final EObject entryRuleOperationCallExpressionWithoutDot() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleOperationCallExpressionWithoutDot = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3161:2: (iv_ruleOperationCallExpressionWithoutDot= ruleOperationCallExpressionWithoutDot EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3162:2: iv_ruleOperationCallExpressionWithoutDot= ruleOperationCallExpressionWithoutDot EOF |
| { |
| newCompositeNode(grammarAccess.getOperationCallExpressionWithoutDotRule()); |
| pushFollow(FOLLOW_ruleOperationCallExpressionWithoutDot_in_entryRuleOperationCallExpressionWithoutDot6762); |
| iv_ruleOperationCallExpressionWithoutDot = ruleOperationCallExpressionWithoutDot(); |
| |
| state._fsp--; |
| |
| current = iv_ruleOperationCallExpressionWithoutDot; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleOperationCallExpressionWithoutDot6772); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleOperationCallExpressionWithoutDot" |
| |
| |
| // $ANTLR start "ruleOperationCallExpressionWithoutDot" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3169:1: ruleOperationCallExpressionWithoutDot returns [EObject current=null] : ( ( (lv_operationName_0_0= RULE_ID |
| // ) ) ( (lv_tuple_1_0= ruleTuple ) ) ( (lv_suffix_2_0= ruleSuffixExpression ) )? ) ; |
| public final EObject ruleOperationCallExpressionWithoutDot() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_operationName_0_0 = null; |
| EObject lv_tuple_1_0 = null; |
| |
| EObject lv_suffix_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3172:28: ( ( ( (lv_operationName_0_0= RULE_ID ) ) ( (lv_tuple_1_0= ruleTuple ) ) ( (lv_suffix_2_0= |
| // ruleSuffixExpression ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3173:1: ( ( (lv_operationName_0_0= RULE_ID ) ) ( (lv_tuple_1_0= ruleTuple ) ) ( (lv_suffix_2_0= |
| // ruleSuffixExpression ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3173:1: ( ( (lv_operationName_0_0= RULE_ID ) ) ( (lv_tuple_1_0= ruleTuple ) ) ( (lv_suffix_2_0= |
| // ruleSuffixExpression ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3173:2: ( (lv_operationName_0_0= RULE_ID ) ) ( (lv_tuple_1_0= ruleTuple ) ) ( (lv_suffix_2_0= |
| // ruleSuffixExpression ) )? |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3173:2: ( (lv_operationName_0_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3174:1: (lv_operationName_0_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3174:1: (lv_operationName_0_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3175:3: lv_operationName_0_0= RULE_ID |
| { |
| lv_operationName_0_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleOperationCallExpressionWithoutDot6814); |
| |
| newLeafNode(lv_operationName_0_0, grammarAccess.getOperationCallExpressionWithoutDotAccess().getOperationNameIDTerminalRuleCall_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getOperationCallExpressionWithoutDotRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "operationName", |
| lv_operationName_0_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3191:2: ( (lv_tuple_1_0= ruleTuple ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3192:1: (lv_tuple_1_0= ruleTuple ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3192:1: (lv_tuple_1_0= ruleTuple ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3193:3: lv_tuple_1_0= ruleTuple |
| { |
| |
| newCompositeNode(grammarAccess.getOperationCallExpressionWithoutDotAccess().getTupleTupleParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleTuple_in_ruleOperationCallExpressionWithoutDot6840); |
| lv_tuple_1_0 = ruleTuple(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getOperationCallExpressionWithoutDotRule()); |
| } |
| set( |
| current, |
| "tuple", |
| lv_tuple_1_0, |
| "Tuple"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3209:2: ( (lv_suffix_2_0= ruleSuffixExpression ) )? |
| int alt58 = 2; |
| int LA58_0 = input.LA(1); |
| |
| if (((LA58_0 >= 55 && LA58_0 <= 56))) { |
| alt58 = 1; |
| } |
| switch (alt58) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3210:1: (lv_suffix_2_0= ruleSuffixExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3210:1: (lv_suffix_2_0= ruleSuffixExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3211:3: lv_suffix_2_0= ruleSuffixExpression |
| { |
| |
| newCompositeNode(grammarAccess.getOperationCallExpressionWithoutDotAccess().getSuffixSuffixExpressionParserRuleCall_2_0()); |
| |
| pushFollow(FOLLOW_ruleSuffixExpression_in_ruleOperationCallExpressionWithoutDot6861); |
| lv_suffix_2_0 = ruleSuffixExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getOperationCallExpressionWithoutDotRule()); |
| } |
| set( |
| current, |
| "suffix", |
| lv_suffix_2_0, |
| "SuffixExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleOperationCallExpressionWithoutDot" |
| |
| |
| // $ANTLR start "entryRulePropertyCallExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3235:1: entryRulePropertyCallExpression returns [EObject current=null] : iv_rulePropertyCallExpression= |
| // rulePropertyCallExpression EOF ; |
| public final EObject entryRulePropertyCallExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_rulePropertyCallExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3236:2: (iv_rulePropertyCallExpression= rulePropertyCallExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3237:2: iv_rulePropertyCallExpression= rulePropertyCallExpression EOF |
| { |
| newCompositeNode(grammarAccess.getPropertyCallExpressionRule()); |
| pushFollow(FOLLOW_rulePropertyCallExpression_in_entryRulePropertyCallExpression6898); |
| iv_rulePropertyCallExpression = rulePropertyCallExpression(); |
| |
| state._fsp--; |
| |
| current = iv_rulePropertyCallExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRulePropertyCallExpression6908); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRulePropertyCallExpression" |
| |
| |
| // $ANTLR start "rulePropertyCallExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3244:1: rulePropertyCallExpression returns [EObject current=null] : (otherlv_0= '.' ( (lv_propertyName_1_0= |
| // RULE_ID ) ) (otherlv_2= '[' ( (lv_index_3_0= ruleExpression ) ) otherlv_4= ']' )? ( (lv_suffix_5_0= ruleSuffixExpression ) )? ) ; |
| public final EObject rulePropertyCallExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token lv_propertyName_1_0 = null; |
| Token otherlv_2 = null; |
| Token otherlv_4 = null; |
| EObject lv_index_3_0 = null; |
| |
| EObject lv_suffix_5_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3247:28: ( (otherlv_0= '.' ( (lv_propertyName_1_0= RULE_ID ) ) (otherlv_2= '[' ( (lv_index_3_0= |
| // ruleExpression ) ) otherlv_4= ']' )? ( (lv_suffix_5_0= ruleSuffixExpression ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3248:1: (otherlv_0= '.' ( (lv_propertyName_1_0= RULE_ID ) ) (otherlv_2= '[' ( (lv_index_3_0= |
| // ruleExpression ) ) otherlv_4= ']' )? ( (lv_suffix_5_0= ruleSuffixExpression ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3248:1: (otherlv_0= '.' ( (lv_propertyName_1_0= RULE_ID ) ) (otherlv_2= '[' ( (lv_index_3_0= |
| // ruleExpression ) ) otherlv_4= ']' )? ( (lv_suffix_5_0= ruleSuffixExpression ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3248:3: otherlv_0= '.' ( (lv_propertyName_1_0= RULE_ID ) ) (otherlv_2= '[' ( (lv_index_3_0= |
| // ruleExpression ) ) otherlv_4= ']' )? ( (lv_suffix_5_0= ruleSuffixExpression ) )? |
| { |
| otherlv_0 = (Token) match(input, 55, FOLLOW_55_in_rulePropertyCallExpression6945); |
| |
| newLeafNode(otherlv_0, grammarAccess.getPropertyCallExpressionAccess().getFullStopKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3252:1: ( (lv_propertyName_1_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3253:1: (lv_propertyName_1_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3253:1: (lv_propertyName_1_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3254:3: lv_propertyName_1_0= RULE_ID |
| { |
| lv_propertyName_1_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_rulePropertyCallExpression6962); |
| |
| newLeafNode(lv_propertyName_1_0, grammarAccess.getPropertyCallExpressionAccess().getPropertyNameIDTerminalRuleCall_1_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getPropertyCallExpressionRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "propertyName", |
| lv_propertyName_1_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3270:2: (otherlv_2= '[' ( (lv_index_3_0= ruleExpression ) ) otherlv_4= ']' )? |
| int alt59 = 2; |
| int LA59_0 = input.LA(1); |
| |
| if ((LA59_0 == 18)) { |
| int LA59_1 = input.LA(2); |
| |
| if (((LA59_1 >= RULE_ID && LA59_1 <= RULE_STRING) || LA59_1 == 15 || LA59_1 == 24 || (LA59_1 >= 27 && LA59_1 <= 28) || (LA59_1 >= 48 && LA59_1 <= 49) || (LA59_1 >= 52 && LA59_1 <= 54) || (LA59_1 >= 59 && LA59_1 <= 62) || (LA59_1 >= 93 && LA59_1 <= 94))) { |
| alt59 = 1; |
| } |
| } |
| switch (alt59) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3270:4: otherlv_2= '[' ( (lv_index_3_0= ruleExpression ) ) otherlv_4= ']' |
| { |
| otherlv_2 = (Token) match(input, 18, FOLLOW_18_in_rulePropertyCallExpression6980); |
| |
| newLeafNode(otherlv_2, grammarAccess.getPropertyCallExpressionAccess().getLeftSquareBracketKeyword_2_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3274:1: ( (lv_index_3_0= ruleExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3275:1: (lv_index_3_0= ruleExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3275:1: (lv_index_3_0= ruleExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3276:3: lv_index_3_0= ruleExpression |
| { |
| |
| newCompositeNode(grammarAccess.getPropertyCallExpressionAccess().getIndexExpressionParserRuleCall_2_1_0()); |
| |
| pushFollow(FOLLOW_ruleExpression_in_rulePropertyCallExpression7001); |
| lv_index_3_0 = ruleExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getPropertyCallExpressionRule()); |
| } |
| set( |
| current, |
| "index", |
| lv_index_3_0, |
| "Expression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_4 = (Token) match(input, 19, FOLLOW_19_in_rulePropertyCallExpression7013); |
| |
| newLeafNode(otherlv_4, grammarAccess.getPropertyCallExpressionAccess().getRightSquareBracketKeyword_2_2()); |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3296:3: ( (lv_suffix_5_0= ruleSuffixExpression ) )? |
| int alt60 = 2; |
| int LA60_0 = input.LA(1); |
| |
| if (((LA60_0 >= 55 && LA60_0 <= 56))) { |
| alt60 = 1; |
| } |
| switch (alt60) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3297:1: (lv_suffix_5_0= ruleSuffixExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3297:1: (lv_suffix_5_0= ruleSuffixExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3298:3: lv_suffix_5_0= ruleSuffixExpression |
| { |
| |
| newCompositeNode(grammarAccess.getPropertyCallExpressionAccess().getSuffixSuffixExpressionParserRuleCall_3_0()); |
| |
| pushFollow(FOLLOW_ruleSuffixExpression_in_rulePropertyCallExpression7036); |
| lv_suffix_5_0 = ruleSuffixExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getPropertyCallExpressionRule()); |
| } |
| set( |
| current, |
| "suffix", |
| lv_suffix_5_0, |
| "SuffixExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "rulePropertyCallExpression" |
| |
| |
| // $ANTLR start "entryRuleLinkOperationExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3322:1: entryRuleLinkOperationExpression returns [EObject current=null] : iv_ruleLinkOperationExpression= |
| // ruleLinkOperationExpression EOF ; |
| public final EObject entryRuleLinkOperationExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleLinkOperationExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3323:2: (iv_ruleLinkOperationExpression= ruleLinkOperationExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3324:2: iv_ruleLinkOperationExpression= ruleLinkOperationExpression EOF |
| { |
| newCompositeNode(grammarAccess.getLinkOperationExpressionRule()); |
| pushFollow(FOLLOW_ruleLinkOperationExpression_in_entryRuleLinkOperationExpression7073); |
| iv_ruleLinkOperationExpression = ruleLinkOperationExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleLinkOperationExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleLinkOperationExpression7083); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleLinkOperationExpression" |
| |
| |
| // $ANTLR start "ruleLinkOperationExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3331:1: ruleLinkOperationExpression returns [EObject current=null] : (otherlv_0= '.' ( (lv_kind_1_0= |
| // ruleLinkOperationKind ) ) ( (lv_tuple_2_0= ruleLinkOperationTuple ) ) ) ; |
| public final EObject ruleLinkOperationExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Enumerator lv_kind_1_0 = null; |
| |
| EObject lv_tuple_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3334:28: ( (otherlv_0= '.' ( (lv_kind_1_0= ruleLinkOperationKind ) ) ( (lv_tuple_2_0= |
| // ruleLinkOperationTuple ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3335:1: (otherlv_0= '.' ( (lv_kind_1_0= ruleLinkOperationKind ) ) ( (lv_tuple_2_0= ruleLinkOperationTuple |
| // ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3335:1: (otherlv_0= '.' ( (lv_kind_1_0= ruleLinkOperationKind ) ) ( (lv_tuple_2_0= |
| // ruleLinkOperationTuple ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3335:3: otherlv_0= '.' ( (lv_kind_1_0= ruleLinkOperationKind ) ) ( (lv_tuple_2_0= |
| // ruleLinkOperationTuple ) ) |
| { |
| otherlv_0 = (Token) match(input, 55, FOLLOW_55_in_ruleLinkOperationExpression7120); |
| |
| newLeafNode(otherlv_0, grammarAccess.getLinkOperationExpressionAccess().getFullStopKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3339:1: ( (lv_kind_1_0= ruleLinkOperationKind ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3340:1: (lv_kind_1_0= ruleLinkOperationKind ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3340:1: (lv_kind_1_0= ruleLinkOperationKind ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3341:3: lv_kind_1_0= ruleLinkOperationKind |
| { |
| |
| newCompositeNode(grammarAccess.getLinkOperationExpressionAccess().getKindLinkOperationKindEnumRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleLinkOperationKind_in_ruleLinkOperationExpression7141); |
| lv_kind_1_0 = ruleLinkOperationKind(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getLinkOperationExpressionRule()); |
| } |
| set( |
| current, |
| "kind", |
| lv_kind_1_0, |
| "LinkOperationKind"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3357:2: ( (lv_tuple_2_0= ruleLinkOperationTuple ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3358:1: (lv_tuple_2_0= ruleLinkOperationTuple ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3358:1: (lv_tuple_2_0= ruleLinkOperationTuple ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3359:3: lv_tuple_2_0= ruleLinkOperationTuple |
| { |
| |
| newCompositeNode(grammarAccess.getLinkOperationExpressionAccess().getTupleLinkOperationTupleParserRuleCall_2_0()); |
| |
| pushFollow(FOLLOW_ruleLinkOperationTuple_in_ruleLinkOperationExpression7162); |
| lv_tuple_2_0 = ruleLinkOperationTuple(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getLinkOperationExpressionRule()); |
| } |
| set( |
| current, |
| "tuple", |
| lv_tuple_2_0, |
| "LinkOperationTuple"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleLinkOperationExpression" |
| |
| |
| // $ANTLR start "entryRuleLinkOperationTuple" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3383:1: entryRuleLinkOperationTuple returns [EObject current=null] : iv_ruleLinkOperationTuple= |
| // ruleLinkOperationTuple EOF ; |
| public final EObject entryRuleLinkOperationTuple() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleLinkOperationTuple = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3384:2: (iv_ruleLinkOperationTuple= ruleLinkOperationTuple EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3385:2: iv_ruleLinkOperationTuple= ruleLinkOperationTuple EOF |
| { |
| newCompositeNode(grammarAccess.getLinkOperationTupleRule()); |
| pushFollow(FOLLOW_ruleLinkOperationTuple_in_entryRuleLinkOperationTuple7198); |
| iv_ruleLinkOperationTuple = ruleLinkOperationTuple(); |
| |
| state._fsp--; |
| |
| current = iv_ruleLinkOperationTuple; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleLinkOperationTuple7208); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleLinkOperationTuple" |
| |
| |
| // $ANTLR start "ruleLinkOperationTuple" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3392:1: ruleLinkOperationTuple returns [EObject current=null] : (otherlv_0= '(' ( |
| // (lv_linkOperationTupleElement_1_0= ruleLinkOperationTupleElement ) ) (otherlv_2= ',' ( (lv_linkOperationTupleElement_3_0= ruleLinkOperationTupleElement ) ) )* otherlv_4= ')' ) ; |
| public final EObject ruleLinkOperationTuple() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token otherlv_2 = null; |
| Token otherlv_4 = null; |
| EObject lv_linkOperationTupleElement_1_0 = null; |
| |
| EObject lv_linkOperationTupleElement_3_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3395:28: ( (otherlv_0= '(' ( (lv_linkOperationTupleElement_1_0= ruleLinkOperationTupleElement ) ) |
| // (otherlv_2= ',' ( (lv_linkOperationTupleElement_3_0= ruleLinkOperationTupleElement ) ) )* otherlv_4= ')' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3396:1: (otherlv_0= '(' ( (lv_linkOperationTupleElement_1_0= ruleLinkOperationTupleElement ) ) (otherlv_2= |
| // ',' ( (lv_linkOperationTupleElement_3_0= ruleLinkOperationTupleElement ) ) )* otherlv_4= ')' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3396:1: (otherlv_0= '(' ( (lv_linkOperationTupleElement_1_0= ruleLinkOperationTupleElement ) ) |
| // (otherlv_2= ',' ( (lv_linkOperationTupleElement_3_0= ruleLinkOperationTupleElement ) ) )* otherlv_4= ')' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3396:3: otherlv_0= '(' ( (lv_linkOperationTupleElement_1_0= ruleLinkOperationTupleElement ) ) |
| // (otherlv_2= ',' ( (lv_linkOperationTupleElement_3_0= ruleLinkOperationTupleElement ) ) )* otherlv_4= ')' |
| { |
| otherlv_0 = (Token) match(input, 15, FOLLOW_15_in_ruleLinkOperationTuple7245); |
| |
| newLeafNode(otherlv_0, grammarAccess.getLinkOperationTupleAccess().getLeftParenthesisKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3400:1: ( (lv_linkOperationTupleElement_1_0= ruleLinkOperationTupleElement ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3401:1: (lv_linkOperationTupleElement_1_0= ruleLinkOperationTupleElement ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3401:1: (lv_linkOperationTupleElement_1_0= ruleLinkOperationTupleElement ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3402:3: lv_linkOperationTupleElement_1_0= ruleLinkOperationTupleElement |
| { |
| |
| newCompositeNode(grammarAccess.getLinkOperationTupleAccess().getLinkOperationTupleElementLinkOperationTupleElementParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleLinkOperationTupleElement_in_ruleLinkOperationTuple7266); |
| lv_linkOperationTupleElement_1_0 = ruleLinkOperationTupleElement(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getLinkOperationTupleRule()); |
| } |
| add( |
| current, |
| "linkOperationTupleElement", |
| lv_linkOperationTupleElement_1_0, |
| "LinkOperationTupleElement"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3418:2: (otherlv_2= ',' ( (lv_linkOperationTupleElement_3_0= ruleLinkOperationTupleElement ) ) )* |
| loop61: do { |
| int alt61 = 2; |
| int LA61_0 = input.LA(1); |
| |
| if ((LA61_0 == 17)) { |
| alt61 = 1; |
| } |
| |
| |
| switch (alt61) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3418:4: otherlv_2= ',' ( (lv_linkOperationTupleElement_3_0= ruleLinkOperationTupleElement ) ) |
| { |
| otherlv_2 = (Token) match(input, 17, FOLLOW_17_in_ruleLinkOperationTuple7279); |
| |
| newLeafNode(otherlv_2, grammarAccess.getLinkOperationTupleAccess().getCommaKeyword_2_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3422:1: ( (lv_linkOperationTupleElement_3_0= ruleLinkOperationTupleElement ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3423:1: (lv_linkOperationTupleElement_3_0= ruleLinkOperationTupleElement ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3423:1: (lv_linkOperationTupleElement_3_0= ruleLinkOperationTupleElement ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3424:3: lv_linkOperationTupleElement_3_0= ruleLinkOperationTupleElement |
| { |
| |
| newCompositeNode(grammarAccess.getLinkOperationTupleAccess().getLinkOperationTupleElementLinkOperationTupleElementParserRuleCall_2_1_0()); |
| |
| pushFollow(FOLLOW_ruleLinkOperationTupleElement_in_ruleLinkOperationTuple7300); |
| lv_linkOperationTupleElement_3_0 = ruleLinkOperationTupleElement(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getLinkOperationTupleRule()); |
| } |
| add( |
| current, |
| "linkOperationTupleElement", |
| lv_linkOperationTupleElement_3_0, |
| "LinkOperationTupleElement"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default: |
| break loop61; |
| } |
| } while (true); |
| |
| otherlv_4 = (Token) match(input, 16, FOLLOW_16_in_ruleLinkOperationTuple7314); |
| |
| newLeafNode(otherlv_4, grammarAccess.getLinkOperationTupleAccess().getRightParenthesisKeyword_3()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleLinkOperationTuple" |
| |
| |
| // $ANTLR start "entryRuleLinkOperationTupleElement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3452:1: entryRuleLinkOperationTupleElement returns [EObject current=null] : iv_ruleLinkOperationTupleElement= |
| // ruleLinkOperationTupleElement EOF ; |
| public final EObject entryRuleLinkOperationTupleElement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleLinkOperationTupleElement = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3453:2: (iv_ruleLinkOperationTupleElement= ruleLinkOperationTupleElement EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3454:2: iv_ruleLinkOperationTupleElement= ruleLinkOperationTupleElement EOF |
| { |
| newCompositeNode(grammarAccess.getLinkOperationTupleElementRule()); |
| pushFollow(FOLLOW_ruleLinkOperationTupleElement_in_entryRuleLinkOperationTupleElement7350); |
| iv_ruleLinkOperationTupleElement = ruleLinkOperationTupleElement(); |
| |
| state._fsp--; |
| |
| current = iv_ruleLinkOperationTupleElement; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleLinkOperationTupleElement7360); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleLinkOperationTupleElement" |
| |
| |
| // $ANTLR start "ruleLinkOperationTupleElement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3461:1: ruleLinkOperationTupleElement returns [EObject current=null] : ( ( (lv_objectOrRole_0_0= RULE_ID ) ) ( |
| // (otherlv_1= '[' ( (lv_roleIndex_2_0= ruleExpression ) ) otherlv_3= ']' )? otherlv_4= '=>' ( (lv_object_5_0= RULE_ID ) ) )? ) ; |
| public final EObject ruleLinkOperationTupleElement() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_objectOrRole_0_0 = null; |
| Token otherlv_1 = null; |
| Token otherlv_3 = null; |
| Token otherlv_4 = null; |
| Token lv_object_5_0 = null; |
| EObject lv_roleIndex_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3464:28: ( ( ( (lv_objectOrRole_0_0= RULE_ID ) ) ( (otherlv_1= '[' ( (lv_roleIndex_2_0= ruleExpression ) ) |
| // otherlv_3= ']' )? otherlv_4= '=>' ( (lv_object_5_0= RULE_ID ) ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3465:1: ( ( (lv_objectOrRole_0_0= RULE_ID ) ) ( (otherlv_1= '[' ( (lv_roleIndex_2_0= ruleExpression ) ) |
| // otherlv_3= ']' )? otherlv_4= '=>' ( (lv_object_5_0= RULE_ID ) ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3465:1: ( ( (lv_objectOrRole_0_0= RULE_ID ) ) ( (otherlv_1= '[' ( (lv_roleIndex_2_0= ruleExpression ) |
| // ) otherlv_3= ']' )? otherlv_4= '=>' ( (lv_object_5_0= RULE_ID ) ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3465:2: ( (lv_objectOrRole_0_0= RULE_ID ) ) ( (otherlv_1= '[' ( (lv_roleIndex_2_0= ruleExpression ) ) |
| // otherlv_3= ']' )? otherlv_4= '=>' ( (lv_object_5_0= RULE_ID ) ) )? |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3465:2: ( (lv_objectOrRole_0_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3466:1: (lv_objectOrRole_0_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3466:1: (lv_objectOrRole_0_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3467:3: lv_objectOrRole_0_0= RULE_ID |
| { |
| lv_objectOrRole_0_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleLinkOperationTupleElement7402); |
| |
| newLeafNode(lv_objectOrRole_0_0, grammarAccess.getLinkOperationTupleElementAccess().getObjectOrRoleIDTerminalRuleCall_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getLinkOperationTupleElementRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "objectOrRole", |
| lv_objectOrRole_0_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3483:2: ( (otherlv_1= '[' ( (lv_roleIndex_2_0= ruleExpression ) ) otherlv_3= ']' )? otherlv_4= |
| // '=>' ( (lv_object_5_0= RULE_ID ) ) )? |
| int alt63 = 2; |
| int LA63_0 = input.LA(1); |
| |
| if ((LA63_0 == 18 || LA63_0 == 32)) { |
| alt63 = 1; |
| } |
| switch (alt63) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3483:3: (otherlv_1= '[' ( (lv_roleIndex_2_0= ruleExpression ) ) otherlv_3= ']' )? otherlv_4= '=>' |
| // ( (lv_object_5_0= RULE_ID ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3483:3: (otherlv_1= '[' ( (lv_roleIndex_2_0= ruleExpression ) ) otherlv_3= ']' )? |
| int alt62 = 2; |
| int LA62_0 = input.LA(1); |
| |
| if ((LA62_0 == 18)) { |
| alt62 = 1; |
| } |
| switch (alt62) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3483:5: otherlv_1= '[' ( (lv_roleIndex_2_0= ruleExpression ) ) otherlv_3= ']' |
| { |
| otherlv_1 = (Token) match(input, 18, FOLLOW_18_in_ruleLinkOperationTupleElement7421); |
| |
| newLeafNode(otherlv_1, grammarAccess.getLinkOperationTupleElementAccess().getLeftSquareBracketKeyword_1_0_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3487:1: ( (lv_roleIndex_2_0= ruleExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3488:1: (lv_roleIndex_2_0= ruleExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3488:1: (lv_roleIndex_2_0= ruleExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3489:3: lv_roleIndex_2_0= ruleExpression |
| { |
| |
| newCompositeNode(grammarAccess.getLinkOperationTupleElementAccess().getRoleIndexExpressionParserRuleCall_1_0_1_0()); |
| |
| pushFollow(FOLLOW_ruleExpression_in_ruleLinkOperationTupleElement7442); |
| lv_roleIndex_2_0 = ruleExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getLinkOperationTupleElementRule()); |
| } |
| set( |
| current, |
| "roleIndex", |
| lv_roleIndex_2_0, |
| "Expression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_3 = (Token) match(input, 19, FOLLOW_19_in_ruleLinkOperationTupleElement7454); |
| |
| newLeafNode(otherlv_3, grammarAccess.getLinkOperationTupleElementAccess().getRightSquareBracketKeyword_1_0_2()); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_4 = (Token) match(input, 32, FOLLOW_32_in_ruleLinkOperationTupleElement7468); |
| |
| newLeafNode(otherlv_4, grammarAccess.getLinkOperationTupleElementAccess().getEqualsSignGreaterThanSignKeyword_1_1()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3513:1: ( (lv_object_5_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3514:1: (lv_object_5_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3514:1: (lv_object_5_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3515:3: lv_object_5_0= RULE_ID |
| { |
| lv_object_5_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleLinkOperationTupleElement7485); |
| |
| newLeafNode(lv_object_5_0, grammarAccess.getLinkOperationTupleElementAccess().getObjectIDTerminalRuleCall_1_2_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getLinkOperationTupleElementRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "object", |
| lv_object_5_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleLinkOperationTupleElement" |
| |
| |
| // $ANTLR start "entryRuleSequenceOperationExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3539:1: entryRuleSequenceOperationExpression returns [EObject current=null] : iv_ruleSequenceOperationExpression= |
| // ruleSequenceOperationExpression EOF ; |
| public final EObject entryRuleSequenceOperationExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleSequenceOperationExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3540:2: (iv_ruleSequenceOperationExpression= ruleSequenceOperationExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3541:2: iv_ruleSequenceOperationExpression= ruleSequenceOperationExpression EOF |
| { |
| newCompositeNode(grammarAccess.getSequenceOperationExpressionRule()); |
| pushFollow(FOLLOW_ruleSequenceOperationExpression_in_entryRuleSequenceOperationExpression7528); |
| iv_ruleSequenceOperationExpression = ruleSequenceOperationExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleSequenceOperationExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleSequenceOperationExpression7538); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleSequenceOperationExpression" |
| |
| |
| // $ANTLR start "ruleSequenceOperationExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3548:1: ruleSequenceOperationExpression returns [EObject current=null] : (otherlv_0= '->' ( (lv_operationName_1_0= |
| // RULE_ID ) ) ( (lv_tuple_2_0= ruleTuple ) ) ( (lv_suffix_3_0= ruleSuffixExpression ) )? ) ; |
| public final EObject ruleSequenceOperationExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token lv_operationName_1_0 = null; |
| EObject lv_tuple_2_0 = null; |
| |
| EObject lv_suffix_3_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3551:28: ( (otherlv_0= '->' ( (lv_operationName_1_0= RULE_ID ) ) ( (lv_tuple_2_0= ruleTuple ) ) ( |
| // (lv_suffix_3_0= ruleSuffixExpression ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3552:1: (otherlv_0= '->' ( (lv_operationName_1_0= RULE_ID ) ) ( (lv_tuple_2_0= ruleTuple ) ) ( |
| // (lv_suffix_3_0= ruleSuffixExpression ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3552:1: (otherlv_0= '->' ( (lv_operationName_1_0= RULE_ID ) ) ( (lv_tuple_2_0= ruleTuple ) ) ( |
| // (lv_suffix_3_0= ruleSuffixExpression ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3552:3: otherlv_0= '->' ( (lv_operationName_1_0= RULE_ID ) ) ( (lv_tuple_2_0= ruleTuple ) ) ( |
| // (lv_suffix_3_0= ruleSuffixExpression ) )? |
| { |
| otherlv_0 = (Token) match(input, 56, FOLLOW_56_in_ruleSequenceOperationExpression7575); |
| |
| newLeafNode(otherlv_0, grammarAccess.getSequenceOperationExpressionAccess().getHyphenMinusGreaterThanSignKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3556:1: ( (lv_operationName_1_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3557:1: (lv_operationName_1_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3557:1: (lv_operationName_1_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3558:3: lv_operationName_1_0= RULE_ID |
| { |
| lv_operationName_1_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleSequenceOperationExpression7592); |
| |
| newLeafNode(lv_operationName_1_0, grammarAccess.getSequenceOperationExpressionAccess().getOperationNameIDTerminalRuleCall_1_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getSequenceOperationExpressionRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "operationName", |
| lv_operationName_1_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3574:2: ( (lv_tuple_2_0= ruleTuple ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3575:1: (lv_tuple_2_0= ruleTuple ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3575:1: (lv_tuple_2_0= ruleTuple ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3576:3: lv_tuple_2_0= ruleTuple |
| { |
| |
| newCompositeNode(grammarAccess.getSequenceOperationExpressionAccess().getTupleTupleParserRuleCall_2_0()); |
| |
| pushFollow(FOLLOW_ruleTuple_in_ruleSequenceOperationExpression7618); |
| lv_tuple_2_0 = ruleTuple(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSequenceOperationExpressionRule()); |
| } |
| set( |
| current, |
| "tuple", |
| lv_tuple_2_0, |
| "Tuple"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3592:2: ( (lv_suffix_3_0= ruleSuffixExpression ) )? |
| int alt64 = 2; |
| int LA64_0 = input.LA(1); |
| |
| if (((LA64_0 >= 55 && LA64_0 <= 56))) { |
| alt64 = 1; |
| } |
| switch (alt64) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3593:1: (lv_suffix_3_0= ruleSuffixExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3593:1: (lv_suffix_3_0= ruleSuffixExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3594:3: lv_suffix_3_0= ruleSuffixExpression |
| { |
| |
| newCompositeNode(grammarAccess.getSequenceOperationExpressionAccess().getSuffixSuffixExpressionParserRuleCall_3_0()); |
| |
| pushFollow(FOLLOW_ruleSuffixExpression_in_ruleSequenceOperationExpression7639); |
| lv_suffix_3_0 = ruleSuffixExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSequenceOperationExpressionRule()); |
| } |
| set( |
| current, |
| "suffix", |
| lv_suffix_3_0, |
| "SuffixExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleSequenceOperationExpression" |
| |
| |
| // $ANTLR start "entryRuleSequenceReductionExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3618:1: entryRuleSequenceReductionExpression returns [EObject current=null] : iv_ruleSequenceReductionExpression= |
| // ruleSequenceReductionExpression EOF ; |
| public final EObject entryRuleSequenceReductionExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleSequenceReductionExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3619:2: (iv_ruleSequenceReductionExpression= ruleSequenceReductionExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3620:2: iv_ruleSequenceReductionExpression= ruleSequenceReductionExpression EOF |
| { |
| newCompositeNode(grammarAccess.getSequenceReductionExpressionRule()); |
| pushFollow(FOLLOW_ruleSequenceReductionExpression_in_entryRuleSequenceReductionExpression7676); |
| iv_ruleSequenceReductionExpression = ruleSequenceReductionExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleSequenceReductionExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleSequenceReductionExpression7686); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleSequenceReductionExpression" |
| |
| |
| // $ANTLR start "ruleSequenceReductionExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3627:1: ruleSequenceReductionExpression returns [EObject current=null] : (otherlv_0= '->' otherlv_1= 'reduce' ( |
| // (lv_isOrdered_2_0= 'ordered' ) )? ( (lv_behavior_3_0= ruleQualifiedNameWithBinding ) ) ( (lv_suffix_4_0= ruleSuffixExpression ) )? ) ; |
| public final EObject ruleSequenceReductionExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token otherlv_1 = null; |
| Token lv_isOrdered_2_0 = null; |
| EObject lv_behavior_3_0 = null; |
| |
| EObject lv_suffix_4_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3630:28: ( (otherlv_0= '->' otherlv_1= 'reduce' ( (lv_isOrdered_2_0= 'ordered' ) )? ( (lv_behavior_3_0= |
| // ruleQualifiedNameWithBinding ) ) ( (lv_suffix_4_0= ruleSuffixExpression ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3631:1: (otherlv_0= '->' otherlv_1= 'reduce' ( (lv_isOrdered_2_0= 'ordered' ) )? ( (lv_behavior_3_0= |
| // ruleQualifiedNameWithBinding ) ) ( (lv_suffix_4_0= ruleSuffixExpression ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3631:1: (otherlv_0= '->' otherlv_1= 'reduce' ( (lv_isOrdered_2_0= 'ordered' ) )? ( (lv_behavior_3_0= |
| // ruleQualifiedNameWithBinding ) ) ( (lv_suffix_4_0= ruleSuffixExpression ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3631:3: otherlv_0= '->' otherlv_1= 'reduce' ( (lv_isOrdered_2_0= 'ordered' ) )? ( (lv_behavior_3_0= |
| // ruleQualifiedNameWithBinding ) ) ( (lv_suffix_4_0= ruleSuffixExpression ) )? |
| { |
| otherlv_0 = (Token) match(input, 56, FOLLOW_56_in_ruleSequenceReductionExpression7723); |
| |
| newLeafNode(otherlv_0, grammarAccess.getSequenceReductionExpressionAccess().getHyphenMinusGreaterThanSignKeyword_0()); |
| |
| otherlv_1 = (Token) match(input, 57, FOLLOW_57_in_ruleSequenceReductionExpression7735); |
| |
| newLeafNode(otherlv_1, grammarAccess.getSequenceReductionExpressionAccess().getReduceKeyword_1()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3639:1: ( (lv_isOrdered_2_0= 'ordered' ) )? |
| int alt65 = 2; |
| int LA65_0 = input.LA(1); |
| |
| if ((LA65_0 == 20)) { |
| alt65 = 1; |
| } |
| switch (alt65) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3640:1: (lv_isOrdered_2_0= 'ordered' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3640:1: (lv_isOrdered_2_0= 'ordered' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3641:3: lv_isOrdered_2_0= 'ordered' |
| { |
| lv_isOrdered_2_0 = (Token) match(input, 20, FOLLOW_20_in_ruleSequenceReductionExpression7753); |
| |
| newLeafNode(lv_isOrdered_2_0, grammarAccess.getSequenceReductionExpressionAccess().getIsOrderedOrderedKeyword_2_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getSequenceReductionExpressionRule()); |
| } |
| setWithLastConsumed(current, "isOrdered", true, "ordered"); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3654:3: ( (lv_behavior_3_0= ruleQualifiedNameWithBinding ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3655:1: (lv_behavior_3_0= ruleQualifiedNameWithBinding ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3655:1: (lv_behavior_3_0= ruleQualifiedNameWithBinding ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3656:3: lv_behavior_3_0= ruleQualifiedNameWithBinding |
| { |
| |
| newCompositeNode(grammarAccess.getSequenceReductionExpressionAccess().getBehaviorQualifiedNameWithBindingParserRuleCall_3_0()); |
| |
| pushFollow(FOLLOW_ruleQualifiedNameWithBinding_in_ruleSequenceReductionExpression7788); |
| lv_behavior_3_0 = ruleQualifiedNameWithBinding(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSequenceReductionExpressionRule()); |
| } |
| set( |
| current, |
| "behavior", |
| lv_behavior_3_0, |
| "QualifiedNameWithBinding"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3672:2: ( (lv_suffix_4_0= ruleSuffixExpression ) )? |
| int alt66 = 2; |
| int LA66_0 = input.LA(1); |
| |
| if (((LA66_0 >= 55 && LA66_0 <= 56))) { |
| alt66 = 1; |
| } |
| switch (alt66) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3673:1: (lv_suffix_4_0= ruleSuffixExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3673:1: (lv_suffix_4_0= ruleSuffixExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3674:3: lv_suffix_4_0= ruleSuffixExpression |
| { |
| |
| newCompositeNode(grammarAccess.getSequenceReductionExpressionAccess().getSuffixSuffixExpressionParserRuleCall_4_0()); |
| |
| pushFollow(FOLLOW_ruleSuffixExpression_in_ruleSequenceReductionExpression7809); |
| lv_suffix_4_0 = ruleSuffixExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSequenceReductionExpressionRule()); |
| } |
| set( |
| current, |
| "suffix", |
| lv_suffix_4_0, |
| "SuffixExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleSequenceReductionExpression" |
| |
| |
| // $ANTLR start "entryRuleSequenceExpansionExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3698:1: entryRuleSequenceExpansionExpression returns [EObject current=null] : iv_ruleSequenceExpansionExpression= |
| // ruleSequenceExpansionExpression EOF ; |
| public final EObject entryRuleSequenceExpansionExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleSequenceExpansionExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3699:2: (iv_ruleSequenceExpansionExpression= ruleSequenceExpansionExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3700:2: iv_ruleSequenceExpansionExpression= ruleSequenceExpansionExpression EOF |
| { |
| newCompositeNode(grammarAccess.getSequenceExpansionExpressionRule()); |
| pushFollow(FOLLOW_ruleSequenceExpansionExpression_in_entryRuleSequenceExpansionExpression7846); |
| iv_ruleSequenceExpansionExpression = ruleSequenceExpansionExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleSequenceExpansionExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleSequenceExpansionExpression7856); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleSequenceExpansionExpression" |
| |
| |
| // $ANTLR start "ruleSequenceExpansionExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3707:1: ruleSequenceExpansionExpression returns [EObject current=null] : (this_SelectOrRejectOperation_0= |
| // ruleSelectOrRejectOperation | this_CollectOrIterateOperation_1= ruleCollectOrIterateOperation | this_ForAllOrExistsOrOneOperation_2= ruleForAllOrExistsOrOneOperation | this_IsUniqueOperation_3= ruleIsUniqueOperation ) ; |
| public final EObject ruleSequenceExpansionExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_SelectOrRejectOperation_0 = null; |
| |
| EObject this_CollectOrIterateOperation_1 = null; |
| |
| EObject this_ForAllOrExistsOrOneOperation_2 = null; |
| |
| EObject this_IsUniqueOperation_3 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3710:28: ( (this_SelectOrRejectOperation_0= ruleSelectOrRejectOperation | |
| // this_CollectOrIterateOperation_1= ruleCollectOrIterateOperation | this_ForAllOrExistsOrOneOperation_2= ruleForAllOrExistsOrOneOperation | this_IsUniqueOperation_3= ruleIsUniqueOperation ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3711:1: (this_SelectOrRejectOperation_0= ruleSelectOrRejectOperation | this_CollectOrIterateOperation_1= |
| // ruleCollectOrIterateOperation | this_ForAllOrExistsOrOneOperation_2= ruleForAllOrExistsOrOneOperation | this_IsUniqueOperation_3= ruleIsUniqueOperation ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3711:1: (this_SelectOrRejectOperation_0= ruleSelectOrRejectOperation | |
| // this_CollectOrIterateOperation_1= ruleCollectOrIterateOperation | this_ForAllOrExistsOrOneOperation_2= ruleForAllOrExistsOrOneOperation | this_IsUniqueOperation_3= ruleIsUniqueOperation ) |
| int alt67 = 4; |
| int LA67_0 = input.LA(1); |
| |
| if ((LA67_0 == 56)) { |
| switch (input.LA(2)) { |
| case 98: |
| case 99: { |
| alt67 = 1; |
| } |
| break; |
| case 100: |
| case 101: { |
| alt67 = 2; |
| } |
| break; |
| case 102: |
| case 103: |
| case 104: { |
| alt67 = 3; |
| } |
| break; |
| case 58: { |
| alt67 = 4; |
| } |
| break; |
| default: |
| NoViableAltException nvae = |
| new NoViableAltException("", 67, 1, input); |
| |
| throw nvae; |
| } |
| |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 67, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt67) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3712:5: this_SelectOrRejectOperation_0= ruleSelectOrRejectOperation |
| { |
| |
| newCompositeNode(grammarAccess.getSequenceExpansionExpressionAccess().getSelectOrRejectOperationParserRuleCall_0()); |
| |
| pushFollow(FOLLOW_ruleSelectOrRejectOperation_in_ruleSequenceExpansionExpression7903); |
| this_SelectOrRejectOperation_0 = ruleSelectOrRejectOperation(); |
| |
| state._fsp--; |
| |
| |
| current = this_SelectOrRejectOperation_0; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3722:5: this_CollectOrIterateOperation_1= ruleCollectOrIterateOperation |
| { |
| |
| newCompositeNode(grammarAccess.getSequenceExpansionExpressionAccess().getCollectOrIterateOperationParserRuleCall_1()); |
| |
| pushFollow(FOLLOW_ruleCollectOrIterateOperation_in_ruleSequenceExpansionExpression7930); |
| this_CollectOrIterateOperation_1 = ruleCollectOrIterateOperation(); |
| |
| state._fsp--; |
| |
| |
| current = this_CollectOrIterateOperation_1; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 3: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3732:5: this_ForAllOrExistsOrOneOperation_2= ruleForAllOrExistsOrOneOperation |
| { |
| |
| newCompositeNode(grammarAccess.getSequenceExpansionExpressionAccess().getForAllOrExistsOrOneOperationParserRuleCall_2()); |
| |
| pushFollow(FOLLOW_ruleForAllOrExistsOrOneOperation_in_ruleSequenceExpansionExpression7957); |
| this_ForAllOrExistsOrOneOperation_2 = ruleForAllOrExistsOrOneOperation(); |
| |
| state._fsp--; |
| |
| |
| current = this_ForAllOrExistsOrOneOperation_2; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 4: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3742:5: this_IsUniqueOperation_3= ruleIsUniqueOperation |
| { |
| |
| newCompositeNode(grammarAccess.getSequenceExpansionExpressionAccess().getIsUniqueOperationParserRuleCall_3()); |
| |
| pushFollow(FOLLOW_ruleIsUniqueOperation_in_ruleSequenceExpansionExpression7984); |
| this_IsUniqueOperation_3 = ruleIsUniqueOperation(); |
| |
| state._fsp--; |
| |
| |
| current = this_IsUniqueOperation_3; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleSequenceExpansionExpression" |
| |
| |
| // $ANTLR start "entryRuleSelectOrRejectOperation" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3758:1: entryRuleSelectOrRejectOperation returns [EObject current=null] : iv_ruleSelectOrRejectOperation= |
| // ruleSelectOrRejectOperation EOF ; |
| public final EObject entryRuleSelectOrRejectOperation() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleSelectOrRejectOperation = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3759:2: (iv_ruleSelectOrRejectOperation= ruleSelectOrRejectOperation EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3760:2: iv_ruleSelectOrRejectOperation= ruleSelectOrRejectOperation EOF |
| { |
| newCompositeNode(grammarAccess.getSelectOrRejectOperationRule()); |
| pushFollow(FOLLOW_ruleSelectOrRejectOperation_in_entryRuleSelectOrRejectOperation8019); |
| iv_ruleSelectOrRejectOperation = ruleSelectOrRejectOperation(); |
| |
| state._fsp--; |
| |
| current = iv_ruleSelectOrRejectOperation; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleSelectOrRejectOperation8029); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleSelectOrRejectOperation" |
| |
| |
| // $ANTLR start "ruleSelectOrRejectOperation" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3767:1: ruleSelectOrRejectOperation returns [EObject current=null] : (otherlv_0= '->' ( (lv_op_1_0= |
| // ruleSelectOrRejectOperator ) ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) ; |
| public final EObject ruleSelectOrRejectOperation() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token lv_name_2_0 = null; |
| Token otherlv_3 = null; |
| Token otherlv_5 = null; |
| Enumerator lv_op_1_0 = null; |
| |
| EObject lv_expr_4_0 = null; |
| |
| EObject lv_suffix_6_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3770:28: ( (otherlv_0= '->' ( (lv_op_1_0= ruleSelectOrRejectOperator ) ) ( (lv_name_2_0= RULE_ID ) ) |
| // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3771:1: (otherlv_0= '->' ( (lv_op_1_0= ruleSelectOrRejectOperator ) ) ( (lv_name_2_0= RULE_ID ) ) |
| // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3771:1: (otherlv_0= '->' ( (lv_op_1_0= ruleSelectOrRejectOperator ) ) ( (lv_name_2_0= RULE_ID ) ) |
| // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3771:3: otherlv_0= '->' ( (lv_op_1_0= ruleSelectOrRejectOperator ) ) ( (lv_name_2_0= RULE_ID ) ) |
| // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? |
| { |
| otherlv_0 = (Token) match(input, 56, FOLLOW_56_in_ruleSelectOrRejectOperation8066); |
| |
| newLeafNode(otherlv_0, grammarAccess.getSelectOrRejectOperationAccess().getHyphenMinusGreaterThanSignKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3775:1: ( (lv_op_1_0= ruleSelectOrRejectOperator ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3776:1: (lv_op_1_0= ruleSelectOrRejectOperator ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3776:1: (lv_op_1_0= ruleSelectOrRejectOperator ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3777:3: lv_op_1_0= ruleSelectOrRejectOperator |
| { |
| |
| newCompositeNode(grammarAccess.getSelectOrRejectOperationAccess().getOpSelectOrRejectOperatorEnumRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleSelectOrRejectOperator_in_ruleSelectOrRejectOperation8087); |
| lv_op_1_0 = ruleSelectOrRejectOperator(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSelectOrRejectOperationRule()); |
| } |
| set( |
| current, |
| "op", |
| lv_op_1_0, |
| "SelectOrRejectOperator"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3793:2: ( (lv_name_2_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3794:1: (lv_name_2_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3794:1: (lv_name_2_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3795:3: lv_name_2_0= RULE_ID |
| { |
| lv_name_2_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleSelectOrRejectOperation8104); |
| |
| newLeafNode(lv_name_2_0, grammarAccess.getSelectOrRejectOperationAccess().getNameIDTerminalRuleCall_2_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getSelectOrRejectOperationRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "name", |
| lv_name_2_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_3 = (Token) match(input, 15, FOLLOW_15_in_ruleSelectOrRejectOperation8121); |
| |
| newLeafNode(otherlv_3, grammarAccess.getSelectOrRejectOperationAccess().getLeftParenthesisKeyword_3()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3815:1: ( (lv_expr_4_0= ruleExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3816:1: (lv_expr_4_0= ruleExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3816:1: (lv_expr_4_0= ruleExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3817:3: lv_expr_4_0= ruleExpression |
| { |
| |
| newCompositeNode(grammarAccess.getSelectOrRejectOperationAccess().getExprExpressionParserRuleCall_4_0()); |
| |
| pushFollow(FOLLOW_ruleExpression_in_ruleSelectOrRejectOperation8142); |
| lv_expr_4_0 = ruleExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSelectOrRejectOperationRule()); |
| } |
| set( |
| current, |
| "expr", |
| lv_expr_4_0, |
| "Expression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_5 = (Token) match(input, 16, FOLLOW_16_in_ruleSelectOrRejectOperation8154); |
| |
| newLeafNode(otherlv_5, grammarAccess.getSelectOrRejectOperationAccess().getRightParenthesisKeyword_5()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3837:1: ( (lv_suffix_6_0= ruleSuffixExpression ) )? |
| int alt68 = 2; |
| int LA68_0 = input.LA(1); |
| |
| if (((LA68_0 >= 55 && LA68_0 <= 56))) { |
| alt68 = 1; |
| } |
| switch (alt68) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3838:1: (lv_suffix_6_0= ruleSuffixExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3838:1: (lv_suffix_6_0= ruleSuffixExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3839:3: lv_suffix_6_0= ruleSuffixExpression |
| { |
| |
| newCompositeNode(grammarAccess.getSelectOrRejectOperationAccess().getSuffixSuffixExpressionParserRuleCall_6_0()); |
| |
| pushFollow(FOLLOW_ruleSuffixExpression_in_ruleSelectOrRejectOperation8175); |
| lv_suffix_6_0 = ruleSuffixExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSelectOrRejectOperationRule()); |
| } |
| set( |
| current, |
| "suffix", |
| lv_suffix_6_0, |
| "SuffixExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleSelectOrRejectOperation" |
| |
| |
| // $ANTLR start "entryRuleCollectOrIterateOperation" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3863:1: entryRuleCollectOrIterateOperation returns [EObject current=null] : iv_ruleCollectOrIterateOperation= |
| // ruleCollectOrIterateOperation EOF ; |
| public final EObject entryRuleCollectOrIterateOperation() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleCollectOrIterateOperation = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3864:2: (iv_ruleCollectOrIterateOperation= ruleCollectOrIterateOperation EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3865:2: iv_ruleCollectOrIterateOperation= ruleCollectOrIterateOperation EOF |
| { |
| newCompositeNode(grammarAccess.getCollectOrIterateOperationRule()); |
| pushFollow(FOLLOW_ruleCollectOrIterateOperation_in_entryRuleCollectOrIterateOperation8212); |
| iv_ruleCollectOrIterateOperation = ruleCollectOrIterateOperation(); |
| |
| state._fsp--; |
| |
| current = iv_ruleCollectOrIterateOperation; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleCollectOrIterateOperation8222); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleCollectOrIterateOperation" |
| |
| |
| // $ANTLR start "ruleCollectOrIterateOperation" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3872:1: ruleCollectOrIterateOperation returns [EObject current=null] : (otherlv_0= '->' ( (lv_op_1_0= |
| // ruleCollectOrIterateOperator ) ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) ; |
| public final EObject ruleCollectOrIterateOperation() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token lv_name_2_0 = null; |
| Token otherlv_3 = null; |
| Token otherlv_5 = null; |
| Enumerator lv_op_1_0 = null; |
| |
| EObject lv_expr_4_0 = null; |
| |
| EObject lv_suffix_6_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3875:28: ( (otherlv_0= '->' ( (lv_op_1_0= ruleCollectOrIterateOperator ) ) ( (lv_name_2_0= RULE_ID ) ) |
| // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3876:1: (otherlv_0= '->' ( (lv_op_1_0= ruleCollectOrIterateOperator ) ) ( (lv_name_2_0= RULE_ID ) ) |
| // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3876:1: (otherlv_0= '->' ( (lv_op_1_0= ruleCollectOrIterateOperator ) ) ( (lv_name_2_0= RULE_ID ) ) |
| // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3876:3: otherlv_0= '->' ( (lv_op_1_0= ruleCollectOrIterateOperator ) ) ( (lv_name_2_0= RULE_ID ) ) |
| // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? |
| { |
| otherlv_0 = (Token) match(input, 56, FOLLOW_56_in_ruleCollectOrIterateOperation8259); |
| |
| newLeafNode(otherlv_0, grammarAccess.getCollectOrIterateOperationAccess().getHyphenMinusGreaterThanSignKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3880:1: ( (lv_op_1_0= ruleCollectOrIterateOperator ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3881:1: (lv_op_1_0= ruleCollectOrIterateOperator ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3881:1: (lv_op_1_0= ruleCollectOrIterateOperator ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3882:3: lv_op_1_0= ruleCollectOrIterateOperator |
| { |
| |
| newCompositeNode(grammarAccess.getCollectOrIterateOperationAccess().getOpCollectOrIterateOperatorEnumRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleCollectOrIterateOperator_in_ruleCollectOrIterateOperation8280); |
| lv_op_1_0 = ruleCollectOrIterateOperator(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getCollectOrIterateOperationRule()); |
| } |
| set( |
| current, |
| "op", |
| lv_op_1_0, |
| "CollectOrIterateOperator"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3898:2: ( (lv_name_2_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3899:1: (lv_name_2_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3899:1: (lv_name_2_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3900:3: lv_name_2_0= RULE_ID |
| { |
| lv_name_2_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleCollectOrIterateOperation8297); |
| |
| newLeafNode(lv_name_2_0, grammarAccess.getCollectOrIterateOperationAccess().getNameIDTerminalRuleCall_2_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getCollectOrIterateOperationRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "name", |
| lv_name_2_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_3 = (Token) match(input, 15, FOLLOW_15_in_ruleCollectOrIterateOperation8314); |
| |
| newLeafNode(otherlv_3, grammarAccess.getCollectOrIterateOperationAccess().getLeftParenthesisKeyword_3()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3920:1: ( (lv_expr_4_0= ruleExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3921:1: (lv_expr_4_0= ruleExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3921:1: (lv_expr_4_0= ruleExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3922:3: lv_expr_4_0= ruleExpression |
| { |
| |
| newCompositeNode(grammarAccess.getCollectOrIterateOperationAccess().getExprExpressionParserRuleCall_4_0()); |
| |
| pushFollow(FOLLOW_ruleExpression_in_ruleCollectOrIterateOperation8335); |
| lv_expr_4_0 = ruleExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getCollectOrIterateOperationRule()); |
| } |
| set( |
| current, |
| "expr", |
| lv_expr_4_0, |
| "Expression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_5 = (Token) match(input, 16, FOLLOW_16_in_ruleCollectOrIterateOperation8347); |
| |
| newLeafNode(otherlv_5, grammarAccess.getCollectOrIterateOperationAccess().getRightParenthesisKeyword_5()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3942:1: ( (lv_suffix_6_0= ruleSuffixExpression ) )? |
| int alt69 = 2; |
| int LA69_0 = input.LA(1); |
| |
| if (((LA69_0 >= 55 && LA69_0 <= 56))) { |
| alt69 = 1; |
| } |
| switch (alt69) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3943:1: (lv_suffix_6_0= ruleSuffixExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3943:1: (lv_suffix_6_0= ruleSuffixExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3944:3: lv_suffix_6_0= ruleSuffixExpression |
| { |
| |
| newCompositeNode(grammarAccess.getCollectOrIterateOperationAccess().getSuffixSuffixExpressionParserRuleCall_6_0()); |
| |
| pushFollow(FOLLOW_ruleSuffixExpression_in_ruleCollectOrIterateOperation8368); |
| lv_suffix_6_0 = ruleSuffixExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getCollectOrIterateOperationRule()); |
| } |
| set( |
| current, |
| "suffix", |
| lv_suffix_6_0, |
| "SuffixExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleCollectOrIterateOperation" |
| |
| |
| // $ANTLR start "entryRuleForAllOrExistsOrOneOperation" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3968:1: entryRuleForAllOrExistsOrOneOperation returns [EObject current=null] : |
| // iv_ruleForAllOrExistsOrOneOperation= ruleForAllOrExistsOrOneOperation EOF ; |
| public final EObject entryRuleForAllOrExistsOrOneOperation() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleForAllOrExistsOrOneOperation = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3969:2: (iv_ruleForAllOrExistsOrOneOperation= ruleForAllOrExistsOrOneOperation EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3970:2: iv_ruleForAllOrExistsOrOneOperation= ruleForAllOrExistsOrOneOperation EOF |
| { |
| newCompositeNode(grammarAccess.getForAllOrExistsOrOneOperationRule()); |
| pushFollow(FOLLOW_ruleForAllOrExistsOrOneOperation_in_entryRuleForAllOrExistsOrOneOperation8405); |
| iv_ruleForAllOrExistsOrOneOperation = ruleForAllOrExistsOrOneOperation(); |
| |
| state._fsp--; |
| |
| current = iv_ruleForAllOrExistsOrOneOperation; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleForAllOrExistsOrOneOperation8415); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleForAllOrExistsOrOneOperation" |
| |
| |
| // $ANTLR start "ruleForAllOrExistsOrOneOperation" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3977:1: ruleForAllOrExistsOrOneOperation returns [EObject current=null] : (otherlv_0= '->' ( (lv_op_1_0= |
| // ruleForAllOrExistsOrOneOperator ) ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) ; |
| public final EObject ruleForAllOrExistsOrOneOperation() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token lv_name_2_0 = null; |
| Token otherlv_3 = null; |
| Token otherlv_5 = null; |
| Enumerator lv_op_1_0 = null; |
| |
| EObject lv_expr_4_0 = null; |
| |
| EObject lv_suffix_6_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3980:28: ( (otherlv_0= '->' ( (lv_op_1_0= ruleForAllOrExistsOrOneOperator ) ) ( (lv_name_2_0= RULE_ID ) ) |
| // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3981:1: (otherlv_0= '->' ( (lv_op_1_0= ruleForAllOrExistsOrOneOperator ) ) ( (lv_name_2_0= RULE_ID ) ) |
| // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3981:1: (otherlv_0= '->' ( (lv_op_1_0= ruleForAllOrExistsOrOneOperator ) ) ( (lv_name_2_0= RULE_ID ) ) |
| // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3981:3: otherlv_0= '->' ( (lv_op_1_0= ruleForAllOrExistsOrOneOperator ) ) ( (lv_name_2_0= RULE_ID ) ) |
| // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? |
| { |
| otherlv_0 = (Token) match(input, 56, FOLLOW_56_in_ruleForAllOrExistsOrOneOperation8452); |
| |
| newLeafNode(otherlv_0, grammarAccess.getForAllOrExistsOrOneOperationAccess().getHyphenMinusGreaterThanSignKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3985:1: ( (lv_op_1_0= ruleForAllOrExistsOrOneOperator ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3986:1: (lv_op_1_0= ruleForAllOrExistsOrOneOperator ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3986:1: (lv_op_1_0= ruleForAllOrExistsOrOneOperator ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3987:3: lv_op_1_0= ruleForAllOrExistsOrOneOperator |
| { |
| |
| newCompositeNode(grammarAccess.getForAllOrExistsOrOneOperationAccess().getOpForAllOrExistsOrOneOperatorEnumRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleForAllOrExistsOrOneOperator_in_ruleForAllOrExistsOrOneOperation8473); |
| lv_op_1_0 = ruleForAllOrExistsOrOneOperator(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getForAllOrExistsOrOneOperationRule()); |
| } |
| set( |
| current, |
| "op", |
| lv_op_1_0, |
| "ForAllOrExistsOrOneOperator"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4003:2: ( (lv_name_2_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4004:1: (lv_name_2_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4004:1: (lv_name_2_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4005:3: lv_name_2_0= RULE_ID |
| { |
| lv_name_2_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleForAllOrExistsOrOneOperation8490); |
| |
| newLeafNode(lv_name_2_0, grammarAccess.getForAllOrExistsOrOneOperationAccess().getNameIDTerminalRuleCall_2_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getForAllOrExistsOrOneOperationRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "name", |
| lv_name_2_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_3 = (Token) match(input, 15, FOLLOW_15_in_ruleForAllOrExistsOrOneOperation8507); |
| |
| newLeafNode(otherlv_3, grammarAccess.getForAllOrExistsOrOneOperationAccess().getLeftParenthesisKeyword_3()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4025:1: ( (lv_expr_4_0= ruleExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4026:1: (lv_expr_4_0= ruleExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4026:1: (lv_expr_4_0= ruleExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4027:3: lv_expr_4_0= ruleExpression |
| { |
| |
| newCompositeNode(grammarAccess.getForAllOrExistsOrOneOperationAccess().getExprExpressionParserRuleCall_4_0()); |
| |
| pushFollow(FOLLOW_ruleExpression_in_ruleForAllOrExistsOrOneOperation8528); |
| lv_expr_4_0 = ruleExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getForAllOrExistsOrOneOperationRule()); |
| } |
| set( |
| current, |
| "expr", |
| lv_expr_4_0, |
| "Expression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_5 = (Token) match(input, 16, FOLLOW_16_in_ruleForAllOrExistsOrOneOperation8540); |
| |
| newLeafNode(otherlv_5, grammarAccess.getForAllOrExistsOrOneOperationAccess().getRightParenthesisKeyword_5()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4047:1: ( (lv_suffix_6_0= ruleSuffixExpression ) )? |
| int alt70 = 2; |
| int LA70_0 = input.LA(1); |
| |
| if (((LA70_0 >= 55 && LA70_0 <= 56))) { |
| alt70 = 1; |
| } |
| switch (alt70) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4048:1: (lv_suffix_6_0= ruleSuffixExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4048:1: (lv_suffix_6_0= ruleSuffixExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4049:3: lv_suffix_6_0= ruleSuffixExpression |
| { |
| |
| newCompositeNode(grammarAccess.getForAllOrExistsOrOneOperationAccess().getSuffixSuffixExpressionParserRuleCall_6_0()); |
| |
| pushFollow(FOLLOW_ruleSuffixExpression_in_ruleForAllOrExistsOrOneOperation8561); |
| lv_suffix_6_0 = ruleSuffixExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getForAllOrExistsOrOneOperationRule()); |
| } |
| set( |
| current, |
| "suffix", |
| lv_suffix_6_0, |
| "SuffixExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleForAllOrExistsOrOneOperation" |
| |
| |
| // $ANTLR start "entryRuleIsUniqueOperation" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4073:1: entryRuleIsUniqueOperation returns [EObject current=null] : iv_ruleIsUniqueOperation= |
| // ruleIsUniqueOperation EOF ; |
| public final EObject entryRuleIsUniqueOperation() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleIsUniqueOperation = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4074:2: (iv_ruleIsUniqueOperation= ruleIsUniqueOperation EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4075:2: iv_ruleIsUniqueOperation= ruleIsUniqueOperation EOF |
| { |
| newCompositeNode(grammarAccess.getIsUniqueOperationRule()); |
| pushFollow(FOLLOW_ruleIsUniqueOperation_in_entryRuleIsUniqueOperation8598); |
| iv_ruleIsUniqueOperation = ruleIsUniqueOperation(); |
| |
| state._fsp--; |
| |
| current = iv_ruleIsUniqueOperation; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleIsUniqueOperation8608); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleIsUniqueOperation" |
| |
| |
| // $ANTLR start "ruleIsUniqueOperation" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4082:1: ruleIsUniqueOperation returns [EObject current=null] : (otherlv_0= '->' otherlv_1= 'isUnique' ( |
| // (lv_name_2_0= RULE_ID ) ) otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) ; |
| public final EObject ruleIsUniqueOperation() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token otherlv_1 = null; |
| Token lv_name_2_0 = null; |
| Token otherlv_3 = null; |
| Token otherlv_5 = null; |
| EObject lv_expr_4_0 = null; |
| |
| EObject lv_suffix_6_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4085:28: ( (otherlv_0= '->' otherlv_1= 'isUnique' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '(' ( |
| // (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4086:1: (otherlv_0= '->' otherlv_1= 'isUnique' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '(' ( (lv_expr_4_0= |
| // ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4086:1: (otherlv_0= '->' otherlv_1= 'isUnique' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '(' ( |
| // (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4086:3: otherlv_0= '->' otherlv_1= 'isUnique' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '(' ( |
| // (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? |
| { |
| otherlv_0 = (Token) match(input, 56, FOLLOW_56_in_ruleIsUniqueOperation8645); |
| |
| newLeafNode(otherlv_0, grammarAccess.getIsUniqueOperationAccess().getHyphenMinusGreaterThanSignKeyword_0()); |
| |
| otherlv_1 = (Token) match(input, 58, FOLLOW_58_in_ruleIsUniqueOperation8657); |
| |
| newLeafNode(otherlv_1, grammarAccess.getIsUniqueOperationAccess().getIsUniqueKeyword_1()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4094:1: ( (lv_name_2_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4095:1: (lv_name_2_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4095:1: (lv_name_2_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4096:3: lv_name_2_0= RULE_ID |
| { |
| lv_name_2_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleIsUniqueOperation8674); |
| |
| newLeafNode(lv_name_2_0, grammarAccess.getIsUniqueOperationAccess().getNameIDTerminalRuleCall_2_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getIsUniqueOperationRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "name", |
| lv_name_2_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_3 = (Token) match(input, 15, FOLLOW_15_in_ruleIsUniqueOperation8691); |
| |
| newLeafNode(otherlv_3, grammarAccess.getIsUniqueOperationAccess().getLeftParenthesisKeyword_3()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4116:1: ( (lv_expr_4_0= ruleExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4117:1: (lv_expr_4_0= ruleExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4117:1: (lv_expr_4_0= ruleExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4118:3: lv_expr_4_0= ruleExpression |
| { |
| |
| newCompositeNode(grammarAccess.getIsUniqueOperationAccess().getExprExpressionParserRuleCall_4_0()); |
| |
| pushFollow(FOLLOW_ruleExpression_in_ruleIsUniqueOperation8712); |
| lv_expr_4_0 = ruleExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getIsUniqueOperationRule()); |
| } |
| set( |
| current, |
| "expr", |
| lv_expr_4_0, |
| "Expression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_5 = (Token) match(input, 16, FOLLOW_16_in_ruleIsUniqueOperation8724); |
| |
| newLeafNode(otherlv_5, grammarAccess.getIsUniqueOperationAccess().getRightParenthesisKeyword_5()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4138:1: ( (lv_suffix_6_0= ruleSuffixExpression ) )? |
| int alt71 = 2; |
| int LA71_0 = input.LA(1); |
| |
| if (((LA71_0 >= 55 && LA71_0 <= 56))) { |
| alt71 = 1; |
| } |
| switch (alt71) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4139:1: (lv_suffix_6_0= ruleSuffixExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4139:1: (lv_suffix_6_0= ruleSuffixExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4140:3: lv_suffix_6_0= ruleSuffixExpression |
| { |
| |
| newCompositeNode(grammarAccess.getIsUniqueOperationAccess().getSuffixSuffixExpressionParserRuleCall_6_0()); |
| |
| pushFollow(FOLLOW_ruleSuffixExpression_in_ruleIsUniqueOperation8745); |
| lv_suffix_6_0 = ruleSuffixExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getIsUniqueOperationRule()); |
| } |
| set( |
| current, |
| "suffix", |
| lv_suffix_6_0, |
| "SuffixExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleIsUniqueOperation" |
| |
| |
| // $ANTLR start "entryRuleValueSpecification" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4164:1: entryRuleValueSpecification returns [EObject current=null] : iv_ruleValueSpecification= |
| // ruleValueSpecification EOF ; |
| public final EObject entryRuleValueSpecification() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleValueSpecification = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4165:2: (iv_ruleValueSpecification= ruleValueSpecification EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4166:2: iv_ruleValueSpecification= ruleValueSpecification EOF |
| { |
| newCompositeNode(grammarAccess.getValueSpecificationRule()); |
| pushFollow(FOLLOW_ruleValueSpecification_in_entryRuleValueSpecification8782); |
| iv_ruleValueSpecification = ruleValueSpecification(); |
| |
| state._fsp--; |
| |
| current = iv_ruleValueSpecification; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleValueSpecification8792); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleValueSpecification" |
| |
| |
| // $ANTLR start "ruleValueSpecification" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4173:1: ruleValueSpecification returns [EObject current=null] : (this_NameExpression_0= ruleNameExpression | |
| // this_LITERAL_1= ruleLITERAL | this_ThisExpression_2= ruleThisExpression | this_SuperInvocationExpression_3= ruleSuperInvocationExpression | this_InstanceCreationExpression_4= ruleInstanceCreationExpression | this_ParenthesizedExpression_5= |
| // ruleParenthesizedExpression | this_NullExpression_6= ruleNullExpression ) ; |
| public final EObject ruleValueSpecification() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_NameExpression_0 = null; |
| |
| EObject this_LITERAL_1 = null; |
| |
| EObject this_ThisExpression_2 = null; |
| |
| EObject this_SuperInvocationExpression_3 = null; |
| |
| EObject this_InstanceCreationExpression_4 = null; |
| |
| EObject this_ParenthesizedExpression_5 = null; |
| |
| EObject this_NullExpression_6 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4176:28: ( (this_NameExpression_0= ruleNameExpression | this_LITERAL_1= ruleLITERAL | |
| // this_ThisExpression_2= ruleThisExpression | this_SuperInvocationExpression_3= ruleSuperInvocationExpression | this_InstanceCreationExpression_4= ruleInstanceCreationExpression | this_ParenthesizedExpression_5= ruleParenthesizedExpression | |
| // this_NullExpression_6= ruleNullExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4177:1: (this_NameExpression_0= ruleNameExpression | this_LITERAL_1= ruleLITERAL | this_ThisExpression_2= |
| // ruleThisExpression | this_SuperInvocationExpression_3= ruleSuperInvocationExpression | this_InstanceCreationExpression_4= ruleInstanceCreationExpression | this_ParenthesizedExpression_5= ruleParenthesizedExpression | this_NullExpression_6= |
| // ruleNullExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4177:1: (this_NameExpression_0= ruleNameExpression | this_LITERAL_1= ruleLITERAL | |
| // this_ThisExpression_2= ruleThisExpression | this_SuperInvocationExpression_3= ruleSuperInvocationExpression | this_InstanceCreationExpression_4= ruleInstanceCreationExpression | this_ParenthesizedExpression_5= ruleParenthesizedExpression | |
| // this_NullExpression_6= ruleNullExpression ) |
| int alt72 = 7; |
| switch (input.LA(1)) { |
| case RULE_ID: |
| case 27: |
| case 28: { |
| alt72 = 1; |
| } |
| break; |
| case RULE_INTEGERVALUE: |
| case RULE_STRING: |
| case 24: |
| case 93: |
| case 94: { |
| alt72 = 2; |
| } |
| break; |
| case 60: { |
| alt72 = 3; |
| } |
| break; |
| case 61: { |
| alt72 = 4; |
| } |
| break; |
| case 62: { |
| alt72 = 5; |
| } |
| break; |
| case 15: { |
| alt72 = 6; |
| } |
| break; |
| case 59: { |
| alt72 = 7; |
| } |
| break; |
| default: |
| NoViableAltException nvae = |
| new NoViableAltException("", 72, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt72) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4178:5: this_NameExpression_0= ruleNameExpression |
| { |
| |
| newCompositeNode(grammarAccess.getValueSpecificationAccess().getNameExpressionParserRuleCall_0()); |
| |
| pushFollow(FOLLOW_ruleNameExpression_in_ruleValueSpecification8839); |
| this_NameExpression_0 = ruleNameExpression(); |
| |
| state._fsp--; |
| |
| |
| current = this_NameExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4188:5: this_LITERAL_1= ruleLITERAL |
| { |
| |
| newCompositeNode(grammarAccess.getValueSpecificationAccess().getLITERALParserRuleCall_1()); |
| |
| pushFollow(FOLLOW_ruleLITERAL_in_ruleValueSpecification8866); |
| this_LITERAL_1 = ruleLITERAL(); |
| |
| state._fsp--; |
| |
| |
| current = this_LITERAL_1; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 3: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4198:5: this_ThisExpression_2= ruleThisExpression |
| { |
| |
| newCompositeNode(grammarAccess.getValueSpecificationAccess().getThisExpressionParserRuleCall_2()); |
| |
| pushFollow(FOLLOW_ruleThisExpression_in_ruleValueSpecification8893); |
| this_ThisExpression_2 = ruleThisExpression(); |
| |
| state._fsp--; |
| |
| |
| current = this_ThisExpression_2; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 4: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4208:5: this_SuperInvocationExpression_3= ruleSuperInvocationExpression |
| { |
| |
| newCompositeNode(grammarAccess.getValueSpecificationAccess().getSuperInvocationExpressionParserRuleCall_3()); |
| |
| pushFollow(FOLLOW_ruleSuperInvocationExpression_in_ruleValueSpecification8920); |
| this_SuperInvocationExpression_3 = ruleSuperInvocationExpression(); |
| |
| state._fsp--; |
| |
| |
| current = this_SuperInvocationExpression_3; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 5: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4218:5: this_InstanceCreationExpression_4= ruleInstanceCreationExpression |
| { |
| |
| newCompositeNode(grammarAccess.getValueSpecificationAccess().getInstanceCreationExpressionParserRuleCall_4()); |
| |
| pushFollow(FOLLOW_ruleInstanceCreationExpression_in_ruleValueSpecification8947); |
| this_InstanceCreationExpression_4 = ruleInstanceCreationExpression(); |
| |
| state._fsp--; |
| |
| |
| current = this_InstanceCreationExpression_4; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 6: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4228:5: this_ParenthesizedExpression_5= ruleParenthesizedExpression |
| { |
| |
| newCompositeNode(grammarAccess.getValueSpecificationAccess().getParenthesizedExpressionParserRuleCall_5()); |
| |
| pushFollow(FOLLOW_ruleParenthesizedExpression_in_ruleValueSpecification8974); |
| this_ParenthesizedExpression_5 = ruleParenthesizedExpression(); |
| |
| state._fsp--; |
| |
| |
| current = this_ParenthesizedExpression_5; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 7: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4238:5: this_NullExpression_6= ruleNullExpression |
| { |
| |
| newCompositeNode(grammarAccess.getValueSpecificationAccess().getNullExpressionParserRuleCall_6()); |
| |
| pushFollow(FOLLOW_ruleNullExpression_in_ruleValueSpecification9001); |
| this_NullExpression_6 = ruleNullExpression(); |
| |
| state._fsp--; |
| |
| |
| current = this_NullExpression_6; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleValueSpecification" |
| |
| |
| // $ANTLR start "entryRuleNonLiteralValueSpecification" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4254:1: entryRuleNonLiteralValueSpecification returns [EObject current=null] : |
| // iv_ruleNonLiteralValueSpecification= ruleNonLiteralValueSpecification EOF ; |
| public final EObject entryRuleNonLiteralValueSpecification() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleNonLiteralValueSpecification = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4255:2: (iv_ruleNonLiteralValueSpecification= ruleNonLiteralValueSpecification EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4256:2: iv_ruleNonLiteralValueSpecification= ruleNonLiteralValueSpecification EOF |
| { |
| newCompositeNode(grammarAccess.getNonLiteralValueSpecificationRule()); |
| pushFollow(FOLLOW_ruleNonLiteralValueSpecification_in_entryRuleNonLiteralValueSpecification9036); |
| iv_ruleNonLiteralValueSpecification = ruleNonLiteralValueSpecification(); |
| |
| state._fsp--; |
| |
| current = iv_ruleNonLiteralValueSpecification; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleNonLiteralValueSpecification9046); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleNonLiteralValueSpecification" |
| |
| |
| // $ANTLR start "ruleNonLiteralValueSpecification" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4263:1: ruleNonLiteralValueSpecification returns [EObject current=null] : (this_NameExpression_0= |
| // ruleNameExpression | this_ParenthesizedExpression_1= ruleParenthesizedExpression | this_InstanceCreationExpression_2= ruleInstanceCreationExpression | this_ThisExpression_3= ruleThisExpression | this_SuperInvocationExpression_4= |
| // ruleSuperInvocationExpression ) ; |
| public final EObject ruleNonLiteralValueSpecification() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_NameExpression_0 = null; |
| |
| EObject this_ParenthesizedExpression_1 = null; |
| |
| EObject this_InstanceCreationExpression_2 = null; |
| |
| EObject this_ThisExpression_3 = null; |
| |
| EObject this_SuperInvocationExpression_4 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4266:28: ( (this_NameExpression_0= ruleNameExpression | this_ParenthesizedExpression_1= |
| // ruleParenthesizedExpression | this_InstanceCreationExpression_2= ruleInstanceCreationExpression | this_ThisExpression_3= ruleThisExpression | this_SuperInvocationExpression_4= ruleSuperInvocationExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4267:1: (this_NameExpression_0= ruleNameExpression | this_ParenthesizedExpression_1= |
| // ruleParenthesizedExpression | this_InstanceCreationExpression_2= ruleInstanceCreationExpression | this_ThisExpression_3= ruleThisExpression | this_SuperInvocationExpression_4= ruleSuperInvocationExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4267:1: (this_NameExpression_0= ruleNameExpression | this_ParenthesizedExpression_1= |
| // ruleParenthesizedExpression | this_InstanceCreationExpression_2= ruleInstanceCreationExpression | this_ThisExpression_3= ruleThisExpression | this_SuperInvocationExpression_4= ruleSuperInvocationExpression ) |
| int alt73 = 5; |
| switch (input.LA(1)) { |
| case RULE_ID: |
| case 27: |
| case 28: { |
| alt73 = 1; |
| } |
| break; |
| case 15: { |
| alt73 = 2; |
| } |
| break; |
| case 62: { |
| alt73 = 3; |
| } |
| break; |
| case 60: { |
| alt73 = 4; |
| } |
| break; |
| case 61: { |
| alt73 = 5; |
| } |
| break; |
| default: |
| NoViableAltException nvae = |
| new NoViableAltException("", 73, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt73) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4268:5: this_NameExpression_0= ruleNameExpression |
| { |
| |
| newCompositeNode(grammarAccess.getNonLiteralValueSpecificationAccess().getNameExpressionParserRuleCall_0()); |
| |
| pushFollow(FOLLOW_ruleNameExpression_in_ruleNonLiteralValueSpecification9093); |
| this_NameExpression_0 = ruleNameExpression(); |
| |
| state._fsp--; |
| |
| |
| current = this_NameExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4278:5: this_ParenthesizedExpression_1= ruleParenthesizedExpression |
| { |
| |
| newCompositeNode(grammarAccess.getNonLiteralValueSpecificationAccess().getParenthesizedExpressionParserRuleCall_1()); |
| |
| pushFollow(FOLLOW_ruleParenthesizedExpression_in_ruleNonLiteralValueSpecification9120); |
| this_ParenthesizedExpression_1 = ruleParenthesizedExpression(); |
| |
| state._fsp--; |
| |
| |
| current = this_ParenthesizedExpression_1; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 3: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4288:5: this_InstanceCreationExpression_2= ruleInstanceCreationExpression |
| { |
| |
| newCompositeNode(grammarAccess.getNonLiteralValueSpecificationAccess().getInstanceCreationExpressionParserRuleCall_2()); |
| |
| pushFollow(FOLLOW_ruleInstanceCreationExpression_in_ruleNonLiteralValueSpecification9147); |
| this_InstanceCreationExpression_2 = ruleInstanceCreationExpression(); |
| |
| state._fsp--; |
| |
| |
| current = this_InstanceCreationExpression_2; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 4: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4298:5: this_ThisExpression_3= ruleThisExpression |
| { |
| |
| newCompositeNode(grammarAccess.getNonLiteralValueSpecificationAccess().getThisExpressionParserRuleCall_3()); |
| |
| pushFollow(FOLLOW_ruleThisExpression_in_ruleNonLiteralValueSpecification9174); |
| this_ThisExpression_3 = ruleThisExpression(); |
| |
| state._fsp--; |
| |
| |
| current = this_ThisExpression_3; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 5: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4308:5: this_SuperInvocationExpression_4= ruleSuperInvocationExpression |
| { |
| |
| newCompositeNode(grammarAccess.getNonLiteralValueSpecificationAccess().getSuperInvocationExpressionParserRuleCall_4()); |
| |
| pushFollow(FOLLOW_ruleSuperInvocationExpression_in_ruleNonLiteralValueSpecification9201); |
| this_SuperInvocationExpression_4 = ruleSuperInvocationExpression(); |
| |
| state._fsp--; |
| |
| |
| current = this_SuperInvocationExpression_4; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleNonLiteralValueSpecification" |
| |
| |
| // $ANTLR start "entryRuleParenthesizedExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4324:1: entryRuleParenthesizedExpression returns [EObject current=null] : iv_ruleParenthesizedExpression= |
| // ruleParenthesizedExpression EOF ; |
| public final EObject entryRuleParenthesizedExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleParenthesizedExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4325:2: (iv_ruleParenthesizedExpression= ruleParenthesizedExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4326:2: iv_ruleParenthesizedExpression= ruleParenthesizedExpression EOF |
| { |
| newCompositeNode(grammarAccess.getParenthesizedExpressionRule()); |
| pushFollow(FOLLOW_ruleParenthesizedExpression_in_entryRuleParenthesizedExpression9236); |
| iv_ruleParenthesizedExpression = ruleParenthesizedExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleParenthesizedExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleParenthesizedExpression9246); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleParenthesizedExpression" |
| |
| |
| // $ANTLR start "ruleParenthesizedExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4333:1: ruleParenthesizedExpression returns [EObject current=null] : (otherlv_0= '(' ( (lv_expOrTypeCast_1_0= |
| // ruleExpression ) ) otherlv_2= ')' ( ( (lv_casted_3_0= ruleNonLiteralValueSpecification ) ) | ( (lv_suffix_4_0= ruleSuffixExpression ) ) )? ) ; |
| public final EObject ruleParenthesizedExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token otherlv_2 = null; |
| EObject lv_expOrTypeCast_1_0 = null; |
| |
| EObject lv_casted_3_0 = null; |
| |
| EObject lv_suffix_4_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4336:28: ( (otherlv_0= '(' ( (lv_expOrTypeCast_1_0= ruleExpression ) ) otherlv_2= ')' ( ( (lv_casted_3_0= |
| // ruleNonLiteralValueSpecification ) ) | ( (lv_suffix_4_0= ruleSuffixExpression ) ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4337:1: (otherlv_0= '(' ( (lv_expOrTypeCast_1_0= ruleExpression ) ) otherlv_2= ')' ( ( (lv_casted_3_0= |
| // ruleNonLiteralValueSpecification ) ) | ( (lv_suffix_4_0= ruleSuffixExpression ) ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4337:1: (otherlv_0= '(' ( (lv_expOrTypeCast_1_0= ruleExpression ) ) otherlv_2= ')' ( ( (lv_casted_3_0= |
| // ruleNonLiteralValueSpecification ) ) | ( (lv_suffix_4_0= ruleSuffixExpression ) ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4337:3: otherlv_0= '(' ( (lv_expOrTypeCast_1_0= ruleExpression ) ) otherlv_2= ')' ( ( (lv_casted_3_0= |
| // ruleNonLiteralValueSpecification ) ) | ( (lv_suffix_4_0= ruleSuffixExpression ) ) )? |
| { |
| otherlv_0 = (Token) match(input, 15, FOLLOW_15_in_ruleParenthesizedExpression9283); |
| |
| newLeafNode(otherlv_0, grammarAccess.getParenthesizedExpressionAccess().getLeftParenthesisKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4341:1: ( (lv_expOrTypeCast_1_0= ruleExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4342:1: (lv_expOrTypeCast_1_0= ruleExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4342:1: (lv_expOrTypeCast_1_0= ruleExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4343:3: lv_expOrTypeCast_1_0= ruleExpression |
| { |
| |
| newCompositeNode(grammarAccess.getParenthesizedExpressionAccess().getExpOrTypeCastExpressionParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleExpression_in_ruleParenthesizedExpression9304); |
| lv_expOrTypeCast_1_0 = ruleExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getParenthesizedExpressionRule()); |
| } |
| set( |
| current, |
| "expOrTypeCast", |
| lv_expOrTypeCast_1_0, |
| "Expression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_2 = (Token) match(input, 16, FOLLOW_16_in_ruleParenthesizedExpression9316); |
| |
| newLeafNode(otherlv_2, grammarAccess.getParenthesizedExpressionAccess().getRightParenthesisKeyword_2()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4363:1: ( ( (lv_casted_3_0= ruleNonLiteralValueSpecification ) ) | ( (lv_suffix_4_0= |
| // ruleSuffixExpression ) ) )? |
| int alt74 = 3; |
| int LA74_0 = input.LA(1); |
| |
| if ((LA74_0 == RULE_ID || LA74_0 == 15 || (LA74_0 >= 27 && LA74_0 <= 28) || (LA74_0 >= 60 && LA74_0 <= 62))) { |
| alt74 = 1; |
| } |
| else if (((LA74_0 >= 55 && LA74_0 <= 56))) { |
| alt74 = 2; |
| } |
| switch (alt74) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4363:2: ( (lv_casted_3_0= ruleNonLiteralValueSpecification ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4363:2: ( (lv_casted_3_0= ruleNonLiteralValueSpecification ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4364:1: (lv_casted_3_0= ruleNonLiteralValueSpecification ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4364:1: (lv_casted_3_0= ruleNonLiteralValueSpecification ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4365:3: lv_casted_3_0= ruleNonLiteralValueSpecification |
| { |
| |
| newCompositeNode(grammarAccess.getParenthesizedExpressionAccess().getCastedNonLiteralValueSpecificationParserRuleCall_3_0_0()); |
| |
| pushFollow(FOLLOW_ruleNonLiteralValueSpecification_in_ruleParenthesizedExpression9338); |
| lv_casted_3_0 = ruleNonLiteralValueSpecification(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getParenthesizedExpressionRule()); |
| } |
| set( |
| current, |
| "casted", |
| lv_casted_3_0, |
| "NonLiteralValueSpecification"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4382:6: ( (lv_suffix_4_0= ruleSuffixExpression ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4382:6: ( (lv_suffix_4_0= ruleSuffixExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4383:1: (lv_suffix_4_0= ruleSuffixExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4383:1: (lv_suffix_4_0= ruleSuffixExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4384:3: lv_suffix_4_0= ruleSuffixExpression |
| { |
| |
| newCompositeNode(grammarAccess.getParenthesizedExpressionAccess().getSuffixSuffixExpressionParserRuleCall_3_1_0()); |
| |
| pushFollow(FOLLOW_ruleSuffixExpression_in_ruleParenthesizedExpression9365); |
| lv_suffix_4_0 = ruleSuffixExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getParenthesizedExpressionRule()); |
| } |
| set( |
| current, |
| "suffix", |
| lv_suffix_4_0, |
| "SuffixExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleParenthesizedExpression" |
| |
| |
| // $ANTLR start "entryRuleNullExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4408:1: entryRuleNullExpression returns [EObject current=null] : iv_ruleNullExpression= ruleNullExpression EOF ; |
| public final EObject entryRuleNullExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleNullExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4409:2: (iv_ruleNullExpression= ruleNullExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4410:2: iv_ruleNullExpression= ruleNullExpression EOF |
| { |
| newCompositeNode(grammarAccess.getNullExpressionRule()); |
| pushFollow(FOLLOW_ruleNullExpression_in_entryRuleNullExpression9403); |
| iv_ruleNullExpression = ruleNullExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleNullExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleNullExpression9413); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleNullExpression" |
| |
| |
| // $ANTLR start "ruleNullExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4417:1: ruleNullExpression returns [EObject current=null] : ( () otherlv_1= 'null' ) ; |
| public final EObject ruleNullExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4420:28: ( ( () otherlv_1= 'null' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4421:1: ( () otherlv_1= 'null' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4421:1: ( () otherlv_1= 'null' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4421:2: () otherlv_1= 'null' |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4421:2: () |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4422:5: |
| { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getNullExpressionAccess().getNullExpressionAction_0(), |
| current); |
| |
| |
| } |
| |
| otherlv_1 = (Token) match(input, 59, FOLLOW_59_in_ruleNullExpression9459); |
| |
| newLeafNode(otherlv_1, grammarAccess.getNullExpressionAccess().getNullKeyword_1()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleNullExpression" |
| |
| |
| // $ANTLR start "entryRuleThisExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4439:1: entryRuleThisExpression returns [EObject current=null] : iv_ruleThisExpression= ruleThisExpression EOF ; |
| public final EObject entryRuleThisExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleThisExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4440:2: (iv_ruleThisExpression= ruleThisExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4441:2: iv_ruleThisExpression= ruleThisExpression EOF |
| { |
| newCompositeNode(grammarAccess.getThisExpressionRule()); |
| pushFollow(FOLLOW_ruleThisExpression_in_entryRuleThisExpression9495); |
| iv_ruleThisExpression = ruleThisExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleThisExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleThisExpression9505); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleThisExpression" |
| |
| |
| // $ANTLR start "ruleThisExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4448:1: ruleThisExpression returns [EObject current=null] : ( () otherlv_1= 'this' ( (lv_suffix_2_0= |
| // ruleSuffixExpression ) )? ) ; |
| public final EObject ruleThisExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| EObject lv_suffix_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4451:28: ( ( () otherlv_1= 'this' ( (lv_suffix_2_0= ruleSuffixExpression ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4452:1: ( () otherlv_1= 'this' ( (lv_suffix_2_0= ruleSuffixExpression ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4452:1: ( () otherlv_1= 'this' ( (lv_suffix_2_0= ruleSuffixExpression ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4452:2: () otherlv_1= 'this' ( (lv_suffix_2_0= ruleSuffixExpression ) )? |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4452:2: () |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4453:5: |
| { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getThisExpressionAccess().getThisExpressionAction_0(), |
| current); |
| |
| |
| } |
| |
| otherlv_1 = (Token) match(input, 60, FOLLOW_60_in_ruleThisExpression9551); |
| |
| newLeafNode(otherlv_1, grammarAccess.getThisExpressionAccess().getThisKeyword_1()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4462:1: ( (lv_suffix_2_0= ruleSuffixExpression ) )? |
| int alt75 = 2; |
| int LA75_0 = input.LA(1); |
| |
| if (((LA75_0 >= 55 && LA75_0 <= 56))) { |
| alt75 = 1; |
| } |
| switch (alt75) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4463:1: (lv_suffix_2_0= ruleSuffixExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4463:1: (lv_suffix_2_0= ruleSuffixExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4464:3: lv_suffix_2_0= ruleSuffixExpression |
| { |
| |
| newCompositeNode(grammarAccess.getThisExpressionAccess().getSuffixSuffixExpressionParserRuleCall_2_0()); |
| |
| pushFollow(FOLLOW_ruleSuffixExpression_in_ruleThisExpression9572); |
| lv_suffix_2_0 = ruleSuffixExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getThisExpressionRule()); |
| } |
| set( |
| current, |
| "suffix", |
| lv_suffix_2_0, |
| "SuffixExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleThisExpression" |
| |
| |
| // $ANTLR start "entryRuleSuperInvocationExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4488:1: entryRuleSuperInvocationExpression returns [EObject current=null] : iv_ruleSuperInvocationExpression= |
| // ruleSuperInvocationExpression EOF ; |
| public final EObject entryRuleSuperInvocationExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleSuperInvocationExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4489:2: (iv_ruleSuperInvocationExpression= ruleSuperInvocationExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4490:2: iv_ruleSuperInvocationExpression= ruleSuperInvocationExpression EOF |
| { |
| newCompositeNode(grammarAccess.getSuperInvocationExpressionRule()); |
| pushFollow(FOLLOW_ruleSuperInvocationExpression_in_entryRuleSuperInvocationExpression9609); |
| iv_ruleSuperInvocationExpression = ruleSuperInvocationExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleSuperInvocationExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleSuperInvocationExpression9619); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleSuperInvocationExpression" |
| |
| |
| // $ANTLR start "ruleSuperInvocationExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4497:1: ruleSuperInvocationExpression returns [EObject current=null] : (otherlv_0= 'super' ( (otherlv_1= '.' ( |
| // (lv_className_2_0= RULE_ID ) ) otherlv_3= '::' ( (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot ) ) ) | ( (lv_operationCall_5_0= ruleOperationCallExpression ) ) ) ) ; |
| public final EObject ruleSuperInvocationExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token otherlv_1 = null; |
| Token lv_className_2_0 = null; |
| Token otherlv_3 = null; |
| EObject lv_operationCallWithoutDot_4_0 = null; |
| |
| EObject lv_operationCall_5_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4500:28: ( (otherlv_0= 'super' ( (otherlv_1= '.' ( (lv_className_2_0= RULE_ID ) ) otherlv_3= '::' ( |
| // (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot ) ) ) | ( (lv_operationCall_5_0= ruleOperationCallExpression ) ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4501:1: (otherlv_0= 'super' ( (otherlv_1= '.' ( (lv_className_2_0= RULE_ID ) ) otherlv_3= '::' ( |
| // (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot ) ) ) | ( (lv_operationCall_5_0= ruleOperationCallExpression ) ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4501:1: (otherlv_0= 'super' ( (otherlv_1= '.' ( (lv_className_2_0= RULE_ID ) ) otherlv_3= '::' ( |
| // (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot ) ) ) | ( (lv_operationCall_5_0= ruleOperationCallExpression ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4501:3: otherlv_0= 'super' ( (otherlv_1= '.' ( (lv_className_2_0= RULE_ID ) ) otherlv_3= '::' ( |
| // (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot ) ) ) | ( (lv_operationCall_5_0= ruleOperationCallExpression ) ) ) |
| { |
| otherlv_0 = (Token) match(input, 61, FOLLOW_61_in_ruleSuperInvocationExpression9656); |
| |
| newLeafNode(otherlv_0, grammarAccess.getSuperInvocationExpressionAccess().getSuperKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4505:1: ( (otherlv_1= '.' ( (lv_className_2_0= RULE_ID ) ) otherlv_3= '::' ( |
| // (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot ) ) ) | ( (lv_operationCall_5_0= ruleOperationCallExpression ) ) ) |
| int alt76 = 2; |
| int LA76_0 = input.LA(1); |
| |
| if ((LA76_0 == 55)) { |
| int LA76_1 = input.LA(2); |
| |
| if ((LA76_1 == RULE_ID)) { |
| int LA76_2 = input.LA(3); |
| |
| if ((LA76_2 == 15)) { |
| alt76 = 2; |
| } |
| else if ((LA76_2 == 29)) { |
| alt76 = 1; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 76, 2, input); |
| |
| throw nvae; |
| } |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 76, 1, input); |
| |
| throw nvae; |
| } |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 76, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt76) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4505:2: (otherlv_1= '.' ( (lv_className_2_0= RULE_ID ) ) otherlv_3= '::' ( |
| // (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4505:2: (otherlv_1= '.' ( (lv_className_2_0= RULE_ID ) ) otherlv_3= '::' ( |
| // (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4505:4: otherlv_1= '.' ( (lv_className_2_0= RULE_ID ) ) otherlv_3= '::' ( |
| // (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot ) ) |
| { |
| otherlv_1 = (Token) match(input, 55, FOLLOW_55_in_ruleSuperInvocationExpression9670); |
| |
| newLeafNode(otherlv_1, grammarAccess.getSuperInvocationExpressionAccess().getFullStopKeyword_1_0_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4509:1: ( (lv_className_2_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4510:1: (lv_className_2_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4510:1: (lv_className_2_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4511:3: lv_className_2_0= RULE_ID |
| { |
| lv_className_2_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleSuperInvocationExpression9687); |
| |
| newLeafNode(lv_className_2_0, grammarAccess.getSuperInvocationExpressionAccess().getClassNameIDTerminalRuleCall_1_0_1_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getSuperInvocationExpressionRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "className", |
| lv_className_2_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_3 = (Token) match(input, 29, FOLLOW_29_in_ruleSuperInvocationExpression9704); |
| |
| newLeafNode(otherlv_3, grammarAccess.getSuperInvocationExpressionAccess().getColonColonKeyword_1_0_2()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4531:1: ( (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4532:1: (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4532:1: (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4533:3: lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot |
| { |
| |
| newCompositeNode(grammarAccess.getSuperInvocationExpressionAccess().getOperationCallWithoutDotOperationCallExpressionWithoutDotParserRuleCall_1_0_3_0()); |
| |
| pushFollow(FOLLOW_ruleOperationCallExpressionWithoutDot_in_ruleSuperInvocationExpression9725); |
| lv_operationCallWithoutDot_4_0 = ruleOperationCallExpressionWithoutDot(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSuperInvocationExpressionRule()); |
| } |
| set( |
| current, |
| "operationCallWithoutDot", |
| lv_operationCallWithoutDot_4_0, |
| "OperationCallExpressionWithoutDot"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4550:6: ( (lv_operationCall_5_0= ruleOperationCallExpression ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4550:6: ( (lv_operationCall_5_0= ruleOperationCallExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4551:1: (lv_operationCall_5_0= ruleOperationCallExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4551:1: (lv_operationCall_5_0= ruleOperationCallExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4552:3: lv_operationCall_5_0= ruleOperationCallExpression |
| { |
| |
| newCompositeNode(grammarAccess.getSuperInvocationExpressionAccess().getOperationCallOperationCallExpressionParserRuleCall_1_1_0()); |
| |
| pushFollow(FOLLOW_ruleOperationCallExpression_in_ruleSuperInvocationExpression9753); |
| lv_operationCall_5_0 = ruleOperationCallExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSuperInvocationExpressionRule()); |
| } |
| set( |
| current, |
| "operationCall", |
| lv_operationCall_5_0, |
| "OperationCallExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleSuperInvocationExpression" |
| |
| |
| // $ANTLR start "entryRuleInstanceCreationExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4576:1: entryRuleInstanceCreationExpression returns [EObject current=null] : iv_ruleInstanceCreationExpression= |
| // ruleInstanceCreationExpression EOF ; |
| public final EObject entryRuleInstanceCreationExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleInstanceCreationExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4577:2: (iv_ruleInstanceCreationExpression= ruleInstanceCreationExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4578:2: iv_ruleInstanceCreationExpression= ruleInstanceCreationExpression EOF |
| { |
| newCompositeNode(grammarAccess.getInstanceCreationExpressionRule()); |
| pushFollow(FOLLOW_ruleInstanceCreationExpression_in_entryRuleInstanceCreationExpression9790); |
| iv_ruleInstanceCreationExpression = ruleInstanceCreationExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleInstanceCreationExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleInstanceCreationExpression9800); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleInstanceCreationExpression" |
| |
| |
| // $ANTLR start "ruleInstanceCreationExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4585:1: ruleInstanceCreationExpression returns [EObject current=null] : (otherlv_0= 'new' ( (lv_constructor_1_0= |
| // ruleQualifiedNameWithBinding ) ) ( ( (lv_tuple_2_0= ruleTuple ) ) | ( (lv_sequenceConstuctionCompletion_3_0= ruleSequenceConstructionCompletion ) ) ) ( (lv_suffix_4_0= ruleSuffixExpression ) )? ) ; |
| public final EObject ruleInstanceCreationExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| EObject lv_constructor_1_0 = null; |
| |
| EObject lv_tuple_2_0 = null; |
| |
| EObject lv_sequenceConstuctionCompletion_3_0 = null; |
| |
| EObject lv_suffix_4_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4588:28: ( (otherlv_0= 'new' ( (lv_constructor_1_0= ruleQualifiedNameWithBinding ) ) ( ( (lv_tuple_2_0= |
| // ruleTuple ) ) | ( (lv_sequenceConstuctionCompletion_3_0= ruleSequenceConstructionCompletion ) ) ) ( (lv_suffix_4_0= ruleSuffixExpression ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4589:1: (otherlv_0= 'new' ( (lv_constructor_1_0= ruleQualifiedNameWithBinding ) ) ( ( (lv_tuple_2_0= |
| // ruleTuple ) ) | ( (lv_sequenceConstuctionCompletion_3_0= ruleSequenceConstructionCompletion ) ) ) ( (lv_suffix_4_0= ruleSuffixExpression ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4589:1: (otherlv_0= 'new' ( (lv_constructor_1_0= ruleQualifiedNameWithBinding ) ) ( ( (lv_tuple_2_0= |
| // ruleTuple ) ) | ( (lv_sequenceConstuctionCompletion_3_0= ruleSequenceConstructionCompletion ) ) ) ( (lv_suffix_4_0= ruleSuffixExpression ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4589:3: otherlv_0= 'new' ( (lv_constructor_1_0= ruleQualifiedNameWithBinding ) ) ( ( (lv_tuple_2_0= |
| // ruleTuple ) ) | ( (lv_sequenceConstuctionCompletion_3_0= ruleSequenceConstructionCompletion ) ) ) ( (lv_suffix_4_0= ruleSuffixExpression ) )? |
| { |
| otherlv_0 = (Token) match(input, 62, FOLLOW_62_in_ruleInstanceCreationExpression9837); |
| |
| newLeafNode(otherlv_0, grammarAccess.getInstanceCreationExpressionAccess().getNewKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4593:1: ( (lv_constructor_1_0= ruleQualifiedNameWithBinding ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4594:1: (lv_constructor_1_0= ruleQualifiedNameWithBinding ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4594:1: (lv_constructor_1_0= ruleQualifiedNameWithBinding ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4595:3: lv_constructor_1_0= ruleQualifiedNameWithBinding |
| { |
| |
| newCompositeNode(grammarAccess.getInstanceCreationExpressionAccess().getConstructorQualifiedNameWithBindingParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleQualifiedNameWithBinding_in_ruleInstanceCreationExpression9858); |
| lv_constructor_1_0 = ruleQualifiedNameWithBinding(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getInstanceCreationExpressionRule()); |
| } |
| set( |
| current, |
| "constructor", |
| lv_constructor_1_0, |
| "QualifiedNameWithBinding"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4611:2: ( ( (lv_tuple_2_0= ruleTuple ) ) | ( (lv_sequenceConstuctionCompletion_3_0= |
| // ruleSequenceConstructionCompletion ) ) ) |
| int alt77 = 2; |
| int LA77_0 = input.LA(1); |
| |
| if ((LA77_0 == 15)) { |
| alt77 = 1; |
| } |
| else if ((LA77_0 == 18 || LA77_0 == 63)) { |
| alt77 = 2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 77, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt77) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4611:3: ( (lv_tuple_2_0= ruleTuple ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4611:3: ( (lv_tuple_2_0= ruleTuple ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4612:1: (lv_tuple_2_0= ruleTuple ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4612:1: (lv_tuple_2_0= ruleTuple ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4613:3: lv_tuple_2_0= ruleTuple |
| { |
| |
| newCompositeNode(grammarAccess.getInstanceCreationExpressionAccess().getTupleTupleParserRuleCall_2_0_0()); |
| |
| pushFollow(FOLLOW_ruleTuple_in_ruleInstanceCreationExpression9880); |
| lv_tuple_2_0 = ruleTuple(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getInstanceCreationExpressionRule()); |
| } |
| set( |
| current, |
| "tuple", |
| lv_tuple_2_0, |
| "Tuple"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4630:6: ( (lv_sequenceConstuctionCompletion_3_0= ruleSequenceConstructionCompletion ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4630:6: ( (lv_sequenceConstuctionCompletion_3_0= ruleSequenceConstructionCompletion ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4631:1: (lv_sequenceConstuctionCompletion_3_0= ruleSequenceConstructionCompletion ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4631:1: (lv_sequenceConstuctionCompletion_3_0= ruleSequenceConstructionCompletion ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4632:3: lv_sequenceConstuctionCompletion_3_0= ruleSequenceConstructionCompletion |
| { |
| |
| newCompositeNode(grammarAccess.getInstanceCreationExpressionAccess().getSequenceConstuctionCompletionSequenceConstructionCompletionParserRuleCall_2_1_0()); |
| |
| pushFollow(FOLLOW_ruleSequenceConstructionCompletion_in_ruleInstanceCreationExpression9907); |
| lv_sequenceConstuctionCompletion_3_0 = ruleSequenceConstructionCompletion(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getInstanceCreationExpressionRule()); |
| } |
| set( |
| current, |
| "sequenceConstuctionCompletion", |
| lv_sequenceConstuctionCompletion_3_0, |
| "SequenceConstructionCompletion"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4648:3: ( (lv_suffix_4_0= ruleSuffixExpression ) )? |
| int alt78 = 2; |
| int LA78_0 = input.LA(1); |
| |
| if (((LA78_0 >= 55 && LA78_0 <= 56))) { |
| alt78 = 1; |
| } |
| switch (alt78) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4649:1: (lv_suffix_4_0= ruleSuffixExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4649:1: (lv_suffix_4_0= ruleSuffixExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4650:3: lv_suffix_4_0= ruleSuffixExpression |
| { |
| |
| newCompositeNode(grammarAccess.getInstanceCreationExpressionAccess().getSuffixSuffixExpressionParserRuleCall_3_0()); |
| |
| pushFollow(FOLLOW_ruleSuffixExpression_in_ruleInstanceCreationExpression9929); |
| lv_suffix_4_0 = ruleSuffixExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getInstanceCreationExpressionRule()); |
| } |
| set( |
| current, |
| "suffix", |
| lv_suffix_4_0, |
| "SuffixExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleInstanceCreationExpression" |
| |
| |
| // $ANTLR start "entryRuleSequenceConstructionOrAccessCompletion" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4674:1: entryRuleSequenceConstructionOrAccessCompletion returns [EObject current=null] : |
| // iv_ruleSequenceConstructionOrAccessCompletion= ruleSequenceConstructionOrAccessCompletion EOF ; |
| public final EObject entryRuleSequenceConstructionOrAccessCompletion() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleSequenceConstructionOrAccessCompletion = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4675:2: (iv_ruleSequenceConstructionOrAccessCompletion= ruleSequenceConstructionOrAccessCompletion EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4676:2: iv_ruleSequenceConstructionOrAccessCompletion= ruleSequenceConstructionOrAccessCompletion EOF |
| { |
| newCompositeNode(grammarAccess.getSequenceConstructionOrAccessCompletionRule()); |
| pushFollow(FOLLOW_ruleSequenceConstructionOrAccessCompletion_in_entryRuleSequenceConstructionOrAccessCompletion9966); |
| iv_ruleSequenceConstructionOrAccessCompletion = ruleSequenceConstructionOrAccessCompletion(); |
| |
| state._fsp--; |
| |
| current = iv_ruleSequenceConstructionOrAccessCompletion; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleSequenceConstructionOrAccessCompletion9976); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleSequenceConstructionOrAccessCompletion" |
| |
| |
| // $ANTLR start "ruleSequenceConstructionOrAccessCompletion" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4683:1: ruleSequenceConstructionOrAccessCompletion returns [EObject current=null] : ( ( ( |
| // (lv_multiplicityIndicator_0_0= '[' ) ) ( ( (lv_accessCompletion_1_0= ruleAccessCompletion ) ) | ( (lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion ) ) ) ) | ( (lv_expression_3_0= ruleSequenceConstructionExpression ) ) ) ; |
| public final EObject ruleSequenceConstructionOrAccessCompletion() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_multiplicityIndicator_0_0 = null; |
| EObject lv_accessCompletion_1_0 = null; |
| |
| EObject lv_sequenceCompletion_2_0 = null; |
| |
| EObject lv_expression_3_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4686:28: ( ( ( ( (lv_multiplicityIndicator_0_0= '[' ) ) ( ( (lv_accessCompletion_1_0= ruleAccessCompletion |
| // ) ) | ( (lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion ) ) ) ) | ( (lv_expression_3_0= ruleSequenceConstructionExpression ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4687:1: ( ( ( (lv_multiplicityIndicator_0_0= '[' ) ) ( ( (lv_accessCompletion_1_0= ruleAccessCompletion ) |
| // ) | ( (lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion ) ) ) ) | ( (lv_expression_3_0= ruleSequenceConstructionExpression ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4687:1: ( ( ( (lv_multiplicityIndicator_0_0= '[' ) ) ( ( (lv_accessCompletion_1_0= |
| // ruleAccessCompletion ) ) | ( (lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion ) ) ) ) | ( (lv_expression_3_0= ruleSequenceConstructionExpression ) ) ) |
| int alt80 = 2; |
| int LA80_0 = input.LA(1); |
| |
| if ((LA80_0 == 18)) { |
| alt80 = 1; |
| } |
| else if ((LA80_0 == 63)) { |
| alt80 = 2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 80, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt80) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4687:2: ( ( (lv_multiplicityIndicator_0_0= '[' ) ) ( ( (lv_accessCompletion_1_0= ruleAccessCompletion |
| // ) ) | ( (lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion ) ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4687:2: ( ( (lv_multiplicityIndicator_0_0= '[' ) ) ( ( (lv_accessCompletion_1_0= |
| // ruleAccessCompletion ) ) | ( (lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4687:3: ( (lv_multiplicityIndicator_0_0= '[' ) ) ( ( (lv_accessCompletion_1_0= |
| // ruleAccessCompletion ) ) | ( (lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4687:3: ( (lv_multiplicityIndicator_0_0= '[' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4688:1: (lv_multiplicityIndicator_0_0= '[' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4688:1: (lv_multiplicityIndicator_0_0= '[' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4689:3: lv_multiplicityIndicator_0_0= '[' |
| { |
| lv_multiplicityIndicator_0_0 = (Token) match(input, 18, FOLLOW_18_in_ruleSequenceConstructionOrAccessCompletion10020); |
| |
| newLeafNode(lv_multiplicityIndicator_0_0, grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getMultiplicityIndicatorLeftSquareBracketKeyword_0_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getSequenceConstructionOrAccessCompletionRule()); |
| } |
| setWithLastConsumed(current, "multiplicityIndicator", true, "["); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4702:2: ( ( (lv_accessCompletion_1_0= ruleAccessCompletion ) ) | ( (lv_sequenceCompletion_2_0= |
| // rulePartialSequenceConstructionCompletion ) ) ) |
| int alt79 = 2; |
| int LA79_0 = input.LA(1); |
| |
| if (((LA79_0 >= RULE_ID && LA79_0 <= RULE_STRING) || LA79_0 == 15 || LA79_0 == 24 || (LA79_0 >= 27 && LA79_0 <= 28) || (LA79_0 >= 48 && LA79_0 <= 49) || (LA79_0 >= 52 && LA79_0 <= 54) || (LA79_0 >= 59 && LA79_0 <= 62) || (LA79_0 >= 93 && LA79_0 <= 94))) { |
| alt79 = 1; |
| } |
| else if ((LA79_0 == 19)) { |
| alt79 = 2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 79, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt79) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4702:3: ( (lv_accessCompletion_1_0= ruleAccessCompletion ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4702:3: ( (lv_accessCompletion_1_0= ruleAccessCompletion ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4703:1: (lv_accessCompletion_1_0= ruleAccessCompletion ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4703:1: (lv_accessCompletion_1_0= ruleAccessCompletion ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4704:3: lv_accessCompletion_1_0= ruleAccessCompletion |
| { |
| |
| newCompositeNode(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getAccessCompletionAccessCompletionParserRuleCall_0_1_0_0()); |
| |
| pushFollow(FOLLOW_ruleAccessCompletion_in_ruleSequenceConstructionOrAccessCompletion10055); |
| lv_accessCompletion_1_0 = ruleAccessCompletion(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSequenceConstructionOrAccessCompletionRule()); |
| } |
| set( |
| current, |
| "accessCompletion", |
| lv_accessCompletion_1_0, |
| "AccessCompletion"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4721:6: ( (lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4721:6: ( (lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4722:1: (lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4722:1: (lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4723:3: lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion |
| { |
| |
| newCompositeNode(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getSequenceCompletionPartialSequenceConstructionCompletionParserRuleCall_0_1_1_0()); |
| |
| pushFollow(FOLLOW_rulePartialSequenceConstructionCompletion_in_ruleSequenceConstructionOrAccessCompletion10082); |
| lv_sequenceCompletion_2_0 = rulePartialSequenceConstructionCompletion(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSequenceConstructionOrAccessCompletionRule()); |
| } |
| set( |
| current, |
| "sequenceCompletion", |
| lv_sequenceCompletion_2_0, |
| "PartialSequenceConstructionCompletion"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4740:6: ( (lv_expression_3_0= ruleSequenceConstructionExpression ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4740:6: ( (lv_expression_3_0= ruleSequenceConstructionExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4741:1: (lv_expression_3_0= ruleSequenceConstructionExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4741:1: (lv_expression_3_0= ruleSequenceConstructionExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4742:3: lv_expression_3_0= ruleSequenceConstructionExpression |
| { |
| |
| newCompositeNode(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getExpressionSequenceConstructionExpressionParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleSequenceConstructionExpression_in_ruleSequenceConstructionOrAccessCompletion10111); |
| lv_expression_3_0 = ruleSequenceConstructionExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSequenceConstructionOrAccessCompletionRule()); |
| } |
| set( |
| current, |
| "expression", |
| lv_expression_3_0, |
| "SequenceConstructionExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleSequenceConstructionOrAccessCompletion" |
| |
| |
| // $ANTLR start "entryRuleAccessCompletion" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4766:1: entryRuleAccessCompletion returns [EObject current=null] : iv_ruleAccessCompletion= ruleAccessCompletion |
| // EOF ; |
| public final EObject entryRuleAccessCompletion() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleAccessCompletion = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4767:2: (iv_ruleAccessCompletion= ruleAccessCompletion EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4768:2: iv_ruleAccessCompletion= ruleAccessCompletion EOF |
| { |
| newCompositeNode(grammarAccess.getAccessCompletionRule()); |
| pushFollow(FOLLOW_ruleAccessCompletion_in_entryRuleAccessCompletion10147); |
| iv_ruleAccessCompletion = ruleAccessCompletion(); |
| |
| state._fsp--; |
| |
| current = iv_ruleAccessCompletion; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleAccessCompletion10157); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleAccessCompletion" |
| |
| |
| // $ANTLR start "ruleAccessCompletion" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4775:1: ruleAccessCompletion returns [EObject current=null] : ( ( (lv_accessIndex_0_0= ruleExpression ) ) |
| // otherlv_1= ']' ) ; |
| public final EObject ruleAccessCompletion() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| EObject lv_accessIndex_0_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4778:28: ( ( ( (lv_accessIndex_0_0= ruleExpression ) ) otherlv_1= ']' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4779:1: ( ( (lv_accessIndex_0_0= ruleExpression ) ) otherlv_1= ']' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4779:1: ( ( (lv_accessIndex_0_0= ruleExpression ) ) otherlv_1= ']' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4779:2: ( (lv_accessIndex_0_0= ruleExpression ) ) otherlv_1= ']' |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4779:2: ( (lv_accessIndex_0_0= ruleExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4780:1: (lv_accessIndex_0_0= ruleExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4780:1: (lv_accessIndex_0_0= ruleExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4781:3: lv_accessIndex_0_0= ruleExpression |
| { |
| |
| newCompositeNode(grammarAccess.getAccessCompletionAccess().getAccessIndexExpressionParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleExpression_in_ruleAccessCompletion10203); |
| lv_accessIndex_0_0 = ruleExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getAccessCompletionRule()); |
| } |
| set( |
| current, |
| "accessIndex", |
| lv_accessIndex_0_0, |
| "Expression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_1 = (Token) match(input, 19, FOLLOW_19_in_ruleAccessCompletion10215); |
| |
| newLeafNode(otherlv_1, grammarAccess.getAccessCompletionAccess().getRightSquareBracketKeyword_1()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleAccessCompletion" |
| |
| |
| // $ANTLR start "entryRulePartialSequenceConstructionCompletion" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4809:1: entryRulePartialSequenceConstructionCompletion returns [EObject current=null] : |
| // iv_rulePartialSequenceConstructionCompletion= rulePartialSequenceConstructionCompletion EOF ; |
| public final EObject entryRulePartialSequenceConstructionCompletion() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_rulePartialSequenceConstructionCompletion = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4810:2: (iv_rulePartialSequenceConstructionCompletion= rulePartialSequenceConstructionCompletion EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4811:2: iv_rulePartialSequenceConstructionCompletion= rulePartialSequenceConstructionCompletion EOF |
| { |
| newCompositeNode(grammarAccess.getPartialSequenceConstructionCompletionRule()); |
| pushFollow(FOLLOW_rulePartialSequenceConstructionCompletion_in_entryRulePartialSequenceConstructionCompletion10251); |
| iv_rulePartialSequenceConstructionCompletion = rulePartialSequenceConstructionCompletion(); |
| |
| state._fsp--; |
| |
| current = iv_rulePartialSequenceConstructionCompletion; |
| match(input, EOF, FOLLOW_EOF_in_entryRulePartialSequenceConstructionCompletion10261); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRulePartialSequenceConstructionCompletion" |
| |
| |
| // $ANTLR start "rulePartialSequenceConstructionCompletion" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4818:1: rulePartialSequenceConstructionCompletion returns [EObject current=null] : (otherlv_0= ']' ( |
| // (lv_expression_1_0= ruleSequenceConstructionExpression ) ) ) ; |
| public final EObject rulePartialSequenceConstructionCompletion() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| EObject lv_expression_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4821:28: ( (otherlv_0= ']' ( (lv_expression_1_0= ruleSequenceConstructionExpression ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4822:1: (otherlv_0= ']' ( (lv_expression_1_0= ruleSequenceConstructionExpression ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4822:1: (otherlv_0= ']' ( (lv_expression_1_0= ruleSequenceConstructionExpression ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4822:3: otherlv_0= ']' ( (lv_expression_1_0= ruleSequenceConstructionExpression ) ) |
| { |
| otherlv_0 = (Token) match(input, 19, FOLLOW_19_in_rulePartialSequenceConstructionCompletion10298); |
| |
| newLeafNode(otherlv_0, grammarAccess.getPartialSequenceConstructionCompletionAccess().getRightSquareBracketKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4826:1: ( (lv_expression_1_0= ruleSequenceConstructionExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4827:1: (lv_expression_1_0= ruleSequenceConstructionExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4827:1: (lv_expression_1_0= ruleSequenceConstructionExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4828:3: lv_expression_1_0= ruleSequenceConstructionExpression |
| { |
| |
| newCompositeNode(grammarAccess.getPartialSequenceConstructionCompletionAccess().getExpressionSequenceConstructionExpressionParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleSequenceConstructionExpression_in_rulePartialSequenceConstructionCompletion10319); |
| lv_expression_1_0 = ruleSequenceConstructionExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getPartialSequenceConstructionCompletionRule()); |
| } |
| set( |
| current, |
| "expression", |
| lv_expression_1_0, |
| "SequenceConstructionExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "rulePartialSequenceConstructionCompletion" |
| |
| |
| // $ANTLR start "entryRuleSequenceConstructionCompletion" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4852:1: entryRuleSequenceConstructionCompletion returns [EObject current=null] : |
| // iv_ruleSequenceConstructionCompletion= ruleSequenceConstructionCompletion EOF ; |
| public final EObject entryRuleSequenceConstructionCompletion() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleSequenceConstructionCompletion = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4853:2: (iv_ruleSequenceConstructionCompletion= ruleSequenceConstructionCompletion EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4854:2: iv_ruleSequenceConstructionCompletion= ruleSequenceConstructionCompletion EOF |
| { |
| newCompositeNode(grammarAccess.getSequenceConstructionCompletionRule()); |
| pushFollow(FOLLOW_ruleSequenceConstructionCompletion_in_entryRuleSequenceConstructionCompletion10355); |
| iv_ruleSequenceConstructionCompletion = ruleSequenceConstructionCompletion(); |
| |
| state._fsp--; |
| |
| current = iv_ruleSequenceConstructionCompletion; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleSequenceConstructionCompletion10365); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleSequenceConstructionCompletion" |
| |
| |
| // $ANTLR start "ruleSequenceConstructionCompletion" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4861:1: ruleSequenceConstructionCompletion returns [EObject current=null] : ( ( ( (lv_multiplicityIndicator_0_0= |
| // '[' ) ) otherlv_1= ']' )? ( (lv_expression_2_0= ruleSequenceConstructionExpression ) ) ) ; |
| public final EObject ruleSequenceConstructionCompletion() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_multiplicityIndicator_0_0 = null; |
| Token otherlv_1 = null; |
| EObject lv_expression_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4864:28: ( ( ( ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']' )? ( (lv_expression_2_0= |
| // ruleSequenceConstructionExpression ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4865:1: ( ( ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']' )? ( (lv_expression_2_0= |
| // ruleSequenceConstructionExpression ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4865:1: ( ( ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']' )? ( (lv_expression_2_0= |
| // ruleSequenceConstructionExpression ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4865:2: ( ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']' )? ( (lv_expression_2_0= |
| // ruleSequenceConstructionExpression ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4865:2: ( ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']' )? |
| int alt81 = 2; |
| int LA81_0 = input.LA(1); |
| |
| if ((LA81_0 == 18)) { |
| alt81 = 1; |
| } |
| switch (alt81) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4865:3: ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']' |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4865:3: ( (lv_multiplicityIndicator_0_0= '[' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4866:1: (lv_multiplicityIndicator_0_0= '[' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4866:1: (lv_multiplicityIndicator_0_0= '[' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4867:3: lv_multiplicityIndicator_0_0= '[' |
| { |
| lv_multiplicityIndicator_0_0 = (Token) match(input, 18, FOLLOW_18_in_ruleSequenceConstructionCompletion10409); |
| |
| newLeafNode(lv_multiplicityIndicator_0_0, grammarAccess.getSequenceConstructionCompletionAccess().getMultiplicityIndicatorLeftSquareBracketKeyword_0_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getSequenceConstructionCompletionRule()); |
| } |
| setWithLastConsumed(current, "multiplicityIndicator", true, "["); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_1 = (Token) match(input, 19, FOLLOW_19_in_ruleSequenceConstructionCompletion10434); |
| |
| newLeafNode(otherlv_1, grammarAccess.getSequenceConstructionCompletionAccess().getRightSquareBracketKeyword_0_1()); |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4884:3: ( (lv_expression_2_0= ruleSequenceConstructionExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4885:1: (lv_expression_2_0= ruleSequenceConstructionExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4885:1: (lv_expression_2_0= ruleSequenceConstructionExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4886:3: lv_expression_2_0= ruleSequenceConstructionExpression |
| { |
| |
| newCompositeNode(grammarAccess.getSequenceConstructionCompletionAccess().getExpressionSequenceConstructionExpressionParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleSequenceConstructionExpression_in_ruleSequenceConstructionCompletion10457); |
| lv_expression_2_0 = ruleSequenceConstructionExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSequenceConstructionCompletionRule()); |
| } |
| set( |
| current, |
| "expression", |
| lv_expression_2_0, |
| "SequenceConstructionExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleSequenceConstructionCompletion" |
| |
| |
| // $ANTLR start "entryRuleSequenceConstructionExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4910:1: entryRuleSequenceConstructionExpression returns [EObject current=null] : |
| // iv_ruleSequenceConstructionExpression= ruleSequenceConstructionExpression EOF ; |
| public final EObject entryRuleSequenceConstructionExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleSequenceConstructionExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4911:2: (iv_ruleSequenceConstructionExpression= ruleSequenceConstructionExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4912:2: iv_ruleSequenceConstructionExpression= ruleSequenceConstructionExpression EOF |
| { |
| newCompositeNode(grammarAccess.getSequenceConstructionExpressionRule()); |
| pushFollow(FOLLOW_ruleSequenceConstructionExpression_in_entryRuleSequenceConstructionExpression10493); |
| iv_ruleSequenceConstructionExpression = ruleSequenceConstructionExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleSequenceConstructionExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleSequenceConstructionExpression10503); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleSequenceConstructionExpression" |
| |
| |
| // $ANTLR start "ruleSequenceConstructionExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4919:1: ruleSequenceConstructionExpression returns [EObject current=null] : (otherlv_0= '{' ( |
| // (lv_sequenceElement_1_0= ruleSequenceElement ) ) ( (otherlv_2= ',' ( (lv_sequenceElement_3_0= ruleSequenceElement ) ) )* | (otherlv_4= '..' ( (lv_rangeUpper_5_0= ruleExpression ) ) ) ) otherlv_6= '}' ) ; |
| public final EObject ruleSequenceConstructionExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token otherlv_2 = null; |
| Token otherlv_4 = null; |
| Token otherlv_6 = null; |
| EObject lv_sequenceElement_1_0 = null; |
| |
| EObject lv_sequenceElement_3_0 = null; |
| |
| EObject lv_rangeUpper_5_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4922:28: ( (otherlv_0= '{' ( (lv_sequenceElement_1_0= ruleSequenceElement ) ) ( (otherlv_2= ',' ( |
| // (lv_sequenceElement_3_0= ruleSequenceElement ) ) )* | (otherlv_4= '..' ( (lv_rangeUpper_5_0= ruleExpression ) ) ) ) otherlv_6= '}' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4923:1: (otherlv_0= '{' ( (lv_sequenceElement_1_0= ruleSequenceElement ) ) ( (otherlv_2= ',' ( |
| // (lv_sequenceElement_3_0= ruleSequenceElement ) ) )* | (otherlv_4= '..' ( (lv_rangeUpper_5_0= ruleExpression ) ) ) ) otherlv_6= '}' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4923:1: (otherlv_0= '{' ( (lv_sequenceElement_1_0= ruleSequenceElement ) ) ( (otherlv_2= ',' ( |
| // (lv_sequenceElement_3_0= ruleSequenceElement ) ) )* | (otherlv_4= '..' ( (lv_rangeUpper_5_0= ruleExpression ) ) ) ) otherlv_6= '}' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4923:3: otherlv_0= '{' ( (lv_sequenceElement_1_0= ruleSequenceElement ) ) ( (otherlv_2= ',' ( |
| // (lv_sequenceElement_3_0= ruleSequenceElement ) ) )* | (otherlv_4= '..' ( (lv_rangeUpper_5_0= ruleExpression ) ) ) ) otherlv_6= '}' |
| { |
| otherlv_0 = (Token) match(input, 63, FOLLOW_63_in_ruleSequenceConstructionExpression10540); |
| |
| newLeafNode(otherlv_0, grammarAccess.getSequenceConstructionExpressionAccess().getLeftCurlyBracketKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4927:1: ( (lv_sequenceElement_1_0= ruleSequenceElement ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4928:1: (lv_sequenceElement_1_0= ruleSequenceElement ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4928:1: (lv_sequenceElement_1_0= ruleSequenceElement ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4929:3: lv_sequenceElement_1_0= ruleSequenceElement |
| { |
| |
| newCompositeNode(grammarAccess.getSequenceConstructionExpressionAccess().getSequenceElementSequenceElementParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleSequenceElement_in_ruleSequenceConstructionExpression10561); |
| lv_sequenceElement_1_0 = ruleSequenceElement(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSequenceConstructionExpressionRule()); |
| } |
| add( |
| current, |
| "sequenceElement", |
| lv_sequenceElement_1_0, |
| "SequenceElement"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4945:2: ( (otherlv_2= ',' ( (lv_sequenceElement_3_0= ruleSequenceElement ) ) )* | (otherlv_4= '..' |
| // ( (lv_rangeUpper_5_0= ruleExpression ) ) ) ) |
| int alt83 = 2; |
| int LA83_0 = input.LA(1); |
| |
| if ((LA83_0 == 17 || LA83_0 == 64)) { |
| alt83 = 1; |
| } |
| else if ((LA83_0 == 23)) { |
| alt83 = 2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 83, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt83) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4945:3: (otherlv_2= ',' ( (lv_sequenceElement_3_0= ruleSequenceElement ) ) )* |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4945:3: (otherlv_2= ',' ( (lv_sequenceElement_3_0= ruleSequenceElement ) ) )* |
| loop82: do { |
| int alt82 = 2; |
| int LA82_0 = input.LA(1); |
| |
| if ((LA82_0 == 17)) { |
| alt82 = 1; |
| } |
| |
| |
| switch (alt82) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4945:5: otherlv_2= ',' ( (lv_sequenceElement_3_0= ruleSequenceElement ) ) |
| { |
| otherlv_2 = (Token) match(input, 17, FOLLOW_17_in_ruleSequenceConstructionExpression10575); |
| |
| newLeafNode(otherlv_2, grammarAccess.getSequenceConstructionExpressionAccess().getCommaKeyword_2_0_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4949:1: ( (lv_sequenceElement_3_0= ruleSequenceElement ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4950:1: (lv_sequenceElement_3_0= ruleSequenceElement ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4950:1: (lv_sequenceElement_3_0= ruleSequenceElement ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4951:3: lv_sequenceElement_3_0= ruleSequenceElement |
| { |
| |
| newCompositeNode(grammarAccess.getSequenceConstructionExpressionAccess().getSequenceElementSequenceElementParserRuleCall_2_0_1_0()); |
| |
| pushFollow(FOLLOW_ruleSequenceElement_in_ruleSequenceConstructionExpression10596); |
| lv_sequenceElement_3_0 = ruleSequenceElement(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSequenceConstructionExpressionRule()); |
| } |
| add( |
| current, |
| "sequenceElement", |
| lv_sequenceElement_3_0, |
| "SequenceElement"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default: |
| break loop82; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4968:6: (otherlv_4= '..' ( (lv_rangeUpper_5_0= ruleExpression ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4968:6: (otherlv_4= '..' ( (lv_rangeUpper_5_0= ruleExpression ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4968:8: otherlv_4= '..' ( (lv_rangeUpper_5_0= ruleExpression ) ) |
| { |
| otherlv_4 = (Token) match(input, 23, FOLLOW_23_in_ruleSequenceConstructionExpression10617); |
| |
| newLeafNode(otherlv_4, grammarAccess.getSequenceConstructionExpressionAccess().getFullStopFullStopKeyword_2_1_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4972:1: ( (lv_rangeUpper_5_0= ruleExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4973:1: (lv_rangeUpper_5_0= ruleExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4973:1: (lv_rangeUpper_5_0= ruleExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4974:3: lv_rangeUpper_5_0= ruleExpression |
| { |
| |
| newCompositeNode(grammarAccess.getSequenceConstructionExpressionAccess().getRangeUpperExpressionParserRuleCall_2_1_1_0()); |
| |
| pushFollow(FOLLOW_ruleExpression_in_ruleSequenceConstructionExpression10638); |
| lv_rangeUpper_5_0 = ruleExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSequenceConstructionExpressionRule()); |
| } |
| set( |
| current, |
| "rangeUpper", |
| lv_rangeUpper_5_0, |
| "Expression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_6 = (Token) match(input, 64, FOLLOW_64_in_ruleSequenceConstructionExpression10652); |
| |
| newLeafNode(otherlv_6, grammarAccess.getSequenceConstructionExpressionAccess().getRightCurlyBracketKeyword_3()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleSequenceConstructionExpression" |
| |
| |
| // $ANTLR start "entryRuleSequenceElement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5002:1: entryRuleSequenceElement returns [EObject current=null] : iv_ruleSequenceElement= ruleSequenceElement EOF |
| // ; |
| public final EObject entryRuleSequenceElement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleSequenceElement = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5003:2: (iv_ruleSequenceElement= ruleSequenceElement EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5004:2: iv_ruleSequenceElement= ruleSequenceElement EOF |
| { |
| newCompositeNode(grammarAccess.getSequenceElementRule()); |
| pushFollow(FOLLOW_ruleSequenceElement_in_entryRuleSequenceElement10688); |
| iv_ruleSequenceElement = ruleSequenceElement(); |
| |
| state._fsp--; |
| |
| current = iv_ruleSequenceElement; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleSequenceElement10698); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleSequenceElement" |
| |
| |
| // $ANTLR start "ruleSequenceElement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5011:1: ruleSequenceElement returns [EObject current=null] : (this_Expression_0= ruleExpression | |
| // this_SequenceConstructionExpression_1= ruleSequenceConstructionExpression ) ; |
| public final EObject ruleSequenceElement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_Expression_0 = null; |
| |
| EObject this_SequenceConstructionExpression_1 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5014:28: ( (this_Expression_0= ruleExpression | this_SequenceConstructionExpression_1= |
| // ruleSequenceConstructionExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5015:1: (this_Expression_0= ruleExpression | this_SequenceConstructionExpression_1= |
| // ruleSequenceConstructionExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5015:1: (this_Expression_0= ruleExpression | this_SequenceConstructionExpression_1= |
| // ruleSequenceConstructionExpression ) |
| int alt84 = 2; |
| int LA84_0 = input.LA(1); |
| |
| if (((LA84_0 >= RULE_ID && LA84_0 <= RULE_STRING) || LA84_0 == 15 || LA84_0 == 24 || (LA84_0 >= 27 && LA84_0 <= 28) || (LA84_0 >= 48 && LA84_0 <= 49) || (LA84_0 >= 52 && LA84_0 <= 54) || (LA84_0 >= 59 && LA84_0 <= 62) || (LA84_0 >= 93 && LA84_0 <= 94))) { |
| alt84 = 1; |
| } |
| else if ((LA84_0 == 63)) { |
| alt84 = 2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 84, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt84) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5016:5: this_Expression_0= ruleExpression |
| { |
| |
| newCompositeNode(grammarAccess.getSequenceElementAccess().getExpressionParserRuleCall_0()); |
| |
| pushFollow(FOLLOW_ruleExpression_in_ruleSequenceElement10745); |
| this_Expression_0 = ruleExpression(); |
| |
| state._fsp--; |
| |
| |
| current = this_Expression_0; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5026:5: this_SequenceConstructionExpression_1= ruleSequenceConstructionExpression |
| { |
| |
| newCompositeNode(grammarAccess.getSequenceElementAccess().getSequenceConstructionExpressionParserRuleCall_1()); |
| |
| pushFollow(FOLLOW_ruleSequenceConstructionExpression_in_ruleSequenceElement10772); |
| this_SequenceConstructionExpression_1 = ruleSequenceConstructionExpression(); |
| |
| state._fsp--; |
| |
| |
| current = this_SequenceConstructionExpression_1; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleSequenceElement" |
| |
| |
| // $ANTLR start "entryRuleClassExtentExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5042:1: entryRuleClassExtentExpression returns [EObject current=null] : iv_ruleClassExtentExpression= |
| // ruleClassExtentExpression EOF ; |
| public final EObject entryRuleClassExtentExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleClassExtentExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5043:2: (iv_ruleClassExtentExpression= ruleClassExtentExpression EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5044:2: iv_ruleClassExtentExpression= ruleClassExtentExpression EOF |
| { |
| newCompositeNode(grammarAccess.getClassExtentExpressionRule()); |
| pushFollow(FOLLOW_ruleClassExtentExpression_in_entryRuleClassExtentExpression10807); |
| iv_ruleClassExtentExpression = ruleClassExtentExpression(); |
| |
| state._fsp--; |
| |
| current = iv_ruleClassExtentExpression; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleClassExtentExpression10817); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleClassExtentExpression" |
| |
| |
| // $ANTLR start "ruleClassExtentExpression" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5051:1: ruleClassExtentExpression returns [EObject current=null] : ( () otherlv_1= '.' otherlv_2= 'allInstances' |
| // otherlv_3= '(' otherlv_4= ')' ) ; |
| public final EObject ruleClassExtentExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| Token otherlv_2 = null; |
| Token otherlv_3 = null; |
| Token otherlv_4 = null; |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5054:28: ( ( () otherlv_1= '.' otherlv_2= 'allInstances' otherlv_3= '(' otherlv_4= ')' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5055:1: ( () otherlv_1= '.' otherlv_2= 'allInstances' otherlv_3= '(' otherlv_4= ')' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5055:1: ( () otherlv_1= '.' otherlv_2= 'allInstances' otherlv_3= '(' otherlv_4= ')' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5055:2: () otherlv_1= '.' otherlv_2= 'allInstances' otherlv_3= '(' otherlv_4= ')' |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5055:2: () |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5056:5: |
| { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getClassExtentExpressionAccess().getClassExtentExpressionAction_0(), |
| current); |
| |
| |
| } |
| |
| otherlv_1 = (Token) match(input, 55, FOLLOW_55_in_ruleClassExtentExpression10863); |
| |
| newLeafNode(otherlv_1, grammarAccess.getClassExtentExpressionAccess().getFullStopKeyword_1()); |
| |
| otherlv_2 = (Token) match(input, 65, FOLLOW_65_in_ruleClassExtentExpression10875); |
| |
| newLeafNode(otherlv_2, grammarAccess.getClassExtentExpressionAccess().getAllInstancesKeyword_2()); |
| |
| otherlv_3 = (Token) match(input, 15, FOLLOW_15_in_ruleClassExtentExpression10887); |
| |
| newLeafNode(otherlv_3, grammarAccess.getClassExtentExpressionAccess().getLeftParenthesisKeyword_3()); |
| |
| otherlv_4 = (Token) match(input, 16, FOLLOW_16_in_ruleClassExtentExpression10899); |
| |
| newLeafNode(otherlv_4, grammarAccess.getClassExtentExpressionAccess().getRightParenthesisKeyword_4()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleClassExtentExpression" |
| |
| |
| // $ANTLR start "entryRuleBlock" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5085:1: entryRuleBlock returns [EObject current=null] : iv_ruleBlock= ruleBlock EOF ; |
| public final EObject entryRuleBlock() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleBlock = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5086:2: (iv_ruleBlock= ruleBlock EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5087:2: iv_ruleBlock= ruleBlock EOF |
| { |
| newCompositeNode(grammarAccess.getBlockRule()); |
| pushFollow(FOLLOW_ruleBlock_in_entryRuleBlock10935); |
| iv_ruleBlock = ruleBlock(); |
| |
| state._fsp--; |
| |
| current = iv_ruleBlock; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleBlock10945); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleBlock" |
| |
| |
| // $ANTLR start "ruleBlock" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5094:1: ruleBlock returns [EObject current=null] : (otherlv_0= '{' () ( (lv_sequence_2_0= ruleStatementSequence ) |
| // )? otherlv_3= '}' ) ; |
| public final EObject ruleBlock() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token otherlv_3 = null; |
| EObject lv_sequence_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5097:28: ( (otherlv_0= '{' () ( (lv_sequence_2_0= ruleStatementSequence ) )? otherlv_3= '}' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5098:1: (otherlv_0= '{' () ( (lv_sequence_2_0= ruleStatementSequence ) )? otherlv_3= '}' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5098:1: (otherlv_0= '{' () ( (lv_sequence_2_0= ruleStatementSequence ) )? otherlv_3= '}' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5098:3: otherlv_0= '{' () ( (lv_sequence_2_0= ruleStatementSequence ) )? otherlv_3= '}' |
| { |
| otherlv_0 = (Token) match(input, 63, FOLLOW_63_in_ruleBlock10982); |
| |
| newLeafNode(otherlv_0, grammarAccess.getBlockAccess().getLeftCurlyBracketKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5102:1: () |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5103:5: |
| { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getBlockAccess().getBlockAction_1(), |
| current); |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5108:2: ( (lv_sequence_2_0= ruleStatementSequence ) )? |
| int alt85 = 2; |
| int LA85_0 = input.LA(1); |
| |
| if ((LA85_0 == RULE_ID || (LA85_0 >= RULE_ML_COMMENT && LA85_0 <= RULE_SL_COMMENT) || LA85_0 == 12 || (LA85_0 >= 27 && LA85_0 <= 28) || (LA85_0 >= 60 && LA85_0 <= 63) || LA85_0 == 66 || (LA85_0 >= 69 && LA85_0 <= 70) || LA85_0 == 72 |
| || LA85_0 == 75 || (LA85_0 >= 78 && LA85_0 <= 80) || (LA85_0 >= 82 && LA85_0 <= 85))) { |
| alt85 = 1; |
| } |
| switch (alt85) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5109:1: (lv_sequence_2_0= ruleStatementSequence ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5109:1: (lv_sequence_2_0= ruleStatementSequence ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5110:3: lv_sequence_2_0= ruleStatementSequence |
| { |
| |
| newCompositeNode(grammarAccess.getBlockAccess().getSequenceStatementSequenceParserRuleCall_2_0()); |
| |
| pushFollow(FOLLOW_ruleStatementSequence_in_ruleBlock11012); |
| lv_sequence_2_0 = ruleStatementSequence(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getBlockRule()); |
| } |
| set( |
| current, |
| "sequence", |
| lv_sequence_2_0, |
| "StatementSequence"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_3 = (Token) match(input, 64, FOLLOW_64_in_ruleBlock11025); |
| |
| newLeafNode(otherlv_3, grammarAccess.getBlockAccess().getRightCurlyBracketKeyword_3()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleBlock" |
| |
| |
| // $ANTLR start "entryRuleStatementSequence" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5138:1: entryRuleStatementSequence returns [EObject current=null] : iv_ruleStatementSequence= |
| // ruleStatementSequence EOF ; |
| public final EObject entryRuleStatementSequence() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleStatementSequence = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5139:2: (iv_ruleStatementSequence= ruleStatementSequence EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5140:2: iv_ruleStatementSequence= ruleStatementSequence EOF |
| { |
| newCompositeNode(grammarAccess.getStatementSequenceRule()); |
| pushFollow(FOLLOW_ruleStatementSequence_in_entryRuleStatementSequence11061); |
| iv_ruleStatementSequence = ruleStatementSequence(); |
| |
| state._fsp--; |
| |
| current = iv_ruleStatementSequence; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleStatementSequence11071); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleStatementSequence" |
| |
| |
| // $ANTLR start "ruleStatementSequence" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5147:1: ruleStatementSequence returns [EObject current=null] : ( (lv_statements_0_0= ruleDocumentedStatement ) )+ |
| // ; |
| public final EObject ruleStatementSequence() throws RecognitionException { |
| EObject current = null; |
| |
| EObject lv_statements_0_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5150:28: ( ( (lv_statements_0_0= ruleDocumentedStatement ) )+ ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5151:1: ( (lv_statements_0_0= ruleDocumentedStatement ) )+ |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5151:1: ( (lv_statements_0_0= ruleDocumentedStatement ) )+ |
| int cnt86 = 0; |
| loop86: do { |
| int alt86 = 2; |
| int LA86_0 = input.LA(1); |
| |
| if ((LA86_0 == RULE_ID || (LA86_0 >= RULE_ML_COMMENT && LA86_0 <= RULE_SL_COMMENT) || LA86_0 == 12 || (LA86_0 >= 27 && LA86_0 <= 28) || (LA86_0 >= 60 && LA86_0 <= 63) || LA86_0 == 66 || (LA86_0 >= 69 && LA86_0 <= 70) || LA86_0 == 72 |
| || LA86_0 == 75 || (LA86_0 >= 78 && LA86_0 <= 80) || (LA86_0 >= 82 && LA86_0 <= 85))) { |
| alt86 = 1; |
| } |
| |
| |
| switch (alt86) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5152:1: (lv_statements_0_0= ruleDocumentedStatement ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5152:1: (lv_statements_0_0= ruleDocumentedStatement ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5153:3: lv_statements_0_0= ruleDocumentedStatement |
| { |
| |
| newCompositeNode(grammarAccess.getStatementSequenceAccess().getStatementsDocumentedStatementParserRuleCall_0()); |
| |
| pushFollow(FOLLOW_ruleDocumentedStatement_in_ruleStatementSequence11116); |
| lv_statements_0_0 = ruleDocumentedStatement(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getStatementSequenceRule()); |
| } |
| add( |
| current, |
| "statements", |
| lv_statements_0_0, |
| "DocumentedStatement"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default: |
| if (cnt86 >= 1) { |
| break loop86; |
| } |
| EarlyExitException eee = |
| new EarlyExitException(86, input); |
| throw eee; |
| } |
| cnt86++; |
| } while (true); |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleStatementSequence" |
| |
| |
| // $ANTLR start "entryRuleDocumentedStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5177:1: entryRuleDocumentedStatement returns [EObject current=null] : iv_ruleDocumentedStatement= |
| // ruleDocumentedStatement EOF ; |
| public final EObject entryRuleDocumentedStatement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDocumentedStatement = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5178:2: (iv_ruleDocumentedStatement= ruleDocumentedStatement EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5179:2: iv_ruleDocumentedStatement= ruleDocumentedStatement EOF |
| { |
| newCompositeNode(grammarAccess.getDocumentedStatementRule()); |
| pushFollow(FOLLOW_ruleDocumentedStatement_in_entryRuleDocumentedStatement11152); |
| iv_ruleDocumentedStatement = ruleDocumentedStatement(); |
| |
| state._fsp--; |
| |
| current = iv_ruleDocumentedStatement; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleDocumentedStatement11162); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleDocumentedStatement" |
| |
| |
| // $ANTLR start "ruleDocumentedStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5186:1: ruleDocumentedStatement returns [EObject current=null] : ( ( ( (lv_comment_0_1= RULE_ML_COMMENT | |
| // lv_comment_0_2= RULE_SL_COMMENT ) ) )? ( (lv_statement_1_0= ruleStatement ) ) ) ; |
| public final EObject ruleDocumentedStatement() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_comment_0_1 = null; |
| Token lv_comment_0_2 = null; |
| EObject lv_statement_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5189:28: ( ( ( ( (lv_comment_0_1= RULE_ML_COMMENT | lv_comment_0_2= RULE_SL_COMMENT ) ) )? ( |
| // (lv_statement_1_0= ruleStatement ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5190:1: ( ( ( (lv_comment_0_1= RULE_ML_COMMENT | lv_comment_0_2= RULE_SL_COMMENT ) ) )? ( |
| // (lv_statement_1_0= ruleStatement ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5190:1: ( ( ( (lv_comment_0_1= RULE_ML_COMMENT | lv_comment_0_2= RULE_SL_COMMENT ) ) )? ( |
| // (lv_statement_1_0= ruleStatement ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5190:2: ( ( (lv_comment_0_1= RULE_ML_COMMENT | lv_comment_0_2= RULE_SL_COMMENT ) ) )? ( |
| // (lv_statement_1_0= ruleStatement ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5190:2: ( ( (lv_comment_0_1= RULE_ML_COMMENT | lv_comment_0_2= RULE_SL_COMMENT ) ) )? |
| int alt88 = 2; |
| int LA88_0 = input.LA(1); |
| |
| if (((LA88_0 >= RULE_ML_COMMENT && LA88_0 <= RULE_SL_COMMENT))) { |
| alt88 = 1; |
| } |
| switch (alt88) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5191:1: ( (lv_comment_0_1= RULE_ML_COMMENT | lv_comment_0_2= RULE_SL_COMMENT ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5191:1: ( (lv_comment_0_1= RULE_ML_COMMENT | lv_comment_0_2= RULE_SL_COMMENT ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5192:1: (lv_comment_0_1= RULE_ML_COMMENT | lv_comment_0_2= RULE_SL_COMMENT ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5192:1: (lv_comment_0_1= RULE_ML_COMMENT | lv_comment_0_2= RULE_SL_COMMENT ) |
| int alt87 = 2; |
| int LA87_0 = input.LA(1); |
| |
| if ((LA87_0 == RULE_ML_COMMENT)) { |
| alt87 = 1; |
| } |
| else if ((LA87_0 == RULE_SL_COMMENT)) { |
| alt87 = 2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 87, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt87) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5193:3: lv_comment_0_1= RULE_ML_COMMENT |
| { |
| lv_comment_0_1 = (Token) match(input, RULE_ML_COMMENT, FOLLOW_RULE_ML_COMMENT_in_ruleDocumentedStatement11206); |
| |
| newLeafNode(lv_comment_0_1, grammarAccess.getDocumentedStatementAccess().getCommentML_COMMENTTerminalRuleCall_0_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getDocumentedStatementRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "comment", |
| lv_comment_0_1, |
| "ML_COMMENT"); |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5208:8: lv_comment_0_2= RULE_SL_COMMENT |
| { |
| lv_comment_0_2 = (Token) match(input, RULE_SL_COMMENT, FOLLOW_RULE_SL_COMMENT_in_ruleDocumentedStatement11226); |
| |
| newLeafNode(lv_comment_0_2, grammarAccess.getDocumentedStatementAccess().getCommentSL_COMMENTTerminalRuleCall_0_0_1()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getDocumentedStatementRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "comment", |
| lv_comment_0_2, |
| "SL_COMMENT"); |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5226:3: ( (lv_statement_1_0= ruleStatement ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5227:1: (lv_statement_1_0= ruleStatement ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5227:1: (lv_statement_1_0= ruleStatement ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5228:3: lv_statement_1_0= ruleStatement |
| { |
| |
| newCompositeNode(grammarAccess.getDocumentedStatementAccess().getStatementStatementParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleStatement_in_ruleDocumentedStatement11256); |
| lv_statement_1_0 = ruleStatement(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getDocumentedStatementRule()); |
| } |
| set( |
| current, |
| "statement", |
| lv_statement_1_0, |
| "Statement"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleDocumentedStatement" |
| |
| |
| // $ANTLR start "entryRuleInlineStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5252:1: entryRuleInlineStatement returns [EObject current=null] : iv_ruleInlineStatement= ruleInlineStatement EOF |
| // ; |
| public final EObject entryRuleInlineStatement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleInlineStatement = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5253:2: (iv_ruleInlineStatement= ruleInlineStatement EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5254:2: iv_ruleInlineStatement= ruleInlineStatement EOF |
| { |
| newCompositeNode(grammarAccess.getInlineStatementRule()); |
| pushFollow(FOLLOW_ruleInlineStatement_in_entryRuleInlineStatement11292); |
| iv_ruleInlineStatement = ruleInlineStatement(); |
| |
| state._fsp--; |
| |
| current = iv_ruleInlineStatement; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleInlineStatement11302); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleInlineStatement" |
| |
| |
| // $ANTLR start "ruleInlineStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5261:1: ruleInlineStatement returns [EObject current=null] : (otherlv_0= '/*@' otherlv_1= 'inline' otherlv_2= '(' |
| // ( (lv_langageName_3_0= RULE_ID ) ) otherlv_4= ')' ( (lv_body_5_0= RULE_STRING ) ) otherlv_6= '*/' ) ; |
| public final EObject ruleInlineStatement() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token otherlv_1 = null; |
| Token otherlv_2 = null; |
| Token lv_langageName_3_0 = null; |
| Token otherlv_4 = null; |
| Token lv_body_5_0 = null; |
| Token otherlv_6 = null; |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5264:28: ( (otherlv_0= '/*@' otherlv_1= 'inline' otherlv_2= '(' ( (lv_langageName_3_0= RULE_ID ) ) |
| // otherlv_4= ')' ( (lv_body_5_0= RULE_STRING ) ) otherlv_6= '*/' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5265:1: (otherlv_0= '/*@' otherlv_1= 'inline' otherlv_2= '(' ( (lv_langageName_3_0= RULE_ID ) ) otherlv_4= |
| // ')' ( (lv_body_5_0= RULE_STRING ) ) otherlv_6= '*/' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5265:1: (otherlv_0= '/*@' otherlv_1= 'inline' otherlv_2= '(' ( (lv_langageName_3_0= RULE_ID ) ) |
| // otherlv_4= ')' ( (lv_body_5_0= RULE_STRING ) ) otherlv_6= '*/' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5265:3: otherlv_0= '/*@' otherlv_1= 'inline' otherlv_2= '(' ( (lv_langageName_3_0= RULE_ID ) ) |
| // otherlv_4= ')' ( (lv_body_5_0= RULE_STRING ) ) otherlv_6= '*/' |
| { |
| otherlv_0 = (Token) match(input, 66, FOLLOW_66_in_ruleInlineStatement11339); |
| |
| newLeafNode(otherlv_0, grammarAccess.getInlineStatementAccess().getSolidusAsteriskCommercialAtKeyword_0()); |
| |
| otherlv_1 = (Token) match(input, 67, FOLLOW_67_in_ruleInlineStatement11351); |
| |
| newLeafNode(otherlv_1, grammarAccess.getInlineStatementAccess().getInlineKeyword_1()); |
| |
| otherlv_2 = (Token) match(input, 15, FOLLOW_15_in_ruleInlineStatement11363); |
| |
| newLeafNode(otherlv_2, grammarAccess.getInlineStatementAccess().getLeftParenthesisKeyword_2()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5277:1: ( (lv_langageName_3_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5278:1: (lv_langageName_3_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5278:1: (lv_langageName_3_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5279:3: lv_langageName_3_0= RULE_ID |
| { |
| lv_langageName_3_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleInlineStatement11380); |
| |
| newLeafNode(lv_langageName_3_0, grammarAccess.getInlineStatementAccess().getLangageNameIDTerminalRuleCall_3_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getInlineStatementRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "langageName", |
| lv_langageName_3_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_4 = (Token) match(input, 16, FOLLOW_16_in_ruleInlineStatement11397); |
| |
| newLeafNode(otherlv_4, grammarAccess.getInlineStatementAccess().getRightParenthesisKeyword_4()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5299:1: ( (lv_body_5_0= RULE_STRING ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5300:1: (lv_body_5_0= RULE_STRING ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5300:1: (lv_body_5_0= RULE_STRING ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5301:3: lv_body_5_0= RULE_STRING |
| { |
| lv_body_5_0 = (Token) match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleInlineStatement11414); |
| |
| newLeafNode(lv_body_5_0, grammarAccess.getInlineStatementAccess().getBodySTRINGTerminalRuleCall_5_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getInlineStatementRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "body", |
| lv_body_5_0, |
| "STRING"); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_6 = (Token) match(input, 68, FOLLOW_68_in_ruleInlineStatement11431); |
| |
| newLeafNode(otherlv_6, grammarAccess.getInlineStatementAccess().getAsteriskSolidusKeyword_6()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleInlineStatement" |
| |
| |
| // $ANTLR start "entryRuleAnnotatedStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5329:1: entryRuleAnnotatedStatement returns [EObject current=null] : iv_ruleAnnotatedStatement= |
| // ruleAnnotatedStatement EOF ; |
| public final EObject entryRuleAnnotatedStatement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleAnnotatedStatement = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5330:2: (iv_ruleAnnotatedStatement= ruleAnnotatedStatement EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5331:2: iv_ruleAnnotatedStatement= ruleAnnotatedStatement EOF |
| { |
| newCompositeNode(grammarAccess.getAnnotatedStatementRule()); |
| pushFollow(FOLLOW_ruleAnnotatedStatement_in_entryRuleAnnotatedStatement11467); |
| iv_ruleAnnotatedStatement = ruleAnnotatedStatement(); |
| |
| state._fsp--; |
| |
| current = iv_ruleAnnotatedStatement; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleAnnotatedStatement11477); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleAnnotatedStatement" |
| |
| |
| // $ANTLR start "ruleAnnotatedStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5338:1: ruleAnnotatedStatement returns [EObject current=null] : (otherlv_0= '//@' ( (lv_annotation_1_0= |
| // ruleAnnotation ) ) ( (lv_statement_2_0= ruleStatement ) ) ) ; |
| public final EObject ruleAnnotatedStatement() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| EObject lv_annotation_1_0 = null; |
| |
| EObject lv_statement_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5341:28: ( (otherlv_0= '//@' ( (lv_annotation_1_0= ruleAnnotation ) ) ( (lv_statement_2_0= ruleStatement ) |
| // ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5342:1: (otherlv_0= '//@' ( (lv_annotation_1_0= ruleAnnotation ) ) ( (lv_statement_2_0= ruleStatement ) ) |
| // ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5342:1: (otherlv_0= '//@' ( (lv_annotation_1_0= ruleAnnotation ) ) ( (lv_statement_2_0= ruleStatement |
| // ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5342:3: otherlv_0= '//@' ( (lv_annotation_1_0= ruleAnnotation ) ) ( (lv_statement_2_0= ruleStatement ) |
| // ) |
| { |
| otherlv_0 = (Token) match(input, 69, FOLLOW_69_in_ruleAnnotatedStatement11514); |
| |
| newLeafNode(otherlv_0, grammarAccess.getAnnotatedStatementAccess().getSolidusSolidusCommercialAtKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5346:1: ( (lv_annotation_1_0= ruleAnnotation ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5347:1: (lv_annotation_1_0= ruleAnnotation ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5347:1: (lv_annotation_1_0= ruleAnnotation ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5348:3: lv_annotation_1_0= ruleAnnotation |
| { |
| |
| newCompositeNode(grammarAccess.getAnnotatedStatementAccess().getAnnotationAnnotationParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleAnnotation_in_ruleAnnotatedStatement11535); |
| lv_annotation_1_0 = ruleAnnotation(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getAnnotatedStatementRule()); |
| } |
| set( |
| current, |
| "annotation", |
| lv_annotation_1_0, |
| "Annotation"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5364:2: ( (lv_statement_2_0= ruleStatement ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5365:1: (lv_statement_2_0= ruleStatement ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5365:1: (lv_statement_2_0= ruleStatement ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5366:3: lv_statement_2_0= ruleStatement |
| { |
| |
| newCompositeNode(grammarAccess.getAnnotatedStatementAccess().getStatementStatementParserRuleCall_2_0()); |
| |
| pushFollow(FOLLOW_ruleStatement_in_ruleAnnotatedStatement11556); |
| lv_statement_2_0 = ruleStatement(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getAnnotatedStatementRule()); |
| } |
| set( |
| current, |
| "statement", |
| lv_statement_2_0, |
| "Statement"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleAnnotatedStatement" |
| |
| |
| // $ANTLR start "entryRuleStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5390:1: entryRuleStatement returns [EObject current=null] : iv_ruleStatement= ruleStatement EOF ; |
| public final EObject entryRuleStatement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleStatement = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5391:2: (iv_ruleStatement= ruleStatement EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5392:2: iv_ruleStatement= ruleStatement EOF |
| { |
| newCompositeNode(grammarAccess.getStatementRule()); |
| pushFollow(FOLLOW_ruleStatement_in_entryRuleStatement11592); |
| iv_ruleStatement = ruleStatement(); |
| |
| state._fsp--; |
| |
| current = iv_ruleStatement; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleStatement11602); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleStatement" |
| |
| |
| // $ANTLR start "ruleStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5399:1: ruleStatement returns [EObject current=null] : (this_AnnotatedStatement_0= ruleAnnotatedStatement | |
| // this_InlineStatement_1= ruleInlineStatement | this_BlockStatement_2= ruleBlockStatement | this_EmptyStatement_3= ruleEmptyStatement | this_LocalNameDeclarationStatement_4= ruleLocalNameDeclarationStatement | this_IfStatement_5= ruleIfStatement | |
| // this_SwitchStatement_6= ruleSwitchStatement | this_WhileStatement_7= ruleWhileStatement | this_DoStatement_8= ruleDoStatement | this_ForStatement_9= ruleForStatement | this_BreakStatement_10= ruleBreakStatement | this_ReturnStatement_11= |
| // ruleReturnStatement | this_AcceptStatement_12= ruleAcceptStatement | this_ClassifyStatement_13= ruleClassifyStatement | this_InvocationOrAssignementOrDeclarationStatement_14= ruleInvocationOrAssignementOrDeclarationStatement | |
| // this_SuperInvocationStatement_15= ruleSuperInvocationStatement | this_ThisInvocationStatement_16= ruleThisInvocationStatement | this_InstanceCreationInvocationStatement_17= ruleInstanceCreationInvocationStatement ) ; |
| public final EObject ruleStatement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_AnnotatedStatement_0 = null; |
| |
| EObject this_InlineStatement_1 = null; |
| |
| EObject this_BlockStatement_2 = null; |
| |
| EObject this_EmptyStatement_3 = null; |
| |
| EObject this_LocalNameDeclarationStatement_4 = null; |
| |
| EObject this_IfStatement_5 = null; |
| |
| EObject this_SwitchStatement_6 = null; |
| |
| EObject this_WhileStatement_7 = null; |
| |
| EObject this_DoStatement_8 = null; |
| |
| EObject this_ForStatement_9 = null; |
| |
| EObject this_BreakStatement_10 = null; |
| |
| EObject this_ReturnStatement_11 = null; |
| |
| EObject this_AcceptStatement_12 = null; |
| |
| EObject this_ClassifyStatement_13 = null; |
| |
| EObject this_InvocationOrAssignementOrDeclarationStatement_14 = null; |
| |
| EObject this_SuperInvocationStatement_15 = null; |
| |
| EObject this_ThisInvocationStatement_16 = null; |
| |
| EObject this_InstanceCreationInvocationStatement_17 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5402:28: ( (this_AnnotatedStatement_0= ruleAnnotatedStatement | this_InlineStatement_1= |
| // ruleInlineStatement | this_BlockStatement_2= ruleBlockStatement | this_EmptyStatement_3= ruleEmptyStatement | this_LocalNameDeclarationStatement_4= ruleLocalNameDeclarationStatement | this_IfStatement_5= ruleIfStatement | this_SwitchStatement_6= |
| // ruleSwitchStatement | this_WhileStatement_7= ruleWhileStatement | this_DoStatement_8= ruleDoStatement | this_ForStatement_9= ruleForStatement | this_BreakStatement_10= ruleBreakStatement | this_ReturnStatement_11= ruleReturnStatement | |
| // this_AcceptStatement_12= ruleAcceptStatement | this_ClassifyStatement_13= ruleClassifyStatement | this_InvocationOrAssignementOrDeclarationStatement_14= ruleInvocationOrAssignementOrDeclarationStatement | this_SuperInvocationStatement_15= |
| // ruleSuperInvocationStatement | this_ThisInvocationStatement_16= ruleThisInvocationStatement | this_InstanceCreationInvocationStatement_17= ruleInstanceCreationInvocationStatement ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5403:1: (this_AnnotatedStatement_0= ruleAnnotatedStatement | this_InlineStatement_1= ruleInlineStatement | |
| // this_BlockStatement_2= ruleBlockStatement | this_EmptyStatement_3= ruleEmptyStatement | this_LocalNameDeclarationStatement_4= ruleLocalNameDeclarationStatement | this_IfStatement_5= ruleIfStatement | this_SwitchStatement_6= ruleSwitchStatement | |
| // this_WhileStatement_7= ruleWhileStatement | this_DoStatement_8= ruleDoStatement | this_ForStatement_9= ruleForStatement | this_BreakStatement_10= ruleBreakStatement | this_ReturnStatement_11= ruleReturnStatement | this_AcceptStatement_12= |
| // ruleAcceptStatement | this_ClassifyStatement_13= ruleClassifyStatement | this_InvocationOrAssignementOrDeclarationStatement_14= ruleInvocationOrAssignementOrDeclarationStatement | this_SuperInvocationStatement_15= ruleSuperInvocationStatement | |
| // this_ThisInvocationStatement_16= ruleThisInvocationStatement | this_InstanceCreationInvocationStatement_17= ruleInstanceCreationInvocationStatement ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5403:1: (this_AnnotatedStatement_0= ruleAnnotatedStatement | this_InlineStatement_1= |
| // ruleInlineStatement | this_BlockStatement_2= ruleBlockStatement | this_EmptyStatement_3= ruleEmptyStatement | this_LocalNameDeclarationStatement_4= ruleLocalNameDeclarationStatement | this_IfStatement_5= ruleIfStatement | |
| // this_SwitchStatement_6= ruleSwitchStatement | this_WhileStatement_7= ruleWhileStatement | this_DoStatement_8= ruleDoStatement | this_ForStatement_9= ruleForStatement | this_BreakStatement_10= ruleBreakStatement | this_ReturnStatement_11= |
| // ruleReturnStatement | this_AcceptStatement_12= ruleAcceptStatement | this_ClassifyStatement_13= ruleClassifyStatement | this_InvocationOrAssignementOrDeclarationStatement_14= ruleInvocationOrAssignementOrDeclarationStatement | |
| // this_SuperInvocationStatement_15= ruleSuperInvocationStatement | this_ThisInvocationStatement_16= ruleThisInvocationStatement | this_InstanceCreationInvocationStatement_17= ruleInstanceCreationInvocationStatement ) |
| int alt89 = 18; |
| switch (input.LA(1)) { |
| case 69: { |
| alt89 = 1; |
| } |
| break; |
| case 66: { |
| alt89 = 2; |
| } |
| break; |
| case 63: { |
| alt89 = 3; |
| } |
| break; |
| case 12: { |
| alt89 = 4; |
| } |
| break; |
| case 70: { |
| alt89 = 5; |
| } |
| break; |
| case 72: { |
| alt89 = 6; |
| } |
| break; |
| case 75: { |
| alt89 = 7; |
| } |
| break; |
| case 78: { |
| alt89 = 8; |
| } |
| break; |
| case 79: { |
| alt89 = 9; |
| } |
| break; |
| case 80: { |
| alt89 = 10; |
| } |
| break; |
| case 82: { |
| alt89 = 11; |
| } |
| break; |
| case 83: { |
| alt89 = 12; |
| } |
| break; |
| case 84: { |
| alt89 = 13; |
| } |
| break; |
| case 85: { |
| alt89 = 14; |
| } |
| break; |
| case RULE_ID: |
| case 27: |
| case 28: { |
| alt89 = 15; |
| } |
| break; |
| case 61: { |
| alt89 = 16; |
| } |
| break; |
| case 60: { |
| alt89 = 17; |
| } |
| break; |
| case 62: { |
| alt89 = 18; |
| } |
| break; |
| default: |
| NoViableAltException nvae = |
| new NoViableAltException("", 89, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt89) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5404:5: this_AnnotatedStatement_0= ruleAnnotatedStatement |
| { |
| |
| newCompositeNode(grammarAccess.getStatementAccess().getAnnotatedStatementParserRuleCall_0()); |
| |
| pushFollow(FOLLOW_ruleAnnotatedStatement_in_ruleStatement11649); |
| this_AnnotatedStatement_0 = ruleAnnotatedStatement(); |
| |
| state._fsp--; |
| |
| |
| current = this_AnnotatedStatement_0; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5414:5: this_InlineStatement_1= ruleInlineStatement |
| { |
| |
| newCompositeNode(grammarAccess.getStatementAccess().getInlineStatementParserRuleCall_1()); |
| |
| pushFollow(FOLLOW_ruleInlineStatement_in_ruleStatement11676); |
| this_InlineStatement_1 = ruleInlineStatement(); |
| |
| state._fsp--; |
| |
| |
| current = this_InlineStatement_1; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 3: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5424:5: this_BlockStatement_2= ruleBlockStatement |
| { |
| |
| newCompositeNode(grammarAccess.getStatementAccess().getBlockStatementParserRuleCall_2()); |
| |
| pushFollow(FOLLOW_ruleBlockStatement_in_ruleStatement11703); |
| this_BlockStatement_2 = ruleBlockStatement(); |
| |
| state._fsp--; |
| |
| |
| current = this_BlockStatement_2; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 4: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5434:5: this_EmptyStatement_3= ruleEmptyStatement |
| { |
| |
| newCompositeNode(grammarAccess.getStatementAccess().getEmptyStatementParserRuleCall_3()); |
| |
| pushFollow(FOLLOW_ruleEmptyStatement_in_ruleStatement11730); |
| this_EmptyStatement_3 = ruleEmptyStatement(); |
| |
| state._fsp--; |
| |
| |
| current = this_EmptyStatement_3; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 5: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5444:5: this_LocalNameDeclarationStatement_4= ruleLocalNameDeclarationStatement |
| { |
| |
| newCompositeNode(grammarAccess.getStatementAccess().getLocalNameDeclarationStatementParserRuleCall_4()); |
| |
| pushFollow(FOLLOW_ruleLocalNameDeclarationStatement_in_ruleStatement11757); |
| this_LocalNameDeclarationStatement_4 = ruleLocalNameDeclarationStatement(); |
| |
| state._fsp--; |
| |
| |
| current = this_LocalNameDeclarationStatement_4; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 6: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5454:5: this_IfStatement_5= ruleIfStatement |
| { |
| |
| newCompositeNode(grammarAccess.getStatementAccess().getIfStatementParserRuleCall_5()); |
| |
| pushFollow(FOLLOW_ruleIfStatement_in_ruleStatement11784); |
| this_IfStatement_5 = ruleIfStatement(); |
| |
| state._fsp--; |
| |
| |
| current = this_IfStatement_5; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 7: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5464:5: this_SwitchStatement_6= ruleSwitchStatement |
| { |
| |
| newCompositeNode(grammarAccess.getStatementAccess().getSwitchStatementParserRuleCall_6()); |
| |
| pushFollow(FOLLOW_ruleSwitchStatement_in_ruleStatement11811); |
| this_SwitchStatement_6 = ruleSwitchStatement(); |
| |
| state._fsp--; |
| |
| |
| current = this_SwitchStatement_6; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 8: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5474:5: this_WhileStatement_7= ruleWhileStatement |
| { |
| |
| newCompositeNode(grammarAccess.getStatementAccess().getWhileStatementParserRuleCall_7()); |
| |
| pushFollow(FOLLOW_ruleWhileStatement_in_ruleStatement11838); |
| this_WhileStatement_7 = ruleWhileStatement(); |
| |
| state._fsp--; |
| |
| |
| current = this_WhileStatement_7; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 9: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5484:5: this_DoStatement_8= ruleDoStatement |
| { |
| |
| newCompositeNode(grammarAccess.getStatementAccess().getDoStatementParserRuleCall_8()); |
| |
| pushFollow(FOLLOW_ruleDoStatement_in_ruleStatement11865); |
| this_DoStatement_8 = ruleDoStatement(); |
| |
| state._fsp--; |
| |
| |
| current = this_DoStatement_8; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 10: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5494:5: this_ForStatement_9= ruleForStatement |
| { |
| |
| newCompositeNode(grammarAccess.getStatementAccess().getForStatementParserRuleCall_9()); |
| |
| pushFollow(FOLLOW_ruleForStatement_in_ruleStatement11892); |
| this_ForStatement_9 = ruleForStatement(); |
| |
| state._fsp--; |
| |
| |
| current = this_ForStatement_9; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 11: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5504:5: this_BreakStatement_10= ruleBreakStatement |
| { |
| |
| newCompositeNode(grammarAccess.getStatementAccess().getBreakStatementParserRuleCall_10()); |
| |
| pushFollow(FOLLOW_ruleBreakStatement_in_ruleStatement11919); |
| this_BreakStatement_10 = ruleBreakStatement(); |
| |
| state._fsp--; |
| |
| |
| current = this_BreakStatement_10; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 12: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5514:5: this_ReturnStatement_11= ruleReturnStatement |
| { |
| |
| newCompositeNode(grammarAccess.getStatementAccess().getReturnStatementParserRuleCall_11()); |
| |
| pushFollow(FOLLOW_ruleReturnStatement_in_ruleStatement11946); |
| this_ReturnStatement_11 = ruleReturnStatement(); |
| |
| state._fsp--; |
| |
| |
| current = this_ReturnStatement_11; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 13: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5524:5: this_AcceptStatement_12= ruleAcceptStatement |
| { |
| |
| newCompositeNode(grammarAccess.getStatementAccess().getAcceptStatementParserRuleCall_12()); |
| |
| pushFollow(FOLLOW_ruleAcceptStatement_in_ruleStatement11973); |
| this_AcceptStatement_12 = ruleAcceptStatement(); |
| |
| state._fsp--; |
| |
| |
| current = this_AcceptStatement_12; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 14: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5534:5: this_ClassifyStatement_13= ruleClassifyStatement |
| { |
| |
| newCompositeNode(grammarAccess.getStatementAccess().getClassifyStatementParserRuleCall_13()); |
| |
| pushFollow(FOLLOW_ruleClassifyStatement_in_ruleStatement12000); |
| this_ClassifyStatement_13 = ruleClassifyStatement(); |
| |
| state._fsp--; |
| |
| |
| current = this_ClassifyStatement_13; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 15: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5544:5: this_InvocationOrAssignementOrDeclarationStatement_14= |
| // ruleInvocationOrAssignementOrDeclarationStatement |
| { |
| |
| newCompositeNode(grammarAccess.getStatementAccess().getInvocationOrAssignementOrDeclarationStatementParserRuleCall_14()); |
| |
| pushFollow(FOLLOW_ruleInvocationOrAssignementOrDeclarationStatement_in_ruleStatement12027); |
| this_InvocationOrAssignementOrDeclarationStatement_14 = ruleInvocationOrAssignementOrDeclarationStatement(); |
| |
| state._fsp--; |
| |
| |
| current = this_InvocationOrAssignementOrDeclarationStatement_14; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 16: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5554:5: this_SuperInvocationStatement_15= ruleSuperInvocationStatement |
| { |
| |
| newCompositeNode(grammarAccess.getStatementAccess().getSuperInvocationStatementParserRuleCall_15()); |
| |
| pushFollow(FOLLOW_ruleSuperInvocationStatement_in_ruleStatement12054); |
| this_SuperInvocationStatement_15 = ruleSuperInvocationStatement(); |
| |
| state._fsp--; |
| |
| |
| current = this_SuperInvocationStatement_15; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 17: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5564:5: this_ThisInvocationStatement_16= ruleThisInvocationStatement |
| { |
| |
| newCompositeNode(grammarAccess.getStatementAccess().getThisInvocationStatementParserRuleCall_16()); |
| |
| pushFollow(FOLLOW_ruleThisInvocationStatement_in_ruleStatement12081); |
| this_ThisInvocationStatement_16 = ruleThisInvocationStatement(); |
| |
| state._fsp--; |
| |
| |
| current = this_ThisInvocationStatement_16; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| case 18: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5574:5: this_InstanceCreationInvocationStatement_17= ruleInstanceCreationInvocationStatement |
| { |
| |
| newCompositeNode(grammarAccess.getStatementAccess().getInstanceCreationInvocationStatementParserRuleCall_17()); |
| |
| pushFollow(FOLLOW_ruleInstanceCreationInvocationStatement_in_ruleStatement12108); |
| this_InstanceCreationInvocationStatement_17 = ruleInstanceCreationInvocationStatement(); |
| |
| state._fsp--; |
| |
| |
| current = this_InstanceCreationInvocationStatement_17; |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleStatement" |
| |
| |
| // $ANTLR start "entryRuleAnnotation" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5590:1: entryRuleAnnotation returns [EObject current=null] : iv_ruleAnnotation= ruleAnnotation EOF ; |
| public final EObject entryRuleAnnotation() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleAnnotation = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5591:2: (iv_ruleAnnotation= ruleAnnotation EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5592:2: iv_ruleAnnotation= ruleAnnotation EOF |
| { |
| newCompositeNode(grammarAccess.getAnnotationRule()); |
| pushFollow(FOLLOW_ruleAnnotation_in_entryRuleAnnotation12143); |
| iv_ruleAnnotation = ruleAnnotation(); |
| |
| state._fsp--; |
| |
| current = iv_ruleAnnotation; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleAnnotation12153); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleAnnotation" |
| |
| |
| // $ANTLR start "ruleAnnotation" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5599:1: ruleAnnotation returns [EObject current=null] : ( ( (lv_kind_0_0= ruleAnnotationKind ) ) (otherlv_1= '(' ( |
| // (lv_args_2_0= RULE_ID ) ) (otherlv_3= ',' ( (lv_args_4_0= RULE_ID ) ) )* otherlv_5= ')' )? ) ; |
| public final EObject ruleAnnotation() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| Token lv_args_2_0 = null; |
| Token otherlv_3 = null; |
| Token lv_args_4_0 = null; |
| Token otherlv_5 = null; |
| Enumerator lv_kind_0_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5602:28: ( ( ( (lv_kind_0_0= ruleAnnotationKind ) ) (otherlv_1= '(' ( (lv_args_2_0= RULE_ID ) ) |
| // (otherlv_3= ',' ( (lv_args_4_0= RULE_ID ) ) )* otherlv_5= ')' )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5603:1: ( ( (lv_kind_0_0= ruleAnnotationKind ) ) (otherlv_1= '(' ( (lv_args_2_0= RULE_ID ) ) (otherlv_3= |
| // ',' ( (lv_args_4_0= RULE_ID ) ) )* otherlv_5= ')' )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5603:1: ( ( (lv_kind_0_0= ruleAnnotationKind ) ) (otherlv_1= '(' ( (lv_args_2_0= RULE_ID ) ) |
| // (otherlv_3= ',' ( (lv_args_4_0= RULE_ID ) ) )* otherlv_5= ')' )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5603:2: ( (lv_kind_0_0= ruleAnnotationKind ) ) (otherlv_1= '(' ( (lv_args_2_0= RULE_ID ) ) (otherlv_3= |
| // ',' ( (lv_args_4_0= RULE_ID ) ) )* otherlv_5= ')' )? |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5603:2: ( (lv_kind_0_0= ruleAnnotationKind ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5604:1: (lv_kind_0_0= ruleAnnotationKind ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5604:1: (lv_kind_0_0= ruleAnnotationKind ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5605:3: lv_kind_0_0= ruleAnnotationKind |
| { |
| |
| newCompositeNode(grammarAccess.getAnnotationAccess().getKindAnnotationKindEnumRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleAnnotationKind_in_ruleAnnotation12199); |
| lv_kind_0_0 = ruleAnnotationKind(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getAnnotationRule()); |
| } |
| set( |
| current, |
| "kind", |
| lv_kind_0_0, |
| "AnnotationKind"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5621:2: (otherlv_1= '(' ( (lv_args_2_0= RULE_ID ) ) (otherlv_3= ',' ( (lv_args_4_0= RULE_ID ) ) )* |
| // otherlv_5= ')' )? |
| int alt91 = 2; |
| int LA91_0 = input.LA(1); |
| |
| if ((LA91_0 == 15)) { |
| alt91 = 1; |
| } |
| switch (alt91) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5621:4: otherlv_1= '(' ( (lv_args_2_0= RULE_ID ) ) (otherlv_3= ',' ( (lv_args_4_0= RULE_ID ) ) )* |
| // otherlv_5= ')' |
| { |
| otherlv_1 = (Token) match(input, 15, FOLLOW_15_in_ruleAnnotation12212); |
| |
| newLeafNode(otherlv_1, grammarAccess.getAnnotationAccess().getLeftParenthesisKeyword_1_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5625:1: ( (lv_args_2_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5626:1: (lv_args_2_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5626:1: (lv_args_2_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5627:3: lv_args_2_0= RULE_ID |
| { |
| lv_args_2_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleAnnotation12229); |
| |
| newLeafNode(lv_args_2_0, grammarAccess.getAnnotationAccess().getArgsIDTerminalRuleCall_1_1_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getAnnotationRule()); |
| } |
| addWithLastConsumed( |
| current, |
| "args", |
| lv_args_2_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5643:2: (otherlv_3= ',' ( (lv_args_4_0= RULE_ID ) ) )* |
| loop90: do { |
| int alt90 = 2; |
| int LA90_0 = input.LA(1); |
| |
| if ((LA90_0 == 17)) { |
| alt90 = 1; |
| } |
| |
| |
| switch (alt90) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5643:4: otherlv_3= ',' ( (lv_args_4_0= RULE_ID ) ) |
| { |
| otherlv_3 = (Token) match(input, 17, FOLLOW_17_in_ruleAnnotation12247); |
| |
| newLeafNode(otherlv_3, grammarAccess.getAnnotationAccess().getCommaKeyword_1_2_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5647:1: ( (lv_args_4_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5648:1: (lv_args_4_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5648:1: (lv_args_4_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5649:3: lv_args_4_0= RULE_ID |
| { |
| lv_args_4_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleAnnotation12264); |
| |
| newLeafNode(lv_args_4_0, grammarAccess.getAnnotationAccess().getArgsIDTerminalRuleCall_1_2_1_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getAnnotationRule()); |
| } |
| addWithLastConsumed( |
| current, |
| "args", |
| lv_args_4_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default: |
| break loop90; |
| } |
| } while (true); |
| |
| otherlv_5 = (Token) match(input, 16, FOLLOW_16_in_ruleAnnotation12283); |
| |
| newLeafNode(otherlv_5, grammarAccess.getAnnotationAccess().getRightParenthesisKeyword_1_3()); |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleAnnotation" |
| |
| |
| // $ANTLR start "entryRuleBlockStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5677:1: entryRuleBlockStatement returns [EObject current=null] : iv_ruleBlockStatement= ruleBlockStatement EOF ; |
| public final EObject entryRuleBlockStatement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleBlockStatement = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5678:2: (iv_ruleBlockStatement= ruleBlockStatement EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5679:2: iv_ruleBlockStatement= ruleBlockStatement EOF |
| { |
| newCompositeNode(grammarAccess.getBlockStatementRule()); |
| pushFollow(FOLLOW_ruleBlockStatement_in_entryRuleBlockStatement12321); |
| iv_ruleBlockStatement = ruleBlockStatement(); |
| |
| state._fsp--; |
| |
| current = iv_ruleBlockStatement; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleBlockStatement12331); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleBlockStatement" |
| |
| |
| // $ANTLR start "ruleBlockStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5686:1: ruleBlockStatement returns [EObject current=null] : ( (lv_block_0_0= ruleBlock ) ) ; |
| public final EObject ruleBlockStatement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject lv_block_0_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5689:28: ( ( (lv_block_0_0= ruleBlock ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5690:1: ( (lv_block_0_0= ruleBlock ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5690:1: ( (lv_block_0_0= ruleBlock ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5691:1: (lv_block_0_0= ruleBlock ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5691:1: (lv_block_0_0= ruleBlock ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5692:3: lv_block_0_0= ruleBlock |
| { |
| |
| newCompositeNode(grammarAccess.getBlockStatementAccess().getBlockBlockParserRuleCall_0()); |
| |
| pushFollow(FOLLOW_ruleBlock_in_ruleBlockStatement12376); |
| lv_block_0_0 = ruleBlock(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getBlockStatementRule()); |
| } |
| set( |
| current, |
| "block", |
| lv_block_0_0, |
| "Block"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleBlockStatement" |
| |
| |
| // $ANTLR start "entryRuleEmptyStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5716:1: entryRuleEmptyStatement returns [EObject current=null] : iv_ruleEmptyStatement= ruleEmptyStatement EOF ; |
| public final EObject entryRuleEmptyStatement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleEmptyStatement = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5717:2: (iv_ruleEmptyStatement= ruleEmptyStatement EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5718:2: iv_ruleEmptyStatement= ruleEmptyStatement EOF |
| { |
| newCompositeNode(grammarAccess.getEmptyStatementRule()); |
| pushFollow(FOLLOW_ruleEmptyStatement_in_entryRuleEmptyStatement12411); |
| iv_ruleEmptyStatement = ruleEmptyStatement(); |
| |
| state._fsp--; |
| |
| current = iv_ruleEmptyStatement; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleEmptyStatement12421); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleEmptyStatement" |
| |
| |
| // $ANTLR start "ruleEmptyStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5725:1: ruleEmptyStatement returns [EObject current=null] : ( () otherlv_1= ';' ) ; |
| public final EObject ruleEmptyStatement() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5728:28: ( ( () otherlv_1= ';' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5729:1: ( () otherlv_1= ';' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5729:1: ( () otherlv_1= ';' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5729:2: () otherlv_1= ';' |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5729:2: () |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5730:5: |
| { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getEmptyStatementAccess().getEmptyStatementAction_0(), |
| current); |
| |
| |
| } |
| |
| otherlv_1 = (Token) match(input, 12, FOLLOW_12_in_ruleEmptyStatement12467); |
| |
| newLeafNode(otherlv_1, grammarAccess.getEmptyStatementAccess().getSemicolonKeyword_1()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleEmptyStatement" |
| |
| |
| // $ANTLR start "entryRuleLocalNameDeclarationStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5747:1: entryRuleLocalNameDeclarationStatement returns [EObject current=null] : |
| // iv_ruleLocalNameDeclarationStatement= ruleLocalNameDeclarationStatement EOF ; |
| public final EObject entryRuleLocalNameDeclarationStatement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleLocalNameDeclarationStatement = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5748:2: (iv_ruleLocalNameDeclarationStatement= ruleLocalNameDeclarationStatement EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5749:2: iv_ruleLocalNameDeclarationStatement= ruleLocalNameDeclarationStatement EOF |
| { |
| newCompositeNode(grammarAccess.getLocalNameDeclarationStatementRule()); |
| pushFollow(FOLLOW_ruleLocalNameDeclarationStatement_in_entryRuleLocalNameDeclarationStatement12503); |
| iv_ruleLocalNameDeclarationStatement = ruleLocalNameDeclarationStatement(); |
| |
| state._fsp--; |
| |
| current = iv_ruleLocalNameDeclarationStatement; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleLocalNameDeclarationStatement12513); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleLocalNameDeclarationStatement" |
| |
| |
| // $ANTLR start "ruleLocalNameDeclarationStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5756:1: ruleLocalNameDeclarationStatement returns [EObject current=null] : (otherlv_0= 'let' ( (lv_varName_1_0= |
| // RULE_ID ) ) otherlv_2= ':' ( (lv_type_3_0= ruleQualifiedNameWithBinding ) ) ( ( (lv_multiplicityIndicator_4_0= '[' ) ) otherlv_5= ']' )? otherlv_6= '=' ( (lv_init_7_0= ruleSequenceElement ) ) otherlv_8= ';' ) ; |
| public final EObject ruleLocalNameDeclarationStatement() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token lv_varName_1_0 = null; |
| Token otherlv_2 = null; |
| Token lv_multiplicityIndicator_4_0 = null; |
| Token otherlv_5 = null; |
| Token otherlv_6 = null; |
| Token otherlv_8 = null; |
| EObject lv_type_3_0 = null; |
| |
| EObject lv_init_7_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5759:28: ( (otherlv_0= 'let' ( (lv_varName_1_0= RULE_ID ) ) otherlv_2= ':' ( (lv_type_3_0= |
| // ruleQualifiedNameWithBinding ) ) ( ( (lv_multiplicityIndicator_4_0= '[' ) ) otherlv_5= ']' )? otherlv_6= '=' ( (lv_init_7_0= ruleSequenceElement ) ) otherlv_8= ';' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5760:1: (otherlv_0= 'let' ( (lv_varName_1_0= RULE_ID ) ) otherlv_2= ':' ( (lv_type_3_0= |
| // ruleQualifiedNameWithBinding ) ) ( ( (lv_multiplicityIndicator_4_0= '[' ) ) otherlv_5= ']' )? otherlv_6= '=' ( (lv_init_7_0= ruleSequenceElement ) ) otherlv_8= ';' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5760:1: (otherlv_0= 'let' ( (lv_varName_1_0= RULE_ID ) ) otherlv_2= ':' ( (lv_type_3_0= |
| // ruleQualifiedNameWithBinding ) ) ( ( (lv_multiplicityIndicator_4_0= '[' ) ) otherlv_5= ']' )? otherlv_6= '=' ( (lv_init_7_0= ruleSequenceElement ) ) otherlv_8= ';' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5760:3: otherlv_0= 'let' ( (lv_varName_1_0= RULE_ID ) ) otherlv_2= ':' ( (lv_type_3_0= |
| // ruleQualifiedNameWithBinding ) ) ( ( (lv_multiplicityIndicator_4_0= '[' ) ) otherlv_5= ']' )? otherlv_6= '=' ( (lv_init_7_0= ruleSequenceElement ) ) otherlv_8= ';' |
| { |
| otherlv_0 = (Token) match(input, 70, FOLLOW_70_in_ruleLocalNameDeclarationStatement12550); |
| |
| newLeafNode(otherlv_0, grammarAccess.getLocalNameDeclarationStatementAccess().getLetKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5764:1: ( (lv_varName_1_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5765:1: (lv_varName_1_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5765:1: (lv_varName_1_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5766:3: lv_varName_1_0= RULE_ID |
| { |
| lv_varName_1_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleLocalNameDeclarationStatement12567); |
| |
| newLeafNode(lv_varName_1_0, grammarAccess.getLocalNameDeclarationStatementAccess().getVarNameIDTerminalRuleCall_1_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getLocalNameDeclarationStatementRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "varName", |
| lv_varName_1_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_2 = (Token) match(input, 14, FOLLOW_14_in_ruleLocalNameDeclarationStatement12584); |
| |
| newLeafNode(otherlv_2, grammarAccess.getLocalNameDeclarationStatementAccess().getColonKeyword_2()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5786:1: ( (lv_type_3_0= ruleQualifiedNameWithBinding ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5787:1: (lv_type_3_0= ruleQualifiedNameWithBinding ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5787:1: (lv_type_3_0= ruleQualifiedNameWithBinding ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5788:3: lv_type_3_0= ruleQualifiedNameWithBinding |
| { |
| |
| newCompositeNode(grammarAccess.getLocalNameDeclarationStatementAccess().getTypeQualifiedNameWithBindingParserRuleCall_3_0()); |
| |
| pushFollow(FOLLOW_ruleQualifiedNameWithBinding_in_ruleLocalNameDeclarationStatement12605); |
| lv_type_3_0 = ruleQualifiedNameWithBinding(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getLocalNameDeclarationStatementRule()); |
| } |
| set( |
| current, |
| "type", |
| lv_type_3_0, |
| "QualifiedNameWithBinding"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5804:2: ( ( (lv_multiplicityIndicator_4_0= '[' ) ) otherlv_5= ']' )? |
| int alt92 = 2; |
| int LA92_0 = input.LA(1); |
| |
| if ((LA92_0 == 18)) { |
| alt92 = 1; |
| } |
| switch (alt92) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5804:3: ( (lv_multiplicityIndicator_4_0= '[' ) ) otherlv_5= ']' |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5804:3: ( (lv_multiplicityIndicator_4_0= '[' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5805:1: (lv_multiplicityIndicator_4_0= '[' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5805:1: (lv_multiplicityIndicator_4_0= '[' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5806:3: lv_multiplicityIndicator_4_0= '[' |
| { |
| lv_multiplicityIndicator_4_0 = (Token) match(input, 18, FOLLOW_18_in_ruleLocalNameDeclarationStatement12624); |
| |
| newLeafNode(lv_multiplicityIndicator_4_0, grammarAccess.getLocalNameDeclarationStatementAccess().getMultiplicityIndicatorLeftSquareBracketKeyword_4_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getLocalNameDeclarationStatementRule()); |
| } |
| setWithLastConsumed(current, "multiplicityIndicator", true, "["); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_5 = (Token) match(input, 19, FOLLOW_19_in_ruleLocalNameDeclarationStatement12649); |
| |
| newLeafNode(otherlv_5, grammarAccess.getLocalNameDeclarationStatementAccess().getRightSquareBracketKeyword_4_1()); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_6 = (Token) match(input, 71, FOLLOW_71_in_ruleLocalNameDeclarationStatement12663); |
| |
| newLeafNode(otherlv_6, grammarAccess.getLocalNameDeclarationStatementAccess().getEqualsSignKeyword_5()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5827:1: ( (lv_init_7_0= ruleSequenceElement ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5828:1: (lv_init_7_0= ruleSequenceElement ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5828:1: (lv_init_7_0= ruleSequenceElement ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5829:3: lv_init_7_0= ruleSequenceElement |
| { |
| |
| newCompositeNode(grammarAccess.getLocalNameDeclarationStatementAccess().getInitSequenceElementParserRuleCall_6_0()); |
| |
| pushFollow(FOLLOW_ruleSequenceElement_in_ruleLocalNameDeclarationStatement12684); |
| lv_init_7_0 = ruleSequenceElement(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getLocalNameDeclarationStatementRule()); |
| } |
| set( |
| current, |
| "init", |
| lv_init_7_0, |
| "SequenceElement"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_8 = (Token) match(input, 12, FOLLOW_12_in_ruleLocalNameDeclarationStatement12696); |
| |
| newLeafNode(otherlv_8, grammarAccess.getLocalNameDeclarationStatementAccess().getSemicolonKeyword_7()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleLocalNameDeclarationStatement" |
| |
| |
| // $ANTLR start "entryRuleIfStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5857:1: entryRuleIfStatement returns [EObject current=null] : iv_ruleIfStatement= ruleIfStatement EOF ; |
| public final EObject entryRuleIfStatement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleIfStatement = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5858:2: (iv_ruleIfStatement= ruleIfStatement EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5859:2: iv_ruleIfStatement= ruleIfStatement EOF |
| { |
| newCompositeNode(grammarAccess.getIfStatementRule()); |
| pushFollow(FOLLOW_ruleIfStatement_in_entryRuleIfStatement12732); |
| iv_ruleIfStatement = ruleIfStatement(); |
| |
| state._fsp--; |
| |
| current = iv_ruleIfStatement; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleIfStatement12742); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleIfStatement" |
| |
| |
| // $ANTLR start "ruleIfStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5866:1: ruleIfStatement returns [EObject current=null] : (otherlv_0= 'if' ( (lv_sequentialClausses_1_0= |
| // ruleSequentialClauses ) ) ( (lv_finalClause_2_0= ruleFinalClause ) )? ) ; |
| public final EObject ruleIfStatement() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| EObject lv_sequentialClausses_1_0 = null; |
| |
| EObject lv_finalClause_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5869:28: ( (otherlv_0= 'if' ( (lv_sequentialClausses_1_0= ruleSequentialClauses ) ) ( (lv_finalClause_2_0= |
| // ruleFinalClause ) )? ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5870:1: (otherlv_0= 'if' ( (lv_sequentialClausses_1_0= ruleSequentialClauses ) ) ( (lv_finalClause_2_0= |
| // ruleFinalClause ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5870:1: (otherlv_0= 'if' ( (lv_sequentialClausses_1_0= ruleSequentialClauses ) ) ( |
| // (lv_finalClause_2_0= ruleFinalClause ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5870:3: otherlv_0= 'if' ( (lv_sequentialClausses_1_0= ruleSequentialClauses ) ) ( (lv_finalClause_2_0= |
| // ruleFinalClause ) )? |
| { |
| otherlv_0 = (Token) match(input, 72, FOLLOW_72_in_ruleIfStatement12779); |
| |
| newLeafNode(otherlv_0, grammarAccess.getIfStatementAccess().getIfKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5874:1: ( (lv_sequentialClausses_1_0= ruleSequentialClauses ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5875:1: (lv_sequentialClausses_1_0= ruleSequentialClauses ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5875:1: (lv_sequentialClausses_1_0= ruleSequentialClauses ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5876:3: lv_sequentialClausses_1_0= ruleSequentialClauses |
| { |
| |
| newCompositeNode(grammarAccess.getIfStatementAccess().getSequentialClaussesSequentialClausesParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleSequentialClauses_in_ruleIfStatement12800); |
| lv_sequentialClausses_1_0 = ruleSequentialClauses(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getIfStatementRule()); |
| } |
| set( |
| current, |
| "sequentialClausses", |
| lv_sequentialClausses_1_0, |
| "SequentialClauses"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5892:2: ( (lv_finalClause_2_0= ruleFinalClause ) )? |
| int alt93 = 2; |
| int LA93_0 = input.LA(1); |
| |
| if ((LA93_0 == 73)) { |
| alt93 = 1; |
| } |
| switch (alt93) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5893:1: (lv_finalClause_2_0= ruleFinalClause ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5893:1: (lv_finalClause_2_0= ruleFinalClause ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5894:3: lv_finalClause_2_0= ruleFinalClause |
| { |
| |
| newCompositeNode(grammarAccess.getIfStatementAccess().getFinalClauseFinalClauseParserRuleCall_2_0()); |
| |
| pushFollow(FOLLOW_ruleFinalClause_in_ruleIfStatement12821); |
| lv_finalClause_2_0 = ruleFinalClause(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getIfStatementRule()); |
| } |
| set( |
| current, |
| "finalClause", |
| lv_finalClause_2_0, |
| "FinalClause"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleIfStatement" |
| |
| |
| // $ANTLR start "entryRuleSequentialClauses" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5918:1: entryRuleSequentialClauses returns [EObject current=null] : iv_ruleSequentialClauses= |
| // ruleSequentialClauses EOF ; |
| public final EObject entryRuleSequentialClauses() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleSequentialClauses = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5919:2: (iv_ruleSequentialClauses= ruleSequentialClauses EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5920:2: iv_ruleSequentialClauses= ruleSequentialClauses EOF |
| { |
| newCompositeNode(grammarAccess.getSequentialClausesRule()); |
| pushFollow(FOLLOW_ruleSequentialClauses_in_entryRuleSequentialClauses12858); |
| iv_ruleSequentialClauses = ruleSequentialClauses(); |
| |
| state._fsp--; |
| |
| current = iv_ruleSequentialClauses; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleSequentialClauses12868); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleSequentialClauses" |
| |
| |
| // $ANTLR start "ruleSequentialClauses" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5927:1: ruleSequentialClauses returns [EObject current=null] : ( ( (lv_conccurentClauses_0_0= |
| // ruleConcurrentClauses ) ) (otherlv_1= 'else' otherlv_2= 'if' ( (lv_conccurentClauses_3_0= ruleConcurrentClauses ) ) )* ) ; |
| public final EObject ruleSequentialClauses() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| Token otherlv_2 = null; |
| EObject lv_conccurentClauses_0_0 = null; |
| |
| EObject lv_conccurentClauses_3_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5930:28: ( ( ( (lv_conccurentClauses_0_0= ruleConcurrentClauses ) ) (otherlv_1= 'else' otherlv_2= 'if' ( |
| // (lv_conccurentClauses_3_0= ruleConcurrentClauses ) ) )* ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5931:1: ( ( (lv_conccurentClauses_0_0= ruleConcurrentClauses ) ) (otherlv_1= 'else' otherlv_2= 'if' ( |
| // (lv_conccurentClauses_3_0= ruleConcurrentClauses ) ) )* ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5931:1: ( ( (lv_conccurentClauses_0_0= ruleConcurrentClauses ) ) (otherlv_1= 'else' otherlv_2= 'if' ( |
| // (lv_conccurentClauses_3_0= ruleConcurrentClauses ) ) )* ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5931:2: ( (lv_conccurentClauses_0_0= ruleConcurrentClauses ) ) (otherlv_1= 'else' otherlv_2= 'if' ( |
| // (lv_conccurentClauses_3_0= ruleConcurrentClauses ) ) )* |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5931:2: ( (lv_conccurentClauses_0_0= ruleConcurrentClauses ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5932:1: (lv_conccurentClauses_0_0= ruleConcurrentClauses ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5932:1: (lv_conccurentClauses_0_0= ruleConcurrentClauses ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5933:3: lv_conccurentClauses_0_0= ruleConcurrentClauses |
| { |
| |
| newCompositeNode(grammarAccess.getSequentialClausesAccess().getConccurentClausesConcurrentClausesParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleConcurrentClauses_in_ruleSequentialClauses12914); |
| lv_conccurentClauses_0_0 = ruleConcurrentClauses(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSequentialClausesRule()); |
| } |
| add( |
| current, |
| "conccurentClauses", |
| lv_conccurentClauses_0_0, |
| "ConcurrentClauses"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5949:2: (otherlv_1= 'else' otherlv_2= 'if' ( (lv_conccurentClauses_3_0= ruleConcurrentClauses ) ) |
| // )* |
| loop94: do { |
| int alt94 = 2; |
| int LA94_0 = input.LA(1); |
| |
| if ((LA94_0 == 73)) { |
| int LA94_1 = input.LA(2); |
| |
| if ((LA94_1 == 72)) { |
| alt94 = 1; |
| } |
| |
| |
| } |
| |
| |
| switch (alt94) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5949:4: otherlv_1= 'else' otherlv_2= 'if' ( (lv_conccurentClauses_3_0= ruleConcurrentClauses ) |
| // ) |
| { |
| otherlv_1 = (Token) match(input, 73, FOLLOW_73_in_ruleSequentialClauses12927); |
| |
| newLeafNode(otherlv_1, grammarAccess.getSequentialClausesAccess().getElseKeyword_1_0()); |
| |
| otherlv_2 = (Token) match(input, 72, FOLLOW_72_in_ruleSequentialClauses12939); |
| |
| newLeafNode(otherlv_2, grammarAccess.getSequentialClausesAccess().getIfKeyword_1_1()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5957:1: ( (lv_conccurentClauses_3_0= ruleConcurrentClauses ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5958:1: (lv_conccurentClauses_3_0= ruleConcurrentClauses ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5958:1: (lv_conccurentClauses_3_0= ruleConcurrentClauses ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5959:3: lv_conccurentClauses_3_0= ruleConcurrentClauses |
| { |
| |
| newCompositeNode(grammarAccess.getSequentialClausesAccess().getConccurentClausesConcurrentClausesParserRuleCall_1_2_0()); |
| |
| pushFollow(FOLLOW_ruleConcurrentClauses_in_ruleSequentialClauses12960); |
| lv_conccurentClauses_3_0 = ruleConcurrentClauses(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSequentialClausesRule()); |
| } |
| add( |
| current, |
| "conccurentClauses", |
| lv_conccurentClauses_3_0, |
| "ConcurrentClauses"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default: |
| break loop94; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleSequentialClauses" |
| |
| |
| // $ANTLR start "entryRuleConcurrentClauses" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5983:1: entryRuleConcurrentClauses returns [EObject current=null] : iv_ruleConcurrentClauses= |
| // ruleConcurrentClauses EOF ; |
| public final EObject entryRuleConcurrentClauses() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleConcurrentClauses = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5984:2: (iv_ruleConcurrentClauses= ruleConcurrentClauses EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5985:2: iv_ruleConcurrentClauses= ruleConcurrentClauses EOF |
| { |
| newCompositeNode(grammarAccess.getConcurrentClausesRule()); |
| pushFollow(FOLLOW_ruleConcurrentClauses_in_entryRuleConcurrentClauses12998); |
| iv_ruleConcurrentClauses = ruleConcurrentClauses(); |
| |
| state._fsp--; |
| |
| current = iv_ruleConcurrentClauses; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleConcurrentClauses13008); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleConcurrentClauses" |
| |
| |
| // $ANTLR start "ruleConcurrentClauses" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5992:1: ruleConcurrentClauses returns [EObject current=null] : ( ( (lv_nonFinalClause_0_0= ruleNonFinalClause ) ) |
| // (otherlv_1= 'or' otherlv_2= 'if' ( (lv_nonFinalClause_3_0= ruleNonFinalClause ) ) )* ) ; |
| public final EObject ruleConcurrentClauses() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| Token otherlv_2 = null; |
| EObject lv_nonFinalClause_0_0 = null; |
| |
| EObject lv_nonFinalClause_3_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5995:28: ( ( ( (lv_nonFinalClause_0_0= ruleNonFinalClause ) ) (otherlv_1= 'or' otherlv_2= 'if' ( |
| // (lv_nonFinalClause_3_0= ruleNonFinalClause ) ) )* ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5996:1: ( ( (lv_nonFinalClause_0_0= ruleNonFinalClause ) ) (otherlv_1= 'or' otherlv_2= 'if' ( |
| // (lv_nonFinalClause_3_0= ruleNonFinalClause ) ) )* ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5996:1: ( ( (lv_nonFinalClause_0_0= ruleNonFinalClause ) ) (otherlv_1= 'or' otherlv_2= 'if' ( |
| // (lv_nonFinalClause_3_0= ruleNonFinalClause ) ) )* ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5996:2: ( (lv_nonFinalClause_0_0= ruleNonFinalClause ) ) (otherlv_1= 'or' otherlv_2= 'if' ( |
| // (lv_nonFinalClause_3_0= ruleNonFinalClause ) ) )* |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5996:2: ( (lv_nonFinalClause_0_0= ruleNonFinalClause ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5997:1: (lv_nonFinalClause_0_0= ruleNonFinalClause ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5997:1: (lv_nonFinalClause_0_0= ruleNonFinalClause ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5998:3: lv_nonFinalClause_0_0= ruleNonFinalClause |
| { |
| |
| newCompositeNode(grammarAccess.getConcurrentClausesAccess().getNonFinalClauseNonFinalClauseParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleNonFinalClause_in_ruleConcurrentClauses13054); |
| lv_nonFinalClause_0_0 = ruleNonFinalClause(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getConcurrentClausesRule()); |
| } |
| add( |
| current, |
| "nonFinalClause", |
| lv_nonFinalClause_0_0, |
| "NonFinalClause"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6014:2: (otherlv_1= 'or' otherlv_2= 'if' ( (lv_nonFinalClause_3_0= ruleNonFinalClause ) ) )* |
| loop95: do { |
| int alt95 = 2; |
| int LA95_0 = input.LA(1); |
| |
| if ((LA95_0 == 74)) { |
| alt95 = 1; |
| } |
| |
| |
| switch (alt95) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6014:4: otherlv_1= 'or' otherlv_2= 'if' ( (lv_nonFinalClause_3_0= ruleNonFinalClause ) ) |
| { |
| otherlv_1 = (Token) match(input, 74, FOLLOW_74_in_ruleConcurrentClauses13067); |
| |
| newLeafNode(otherlv_1, grammarAccess.getConcurrentClausesAccess().getOrKeyword_1_0()); |
| |
| otherlv_2 = (Token) match(input, 72, FOLLOW_72_in_ruleConcurrentClauses13079); |
| |
| newLeafNode(otherlv_2, grammarAccess.getConcurrentClausesAccess().getIfKeyword_1_1()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6022:1: ( (lv_nonFinalClause_3_0= ruleNonFinalClause ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6023:1: (lv_nonFinalClause_3_0= ruleNonFinalClause ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6023:1: (lv_nonFinalClause_3_0= ruleNonFinalClause ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6024:3: lv_nonFinalClause_3_0= ruleNonFinalClause |
| { |
| |
| newCompositeNode(grammarAccess.getConcurrentClausesAccess().getNonFinalClauseNonFinalClauseParserRuleCall_1_2_0()); |
| |
| pushFollow(FOLLOW_ruleNonFinalClause_in_ruleConcurrentClauses13100); |
| lv_nonFinalClause_3_0 = ruleNonFinalClause(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getConcurrentClausesRule()); |
| } |
| add( |
| current, |
| "nonFinalClause", |
| lv_nonFinalClause_3_0, |
| "NonFinalClause"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default: |
| break loop95; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleConcurrentClauses" |
| |
| |
| // $ANTLR start "entryRuleNonFinalClause" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6048:1: entryRuleNonFinalClause returns [EObject current=null] : iv_ruleNonFinalClause= ruleNonFinalClause EOF ; |
| public final EObject entryRuleNonFinalClause() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleNonFinalClause = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6049:2: (iv_ruleNonFinalClause= ruleNonFinalClause EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6050:2: iv_ruleNonFinalClause= ruleNonFinalClause EOF |
| { |
| newCompositeNode(grammarAccess.getNonFinalClauseRule()); |
| pushFollow(FOLLOW_ruleNonFinalClause_in_entryRuleNonFinalClause13138); |
| iv_ruleNonFinalClause = ruleNonFinalClause(); |
| |
| state._fsp--; |
| |
| current = iv_ruleNonFinalClause; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleNonFinalClause13148); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleNonFinalClause" |
| |
| |
| // $ANTLR start "ruleNonFinalClause" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6057:1: ruleNonFinalClause returns [EObject current=null] : (otherlv_0= '(' ( (lv_condition_1_0= ruleExpression ) |
| // ) otherlv_2= ')' ( (lv_block_3_0= ruleBlock ) ) ) ; |
| public final EObject ruleNonFinalClause() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token otherlv_2 = null; |
| EObject lv_condition_1_0 = null; |
| |
| EObject lv_block_3_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6060:28: ( (otherlv_0= '(' ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= ')' ( (lv_block_3_0= |
| // ruleBlock ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6061:1: (otherlv_0= '(' ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= ')' ( (lv_block_3_0= ruleBlock |
| // ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6061:1: (otherlv_0= '(' ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= ')' ( (lv_block_3_0= |
| // ruleBlock ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6061:3: otherlv_0= '(' ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= ')' ( (lv_block_3_0= |
| // ruleBlock ) ) |
| { |
| otherlv_0 = (Token) match(input, 15, FOLLOW_15_in_ruleNonFinalClause13185); |
| |
| newLeafNode(otherlv_0, grammarAccess.getNonFinalClauseAccess().getLeftParenthesisKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6065:1: ( (lv_condition_1_0= ruleExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6066:1: (lv_condition_1_0= ruleExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6066:1: (lv_condition_1_0= ruleExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6067:3: lv_condition_1_0= ruleExpression |
| { |
| |
| newCompositeNode(grammarAccess.getNonFinalClauseAccess().getConditionExpressionParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleExpression_in_ruleNonFinalClause13206); |
| lv_condition_1_0 = ruleExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getNonFinalClauseRule()); |
| } |
| set( |
| current, |
| "condition", |
| lv_condition_1_0, |
| "Expression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_2 = (Token) match(input, 16, FOLLOW_16_in_ruleNonFinalClause13218); |
| |
| newLeafNode(otherlv_2, grammarAccess.getNonFinalClauseAccess().getRightParenthesisKeyword_2()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6087:1: ( (lv_block_3_0= ruleBlock ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6088:1: (lv_block_3_0= ruleBlock ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6088:1: (lv_block_3_0= ruleBlock ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6089:3: lv_block_3_0= ruleBlock |
| { |
| |
| newCompositeNode(grammarAccess.getNonFinalClauseAccess().getBlockBlockParserRuleCall_3_0()); |
| |
| pushFollow(FOLLOW_ruleBlock_in_ruleNonFinalClause13239); |
| lv_block_3_0 = ruleBlock(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getNonFinalClauseRule()); |
| } |
| set( |
| current, |
| "block", |
| lv_block_3_0, |
| "Block"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleNonFinalClause" |
| |
| |
| // $ANTLR start "entryRuleFinalClause" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6113:1: entryRuleFinalClause returns [EObject current=null] : iv_ruleFinalClause= ruleFinalClause EOF ; |
| public final EObject entryRuleFinalClause() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleFinalClause = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6114:2: (iv_ruleFinalClause= ruleFinalClause EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6115:2: iv_ruleFinalClause= ruleFinalClause EOF |
| { |
| newCompositeNode(grammarAccess.getFinalClauseRule()); |
| pushFollow(FOLLOW_ruleFinalClause_in_entryRuleFinalClause13275); |
| iv_ruleFinalClause = ruleFinalClause(); |
| |
| state._fsp--; |
| |
| current = iv_ruleFinalClause; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleFinalClause13285); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleFinalClause" |
| |
| |
| // $ANTLR start "ruleFinalClause" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6122:1: ruleFinalClause returns [EObject current=null] : (otherlv_0= 'else' ( (lv_block_1_0= ruleBlock ) ) ) ; |
| public final EObject ruleFinalClause() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| EObject lv_block_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6125:28: ( (otherlv_0= 'else' ( (lv_block_1_0= ruleBlock ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6126:1: (otherlv_0= 'else' ( (lv_block_1_0= ruleBlock ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6126:1: (otherlv_0= 'else' ( (lv_block_1_0= ruleBlock ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6126:3: otherlv_0= 'else' ( (lv_block_1_0= ruleBlock ) ) |
| { |
| otherlv_0 = (Token) match(input, 73, FOLLOW_73_in_ruleFinalClause13322); |
| |
| newLeafNode(otherlv_0, grammarAccess.getFinalClauseAccess().getElseKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6130:1: ( (lv_block_1_0= ruleBlock ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6131:1: (lv_block_1_0= ruleBlock ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6131:1: (lv_block_1_0= ruleBlock ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6132:3: lv_block_1_0= ruleBlock |
| { |
| |
| newCompositeNode(grammarAccess.getFinalClauseAccess().getBlockBlockParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleBlock_in_ruleFinalClause13343); |
| lv_block_1_0 = ruleBlock(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getFinalClauseRule()); |
| } |
| set( |
| current, |
| "block", |
| lv_block_1_0, |
| "Block"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleFinalClause" |
| |
| |
| // $ANTLR start "entryRuleSwitchStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6156:1: entryRuleSwitchStatement returns [EObject current=null] : iv_ruleSwitchStatement= ruleSwitchStatement EOF |
| // ; |
| public final EObject entryRuleSwitchStatement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleSwitchStatement = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6157:2: (iv_ruleSwitchStatement= ruleSwitchStatement EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6158:2: iv_ruleSwitchStatement= ruleSwitchStatement EOF |
| { |
| newCompositeNode(grammarAccess.getSwitchStatementRule()); |
| pushFollow(FOLLOW_ruleSwitchStatement_in_entryRuleSwitchStatement13379); |
| iv_ruleSwitchStatement = ruleSwitchStatement(); |
| |
| state._fsp--; |
| |
| current = iv_ruleSwitchStatement; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleSwitchStatement13389); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleSwitchStatement" |
| |
| |
| // $ANTLR start "ruleSwitchStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6165:1: ruleSwitchStatement returns [EObject current=null] : (otherlv_0= 'switch' otherlv_1= '(' ( |
| // (lv_expression_2_0= ruleExpression ) ) otherlv_3= ')' otherlv_4= '{' ( (lv_switchClause_5_0= ruleSwitchClause ) )* ( (lv_defaultClause_6_0= ruleSwitchDefaultClause ) )? otherlv_7= '}' ) ; |
| public final EObject ruleSwitchStatement() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token otherlv_1 = null; |
| Token otherlv_3 = null; |
| Token otherlv_4 = null; |
| Token otherlv_7 = null; |
| EObject lv_expression_2_0 = null; |
| |
| EObject lv_switchClause_5_0 = null; |
| |
| EObject lv_defaultClause_6_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6168:28: ( (otherlv_0= 'switch' otherlv_1= '(' ( (lv_expression_2_0= ruleExpression ) ) otherlv_3= ')' |
| // otherlv_4= '{' ( (lv_switchClause_5_0= ruleSwitchClause ) )* ( (lv_defaultClause_6_0= ruleSwitchDefaultClause ) )? otherlv_7= '}' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6169:1: (otherlv_0= 'switch' otherlv_1= '(' ( (lv_expression_2_0= ruleExpression ) ) otherlv_3= ')' |
| // otherlv_4= '{' ( (lv_switchClause_5_0= ruleSwitchClause ) )* ( (lv_defaultClause_6_0= ruleSwitchDefaultClause ) )? otherlv_7= '}' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6169:1: (otherlv_0= 'switch' otherlv_1= '(' ( (lv_expression_2_0= ruleExpression ) ) otherlv_3= ')' |
| // otherlv_4= '{' ( (lv_switchClause_5_0= ruleSwitchClause ) )* ( (lv_defaultClause_6_0= ruleSwitchDefaultClause ) )? otherlv_7= '}' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6169:3: otherlv_0= 'switch' otherlv_1= '(' ( (lv_expression_2_0= ruleExpression ) ) otherlv_3= ')' |
| // otherlv_4= '{' ( (lv_switchClause_5_0= ruleSwitchClause ) )* ( (lv_defaultClause_6_0= ruleSwitchDefaultClause ) )? otherlv_7= '}' |
| { |
| otherlv_0 = (Token) match(input, 75, FOLLOW_75_in_ruleSwitchStatement13426); |
| |
| newLeafNode(otherlv_0, grammarAccess.getSwitchStatementAccess().getSwitchKeyword_0()); |
| |
| otherlv_1 = (Token) match(input, 15, FOLLOW_15_in_ruleSwitchStatement13438); |
| |
| newLeafNode(otherlv_1, grammarAccess.getSwitchStatementAccess().getLeftParenthesisKeyword_1()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6177:1: ( (lv_expression_2_0= ruleExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6178:1: (lv_expression_2_0= ruleExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6178:1: (lv_expression_2_0= ruleExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6179:3: lv_expression_2_0= ruleExpression |
| { |
| |
| newCompositeNode(grammarAccess.getSwitchStatementAccess().getExpressionExpressionParserRuleCall_2_0()); |
| |
| pushFollow(FOLLOW_ruleExpression_in_ruleSwitchStatement13459); |
| lv_expression_2_0 = ruleExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSwitchStatementRule()); |
| } |
| set( |
| current, |
| "expression", |
| lv_expression_2_0, |
| "Expression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_3 = (Token) match(input, 16, FOLLOW_16_in_ruleSwitchStatement13471); |
| |
| newLeafNode(otherlv_3, grammarAccess.getSwitchStatementAccess().getRightParenthesisKeyword_3()); |
| |
| otherlv_4 = (Token) match(input, 63, FOLLOW_63_in_ruleSwitchStatement13483); |
| |
| newLeafNode(otherlv_4, grammarAccess.getSwitchStatementAccess().getLeftCurlyBracketKeyword_4()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6203:1: ( (lv_switchClause_5_0= ruleSwitchClause ) )* |
| loop96: do { |
| int alt96 = 2; |
| int LA96_0 = input.LA(1); |
| |
| if ((LA96_0 == 76)) { |
| alt96 = 1; |
| } |
| |
| |
| switch (alt96) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6204:1: (lv_switchClause_5_0= ruleSwitchClause ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6204:1: (lv_switchClause_5_0= ruleSwitchClause ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6205:3: lv_switchClause_5_0= ruleSwitchClause |
| { |
| |
| newCompositeNode(grammarAccess.getSwitchStatementAccess().getSwitchClauseSwitchClauseParserRuleCall_5_0()); |
| |
| pushFollow(FOLLOW_ruleSwitchClause_in_ruleSwitchStatement13504); |
| lv_switchClause_5_0 = ruleSwitchClause(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSwitchStatementRule()); |
| } |
| add( |
| current, |
| "switchClause", |
| lv_switchClause_5_0, |
| "SwitchClause"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default: |
| break loop96; |
| } |
| } while (true); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6221:3: ( (lv_defaultClause_6_0= ruleSwitchDefaultClause ) )? |
| int alt97 = 2; |
| int LA97_0 = input.LA(1); |
| |
| if ((LA97_0 == 77)) { |
| alt97 = 1; |
| } |
| switch (alt97) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6222:1: (lv_defaultClause_6_0= ruleSwitchDefaultClause ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6222:1: (lv_defaultClause_6_0= ruleSwitchDefaultClause ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6223:3: lv_defaultClause_6_0= ruleSwitchDefaultClause |
| { |
| |
| newCompositeNode(grammarAccess.getSwitchStatementAccess().getDefaultClauseSwitchDefaultClauseParserRuleCall_6_0()); |
| |
| pushFollow(FOLLOW_ruleSwitchDefaultClause_in_ruleSwitchStatement13526); |
| lv_defaultClause_6_0 = ruleSwitchDefaultClause(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSwitchStatementRule()); |
| } |
| set( |
| current, |
| "defaultClause", |
| lv_defaultClause_6_0, |
| "SwitchDefaultClause"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_7 = (Token) match(input, 64, FOLLOW_64_in_ruleSwitchStatement13539); |
| |
| newLeafNode(otherlv_7, grammarAccess.getSwitchStatementAccess().getRightCurlyBracketKeyword_7()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleSwitchStatement" |
| |
| |
| // $ANTLR start "entryRuleSwitchClause" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6251:1: entryRuleSwitchClause returns [EObject current=null] : iv_ruleSwitchClause= ruleSwitchClause EOF ; |
| public final EObject entryRuleSwitchClause() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleSwitchClause = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6252:2: (iv_ruleSwitchClause= ruleSwitchClause EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6253:2: iv_ruleSwitchClause= ruleSwitchClause EOF |
| { |
| newCompositeNode(grammarAccess.getSwitchClauseRule()); |
| pushFollow(FOLLOW_ruleSwitchClause_in_entryRuleSwitchClause13575); |
| iv_ruleSwitchClause = ruleSwitchClause(); |
| |
| state._fsp--; |
| |
| current = iv_ruleSwitchClause; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleSwitchClause13585); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleSwitchClause" |
| |
| |
| // $ANTLR start "ruleSwitchClause" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6260:1: ruleSwitchClause returns [EObject current=null] : ( ( (lv_switchCase_0_0= ruleSwitchCase ) ) ( |
| // (lv_switchCase_1_0= ruleSwitchCase ) )* ( (lv_statementSequence_2_0= ruleNonEmptyStatementSequence ) ) ) ; |
| public final EObject ruleSwitchClause() throws RecognitionException { |
| EObject current = null; |
| |
| EObject lv_switchCase_0_0 = null; |
| |
| EObject lv_switchCase_1_0 = null; |
| |
| EObject lv_statementSequence_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6263:28: ( ( ( (lv_switchCase_0_0= ruleSwitchCase ) ) ( (lv_switchCase_1_0= ruleSwitchCase ) )* ( |
| // (lv_statementSequence_2_0= ruleNonEmptyStatementSequence ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6264:1: ( ( (lv_switchCase_0_0= ruleSwitchCase ) ) ( (lv_switchCase_1_0= ruleSwitchCase ) )* ( |
| // (lv_statementSequence_2_0= ruleNonEmptyStatementSequence ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6264:1: ( ( (lv_switchCase_0_0= ruleSwitchCase ) ) ( (lv_switchCase_1_0= ruleSwitchCase ) )* ( |
| // (lv_statementSequence_2_0= ruleNonEmptyStatementSequence ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6264:2: ( (lv_switchCase_0_0= ruleSwitchCase ) ) ( (lv_switchCase_1_0= ruleSwitchCase ) )* ( |
| // (lv_statementSequence_2_0= ruleNonEmptyStatementSequence ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6264:2: ( (lv_switchCase_0_0= ruleSwitchCase ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6265:1: (lv_switchCase_0_0= ruleSwitchCase ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6265:1: (lv_switchCase_0_0= ruleSwitchCase ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6266:3: lv_switchCase_0_0= ruleSwitchCase |
| { |
| |
| newCompositeNode(grammarAccess.getSwitchClauseAccess().getSwitchCaseSwitchCaseParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleSwitchCase_in_ruleSwitchClause13631); |
| lv_switchCase_0_0 = ruleSwitchCase(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSwitchClauseRule()); |
| } |
| add( |
| current, |
| "switchCase", |
| lv_switchCase_0_0, |
| "SwitchCase"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6282:2: ( (lv_switchCase_1_0= ruleSwitchCase ) )* |
| loop98: do { |
| int alt98 = 2; |
| int LA98_0 = input.LA(1); |
| |
| if ((LA98_0 == 76)) { |
| alt98 = 1; |
| } |
| |
| |
| switch (alt98) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6283:1: (lv_switchCase_1_0= ruleSwitchCase ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6283:1: (lv_switchCase_1_0= ruleSwitchCase ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6284:3: lv_switchCase_1_0= ruleSwitchCase |
| { |
| |
| newCompositeNode(grammarAccess.getSwitchClauseAccess().getSwitchCaseSwitchCaseParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleSwitchCase_in_ruleSwitchClause13652); |
| lv_switchCase_1_0 = ruleSwitchCase(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSwitchClauseRule()); |
| } |
| add( |
| current, |
| "switchCase", |
| lv_switchCase_1_0, |
| "SwitchCase"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default: |
| break loop98; |
| } |
| } while (true); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6300:3: ( (lv_statementSequence_2_0= ruleNonEmptyStatementSequence ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6301:1: (lv_statementSequence_2_0= ruleNonEmptyStatementSequence ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6301:1: (lv_statementSequence_2_0= ruleNonEmptyStatementSequence ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6302:3: lv_statementSequence_2_0= ruleNonEmptyStatementSequence |
| { |
| |
| newCompositeNode(grammarAccess.getSwitchClauseAccess().getStatementSequenceNonEmptyStatementSequenceParserRuleCall_2_0()); |
| |
| pushFollow(FOLLOW_ruleNonEmptyStatementSequence_in_ruleSwitchClause13674); |
| lv_statementSequence_2_0 = ruleNonEmptyStatementSequence(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSwitchClauseRule()); |
| } |
| set( |
| current, |
| "statementSequence", |
| lv_statementSequence_2_0, |
| "NonEmptyStatementSequence"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleSwitchClause" |
| |
| |
| // $ANTLR start "entryRuleSwitchCase" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6326:1: entryRuleSwitchCase returns [EObject current=null] : iv_ruleSwitchCase= ruleSwitchCase EOF ; |
| public final EObject entryRuleSwitchCase() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleSwitchCase = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6327:2: (iv_ruleSwitchCase= ruleSwitchCase EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6328:2: iv_ruleSwitchCase= ruleSwitchCase EOF |
| { |
| newCompositeNode(grammarAccess.getSwitchCaseRule()); |
| pushFollow(FOLLOW_ruleSwitchCase_in_entryRuleSwitchCase13710); |
| iv_ruleSwitchCase = ruleSwitchCase(); |
| |
| state._fsp--; |
| |
| current = iv_ruleSwitchCase; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleSwitchCase13720); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleSwitchCase" |
| |
| |
| // $ANTLR start "ruleSwitchCase" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6335:1: ruleSwitchCase returns [EObject current=null] : (otherlv_0= 'case' ( (lv_expression_1_0= ruleExpression ) |
| // ) otherlv_2= ':' ) ; |
| public final EObject ruleSwitchCase() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token otherlv_2 = null; |
| EObject lv_expression_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6338:28: ( (otherlv_0= 'case' ( (lv_expression_1_0= ruleExpression ) ) otherlv_2= ':' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6339:1: (otherlv_0= 'case' ( (lv_expression_1_0= ruleExpression ) ) otherlv_2= ':' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6339:1: (otherlv_0= 'case' ( (lv_expression_1_0= ruleExpression ) ) otherlv_2= ':' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6339:3: otherlv_0= 'case' ( (lv_expression_1_0= ruleExpression ) ) otherlv_2= ':' |
| { |
| otherlv_0 = (Token) match(input, 76, FOLLOW_76_in_ruleSwitchCase13757); |
| |
| newLeafNode(otherlv_0, grammarAccess.getSwitchCaseAccess().getCaseKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6343:1: ( (lv_expression_1_0= ruleExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6344:1: (lv_expression_1_0= ruleExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6344:1: (lv_expression_1_0= ruleExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6345:3: lv_expression_1_0= ruleExpression |
| { |
| |
| newCompositeNode(grammarAccess.getSwitchCaseAccess().getExpressionExpressionParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleExpression_in_ruleSwitchCase13778); |
| lv_expression_1_0 = ruleExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSwitchCaseRule()); |
| } |
| set( |
| current, |
| "expression", |
| lv_expression_1_0, |
| "Expression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_2 = (Token) match(input, 14, FOLLOW_14_in_ruleSwitchCase13790); |
| |
| newLeafNode(otherlv_2, grammarAccess.getSwitchCaseAccess().getColonKeyword_2()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleSwitchCase" |
| |
| |
| // $ANTLR start "entryRuleSwitchDefaultClause" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6373:1: entryRuleSwitchDefaultClause returns [EObject current=null] : iv_ruleSwitchDefaultClause= |
| // ruleSwitchDefaultClause EOF ; |
| public final EObject entryRuleSwitchDefaultClause() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleSwitchDefaultClause = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6374:2: (iv_ruleSwitchDefaultClause= ruleSwitchDefaultClause EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6375:2: iv_ruleSwitchDefaultClause= ruleSwitchDefaultClause EOF |
| { |
| newCompositeNode(grammarAccess.getSwitchDefaultClauseRule()); |
| pushFollow(FOLLOW_ruleSwitchDefaultClause_in_entryRuleSwitchDefaultClause13826); |
| iv_ruleSwitchDefaultClause = ruleSwitchDefaultClause(); |
| |
| state._fsp--; |
| |
| current = iv_ruleSwitchDefaultClause; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleSwitchDefaultClause13836); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleSwitchDefaultClause" |
| |
| |
| // $ANTLR start "ruleSwitchDefaultClause" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6382:1: ruleSwitchDefaultClause returns [EObject current=null] : (otherlv_0= 'default' otherlv_1= ':' ( |
| // (lv_statementSequence_2_0= ruleNonEmptyStatementSequence ) ) ) ; |
| public final EObject ruleSwitchDefaultClause() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token otherlv_1 = null; |
| EObject lv_statementSequence_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6385:28: ( (otherlv_0= 'default' otherlv_1= ':' ( (lv_statementSequence_2_0= ruleNonEmptyStatementSequence |
| // ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6386:1: (otherlv_0= 'default' otherlv_1= ':' ( (lv_statementSequence_2_0= ruleNonEmptyStatementSequence ) |
| // ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6386:1: (otherlv_0= 'default' otherlv_1= ':' ( (lv_statementSequence_2_0= |
| // ruleNonEmptyStatementSequence ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6386:3: otherlv_0= 'default' otherlv_1= ':' ( (lv_statementSequence_2_0= ruleNonEmptyStatementSequence |
| // ) ) |
| { |
| otherlv_0 = (Token) match(input, 77, FOLLOW_77_in_ruleSwitchDefaultClause13873); |
| |
| newLeafNode(otherlv_0, grammarAccess.getSwitchDefaultClauseAccess().getDefaultKeyword_0()); |
| |
| otherlv_1 = (Token) match(input, 14, FOLLOW_14_in_ruleSwitchDefaultClause13885); |
| |
| newLeafNode(otherlv_1, grammarAccess.getSwitchDefaultClauseAccess().getColonKeyword_1()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6394:1: ( (lv_statementSequence_2_0= ruleNonEmptyStatementSequence ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6395:1: (lv_statementSequence_2_0= ruleNonEmptyStatementSequence ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6395:1: (lv_statementSequence_2_0= ruleNonEmptyStatementSequence ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6396:3: lv_statementSequence_2_0= ruleNonEmptyStatementSequence |
| { |
| |
| newCompositeNode(grammarAccess.getSwitchDefaultClauseAccess().getStatementSequenceNonEmptyStatementSequenceParserRuleCall_2_0()); |
| |
| pushFollow(FOLLOW_ruleNonEmptyStatementSequence_in_ruleSwitchDefaultClause13906); |
| lv_statementSequence_2_0 = ruleNonEmptyStatementSequence(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSwitchDefaultClauseRule()); |
| } |
| set( |
| current, |
| "statementSequence", |
| lv_statementSequence_2_0, |
| "NonEmptyStatementSequence"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleSwitchDefaultClause" |
| |
| |
| // $ANTLR start "entryRuleNonEmptyStatementSequence" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6420:1: entryRuleNonEmptyStatementSequence returns [EObject current=null] : iv_ruleNonEmptyStatementSequence= |
| // ruleNonEmptyStatementSequence EOF ; |
| public final EObject entryRuleNonEmptyStatementSequence() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleNonEmptyStatementSequence = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6421:2: (iv_ruleNonEmptyStatementSequence= ruleNonEmptyStatementSequence EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6422:2: iv_ruleNonEmptyStatementSequence= ruleNonEmptyStatementSequence EOF |
| { |
| newCompositeNode(grammarAccess.getNonEmptyStatementSequenceRule()); |
| pushFollow(FOLLOW_ruleNonEmptyStatementSequence_in_entryRuleNonEmptyStatementSequence13942); |
| iv_ruleNonEmptyStatementSequence = ruleNonEmptyStatementSequence(); |
| |
| state._fsp--; |
| |
| current = iv_ruleNonEmptyStatementSequence; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleNonEmptyStatementSequence13952); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleNonEmptyStatementSequence" |
| |
| |
| // $ANTLR start "ruleNonEmptyStatementSequence" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6429:1: ruleNonEmptyStatementSequence returns [EObject current=null] : ( (lv_statement_0_0= |
| // ruleDocumentedStatement ) )+ ; |
| public final EObject ruleNonEmptyStatementSequence() throws RecognitionException { |
| EObject current = null; |
| |
| EObject lv_statement_0_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6432:28: ( ( (lv_statement_0_0= ruleDocumentedStatement ) )+ ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6433:1: ( (lv_statement_0_0= ruleDocumentedStatement ) )+ |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6433:1: ( (lv_statement_0_0= ruleDocumentedStatement ) )+ |
| int cnt99 = 0; |
| loop99: do { |
| int alt99 = 2; |
| int LA99_0 = input.LA(1); |
| |
| if ((LA99_0 == RULE_ID || (LA99_0 >= RULE_ML_COMMENT && LA99_0 <= RULE_SL_COMMENT) || LA99_0 == 12 || (LA99_0 >= 27 && LA99_0 <= 28) || (LA99_0 >= 60 && LA99_0 <= 63) || LA99_0 == 66 || (LA99_0 >= 69 && LA99_0 <= 70) || LA99_0 == 72 |
| || LA99_0 == 75 || (LA99_0 >= 78 && LA99_0 <= 80) || (LA99_0 >= 82 && LA99_0 <= 85))) { |
| alt99 = 1; |
| } |
| |
| |
| switch (alt99) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6434:1: (lv_statement_0_0= ruleDocumentedStatement ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6434:1: (lv_statement_0_0= ruleDocumentedStatement ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6435:3: lv_statement_0_0= ruleDocumentedStatement |
| { |
| |
| newCompositeNode(grammarAccess.getNonEmptyStatementSequenceAccess().getStatementDocumentedStatementParserRuleCall_0()); |
| |
| pushFollow(FOLLOW_ruleDocumentedStatement_in_ruleNonEmptyStatementSequence13997); |
| lv_statement_0_0 = ruleDocumentedStatement(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getNonEmptyStatementSequenceRule()); |
| } |
| add( |
| current, |
| "statement", |
| lv_statement_0_0, |
| "DocumentedStatement"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default: |
| if (cnt99 >= 1) { |
| break loop99; |
| } |
| EarlyExitException eee = |
| new EarlyExitException(99, input); |
| throw eee; |
| } |
| cnt99++; |
| } while (true); |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleNonEmptyStatementSequence" |
| |
| |
| // $ANTLR start "entryRuleWhileStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6459:1: entryRuleWhileStatement returns [EObject current=null] : iv_ruleWhileStatement= ruleWhileStatement EOF ; |
| public final EObject entryRuleWhileStatement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleWhileStatement = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6460:2: (iv_ruleWhileStatement= ruleWhileStatement EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6461:2: iv_ruleWhileStatement= ruleWhileStatement EOF |
| { |
| newCompositeNode(grammarAccess.getWhileStatementRule()); |
| pushFollow(FOLLOW_ruleWhileStatement_in_entryRuleWhileStatement14033); |
| iv_ruleWhileStatement = ruleWhileStatement(); |
| |
| state._fsp--; |
| |
| current = iv_ruleWhileStatement; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleWhileStatement14043); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleWhileStatement" |
| |
| |
| // $ANTLR start "ruleWhileStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6468:1: ruleWhileStatement returns [EObject current=null] : (otherlv_0= 'while' otherlv_1= '(' ( |
| // (lv_condition_2_0= ruleExpression ) ) otherlv_3= ')' ( (lv_block_4_0= ruleBlock ) ) ) ; |
| public final EObject ruleWhileStatement() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token otherlv_1 = null; |
| Token otherlv_3 = null; |
| EObject lv_condition_2_0 = null; |
| |
| EObject lv_block_4_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6471:28: ( (otherlv_0= 'while' otherlv_1= '(' ( (lv_condition_2_0= ruleExpression ) ) otherlv_3= ')' ( |
| // (lv_block_4_0= ruleBlock ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6472:1: (otherlv_0= 'while' otherlv_1= '(' ( (lv_condition_2_0= ruleExpression ) ) otherlv_3= ')' ( |
| // (lv_block_4_0= ruleBlock ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6472:1: (otherlv_0= 'while' otherlv_1= '(' ( (lv_condition_2_0= ruleExpression ) ) otherlv_3= ')' ( |
| // (lv_block_4_0= ruleBlock ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6472:3: otherlv_0= 'while' otherlv_1= '(' ( (lv_condition_2_0= ruleExpression ) ) otherlv_3= ')' ( |
| // (lv_block_4_0= ruleBlock ) ) |
| { |
| otherlv_0 = (Token) match(input, 78, FOLLOW_78_in_ruleWhileStatement14080); |
| |
| newLeafNode(otherlv_0, grammarAccess.getWhileStatementAccess().getWhileKeyword_0()); |
| |
| otherlv_1 = (Token) match(input, 15, FOLLOW_15_in_ruleWhileStatement14092); |
| |
| newLeafNode(otherlv_1, grammarAccess.getWhileStatementAccess().getLeftParenthesisKeyword_1()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6480:1: ( (lv_condition_2_0= ruleExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6481:1: (lv_condition_2_0= ruleExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6481:1: (lv_condition_2_0= ruleExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6482:3: lv_condition_2_0= ruleExpression |
| { |
| |
| newCompositeNode(grammarAccess.getWhileStatementAccess().getConditionExpressionParserRuleCall_2_0()); |
| |
| pushFollow(FOLLOW_ruleExpression_in_ruleWhileStatement14113); |
| lv_condition_2_0 = ruleExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getWhileStatementRule()); |
| } |
| set( |
| current, |
| "condition", |
| lv_condition_2_0, |
| "Expression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_3 = (Token) match(input, 16, FOLLOW_16_in_ruleWhileStatement14125); |
| |
| newLeafNode(otherlv_3, grammarAccess.getWhileStatementAccess().getRightParenthesisKeyword_3()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6502:1: ( (lv_block_4_0= ruleBlock ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6503:1: (lv_block_4_0= ruleBlock ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6503:1: (lv_block_4_0= ruleBlock ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6504:3: lv_block_4_0= ruleBlock |
| { |
| |
| newCompositeNode(grammarAccess.getWhileStatementAccess().getBlockBlockParserRuleCall_4_0()); |
| |
| pushFollow(FOLLOW_ruleBlock_in_ruleWhileStatement14146); |
| lv_block_4_0 = ruleBlock(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getWhileStatementRule()); |
| } |
| set( |
| current, |
| "block", |
| lv_block_4_0, |
| "Block"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleWhileStatement" |
| |
| |
| // $ANTLR start "entryRuleDoStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6528:1: entryRuleDoStatement returns [EObject current=null] : iv_ruleDoStatement= ruleDoStatement EOF ; |
| public final EObject entryRuleDoStatement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDoStatement = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6529:2: (iv_ruleDoStatement= ruleDoStatement EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6530:2: iv_ruleDoStatement= ruleDoStatement EOF |
| { |
| newCompositeNode(grammarAccess.getDoStatementRule()); |
| pushFollow(FOLLOW_ruleDoStatement_in_entryRuleDoStatement14182); |
| iv_ruleDoStatement = ruleDoStatement(); |
| |
| state._fsp--; |
| |
| current = iv_ruleDoStatement; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleDoStatement14192); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleDoStatement" |
| |
| |
| // $ANTLR start "ruleDoStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6537:1: ruleDoStatement returns [EObject current=null] : (otherlv_0= 'do' ( (lv_block_1_0= ruleBlock ) ) |
| // otherlv_2= 'while' otherlv_3= '(' ( (lv_condition_4_0= ruleExpression ) ) otherlv_5= ')' otherlv_6= ';' ) ; |
| public final EObject ruleDoStatement() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token otherlv_2 = null; |
| Token otherlv_3 = null; |
| Token otherlv_5 = null; |
| Token otherlv_6 = null; |
| EObject lv_block_1_0 = null; |
| |
| EObject lv_condition_4_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6540:28: ( (otherlv_0= 'do' ( (lv_block_1_0= ruleBlock ) ) otherlv_2= 'while' otherlv_3= '(' ( |
| // (lv_condition_4_0= ruleExpression ) ) otherlv_5= ')' otherlv_6= ';' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6541:1: (otherlv_0= 'do' ( (lv_block_1_0= ruleBlock ) ) otherlv_2= 'while' otherlv_3= '(' ( |
| // (lv_condition_4_0= ruleExpression ) ) otherlv_5= ')' otherlv_6= ';' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6541:1: (otherlv_0= 'do' ( (lv_block_1_0= ruleBlock ) ) otherlv_2= 'while' otherlv_3= '(' ( |
| // (lv_condition_4_0= ruleExpression ) ) otherlv_5= ')' otherlv_6= ';' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6541:3: otherlv_0= 'do' ( (lv_block_1_0= ruleBlock ) ) otherlv_2= 'while' otherlv_3= '(' ( |
| // (lv_condition_4_0= ruleExpression ) ) otherlv_5= ')' otherlv_6= ';' |
| { |
| otherlv_0 = (Token) match(input, 79, FOLLOW_79_in_ruleDoStatement14229); |
| |
| newLeafNode(otherlv_0, grammarAccess.getDoStatementAccess().getDoKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6545:1: ( (lv_block_1_0= ruleBlock ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6546:1: (lv_block_1_0= ruleBlock ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6546:1: (lv_block_1_0= ruleBlock ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6547:3: lv_block_1_0= ruleBlock |
| { |
| |
| newCompositeNode(grammarAccess.getDoStatementAccess().getBlockBlockParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleBlock_in_ruleDoStatement14250); |
| lv_block_1_0 = ruleBlock(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getDoStatementRule()); |
| } |
| set( |
| current, |
| "block", |
| lv_block_1_0, |
| "Block"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_2 = (Token) match(input, 78, FOLLOW_78_in_ruleDoStatement14262); |
| |
| newLeafNode(otherlv_2, grammarAccess.getDoStatementAccess().getWhileKeyword_2()); |
| |
| otherlv_3 = (Token) match(input, 15, FOLLOW_15_in_ruleDoStatement14274); |
| |
| newLeafNode(otherlv_3, grammarAccess.getDoStatementAccess().getLeftParenthesisKeyword_3()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6571:1: ( (lv_condition_4_0= ruleExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6572:1: (lv_condition_4_0= ruleExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6572:1: (lv_condition_4_0= ruleExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6573:3: lv_condition_4_0= ruleExpression |
| { |
| |
| newCompositeNode(grammarAccess.getDoStatementAccess().getConditionExpressionParserRuleCall_4_0()); |
| |
| pushFollow(FOLLOW_ruleExpression_in_ruleDoStatement14295); |
| lv_condition_4_0 = ruleExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getDoStatementRule()); |
| } |
| set( |
| current, |
| "condition", |
| lv_condition_4_0, |
| "Expression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_5 = (Token) match(input, 16, FOLLOW_16_in_ruleDoStatement14307); |
| |
| newLeafNode(otherlv_5, grammarAccess.getDoStatementAccess().getRightParenthesisKeyword_5()); |
| |
| otherlv_6 = (Token) match(input, 12, FOLLOW_12_in_ruleDoStatement14319); |
| |
| newLeafNode(otherlv_6, grammarAccess.getDoStatementAccess().getSemicolonKeyword_6()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleDoStatement" |
| |
| |
| // $ANTLR start "entryRuleForStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6605:1: entryRuleForStatement returns [EObject current=null] : iv_ruleForStatement= ruleForStatement EOF ; |
| public final EObject entryRuleForStatement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleForStatement = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6606:2: (iv_ruleForStatement= ruleForStatement EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6607:2: iv_ruleForStatement= ruleForStatement EOF |
| { |
| newCompositeNode(grammarAccess.getForStatementRule()); |
| pushFollow(FOLLOW_ruleForStatement_in_entryRuleForStatement14355); |
| iv_ruleForStatement = ruleForStatement(); |
| |
| state._fsp--; |
| |
| current = iv_ruleForStatement; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleForStatement14365); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleForStatement" |
| |
| |
| // $ANTLR start "ruleForStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6614:1: ruleForStatement returns [EObject current=null] : (otherlv_0= 'for' otherlv_1= '(' ( (lv_control_2_0= |
| // ruleForControl ) ) otherlv_3= ')' ( (lv_block_4_0= ruleBlock ) ) ) ; |
| public final EObject ruleForStatement() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token otherlv_1 = null; |
| Token otherlv_3 = null; |
| EObject lv_control_2_0 = null; |
| |
| EObject lv_block_4_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6617:28: ( (otherlv_0= 'for' otherlv_1= '(' ( (lv_control_2_0= ruleForControl ) ) otherlv_3= ')' ( |
| // (lv_block_4_0= ruleBlock ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6618:1: (otherlv_0= 'for' otherlv_1= '(' ( (lv_control_2_0= ruleForControl ) ) otherlv_3= ')' ( |
| // (lv_block_4_0= ruleBlock ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6618:1: (otherlv_0= 'for' otherlv_1= '(' ( (lv_control_2_0= ruleForControl ) ) otherlv_3= ')' ( |
| // (lv_block_4_0= ruleBlock ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6618:3: otherlv_0= 'for' otherlv_1= '(' ( (lv_control_2_0= ruleForControl ) ) otherlv_3= ')' ( |
| // (lv_block_4_0= ruleBlock ) ) |
| { |
| otherlv_0 = (Token) match(input, 80, FOLLOW_80_in_ruleForStatement14402); |
| |
| newLeafNode(otherlv_0, grammarAccess.getForStatementAccess().getForKeyword_0()); |
| |
| otherlv_1 = (Token) match(input, 15, FOLLOW_15_in_ruleForStatement14414); |
| |
| newLeafNode(otherlv_1, grammarAccess.getForStatementAccess().getLeftParenthesisKeyword_1()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6626:1: ( (lv_control_2_0= ruleForControl ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6627:1: (lv_control_2_0= ruleForControl ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6627:1: (lv_control_2_0= ruleForControl ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6628:3: lv_control_2_0= ruleForControl |
| { |
| |
| newCompositeNode(grammarAccess.getForStatementAccess().getControlForControlParserRuleCall_2_0()); |
| |
| pushFollow(FOLLOW_ruleForControl_in_ruleForStatement14435); |
| lv_control_2_0 = ruleForControl(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getForStatementRule()); |
| } |
| set( |
| current, |
| "control", |
| lv_control_2_0, |
| "ForControl"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_3 = (Token) match(input, 16, FOLLOW_16_in_ruleForStatement14447); |
| |
| newLeafNode(otherlv_3, grammarAccess.getForStatementAccess().getRightParenthesisKeyword_3()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6648:1: ( (lv_block_4_0= ruleBlock ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6649:1: (lv_block_4_0= ruleBlock ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6649:1: (lv_block_4_0= ruleBlock ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6650:3: lv_block_4_0= ruleBlock |
| { |
| |
| newCompositeNode(grammarAccess.getForStatementAccess().getBlockBlockParserRuleCall_4_0()); |
| |
| pushFollow(FOLLOW_ruleBlock_in_ruleForStatement14468); |
| lv_block_4_0 = ruleBlock(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getForStatementRule()); |
| } |
| set( |
| current, |
| "block", |
| lv_block_4_0, |
| "Block"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleForStatement" |
| |
| |
| // $ANTLR start "entryRuleForControl" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6674:1: entryRuleForControl returns [EObject current=null] : iv_ruleForControl= ruleForControl EOF ; |
| public final EObject entryRuleForControl() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleForControl = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6675:2: (iv_ruleForControl= ruleForControl EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6676:2: iv_ruleForControl= ruleForControl EOF |
| { |
| newCompositeNode(grammarAccess.getForControlRule()); |
| pushFollow(FOLLOW_ruleForControl_in_entryRuleForControl14504); |
| iv_ruleForControl = ruleForControl(); |
| |
| state._fsp--; |
| |
| current = iv_ruleForControl; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleForControl14514); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleForControl" |
| |
| |
| // $ANTLR start "ruleForControl" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6683:1: ruleForControl returns [EObject current=null] : ( ( (lv_loopVariableDefinition_0_0= |
| // ruleLoopVariableDefinition ) ) (otherlv_1= ',' ( (lv_loopVariableDefinition_2_0= ruleLoopVariableDefinition ) ) )* ) ; |
| public final EObject ruleForControl() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| EObject lv_loopVariableDefinition_0_0 = null; |
| |
| EObject lv_loopVariableDefinition_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6686:28: ( ( ( (lv_loopVariableDefinition_0_0= ruleLoopVariableDefinition ) ) (otherlv_1= ',' ( |
| // (lv_loopVariableDefinition_2_0= ruleLoopVariableDefinition ) ) )* ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6687:1: ( ( (lv_loopVariableDefinition_0_0= ruleLoopVariableDefinition ) ) (otherlv_1= ',' ( |
| // (lv_loopVariableDefinition_2_0= ruleLoopVariableDefinition ) ) )* ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6687:1: ( ( (lv_loopVariableDefinition_0_0= ruleLoopVariableDefinition ) ) (otherlv_1= ',' ( |
| // (lv_loopVariableDefinition_2_0= ruleLoopVariableDefinition ) ) )* ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6687:2: ( (lv_loopVariableDefinition_0_0= ruleLoopVariableDefinition ) ) (otherlv_1= ',' ( |
| // (lv_loopVariableDefinition_2_0= ruleLoopVariableDefinition ) ) )* |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6687:2: ( (lv_loopVariableDefinition_0_0= ruleLoopVariableDefinition ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6688:1: (lv_loopVariableDefinition_0_0= ruleLoopVariableDefinition ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6688:1: (lv_loopVariableDefinition_0_0= ruleLoopVariableDefinition ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6689:3: lv_loopVariableDefinition_0_0= ruleLoopVariableDefinition |
| { |
| |
| newCompositeNode(grammarAccess.getForControlAccess().getLoopVariableDefinitionLoopVariableDefinitionParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleLoopVariableDefinition_in_ruleForControl14560); |
| lv_loopVariableDefinition_0_0 = ruleLoopVariableDefinition(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getForControlRule()); |
| } |
| add( |
| current, |
| "loopVariableDefinition", |
| lv_loopVariableDefinition_0_0, |
| "LoopVariableDefinition"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6705:2: (otherlv_1= ',' ( (lv_loopVariableDefinition_2_0= ruleLoopVariableDefinition ) ) )* |
| loop100: do { |
| int alt100 = 2; |
| int LA100_0 = input.LA(1); |
| |
| if ((LA100_0 == 17)) { |
| alt100 = 1; |
| } |
| |
| |
| switch (alt100) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6705:4: otherlv_1= ',' ( (lv_loopVariableDefinition_2_0= ruleLoopVariableDefinition ) ) |
| { |
| otherlv_1 = (Token) match(input, 17, FOLLOW_17_in_ruleForControl14573); |
| |
| newLeafNode(otherlv_1, grammarAccess.getForControlAccess().getCommaKeyword_1_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6709:1: ( (lv_loopVariableDefinition_2_0= ruleLoopVariableDefinition ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6710:1: (lv_loopVariableDefinition_2_0= ruleLoopVariableDefinition ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6710:1: (lv_loopVariableDefinition_2_0= ruleLoopVariableDefinition ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6711:3: lv_loopVariableDefinition_2_0= ruleLoopVariableDefinition |
| { |
| |
| newCompositeNode(grammarAccess.getForControlAccess().getLoopVariableDefinitionLoopVariableDefinitionParserRuleCall_1_1_0()); |
| |
| pushFollow(FOLLOW_ruleLoopVariableDefinition_in_ruleForControl14594); |
| lv_loopVariableDefinition_2_0 = ruleLoopVariableDefinition(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getForControlRule()); |
| } |
| add( |
| current, |
| "loopVariableDefinition", |
| lv_loopVariableDefinition_2_0, |
| "LoopVariableDefinition"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default: |
| break loop100; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleForControl" |
| |
| |
| // $ANTLR start "entryRuleLoopVariableDefinition" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6735:1: entryRuleLoopVariableDefinition returns [EObject current=null] : iv_ruleLoopVariableDefinition= |
| // ruleLoopVariableDefinition EOF ; |
| public final EObject entryRuleLoopVariableDefinition() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleLoopVariableDefinition = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6736:2: (iv_ruleLoopVariableDefinition= ruleLoopVariableDefinition EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6737:2: iv_ruleLoopVariableDefinition= ruleLoopVariableDefinition EOF |
| { |
| newCompositeNode(grammarAccess.getLoopVariableDefinitionRule()); |
| pushFollow(FOLLOW_ruleLoopVariableDefinition_in_entryRuleLoopVariableDefinition14632); |
| iv_ruleLoopVariableDefinition = ruleLoopVariableDefinition(); |
| |
| state._fsp--; |
| |
| current = iv_ruleLoopVariableDefinition; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleLoopVariableDefinition14642); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleLoopVariableDefinition" |
| |
| |
| // $ANTLR start "ruleLoopVariableDefinition" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6744:1: ruleLoopVariableDefinition returns [EObject current=null] : ( ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= |
| // 'in' ( (lv_expression1_2_0= ruleExpression ) ) (otherlv_3= '..' ( (lv_expression2_4_0= ruleExpression ) ) )? ) | ( ( (lv_type_5_0= ruleQualifiedNameWithBinding ) ) ( (lv_name_6_0= RULE_ID ) ) otherlv_7= ':' ( (lv_expression_8_0= ruleExpression ) ) ) ) ; |
| public final EObject ruleLoopVariableDefinition() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_name_0_0 = null; |
| Token otherlv_1 = null; |
| Token otherlv_3 = null; |
| Token lv_name_6_0 = null; |
| Token otherlv_7 = null; |
| EObject lv_expression1_2_0 = null; |
| |
| EObject lv_expression2_4_0 = null; |
| |
| EObject lv_type_5_0 = null; |
| |
| EObject lv_expression_8_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6747:28: ( ( ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'in' ( (lv_expression1_2_0= ruleExpression ) ) |
| // (otherlv_3= '..' ( (lv_expression2_4_0= ruleExpression ) ) )? ) | ( ( (lv_type_5_0= ruleQualifiedNameWithBinding ) ) ( (lv_name_6_0= RULE_ID ) ) otherlv_7= ':' ( (lv_expression_8_0= ruleExpression ) ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6748:1: ( ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'in' ( (lv_expression1_2_0= ruleExpression ) ) |
| // (otherlv_3= '..' ( (lv_expression2_4_0= ruleExpression ) ) )? ) | ( ( (lv_type_5_0= ruleQualifiedNameWithBinding ) ) ( (lv_name_6_0= RULE_ID ) ) otherlv_7= ':' ( (lv_expression_8_0= ruleExpression ) ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6748:1: ( ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'in' ( (lv_expression1_2_0= ruleExpression ) ) |
| // (otherlv_3= '..' ( (lv_expression2_4_0= ruleExpression ) ) )? ) | ( ( (lv_type_5_0= ruleQualifiedNameWithBinding ) ) ( (lv_name_6_0= RULE_ID ) ) otherlv_7= ':' ( (lv_expression_8_0= ruleExpression ) ) ) ) |
| int alt102 = 2; |
| int LA102_0 = input.LA(1); |
| |
| if ((LA102_0 == RULE_ID)) { |
| int LA102_1 = input.LA(2); |
| |
| if ((LA102_1 == 81)) { |
| alt102 = 1; |
| } |
| else if ((LA102_1 == RULE_ID || (LA102_1 >= 29 && LA102_1 <= 30))) { |
| alt102 = 2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 102, 1, input); |
| |
| throw nvae; |
| } |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 102, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt102) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6748:2: ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'in' ( (lv_expression1_2_0= ruleExpression ) ) |
| // (otherlv_3= '..' ( (lv_expression2_4_0= ruleExpression ) ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6748:2: ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'in' ( (lv_expression1_2_0= ruleExpression ) ) |
| // (otherlv_3= '..' ( (lv_expression2_4_0= ruleExpression ) ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6748:3: ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'in' ( (lv_expression1_2_0= ruleExpression ) ) |
| // (otherlv_3= '..' ( (lv_expression2_4_0= ruleExpression ) ) )? |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6748:3: ( (lv_name_0_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6749:1: (lv_name_0_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6749:1: (lv_name_0_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6750:3: lv_name_0_0= RULE_ID |
| { |
| lv_name_0_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleLoopVariableDefinition14685); |
| |
| newLeafNode(lv_name_0_0, grammarAccess.getLoopVariableDefinitionAccess().getNameIDTerminalRuleCall_0_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getLoopVariableDefinitionRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "name", |
| lv_name_0_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_1 = (Token) match(input, 81, FOLLOW_81_in_ruleLoopVariableDefinition14702); |
| |
| newLeafNode(otherlv_1, grammarAccess.getLoopVariableDefinitionAccess().getInKeyword_0_1()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6770:1: ( (lv_expression1_2_0= ruleExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6771:1: (lv_expression1_2_0= ruleExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6771:1: (lv_expression1_2_0= ruleExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6772:3: lv_expression1_2_0= ruleExpression |
| { |
| |
| newCompositeNode(grammarAccess.getLoopVariableDefinitionAccess().getExpression1ExpressionParserRuleCall_0_2_0()); |
| |
| pushFollow(FOLLOW_ruleExpression_in_ruleLoopVariableDefinition14723); |
| lv_expression1_2_0 = ruleExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getLoopVariableDefinitionRule()); |
| } |
| set( |
| current, |
| "expression1", |
| lv_expression1_2_0, |
| "Expression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6788:2: (otherlv_3= '..' ( (lv_expression2_4_0= ruleExpression ) ) )? |
| int alt101 = 2; |
| int LA101_0 = input.LA(1); |
| |
| if ((LA101_0 == 23)) { |
| alt101 = 1; |
| } |
| switch (alt101) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6788:4: otherlv_3= '..' ( (lv_expression2_4_0= ruleExpression ) ) |
| { |
| otherlv_3 = (Token) match(input, 23, FOLLOW_23_in_ruleLoopVariableDefinition14736); |
| |
| newLeafNode(otherlv_3, grammarAccess.getLoopVariableDefinitionAccess().getFullStopFullStopKeyword_0_3_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6792:1: ( (lv_expression2_4_0= ruleExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6793:1: (lv_expression2_4_0= ruleExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6793:1: (lv_expression2_4_0= ruleExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6794:3: lv_expression2_4_0= ruleExpression |
| { |
| |
| newCompositeNode(grammarAccess.getLoopVariableDefinitionAccess().getExpression2ExpressionParserRuleCall_0_3_1_0()); |
| |
| pushFollow(FOLLOW_ruleExpression_in_ruleLoopVariableDefinition14757); |
| lv_expression2_4_0 = ruleExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getLoopVariableDefinitionRule()); |
| } |
| set( |
| current, |
| "expression2", |
| lv_expression2_4_0, |
| "Expression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6811:6: ( ( (lv_type_5_0= ruleQualifiedNameWithBinding ) ) ( (lv_name_6_0= RULE_ID ) ) otherlv_7= ':' |
| // ( (lv_expression_8_0= ruleExpression ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6811:6: ( ( (lv_type_5_0= ruleQualifiedNameWithBinding ) ) ( (lv_name_6_0= RULE_ID ) ) otherlv_7= |
| // ':' ( (lv_expression_8_0= ruleExpression ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6811:7: ( (lv_type_5_0= ruleQualifiedNameWithBinding ) ) ( (lv_name_6_0= RULE_ID ) ) otherlv_7= |
| // ':' ( (lv_expression_8_0= ruleExpression ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6811:7: ( (lv_type_5_0= ruleQualifiedNameWithBinding ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6812:1: (lv_type_5_0= ruleQualifiedNameWithBinding ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6812:1: (lv_type_5_0= ruleQualifiedNameWithBinding ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6813:3: lv_type_5_0= ruleQualifiedNameWithBinding |
| { |
| |
| newCompositeNode(grammarAccess.getLoopVariableDefinitionAccess().getTypeQualifiedNameWithBindingParserRuleCall_1_0_0()); |
| |
| pushFollow(FOLLOW_ruleQualifiedNameWithBinding_in_ruleLoopVariableDefinition14788); |
| lv_type_5_0 = ruleQualifiedNameWithBinding(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getLoopVariableDefinitionRule()); |
| } |
| set( |
| current, |
| "type", |
| lv_type_5_0, |
| "QualifiedNameWithBinding"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6829:2: ( (lv_name_6_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6830:1: (lv_name_6_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6830:1: (lv_name_6_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6831:3: lv_name_6_0= RULE_ID |
| { |
| lv_name_6_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleLoopVariableDefinition14805); |
| |
| newLeafNode(lv_name_6_0, grammarAccess.getLoopVariableDefinitionAccess().getNameIDTerminalRuleCall_1_1_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getLoopVariableDefinitionRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "name", |
| lv_name_6_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_7 = (Token) match(input, 14, FOLLOW_14_in_ruleLoopVariableDefinition14822); |
| |
| newLeafNode(otherlv_7, grammarAccess.getLoopVariableDefinitionAccess().getColonKeyword_1_2()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6851:1: ( (lv_expression_8_0= ruleExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6852:1: (lv_expression_8_0= ruleExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6852:1: (lv_expression_8_0= ruleExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6853:3: lv_expression_8_0= ruleExpression |
| { |
| |
| newCompositeNode(grammarAccess.getLoopVariableDefinitionAccess().getExpressionExpressionParserRuleCall_1_3_0()); |
| |
| pushFollow(FOLLOW_ruleExpression_in_ruleLoopVariableDefinition14843); |
| lv_expression_8_0 = ruleExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getLoopVariableDefinitionRule()); |
| } |
| set( |
| current, |
| "expression", |
| lv_expression_8_0, |
| "Expression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleLoopVariableDefinition" |
| |
| |
| // $ANTLR start "entryRuleBreakStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6877:1: entryRuleBreakStatement returns [EObject current=null] : iv_ruleBreakStatement= ruleBreakStatement EOF ; |
| public final EObject entryRuleBreakStatement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleBreakStatement = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6878:2: (iv_ruleBreakStatement= ruleBreakStatement EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6879:2: iv_ruleBreakStatement= ruleBreakStatement EOF |
| { |
| newCompositeNode(grammarAccess.getBreakStatementRule()); |
| pushFollow(FOLLOW_ruleBreakStatement_in_entryRuleBreakStatement14880); |
| iv_ruleBreakStatement = ruleBreakStatement(); |
| |
| state._fsp--; |
| |
| current = iv_ruleBreakStatement; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleBreakStatement14890); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleBreakStatement" |
| |
| |
| // $ANTLR start "ruleBreakStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6886:1: ruleBreakStatement returns [EObject current=null] : ( () otherlv_1= 'break' otherlv_2= ';' ) ; |
| public final EObject ruleBreakStatement() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| Token otherlv_2 = null; |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6889:28: ( ( () otherlv_1= 'break' otherlv_2= ';' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6890:1: ( () otherlv_1= 'break' otherlv_2= ';' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6890:1: ( () otherlv_1= 'break' otherlv_2= ';' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6890:2: () otherlv_1= 'break' otherlv_2= ';' |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6890:2: () |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6891:5: |
| { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getBreakStatementAccess().getBreakStatementAction_0(), |
| current); |
| |
| |
| } |
| |
| otherlv_1 = (Token) match(input, 82, FOLLOW_82_in_ruleBreakStatement14936); |
| |
| newLeafNode(otherlv_1, grammarAccess.getBreakStatementAccess().getBreakKeyword_1()); |
| |
| otherlv_2 = (Token) match(input, 12, FOLLOW_12_in_ruleBreakStatement14948); |
| |
| newLeafNode(otherlv_2, grammarAccess.getBreakStatementAccess().getSemicolonKeyword_2()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleBreakStatement" |
| |
| |
| // $ANTLR start "entryRuleReturnStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6912:1: entryRuleReturnStatement returns [EObject current=null] : iv_ruleReturnStatement= ruleReturnStatement EOF |
| // ; |
| public final EObject entryRuleReturnStatement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleReturnStatement = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6913:2: (iv_ruleReturnStatement= ruleReturnStatement EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6914:2: iv_ruleReturnStatement= ruleReturnStatement EOF |
| { |
| newCompositeNode(grammarAccess.getReturnStatementRule()); |
| pushFollow(FOLLOW_ruleReturnStatement_in_entryRuleReturnStatement14984); |
| iv_ruleReturnStatement = ruleReturnStatement(); |
| |
| state._fsp--; |
| |
| current = iv_ruleReturnStatement; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleReturnStatement14994); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleReturnStatement" |
| |
| |
| // $ANTLR start "ruleReturnStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6921:1: ruleReturnStatement returns [EObject current=null] : (otherlv_0= 'return' ( (lv_expression_1_0= |
| // ruleExpression ) ) otherlv_2= ';' ) ; |
| public final EObject ruleReturnStatement() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token otherlv_2 = null; |
| EObject lv_expression_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6924:28: ( (otherlv_0= 'return' ( (lv_expression_1_0= ruleExpression ) ) otherlv_2= ';' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6925:1: (otherlv_0= 'return' ( (lv_expression_1_0= ruleExpression ) ) otherlv_2= ';' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6925:1: (otherlv_0= 'return' ( (lv_expression_1_0= ruleExpression ) ) otherlv_2= ';' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6925:3: otherlv_0= 'return' ( (lv_expression_1_0= ruleExpression ) ) otherlv_2= ';' |
| { |
| otherlv_0 = (Token) match(input, 83, FOLLOW_83_in_ruleReturnStatement15031); |
| |
| newLeafNode(otherlv_0, grammarAccess.getReturnStatementAccess().getReturnKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6929:1: ( (lv_expression_1_0= ruleExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6930:1: (lv_expression_1_0= ruleExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6930:1: (lv_expression_1_0= ruleExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6931:3: lv_expression_1_0= ruleExpression |
| { |
| |
| newCompositeNode(grammarAccess.getReturnStatementAccess().getExpressionExpressionParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleExpression_in_ruleReturnStatement15052); |
| lv_expression_1_0 = ruleExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getReturnStatementRule()); |
| } |
| set( |
| current, |
| "expression", |
| lv_expression_1_0, |
| "Expression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_2 = (Token) match(input, 12, FOLLOW_12_in_ruleReturnStatement15064); |
| |
| newLeafNode(otherlv_2, grammarAccess.getReturnStatementAccess().getSemicolonKeyword_2()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleReturnStatement" |
| |
| |
| // $ANTLR start "entryRuleAcceptStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6959:1: entryRuleAcceptStatement returns [EObject current=null] : iv_ruleAcceptStatement= ruleAcceptStatement EOF |
| // ; |
| public final EObject entryRuleAcceptStatement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleAcceptStatement = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6960:2: (iv_ruleAcceptStatement= ruleAcceptStatement EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6961:2: iv_ruleAcceptStatement= ruleAcceptStatement EOF |
| { |
| newCompositeNode(grammarAccess.getAcceptStatementRule()); |
| pushFollow(FOLLOW_ruleAcceptStatement_in_entryRuleAcceptStatement15100); |
| iv_ruleAcceptStatement = ruleAcceptStatement(); |
| |
| state._fsp--; |
| |
| current = iv_ruleAcceptStatement; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleAcceptStatement15110); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleAcceptStatement" |
| |
| |
| // $ANTLR start "ruleAcceptStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6968:1: ruleAcceptStatement returns [EObject current=null] : ( ( (lv_clause_0_0= ruleAcceptClause ) ) ( ( |
| // (lv_simpleAccept_1_0= ruleSimpleAcceptStatementCompletion ) ) | ( (lv_compoundAccept_2_0= ruleCompoundAcceptStatementCompletion ) ) ) ) ; |
| public final EObject ruleAcceptStatement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject lv_clause_0_0 = null; |
| |
| EObject lv_simpleAccept_1_0 = null; |
| |
| EObject lv_compoundAccept_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6971:28: ( ( ( (lv_clause_0_0= ruleAcceptClause ) ) ( ( (lv_simpleAccept_1_0= |
| // ruleSimpleAcceptStatementCompletion ) ) | ( (lv_compoundAccept_2_0= ruleCompoundAcceptStatementCompletion ) ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6972:1: ( ( (lv_clause_0_0= ruleAcceptClause ) ) ( ( (lv_simpleAccept_1_0= |
| // ruleSimpleAcceptStatementCompletion ) ) | ( (lv_compoundAccept_2_0= ruleCompoundAcceptStatementCompletion ) ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6972:1: ( ( (lv_clause_0_0= ruleAcceptClause ) ) ( ( (lv_simpleAccept_1_0= |
| // ruleSimpleAcceptStatementCompletion ) ) | ( (lv_compoundAccept_2_0= ruleCompoundAcceptStatementCompletion ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6972:2: ( (lv_clause_0_0= ruleAcceptClause ) ) ( ( (lv_simpleAccept_1_0= |
| // ruleSimpleAcceptStatementCompletion ) ) | ( (lv_compoundAccept_2_0= ruleCompoundAcceptStatementCompletion ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6972:2: ( (lv_clause_0_0= ruleAcceptClause ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6973:1: (lv_clause_0_0= ruleAcceptClause ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6973:1: (lv_clause_0_0= ruleAcceptClause ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6974:3: lv_clause_0_0= ruleAcceptClause |
| { |
| |
| newCompositeNode(grammarAccess.getAcceptStatementAccess().getClauseAcceptClauseParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleAcceptClause_in_ruleAcceptStatement15156); |
| lv_clause_0_0 = ruleAcceptClause(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getAcceptStatementRule()); |
| } |
| set( |
| current, |
| "clause", |
| lv_clause_0_0, |
| "AcceptClause"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6990:2: ( ( (lv_simpleAccept_1_0= ruleSimpleAcceptStatementCompletion ) ) | ( |
| // (lv_compoundAccept_2_0= ruleCompoundAcceptStatementCompletion ) ) ) |
| int alt103 = 2; |
| int LA103_0 = input.LA(1); |
| |
| if ((LA103_0 == 12)) { |
| alt103 = 1; |
| } |
| else if ((LA103_0 == 63)) { |
| alt103 = 2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 103, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt103) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6990:3: ( (lv_simpleAccept_1_0= ruleSimpleAcceptStatementCompletion ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6990:3: ( (lv_simpleAccept_1_0= ruleSimpleAcceptStatementCompletion ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6991:1: (lv_simpleAccept_1_0= ruleSimpleAcceptStatementCompletion ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6991:1: (lv_simpleAccept_1_0= ruleSimpleAcceptStatementCompletion ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6992:3: lv_simpleAccept_1_0= ruleSimpleAcceptStatementCompletion |
| { |
| |
| newCompositeNode(grammarAccess.getAcceptStatementAccess().getSimpleAcceptSimpleAcceptStatementCompletionParserRuleCall_1_0_0()); |
| |
| pushFollow(FOLLOW_ruleSimpleAcceptStatementCompletion_in_ruleAcceptStatement15178); |
| lv_simpleAccept_1_0 = ruleSimpleAcceptStatementCompletion(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getAcceptStatementRule()); |
| } |
| set( |
| current, |
| "simpleAccept", |
| lv_simpleAccept_1_0, |
| "SimpleAcceptStatementCompletion"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7009:6: ( (lv_compoundAccept_2_0= ruleCompoundAcceptStatementCompletion ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7009:6: ( (lv_compoundAccept_2_0= ruleCompoundAcceptStatementCompletion ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7010:1: (lv_compoundAccept_2_0= ruleCompoundAcceptStatementCompletion ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7010:1: (lv_compoundAccept_2_0= ruleCompoundAcceptStatementCompletion ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7011:3: lv_compoundAccept_2_0= ruleCompoundAcceptStatementCompletion |
| { |
| |
| newCompositeNode(grammarAccess.getAcceptStatementAccess().getCompoundAcceptCompoundAcceptStatementCompletionParserRuleCall_1_1_0()); |
| |
| pushFollow(FOLLOW_ruleCompoundAcceptStatementCompletion_in_ruleAcceptStatement15205); |
| lv_compoundAccept_2_0 = ruleCompoundAcceptStatementCompletion(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getAcceptStatementRule()); |
| } |
| set( |
| current, |
| "compoundAccept", |
| lv_compoundAccept_2_0, |
| "CompoundAcceptStatementCompletion"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleAcceptStatement" |
| |
| |
| // $ANTLR start "entryRuleSimpleAcceptStatementCompletion" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7035:1: entryRuleSimpleAcceptStatementCompletion returns [EObject current=null] : |
| // iv_ruleSimpleAcceptStatementCompletion= ruleSimpleAcceptStatementCompletion EOF ; |
| public final EObject entryRuleSimpleAcceptStatementCompletion() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleSimpleAcceptStatementCompletion = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7036:2: (iv_ruleSimpleAcceptStatementCompletion= ruleSimpleAcceptStatementCompletion EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7037:2: iv_ruleSimpleAcceptStatementCompletion= ruleSimpleAcceptStatementCompletion EOF |
| { |
| newCompositeNode(grammarAccess.getSimpleAcceptStatementCompletionRule()); |
| pushFollow(FOLLOW_ruleSimpleAcceptStatementCompletion_in_entryRuleSimpleAcceptStatementCompletion15242); |
| iv_ruleSimpleAcceptStatementCompletion = ruleSimpleAcceptStatementCompletion(); |
| |
| state._fsp--; |
| |
| current = iv_ruleSimpleAcceptStatementCompletion; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleSimpleAcceptStatementCompletion15252); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleSimpleAcceptStatementCompletion" |
| |
| |
| // $ANTLR start "ruleSimpleAcceptStatementCompletion" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7044:1: ruleSimpleAcceptStatementCompletion returns [EObject current=null] : ( () otherlv_1= ';' ) ; |
| public final EObject ruleSimpleAcceptStatementCompletion() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7047:28: ( ( () otherlv_1= ';' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7048:1: ( () otherlv_1= ';' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7048:1: ( () otherlv_1= ';' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7048:2: () otherlv_1= ';' |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7048:2: () |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7049:5: |
| { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getSimpleAcceptStatementCompletionAccess().getSimpleAcceptStatementCompletionAction_0(), |
| current); |
| |
| |
| } |
| |
| otherlv_1 = (Token) match(input, 12, FOLLOW_12_in_ruleSimpleAcceptStatementCompletion15298); |
| |
| newLeafNode(otherlv_1, grammarAccess.getSimpleAcceptStatementCompletionAccess().getSemicolonKeyword_1()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleSimpleAcceptStatementCompletion" |
| |
| |
| // $ANTLR start "entryRuleCompoundAcceptStatementCompletion" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7066:1: entryRuleCompoundAcceptStatementCompletion returns [EObject current=null] : |
| // iv_ruleCompoundAcceptStatementCompletion= ruleCompoundAcceptStatementCompletion EOF ; |
| public final EObject entryRuleCompoundAcceptStatementCompletion() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleCompoundAcceptStatementCompletion = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7067:2: (iv_ruleCompoundAcceptStatementCompletion= ruleCompoundAcceptStatementCompletion EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7068:2: iv_ruleCompoundAcceptStatementCompletion= ruleCompoundAcceptStatementCompletion EOF |
| { |
| newCompositeNode(grammarAccess.getCompoundAcceptStatementCompletionRule()); |
| pushFollow(FOLLOW_ruleCompoundAcceptStatementCompletion_in_entryRuleCompoundAcceptStatementCompletion15334); |
| iv_ruleCompoundAcceptStatementCompletion = ruleCompoundAcceptStatementCompletion(); |
| |
| state._fsp--; |
| |
| current = iv_ruleCompoundAcceptStatementCompletion; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleCompoundAcceptStatementCompletion15344); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleCompoundAcceptStatementCompletion" |
| |
| |
| // $ANTLR start "ruleCompoundAcceptStatementCompletion" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7075:1: ruleCompoundAcceptStatementCompletion returns [EObject current=null] : ( ( (lv_block_0_0= ruleBlock ) ) |
| // (otherlv_1= 'or' ( (lv_acceptBlock_2_0= ruleAcceptBlock ) ) )* ) ; |
| public final EObject ruleCompoundAcceptStatementCompletion() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| EObject lv_block_0_0 = null; |
| |
| EObject lv_acceptBlock_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7078:28: ( ( ( (lv_block_0_0= ruleBlock ) ) (otherlv_1= 'or' ( (lv_acceptBlock_2_0= ruleAcceptBlock ) ) )* |
| // ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7079:1: ( ( (lv_block_0_0= ruleBlock ) ) (otherlv_1= 'or' ( (lv_acceptBlock_2_0= ruleAcceptBlock ) ) )* ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7079:1: ( ( (lv_block_0_0= ruleBlock ) ) (otherlv_1= 'or' ( (lv_acceptBlock_2_0= ruleAcceptBlock ) ) |
| // )* ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7079:2: ( (lv_block_0_0= ruleBlock ) ) (otherlv_1= 'or' ( (lv_acceptBlock_2_0= ruleAcceptBlock ) ) )* |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7079:2: ( (lv_block_0_0= ruleBlock ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7080:1: (lv_block_0_0= ruleBlock ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7080:1: (lv_block_0_0= ruleBlock ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7081:3: lv_block_0_0= ruleBlock |
| { |
| |
| newCompositeNode(grammarAccess.getCompoundAcceptStatementCompletionAccess().getBlockBlockParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleBlock_in_ruleCompoundAcceptStatementCompletion15390); |
| lv_block_0_0 = ruleBlock(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getCompoundAcceptStatementCompletionRule()); |
| } |
| set( |
| current, |
| "block", |
| lv_block_0_0, |
| "Block"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7097:2: (otherlv_1= 'or' ( (lv_acceptBlock_2_0= ruleAcceptBlock ) ) )* |
| loop104: do { |
| int alt104 = 2; |
| int LA104_0 = input.LA(1); |
| |
| if ((LA104_0 == 74)) { |
| alt104 = 1; |
| } |
| |
| |
| switch (alt104) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7097:4: otherlv_1= 'or' ( (lv_acceptBlock_2_0= ruleAcceptBlock ) ) |
| { |
| otherlv_1 = (Token) match(input, 74, FOLLOW_74_in_ruleCompoundAcceptStatementCompletion15403); |
| |
| newLeafNode(otherlv_1, grammarAccess.getCompoundAcceptStatementCompletionAccess().getOrKeyword_1_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7101:1: ( (lv_acceptBlock_2_0= ruleAcceptBlock ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7102:1: (lv_acceptBlock_2_0= ruleAcceptBlock ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7102:1: (lv_acceptBlock_2_0= ruleAcceptBlock ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7103:3: lv_acceptBlock_2_0= ruleAcceptBlock |
| { |
| |
| newCompositeNode(grammarAccess.getCompoundAcceptStatementCompletionAccess().getAcceptBlockAcceptBlockParserRuleCall_1_1_0()); |
| |
| pushFollow(FOLLOW_ruleAcceptBlock_in_ruleCompoundAcceptStatementCompletion15424); |
| lv_acceptBlock_2_0 = ruleAcceptBlock(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getCompoundAcceptStatementCompletionRule()); |
| } |
| add( |
| current, |
| "acceptBlock", |
| lv_acceptBlock_2_0, |
| "AcceptBlock"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default: |
| break loop104; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleCompoundAcceptStatementCompletion" |
| |
| |
| // $ANTLR start "entryRuleAcceptBlock" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7127:1: entryRuleAcceptBlock returns [EObject current=null] : iv_ruleAcceptBlock= ruleAcceptBlock EOF ; |
| public final EObject entryRuleAcceptBlock() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleAcceptBlock = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7128:2: (iv_ruleAcceptBlock= ruleAcceptBlock EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7129:2: iv_ruleAcceptBlock= ruleAcceptBlock EOF |
| { |
| newCompositeNode(grammarAccess.getAcceptBlockRule()); |
| pushFollow(FOLLOW_ruleAcceptBlock_in_entryRuleAcceptBlock15462); |
| iv_ruleAcceptBlock = ruleAcceptBlock(); |
| |
| state._fsp--; |
| |
| current = iv_ruleAcceptBlock; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleAcceptBlock15472); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleAcceptBlock" |
| |
| |
| // $ANTLR start "ruleAcceptBlock" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7136:1: ruleAcceptBlock returns [EObject current=null] : ( ( (lv_clause_0_0= ruleAcceptClause ) ) ( (lv_block_1_0= |
| // ruleBlock ) ) ) ; |
| public final EObject ruleAcceptBlock() throws RecognitionException { |
| EObject current = null; |
| |
| EObject lv_clause_0_0 = null; |
| |
| EObject lv_block_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7139:28: ( ( ( (lv_clause_0_0= ruleAcceptClause ) ) ( (lv_block_1_0= ruleBlock ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7140:1: ( ( (lv_clause_0_0= ruleAcceptClause ) ) ( (lv_block_1_0= ruleBlock ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7140:1: ( ( (lv_clause_0_0= ruleAcceptClause ) ) ( (lv_block_1_0= ruleBlock ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7140:2: ( (lv_clause_0_0= ruleAcceptClause ) ) ( (lv_block_1_0= ruleBlock ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7140:2: ( (lv_clause_0_0= ruleAcceptClause ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7141:1: (lv_clause_0_0= ruleAcceptClause ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7141:1: (lv_clause_0_0= ruleAcceptClause ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7142:3: lv_clause_0_0= ruleAcceptClause |
| { |
| |
| newCompositeNode(grammarAccess.getAcceptBlockAccess().getClauseAcceptClauseParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleAcceptClause_in_ruleAcceptBlock15518); |
| lv_clause_0_0 = ruleAcceptClause(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getAcceptBlockRule()); |
| } |
| set( |
| current, |
| "clause", |
| lv_clause_0_0, |
| "AcceptClause"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7158:2: ( (lv_block_1_0= ruleBlock ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7159:1: (lv_block_1_0= ruleBlock ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7159:1: (lv_block_1_0= ruleBlock ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7160:3: lv_block_1_0= ruleBlock |
| { |
| |
| newCompositeNode(grammarAccess.getAcceptBlockAccess().getBlockBlockParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleBlock_in_ruleAcceptBlock15539); |
| lv_block_1_0 = ruleBlock(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getAcceptBlockRule()); |
| } |
| set( |
| current, |
| "block", |
| lv_block_1_0, |
| "Block"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleAcceptBlock" |
| |
| |
| // $ANTLR start "entryRuleAcceptClause" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7184:1: entryRuleAcceptClause returns [EObject current=null] : iv_ruleAcceptClause= ruleAcceptClause EOF ; |
| public final EObject entryRuleAcceptClause() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleAcceptClause = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7185:2: (iv_ruleAcceptClause= ruleAcceptClause EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7186:2: iv_ruleAcceptClause= ruleAcceptClause EOF |
| { |
| newCompositeNode(grammarAccess.getAcceptClauseRule()); |
| pushFollow(FOLLOW_ruleAcceptClause_in_entryRuleAcceptClause15575); |
| iv_ruleAcceptClause = ruleAcceptClause(); |
| |
| state._fsp--; |
| |
| current = iv_ruleAcceptClause; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleAcceptClause15585); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleAcceptClause" |
| |
| |
| // $ANTLR start "ruleAcceptClause" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7193:1: ruleAcceptClause returns [EObject current=null] : (otherlv_0= 'accept' otherlv_1= '(' ( ( (lv_name_2_0= |
| // RULE_ID ) ) otherlv_3= ':' )? ( (lv_qualifiedNameList_4_0= ruleQualifiedNameList ) ) otherlv_5= ')' ) ; |
| public final EObject ruleAcceptClause() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token otherlv_1 = null; |
| Token lv_name_2_0 = null; |
| Token otherlv_3 = null; |
| Token otherlv_5 = null; |
| EObject lv_qualifiedNameList_4_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7196:28: ( (otherlv_0= 'accept' otherlv_1= '(' ( ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' )? ( |
| // (lv_qualifiedNameList_4_0= ruleQualifiedNameList ) ) otherlv_5= ')' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7197:1: (otherlv_0= 'accept' otherlv_1= '(' ( ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' )? ( |
| // (lv_qualifiedNameList_4_0= ruleQualifiedNameList ) ) otherlv_5= ')' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7197:1: (otherlv_0= 'accept' otherlv_1= '(' ( ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' )? ( |
| // (lv_qualifiedNameList_4_0= ruleQualifiedNameList ) ) otherlv_5= ')' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7197:3: otherlv_0= 'accept' otherlv_1= '(' ( ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' )? ( |
| // (lv_qualifiedNameList_4_0= ruleQualifiedNameList ) ) otherlv_5= ')' |
| { |
| otherlv_0 = (Token) match(input, 84, FOLLOW_84_in_ruleAcceptClause15622); |
| |
| newLeafNode(otherlv_0, grammarAccess.getAcceptClauseAccess().getAcceptKeyword_0()); |
| |
| otherlv_1 = (Token) match(input, 15, FOLLOW_15_in_ruleAcceptClause15634); |
| |
| newLeafNode(otherlv_1, grammarAccess.getAcceptClauseAccess().getLeftParenthesisKeyword_1()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7205:1: ( ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' )? |
| int alt105 = 2; |
| int LA105_0 = input.LA(1); |
| |
| if ((LA105_0 == RULE_ID)) { |
| int LA105_1 = input.LA(2); |
| |
| if ((LA105_1 == 14)) { |
| alt105 = 1; |
| } |
| } |
| switch (alt105) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7205:2: ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7205:2: ( (lv_name_2_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7206:1: (lv_name_2_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7206:1: (lv_name_2_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7207:3: lv_name_2_0= RULE_ID |
| { |
| lv_name_2_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleAcceptClause15652); |
| |
| newLeafNode(lv_name_2_0, grammarAccess.getAcceptClauseAccess().getNameIDTerminalRuleCall_2_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getAcceptClauseRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "name", |
| lv_name_2_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_3 = (Token) match(input, 14, FOLLOW_14_in_ruleAcceptClause15669); |
| |
| newLeafNode(otherlv_3, grammarAccess.getAcceptClauseAccess().getColonKeyword_2_1()); |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7227:3: ( (lv_qualifiedNameList_4_0= ruleQualifiedNameList ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7228:1: (lv_qualifiedNameList_4_0= ruleQualifiedNameList ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7228:1: (lv_qualifiedNameList_4_0= ruleQualifiedNameList ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7229:3: lv_qualifiedNameList_4_0= ruleQualifiedNameList |
| { |
| |
| newCompositeNode(grammarAccess.getAcceptClauseAccess().getQualifiedNameListQualifiedNameListParserRuleCall_3_0()); |
| |
| pushFollow(FOLLOW_ruleQualifiedNameList_in_ruleAcceptClause15692); |
| lv_qualifiedNameList_4_0 = ruleQualifiedNameList(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getAcceptClauseRule()); |
| } |
| set( |
| current, |
| "qualifiedNameList", |
| lv_qualifiedNameList_4_0, |
| "QualifiedNameList"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_5 = (Token) match(input, 16, FOLLOW_16_in_ruleAcceptClause15704); |
| |
| newLeafNode(otherlv_5, grammarAccess.getAcceptClauseAccess().getRightParenthesisKeyword_4()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleAcceptClause" |
| |
| |
| // $ANTLR start "entryRuleClassifyStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7257:1: entryRuleClassifyStatement returns [EObject current=null] : iv_ruleClassifyStatement= |
| // ruleClassifyStatement EOF ; |
| public final EObject entryRuleClassifyStatement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleClassifyStatement = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7258:2: (iv_ruleClassifyStatement= ruleClassifyStatement EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7259:2: iv_ruleClassifyStatement= ruleClassifyStatement EOF |
| { |
| newCompositeNode(grammarAccess.getClassifyStatementRule()); |
| pushFollow(FOLLOW_ruleClassifyStatement_in_entryRuleClassifyStatement15740); |
| iv_ruleClassifyStatement = ruleClassifyStatement(); |
| |
| state._fsp--; |
| |
| current = iv_ruleClassifyStatement; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleClassifyStatement15750); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleClassifyStatement" |
| |
| |
| // $ANTLR start "ruleClassifyStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7266:1: ruleClassifyStatement returns [EObject current=null] : (otherlv_0= 'classify' ( (lv_expression_1_0= |
| // ruleExpression ) ) ( (lv_clause_2_0= ruleClassificationClause ) ) otherlv_3= ';' ) ; |
| public final EObject ruleClassifyStatement() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| Token otherlv_3 = null; |
| EObject lv_expression_1_0 = null; |
| |
| EObject lv_clause_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7269:28: ( (otherlv_0= 'classify' ( (lv_expression_1_0= ruleExpression ) ) ( (lv_clause_2_0= |
| // ruleClassificationClause ) ) otherlv_3= ';' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7270:1: (otherlv_0= 'classify' ( (lv_expression_1_0= ruleExpression ) ) ( (lv_clause_2_0= |
| // ruleClassificationClause ) ) otherlv_3= ';' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7270:1: (otherlv_0= 'classify' ( (lv_expression_1_0= ruleExpression ) ) ( (lv_clause_2_0= |
| // ruleClassificationClause ) ) otherlv_3= ';' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7270:3: otherlv_0= 'classify' ( (lv_expression_1_0= ruleExpression ) ) ( (lv_clause_2_0= |
| // ruleClassificationClause ) ) otherlv_3= ';' |
| { |
| otherlv_0 = (Token) match(input, 85, FOLLOW_85_in_ruleClassifyStatement15787); |
| |
| newLeafNode(otherlv_0, grammarAccess.getClassifyStatementAccess().getClassifyKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7274:1: ( (lv_expression_1_0= ruleExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7275:1: (lv_expression_1_0= ruleExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7275:1: (lv_expression_1_0= ruleExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7276:3: lv_expression_1_0= ruleExpression |
| { |
| |
| newCompositeNode(grammarAccess.getClassifyStatementAccess().getExpressionExpressionParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleExpression_in_ruleClassifyStatement15808); |
| lv_expression_1_0 = ruleExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getClassifyStatementRule()); |
| } |
| set( |
| current, |
| "expression", |
| lv_expression_1_0, |
| "Expression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7292:2: ( (lv_clause_2_0= ruleClassificationClause ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7293:1: (lv_clause_2_0= ruleClassificationClause ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7293:1: (lv_clause_2_0= ruleClassificationClause ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7294:3: lv_clause_2_0= ruleClassificationClause |
| { |
| |
| newCompositeNode(grammarAccess.getClassifyStatementAccess().getClauseClassificationClauseParserRuleCall_2_0()); |
| |
| pushFollow(FOLLOW_ruleClassificationClause_in_ruleClassifyStatement15829); |
| lv_clause_2_0 = ruleClassificationClause(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getClassifyStatementRule()); |
| } |
| set( |
| current, |
| "clause", |
| lv_clause_2_0, |
| "ClassificationClause"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_3 = (Token) match(input, 12, FOLLOW_12_in_ruleClassifyStatement15841); |
| |
| newLeafNode(otherlv_3, grammarAccess.getClassifyStatementAccess().getSemicolonKeyword_3()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleClassifyStatement" |
| |
| |
| // $ANTLR start "entryRuleClassificationClause" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7322:1: entryRuleClassificationClause returns [EObject current=null] : iv_ruleClassificationClause= |
| // ruleClassificationClause EOF ; |
| public final EObject entryRuleClassificationClause() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleClassificationClause = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7323:2: (iv_ruleClassificationClause= ruleClassificationClause EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7324:2: iv_ruleClassificationClause= ruleClassificationClause EOF |
| { |
| newCompositeNode(grammarAccess.getClassificationClauseRule()); |
| pushFollow(FOLLOW_ruleClassificationClause_in_entryRuleClassificationClause15877); |
| iv_ruleClassificationClause = ruleClassificationClause(); |
| |
| state._fsp--; |
| |
| current = iv_ruleClassificationClause; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleClassificationClause15887); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleClassificationClause" |
| |
| |
| // $ANTLR start "ruleClassificationClause" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7331:1: ruleClassificationClause returns [EObject current=null] : ( ( ( (lv_classifyFromClause_0_0= |
| // ruleClassificationFromClause ) ) ( (lv_classifyToClause_1_0= ruleClassificationToClause ) )? ) | ( ( (lv_reclassyAllClause_2_0= ruleReclassifyAllClause ) )? ( (lv_classifyToClause_3_0= ruleClassificationToClause ) ) ) ) ; |
| public final EObject ruleClassificationClause() throws RecognitionException { |
| EObject current = null; |
| |
| EObject lv_classifyFromClause_0_0 = null; |
| |
| EObject lv_classifyToClause_1_0 = null; |
| |
| EObject lv_reclassyAllClause_2_0 = null; |
| |
| EObject lv_classifyToClause_3_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7334:28: ( ( ( ( (lv_classifyFromClause_0_0= ruleClassificationFromClause ) ) ( (lv_classifyToClause_1_0= |
| // ruleClassificationToClause ) )? ) | ( ( (lv_reclassyAllClause_2_0= ruleReclassifyAllClause ) )? ( (lv_classifyToClause_3_0= ruleClassificationToClause ) ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7335:1: ( ( ( (lv_classifyFromClause_0_0= ruleClassificationFromClause ) ) ( (lv_classifyToClause_1_0= |
| // ruleClassificationToClause ) )? ) | ( ( (lv_reclassyAllClause_2_0= ruleReclassifyAllClause ) )? ( (lv_classifyToClause_3_0= ruleClassificationToClause ) ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7335:1: ( ( ( (lv_classifyFromClause_0_0= ruleClassificationFromClause ) ) ( (lv_classifyToClause_1_0= |
| // ruleClassificationToClause ) )? ) | ( ( (lv_reclassyAllClause_2_0= ruleReclassifyAllClause ) )? ( (lv_classifyToClause_3_0= ruleClassificationToClause ) ) ) ) |
| int alt108 = 2; |
| int LA108_0 = input.LA(1); |
| |
| if ((LA108_0 == 86)) { |
| int LA108_1 = input.LA(2); |
| |
| if ((LA108_1 == 24)) { |
| alt108 = 2; |
| } |
| else if ((LA108_1 == RULE_ID)) { |
| alt108 = 1; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 108, 1, input); |
| |
| throw nvae; |
| } |
| } |
| else if ((LA108_0 == 87)) { |
| alt108 = 2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 108, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt108) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7335:2: ( ( (lv_classifyFromClause_0_0= ruleClassificationFromClause ) ) ( (lv_classifyToClause_1_0= |
| // ruleClassificationToClause ) )? ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7335:2: ( ( (lv_classifyFromClause_0_0= ruleClassificationFromClause ) ) ( |
| // (lv_classifyToClause_1_0= ruleClassificationToClause ) )? ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7335:3: ( (lv_classifyFromClause_0_0= ruleClassificationFromClause ) ) ( (lv_classifyToClause_1_0= |
| // ruleClassificationToClause ) )? |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7335:3: ( (lv_classifyFromClause_0_0= ruleClassificationFromClause ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7336:1: (lv_classifyFromClause_0_0= ruleClassificationFromClause ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7336:1: (lv_classifyFromClause_0_0= ruleClassificationFromClause ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7337:3: lv_classifyFromClause_0_0= ruleClassificationFromClause |
| { |
| |
| newCompositeNode(grammarAccess.getClassificationClauseAccess().getClassifyFromClauseClassificationFromClauseParserRuleCall_0_0_0()); |
| |
| pushFollow(FOLLOW_ruleClassificationFromClause_in_ruleClassificationClause15934); |
| lv_classifyFromClause_0_0 = ruleClassificationFromClause(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getClassificationClauseRule()); |
| } |
| set( |
| current, |
| "classifyFromClause", |
| lv_classifyFromClause_0_0, |
| "ClassificationFromClause"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7353:2: ( (lv_classifyToClause_1_0= ruleClassificationToClause ) )? |
| int alt106 = 2; |
| int LA106_0 = input.LA(1); |
| |
| if ((LA106_0 == 87)) { |
| alt106 = 1; |
| } |
| switch (alt106) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7354:1: (lv_classifyToClause_1_0= ruleClassificationToClause ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7354:1: (lv_classifyToClause_1_0= ruleClassificationToClause ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7355:3: lv_classifyToClause_1_0= ruleClassificationToClause |
| { |
| |
| newCompositeNode(grammarAccess.getClassificationClauseAccess().getClassifyToClauseClassificationToClauseParserRuleCall_0_1_0()); |
| |
| pushFollow(FOLLOW_ruleClassificationToClause_in_ruleClassificationClause15955); |
| lv_classifyToClause_1_0 = ruleClassificationToClause(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getClassificationClauseRule()); |
| } |
| set( |
| current, |
| "classifyToClause", |
| lv_classifyToClause_1_0, |
| "ClassificationToClause"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7372:6: ( ( (lv_reclassyAllClause_2_0= ruleReclassifyAllClause ) )? ( (lv_classifyToClause_3_0= |
| // ruleClassificationToClause ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7372:6: ( ( (lv_reclassyAllClause_2_0= ruleReclassifyAllClause ) )? ( (lv_classifyToClause_3_0= |
| // ruleClassificationToClause ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7372:7: ( (lv_reclassyAllClause_2_0= ruleReclassifyAllClause ) )? ( (lv_classifyToClause_3_0= |
| // ruleClassificationToClause ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7372:7: ( (lv_reclassyAllClause_2_0= ruleReclassifyAllClause ) )? |
| int alt107 = 2; |
| int LA107_0 = input.LA(1); |
| |
| if ((LA107_0 == 86)) { |
| alt107 = 1; |
| } |
| switch (alt107) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7373:1: (lv_reclassyAllClause_2_0= ruleReclassifyAllClause ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7373:1: (lv_reclassyAllClause_2_0= ruleReclassifyAllClause ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7374:3: lv_reclassyAllClause_2_0= ruleReclassifyAllClause |
| { |
| |
| newCompositeNode(grammarAccess.getClassificationClauseAccess().getReclassyAllClauseReclassifyAllClauseParserRuleCall_1_0_0()); |
| |
| pushFollow(FOLLOW_ruleReclassifyAllClause_in_ruleClassificationClause15985); |
| lv_reclassyAllClause_2_0 = ruleReclassifyAllClause(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getClassificationClauseRule()); |
| } |
| set( |
| current, |
| "reclassyAllClause", |
| lv_reclassyAllClause_2_0, |
| "ReclassifyAllClause"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7390:3: ( (lv_classifyToClause_3_0= ruleClassificationToClause ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7391:1: (lv_classifyToClause_3_0= ruleClassificationToClause ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7391:1: (lv_classifyToClause_3_0= ruleClassificationToClause ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7392:3: lv_classifyToClause_3_0= ruleClassificationToClause |
| { |
| |
| newCompositeNode(grammarAccess.getClassificationClauseAccess().getClassifyToClauseClassificationToClauseParserRuleCall_1_1_0()); |
| |
| pushFollow(FOLLOW_ruleClassificationToClause_in_ruleClassificationClause16007); |
| lv_classifyToClause_3_0 = ruleClassificationToClause(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getClassificationClauseRule()); |
| } |
| set( |
| current, |
| "classifyToClause", |
| lv_classifyToClause_3_0, |
| "ClassificationToClause"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleClassificationClause" |
| |
| |
| // $ANTLR start "entryRuleClassificationFromClause" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7416:1: entryRuleClassificationFromClause returns [EObject current=null] : iv_ruleClassificationFromClause= |
| // ruleClassificationFromClause EOF ; |
| public final EObject entryRuleClassificationFromClause() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleClassificationFromClause = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7417:2: (iv_ruleClassificationFromClause= ruleClassificationFromClause EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7418:2: iv_ruleClassificationFromClause= ruleClassificationFromClause EOF |
| { |
| newCompositeNode(grammarAccess.getClassificationFromClauseRule()); |
| pushFollow(FOLLOW_ruleClassificationFromClause_in_entryRuleClassificationFromClause16044); |
| iv_ruleClassificationFromClause = ruleClassificationFromClause(); |
| |
| state._fsp--; |
| |
| current = iv_ruleClassificationFromClause; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleClassificationFromClause16054); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleClassificationFromClause" |
| |
| |
| // $ANTLR start "ruleClassificationFromClause" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7425:1: ruleClassificationFromClause returns [EObject current=null] : (otherlv_0= 'from' ( |
| // (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) ) ) ; |
| public final EObject ruleClassificationFromClause() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| EObject lv_qualifiedNameList_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7428:28: ( (otherlv_0= 'from' ( (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7429:1: (otherlv_0= 'from' ( (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7429:1: (otherlv_0= 'from' ( (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7429:3: otherlv_0= 'from' ( (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) ) |
| { |
| otherlv_0 = (Token) match(input, 86, FOLLOW_86_in_ruleClassificationFromClause16091); |
| |
| newLeafNode(otherlv_0, grammarAccess.getClassificationFromClauseAccess().getFromKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7433:1: ( (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7434:1: (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7434:1: (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7435:3: lv_qualifiedNameList_1_0= ruleQualifiedNameList |
| { |
| |
| newCompositeNode(grammarAccess.getClassificationFromClauseAccess().getQualifiedNameListQualifiedNameListParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleQualifiedNameList_in_ruleClassificationFromClause16112); |
| lv_qualifiedNameList_1_0 = ruleQualifiedNameList(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getClassificationFromClauseRule()); |
| } |
| set( |
| current, |
| "qualifiedNameList", |
| lv_qualifiedNameList_1_0, |
| "QualifiedNameList"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleClassificationFromClause" |
| |
| |
| // $ANTLR start "entryRuleClassificationToClause" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7459:1: entryRuleClassificationToClause returns [EObject current=null] : iv_ruleClassificationToClause= |
| // ruleClassificationToClause EOF ; |
| public final EObject entryRuleClassificationToClause() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleClassificationToClause = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7460:2: (iv_ruleClassificationToClause= ruleClassificationToClause EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7461:2: iv_ruleClassificationToClause= ruleClassificationToClause EOF |
| { |
| newCompositeNode(grammarAccess.getClassificationToClauseRule()); |
| pushFollow(FOLLOW_ruleClassificationToClause_in_entryRuleClassificationToClause16148); |
| iv_ruleClassificationToClause = ruleClassificationToClause(); |
| |
| state._fsp--; |
| |
| current = iv_ruleClassificationToClause; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleClassificationToClause16158); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleClassificationToClause" |
| |
| |
| // $ANTLR start "ruleClassificationToClause" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7468:1: ruleClassificationToClause returns [EObject current=null] : (otherlv_0= 'to' ( (lv_qualifiedNameList_1_0= |
| // ruleQualifiedNameList ) ) ) ; |
| public final EObject ruleClassificationToClause() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0 = null; |
| EObject lv_qualifiedNameList_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7471:28: ( (otherlv_0= 'to' ( (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7472:1: (otherlv_0= 'to' ( (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7472:1: (otherlv_0= 'to' ( (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7472:3: otherlv_0= 'to' ( (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) ) |
| { |
| otherlv_0 = (Token) match(input, 87, FOLLOW_87_in_ruleClassificationToClause16195); |
| |
| newLeafNode(otherlv_0, grammarAccess.getClassificationToClauseAccess().getToKeyword_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7476:1: ( (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7477:1: (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7477:1: (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7478:3: lv_qualifiedNameList_1_0= ruleQualifiedNameList |
| { |
| |
| newCompositeNode(grammarAccess.getClassificationToClauseAccess().getQualifiedNameListQualifiedNameListParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleQualifiedNameList_in_ruleClassificationToClause16216); |
| lv_qualifiedNameList_1_0 = ruleQualifiedNameList(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getClassificationToClauseRule()); |
| } |
| set( |
| current, |
| "qualifiedNameList", |
| lv_qualifiedNameList_1_0, |
| "QualifiedNameList"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleClassificationToClause" |
| |
| |
| // $ANTLR start "entryRuleReclassifyAllClause" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7502:1: entryRuleReclassifyAllClause returns [EObject current=null] : iv_ruleReclassifyAllClause= |
| // ruleReclassifyAllClause EOF ; |
| public final EObject entryRuleReclassifyAllClause() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleReclassifyAllClause = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7503:2: (iv_ruleReclassifyAllClause= ruleReclassifyAllClause EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7504:2: iv_ruleReclassifyAllClause= ruleReclassifyAllClause EOF |
| { |
| newCompositeNode(grammarAccess.getReclassifyAllClauseRule()); |
| pushFollow(FOLLOW_ruleReclassifyAllClause_in_entryRuleReclassifyAllClause16252); |
| iv_ruleReclassifyAllClause = ruleReclassifyAllClause(); |
| |
| state._fsp--; |
| |
| current = iv_ruleReclassifyAllClause; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleReclassifyAllClause16262); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleReclassifyAllClause" |
| |
| |
| // $ANTLR start "ruleReclassifyAllClause" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7511:1: ruleReclassifyAllClause returns [EObject current=null] : ( () otherlv_1= 'from' otherlv_2= '*' ) ; |
| public final EObject ruleReclassifyAllClause() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| Token otherlv_2 = null; |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7514:28: ( ( () otherlv_1= 'from' otherlv_2= '*' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7515:1: ( () otherlv_1= 'from' otherlv_2= '*' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7515:1: ( () otherlv_1= 'from' otherlv_2= '*' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7515:2: () otherlv_1= 'from' otherlv_2= '*' |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7515:2: () |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7516:5: |
| { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getReclassifyAllClauseAccess().getReclassifyAllClauseAction_0(), |
| current); |
| |
| |
| } |
| |
| otherlv_1 = (Token) match(input, 86, FOLLOW_86_in_ruleReclassifyAllClause16308); |
| |
| newLeafNode(otherlv_1, grammarAccess.getReclassifyAllClauseAccess().getFromKeyword_1()); |
| |
| otherlv_2 = (Token) match(input, 24, FOLLOW_24_in_ruleReclassifyAllClause16320); |
| |
| newLeafNode(otherlv_2, grammarAccess.getReclassifyAllClauseAccess().getAsteriskKeyword_2()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleReclassifyAllClause" |
| |
| |
| // $ANTLR start "entryRuleQualifiedNameList" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7537:1: entryRuleQualifiedNameList returns [EObject current=null] : iv_ruleQualifiedNameList= |
| // ruleQualifiedNameList EOF ; |
| public final EObject entryRuleQualifiedNameList() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleQualifiedNameList = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7538:2: (iv_ruleQualifiedNameList= ruleQualifiedNameList EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7539:2: iv_ruleQualifiedNameList= ruleQualifiedNameList EOF |
| { |
| newCompositeNode(grammarAccess.getQualifiedNameListRule()); |
| pushFollow(FOLLOW_ruleQualifiedNameList_in_entryRuleQualifiedNameList16356); |
| iv_ruleQualifiedNameList = ruleQualifiedNameList(); |
| |
| state._fsp--; |
| |
| current = iv_ruleQualifiedNameList; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleQualifiedNameList16366); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleQualifiedNameList" |
| |
| |
| // $ANTLR start "ruleQualifiedNameList" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7546:1: ruleQualifiedNameList returns [EObject current=null] : ( ( (lv_qualifiedName_0_0= |
| // ruleQualifiedNameWithBinding ) ) (otherlv_1= ',' ( (lv_qualifiedName_2_0= ruleQualifiedNameWithBinding ) ) )* ) ; |
| public final EObject ruleQualifiedNameList() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| EObject lv_qualifiedName_0_0 = null; |
| |
| EObject lv_qualifiedName_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7549:28: ( ( ( (lv_qualifiedName_0_0= ruleQualifiedNameWithBinding ) ) (otherlv_1= ',' ( |
| // (lv_qualifiedName_2_0= ruleQualifiedNameWithBinding ) ) )* ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7550:1: ( ( (lv_qualifiedName_0_0= ruleQualifiedNameWithBinding ) ) (otherlv_1= ',' ( |
| // (lv_qualifiedName_2_0= ruleQualifiedNameWithBinding ) ) )* ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7550:1: ( ( (lv_qualifiedName_0_0= ruleQualifiedNameWithBinding ) ) (otherlv_1= ',' ( |
| // (lv_qualifiedName_2_0= ruleQualifiedNameWithBinding ) ) )* ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7550:2: ( (lv_qualifiedName_0_0= ruleQualifiedNameWithBinding ) ) (otherlv_1= ',' ( |
| // (lv_qualifiedName_2_0= ruleQualifiedNameWithBinding ) ) )* |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7550:2: ( (lv_qualifiedName_0_0= ruleQualifiedNameWithBinding ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7551:1: (lv_qualifiedName_0_0= ruleQualifiedNameWithBinding ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7551:1: (lv_qualifiedName_0_0= ruleQualifiedNameWithBinding ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7552:3: lv_qualifiedName_0_0= ruleQualifiedNameWithBinding |
| { |
| |
| newCompositeNode(grammarAccess.getQualifiedNameListAccess().getQualifiedNameQualifiedNameWithBindingParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleQualifiedNameWithBinding_in_ruleQualifiedNameList16412); |
| lv_qualifiedName_0_0 = ruleQualifiedNameWithBinding(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getQualifiedNameListRule()); |
| } |
| add( |
| current, |
| "qualifiedName", |
| lv_qualifiedName_0_0, |
| "QualifiedNameWithBinding"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7568:2: (otherlv_1= ',' ( (lv_qualifiedName_2_0= ruleQualifiedNameWithBinding ) ) )* |
| loop109: do { |
| int alt109 = 2; |
| int LA109_0 = input.LA(1); |
| |
| if ((LA109_0 == 17)) { |
| alt109 = 1; |
| } |
| |
| |
| switch (alt109) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7568:4: otherlv_1= ',' ( (lv_qualifiedName_2_0= ruleQualifiedNameWithBinding ) ) |
| { |
| otherlv_1 = (Token) match(input, 17, FOLLOW_17_in_ruleQualifiedNameList16425); |
| |
| newLeafNode(otherlv_1, grammarAccess.getQualifiedNameListAccess().getCommaKeyword_1_0()); |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7572:1: ( (lv_qualifiedName_2_0= ruleQualifiedNameWithBinding ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7573:1: (lv_qualifiedName_2_0= ruleQualifiedNameWithBinding ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7573:1: (lv_qualifiedName_2_0= ruleQualifiedNameWithBinding ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7574:3: lv_qualifiedName_2_0= ruleQualifiedNameWithBinding |
| { |
| |
| newCompositeNode(grammarAccess.getQualifiedNameListAccess().getQualifiedNameQualifiedNameWithBindingParserRuleCall_1_1_0()); |
| |
| pushFollow(FOLLOW_ruleQualifiedNameWithBinding_in_ruleQualifiedNameList16446); |
| lv_qualifiedName_2_0 = ruleQualifiedNameWithBinding(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getQualifiedNameListRule()); |
| } |
| add( |
| current, |
| "qualifiedName", |
| lv_qualifiedName_2_0, |
| "QualifiedNameWithBinding"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default: |
| break loop109; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleQualifiedNameList" |
| |
| |
| // $ANTLR start "entryRuleInvocationOrAssignementOrDeclarationStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7598:1: entryRuleInvocationOrAssignementOrDeclarationStatement returns [EObject current=null] : |
| // iv_ruleInvocationOrAssignementOrDeclarationStatement= ruleInvocationOrAssignementOrDeclarationStatement EOF ; |
| public final EObject entryRuleInvocationOrAssignementOrDeclarationStatement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleInvocationOrAssignementOrDeclarationStatement = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7599:2: (iv_ruleInvocationOrAssignementOrDeclarationStatement= |
| // ruleInvocationOrAssignementOrDeclarationStatement EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7600:2: iv_ruleInvocationOrAssignementOrDeclarationStatement= |
| // ruleInvocationOrAssignementOrDeclarationStatement EOF |
| { |
| newCompositeNode(grammarAccess.getInvocationOrAssignementOrDeclarationStatementRule()); |
| pushFollow(FOLLOW_ruleInvocationOrAssignementOrDeclarationStatement_in_entryRuleInvocationOrAssignementOrDeclarationStatement16484); |
| iv_ruleInvocationOrAssignementOrDeclarationStatement = ruleInvocationOrAssignementOrDeclarationStatement(); |
| |
| state._fsp--; |
| |
| current = iv_ruleInvocationOrAssignementOrDeclarationStatement; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleInvocationOrAssignementOrDeclarationStatement16494); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleInvocationOrAssignementOrDeclarationStatement" |
| |
| |
| // $ANTLR start "ruleInvocationOrAssignementOrDeclarationStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7607:1: ruleInvocationOrAssignementOrDeclarationStatement returns [EObject current=null] : ( ( |
| // (lv_typePart_OR_assignedPart_OR_invocationPart_0_0= ruleNameExpression ) ) ( ( (lv_variableDeclarationCompletion_1_0= ruleVariableDeclarationCompletion ) ) | ( (lv_assignmentCompletion_2_0= ruleAssignmentCompletion ) ) )? otherlv_3= ';' ) ; |
| public final EObject ruleInvocationOrAssignementOrDeclarationStatement() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_3 = null; |
| EObject lv_typePart_OR_assignedPart_OR_invocationPart_0_0 = null; |
| |
| EObject lv_variableDeclarationCompletion_1_0 = null; |
| |
| EObject lv_assignmentCompletion_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7610:28: ( ( ( (lv_typePart_OR_assignedPart_OR_invocationPart_0_0= ruleNameExpression ) ) ( ( |
| // (lv_variableDeclarationCompletion_1_0= ruleVariableDeclarationCompletion ) ) | ( (lv_assignmentCompletion_2_0= ruleAssignmentCompletion ) ) )? otherlv_3= ';' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7611:1: ( ( (lv_typePart_OR_assignedPart_OR_invocationPart_0_0= ruleNameExpression ) ) ( ( |
| // (lv_variableDeclarationCompletion_1_0= ruleVariableDeclarationCompletion ) ) | ( (lv_assignmentCompletion_2_0= ruleAssignmentCompletion ) ) )? otherlv_3= ';' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7611:1: ( ( (lv_typePart_OR_assignedPart_OR_invocationPart_0_0= ruleNameExpression ) ) ( ( |
| // (lv_variableDeclarationCompletion_1_0= ruleVariableDeclarationCompletion ) ) | ( (lv_assignmentCompletion_2_0= ruleAssignmentCompletion ) ) )? otherlv_3= ';' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7611:2: ( (lv_typePart_OR_assignedPart_OR_invocationPart_0_0= ruleNameExpression ) ) ( ( |
| // (lv_variableDeclarationCompletion_1_0= ruleVariableDeclarationCompletion ) ) | ( (lv_assignmentCompletion_2_0= ruleAssignmentCompletion ) ) )? otherlv_3= ';' |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7611:2: ( (lv_typePart_OR_assignedPart_OR_invocationPart_0_0= ruleNameExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7612:1: (lv_typePart_OR_assignedPart_OR_invocationPart_0_0= ruleNameExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7612:1: (lv_typePart_OR_assignedPart_OR_invocationPart_0_0= ruleNameExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7613:3: lv_typePart_OR_assignedPart_OR_invocationPart_0_0= ruleNameExpression |
| { |
| |
| newCompositeNode(grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getTypePart_OR_assignedPart_OR_invocationPartNameExpressionParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleNameExpression_in_ruleInvocationOrAssignementOrDeclarationStatement16540); |
| lv_typePart_OR_assignedPart_OR_invocationPart_0_0 = ruleNameExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getInvocationOrAssignementOrDeclarationStatementRule()); |
| } |
| set( |
| current, |
| "typePart_OR_assignedPart_OR_invocationPart", |
| lv_typePart_OR_assignedPart_OR_invocationPart_0_0, |
| "NameExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7629:2: ( ( (lv_variableDeclarationCompletion_1_0= ruleVariableDeclarationCompletion ) ) | ( |
| // (lv_assignmentCompletion_2_0= ruleAssignmentCompletion ) ) )? |
| int alt110 = 3; |
| int LA110_0 = input.LA(1); |
| |
| if ((LA110_0 == RULE_ID || LA110_0 == 18)) { |
| alt110 = 1; |
| } |
| else if ((LA110_0 == 71 || (LA110_0 >= 109 && LA110_0 <= 119))) { |
| alt110 = 2; |
| } |
| switch (alt110) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7629:3: ( (lv_variableDeclarationCompletion_1_0= ruleVariableDeclarationCompletion ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7629:3: ( (lv_variableDeclarationCompletion_1_0= ruleVariableDeclarationCompletion ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7630:1: (lv_variableDeclarationCompletion_1_0= ruleVariableDeclarationCompletion ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7630:1: (lv_variableDeclarationCompletion_1_0= ruleVariableDeclarationCompletion ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7631:3: lv_variableDeclarationCompletion_1_0= ruleVariableDeclarationCompletion |
| { |
| |
| newCompositeNode(grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getVariableDeclarationCompletionVariableDeclarationCompletionParserRuleCall_1_0_0()); |
| |
| pushFollow(FOLLOW_ruleVariableDeclarationCompletion_in_ruleInvocationOrAssignementOrDeclarationStatement16562); |
| lv_variableDeclarationCompletion_1_0 = ruleVariableDeclarationCompletion(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getInvocationOrAssignementOrDeclarationStatementRule()); |
| } |
| set( |
| current, |
| "variableDeclarationCompletion", |
| lv_variableDeclarationCompletion_1_0, |
| "VariableDeclarationCompletion"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7648:6: ( (lv_assignmentCompletion_2_0= ruleAssignmentCompletion ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7648:6: ( (lv_assignmentCompletion_2_0= ruleAssignmentCompletion ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7649:1: (lv_assignmentCompletion_2_0= ruleAssignmentCompletion ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7649:1: (lv_assignmentCompletion_2_0= ruleAssignmentCompletion ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7650:3: lv_assignmentCompletion_2_0= ruleAssignmentCompletion |
| { |
| |
| newCompositeNode(grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getAssignmentCompletionAssignmentCompletionParserRuleCall_1_1_0()); |
| |
| pushFollow(FOLLOW_ruleAssignmentCompletion_in_ruleInvocationOrAssignementOrDeclarationStatement16589); |
| lv_assignmentCompletion_2_0 = ruleAssignmentCompletion(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getInvocationOrAssignementOrDeclarationStatementRule()); |
| } |
| set( |
| current, |
| "assignmentCompletion", |
| lv_assignmentCompletion_2_0, |
| "AssignmentCompletion"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_3 = (Token) match(input, 12, FOLLOW_12_in_ruleInvocationOrAssignementOrDeclarationStatement16603); |
| |
| newLeafNode(otherlv_3, grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getSemicolonKeyword_2()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleInvocationOrAssignementOrDeclarationStatement" |
| |
| |
| // $ANTLR start "entryRuleSuperInvocationStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7678:1: entryRuleSuperInvocationStatement returns [EObject current=null] : iv_ruleSuperInvocationStatement= |
| // ruleSuperInvocationStatement EOF ; |
| public final EObject entryRuleSuperInvocationStatement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleSuperInvocationStatement = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7679:2: (iv_ruleSuperInvocationStatement= ruleSuperInvocationStatement EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7680:2: iv_ruleSuperInvocationStatement= ruleSuperInvocationStatement EOF |
| { |
| newCompositeNode(grammarAccess.getSuperInvocationStatementRule()); |
| pushFollow(FOLLOW_ruleSuperInvocationStatement_in_entryRuleSuperInvocationStatement16639); |
| iv_ruleSuperInvocationStatement = ruleSuperInvocationStatement(); |
| |
| state._fsp--; |
| |
| current = iv_ruleSuperInvocationStatement; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleSuperInvocationStatement16649); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleSuperInvocationStatement" |
| |
| |
| // $ANTLR start "ruleSuperInvocationStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7687:1: ruleSuperInvocationStatement returns [EObject current=null] : ( ( (lv__super_0_0= |
| // ruleSuperInvocationExpression ) ) otherlv_1= ';' ) ; |
| public final EObject ruleSuperInvocationStatement() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| EObject lv__super_0_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7690:28: ( ( ( (lv__super_0_0= ruleSuperInvocationExpression ) ) otherlv_1= ';' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7691:1: ( ( (lv__super_0_0= ruleSuperInvocationExpression ) ) otherlv_1= ';' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7691:1: ( ( (lv__super_0_0= ruleSuperInvocationExpression ) ) otherlv_1= ';' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7691:2: ( (lv__super_0_0= ruleSuperInvocationExpression ) ) otherlv_1= ';' |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7691:2: ( (lv__super_0_0= ruleSuperInvocationExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7692:1: (lv__super_0_0= ruleSuperInvocationExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7692:1: (lv__super_0_0= ruleSuperInvocationExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7693:3: lv__super_0_0= ruleSuperInvocationExpression |
| { |
| |
| newCompositeNode(grammarAccess.getSuperInvocationStatementAccess().get_superSuperInvocationExpressionParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleSuperInvocationExpression_in_ruleSuperInvocationStatement16695); |
| lv__super_0_0 = ruleSuperInvocationExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getSuperInvocationStatementRule()); |
| } |
| set( |
| current, |
| "_super", |
| lv__super_0_0, |
| "SuperInvocationExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_1 = (Token) match(input, 12, FOLLOW_12_in_ruleSuperInvocationStatement16707); |
| |
| newLeafNode(otherlv_1, grammarAccess.getSuperInvocationStatementAccess().getSemicolonKeyword_1()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleSuperInvocationStatement" |
| |
| |
| // $ANTLR start "entryRuleThisInvocationStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7721:1: entryRuleThisInvocationStatement returns [EObject current=null] : iv_ruleThisInvocationStatement= |
| // ruleThisInvocationStatement EOF ; |
| public final EObject entryRuleThisInvocationStatement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleThisInvocationStatement = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7722:2: (iv_ruleThisInvocationStatement= ruleThisInvocationStatement EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7723:2: iv_ruleThisInvocationStatement= ruleThisInvocationStatement EOF |
| { |
| newCompositeNode(grammarAccess.getThisInvocationStatementRule()); |
| pushFollow(FOLLOW_ruleThisInvocationStatement_in_entryRuleThisInvocationStatement16743); |
| iv_ruleThisInvocationStatement = ruleThisInvocationStatement(); |
| |
| state._fsp--; |
| |
| current = iv_ruleThisInvocationStatement; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleThisInvocationStatement16753); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleThisInvocationStatement" |
| |
| |
| // $ANTLR start "ruleThisInvocationStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7730:1: ruleThisInvocationStatement returns [EObject current=null] : ( ( (lv__this_0_0= ruleThisExpression ) ) ( |
| // (lv_assignmentCompletion_1_0= ruleAssignmentCompletion ) )? otherlv_2= ';' ) ; |
| public final EObject ruleThisInvocationStatement() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_2 = null; |
| EObject lv__this_0_0 = null; |
| |
| EObject lv_assignmentCompletion_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7733:28: ( ( ( (lv__this_0_0= ruleThisExpression ) ) ( (lv_assignmentCompletion_1_0= |
| // ruleAssignmentCompletion ) )? otherlv_2= ';' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7734:1: ( ( (lv__this_0_0= ruleThisExpression ) ) ( (lv_assignmentCompletion_1_0= ruleAssignmentCompletion |
| // ) )? otherlv_2= ';' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7734:1: ( ( (lv__this_0_0= ruleThisExpression ) ) ( (lv_assignmentCompletion_1_0= |
| // ruleAssignmentCompletion ) )? otherlv_2= ';' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7734:2: ( (lv__this_0_0= ruleThisExpression ) ) ( (lv_assignmentCompletion_1_0= |
| // ruleAssignmentCompletion ) )? otherlv_2= ';' |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7734:2: ( (lv__this_0_0= ruleThisExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7735:1: (lv__this_0_0= ruleThisExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7735:1: (lv__this_0_0= ruleThisExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7736:3: lv__this_0_0= ruleThisExpression |
| { |
| |
| newCompositeNode(grammarAccess.getThisInvocationStatementAccess().get_thisThisExpressionParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleThisExpression_in_ruleThisInvocationStatement16799); |
| lv__this_0_0 = ruleThisExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getThisInvocationStatementRule()); |
| } |
| set( |
| current, |
| "_this", |
| lv__this_0_0, |
| "ThisExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7752:2: ( (lv_assignmentCompletion_1_0= ruleAssignmentCompletion ) )? |
| int alt111 = 2; |
| int LA111_0 = input.LA(1); |
| |
| if ((LA111_0 == 71 || (LA111_0 >= 109 && LA111_0 <= 119))) { |
| alt111 = 1; |
| } |
| switch (alt111) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7753:1: (lv_assignmentCompletion_1_0= ruleAssignmentCompletion ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7753:1: (lv_assignmentCompletion_1_0= ruleAssignmentCompletion ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7754:3: lv_assignmentCompletion_1_0= ruleAssignmentCompletion |
| { |
| |
| newCompositeNode(grammarAccess.getThisInvocationStatementAccess().getAssignmentCompletionAssignmentCompletionParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleAssignmentCompletion_in_ruleThisInvocationStatement16820); |
| lv_assignmentCompletion_1_0 = ruleAssignmentCompletion(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getThisInvocationStatementRule()); |
| } |
| set( |
| current, |
| "assignmentCompletion", |
| lv_assignmentCompletion_1_0, |
| "AssignmentCompletion"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_2 = (Token) match(input, 12, FOLLOW_12_in_ruleThisInvocationStatement16833); |
| |
| newLeafNode(otherlv_2, grammarAccess.getThisInvocationStatementAccess().getSemicolonKeyword_2()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleThisInvocationStatement" |
| |
| |
| // $ANTLR start "entryRuleInstanceCreationInvocationStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7782:1: entryRuleInstanceCreationInvocationStatement returns [EObject current=null] : |
| // iv_ruleInstanceCreationInvocationStatement= ruleInstanceCreationInvocationStatement EOF ; |
| public final EObject entryRuleInstanceCreationInvocationStatement() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleInstanceCreationInvocationStatement = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7783:2: (iv_ruleInstanceCreationInvocationStatement= ruleInstanceCreationInvocationStatement EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7784:2: iv_ruleInstanceCreationInvocationStatement= ruleInstanceCreationInvocationStatement EOF |
| { |
| newCompositeNode(grammarAccess.getInstanceCreationInvocationStatementRule()); |
| pushFollow(FOLLOW_ruleInstanceCreationInvocationStatement_in_entryRuleInstanceCreationInvocationStatement16869); |
| iv_ruleInstanceCreationInvocationStatement = ruleInstanceCreationInvocationStatement(); |
| |
| state._fsp--; |
| |
| current = iv_ruleInstanceCreationInvocationStatement; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleInstanceCreationInvocationStatement16879); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleInstanceCreationInvocationStatement" |
| |
| |
| // $ANTLR start "ruleInstanceCreationInvocationStatement" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7791:1: ruleInstanceCreationInvocationStatement returns [EObject current=null] : ( ( (lv__new_0_0= |
| // ruleInstanceCreationExpression ) ) otherlv_1= ';' ) ; |
| public final EObject ruleInstanceCreationInvocationStatement() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1 = null; |
| EObject lv__new_0_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7794:28: ( ( ( (lv__new_0_0= ruleInstanceCreationExpression ) ) otherlv_1= ';' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7795:1: ( ( (lv__new_0_0= ruleInstanceCreationExpression ) ) otherlv_1= ';' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7795:1: ( ( (lv__new_0_0= ruleInstanceCreationExpression ) ) otherlv_1= ';' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7795:2: ( (lv__new_0_0= ruleInstanceCreationExpression ) ) otherlv_1= ';' |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7795:2: ( (lv__new_0_0= ruleInstanceCreationExpression ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7796:1: (lv__new_0_0= ruleInstanceCreationExpression ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7796:1: (lv__new_0_0= ruleInstanceCreationExpression ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7797:3: lv__new_0_0= ruleInstanceCreationExpression |
| { |
| |
| newCompositeNode(grammarAccess.getInstanceCreationInvocationStatementAccess().get_newInstanceCreationExpressionParserRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleInstanceCreationExpression_in_ruleInstanceCreationInvocationStatement16925); |
| lv__new_0_0 = ruleInstanceCreationExpression(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getInstanceCreationInvocationStatementRule()); |
| } |
| set( |
| current, |
| "_new", |
| lv__new_0_0, |
| "InstanceCreationExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_1 = (Token) match(input, 12, FOLLOW_12_in_ruleInstanceCreationInvocationStatement16937); |
| |
| newLeafNode(otherlv_1, grammarAccess.getInstanceCreationInvocationStatementAccess().getSemicolonKeyword_1()); |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleInstanceCreationInvocationStatement" |
| |
| |
| // $ANTLR start "entryRuleVariableDeclarationCompletion" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7825:1: entryRuleVariableDeclarationCompletion returns [EObject current=null] : |
| // iv_ruleVariableDeclarationCompletion= ruleVariableDeclarationCompletion EOF ; |
| public final EObject entryRuleVariableDeclarationCompletion() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleVariableDeclarationCompletion = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7826:2: (iv_ruleVariableDeclarationCompletion= ruleVariableDeclarationCompletion EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7827:2: iv_ruleVariableDeclarationCompletion= ruleVariableDeclarationCompletion EOF |
| { |
| newCompositeNode(grammarAccess.getVariableDeclarationCompletionRule()); |
| pushFollow(FOLLOW_ruleVariableDeclarationCompletion_in_entryRuleVariableDeclarationCompletion16973); |
| iv_ruleVariableDeclarationCompletion = ruleVariableDeclarationCompletion(); |
| |
| state._fsp--; |
| |
| current = iv_ruleVariableDeclarationCompletion; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleVariableDeclarationCompletion16983); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleVariableDeclarationCompletion" |
| |
| |
| // $ANTLR start "ruleVariableDeclarationCompletion" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7834:1: ruleVariableDeclarationCompletion returns [EObject current=null] : ( ( ( (lv_multiplicityIndicator_0_0= |
| // '[' ) ) otherlv_1= ']' )? ( (lv_variableName_2_0= RULE_ID ) ) ( (lv_initValue_3_0= ruleAssignmentCompletion ) ) ) ; |
| public final EObject ruleVariableDeclarationCompletion() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_multiplicityIndicator_0_0 = null; |
| Token otherlv_1 = null; |
| Token lv_variableName_2_0 = null; |
| EObject lv_initValue_3_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7837:28: ( ( ( ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']' )? ( (lv_variableName_2_0= RULE_ID |
| // ) ) ( (lv_initValue_3_0= ruleAssignmentCompletion ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7838:1: ( ( ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']' )? ( (lv_variableName_2_0= RULE_ID ) ) |
| // ( (lv_initValue_3_0= ruleAssignmentCompletion ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7838:1: ( ( ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']' )? ( (lv_variableName_2_0= RULE_ID |
| // ) ) ( (lv_initValue_3_0= ruleAssignmentCompletion ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7838:2: ( ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']' )? ( (lv_variableName_2_0= RULE_ID ) |
| // ) ( (lv_initValue_3_0= ruleAssignmentCompletion ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7838:2: ( ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']' )? |
| int alt112 = 2; |
| int LA112_0 = input.LA(1); |
| |
| if ((LA112_0 == 18)) { |
| alt112 = 1; |
| } |
| switch (alt112) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7838:3: ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']' |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7838:3: ( (lv_multiplicityIndicator_0_0= '[' ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7839:1: (lv_multiplicityIndicator_0_0= '[' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7839:1: (lv_multiplicityIndicator_0_0= '[' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7840:3: lv_multiplicityIndicator_0_0= '[' |
| { |
| lv_multiplicityIndicator_0_0 = (Token) match(input, 18, FOLLOW_18_in_ruleVariableDeclarationCompletion17027); |
| |
| newLeafNode(lv_multiplicityIndicator_0_0, grammarAccess.getVariableDeclarationCompletionAccess().getMultiplicityIndicatorLeftSquareBracketKeyword_0_0_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getVariableDeclarationCompletionRule()); |
| } |
| setWithLastConsumed(current, "multiplicityIndicator", true, "["); |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_1 = (Token) match(input, 19, FOLLOW_19_in_ruleVariableDeclarationCompletion17052); |
| |
| newLeafNode(otherlv_1, grammarAccess.getVariableDeclarationCompletionAccess().getRightSquareBracketKeyword_0_1()); |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7857:3: ( (lv_variableName_2_0= RULE_ID ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7858:1: (lv_variableName_2_0= RULE_ID ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7858:1: (lv_variableName_2_0= RULE_ID ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7859:3: lv_variableName_2_0= RULE_ID |
| { |
| lv_variableName_2_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleVariableDeclarationCompletion17071); |
| |
| newLeafNode(lv_variableName_2_0, grammarAccess.getVariableDeclarationCompletionAccess().getVariableNameIDTerminalRuleCall_1_0()); |
| |
| |
| if (current == null) { |
| current = createModelElement(grammarAccess.getVariableDeclarationCompletionRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "variableName", |
| lv_variableName_2_0, |
| "ID"); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7875:2: ( (lv_initValue_3_0= ruleAssignmentCompletion ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7876:1: (lv_initValue_3_0= ruleAssignmentCompletion ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7876:1: (lv_initValue_3_0= ruleAssignmentCompletion ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7877:3: lv_initValue_3_0= ruleAssignmentCompletion |
| { |
| |
| newCompositeNode(grammarAccess.getVariableDeclarationCompletionAccess().getInitValueAssignmentCompletionParserRuleCall_2_0()); |
| |
| pushFollow(FOLLOW_ruleAssignmentCompletion_in_ruleVariableDeclarationCompletion17097); |
| lv_initValue_3_0 = ruleAssignmentCompletion(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getVariableDeclarationCompletionRule()); |
| } |
| set( |
| current, |
| "initValue", |
| lv_initValue_3_0, |
| "AssignmentCompletion"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleVariableDeclarationCompletion" |
| |
| |
| // $ANTLR start "entryRuleAssignmentCompletion" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7901:1: entryRuleAssignmentCompletion returns [EObject current=null] : iv_ruleAssignmentCompletion= |
| // ruleAssignmentCompletion EOF ; |
| public final EObject entryRuleAssignmentCompletion() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleAssignmentCompletion = null; |
| |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7902:2: (iv_ruleAssignmentCompletion= ruleAssignmentCompletion EOF ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7903:2: iv_ruleAssignmentCompletion= ruleAssignmentCompletion EOF |
| { |
| newCompositeNode(grammarAccess.getAssignmentCompletionRule()); |
| pushFollow(FOLLOW_ruleAssignmentCompletion_in_entryRuleAssignmentCompletion17133); |
| iv_ruleAssignmentCompletion = ruleAssignmentCompletion(); |
| |
| state._fsp--; |
| |
| current = iv_ruleAssignmentCompletion; |
| match(input, EOF, FOLLOW_EOF_in_entryRuleAssignmentCompletion17143); |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "entryRuleAssignmentCompletion" |
| |
| |
| // $ANTLR start "ruleAssignmentCompletion" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7910:1: ruleAssignmentCompletion returns [EObject current=null] : ( ( (lv_op_0_0= ruleAssignmentOperator ) ) ( |
| // (lv_rightHandSide_1_0= ruleSequenceElement ) ) ) ; |
| public final EObject ruleAssignmentCompletion() throws RecognitionException { |
| EObject current = null; |
| |
| Enumerator lv_op_0_0 = null; |
| |
| EObject lv_rightHandSide_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7913:28: ( ( ( (lv_op_0_0= ruleAssignmentOperator ) ) ( (lv_rightHandSide_1_0= ruleSequenceElement ) ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7914:1: ( ( (lv_op_0_0= ruleAssignmentOperator ) ) ( (lv_rightHandSide_1_0= ruleSequenceElement ) ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7914:1: ( ( (lv_op_0_0= ruleAssignmentOperator ) ) ( (lv_rightHandSide_1_0= ruleSequenceElement ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7914:2: ( (lv_op_0_0= ruleAssignmentOperator ) ) ( (lv_rightHandSide_1_0= ruleSequenceElement ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7914:2: ( (lv_op_0_0= ruleAssignmentOperator ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7915:1: (lv_op_0_0= ruleAssignmentOperator ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7915:1: (lv_op_0_0= ruleAssignmentOperator ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7916:3: lv_op_0_0= ruleAssignmentOperator |
| { |
| |
| newCompositeNode(grammarAccess.getAssignmentCompletionAccess().getOpAssignmentOperatorEnumRuleCall_0_0()); |
| |
| pushFollow(FOLLOW_ruleAssignmentOperator_in_ruleAssignmentCompletion17189); |
| lv_op_0_0 = ruleAssignmentOperator(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getAssignmentCompletionRule()); |
| } |
| set( |
| current, |
| "op", |
| lv_op_0_0, |
| "AssignmentOperator"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7932:2: ( (lv_rightHandSide_1_0= ruleSequenceElement ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7933:1: (lv_rightHandSide_1_0= ruleSequenceElement ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7933:1: (lv_rightHandSide_1_0= ruleSequenceElement ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7934:3: lv_rightHandSide_1_0= ruleSequenceElement |
| { |
| |
| newCompositeNode(grammarAccess.getAssignmentCompletionAccess().getRightHandSideSequenceElementParserRuleCall_1_0()); |
| |
| pushFollow(FOLLOW_ruleSequenceElement_in_ruleAssignmentCompletion17210); |
| lv_rightHandSide_1_0 = ruleSequenceElement(); |
| |
| state._fsp--; |
| |
| |
| if (current == null) { |
| current = createModelElementForParent(grammarAccess.getAssignmentCompletionRule()); |
| } |
| set( |
| current, |
| "rightHandSide", |
| lv_rightHandSide_1_0, |
| "SequenceElement"); |
| afterParserOrEnumRuleCall(); |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleAssignmentCompletion" |
| |
| |
| // $ANTLR start "ruleVisibilityIndicator" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7958:1: ruleVisibilityIndicator returns [Enumerator current=null] : ( (enumLiteral_0= 'public' ) | (enumLiteral_1= |
| // 'private' ) | (enumLiteral_2= 'protected' ) ) ; |
| public final Enumerator ruleVisibilityIndicator() throws RecognitionException { |
| Enumerator current = null; |
| |
| Token enumLiteral_0 = null; |
| Token enumLiteral_1 = null; |
| Token enumLiteral_2 = null; |
| |
| enterRule(); |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7960:28: ( ( (enumLiteral_0= 'public' ) | (enumLiteral_1= 'private' ) | (enumLiteral_2= 'protected' ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7961:1: ( (enumLiteral_0= 'public' ) | (enumLiteral_1= 'private' ) | (enumLiteral_2= 'protected' ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7961:1: ( (enumLiteral_0= 'public' ) | (enumLiteral_1= 'private' ) | (enumLiteral_2= 'protected' ) ) |
| int alt113 = 3; |
| switch (input.LA(1)) { |
| case 88: { |
| alt113 = 1; |
| } |
| break; |
| case 89: { |
| alt113 = 2; |
| } |
| break; |
| case 90: { |
| alt113 = 3; |
| } |
| break; |
| default: |
| NoViableAltException nvae = |
| new NoViableAltException("", 113, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt113) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7961:2: (enumLiteral_0= 'public' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7961:2: (enumLiteral_0= 'public' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7961:4: enumLiteral_0= 'public' |
| { |
| enumLiteral_0 = (Token) match(input, 88, FOLLOW_88_in_ruleVisibilityIndicator17260); |
| |
| current = grammarAccess.getVisibilityIndicatorAccess().getPUBLICEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_0, grammarAccess.getVisibilityIndicatorAccess().getPUBLICEnumLiteralDeclaration_0()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7967:6: (enumLiteral_1= 'private' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7967:6: (enumLiteral_1= 'private' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7967:8: enumLiteral_1= 'private' |
| { |
| enumLiteral_1 = (Token) match(input, 89, FOLLOW_89_in_ruleVisibilityIndicator17277); |
| |
| current = grammarAccess.getVisibilityIndicatorAccess().getPRIVATEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_1, grammarAccess.getVisibilityIndicatorAccess().getPRIVATEEnumLiteralDeclaration_1()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7973:6: (enumLiteral_2= 'protected' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7973:6: (enumLiteral_2= 'protected' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7973:8: enumLiteral_2= 'protected' |
| { |
| enumLiteral_2 = (Token) match(input, 90, FOLLOW_90_in_ruleVisibilityIndicator17294); |
| |
| current = grammarAccess.getVisibilityIndicatorAccess().getPROTECTEDEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_2, grammarAccess.getVisibilityIndicatorAccess().getPROTECTEDEnumLiteralDeclaration_2()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleVisibilityIndicator" |
| |
| |
| // $ANTLR start "ruleParameterDirection" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7983:1: ruleParameterDirection returns [Enumerator current=null] : ( (enumLiteral_0= 'in' ) | (enumLiteral_1= |
| // 'out' ) | (enumLiteral_2= 'inout' ) ) ; |
| public final Enumerator ruleParameterDirection() throws RecognitionException { |
| Enumerator current = null; |
| |
| Token enumLiteral_0 = null; |
| Token enumLiteral_1 = null; |
| Token enumLiteral_2 = null; |
| |
| enterRule(); |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7985:28: ( ( (enumLiteral_0= 'in' ) | (enumLiteral_1= 'out' ) | (enumLiteral_2= 'inout' ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7986:1: ( (enumLiteral_0= 'in' ) | (enumLiteral_1= 'out' ) | (enumLiteral_2= 'inout' ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7986:1: ( (enumLiteral_0= 'in' ) | (enumLiteral_1= 'out' ) | (enumLiteral_2= 'inout' ) ) |
| int alt114 = 3; |
| switch (input.LA(1)) { |
| case 81: { |
| alt114 = 1; |
| } |
| break; |
| case 91: { |
| alt114 = 2; |
| } |
| break; |
| case 92: { |
| alt114 = 3; |
| } |
| break; |
| default: |
| NoViableAltException nvae = |
| new NoViableAltException("", 114, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt114) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7986:2: (enumLiteral_0= 'in' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7986:2: (enumLiteral_0= 'in' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7986:4: enumLiteral_0= 'in' |
| { |
| enumLiteral_0 = (Token) match(input, 81, FOLLOW_81_in_ruleParameterDirection17339); |
| |
| current = grammarAccess.getParameterDirectionAccess().getINEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_0, grammarAccess.getParameterDirectionAccess().getINEnumLiteralDeclaration_0()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7992:6: (enumLiteral_1= 'out' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7992:6: (enumLiteral_1= 'out' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7992:8: enumLiteral_1= 'out' |
| { |
| enumLiteral_1 = (Token) match(input, 91, FOLLOW_91_in_ruleParameterDirection17356); |
| |
| current = grammarAccess.getParameterDirectionAccess().getOUTEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_1, grammarAccess.getParameterDirectionAccess().getOUTEnumLiteralDeclaration_1()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7998:6: (enumLiteral_2= 'inout' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7998:6: (enumLiteral_2= 'inout' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7998:8: enumLiteral_2= 'inout' |
| { |
| enumLiteral_2 = (Token) match(input, 92, FOLLOW_92_in_ruleParameterDirection17373); |
| |
| current = grammarAccess.getParameterDirectionAccess().getINOUTEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_2, grammarAccess.getParameterDirectionAccess().getINOUTEnumLiteralDeclaration_2()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleParameterDirection" |
| |
| |
| // $ANTLR start "ruleBooleanValue" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8008:1: ruleBooleanValue returns [Enumerator current=null] : ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' |
| // ) ) ; |
| public final Enumerator ruleBooleanValue() throws RecognitionException { |
| Enumerator current = null; |
| |
| Token enumLiteral_0 = null; |
| Token enumLiteral_1 = null; |
| |
| enterRule(); |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8010:28: ( ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8011:1: ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8011:1: ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) ) |
| int alt115 = 2; |
| int LA115_0 = input.LA(1); |
| |
| if ((LA115_0 == 93)) { |
| alt115 = 1; |
| } |
| else if ((LA115_0 == 94)) { |
| alt115 = 2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 115, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt115) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8011:2: (enumLiteral_0= 'true' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8011:2: (enumLiteral_0= 'true' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8011:4: enumLiteral_0= 'true' |
| { |
| enumLiteral_0 = (Token) match(input, 93, FOLLOW_93_in_ruleBooleanValue17418); |
| |
| current = grammarAccess.getBooleanValueAccess().getTRUEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_0, grammarAccess.getBooleanValueAccess().getTRUEEnumLiteralDeclaration_0()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8017:6: (enumLiteral_1= 'false' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8017:6: (enumLiteral_1= 'false' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8017:8: enumLiteral_1= 'false' |
| { |
| enumLiteral_1 = (Token) match(input, 94, FOLLOW_94_in_ruleBooleanValue17435); |
| |
| current = grammarAccess.getBooleanValueAccess().getFALSEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_1, grammarAccess.getBooleanValueAccess().getFALSEEnumLiteralDeclaration_1()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleBooleanValue" |
| |
| |
| // $ANTLR start "ruleLinkOperationKind" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8027:1: ruleLinkOperationKind returns [Enumerator current=null] : ( (enumLiteral_0= 'createLink' ) | |
| // (enumLiteral_1= 'destroyLink' ) | (enumLiteral_2= 'clearAssoc' ) ) ; |
| public final Enumerator ruleLinkOperationKind() throws RecognitionException { |
| Enumerator current = null; |
| |
| Token enumLiteral_0 = null; |
| Token enumLiteral_1 = null; |
| Token enumLiteral_2 = null; |
| |
| enterRule(); |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8029:28: ( ( (enumLiteral_0= 'createLink' ) | (enumLiteral_1= 'destroyLink' ) | (enumLiteral_2= |
| // 'clearAssoc' ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8030:1: ( (enumLiteral_0= 'createLink' ) | (enumLiteral_1= 'destroyLink' ) | (enumLiteral_2= 'clearAssoc' |
| // ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8030:1: ( (enumLiteral_0= 'createLink' ) | (enumLiteral_1= 'destroyLink' ) | (enumLiteral_2= |
| // 'clearAssoc' ) ) |
| int alt116 = 3; |
| switch (input.LA(1)) { |
| case 95: { |
| alt116 = 1; |
| } |
| break; |
| case 96: { |
| alt116 = 2; |
| } |
| break; |
| case 97: { |
| alt116 = 3; |
| } |
| break; |
| default: |
| NoViableAltException nvae = |
| new NoViableAltException("", 116, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt116) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8030:2: (enumLiteral_0= 'createLink' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8030:2: (enumLiteral_0= 'createLink' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8030:4: enumLiteral_0= 'createLink' |
| { |
| enumLiteral_0 = (Token) match(input, 95, FOLLOW_95_in_ruleLinkOperationKind17480); |
| |
| current = grammarAccess.getLinkOperationKindAccess().getCREATEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_0, grammarAccess.getLinkOperationKindAccess().getCREATEEnumLiteralDeclaration_0()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8036:6: (enumLiteral_1= 'destroyLink' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8036:6: (enumLiteral_1= 'destroyLink' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8036:8: enumLiteral_1= 'destroyLink' |
| { |
| enumLiteral_1 = (Token) match(input, 96, FOLLOW_96_in_ruleLinkOperationKind17497); |
| |
| current = grammarAccess.getLinkOperationKindAccess().getDESTROYEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_1, grammarAccess.getLinkOperationKindAccess().getDESTROYEnumLiteralDeclaration_1()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8042:6: (enumLiteral_2= 'clearAssoc' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8042:6: (enumLiteral_2= 'clearAssoc' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8042:8: enumLiteral_2= 'clearAssoc' |
| { |
| enumLiteral_2 = (Token) match(input, 97, FOLLOW_97_in_ruleLinkOperationKind17514); |
| |
| current = grammarAccess.getLinkOperationKindAccess().getCLEAREnumLiteralDeclaration_2().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_2, grammarAccess.getLinkOperationKindAccess().getCLEAREnumLiteralDeclaration_2()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleLinkOperationKind" |
| |
| |
| // $ANTLR start "ruleSelectOrRejectOperator" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8052:1: ruleSelectOrRejectOperator returns [Enumerator current=null] : ( (enumLiteral_0= 'select' ) | |
| // (enumLiteral_1= 'reject' ) ) ; |
| public final Enumerator ruleSelectOrRejectOperator() throws RecognitionException { |
| Enumerator current = null; |
| |
| Token enumLiteral_0 = null; |
| Token enumLiteral_1 = null; |
| |
| enterRule(); |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8054:28: ( ( (enumLiteral_0= 'select' ) | (enumLiteral_1= 'reject' ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8055:1: ( (enumLiteral_0= 'select' ) | (enumLiteral_1= 'reject' ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8055:1: ( (enumLiteral_0= 'select' ) | (enumLiteral_1= 'reject' ) ) |
| int alt117 = 2; |
| int LA117_0 = input.LA(1); |
| |
| if ((LA117_0 == 98)) { |
| alt117 = 1; |
| } |
| else if ((LA117_0 == 99)) { |
| alt117 = 2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 117, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt117) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8055:2: (enumLiteral_0= 'select' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8055:2: (enumLiteral_0= 'select' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8055:4: enumLiteral_0= 'select' |
| { |
| enumLiteral_0 = (Token) match(input, 98, FOLLOW_98_in_ruleSelectOrRejectOperator17559); |
| |
| current = grammarAccess.getSelectOrRejectOperatorAccess().getSELECTEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_0, grammarAccess.getSelectOrRejectOperatorAccess().getSELECTEnumLiteralDeclaration_0()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8061:6: (enumLiteral_1= 'reject' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8061:6: (enumLiteral_1= 'reject' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8061:8: enumLiteral_1= 'reject' |
| { |
| enumLiteral_1 = (Token) match(input, 99, FOLLOW_99_in_ruleSelectOrRejectOperator17576); |
| |
| current = grammarAccess.getSelectOrRejectOperatorAccess().getREJECTEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_1, grammarAccess.getSelectOrRejectOperatorAccess().getREJECTEnumLiteralDeclaration_1()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleSelectOrRejectOperator" |
| |
| |
| // $ANTLR start "ruleCollectOrIterateOperator" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8071:1: ruleCollectOrIterateOperator returns [Enumerator current=null] : ( (enumLiteral_0= 'collect' ) | |
| // (enumLiteral_1= 'iterate' ) ) ; |
| public final Enumerator ruleCollectOrIterateOperator() throws RecognitionException { |
| Enumerator current = null; |
| |
| Token enumLiteral_0 = null; |
| Token enumLiteral_1 = null; |
| |
| enterRule(); |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8073:28: ( ( (enumLiteral_0= 'collect' ) | (enumLiteral_1= 'iterate' ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8074:1: ( (enumLiteral_0= 'collect' ) | (enumLiteral_1= 'iterate' ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8074:1: ( (enumLiteral_0= 'collect' ) | (enumLiteral_1= 'iterate' ) ) |
| int alt118 = 2; |
| int LA118_0 = input.LA(1); |
| |
| if ((LA118_0 == 100)) { |
| alt118 = 1; |
| } |
| else if ((LA118_0 == 101)) { |
| alt118 = 2; |
| } |
| else { |
| NoViableAltException nvae = |
| new NoViableAltException("", 118, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt118) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8074:2: (enumLiteral_0= 'collect' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8074:2: (enumLiteral_0= 'collect' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8074:4: enumLiteral_0= 'collect' |
| { |
| enumLiteral_0 = (Token) match(input, 100, FOLLOW_100_in_ruleCollectOrIterateOperator17621); |
| |
| current = grammarAccess.getCollectOrIterateOperatorAccess().getCOLLECTEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_0, grammarAccess.getCollectOrIterateOperatorAccess().getCOLLECTEnumLiteralDeclaration_0()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8080:6: (enumLiteral_1= 'iterate' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8080:6: (enumLiteral_1= 'iterate' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8080:8: enumLiteral_1= 'iterate' |
| { |
| enumLiteral_1 = (Token) match(input, 101, FOLLOW_101_in_ruleCollectOrIterateOperator17638); |
| |
| current = grammarAccess.getCollectOrIterateOperatorAccess().getITERATEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_1, grammarAccess.getCollectOrIterateOperatorAccess().getITERATEEnumLiteralDeclaration_1()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleCollectOrIterateOperator" |
| |
| |
| // $ANTLR start "ruleForAllOrExistsOrOneOperator" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8090:1: ruleForAllOrExistsOrOneOperator returns [Enumerator current=null] : ( (enumLiteral_0= 'forAll' ) | |
| // (enumLiteral_1= 'exists' ) | (enumLiteral_2= 'one' ) ) ; |
| public final Enumerator ruleForAllOrExistsOrOneOperator() throws RecognitionException { |
| Enumerator current = null; |
| |
| Token enumLiteral_0 = null; |
| Token enumLiteral_1 = null; |
| Token enumLiteral_2 = null; |
| |
| enterRule(); |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8092:28: ( ( (enumLiteral_0= 'forAll' ) | (enumLiteral_1= 'exists' ) | (enumLiteral_2= 'one' ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8093:1: ( (enumLiteral_0= 'forAll' ) | (enumLiteral_1= 'exists' ) | (enumLiteral_2= 'one' ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8093:1: ( (enumLiteral_0= 'forAll' ) | (enumLiteral_1= 'exists' ) | (enumLiteral_2= 'one' ) ) |
| int alt119 = 3; |
| switch (input.LA(1)) { |
| case 102: { |
| alt119 = 1; |
| } |
| break; |
| case 103: { |
| alt119 = 2; |
| } |
| break; |
| case 104: { |
| alt119 = 3; |
| } |
| break; |
| default: |
| NoViableAltException nvae = |
| new NoViableAltException("", 119, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt119) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8093:2: (enumLiteral_0= 'forAll' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8093:2: (enumLiteral_0= 'forAll' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8093:4: enumLiteral_0= 'forAll' |
| { |
| enumLiteral_0 = (Token) match(input, 102, FOLLOW_102_in_ruleForAllOrExistsOrOneOperator17683); |
| |
| current = grammarAccess.getForAllOrExistsOrOneOperatorAccess().getFORALLEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_0, grammarAccess.getForAllOrExistsOrOneOperatorAccess().getFORALLEnumLiteralDeclaration_0()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8099:6: (enumLiteral_1= 'exists' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8099:6: (enumLiteral_1= 'exists' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8099:8: enumLiteral_1= 'exists' |
| { |
| enumLiteral_1 = (Token) match(input, 103, FOLLOW_103_in_ruleForAllOrExistsOrOneOperator17700); |
| |
| current = grammarAccess.getForAllOrExistsOrOneOperatorAccess().getEXISTSEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_1, grammarAccess.getForAllOrExistsOrOneOperatorAccess().getEXISTSEnumLiteralDeclaration_1()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8105:6: (enumLiteral_2= 'one' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8105:6: (enumLiteral_2= 'one' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8105:8: enumLiteral_2= 'one' |
| { |
| enumLiteral_2 = (Token) match(input, 104, FOLLOW_104_in_ruleForAllOrExistsOrOneOperator17717); |
| |
| current = grammarAccess.getForAllOrExistsOrOneOperatorAccess().getONEEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_2, grammarAccess.getForAllOrExistsOrOneOperatorAccess().getONEEnumLiteralDeclaration_2()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleForAllOrExistsOrOneOperator" |
| |
| |
| // $ANTLR start "ruleAnnotationKind" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8115:1: ruleAnnotationKind returns [Enumerator current=null] : ( (enumLiteral_0= 'isolated' ) | (enumLiteral_1= |
| // 'determined' ) | (enumLiteral_2= 'assured' ) | (enumLiteral_3= 'parallel' ) ) ; |
| public final Enumerator ruleAnnotationKind() throws RecognitionException { |
| Enumerator current = null; |
| |
| Token enumLiteral_0 = null; |
| Token enumLiteral_1 = null; |
| Token enumLiteral_2 = null; |
| Token enumLiteral_3 = null; |
| |
| enterRule(); |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8117:28: ( ( (enumLiteral_0= 'isolated' ) | (enumLiteral_1= 'determined' ) | (enumLiteral_2= 'assured' ) | |
| // (enumLiteral_3= 'parallel' ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8118:1: ( (enumLiteral_0= 'isolated' ) | (enumLiteral_1= 'determined' ) | (enumLiteral_2= 'assured' ) | |
| // (enumLiteral_3= 'parallel' ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8118:1: ( (enumLiteral_0= 'isolated' ) | (enumLiteral_1= 'determined' ) | (enumLiteral_2= 'assured' ) |
| // | (enumLiteral_3= 'parallel' ) ) |
| int alt120 = 4; |
| switch (input.LA(1)) { |
| case 105: { |
| alt120 = 1; |
| } |
| break; |
| case 106: { |
| alt120 = 2; |
| } |
| break; |
| case 107: { |
| alt120 = 3; |
| } |
| break; |
| case 108: { |
| alt120 = 4; |
| } |
| break; |
| default: |
| NoViableAltException nvae = |
| new NoViableAltException("", 120, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt120) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8118:2: (enumLiteral_0= 'isolated' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8118:2: (enumLiteral_0= 'isolated' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8118:4: enumLiteral_0= 'isolated' |
| { |
| enumLiteral_0 = (Token) match(input, 105, FOLLOW_105_in_ruleAnnotationKind17762); |
| |
| current = grammarAccess.getAnnotationKindAccess().getISOLATEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_0, grammarAccess.getAnnotationKindAccess().getISOLATEDEnumLiteralDeclaration_0()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8124:6: (enumLiteral_1= 'determined' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8124:6: (enumLiteral_1= 'determined' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8124:8: enumLiteral_1= 'determined' |
| { |
| enumLiteral_1 = (Token) match(input, 106, FOLLOW_106_in_ruleAnnotationKind17779); |
| |
| current = grammarAccess.getAnnotationKindAccess().getDETERMINEDEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_1, grammarAccess.getAnnotationKindAccess().getDETERMINEDEnumLiteralDeclaration_1()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8130:6: (enumLiteral_2= 'assured' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8130:6: (enumLiteral_2= 'assured' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8130:8: enumLiteral_2= 'assured' |
| { |
| enumLiteral_2 = (Token) match(input, 107, FOLLOW_107_in_ruleAnnotationKind17796); |
| |
| current = grammarAccess.getAnnotationKindAccess().getASSUREDEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_2, grammarAccess.getAnnotationKindAccess().getASSUREDEnumLiteralDeclaration_2()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 4: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8136:6: (enumLiteral_3= 'parallel' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8136:6: (enumLiteral_3= 'parallel' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8136:8: enumLiteral_3= 'parallel' |
| { |
| enumLiteral_3 = (Token) match(input, 108, FOLLOW_108_in_ruleAnnotationKind17813); |
| |
| current = grammarAccess.getAnnotationKindAccess().getPARALLELEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_3, grammarAccess.getAnnotationKindAccess().getPARALLELEnumLiteralDeclaration_3()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleAnnotationKind" |
| |
| |
| // $ANTLR start "ruleAssignmentOperator" |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8146:1: ruleAssignmentOperator returns [Enumerator current=null] : ( (enumLiteral_0= '=' ) | (enumLiteral_1= '+=' |
| // ) | (enumLiteral_2= '-=' ) | (enumLiteral_3= '*=' ) | (enumLiteral_4= '%=' ) | (enumLiteral_5= '/=' ) | (enumLiteral_6= '&=' ) | (enumLiteral_7= '|=' ) | (enumLiteral_8= '^=' ) | (enumLiteral_9= '<<=' ) | (enumLiteral_10= '>>=' ) | (enumLiteral_11= |
| // '>>>=' ) ) ; |
| public final Enumerator ruleAssignmentOperator() throws RecognitionException { |
| Enumerator current = null; |
| |
| Token enumLiteral_0 = null; |
| Token enumLiteral_1 = null; |
| Token enumLiteral_2 = null; |
| Token enumLiteral_3 = null; |
| Token enumLiteral_4 = null; |
| Token enumLiteral_5 = null; |
| Token enumLiteral_6 = null; |
| Token enumLiteral_7 = null; |
| Token enumLiteral_8 = null; |
| Token enumLiteral_9 = null; |
| Token enumLiteral_10 = null; |
| Token enumLiteral_11 = null; |
| |
| enterRule(); |
| try { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8148:28: ( ( (enumLiteral_0= '=' ) | (enumLiteral_1= '+=' ) | (enumLiteral_2= '-=' ) | (enumLiteral_3= |
| // '*=' ) | (enumLiteral_4= '%=' ) | (enumLiteral_5= '/=' ) | (enumLiteral_6= '&=' ) | (enumLiteral_7= '|=' ) | (enumLiteral_8= '^=' ) | (enumLiteral_9= '<<=' ) | (enumLiteral_10= '>>=' ) | (enumLiteral_11= '>>>=' ) ) ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8149:1: ( (enumLiteral_0= '=' ) | (enumLiteral_1= '+=' ) | (enumLiteral_2= '-=' ) | (enumLiteral_3= '*=' ) |
| // | (enumLiteral_4= '%=' ) | (enumLiteral_5= '/=' ) | (enumLiteral_6= '&=' ) | (enumLiteral_7= '|=' ) | (enumLiteral_8= '^=' ) | (enumLiteral_9= '<<=' ) | (enumLiteral_10= '>>=' ) | (enumLiteral_11= '>>>=' ) ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8149:1: ( (enumLiteral_0= '=' ) | (enumLiteral_1= '+=' ) | (enumLiteral_2= '-=' ) | (enumLiteral_3= |
| // '*=' ) | (enumLiteral_4= '%=' ) | (enumLiteral_5= '/=' ) | (enumLiteral_6= '&=' ) | (enumLiteral_7= '|=' ) | (enumLiteral_8= '^=' ) | (enumLiteral_9= '<<=' ) | (enumLiteral_10= '>>=' ) | (enumLiteral_11= '>>>=' ) ) |
| int alt121 = 12; |
| switch (input.LA(1)) { |
| case 71: { |
| alt121 = 1; |
| } |
| break; |
| case 109: { |
| alt121 = 2; |
| } |
| break; |
| case 110: { |
| alt121 = 3; |
| } |
| break; |
| case 111: { |
| alt121 = 4; |
| } |
| break; |
| case 112: { |
| alt121 = 5; |
| } |
| break; |
| case 113: { |
| alt121 = 6; |
| } |
| break; |
| case 114: { |
| alt121 = 7; |
| } |
| break; |
| case 115: { |
| alt121 = 8; |
| } |
| break; |
| case 116: { |
| alt121 = 9; |
| } |
| break; |
| case 117: { |
| alt121 = 10; |
| } |
| break; |
| case 118: { |
| alt121 = 11; |
| } |
| break; |
| case 119: { |
| alt121 = 12; |
| } |
| break; |
| default: |
| NoViableAltException nvae = |
| new NoViableAltException("", 121, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt121) { |
| case 1: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8149:2: (enumLiteral_0= '=' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8149:2: (enumLiteral_0= '=' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8149:4: enumLiteral_0= '=' |
| { |
| enumLiteral_0 = (Token) match(input, 71, FOLLOW_71_in_ruleAssignmentOperator17858); |
| |
| current = grammarAccess.getAssignmentOperatorAccess().getASSIGNEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_0, grammarAccess.getAssignmentOperatorAccess().getASSIGNEnumLiteralDeclaration_0()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8155:6: (enumLiteral_1= '+=' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8155:6: (enumLiteral_1= '+=' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8155:8: enumLiteral_1= '+=' |
| { |
| enumLiteral_1 = (Token) match(input, 109, FOLLOW_109_in_ruleAssignmentOperator17875); |
| |
| current = grammarAccess.getAssignmentOperatorAccess().getPLUSASSIGNEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_1, grammarAccess.getAssignmentOperatorAccess().getPLUSASSIGNEnumLiteralDeclaration_1()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8161:6: (enumLiteral_2= '-=' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8161:6: (enumLiteral_2= '-=' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8161:8: enumLiteral_2= '-=' |
| { |
| enumLiteral_2 = (Token) match(input, 110, FOLLOW_110_in_ruleAssignmentOperator17892); |
| |
| current = grammarAccess.getAssignmentOperatorAccess().getMINUSASSIGNEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_2, grammarAccess.getAssignmentOperatorAccess().getMINUSASSIGNEnumLiteralDeclaration_2()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 4: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8167:6: (enumLiteral_3= '*=' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8167:6: (enumLiteral_3= '*=' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8167:8: enumLiteral_3= '*=' |
| { |
| enumLiteral_3 = (Token) match(input, 111, FOLLOW_111_in_ruleAssignmentOperator17909); |
| |
| current = grammarAccess.getAssignmentOperatorAccess().getMULTASSIGNEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_3, grammarAccess.getAssignmentOperatorAccess().getMULTASSIGNEnumLiteralDeclaration_3()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 5: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8173:6: (enumLiteral_4= '%=' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8173:6: (enumLiteral_4= '%=' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8173:8: enumLiteral_4= '%=' |
| { |
| enumLiteral_4 = (Token) match(input, 112, FOLLOW_112_in_ruleAssignmentOperator17926); |
| |
| current = grammarAccess.getAssignmentOperatorAccess().getMODASSIGNEnumLiteralDeclaration_4().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_4, grammarAccess.getAssignmentOperatorAccess().getMODASSIGNEnumLiteralDeclaration_4()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 6: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8179:6: (enumLiteral_5= '/=' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8179:6: (enumLiteral_5= '/=' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8179:8: enumLiteral_5= '/=' |
| { |
| enumLiteral_5 = (Token) match(input, 113, FOLLOW_113_in_ruleAssignmentOperator17943); |
| |
| current = grammarAccess.getAssignmentOperatorAccess().getDIVASSIGNEnumLiteralDeclaration_5().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_5, grammarAccess.getAssignmentOperatorAccess().getDIVASSIGNEnumLiteralDeclaration_5()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 7: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8185:6: (enumLiteral_6= '&=' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8185:6: (enumLiteral_6= '&=' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8185:8: enumLiteral_6= '&=' |
| { |
| enumLiteral_6 = (Token) match(input, 114, FOLLOW_114_in_ruleAssignmentOperator17960); |
| |
| current = grammarAccess.getAssignmentOperatorAccess().getANDASSIGNEnumLiteralDeclaration_6().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_6, grammarAccess.getAssignmentOperatorAccess().getANDASSIGNEnumLiteralDeclaration_6()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 8: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8191:6: (enumLiteral_7= '|=' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8191:6: (enumLiteral_7= '|=' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8191:8: enumLiteral_7= '|=' |
| { |
| enumLiteral_7 = (Token) match(input, 115, FOLLOW_115_in_ruleAssignmentOperator17977); |
| |
| current = grammarAccess.getAssignmentOperatorAccess().getORASSIGNEnumLiteralDeclaration_7().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_7, grammarAccess.getAssignmentOperatorAccess().getORASSIGNEnumLiteralDeclaration_7()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 9: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8197:6: (enumLiteral_8= '^=' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8197:6: (enumLiteral_8= '^=' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8197:8: enumLiteral_8= '^=' |
| { |
| enumLiteral_8 = (Token) match(input, 116, FOLLOW_116_in_ruleAssignmentOperator17994); |
| |
| current = grammarAccess.getAssignmentOperatorAccess().getXORASSIGNEnumLiteralDeclaration_8().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_8, grammarAccess.getAssignmentOperatorAccess().getXORASSIGNEnumLiteralDeclaration_8()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 10: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8203:6: (enumLiteral_9= '<<=' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8203:6: (enumLiteral_9= '<<=' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8203:8: enumLiteral_9= '<<=' |
| { |
| enumLiteral_9 = (Token) match(input, 117, FOLLOW_117_in_ruleAssignmentOperator18011); |
| |
| current = grammarAccess.getAssignmentOperatorAccess().getLSHIFTASSIGNEnumLiteralDeclaration_9().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_9, grammarAccess.getAssignmentOperatorAccess().getLSHIFTASSIGNEnumLiteralDeclaration_9()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 11: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8209:6: (enumLiteral_10= '>>=' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8209:6: (enumLiteral_10= '>>=' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8209:8: enumLiteral_10= '>>=' |
| { |
| enumLiteral_10 = (Token) match(input, 118, FOLLOW_118_in_ruleAssignmentOperator18028); |
| |
| current = grammarAccess.getAssignmentOperatorAccess().getRSHIFTASSIGNEnumLiteralDeclaration_10().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_10, grammarAccess.getAssignmentOperatorAccess().getRSHIFTASSIGNEnumLiteralDeclaration_10()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 12: |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8215:6: (enumLiteral_11= '>>>=' ) |
| { |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8215:6: (enumLiteral_11= '>>>=' ) |
| // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8215:8: enumLiteral_11= '>>>=' |
| { |
| enumLiteral_11 = (Token) match(input, 119, FOLLOW_119_in_ruleAssignmentOperator18045); |
| |
| current = grammarAccess.getAssignmentOperatorAccess().getURSHIFTASSIGNEnumLiteralDeclaration_11().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_11, grammarAccess.getAssignmentOperatorAccess().getURSHIFTASSIGNEnumLiteralDeclaration_11()); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| leaveRule(); |
| } |
| |
| catch (RecognitionException re) { |
| recover(input, re); |
| appendSkippedTokens(); |
| } finally { |
| } |
| return current; |
| } |
| |
| // $ANTLR end "ruleAssignmentOperator" |
| |
| // Delegated rules |
| |
| |
| protected DFA56 dfa56 = new DFA56(this); |
| static final String DFA56_eotS = |
| "\13\uffff"; |
| static final String DFA56_eofS = |
| "\3\uffff\1\12\7\uffff"; |
| static final String DFA56_minS = |
| "\1\67\3\4\7\uffff"; |
| static final String DFA56_maxS = |
| "\1\70\1\141\1\150\1\167\7\uffff"; |
| static final String DFA56_acceptS = |
| "\4\uffff\1\3\1\7\1\4\1\6\1\5\1\1\1\2"; |
| static final String DFA56_specialS = |
| "\13\uffff}>"; |
| static final String[] DFA56_transitionS = { |
| "\1\1\1\2", |
| "\1\3\74\uffff\1\5\35\uffff\3\4", |
| "\1\6\64\uffff\1\10\1\7\47\uffff\7\7", |
| "\1\12\7\uffff\1\12\1\uffff\1\12\1\11\4\12\3\uffff\2\12\5\uffff" + |
| "\2\12\1\uffff\23\12\3\uffff\2\12\7\uffff\1\12\6\uffff\1\12\16" + |
| "\uffff\2\12\25\uffff\13\12", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "" |
| }; |
| |
| static final short[] DFA56_eot = DFA.unpackEncodedString(DFA56_eotS); |
| static final short[] DFA56_eof = DFA.unpackEncodedString(DFA56_eofS); |
| static final char[] DFA56_min = DFA.unpackEncodedStringToUnsignedChars(DFA56_minS); |
| static final char[] DFA56_max = DFA.unpackEncodedStringToUnsignedChars(DFA56_maxS); |
| static final short[] DFA56_accept = DFA.unpackEncodedString(DFA56_acceptS); |
| static final short[] DFA56_special = DFA.unpackEncodedString(DFA56_specialS); |
| static final short[][] DFA56_transition; |
| |
| static { |
| int numStates = DFA56_transitionS.length; |
| DFA56_transition = new short[numStates][]; |
| for (int i = 0; i < numStates; i++) { |
| DFA56_transition[i] = DFA.unpackEncodedString(DFA56_transitionS[i]); |
| } |
| } |
| |
| class DFA56 extends DFA { |
| |
| public DFA56(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 56; |
| this.eot = DFA56_eot; |
| this.eof = DFA56_eof; |
| this.min = DFA56_min; |
| this.max = DFA56_max; |
| this.accept = DFA56_accept; |
| this.special = DFA56_special; |
| this.transition = DFA56_transition; |
| } |
| |
| @Override |
| public String getDescription() { |
| return "3004:1: (this_OperationCallExpression_0= ruleOperationCallExpression | this_PropertyCallExpression_1= rulePropertyCallExpression | this_LinkOperationExpression_2= ruleLinkOperationExpression | this_SequenceOperationExpression_3= ruleSequenceOperationExpression | this_SequenceReductionExpression_4= ruleSequenceReductionExpression | this_SequenceExpansionExpression_5= ruleSequenceExpansionExpression | this_ClassExtentExpression_6= ruleClassExtentExpression )"; |
| } |
| } |
| |
| |
| public static final BitSet FOLLOW_ruleOperationDefinitionOrStub_in_entryRuleOperationDefinitionOrStub75 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleOperationDefinitionOrStub85 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleOperationDeclaration_in_ruleOperationDefinitionOrStub131 = new BitSet(new long[] { 0x8000000000001000L }); |
| public static final BitSet FOLLOW_12_in_ruleOperationDefinitionOrStub144 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleBlock_in_ruleOperationDefinitionOrStub171 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleOperationDeclaration_in_entryRuleOperationDeclaration208 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleOperationDeclaration218 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleVisibilityIndicator_in_ruleOperationDeclaration264 = new BitSet(new long[] { 0x0000000000002010L }); |
| public static final BitSet FOLLOW_13_in_ruleOperationDeclaration283 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleOperationDeclaration314 = new BitSet(new long[] { 0x0000000000008000L }); |
| public static final BitSet FOLLOW_ruleFormalParameters_in_ruleOperationDeclaration340 = new BitSet(new long[] { 0x0000000004004002L }); |
| public static final BitSet FOLLOW_14_in_ruleOperationDeclaration353 = new BitSet(new long[] { 0x0000000002000010L }); |
| public static final BitSet FOLLOW_ruleTypePart_in_ruleOperationDeclaration374 = new BitSet(new long[] { 0x0000000004000002L }); |
| public static final BitSet FOLLOW_ruleRedefinitionClause_in_ruleOperationDeclaration397 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleFormalParameters_in_entryRuleFormalParameters434 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleFormalParameters444 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_15_in_ruleFormalParameters490 = new BitSet(new long[] { 0x0000000000010000L, 0x0000000018020000L }); |
| public static final BitSet FOLLOW_ruleFormalParameterList_in_ruleFormalParameters511 = new BitSet(new long[] { 0x0000000000010000L }); |
| public static final BitSet FOLLOW_16_in_ruleFormalParameters524 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleFormalParameterList_in_entryRuleFormalParameterList560 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleFormalParameterList570 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleFormalParameter_in_ruleFormalParameterList616 = new BitSet(new long[] { 0x0000000000020002L }); |
| public static final BitSet FOLLOW_17_in_ruleFormalParameterList629 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000018020000L }); |
| public static final BitSet FOLLOW_ruleFormalParameter_in_ruleFormalParameterList650 = new BitSet(new long[] { 0x0000000000020002L }); |
| public static final BitSet FOLLOW_ruleFormalParameter_in_entryRuleFormalParameter688 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleFormalParameter698 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleParameterDirection_in_ruleFormalParameter744 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleFormalParameter761 = new BitSet(new long[] { 0x0000000000004000L }); |
| public static final BitSet FOLLOW_14_in_ruleFormalParameter778 = new BitSet(new long[] { 0x0000000002000010L }); |
| public static final BitSet FOLLOW_ruleTypePart_in_ruleFormalParameter799 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleTypePart_in_entryRuleTypePart835 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTypePart845 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleTypeName_in_ruleTypePart891 = new BitSet(new long[] { 0x0000000000040002L }); |
| public static final BitSet FOLLOW_ruleMultiplicity_in_ruleTypePart912 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleMultiplicity_in_entryRuleMultiplicity949 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicity959 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_18_in_ruleMultiplicity1005 = new BitSet(new long[] { 0x0000000001080020L }); |
| public static final BitSet FOLLOW_ruleMultiplicityRange_in_ruleMultiplicity1026 = new BitSet(new long[] { 0x0000000000080000L }); |
| public static final BitSet FOLLOW_19_in_ruleMultiplicity1039 = new BitSet(new long[] { 0x0000000000700002L }); |
| public static final BitSet FOLLOW_20_in_ruleMultiplicity1059 = new BitSet(new long[] { 0x0000000000200002L }); |
| public static final BitSet FOLLOW_21_in_ruleMultiplicity1090 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_21_in_ruleMultiplicity1130 = new BitSet(new long[] { 0x0000000000100002L }); |
| public static final BitSet FOLLOW_20_in_ruleMultiplicity1161 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_22_in_ruleMultiplicity1200 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleMultiplicityRange_in_entryRuleMultiplicityRange1251 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicityRange1261 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleNUMBER_LITERAL_WITHOUT_SUFFIX_in_ruleMultiplicityRange1308 = new BitSet(new long[] { 0x0000000000800000L }); |
| public static final BitSet FOLLOW_23_in_ruleMultiplicityRange1320 = new BitSet(new long[] { 0x0000000001000020L }); |
| public static final BitSet FOLLOW_ruleNUMBER_LITERAL_WITHOUT_SUFFIX_in_ruleMultiplicityRange1343 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleNUMBER_LITERAL_WITHOUT_SUFFIX_in_entryRuleNUMBER_LITERAL_WITHOUT_SUFFIX1379 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNUMBER_LITERAL_WITHOUT_SUFFIX1389 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleINTEGER_LITERAL_WITHOUT_SUFFIX_in_ruleNUMBER_LITERAL_WITHOUT_SUFFIX1436 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX_in_ruleNUMBER_LITERAL_WITHOUT_SUFFIX1463 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleINTEGER_LITERAL_WITHOUT_SUFFIX_in_entryRuleINTEGER_LITERAL_WITHOUT_SUFFIX1498 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleINTEGER_LITERAL_WITHOUT_SUFFIX1508 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_RULE_INTEGERVALUE_in_ruleINTEGER_LITERAL_WITHOUT_SUFFIX1549 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX_in_entryRuleUNLIMITED_LITERAL_WITHOUT_SUFFIX1589 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleUNLIMITED_LITERAL_WITHOUT_SUFFIX1599 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_24_in_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX1641 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleTypeName_in_entryRuleTypeName1689 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTypeName1699 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleQualifiedNameWithBinding_in_ruleTypeName1755 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_25_in_ruleTypeName1773 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleRedefinitionClause_in_entryRuleRedefinitionClause1810 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleRedefinitionClause1820 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_26_in_ruleRedefinitionClause1857 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_ruleQualifiedNameList_in_ruleRedefinitionClause1878 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleLITERAL_in_entryRuleLITERAL1916 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleLITERAL1926 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleBOOLEAN_LITERAL_in_ruleLITERAL1973 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleNUMBER_LITERAL_in_ruleLITERAL2000 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSTRING_LITERAL_in_ruleLITERAL2027 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleBOOLEAN_LITERAL_in_entryRuleBOOLEAN_LITERAL2062 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleBOOLEAN_LITERAL2072 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleBooleanValue_in_ruleBOOLEAN_LITERAL2118 = new BitSet(new long[] { 0x0180000000000002L }); |
| public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleBOOLEAN_LITERAL2139 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleNUMBER_LITERAL_in_entryRuleNUMBER_LITERAL2176 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNUMBER_LITERAL2186 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleINTEGER_LITERAL_in_ruleNUMBER_LITERAL2233 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleUNLIMITED_LITERAL_in_ruleNUMBER_LITERAL2260 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleINTEGER_LITERAL_in_entryRuleINTEGER_LITERAL2295 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleINTEGER_LITERAL2305 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_RULE_INTEGERVALUE_in_ruleINTEGER_LITERAL2347 = new BitSet(new long[] { 0x0180000000000002L }); |
| public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleINTEGER_LITERAL2373 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleUNLIMITED_LITERAL_in_entryRuleUNLIMITED_LITERAL2410 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleUNLIMITED_LITERAL2420 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_24_in_ruleUNLIMITED_LITERAL2463 = new BitSet(new long[] { 0x0180000000000002L }); |
| public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleUNLIMITED_LITERAL2497 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSTRING_LITERAL_in_entryRuleSTRING_LITERAL2534 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleSTRING_LITERAL2544 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_RULE_STRING_in_ruleSTRING_LITERAL2586 = new BitSet(new long[] { 0x0180000000000002L }); |
| public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleSTRING_LITERAL2612 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleNameExpression_in_entryRuleNameExpression2649 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNameExpression2659 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_27_in_ruleNameExpression2706 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_28_in_ruleNameExpression2735 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_ruleQualifiedNamePath_in_ruleNameExpression2772 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleNameExpression2790 = new BitSet(new long[] { 0x0180000000000002L }); |
| public static final BitSet FOLLOW_ruleQualifiedNamePath_in_ruleNameExpression2824 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleNameExpression2842 = new BitSet(new long[] { 0x8180000018048002L }); |
| public static final BitSet FOLLOW_ruleTuple_in_ruleNameExpression2869 = new BitSet(new long[] { 0x0180000000000002L }); |
| public static final BitSet FOLLOW_ruleSequenceConstructionOrAccessCompletion_in_ruleNameExpression2896 = new BitSet(new long[] { 0x0180000000000002L }); |
| public static final BitSet FOLLOW_27_in_ruleNameExpression2922 = new BitSet(new long[] { 0x0180000000000002L }); |
| public static final BitSet FOLLOW_28_in_ruleNameExpression2951 = new BitSet(new long[] { 0x0180000000000002L }); |
| public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleNameExpression2992 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleQualifiedNamePath_in_entryRuleQualifiedNamePath3029 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedNamePath3039 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleUnqualifiedName_in_ruleQualifiedNamePath3085 = new BitSet(new long[] { 0x0000000020000000L }); |
| public static final BitSet FOLLOW_29_in_ruleQualifiedNamePath3097 = new BitSet(new long[] { 0x0000000000000012L }); |
| public static final BitSet FOLLOW_ruleUnqualifiedName_in_entryRuleUnqualifiedName3134 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleUnqualifiedName3144 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleUnqualifiedName3186 = new BitSet(new long[] { 0x0000000040000002L }); |
| public static final BitSet FOLLOW_ruleTemplateBinding_in_ruleUnqualifiedName3212 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleTemplateBinding_in_entryRuleTemplateBinding3249 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTemplateBinding3259 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_30_in_ruleTemplateBinding3296 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_ruleNamedTemplateBinding_in_ruleTemplateBinding3317 = new BitSet(new long[] { 0x0000000080020000L }); |
| public static final BitSet FOLLOW_17_in_ruleTemplateBinding3330 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_ruleNamedTemplateBinding_in_ruleTemplateBinding3351 = new BitSet(new long[] { 0x0000000080020000L }); |
| public static final BitSet FOLLOW_31_in_ruleTemplateBinding3365 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleNamedTemplateBinding_in_entryRuleNamedTemplateBinding3401 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNamedTemplateBinding3411 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleNamedTemplateBinding3453 = new BitSet(new long[] { 0x0000000100000000L }); |
| public static final BitSet FOLLOW_32_in_ruleNamedTemplateBinding3470 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_ruleQualifiedNameWithBinding_in_ruleNamedTemplateBinding3491 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleQualifiedNameWithBinding_in_entryRuleQualifiedNameWithBinding3527 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedNameWithBinding3537 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleQualifiedNameWithBinding3579 = new BitSet(new long[] { 0x0000000060000002L }); |
| public static final BitSet FOLLOW_ruleTemplateBinding_in_ruleQualifiedNameWithBinding3605 = new BitSet(new long[] { 0x0000000020000002L }); |
| public static final BitSet FOLLOW_29_in_ruleQualifiedNameWithBinding3619 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_ruleQualifiedNameWithBinding_in_ruleQualifiedNameWithBinding3640 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleTuple_in_entryRuleTuple3678 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTuple3688 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_15_in_ruleTuple3734 = new BitSet(new long[] { 0x7873000019018070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleTupleElement_in_ruleTuple3756 = new BitSet(new long[] { 0x0000000000030000L }); |
| public static final BitSet FOLLOW_17_in_ruleTuple3769 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleTupleElement_in_ruleTuple3790 = new BitSet(new long[] { 0x0000000000030000L }); |
| public static final BitSet FOLLOW_16_in_ruleTuple3806 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleTupleElement_in_entryRuleTupleElement3842 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTupleElement3852 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleExpression_in_ruleTupleElement3897 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleExpression_in_entryRuleExpression3932 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleExpression3942 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleConditionalTestExpression_in_ruleExpression3988 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleConditionalTestExpression_in_entryRuleConditionalTestExpression4022 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleConditionalTestExpression4032 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleConditionalOrExpression_in_ruleConditionalTestExpression4078 = new BitSet(new long[] { 0x0000000200000002L }); |
| public static final BitSet FOLLOW_33_in_ruleConditionalTestExpression4091 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleConditionalTestExpression_in_ruleConditionalTestExpression4112 = new BitSet(new long[] { 0x0000000000004000L }); |
| public static final BitSet FOLLOW_14_in_ruleConditionalTestExpression4124 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleConditionalTestExpression_in_ruleConditionalTestExpression4145 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleConditionalOrExpression_in_entryRuleConditionalOrExpression4183 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleConditionalOrExpression4193 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleConditionalAndExpression_in_ruleConditionalOrExpression4239 = new BitSet(new long[] { 0x0000000400000002L }); |
| public static final BitSet FOLLOW_34_in_ruleConditionalOrExpression4252 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleConditionalAndExpression_in_ruleConditionalOrExpression4273 = new BitSet(new long[] { 0x0000000400000002L }); |
| public static final BitSet FOLLOW_ruleConditionalAndExpression_in_entryRuleConditionalAndExpression4311 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleConditionalAndExpression4321 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleInclusiveOrExpression_in_ruleConditionalAndExpression4367 = new BitSet(new long[] { 0x0000000800000002L }); |
| public static final BitSet FOLLOW_35_in_ruleConditionalAndExpression4380 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleInclusiveOrExpression_in_ruleConditionalAndExpression4401 = new BitSet(new long[] { 0x0000000800000002L }); |
| public static final BitSet FOLLOW_ruleInclusiveOrExpression_in_entryRuleInclusiveOrExpression4439 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleInclusiveOrExpression4449 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleExclusiveOrExpression_in_ruleInclusiveOrExpression4495 = new BitSet(new long[] { 0x0000001000000002L }); |
| public static final BitSet FOLLOW_36_in_ruleInclusiveOrExpression4508 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleExclusiveOrExpression_in_ruleInclusiveOrExpression4529 = new BitSet(new long[] { 0x0000001000000002L }); |
| public static final BitSet FOLLOW_ruleExclusiveOrExpression_in_entryRuleExclusiveOrExpression4567 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleExclusiveOrExpression4577 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleAndExpression_in_ruleExclusiveOrExpression4623 = new BitSet(new long[] { 0x0000002000000002L }); |
| public static final BitSet FOLLOW_37_in_ruleExclusiveOrExpression4636 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleAndExpression_in_ruleExclusiveOrExpression4657 = new BitSet(new long[] { 0x0000002000000002L }); |
| public static final BitSet FOLLOW_ruleAndExpression_in_entryRuleAndExpression4695 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleAndExpression4705 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleEqualityExpression_in_ruleAndExpression4751 = new BitSet(new long[] { 0x0000004000000002L }); |
| public static final BitSet FOLLOW_38_in_ruleAndExpression4764 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleEqualityExpression_in_ruleAndExpression4785 = new BitSet(new long[] { 0x0000004000000002L }); |
| public static final BitSet FOLLOW_ruleEqualityExpression_in_entryRuleEqualityExpression4823 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleEqualityExpression4833 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleClassificationExpression_in_ruleEqualityExpression4879 = new BitSet(new long[] { 0x0000018000000002L }); |
| public static final BitSet FOLLOW_39_in_ruleEqualityExpression4900 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_40_in_ruleEqualityExpression4929 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleClassificationExpression_in_ruleEqualityExpression4966 = new BitSet(new long[] { 0x0000018000000002L }); |
| public static final BitSet FOLLOW_ruleClassificationExpression_in_entryRuleClassificationExpression5004 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleClassificationExpression5014 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleRelationalExpression_in_ruleClassificationExpression5060 = new BitSet(new long[] { 0x0000060000000002L }); |
| public static final BitSet FOLLOW_41_in_ruleClassificationExpression5081 = new BitSet(new long[] { 0x0000000018000010L }); |
| public static final BitSet FOLLOW_42_in_ruleClassificationExpression5110 = new BitSet(new long[] { 0x0000000018000010L }); |
| public static final BitSet FOLLOW_ruleNameExpression_in_ruleClassificationExpression5147 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleRelationalExpression_in_entryRuleRelationalExpression5185 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleRelationalExpression5195 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleShiftExpression_in_ruleRelationalExpression5241 = new BitSet(new long[] { 0x00001800C0000002L }); |
| public static final BitSet FOLLOW_30_in_ruleRelationalExpression5262 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_31_in_ruleRelationalExpression5291 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_43_in_ruleRelationalExpression5320 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_44_in_ruleRelationalExpression5349 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleShiftExpression_in_ruleRelationalExpression5386 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleShiftExpression_in_entryRuleShiftExpression5424 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleShiftExpression5434 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleAdditiveExpression_in_ruleShiftExpression5480 = new BitSet(new long[] { 0x0000E00000000002L }); |
| public static final BitSet FOLLOW_45_in_ruleShiftExpression5501 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_46_in_ruleShiftExpression5530 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_47_in_ruleShiftExpression5559 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleAdditiveExpression_in_ruleShiftExpression5596 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleAdditiveExpression_in_entryRuleAdditiveExpression5634 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleAdditiveExpression5644 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleMultiplicativeExpression_in_ruleAdditiveExpression5690 = new BitSet(new long[] { 0x0003000000000002L }); |
| public static final BitSet FOLLOW_48_in_ruleAdditiveExpression5711 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_49_in_ruleAdditiveExpression5740 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleMultiplicativeExpression_in_ruleAdditiveExpression5777 = new BitSet(new long[] { 0x0003000000000002L }); |
| public static final BitSet FOLLOW_ruleMultiplicativeExpression_in_entryRuleMultiplicativeExpression5815 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicativeExpression5825 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleUnaryExpression_in_ruleMultiplicativeExpression5871 = new BitSet(new long[] { 0x000C000001000002L }); |
| public static final BitSet FOLLOW_24_in_ruleMultiplicativeExpression5892 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_50_in_ruleMultiplicativeExpression5921 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_51_in_ruleMultiplicativeExpression5950 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleUnaryExpression_in_ruleMultiplicativeExpression5987 = new BitSet(new long[] { 0x000C000001000002L }); |
| public static final BitSet FOLLOW_ruleUnaryExpression_in_entryRuleUnaryExpression6025 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleUnaryExpression6035 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_52_in_ruleUnaryExpression6080 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_49_in_ruleUnaryExpression6109 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_48_in_ruleUnaryExpression6138 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_53_in_ruleUnaryExpression6167 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_54_in_ruleUnaryExpression6196 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_rulePrimaryExpression_in_ruleUnaryExpression6234 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_rulePrimaryExpression_in_entryRulePrimaryExpression6270 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRulePrimaryExpression6280 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleValueSpecification_in_rulePrimaryExpression6325 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSuffixExpression_in_entryRuleSuffixExpression6360 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleSuffixExpression6370 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleOperationCallExpression_in_ruleSuffixExpression6417 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_rulePropertyCallExpression_in_ruleSuffixExpression6444 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleLinkOperationExpression_in_ruleSuffixExpression6471 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSequenceOperationExpression_in_ruleSuffixExpression6498 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSequenceReductionExpression_in_ruleSuffixExpression6525 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSequenceExpansionExpression_in_ruleSuffixExpression6552 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleClassExtentExpression_in_ruleSuffixExpression6579 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleOperationCallExpression_in_entryRuleOperationCallExpression6614 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleOperationCallExpression6624 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_55_in_ruleOperationCallExpression6661 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleOperationCallExpression6678 = new BitSet(new long[] { 0x0000000000008000L }); |
| public static final BitSet FOLLOW_ruleTuple_in_ruleOperationCallExpression6704 = new BitSet(new long[] { 0x0180000000000002L }); |
| public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleOperationCallExpression6725 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleOperationCallExpressionWithoutDot_in_entryRuleOperationCallExpressionWithoutDot6762 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleOperationCallExpressionWithoutDot6772 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleOperationCallExpressionWithoutDot6814 = new BitSet(new long[] { 0x0000000000008000L }); |
| public static final BitSet FOLLOW_ruleTuple_in_ruleOperationCallExpressionWithoutDot6840 = new BitSet(new long[] { 0x0180000000000002L }); |
| public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleOperationCallExpressionWithoutDot6861 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_rulePropertyCallExpression_in_entryRulePropertyCallExpression6898 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRulePropertyCallExpression6908 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_55_in_rulePropertyCallExpression6945 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_RULE_ID_in_rulePropertyCallExpression6962 = new BitSet(new long[] { 0x0180000000040002L }); |
| public static final BitSet FOLLOW_18_in_rulePropertyCallExpression6980 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleExpression_in_rulePropertyCallExpression7001 = new BitSet(new long[] { 0x0000000000080000L }); |
| public static final BitSet FOLLOW_19_in_rulePropertyCallExpression7013 = new BitSet(new long[] { 0x0180000000000002L }); |
| public static final BitSet FOLLOW_ruleSuffixExpression_in_rulePropertyCallExpression7036 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleLinkOperationExpression_in_entryRuleLinkOperationExpression7073 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleLinkOperationExpression7083 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_55_in_ruleLinkOperationExpression7120 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000380000000L }); |
| public static final BitSet FOLLOW_ruleLinkOperationKind_in_ruleLinkOperationExpression7141 = new BitSet(new long[] { 0x0000000000008000L }); |
| public static final BitSet FOLLOW_ruleLinkOperationTuple_in_ruleLinkOperationExpression7162 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleLinkOperationTuple_in_entryRuleLinkOperationTuple7198 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleLinkOperationTuple7208 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_15_in_ruleLinkOperationTuple7245 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_ruleLinkOperationTupleElement_in_ruleLinkOperationTuple7266 = new BitSet(new long[] { 0x0000000000030000L }); |
| public static final BitSet FOLLOW_17_in_ruleLinkOperationTuple7279 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_ruleLinkOperationTupleElement_in_ruleLinkOperationTuple7300 = new BitSet(new long[] { 0x0000000000030000L }); |
| public static final BitSet FOLLOW_16_in_ruleLinkOperationTuple7314 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleLinkOperationTupleElement_in_entryRuleLinkOperationTupleElement7350 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleLinkOperationTupleElement7360 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleLinkOperationTupleElement7402 = new BitSet(new long[] { 0x0000000100040002L }); |
| public static final BitSet FOLLOW_18_in_ruleLinkOperationTupleElement7421 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleExpression_in_ruleLinkOperationTupleElement7442 = new BitSet(new long[] { 0x0000000000080000L }); |
| public static final BitSet FOLLOW_19_in_ruleLinkOperationTupleElement7454 = new BitSet(new long[] { 0x0000000100000000L }); |
| public static final BitSet FOLLOW_32_in_ruleLinkOperationTupleElement7468 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleLinkOperationTupleElement7485 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSequenceOperationExpression_in_entryRuleSequenceOperationExpression7528 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleSequenceOperationExpression7538 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_56_in_ruleSequenceOperationExpression7575 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleSequenceOperationExpression7592 = new BitSet(new long[] { 0x0000000000008000L }); |
| public static final BitSet FOLLOW_ruleTuple_in_ruleSequenceOperationExpression7618 = new BitSet(new long[] { 0x0180000000000002L }); |
| public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleSequenceOperationExpression7639 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSequenceReductionExpression_in_entryRuleSequenceReductionExpression7676 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleSequenceReductionExpression7686 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_56_in_ruleSequenceReductionExpression7723 = new BitSet(new long[] { 0x0200000000000000L }); |
| public static final BitSet FOLLOW_57_in_ruleSequenceReductionExpression7735 = new BitSet(new long[] { 0x0000000000100010L }); |
| public static final BitSet FOLLOW_20_in_ruleSequenceReductionExpression7753 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_ruleQualifiedNameWithBinding_in_ruleSequenceReductionExpression7788 = new BitSet(new long[] { 0x0180000000000002L }); |
| public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleSequenceReductionExpression7809 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSequenceExpansionExpression_in_entryRuleSequenceExpansionExpression7846 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleSequenceExpansionExpression7856 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSelectOrRejectOperation_in_ruleSequenceExpansionExpression7903 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleCollectOrIterateOperation_in_ruleSequenceExpansionExpression7930 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleForAllOrExistsOrOneOperation_in_ruleSequenceExpansionExpression7957 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleIsUniqueOperation_in_ruleSequenceExpansionExpression7984 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSelectOrRejectOperation_in_entryRuleSelectOrRejectOperation8019 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleSelectOrRejectOperation8029 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_56_in_ruleSelectOrRejectOperation8066 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000C00000000L }); |
| public static final BitSet FOLLOW_ruleSelectOrRejectOperator_in_ruleSelectOrRejectOperation8087 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleSelectOrRejectOperation8104 = new BitSet(new long[] { 0x0000000000008000L }); |
| public static final BitSet FOLLOW_15_in_ruleSelectOrRejectOperation8121 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleExpression_in_ruleSelectOrRejectOperation8142 = new BitSet(new long[] { 0x0000000000010000L }); |
| public static final BitSet FOLLOW_16_in_ruleSelectOrRejectOperation8154 = new BitSet(new long[] { 0x0180000000000002L }); |
| public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleSelectOrRejectOperation8175 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleCollectOrIterateOperation_in_entryRuleCollectOrIterateOperation8212 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleCollectOrIterateOperation8222 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_56_in_ruleCollectOrIterateOperation8259 = new BitSet(new long[] { 0x0000000000000000L, 0x0000003000000000L }); |
| public static final BitSet FOLLOW_ruleCollectOrIterateOperator_in_ruleCollectOrIterateOperation8280 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleCollectOrIterateOperation8297 = new BitSet(new long[] { 0x0000000000008000L }); |
| public static final BitSet FOLLOW_15_in_ruleCollectOrIterateOperation8314 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleExpression_in_ruleCollectOrIterateOperation8335 = new BitSet(new long[] { 0x0000000000010000L }); |
| public static final BitSet FOLLOW_16_in_ruleCollectOrIterateOperation8347 = new BitSet(new long[] { 0x0180000000000002L }); |
| public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleCollectOrIterateOperation8368 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleForAllOrExistsOrOneOperation_in_entryRuleForAllOrExistsOrOneOperation8405 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleForAllOrExistsOrOneOperation8415 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_56_in_ruleForAllOrExistsOrOneOperation8452 = new BitSet(new long[] { 0x0000000000000000L, 0x000001C000000000L }); |
| public static final BitSet FOLLOW_ruleForAllOrExistsOrOneOperator_in_ruleForAllOrExistsOrOneOperation8473 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleForAllOrExistsOrOneOperation8490 = new BitSet(new long[] { 0x0000000000008000L }); |
| public static final BitSet FOLLOW_15_in_ruleForAllOrExistsOrOneOperation8507 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleExpression_in_ruleForAllOrExistsOrOneOperation8528 = new BitSet(new long[] { 0x0000000000010000L }); |
| public static final BitSet FOLLOW_16_in_ruleForAllOrExistsOrOneOperation8540 = new BitSet(new long[] { 0x0180000000000002L }); |
| public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleForAllOrExistsOrOneOperation8561 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleIsUniqueOperation_in_entryRuleIsUniqueOperation8598 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleIsUniqueOperation8608 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_56_in_ruleIsUniqueOperation8645 = new BitSet(new long[] { 0x0400000000000000L }); |
| public static final BitSet FOLLOW_58_in_ruleIsUniqueOperation8657 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleIsUniqueOperation8674 = new BitSet(new long[] { 0x0000000000008000L }); |
| public static final BitSet FOLLOW_15_in_ruleIsUniqueOperation8691 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleExpression_in_ruleIsUniqueOperation8712 = new BitSet(new long[] { 0x0000000000010000L }); |
| public static final BitSet FOLLOW_16_in_ruleIsUniqueOperation8724 = new BitSet(new long[] { 0x0180000000000002L }); |
| public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleIsUniqueOperation8745 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleValueSpecification_in_entryRuleValueSpecification8782 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleValueSpecification8792 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleNameExpression_in_ruleValueSpecification8839 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleLITERAL_in_ruleValueSpecification8866 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleThisExpression_in_ruleValueSpecification8893 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSuperInvocationExpression_in_ruleValueSpecification8920 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleInstanceCreationExpression_in_ruleValueSpecification8947 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleParenthesizedExpression_in_ruleValueSpecification8974 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleNullExpression_in_ruleValueSpecification9001 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleNonLiteralValueSpecification_in_entryRuleNonLiteralValueSpecification9036 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNonLiteralValueSpecification9046 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleNameExpression_in_ruleNonLiteralValueSpecification9093 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleParenthesizedExpression_in_ruleNonLiteralValueSpecification9120 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleInstanceCreationExpression_in_ruleNonLiteralValueSpecification9147 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleThisExpression_in_ruleNonLiteralValueSpecification9174 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSuperInvocationExpression_in_ruleNonLiteralValueSpecification9201 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleParenthesizedExpression_in_entryRuleParenthesizedExpression9236 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleParenthesizedExpression9246 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_15_in_ruleParenthesizedExpression9283 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleExpression_in_ruleParenthesizedExpression9304 = new BitSet(new long[] { 0x0000000000010000L }); |
| public static final BitSet FOLLOW_16_in_ruleParenthesizedExpression9316 = new BitSet(new long[] { 0x7180000018008012L }); |
| public static final BitSet FOLLOW_ruleNonLiteralValueSpecification_in_ruleParenthesizedExpression9338 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleParenthesizedExpression9365 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleNullExpression_in_entryRuleNullExpression9403 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNullExpression9413 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_59_in_ruleNullExpression9459 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleThisExpression_in_entryRuleThisExpression9495 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleThisExpression9505 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_60_in_ruleThisExpression9551 = new BitSet(new long[] { 0x0180000000000002L }); |
| public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleThisExpression9572 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSuperInvocationExpression_in_entryRuleSuperInvocationExpression9609 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleSuperInvocationExpression9619 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_61_in_ruleSuperInvocationExpression9656 = new BitSet(new long[] { 0x0080000000000000L }); |
| public static final BitSet FOLLOW_55_in_ruleSuperInvocationExpression9670 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleSuperInvocationExpression9687 = new BitSet(new long[] { 0x0000000020000000L }); |
| public static final BitSet FOLLOW_29_in_ruleSuperInvocationExpression9704 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_ruleOperationCallExpressionWithoutDot_in_ruleSuperInvocationExpression9725 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleOperationCallExpression_in_ruleSuperInvocationExpression9753 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleInstanceCreationExpression_in_entryRuleInstanceCreationExpression9790 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleInstanceCreationExpression9800 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_62_in_ruleInstanceCreationExpression9837 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_ruleQualifiedNameWithBinding_in_ruleInstanceCreationExpression9858 = new BitSet(new long[] { 0x8000000000048000L }); |
| public static final BitSet FOLLOW_ruleTuple_in_ruleInstanceCreationExpression9880 = new BitSet(new long[] { 0x0180000000000002L }); |
| public static final BitSet FOLLOW_ruleSequenceConstructionCompletion_in_ruleInstanceCreationExpression9907 = new BitSet(new long[] { 0x0180000000000002L }); |
| public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleInstanceCreationExpression9929 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSequenceConstructionOrAccessCompletion_in_entryRuleSequenceConstructionOrAccessCompletion9966 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleSequenceConstructionOrAccessCompletion9976 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_18_in_ruleSequenceConstructionOrAccessCompletion10020 = new BitSet(new long[] { 0x7873000019088070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleAccessCompletion_in_ruleSequenceConstructionOrAccessCompletion10055 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_rulePartialSequenceConstructionCompletion_in_ruleSequenceConstructionOrAccessCompletion10082 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSequenceConstructionExpression_in_ruleSequenceConstructionOrAccessCompletion10111 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleAccessCompletion_in_entryRuleAccessCompletion10147 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleAccessCompletion10157 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleExpression_in_ruleAccessCompletion10203 = new BitSet(new long[] { 0x0000000000080000L }); |
| public static final BitSet FOLLOW_19_in_ruleAccessCompletion10215 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_rulePartialSequenceConstructionCompletion_in_entryRulePartialSequenceConstructionCompletion10251 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRulePartialSequenceConstructionCompletion10261 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_19_in_rulePartialSequenceConstructionCompletion10298 = new BitSet(new long[] { 0x8000000000040000L }); |
| public static final BitSet FOLLOW_ruleSequenceConstructionExpression_in_rulePartialSequenceConstructionCompletion10319 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSequenceConstructionCompletion_in_entryRuleSequenceConstructionCompletion10355 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleSequenceConstructionCompletion10365 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_18_in_ruleSequenceConstructionCompletion10409 = new BitSet(new long[] { 0x0000000000080000L }); |
| public static final BitSet FOLLOW_19_in_ruleSequenceConstructionCompletion10434 = new BitSet(new long[] { 0x8000000000040000L }); |
| public static final BitSet FOLLOW_ruleSequenceConstructionExpression_in_ruleSequenceConstructionCompletion10457 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSequenceConstructionExpression_in_entryRuleSequenceConstructionExpression10493 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleSequenceConstructionExpression10503 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_63_in_ruleSequenceConstructionExpression10540 = new BitSet(new long[] { 0xF873000019048070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleSequenceElement_in_ruleSequenceConstructionExpression10561 = new BitSet(new long[] { 0x0000000000820000L, 0x0000000000000001L }); |
| public static final BitSet FOLLOW_17_in_ruleSequenceConstructionExpression10575 = new BitSet(new long[] { 0xF873000019048070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleSequenceElement_in_ruleSequenceConstructionExpression10596 = new BitSet(new long[] { 0x0000000000020000L, 0x0000000000000001L }); |
| public static final BitSet FOLLOW_23_in_ruleSequenceConstructionExpression10617 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleExpression_in_ruleSequenceConstructionExpression10638 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000000001L }); |
| public static final BitSet FOLLOW_64_in_ruleSequenceConstructionExpression10652 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSequenceElement_in_entryRuleSequenceElement10688 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleSequenceElement10698 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleExpression_in_ruleSequenceElement10745 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSequenceConstructionExpression_in_ruleSequenceElement10772 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleClassExtentExpression_in_entryRuleClassExtentExpression10807 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleClassExtentExpression10817 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_55_in_ruleClassExtentExpression10863 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000000002L }); |
| public static final BitSet FOLLOW_65_in_ruleClassExtentExpression10875 = new BitSet(new long[] { 0x0000000000008000L }); |
| public static final BitSet FOLLOW_15_in_ruleClassExtentExpression10887 = new BitSet(new long[] { 0x0000000000010000L }); |
| public static final BitSet FOLLOW_16_in_ruleClassExtentExpression10899 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleBlock_in_entryRuleBlock10935 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleBlock10945 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_63_in_ruleBlock10982 = new BitSet(new long[] { 0xF000000018001190L, 0x00000000003DC965L }); |
| public static final BitSet FOLLOW_ruleStatementSequence_in_ruleBlock11012 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000000001L }); |
| public static final BitSet FOLLOW_64_in_ruleBlock11025 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleStatementSequence_in_entryRuleStatementSequence11061 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleStatementSequence11071 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleDocumentedStatement_in_ruleStatementSequence11116 = new BitSet(new long[] { 0xF000000018001192L, 0x00000000003DC964L }); |
| public static final BitSet FOLLOW_ruleDocumentedStatement_in_entryRuleDocumentedStatement11152 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleDocumentedStatement11162 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_RULE_ML_COMMENT_in_ruleDocumentedStatement11206 = new BitSet(new long[] { 0xF000000018001190L, 0x00000000003DC964L }); |
| public static final BitSet FOLLOW_RULE_SL_COMMENT_in_ruleDocumentedStatement11226 = new BitSet(new long[] { 0xF000000018001190L, 0x00000000003DC964L }); |
| public static final BitSet FOLLOW_ruleStatement_in_ruleDocumentedStatement11256 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleInlineStatement_in_entryRuleInlineStatement11292 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleInlineStatement11302 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_66_in_ruleInlineStatement11339 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000000008L }); |
| public static final BitSet FOLLOW_67_in_ruleInlineStatement11351 = new BitSet(new long[] { 0x0000000000008000L }); |
| public static final BitSet FOLLOW_15_in_ruleInlineStatement11363 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleInlineStatement11380 = new BitSet(new long[] { 0x0000000000010000L }); |
| public static final BitSet FOLLOW_16_in_ruleInlineStatement11397 = new BitSet(new long[] { 0x0000000000000040L }); |
| public static final BitSet FOLLOW_RULE_STRING_in_ruleInlineStatement11414 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000000010L }); |
| public static final BitSet FOLLOW_68_in_ruleInlineStatement11431 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleAnnotatedStatement_in_entryRuleAnnotatedStatement11467 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleAnnotatedStatement11477 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_69_in_ruleAnnotatedStatement11514 = new BitSet(new long[] { 0x0000000000000000L, 0x00001E0000000000L }); |
| public static final BitSet FOLLOW_ruleAnnotation_in_ruleAnnotatedStatement11535 = new BitSet(new long[] { 0xF000000018001190L, 0x00000000003DC964L }); |
| public static final BitSet FOLLOW_ruleStatement_in_ruleAnnotatedStatement11556 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleStatement_in_entryRuleStatement11592 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleStatement11602 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleAnnotatedStatement_in_ruleStatement11649 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleInlineStatement_in_ruleStatement11676 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleBlockStatement_in_ruleStatement11703 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleEmptyStatement_in_ruleStatement11730 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleLocalNameDeclarationStatement_in_ruleStatement11757 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleIfStatement_in_ruleStatement11784 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSwitchStatement_in_ruleStatement11811 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleWhileStatement_in_ruleStatement11838 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleDoStatement_in_ruleStatement11865 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleForStatement_in_ruleStatement11892 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleBreakStatement_in_ruleStatement11919 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleReturnStatement_in_ruleStatement11946 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleAcceptStatement_in_ruleStatement11973 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleClassifyStatement_in_ruleStatement12000 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleInvocationOrAssignementOrDeclarationStatement_in_ruleStatement12027 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSuperInvocationStatement_in_ruleStatement12054 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleThisInvocationStatement_in_ruleStatement12081 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleInstanceCreationInvocationStatement_in_ruleStatement12108 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleAnnotation_in_entryRuleAnnotation12143 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleAnnotation12153 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleAnnotationKind_in_ruleAnnotation12199 = new BitSet(new long[] { 0x0000000000008002L }); |
| public static final BitSet FOLLOW_15_in_ruleAnnotation12212 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleAnnotation12229 = new BitSet(new long[] { 0x0000000000030000L }); |
| public static final BitSet FOLLOW_17_in_ruleAnnotation12247 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleAnnotation12264 = new BitSet(new long[] { 0x0000000000030000L }); |
| public static final BitSet FOLLOW_16_in_ruleAnnotation12283 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleBlockStatement_in_entryRuleBlockStatement12321 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleBlockStatement12331 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleBlock_in_ruleBlockStatement12376 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleEmptyStatement_in_entryRuleEmptyStatement12411 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleEmptyStatement12421 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_12_in_ruleEmptyStatement12467 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleLocalNameDeclarationStatement_in_entryRuleLocalNameDeclarationStatement12503 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleLocalNameDeclarationStatement12513 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_70_in_ruleLocalNameDeclarationStatement12550 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleLocalNameDeclarationStatement12567 = new BitSet(new long[] { 0x0000000000004000L }); |
| public static final BitSet FOLLOW_14_in_ruleLocalNameDeclarationStatement12584 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_ruleQualifiedNameWithBinding_in_ruleLocalNameDeclarationStatement12605 = new BitSet(new long[] { 0x0000000000040000L, 0x0000000000000080L }); |
| public static final BitSet FOLLOW_18_in_ruleLocalNameDeclarationStatement12624 = new BitSet(new long[] { 0x0000000000080000L }); |
| public static final BitSet FOLLOW_19_in_ruleLocalNameDeclarationStatement12649 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000000080L }); |
| public static final BitSet FOLLOW_71_in_ruleLocalNameDeclarationStatement12663 = new BitSet(new long[] { 0xF873000019048070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleSequenceElement_in_ruleLocalNameDeclarationStatement12684 = new BitSet(new long[] { 0x0000000000001000L }); |
| public static final BitSet FOLLOW_12_in_ruleLocalNameDeclarationStatement12696 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleIfStatement_in_entryRuleIfStatement12732 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleIfStatement12742 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_72_in_ruleIfStatement12779 = new BitSet(new long[] { 0x0000000000008000L }); |
| public static final BitSet FOLLOW_ruleSequentialClauses_in_ruleIfStatement12800 = new BitSet(new long[] { 0x0000000000000002L, 0x0000000000000200L }); |
| public static final BitSet FOLLOW_ruleFinalClause_in_ruleIfStatement12821 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSequentialClauses_in_entryRuleSequentialClauses12858 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleSequentialClauses12868 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleConcurrentClauses_in_ruleSequentialClauses12914 = new BitSet(new long[] { 0x0000000000000002L, 0x0000000000000200L }); |
| public static final BitSet FOLLOW_73_in_ruleSequentialClauses12927 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000000100L }); |
| public static final BitSet FOLLOW_72_in_ruleSequentialClauses12939 = new BitSet(new long[] { 0x0000000000008000L }); |
| public static final BitSet FOLLOW_ruleConcurrentClauses_in_ruleSequentialClauses12960 = new BitSet(new long[] { 0x0000000000000002L, 0x0000000000000200L }); |
| public static final BitSet FOLLOW_ruleConcurrentClauses_in_entryRuleConcurrentClauses12998 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleConcurrentClauses13008 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleNonFinalClause_in_ruleConcurrentClauses13054 = new BitSet(new long[] { 0x0000000000000002L, 0x0000000000000400L }); |
| public static final BitSet FOLLOW_74_in_ruleConcurrentClauses13067 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000000100L }); |
| public static final BitSet FOLLOW_72_in_ruleConcurrentClauses13079 = new BitSet(new long[] { 0x0000000000008000L }); |
| public static final BitSet FOLLOW_ruleNonFinalClause_in_ruleConcurrentClauses13100 = new BitSet(new long[] { 0x0000000000000002L, 0x0000000000000400L }); |
| public static final BitSet FOLLOW_ruleNonFinalClause_in_entryRuleNonFinalClause13138 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNonFinalClause13148 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_15_in_ruleNonFinalClause13185 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleExpression_in_ruleNonFinalClause13206 = new BitSet(new long[] { 0x0000000000010000L }); |
| public static final BitSet FOLLOW_16_in_ruleNonFinalClause13218 = new BitSet(new long[] { 0x8000000000001000L }); |
| public static final BitSet FOLLOW_ruleBlock_in_ruleNonFinalClause13239 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleFinalClause_in_entryRuleFinalClause13275 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleFinalClause13285 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_73_in_ruleFinalClause13322 = new BitSet(new long[] { 0x8000000000001000L }); |
| public static final BitSet FOLLOW_ruleBlock_in_ruleFinalClause13343 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSwitchStatement_in_entryRuleSwitchStatement13379 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleSwitchStatement13389 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_75_in_ruleSwitchStatement13426 = new BitSet(new long[] { 0x0000000000008000L }); |
| public static final BitSet FOLLOW_15_in_ruleSwitchStatement13438 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleExpression_in_ruleSwitchStatement13459 = new BitSet(new long[] { 0x0000000000010000L }); |
| public static final BitSet FOLLOW_16_in_ruleSwitchStatement13471 = new BitSet(new long[] { 0x8000000000000000L }); |
| public static final BitSet FOLLOW_63_in_ruleSwitchStatement13483 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000003001L }); |
| public static final BitSet FOLLOW_ruleSwitchClause_in_ruleSwitchStatement13504 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000003001L }); |
| public static final BitSet FOLLOW_ruleSwitchDefaultClause_in_ruleSwitchStatement13526 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000000001L }); |
| public static final BitSet FOLLOW_64_in_ruleSwitchStatement13539 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSwitchClause_in_entryRuleSwitchClause13575 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleSwitchClause13585 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSwitchCase_in_ruleSwitchClause13631 = new BitSet(new long[] { 0xF000000018001190L, 0x00000000003DD964L }); |
| public static final BitSet FOLLOW_ruleSwitchCase_in_ruleSwitchClause13652 = new BitSet(new long[] { 0xF000000018001190L, 0x00000000003DD964L }); |
| public static final BitSet FOLLOW_ruleNonEmptyStatementSequence_in_ruleSwitchClause13674 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSwitchCase_in_entryRuleSwitchCase13710 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleSwitchCase13720 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_76_in_ruleSwitchCase13757 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleExpression_in_ruleSwitchCase13778 = new BitSet(new long[] { 0x0000000000004000L }); |
| public static final BitSet FOLLOW_14_in_ruleSwitchCase13790 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSwitchDefaultClause_in_entryRuleSwitchDefaultClause13826 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleSwitchDefaultClause13836 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_77_in_ruleSwitchDefaultClause13873 = new BitSet(new long[] { 0x0000000000004000L }); |
| public static final BitSet FOLLOW_14_in_ruleSwitchDefaultClause13885 = new BitSet(new long[] { 0xF000000018001190L, 0x00000000003DD964L }); |
| public static final BitSet FOLLOW_ruleNonEmptyStatementSequence_in_ruleSwitchDefaultClause13906 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleNonEmptyStatementSequence_in_entryRuleNonEmptyStatementSequence13942 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNonEmptyStatementSequence13952 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleDocumentedStatement_in_ruleNonEmptyStatementSequence13997 = new BitSet(new long[] { 0xF000000018001192L, 0x00000000003DC964L }); |
| public static final BitSet FOLLOW_ruleWhileStatement_in_entryRuleWhileStatement14033 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleWhileStatement14043 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_78_in_ruleWhileStatement14080 = new BitSet(new long[] { 0x0000000000008000L }); |
| public static final BitSet FOLLOW_15_in_ruleWhileStatement14092 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleExpression_in_ruleWhileStatement14113 = new BitSet(new long[] { 0x0000000000010000L }); |
| public static final BitSet FOLLOW_16_in_ruleWhileStatement14125 = new BitSet(new long[] { 0x8000000000001000L }); |
| public static final BitSet FOLLOW_ruleBlock_in_ruleWhileStatement14146 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleDoStatement_in_entryRuleDoStatement14182 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleDoStatement14192 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_79_in_ruleDoStatement14229 = new BitSet(new long[] { 0x8000000000001000L }); |
| public static final BitSet FOLLOW_ruleBlock_in_ruleDoStatement14250 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000004000L }); |
| public static final BitSet FOLLOW_78_in_ruleDoStatement14262 = new BitSet(new long[] { 0x0000000000008000L }); |
| public static final BitSet FOLLOW_15_in_ruleDoStatement14274 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleExpression_in_ruleDoStatement14295 = new BitSet(new long[] { 0x0000000000010000L }); |
| public static final BitSet FOLLOW_16_in_ruleDoStatement14307 = new BitSet(new long[] { 0x0000000000001000L }); |
| public static final BitSet FOLLOW_12_in_ruleDoStatement14319 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleForStatement_in_entryRuleForStatement14355 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleForStatement14365 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_80_in_ruleForStatement14402 = new BitSet(new long[] { 0x0000000000008000L }); |
| public static final BitSet FOLLOW_15_in_ruleForStatement14414 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_ruleForControl_in_ruleForStatement14435 = new BitSet(new long[] { 0x0000000000010000L }); |
| public static final BitSet FOLLOW_16_in_ruleForStatement14447 = new BitSet(new long[] { 0x8000000000001000L }); |
| public static final BitSet FOLLOW_ruleBlock_in_ruleForStatement14468 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleForControl_in_entryRuleForControl14504 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleForControl14514 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleLoopVariableDefinition_in_ruleForControl14560 = new BitSet(new long[] { 0x0000000000020002L }); |
| public static final BitSet FOLLOW_17_in_ruleForControl14573 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_ruleLoopVariableDefinition_in_ruleForControl14594 = new BitSet(new long[] { 0x0000000000020002L }); |
| public static final BitSet FOLLOW_ruleLoopVariableDefinition_in_entryRuleLoopVariableDefinition14632 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleLoopVariableDefinition14642 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleLoopVariableDefinition14685 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000020000L }); |
| public static final BitSet FOLLOW_81_in_ruleLoopVariableDefinition14702 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleExpression_in_ruleLoopVariableDefinition14723 = new BitSet(new long[] { 0x0000000000800002L }); |
| public static final BitSet FOLLOW_23_in_ruleLoopVariableDefinition14736 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleExpression_in_ruleLoopVariableDefinition14757 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleQualifiedNameWithBinding_in_ruleLoopVariableDefinition14788 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleLoopVariableDefinition14805 = new BitSet(new long[] { 0x0000000000004000L }); |
| public static final BitSet FOLLOW_14_in_ruleLoopVariableDefinition14822 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleExpression_in_ruleLoopVariableDefinition14843 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleBreakStatement_in_entryRuleBreakStatement14880 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleBreakStatement14890 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_82_in_ruleBreakStatement14936 = new BitSet(new long[] { 0x0000000000001000L }); |
| public static final BitSet FOLLOW_12_in_ruleBreakStatement14948 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleReturnStatement_in_entryRuleReturnStatement14984 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleReturnStatement14994 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_83_in_ruleReturnStatement15031 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleExpression_in_ruleReturnStatement15052 = new BitSet(new long[] { 0x0000000000001000L }); |
| public static final BitSet FOLLOW_12_in_ruleReturnStatement15064 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleAcceptStatement_in_entryRuleAcceptStatement15100 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleAcceptStatement15110 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleAcceptClause_in_ruleAcceptStatement15156 = new BitSet(new long[] { 0x8000000000001000L }); |
| public static final BitSet FOLLOW_ruleSimpleAcceptStatementCompletion_in_ruleAcceptStatement15178 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleCompoundAcceptStatementCompletion_in_ruleAcceptStatement15205 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSimpleAcceptStatementCompletion_in_entryRuleSimpleAcceptStatementCompletion15242 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleSimpleAcceptStatementCompletion15252 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_12_in_ruleSimpleAcceptStatementCompletion15298 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleCompoundAcceptStatementCompletion_in_entryRuleCompoundAcceptStatementCompletion15334 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleCompoundAcceptStatementCompletion15344 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleBlock_in_ruleCompoundAcceptStatementCompletion15390 = new BitSet(new long[] { 0x0000000000000002L, 0x0000000000000400L }); |
| public static final BitSet FOLLOW_74_in_ruleCompoundAcceptStatementCompletion15403 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000100000L }); |
| public static final BitSet FOLLOW_ruleAcceptBlock_in_ruleCompoundAcceptStatementCompletion15424 = new BitSet(new long[] { 0x0000000000000002L, 0x0000000000000400L }); |
| public static final BitSet FOLLOW_ruleAcceptBlock_in_entryRuleAcceptBlock15462 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleAcceptBlock15472 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleAcceptClause_in_ruleAcceptBlock15518 = new BitSet(new long[] { 0x8000000000001000L }); |
| public static final BitSet FOLLOW_ruleBlock_in_ruleAcceptBlock15539 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleAcceptClause_in_entryRuleAcceptClause15575 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleAcceptClause15585 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_84_in_ruleAcceptClause15622 = new BitSet(new long[] { 0x0000000000008000L }); |
| public static final BitSet FOLLOW_15_in_ruleAcceptClause15634 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleAcceptClause15652 = new BitSet(new long[] { 0x0000000000004000L }); |
| public static final BitSet FOLLOW_14_in_ruleAcceptClause15669 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_ruleQualifiedNameList_in_ruleAcceptClause15692 = new BitSet(new long[] { 0x0000000000010000L }); |
| public static final BitSet FOLLOW_16_in_ruleAcceptClause15704 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleClassifyStatement_in_entryRuleClassifyStatement15740 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleClassifyStatement15750 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_85_in_ruleClassifyStatement15787 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleExpression_in_ruleClassifyStatement15808 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000C00000L }); |
| public static final BitSet FOLLOW_ruleClassificationClause_in_ruleClassifyStatement15829 = new BitSet(new long[] { 0x0000000000001000L }); |
| public static final BitSet FOLLOW_12_in_ruleClassifyStatement15841 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleClassificationClause_in_entryRuleClassificationClause15877 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleClassificationClause15887 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleClassificationFromClause_in_ruleClassificationClause15934 = new BitSet(new long[] { 0x0000000000000002L, 0x0000000000C00000L }); |
| public static final BitSet FOLLOW_ruleClassificationToClause_in_ruleClassificationClause15955 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleReclassifyAllClause_in_ruleClassificationClause15985 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000C00000L }); |
| public static final BitSet FOLLOW_ruleClassificationToClause_in_ruleClassificationClause16007 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleClassificationFromClause_in_entryRuleClassificationFromClause16044 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleClassificationFromClause16054 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_86_in_ruleClassificationFromClause16091 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_ruleQualifiedNameList_in_ruleClassificationFromClause16112 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleClassificationToClause_in_entryRuleClassificationToClause16148 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleClassificationToClause16158 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_87_in_ruleClassificationToClause16195 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_ruleQualifiedNameList_in_ruleClassificationToClause16216 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleReclassifyAllClause_in_entryRuleReclassifyAllClause16252 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleReclassifyAllClause16262 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_86_in_ruleReclassifyAllClause16308 = new BitSet(new long[] { 0x0000000001000000L }); |
| public static final BitSet FOLLOW_24_in_ruleReclassifyAllClause16320 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleQualifiedNameList_in_entryRuleQualifiedNameList16356 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedNameList16366 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleQualifiedNameWithBinding_in_ruleQualifiedNameList16412 = new BitSet(new long[] { 0x0000000000020002L }); |
| public static final BitSet FOLLOW_17_in_ruleQualifiedNameList16425 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_ruleQualifiedNameWithBinding_in_ruleQualifiedNameList16446 = new BitSet(new long[] { 0x0000000000020002L }); |
| public static final BitSet FOLLOW_ruleInvocationOrAssignementOrDeclarationStatement_in_entryRuleInvocationOrAssignementOrDeclarationStatement16484 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleInvocationOrAssignementOrDeclarationStatement16494 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleNameExpression_in_ruleInvocationOrAssignementOrDeclarationStatement16540 = new BitSet(new long[] { 0x0000000000041010L, 0x00FFE00000000080L }); |
| public static final BitSet FOLLOW_ruleVariableDeclarationCompletion_in_ruleInvocationOrAssignementOrDeclarationStatement16562 = new BitSet(new long[] { 0x0000000000001000L }); |
| public static final BitSet FOLLOW_ruleAssignmentCompletion_in_ruleInvocationOrAssignementOrDeclarationStatement16589 = new BitSet(new long[] { 0x0000000000001000L }); |
| public static final BitSet FOLLOW_12_in_ruleInvocationOrAssignementOrDeclarationStatement16603 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSuperInvocationStatement_in_entryRuleSuperInvocationStatement16639 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleSuperInvocationStatement16649 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleSuperInvocationExpression_in_ruleSuperInvocationStatement16695 = new BitSet(new long[] { 0x0000000000001000L }); |
| public static final BitSet FOLLOW_12_in_ruleSuperInvocationStatement16707 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleThisInvocationStatement_in_entryRuleThisInvocationStatement16743 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleThisInvocationStatement16753 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleThisExpression_in_ruleThisInvocationStatement16799 = new BitSet(new long[] { 0x0000000000001000L, 0x00FFE00000000080L }); |
| public static final BitSet FOLLOW_ruleAssignmentCompletion_in_ruleThisInvocationStatement16820 = new BitSet(new long[] { 0x0000000000001000L }); |
| public static final BitSet FOLLOW_12_in_ruleThisInvocationStatement16833 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleInstanceCreationInvocationStatement_in_entryRuleInstanceCreationInvocationStatement16869 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleInstanceCreationInvocationStatement16879 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleInstanceCreationExpression_in_ruleInstanceCreationInvocationStatement16925 = new BitSet(new long[] { 0x0000000000001000L }); |
| public static final BitSet FOLLOW_12_in_ruleInstanceCreationInvocationStatement16937 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleVariableDeclarationCompletion_in_entryRuleVariableDeclarationCompletion16973 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleVariableDeclarationCompletion16983 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_18_in_ruleVariableDeclarationCompletion17027 = new BitSet(new long[] { 0x0000000000080000L }); |
| public static final BitSet FOLLOW_19_in_ruleVariableDeclarationCompletion17052 = new BitSet(new long[] { 0x0000000000000010L }); |
| public static final BitSet FOLLOW_RULE_ID_in_ruleVariableDeclarationCompletion17071 = new BitSet(new long[] { 0x0000000000000000L, 0x00FFE00000000080L }); |
| public static final BitSet FOLLOW_ruleAssignmentCompletion_in_ruleVariableDeclarationCompletion17097 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleAssignmentCompletion_in_entryRuleAssignmentCompletion17133 = new BitSet(new long[] { 0x0000000000000000L }); |
| public static final BitSet FOLLOW_EOF_in_entryRuleAssignmentCompletion17143 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_ruleAssignmentOperator_in_ruleAssignmentCompletion17189 = new BitSet(new long[] { 0xF873000019048070L, 0x0000000060000000L }); |
| public static final BitSet FOLLOW_ruleSequenceElement_in_ruleAssignmentCompletion17210 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_88_in_ruleVisibilityIndicator17260 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_89_in_ruleVisibilityIndicator17277 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_90_in_ruleVisibilityIndicator17294 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_81_in_ruleParameterDirection17339 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_91_in_ruleParameterDirection17356 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_92_in_ruleParameterDirection17373 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_93_in_ruleBooleanValue17418 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_94_in_ruleBooleanValue17435 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_95_in_ruleLinkOperationKind17480 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_96_in_ruleLinkOperationKind17497 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_97_in_ruleLinkOperationKind17514 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_98_in_ruleSelectOrRejectOperator17559 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_99_in_ruleSelectOrRejectOperator17576 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_100_in_ruleCollectOrIterateOperator17621 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_101_in_ruleCollectOrIterateOperator17638 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_102_in_ruleForAllOrExistsOrOneOperator17683 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_103_in_ruleForAllOrExistsOrOneOperator17700 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_104_in_ruleForAllOrExistsOrOneOperator17717 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_105_in_ruleAnnotationKind17762 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_106_in_ruleAnnotationKind17779 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_107_in_ruleAnnotationKind17796 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_108_in_ruleAnnotationKind17813 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_71_in_ruleAssignmentOperator17858 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_109_in_ruleAssignmentOperator17875 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_110_in_ruleAssignmentOperator17892 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_111_in_ruleAssignmentOperator17909 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_112_in_ruleAssignmentOperator17926 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_113_in_ruleAssignmentOperator17943 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_114_in_ruleAssignmentOperator17960 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_115_in_ruleAssignmentOperator17977 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_116_in_ruleAssignmentOperator17994 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_117_in_ruleAssignmentOperator18011 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_118_in_ruleAssignmentOperator18028 = new BitSet(new long[] { 0x0000000000000002L }); |
| public static final BitSet FOLLOW_119_in_ruleAssignmentOperator18045 = new BitSet(new long[] { 0x0000000000000002L }); |
| |
| } |