| package org.eclipse.ocl.xtext.completeocl.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.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.ocl.xtext.completeocl.services.CompleteOCLGrammarAccess; |
| |
| |
| |
| import org.antlr.runtime.*; |
| import java.util.Stack; |
| import java.util.List; |
| import java.util.ArrayList; |
| import java.util.Map; |
| import java.util.HashMap; |
| @SuppressWarnings("all") |
| public class InternalCompleteOCLParser extends AbstractInternalAntlrParser { |
| public static final String[] tokenNames = new String[] { |
| "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_UNQUOTED_STRING", "RULE_SIMPLE_ID", "RULE_ESCAPED_ID", "RULE_INT", "RULE_SINGLE_QUOTED_STRING", "RULE_ESCAPED_CHARACTER", "RULE_LETTER_CHARACTER", "RULE_DOUBLE_QUOTED_STRING", "RULE_ML_SINGLE_QUOTED_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'^'", "'^^'", "'context'", "'inv'", "'('", "')'", "':'", "'static'", "'def'", "','", "'='", "'import'", "'include'", "'library'", "'::*'", "'pre'", "'post'", "'body'", "'package'", "'endpackage'", "'derive'", "'init'", "'?'", "'Boolean'", "'Integer'", "'Real'", "'String'", "'UnlimitedNatural'", "'OclAny'", "'OclInvalid'", "'OclMessage'", "'OclState'", "'OclVoid'", "'-'", "'not'", "'*'", "'/'", "'+'", "'>'", "'<'", "'>='", "'<='", "'<>'", "'and'", "'or'", "'xor'", "'implies'", "'.'", "'->'", "'?.'", "'?->'", "'Map'", "'Tuple'", "'::'", "'Set'", "'Bag'", "'Sequence'", "'Collection'", "'OrderedSet'", "'Lambda'", "'{'", "'}'", "'..'", "'++'", "'<-'", "'true'", "'false'", "'invalid'", "'null'", "'@'", "'['", "']'", "'in'", "'|'", "';'", "'if'", "'elseif'", "'else'", "'endif'", "'then'", "'let'", "'self'", "'|?'", "'|1'", "'extends'", "'&&'" |
| }; |
| 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 RULE_ESCAPED_CHARACTER=9; |
| 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=16; |
| public static final int T__21=21; |
| public static final int T__20=20; |
| public static final int RULE_ESCAPED_ID=6; |
| public static final int RULE_DOUBLE_QUOTED_STRING=11; |
| 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__90=90; |
| public static final int T__18=18; |
| public static final int T__17=17; |
| public static final int RULE_SIMPLE_ID=5; |
| public static final int T__99=99; |
| 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 RULE_SINGLE_QUOTED_STRING=8; |
| 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=13; |
| public static final int RULE_LETTER_CHARACTER=10; |
| 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__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__59=59; |
| public static final int RULE_UNQUOTED_STRING=4; |
| public static final int RULE_INT=7; |
| 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 RULE_ML_SINGLE_QUOTED_STRING=12; |
| 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=14; |
| 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=15; |
| |
| // delegates |
| // delegators |
| |
| |
| public InternalCompleteOCLParser(TokenStream input) { |
| this(input, new RecognizerSharedState()); |
| } |
| public InternalCompleteOCLParser(TokenStream input, RecognizerSharedState state) { |
| super(input, state); |
| |
| } |
| |
| |
| public String[] getTokenNames() { return InternalCompleteOCLParser.tokenNames; } |
| public String getGrammarFileName() { return "../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g"; } |
| |
| |
| |
| /* |
| This grammar contains a lot of empty actions to work around a bug in ANTLR. |
| Otherwise the ANTLR tool will create synpreds that cannot be compiled in some rare cases. |
| */ |
| |
| private CompleteOCLGrammarAccess grammarAccess; |
| |
| public InternalCompleteOCLParser(TokenStream input, CompleteOCLGrammarAccess grammarAccess) { |
| this(input); |
| this.grammarAccess = grammarAccess; |
| registerRules(grammarAccess.getGrammar()); |
| } |
| |
| @Override |
| protected String getFirstRuleName() { |
| return "CompleteOCLDocumentCS"; |
| } |
| |
| @Override |
| protected CompleteOCLGrammarAccess getGrammarAccess() { |
| return grammarAccess; |
| } |
| |
| |
| |
| // $ANTLR start "entryRuleCompleteOCLDocumentCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:73:1: entryRuleCompleteOCLDocumentCS returns [EObject current=null] : iv_ruleCompleteOCLDocumentCS= ruleCompleteOCLDocumentCS EOF ; |
| public final EObject entryRuleCompleteOCLDocumentCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleCompleteOCLDocumentCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:74:2: (iv_ruleCompleteOCLDocumentCS= ruleCompleteOCLDocumentCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:75:2: iv_ruleCompleteOCLDocumentCS= ruleCompleteOCLDocumentCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getCompleteOCLDocumentCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCompleteOCLDocumentCS_in_entryRuleCompleteOCLDocumentCS81); |
| iv_ruleCompleteOCLDocumentCS=ruleCompleteOCLDocumentCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleCompleteOCLDocumentCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCompleteOCLDocumentCS91); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleCompleteOCLDocumentCS" |
| |
| |
| // $ANTLR start "ruleCompleteOCLDocumentCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:82:1: ruleCompleteOCLDocumentCS returns [EObject current=null] : ( ( (lv_ownedImports_0_0= ruleImportCS ) )* ( ( (lv_ownedPackages_1_0= rulePackageDeclarationCS ) ) | ( (lv_ownedContexts_2_0= ruleContextDeclCS ) ) )* ) ; |
| public final EObject ruleCompleteOCLDocumentCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject lv_ownedImports_0_0 = null; |
| |
| EObject lv_ownedPackages_1_0 = null; |
| |
| EObject lv_ownedContexts_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:85:28: ( ( ( (lv_ownedImports_0_0= ruleImportCS ) )* ( ( (lv_ownedPackages_1_0= rulePackageDeclarationCS ) ) | ( (lv_ownedContexts_2_0= ruleContextDeclCS ) ) )* ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:86:1: ( ( (lv_ownedImports_0_0= ruleImportCS ) )* ( ( (lv_ownedPackages_1_0= rulePackageDeclarationCS ) ) | ( (lv_ownedContexts_2_0= ruleContextDeclCS ) ) )* ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:86:1: ( ( (lv_ownedImports_0_0= ruleImportCS ) )* ( ( (lv_ownedPackages_1_0= rulePackageDeclarationCS ) ) | ( (lv_ownedContexts_2_0= ruleContextDeclCS ) ) )* ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:86:2: ( (lv_ownedImports_0_0= ruleImportCS ) )* ( ( (lv_ownedPackages_1_0= rulePackageDeclarationCS ) ) | ( (lv_ownedContexts_2_0= ruleContextDeclCS ) ) )* |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:86:2: ( (lv_ownedImports_0_0= ruleImportCS ) )* |
| loop1: |
| do { |
| int alt1=2; |
| int LA1_0 = input.LA(1); |
| |
| if ( ((LA1_0>=28 && LA1_0<=30)) ) { |
| alt1=1; |
| } |
| |
| |
| switch (alt1) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:87:1: (lv_ownedImports_0_0= ruleImportCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:87:1: (lv_ownedImports_0_0= ruleImportCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:88:3: lv_ownedImports_0_0= ruleImportCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getCompleteOCLDocumentCSAccess().getOwnedImportsImportCSParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleImportCS_in_ruleCompleteOCLDocumentCS137); |
| lv_ownedImports_0_0=ruleImportCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getCompleteOCLDocumentCSRule()); |
| } |
| add( |
| current, |
| "ownedImports", |
| lv_ownedImports_0_0, |
| "ImportCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop1; |
| } |
| } while (true); |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:104:3: ( ( (lv_ownedPackages_1_0= rulePackageDeclarationCS ) ) | ( (lv_ownedContexts_2_0= ruleContextDeclCS ) ) )* |
| loop2: |
| do { |
| int alt2=3; |
| int LA2_0 = input.LA(1); |
| |
| if ( (LA2_0==35) ) { |
| alt2=1; |
| } |
| else if ( (LA2_0==19) ) { |
| alt2=2; |
| } |
| |
| |
| switch (alt2) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:104:4: ( (lv_ownedPackages_1_0= rulePackageDeclarationCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:104:4: ( (lv_ownedPackages_1_0= rulePackageDeclarationCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:105:1: (lv_ownedPackages_1_0= rulePackageDeclarationCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:105:1: (lv_ownedPackages_1_0= rulePackageDeclarationCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:106:3: lv_ownedPackages_1_0= rulePackageDeclarationCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getCompleteOCLDocumentCSAccess().getOwnedPackagesPackageDeclarationCSParserRuleCall_1_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePackageDeclarationCS_in_ruleCompleteOCLDocumentCS160); |
| lv_ownedPackages_1_0=rulePackageDeclarationCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getCompleteOCLDocumentCSRule()); |
| } |
| add( |
| current, |
| "ownedPackages", |
| lv_ownedPackages_1_0, |
| "PackageDeclarationCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:123:6: ( (lv_ownedContexts_2_0= ruleContextDeclCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:123:6: ( (lv_ownedContexts_2_0= ruleContextDeclCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:124:1: (lv_ownedContexts_2_0= ruleContextDeclCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:124:1: (lv_ownedContexts_2_0= ruleContextDeclCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:125:3: lv_ownedContexts_2_0= ruleContextDeclCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getCompleteOCLDocumentCSAccess().getOwnedContextsContextDeclCSParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleContextDeclCS_in_ruleCompleteOCLDocumentCS187); |
| lv_ownedContexts_2_0=ruleContextDeclCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getCompleteOCLDocumentCSRule()); |
| } |
| add( |
| current, |
| "ownedContexts", |
| lv_ownedContexts_2_0, |
| "ContextDeclCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop2; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleCompleteOCLDocumentCS" |
| |
| |
| // $ANTLR start "entryRuleCompleteOCLNavigationOperatorName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:149:1: entryRuleCompleteOCLNavigationOperatorName returns [String current=null] : iv_ruleCompleteOCLNavigationOperatorName= ruleCompleteOCLNavigationOperatorName EOF ; |
| public final String entryRuleCompleteOCLNavigationOperatorName() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleCompleteOCLNavigationOperatorName = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:150:2: (iv_ruleCompleteOCLNavigationOperatorName= ruleCompleteOCLNavigationOperatorName EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:151:2: iv_ruleCompleteOCLNavigationOperatorName= ruleCompleteOCLNavigationOperatorName EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getCompleteOCLNavigationOperatorNameRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCompleteOCLNavigationOperatorName_in_entryRuleCompleteOCLNavigationOperatorName226); |
| iv_ruleCompleteOCLNavigationOperatorName=ruleCompleteOCLNavigationOperatorName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleCompleteOCLNavigationOperatorName.getText(); |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCompleteOCLNavigationOperatorName237); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleCompleteOCLNavigationOperatorName" |
| |
| |
| // $ANTLR start "ruleCompleteOCLNavigationOperatorName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:158:1: ruleCompleteOCLNavigationOperatorName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '^' | kw= '^^' ) ; |
| public final AntlrDatatypeRuleToken ruleCompleteOCLNavigationOperatorName() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:161:28: ( (kw= '^' | kw= '^^' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:162:1: (kw= '^' | kw= '^^' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:162:1: (kw= '^' | kw= '^^' ) |
| int alt3=2; |
| int LA3_0 = input.LA(1); |
| |
| if ( (LA3_0==17) ) { |
| alt3=1; |
| } |
| else if ( (LA3_0==18) ) { |
| alt3=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 3, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt3) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:163:2: kw= '^' |
| { |
| kw=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleCompleteOCLNavigationOperatorName275); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getCompleteOCLNavigationOperatorNameAccess().getCircumflexAccentKeyword_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:170:2: kw= '^^' |
| { |
| kw=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleCompleteOCLNavigationOperatorName294); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getCompleteOCLNavigationOperatorNameAccess().getCircumflexAccentCircumflexAccentKeyword_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleCompleteOCLNavigationOperatorName" |
| |
| |
| // $ANTLR start "entryRuleClassifierContextDeclCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:183:1: entryRuleClassifierContextDeclCS returns [EObject current=null] : iv_ruleClassifierContextDeclCS= ruleClassifierContextDeclCS EOF ; |
| public final EObject entryRuleClassifierContextDeclCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleClassifierContextDeclCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:184:2: (iv_ruleClassifierContextDeclCS= ruleClassifierContextDeclCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:185:2: iv_ruleClassifierContextDeclCS= ruleClassifierContextDeclCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getClassifierContextDeclCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleClassifierContextDeclCS_in_entryRuleClassifierContextDeclCS334); |
| iv_ruleClassifierContextDeclCS=ruleClassifierContextDeclCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleClassifierContextDeclCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleClassifierContextDeclCS344); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleClassifierContextDeclCS" |
| |
| |
| // $ANTLR start "ruleClassifierContextDeclCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:192:1: ruleClassifierContextDeclCS returns [EObject current=null] : (otherlv_0= 'context' ( (lv_selfName_1_0= ruleUnrestrictedName ) )? ( (lv_ownedPathName_2_0= rulePathNameCS ) ) ( (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) )? ( (otherlv_4= 'inv' ( (lv_ownedInvariants_5_0= ruleConstraintCS ) ) ) | ( (lv_ownedDefinitions_6_0= ruleDefCS ) ) )+ ) ; |
| public final EObject ruleClassifierContextDeclCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_4=null; |
| AntlrDatatypeRuleToken lv_selfName_1_0 = null; |
| |
| EObject lv_ownedPathName_2_0 = null; |
| |
| EObject lv_ownedSignature_3_0 = null; |
| |
| EObject lv_ownedInvariants_5_0 = null; |
| |
| EObject lv_ownedDefinitions_6_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:195:28: ( (otherlv_0= 'context' ( (lv_selfName_1_0= ruleUnrestrictedName ) )? ( (lv_ownedPathName_2_0= rulePathNameCS ) ) ( (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) )? ( (otherlv_4= 'inv' ( (lv_ownedInvariants_5_0= ruleConstraintCS ) ) ) | ( (lv_ownedDefinitions_6_0= ruleDefCS ) ) )+ ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:196:1: (otherlv_0= 'context' ( (lv_selfName_1_0= ruleUnrestrictedName ) )? ( (lv_ownedPathName_2_0= rulePathNameCS ) ) ( (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) )? ( (otherlv_4= 'inv' ( (lv_ownedInvariants_5_0= ruleConstraintCS ) ) ) | ( (lv_ownedDefinitions_6_0= ruleDefCS ) ) )+ ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:196:1: (otherlv_0= 'context' ( (lv_selfName_1_0= ruleUnrestrictedName ) )? ( (lv_ownedPathName_2_0= rulePathNameCS ) ) ( (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) )? ( (otherlv_4= 'inv' ( (lv_ownedInvariants_5_0= ruleConstraintCS ) ) ) | ( (lv_ownedDefinitions_6_0= ruleDefCS ) ) )+ ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:196:3: otherlv_0= 'context' ( (lv_selfName_1_0= ruleUnrestrictedName ) )? ( (lv_ownedPathName_2_0= rulePathNameCS ) ) ( (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) )? ( (otherlv_4= 'inv' ( (lv_ownedInvariants_5_0= ruleConstraintCS ) ) ) | ( (lv_ownedDefinitions_6_0= ruleDefCS ) ) )+ |
| { |
| otherlv_0=(Token)match(input,19,FollowSets000.FOLLOW_19_in_ruleClassifierContextDeclCS381); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getClassifierContextDeclCSAccess().getContextKeyword_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:200:1: ( (lv_selfName_1_0= ruleUnrestrictedName ) )? |
| int alt4=2; |
| switch ( input.LA(1) ) { |
| case RULE_SIMPLE_ID: |
| { |
| int LA4_1 = input.LA(2); |
| |
| if ( ((LA4_1>=RULE_SIMPLE_ID && LA4_1<=RULE_ESCAPED_ID)||(LA4_1>=28 && LA4_1<=30)) ) { |
| alt4=1; |
| } |
| } |
| break; |
| case RULE_ESCAPED_ID: |
| { |
| int LA4_2 = input.LA(2); |
| |
| if ( ((LA4_2>=RULE_SIMPLE_ID && LA4_2<=RULE_ESCAPED_ID)||(LA4_2>=28 && LA4_2<=30)) ) { |
| alt4=1; |
| } |
| } |
| break; |
| case 28: |
| { |
| int LA4_3 = input.LA(2); |
| |
| if ( ((LA4_3>=RULE_SIMPLE_ID && LA4_3<=RULE_ESCAPED_ID)||(LA4_3>=28 && LA4_3<=30)) ) { |
| alt4=1; |
| } |
| } |
| break; |
| case 29: |
| { |
| int LA4_4 = input.LA(2); |
| |
| if ( ((LA4_4>=RULE_SIMPLE_ID && LA4_4<=RULE_ESCAPED_ID)||(LA4_4>=28 && LA4_4<=30)) ) { |
| alt4=1; |
| } |
| } |
| break; |
| case 30: |
| { |
| int LA4_5 = input.LA(2); |
| |
| if ( ((LA4_5>=RULE_SIMPLE_ID && LA4_5<=RULE_ESCAPED_ID)||(LA4_5>=28 && LA4_5<=30)) ) { |
| alt4=1; |
| } |
| } |
| break; |
| } |
| |
| switch (alt4) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:201:1: (lv_selfName_1_0= ruleUnrestrictedName ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:201:1: (lv_selfName_1_0= ruleUnrestrictedName ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:202:3: lv_selfName_1_0= ruleUnrestrictedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassifierContextDeclCSAccess().getSelfNameUnrestrictedNameParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleClassifierContextDeclCS402); |
| lv_selfName_1_0=ruleUnrestrictedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getClassifierContextDeclCSRule()); |
| } |
| set( |
| current, |
| "selfName", |
| lv_selfName_1_0, |
| "UnrestrictedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:218:3: ( (lv_ownedPathName_2_0= rulePathNameCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:219:1: (lv_ownedPathName_2_0= rulePathNameCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:219:1: (lv_ownedPathName_2_0= rulePathNameCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:220:3: lv_ownedPathName_2_0= rulePathNameCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassifierContextDeclCSAccess().getOwnedPathNamePathNameCSParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePathNameCS_in_ruleClassifierContextDeclCS424); |
| lv_ownedPathName_2_0=rulePathNameCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getClassifierContextDeclCSRule()); |
| } |
| set( |
| current, |
| "ownedPathName", |
| lv_ownedPathName_2_0, |
| "PathNameCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:236:2: ( (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) )? |
| int alt5=2; |
| int LA5_0 = input.LA(1); |
| |
| if ( (LA5_0==56) ) { |
| alt5=1; |
| } |
| switch (alt5) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:237:1: (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:237:1: (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:238:3: lv_ownedSignature_3_0= ruleTemplateSignatureCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassifierContextDeclCSAccess().getOwnedSignatureTemplateSignatureCSParserRuleCall_3_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTemplateSignatureCS_in_ruleClassifierContextDeclCS445); |
| lv_ownedSignature_3_0=ruleTemplateSignatureCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getClassifierContextDeclCSRule()); |
| } |
| set( |
| current, |
| "ownedSignature", |
| lv_ownedSignature_3_0, |
| "TemplateSignatureCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:254:3: ( (otherlv_4= 'inv' ( (lv_ownedInvariants_5_0= ruleConstraintCS ) ) ) | ( (lv_ownedDefinitions_6_0= ruleDefCS ) ) )+ |
| int cnt6=0; |
| loop6: |
| do { |
| int alt6=3; |
| int LA6_0 = input.LA(1); |
| |
| if ( (LA6_0==20) ) { |
| alt6=1; |
| } |
| else if ( ((LA6_0>=24 && LA6_0<=25)) ) { |
| alt6=2; |
| } |
| |
| |
| switch (alt6) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:254:4: (otherlv_4= 'inv' ( (lv_ownedInvariants_5_0= ruleConstraintCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:254:4: (otherlv_4= 'inv' ( (lv_ownedInvariants_5_0= ruleConstraintCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:254:6: otherlv_4= 'inv' ( (lv_ownedInvariants_5_0= ruleConstraintCS ) ) |
| { |
| otherlv_4=(Token)match(input,20,FollowSets000.FOLLOW_20_in_ruleClassifierContextDeclCS460); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getClassifierContextDeclCSAccess().getInvKeyword_4_0_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:258:1: ( (lv_ownedInvariants_5_0= ruleConstraintCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:259:1: (lv_ownedInvariants_5_0= ruleConstraintCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:259:1: (lv_ownedInvariants_5_0= ruleConstraintCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:260:3: lv_ownedInvariants_5_0= ruleConstraintCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassifierContextDeclCSAccess().getOwnedInvariantsConstraintCSParserRuleCall_4_0_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleConstraintCS_in_ruleClassifierContextDeclCS481); |
| lv_ownedInvariants_5_0=ruleConstraintCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getClassifierContextDeclCSRule()); |
| } |
| add( |
| current, |
| "ownedInvariants", |
| lv_ownedInvariants_5_0, |
| "ConstraintCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:277:6: ( (lv_ownedDefinitions_6_0= ruleDefCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:277:6: ( (lv_ownedDefinitions_6_0= ruleDefCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:278:1: (lv_ownedDefinitions_6_0= ruleDefCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:278:1: (lv_ownedDefinitions_6_0= ruleDefCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:279:3: lv_ownedDefinitions_6_0= ruleDefCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassifierContextDeclCSAccess().getOwnedDefinitionsDefCSParserRuleCall_4_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleDefCS_in_ruleClassifierContextDeclCS509); |
| lv_ownedDefinitions_6_0=ruleDefCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getClassifierContextDeclCSRule()); |
| } |
| add( |
| current, |
| "ownedDefinitions", |
| lv_ownedDefinitions_6_0, |
| "DefCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| if ( cnt6 >= 1 ) break loop6; |
| if (state.backtracking>0) {state.failed=true; return current;} |
| EarlyExitException eee = |
| new EarlyExitException(6, input); |
| throw eee; |
| } |
| cnt6++; |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleClassifierContextDeclCS" |
| |
| |
| // $ANTLR start "entryRuleConstraintCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:303:1: entryRuleConstraintCS returns [EObject current=null] : iv_ruleConstraintCS= ruleConstraintCS EOF ; |
| public final EObject entryRuleConstraintCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleConstraintCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:304:2: (iv_ruleConstraintCS= ruleConstraintCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:305:2: iv_ruleConstraintCS= ruleConstraintCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getConstraintCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleConstraintCS_in_entryRuleConstraintCS547); |
| iv_ruleConstraintCS=ruleConstraintCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleConstraintCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleConstraintCS557); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleConstraintCS" |
| |
| |
| // $ANTLR start "ruleConstraintCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:312:1: ruleConstraintCS returns [EObject current=null] : ( ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= '(' ( (lv_ownedMessageSpecification_2_0= ruleSpecificationCS ) ) otherlv_3= ')' )? )? otherlv_4= ':' ( (lv_ownedSpecification_5_0= ruleSpecificationCS ) ) ) ; |
| public final EObject ruleConstraintCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token otherlv_4=null; |
| AntlrDatatypeRuleToken lv_name_0_0 = null; |
| |
| EObject lv_ownedMessageSpecification_2_0 = null; |
| |
| EObject lv_ownedSpecification_5_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:315:28: ( ( ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= '(' ( (lv_ownedMessageSpecification_2_0= ruleSpecificationCS ) ) otherlv_3= ')' )? )? otherlv_4= ':' ( (lv_ownedSpecification_5_0= ruleSpecificationCS ) ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:316:1: ( ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= '(' ( (lv_ownedMessageSpecification_2_0= ruleSpecificationCS ) ) otherlv_3= ')' )? )? otherlv_4= ':' ( (lv_ownedSpecification_5_0= ruleSpecificationCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:316:1: ( ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= '(' ( (lv_ownedMessageSpecification_2_0= ruleSpecificationCS ) ) otherlv_3= ')' )? )? otherlv_4= ':' ( (lv_ownedSpecification_5_0= ruleSpecificationCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:316:2: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= '(' ( (lv_ownedMessageSpecification_2_0= ruleSpecificationCS ) ) otherlv_3= ')' )? )? otherlv_4= ':' ( (lv_ownedSpecification_5_0= ruleSpecificationCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:316:2: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= '(' ( (lv_ownedMessageSpecification_2_0= ruleSpecificationCS ) ) otherlv_3= ')' )? )? |
| int alt8=2; |
| int LA8_0 = input.LA(1); |
| |
| if ( ((LA8_0>=RULE_SIMPLE_ID && LA8_0<=RULE_ESCAPED_ID)||(LA8_0>=28 && LA8_0<=30)) ) { |
| alt8=1; |
| } |
| switch (alt8) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:316:3: ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= '(' ( (lv_ownedMessageSpecification_2_0= ruleSpecificationCS ) ) otherlv_3= ')' )? |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:316:3: ( (lv_name_0_0= ruleUnrestrictedName ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:317:1: (lv_name_0_0= ruleUnrestrictedName ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:317:1: (lv_name_0_0= ruleUnrestrictedName ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:318:3: lv_name_0_0= ruleUnrestrictedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getConstraintCSAccess().getNameUnrestrictedNameParserRuleCall_0_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleConstraintCS604); |
| lv_name_0_0=ruleUnrestrictedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getConstraintCSRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_0_0, |
| "UnrestrictedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:334:2: (otherlv_1= '(' ( (lv_ownedMessageSpecification_2_0= ruleSpecificationCS ) ) otherlv_3= ')' )? |
| int alt7=2; |
| int LA7_0 = input.LA(1); |
| |
| if ( (LA7_0==21) ) { |
| alt7=1; |
| } |
| switch (alt7) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:334:4: otherlv_1= '(' ( (lv_ownedMessageSpecification_2_0= ruleSpecificationCS ) ) otherlv_3= ')' |
| { |
| otherlv_1=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleConstraintCS617); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getConstraintCSAccess().getLeftParenthesisKeyword_0_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:338:1: ( (lv_ownedMessageSpecification_2_0= ruleSpecificationCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:339:1: (lv_ownedMessageSpecification_2_0= ruleSpecificationCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:339:1: (lv_ownedMessageSpecification_2_0= ruleSpecificationCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:340:3: lv_ownedMessageSpecification_2_0= ruleSpecificationCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getConstraintCSAccess().getOwnedMessageSpecificationSpecificationCSParserRuleCall_0_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleSpecificationCS_in_ruleConstraintCS638); |
| lv_ownedMessageSpecification_2_0=ruleSpecificationCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getConstraintCSRule()); |
| } |
| set( |
| current, |
| "ownedMessageSpecification", |
| lv_ownedMessageSpecification_2_0, |
| "SpecificationCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_3=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleConstraintCS650); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getConstraintCSAccess().getRightParenthesisKeyword_0_1_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_4=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleConstraintCS666); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getConstraintCSAccess().getColonKeyword_1()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:364:1: ( (lv_ownedSpecification_5_0= ruleSpecificationCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:365:1: (lv_ownedSpecification_5_0= ruleSpecificationCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:365:1: (lv_ownedSpecification_5_0= ruleSpecificationCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:366:3: lv_ownedSpecification_5_0= ruleSpecificationCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getConstraintCSAccess().getOwnedSpecificationSpecificationCSParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleSpecificationCS_in_ruleConstraintCS687); |
| lv_ownedSpecification_5_0=ruleSpecificationCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getConstraintCSRule()); |
| } |
| set( |
| current, |
| "ownedSpecification", |
| lv_ownedSpecification_5_0, |
| "SpecificationCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleConstraintCS" |
| |
| |
| // $ANTLR start "entryRuleContextDeclCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:390:1: entryRuleContextDeclCS returns [EObject current=null] : iv_ruleContextDeclCS= ruleContextDeclCS EOF ; |
| public final EObject entryRuleContextDeclCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleContextDeclCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:391:2: (iv_ruleContextDeclCS= ruleContextDeclCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:392:2: iv_ruleContextDeclCS= ruleContextDeclCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getContextDeclCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleContextDeclCS_in_entryRuleContextDeclCS723); |
| iv_ruleContextDeclCS=ruleContextDeclCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleContextDeclCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleContextDeclCS733); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleContextDeclCS" |
| |
| |
| // $ANTLR start "ruleContextDeclCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:399:1: ruleContextDeclCS returns [EObject current=null] : (this_PropertyContextDeclCS_0= rulePropertyContextDeclCS | this_ClassifierContextDeclCS_1= ruleClassifierContextDeclCS | this_OperationContextDeclCS_2= ruleOperationContextDeclCS ) ; |
| public final EObject ruleContextDeclCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_PropertyContextDeclCS_0 = null; |
| |
| EObject this_ClassifierContextDeclCS_1 = null; |
| |
| EObject this_OperationContextDeclCS_2 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:402:28: ( (this_PropertyContextDeclCS_0= rulePropertyContextDeclCS | this_ClassifierContextDeclCS_1= ruleClassifierContextDeclCS | this_OperationContextDeclCS_2= ruleOperationContextDeclCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:403:1: (this_PropertyContextDeclCS_0= rulePropertyContextDeclCS | this_ClassifierContextDeclCS_1= ruleClassifierContextDeclCS | this_OperationContextDeclCS_2= ruleOperationContextDeclCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:403:1: (this_PropertyContextDeclCS_0= rulePropertyContextDeclCS | this_ClassifierContextDeclCS_1= ruleClassifierContextDeclCS | this_OperationContextDeclCS_2= ruleOperationContextDeclCS ) |
| int alt9=3; |
| int LA9_0 = input.LA(1); |
| |
| if ( (LA9_0==19) ) { |
| int LA9_1 = input.LA(2); |
| |
| if ( (synpred11_InternalCompleteOCL()) ) { |
| alt9=1; |
| } |
| else if ( (synpred12_InternalCompleteOCL()) ) { |
| alt9=2; |
| } |
| else if ( (true) ) { |
| alt9=3; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 9, 1, input); |
| |
| throw nvae; |
| } |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 9, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt9) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:404:2: this_PropertyContextDeclCS_0= rulePropertyContextDeclCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getContextDeclCSAccess().getPropertyContextDeclCSParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePropertyContextDeclCS_in_ruleContextDeclCS783); |
| this_PropertyContextDeclCS_0=rulePropertyContextDeclCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_PropertyContextDeclCS_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:417:2: this_ClassifierContextDeclCS_1= ruleClassifierContextDeclCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getContextDeclCSAccess().getClassifierContextDeclCSParserRuleCall_1()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleClassifierContextDeclCS_in_ruleContextDeclCS813); |
| this_ClassifierContextDeclCS_1=ruleClassifierContextDeclCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_ClassifierContextDeclCS_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:430:2: this_OperationContextDeclCS_2= ruleOperationContextDeclCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getContextDeclCSAccess().getOperationContextDeclCSParserRuleCall_2()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleOperationContextDeclCS_in_ruleContextDeclCS843); |
| this_OperationContextDeclCS_2=ruleOperationContextDeclCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_OperationContextDeclCS_2; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleContextDeclCS" |
| |
| |
| // $ANTLR start "entryRuleDefCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:449:1: entryRuleDefCS returns [EObject current=null] : iv_ruleDefCS= ruleDefCS EOF ; |
| public final EObject entryRuleDefCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDefCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:450:2: (iv_ruleDefCS= ruleDefCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:451:2: iv_ruleDefCS= ruleDefCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDefCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleDefCS_in_entryRuleDefCS878); |
| iv_ruleDefCS=ruleDefCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDefCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleDefCS888); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDefCS" |
| |
| |
| // $ANTLR start "ruleDefCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:458:1: ruleDefCS returns [EObject current=null] : (this_DefOperationCS_0= ruleDefOperationCS | this_DefPropertyCS_1= ruleDefPropertyCS ) ; |
| public final EObject ruleDefCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_DefOperationCS_0 = null; |
| |
| EObject this_DefPropertyCS_1 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:461:28: ( (this_DefOperationCS_0= ruleDefOperationCS | this_DefPropertyCS_1= ruleDefPropertyCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:462:1: (this_DefOperationCS_0= ruleDefOperationCS | this_DefPropertyCS_1= ruleDefPropertyCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:462:1: (this_DefOperationCS_0= ruleDefOperationCS | this_DefPropertyCS_1= ruleDefPropertyCS ) |
| int alt10=2; |
| alt10 = dfa10.predict(input); |
| switch (alt10) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:463:2: this_DefOperationCS_0= ruleDefOperationCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDefCSAccess().getDefOperationCSParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleDefOperationCS_in_ruleDefCS938); |
| this_DefOperationCS_0=ruleDefOperationCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DefOperationCS_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:476:2: this_DefPropertyCS_1= ruleDefPropertyCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDefCSAccess().getDefPropertyCSParserRuleCall_1()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleDefPropertyCS_in_ruleDefCS968); |
| this_DefPropertyCS_1=ruleDefPropertyCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DefPropertyCS_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDefCS" |
| |
| |
| // $ANTLR start "entryRuleDefOperationCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:495:1: entryRuleDefOperationCS returns [EObject current=null] : iv_ruleDefOperationCS= ruleDefOperationCS EOF ; |
| public final EObject entryRuleDefOperationCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDefOperationCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:496:2: (iv_ruleDefOperationCS= ruleDefOperationCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:497:2: iv_ruleDefOperationCS= ruleDefOperationCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDefOperationCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleDefOperationCS_in_entryRuleDefOperationCS1003); |
| iv_ruleDefOperationCS=ruleDefOperationCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDefOperationCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleDefOperationCS1013); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDefOperationCS" |
| |
| |
| // $ANTLR start "ruleDefOperationCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:504:1: ruleDefOperationCS returns [EObject current=null] : ( ( (lv_isStatic_0_0= 'static' ) )? otherlv_1= 'def' ( ruleUnrestrictedName )? otherlv_3= ':' ( (lv_name_4_0= ruleUnrestrictedName ) ) ( (lv_ownedSignature_5_0= ruleTemplateSignatureCS ) )? otherlv_6= '(' ( ( (lv_ownedParameters_7_0= ruleDefParameterCS ) ) (otherlv_8= ',' ( (lv_ownedParameters_9_0= ruleDefParameterCS ) ) )* )? otherlv_10= ')' otherlv_11= ':' ( (lv_ownedType_12_0= ruleComplexTypeCS ) )? otherlv_13= '=' ( (lv_ownedSpecification_14_0= ruleSpecificationCS ) ) ) ; |
| public final EObject ruleDefOperationCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_isStatic_0_0=null; |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token otherlv_6=null; |
| Token otherlv_8=null; |
| Token otherlv_10=null; |
| Token otherlv_11=null; |
| Token otherlv_13=null; |
| AntlrDatatypeRuleToken lv_name_4_0 = null; |
| |
| EObject lv_ownedSignature_5_0 = null; |
| |
| EObject lv_ownedParameters_7_0 = null; |
| |
| EObject lv_ownedParameters_9_0 = null; |
| |
| EObject lv_ownedType_12_0 = null; |
| |
| EObject lv_ownedSpecification_14_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:507:28: ( ( ( (lv_isStatic_0_0= 'static' ) )? otherlv_1= 'def' ( ruleUnrestrictedName )? otherlv_3= ':' ( (lv_name_4_0= ruleUnrestrictedName ) ) ( (lv_ownedSignature_5_0= ruleTemplateSignatureCS ) )? otherlv_6= '(' ( ( (lv_ownedParameters_7_0= ruleDefParameterCS ) ) (otherlv_8= ',' ( (lv_ownedParameters_9_0= ruleDefParameterCS ) ) )* )? otherlv_10= ')' otherlv_11= ':' ( (lv_ownedType_12_0= ruleComplexTypeCS ) )? otherlv_13= '=' ( (lv_ownedSpecification_14_0= ruleSpecificationCS ) ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:508:1: ( ( (lv_isStatic_0_0= 'static' ) )? otherlv_1= 'def' ( ruleUnrestrictedName )? otherlv_3= ':' ( (lv_name_4_0= ruleUnrestrictedName ) ) ( (lv_ownedSignature_5_0= ruleTemplateSignatureCS ) )? otherlv_6= '(' ( ( (lv_ownedParameters_7_0= ruleDefParameterCS ) ) (otherlv_8= ',' ( (lv_ownedParameters_9_0= ruleDefParameterCS ) ) )* )? otherlv_10= ')' otherlv_11= ':' ( (lv_ownedType_12_0= ruleComplexTypeCS ) )? otherlv_13= '=' ( (lv_ownedSpecification_14_0= ruleSpecificationCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:508:1: ( ( (lv_isStatic_0_0= 'static' ) )? otherlv_1= 'def' ( ruleUnrestrictedName )? otherlv_3= ':' ( (lv_name_4_0= ruleUnrestrictedName ) ) ( (lv_ownedSignature_5_0= ruleTemplateSignatureCS ) )? otherlv_6= '(' ( ( (lv_ownedParameters_7_0= ruleDefParameterCS ) ) (otherlv_8= ',' ( (lv_ownedParameters_9_0= ruleDefParameterCS ) ) )* )? otherlv_10= ')' otherlv_11= ':' ( (lv_ownedType_12_0= ruleComplexTypeCS ) )? otherlv_13= '=' ( (lv_ownedSpecification_14_0= ruleSpecificationCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:508:2: ( (lv_isStatic_0_0= 'static' ) )? otherlv_1= 'def' ( ruleUnrestrictedName )? otherlv_3= ':' ( (lv_name_4_0= ruleUnrestrictedName ) ) ( (lv_ownedSignature_5_0= ruleTemplateSignatureCS ) )? otherlv_6= '(' ( ( (lv_ownedParameters_7_0= ruleDefParameterCS ) ) (otherlv_8= ',' ( (lv_ownedParameters_9_0= ruleDefParameterCS ) ) )* )? otherlv_10= ')' otherlv_11= ':' ( (lv_ownedType_12_0= ruleComplexTypeCS ) )? otherlv_13= '=' ( (lv_ownedSpecification_14_0= ruleSpecificationCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:508:2: ( (lv_isStatic_0_0= 'static' ) )? |
| int alt11=2; |
| int LA11_0 = input.LA(1); |
| |
| if ( (LA11_0==24) ) { |
| alt11=1; |
| } |
| switch (alt11) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:509:1: (lv_isStatic_0_0= 'static' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:509:1: (lv_isStatic_0_0= 'static' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:510:3: lv_isStatic_0_0= 'static' |
| { |
| lv_isStatic_0_0=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleDefOperationCS1056); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_isStatic_0_0, grammarAccess.getDefOperationCSAccess().getIsStaticStaticKeyword_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDefOperationCSRule()); |
| } |
| setWithLastConsumed(current, "isStatic", true, "static"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_1=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleDefOperationCS1082); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDefOperationCSAccess().getDefKeyword_1()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:527:1: ( ruleUnrestrictedName )? |
| int alt12=2; |
| int LA12_0 = input.LA(1); |
| |
| if ( ((LA12_0>=RULE_SIMPLE_ID && LA12_0<=RULE_ESCAPED_ID)||(LA12_0>=28 && LA12_0<=30)) ) { |
| alt12=1; |
| } |
| switch (alt12) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:528:2: ruleUnrestrictedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDefOperationCSAccess().getUnrestrictedNameParserRuleCall_2()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleDefOperationCS1102); |
| ruleUnrestrictedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_3=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleDefOperationCS1115); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getDefOperationCSAccess().getColonKeyword_3()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:542:1: ( (lv_name_4_0= ruleUnrestrictedName ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:543:1: (lv_name_4_0= ruleUnrestrictedName ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:543:1: (lv_name_4_0= ruleUnrestrictedName ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:544:3: lv_name_4_0= ruleUnrestrictedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDefOperationCSAccess().getNameUnrestrictedNameParserRuleCall_4_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleDefOperationCS1136); |
| lv_name_4_0=ruleUnrestrictedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDefOperationCSRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_4_0, |
| "UnrestrictedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:560:2: ( (lv_ownedSignature_5_0= ruleTemplateSignatureCS ) )? |
| int alt13=2; |
| int LA13_0 = input.LA(1); |
| |
| if ( (LA13_0==56) ) { |
| alt13=1; |
| } |
| switch (alt13) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:561:1: (lv_ownedSignature_5_0= ruleTemplateSignatureCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:561:1: (lv_ownedSignature_5_0= ruleTemplateSignatureCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:562:3: lv_ownedSignature_5_0= ruleTemplateSignatureCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDefOperationCSAccess().getOwnedSignatureTemplateSignatureCSParserRuleCall_5_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTemplateSignatureCS_in_ruleDefOperationCS1157); |
| lv_ownedSignature_5_0=ruleTemplateSignatureCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDefOperationCSRule()); |
| } |
| set( |
| current, |
| "ownedSignature", |
| lv_ownedSignature_5_0, |
| "TemplateSignatureCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_6=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleDefOperationCS1170); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getDefOperationCSAccess().getLeftParenthesisKeyword_6()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:582:1: ( ( (lv_ownedParameters_7_0= ruleDefParameterCS ) ) (otherlv_8= ',' ( (lv_ownedParameters_9_0= ruleDefParameterCS ) ) )* )? |
| int alt15=2; |
| int LA15_0 = input.LA(1); |
| |
| if ( ((LA15_0>=RULE_SIMPLE_ID && LA15_0<=RULE_ESCAPED_ID)||(LA15_0>=28 && LA15_0<=30)) ) { |
| alt15=1; |
| } |
| switch (alt15) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:582:2: ( (lv_ownedParameters_7_0= ruleDefParameterCS ) ) (otherlv_8= ',' ( (lv_ownedParameters_9_0= ruleDefParameterCS ) ) )* |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:582:2: ( (lv_ownedParameters_7_0= ruleDefParameterCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:583:1: (lv_ownedParameters_7_0= ruleDefParameterCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:583:1: (lv_ownedParameters_7_0= ruleDefParameterCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:584:3: lv_ownedParameters_7_0= ruleDefParameterCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDefOperationCSAccess().getOwnedParametersDefParameterCSParserRuleCall_7_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleDefParameterCS_in_ruleDefOperationCS1192); |
| lv_ownedParameters_7_0=ruleDefParameterCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDefOperationCSRule()); |
| } |
| add( |
| current, |
| "ownedParameters", |
| lv_ownedParameters_7_0, |
| "DefParameterCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:600:2: (otherlv_8= ',' ( (lv_ownedParameters_9_0= ruleDefParameterCS ) ) )* |
| loop14: |
| do { |
| int alt14=2; |
| int LA14_0 = input.LA(1); |
| |
| if ( (LA14_0==26) ) { |
| alt14=1; |
| } |
| |
| |
| switch (alt14) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:600:4: otherlv_8= ',' ( (lv_ownedParameters_9_0= ruleDefParameterCS ) ) |
| { |
| otherlv_8=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleDefOperationCS1205); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getDefOperationCSAccess().getCommaKeyword_7_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:604:1: ( (lv_ownedParameters_9_0= ruleDefParameterCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:605:1: (lv_ownedParameters_9_0= ruleDefParameterCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:605:1: (lv_ownedParameters_9_0= ruleDefParameterCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:606:3: lv_ownedParameters_9_0= ruleDefParameterCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDefOperationCSAccess().getOwnedParametersDefParameterCSParserRuleCall_7_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleDefParameterCS_in_ruleDefOperationCS1226); |
| lv_ownedParameters_9_0=ruleDefParameterCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDefOperationCSRule()); |
| } |
| add( |
| current, |
| "ownedParameters", |
| lv_ownedParameters_9_0, |
| "DefParameterCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop14; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_10=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleDefOperationCS1242); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getDefOperationCSAccess().getRightParenthesisKeyword_8()); |
| |
| } |
| otherlv_11=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleDefOperationCS1254); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_11, grammarAccess.getDefOperationCSAccess().getColonKeyword_9()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:630:1: ( (lv_ownedType_12_0= ruleComplexTypeCS ) )? |
| int alt16=2; |
| int LA16_0 = input.LA(1); |
| |
| if ( ((LA16_0>=RULE_SIMPLE_ID && LA16_0<=RULE_ESCAPED_ID)||(LA16_0>=28 && LA16_0<=30)||(LA16_0>=40 && LA16_0<=49)||(LA16_0>=68 && LA16_0<=69)||(LA16_0>=71 && LA16_0<=76)) ) { |
| alt16=1; |
| } |
| switch (alt16) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:631:1: (lv_ownedType_12_0= ruleComplexTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:631:1: (lv_ownedType_12_0= ruleComplexTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:632:3: lv_ownedType_12_0= ruleComplexTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDefOperationCSAccess().getOwnedTypeComplexTypeCSParserRuleCall_10_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_ruleDefOperationCS1275); |
| lv_ownedType_12_0=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDefOperationCSRule()); |
| } |
| set( |
| current, |
| "ownedType", |
| lv_ownedType_12_0, |
| "ComplexTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_13=(Token)match(input,27,FollowSets000.FOLLOW_27_in_ruleDefOperationCS1288); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getDefOperationCSAccess().getEqualsSignKeyword_11()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:652:1: ( (lv_ownedSpecification_14_0= ruleSpecificationCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:653:1: (lv_ownedSpecification_14_0= ruleSpecificationCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:653:1: (lv_ownedSpecification_14_0= ruleSpecificationCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:654:3: lv_ownedSpecification_14_0= ruleSpecificationCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDefOperationCSAccess().getOwnedSpecificationSpecificationCSParserRuleCall_12_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleSpecificationCS_in_ruleDefOperationCS1309); |
| lv_ownedSpecification_14_0=ruleSpecificationCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDefOperationCSRule()); |
| } |
| set( |
| current, |
| "ownedSpecification", |
| lv_ownedSpecification_14_0, |
| "SpecificationCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDefOperationCS" |
| |
| |
| // $ANTLR start "entryRuleDefParameterCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:678:1: entryRuleDefParameterCS returns [EObject current=null] : iv_ruleDefParameterCS= ruleDefParameterCS EOF ; |
| public final EObject entryRuleDefParameterCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDefParameterCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:679:2: (iv_ruleDefParameterCS= ruleDefParameterCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:680:2: iv_ruleDefParameterCS= ruleDefParameterCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDefParameterCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleDefParameterCS_in_entryRuleDefParameterCS1345); |
| iv_ruleDefParameterCS=ruleDefParameterCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDefParameterCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleDefParameterCS1355); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDefParameterCS" |
| |
| |
| // $ANTLR start "ruleDefParameterCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:687:1: ruleDefParameterCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) ) ; |
| public final EObject ruleDefParameterCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| AntlrDatatypeRuleToken lv_name_0_0 = null; |
| |
| EObject lv_ownedType_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:690:28: ( ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:691:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:691:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:691:2: ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:691:2: ( (lv_name_0_0= ruleUnrestrictedName ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:692:1: (lv_name_0_0= ruleUnrestrictedName ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:692:1: (lv_name_0_0= ruleUnrestrictedName ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:693:3: lv_name_0_0= ruleUnrestrictedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDefParameterCSAccess().getNameUnrestrictedNameParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleDefParameterCS1401); |
| lv_name_0_0=ruleUnrestrictedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDefParameterCSRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_0_0, |
| "UnrestrictedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_1=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleDefParameterCS1413); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDefParameterCSAccess().getColonKeyword_1()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:713:1: ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:714:1: (lv_ownedType_2_0= ruleComplexTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:714:1: (lv_ownedType_2_0= ruleComplexTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:715:3: lv_ownedType_2_0= ruleComplexTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDefParameterCSAccess().getOwnedTypeComplexTypeCSParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_ruleDefParameterCS1434); |
| lv_ownedType_2_0=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDefParameterCSRule()); |
| } |
| set( |
| current, |
| "ownedType", |
| lv_ownedType_2_0, |
| "ComplexTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDefParameterCS" |
| |
| |
| // $ANTLR start "entryRuleDefPropertyCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:739:1: entryRuleDefPropertyCS returns [EObject current=null] : iv_ruleDefPropertyCS= ruleDefPropertyCS EOF ; |
| public final EObject entryRuleDefPropertyCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDefPropertyCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:740:2: (iv_ruleDefPropertyCS= ruleDefPropertyCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:741:2: iv_ruleDefPropertyCS= ruleDefPropertyCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDefPropertyCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleDefPropertyCS_in_entryRuleDefPropertyCS1470); |
| iv_ruleDefPropertyCS=ruleDefPropertyCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDefPropertyCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleDefPropertyCS1480); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDefPropertyCS" |
| |
| |
| // $ANTLR start "ruleDefPropertyCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:748:1: ruleDefPropertyCS returns [EObject current=null] : ( ( (lv_isStatic_0_0= 'static' ) )? otherlv_1= 'def' ( ruleUnrestrictedName )? otherlv_3= ':' ( (lv_name_4_0= ruleUnrestrictedName ) ) otherlv_5= ':' ( (lv_ownedType_6_0= ruleComplexTypeCS ) ) otherlv_7= '=' ( (lv_ownedSpecification_8_0= ruleSpecificationCS ) ) ) ; |
| public final EObject ruleDefPropertyCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_isStatic_0_0=null; |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token otherlv_5=null; |
| Token otherlv_7=null; |
| AntlrDatatypeRuleToken lv_name_4_0 = null; |
| |
| EObject lv_ownedType_6_0 = null; |
| |
| EObject lv_ownedSpecification_8_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:751:28: ( ( ( (lv_isStatic_0_0= 'static' ) )? otherlv_1= 'def' ( ruleUnrestrictedName )? otherlv_3= ':' ( (lv_name_4_0= ruleUnrestrictedName ) ) otherlv_5= ':' ( (lv_ownedType_6_0= ruleComplexTypeCS ) ) otherlv_7= '=' ( (lv_ownedSpecification_8_0= ruleSpecificationCS ) ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:752:1: ( ( (lv_isStatic_0_0= 'static' ) )? otherlv_1= 'def' ( ruleUnrestrictedName )? otherlv_3= ':' ( (lv_name_4_0= ruleUnrestrictedName ) ) otherlv_5= ':' ( (lv_ownedType_6_0= ruleComplexTypeCS ) ) otherlv_7= '=' ( (lv_ownedSpecification_8_0= ruleSpecificationCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:752:1: ( ( (lv_isStatic_0_0= 'static' ) )? otherlv_1= 'def' ( ruleUnrestrictedName )? otherlv_3= ':' ( (lv_name_4_0= ruleUnrestrictedName ) ) otherlv_5= ':' ( (lv_ownedType_6_0= ruleComplexTypeCS ) ) otherlv_7= '=' ( (lv_ownedSpecification_8_0= ruleSpecificationCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:752:2: ( (lv_isStatic_0_0= 'static' ) )? otherlv_1= 'def' ( ruleUnrestrictedName )? otherlv_3= ':' ( (lv_name_4_0= ruleUnrestrictedName ) ) otherlv_5= ':' ( (lv_ownedType_6_0= ruleComplexTypeCS ) ) otherlv_7= '=' ( (lv_ownedSpecification_8_0= ruleSpecificationCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:752:2: ( (lv_isStatic_0_0= 'static' ) )? |
| int alt17=2; |
| int LA17_0 = input.LA(1); |
| |
| if ( (LA17_0==24) ) { |
| alt17=1; |
| } |
| switch (alt17) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:753:1: (lv_isStatic_0_0= 'static' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:753:1: (lv_isStatic_0_0= 'static' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:754:3: lv_isStatic_0_0= 'static' |
| { |
| lv_isStatic_0_0=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleDefPropertyCS1523); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_isStatic_0_0, grammarAccess.getDefPropertyCSAccess().getIsStaticStaticKeyword_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDefPropertyCSRule()); |
| } |
| setWithLastConsumed(current, "isStatic", true, "static"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_1=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleDefPropertyCS1549); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDefPropertyCSAccess().getDefKeyword_1()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:771:1: ( ruleUnrestrictedName )? |
| int alt18=2; |
| int LA18_0 = input.LA(1); |
| |
| if ( ((LA18_0>=RULE_SIMPLE_ID && LA18_0<=RULE_ESCAPED_ID)||(LA18_0>=28 && LA18_0<=30)) ) { |
| alt18=1; |
| } |
| switch (alt18) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:772:2: ruleUnrestrictedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDefPropertyCSAccess().getUnrestrictedNameParserRuleCall_2()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleDefPropertyCS1569); |
| ruleUnrestrictedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_3=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleDefPropertyCS1582); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getDefPropertyCSAccess().getColonKeyword_3()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:786:1: ( (lv_name_4_0= ruleUnrestrictedName ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:787:1: (lv_name_4_0= ruleUnrestrictedName ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:787:1: (lv_name_4_0= ruleUnrestrictedName ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:788:3: lv_name_4_0= ruleUnrestrictedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDefPropertyCSAccess().getNameUnrestrictedNameParserRuleCall_4_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleDefPropertyCS1603); |
| lv_name_4_0=ruleUnrestrictedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDefPropertyCSRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_4_0, |
| "UnrestrictedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_5=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleDefPropertyCS1615); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getDefPropertyCSAccess().getColonKeyword_5()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:808:1: ( (lv_ownedType_6_0= ruleComplexTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:809:1: (lv_ownedType_6_0= ruleComplexTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:809:1: (lv_ownedType_6_0= ruleComplexTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:810:3: lv_ownedType_6_0= ruleComplexTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDefPropertyCSAccess().getOwnedTypeComplexTypeCSParserRuleCall_6_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_ruleDefPropertyCS1636); |
| lv_ownedType_6_0=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDefPropertyCSRule()); |
| } |
| set( |
| current, |
| "ownedType", |
| lv_ownedType_6_0, |
| "ComplexTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_7=(Token)match(input,27,FollowSets000.FOLLOW_27_in_ruleDefPropertyCS1648); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getDefPropertyCSAccess().getEqualsSignKeyword_7()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:830:1: ( (lv_ownedSpecification_8_0= ruleSpecificationCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:831:1: (lv_ownedSpecification_8_0= ruleSpecificationCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:831:1: (lv_ownedSpecification_8_0= ruleSpecificationCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:832:3: lv_ownedSpecification_8_0= ruleSpecificationCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDefPropertyCSAccess().getOwnedSpecificationSpecificationCSParserRuleCall_8_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleSpecificationCS_in_ruleDefPropertyCS1669); |
| lv_ownedSpecification_8_0=ruleSpecificationCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDefPropertyCSRule()); |
| } |
| set( |
| current, |
| "ownedSpecification", |
| lv_ownedSpecification_8_0, |
| "SpecificationCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDefPropertyCS" |
| |
| |
| // $ANTLR start "entryRuleImportCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:856:1: entryRuleImportCS returns [EObject current=null] : iv_ruleImportCS= ruleImportCS EOF ; |
| public final EObject entryRuleImportCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleImportCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:857:2: (iv_ruleImportCS= ruleImportCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:858:2: iv_ruleImportCS= ruleImportCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getImportCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleImportCS_in_entryRuleImportCS1705); |
| iv_ruleImportCS=ruleImportCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleImportCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleImportCS1715); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleImportCS" |
| |
| |
| // $ANTLR start "ruleImportCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:865:1: ruleImportCS returns [EObject current=null] : ( (otherlv_0= 'import' | otherlv_1= 'include' | otherlv_2= 'library' ) ( ( (lv_name_3_0= ruleIdentifier ) ) otherlv_4= ':' )? ( (lv_ownedPathName_5_0= ruleURIPathNameCS ) ) ( (lv_isAll_6_0= '::*' ) )? ) ; |
| public final EObject ruleImportCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token lv_isAll_6_0=null; |
| AntlrDatatypeRuleToken lv_name_3_0 = null; |
| |
| EObject lv_ownedPathName_5_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:868:28: ( ( (otherlv_0= 'import' | otherlv_1= 'include' | otherlv_2= 'library' ) ( ( (lv_name_3_0= ruleIdentifier ) ) otherlv_4= ':' )? ( (lv_ownedPathName_5_0= ruleURIPathNameCS ) ) ( (lv_isAll_6_0= '::*' ) )? ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:869:1: ( (otherlv_0= 'import' | otherlv_1= 'include' | otherlv_2= 'library' ) ( ( (lv_name_3_0= ruleIdentifier ) ) otherlv_4= ':' )? ( (lv_ownedPathName_5_0= ruleURIPathNameCS ) ) ( (lv_isAll_6_0= '::*' ) )? ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:869:1: ( (otherlv_0= 'import' | otherlv_1= 'include' | otherlv_2= 'library' ) ( ( (lv_name_3_0= ruleIdentifier ) ) otherlv_4= ':' )? ( (lv_ownedPathName_5_0= ruleURIPathNameCS ) ) ( (lv_isAll_6_0= '::*' ) )? ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:869:2: (otherlv_0= 'import' | otherlv_1= 'include' | otherlv_2= 'library' ) ( ( (lv_name_3_0= ruleIdentifier ) ) otherlv_4= ':' )? ( (lv_ownedPathName_5_0= ruleURIPathNameCS ) ) ( (lv_isAll_6_0= '::*' ) )? |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:869:2: (otherlv_0= 'import' | otherlv_1= 'include' | otherlv_2= 'library' ) |
| int alt19=3; |
| switch ( input.LA(1) ) { |
| case 28: |
| { |
| alt19=1; |
| } |
| break; |
| case 29: |
| { |
| alt19=2; |
| } |
| break; |
| case 30: |
| { |
| alt19=3; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 19, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt19) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:869:4: otherlv_0= 'import' |
| { |
| otherlv_0=(Token)match(input,28,FollowSets000.FOLLOW_28_in_ruleImportCS1753); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getImportCSAccess().getImportKeyword_0_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:874:7: otherlv_1= 'include' |
| { |
| otherlv_1=(Token)match(input,29,FollowSets000.FOLLOW_29_in_ruleImportCS1771); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getImportCSAccess().getIncludeKeyword_0_1()); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:879:7: otherlv_2= 'library' |
| { |
| otherlv_2=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleImportCS1789); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getImportCSAccess().getLibraryKeyword_0_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:883:2: ( ( (lv_name_3_0= ruleIdentifier ) ) otherlv_4= ':' )? |
| int alt20=2; |
| int LA20_0 = input.LA(1); |
| |
| if ( (LA20_0==RULE_SIMPLE_ID) ) { |
| int LA20_1 = input.LA(2); |
| |
| if ( (LA20_1==23) ) { |
| alt20=1; |
| } |
| } |
| else if ( (LA20_0==RULE_ESCAPED_ID) ) { |
| int LA20_2 = input.LA(2); |
| |
| if ( (LA20_2==23) ) { |
| alt20=1; |
| } |
| } |
| switch (alt20) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:883:3: ( (lv_name_3_0= ruleIdentifier ) ) otherlv_4= ':' |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:883:3: ( (lv_name_3_0= ruleIdentifier ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:884:1: (lv_name_3_0= ruleIdentifier ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:884:1: (lv_name_3_0= ruleIdentifier ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:885:3: lv_name_3_0= ruleIdentifier |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getImportCSAccess().getNameIdentifierParserRuleCall_1_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleIdentifier_in_ruleImportCS1812); |
| lv_name_3_0=ruleIdentifier(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getImportCSRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_3_0, |
| "Identifier"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_4=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleImportCS1824); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getImportCSAccess().getColonKeyword_1_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:905:3: ( (lv_ownedPathName_5_0= ruleURIPathNameCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:906:1: (lv_ownedPathName_5_0= ruleURIPathNameCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:906:1: (lv_ownedPathName_5_0= ruleURIPathNameCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:907:3: lv_ownedPathName_5_0= ruleURIPathNameCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getImportCSAccess().getOwnedPathNameURIPathNameCSParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleURIPathNameCS_in_ruleImportCS1847); |
| lv_ownedPathName_5_0=ruleURIPathNameCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getImportCSRule()); |
| } |
| set( |
| current, |
| "ownedPathName", |
| lv_ownedPathName_5_0, |
| "URIPathNameCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:923:2: ( (lv_isAll_6_0= '::*' ) )? |
| int alt21=2; |
| int LA21_0 = input.LA(1); |
| |
| if ( (LA21_0==31) ) { |
| alt21=1; |
| } |
| switch (alt21) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:924:1: (lv_isAll_6_0= '::*' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:924:1: (lv_isAll_6_0= '::*' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:925:3: lv_isAll_6_0= '::*' |
| { |
| lv_isAll_6_0=(Token)match(input,31,FollowSets000.FOLLOW_31_in_ruleImportCS1865); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_isAll_6_0, grammarAccess.getImportCSAccess().getIsAllColonColonAsteriskKeyword_3_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getImportCSRule()); |
| } |
| setWithLastConsumed(current, "isAll", true, "::*"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleImportCS" |
| |
| |
| // $ANTLR start "entryRuleOperationContextDeclCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:946:1: entryRuleOperationContextDeclCS returns [EObject current=null] : iv_ruleOperationContextDeclCS= ruleOperationContextDeclCS EOF ; |
| public final EObject entryRuleOperationContextDeclCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleOperationContextDeclCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:947:2: (iv_ruleOperationContextDeclCS= ruleOperationContextDeclCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:948:2: iv_ruleOperationContextDeclCS= ruleOperationContextDeclCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOperationContextDeclCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleOperationContextDeclCS_in_entryRuleOperationContextDeclCS1915); |
| iv_ruleOperationContextDeclCS=ruleOperationContextDeclCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOperationContextDeclCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleOperationContextDeclCS1925); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleOperationContextDeclCS" |
| |
| |
| // $ANTLR start "ruleOperationContextDeclCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:955:1: ruleOperationContextDeclCS returns [EObject current=null] : (otherlv_0= 'context' ( (lv_ownedPathName_1_0= rulePathNameCS ) ) ( (lv_ownedSignature_2_0= ruleTemplateSignatureCS ) )? otherlv_3= '(' ( ( (lv_ownedParameters_4_0= ruleParameterCS ) ) (otherlv_5= ',' ( (lv_ownedParameters_6_0= ruleParameterCS ) ) )* )? otherlv_7= ')' otherlv_8= ':' ( (lv_ownedType_9_0= ruleComplexTypeCS ) )? ( (otherlv_10= 'pre' ( (lv_ownedPreconditions_11_0= ruleConstraintCS ) ) ) | (otherlv_12= 'post' ( (lv_ownedPostconditions_13_0= ruleConstraintCS ) ) ) | (otherlv_14= 'body' ( ruleUnrestrictedName )? otherlv_16= ':' ( (lv_ownedBodies_17_0= ruleSpecificationCS ) ) ) )* ) ; |
| public final EObject ruleOperationContextDeclCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_3=null; |
| Token otherlv_5=null; |
| Token otherlv_7=null; |
| Token otherlv_8=null; |
| Token otherlv_10=null; |
| Token otherlv_12=null; |
| Token otherlv_14=null; |
| Token otherlv_16=null; |
| EObject lv_ownedPathName_1_0 = null; |
| |
| EObject lv_ownedSignature_2_0 = null; |
| |
| EObject lv_ownedParameters_4_0 = null; |
| |
| EObject lv_ownedParameters_6_0 = null; |
| |
| EObject lv_ownedType_9_0 = null; |
| |
| EObject lv_ownedPreconditions_11_0 = null; |
| |
| EObject lv_ownedPostconditions_13_0 = null; |
| |
| EObject lv_ownedBodies_17_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:958:28: ( (otherlv_0= 'context' ( (lv_ownedPathName_1_0= rulePathNameCS ) ) ( (lv_ownedSignature_2_0= ruleTemplateSignatureCS ) )? otherlv_3= '(' ( ( (lv_ownedParameters_4_0= ruleParameterCS ) ) (otherlv_5= ',' ( (lv_ownedParameters_6_0= ruleParameterCS ) ) )* )? otherlv_7= ')' otherlv_8= ':' ( (lv_ownedType_9_0= ruleComplexTypeCS ) )? ( (otherlv_10= 'pre' ( (lv_ownedPreconditions_11_0= ruleConstraintCS ) ) ) | (otherlv_12= 'post' ( (lv_ownedPostconditions_13_0= ruleConstraintCS ) ) ) | (otherlv_14= 'body' ( ruleUnrestrictedName )? otherlv_16= ':' ( (lv_ownedBodies_17_0= ruleSpecificationCS ) ) ) )* ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:959:1: (otherlv_0= 'context' ( (lv_ownedPathName_1_0= rulePathNameCS ) ) ( (lv_ownedSignature_2_0= ruleTemplateSignatureCS ) )? otherlv_3= '(' ( ( (lv_ownedParameters_4_0= ruleParameterCS ) ) (otherlv_5= ',' ( (lv_ownedParameters_6_0= ruleParameterCS ) ) )* )? otherlv_7= ')' otherlv_8= ':' ( (lv_ownedType_9_0= ruleComplexTypeCS ) )? ( (otherlv_10= 'pre' ( (lv_ownedPreconditions_11_0= ruleConstraintCS ) ) ) | (otherlv_12= 'post' ( (lv_ownedPostconditions_13_0= ruleConstraintCS ) ) ) | (otherlv_14= 'body' ( ruleUnrestrictedName )? otherlv_16= ':' ( (lv_ownedBodies_17_0= ruleSpecificationCS ) ) ) )* ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:959:1: (otherlv_0= 'context' ( (lv_ownedPathName_1_0= rulePathNameCS ) ) ( (lv_ownedSignature_2_0= ruleTemplateSignatureCS ) )? otherlv_3= '(' ( ( (lv_ownedParameters_4_0= ruleParameterCS ) ) (otherlv_5= ',' ( (lv_ownedParameters_6_0= ruleParameterCS ) ) )* )? otherlv_7= ')' otherlv_8= ':' ( (lv_ownedType_9_0= ruleComplexTypeCS ) )? ( (otherlv_10= 'pre' ( (lv_ownedPreconditions_11_0= ruleConstraintCS ) ) ) | (otherlv_12= 'post' ( (lv_ownedPostconditions_13_0= ruleConstraintCS ) ) ) | (otherlv_14= 'body' ( ruleUnrestrictedName )? otherlv_16= ':' ( (lv_ownedBodies_17_0= ruleSpecificationCS ) ) ) )* ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:959:3: otherlv_0= 'context' ( (lv_ownedPathName_1_0= rulePathNameCS ) ) ( (lv_ownedSignature_2_0= ruleTemplateSignatureCS ) )? otherlv_3= '(' ( ( (lv_ownedParameters_4_0= ruleParameterCS ) ) (otherlv_5= ',' ( (lv_ownedParameters_6_0= ruleParameterCS ) ) )* )? otherlv_7= ')' otherlv_8= ':' ( (lv_ownedType_9_0= ruleComplexTypeCS ) )? ( (otherlv_10= 'pre' ( (lv_ownedPreconditions_11_0= ruleConstraintCS ) ) ) | (otherlv_12= 'post' ( (lv_ownedPostconditions_13_0= ruleConstraintCS ) ) ) | (otherlv_14= 'body' ( ruleUnrestrictedName )? otherlv_16= ':' ( (lv_ownedBodies_17_0= ruleSpecificationCS ) ) ) )* |
| { |
| otherlv_0=(Token)match(input,19,FollowSets000.FOLLOW_19_in_ruleOperationContextDeclCS1962); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getOperationContextDeclCSAccess().getContextKeyword_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:963:1: ( (lv_ownedPathName_1_0= rulePathNameCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:964:1: (lv_ownedPathName_1_0= rulePathNameCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:964:1: (lv_ownedPathName_1_0= rulePathNameCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:965:3: lv_ownedPathName_1_0= rulePathNameCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getOperationContextDeclCSAccess().getOwnedPathNamePathNameCSParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePathNameCS_in_ruleOperationContextDeclCS1983); |
| lv_ownedPathName_1_0=rulePathNameCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getOperationContextDeclCSRule()); |
| } |
| set( |
| current, |
| "ownedPathName", |
| lv_ownedPathName_1_0, |
| "PathNameCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:981:2: ( (lv_ownedSignature_2_0= ruleTemplateSignatureCS ) )? |
| int alt22=2; |
| int LA22_0 = input.LA(1); |
| |
| if ( (LA22_0==56) ) { |
| alt22=1; |
| } |
| switch (alt22) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:982:1: (lv_ownedSignature_2_0= ruleTemplateSignatureCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:982:1: (lv_ownedSignature_2_0= ruleTemplateSignatureCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:983:3: lv_ownedSignature_2_0= ruleTemplateSignatureCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getOperationContextDeclCSAccess().getOwnedSignatureTemplateSignatureCSParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTemplateSignatureCS_in_ruleOperationContextDeclCS2004); |
| lv_ownedSignature_2_0=ruleTemplateSignatureCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getOperationContextDeclCSRule()); |
| } |
| set( |
| current, |
| "ownedSignature", |
| lv_ownedSignature_2_0, |
| "TemplateSignatureCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_3=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleOperationContextDeclCS2017); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getOperationContextDeclCSAccess().getLeftParenthesisKeyword_3()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1003:1: ( ( (lv_ownedParameters_4_0= ruleParameterCS ) ) (otherlv_5= ',' ( (lv_ownedParameters_6_0= ruleParameterCS ) ) )* )? |
| int alt24=2; |
| int LA24_0 = input.LA(1); |
| |
| if ( ((LA24_0>=RULE_SIMPLE_ID && LA24_0<=RULE_ESCAPED_ID)||(LA24_0>=28 && LA24_0<=30)||(LA24_0>=40 && LA24_0<=49)||(LA24_0>=68 && LA24_0<=69)||(LA24_0>=71 && LA24_0<=76)) ) { |
| alt24=1; |
| } |
| switch (alt24) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1003:2: ( (lv_ownedParameters_4_0= ruleParameterCS ) ) (otherlv_5= ',' ( (lv_ownedParameters_6_0= ruleParameterCS ) ) )* |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1003:2: ( (lv_ownedParameters_4_0= ruleParameterCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1004:1: (lv_ownedParameters_4_0= ruleParameterCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1004:1: (lv_ownedParameters_4_0= ruleParameterCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1005:3: lv_ownedParameters_4_0= ruleParameterCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getOperationContextDeclCSAccess().getOwnedParametersParameterCSParserRuleCall_4_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleParameterCS_in_ruleOperationContextDeclCS2039); |
| lv_ownedParameters_4_0=ruleParameterCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getOperationContextDeclCSRule()); |
| } |
| add( |
| current, |
| "ownedParameters", |
| lv_ownedParameters_4_0, |
| "ParameterCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1021:2: (otherlv_5= ',' ( (lv_ownedParameters_6_0= ruleParameterCS ) ) )* |
| loop23: |
| do { |
| int alt23=2; |
| int LA23_0 = input.LA(1); |
| |
| if ( (LA23_0==26) ) { |
| alt23=1; |
| } |
| |
| |
| switch (alt23) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1021:4: otherlv_5= ',' ( (lv_ownedParameters_6_0= ruleParameterCS ) ) |
| { |
| otherlv_5=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleOperationContextDeclCS2052); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getOperationContextDeclCSAccess().getCommaKeyword_4_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1025:1: ( (lv_ownedParameters_6_0= ruleParameterCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1026:1: (lv_ownedParameters_6_0= ruleParameterCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1026:1: (lv_ownedParameters_6_0= ruleParameterCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1027:3: lv_ownedParameters_6_0= ruleParameterCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getOperationContextDeclCSAccess().getOwnedParametersParameterCSParserRuleCall_4_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleParameterCS_in_ruleOperationContextDeclCS2073); |
| lv_ownedParameters_6_0=ruleParameterCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getOperationContextDeclCSRule()); |
| } |
| add( |
| current, |
| "ownedParameters", |
| lv_ownedParameters_6_0, |
| "ParameterCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop23; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_7=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleOperationContextDeclCS2089); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getOperationContextDeclCSAccess().getRightParenthesisKeyword_5()); |
| |
| } |
| otherlv_8=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleOperationContextDeclCS2101); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getOperationContextDeclCSAccess().getColonKeyword_6()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1051:1: ( (lv_ownedType_9_0= ruleComplexTypeCS ) )? |
| int alt25=2; |
| int LA25_0 = input.LA(1); |
| |
| if ( ((LA25_0>=RULE_SIMPLE_ID && LA25_0<=RULE_ESCAPED_ID)||(LA25_0>=28 && LA25_0<=30)||(LA25_0>=40 && LA25_0<=49)||(LA25_0>=68 && LA25_0<=69)||(LA25_0>=71 && LA25_0<=76)) ) { |
| alt25=1; |
| } |
| switch (alt25) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1052:1: (lv_ownedType_9_0= ruleComplexTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1052:1: (lv_ownedType_9_0= ruleComplexTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1053:3: lv_ownedType_9_0= ruleComplexTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getOperationContextDeclCSAccess().getOwnedTypeComplexTypeCSParserRuleCall_7_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_ruleOperationContextDeclCS2122); |
| lv_ownedType_9_0=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getOperationContextDeclCSRule()); |
| } |
| set( |
| current, |
| "ownedType", |
| lv_ownedType_9_0, |
| "ComplexTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1069:3: ( (otherlv_10= 'pre' ( (lv_ownedPreconditions_11_0= ruleConstraintCS ) ) ) | (otherlv_12= 'post' ( (lv_ownedPostconditions_13_0= ruleConstraintCS ) ) ) | (otherlv_14= 'body' ( ruleUnrestrictedName )? otherlv_16= ':' ( (lv_ownedBodies_17_0= ruleSpecificationCS ) ) ) )* |
| loop27: |
| do { |
| int alt27=4; |
| switch ( input.LA(1) ) { |
| case 32: |
| { |
| alt27=1; |
| } |
| break; |
| case 33: |
| { |
| alt27=2; |
| } |
| break; |
| case 34: |
| { |
| alt27=3; |
| } |
| break; |
| |
| } |
| |
| switch (alt27) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1069:4: (otherlv_10= 'pre' ( (lv_ownedPreconditions_11_0= ruleConstraintCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1069:4: (otherlv_10= 'pre' ( (lv_ownedPreconditions_11_0= ruleConstraintCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1069:6: otherlv_10= 'pre' ( (lv_ownedPreconditions_11_0= ruleConstraintCS ) ) |
| { |
| otherlv_10=(Token)match(input,32,FollowSets000.FOLLOW_32_in_ruleOperationContextDeclCS2137); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getOperationContextDeclCSAccess().getPreKeyword_8_0_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1073:1: ( (lv_ownedPreconditions_11_0= ruleConstraintCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1074:1: (lv_ownedPreconditions_11_0= ruleConstraintCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1074:1: (lv_ownedPreconditions_11_0= ruleConstraintCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1075:3: lv_ownedPreconditions_11_0= ruleConstraintCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getOperationContextDeclCSAccess().getOwnedPreconditionsConstraintCSParserRuleCall_8_0_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleConstraintCS_in_ruleOperationContextDeclCS2158); |
| lv_ownedPreconditions_11_0=ruleConstraintCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getOperationContextDeclCSRule()); |
| } |
| add( |
| current, |
| "ownedPreconditions", |
| lv_ownedPreconditions_11_0, |
| "ConstraintCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1092:6: (otherlv_12= 'post' ( (lv_ownedPostconditions_13_0= ruleConstraintCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1092:6: (otherlv_12= 'post' ( (lv_ownedPostconditions_13_0= ruleConstraintCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1092:8: otherlv_12= 'post' ( (lv_ownedPostconditions_13_0= ruleConstraintCS ) ) |
| { |
| otherlv_12=(Token)match(input,33,FollowSets000.FOLLOW_33_in_ruleOperationContextDeclCS2178); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_12, grammarAccess.getOperationContextDeclCSAccess().getPostKeyword_8_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1096:1: ( (lv_ownedPostconditions_13_0= ruleConstraintCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1097:1: (lv_ownedPostconditions_13_0= ruleConstraintCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1097:1: (lv_ownedPostconditions_13_0= ruleConstraintCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1098:3: lv_ownedPostconditions_13_0= ruleConstraintCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getOperationContextDeclCSAccess().getOwnedPostconditionsConstraintCSParserRuleCall_8_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleConstraintCS_in_ruleOperationContextDeclCS2199); |
| lv_ownedPostconditions_13_0=ruleConstraintCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getOperationContextDeclCSRule()); |
| } |
| add( |
| current, |
| "ownedPostconditions", |
| lv_ownedPostconditions_13_0, |
| "ConstraintCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1115:6: (otherlv_14= 'body' ( ruleUnrestrictedName )? otherlv_16= ':' ( (lv_ownedBodies_17_0= ruleSpecificationCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1115:6: (otherlv_14= 'body' ( ruleUnrestrictedName )? otherlv_16= ':' ( (lv_ownedBodies_17_0= ruleSpecificationCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1115:8: otherlv_14= 'body' ( ruleUnrestrictedName )? otherlv_16= ':' ( (lv_ownedBodies_17_0= ruleSpecificationCS ) ) |
| { |
| otherlv_14=(Token)match(input,34,FollowSets000.FOLLOW_34_in_ruleOperationContextDeclCS2219); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_14, grammarAccess.getOperationContextDeclCSAccess().getBodyKeyword_8_2_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1119:1: ( ruleUnrestrictedName )? |
| int alt26=2; |
| int LA26_0 = input.LA(1); |
| |
| if ( ((LA26_0>=RULE_SIMPLE_ID && LA26_0<=RULE_ESCAPED_ID)||(LA26_0>=28 && LA26_0<=30)) ) { |
| alt26=1; |
| } |
| switch (alt26) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1120:2: ruleUnrestrictedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getOperationContextDeclCSAccess().getUnrestrictedNameParserRuleCall_8_2_1()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleOperationContextDeclCS2239); |
| ruleUnrestrictedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_16=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleOperationContextDeclCS2252); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_16, grammarAccess.getOperationContextDeclCSAccess().getColonKeyword_8_2_2()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1134:1: ( (lv_ownedBodies_17_0= ruleSpecificationCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1135:1: (lv_ownedBodies_17_0= ruleSpecificationCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1135:1: (lv_ownedBodies_17_0= ruleSpecificationCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1136:3: lv_ownedBodies_17_0= ruleSpecificationCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getOperationContextDeclCSAccess().getOwnedBodiesSpecificationCSParserRuleCall_8_2_3_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleSpecificationCS_in_ruleOperationContextDeclCS2273); |
| lv_ownedBodies_17_0=ruleSpecificationCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getOperationContextDeclCSRule()); |
| } |
| add( |
| current, |
| "ownedBodies", |
| lv_ownedBodies_17_0, |
| "SpecificationCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop27; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleOperationContextDeclCS" |
| |
| |
| // $ANTLR start "entryRulePackageDeclarationCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1160:1: entryRulePackageDeclarationCS returns [EObject current=null] : iv_rulePackageDeclarationCS= rulePackageDeclarationCS EOF ; |
| public final EObject entryRulePackageDeclarationCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_rulePackageDeclarationCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1161:2: (iv_rulePackageDeclarationCS= rulePackageDeclarationCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1162:2: iv_rulePackageDeclarationCS= rulePackageDeclarationCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getPackageDeclarationCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePackageDeclarationCS_in_entryRulePackageDeclarationCS2312); |
| iv_rulePackageDeclarationCS=rulePackageDeclarationCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_rulePackageDeclarationCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePackageDeclarationCS2322); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRulePackageDeclarationCS" |
| |
| |
| // $ANTLR start "rulePackageDeclarationCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1169:1: rulePackageDeclarationCS returns [EObject current=null] : (otherlv_0= 'package' ( (lv_ownedPathName_1_0= rulePathNameCS ) ) (otherlv_2= 'inv' ( (lv_ownedInvariants_3_0= ruleConstraintCS ) ) )* ( (lv_ownedContexts_4_0= ruleContextDeclCS ) )* otherlv_5= 'endpackage' ) ; |
| public final EObject rulePackageDeclarationCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_2=null; |
| Token otherlv_5=null; |
| EObject lv_ownedPathName_1_0 = null; |
| |
| EObject lv_ownedInvariants_3_0 = null; |
| |
| EObject lv_ownedContexts_4_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1172:28: ( (otherlv_0= 'package' ( (lv_ownedPathName_1_0= rulePathNameCS ) ) (otherlv_2= 'inv' ( (lv_ownedInvariants_3_0= ruleConstraintCS ) ) )* ( (lv_ownedContexts_4_0= ruleContextDeclCS ) )* otherlv_5= 'endpackage' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1173:1: (otherlv_0= 'package' ( (lv_ownedPathName_1_0= rulePathNameCS ) ) (otherlv_2= 'inv' ( (lv_ownedInvariants_3_0= ruleConstraintCS ) ) )* ( (lv_ownedContexts_4_0= ruleContextDeclCS ) )* otherlv_5= 'endpackage' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1173:1: (otherlv_0= 'package' ( (lv_ownedPathName_1_0= rulePathNameCS ) ) (otherlv_2= 'inv' ( (lv_ownedInvariants_3_0= ruleConstraintCS ) ) )* ( (lv_ownedContexts_4_0= ruleContextDeclCS ) )* otherlv_5= 'endpackage' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1173:3: otherlv_0= 'package' ( (lv_ownedPathName_1_0= rulePathNameCS ) ) (otherlv_2= 'inv' ( (lv_ownedInvariants_3_0= ruleConstraintCS ) ) )* ( (lv_ownedContexts_4_0= ruleContextDeclCS ) )* otherlv_5= 'endpackage' |
| { |
| otherlv_0=(Token)match(input,35,FollowSets000.FOLLOW_35_in_rulePackageDeclarationCS2359); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getPackageDeclarationCSAccess().getPackageKeyword_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1177:1: ( (lv_ownedPathName_1_0= rulePathNameCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1178:1: (lv_ownedPathName_1_0= rulePathNameCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1178:1: (lv_ownedPathName_1_0= rulePathNameCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1179:3: lv_ownedPathName_1_0= rulePathNameCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPackageDeclarationCSAccess().getOwnedPathNamePathNameCSParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePathNameCS_in_rulePackageDeclarationCS2380); |
| lv_ownedPathName_1_0=rulePathNameCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getPackageDeclarationCSRule()); |
| } |
| set( |
| current, |
| "ownedPathName", |
| lv_ownedPathName_1_0, |
| "PathNameCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1195:2: (otherlv_2= 'inv' ( (lv_ownedInvariants_3_0= ruleConstraintCS ) ) )* |
| loop28: |
| do { |
| int alt28=2; |
| int LA28_0 = input.LA(1); |
| |
| if ( (LA28_0==20) ) { |
| alt28=1; |
| } |
| |
| |
| switch (alt28) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1195:4: otherlv_2= 'inv' ( (lv_ownedInvariants_3_0= ruleConstraintCS ) ) |
| { |
| otherlv_2=(Token)match(input,20,FollowSets000.FOLLOW_20_in_rulePackageDeclarationCS2393); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getPackageDeclarationCSAccess().getInvKeyword_2_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1199:1: ( (lv_ownedInvariants_3_0= ruleConstraintCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1200:1: (lv_ownedInvariants_3_0= ruleConstraintCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1200:1: (lv_ownedInvariants_3_0= ruleConstraintCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1201:3: lv_ownedInvariants_3_0= ruleConstraintCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPackageDeclarationCSAccess().getOwnedInvariantsConstraintCSParserRuleCall_2_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleConstraintCS_in_rulePackageDeclarationCS2414); |
| lv_ownedInvariants_3_0=ruleConstraintCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getPackageDeclarationCSRule()); |
| } |
| add( |
| current, |
| "ownedInvariants", |
| lv_ownedInvariants_3_0, |
| "ConstraintCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop28; |
| } |
| } while (true); |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1217:4: ( (lv_ownedContexts_4_0= ruleContextDeclCS ) )* |
| loop29: |
| do { |
| int alt29=2; |
| int LA29_0 = input.LA(1); |
| |
| if ( (LA29_0==19) ) { |
| alt29=1; |
| } |
| |
| |
| switch (alt29) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1218:1: (lv_ownedContexts_4_0= ruleContextDeclCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1218:1: (lv_ownedContexts_4_0= ruleContextDeclCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1219:3: lv_ownedContexts_4_0= ruleContextDeclCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPackageDeclarationCSAccess().getOwnedContextsContextDeclCSParserRuleCall_3_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleContextDeclCS_in_rulePackageDeclarationCS2437); |
| lv_ownedContexts_4_0=ruleContextDeclCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getPackageDeclarationCSRule()); |
| } |
| add( |
| current, |
| "ownedContexts", |
| lv_ownedContexts_4_0, |
| "ContextDeclCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop29; |
| } |
| } while (true); |
| |
| otherlv_5=(Token)match(input,36,FollowSets000.FOLLOW_36_in_rulePackageDeclarationCS2450); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getPackageDeclarationCSAccess().getEndpackageKeyword_4()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "rulePackageDeclarationCS" |
| |
| |
| // $ANTLR start "entryRuleParameterCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1247:1: entryRuleParameterCS returns [EObject current=null] : iv_ruleParameterCS= ruleParameterCS EOF ; |
| public final EObject entryRuleParameterCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleParameterCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1248:2: (iv_ruleParameterCS= ruleParameterCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1249:2: iv_ruleParameterCS= ruleParameterCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getParameterCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleParameterCS_in_entryRuleParameterCS2486); |
| iv_ruleParameterCS=ruleParameterCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleParameterCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleParameterCS2496); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleParameterCS" |
| |
| |
| // $ANTLR start "ruleParameterCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1256:1: ruleParameterCS returns [EObject current=null] : ( ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' )? ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) ) ; |
| public final EObject ruleParameterCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| AntlrDatatypeRuleToken lv_name_0_0 = null; |
| |
| EObject lv_ownedType_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1259:28: ( ( ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' )? ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1260:1: ( ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' )? ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1260:1: ( ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' )? ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1260:2: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' )? ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1260:2: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' )? |
| int alt30=2; |
| switch ( input.LA(1) ) { |
| case RULE_SIMPLE_ID: |
| { |
| int LA30_1 = input.LA(2); |
| |
| if ( (LA30_1==23) ) { |
| alt30=1; |
| } |
| } |
| break; |
| case RULE_ESCAPED_ID: |
| { |
| int LA30_2 = input.LA(2); |
| |
| if ( (LA30_2==23) ) { |
| alt30=1; |
| } |
| } |
| break; |
| case 28: |
| { |
| int LA30_3 = input.LA(2); |
| |
| if ( (LA30_3==23) ) { |
| alt30=1; |
| } |
| } |
| break; |
| case 29: |
| { |
| int LA30_4 = input.LA(2); |
| |
| if ( (LA30_4==23) ) { |
| alt30=1; |
| } |
| } |
| break; |
| case 30: |
| { |
| int LA30_5 = input.LA(2); |
| |
| if ( (LA30_5==23) ) { |
| alt30=1; |
| } |
| } |
| break; |
| } |
| |
| switch (alt30) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1260:3: ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1260:3: ( (lv_name_0_0= ruleUnrestrictedName ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1261:1: (lv_name_0_0= ruleUnrestrictedName ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1261:1: (lv_name_0_0= ruleUnrestrictedName ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1262:3: lv_name_0_0= ruleUnrestrictedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getParameterCSAccess().getNameUnrestrictedNameParserRuleCall_0_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleParameterCS2543); |
| lv_name_0_0=ruleUnrestrictedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getParameterCSRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_0_0, |
| "UnrestrictedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_1=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleParameterCS2555); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getParameterCSAccess().getColonKeyword_0_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1282:3: ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1283:1: (lv_ownedType_2_0= ruleComplexTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1283:1: (lv_ownedType_2_0= ruleComplexTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1284:3: lv_ownedType_2_0= ruleComplexTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getParameterCSAccess().getOwnedTypeComplexTypeCSParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_ruleParameterCS2578); |
| lv_ownedType_2_0=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getParameterCSRule()); |
| } |
| set( |
| current, |
| "ownedType", |
| lv_ownedType_2_0, |
| "ComplexTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleParameterCS" |
| |
| |
| // $ANTLR start "entryRulePropertyContextDeclCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1308:1: entryRulePropertyContextDeclCS returns [EObject current=null] : iv_rulePropertyContextDeclCS= rulePropertyContextDeclCS EOF ; |
| public final EObject entryRulePropertyContextDeclCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_rulePropertyContextDeclCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1309:2: (iv_rulePropertyContextDeclCS= rulePropertyContextDeclCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1310:2: iv_rulePropertyContextDeclCS= rulePropertyContextDeclCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getPropertyContextDeclCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePropertyContextDeclCS_in_entryRulePropertyContextDeclCS2614); |
| iv_rulePropertyContextDeclCS=rulePropertyContextDeclCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_rulePropertyContextDeclCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePropertyContextDeclCS2624); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRulePropertyContextDeclCS" |
| |
| |
| // $ANTLR start "rulePropertyContextDeclCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1317:1: rulePropertyContextDeclCS returns [EObject current=null] : (otherlv_0= 'context' ( (lv_ownedPathName_1_0= rulePathNameCS ) ) otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) ( (otherlv_4= 'derive' ( (lv_ownedDerivedInvariants_5_0= ruleConstraintCS ) ) ) | (otherlv_6= 'init' otherlv_7= ':' ( (lv_ownedDefaultExpressions_8_0= ruleSpecificationCS ) ) ) )* ) ; |
| public final EObject rulePropertyContextDeclCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_6=null; |
| Token otherlv_7=null; |
| EObject lv_ownedPathName_1_0 = null; |
| |
| EObject lv_ownedType_3_0 = null; |
| |
| EObject lv_ownedDerivedInvariants_5_0 = null; |
| |
| EObject lv_ownedDefaultExpressions_8_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1320:28: ( (otherlv_0= 'context' ( (lv_ownedPathName_1_0= rulePathNameCS ) ) otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) ( (otherlv_4= 'derive' ( (lv_ownedDerivedInvariants_5_0= ruleConstraintCS ) ) ) | (otherlv_6= 'init' otherlv_7= ':' ( (lv_ownedDefaultExpressions_8_0= ruleSpecificationCS ) ) ) )* ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1321:1: (otherlv_0= 'context' ( (lv_ownedPathName_1_0= rulePathNameCS ) ) otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) ( (otherlv_4= 'derive' ( (lv_ownedDerivedInvariants_5_0= ruleConstraintCS ) ) ) | (otherlv_6= 'init' otherlv_7= ':' ( (lv_ownedDefaultExpressions_8_0= ruleSpecificationCS ) ) ) )* ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1321:1: (otherlv_0= 'context' ( (lv_ownedPathName_1_0= rulePathNameCS ) ) otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) ( (otherlv_4= 'derive' ( (lv_ownedDerivedInvariants_5_0= ruleConstraintCS ) ) ) | (otherlv_6= 'init' otherlv_7= ':' ( (lv_ownedDefaultExpressions_8_0= ruleSpecificationCS ) ) ) )* ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1321:3: otherlv_0= 'context' ( (lv_ownedPathName_1_0= rulePathNameCS ) ) otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) ( (otherlv_4= 'derive' ( (lv_ownedDerivedInvariants_5_0= ruleConstraintCS ) ) ) | (otherlv_6= 'init' otherlv_7= ':' ( (lv_ownedDefaultExpressions_8_0= ruleSpecificationCS ) ) ) )* |
| { |
| otherlv_0=(Token)match(input,19,FollowSets000.FOLLOW_19_in_rulePropertyContextDeclCS2661); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getPropertyContextDeclCSAccess().getContextKeyword_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1325:1: ( (lv_ownedPathName_1_0= rulePathNameCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1326:1: (lv_ownedPathName_1_0= rulePathNameCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1326:1: (lv_ownedPathName_1_0= rulePathNameCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1327:3: lv_ownedPathName_1_0= rulePathNameCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPropertyContextDeclCSAccess().getOwnedPathNamePathNameCSParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePathNameCS_in_rulePropertyContextDeclCS2682); |
| lv_ownedPathName_1_0=rulePathNameCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getPropertyContextDeclCSRule()); |
| } |
| set( |
| current, |
| "ownedPathName", |
| lv_ownedPathName_1_0, |
| "PathNameCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_2=(Token)match(input,23,FollowSets000.FOLLOW_23_in_rulePropertyContextDeclCS2694); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getPropertyContextDeclCSAccess().getColonKeyword_2()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1347:1: ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1348:1: (lv_ownedType_3_0= ruleComplexTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1348:1: (lv_ownedType_3_0= ruleComplexTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1349:3: lv_ownedType_3_0= ruleComplexTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPropertyContextDeclCSAccess().getOwnedTypeComplexTypeCSParserRuleCall_3_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_rulePropertyContextDeclCS2715); |
| lv_ownedType_3_0=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getPropertyContextDeclCSRule()); |
| } |
| set( |
| current, |
| "ownedType", |
| lv_ownedType_3_0, |
| "ComplexTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1365:2: ( (otherlv_4= 'derive' ( (lv_ownedDerivedInvariants_5_0= ruleConstraintCS ) ) ) | (otherlv_6= 'init' otherlv_7= ':' ( (lv_ownedDefaultExpressions_8_0= ruleSpecificationCS ) ) ) )* |
| loop31: |
| do { |
| int alt31=3; |
| int LA31_0 = input.LA(1); |
| |
| if ( (LA31_0==37) ) { |
| alt31=1; |
| } |
| else if ( (LA31_0==38) ) { |
| alt31=2; |
| } |
| |
| |
| switch (alt31) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1365:3: (otherlv_4= 'derive' ( (lv_ownedDerivedInvariants_5_0= ruleConstraintCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1365:3: (otherlv_4= 'derive' ( (lv_ownedDerivedInvariants_5_0= ruleConstraintCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1365:5: otherlv_4= 'derive' ( (lv_ownedDerivedInvariants_5_0= ruleConstraintCS ) ) |
| { |
| otherlv_4=(Token)match(input,37,FollowSets000.FOLLOW_37_in_rulePropertyContextDeclCS2729); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getPropertyContextDeclCSAccess().getDeriveKeyword_4_0_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1369:1: ( (lv_ownedDerivedInvariants_5_0= ruleConstraintCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1370:1: (lv_ownedDerivedInvariants_5_0= ruleConstraintCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1370:1: (lv_ownedDerivedInvariants_5_0= ruleConstraintCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1371:3: lv_ownedDerivedInvariants_5_0= ruleConstraintCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPropertyContextDeclCSAccess().getOwnedDerivedInvariantsConstraintCSParserRuleCall_4_0_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleConstraintCS_in_rulePropertyContextDeclCS2750); |
| lv_ownedDerivedInvariants_5_0=ruleConstraintCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getPropertyContextDeclCSRule()); |
| } |
| add( |
| current, |
| "ownedDerivedInvariants", |
| lv_ownedDerivedInvariants_5_0, |
| "ConstraintCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1388:6: (otherlv_6= 'init' otherlv_7= ':' ( (lv_ownedDefaultExpressions_8_0= ruleSpecificationCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1388:6: (otherlv_6= 'init' otherlv_7= ':' ( (lv_ownedDefaultExpressions_8_0= ruleSpecificationCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1388:8: otherlv_6= 'init' otherlv_7= ':' ( (lv_ownedDefaultExpressions_8_0= ruleSpecificationCS ) ) |
| { |
| otherlv_6=(Token)match(input,38,FollowSets000.FOLLOW_38_in_rulePropertyContextDeclCS2770); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getPropertyContextDeclCSAccess().getInitKeyword_4_1_0()); |
| |
| } |
| otherlv_7=(Token)match(input,23,FollowSets000.FOLLOW_23_in_rulePropertyContextDeclCS2782); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getPropertyContextDeclCSAccess().getColonKeyword_4_1_1()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1396:1: ( (lv_ownedDefaultExpressions_8_0= ruleSpecificationCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1397:1: (lv_ownedDefaultExpressions_8_0= ruleSpecificationCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1397:1: (lv_ownedDefaultExpressions_8_0= ruleSpecificationCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1398:3: lv_ownedDefaultExpressions_8_0= ruleSpecificationCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPropertyContextDeclCSAccess().getOwnedDefaultExpressionsSpecificationCSParserRuleCall_4_1_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleSpecificationCS_in_rulePropertyContextDeclCS2803); |
| lv_ownedDefaultExpressions_8_0=ruleSpecificationCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getPropertyContextDeclCSRule()); |
| } |
| add( |
| current, |
| "ownedDefaultExpressions", |
| lv_ownedDefaultExpressions_8_0, |
| "SpecificationCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop31; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "rulePropertyContextDeclCS" |
| |
| |
| // $ANTLR start "entryRuleSpecificationCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1422:1: entryRuleSpecificationCS returns [EObject current=null] : iv_ruleSpecificationCS= ruleSpecificationCS EOF ; |
| public final EObject entryRuleSpecificationCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleSpecificationCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1423:2: (iv_ruleSpecificationCS= ruleSpecificationCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1424:2: iv_ruleSpecificationCS= ruleSpecificationCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getSpecificationCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleSpecificationCS_in_entryRuleSpecificationCS2842); |
| iv_ruleSpecificationCS=ruleSpecificationCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleSpecificationCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleSpecificationCS2852); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleSpecificationCS" |
| |
| |
| // $ANTLR start "ruleSpecificationCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1431:1: ruleSpecificationCS returns [EObject current=null] : ( ( (lv_ownedExpression_0_0= ruleExpCS ) ) | ( (lv_exprString_1_0= RULE_UNQUOTED_STRING ) ) ) ; |
| public final EObject ruleSpecificationCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_exprString_1_0=null; |
| EObject lv_ownedExpression_0_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1434:28: ( ( ( (lv_ownedExpression_0_0= ruleExpCS ) ) | ( (lv_exprString_1_0= RULE_UNQUOTED_STRING ) ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1435:1: ( ( (lv_ownedExpression_0_0= ruleExpCS ) ) | ( (lv_exprString_1_0= RULE_UNQUOTED_STRING ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1435:1: ( ( (lv_ownedExpression_0_0= ruleExpCS ) ) | ( (lv_exprString_1_0= RULE_UNQUOTED_STRING ) ) ) |
| int alt32=2; |
| int LA32_0 = input.LA(1); |
| |
| if ( ((LA32_0>=RULE_SIMPLE_ID && LA32_0<=RULE_SINGLE_QUOTED_STRING)||LA32_0==21||(LA32_0>=28 && LA32_0<=30)||(LA32_0>=40 && LA32_0<=52)||(LA32_0>=68 && LA32_0<=69)||(LA32_0>=71 && LA32_0<=76)||(LA32_0>=82 && LA32_0<=85)||LA32_0==92||(LA32_0>=97 && LA32_0<=98)) ) { |
| alt32=1; |
| } |
| else if ( (LA32_0==RULE_UNQUOTED_STRING) ) { |
| alt32=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 32, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt32) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1435:2: ( (lv_ownedExpression_0_0= ruleExpCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1435:2: ( (lv_ownedExpression_0_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1436:1: (lv_ownedExpression_0_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1436:1: (lv_ownedExpression_0_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1437:3: lv_ownedExpression_0_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getSpecificationCSAccess().getOwnedExpressionExpCSParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleSpecificationCS2898); |
| lv_ownedExpression_0_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getSpecificationCSRule()); |
| } |
| set( |
| current, |
| "ownedExpression", |
| lv_ownedExpression_0_0, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1454:6: ( (lv_exprString_1_0= RULE_UNQUOTED_STRING ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1454:6: ( (lv_exprString_1_0= RULE_UNQUOTED_STRING ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1455:1: (lv_exprString_1_0= RULE_UNQUOTED_STRING ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1455:1: (lv_exprString_1_0= RULE_UNQUOTED_STRING ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1456:3: lv_exprString_1_0= RULE_UNQUOTED_STRING |
| { |
| lv_exprString_1_0=(Token)match(input,RULE_UNQUOTED_STRING,FollowSets000.FOLLOW_RULE_UNQUOTED_STRING_in_ruleSpecificationCS2921); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_exprString_1_0, grammarAccess.getSpecificationCSAccess().getExprStringUNQUOTED_STRINGTerminalRuleCall_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getSpecificationCSRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "exprString", |
| lv_exprString_1_0, |
| "UNQUOTED_STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleSpecificationCS" |
| |
| |
| // $ANTLR start "entryRuleUnrestrictedName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1480:1: entryRuleUnrestrictedName returns [String current=null] : iv_ruleUnrestrictedName= ruleUnrestrictedName EOF ; |
| public final String entryRuleUnrestrictedName() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleUnrestrictedName = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1481:2: (iv_ruleUnrestrictedName= ruleUnrestrictedName EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1482:2: iv_ruleUnrestrictedName= ruleUnrestrictedName EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getUnrestrictedNameRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_entryRuleUnrestrictedName2963); |
| iv_ruleUnrestrictedName=ruleUnrestrictedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleUnrestrictedName.getText(); |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleUnrestrictedName2974); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleUnrestrictedName" |
| |
| |
| // $ANTLR start "ruleUnrestrictedName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1489:1: ruleUnrestrictedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_EssentialOCLUnrestrictedName_0= ruleEssentialOCLUnrestrictedName | kw= 'import' | kw= 'include' | kw= 'library' ) ; |
| public final AntlrDatatypeRuleToken ruleUnrestrictedName() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| AntlrDatatypeRuleToken this_EssentialOCLUnrestrictedName_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1492:28: ( (this_EssentialOCLUnrestrictedName_0= ruleEssentialOCLUnrestrictedName | kw= 'import' | kw= 'include' | kw= 'library' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1493:1: (this_EssentialOCLUnrestrictedName_0= ruleEssentialOCLUnrestrictedName | kw= 'import' | kw= 'include' | kw= 'library' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1493:1: (this_EssentialOCLUnrestrictedName_0= ruleEssentialOCLUnrestrictedName | kw= 'import' | kw= 'include' | kw= 'library' ) |
| int alt33=4; |
| switch ( input.LA(1) ) { |
| case RULE_SIMPLE_ID: |
| case RULE_ESCAPED_ID: |
| { |
| alt33=1; |
| } |
| break; |
| case 28: |
| { |
| alt33=2; |
| } |
| break; |
| case 29: |
| { |
| alt33=3; |
| } |
| break; |
| case 30: |
| { |
| alt33=4; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 33, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt33) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1494:5: this_EssentialOCLUnrestrictedName_0= ruleEssentialOCLUnrestrictedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getUnrestrictedNameAccess().getEssentialOCLUnrestrictedNameParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLUnrestrictedName_in_ruleUnrestrictedName3021); |
| this_EssentialOCLUnrestrictedName_0=ruleEssentialOCLUnrestrictedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_EssentialOCLUnrestrictedName_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1506:2: kw= 'import' |
| { |
| kw=(Token)match(input,28,FollowSets000.FOLLOW_28_in_ruleUnrestrictedName3045); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getUnrestrictedNameAccess().getImportKeyword_1()); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1513:2: kw= 'include' |
| { |
| kw=(Token)match(input,29,FollowSets000.FOLLOW_29_in_ruleUnrestrictedName3064); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getUnrestrictedNameAccess().getIncludeKeyword_2()); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1520:2: kw= 'library' |
| { |
| kw=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleUnrestrictedName3083); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getUnrestrictedNameAccess().getLibraryKeyword_3()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleUnrestrictedName" |
| |
| |
| // $ANTLR start "entryRuleNavigatingArgExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1533:1: entryRuleNavigatingArgExpCS returns [EObject current=null] : iv_ruleNavigatingArgExpCS= ruleNavigatingArgExpCS EOF ; |
| public final EObject entryRuleNavigatingArgExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleNavigatingArgExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1534:2: (iv_ruleNavigatingArgExpCS= ruleNavigatingArgExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1535:2: iv_ruleNavigatingArgExpCS= ruleNavigatingArgExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getNavigatingArgExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingArgExpCS_in_entryRuleNavigatingArgExpCS3123); |
| iv_ruleNavigatingArgExpCS=ruleNavigatingArgExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleNavigatingArgExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNavigatingArgExpCS3133); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleNavigatingArgExpCS" |
| |
| |
| // $ANTLR start "ruleNavigatingArgExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1542:1: ruleNavigatingArgExpCS returns [EObject current=null] : ( ( () otherlv_1= '?' ) | this_ExpCS_2= ruleExpCS ) ; |
| public final EObject ruleNavigatingArgExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| EObject this_ExpCS_2 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1545:28: ( ( ( () otherlv_1= '?' ) | this_ExpCS_2= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1546:1: ( ( () otherlv_1= '?' ) | this_ExpCS_2= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1546:1: ( ( () otherlv_1= '?' ) | this_ExpCS_2= ruleExpCS ) |
| int alt34=2; |
| int LA34_0 = input.LA(1); |
| |
| if ( (LA34_0==39) ) { |
| alt34=1; |
| } |
| else if ( ((LA34_0>=RULE_SIMPLE_ID && LA34_0<=RULE_SINGLE_QUOTED_STRING)||LA34_0==21||(LA34_0>=28 && LA34_0<=30)||(LA34_0>=40 && LA34_0<=52)||(LA34_0>=68 && LA34_0<=69)||(LA34_0>=71 && LA34_0<=76)||(LA34_0>=82 && LA34_0<=85)||LA34_0==92||(LA34_0>=97 && LA34_0<=98)) ) { |
| alt34=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 34, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt34) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1546:2: ( () otherlv_1= '?' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1546:2: ( () otherlv_1= '?' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1546:3: () otherlv_1= '?' |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1546:3: () |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1547:2: |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getNavigatingArgExpCSAccess().getOCLMessageArgCSAction_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,39,FollowSets000.FOLLOW_39_in_ruleNavigatingArgExpCS3183); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getNavigatingArgExpCSAccess().getQuestionMarkKeyword_0_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1561:2: this_ExpCS_2= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNavigatingArgExpCSAccess().getExpCSParserRuleCall_1()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleNavigatingArgExpCS3215); |
| this_ExpCS_2=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_ExpCS_2; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleNavigatingArgExpCS" |
| |
| |
| // $ANTLR start "entryRuleNavigationOperatorName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1580:1: entryRuleNavigationOperatorName returns [String current=null] : iv_ruleNavigationOperatorName= ruleNavigationOperatorName EOF ; |
| public final String entryRuleNavigationOperatorName() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleNavigationOperatorName = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1581:2: (iv_ruleNavigationOperatorName= ruleNavigationOperatorName EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1582:2: iv_ruleNavigationOperatorName= ruleNavigationOperatorName EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getNavigationOperatorNameRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNavigationOperatorName_in_entryRuleNavigationOperatorName3251); |
| iv_ruleNavigationOperatorName=ruleNavigationOperatorName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleNavigationOperatorName.getText(); |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNavigationOperatorName3262); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleNavigationOperatorName" |
| |
| |
| // $ANTLR start "ruleNavigationOperatorName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1589:1: ruleNavigationOperatorName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_EssentialOCLNavigationOperatorName_0= ruleEssentialOCLNavigationOperatorName | this_CompleteOCLNavigationOperatorName_1= ruleCompleteOCLNavigationOperatorName ) ; |
| public final AntlrDatatypeRuleToken ruleNavigationOperatorName() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| AntlrDatatypeRuleToken this_EssentialOCLNavigationOperatorName_0 = null; |
| |
| AntlrDatatypeRuleToken this_CompleteOCLNavigationOperatorName_1 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1592:28: ( (this_EssentialOCLNavigationOperatorName_0= ruleEssentialOCLNavigationOperatorName | this_CompleteOCLNavigationOperatorName_1= ruleCompleteOCLNavigationOperatorName ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1593:1: (this_EssentialOCLNavigationOperatorName_0= ruleEssentialOCLNavigationOperatorName | this_CompleteOCLNavigationOperatorName_1= ruleCompleteOCLNavigationOperatorName ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1593:1: (this_EssentialOCLNavigationOperatorName_0= ruleEssentialOCLNavigationOperatorName | this_CompleteOCLNavigationOperatorName_1= ruleCompleteOCLNavigationOperatorName ) |
| int alt35=2; |
| int LA35_0 = input.LA(1); |
| |
| if ( ((LA35_0>=64 && LA35_0<=67)) ) { |
| alt35=1; |
| } |
| else if ( ((LA35_0>=17 && LA35_0<=18)) ) { |
| alt35=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 35, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt35) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1594:5: this_EssentialOCLNavigationOperatorName_0= ruleEssentialOCLNavigationOperatorName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNavigationOperatorNameAccess().getEssentialOCLNavigationOperatorNameParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLNavigationOperatorName_in_ruleNavigationOperatorName3309); |
| this_EssentialOCLNavigationOperatorName_0=ruleEssentialOCLNavigationOperatorName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_EssentialOCLNavigationOperatorName_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1606:5: this_CompleteOCLNavigationOperatorName_1= ruleCompleteOCLNavigationOperatorName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNavigationOperatorNameAccess().getCompleteOCLNavigationOperatorNameParserRuleCall_1()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCompleteOCLNavigationOperatorName_in_ruleNavigationOperatorName3342); |
| this_CompleteOCLNavigationOperatorName_1=ruleCompleteOCLNavigationOperatorName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_CompleteOCLNavigationOperatorName_1); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleNavigationOperatorName" |
| |
| |
| // $ANTLR start "entryRulePrimitiveTypeIdentifier" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1624:1: entryRulePrimitiveTypeIdentifier returns [String current=null] : iv_rulePrimitiveTypeIdentifier= rulePrimitiveTypeIdentifier EOF ; |
| public final String entryRulePrimitiveTypeIdentifier() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_rulePrimitiveTypeIdentifier = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1625:2: (iv_rulePrimitiveTypeIdentifier= rulePrimitiveTypeIdentifier EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1626:2: iv_rulePrimitiveTypeIdentifier= rulePrimitiveTypeIdentifier EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getPrimitiveTypeIdentifierRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePrimitiveTypeIdentifier_in_entryRulePrimitiveTypeIdentifier3388); |
| iv_rulePrimitiveTypeIdentifier=rulePrimitiveTypeIdentifier(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_rulePrimitiveTypeIdentifier.getText(); |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePrimitiveTypeIdentifier3399); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRulePrimitiveTypeIdentifier" |
| |
| |
| // $ANTLR start "rulePrimitiveTypeIdentifier" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1633:1: rulePrimitiveTypeIdentifier returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'Boolean' | kw= 'Integer' | kw= 'Real' | kw= 'String' | kw= 'UnlimitedNatural' | kw= 'OclAny' | kw= 'OclInvalid' | kw= 'OclMessage' | kw= 'OclState' | kw= 'OclVoid' ) ; |
| public final AntlrDatatypeRuleToken rulePrimitiveTypeIdentifier() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1636:28: ( (kw= 'Boolean' | kw= 'Integer' | kw= 'Real' | kw= 'String' | kw= 'UnlimitedNatural' | kw= 'OclAny' | kw= 'OclInvalid' | kw= 'OclMessage' | kw= 'OclState' | kw= 'OclVoid' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1637:1: (kw= 'Boolean' | kw= 'Integer' | kw= 'Real' | kw= 'String' | kw= 'UnlimitedNatural' | kw= 'OclAny' | kw= 'OclInvalid' | kw= 'OclMessage' | kw= 'OclState' | kw= 'OclVoid' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1637:1: (kw= 'Boolean' | kw= 'Integer' | kw= 'Real' | kw= 'String' | kw= 'UnlimitedNatural' | kw= 'OclAny' | kw= 'OclInvalid' | kw= 'OclMessage' | kw= 'OclState' | kw= 'OclVoid' ) |
| int alt36=10; |
| switch ( input.LA(1) ) { |
| case 40: |
| { |
| alt36=1; |
| } |
| break; |
| case 41: |
| { |
| alt36=2; |
| } |
| break; |
| case 42: |
| { |
| alt36=3; |
| } |
| break; |
| case 43: |
| { |
| alt36=4; |
| } |
| break; |
| case 44: |
| { |
| alt36=5; |
| } |
| break; |
| case 45: |
| { |
| alt36=6; |
| } |
| break; |
| case 46: |
| { |
| alt36=7; |
| } |
| break; |
| case 47: |
| { |
| alt36=8; |
| } |
| break; |
| case 48: |
| { |
| alt36=9; |
| } |
| break; |
| case 49: |
| { |
| alt36=10; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 36, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt36) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1638:2: kw= 'Boolean' |
| { |
| kw=(Token)match(input,40,FollowSets000.FOLLOW_40_in_rulePrimitiveTypeIdentifier3437); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getPrimitiveTypeIdentifierAccess().getBooleanKeyword_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1645:2: kw= 'Integer' |
| { |
| kw=(Token)match(input,41,FollowSets000.FOLLOW_41_in_rulePrimitiveTypeIdentifier3456); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getPrimitiveTypeIdentifierAccess().getIntegerKeyword_1()); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1652:2: kw= 'Real' |
| { |
| kw=(Token)match(input,42,FollowSets000.FOLLOW_42_in_rulePrimitiveTypeIdentifier3475); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getPrimitiveTypeIdentifierAccess().getRealKeyword_2()); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1659:2: kw= 'String' |
| { |
| kw=(Token)match(input,43,FollowSets000.FOLLOW_43_in_rulePrimitiveTypeIdentifier3494); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getPrimitiveTypeIdentifierAccess().getStringKeyword_3()); |
| |
| } |
| |
| } |
| break; |
| case 5 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1666:2: kw= 'UnlimitedNatural' |
| { |
| kw=(Token)match(input,44,FollowSets000.FOLLOW_44_in_rulePrimitiveTypeIdentifier3513); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getPrimitiveTypeIdentifierAccess().getUnlimitedNaturalKeyword_4()); |
| |
| } |
| |
| } |
| break; |
| case 6 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1673:2: kw= 'OclAny' |
| { |
| kw=(Token)match(input,45,FollowSets000.FOLLOW_45_in_rulePrimitiveTypeIdentifier3532); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getPrimitiveTypeIdentifierAccess().getOclAnyKeyword_5()); |
| |
| } |
| |
| } |
| break; |
| case 7 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1680:2: kw= 'OclInvalid' |
| { |
| kw=(Token)match(input,46,FollowSets000.FOLLOW_46_in_rulePrimitiveTypeIdentifier3551); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getPrimitiveTypeIdentifierAccess().getOclInvalidKeyword_6()); |
| |
| } |
| |
| } |
| break; |
| case 8 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1687:2: kw= 'OclMessage' |
| { |
| kw=(Token)match(input,47,FollowSets000.FOLLOW_47_in_rulePrimitiveTypeIdentifier3570); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getPrimitiveTypeIdentifierAccess().getOclMessageKeyword_7()); |
| |
| } |
| |
| } |
| break; |
| case 9 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1694:2: kw= 'OclState' |
| { |
| kw=(Token)match(input,48,FollowSets000.FOLLOW_48_in_rulePrimitiveTypeIdentifier3589); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getPrimitiveTypeIdentifierAccess().getOclStateKeyword_8()); |
| |
| } |
| |
| } |
| break; |
| case 10 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1701:2: kw= 'OclVoid' |
| { |
| kw=(Token)match(input,49,FollowSets000.FOLLOW_49_in_rulePrimitiveTypeIdentifier3608); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getPrimitiveTypeIdentifierAccess().getOclVoidKeyword_9()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "rulePrimitiveTypeIdentifier" |
| |
| |
| // $ANTLR start "entryRuleEssentialOCLUnaryOperatorName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1718:1: entryRuleEssentialOCLUnaryOperatorName returns [String current=null] : iv_ruleEssentialOCLUnaryOperatorName= ruleEssentialOCLUnaryOperatorName EOF ; |
| public final String entryRuleEssentialOCLUnaryOperatorName() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleEssentialOCLUnaryOperatorName = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1719:2: (iv_ruleEssentialOCLUnaryOperatorName= ruleEssentialOCLUnaryOperatorName EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1720:2: iv_ruleEssentialOCLUnaryOperatorName= ruleEssentialOCLUnaryOperatorName EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getEssentialOCLUnaryOperatorNameRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLUnaryOperatorName_in_entryRuleEssentialOCLUnaryOperatorName3653); |
| iv_ruleEssentialOCLUnaryOperatorName=ruleEssentialOCLUnaryOperatorName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleEssentialOCLUnaryOperatorName.getText(); |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEssentialOCLUnaryOperatorName3664); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleEssentialOCLUnaryOperatorName" |
| |
| |
| // $ANTLR start "ruleEssentialOCLUnaryOperatorName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1727:1: ruleEssentialOCLUnaryOperatorName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '-' | kw= 'not' ) ; |
| public final AntlrDatatypeRuleToken ruleEssentialOCLUnaryOperatorName() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1730:28: ( (kw= '-' | kw= 'not' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1731:1: (kw= '-' | kw= 'not' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1731:1: (kw= '-' | kw= 'not' ) |
| int alt37=2; |
| int LA37_0 = input.LA(1); |
| |
| if ( (LA37_0==50) ) { |
| alt37=1; |
| } |
| else if ( (LA37_0==51) ) { |
| alt37=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 37, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt37) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1732:2: kw= '-' |
| { |
| kw=(Token)match(input,50,FollowSets000.FOLLOW_50_in_ruleEssentialOCLUnaryOperatorName3702); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getEssentialOCLUnaryOperatorNameAccess().getHyphenMinusKeyword_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1739:2: kw= 'not' |
| { |
| kw=(Token)match(input,51,FollowSets000.FOLLOW_51_in_ruleEssentialOCLUnaryOperatorName3721); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getEssentialOCLUnaryOperatorNameAccess().getNotKeyword_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleEssentialOCLUnaryOperatorName" |
| |
| |
| // $ANTLR start "entryRuleEssentialOCLInfixOperatorName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1752:1: entryRuleEssentialOCLInfixOperatorName returns [String current=null] : iv_ruleEssentialOCLInfixOperatorName= ruleEssentialOCLInfixOperatorName EOF ; |
| public final String entryRuleEssentialOCLInfixOperatorName() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleEssentialOCLInfixOperatorName = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1753:2: (iv_ruleEssentialOCLInfixOperatorName= ruleEssentialOCLInfixOperatorName EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1754:2: iv_ruleEssentialOCLInfixOperatorName= ruleEssentialOCLInfixOperatorName EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getEssentialOCLInfixOperatorNameRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLInfixOperatorName_in_entryRuleEssentialOCLInfixOperatorName3762); |
| iv_ruleEssentialOCLInfixOperatorName=ruleEssentialOCLInfixOperatorName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleEssentialOCLInfixOperatorName.getText(); |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEssentialOCLInfixOperatorName3773); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleEssentialOCLInfixOperatorName" |
| |
| |
| // $ANTLR start "ruleEssentialOCLInfixOperatorName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1761:1: ruleEssentialOCLInfixOperatorName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '*' | kw= '/' | kw= '+' | kw= '-' | kw= '>' | kw= '<' | kw= '>=' | kw= '<=' | kw= '=' | kw= '<>' | kw= 'and' | kw= 'or' | kw= 'xor' | kw= 'implies' ) ; |
| public final AntlrDatatypeRuleToken ruleEssentialOCLInfixOperatorName() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1764:28: ( (kw= '*' | kw= '/' | kw= '+' | kw= '-' | kw= '>' | kw= '<' | kw= '>=' | kw= '<=' | kw= '=' | kw= '<>' | kw= 'and' | kw= 'or' | kw= 'xor' | kw= 'implies' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1765:1: (kw= '*' | kw= '/' | kw= '+' | kw= '-' | kw= '>' | kw= '<' | kw= '>=' | kw= '<=' | kw= '=' | kw= '<>' | kw= 'and' | kw= 'or' | kw= 'xor' | kw= 'implies' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1765:1: (kw= '*' | kw= '/' | kw= '+' | kw= '-' | kw= '>' | kw= '<' | kw= '>=' | kw= '<=' | kw= '=' | kw= '<>' | kw= 'and' | kw= 'or' | kw= 'xor' | kw= 'implies' ) |
| int alt38=14; |
| switch ( input.LA(1) ) { |
| case 52: |
| { |
| alt38=1; |
| } |
| break; |
| case 53: |
| { |
| alt38=2; |
| } |
| break; |
| case 54: |
| { |
| alt38=3; |
| } |
| break; |
| case 50: |
| { |
| alt38=4; |
| } |
| break; |
| case 55: |
| { |
| alt38=5; |
| } |
| break; |
| case 56: |
| { |
| alt38=6; |
| } |
| break; |
| case 57: |
| { |
| alt38=7; |
| } |
| break; |
| case 58: |
| { |
| alt38=8; |
| } |
| break; |
| case 27: |
| { |
| alt38=9; |
| } |
| break; |
| case 59: |
| { |
| alt38=10; |
| } |
| break; |
| case 60: |
| { |
| alt38=11; |
| } |
| break; |
| case 61: |
| { |
| alt38=12; |
| } |
| break; |
| case 62: |
| { |
| alt38=13; |
| } |
| break; |
| case 63: |
| { |
| alt38=14; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 38, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt38) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1766:2: kw= '*' |
| { |
| kw=(Token)match(input,52,FollowSets000.FOLLOW_52_in_ruleEssentialOCLInfixOperatorName3811); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getEssentialOCLInfixOperatorNameAccess().getAsteriskKeyword_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1773:2: kw= '/' |
| { |
| kw=(Token)match(input,53,FollowSets000.FOLLOW_53_in_ruleEssentialOCLInfixOperatorName3830); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getEssentialOCLInfixOperatorNameAccess().getSolidusKeyword_1()); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1780:2: kw= '+' |
| { |
| kw=(Token)match(input,54,FollowSets000.FOLLOW_54_in_ruleEssentialOCLInfixOperatorName3849); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getEssentialOCLInfixOperatorNameAccess().getPlusSignKeyword_2()); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1787:2: kw= '-' |
| { |
| kw=(Token)match(input,50,FollowSets000.FOLLOW_50_in_ruleEssentialOCLInfixOperatorName3868); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getEssentialOCLInfixOperatorNameAccess().getHyphenMinusKeyword_3()); |
| |
| } |
| |
| } |
| break; |
| case 5 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1794:2: kw= '>' |
| { |
| kw=(Token)match(input,55,FollowSets000.FOLLOW_55_in_ruleEssentialOCLInfixOperatorName3887); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getEssentialOCLInfixOperatorNameAccess().getGreaterThanSignKeyword_4()); |
| |
| } |
| |
| } |
| break; |
| case 6 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1801:2: kw= '<' |
| { |
| kw=(Token)match(input,56,FollowSets000.FOLLOW_56_in_ruleEssentialOCLInfixOperatorName3906); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getEssentialOCLInfixOperatorNameAccess().getLessThanSignKeyword_5()); |
| |
| } |
| |
| } |
| break; |
| case 7 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1808:2: kw= '>=' |
| { |
| kw=(Token)match(input,57,FollowSets000.FOLLOW_57_in_ruleEssentialOCLInfixOperatorName3925); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getEssentialOCLInfixOperatorNameAccess().getGreaterThanSignEqualsSignKeyword_6()); |
| |
| } |
| |
| } |
| break; |
| case 8 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1815:2: kw= '<=' |
| { |
| kw=(Token)match(input,58,FollowSets000.FOLLOW_58_in_ruleEssentialOCLInfixOperatorName3944); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getEssentialOCLInfixOperatorNameAccess().getLessThanSignEqualsSignKeyword_7()); |
| |
| } |
| |
| } |
| break; |
| case 9 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1822:2: kw= '=' |
| { |
| kw=(Token)match(input,27,FollowSets000.FOLLOW_27_in_ruleEssentialOCLInfixOperatorName3963); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getEssentialOCLInfixOperatorNameAccess().getEqualsSignKeyword_8()); |
| |
| } |
| |
| } |
| break; |
| case 10 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1829:2: kw= '<>' |
| { |
| kw=(Token)match(input,59,FollowSets000.FOLLOW_59_in_ruleEssentialOCLInfixOperatorName3982); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getEssentialOCLInfixOperatorNameAccess().getLessThanSignGreaterThanSignKeyword_9()); |
| |
| } |
| |
| } |
| break; |
| case 11 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1836:2: kw= 'and' |
| { |
| kw=(Token)match(input,60,FollowSets000.FOLLOW_60_in_ruleEssentialOCLInfixOperatorName4001); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getEssentialOCLInfixOperatorNameAccess().getAndKeyword_10()); |
| |
| } |
| |
| } |
| break; |
| case 12 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1843:2: kw= 'or' |
| { |
| kw=(Token)match(input,61,FollowSets000.FOLLOW_61_in_ruleEssentialOCLInfixOperatorName4020); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getEssentialOCLInfixOperatorNameAccess().getOrKeyword_11()); |
| |
| } |
| |
| } |
| break; |
| case 13 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1850:2: kw= 'xor' |
| { |
| kw=(Token)match(input,62,FollowSets000.FOLLOW_62_in_ruleEssentialOCLInfixOperatorName4039); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getEssentialOCLInfixOperatorNameAccess().getXorKeyword_12()); |
| |
| } |
| |
| } |
| break; |
| case 14 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1857:2: kw= 'implies' |
| { |
| kw=(Token)match(input,63,FollowSets000.FOLLOW_63_in_ruleEssentialOCLInfixOperatorName4058); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getEssentialOCLInfixOperatorNameAccess().getImpliesKeyword_13()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleEssentialOCLInfixOperatorName" |
| |
| |
| // $ANTLR start "entryRuleEssentialOCLNavigationOperatorName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1870:1: entryRuleEssentialOCLNavigationOperatorName returns [String current=null] : iv_ruleEssentialOCLNavigationOperatorName= ruleEssentialOCLNavigationOperatorName EOF ; |
| public final String entryRuleEssentialOCLNavigationOperatorName() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleEssentialOCLNavigationOperatorName = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1871:2: (iv_ruleEssentialOCLNavigationOperatorName= ruleEssentialOCLNavigationOperatorName EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1872:2: iv_ruleEssentialOCLNavigationOperatorName= ruleEssentialOCLNavigationOperatorName EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getEssentialOCLNavigationOperatorNameRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLNavigationOperatorName_in_entryRuleEssentialOCLNavigationOperatorName4099); |
| iv_ruleEssentialOCLNavigationOperatorName=ruleEssentialOCLNavigationOperatorName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleEssentialOCLNavigationOperatorName.getText(); |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEssentialOCLNavigationOperatorName4110); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleEssentialOCLNavigationOperatorName" |
| |
| |
| // $ANTLR start "ruleEssentialOCLNavigationOperatorName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1879:1: ruleEssentialOCLNavigationOperatorName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '.' | kw= '->' | kw= '?.' | kw= '?->' ) ; |
| public final AntlrDatatypeRuleToken ruleEssentialOCLNavigationOperatorName() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1882:28: ( (kw= '.' | kw= '->' | kw= '?.' | kw= '?->' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1883:1: (kw= '.' | kw= '->' | kw= '?.' | kw= '?->' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1883:1: (kw= '.' | kw= '->' | kw= '?.' | kw= '?->' ) |
| int alt39=4; |
| switch ( input.LA(1) ) { |
| case 64: |
| { |
| alt39=1; |
| } |
| break; |
| case 65: |
| { |
| alt39=2; |
| } |
| break; |
| case 66: |
| { |
| alt39=3; |
| } |
| break; |
| case 67: |
| { |
| alt39=4; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 39, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt39) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1884:2: kw= '.' |
| { |
| kw=(Token)match(input,64,FollowSets000.FOLLOW_64_in_ruleEssentialOCLNavigationOperatorName4148); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getEssentialOCLNavigationOperatorNameAccess().getFullStopKeyword_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1891:2: kw= '->' |
| { |
| kw=(Token)match(input,65,FollowSets000.FOLLOW_65_in_ruleEssentialOCLNavigationOperatorName4167); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getEssentialOCLNavigationOperatorNameAccess().getHyphenMinusGreaterThanSignKeyword_1()); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1898:2: kw= '?.' |
| { |
| kw=(Token)match(input,66,FollowSets000.FOLLOW_66_in_ruleEssentialOCLNavigationOperatorName4186); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getEssentialOCLNavigationOperatorNameAccess().getQuestionMarkFullStopKeyword_2()); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1905:2: kw= '?->' |
| { |
| kw=(Token)match(input,67,FollowSets000.FOLLOW_67_in_ruleEssentialOCLNavigationOperatorName4205); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getEssentialOCLNavigationOperatorNameAccess().getQuestionMarkHyphenMinusGreaterThanSignKeyword_3()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleEssentialOCLNavigationOperatorName" |
| |
| |
| // $ANTLR start "entryRuleBinaryOperatorName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1918:1: entryRuleBinaryOperatorName returns [String current=null] : iv_ruleBinaryOperatorName= ruleBinaryOperatorName EOF ; |
| public final String entryRuleBinaryOperatorName() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleBinaryOperatorName = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1919:2: (iv_ruleBinaryOperatorName= ruleBinaryOperatorName EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1920:2: iv_ruleBinaryOperatorName= ruleBinaryOperatorName EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getBinaryOperatorNameRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleBinaryOperatorName_in_entryRuleBinaryOperatorName4246); |
| iv_ruleBinaryOperatorName=ruleBinaryOperatorName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleBinaryOperatorName.getText(); |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleBinaryOperatorName4257); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleBinaryOperatorName" |
| |
| |
| // $ANTLR start "ruleBinaryOperatorName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1927:1: ruleBinaryOperatorName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_InfixOperatorName_0= ruleInfixOperatorName | this_NavigationOperatorName_1= ruleNavigationOperatorName ) ; |
| public final AntlrDatatypeRuleToken ruleBinaryOperatorName() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| AntlrDatatypeRuleToken this_InfixOperatorName_0 = null; |
| |
| AntlrDatatypeRuleToken this_NavigationOperatorName_1 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1930:28: ( (this_InfixOperatorName_0= ruleInfixOperatorName | this_NavigationOperatorName_1= ruleNavigationOperatorName ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1931:1: (this_InfixOperatorName_0= ruleInfixOperatorName | this_NavigationOperatorName_1= ruleNavigationOperatorName ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1931:1: (this_InfixOperatorName_0= ruleInfixOperatorName | this_NavigationOperatorName_1= ruleNavigationOperatorName ) |
| int alt40=2; |
| int LA40_0 = input.LA(1); |
| |
| if ( (LA40_0==27||LA40_0==50||(LA40_0>=52 && LA40_0<=63)) ) { |
| alt40=1; |
| } |
| else if ( ((LA40_0>=17 && LA40_0<=18)||(LA40_0>=64 && LA40_0<=67)) ) { |
| alt40=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 40, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt40) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1932:5: this_InfixOperatorName_0= ruleInfixOperatorName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBinaryOperatorNameAccess().getInfixOperatorNameParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleInfixOperatorName_in_ruleBinaryOperatorName4304); |
| this_InfixOperatorName_0=ruleInfixOperatorName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_InfixOperatorName_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1944:5: this_NavigationOperatorName_1= ruleNavigationOperatorName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBinaryOperatorNameAccess().getNavigationOperatorNameParserRuleCall_1()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNavigationOperatorName_in_ruleBinaryOperatorName4337); |
| this_NavigationOperatorName_1=ruleNavigationOperatorName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_NavigationOperatorName_1); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleBinaryOperatorName" |
| |
| |
| // $ANTLR start "entryRuleInfixOperatorName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1962:1: entryRuleInfixOperatorName returns [String current=null] : iv_ruleInfixOperatorName= ruleInfixOperatorName EOF ; |
| public final String entryRuleInfixOperatorName() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleInfixOperatorName = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1963:2: (iv_ruleInfixOperatorName= ruleInfixOperatorName EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1964:2: iv_ruleInfixOperatorName= ruleInfixOperatorName EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getInfixOperatorNameRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleInfixOperatorName_in_entryRuleInfixOperatorName4383); |
| iv_ruleInfixOperatorName=ruleInfixOperatorName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleInfixOperatorName.getText(); |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleInfixOperatorName4394); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleInfixOperatorName" |
| |
| |
| // $ANTLR start "ruleInfixOperatorName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1971:1: ruleInfixOperatorName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_EssentialOCLInfixOperatorName_0= ruleEssentialOCLInfixOperatorName ; |
| public final AntlrDatatypeRuleToken ruleInfixOperatorName() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| AntlrDatatypeRuleToken this_EssentialOCLInfixOperatorName_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1974:28: (this_EssentialOCLInfixOperatorName_0= ruleEssentialOCLInfixOperatorName ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1976:5: this_EssentialOCLInfixOperatorName_0= ruleEssentialOCLInfixOperatorName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getInfixOperatorNameAccess().getEssentialOCLInfixOperatorNameParserRuleCall()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLInfixOperatorName_in_ruleInfixOperatorName4440); |
| this_EssentialOCLInfixOperatorName_0=ruleEssentialOCLInfixOperatorName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_EssentialOCLInfixOperatorName_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleInfixOperatorName" |
| |
| |
| // $ANTLR start "entryRuleUnaryOperatorName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1994:1: entryRuleUnaryOperatorName returns [String current=null] : iv_ruleUnaryOperatorName= ruleUnaryOperatorName EOF ; |
| public final String entryRuleUnaryOperatorName() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleUnaryOperatorName = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1995:2: (iv_ruleUnaryOperatorName= ruleUnaryOperatorName EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:1996:2: iv_ruleUnaryOperatorName= ruleUnaryOperatorName EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getUnaryOperatorNameRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnaryOperatorName_in_entryRuleUnaryOperatorName4485); |
| iv_ruleUnaryOperatorName=ruleUnaryOperatorName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleUnaryOperatorName.getText(); |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleUnaryOperatorName4496); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleUnaryOperatorName" |
| |
| |
| // $ANTLR start "ruleUnaryOperatorName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2003:1: ruleUnaryOperatorName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_EssentialOCLUnaryOperatorName_0= ruleEssentialOCLUnaryOperatorName ; |
| public final AntlrDatatypeRuleToken ruleUnaryOperatorName() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| AntlrDatatypeRuleToken this_EssentialOCLUnaryOperatorName_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2006:28: (this_EssentialOCLUnaryOperatorName_0= ruleEssentialOCLUnaryOperatorName ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2008:5: this_EssentialOCLUnaryOperatorName_0= ruleEssentialOCLUnaryOperatorName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getUnaryOperatorNameAccess().getEssentialOCLUnaryOperatorNameParserRuleCall()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLUnaryOperatorName_in_ruleUnaryOperatorName4542); |
| this_EssentialOCLUnaryOperatorName_0=ruleEssentialOCLUnaryOperatorName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_EssentialOCLUnaryOperatorName_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleUnaryOperatorName" |
| |
| |
| // $ANTLR start "entryRuleEssentialOCLUnrestrictedName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2026:1: entryRuleEssentialOCLUnrestrictedName returns [String current=null] : iv_ruleEssentialOCLUnrestrictedName= ruleEssentialOCLUnrestrictedName EOF ; |
| public final String entryRuleEssentialOCLUnrestrictedName() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleEssentialOCLUnrestrictedName = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2027:2: (iv_ruleEssentialOCLUnrestrictedName= ruleEssentialOCLUnrestrictedName EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2028:2: iv_ruleEssentialOCLUnrestrictedName= ruleEssentialOCLUnrestrictedName EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getEssentialOCLUnrestrictedNameRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLUnrestrictedName_in_entryRuleEssentialOCLUnrestrictedName4587); |
| iv_ruleEssentialOCLUnrestrictedName=ruleEssentialOCLUnrestrictedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleEssentialOCLUnrestrictedName.getText(); |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEssentialOCLUnrestrictedName4598); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleEssentialOCLUnrestrictedName" |
| |
| |
| // $ANTLR start "ruleEssentialOCLUnrestrictedName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2035:1: ruleEssentialOCLUnrestrictedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_Identifier_0= ruleIdentifier ; |
| public final AntlrDatatypeRuleToken ruleEssentialOCLUnrestrictedName() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| AntlrDatatypeRuleToken this_Identifier_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2038:28: (this_Identifier_0= ruleIdentifier ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2040:5: this_Identifier_0= ruleIdentifier |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEssentialOCLUnrestrictedNameAccess().getIdentifierParserRuleCall()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleIdentifier_in_ruleEssentialOCLUnrestrictedName4644); |
| this_Identifier_0=ruleIdentifier(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_Identifier_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleEssentialOCLUnrestrictedName" |
| |
| |
| // $ANTLR start "entryRuleEssentialOCLUnreservedName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2058:1: entryRuleEssentialOCLUnreservedName returns [String current=null] : iv_ruleEssentialOCLUnreservedName= ruleEssentialOCLUnreservedName EOF ; |
| public final String entryRuleEssentialOCLUnreservedName() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleEssentialOCLUnreservedName = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2059:2: (iv_ruleEssentialOCLUnreservedName= ruleEssentialOCLUnreservedName EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2060:2: iv_ruleEssentialOCLUnreservedName= ruleEssentialOCLUnreservedName EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getEssentialOCLUnreservedNameRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLUnreservedName_in_entryRuleEssentialOCLUnreservedName4689); |
| iv_ruleEssentialOCLUnreservedName=ruleEssentialOCLUnreservedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleEssentialOCLUnreservedName.getText(); |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEssentialOCLUnreservedName4700); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleEssentialOCLUnreservedName" |
| |
| |
| // $ANTLR start "ruleEssentialOCLUnreservedName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2067:1: ruleEssentialOCLUnreservedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_UnrestrictedName_0= ruleUnrestrictedName | this_CollectionTypeIdentifier_1= ruleCollectionTypeIdentifier | this_PrimitiveTypeIdentifier_2= rulePrimitiveTypeIdentifier | kw= 'Map' | kw= 'Tuple' ) ; |
| public final AntlrDatatypeRuleToken ruleEssentialOCLUnreservedName() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| AntlrDatatypeRuleToken this_UnrestrictedName_0 = null; |
| |
| AntlrDatatypeRuleToken this_CollectionTypeIdentifier_1 = null; |
| |
| AntlrDatatypeRuleToken this_PrimitiveTypeIdentifier_2 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2070:28: ( (this_UnrestrictedName_0= ruleUnrestrictedName | this_CollectionTypeIdentifier_1= ruleCollectionTypeIdentifier | this_PrimitiveTypeIdentifier_2= rulePrimitiveTypeIdentifier | kw= 'Map' | kw= 'Tuple' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2071:1: (this_UnrestrictedName_0= ruleUnrestrictedName | this_CollectionTypeIdentifier_1= ruleCollectionTypeIdentifier | this_PrimitiveTypeIdentifier_2= rulePrimitiveTypeIdentifier | kw= 'Map' | kw= 'Tuple' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2071:1: (this_UnrestrictedName_0= ruleUnrestrictedName | this_CollectionTypeIdentifier_1= ruleCollectionTypeIdentifier | this_PrimitiveTypeIdentifier_2= rulePrimitiveTypeIdentifier | kw= 'Map' | kw= 'Tuple' ) |
| int alt41=5; |
| switch ( input.LA(1) ) { |
| case RULE_SIMPLE_ID: |
| case RULE_ESCAPED_ID: |
| case 28: |
| case 29: |
| case 30: |
| { |
| alt41=1; |
| } |
| break; |
| case 71: |
| case 72: |
| case 73: |
| case 74: |
| case 75: |
| { |
| alt41=2; |
| } |
| break; |
| case 40: |
| case 41: |
| case 42: |
| case 43: |
| case 44: |
| case 45: |
| case 46: |
| case 47: |
| case 48: |
| case 49: |
| { |
| alt41=3; |
| } |
| break; |
| case 68: |
| { |
| alt41=4; |
| } |
| break; |
| case 69: |
| { |
| alt41=5; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 41, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt41) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2072:5: this_UnrestrictedName_0= ruleUnrestrictedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEssentialOCLUnreservedNameAccess().getUnrestrictedNameParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleEssentialOCLUnreservedName4747); |
| this_UnrestrictedName_0=ruleUnrestrictedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_UnrestrictedName_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2084:5: this_CollectionTypeIdentifier_1= ruleCollectionTypeIdentifier |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEssentialOCLUnreservedNameAccess().getCollectionTypeIdentifierParserRuleCall_1()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeIdentifier_in_ruleEssentialOCLUnreservedName4780); |
| this_CollectionTypeIdentifier_1=ruleCollectionTypeIdentifier(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_CollectionTypeIdentifier_1); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2096:5: this_PrimitiveTypeIdentifier_2= rulePrimitiveTypeIdentifier |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEssentialOCLUnreservedNameAccess().getPrimitiveTypeIdentifierParserRuleCall_2()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePrimitiveTypeIdentifier_in_ruleEssentialOCLUnreservedName4813); |
| this_PrimitiveTypeIdentifier_2=rulePrimitiveTypeIdentifier(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_PrimitiveTypeIdentifier_2); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2108:2: kw= 'Map' |
| { |
| kw=(Token)match(input,68,FollowSets000.FOLLOW_68_in_ruleEssentialOCLUnreservedName4837); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getEssentialOCLUnreservedNameAccess().getMapKeyword_3()); |
| |
| } |
| |
| } |
| break; |
| case 5 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2115:2: kw= 'Tuple' |
| { |
| kw=(Token)match(input,69,FollowSets000.FOLLOW_69_in_ruleEssentialOCLUnreservedName4856); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getEssentialOCLUnreservedNameAccess().getTupleKeyword_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleEssentialOCLUnreservedName" |
| |
| |
| // $ANTLR start "entryRuleUnreservedName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2128:1: entryRuleUnreservedName returns [String current=null] : iv_ruleUnreservedName= ruleUnreservedName EOF ; |
| public final String entryRuleUnreservedName() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleUnreservedName = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2129:2: (iv_ruleUnreservedName= ruleUnreservedName EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2130:2: iv_ruleUnreservedName= ruleUnreservedName EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getUnreservedNameRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnreservedName_in_entryRuleUnreservedName4897); |
| iv_ruleUnreservedName=ruleUnreservedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleUnreservedName.getText(); |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleUnreservedName4908); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleUnreservedName" |
| |
| |
| // $ANTLR start "ruleUnreservedName" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2137:1: ruleUnreservedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_EssentialOCLUnreservedName_0= ruleEssentialOCLUnreservedName ; |
| public final AntlrDatatypeRuleToken ruleUnreservedName() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| AntlrDatatypeRuleToken this_EssentialOCLUnreservedName_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2140:28: (this_EssentialOCLUnreservedName_0= ruleEssentialOCLUnreservedName ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2142:5: this_EssentialOCLUnreservedName_0= ruleEssentialOCLUnreservedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getUnreservedNameAccess().getEssentialOCLUnreservedNameParserRuleCall()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLUnreservedName_in_ruleUnreservedName4954); |
| this_EssentialOCLUnreservedName_0=ruleEssentialOCLUnreservedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_EssentialOCLUnreservedName_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleUnreservedName" |
| |
| |
| // $ANTLR start "entryRuleURIPathNameCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2160:1: entryRuleURIPathNameCS returns [EObject current=null] : iv_ruleURIPathNameCS= ruleURIPathNameCS EOF ; |
| public final EObject entryRuleURIPathNameCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleURIPathNameCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2161:2: (iv_ruleURIPathNameCS= ruleURIPathNameCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2162:2: iv_ruleURIPathNameCS= ruleURIPathNameCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getURIPathNameCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleURIPathNameCS_in_entryRuleURIPathNameCS4998); |
| iv_ruleURIPathNameCS=ruleURIPathNameCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleURIPathNameCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleURIPathNameCS5008); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleURIPathNameCS" |
| |
| |
| // $ANTLR start "ruleURIPathNameCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2169:1: ruleURIPathNameCS returns [EObject current=null] : ( ( (lv_ownedPathElements_0_0= ruleURIFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) )* ) ; |
| public final EObject ruleURIPathNameCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| EObject lv_ownedPathElements_0_0 = null; |
| |
| EObject lv_ownedPathElements_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2172:28: ( ( ( (lv_ownedPathElements_0_0= ruleURIFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) )* ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2173:1: ( ( (lv_ownedPathElements_0_0= ruleURIFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) )* ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2173:1: ( ( (lv_ownedPathElements_0_0= ruleURIFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) )* ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2173:2: ( (lv_ownedPathElements_0_0= ruleURIFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) )* |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2173:2: ( (lv_ownedPathElements_0_0= ruleURIFirstPathElementCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2174:1: (lv_ownedPathElements_0_0= ruleURIFirstPathElementCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2174:1: (lv_ownedPathElements_0_0= ruleURIFirstPathElementCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2175:3: lv_ownedPathElements_0_0= ruleURIFirstPathElementCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getURIPathNameCSAccess().getOwnedPathElementsURIFirstPathElementCSParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleURIFirstPathElementCS_in_ruleURIPathNameCS5054); |
| lv_ownedPathElements_0_0=ruleURIFirstPathElementCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getURIPathNameCSRule()); |
| } |
| add( |
| current, |
| "ownedPathElements", |
| lv_ownedPathElements_0_0, |
| "URIFirstPathElementCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2191:2: (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) )* |
| loop42: |
| do { |
| int alt42=2; |
| int LA42_0 = input.LA(1); |
| |
| if ( (LA42_0==70) ) { |
| alt42=1; |
| } |
| |
| |
| switch (alt42) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2191:4: otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) |
| { |
| otherlv_1=(Token)match(input,70,FollowSets000.FOLLOW_70_in_ruleURIPathNameCS5067); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getURIPathNameCSAccess().getColonColonKeyword_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2195:1: ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2196:1: (lv_ownedPathElements_2_0= ruleNextPathElementCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2196:1: (lv_ownedPathElements_2_0= ruleNextPathElementCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2197:3: lv_ownedPathElements_2_0= ruleNextPathElementCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getURIPathNameCSAccess().getOwnedPathElementsNextPathElementCSParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNextPathElementCS_in_ruleURIPathNameCS5088); |
| lv_ownedPathElements_2_0=ruleNextPathElementCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getURIPathNameCSRule()); |
| } |
| add( |
| current, |
| "ownedPathElements", |
| lv_ownedPathElements_2_0, |
| "NextPathElementCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop42; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleURIPathNameCS" |
| |
| |
| // $ANTLR start "entryRuleURIFirstPathElementCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2221:1: entryRuleURIFirstPathElementCS returns [EObject current=null] : iv_ruleURIFirstPathElementCS= ruleURIFirstPathElementCS EOF ; |
| public final EObject entryRuleURIFirstPathElementCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleURIFirstPathElementCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2222:2: (iv_ruleURIFirstPathElementCS= ruleURIFirstPathElementCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2223:2: iv_ruleURIFirstPathElementCS= ruleURIFirstPathElementCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getURIFirstPathElementCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleURIFirstPathElementCS_in_entryRuleURIFirstPathElementCS5126); |
| iv_ruleURIFirstPathElementCS=ruleURIFirstPathElementCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleURIFirstPathElementCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleURIFirstPathElementCS5136); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleURIFirstPathElementCS" |
| |
| |
| // $ANTLR start "ruleURIFirstPathElementCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2230:1: ruleURIFirstPathElementCS returns [EObject current=null] : ( ( ( ruleUnrestrictedName ) ) | ( () ( ( ruleURI ) ) ) ) ; |
| public final EObject ruleURIFirstPathElementCS() throws RecognitionException { |
| EObject current = null; |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2233:28: ( ( ( ( ruleUnrestrictedName ) ) | ( () ( ( ruleURI ) ) ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2234:1: ( ( ( ruleUnrestrictedName ) ) | ( () ( ( ruleURI ) ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2234:1: ( ( ( ruleUnrestrictedName ) ) | ( () ( ( ruleURI ) ) ) ) |
| int alt43=2; |
| int LA43_0 = input.LA(1); |
| |
| if ( ((LA43_0>=RULE_SIMPLE_ID && LA43_0<=RULE_ESCAPED_ID)||(LA43_0>=28 && LA43_0<=30)) ) { |
| alt43=1; |
| } |
| else if ( (LA43_0==RULE_SINGLE_QUOTED_STRING) ) { |
| alt43=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 43, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt43) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2234:2: ( ( ruleUnrestrictedName ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2234:2: ( ( ruleUnrestrictedName ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2235:1: ( ruleUnrestrictedName ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2235:1: ( ruleUnrestrictedName ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2236:3: ruleUnrestrictedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getURIFirstPathElementCSRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getURIFirstPathElementCSAccess().getReferredElementNamedElementCrossReference_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleURIFirstPathElementCS5188); |
| ruleUnrestrictedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2253:6: ( () ( ( ruleURI ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2253:6: ( () ( ( ruleURI ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2253:7: () ( ( ruleURI ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2253:7: () |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2254:2: |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getURIFirstPathElementCSAccess().getPathElementWithURICSAction_1_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2262:2: ( ( ruleURI ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2263:1: ( ruleURI ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2263:1: ( ruleURI ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2264:3: ruleURI |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getURIFirstPathElementCSRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getURIFirstPathElementCSAccess().getReferredElementNamespaceCrossReference_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleURI_in_ruleURIFirstPathElementCS5234); |
| ruleURI(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleURIFirstPathElementCS" |
| |
| |
| // $ANTLR start "entryRulePrimitiveTypeCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2288:1: entryRulePrimitiveTypeCS returns [EObject current=null] : iv_rulePrimitiveTypeCS= rulePrimitiveTypeCS EOF ; |
| public final EObject entryRulePrimitiveTypeCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_rulePrimitiveTypeCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2289:2: (iv_rulePrimitiveTypeCS= rulePrimitiveTypeCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2290:2: iv_rulePrimitiveTypeCS= rulePrimitiveTypeCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getPrimitiveTypeCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePrimitiveTypeCS_in_entryRulePrimitiveTypeCS5271); |
| iv_rulePrimitiveTypeCS=rulePrimitiveTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_rulePrimitiveTypeCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePrimitiveTypeCS5281); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRulePrimitiveTypeCS" |
| |
| |
| // $ANTLR start "rulePrimitiveTypeCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2297:1: rulePrimitiveTypeCS returns [EObject current=null] : ( (lv_name_0_0= rulePrimitiveTypeIdentifier ) ) ; |
| public final EObject rulePrimitiveTypeCS() throws RecognitionException { |
| EObject current = null; |
| |
| AntlrDatatypeRuleToken lv_name_0_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2300:28: ( ( (lv_name_0_0= rulePrimitiveTypeIdentifier ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2301:1: ( (lv_name_0_0= rulePrimitiveTypeIdentifier ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2301:1: ( (lv_name_0_0= rulePrimitiveTypeIdentifier ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2302:1: (lv_name_0_0= rulePrimitiveTypeIdentifier ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2302:1: (lv_name_0_0= rulePrimitiveTypeIdentifier ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2303:3: lv_name_0_0= rulePrimitiveTypeIdentifier |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPrimitiveTypeCSAccess().getNamePrimitiveTypeIdentifierParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePrimitiveTypeIdentifier_in_rulePrimitiveTypeCS5326); |
| lv_name_0_0=rulePrimitiveTypeIdentifier(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getPrimitiveTypeCSRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_0_0, |
| "PrimitiveTypeIdentifier"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "rulePrimitiveTypeCS" |
| |
| |
| // $ANTLR start "entryRuleCollectionTypeIdentifier" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2327:1: entryRuleCollectionTypeIdentifier returns [String current=null] : iv_ruleCollectionTypeIdentifier= ruleCollectionTypeIdentifier EOF ; |
| public final String entryRuleCollectionTypeIdentifier() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleCollectionTypeIdentifier = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2328:2: (iv_ruleCollectionTypeIdentifier= ruleCollectionTypeIdentifier EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2329:2: iv_ruleCollectionTypeIdentifier= ruleCollectionTypeIdentifier EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getCollectionTypeIdentifierRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeIdentifier_in_entryRuleCollectionTypeIdentifier5362); |
| iv_ruleCollectionTypeIdentifier=ruleCollectionTypeIdentifier(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleCollectionTypeIdentifier.getText(); |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCollectionTypeIdentifier5373); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleCollectionTypeIdentifier" |
| |
| |
| // $ANTLR start "ruleCollectionTypeIdentifier" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2336:1: ruleCollectionTypeIdentifier returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'Set' | kw= 'Bag' | kw= 'Sequence' | kw= 'Collection' | kw= 'OrderedSet' ) ; |
| public final AntlrDatatypeRuleToken ruleCollectionTypeIdentifier() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2339:28: ( (kw= 'Set' | kw= 'Bag' | kw= 'Sequence' | kw= 'Collection' | kw= 'OrderedSet' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2340:1: (kw= 'Set' | kw= 'Bag' | kw= 'Sequence' | kw= 'Collection' | kw= 'OrderedSet' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2340:1: (kw= 'Set' | kw= 'Bag' | kw= 'Sequence' | kw= 'Collection' | kw= 'OrderedSet' ) |
| int alt44=5; |
| switch ( input.LA(1) ) { |
| case 71: |
| { |
| alt44=1; |
| } |
| break; |
| case 72: |
| { |
| alt44=2; |
| } |
| break; |
| case 73: |
| { |
| alt44=3; |
| } |
| break; |
| case 74: |
| { |
| alt44=4; |
| } |
| break; |
| case 75: |
| { |
| alt44=5; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 44, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt44) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2341:2: kw= 'Set' |
| { |
| kw=(Token)match(input,71,FollowSets000.FOLLOW_71_in_ruleCollectionTypeIdentifier5411); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getCollectionTypeIdentifierAccess().getSetKeyword_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2348:2: kw= 'Bag' |
| { |
| kw=(Token)match(input,72,FollowSets000.FOLLOW_72_in_ruleCollectionTypeIdentifier5430); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getCollectionTypeIdentifierAccess().getBagKeyword_1()); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2355:2: kw= 'Sequence' |
| { |
| kw=(Token)match(input,73,FollowSets000.FOLLOW_73_in_ruleCollectionTypeIdentifier5449); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getCollectionTypeIdentifierAccess().getSequenceKeyword_2()); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2362:2: kw= 'Collection' |
| { |
| kw=(Token)match(input,74,FollowSets000.FOLLOW_74_in_ruleCollectionTypeIdentifier5468); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getCollectionTypeIdentifierAccess().getCollectionKeyword_3()); |
| |
| } |
| |
| } |
| break; |
| case 5 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2369:2: kw= 'OrderedSet' |
| { |
| kw=(Token)match(input,75,FollowSets000.FOLLOW_75_in_ruleCollectionTypeIdentifier5487); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getCollectionTypeIdentifierAccess().getOrderedSetKeyword_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleCollectionTypeIdentifier" |
| |
| |
| // $ANTLR start "entryRuleCollectionTypeCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2382:1: entryRuleCollectionTypeCS returns [EObject current=null] : iv_ruleCollectionTypeCS= ruleCollectionTypeCS EOF ; |
| public final EObject entryRuleCollectionTypeCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleCollectionTypeCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2383:2: (iv_ruleCollectionTypeCS= ruleCollectionTypeCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2384:2: iv_ruleCollectionTypeCS= ruleCollectionTypeCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getCollectionTypeCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeCS_in_entryRuleCollectionTypeCS5527); |
| iv_ruleCollectionTypeCS=ruleCollectionTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleCollectionTypeCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCollectionTypeCS5537); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleCollectionTypeCS" |
| |
| |
| // $ANTLR start "ruleCollectionTypeCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2391:1: ruleCollectionTypeCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleCollectionTypeIdentifier ) ) (otherlv_1= '(' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) otherlv_3= ')' )? ) ; |
| public final EObject ruleCollectionTypeCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| AntlrDatatypeRuleToken lv_name_0_0 = null; |
| |
| EObject lv_ownedType_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2394:28: ( ( ( (lv_name_0_0= ruleCollectionTypeIdentifier ) ) (otherlv_1= '(' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) otherlv_3= ')' )? ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2395:1: ( ( (lv_name_0_0= ruleCollectionTypeIdentifier ) ) (otherlv_1= '(' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) otherlv_3= ')' )? ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2395:1: ( ( (lv_name_0_0= ruleCollectionTypeIdentifier ) ) (otherlv_1= '(' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) otherlv_3= ')' )? ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2395:2: ( (lv_name_0_0= ruleCollectionTypeIdentifier ) ) (otherlv_1= '(' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) otherlv_3= ')' )? |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2395:2: ( (lv_name_0_0= ruleCollectionTypeIdentifier ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2396:1: (lv_name_0_0= ruleCollectionTypeIdentifier ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2396:1: (lv_name_0_0= ruleCollectionTypeIdentifier ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2397:3: lv_name_0_0= ruleCollectionTypeIdentifier |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getCollectionTypeCSAccess().getNameCollectionTypeIdentifierParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeIdentifier_in_ruleCollectionTypeCS5583); |
| lv_name_0_0=ruleCollectionTypeIdentifier(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getCollectionTypeCSRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_0_0, |
| "CollectionTypeIdentifier"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2413:2: (otherlv_1= '(' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) otherlv_3= ')' )? |
| int alt45=2; |
| int LA45_0 = input.LA(1); |
| |
| if ( (LA45_0==21) ) { |
| alt45=1; |
| } |
| switch (alt45) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2413:4: otherlv_1= '(' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) otherlv_3= ')' |
| { |
| otherlv_1=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleCollectionTypeCS5596); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getCollectionTypeCSAccess().getLeftParenthesisKeyword_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2417:1: ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2418:1: (lv_ownedType_2_0= ruleComplexTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2418:1: (lv_ownedType_2_0= ruleComplexTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2419:3: lv_ownedType_2_0= ruleComplexTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getCollectionTypeCSAccess().getOwnedTypeComplexTypeCSParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_ruleCollectionTypeCS5617); |
| lv_ownedType_2_0=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getCollectionTypeCSRule()); |
| } |
| set( |
| current, |
| "ownedType", |
| lv_ownedType_2_0, |
| "ComplexTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_3=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleCollectionTypeCS5629); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getCollectionTypeCSAccess().getRightParenthesisKeyword_1_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleCollectionTypeCS" |
| |
| |
| // $ANTLR start "entryRuleCollectionTypeWithMultiplicityCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2447:1: entryRuleCollectionTypeWithMultiplicityCS returns [EObject current=null] : iv_ruleCollectionTypeWithMultiplicityCS= ruleCollectionTypeWithMultiplicityCS EOF ; |
| public final EObject entryRuleCollectionTypeWithMultiplicityCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleCollectionTypeWithMultiplicityCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2448:2: (iv_ruleCollectionTypeWithMultiplicityCS= ruleCollectionTypeWithMultiplicityCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2449:2: iv_ruleCollectionTypeWithMultiplicityCS= ruleCollectionTypeWithMultiplicityCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getCollectionTypeWithMultiplicityCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeWithMultiplicityCS_in_entryRuleCollectionTypeWithMultiplicityCS5667); |
| iv_ruleCollectionTypeWithMultiplicityCS=ruleCollectionTypeWithMultiplicityCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleCollectionTypeWithMultiplicityCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCollectionTypeWithMultiplicityCS5677); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleCollectionTypeWithMultiplicityCS" |
| |
| |
| // $ANTLR start "ruleCollectionTypeWithMultiplicityCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2456:1: ruleCollectionTypeWithMultiplicityCS returns [EObject current=null] : (this_CollectionTypeCS_0= ruleCollectionTypeCS ( (lv_ownedMultiplicity_1_0= ruleMultiplicityCS ) )? ) ; |
| public final EObject ruleCollectionTypeWithMultiplicityCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_CollectionTypeCS_0 = null; |
| |
| EObject lv_ownedMultiplicity_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2459:28: ( (this_CollectionTypeCS_0= ruleCollectionTypeCS ( (lv_ownedMultiplicity_1_0= ruleMultiplicityCS ) )? ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2460:1: (this_CollectionTypeCS_0= ruleCollectionTypeCS ( (lv_ownedMultiplicity_1_0= ruleMultiplicityCS ) )? ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2460:1: (this_CollectionTypeCS_0= ruleCollectionTypeCS ( (lv_ownedMultiplicity_1_0= ruleMultiplicityCS ) )? ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2461:2: this_CollectionTypeCS_0= ruleCollectionTypeCS ( (lv_ownedMultiplicity_1_0= ruleMultiplicityCS ) )? |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getCollectionTypeWithMultiplicityCSAccess().getCollectionTypeCSParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeCS_in_ruleCollectionTypeWithMultiplicityCS5727); |
| this_CollectionTypeCS_0=ruleCollectionTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_CollectionTypeCS_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2472:1: ( (lv_ownedMultiplicity_1_0= ruleMultiplicityCS ) )? |
| int alt46=2; |
| int LA46_0 = input.LA(1); |
| |
| if ( (LA46_0==87) ) { |
| alt46=1; |
| } |
| switch (alt46) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2473:1: (lv_ownedMultiplicity_1_0= ruleMultiplicityCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2473:1: (lv_ownedMultiplicity_1_0= ruleMultiplicityCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2474:3: lv_ownedMultiplicity_1_0= ruleMultiplicityCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getCollectionTypeWithMultiplicityCSAccess().getOwnedMultiplicityMultiplicityCSParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleMultiplicityCS_in_ruleCollectionTypeWithMultiplicityCS5747); |
| lv_ownedMultiplicity_1_0=ruleMultiplicityCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getCollectionTypeWithMultiplicityCSRule()); |
| } |
| set( |
| current, |
| "ownedMultiplicity", |
| lv_ownedMultiplicity_1_0, |
| "MultiplicityCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleCollectionTypeWithMultiplicityCS" |
| |
| |
| // $ANTLR start "entryRuleLambdaTypeCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2498:1: entryRuleLambdaTypeCS returns [EObject current=null] : iv_ruleLambdaTypeCS= ruleLambdaTypeCS EOF ; |
| public final EObject entryRuleLambdaTypeCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleLambdaTypeCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2499:2: (iv_ruleLambdaTypeCS= ruleLambdaTypeCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2500:2: iv_ruleLambdaTypeCS= ruleLambdaTypeCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getLambdaTypeCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleLambdaTypeCS_in_entryRuleLambdaTypeCS5784); |
| iv_ruleLambdaTypeCS=ruleLambdaTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleLambdaTypeCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLambdaTypeCS5794); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleLambdaTypeCS" |
| |
| |
| // $ANTLR start "ruleLambdaTypeCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2507:1: ruleLambdaTypeCS returns [EObject current=null] : ( ( (lv_name_0_0= 'Lambda' ) ) ( (lv_ownedSignature_1_0= ruleTemplateSignatureCS ) )? otherlv_2= '(' ( ( (lv_ownedParameterTypes_3_0= ruleComplexTypeCS ) ) (otherlv_4= ',' ( (lv_ownedParameterTypes_5_0= ruleComplexTypeCS ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( (lv_ownedResultType_8_0= ruleComplexTypeCS ) ) ) ; |
| public final EObject ruleLambdaTypeCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_name_0_0=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_6=null; |
| Token otherlv_7=null; |
| EObject lv_ownedSignature_1_0 = null; |
| |
| EObject lv_ownedParameterTypes_3_0 = null; |
| |
| EObject lv_ownedParameterTypes_5_0 = null; |
| |
| EObject lv_ownedResultType_8_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2510:28: ( ( ( (lv_name_0_0= 'Lambda' ) ) ( (lv_ownedSignature_1_0= ruleTemplateSignatureCS ) )? otherlv_2= '(' ( ( (lv_ownedParameterTypes_3_0= ruleComplexTypeCS ) ) (otherlv_4= ',' ( (lv_ownedParameterTypes_5_0= ruleComplexTypeCS ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( (lv_ownedResultType_8_0= ruleComplexTypeCS ) ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2511:1: ( ( (lv_name_0_0= 'Lambda' ) ) ( (lv_ownedSignature_1_0= ruleTemplateSignatureCS ) )? otherlv_2= '(' ( ( (lv_ownedParameterTypes_3_0= ruleComplexTypeCS ) ) (otherlv_4= ',' ( (lv_ownedParameterTypes_5_0= ruleComplexTypeCS ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( (lv_ownedResultType_8_0= ruleComplexTypeCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2511:1: ( ( (lv_name_0_0= 'Lambda' ) ) ( (lv_ownedSignature_1_0= ruleTemplateSignatureCS ) )? otherlv_2= '(' ( ( (lv_ownedParameterTypes_3_0= ruleComplexTypeCS ) ) (otherlv_4= ',' ( (lv_ownedParameterTypes_5_0= ruleComplexTypeCS ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( (lv_ownedResultType_8_0= ruleComplexTypeCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2511:2: ( (lv_name_0_0= 'Lambda' ) ) ( (lv_ownedSignature_1_0= ruleTemplateSignatureCS ) )? otherlv_2= '(' ( ( (lv_ownedParameterTypes_3_0= ruleComplexTypeCS ) ) (otherlv_4= ',' ( (lv_ownedParameterTypes_5_0= ruleComplexTypeCS ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( (lv_ownedResultType_8_0= ruleComplexTypeCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2511:2: ( (lv_name_0_0= 'Lambda' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2512:1: (lv_name_0_0= 'Lambda' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2512:1: (lv_name_0_0= 'Lambda' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2513:3: lv_name_0_0= 'Lambda' |
| { |
| lv_name_0_0=(Token)match(input,76,FollowSets000.FOLLOW_76_in_ruleLambdaTypeCS5837); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_name_0_0, grammarAccess.getLambdaTypeCSAccess().getNameLambdaKeyword_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getLambdaTypeCSRule()); |
| } |
| setWithLastConsumed(current, "name", lv_name_0_0, "Lambda"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2526:2: ( (lv_ownedSignature_1_0= ruleTemplateSignatureCS ) )? |
| int alt47=2; |
| int LA47_0 = input.LA(1); |
| |
| if ( (LA47_0==56) ) { |
| alt47=1; |
| } |
| switch (alt47) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2527:1: (lv_ownedSignature_1_0= ruleTemplateSignatureCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2527:1: (lv_ownedSignature_1_0= ruleTemplateSignatureCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2528:3: lv_ownedSignature_1_0= ruleTemplateSignatureCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getLambdaTypeCSAccess().getOwnedSignatureTemplateSignatureCSParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTemplateSignatureCS_in_ruleLambdaTypeCS5871); |
| lv_ownedSignature_1_0=ruleTemplateSignatureCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getLambdaTypeCSRule()); |
| } |
| set( |
| current, |
| "ownedSignature", |
| lv_ownedSignature_1_0, |
| "TemplateSignatureCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_2=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleLambdaTypeCS5884); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getLambdaTypeCSAccess().getLeftParenthesisKeyword_2()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2548:1: ( ( (lv_ownedParameterTypes_3_0= ruleComplexTypeCS ) ) (otherlv_4= ',' ( (lv_ownedParameterTypes_5_0= ruleComplexTypeCS ) ) )* )? |
| int alt49=2; |
| int LA49_0 = input.LA(1); |
| |
| if ( ((LA49_0>=RULE_SIMPLE_ID && LA49_0<=RULE_ESCAPED_ID)||(LA49_0>=28 && LA49_0<=30)||(LA49_0>=40 && LA49_0<=49)||(LA49_0>=68 && LA49_0<=69)||(LA49_0>=71 && LA49_0<=76)) ) { |
| alt49=1; |
| } |
| switch (alt49) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2548:2: ( (lv_ownedParameterTypes_3_0= ruleComplexTypeCS ) ) (otherlv_4= ',' ( (lv_ownedParameterTypes_5_0= ruleComplexTypeCS ) ) )* |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2548:2: ( (lv_ownedParameterTypes_3_0= ruleComplexTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2549:1: (lv_ownedParameterTypes_3_0= ruleComplexTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2549:1: (lv_ownedParameterTypes_3_0= ruleComplexTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2550:3: lv_ownedParameterTypes_3_0= ruleComplexTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getLambdaTypeCSAccess().getOwnedParameterTypesComplexTypeCSParserRuleCall_3_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_ruleLambdaTypeCS5906); |
| lv_ownedParameterTypes_3_0=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getLambdaTypeCSRule()); |
| } |
| add( |
| current, |
| "ownedParameterTypes", |
| lv_ownedParameterTypes_3_0, |
| "ComplexTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2566:2: (otherlv_4= ',' ( (lv_ownedParameterTypes_5_0= ruleComplexTypeCS ) ) )* |
| loop48: |
| do { |
| int alt48=2; |
| int LA48_0 = input.LA(1); |
| |
| if ( (LA48_0==26) ) { |
| alt48=1; |
| } |
| |
| |
| switch (alt48) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2566:4: otherlv_4= ',' ( (lv_ownedParameterTypes_5_0= ruleComplexTypeCS ) ) |
| { |
| otherlv_4=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleLambdaTypeCS5919); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getLambdaTypeCSAccess().getCommaKeyword_3_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2570:1: ( (lv_ownedParameterTypes_5_0= ruleComplexTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2571:1: (lv_ownedParameterTypes_5_0= ruleComplexTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2571:1: (lv_ownedParameterTypes_5_0= ruleComplexTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2572:3: lv_ownedParameterTypes_5_0= ruleComplexTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getLambdaTypeCSAccess().getOwnedParameterTypesComplexTypeCSParserRuleCall_3_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_ruleLambdaTypeCS5940); |
| lv_ownedParameterTypes_5_0=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getLambdaTypeCSRule()); |
| } |
| add( |
| current, |
| "ownedParameterTypes", |
| lv_ownedParameterTypes_5_0, |
| "ComplexTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop48; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_6=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleLambdaTypeCS5956); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getLambdaTypeCSAccess().getRightParenthesisKeyword_4()); |
| |
| } |
| otherlv_7=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleLambdaTypeCS5968); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getLambdaTypeCSAccess().getColonKeyword_5()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2596:1: ( (lv_ownedResultType_8_0= ruleComplexTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2597:1: (lv_ownedResultType_8_0= ruleComplexTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2597:1: (lv_ownedResultType_8_0= ruleComplexTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2598:3: lv_ownedResultType_8_0= ruleComplexTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getLambdaTypeCSAccess().getOwnedResultTypeComplexTypeCSParserRuleCall_6_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_ruleLambdaTypeCS5989); |
| lv_ownedResultType_8_0=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getLambdaTypeCSRule()); |
| } |
| set( |
| current, |
| "ownedResultType", |
| lv_ownedResultType_8_0, |
| "ComplexTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleLambdaTypeCS" |
| |
| |
| // $ANTLR start "entryRuleMapTypeCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2622:1: entryRuleMapTypeCS returns [EObject current=null] : iv_ruleMapTypeCS= ruleMapTypeCS EOF ; |
| public final EObject entryRuleMapTypeCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleMapTypeCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2623:2: (iv_ruleMapTypeCS= ruleMapTypeCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2624:2: iv_ruleMapTypeCS= ruleMapTypeCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getMapTypeCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleMapTypeCS_in_entryRuleMapTypeCS6025); |
| iv_ruleMapTypeCS=ruleMapTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleMapTypeCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleMapTypeCS6035); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleMapTypeCS" |
| |
| |
| // $ANTLR start "ruleMapTypeCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2631:1: ruleMapTypeCS returns [EObject current=null] : ( ( (lv_name_0_0= 'Map' ) ) (otherlv_1= '(' ( (lv_ownedKeyType_2_0= ruleComplexTypeCS ) ) otherlv_3= ',' ( (lv_ownedValueType_4_0= ruleComplexTypeCS ) ) otherlv_5= ')' )? ) ; |
| public final EObject ruleMapTypeCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_name_0_0=null; |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token otherlv_5=null; |
| EObject lv_ownedKeyType_2_0 = null; |
| |
| EObject lv_ownedValueType_4_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2634:28: ( ( ( (lv_name_0_0= 'Map' ) ) (otherlv_1= '(' ( (lv_ownedKeyType_2_0= ruleComplexTypeCS ) ) otherlv_3= ',' ( (lv_ownedValueType_4_0= ruleComplexTypeCS ) ) otherlv_5= ')' )? ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2635:1: ( ( (lv_name_0_0= 'Map' ) ) (otherlv_1= '(' ( (lv_ownedKeyType_2_0= ruleComplexTypeCS ) ) otherlv_3= ',' ( (lv_ownedValueType_4_0= ruleComplexTypeCS ) ) otherlv_5= ')' )? ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2635:1: ( ( (lv_name_0_0= 'Map' ) ) (otherlv_1= '(' ( (lv_ownedKeyType_2_0= ruleComplexTypeCS ) ) otherlv_3= ',' ( (lv_ownedValueType_4_0= ruleComplexTypeCS ) ) otherlv_5= ')' )? ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2635:2: ( (lv_name_0_0= 'Map' ) ) (otherlv_1= '(' ( (lv_ownedKeyType_2_0= ruleComplexTypeCS ) ) otherlv_3= ',' ( (lv_ownedValueType_4_0= ruleComplexTypeCS ) ) otherlv_5= ')' )? |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2635:2: ( (lv_name_0_0= 'Map' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2636:1: (lv_name_0_0= 'Map' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2636:1: (lv_name_0_0= 'Map' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2637:3: lv_name_0_0= 'Map' |
| { |
| lv_name_0_0=(Token)match(input,68,FollowSets000.FOLLOW_68_in_ruleMapTypeCS6078); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_name_0_0, grammarAccess.getMapTypeCSAccess().getNameMapKeyword_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getMapTypeCSRule()); |
| } |
| setWithLastConsumed(current, "name", lv_name_0_0, "Map"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2650:2: (otherlv_1= '(' ( (lv_ownedKeyType_2_0= ruleComplexTypeCS ) ) otherlv_3= ',' ( (lv_ownedValueType_4_0= ruleComplexTypeCS ) ) otherlv_5= ')' )? |
| int alt50=2; |
| int LA50_0 = input.LA(1); |
| |
| if ( (LA50_0==21) ) { |
| alt50=1; |
| } |
| switch (alt50) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2650:4: otherlv_1= '(' ( (lv_ownedKeyType_2_0= ruleComplexTypeCS ) ) otherlv_3= ',' ( (lv_ownedValueType_4_0= ruleComplexTypeCS ) ) otherlv_5= ')' |
| { |
| otherlv_1=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleMapTypeCS6104); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getMapTypeCSAccess().getLeftParenthesisKeyword_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2654:1: ( (lv_ownedKeyType_2_0= ruleComplexTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2655:1: (lv_ownedKeyType_2_0= ruleComplexTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2655:1: (lv_ownedKeyType_2_0= ruleComplexTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2656:3: lv_ownedKeyType_2_0= ruleComplexTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getMapTypeCSAccess().getOwnedKeyTypeComplexTypeCSParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_ruleMapTypeCS6125); |
| lv_ownedKeyType_2_0=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getMapTypeCSRule()); |
| } |
| set( |
| current, |
| "ownedKeyType", |
| lv_ownedKeyType_2_0, |
| "ComplexTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_3=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleMapTypeCS6137); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getMapTypeCSAccess().getCommaKeyword_1_2()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2676:1: ( (lv_ownedValueType_4_0= ruleComplexTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2677:1: (lv_ownedValueType_4_0= ruleComplexTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2677:1: (lv_ownedValueType_4_0= ruleComplexTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2678:3: lv_ownedValueType_4_0= ruleComplexTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getMapTypeCSAccess().getOwnedValueTypeComplexTypeCSParserRuleCall_1_3_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_ruleMapTypeCS6158); |
| lv_ownedValueType_4_0=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getMapTypeCSRule()); |
| } |
| set( |
| current, |
| "ownedValueType", |
| lv_ownedValueType_4_0, |
| "ComplexTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_5=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleMapTypeCS6170); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getMapTypeCSAccess().getRightParenthesisKeyword_1_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleMapTypeCS" |
| |
| |
| // $ANTLR start "entryRuleTupleTypeCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2706:1: entryRuleTupleTypeCS returns [EObject current=null] : iv_ruleTupleTypeCS= ruleTupleTypeCS EOF ; |
| public final EObject entryRuleTupleTypeCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleTupleTypeCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2707:2: (iv_ruleTupleTypeCS= ruleTupleTypeCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2708:2: iv_ruleTupleTypeCS= ruleTupleTypeCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTupleTypeCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTupleTypeCS_in_entryRuleTupleTypeCS6208); |
| iv_ruleTupleTypeCS=ruleTupleTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleTupleTypeCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTupleTypeCS6218); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleTupleTypeCS" |
| |
| |
| // $ANTLR start "ruleTupleTypeCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2715:1: ruleTupleTypeCS returns [EObject current=null] : ( ( (lv_name_0_0= 'Tuple' ) ) (otherlv_1= '(' ( ( (lv_ownedParts_2_0= ruleTuplePartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) )* )? otherlv_5= ')' )? ) ; |
| public final EObject ruleTupleTypeCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_name_0_0=null; |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token otherlv_5=null; |
| EObject lv_ownedParts_2_0 = null; |
| |
| EObject lv_ownedParts_4_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2718:28: ( ( ( (lv_name_0_0= 'Tuple' ) ) (otherlv_1= '(' ( ( (lv_ownedParts_2_0= ruleTuplePartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) )* )? otherlv_5= ')' )? ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2719:1: ( ( (lv_name_0_0= 'Tuple' ) ) (otherlv_1= '(' ( ( (lv_ownedParts_2_0= ruleTuplePartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) )* )? otherlv_5= ')' )? ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2719:1: ( ( (lv_name_0_0= 'Tuple' ) ) (otherlv_1= '(' ( ( (lv_ownedParts_2_0= ruleTuplePartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) )* )? otherlv_5= ')' )? ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2719:2: ( (lv_name_0_0= 'Tuple' ) ) (otherlv_1= '(' ( ( (lv_ownedParts_2_0= ruleTuplePartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) )* )? otherlv_5= ')' )? |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2719:2: ( (lv_name_0_0= 'Tuple' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2720:1: (lv_name_0_0= 'Tuple' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2720:1: (lv_name_0_0= 'Tuple' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2721:3: lv_name_0_0= 'Tuple' |
| { |
| lv_name_0_0=(Token)match(input,69,FollowSets000.FOLLOW_69_in_ruleTupleTypeCS6261); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_name_0_0, grammarAccess.getTupleTypeCSAccess().getNameTupleKeyword_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getTupleTypeCSRule()); |
| } |
| setWithLastConsumed(current, "name", lv_name_0_0, "Tuple"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2734:2: (otherlv_1= '(' ( ( (lv_ownedParts_2_0= ruleTuplePartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) )* )? otherlv_5= ')' )? |
| int alt53=2; |
| int LA53_0 = input.LA(1); |
| |
| if ( (LA53_0==21) ) { |
| alt53=1; |
| } |
| switch (alt53) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2734:4: otherlv_1= '(' ( ( (lv_ownedParts_2_0= ruleTuplePartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) )* )? otherlv_5= ')' |
| { |
| otherlv_1=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleTupleTypeCS6287); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getTupleTypeCSAccess().getLeftParenthesisKeyword_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2738:1: ( ( (lv_ownedParts_2_0= ruleTuplePartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) )* )? |
| int alt52=2; |
| int LA52_0 = input.LA(1); |
| |
| if ( ((LA52_0>=RULE_SIMPLE_ID && LA52_0<=RULE_ESCAPED_ID)||(LA52_0>=28 && LA52_0<=30)) ) { |
| alt52=1; |
| } |
| switch (alt52) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2738:2: ( (lv_ownedParts_2_0= ruleTuplePartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) )* |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2738:2: ( (lv_ownedParts_2_0= ruleTuplePartCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2739:1: (lv_ownedParts_2_0= ruleTuplePartCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2739:1: (lv_ownedParts_2_0= ruleTuplePartCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2740:3: lv_ownedParts_2_0= ruleTuplePartCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTupleTypeCSAccess().getOwnedPartsTuplePartCSParserRuleCall_1_1_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTuplePartCS_in_ruleTupleTypeCS6309); |
| lv_ownedParts_2_0=ruleTuplePartCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTupleTypeCSRule()); |
| } |
| add( |
| current, |
| "ownedParts", |
| lv_ownedParts_2_0, |
| "TuplePartCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2756:2: (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) )* |
| loop51: |
| do { |
| int alt51=2; |
| int LA51_0 = input.LA(1); |
| |
| if ( (LA51_0==26) ) { |
| alt51=1; |
| } |
| |
| |
| switch (alt51) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2756:4: otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) |
| { |
| otherlv_3=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleTupleTypeCS6322); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getTupleTypeCSAccess().getCommaKeyword_1_1_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2760:1: ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2761:1: (lv_ownedParts_4_0= ruleTuplePartCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2761:1: (lv_ownedParts_4_0= ruleTuplePartCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2762:3: lv_ownedParts_4_0= ruleTuplePartCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTupleTypeCSAccess().getOwnedPartsTuplePartCSParserRuleCall_1_1_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTuplePartCS_in_ruleTupleTypeCS6343); |
| lv_ownedParts_4_0=ruleTuplePartCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTupleTypeCSRule()); |
| } |
| add( |
| current, |
| "ownedParts", |
| lv_ownedParts_4_0, |
| "TuplePartCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop51; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_5=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleTupleTypeCS6359); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getTupleTypeCSAccess().getRightParenthesisKeyword_1_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleTupleTypeCS" |
| |
| |
| // $ANTLR start "entryRuleTuplePartCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2790:1: entryRuleTuplePartCS returns [EObject current=null] : iv_ruleTuplePartCS= ruleTuplePartCS EOF ; |
| public final EObject entryRuleTuplePartCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleTuplePartCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2791:2: (iv_ruleTuplePartCS= ruleTuplePartCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2792:2: iv_ruleTuplePartCS= ruleTuplePartCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTuplePartCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTuplePartCS_in_entryRuleTuplePartCS6397); |
| iv_ruleTuplePartCS=ruleTuplePartCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleTuplePartCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTuplePartCS6407); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleTuplePartCS" |
| |
| |
| // $ANTLR start "ruleTuplePartCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2799:1: ruleTuplePartCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) ) ; |
| public final EObject ruleTuplePartCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| AntlrDatatypeRuleToken lv_name_0_0 = null; |
| |
| EObject lv_ownedType_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2802:28: ( ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2803:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2803:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2803:2: ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2803:2: ( (lv_name_0_0= ruleUnrestrictedName ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2804:1: (lv_name_0_0= ruleUnrestrictedName ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2804:1: (lv_name_0_0= ruleUnrestrictedName ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2805:3: lv_name_0_0= ruleUnrestrictedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTuplePartCSAccess().getNameUnrestrictedNameParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleTuplePartCS6453); |
| lv_name_0_0=ruleUnrestrictedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTuplePartCSRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_0_0, |
| "UnrestrictedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_1=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleTuplePartCS6465); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getTuplePartCSAccess().getColonKeyword_1()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2825:1: ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2826:1: (lv_ownedType_2_0= ruleComplexTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2826:1: (lv_ownedType_2_0= ruleComplexTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2827:3: lv_ownedType_2_0= ruleComplexTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTuplePartCSAccess().getOwnedTypeComplexTypeCSParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_ruleTuplePartCS6486); |
| lv_ownedType_2_0=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTuplePartCSRule()); |
| } |
| set( |
| current, |
| "ownedType", |
| lv_ownedType_2_0, |
| "ComplexTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleTuplePartCS" |
| |
| |
| // $ANTLR start "entryRuleSimpleTypeCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2851:1: entryRuleSimpleTypeCS returns [EObject current=null] : iv_ruleSimpleTypeCS= ruleSimpleTypeCS EOF ; |
| public final EObject entryRuleSimpleTypeCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleSimpleTypeCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2852:2: (iv_ruleSimpleTypeCS= ruleSimpleTypeCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2853:2: iv_ruleSimpleTypeCS= ruleSimpleTypeCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getSimpleTypeCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleSimpleTypeCS_in_entryRuleSimpleTypeCS6522); |
| iv_ruleSimpleTypeCS=ruleSimpleTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleSimpleTypeCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleSimpleTypeCS6532); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleSimpleTypeCS" |
| |
| |
| // $ANTLR start "ruleSimpleTypeCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2860:1: ruleSimpleTypeCS returns [EObject current=null] : (this_TypeLiteralCS_0= ruleTypeLiteralCS | this_PathTypeCS_1= rulePathTypeCS ) ; |
| public final EObject ruleSimpleTypeCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_TypeLiteralCS_0 = null; |
| |
| EObject this_PathTypeCS_1 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2863:28: ( (this_TypeLiteralCS_0= ruleTypeLiteralCS | this_PathTypeCS_1= rulePathTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2864:1: (this_TypeLiteralCS_0= ruleTypeLiteralCS | this_PathTypeCS_1= rulePathTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2864:1: (this_TypeLiteralCS_0= ruleTypeLiteralCS | this_PathTypeCS_1= rulePathTypeCS ) |
| int alt54=2; |
| int LA54_0 = input.LA(1); |
| |
| if ( ((LA54_0>=40 && LA54_0<=49)||(LA54_0>=68 && LA54_0<=69)||(LA54_0>=71 && LA54_0<=75)) ) { |
| alt54=1; |
| } |
| else if ( ((LA54_0>=RULE_SIMPLE_ID && LA54_0<=RULE_ESCAPED_ID)||(LA54_0>=28 && LA54_0<=30)) ) { |
| alt54=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 54, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt54) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2865:2: this_TypeLiteralCS_0= ruleTypeLiteralCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getSimpleTypeCSAccess().getTypeLiteralCSParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralCS_in_ruleSimpleTypeCS6582); |
| this_TypeLiteralCS_0=ruleTypeLiteralCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_TypeLiteralCS_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2878:2: this_PathTypeCS_1= rulePathTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getSimpleTypeCSAccess().getPathTypeCSParserRuleCall_1()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePathTypeCS_in_ruleSimpleTypeCS6612); |
| this_PathTypeCS_1=rulePathTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_PathTypeCS_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleSimpleTypeCS" |
| |
| |
| // $ANTLR start "entryRuleComplexTypeCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2897:1: entryRuleComplexTypeCS returns [EObject current=null] : iv_ruleComplexTypeCS= ruleComplexTypeCS EOF ; |
| public final EObject entryRuleComplexTypeCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleComplexTypeCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2898:2: (iv_ruleComplexTypeCS= ruleComplexTypeCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2899:2: iv_ruleComplexTypeCS= ruleComplexTypeCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getComplexTypeCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_entryRuleComplexTypeCS6647); |
| iv_ruleComplexTypeCS=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleComplexTypeCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleComplexTypeCS6657); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleComplexTypeCS" |
| |
| |
| // $ANTLR start "ruleComplexTypeCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2906:1: ruleComplexTypeCS returns [EObject current=null] : (this_TypeLiteralWithMultiplicityCS_0= ruleTypeLiteralWithMultiplicityCS | (this_PathTypeCS_1= rulePathTypeCS ( (lv_ownedMultiplicity_2_0= ruleMultiplicityCS ) )? ) ) ; |
| public final EObject ruleComplexTypeCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_TypeLiteralWithMultiplicityCS_0 = null; |
| |
| EObject this_PathTypeCS_1 = null; |
| |
| EObject lv_ownedMultiplicity_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2909:28: ( (this_TypeLiteralWithMultiplicityCS_0= ruleTypeLiteralWithMultiplicityCS | (this_PathTypeCS_1= rulePathTypeCS ( (lv_ownedMultiplicity_2_0= ruleMultiplicityCS ) )? ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2910:1: (this_TypeLiteralWithMultiplicityCS_0= ruleTypeLiteralWithMultiplicityCS | (this_PathTypeCS_1= rulePathTypeCS ( (lv_ownedMultiplicity_2_0= ruleMultiplicityCS ) )? ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2910:1: (this_TypeLiteralWithMultiplicityCS_0= ruleTypeLiteralWithMultiplicityCS | (this_PathTypeCS_1= rulePathTypeCS ( (lv_ownedMultiplicity_2_0= ruleMultiplicityCS ) )? ) ) |
| int alt56=2; |
| int LA56_0 = input.LA(1); |
| |
| if ( ((LA56_0>=40 && LA56_0<=49)||(LA56_0>=68 && LA56_0<=69)||(LA56_0>=71 && LA56_0<=76)) ) { |
| alt56=1; |
| } |
| else if ( ((LA56_0>=RULE_SIMPLE_ID && LA56_0<=RULE_ESCAPED_ID)||(LA56_0>=28 && LA56_0<=30)) ) { |
| alt56=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 56, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt56) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2911:2: this_TypeLiteralWithMultiplicityCS_0= ruleTypeLiteralWithMultiplicityCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getComplexTypeCSAccess().getTypeLiteralWithMultiplicityCSParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralWithMultiplicityCS_in_ruleComplexTypeCS6707); |
| this_TypeLiteralWithMultiplicityCS_0=ruleTypeLiteralWithMultiplicityCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_TypeLiteralWithMultiplicityCS_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2923:6: (this_PathTypeCS_1= rulePathTypeCS ( (lv_ownedMultiplicity_2_0= ruleMultiplicityCS ) )? ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2923:6: (this_PathTypeCS_1= rulePathTypeCS ( (lv_ownedMultiplicity_2_0= ruleMultiplicityCS ) )? ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2924:2: this_PathTypeCS_1= rulePathTypeCS ( (lv_ownedMultiplicity_2_0= ruleMultiplicityCS ) )? |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getComplexTypeCSAccess().getPathTypeCSParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePathTypeCS_in_ruleComplexTypeCS6738); |
| this_PathTypeCS_1=rulePathTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_PathTypeCS_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2935:1: ( (lv_ownedMultiplicity_2_0= ruleMultiplicityCS ) )? |
| int alt55=2; |
| int LA55_0 = input.LA(1); |
| |
| if ( (LA55_0==87) ) { |
| alt55=1; |
| } |
| switch (alt55) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2936:1: (lv_ownedMultiplicity_2_0= ruleMultiplicityCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2936:1: (lv_ownedMultiplicity_2_0= ruleMultiplicityCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2937:3: lv_ownedMultiplicity_2_0= ruleMultiplicityCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getComplexTypeCSAccess().getOwnedMultiplicityMultiplicityCSParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleMultiplicityCS_in_ruleComplexTypeCS6758); |
| lv_ownedMultiplicity_2_0=ruleMultiplicityCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getComplexTypeCSRule()); |
| } |
| set( |
| current, |
| "ownedMultiplicity", |
| lv_ownedMultiplicity_2_0, |
| "MultiplicityCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleComplexTypeCS" |
| |
| |
| // $ANTLR start "entryRuleCollectionLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2961:1: entryRuleCollectionLiteralExpCS returns [EObject current=null] : iv_ruleCollectionLiteralExpCS= ruleCollectionLiteralExpCS EOF ; |
| public final EObject entryRuleCollectionLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleCollectionLiteralExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2962:2: (iv_ruleCollectionLiteralExpCS= ruleCollectionLiteralExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2963:2: iv_ruleCollectionLiteralExpCS= ruleCollectionLiteralExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getCollectionLiteralExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCollectionLiteralExpCS_in_entryRuleCollectionLiteralExpCS6796); |
| iv_ruleCollectionLiteralExpCS=ruleCollectionLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleCollectionLiteralExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCollectionLiteralExpCS6806); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleCollectionLiteralExpCS" |
| |
| |
| // $ANTLR start "ruleCollectionLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2970:1: ruleCollectionLiteralExpCS returns [EObject current=null] : ( ( (lv_ownedType_0_0= ruleCollectionTypeWithMultiplicityCS ) ) otherlv_1= '{' ( ( (lv_ownedParts_2_0= ruleCollectionLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) ) )* )? otherlv_5= '}' ) ; |
| public final EObject ruleCollectionLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token otherlv_5=null; |
| EObject lv_ownedType_0_0 = null; |
| |
| EObject lv_ownedParts_2_0 = null; |
| |
| EObject lv_ownedParts_4_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2973:28: ( ( ( (lv_ownedType_0_0= ruleCollectionTypeWithMultiplicityCS ) ) otherlv_1= '{' ( ( (lv_ownedParts_2_0= ruleCollectionLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) ) )* )? otherlv_5= '}' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2974:1: ( ( (lv_ownedType_0_0= ruleCollectionTypeWithMultiplicityCS ) ) otherlv_1= '{' ( ( (lv_ownedParts_2_0= ruleCollectionLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) ) )* )? otherlv_5= '}' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2974:1: ( ( (lv_ownedType_0_0= ruleCollectionTypeWithMultiplicityCS ) ) otherlv_1= '{' ( ( (lv_ownedParts_2_0= ruleCollectionLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) ) )* )? otherlv_5= '}' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2974:2: ( (lv_ownedType_0_0= ruleCollectionTypeWithMultiplicityCS ) ) otherlv_1= '{' ( ( (lv_ownedParts_2_0= ruleCollectionLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) ) )* )? otherlv_5= '}' |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2974:2: ( (lv_ownedType_0_0= ruleCollectionTypeWithMultiplicityCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2975:1: (lv_ownedType_0_0= ruleCollectionTypeWithMultiplicityCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2975:1: (lv_ownedType_0_0= ruleCollectionTypeWithMultiplicityCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2976:3: lv_ownedType_0_0= ruleCollectionTypeWithMultiplicityCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getCollectionLiteralExpCSAccess().getOwnedTypeCollectionTypeWithMultiplicityCSParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeWithMultiplicityCS_in_ruleCollectionLiteralExpCS6852); |
| lv_ownedType_0_0=ruleCollectionTypeWithMultiplicityCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getCollectionLiteralExpCSRule()); |
| } |
| set( |
| current, |
| "ownedType", |
| lv_ownedType_0_0, |
| "CollectionTypeWithMultiplicityCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_1=(Token)match(input,77,FollowSets000.FOLLOW_77_in_ruleCollectionLiteralExpCS6864); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getCollectionLiteralExpCSAccess().getLeftCurlyBracketKeyword_1()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2996:1: ( ( (lv_ownedParts_2_0= ruleCollectionLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) ) )* )? |
| int alt58=2; |
| int LA58_0 = input.LA(1); |
| |
| if ( ((LA58_0>=RULE_SIMPLE_ID && LA58_0<=RULE_SINGLE_QUOTED_STRING)||LA58_0==21||LA58_0==23||(LA58_0>=28 && LA58_0<=30)||(LA58_0>=40 && LA58_0<=52)||(LA58_0>=68 && LA58_0<=69)||(LA58_0>=71 && LA58_0<=76)||(LA58_0>=82 && LA58_0<=85)||LA58_0==92||(LA58_0>=97 && LA58_0<=98)) ) { |
| alt58=1; |
| } |
| switch (alt58) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2996:2: ( (lv_ownedParts_2_0= ruleCollectionLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) ) )* |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2996:2: ( (lv_ownedParts_2_0= ruleCollectionLiteralPartCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2997:1: (lv_ownedParts_2_0= ruleCollectionLiteralPartCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2997:1: (lv_ownedParts_2_0= ruleCollectionLiteralPartCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:2998:3: lv_ownedParts_2_0= ruleCollectionLiteralPartCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getCollectionLiteralExpCSAccess().getOwnedPartsCollectionLiteralPartCSParserRuleCall_2_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCollectionLiteralPartCS_in_ruleCollectionLiteralExpCS6886); |
| lv_ownedParts_2_0=ruleCollectionLiteralPartCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getCollectionLiteralExpCSRule()); |
| } |
| add( |
| current, |
| "ownedParts", |
| lv_ownedParts_2_0, |
| "CollectionLiteralPartCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3014:2: (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) ) )* |
| loop57: |
| do { |
| int alt57=2; |
| int LA57_0 = input.LA(1); |
| |
| if ( (LA57_0==26) ) { |
| alt57=1; |
| } |
| |
| |
| switch (alt57) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3014:4: otherlv_3= ',' ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) ) |
| { |
| otherlv_3=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleCollectionLiteralExpCS6899); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getCollectionLiteralExpCSAccess().getCommaKeyword_2_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3018:1: ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3019:1: (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3019:1: (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3020:3: lv_ownedParts_4_0= ruleCollectionLiteralPartCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getCollectionLiteralExpCSAccess().getOwnedPartsCollectionLiteralPartCSParserRuleCall_2_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCollectionLiteralPartCS_in_ruleCollectionLiteralExpCS6920); |
| lv_ownedParts_4_0=ruleCollectionLiteralPartCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getCollectionLiteralExpCSRule()); |
| } |
| add( |
| current, |
| "ownedParts", |
| lv_ownedParts_4_0, |
| "CollectionLiteralPartCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop57; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_5=(Token)match(input,78,FollowSets000.FOLLOW_78_in_ruleCollectionLiteralExpCS6936); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getCollectionLiteralExpCSAccess().getRightCurlyBracketKeyword_3()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleCollectionLiteralExpCS" |
| |
| |
| // $ANTLR start "entryRuleCollectionLiteralPartCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3048:1: entryRuleCollectionLiteralPartCS returns [EObject current=null] : iv_ruleCollectionLiteralPartCS= ruleCollectionLiteralPartCS EOF ; |
| public final EObject entryRuleCollectionLiteralPartCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleCollectionLiteralPartCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3049:2: (iv_ruleCollectionLiteralPartCS= ruleCollectionLiteralPartCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3050:2: iv_ruleCollectionLiteralPartCS= ruleCollectionLiteralPartCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getCollectionLiteralPartCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCollectionLiteralPartCS_in_entryRuleCollectionLiteralPartCS6972); |
| iv_ruleCollectionLiteralPartCS=ruleCollectionLiteralPartCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleCollectionLiteralPartCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCollectionLiteralPartCS6982); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleCollectionLiteralPartCS" |
| |
| |
| // $ANTLR start "ruleCollectionLiteralPartCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3057:1: ruleCollectionLiteralPartCS returns [EObject current=null] : ( ( ( (lv_ownedExpression_0_0= ruleExpCS ) ) (otherlv_1= '..' ( (lv_ownedLastExpression_2_0= ruleExpCS ) ) )? ) | ( (lv_ownedExpression_3_0= rulePatternExpCS ) ) ) ; |
| public final EObject ruleCollectionLiteralPartCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| EObject lv_ownedExpression_0_0 = null; |
| |
| EObject lv_ownedLastExpression_2_0 = null; |
| |
| EObject lv_ownedExpression_3_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3060:28: ( ( ( ( (lv_ownedExpression_0_0= ruleExpCS ) ) (otherlv_1= '..' ( (lv_ownedLastExpression_2_0= ruleExpCS ) ) )? ) | ( (lv_ownedExpression_3_0= rulePatternExpCS ) ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3061:1: ( ( ( (lv_ownedExpression_0_0= ruleExpCS ) ) (otherlv_1= '..' ( (lv_ownedLastExpression_2_0= ruleExpCS ) ) )? ) | ( (lv_ownedExpression_3_0= rulePatternExpCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3061:1: ( ( ( (lv_ownedExpression_0_0= ruleExpCS ) ) (otherlv_1= '..' ( (lv_ownedLastExpression_2_0= ruleExpCS ) ) )? ) | ( (lv_ownedExpression_3_0= rulePatternExpCS ) ) ) |
| int alt60=2; |
| switch ( input.LA(1) ) { |
| case RULE_INT: |
| case RULE_SINGLE_QUOTED_STRING: |
| case 21: |
| case 40: |
| case 41: |
| case 42: |
| case 43: |
| case 44: |
| case 45: |
| case 46: |
| case 47: |
| case 48: |
| case 49: |
| case 50: |
| case 51: |
| case 52: |
| case 68: |
| case 69: |
| case 71: |
| case 72: |
| case 73: |
| case 74: |
| case 75: |
| case 76: |
| case 82: |
| case 83: |
| case 84: |
| case 85: |
| case 92: |
| case 97: |
| case 98: |
| { |
| alt60=1; |
| } |
| break; |
| case RULE_SIMPLE_ID: |
| { |
| int LA60_2 = input.LA(2); |
| |
| if ( (LA60_2==23) ) { |
| alt60=2; |
| } |
| else if ( (LA60_2==EOF||(LA60_2>=17 && LA60_2<=18)||LA60_2==21||(LA60_2>=26 && LA60_2<=27)||LA60_2==50||(LA60_2>=52 && LA60_2<=67)||LA60_2==70||(LA60_2>=77 && LA60_2<=79)||(LA60_2>=86 && LA60_2<=87)) ) { |
| alt60=1; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 60, 2, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case RULE_ESCAPED_ID: |
| { |
| int LA60_3 = input.LA(2); |
| |
| if ( (LA60_3==23) ) { |
| alt60=2; |
| } |
| else if ( (LA60_3==EOF||(LA60_3>=17 && LA60_3<=18)||LA60_3==21||(LA60_3>=26 && LA60_3<=27)||LA60_3==50||(LA60_3>=52 && LA60_3<=67)||LA60_3==70||(LA60_3>=77 && LA60_3<=79)||(LA60_3>=86 && LA60_3<=87)) ) { |
| alt60=1; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 60, 3, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 28: |
| { |
| int LA60_4 = input.LA(2); |
| |
| if ( (LA60_4==23) ) { |
| alt60=2; |
| } |
| else if ( (LA60_4==EOF||(LA60_4>=17 && LA60_4<=18)||LA60_4==21||(LA60_4>=26 && LA60_4<=27)||LA60_4==50||(LA60_4>=52 && LA60_4<=67)||LA60_4==70||(LA60_4>=77 && LA60_4<=79)||(LA60_4>=86 && LA60_4<=87)) ) { |
| alt60=1; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 60, 4, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 29: |
| { |
| int LA60_5 = input.LA(2); |
| |
| if ( (LA60_5==23) ) { |
| alt60=2; |
| } |
| else if ( (LA60_5==EOF||(LA60_5>=17 && LA60_5<=18)||LA60_5==21||(LA60_5>=26 && LA60_5<=27)||LA60_5==50||(LA60_5>=52 && LA60_5<=67)||LA60_5==70||(LA60_5>=77 && LA60_5<=79)||(LA60_5>=86 && LA60_5<=87)) ) { |
| alt60=1; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 60, 5, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 30: |
| { |
| int LA60_6 = input.LA(2); |
| |
| if ( (LA60_6==23) ) { |
| alt60=2; |
| } |
| else if ( (LA60_6==EOF||(LA60_6>=17 && LA60_6<=18)||LA60_6==21||(LA60_6>=26 && LA60_6<=27)||LA60_6==50||(LA60_6>=52 && LA60_6<=67)||LA60_6==70||(LA60_6>=77 && LA60_6<=79)||(LA60_6>=86 && LA60_6<=87)) ) { |
| alt60=1; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 60, 6, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 23: |
| { |
| alt60=2; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 60, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt60) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3061:2: ( ( (lv_ownedExpression_0_0= ruleExpCS ) ) (otherlv_1= '..' ( (lv_ownedLastExpression_2_0= ruleExpCS ) ) )? ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3061:2: ( ( (lv_ownedExpression_0_0= ruleExpCS ) ) (otherlv_1= '..' ( (lv_ownedLastExpression_2_0= ruleExpCS ) ) )? ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3061:3: ( (lv_ownedExpression_0_0= ruleExpCS ) ) (otherlv_1= '..' ( (lv_ownedLastExpression_2_0= ruleExpCS ) ) )? |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3061:3: ( (lv_ownedExpression_0_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3062:1: (lv_ownedExpression_0_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3062:1: (lv_ownedExpression_0_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3063:3: lv_ownedExpression_0_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getCollectionLiteralPartCSAccess().getOwnedExpressionExpCSParserRuleCall_0_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleCollectionLiteralPartCS7029); |
| lv_ownedExpression_0_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getCollectionLiteralPartCSRule()); |
| } |
| set( |
| current, |
| "ownedExpression", |
| lv_ownedExpression_0_0, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3079:2: (otherlv_1= '..' ( (lv_ownedLastExpression_2_0= ruleExpCS ) ) )? |
| int alt59=2; |
| int LA59_0 = input.LA(1); |
| |
| if ( (LA59_0==79) ) { |
| alt59=1; |
| } |
| switch (alt59) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3079:4: otherlv_1= '..' ( (lv_ownedLastExpression_2_0= ruleExpCS ) ) |
| { |
| otherlv_1=(Token)match(input,79,FollowSets000.FOLLOW_79_in_ruleCollectionLiteralPartCS7042); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getCollectionLiteralPartCSAccess().getFullStopFullStopKeyword_0_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3083:1: ( (lv_ownedLastExpression_2_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3084:1: (lv_ownedLastExpression_2_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3084:1: (lv_ownedLastExpression_2_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3085:3: lv_ownedLastExpression_2_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getCollectionLiteralPartCSAccess().getOwnedLastExpressionExpCSParserRuleCall_0_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleCollectionLiteralPartCS7063); |
| lv_ownedLastExpression_2_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getCollectionLiteralPartCSRule()); |
| } |
| set( |
| current, |
| "ownedLastExpression", |
| lv_ownedLastExpression_2_0, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3102:6: ( (lv_ownedExpression_3_0= rulePatternExpCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3102:6: ( (lv_ownedExpression_3_0= rulePatternExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3103:1: (lv_ownedExpression_3_0= rulePatternExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3103:1: (lv_ownedExpression_3_0= rulePatternExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3104:3: lv_ownedExpression_3_0= rulePatternExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getCollectionLiteralPartCSAccess().getOwnedExpressionPatternExpCSParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePatternExpCS_in_ruleCollectionLiteralPartCS7093); |
| lv_ownedExpression_3_0=rulePatternExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getCollectionLiteralPartCSRule()); |
| } |
| set( |
| current, |
| "ownedExpression", |
| lv_ownedExpression_3_0, |
| "PatternExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleCollectionLiteralPartCS" |
| |
| |
| // $ANTLR start "entryRuleCollectionPatternCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3128:1: entryRuleCollectionPatternCS returns [EObject current=null] : iv_ruleCollectionPatternCS= ruleCollectionPatternCS EOF ; |
| public final EObject entryRuleCollectionPatternCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleCollectionPatternCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3129:2: (iv_ruleCollectionPatternCS= ruleCollectionPatternCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3130:2: iv_ruleCollectionPatternCS= ruleCollectionPatternCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getCollectionPatternCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCollectionPatternCS_in_entryRuleCollectionPatternCS7129); |
| iv_ruleCollectionPatternCS=ruleCollectionPatternCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleCollectionPatternCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCollectionPatternCS7139); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleCollectionPatternCS" |
| |
| |
| // $ANTLR start "ruleCollectionPatternCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3137:1: ruleCollectionPatternCS returns [EObject current=null] : ( ( (lv_ownedType_0_0= ruleCollectionTypeCS ) ) otherlv_1= '{' ( ( (lv_ownedParts_2_0= rulePatternExpCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= rulePatternExpCS ) ) )* (otherlv_5= '++' ( (lv_restVariableName_6_0= ruleIdentifier ) ) ) )? otherlv_7= '}' ) ; |
| public final EObject ruleCollectionPatternCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token otherlv_5=null; |
| Token otherlv_7=null; |
| EObject lv_ownedType_0_0 = null; |
| |
| EObject lv_ownedParts_2_0 = null; |
| |
| EObject lv_ownedParts_4_0 = null; |
| |
| AntlrDatatypeRuleToken lv_restVariableName_6_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3140:28: ( ( ( (lv_ownedType_0_0= ruleCollectionTypeCS ) ) otherlv_1= '{' ( ( (lv_ownedParts_2_0= rulePatternExpCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= rulePatternExpCS ) ) )* (otherlv_5= '++' ( (lv_restVariableName_6_0= ruleIdentifier ) ) ) )? otherlv_7= '}' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3141:1: ( ( (lv_ownedType_0_0= ruleCollectionTypeCS ) ) otherlv_1= '{' ( ( (lv_ownedParts_2_0= rulePatternExpCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= rulePatternExpCS ) ) )* (otherlv_5= '++' ( (lv_restVariableName_6_0= ruleIdentifier ) ) ) )? otherlv_7= '}' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3141:1: ( ( (lv_ownedType_0_0= ruleCollectionTypeCS ) ) otherlv_1= '{' ( ( (lv_ownedParts_2_0= rulePatternExpCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= rulePatternExpCS ) ) )* (otherlv_5= '++' ( (lv_restVariableName_6_0= ruleIdentifier ) ) ) )? otherlv_7= '}' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3141:2: ( (lv_ownedType_0_0= ruleCollectionTypeCS ) ) otherlv_1= '{' ( ( (lv_ownedParts_2_0= rulePatternExpCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= rulePatternExpCS ) ) )* (otherlv_5= '++' ( (lv_restVariableName_6_0= ruleIdentifier ) ) ) )? otherlv_7= '}' |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3141:2: ( (lv_ownedType_0_0= ruleCollectionTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3142:1: (lv_ownedType_0_0= ruleCollectionTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3142:1: (lv_ownedType_0_0= ruleCollectionTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3143:3: lv_ownedType_0_0= ruleCollectionTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getCollectionPatternCSAccess().getOwnedTypeCollectionTypeCSParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeCS_in_ruleCollectionPatternCS7185); |
| lv_ownedType_0_0=ruleCollectionTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getCollectionPatternCSRule()); |
| } |
| set( |
| current, |
| "ownedType", |
| lv_ownedType_0_0, |
| "CollectionTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_1=(Token)match(input,77,FollowSets000.FOLLOW_77_in_ruleCollectionPatternCS7197); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getCollectionPatternCSAccess().getLeftCurlyBracketKeyword_1()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3163:1: ( ( (lv_ownedParts_2_0= rulePatternExpCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= rulePatternExpCS ) ) )* (otherlv_5= '++' ( (lv_restVariableName_6_0= ruleIdentifier ) ) ) )? |
| int alt62=2; |
| int LA62_0 = input.LA(1); |
| |
| if ( ((LA62_0>=RULE_SIMPLE_ID && LA62_0<=RULE_ESCAPED_ID)||LA62_0==23||(LA62_0>=28 && LA62_0<=30)) ) { |
| alt62=1; |
| } |
| switch (alt62) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3163:2: ( (lv_ownedParts_2_0= rulePatternExpCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= rulePatternExpCS ) ) )* (otherlv_5= '++' ( (lv_restVariableName_6_0= ruleIdentifier ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3163:2: ( (lv_ownedParts_2_0= rulePatternExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3164:1: (lv_ownedParts_2_0= rulePatternExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3164:1: (lv_ownedParts_2_0= rulePatternExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3165:3: lv_ownedParts_2_0= rulePatternExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getCollectionPatternCSAccess().getOwnedPartsPatternExpCSParserRuleCall_2_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePatternExpCS_in_ruleCollectionPatternCS7219); |
| lv_ownedParts_2_0=rulePatternExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getCollectionPatternCSRule()); |
| } |
| add( |
| current, |
| "ownedParts", |
| lv_ownedParts_2_0, |
| "PatternExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3181:2: (otherlv_3= ',' ( (lv_ownedParts_4_0= rulePatternExpCS ) ) )* |
| loop61: |
| do { |
| int alt61=2; |
| int LA61_0 = input.LA(1); |
| |
| if ( (LA61_0==26) ) { |
| alt61=1; |
| } |
| |
| |
| switch (alt61) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3181:4: otherlv_3= ',' ( (lv_ownedParts_4_0= rulePatternExpCS ) ) |
| { |
| otherlv_3=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleCollectionPatternCS7232); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getCollectionPatternCSAccess().getCommaKeyword_2_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3185:1: ( (lv_ownedParts_4_0= rulePatternExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3186:1: (lv_ownedParts_4_0= rulePatternExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3186:1: (lv_ownedParts_4_0= rulePatternExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3187:3: lv_ownedParts_4_0= rulePatternExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getCollectionPatternCSAccess().getOwnedPartsPatternExpCSParserRuleCall_2_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePatternExpCS_in_ruleCollectionPatternCS7253); |
| lv_ownedParts_4_0=rulePatternExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getCollectionPatternCSRule()); |
| } |
| add( |
| current, |
| "ownedParts", |
| lv_ownedParts_4_0, |
| "PatternExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop61; |
| } |
| } while (true); |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3203:4: (otherlv_5= '++' ( (lv_restVariableName_6_0= ruleIdentifier ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3203:6: otherlv_5= '++' ( (lv_restVariableName_6_0= ruleIdentifier ) ) |
| { |
| otherlv_5=(Token)match(input,80,FollowSets000.FOLLOW_80_in_ruleCollectionPatternCS7268); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getCollectionPatternCSAccess().getPlusSignPlusSignKeyword_2_2_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3207:1: ( (lv_restVariableName_6_0= ruleIdentifier ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3208:1: (lv_restVariableName_6_0= ruleIdentifier ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3208:1: (lv_restVariableName_6_0= ruleIdentifier ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3209:3: lv_restVariableName_6_0= ruleIdentifier |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getCollectionPatternCSAccess().getRestVariableNameIdentifierParserRuleCall_2_2_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleIdentifier_in_ruleCollectionPatternCS7289); |
| lv_restVariableName_6_0=ruleIdentifier(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getCollectionPatternCSRule()); |
| } |
| set( |
| current, |
| "restVariableName", |
| lv_restVariableName_6_0, |
| "Identifier"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_7=(Token)match(input,78,FollowSets000.FOLLOW_78_in_ruleCollectionPatternCS7304); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getCollectionPatternCSAccess().getRightCurlyBracketKeyword_3()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleCollectionPatternCS" |
| |
| |
| // $ANTLR start "entryRuleShadowPartCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3237:1: entryRuleShadowPartCS returns [EObject current=null] : iv_ruleShadowPartCS= ruleShadowPartCS EOF ; |
| public final EObject entryRuleShadowPartCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleShadowPartCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3238:2: (iv_ruleShadowPartCS= ruleShadowPartCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3239:2: iv_ruleShadowPartCS= ruleShadowPartCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getShadowPartCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleShadowPartCS_in_entryRuleShadowPartCS7340); |
| iv_ruleShadowPartCS=ruleShadowPartCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleShadowPartCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleShadowPartCS7350); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleShadowPartCS" |
| |
| |
| // $ANTLR start "ruleShadowPartCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3246:1: ruleShadowPartCS returns [EObject current=null] : ( ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( ( (lv_ownedInitExpression_2_1= ruleExpCS | lv_ownedInitExpression_2_2= rulePatternExpCS ) ) ) ) ; |
| public final EObject ruleShadowPartCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| EObject lv_ownedInitExpression_2_1 = null; |
| |
| EObject lv_ownedInitExpression_2_2 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3249:28: ( ( ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( ( (lv_ownedInitExpression_2_1= ruleExpCS | lv_ownedInitExpression_2_2= rulePatternExpCS ) ) ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3250:1: ( ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( ( (lv_ownedInitExpression_2_1= ruleExpCS | lv_ownedInitExpression_2_2= rulePatternExpCS ) ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3250:1: ( ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( ( (lv_ownedInitExpression_2_1= ruleExpCS | lv_ownedInitExpression_2_2= rulePatternExpCS ) ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3250:2: ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( ( (lv_ownedInitExpression_2_1= ruleExpCS | lv_ownedInitExpression_2_2= rulePatternExpCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3250:2: ( ( ruleUnrestrictedName ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3251:1: ( ruleUnrestrictedName ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3251:1: ( ruleUnrestrictedName ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3252:3: ruleUnrestrictedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getShadowPartCSRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getShadowPartCSAccess().getReferredPropertyPropertyCrossReference_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleShadowPartCS7402); |
| ruleUnrestrictedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_1=(Token)match(input,27,FollowSets000.FOLLOW_27_in_ruleShadowPartCS7414); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getShadowPartCSAccess().getEqualsSignKeyword_1()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3272:1: ( ( (lv_ownedInitExpression_2_1= ruleExpCS | lv_ownedInitExpression_2_2= rulePatternExpCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3273:1: ( (lv_ownedInitExpression_2_1= ruleExpCS | lv_ownedInitExpression_2_2= rulePatternExpCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3273:1: ( (lv_ownedInitExpression_2_1= ruleExpCS | lv_ownedInitExpression_2_2= rulePatternExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3274:1: (lv_ownedInitExpression_2_1= ruleExpCS | lv_ownedInitExpression_2_2= rulePatternExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3274:1: (lv_ownedInitExpression_2_1= ruleExpCS | lv_ownedInitExpression_2_2= rulePatternExpCS ) |
| int alt63=2; |
| switch ( input.LA(1) ) { |
| case RULE_INT: |
| case RULE_SINGLE_QUOTED_STRING: |
| case 21: |
| case 40: |
| case 41: |
| case 42: |
| case 43: |
| case 44: |
| case 45: |
| case 46: |
| case 47: |
| case 48: |
| case 49: |
| case 50: |
| case 51: |
| case 52: |
| case 68: |
| case 69: |
| case 71: |
| case 72: |
| case 73: |
| case 74: |
| case 75: |
| case 76: |
| case 82: |
| case 83: |
| case 84: |
| case 85: |
| case 92: |
| case 97: |
| case 98: |
| { |
| alt63=1; |
| } |
| break; |
| case RULE_SIMPLE_ID: |
| { |
| int LA63_2 = input.LA(2); |
| |
| if ( (LA63_2==EOF||(LA63_2>=17 && LA63_2<=18)||LA63_2==21||(LA63_2>=26 && LA63_2<=27)||LA63_2==50||(LA63_2>=52 && LA63_2<=67)||LA63_2==70||(LA63_2>=77 && LA63_2<=78)||(LA63_2>=86 && LA63_2<=87)) ) { |
| alt63=1; |
| } |
| else if ( (LA63_2==23) ) { |
| alt63=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 63, 2, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case RULE_ESCAPED_ID: |
| { |
| int LA63_3 = input.LA(2); |
| |
| if ( (LA63_3==EOF||(LA63_3>=17 && LA63_3<=18)||LA63_3==21||(LA63_3>=26 && LA63_3<=27)||LA63_3==50||(LA63_3>=52 && LA63_3<=67)||LA63_3==70||(LA63_3>=77 && LA63_3<=78)||(LA63_3>=86 && LA63_3<=87)) ) { |
| alt63=1; |
| } |
| else if ( (LA63_3==23) ) { |
| alt63=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 63, 3, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 28: |
| { |
| int LA63_4 = input.LA(2); |
| |
| if ( (LA63_4==23) ) { |
| alt63=2; |
| } |
| else if ( (LA63_4==EOF||(LA63_4>=17 && LA63_4<=18)||LA63_4==21||(LA63_4>=26 && LA63_4<=27)||LA63_4==50||(LA63_4>=52 && LA63_4<=67)||LA63_4==70||(LA63_4>=77 && LA63_4<=78)||(LA63_4>=86 && LA63_4<=87)) ) { |
| alt63=1; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 63, 4, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 29: |
| { |
| int LA63_5 = input.LA(2); |
| |
| if ( (LA63_5==EOF||(LA63_5>=17 && LA63_5<=18)||LA63_5==21||(LA63_5>=26 && LA63_5<=27)||LA63_5==50||(LA63_5>=52 && LA63_5<=67)||LA63_5==70||(LA63_5>=77 && LA63_5<=78)||(LA63_5>=86 && LA63_5<=87)) ) { |
| alt63=1; |
| } |
| else if ( (LA63_5==23) ) { |
| alt63=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 63, 5, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 30: |
| { |
| int LA63_6 = input.LA(2); |
| |
| if ( (LA63_6==EOF||(LA63_6>=17 && LA63_6<=18)||LA63_6==21||(LA63_6>=26 && LA63_6<=27)||LA63_6==50||(LA63_6>=52 && LA63_6<=67)||LA63_6==70||(LA63_6>=77 && LA63_6<=78)||(LA63_6>=86 && LA63_6<=87)) ) { |
| alt63=1; |
| } |
| else if ( (LA63_6==23) ) { |
| alt63=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 63, 6, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 23: |
| { |
| alt63=2; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 63, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt63) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3275:3: lv_ownedInitExpression_2_1= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getShadowPartCSAccess().getOwnedInitExpressionExpCSParserRuleCall_2_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleShadowPartCS7437); |
| lv_ownedInitExpression_2_1=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getShadowPartCSRule()); |
| } |
| set( |
| current, |
| "ownedInitExpression", |
| lv_ownedInitExpression_2_1, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3290:8: lv_ownedInitExpression_2_2= rulePatternExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getShadowPartCSAccess().getOwnedInitExpressionPatternExpCSParserRuleCall_2_0_1()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePatternExpCS_in_ruleShadowPartCS7456); |
| lv_ownedInitExpression_2_2=rulePatternExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getShadowPartCSRule()); |
| } |
| set( |
| current, |
| "ownedInitExpression", |
| lv_ownedInitExpression_2_2, |
| "PatternExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleShadowPartCS" |
| |
| |
| // $ANTLR start "entryRulePatternExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3316:1: entryRulePatternExpCS returns [EObject current=null] : iv_rulePatternExpCS= rulePatternExpCS EOF ; |
| public final EObject entryRulePatternExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_rulePatternExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3317:2: (iv_rulePatternExpCS= rulePatternExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3318:2: iv_rulePatternExpCS= rulePatternExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getPatternExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePatternExpCS_in_entryRulePatternExpCS7495); |
| iv_rulePatternExpCS=rulePatternExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_rulePatternExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePatternExpCS7505); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRulePatternExpCS" |
| |
| |
| // $ANTLR start "rulePatternExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3325:1: rulePatternExpCS returns [EObject current=null] : ( ( (lv_patternVariableName_0_0= ruleUnrestrictedName ) )? otherlv_1= ':' ( (lv_ownedPatternType_2_0= ruleTypeExpCS ) ) ) ; |
| public final EObject rulePatternExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| AntlrDatatypeRuleToken lv_patternVariableName_0_0 = null; |
| |
| EObject lv_ownedPatternType_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3328:28: ( ( ( (lv_patternVariableName_0_0= ruleUnrestrictedName ) )? otherlv_1= ':' ( (lv_ownedPatternType_2_0= ruleTypeExpCS ) ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3329:1: ( ( (lv_patternVariableName_0_0= ruleUnrestrictedName ) )? otherlv_1= ':' ( (lv_ownedPatternType_2_0= ruleTypeExpCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3329:1: ( ( (lv_patternVariableName_0_0= ruleUnrestrictedName ) )? otherlv_1= ':' ( (lv_ownedPatternType_2_0= ruleTypeExpCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3329:2: ( (lv_patternVariableName_0_0= ruleUnrestrictedName ) )? otherlv_1= ':' ( (lv_ownedPatternType_2_0= ruleTypeExpCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3329:2: ( (lv_patternVariableName_0_0= ruleUnrestrictedName ) )? |
| int alt64=2; |
| int LA64_0 = input.LA(1); |
| |
| if ( ((LA64_0>=RULE_SIMPLE_ID && LA64_0<=RULE_ESCAPED_ID)||(LA64_0>=28 && LA64_0<=30)) ) { |
| alt64=1; |
| } |
| switch (alt64) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3330:1: (lv_patternVariableName_0_0= ruleUnrestrictedName ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3330:1: (lv_patternVariableName_0_0= ruleUnrestrictedName ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3331:3: lv_patternVariableName_0_0= ruleUnrestrictedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPatternExpCSAccess().getPatternVariableNameUnrestrictedNameParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_rulePatternExpCS7551); |
| lv_patternVariableName_0_0=ruleUnrestrictedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getPatternExpCSRule()); |
| } |
| set( |
| current, |
| "patternVariableName", |
| lv_patternVariableName_0_0, |
| "UnrestrictedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_1=(Token)match(input,23,FollowSets000.FOLLOW_23_in_rulePatternExpCS7564); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getPatternExpCSAccess().getColonKeyword_1()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3351:1: ( (lv_ownedPatternType_2_0= ruleTypeExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3352:1: (lv_ownedPatternType_2_0= ruleTypeExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3352:1: (lv_ownedPatternType_2_0= ruleTypeExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3353:3: lv_ownedPatternType_2_0= ruleTypeExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPatternExpCSAccess().getOwnedPatternTypeTypeExpCSParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTypeExpCS_in_rulePatternExpCS7585); |
| lv_ownedPatternType_2_0=ruleTypeExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getPatternExpCSRule()); |
| } |
| set( |
| current, |
| "ownedPatternType", |
| lv_ownedPatternType_2_0, |
| "TypeExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "rulePatternExpCS" |
| |
| |
| // $ANTLR start "entryRuleLambdaLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3377:1: entryRuleLambdaLiteralExpCS returns [EObject current=null] : iv_ruleLambdaLiteralExpCS= ruleLambdaLiteralExpCS EOF ; |
| public final EObject entryRuleLambdaLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleLambdaLiteralExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3378:2: (iv_ruleLambdaLiteralExpCS= ruleLambdaLiteralExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3379:2: iv_ruleLambdaLiteralExpCS= ruleLambdaLiteralExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getLambdaLiteralExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleLambdaLiteralExpCS_in_entryRuleLambdaLiteralExpCS7621); |
| iv_ruleLambdaLiteralExpCS=ruleLambdaLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleLambdaLiteralExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLambdaLiteralExpCS7631); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleLambdaLiteralExpCS" |
| |
| |
| // $ANTLR start "ruleLambdaLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3386:1: ruleLambdaLiteralExpCS returns [EObject current=null] : ( ( (lv_name_0_0= 'Lambda' ) ) otherlv_1= '(' ( ( (lv_ownedParameters_2_0= ruleLambdaParameterCS ) ) (otherlv_3= ',' ( (lv_ownedParameters_4_0= ruleLambdaParameterCS ) ) )* )? otherlv_5= ')' otherlv_6= ':' ( (lv_ownedType_7_0= ruleComplexTypeCS ) ) otherlv_8= '{' ( (lv_ownedExpression_9_0= ruleExpCS ) ) otherlv_10= '}' ) ; |
| public final EObject ruleLambdaLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_name_0_0=null; |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token otherlv_5=null; |
| Token otherlv_6=null; |
| Token otherlv_8=null; |
| Token otherlv_10=null; |
| EObject lv_ownedParameters_2_0 = null; |
| |
| EObject lv_ownedParameters_4_0 = null; |
| |
| EObject lv_ownedType_7_0 = null; |
| |
| EObject lv_ownedExpression_9_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3389:28: ( ( ( (lv_name_0_0= 'Lambda' ) ) otherlv_1= '(' ( ( (lv_ownedParameters_2_0= ruleLambdaParameterCS ) ) (otherlv_3= ',' ( (lv_ownedParameters_4_0= ruleLambdaParameterCS ) ) )* )? otherlv_5= ')' otherlv_6= ':' ( (lv_ownedType_7_0= ruleComplexTypeCS ) ) otherlv_8= '{' ( (lv_ownedExpression_9_0= ruleExpCS ) ) otherlv_10= '}' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3390:1: ( ( (lv_name_0_0= 'Lambda' ) ) otherlv_1= '(' ( ( (lv_ownedParameters_2_0= ruleLambdaParameterCS ) ) (otherlv_3= ',' ( (lv_ownedParameters_4_0= ruleLambdaParameterCS ) ) )* )? otherlv_5= ')' otherlv_6= ':' ( (lv_ownedType_7_0= ruleComplexTypeCS ) ) otherlv_8= '{' ( (lv_ownedExpression_9_0= ruleExpCS ) ) otherlv_10= '}' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3390:1: ( ( (lv_name_0_0= 'Lambda' ) ) otherlv_1= '(' ( ( (lv_ownedParameters_2_0= ruleLambdaParameterCS ) ) (otherlv_3= ',' ( (lv_ownedParameters_4_0= ruleLambdaParameterCS ) ) )* )? otherlv_5= ')' otherlv_6= ':' ( (lv_ownedType_7_0= ruleComplexTypeCS ) ) otherlv_8= '{' ( (lv_ownedExpression_9_0= ruleExpCS ) ) otherlv_10= '}' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3390:2: ( (lv_name_0_0= 'Lambda' ) ) otherlv_1= '(' ( ( (lv_ownedParameters_2_0= ruleLambdaParameterCS ) ) (otherlv_3= ',' ( (lv_ownedParameters_4_0= ruleLambdaParameterCS ) ) )* )? otherlv_5= ')' otherlv_6= ':' ( (lv_ownedType_7_0= ruleComplexTypeCS ) ) otherlv_8= '{' ( (lv_ownedExpression_9_0= ruleExpCS ) ) otherlv_10= '}' |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3390:2: ( (lv_name_0_0= 'Lambda' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3391:1: (lv_name_0_0= 'Lambda' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3391:1: (lv_name_0_0= 'Lambda' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3392:3: lv_name_0_0= 'Lambda' |
| { |
| lv_name_0_0=(Token)match(input,76,FollowSets000.FOLLOW_76_in_ruleLambdaLiteralExpCS7674); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_name_0_0, grammarAccess.getLambdaLiteralExpCSAccess().getNameLambdaKeyword_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getLambdaLiteralExpCSRule()); |
| } |
| setWithLastConsumed(current, "name", lv_name_0_0, "Lambda"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_1=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleLambdaLiteralExpCS7699); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getLambdaLiteralExpCSAccess().getLeftParenthesisKeyword_1()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3409:1: ( ( (lv_ownedParameters_2_0= ruleLambdaParameterCS ) ) (otherlv_3= ',' ( (lv_ownedParameters_4_0= ruleLambdaParameterCS ) ) )* )? |
| int alt66=2; |
| int LA66_0 = input.LA(1); |
| |
| if ( ((LA66_0>=RULE_SIMPLE_ID && LA66_0<=RULE_ESCAPED_ID)||(LA66_0>=28 && LA66_0<=30)) ) { |
| alt66=1; |
| } |
| switch (alt66) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3409:2: ( (lv_ownedParameters_2_0= ruleLambdaParameterCS ) ) (otherlv_3= ',' ( (lv_ownedParameters_4_0= ruleLambdaParameterCS ) ) )* |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3409:2: ( (lv_ownedParameters_2_0= ruleLambdaParameterCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3410:1: (lv_ownedParameters_2_0= ruleLambdaParameterCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3410:1: (lv_ownedParameters_2_0= ruleLambdaParameterCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3411:3: lv_ownedParameters_2_0= ruleLambdaParameterCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getLambdaLiteralExpCSAccess().getOwnedParametersLambdaParameterCSParserRuleCall_2_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleLambdaParameterCS_in_ruleLambdaLiteralExpCS7721); |
| lv_ownedParameters_2_0=ruleLambdaParameterCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getLambdaLiteralExpCSRule()); |
| } |
| add( |
| current, |
| "ownedParameters", |
| lv_ownedParameters_2_0, |
| "LambdaParameterCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3427:2: (otherlv_3= ',' ( (lv_ownedParameters_4_0= ruleLambdaParameterCS ) ) )* |
| loop65: |
| do { |
| int alt65=2; |
| int LA65_0 = input.LA(1); |
| |
| if ( (LA65_0==26) ) { |
| alt65=1; |
| } |
| |
| |
| switch (alt65) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3427:4: otherlv_3= ',' ( (lv_ownedParameters_4_0= ruleLambdaParameterCS ) ) |
| { |
| otherlv_3=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleLambdaLiteralExpCS7734); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getLambdaLiteralExpCSAccess().getCommaKeyword_2_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3431:1: ( (lv_ownedParameters_4_0= ruleLambdaParameterCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3432:1: (lv_ownedParameters_4_0= ruleLambdaParameterCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3432:1: (lv_ownedParameters_4_0= ruleLambdaParameterCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3433:3: lv_ownedParameters_4_0= ruleLambdaParameterCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getLambdaLiteralExpCSAccess().getOwnedParametersLambdaParameterCSParserRuleCall_2_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleLambdaParameterCS_in_ruleLambdaLiteralExpCS7755); |
| lv_ownedParameters_4_0=ruleLambdaParameterCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getLambdaLiteralExpCSRule()); |
| } |
| add( |
| current, |
| "ownedParameters", |
| lv_ownedParameters_4_0, |
| "LambdaParameterCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop65; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_5=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleLambdaLiteralExpCS7771); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getLambdaLiteralExpCSAccess().getRightParenthesisKeyword_3()); |
| |
| } |
| otherlv_6=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleLambdaLiteralExpCS7783); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getLambdaLiteralExpCSAccess().getColonKeyword_4()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3457:1: ( (lv_ownedType_7_0= ruleComplexTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3458:1: (lv_ownedType_7_0= ruleComplexTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3458:1: (lv_ownedType_7_0= ruleComplexTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3459:3: lv_ownedType_7_0= ruleComplexTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getLambdaLiteralExpCSAccess().getOwnedTypeComplexTypeCSParserRuleCall_5_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_ruleLambdaLiteralExpCS7804); |
| lv_ownedType_7_0=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getLambdaLiteralExpCSRule()); |
| } |
| set( |
| current, |
| "ownedType", |
| lv_ownedType_7_0, |
| "ComplexTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_8=(Token)match(input,77,FollowSets000.FOLLOW_77_in_ruleLambdaLiteralExpCS7816); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getLambdaLiteralExpCSAccess().getLeftCurlyBracketKeyword_6()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3479:1: ( (lv_ownedExpression_9_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3480:1: (lv_ownedExpression_9_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3480:1: (lv_ownedExpression_9_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3481:3: lv_ownedExpression_9_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getLambdaLiteralExpCSAccess().getOwnedExpressionExpCSParserRuleCall_7_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleLambdaLiteralExpCS7837); |
| lv_ownedExpression_9_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getLambdaLiteralExpCSRule()); |
| } |
| set( |
| current, |
| "ownedExpression", |
| lv_ownedExpression_9_0, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_10=(Token)match(input,78,FollowSets000.FOLLOW_78_in_ruleLambdaLiteralExpCS7849); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getLambdaLiteralExpCSAccess().getRightCurlyBracketKeyword_8()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleLambdaLiteralExpCS" |
| |
| |
| // $ANTLR start "entryRuleLambdaParameterCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3509:1: entryRuleLambdaParameterCS returns [EObject current=null] : iv_ruleLambdaParameterCS= ruleLambdaParameterCS EOF ; |
| public final EObject entryRuleLambdaParameterCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleLambdaParameterCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3510:2: (iv_ruleLambdaParameterCS= ruleLambdaParameterCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3511:2: iv_ruleLambdaParameterCS= ruleLambdaParameterCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getLambdaParameterCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleLambdaParameterCS_in_entryRuleLambdaParameterCS7885); |
| iv_ruleLambdaParameterCS=ruleLambdaParameterCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleLambdaParameterCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLambdaParameterCS7895); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleLambdaParameterCS" |
| |
| |
| // $ANTLR start "ruleLambdaParameterCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3518:1: ruleLambdaParameterCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) ) ; |
| public final EObject ruleLambdaParameterCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| AntlrDatatypeRuleToken lv_name_0_0 = null; |
| |
| EObject lv_ownedType_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3521:28: ( ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3522:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3522:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3522:2: ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3522:2: ( (lv_name_0_0= ruleUnrestrictedName ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3523:1: (lv_name_0_0= ruleUnrestrictedName ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3523:1: (lv_name_0_0= ruleUnrestrictedName ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3524:3: lv_name_0_0= ruleUnrestrictedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getLambdaParameterCSAccess().getNameUnrestrictedNameParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleLambdaParameterCS7941); |
| lv_name_0_0=ruleUnrestrictedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getLambdaParameterCSRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_0_0, |
| "UnrestrictedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_1=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleLambdaParameterCS7953); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getLambdaParameterCSAccess().getColonKeyword_1()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3544:1: ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3545:1: (lv_ownedType_2_0= ruleComplexTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3545:1: (lv_ownedType_2_0= ruleComplexTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3546:3: lv_ownedType_2_0= ruleComplexTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getLambdaParameterCSAccess().getOwnedTypeComplexTypeCSParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_ruleLambdaParameterCS7974); |
| lv_ownedType_2_0=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getLambdaParameterCSRule()); |
| } |
| set( |
| current, |
| "ownedType", |
| lv_ownedType_2_0, |
| "ComplexTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleLambdaParameterCS" |
| |
| |
| // $ANTLR start "entryRuleMapLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3570:1: entryRuleMapLiteralExpCS returns [EObject current=null] : iv_ruleMapLiteralExpCS= ruleMapLiteralExpCS EOF ; |
| public final EObject entryRuleMapLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleMapLiteralExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3571:2: (iv_ruleMapLiteralExpCS= ruleMapLiteralExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3572:2: iv_ruleMapLiteralExpCS= ruleMapLiteralExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getMapLiteralExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleMapLiteralExpCS_in_entryRuleMapLiteralExpCS8010); |
| iv_ruleMapLiteralExpCS=ruleMapLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleMapLiteralExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleMapLiteralExpCS8020); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleMapLiteralExpCS" |
| |
| |
| // $ANTLR start "ruleMapLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3579:1: ruleMapLiteralExpCS returns [EObject current=null] : ( ( (lv_ownedType_0_0= ruleMapTypeCS ) ) otherlv_1= '{' ( ( (lv_ownedParts_2_0= ruleMapLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleMapLiteralPartCS ) ) )* )? otherlv_5= '}' ) ; |
| public final EObject ruleMapLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token otherlv_5=null; |
| EObject lv_ownedType_0_0 = null; |
| |
| EObject lv_ownedParts_2_0 = null; |
| |
| EObject lv_ownedParts_4_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3582:28: ( ( ( (lv_ownedType_0_0= ruleMapTypeCS ) ) otherlv_1= '{' ( ( (lv_ownedParts_2_0= ruleMapLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleMapLiteralPartCS ) ) )* )? otherlv_5= '}' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3583:1: ( ( (lv_ownedType_0_0= ruleMapTypeCS ) ) otherlv_1= '{' ( ( (lv_ownedParts_2_0= ruleMapLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleMapLiteralPartCS ) ) )* )? otherlv_5= '}' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3583:1: ( ( (lv_ownedType_0_0= ruleMapTypeCS ) ) otherlv_1= '{' ( ( (lv_ownedParts_2_0= ruleMapLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleMapLiteralPartCS ) ) )* )? otherlv_5= '}' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3583:2: ( (lv_ownedType_0_0= ruleMapTypeCS ) ) otherlv_1= '{' ( ( (lv_ownedParts_2_0= ruleMapLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleMapLiteralPartCS ) ) )* )? otherlv_5= '}' |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3583:2: ( (lv_ownedType_0_0= ruleMapTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3584:1: (lv_ownedType_0_0= ruleMapTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3584:1: (lv_ownedType_0_0= ruleMapTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3585:3: lv_ownedType_0_0= ruleMapTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getMapLiteralExpCSAccess().getOwnedTypeMapTypeCSParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleMapTypeCS_in_ruleMapLiteralExpCS8066); |
| lv_ownedType_0_0=ruleMapTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getMapLiteralExpCSRule()); |
| } |
| set( |
| current, |
| "ownedType", |
| lv_ownedType_0_0, |
| "MapTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_1=(Token)match(input,77,FollowSets000.FOLLOW_77_in_ruleMapLiteralExpCS8078); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getMapLiteralExpCSAccess().getLeftCurlyBracketKeyword_1()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3605:1: ( ( (lv_ownedParts_2_0= ruleMapLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleMapLiteralPartCS ) ) )* )? |
| int alt68=2; |
| int LA68_0 = input.LA(1); |
| |
| if ( ((LA68_0>=RULE_SIMPLE_ID && LA68_0<=RULE_SINGLE_QUOTED_STRING)||LA68_0==21||(LA68_0>=28 && LA68_0<=30)||(LA68_0>=40 && LA68_0<=52)||(LA68_0>=68 && LA68_0<=69)||(LA68_0>=71 && LA68_0<=76)||(LA68_0>=82 && LA68_0<=85)||LA68_0==92||(LA68_0>=97 && LA68_0<=98)) ) { |
| alt68=1; |
| } |
| switch (alt68) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3605:2: ( (lv_ownedParts_2_0= ruleMapLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleMapLiteralPartCS ) ) )* |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3605:2: ( (lv_ownedParts_2_0= ruleMapLiteralPartCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3606:1: (lv_ownedParts_2_0= ruleMapLiteralPartCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3606:1: (lv_ownedParts_2_0= ruleMapLiteralPartCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3607:3: lv_ownedParts_2_0= ruleMapLiteralPartCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getMapLiteralExpCSAccess().getOwnedPartsMapLiteralPartCSParserRuleCall_2_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleMapLiteralPartCS_in_ruleMapLiteralExpCS8100); |
| lv_ownedParts_2_0=ruleMapLiteralPartCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getMapLiteralExpCSRule()); |
| } |
| add( |
| current, |
| "ownedParts", |
| lv_ownedParts_2_0, |
| "MapLiteralPartCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3623:2: (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleMapLiteralPartCS ) ) )* |
| loop67: |
| do { |
| int alt67=2; |
| int LA67_0 = input.LA(1); |
| |
| if ( (LA67_0==26) ) { |
| alt67=1; |
| } |
| |
| |
| switch (alt67) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3623:4: otherlv_3= ',' ( (lv_ownedParts_4_0= ruleMapLiteralPartCS ) ) |
| { |
| otherlv_3=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleMapLiteralExpCS8113); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getMapLiteralExpCSAccess().getCommaKeyword_2_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3627:1: ( (lv_ownedParts_4_0= ruleMapLiteralPartCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3628:1: (lv_ownedParts_4_0= ruleMapLiteralPartCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3628:1: (lv_ownedParts_4_0= ruleMapLiteralPartCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3629:3: lv_ownedParts_4_0= ruleMapLiteralPartCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getMapLiteralExpCSAccess().getOwnedPartsMapLiteralPartCSParserRuleCall_2_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleMapLiteralPartCS_in_ruleMapLiteralExpCS8134); |
| lv_ownedParts_4_0=ruleMapLiteralPartCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getMapLiteralExpCSRule()); |
| } |
| add( |
| current, |
| "ownedParts", |
| lv_ownedParts_4_0, |
| "MapLiteralPartCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop67; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_5=(Token)match(input,78,FollowSets000.FOLLOW_78_in_ruleMapLiteralExpCS8150); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getMapLiteralExpCSAccess().getRightCurlyBracketKeyword_3()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleMapLiteralExpCS" |
| |
| |
| // $ANTLR start "entryRuleMapLiteralPartCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3657:1: entryRuleMapLiteralPartCS returns [EObject current=null] : iv_ruleMapLiteralPartCS= ruleMapLiteralPartCS EOF ; |
| public final EObject entryRuleMapLiteralPartCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleMapLiteralPartCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3658:2: (iv_ruleMapLiteralPartCS= ruleMapLiteralPartCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3659:2: iv_ruleMapLiteralPartCS= ruleMapLiteralPartCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getMapLiteralPartCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleMapLiteralPartCS_in_entryRuleMapLiteralPartCS8186); |
| iv_ruleMapLiteralPartCS=ruleMapLiteralPartCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleMapLiteralPartCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleMapLiteralPartCS8196); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleMapLiteralPartCS" |
| |
| |
| // $ANTLR start "ruleMapLiteralPartCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3666:1: ruleMapLiteralPartCS returns [EObject current=null] : ( ( (lv_ownedKey_0_0= ruleExpCS ) ) otherlv_1= '<-' ( (lv_ownedValue_2_0= ruleExpCS ) ) ) ; |
| public final EObject ruleMapLiteralPartCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| EObject lv_ownedKey_0_0 = null; |
| |
| EObject lv_ownedValue_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3669:28: ( ( ( (lv_ownedKey_0_0= ruleExpCS ) ) otherlv_1= '<-' ( (lv_ownedValue_2_0= ruleExpCS ) ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3670:1: ( ( (lv_ownedKey_0_0= ruleExpCS ) ) otherlv_1= '<-' ( (lv_ownedValue_2_0= ruleExpCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3670:1: ( ( (lv_ownedKey_0_0= ruleExpCS ) ) otherlv_1= '<-' ( (lv_ownedValue_2_0= ruleExpCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3670:2: ( (lv_ownedKey_0_0= ruleExpCS ) ) otherlv_1= '<-' ( (lv_ownedValue_2_0= ruleExpCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3670:2: ( (lv_ownedKey_0_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3671:1: (lv_ownedKey_0_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3671:1: (lv_ownedKey_0_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3672:3: lv_ownedKey_0_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getMapLiteralPartCSAccess().getOwnedKeyExpCSParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleMapLiteralPartCS8242); |
| lv_ownedKey_0_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getMapLiteralPartCSRule()); |
| } |
| set( |
| current, |
| "ownedKey", |
| lv_ownedKey_0_0, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_1=(Token)match(input,81,FollowSets000.FOLLOW_81_in_ruleMapLiteralPartCS8254); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getMapLiteralPartCSAccess().getLessThanSignHyphenMinusKeyword_1()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3692:1: ( (lv_ownedValue_2_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3693:1: (lv_ownedValue_2_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3693:1: (lv_ownedValue_2_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3694:3: lv_ownedValue_2_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getMapLiteralPartCSAccess().getOwnedValueExpCSParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleMapLiteralPartCS8275); |
| lv_ownedValue_2_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getMapLiteralPartCSRule()); |
| } |
| set( |
| current, |
| "ownedValue", |
| lv_ownedValue_2_0, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleMapLiteralPartCS" |
| |
| |
| // $ANTLR start "entryRulePrimitiveLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3718:1: entryRulePrimitiveLiteralExpCS returns [EObject current=null] : iv_rulePrimitiveLiteralExpCS= rulePrimitiveLiteralExpCS EOF ; |
| public final EObject entryRulePrimitiveLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_rulePrimitiveLiteralExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3719:2: (iv_rulePrimitiveLiteralExpCS= rulePrimitiveLiteralExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3720:2: iv_rulePrimitiveLiteralExpCS= rulePrimitiveLiteralExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getPrimitiveLiteralExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePrimitiveLiteralExpCS_in_entryRulePrimitiveLiteralExpCS8311); |
| iv_rulePrimitiveLiteralExpCS=rulePrimitiveLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_rulePrimitiveLiteralExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePrimitiveLiteralExpCS8321); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRulePrimitiveLiteralExpCS" |
| |
| |
| // $ANTLR start "rulePrimitiveLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3727:1: rulePrimitiveLiteralExpCS returns [EObject current=null] : (this_NumberLiteralExpCS_0= ruleNumberLiteralExpCS | this_StringLiteralExpCS_1= ruleStringLiteralExpCS | this_BooleanLiteralExpCS_2= ruleBooleanLiteralExpCS | this_UnlimitedNaturalLiteralExpCS_3= ruleUnlimitedNaturalLiteralExpCS | this_InvalidLiteralExpCS_4= ruleInvalidLiteralExpCS | this_NullLiteralExpCS_5= ruleNullLiteralExpCS ) ; |
| public final EObject rulePrimitiveLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_NumberLiteralExpCS_0 = null; |
| |
| EObject this_StringLiteralExpCS_1 = null; |
| |
| EObject this_BooleanLiteralExpCS_2 = null; |
| |
| EObject this_UnlimitedNaturalLiteralExpCS_3 = null; |
| |
| EObject this_InvalidLiteralExpCS_4 = null; |
| |
| EObject this_NullLiteralExpCS_5 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3730:28: ( (this_NumberLiteralExpCS_0= ruleNumberLiteralExpCS | this_StringLiteralExpCS_1= ruleStringLiteralExpCS | this_BooleanLiteralExpCS_2= ruleBooleanLiteralExpCS | this_UnlimitedNaturalLiteralExpCS_3= ruleUnlimitedNaturalLiteralExpCS | this_InvalidLiteralExpCS_4= ruleInvalidLiteralExpCS | this_NullLiteralExpCS_5= ruleNullLiteralExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3731:1: (this_NumberLiteralExpCS_0= ruleNumberLiteralExpCS | this_StringLiteralExpCS_1= ruleStringLiteralExpCS | this_BooleanLiteralExpCS_2= ruleBooleanLiteralExpCS | this_UnlimitedNaturalLiteralExpCS_3= ruleUnlimitedNaturalLiteralExpCS | this_InvalidLiteralExpCS_4= ruleInvalidLiteralExpCS | this_NullLiteralExpCS_5= ruleNullLiteralExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3731:1: (this_NumberLiteralExpCS_0= ruleNumberLiteralExpCS | this_StringLiteralExpCS_1= ruleStringLiteralExpCS | this_BooleanLiteralExpCS_2= ruleBooleanLiteralExpCS | this_UnlimitedNaturalLiteralExpCS_3= ruleUnlimitedNaturalLiteralExpCS | this_InvalidLiteralExpCS_4= ruleInvalidLiteralExpCS | this_NullLiteralExpCS_5= ruleNullLiteralExpCS ) |
| int alt69=6; |
| switch ( input.LA(1) ) { |
| case RULE_INT: |
| { |
| alt69=1; |
| } |
| break; |
| case RULE_SINGLE_QUOTED_STRING: |
| { |
| alt69=2; |
| } |
| break; |
| case 82: |
| case 83: |
| { |
| alt69=3; |
| } |
| break; |
| case 52: |
| { |
| alt69=4; |
| } |
| break; |
| case 84: |
| { |
| alt69=5; |
| } |
| break; |
| case 85: |
| { |
| alt69=6; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 69, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt69) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3732:2: this_NumberLiteralExpCS_0= ruleNumberLiteralExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPrimitiveLiteralExpCSAccess().getNumberLiteralExpCSParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNumberLiteralExpCS_in_rulePrimitiveLiteralExpCS8371); |
| this_NumberLiteralExpCS_0=ruleNumberLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_NumberLiteralExpCS_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3745:2: this_StringLiteralExpCS_1= ruleStringLiteralExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPrimitiveLiteralExpCSAccess().getStringLiteralExpCSParserRuleCall_1()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleStringLiteralExpCS_in_rulePrimitiveLiteralExpCS8401); |
| this_StringLiteralExpCS_1=ruleStringLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_StringLiteralExpCS_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3758:2: this_BooleanLiteralExpCS_2= ruleBooleanLiteralExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPrimitiveLiteralExpCSAccess().getBooleanLiteralExpCSParserRuleCall_2()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleBooleanLiteralExpCS_in_rulePrimitiveLiteralExpCS8431); |
| this_BooleanLiteralExpCS_2=ruleBooleanLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_BooleanLiteralExpCS_2; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3771:2: this_UnlimitedNaturalLiteralExpCS_3= ruleUnlimitedNaturalLiteralExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPrimitiveLiteralExpCSAccess().getUnlimitedNaturalLiteralExpCSParserRuleCall_3()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnlimitedNaturalLiteralExpCS_in_rulePrimitiveLiteralExpCS8461); |
| this_UnlimitedNaturalLiteralExpCS_3=ruleUnlimitedNaturalLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_UnlimitedNaturalLiteralExpCS_3; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 5 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3784:2: this_InvalidLiteralExpCS_4= ruleInvalidLiteralExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPrimitiveLiteralExpCSAccess().getInvalidLiteralExpCSParserRuleCall_4()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleInvalidLiteralExpCS_in_rulePrimitiveLiteralExpCS8491); |
| this_InvalidLiteralExpCS_4=ruleInvalidLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_InvalidLiteralExpCS_4; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 6 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3797:2: this_NullLiteralExpCS_5= ruleNullLiteralExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPrimitiveLiteralExpCSAccess().getNullLiteralExpCSParserRuleCall_5()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNullLiteralExpCS_in_rulePrimitiveLiteralExpCS8521); |
| this_NullLiteralExpCS_5=ruleNullLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_NullLiteralExpCS_5; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "rulePrimitiveLiteralExpCS" |
| |
| |
| // $ANTLR start "entryRuleTupleLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3816:1: entryRuleTupleLiteralExpCS returns [EObject current=null] : iv_ruleTupleLiteralExpCS= ruleTupleLiteralExpCS EOF ; |
| public final EObject entryRuleTupleLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleTupleLiteralExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3817:2: (iv_ruleTupleLiteralExpCS= ruleTupleLiteralExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3818:2: iv_ruleTupleLiteralExpCS= ruleTupleLiteralExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTupleLiteralExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTupleLiteralExpCS_in_entryRuleTupleLiteralExpCS8556); |
| iv_ruleTupleLiteralExpCS=ruleTupleLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleTupleLiteralExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTupleLiteralExpCS8566); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleTupleLiteralExpCS" |
| |
| |
| // $ANTLR start "ruleTupleLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3825:1: ruleTupleLiteralExpCS returns [EObject current=null] : (otherlv_0= 'Tuple' otherlv_1= '{' ( (lv_ownedParts_2_0= ruleTupleLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTupleLiteralPartCS ) ) )* otherlv_5= '}' ) ; |
| public final EObject ruleTupleLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token otherlv_5=null; |
| EObject lv_ownedParts_2_0 = null; |
| |
| EObject lv_ownedParts_4_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3828:28: ( (otherlv_0= 'Tuple' otherlv_1= '{' ( (lv_ownedParts_2_0= ruleTupleLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTupleLiteralPartCS ) ) )* otherlv_5= '}' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3829:1: (otherlv_0= 'Tuple' otherlv_1= '{' ( (lv_ownedParts_2_0= ruleTupleLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTupleLiteralPartCS ) ) )* otherlv_5= '}' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3829:1: (otherlv_0= 'Tuple' otherlv_1= '{' ( (lv_ownedParts_2_0= ruleTupleLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTupleLiteralPartCS ) ) )* otherlv_5= '}' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3829:3: otherlv_0= 'Tuple' otherlv_1= '{' ( (lv_ownedParts_2_0= ruleTupleLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTupleLiteralPartCS ) ) )* otherlv_5= '}' |
| { |
| otherlv_0=(Token)match(input,69,FollowSets000.FOLLOW_69_in_ruleTupleLiteralExpCS8603); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getTupleLiteralExpCSAccess().getTupleKeyword_0()); |
| |
| } |
| otherlv_1=(Token)match(input,77,FollowSets000.FOLLOW_77_in_ruleTupleLiteralExpCS8615); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getTupleLiteralExpCSAccess().getLeftCurlyBracketKeyword_1()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3837:1: ( (lv_ownedParts_2_0= ruleTupleLiteralPartCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3838:1: (lv_ownedParts_2_0= ruleTupleLiteralPartCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3838:1: (lv_ownedParts_2_0= ruleTupleLiteralPartCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3839:3: lv_ownedParts_2_0= ruleTupleLiteralPartCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTupleLiteralExpCSAccess().getOwnedPartsTupleLiteralPartCSParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTupleLiteralPartCS_in_ruleTupleLiteralExpCS8636); |
| lv_ownedParts_2_0=ruleTupleLiteralPartCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTupleLiteralExpCSRule()); |
| } |
| add( |
| current, |
| "ownedParts", |
| lv_ownedParts_2_0, |
| "TupleLiteralPartCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3855:2: (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTupleLiteralPartCS ) ) )* |
| loop70: |
| do { |
| int alt70=2; |
| int LA70_0 = input.LA(1); |
| |
| if ( (LA70_0==26) ) { |
| alt70=1; |
| } |
| |
| |
| switch (alt70) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3855:4: otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTupleLiteralPartCS ) ) |
| { |
| otherlv_3=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleTupleLiteralExpCS8649); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getTupleLiteralExpCSAccess().getCommaKeyword_3_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3859:1: ( (lv_ownedParts_4_0= ruleTupleLiteralPartCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3860:1: (lv_ownedParts_4_0= ruleTupleLiteralPartCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3860:1: (lv_ownedParts_4_0= ruleTupleLiteralPartCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3861:3: lv_ownedParts_4_0= ruleTupleLiteralPartCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTupleLiteralExpCSAccess().getOwnedPartsTupleLiteralPartCSParserRuleCall_3_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTupleLiteralPartCS_in_ruleTupleLiteralExpCS8670); |
| lv_ownedParts_4_0=ruleTupleLiteralPartCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTupleLiteralExpCSRule()); |
| } |
| add( |
| current, |
| "ownedParts", |
| lv_ownedParts_4_0, |
| "TupleLiteralPartCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop70; |
| } |
| } while (true); |
| |
| otherlv_5=(Token)match(input,78,FollowSets000.FOLLOW_78_in_ruleTupleLiteralExpCS8684); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getTupleLiteralExpCSAccess().getRightCurlyBracketKeyword_4()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleTupleLiteralExpCS" |
| |
| |
| // $ANTLR start "entryRuleTupleLiteralPartCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3889:1: entryRuleTupleLiteralPartCS returns [EObject current=null] : iv_ruleTupleLiteralPartCS= ruleTupleLiteralPartCS EOF ; |
| public final EObject entryRuleTupleLiteralPartCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleTupleLiteralPartCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3890:2: (iv_ruleTupleLiteralPartCS= ruleTupleLiteralPartCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3891:2: iv_ruleTupleLiteralPartCS= ruleTupleLiteralPartCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTupleLiteralPartCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTupleLiteralPartCS_in_entryRuleTupleLiteralPartCS8720); |
| iv_ruleTupleLiteralPartCS=ruleTupleLiteralPartCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleTupleLiteralPartCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTupleLiteralPartCS8730); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleTupleLiteralPartCS" |
| |
| |
| // $ANTLR start "ruleTupleLiteralPartCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3898:1: ruleTupleLiteralPartCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) )? otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) ) ; |
| public final EObject ruleTupleLiteralPartCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| AntlrDatatypeRuleToken lv_name_0_0 = null; |
| |
| EObject lv_ownedType_2_0 = null; |
| |
| EObject lv_ownedInitExpression_4_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3901:28: ( ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) )? otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3902:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) )? otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3902:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) )? otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3902:2: ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) )? otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3902:2: ( (lv_name_0_0= ruleUnrestrictedName ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3903:1: (lv_name_0_0= ruleUnrestrictedName ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3903:1: (lv_name_0_0= ruleUnrestrictedName ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3904:3: lv_name_0_0= ruleUnrestrictedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTupleLiteralPartCSAccess().getNameUnrestrictedNameParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleTupleLiteralPartCS8776); |
| lv_name_0_0=ruleUnrestrictedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTupleLiteralPartCSRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_0_0, |
| "UnrestrictedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3920:2: (otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) )? |
| int alt71=2; |
| int LA71_0 = input.LA(1); |
| |
| if ( (LA71_0==23) ) { |
| alt71=1; |
| } |
| switch (alt71) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3920:4: otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) |
| { |
| otherlv_1=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleTupleLiteralPartCS8789); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getTupleLiteralPartCSAccess().getColonKeyword_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3924:1: ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3925:1: (lv_ownedType_2_0= ruleComplexTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3925:1: (lv_ownedType_2_0= ruleComplexTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3926:3: lv_ownedType_2_0= ruleComplexTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTupleLiteralPartCSAccess().getOwnedTypeComplexTypeCSParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_ruleTupleLiteralPartCS8810); |
| lv_ownedType_2_0=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTupleLiteralPartCSRule()); |
| } |
| set( |
| current, |
| "ownedType", |
| lv_ownedType_2_0, |
| "ComplexTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_3=(Token)match(input,27,FollowSets000.FOLLOW_27_in_ruleTupleLiteralPartCS8824); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getTupleLiteralPartCSAccess().getEqualsSignKeyword_2()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3946:1: ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3947:1: (lv_ownedInitExpression_4_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3947:1: (lv_ownedInitExpression_4_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3948:3: lv_ownedInitExpression_4_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTupleLiteralPartCSAccess().getOwnedInitExpressionExpCSParserRuleCall_3_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleTupleLiteralPartCS8845); |
| lv_ownedInitExpression_4_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTupleLiteralPartCSRule()); |
| } |
| set( |
| current, |
| "ownedInitExpression", |
| lv_ownedInitExpression_4_0, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleTupleLiteralPartCS" |
| |
| |
| // $ANTLR start "entryRuleNumberLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3972:1: entryRuleNumberLiteralExpCS returns [EObject current=null] : iv_ruleNumberLiteralExpCS= ruleNumberLiteralExpCS EOF ; |
| public final EObject entryRuleNumberLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleNumberLiteralExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3973:2: (iv_ruleNumberLiteralExpCS= ruleNumberLiteralExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3974:2: iv_ruleNumberLiteralExpCS= ruleNumberLiteralExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getNumberLiteralExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNumberLiteralExpCS_in_entryRuleNumberLiteralExpCS8881); |
| iv_ruleNumberLiteralExpCS=ruleNumberLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleNumberLiteralExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNumberLiteralExpCS8891); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleNumberLiteralExpCS" |
| |
| |
| // $ANTLR start "ruleNumberLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3981:1: ruleNumberLiteralExpCS returns [EObject current=null] : ( (lv_symbol_0_0= ruleNUMBER_LITERAL ) ) ; |
| public final EObject ruleNumberLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| AntlrDatatypeRuleToken lv_symbol_0_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3984:28: ( ( (lv_symbol_0_0= ruleNUMBER_LITERAL ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3985:1: ( (lv_symbol_0_0= ruleNUMBER_LITERAL ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3985:1: ( (lv_symbol_0_0= ruleNUMBER_LITERAL ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3986:1: (lv_symbol_0_0= ruleNUMBER_LITERAL ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3986:1: (lv_symbol_0_0= ruleNUMBER_LITERAL ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:3987:3: lv_symbol_0_0= ruleNUMBER_LITERAL |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNumberLiteralExpCSAccess().getSymbolNUMBER_LITERALParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNUMBER_LITERAL_in_ruleNumberLiteralExpCS8936); |
| lv_symbol_0_0=ruleNUMBER_LITERAL(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getNumberLiteralExpCSRule()); |
| } |
| set( |
| current, |
| "symbol", |
| lv_symbol_0_0, |
| "NUMBER_LITERAL"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleNumberLiteralExpCS" |
| |
| |
| // $ANTLR start "entryRuleStringLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4011:1: entryRuleStringLiteralExpCS returns [EObject current=null] : iv_ruleStringLiteralExpCS= ruleStringLiteralExpCS EOF ; |
| public final EObject entryRuleStringLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleStringLiteralExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4012:2: (iv_ruleStringLiteralExpCS= ruleStringLiteralExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4013:2: iv_ruleStringLiteralExpCS= ruleStringLiteralExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getStringLiteralExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleStringLiteralExpCS_in_entryRuleStringLiteralExpCS8971); |
| iv_ruleStringLiteralExpCS=ruleStringLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleStringLiteralExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleStringLiteralExpCS8981); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleStringLiteralExpCS" |
| |
| |
| // $ANTLR start "ruleStringLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4020:1: ruleStringLiteralExpCS returns [EObject current=null] : ( (lv_segments_0_0= ruleStringLiteral ) )+ ; |
| public final EObject ruleStringLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| AntlrDatatypeRuleToken lv_segments_0_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4023:28: ( ( (lv_segments_0_0= ruleStringLiteral ) )+ ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4024:1: ( (lv_segments_0_0= ruleStringLiteral ) )+ |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4024:1: ( (lv_segments_0_0= ruleStringLiteral ) )+ |
| int cnt72=0; |
| loop72: |
| do { |
| int alt72=2; |
| int LA72_0 = input.LA(1); |
| |
| if ( (LA72_0==RULE_SINGLE_QUOTED_STRING) ) { |
| alt72=1; |
| } |
| |
| |
| switch (alt72) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4025:1: (lv_segments_0_0= ruleStringLiteral ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4025:1: (lv_segments_0_0= ruleStringLiteral ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4026:3: lv_segments_0_0= ruleStringLiteral |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getStringLiteralExpCSAccess().getSegmentsStringLiteralParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleStringLiteral_in_ruleStringLiteralExpCS9026); |
| lv_segments_0_0=ruleStringLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getStringLiteralExpCSRule()); |
| } |
| add( |
| current, |
| "segments", |
| lv_segments_0_0, |
| "StringLiteral"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| if ( cnt72 >= 1 ) break loop72; |
| if (state.backtracking>0) {state.failed=true; return current;} |
| EarlyExitException eee = |
| new EarlyExitException(72, input); |
| throw eee; |
| } |
| cnt72++; |
| } while (true); |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleStringLiteralExpCS" |
| |
| |
| // $ANTLR start "entryRuleBooleanLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4050:1: entryRuleBooleanLiteralExpCS returns [EObject current=null] : iv_ruleBooleanLiteralExpCS= ruleBooleanLiteralExpCS EOF ; |
| public final EObject entryRuleBooleanLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleBooleanLiteralExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4051:2: (iv_ruleBooleanLiteralExpCS= ruleBooleanLiteralExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4052:2: iv_ruleBooleanLiteralExpCS= ruleBooleanLiteralExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getBooleanLiteralExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleBooleanLiteralExpCS_in_entryRuleBooleanLiteralExpCS9062); |
| iv_ruleBooleanLiteralExpCS=ruleBooleanLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleBooleanLiteralExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleBooleanLiteralExpCS9072); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleBooleanLiteralExpCS" |
| |
| |
| // $ANTLR start "ruleBooleanLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4059:1: ruleBooleanLiteralExpCS returns [EObject current=null] : ( ( (lv_symbol_0_0= 'true' ) ) | ( (lv_symbol_1_0= 'false' ) ) ) ; |
| public final EObject ruleBooleanLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_symbol_0_0=null; |
| Token lv_symbol_1_0=null; |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4062:28: ( ( ( (lv_symbol_0_0= 'true' ) ) | ( (lv_symbol_1_0= 'false' ) ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4063:1: ( ( (lv_symbol_0_0= 'true' ) ) | ( (lv_symbol_1_0= 'false' ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4063:1: ( ( (lv_symbol_0_0= 'true' ) ) | ( (lv_symbol_1_0= 'false' ) ) ) |
| int alt73=2; |
| int LA73_0 = input.LA(1); |
| |
| if ( (LA73_0==82) ) { |
| alt73=1; |
| } |
| else if ( (LA73_0==83) ) { |
| alt73=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 73, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt73) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4063:2: ( (lv_symbol_0_0= 'true' ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4063:2: ( (lv_symbol_0_0= 'true' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4064:1: (lv_symbol_0_0= 'true' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4064:1: (lv_symbol_0_0= 'true' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4065:3: lv_symbol_0_0= 'true' |
| { |
| lv_symbol_0_0=(Token)match(input,82,FollowSets000.FOLLOW_82_in_ruleBooleanLiteralExpCS9115); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_symbol_0_0, grammarAccess.getBooleanLiteralExpCSAccess().getSymbolTrueKeyword_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getBooleanLiteralExpCSRule()); |
| } |
| setWithLastConsumed(current, "symbol", lv_symbol_0_0, "true"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4079:6: ( (lv_symbol_1_0= 'false' ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4079:6: ( (lv_symbol_1_0= 'false' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4080:1: (lv_symbol_1_0= 'false' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4080:1: (lv_symbol_1_0= 'false' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4081:3: lv_symbol_1_0= 'false' |
| { |
| lv_symbol_1_0=(Token)match(input,83,FollowSets000.FOLLOW_83_in_ruleBooleanLiteralExpCS9152); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_symbol_1_0, grammarAccess.getBooleanLiteralExpCSAccess().getSymbolFalseKeyword_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getBooleanLiteralExpCSRule()); |
| } |
| setWithLastConsumed(current, "symbol", lv_symbol_1_0, "false"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleBooleanLiteralExpCS" |
| |
| |
| // $ANTLR start "entryRuleUnlimitedNaturalLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4102:1: entryRuleUnlimitedNaturalLiteralExpCS returns [EObject current=null] : iv_ruleUnlimitedNaturalLiteralExpCS= ruleUnlimitedNaturalLiteralExpCS EOF ; |
| public final EObject entryRuleUnlimitedNaturalLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleUnlimitedNaturalLiteralExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4103:2: (iv_ruleUnlimitedNaturalLiteralExpCS= ruleUnlimitedNaturalLiteralExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4104:2: iv_ruleUnlimitedNaturalLiteralExpCS= ruleUnlimitedNaturalLiteralExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getUnlimitedNaturalLiteralExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnlimitedNaturalLiteralExpCS_in_entryRuleUnlimitedNaturalLiteralExpCS9201); |
| iv_ruleUnlimitedNaturalLiteralExpCS=ruleUnlimitedNaturalLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleUnlimitedNaturalLiteralExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleUnlimitedNaturalLiteralExpCS9211); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleUnlimitedNaturalLiteralExpCS" |
| |
| |
| // $ANTLR start "ruleUnlimitedNaturalLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4111:1: ruleUnlimitedNaturalLiteralExpCS returns [EObject current=null] : ( () otherlv_1= '*' ) ; |
| public final EObject ruleUnlimitedNaturalLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4114:28: ( ( () otherlv_1= '*' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4115:1: ( () otherlv_1= '*' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4115:1: ( () otherlv_1= '*' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4115:2: () otherlv_1= '*' |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4115:2: () |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4116:2: |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getUnlimitedNaturalLiteralExpCSAccess().getUnlimitedNaturalLiteralExpCSAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,52,FollowSets000.FOLLOW_52_in_ruleUnlimitedNaturalLiteralExpCS9260); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getUnlimitedNaturalLiteralExpCSAccess().getAsteriskKeyword_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleUnlimitedNaturalLiteralExpCS" |
| |
| |
| // $ANTLR start "entryRuleInvalidLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4136:1: entryRuleInvalidLiteralExpCS returns [EObject current=null] : iv_ruleInvalidLiteralExpCS= ruleInvalidLiteralExpCS EOF ; |
| public final EObject entryRuleInvalidLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleInvalidLiteralExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4137:2: (iv_ruleInvalidLiteralExpCS= ruleInvalidLiteralExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4138:2: iv_ruleInvalidLiteralExpCS= ruleInvalidLiteralExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getInvalidLiteralExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleInvalidLiteralExpCS_in_entryRuleInvalidLiteralExpCS9296); |
| iv_ruleInvalidLiteralExpCS=ruleInvalidLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleInvalidLiteralExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleInvalidLiteralExpCS9306); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleInvalidLiteralExpCS" |
| |
| |
| // $ANTLR start "ruleInvalidLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4145:1: ruleInvalidLiteralExpCS returns [EObject current=null] : ( () otherlv_1= 'invalid' ) ; |
| public final EObject ruleInvalidLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4148:28: ( ( () otherlv_1= 'invalid' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4149:1: ( () otherlv_1= 'invalid' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4149:1: ( () otherlv_1= 'invalid' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4149:2: () otherlv_1= 'invalid' |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4149:2: () |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4150:2: |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getInvalidLiteralExpCSAccess().getInvalidLiteralExpCSAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,84,FollowSets000.FOLLOW_84_in_ruleInvalidLiteralExpCS9355); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getInvalidLiteralExpCSAccess().getInvalidKeyword_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleInvalidLiteralExpCS" |
| |
| |
| // $ANTLR start "entryRuleNullLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4170:1: entryRuleNullLiteralExpCS returns [EObject current=null] : iv_ruleNullLiteralExpCS= ruleNullLiteralExpCS EOF ; |
| public final EObject entryRuleNullLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleNullLiteralExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4171:2: (iv_ruleNullLiteralExpCS= ruleNullLiteralExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4172:2: iv_ruleNullLiteralExpCS= ruleNullLiteralExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getNullLiteralExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNullLiteralExpCS_in_entryRuleNullLiteralExpCS9391); |
| iv_ruleNullLiteralExpCS=ruleNullLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleNullLiteralExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNullLiteralExpCS9401); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleNullLiteralExpCS" |
| |
| |
| // $ANTLR start "ruleNullLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4179:1: ruleNullLiteralExpCS returns [EObject current=null] : ( () otherlv_1= 'null' ) ; |
| public final EObject ruleNullLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4182:28: ( ( () otherlv_1= 'null' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4183:1: ( () otherlv_1= 'null' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4183:1: ( () otherlv_1= 'null' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4183:2: () otherlv_1= 'null' |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4183:2: () |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4184:2: |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getNullLiteralExpCSAccess().getNullLiteralExpCSAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,85,FollowSets000.FOLLOW_85_in_ruleNullLiteralExpCS9450); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getNullLiteralExpCSAccess().getNullKeyword_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleNullLiteralExpCS" |
| |
| |
| // $ANTLR start "entryRuleTypeLiteralCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4204:1: entryRuleTypeLiteralCS returns [EObject current=null] : iv_ruleTypeLiteralCS= ruleTypeLiteralCS EOF ; |
| public final EObject entryRuleTypeLiteralCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleTypeLiteralCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4205:2: (iv_ruleTypeLiteralCS= ruleTypeLiteralCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4206:2: iv_ruleTypeLiteralCS= ruleTypeLiteralCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTypeLiteralCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralCS_in_entryRuleTypeLiteralCS9486); |
| iv_ruleTypeLiteralCS=ruleTypeLiteralCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleTypeLiteralCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypeLiteralCS9496); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleTypeLiteralCS" |
| |
| |
| // $ANTLR start "ruleTypeLiteralCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4213:1: ruleTypeLiteralCS returns [EObject current=null] : (this_PrimitiveTypeCS_0= rulePrimitiveTypeCS | this_CollectionTypeCS_1= ruleCollectionTypeCS | this_MapTypeCS_2= ruleMapTypeCS | this_TupleTypeCS_3= ruleTupleTypeCS ) ; |
| public final EObject ruleTypeLiteralCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_PrimitiveTypeCS_0 = null; |
| |
| EObject this_CollectionTypeCS_1 = null; |
| |
| EObject this_MapTypeCS_2 = null; |
| |
| EObject this_TupleTypeCS_3 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4216:28: ( (this_PrimitiveTypeCS_0= rulePrimitiveTypeCS | this_CollectionTypeCS_1= ruleCollectionTypeCS | this_MapTypeCS_2= ruleMapTypeCS | this_TupleTypeCS_3= ruleTupleTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4217:1: (this_PrimitiveTypeCS_0= rulePrimitiveTypeCS | this_CollectionTypeCS_1= ruleCollectionTypeCS | this_MapTypeCS_2= ruleMapTypeCS | this_TupleTypeCS_3= ruleTupleTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4217:1: (this_PrimitiveTypeCS_0= rulePrimitiveTypeCS | this_CollectionTypeCS_1= ruleCollectionTypeCS | this_MapTypeCS_2= ruleMapTypeCS | this_TupleTypeCS_3= ruleTupleTypeCS ) |
| int alt74=4; |
| switch ( input.LA(1) ) { |
| case 40: |
| case 41: |
| case 42: |
| case 43: |
| case 44: |
| case 45: |
| case 46: |
| case 47: |
| case 48: |
| case 49: |
| { |
| alt74=1; |
| } |
| break; |
| case 71: |
| case 72: |
| case 73: |
| case 74: |
| case 75: |
| { |
| alt74=2; |
| } |
| break; |
| case 68: |
| { |
| alt74=3; |
| } |
| break; |
| case 69: |
| { |
| alt74=4; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 74, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt74) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4218:2: this_PrimitiveTypeCS_0= rulePrimitiveTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypeLiteralCSAccess().getPrimitiveTypeCSParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePrimitiveTypeCS_in_ruleTypeLiteralCS9546); |
| this_PrimitiveTypeCS_0=rulePrimitiveTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_PrimitiveTypeCS_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4231:2: this_CollectionTypeCS_1= ruleCollectionTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypeLiteralCSAccess().getCollectionTypeCSParserRuleCall_1()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeCS_in_ruleTypeLiteralCS9576); |
| this_CollectionTypeCS_1=ruleCollectionTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_CollectionTypeCS_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4244:2: this_MapTypeCS_2= ruleMapTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypeLiteralCSAccess().getMapTypeCSParserRuleCall_2()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleMapTypeCS_in_ruleTypeLiteralCS9606); |
| this_MapTypeCS_2=ruleMapTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_MapTypeCS_2; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4257:2: this_TupleTypeCS_3= ruleTupleTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypeLiteralCSAccess().getTupleTypeCSParserRuleCall_3()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTupleTypeCS_in_ruleTypeLiteralCS9636); |
| this_TupleTypeCS_3=ruleTupleTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_TupleTypeCS_3; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleTypeLiteralCS" |
| |
| |
| // $ANTLR start "entryRuleTypeLiteralWithMultiplicityCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4276:1: entryRuleTypeLiteralWithMultiplicityCS returns [EObject current=null] : iv_ruleTypeLiteralWithMultiplicityCS= ruleTypeLiteralWithMultiplicityCS EOF ; |
| public final EObject entryRuleTypeLiteralWithMultiplicityCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleTypeLiteralWithMultiplicityCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4277:2: (iv_ruleTypeLiteralWithMultiplicityCS= ruleTypeLiteralWithMultiplicityCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4278:2: iv_ruleTypeLiteralWithMultiplicityCS= ruleTypeLiteralWithMultiplicityCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTypeLiteralWithMultiplicityCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralWithMultiplicityCS_in_entryRuleTypeLiteralWithMultiplicityCS9671); |
| iv_ruleTypeLiteralWithMultiplicityCS=ruleTypeLiteralWithMultiplicityCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleTypeLiteralWithMultiplicityCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypeLiteralWithMultiplicityCS9681); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleTypeLiteralWithMultiplicityCS" |
| |
| |
| // $ANTLR start "ruleTypeLiteralWithMultiplicityCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4285:1: ruleTypeLiteralWithMultiplicityCS returns [EObject current=null] : (this_CollectionTypeWithMultiplicityCS_0= ruleCollectionTypeWithMultiplicityCS | this_LambdaTypeCS_1= ruleLambdaTypeCS | ( (this_PrimitiveTypeCS_2= rulePrimitiveTypeCS | this_MapTypeCS_3= ruleMapTypeCS | this_TupleTypeCS_4= ruleTupleTypeCS ) ( (lv_ownedMultiplicity_5_0= ruleMultiplicityCS ) )? ) ) ; |
| public final EObject ruleTypeLiteralWithMultiplicityCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_CollectionTypeWithMultiplicityCS_0 = null; |
| |
| EObject this_LambdaTypeCS_1 = null; |
| |
| EObject this_PrimitiveTypeCS_2 = null; |
| |
| EObject this_MapTypeCS_3 = null; |
| |
| EObject this_TupleTypeCS_4 = null; |
| |
| EObject lv_ownedMultiplicity_5_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4288:28: ( (this_CollectionTypeWithMultiplicityCS_0= ruleCollectionTypeWithMultiplicityCS | this_LambdaTypeCS_1= ruleLambdaTypeCS | ( (this_PrimitiveTypeCS_2= rulePrimitiveTypeCS | this_MapTypeCS_3= ruleMapTypeCS | this_TupleTypeCS_4= ruleTupleTypeCS ) ( (lv_ownedMultiplicity_5_0= ruleMultiplicityCS ) )? ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4289:1: (this_CollectionTypeWithMultiplicityCS_0= ruleCollectionTypeWithMultiplicityCS | this_LambdaTypeCS_1= ruleLambdaTypeCS | ( (this_PrimitiveTypeCS_2= rulePrimitiveTypeCS | this_MapTypeCS_3= ruleMapTypeCS | this_TupleTypeCS_4= ruleTupleTypeCS ) ( (lv_ownedMultiplicity_5_0= ruleMultiplicityCS ) )? ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4289:1: (this_CollectionTypeWithMultiplicityCS_0= ruleCollectionTypeWithMultiplicityCS | this_LambdaTypeCS_1= ruleLambdaTypeCS | ( (this_PrimitiveTypeCS_2= rulePrimitiveTypeCS | this_MapTypeCS_3= ruleMapTypeCS | this_TupleTypeCS_4= ruleTupleTypeCS ) ( (lv_ownedMultiplicity_5_0= ruleMultiplicityCS ) )? ) ) |
| int alt77=3; |
| switch ( input.LA(1) ) { |
| case 71: |
| case 72: |
| case 73: |
| case 74: |
| case 75: |
| { |
| alt77=1; |
| } |
| break; |
| case 76: |
| { |
| alt77=2; |
| } |
| break; |
| case 40: |
| case 41: |
| case 42: |
| case 43: |
| case 44: |
| case 45: |
| case 46: |
| case 47: |
| case 48: |
| case 49: |
| case 68: |
| case 69: |
| { |
| alt77=3; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 77, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt77) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4290:2: this_CollectionTypeWithMultiplicityCS_0= ruleCollectionTypeWithMultiplicityCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypeLiteralWithMultiplicityCSAccess().getCollectionTypeWithMultiplicityCSParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeWithMultiplicityCS_in_ruleTypeLiteralWithMultiplicityCS9731); |
| this_CollectionTypeWithMultiplicityCS_0=ruleCollectionTypeWithMultiplicityCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_CollectionTypeWithMultiplicityCS_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4303:2: this_LambdaTypeCS_1= ruleLambdaTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypeLiteralWithMultiplicityCSAccess().getLambdaTypeCSParserRuleCall_1()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleLambdaTypeCS_in_ruleTypeLiteralWithMultiplicityCS9761); |
| this_LambdaTypeCS_1=ruleLambdaTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_LambdaTypeCS_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4315:6: ( (this_PrimitiveTypeCS_2= rulePrimitiveTypeCS | this_MapTypeCS_3= ruleMapTypeCS | this_TupleTypeCS_4= ruleTupleTypeCS ) ( (lv_ownedMultiplicity_5_0= ruleMultiplicityCS ) )? ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4315:6: ( (this_PrimitiveTypeCS_2= rulePrimitiveTypeCS | this_MapTypeCS_3= ruleMapTypeCS | this_TupleTypeCS_4= ruleTupleTypeCS ) ( (lv_ownedMultiplicity_5_0= ruleMultiplicityCS ) )? ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4315:7: (this_PrimitiveTypeCS_2= rulePrimitiveTypeCS | this_MapTypeCS_3= ruleMapTypeCS | this_TupleTypeCS_4= ruleTupleTypeCS ) ( (lv_ownedMultiplicity_5_0= ruleMultiplicityCS ) )? |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4315:7: (this_PrimitiveTypeCS_2= rulePrimitiveTypeCS | this_MapTypeCS_3= ruleMapTypeCS | this_TupleTypeCS_4= ruleTupleTypeCS ) |
| int alt75=3; |
| switch ( input.LA(1) ) { |
| case 40: |
| case 41: |
| case 42: |
| case 43: |
| case 44: |
| case 45: |
| case 46: |
| case 47: |
| case 48: |
| case 49: |
| { |
| alt75=1; |
| } |
| break; |
| case 68: |
| { |
| alt75=2; |
| } |
| break; |
| case 69: |
| { |
| alt75=3; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 75, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt75) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4316:2: this_PrimitiveTypeCS_2= rulePrimitiveTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypeLiteralWithMultiplicityCSAccess().getPrimitiveTypeCSParserRuleCall_2_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePrimitiveTypeCS_in_ruleTypeLiteralWithMultiplicityCS9793); |
| this_PrimitiveTypeCS_2=rulePrimitiveTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_PrimitiveTypeCS_2; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4329:2: this_MapTypeCS_3= ruleMapTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypeLiteralWithMultiplicityCSAccess().getMapTypeCSParserRuleCall_2_0_1()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleMapTypeCS_in_ruleTypeLiteralWithMultiplicityCS9823); |
| this_MapTypeCS_3=ruleMapTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_MapTypeCS_3; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4342:2: this_TupleTypeCS_4= ruleTupleTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypeLiteralWithMultiplicityCSAccess().getTupleTypeCSParserRuleCall_2_0_2()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTupleTypeCS_in_ruleTypeLiteralWithMultiplicityCS9853); |
| this_TupleTypeCS_4=ruleTupleTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_TupleTypeCS_4; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4353:2: ( (lv_ownedMultiplicity_5_0= ruleMultiplicityCS ) )? |
| int alt76=2; |
| int LA76_0 = input.LA(1); |
| |
| if ( (LA76_0==87) ) { |
| alt76=1; |
| } |
| switch (alt76) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4354:1: (lv_ownedMultiplicity_5_0= ruleMultiplicityCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4354:1: (lv_ownedMultiplicity_5_0= ruleMultiplicityCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4355:3: lv_ownedMultiplicity_5_0= ruleMultiplicityCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypeLiteralWithMultiplicityCSAccess().getOwnedMultiplicityMultiplicityCSParserRuleCall_2_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleMultiplicityCS_in_ruleTypeLiteralWithMultiplicityCS9874); |
| lv_ownedMultiplicity_5_0=ruleMultiplicityCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTypeLiteralWithMultiplicityCSRule()); |
| } |
| set( |
| current, |
| "ownedMultiplicity", |
| lv_ownedMultiplicity_5_0, |
| "MultiplicityCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleTypeLiteralWithMultiplicityCS" |
| |
| |
| // $ANTLR start "entryRuleTypeLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4379:1: entryRuleTypeLiteralExpCS returns [EObject current=null] : iv_ruleTypeLiteralExpCS= ruleTypeLiteralExpCS EOF ; |
| public final EObject entryRuleTypeLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleTypeLiteralExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4380:2: (iv_ruleTypeLiteralExpCS= ruleTypeLiteralExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4381:2: iv_ruleTypeLiteralExpCS= ruleTypeLiteralExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTypeLiteralExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralExpCS_in_entryRuleTypeLiteralExpCS9912); |
| iv_ruleTypeLiteralExpCS=ruleTypeLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleTypeLiteralExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypeLiteralExpCS9922); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleTypeLiteralExpCS" |
| |
| |
| // $ANTLR start "ruleTypeLiteralExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4388:1: ruleTypeLiteralExpCS returns [EObject current=null] : ( (lv_ownedType_0_0= ruleTypeLiteralWithMultiplicityCS ) ) ; |
| public final EObject ruleTypeLiteralExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject lv_ownedType_0_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4391:28: ( ( (lv_ownedType_0_0= ruleTypeLiteralWithMultiplicityCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4392:1: ( (lv_ownedType_0_0= ruleTypeLiteralWithMultiplicityCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4392:1: ( (lv_ownedType_0_0= ruleTypeLiteralWithMultiplicityCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4393:1: (lv_ownedType_0_0= ruleTypeLiteralWithMultiplicityCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4393:1: (lv_ownedType_0_0= ruleTypeLiteralWithMultiplicityCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4394:3: lv_ownedType_0_0= ruleTypeLiteralWithMultiplicityCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypeLiteralExpCSAccess().getOwnedTypeTypeLiteralWithMultiplicityCSParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralWithMultiplicityCS_in_ruleTypeLiteralExpCS9967); |
| lv_ownedType_0_0=ruleTypeLiteralWithMultiplicityCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTypeLiteralExpCSRule()); |
| } |
| set( |
| current, |
| "ownedType", |
| lv_ownedType_0_0, |
| "TypeLiteralWithMultiplicityCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleTypeLiteralExpCS" |
| |
| |
| // $ANTLR start "entryRulePathExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4418:1: entryRulePathExpCS returns [EObject current=null] : iv_rulePathExpCS= rulePathExpCS EOF ; |
| public final EObject entryRulePathExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_rulePathExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4419:2: (iv_rulePathExpCS= rulePathExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4420:2: iv_rulePathExpCS= rulePathExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getPathExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePathExpCS_in_entryRulePathExpCS10002); |
| iv_rulePathExpCS=rulePathExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_rulePathExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePathExpCS10012); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRulePathExpCS" |
| |
| |
| // $ANTLR start "rulePathExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4427:1: rulePathExpCS returns [EObject current=null] : ( ( (lv_ownedPathName_0_0= rulePathNameCS ) ) (otherlv_1= '(' ( (lv_ownedBinding_2_0= ruleTemplateBindingCS ) ) otherlv_3= ')' )? ( ( (lv_ownedCurlyBracketedClause_4_0= ruleCurlyBracketedClauseCS ) ) (otherlv_5= '{' ( (lv_ownedPatternGuard_6_0= ruleExpCS ) ) otherlv_7= '}' )? )? ( (lv_ownedMultiplicity_8_0= ruleMultiplicityCS ) )? ) ; |
| public final EObject rulePathExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token otherlv_5=null; |
| Token otherlv_7=null; |
| EObject lv_ownedPathName_0_0 = null; |
| |
| EObject lv_ownedBinding_2_0 = null; |
| |
| EObject lv_ownedCurlyBracketedClause_4_0 = null; |
| |
| EObject lv_ownedPatternGuard_6_0 = null; |
| |
| EObject lv_ownedMultiplicity_8_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4430:28: ( ( ( (lv_ownedPathName_0_0= rulePathNameCS ) ) (otherlv_1= '(' ( (lv_ownedBinding_2_0= ruleTemplateBindingCS ) ) otherlv_3= ')' )? ( ( (lv_ownedCurlyBracketedClause_4_0= ruleCurlyBracketedClauseCS ) ) (otherlv_5= '{' ( (lv_ownedPatternGuard_6_0= ruleExpCS ) ) otherlv_7= '}' )? )? ( (lv_ownedMultiplicity_8_0= ruleMultiplicityCS ) )? ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4431:1: ( ( (lv_ownedPathName_0_0= rulePathNameCS ) ) (otherlv_1= '(' ( (lv_ownedBinding_2_0= ruleTemplateBindingCS ) ) otherlv_3= ')' )? ( ( (lv_ownedCurlyBracketedClause_4_0= ruleCurlyBracketedClauseCS ) ) (otherlv_5= '{' ( (lv_ownedPatternGuard_6_0= ruleExpCS ) ) otherlv_7= '}' )? )? ( (lv_ownedMultiplicity_8_0= ruleMultiplicityCS ) )? ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4431:1: ( ( (lv_ownedPathName_0_0= rulePathNameCS ) ) (otherlv_1= '(' ( (lv_ownedBinding_2_0= ruleTemplateBindingCS ) ) otherlv_3= ')' )? ( ( (lv_ownedCurlyBracketedClause_4_0= ruleCurlyBracketedClauseCS ) ) (otherlv_5= '{' ( (lv_ownedPatternGuard_6_0= ruleExpCS ) ) otherlv_7= '}' )? )? ( (lv_ownedMultiplicity_8_0= ruleMultiplicityCS ) )? ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4431:2: ( (lv_ownedPathName_0_0= rulePathNameCS ) ) (otherlv_1= '(' ( (lv_ownedBinding_2_0= ruleTemplateBindingCS ) ) otherlv_3= ')' )? ( ( (lv_ownedCurlyBracketedClause_4_0= ruleCurlyBracketedClauseCS ) ) (otherlv_5= '{' ( (lv_ownedPatternGuard_6_0= ruleExpCS ) ) otherlv_7= '}' )? )? ( (lv_ownedMultiplicity_8_0= ruleMultiplicityCS ) )? |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4431:2: ( (lv_ownedPathName_0_0= rulePathNameCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4432:1: (lv_ownedPathName_0_0= rulePathNameCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4432:1: (lv_ownedPathName_0_0= rulePathNameCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4433:3: lv_ownedPathName_0_0= rulePathNameCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPathExpCSAccess().getOwnedPathNamePathNameCSParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePathNameCS_in_rulePathExpCS10058); |
| lv_ownedPathName_0_0=rulePathNameCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getPathExpCSRule()); |
| } |
| set( |
| current, |
| "ownedPathName", |
| lv_ownedPathName_0_0, |
| "PathNameCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4449:2: (otherlv_1= '(' ( (lv_ownedBinding_2_0= ruleTemplateBindingCS ) ) otherlv_3= ')' )? |
| int alt78=2; |
| int LA78_0 = input.LA(1); |
| |
| if ( (LA78_0==21) ) { |
| alt78=1; |
| } |
| switch (alt78) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4449:4: otherlv_1= '(' ( (lv_ownedBinding_2_0= ruleTemplateBindingCS ) ) otherlv_3= ')' |
| { |
| otherlv_1=(Token)match(input,21,FollowSets000.FOLLOW_21_in_rulePathExpCS10071); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getPathExpCSAccess().getLeftParenthesisKeyword_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4453:1: ( (lv_ownedBinding_2_0= ruleTemplateBindingCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4454:1: (lv_ownedBinding_2_0= ruleTemplateBindingCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4454:1: (lv_ownedBinding_2_0= ruleTemplateBindingCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4455:3: lv_ownedBinding_2_0= ruleTemplateBindingCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPathExpCSAccess().getOwnedBindingTemplateBindingCSParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTemplateBindingCS_in_rulePathExpCS10092); |
| lv_ownedBinding_2_0=ruleTemplateBindingCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getPathExpCSRule()); |
| } |
| set( |
| current, |
| "ownedBinding", |
| lv_ownedBinding_2_0, |
| "TemplateBindingCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_3=(Token)match(input,22,FollowSets000.FOLLOW_22_in_rulePathExpCS10104); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getPathExpCSAccess().getRightParenthesisKeyword_1_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4475:3: ( ( (lv_ownedCurlyBracketedClause_4_0= ruleCurlyBracketedClauseCS ) ) (otherlv_5= '{' ( (lv_ownedPatternGuard_6_0= ruleExpCS ) ) otherlv_7= '}' )? )? |
| int alt80=2; |
| int LA80_0 = input.LA(1); |
| |
| if ( (LA80_0==77) ) { |
| alt80=1; |
| } |
| switch (alt80) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4475:4: ( (lv_ownedCurlyBracketedClause_4_0= ruleCurlyBracketedClauseCS ) ) (otherlv_5= '{' ( (lv_ownedPatternGuard_6_0= ruleExpCS ) ) otherlv_7= '}' )? |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4475:4: ( (lv_ownedCurlyBracketedClause_4_0= ruleCurlyBracketedClauseCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4476:1: (lv_ownedCurlyBracketedClause_4_0= ruleCurlyBracketedClauseCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4476:1: (lv_ownedCurlyBracketedClause_4_0= ruleCurlyBracketedClauseCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4477:3: lv_ownedCurlyBracketedClause_4_0= ruleCurlyBracketedClauseCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPathExpCSAccess().getOwnedCurlyBracketedClauseCurlyBracketedClauseCSParserRuleCall_2_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCurlyBracketedClauseCS_in_rulePathExpCS10128); |
| lv_ownedCurlyBracketedClause_4_0=ruleCurlyBracketedClauseCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getPathExpCSRule()); |
| } |
| set( |
| current, |
| "ownedCurlyBracketedClause", |
| lv_ownedCurlyBracketedClause_4_0, |
| "CurlyBracketedClauseCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4493:2: (otherlv_5= '{' ( (lv_ownedPatternGuard_6_0= ruleExpCS ) ) otherlv_7= '}' )? |
| int alt79=2; |
| int LA79_0 = input.LA(1); |
| |
| if ( (LA79_0==77) ) { |
| alt79=1; |
| } |
| switch (alt79) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4493:4: otherlv_5= '{' ( (lv_ownedPatternGuard_6_0= ruleExpCS ) ) otherlv_7= '}' |
| { |
| otherlv_5=(Token)match(input,77,FollowSets000.FOLLOW_77_in_rulePathExpCS10141); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getPathExpCSAccess().getLeftCurlyBracketKeyword_2_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4497:1: ( (lv_ownedPatternGuard_6_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4498:1: (lv_ownedPatternGuard_6_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4498:1: (lv_ownedPatternGuard_6_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4499:3: lv_ownedPatternGuard_6_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPathExpCSAccess().getOwnedPatternGuardExpCSParserRuleCall_2_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_rulePathExpCS10162); |
| lv_ownedPatternGuard_6_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getPathExpCSRule()); |
| } |
| set( |
| current, |
| "ownedPatternGuard", |
| lv_ownedPatternGuard_6_0, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_7=(Token)match(input,78,FollowSets000.FOLLOW_78_in_rulePathExpCS10174); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getPathExpCSAccess().getRightCurlyBracketKeyword_2_1_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4519:5: ( (lv_ownedMultiplicity_8_0= ruleMultiplicityCS ) )? |
| int alt81=2; |
| int LA81_0 = input.LA(1); |
| |
| if ( (LA81_0==87) ) { |
| alt81=1; |
| } |
| switch (alt81) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4520:1: (lv_ownedMultiplicity_8_0= ruleMultiplicityCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4520:1: (lv_ownedMultiplicity_8_0= ruleMultiplicityCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4521:3: lv_ownedMultiplicity_8_0= ruleMultiplicityCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPathExpCSAccess().getOwnedMultiplicityMultiplicityCSParserRuleCall_3_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleMultiplicityCS_in_rulePathExpCS10199); |
| lv_ownedMultiplicity_8_0=ruleMultiplicityCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getPathExpCSRule()); |
| } |
| set( |
| current, |
| "ownedMultiplicity", |
| lv_ownedMultiplicity_8_0, |
| "MultiplicityCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "rulePathExpCS" |
| |
| |
| // $ANTLR start "entryRuleTypeExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4545:1: entryRuleTypeExpCS returns [EObject current=null] : iv_ruleTypeExpCS= ruleTypeExpCS EOF ; |
| public final EObject entryRuleTypeExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleTypeExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4546:2: (iv_ruleTypeExpCS= ruleTypeExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4547:2: iv_ruleTypeExpCS= ruleTypeExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTypeExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTypeExpCS_in_entryRuleTypeExpCS10236); |
| iv_ruleTypeExpCS=ruleTypeExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleTypeExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypeExpCS10246); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleTypeExpCS" |
| |
| |
| // $ANTLR start "ruleTypeExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4554:1: ruleTypeExpCS returns [EObject current=null] : (this_PathExpCS_0= rulePathExpCS | this_TypeLiteralWithMultiplicityCS_1= ruleTypeLiteralWithMultiplicityCS | this_CollectionPatternCS_2= ruleCollectionPatternCS ) ; |
| public final EObject ruleTypeExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_PathExpCS_0 = null; |
| |
| EObject this_TypeLiteralWithMultiplicityCS_1 = null; |
| |
| EObject this_CollectionPatternCS_2 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4557:28: ( (this_PathExpCS_0= rulePathExpCS | this_TypeLiteralWithMultiplicityCS_1= ruleTypeLiteralWithMultiplicityCS | this_CollectionPatternCS_2= ruleCollectionPatternCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4558:1: (this_PathExpCS_0= rulePathExpCS | this_TypeLiteralWithMultiplicityCS_1= ruleTypeLiteralWithMultiplicityCS | this_CollectionPatternCS_2= ruleCollectionPatternCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4558:1: (this_PathExpCS_0= rulePathExpCS | this_TypeLiteralWithMultiplicityCS_1= ruleTypeLiteralWithMultiplicityCS | this_CollectionPatternCS_2= ruleCollectionPatternCS ) |
| int alt82=3; |
| alt82 = dfa82.predict(input); |
| switch (alt82) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4559:2: this_PathExpCS_0= rulePathExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypeExpCSAccess().getPathExpCSParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePathExpCS_in_ruleTypeExpCS10296); |
| this_PathExpCS_0=rulePathExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_PathExpCS_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4572:2: this_TypeLiteralWithMultiplicityCS_1= ruleTypeLiteralWithMultiplicityCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypeExpCSAccess().getTypeLiteralWithMultiplicityCSParserRuleCall_1()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralWithMultiplicityCS_in_ruleTypeExpCS10326); |
| this_TypeLiteralWithMultiplicityCS_1=ruleTypeLiteralWithMultiplicityCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_TypeLiteralWithMultiplicityCS_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4585:2: this_CollectionPatternCS_2= ruleCollectionPatternCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypeExpCSAccess().getCollectionPatternCSParserRuleCall_2()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCollectionPatternCS_in_ruleTypeExpCS10356); |
| this_CollectionPatternCS_2=ruleCollectionPatternCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_CollectionPatternCS_2; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleTypeExpCS" |
| |
| |
| // $ANTLR start "entryRuleExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4604:1: entryRuleExpCS returns [EObject current=null] : iv_ruleExpCS= ruleExpCS EOF ; |
| public final EObject entryRuleExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4605:2: (iv_ruleExpCS= ruleExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4606:2: iv_ruleExpCS= ruleExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_entryRuleExpCS10391); |
| iv_ruleExpCS=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleExpCS10401); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleExpCS" |
| |
| |
| // $ANTLR start "ruleExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4613:1: ruleExpCS returns [EObject current=null] : ( (this_PrefixedPrimaryExpCS_0= rulePrefixedPrimaryExpCS ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? ) | this_PrefixedLetExpCS_4= rulePrefixedLetExpCS ) ; |
| public final EObject ruleExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_PrefixedPrimaryExpCS_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_2_0 = null; |
| |
| EObject lv_ownedRight_3_0 = null; |
| |
| EObject this_PrefixedLetExpCS_4 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4616:28: ( ( (this_PrefixedPrimaryExpCS_0= rulePrefixedPrimaryExpCS ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? ) | this_PrefixedLetExpCS_4= rulePrefixedLetExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4617:1: ( (this_PrefixedPrimaryExpCS_0= rulePrefixedPrimaryExpCS ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? ) | this_PrefixedLetExpCS_4= rulePrefixedLetExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4617:1: ( (this_PrefixedPrimaryExpCS_0= rulePrefixedPrimaryExpCS ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? ) | this_PrefixedLetExpCS_4= rulePrefixedLetExpCS ) |
| int alt84=2; |
| alt84 = dfa84.predict(input); |
| switch (alt84) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4617:2: (this_PrefixedPrimaryExpCS_0= rulePrefixedPrimaryExpCS ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4617:2: (this_PrefixedPrimaryExpCS_0= rulePrefixedPrimaryExpCS ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4618:2: this_PrefixedPrimaryExpCS_0= rulePrefixedPrimaryExpCS ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getExpCSAccess().getPrefixedPrimaryExpCSParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePrefixedPrimaryExpCS_in_ruleExpCS10452); |
| this_PrefixedPrimaryExpCS_0=rulePrefixedPrimaryExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_PrefixedPrimaryExpCS_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4629:1: ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? |
| int alt83=2; |
| int LA83_0 = input.LA(1); |
| |
| if ( ((LA83_0>=17 && LA83_0<=18)||LA83_0==27||LA83_0==50||(LA83_0>=52 && LA83_0<=67)) ) { |
| alt83=1; |
| } |
| switch (alt83) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4629:2: () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4629:2: () |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4630:2: |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getExpCSAccess().getInfixExpCSOwnedLeftAction_0_1_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4638:2: ( (lv_name_2_0= ruleBinaryOperatorName ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4639:1: (lv_name_2_0= ruleBinaryOperatorName ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4639:1: (lv_name_2_0= ruleBinaryOperatorName ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4640:3: lv_name_2_0= ruleBinaryOperatorName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getExpCSAccess().getNameBinaryOperatorNameParserRuleCall_0_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleBinaryOperatorName_in_ruleExpCS10485); |
| lv_name_2_0=ruleBinaryOperatorName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getExpCSRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_2_0, |
| "BinaryOperatorName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4656:2: ( (lv_ownedRight_3_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4657:1: (lv_ownedRight_3_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4657:1: (lv_ownedRight_3_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4658:3: lv_ownedRight_3_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getExpCSAccess().getOwnedRightExpCSParserRuleCall_0_1_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleExpCS10506); |
| lv_ownedRight_3_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getExpCSRule()); |
| } |
| set( |
| current, |
| "ownedRight", |
| lv_ownedRight_3_0, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4676:2: this_PrefixedLetExpCS_4= rulePrefixedLetExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getExpCSAccess().getPrefixedLetExpCSParserRuleCall_1()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePrefixedLetExpCS_in_ruleExpCS10540); |
| this_PrefixedLetExpCS_4=rulePrefixedLetExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_PrefixedLetExpCS_4; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleExpCS" |
| |
| |
| // $ANTLR start "entryRulePrefixedLetExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4695:1: entryRulePrefixedLetExpCS returns [EObject current=null] : iv_rulePrefixedLetExpCS= rulePrefixedLetExpCS EOF ; |
| public final EObject entryRulePrefixedLetExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_rulePrefixedLetExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4696:2: (iv_rulePrefixedLetExpCS= rulePrefixedLetExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4697:2: iv_rulePrefixedLetExpCS= rulePrefixedLetExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getPrefixedLetExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePrefixedLetExpCS_in_entryRulePrefixedLetExpCS10575); |
| iv_rulePrefixedLetExpCS=rulePrefixedLetExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_rulePrefixedLetExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePrefixedLetExpCS10585); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRulePrefixedLetExpCS" |
| |
| |
| // $ANTLR start "rulePrefixedLetExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4704:1: rulePrefixedLetExpCS returns [EObject current=null] : ( ( () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedLetExpCS ) ) ) | this_LetExpCS_3= ruleLetExpCS ) ; |
| public final EObject rulePrefixedLetExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| AntlrDatatypeRuleToken lv_name_1_0 = null; |
| |
| EObject lv_ownedRight_2_0 = null; |
| |
| EObject this_LetExpCS_3 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4707:28: ( ( ( () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedLetExpCS ) ) ) | this_LetExpCS_3= ruleLetExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4708:1: ( ( () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedLetExpCS ) ) ) | this_LetExpCS_3= ruleLetExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4708:1: ( ( () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedLetExpCS ) ) ) | this_LetExpCS_3= ruleLetExpCS ) |
| int alt85=2; |
| int LA85_0 = input.LA(1); |
| |
| if ( ((LA85_0>=50 && LA85_0<=51)) ) { |
| alt85=1; |
| } |
| else if ( (LA85_0==97) ) { |
| alt85=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 85, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt85) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4708:2: ( () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedLetExpCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4708:2: ( () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedLetExpCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4708:3: () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedLetExpCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4708:3: () |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4709:2: |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getPrefixedLetExpCSAccess().getPrefixExpCSAction_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4717:2: ( (lv_name_1_0= ruleUnaryOperatorName ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4718:1: (lv_name_1_0= ruleUnaryOperatorName ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4718:1: (lv_name_1_0= ruleUnaryOperatorName ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4719:3: lv_name_1_0= ruleUnaryOperatorName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPrefixedLetExpCSAccess().getNameUnaryOperatorNameParserRuleCall_0_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnaryOperatorName_in_rulePrefixedLetExpCS10644); |
| lv_name_1_0=ruleUnaryOperatorName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getPrefixedLetExpCSRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_1_0, |
| "UnaryOperatorName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4735:2: ( (lv_ownedRight_2_0= rulePrefixedLetExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4736:1: (lv_ownedRight_2_0= rulePrefixedLetExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4736:1: (lv_ownedRight_2_0= rulePrefixedLetExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4737:3: lv_ownedRight_2_0= rulePrefixedLetExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPrefixedLetExpCSAccess().getOwnedRightPrefixedLetExpCSParserRuleCall_0_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePrefixedLetExpCS_in_rulePrefixedLetExpCS10665); |
| lv_ownedRight_2_0=rulePrefixedLetExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getPrefixedLetExpCSRule()); |
| } |
| set( |
| current, |
| "ownedRight", |
| lv_ownedRight_2_0, |
| "PrefixedLetExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4755:2: this_LetExpCS_3= ruleLetExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPrefixedLetExpCSAccess().getLetExpCSParserRuleCall_1()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleLetExpCS_in_rulePrefixedLetExpCS10697); |
| this_LetExpCS_3=ruleLetExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_LetExpCS_3; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "rulePrefixedLetExpCS" |
| |
| |
| // $ANTLR start "entryRulePrefixedPrimaryExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4774:1: entryRulePrefixedPrimaryExpCS returns [EObject current=null] : iv_rulePrefixedPrimaryExpCS= rulePrefixedPrimaryExpCS EOF ; |
| public final EObject entryRulePrefixedPrimaryExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_rulePrefixedPrimaryExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4775:2: (iv_rulePrefixedPrimaryExpCS= rulePrefixedPrimaryExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4776:2: iv_rulePrefixedPrimaryExpCS= rulePrefixedPrimaryExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getPrefixedPrimaryExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePrefixedPrimaryExpCS_in_entryRulePrefixedPrimaryExpCS10732); |
| iv_rulePrefixedPrimaryExpCS=rulePrefixedPrimaryExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_rulePrefixedPrimaryExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePrefixedPrimaryExpCS10742); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRulePrefixedPrimaryExpCS" |
| |
| |
| // $ANTLR start "rulePrefixedPrimaryExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4783:1: rulePrefixedPrimaryExpCS returns [EObject current=null] : ( ( () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedPrimaryExpCS ) ) ) | this_PrimaryExpCS_3= rulePrimaryExpCS ) ; |
| public final EObject rulePrefixedPrimaryExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| AntlrDatatypeRuleToken lv_name_1_0 = null; |
| |
| EObject lv_ownedRight_2_0 = null; |
| |
| EObject this_PrimaryExpCS_3 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4786:28: ( ( ( () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedPrimaryExpCS ) ) ) | this_PrimaryExpCS_3= rulePrimaryExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4787:1: ( ( () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedPrimaryExpCS ) ) ) | this_PrimaryExpCS_3= rulePrimaryExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4787:1: ( ( () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedPrimaryExpCS ) ) ) | this_PrimaryExpCS_3= rulePrimaryExpCS ) |
| int alt86=2; |
| int LA86_0 = input.LA(1); |
| |
| if ( ((LA86_0>=50 && LA86_0<=51)) ) { |
| alt86=1; |
| } |
| else if ( ((LA86_0>=RULE_SIMPLE_ID && LA86_0<=RULE_SINGLE_QUOTED_STRING)||LA86_0==21||(LA86_0>=28 && LA86_0<=30)||(LA86_0>=40 && LA86_0<=49)||LA86_0==52||(LA86_0>=68 && LA86_0<=69)||(LA86_0>=71 && LA86_0<=76)||(LA86_0>=82 && LA86_0<=85)||LA86_0==92||LA86_0==98) ) { |
| alt86=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 86, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt86) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4787:2: ( () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedPrimaryExpCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4787:2: ( () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedPrimaryExpCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4787:3: () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedPrimaryExpCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4787:3: () |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4788:2: |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getPrefixedPrimaryExpCSAccess().getPrefixExpCSAction_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4796:2: ( (lv_name_1_0= ruleUnaryOperatorName ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4797:1: (lv_name_1_0= ruleUnaryOperatorName ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4797:1: (lv_name_1_0= ruleUnaryOperatorName ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4798:3: lv_name_1_0= ruleUnaryOperatorName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPrefixedPrimaryExpCSAccess().getNameUnaryOperatorNameParserRuleCall_0_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnaryOperatorName_in_rulePrefixedPrimaryExpCS10801); |
| lv_name_1_0=ruleUnaryOperatorName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getPrefixedPrimaryExpCSRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_1_0, |
| "UnaryOperatorName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4814:2: ( (lv_ownedRight_2_0= rulePrefixedPrimaryExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4815:1: (lv_ownedRight_2_0= rulePrefixedPrimaryExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4815:1: (lv_ownedRight_2_0= rulePrefixedPrimaryExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4816:3: lv_ownedRight_2_0= rulePrefixedPrimaryExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPrefixedPrimaryExpCSAccess().getOwnedRightPrefixedPrimaryExpCSParserRuleCall_0_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePrefixedPrimaryExpCS_in_rulePrefixedPrimaryExpCS10822); |
| lv_ownedRight_2_0=rulePrefixedPrimaryExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getPrefixedPrimaryExpCSRule()); |
| } |
| set( |
| current, |
| "ownedRight", |
| lv_ownedRight_2_0, |
| "PrefixedPrimaryExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4834:2: this_PrimaryExpCS_3= rulePrimaryExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPrefixedPrimaryExpCSAccess().getPrimaryExpCSParserRuleCall_1()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePrimaryExpCS_in_rulePrefixedPrimaryExpCS10854); |
| this_PrimaryExpCS_3=rulePrimaryExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_PrimaryExpCS_3; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "rulePrefixedPrimaryExpCS" |
| |
| |
| // $ANTLR start "entryRulePrimaryExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4853:1: entryRulePrimaryExpCS returns [EObject current=null] : iv_rulePrimaryExpCS= rulePrimaryExpCS EOF ; |
| public final EObject entryRulePrimaryExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_rulePrimaryExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4854:2: (iv_rulePrimaryExpCS= rulePrimaryExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4855:2: iv_rulePrimaryExpCS= rulePrimaryExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getPrimaryExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePrimaryExpCS_in_entryRulePrimaryExpCS10889); |
| iv_rulePrimaryExpCS=rulePrimaryExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_rulePrimaryExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePrimaryExpCS10899); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRulePrimaryExpCS" |
| |
| |
| // $ANTLR start "rulePrimaryExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4862:1: rulePrimaryExpCS returns [EObject current=null] : (this_NestedExpCS_0= ruleNestedExpCS | this_IfExpCS_1= ruleIfExpCS | this_SelfExpCS_2= ruleSelfExpCS | this_PrimitiveLiteralExpCS_3= rulePrimitiveLiteralExpCS | this_TupleLiteralExpCS_4= ruleTupleLiteralExpCS | this_MapLiteralExpCS_5= ruleMapLiteralExpCS | this_CollectionLiteralExpCS_6= ruleCollectionLiteralExpCS | this_LambdaLiteralExpCS_7= ruleLambdaLiteralExpCS | this_TypeLiteralExpCS_8= ruleTypeLiteralExpCS | this_NameExpCS_9= ruleNameExpCS ) ; |
| public final EObject rulePrimaryExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_NestedExpCS_0 = null; |
| |
| EObject this_IfExpCS_1 = null; |
| |
| EObject this_SelfExpCS_2 = null; |
| |
| EObject this_PrimitiveLiteralExpCS_3 = null; |
| |
| EObject this_TupleLiteralExpCS_4 = null; |
| |
| EObject this_MapLiteralExpCS_5 = null; |
| |
| EObject this_CollectionLiteralExpCS_6 = null; |
| |
| EObject this_LambdaLiteralExpCS_7 = null; |
| |
| EObject this_TypeLiteralExpCS_8 = null; |
| |
| EObject this_NameExpCS_9 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4865:28: ( (this_NestedExpCS_0= ruleNestedExpCS | this_IfExpCS_1= ruleIfExpCS | this_SelfExpCS_2= ruleSelfExpCS | this_PrimitiveLiteralExpCS_3= rulePrimitiveLiteralExpCS | this_TupleLiteralExpCS_4= ruleTupleLiteralExpCS | this_MapLiteralExpCS_5= ruleMapLiteralExpCS | this_CollectionLiteralExpCS_6= ruleCollectionLiteralExpCS | this_LambdaLiteralExpCS_7= ruleLambdaLiteralExpCS | this_TypeLiteralExpCS_8= ruleTypeLiteralExpCS | this_NameExpCS_9= ruleNameExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4866:1: (this_NestedExpCS_0= ruleNestedExpCS | this_IfExpCS_1= ruleIfExpCS | this_SelfExpCS_2= ruleSelfExpCS | this_PrimitiveLiteralExpCS_3= rulePrimitiveLiteralExpCS | this_TupleLiteralExpCS_4= ruleTupleLiteralExpCS | this_MapLiteralExpCS_5= ruleMapLiteralExpCS | this_CollectionLiteralExpCS_6= ruleCollectionLiteralExpCS | this_LambdaLiteralExpCS_7= ruleLambdaLiteralExpCS | this_TypeLiteralExpCS_8= ruleTypeLiteralExpCS | this_NameExpCS_9= ruleNameExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4866:1: (this_NestedExpCS_0= ruleNestedExpCS | this_IfExpCS_1= ruleIfExpCS | this_SelfExpCS_2= ruleSelfExpCS | this_PrimitiveLiteralExpCS_3= rulePrimitiveLiteralExpCS | this_TupleLiteralExpCS_4= ruleTupleLiteralExpCS | this_MapLiteralExpCS_5= ruleMapLiteralExpCS | this_CollectionLiteralExpCS_6= ruleCollectionLiteralExpCS | this_LambdaLiteralExpCS_7= ruleLambdaLiteralExpCS | this_TypeLiteralExpCS_8= ruleTypeLiteralExpCS | this_NameExpCS_9= ruleNameExpCS ) |
| int alt87=10; |
| alt87 = dfa87.predict(input); |
| switch (alt87) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4867:2: this_NestedExpCS_0= ruleNestedExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getNestedExpCSParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNestedExpCS_in_rulePrimaryExpCS10949); |
| this_NestedExpCS_0=ruleNestedExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_NestedExpCS_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4880:2: this_IfExpCS_1= ruleIfExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getIfExpCSParserRuleCall_1()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleIfExpCS_in_rulePrimaryExpCS10979); |
| this_IfExpCS_1=ruleIfExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_IfExpCS_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4893:2: this_SelfExpCS_2= ruleSelfExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getSelfExpCSParserRuleCall_2()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleSelfExpCS_in_rulePrimaryExpCS11009); |
| this_SelfExpCS_2=ruleSelfExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_SelfExpCS_2; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4906:2: this_PrimitiveLiteralExpCS_3= rulePrimitiveLiteralExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getPrimitiveLiteralExpCSParserRuleCall_3()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePrimitiveLiteralExpCS_in_rulePrimaryExpCS11039); |
| this_PrimitiveLiteralExpCS_3=rulePrimitiveLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_PrimitiveLiteralExpCS_3; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 5 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4919:2: this_TupleLiteralExpCS_4= ruleTupleLiteralExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getTupleLiteralExpCSParserRuleCall_4()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTupleLiteralExpCS_in_rulePrimaryExpCS11069); |
| this_TupleLiteralExpCS_4=ruleTupleLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_TupleLiteralExpCS_4; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 6 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4932:2: this_MapLiteralExpCS_5= ruleMapLiteralExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getMapLiteralExpCSParserRuleCall_5()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleMapLiteralExpCS_in_rulePrimaryExpCS11099); |
| this_MapLiteralExpCS_5=ruleMapLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_MapLiteralExpCS_5; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 7 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4945:2: this_CollectionLiteralExpCS_6= ruleCollectionLiteralExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getCollectionLiteralExpCSParserRuleCall_6()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCollectionLiteralExpCS_in_rulePrimaryExpCS11129); |
| this_CollectionLiteralExpCS_6=ruleCollectionLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_CollectionLiteralExpCS_6; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 8 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4958:2: this_LambdaLiteralExpCS_7= ruleLambdaLiteralExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getLambdaLiteralExpCSParserRuleCall_7()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleLambdaLiteralExpCS_in_rulePrimaryExpCS11159); |
| this_LambdaLiteralExpCS_7=ruleLambdaLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_LambdaLiteralExpCS_7; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 9 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4971:2: this_TypeLiteralExpCS_8= ruleTypeLiteralExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getTypeLiteralExpCSParserRuleCall_8()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralExpCS_in_rulePrimaryExpCS11189); |
| this_TypeLiteralExpCS_8=ruleTypeLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_TypeLiteralExpCS_8; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 10 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4984:2: this_NameExpCS_9= ruleNameExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getNameExpCSParserRuleCall_9()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNameExpCS_in_rulePrimaryExpCS11219); |
| this_NameExpCS_9=ruleNameExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_NameExpCS_9; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "rulePrimaryExpCS" |
| |
| |
| // $ANTLR start "entryRuleNameExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5003:1: entryRuleNameExpCS returns [EObject current=null] : iv_ruleNameExpCS= ruleNameExpCS EOF ; |
| public final EObject entryRuleNameExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleNameExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5004:2: (iv_ruleNameExpCS= ruleNameExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5005:2: iv_ruleNameExpCS= ruleNameExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getNameExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNameExpCS_in_entryRuleNameExpCS11254); |
| iv_ruleNameExpCS=ruleNameExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleNameExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNameExpCS11264); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleNameExpCS" |
| |
| |
| // $ANTLR start "ruleNameExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5012:1: ruleNameExpCS returns [EObject current=null] : ( ( (lv_ownedPathName_0_0= rulePathNameCS ) ) ( (lv_ownedSquareBracketedClauses_1_0= ruleSquareBracketedClauseCS ) )* ( (lv_ownedRoundBracketedClause_2_0= ruleRoundBracketedClauseCS ) )? ( (lv_ownedCurlyBracketedClause_3_0= ruleCurlyBracketedClauseCS ) )? ( ( (lv_isPre_4_0= '@' ) ) otherlv_5= 'pre' )? ) ; |
| public final EObject ruleNameExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_isPre_4_0=null; |
| Token otherlv_5=null; |
| EObject lv_ownedPathName_0_0 = null; |
| |
| EObject lv_ownedSquareBracketedClauses_1_0 = null; |
| |
| EObject lv_ownedRoundBracketedClause_2_0 = null; |
| |
| EObject lv_ownedCurlyBracketedClause_3_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5015:28: ( ( ( (lv_ownedPathName_0_0= rulePathNameCS ) ) ( (lv_ownedSquareBracketedClauses_1_0= ruleSquareBracketedClauseCS ) )* ( (lv_ownedRoundBracketedClause_2_0= ruleRoundBracketedClauseCS ) )? ( (lv_ownedCurlyBracketedClause_3_0= ruleCurlyBracketedClauseCS ) )? ( ( (lv_isPre_4_0= '@' ) ) otherlv_5= 'pre' )? ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5016:1: ( ( (lv_ownedPathName_0_0= rulePathNameCS ) ) ( (lv_ownedSquareBracketedClauses_1_0= ruleSquareBracketedClauseCS ) )* ( (lv_ownedRoundBracketedClause_2_0= ruleRoundBracketedClauseCS ) )? ( (lv_ownedCurlyBracketedClause_3_0= ruleCurlyBracketedClauseCS ) )? ( ( (lv_isPre_4_0= '@' ) ) otherlv_5= 'pre' )? ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5016:1: ( ( (lv_ownedPathName_0_0= rulePathNameCS ) ) ( (lv_ownedSquareBracketedClauses_1_0= ruleSquareBracketedClauseCS ) )* ( (lv_ownedRoundBracketedClause_2_0= ruleRoundBracketedClauseCS ) )? ( (lv_ownedCurlyBracketedClause_3_0= ruleCurlyBracketedClauseCS ) )? ( ( (lv_isPre_4_0= '@' ) ) otherlv_5= 'pre' )? ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5016:2: ( (lv_ownedPathName_0_0= rulePathNameCS ) ) ( (lv_ownedSquareBracketedClauses_1_0= ruleSquareBracketedClauseCS ) )* ( (lv_ownedRoundBracketedClause_2_0= ruleRoundBracketedClauseCS ) )? ( (lv_ownedCurlyBracketedClause_3_0= ruleCurlyBracketedClauseCS ) )? ( ( (lv_isPre_4_0= '@' ) ) otherlv_5= 'pre' )? |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5016:2: ( (lv_ownedPathName_0_0= rulePathNameCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5017:1: (lv_ownedPathName_0_0= rulePathNameCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5017:1: (lv_ownedPathName_0_0= rulePathNameCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5018:3: lv_ownedPathName_0_0= rulePathNameCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNameExpCSAccess().getOwnedPathNamePathNameCSParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePathNameCS_in_ruleNameExpCS11310); |
| lv_ownedPathName_0_0=rulePathNameCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getNameExpCSRule()); |
| } |
| set( |
| current, |
| "ownedPathName", |
| lv_ownedPathName_0_0, |
| "PathNameCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5034:2: ( (lv_ownedSquareBracketedClauses_1_0= ruleSquareBracketedClauseCS ) )* |
| loop88: |
| do { |
| int alt88=2; |
| int LA88_0 = input.LA(1); |
| |
| if ( (LA88_0==87) ) { |
| alt88=1; |
| } |
| |
| |
| switch (alt88) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5035:1: (lv_ownedSquareBracketedClauses_1_0= ruleSquareBracketedClauseCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5035:1: (lv_ownedSquareBracketedClauses_1_0= ruleSquareBracketedClauseCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5036:3: lv_ownedSquareBracketedClauses_1_0= ruleSquareBracketedClauseCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNameExpCSAccess().getOwnedSquareBracketedClausesSquareBracketedClauseCSParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleSquareBracketedClauseCS_in_ruleNameExpCS11331); |
| lv_ownedSquareBracketedClauses_1_0=ruleSquareBracketedClauseCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getNameExpCSRule()); |
| } |
| add( |
| current, |
| "ownedSquareBracketedClauses", |
| lv_ownedSquareBracketedClauses_1_0, |
| "SquareBracketedClauseCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop88; |
| } |
| } while (true); |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5052:3: ( (lv_ownedRoundBracketedClause_2_0= ruleRoundBracketedClauseCS ) )? |
| int alt89=2; |
| int LA89_0 = input.LA(1); |
| |
| if ( (LA89_0==21) ) { |
| alt89=1; |
| } |
| switch (alt89) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5053:1: (lv_ownedRoundBracketedClause_2_0= ruleRoundBracketedClauseCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5053:1: (lv_ownedRoundBracketedClause_2_0= ruleRoundBracketedClauseCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5054:3: lv_ownedRoundBracketedClause_2_0= ruleRoundBracketedClauseCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNameExpCSAccess().getOwnedRoundBracketedClauseRoundBracketedClauseCSParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleRoundBracketedClauseCS_in_ruleNameExpCS11353); |
| lv_ownedRoundBracketedClause_2_0=ruleRoundBracketedClauseCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getNameExpCSRule()); |
| } |
| set( |
| current, |
| "ownedRoundBracketedClause", |
| lv_ownedRoundBracketedClause_2_0, |
| "RoundBracketedClauseCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5070:3: ( (lv_ownedCurlyBracketedClause_3_0= ruleCurlyBracketedClauseCS ) )? |
| int alt90=2; |
| int LA90_0 = input.LA(1); |
| |
| if ( (LA90_0==77) ) { |
| alt90=1; |
| } |
| switch (alt90) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5071:1: (lv_ownedCurlyBracketedClause_3_0= ruleCurlyBracketedClauseCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5071:1: (lv_ownedCurlyBracketedClause_3_0= ruleCurlyBracketedClauseCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5072:3: lv_ownedCurlyBracketedClause_3_0= ruleCurlyBracketedClauseCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNameExpCSAccess().getOwnedCurlyBracketedClauseCurlyBracketedClauseCSParserRuleCall_3_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCurlyBracketedClauseCS_in_ruleNameExpCS11375); |
| lv_ownedCurlyBracketedClause_3_0=ruleCurlyBracketedClauseCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getNameExpCSRule()); |
| } |
| set( |
| current, |
| "ownedCurlyBracketedClause", |
| lv_ownedCurlyBracketedClause_3_0, |
| "CurlyBracketedClauseCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5088:3: ( ( (lv_isPre_4_0= '@' ) ) otherlv_5= 'pre' )? |
| int alt91=2; |
| int LA91_0 = input.LA(1); |
| |
| if ( (LA91_0==86) ) { |
| alt91=1; |
| } |
| switch (alt91) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5088:4: ( (lv_isPre_4_0= '@' ) ) otherlv_5= 'pre' |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5088:4: ( (lv_isPre_4_0= '@' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5089:1: (lv_isPre_4_0= '@' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5089:1: (lv_isPre_4_0= '@' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5090:3: lv_isPre_4_0= '@' |
| { |
| lv_isPre_4_0=(Token)match(input,86,FollowSets000.FOLLOW_86_in_ruleNameExpCS11395); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_isPre_4_0, grammarAccess.getNameExpCSAccess().getIsPreCommercialAtKeyword_4_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getNameExpCSRule()); |
| } |
| setWithLastConsumed(current, "isPre", true, "@"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_5=(Token)match(input,32,FollowSets000.FOLLOW_32_in_ruleNameExpCS11420); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getNameExpCSAccess().getPreKeyword_4_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleNameExpCS" |
| |
| |
| // $ANTLR start "entryRuleCurlyBracketedClauseCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5115:1: entryRuleCurlyBracketedClauseCS returns [EObject current=null] : iv_ruleCurlyBracketedClauseCS= ruleCurlyBracketedClauseCS EOF ; |
| public final EObject entryRuleCurlyBracketedClauseCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleCurlyBracketedClauseCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5116:2: (iv_ruleCurlyBracketedClauseCS= ruleCurlyBracketedClauseCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5117:2: iv_ruleCurlyBracketedClauseCS= ruleCurlyBracketedClauseCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getCurlyBracketedClauseCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCurlyBracketedClauseCS_in_entryRuleCurlyBracketedClauseCS11458); |
| iv_ruleCurlyBracketedClauseCS=ruleCurlyBracketedClauseCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleCurlyBracketedClauseCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCurlyBracketedClauseCS11468); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleCurlyBracketedClauseCS" |
| |
| |
| // $ANTLR start "ruleCurlyBracketedClauseCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5124:1: ruleCurlyBracketedClauseCS returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_value_2_0= ruleStringLiteral ) ) | ( ( (lv_ownedParts_3_0= ruleShadowPartCS ) ) (otherlv_4= ',' ( (lv_ownedParts_5_0= ruleShadowPartCS ) ) )* ) )? otherlv_6= '}' ) ; |
| public final EObject ruleCurlyBracketedClauseCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_4=null; |
| Token otherlv_6=null; |
| AntlrDatatypeRuleToken lv_value_2_0 = null; |
| |
| EObject lv_ownedParts_3_0 = null; |
| |
| EObject lv_ownedParts_5_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5127:28: ( ( () otherlv_1= '{' ( ( (lv_value_2_0= ruleStringLiteral ) ) | ( ( (lv_ownedParts_3_0= ruleShadowPartCS ) ) (otherlv_4= ',' ( (lv_ownedParts_5_0= ruleShadowPartCS ) ) )* ) )? otherlv_6= '}' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5128:1: ( () otherlv_1= '{' ( ( (lv_value_2_0= ruleStringLiteral ) ) | ( ( (lv_ownedParts_3_0= ruleShadowPartCS ) ) (otherlv_4= ',' ( (lv_ownedParts_5_0= ruleShadowPartCS ) ) )* ) )? otherlv_6= '}' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5128:1: ( () otherlv_1= '{' ( ( (lv_value_2_0= ruleStringLiteral ) ) | ( ( (lv_ownedParts_3_0= ruleShadowPartCS ) ) (otherlv_4= ',' ( (lv_ownedParts_5_0= ruleShadowPartCS ) ) )* ) )? otherlv_6= '}' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5128:2: () otherlv_1= '{' ( ( (lv_value_2_0= ruleStringLiteral ) ) | ( ( (lv_ownedParts_3_0= ruleShadowPartCS ) ) (otherlv_4= ',' ( (lv_ownedParts_5_0= ruleShadowPartCS ) ) )* ) )? otherlv_6= '}' |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5128:2: () |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5129:2: |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getCurlyBracketedClauseCSAccess().getCurlyBracketedClauseCSAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,77,FollowSets000.FOLLOW_77_in_ruleCurlyBracketedClauseCS11517); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getCurlyBracketedClauseCSAccess().getLeftCurlyBracketKeyword_1()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5141:1: ( ( (lv_value_2_0= ruleStringLiteral ) ) | ( ( (lv_ownedParts_3_0= ruleShadowPartCS ) ) (otherlv_4= ',' ( (lv_ownedParts_5_0= ruleShadowPartCS ) ) )* ) )? |
| int alt93=3; |
| int LA93_0 = input.LA(1); |
| |
| if ( (LA93_0==RULE_SINGLE_QUOTED_STRING) ) { |
| alt93=1; |
| } |
| else if ( ((LA93_0>=RULE_SIMPLE_ID && LA93_0<=RULE_ESCAPED_ID)||(LA93_0>=28 && LA93_0<=30)) ) { |
| alt93=2; |
| } |
| switch (alt93) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5141:2: ( (lv_value_2_0= ruleStringLiteral ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5141:2: ( (lv_value_2_0= ruleStringLiteral ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5142:1: (lv_value_2_0= ruleStringLiteral ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5142:1: (lv_value_2_0= ruleStringLiteral ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5143:3: lv_value_2_0= ruleStringLiteral |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getCurlyBracketedClauseCSAccess().getValueStringLiteralParserRuleCall_2_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleStringLiteral_in_ruleCurlyBracketedClauseCS11539); |
| lv_value_2_0=ruleStringLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getCurlyBracketedClauseCSRule()); |
| } |
| set( |
| current, |
| "value", |
| lv_value_2_0, |
| "StringLiteral"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5160:6: ( ( (lv_ownedParts_3_0= ruleShadowPartCS ) ) (otherlv_4= ',' ( (lv_ownedParts_5_0= ruleShadowPartCS ) ) )* ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5160:6: ( ( (lv_ownedParts_3_0= ruleShadowPartCS ) ) (otherlv_4= ',' ( (lv_ownedParts_5_0= ruleShadowPartCS ) ) )* ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5160:7: ( (lv_ownedParts_3_0= ruleShadowPartCS ) ) (otherlv_4= ',' ( (lv_ownedParts_5_0= ruleShadowPartCS ) ) )* |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5160:7: ( (lv_ownedParts_3_0= ruleShadowPartCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5161:1: (lv_ownedParts_3_0= ruleShadowPartCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5161:1: (lv_ownedParts_3_0= ruleShadowPartCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5162:3: lv_ownedParts_3_0= ruleShadowPartCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getCurlyBracketedClauseCSAccess().getOwnedPartsShadowPartCSParserRuleCall_2_1_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleShadowPartCS_in_ruleCurlyBracketedClauseCS11567); |
| lv_ownedParts_3_0=ruleShadowPartCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getCurlyBracketedClauseCSRule()); |
| } |
| add( |
| current, |
| "ownedParts", |
| lv_ownedParts_3_0, |
| "ShadowPartCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5178:2: (otherlv_4= ',' ( (lv_ownedParts_5_0= ruleShadowPartCS ) ) )* |
| loop92: |
| do { |
| int alt92=2; |
| int LA92_0 = input.LA(1); |
| |
| if ( (LA92_0==26) ) { |
| alt92=1; |
| } |
| |
| |
| switch (alt92) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5178:4: otherlv_4= ',' ( (lv_ownedParts_5_0= ruleShadowPartCS ) ) |
| { |
| otherlv_4=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleCurlyBracketedClauseCS11580); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getCurlyBracketedClauseCSAccess().getCommaKeyword_2_1_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5182:1: ( (lv_ownedParts_5_0= ruleShadowPartCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5183:1: (lv_ownedParts_5_0= ruleShadowPartCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5183:1: (lv_ownedParts_5_0= ruleShadowPartCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5184:3: lv_ownedParts_5_0= ruleShadowPartCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getCurlyBracketedClauseCSAccess().getOwnedPartsShadowPartCSParserRuleCall_2_1_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleShadowPartCS_in_ruleCurlyBracketedClauseCS11601); |
| lv_ownedParts_5_0=ruleShadowPartCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getCurlyBracketedClauseCSRule()); |
| } |
| add( |
| current, |
| "ownedParts", |
| lv_ownedParts_5_0, |
| "ShadowPartCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop92; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_6=(Token)match(input,78,FollowSets000.FOLLOW_78_in_ruleCurlyBracketedClauseCS11618); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getCurlyBracketedClauseCSAccess().getRightCurlyBracketKeyword_3()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleCurlyBracketedClauseCS" |
| |
| |
| // $ANTLR start "entryRuleRoundBracketedClauseCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5212:1: entryRuleRoundBracketedClauseCS returns [EObject current=null] : iv_ruleRoundBracketedClauseCS= ruleRoundBracketedClauseCS EOF ; |
| public final EObject entryRuleRoundBracketedClauseCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleRoundBracketedClauseCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5213:2: (iv_ruleRoundBracketedClauseCS= ruleRoundBracketedClauseCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5214:2: iv_ruleRoundBracketedClauseCS= ruleRoundBracketedClauseCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getRoundBracketedClauseCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleRoundBracketedClauseCS_in_entryRuleRoundBracketedClauseCS11654); |
| iv_ruleRoundBracketedClauseCS=ruleRoundBracketedClauseCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleRoundBracketedClauseCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleRoundBracketedClauseCS11664); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleRoundBracketedClauseCS" |
| |
| |
| // $ANTLR start "ruleRoundBracketedClauseCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5221:1: ruleRoundBracketedClauseCS returns [EObject current=null] : ( () otherlv_1= '(' ( ( (lv_ownedArguments_2_0= ruleNavigatingArgCS ) ) ( (lv_ownedArguments_3_0= ruleNavigatingCommaArgCS ) )* ( ( (lv_ownedArguments_4_0= ruleNavigatingSemiArgCS ) ) ( (lv_ownedArguments_5_0= ruleNavigatingCommaArgCS ) )* )? ( ( (lv_ownedArguments_6_0= ruleNavigatingBarArgCS ) ) ( (lv_ownedArguments_7_0= ruleNavigatingCommaArgCS ) )* )* )? otherlv_8= ')' ) ; |
| public final EObject ruleRoundBracketedClauseCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_8=null; |
| EObject lv_ownedArguments_2_0 = null; |
| |
| EObject lv_ownedArguments_3_0 = null; |
| |
| EObject lv_ownedArguments_4_0 = null; |
| |
| EObject lv_ownedArguments_5_0 = null; |
| |
| EObject lv_ownedArguments_6_0 = null; |
| |
| EObject lv_ownedArguments_7_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5224:28: ( ( () otherlv_1= '(' ( ( (lv_ownedArguments_2_0= ruleNavigatingArgCS ) ) ( (lv_ownedArguments_3_0= ruleNavigatingCommaArgCS ) )* ( ( (lv_ownedArguments_4_0= ruleNavigatingSemiArgCS ) ) ( (lv_ownedArguments_5_0= ruleNavigatingCommaArgCS ) )* )? ( ( (lv_ownedArguments_6_0= ruleNavigatingBarArgCS ) ) ( (lv_ownedArguments_7_0= ruleNavigatingCommaArgCS ) )* )* )? otherlv_8= ')' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5225:1: ( () otherlv_1= '(' ( ( (lv_ownedArguments_2_0= ruleNavigatingArgCS ) ) ( (lv_ownedArguments_3_0= ruleNavigatingCommaArgCS ) )* ( ( (lv_ownedArguments_4_0= ruleNavigatingSemiArgCS ) ) ( (lv_ownedArguments_5_0= ruleNavigatingCommaArgCS ) )* )? ( ( (lv_ownedArguments_6_0= ruleNavigatingBarArgCS ) ) ( (lv_ownedArguments_7_0= ruleNavigatingCommaArgCS ) )* )* )? otherlv_8= ')' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5225:1: ( () otherlv_1= '(' ( ( (lv_ownedArguments_2_0= ruleNavigatingArgCS ) ) ( (lv_ownedArguments_3_0= ruleNavigatingCommaArgCS ) )* ( ( (lv_ownedArguments_4_0= ruleNavigatingSemiArgCS ) ) ( (lv_ownedArguments_5_0= ruleNavigatingCommaArgCS ) )* )? ( ( (lv_ownedArguments_6_0= ruleNavigatingBarArgCS ) ) ( (lv_ownedArguments_7_0= ruleNavigatingCommaArgCS ) )* )* )? otherlv_8= ')' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5225:2: () otherlv_1= '(' ( ( (lv_ownedArguments_2_0= ruleNavigatingArgCS ) ) ( (lv_ownedArguments_3_0= ruleNavigatingCommaArgCS ) )* ( ( (lv_ownedArguments_4_0= ruleNavigatingSemiArgCS ) ) ( (lv_ownedArguments_5_0= ruleNavigatingCommaArgCS ) )* )? ( ( (lv_ownedArguments_6_0= ruleNavigatingBarArgCS ) ) ( (lv_ownedArguments_7_0= ruleNavigatingCommaArgCS ) )* )* )? otherlv_8= ')' |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5225:2: () |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5226:2: |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getRoundBracketedClauseCSAccess().getRoundBracketedClauseCSAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleRoundBracketedClauseCS11713); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getRoundBracketedClauseCSAccess().getLeftParenthesisKeyword_1()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5238:1: ( ( (lv_ownedArguments_2_0= ruleNavigatingArgCS ) ) ( (lv_ownedArguments_3_0= ruleNavigatingCommaArgCS ) )* ( ( (lv_ownedArguments_4_0= ruleNavigatingSemiArgCS ) ) ( (lv_ownedArguments_5_0= ruleNavigatingCommaArgCS ) )* )? ( ( (lv_ownedArguments_6_0= ruleNavigatingBarArgCS ) ) ( (lv_ownedArguments_7_0= ruleNavigatingCommaArgCS ) )* )* )? |
| int alt99=2; |
| int LA99_0 = input.LA(1); |
| |
| if ( ((LA99_0>=RULE_SIMPLE_ID && LA99_0<=RULE_SINGLE_QUOTED_STRING)||LA99_0==21||LA99_0==23||(LA99_0>=28 && LA99_0<=30)||(LA99_0>=39 && LA99_0<=52)||(LA99_0>=68 && LA99_0<=69)||(LA99_0>=71 && LA99_0<=76)||(LA99_0>=82 && LA99_0<=85)||LA99_0==92||(LA99_0>=97 && LA99_0<=98)) ) { |
| alt99=1; |
| } |
| switch (alt99) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5238:2: ( (lv_ownedArguments_2_0= ruleNavigatingArgCS ) ) ( (lv_ownedArguments_3_0= ruleNavigatingCommaArgCS ) )* ( ( (lv_ownedArguments_4_0= ruleNavigatingSemiArgCS ) ) ( (lv_ownedArguments_5_0= ruleNavigatingCommaArgCS ) )* )? ( ( (lv_ownedArguments_6_0= ruleNavigatingBarArgCS ) ) ( (lv_ownedArguments_7_0= ruleNavigatingCommaArgCS ) )* )* |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5238:2: ( (lv_ownedArguments_2_0= ruleNavigatingArgCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5239:1: (lv_ownedArguments_2_0= ruleNavigatingArgCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5239:1: (lv_ownedArguments_2_0= ruleNavigatingArgCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5240:3: lv_ownedArguments_2_0= ruleNavigatingArgCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getRoundBracketedClauseCSAccess().getOwnedArgumentsNavigatingArgCSParserRuleCall_2_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingArgCS_in_ruleRoundBracketedClauseCS11735); |
| lv_ownedArguments_2_0=ruleNavigatingArgCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getRoundBracketedClauseCSRule()); |
| } |
| add( |
| current, |
| "ownedArguments", |
| lv_ownedArguments_2_0, |
| "NavigatingArgCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5256:2: ( (lv_ownedArguments_3_0= ruleNavigatingCommaArgCS ) )* |
| loop94: |
| do { |
| int alt94=2; |
| int LA94_0 = input.LA(1); |
| |
| if ( (LA94_0==26) ) { |
| alt94=1; |
| } |
| |
| |
| switch (alt94) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5257:1: (lv_ownedArguments_3_0= ruleNavigatingCommaArgCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5257:1: (lv_ownedArguments_3_0= ruleNavigatingCommaArgCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5258:3: lv_ownedArguments_3_0= ruleNavigatingCommaArgCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getRoundBracketedClauseCSAccess().getOwnedArgumentsNavigatingCommaArgCSParserRuleCall_2_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingCommaArgCS_in_ruleRoundBracketedClauseCS11756); |
| lv_ownedArguments_3_0=ruleNavigatingCommaArgCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getRoundBracketedClauseCSRule()); |
| } |
| add( |
| current, |
| "ownedArguments", |
| lv_ownedArguments_3_0, |
| "NavigatingCommaArgCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop94; |
| } |
| } while (true); |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5274:3: ( ( (lv_ownedArguments_4_0= ruleNavigatingSemiArgCS ) ) ( (lv_ownedArguments_5_0= ruleNavigatingCommaArgCS ) )* )? |
| int alt96=2; |
| int LA96_0 = input.LA(1); |
| |
| if ( (LA96_0==91) ) { |
| alt96=1; |
| } |
| switch (alt96) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5274:4: ( (lv_ownedArguments_4_0= ruleNavigatingSemiArgCS ) ) ( (lv_ownedArguments_5_0= ruleNavigatingCommaArgCS ) )* |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5274:4: ( (lv_ownedArguments_4_0= ruleNavigatingSemiArgCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5275:1: (lv_ownedArguments_4_0= ruleNavigatingSemiArgCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5275:1: (lv_ownedArguments_4_0= ruleNavigatingSemiArgCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5276:3: lv_ownedArguments_4_0= ruleNavigatingSemiArgCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getRoundBracketedClauseCSAccess().getOwnedArgumentsNavigatingSemiArgCSParserRuleCall_2_2_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingSemiArgCS_in_ruleRoundBracketedClauseCS11779); |
| lv_ownedArguments_4_0=ruleNavigatingSemiArgCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getRoundBracketedClauseCSRule()); |
| } |
| add( |
| current, |
| "ownedArguments", |
| lv_ownedArguments_4_0, |
| "NavigatingSemiArgCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5292:2: ( (lv_ownedArguments_5_0= ruleNavigatingCommaArgCS ) )* |
| loop95: |
| do { |
| int alt95=2; |
| int LA95_0 = input.LA(1); |
| |
| if ( (LA95_0==26) ) { |
| alt95=1; |
| } |
| |
| |
| switch (alt95) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5293:1: (lv_ownedArguments_5_0= ruleNavigatingCommaArgCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5293:1: (lv_ownedArguments_5_0= ruleNavigatingCommaArgCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5294:3: lv_ownedArguments_5_0= ruleNavigatingCommaArgCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getRoundBracketedClauseCSAccess().getOwnedArgumentsNavigatingCommaArgCSParserRuleCall_2_2_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingCommaArgCS_in_ruleRoundBracketedClauseCS11800); |
| lv_ownedArguments_5_0=ruleNavigatingCommaArgCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getRoundBracketedClauseCSRule()); |
| } |
| add( |
| current, |
| "ownedArguments", |
| lv_ownedArguments_5_0, |
| "NavigatingCommaArgCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop95; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5310:5: ( ( (lv_ownedArguments_6_0= ruleNavigatingBarArgCS ) ) ( (lv_ownedArguments_7_0= ruleNavigatingCommaArgCS ) )* )* |
| loop98: |
| do { |
| int alt98=2; |
| int LA98_0 = input.LA(1); |
| |
| if ( (LA98_0==90) ) { |
| alt98=1; |
| } |
| |
| |
| switch (alt98) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5310:6: ( (lv_ownedArguments_6_0= ruleNavigatingBarArgCS ) ) ( (lv_ownedArguments_7_0= ruleNavigatingCommaArgCS ) )* |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5310:6: ( (lv_ownedArguments_6_0= ruleNavigatingBarArgCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5311:1: (lv_ownedArguments_6_0= ruleNavigatingBarArgCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5311:1: (lv_ownedArguments_6_0= ruleNavigatingBarArgCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5312:3: lv_ownedArguments_6_0= ruleNavigatingBarArgCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getRoundBracketedClauseCSAccess().getOwnedArgumentsNavigatingBarArgCSParserRuleCall_2_3_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingBarArgCS_in_ruleRoundBracketedClauseCS11825); |
| lv_ownedArguments_6_0=ruleNavigatingBarArgCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getRoundBracketedClauseCSRule()); |
| } |
| add( |
| current, |
| "ownedArguments", |
| lv_ownedArguments_6_0, |
| "NavigatingBarArgCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5328:2: ( (lv_ownedArguments_7_0= ruleNavigatingCommaArgCS ) )* |
| loop97: |
| do { |
| int alt97=2; |
| int LA97_0 = input.LA(1); |
| |
| if ( (LA97_0==26) ) { |
| alt97=1; |
| } |
| |
| |
| switch (alt97) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5329:1: (lv_ownedArguments_7_0= ruleNavigatingCommaArgCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5329:1: (lv_ownedArguments_7_0= ruleNavigatingCommaArgCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5330:3: lv_ownedArguments_7_0= ruleNavigatingCommaArgCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getRoundBracketedClauseCSAccess().getOwnedArgumentsNavigatingCommaArgCSParserRuleCall_2_3_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingCommaArgCS_in_ruleRoundBracketedClauseCS11846); |
| lv_ownedArguments_7_0=ruleNavigatingCommaArgCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getRoundBracketedClauseCSRule()); |
| } |
| add( |
| current, |
| "ownedArguments", |
| lv_ownedArguments_7_0, |
| "NavigatingCommaArgCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop97; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| default : |
| break loop98; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_8=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleRoundBracketedClauseCS11863); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getRoundBracketedClauseCSAccess().getRightParenthesisKeyword_3()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleRoundBracketedClauseCS" |
| |
| |
| // $ANTLR start "entryRuleSquareBracketedClauseCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5358:1: entryRuleSquareBracketedClauseCS returns [EObject current=null] : iv_ruleSquareBracketedClauseCS= ruleSquareBracketedClauseCS EOF ; |
| public final EObject entryRuleSquareBracketedClauseCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleSquareBracketedClauseCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5359:2: (iv_ruleSquareBracketedClauseCS= ruleSquareBracketedClauseCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5360:2: iv_ruleSquareBracketedClauseCS= ruleSquareBracketedClauseCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getSquareBracketedClauseCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleSquareBracketedClauseCS_in_entryRuleSquareBracketedClauseCS11899); |
| iv_ruleSquareBracketedClauseCS=ruleSquareBracketedClauseCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleSquareBracketedClauseCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleSquareBracketedClauseCS11909); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleSquareBracketedClauseCS" |
| |
| |
| // $ANTLR start "ruleSquareBracketedClauseCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5367:1: ruleSquareBracketedClauseCS returns [EObject current=null] : (otherlv_0= '[' ( (lv_ownedTerms_1_0= ruleExpCS ) ) (otherlv_2= ',' ( (lv_ownedTerms_3_0= ruleExpCS ) ) )* otherlv_4= ']' ) ; |
| public final EObject ruleSquareBracketedClauseCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| EObject lv_ownedTerms_1_0 = null; |
| |
| EObject lv_ownedTerms_3_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5370:28: ( (otherlv_0= '[' ( (lv_ownedTerms_1_0= ruleExpCS ) ) (otherlv_2= ',' ( (lv_ownedTerms_3_0= ruleExpCS ) ) )* otherlv_4= ']' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5371:1: (otherlv_0= '[' ( (lv_ownedTerms_1_0= ruleExpCS ) ) (otherlv_2= ',' ( (lv_ownedTerms_3_0= ruleExpCS ) ) )* otherlv_4= ']' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5371:1: (otherlv_0= '[' ( (lv_ownedTerms_1_0= ruleExpCS ) ) (otherlv_2= ',' ( (lv_ownedTerms_3_0= ruleExpCS ) ) )* otherlv_4= ']' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5371:3: otherlv_0= '[' ( (lv_ownedTerms_1_0= ruleExpCS ) ) (otherlv_2= ',' ( (lv_ownedTerms_3_0= ruleExpCS ) ) )* otherlv_4= ']' |
| { |
| otherlv_0=(Token)match(input,87,FollowSets000.FOLLOW_87_in_ruleSquareBracketedClauseCS11946); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getSquareBracketedClauseCSAccess().getLeftSquareBracketKeyword_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5375:1: ( (lv_ownedTerms_1_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5376:1: (lv_ownedTerms_1_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5376:1: (lv_ownedTerms_1_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5377:3: lv_ownedTerms_1_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getSquareBracketedClauseCSAccess().getOwnedTermsExpCSParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleSquareBracketedClauseCS11967); |
| lv_ownedTerms_1_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getSquareBracketedClauseCSRule()); |
| } |
| add( |
| current, |
| "ownedTerms", |
| lv_ownedTerms_1_0, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5393:2: (otherlv_2= ',' ( (lv_ownedTerms_3_0= ruleExpCS ) ) )* |
| loop100: |
| do { |
| int alt100=2; |
| int LA100_0 = input.LA(1); |
| |
| if ( (LA100_0==26) ) { |
| alt100=1; |
| } |
| |
| |
| switch (alt100) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5393:4: otherlv_2= ',' ( (lv_ownedTerms_3_0= ruleExpCS ) ) |
| { |
| otherlv_2=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleSquareBracketedClauseCS11980); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getSquareBracketedClauseCSAccess().getCommaKeyword_2_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5397:1: ( (lv_ownedTerms_3_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5398:1: (lv_ownedTerms_3_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5398:1: (lv_ownedTerms_3_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5399:3: lv_ownedTerms_3_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getSquareBracketedClauseCSAccess().getOwnedTermsExpCSParserRuleCall_2_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleSquareBracketedClauseCS12001); |
| lv_ownedTerms_3_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getSquareBracketedClauseCSRule()); |
| } |
| add( |
| current, |
| "ownedTerms", |
| lv_ownedTerms_3_0, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop100; |
| } |
| } while (true); |
| |
| otherlv_4=(Token)match(input,88,FollowSets000.FOLLOW_88_in_ruleSquareBracketedClauseCS12015); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getSquareBracketedClauseCSAccess().getRightSquareBracketKeyword_3()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleSquareBracketedClauseCS" |
| |
| |
| // $ANTLR start "entryRuleNavigatingArgCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5427:1: entryRuleNavigatingArgCS returns [EObject current=null] : iv_ruleNavigatingArgCS= ruleNavigatingArgCS EOF ; |
| public final EObject entryRuleNavigatingArgCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleNavigatingArgCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5428:2: (iv_ruleNavigatingArgCS= ruleNavigatingArgCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5429:2: iv_ruleNavigatingArgCS= ruleNavigatingArgCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getNavigatingArgCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingArgCS_in_entryRuleNavigatingArgCS12051); |
| iv_ruleNavigatingArgCS=ruleNavigatingArgCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleNavigatingArgCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNavigatingArgCS12061); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleNavigatingArgCS" |
| |
| |
| // $ANTLR start "ruleNavigatingArgCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5436:1: ruleNavigatingArgCS returns [EObject current=null] : ( ( ( (lv_ownedNameExpression_0_0= ruleNavigatingArgExpCS ) ) ( (otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? ) | (otherlv_5= 'in' ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) ) )? ) | (otherlv_7= ':' ( (lv_ownedType_8_0= ruleComplexTypeCS ) ) ) ) ; |
| public final EObject ruleNavigatingArgCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token otherlv_5=null; |
| Token otherlv_7=null; |
| EObject lv_ownedNameExpression_0_0 = null; |
| |
| EObject lv_ownedType_2_0 = null; |
| |
| EObject lv_ownedInitExpression_4_0 = null; |
| |
| EObject lv_ownedInitExpression_6_0 = null; |
| |
| EObject lv_ownedType_8_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5439:28: ( ( ( ( (lv_ownedNameExpression_0_0= ruleNavigatingArgExpCS ) ) ( (otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? ) | (otherlv_5= 'in' ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) ) )? ) | (otherlv_7= ':' ( (lv_ownedType_8_0= ruleComplexTypeCS ) ) ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5440:1: ( ( ( (lv_ownedNameExpression_0_0= ruleNavigatingArgExpCS ) ) ( (otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? ) | (otherlv_5= 'in' ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) ) )? ) | (otherlv_7= ':' ( (lv_ownedType_8_0= ruleComplexTypeCS ) ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5440:1: ( ( ( (lv_ownedNameExpression_0_0= ruleNavigatingArgExpCS ) ) ( (otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? ) | (otherlv_5= 'in' ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) ) )? ) | (otherlv_7= ':' ( (lv_ownedType_8_0= ruleComplexTypeCS ) ) ) ) |
| int alt103=2; |
| int LA103_0 = input.LA(1); |
| |
| if ( ((LA103_0>=RULE_SIMPLE_ID && LA103_0<=RULE_SINGLE_QUOTED_STRING)||LA103_0==21||(LA103_0>=28 && LA103_0<=30)||(LA103_0>=39 && LA103_0<=52)||(LA103_0>=68 && LA103_0<=69)||(LA103_0>=71 && LA103_0<=76)||(LA103_0>=82 && LA103_0<=85)||LA103_0==92||(LA103_0>=97 && LA103_0<=98)) ) { |
| alt103=1; |
| } |
| else if ( (LA103_0==23) ) { |
| alt103=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 103, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt103) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5440:2: ( ( (lv_ownedNameExpression_0_0= ruleNavigatingArgExpCS ) ) ( (otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? ) | (otherlv_5= 'in' ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) ) )? ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5440:2: ( ( (lv_ownedNameExpression_0_0= ruleNavigatingArgExpCS ) ) ( (otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? ) | (otherlv_5= 'in' ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) ) )? ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5440:3: ( (lv_ownedNameExpression_0_0= ruleNavigatingArgExpCS ) ) ( (otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? ) | (otherlv_5= 'in' ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) ) )? |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5440:3: ( (lv_ownedNameExpression_0_0= ruleNavigatingArgExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5441:1: (lv_ownedNameExpression_0_0= ruleNavigatingArgExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5441:1: (lv_ownedNameExpression_0_0= ruleNavigatingArgExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5442:3: lv_ownedNameExpression_0_0= ruleNavigatingArgExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNavigatingArgCSAccess().getOwnedNameExpressionNavigatingArgExpCSParserRuleCall_0_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingArgCS12108); |
| lv_ownedNameExpression_0_0=ruleNavigatingArgExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getNavigatingArgCSRule()); |
| } |
| set( |
| current, |
| "ownedNameExpression", |
| lv_ownedNameExpression_0_0, |
| "NavigatingArgExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5458:2: ( (otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? ) | (otherlv_5= 'in' ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) ) )? |
| int alt102=3; |
| int LA102_0 = input.LA(1); |
| |
| if ( (LA102_0==23) ) { |
| alt102=1; |
| } |
| else if ( (LA102_0==89) ) { |
| alt102=2; |
| } |
| switch (alt102) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5458:3: (otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5458:3: (otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5458:5: otherlv_1= ':' ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? |
| { |
| otherlv_1=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleNavigatingArgCS12122); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getNavigatingArgCSAccess().getColonKeyword_0_1_0_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5462:1: ( (lv_ownedType_2_0= ruleComplexTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5463:1: (lv_ownedType_2_0= ruleComplexTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5463:1: (lv_ownedType_2_0= ruleComplexTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5464:3: lv_ownedType_2_0= ruleComplexTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNavigatingArgCSAccess().getOwnedTypeComplexTypeCSParserRuleCall_0_1_0_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_ruleNavigatingArgCS12143); |
| lv_ownedType_2_0=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getNavigatingArgCSRule()); |
| } |
| set( |
| current, |
| "ownedType", |
| lv_ownedType_2_0, |
| "ComplexTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5480:2: (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? |
| int alt101=2; |
| int LA101_0 = input.LA(1); |
| |
| if ( (LA101_0==27) ) { |
| alt101=1; |
| } |
| switch (alt101) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5480:4: otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) |
| { |
| otherlv_3=(Token)match(input,27,FollowSets000.FOLLOW_27_in_ruleNavigatingArgCS12156); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getNavigatingArgCSAccess().getEqualsSignKeyword_0_1_0_2_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5484:1: ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5485:1: (lv_ownedInitExpression_4_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5485:1: (lv_ownedInitExpression_4_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5486:3: lv_ownedInitExpression_4_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNavigatingArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_0_1_0_2_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleNavigatingArgCS12177); |
| lv_ownedInitExpression_4_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getNavigatingArgCSRule()); |
| } |
| set( |
| current, |
| "ownedInitExpression", |
| lv_ownedInitExpression_4_0, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5503:6: (otherlv_5= 'in' ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5503:6: (otherlv_5= 'in' ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5503:8: otherlv_5= 'in' ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) |
| { |
| otherlv_5=(Token)match(input,89,FollowSets000.FOLLOW_89_in_ruleNavigatingArgCS12199); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getNavigatingArgCSAccess().getInKeyword_0_1_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5507:1: ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5508:1: (lv_ownedInitExpression_6_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5508:1: (lv_ownedInitExpression_6_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5509:3: lv_ownedInitExpression_6_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNavigatingArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_0_1_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleNavigatingArgCS12220); |
| lv_ownedInitExpression_6_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getNavigatingArgCSRule()); |
| } |
| set( |
| current, |
| "ownedInitExpression", |
| lv_ownedInitExpression_6_0, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5526:6: (otherlv_7= ':' ( (lv_ownedType_8_0= ruleComplexTypeCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5526:6: (otherlv_7= ':' ( (lv_ownedType_8_0= ruleComplexTypeCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5526:8: otherlv_7= ':' ( (lv_ownedType_8_0= ruleComplexTypeCS ) ) |
| { |
| otherlv_7=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleNavigatingArgCS12243); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getNavigatingArgCSAccess().getColonKeyword_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5530:1: ( (lv_ownedType_8_0= ruleComplexTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5531:1: (lv_ownedType_8_0= ruleComplexTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5531:1: (lv_ownedType_8_0= ruleComplexTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5532:3: lv_ownedType_8_0= ruleComplexTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNavigatingArgCSAccess().getOwnedTypeComplexTypeCSParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_ruleNavigatingArgCS12264); |
| lv_ownedType_8_0=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getNavigatingArgCSRule()); |
| } |
| set( |
| current, |
| "ownedType", |
| lv_ownedType_8_0, |
| "ComplexTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleNavigatingArgCS" |
| |
| |
| // $ANTLR start "entryRuleNavigatingBarArgCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5556:1: entryRuleNavigatingBarArgCS returns [EObject current=null] : iv_ruleNavigatingBarArgCS= ruleNavigatingBarArgCS EOF ; |
| public final EObject entryRuleNavigatingBarArgCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleNavigatingBarArgCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5557:2: (iv_ruleNavigatingBarArgCS= ruleNavigatingBarArgCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5558:2: iv_ruleNavigatingBarArgCS= ruleNavigatingBarArgCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getNavigatingBarArgCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingBarArgCS_in_entryRuleNavigatingBarArgCS12301); |
| iv_ruleNavigatingBarArgCS=ruleNavigatingBarArgCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleNavigatingBarArgCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNavigatingBarArgCS12311); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleNavigatingBarArgCS" |
| |
| |
| // $ANTLR start "ruleNavigatingBarArgCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5565:1: ruleNavigatingBarArgCS returns [EObject current=null] : ( ( (lv_prefix_0_0= '|' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? )? ) ; |
| public final EObject ruleNavigatingBarArgCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_prefix_0_0=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| EObject lv_ownedNameExpression_1_0 = null; |
| |
| EObject lv_ownedType_3_0 = null; |
| |
| EObject lv_ownedInitExpression_5_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5568:28: ( ( ( (lv_prefix_0_0= '|' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? )? ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5569:1: ( ( (lv_prefix_0_0= '|' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? )? ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5569:1: ( ( (lv_prefix_0_0= '|' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? )? ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5569:2: ( (lv_prefix_0_0= '|' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? )? |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5569:2: ( (lv_prefix_0_0= '|' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5570:1: (lv_prefix_0_0= '|' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5570:1: (lv_prefix_0_0= '|' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5571:3: lv_prefix_0_0= '|' |
| { |
| lv_prefix_0_0=(Token)match(input,90,FollowSets000.FOLLOW_90_in_ruleNavigatingBarArgCS12354); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_prefix_0_0, grammarAccess.getNavigatingBarArgCSAccess().getPrefixVerticalLineKeyword_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getNavigatingBarArgCSRule()); |
| } |
| setWithLastConsumed(current, "prefix", lv_prefix_0_0, "|"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5584:2: ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5585:1: (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5585:1: (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5586:3: lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNavigatingBarArgCSAccess().getOwnedNameExpressionNavigatingArgExpCSParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingBarArgCS12388); |
| lv_ownedNameExpression_1_0=ruleNavigatingArgExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getNavigatingBarArgCSRule()); |
| } |
| set( |
| current, |
| "ownedNameExpression", |
| lv_ownedNameExpression_1_0, |
| "NavigatingArgExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5602:2: (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? )? |
| int alt105=2; |
| int LA105_0 = input.LA(1); |
| |
| if ( (LA105_0==23) ) { |
| alt105=1; |
| } |
| switch (alt105) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5602:4: otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? |
| { |
| otherlv_2=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleNavigatingBarArgCS12401); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getNavigatingBarArgCSAccess().getColonKeyword_2_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5606:1: ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5607:1: (lv_ownedType_3_0= ruleComplexTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5607:1: (lv_ownedType_3_0= ruleComplexTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5608:3: lv_ownedType_3_0= ruleComplexTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNavigatingBarArgCSAccess().getOwnedTypeComplexTypeCSParserRuleCall_2_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_ruleNavigatingBarArgCS12422); |
| lv_ownedType_3_0=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getNavigatingBarArgCSRule()); |
| } |
| set( |
| current, |
| "ownedType", |
| lv_ownedType_3_0, |
| "ComplexTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5624:2: (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? |
| int alt104=2; |
| int LA104_0 = input.LA(1); |
| |
| if ( (LA104_0==27) ) { |
| alt104=1; |
| } |
| switch (alt104) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5624:4: otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) |
| { |
| otherlv_4=(Token)match(input,27,FollowSets000.FOLLOW_27_in_ruleNavigatingBarArgCS12435); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getNavigatingBarArgCSAccess().getEqualsSignKeyword_2_2_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5628:1: ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5629:1: (lv_ownedInitExpression_5_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5629:1: (lv_ownedInitExpression_5_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5630:3: lv_ownedInitExpression_5_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNavigatingBarArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_2_2_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleNavigatingBarArgCS12456); |
| lv_ownedInitExpression_5_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getNavigatingBarArgCSRule()); |
| } |
| set( |
| current, |
| "ownedInitExpression", |
| lv_ownedInitExpression_5_0, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleNavigatingBarArgCS" |
| |
| |
| // $ANTLR start "entryRuleNavigatingCommaArgCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5654:1: entryRuleNavigatingCommaArgCS returns [EObject current=null] : iv_ruleNavigatingCommaArgCS= ruleNavigatingCommaArgCS EOF ; |
| public final EObject entryRuleNavigatingCommaArgCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleNavigatingCommaArgCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5655:2: (iv_ruleNavigatingCommaArgCS= ruleNavigatingCommaArgCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5656:2: iv_ruleNavigatingCommaArgCS= ruleNavigatingCommaArgCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getNavigatingCommaArgCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingCommaArgCS_in_entryRuleNavigatingCommaArgCS12496); |
| iv_ruleNavigatingCommaArgCS=ruleNavigatingCommaArgCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleNavigatingCommaArgCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNavigatingCommaArgCS12506); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleNavigatingCommaArgCS" |
| |
| |
| // $ANTLR start "ruleNavigatingCommaArgCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5663:1: ruleNavigatingCommaArgCS returns [EObject current=null] : ( ( (lv_prefix_0_0= ',' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) ( (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? ) | (otherlv_6= 'in' ( (lv_ownedInitExpression_7_0= ruleExpCS ) ) ) )? ) ; |
| public final EObject ruleNavigatingCommaArgCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_prefix_0_0=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_6=null; |
| EObject lv_ownedNameExpression_1_0 = null; |
| |
| EObject lv_ownedType_3_0 = null; |
| |
| EObject lv_ownedInitExpression_5_0 = null; |
| |
| EObject lv_ownedInitExpression_7_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5666:28: ( ( ( (lv_prefix_0_0= ',' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) ( (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? ) | (otherlv_6= 'in' ( (lv_ownedInitExpression_7_0= ruleExpCS ) ) ) )? ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5667:1: ( ( (lv_prefix_0_0= ',' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) ( (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? ) | (otherlv_6= 'in' ( (lv_ownedInitExpression_7_0= ruleExpCS ) ) ) )? ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5667:1: ( ( (lv_prefix_0_0= ',' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) ( (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? ) | (otherlv_6= 'in' ( (lv_ownedInitExpression_7_0= ruleExpCS ) ) ) )? ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5667:2: ( (lv_prefix_0_0= ',' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) ( (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? ) | (otherlv_6= 'in' ( (lv_ownedInitExpression_7_0= ruleExpCS ) ) ) )? |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5667:2: ( (lv_prefix_0_0= ',' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5668:1: (lv_prefix_0_0= ',' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5668:1: (lv_prefix_0_0= ',' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5669:3: lv_prefix_0_0= ',' |
| { |
| lv_prefix_0_0=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleNavigatingCommaArgCS12549); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_prefix_0_0, grammarAccess.getNavigatingCommaArgCSAccess().getPrefixCommaKeyword_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getNavigatingCommaArgCSRule()); |
| } |
| setWithLastConsumed(current, "prefix", lv_prefix_0_0, ","); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5682:2: ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5683:1: (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5683:1: (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5684:3: lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedNameExpressionNavigatingArgExpCSParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingCommaArgCS12583); |
| lv_ownedNameExpression_1_0=ruleNavigatingArgExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getNavigatingCommaArgCSRule()); |
| } |
| set( |
| current, |
| "ownedNameExpression", |
| lv_ownedNameExpression_1_0, |
| "NavigatingArgExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5700:2: ( (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? ) | (otherlv_6= 'in' ( (lv_ownedInitExpression_7_0= ruleExpCS ) ) ) )? |
| int alt107=3; |
| int LA107_0 = input.LA(1); |
| |
| if ( (LA107_0==23) ) { |
| alt107=1; |
| } |
| else if ( (LA107_0==89) ) { |
| alt107=2; |
| } |
| switch (alt107) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5700:3: (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5700:3: (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5700:5: otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? |
| { |
| otherlv_2=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleNavigatingCommaArgCS12597); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getNavigatingCommaArgCSAccess().getColonKeyword_2_0_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5704:1: ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5705:1: (lv_ownedType_3_0= ruleComplexTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5705:1: (lv_ownedType_3_0= ruleComplexTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5706:3: lv_ownedType_3_0= ruleComplexTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedTypeComplexTypeCSParserRuleCall_2_0_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_ruleNavigatingCommaArgCS12618); |
| lv_ownedType_3_0=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getNavigatingCommaArgCSRule()); |
| } |
| set( |
| current, |
| "ownedType", |
| lv_ownedType_3_0, |
| "ComplexTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5722:2: (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? |
| int alt106=2; |
| int LA106_0 = input.LA(1); |
| |
| if ( (LA106_0==27) ) { |
| alt106=1; |
| } |
| switch (alt106) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5722:4: otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) |
| { |
| otherlv_4=(Token)match(input,27,FollowSets000.FOLLOW_27_in_ruleNavigatingCommaArgCS12631); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getNavigatingCommaArgCSAccess().getEqualsSignKeyword_2_0_2_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5726:1: ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5727:1: (lv_ownedInitExpression_5_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5727:1: (lv_ownedInitExpression_5_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5728:3: lv_ownedInitExpression_5_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_2_0_2_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleNavigatingCommaArgCS12652); |
| lv_ownedInitExpression_5_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getNavigatingCommaArgCSRule()); |
| } |
| set( |
| current, |
| "ownedInitExpression", |
| lv_ownedInitExpression_5_0, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5745:6: (otherlv_6= 'in' ( (lv_ownedInitExpression_7_0= ruleExpCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5745:6: (otherlv_6= 'in' ( (lv_ownedInitExpression_7_0= ruleExpCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5745:8: otherlv_6= 'in' ( (lv_ownedInitExpression_7_0= ruleExpCS ) ) |
| { |
| otherlv_6=(Token)match(input,89,FollowSets000.FOLLOW_89_in_ruleNavigatingCommaArgCS12674); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getNavigatingCommaArgCSAccess().getInKeyword_2_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5749:1: ( (lv_ownedInitExpression_7_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5750:1: (lv_ownedInitExpression_7_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5750:1: (lv_ownedInitExpression_7_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5751:3: lv_ownedInitExpression_7_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_2_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleNavigatingCommaArgCS12695); |
| lv_ownedInitExpression_7_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getNavigatingCommaArgCSRule()); |
| } |
| set( |
| current, |
| "ownedInitExpression", |
| lv_ownedInitExpression_7_0, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleNavigatingCommaArgCS" |
| |
| |
| // $ANTLR start "entryRuleNavigatingSemiArgCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5775:1: entryRuleNavigatingSemiArgCS returns [EObject current=null] : iv_ruleNavigatingSemiArgCS= ruleNavigatingSemiArgCS EOF ; |
| public final EObject entryRuleNavigatingSemiArgCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleNavigatingSemiArgCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5776:2: (iv_ruleNavigatingSemiArgCS= ruleNavigatingSemiArgCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5777:2: iv_ruleNavigatingSemiArgCS= ruleNavigatingSemiArgCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getNavigatingSemiArgCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingSemiArgCS_in_entryRuleNavigatingSemiArgCS12734); |
| iv_ruleNavigatingSemiArgCS=ruleNavigatingSemiArgCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleNavigatingSemiArgCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNavigatingSemiArgCS12744); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleNavigatingSemiArgCS" |
| |
| |
| // $ANTLR start "ruleNavigatingSemiArgCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5784:1: ruleNavigatingSemiArgCS returns [EObject current=null] : ( ( (lv_prefix_0_0= ';' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? )? ) ; |
| public final EObject ruleNavigatingSemiArgCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_prefix_0_0=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| EObject lv_ownedNameExpression_1_0 = null; |
| |
| EObject lv_ownedType_3_0 = null; |
| |
| EObject lv_ownedInitExpression_5_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5787:28: ( ( ( (lv_prefix_0_0= ';' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? )? ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5788:1: ( ( (lv_prefix_0_0= ';' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? )? ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5788:1: ( ( (lv_prefix_0_0= ';' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? )? ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5788:2: ( (lv_prefix_0_0= ';' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? )? |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5788:2: ( (lv_prefix_0_0= ';' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5789:1: (lv_prefix_0_0= ';' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5789:1: (lv_prefix_0_0= ';' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5790:3: lv_prefix_0_0= ';' |
| { |
| lv_prefix_0_0=(Token)match(input,91,FollowSets000.FOLLOW_91_in_ruleNavigatingSemiArgCS12787); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_prefix_0_0, grammarAccess.getNavigatingSemiArgCSAccess().getPrefixSemicolonKeyword_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getNavigatingSemiArgCSRule()); |
| } |
| setWithLastConsumed(current, "prefix", lv_prefix_0_0, ";"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5803:2: ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5804:1: (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5804:1: (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5805:3: lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNavigatingSemiArgCSAccess().getOwnedNameExpressionNavigatingArgExpCSParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingSemiArgCS12821); |
| lv_ownedNameExpression_1_0=ruleNavigatingArgExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getNavigatingSemiArgCSRule()); |
| } |
| set( |
| current, |
| "ownedNameExpression", |
| lv_ownedNameExpression_1_0, |
| "NavigatingArgExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5821:2: (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? )? |
| int alt109=2; |
| int LA109_0 = input.LA(1); |
| |
| if ( (LA109_0==23) ) { |
| alt109=1; |
| } |
| switch (alt109) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5821:4: otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? |
| { |
| otherlv_2=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleNavigatingSemiArgCS12834); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getNavigatingSemiArgCSAccess().getColonKeyword_2_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5825:1: ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5826:1: (lv_ownedType_3_0= ruleComplexTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5826:1: (lv_ownedType_3_0= ruleComplexTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5827:3: lv_ownedType_3_0= ruleComplexTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNavigatingSemiArgCSAccess().getOwnedTypeComplexTypeCSParserRuleCall_2_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_ruleNavigatingSemiArgCS12855); |
| lv_ownedType_3_0=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getNavigatingSemiArgCSRule()); |
| } |
| set( |
| current, |
| "ownedType", |
| lv_ownedType_3_0, |
| "ComplexTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5843:2: (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? |
| int alt108=2; |
| int LA108_0 = input.LA(1); |
| |
| if ( (LA108_0==27) ) { |
| alt108=1; |
| } |
| switch (alt108) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5843:4: otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) |
| { |
| otherlv_4=(Token)match(input,27,FollowSets000.FOLLOW_27_in_ruleNavigatingSemiArgCS12868); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getNavigatingSemiArgCSAccess().getEqualsSignKeyword_2_2_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5847:1: ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5848:1: (lv_ownedInitExpression_5_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5848:1: (lv_ownedInitExpression_5_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5849:3: lv_ownedInitExpression_5_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNavigatingSemiArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_2_2_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleNavigatingSemiArgCS12889); |
| lv_ownedInitExpression_5_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getNavigatingSemiArgCSRule()); |
| } |
| set( |
| current, |
| "ownedInitExpression", |
| lv_ownedInitExpression_5_0, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleNavigatingSemiArgCS" |
| |
| |
| // $ANTLR start "entryRuleIfExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5873:1: entryRuleIfExpCS returns [EObject current=null] : iv_ruleIfExpCS= ruleIfExpCS EOF ; |
| public final EObject entryRuleIfExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleIfExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5874:2: (iv_ruleIfExpCS= ruleIfExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5875:2: iv_ruleIfExpCS= ruleIfExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getIfExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleIfExpCS_in_entryRuleIfExpCS12929); |
| iv_ruleIfExpCS=ruleIfExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleIfExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleIfExpCS12939); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleIfExpCS" |
| |
| |
| // $ANTLR start "ruleIfExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5882:1: ruleIfExpCS returns [EObject current=null] : (otherlv_0= 'if' ( (lv_ownedIfThenExpressions_1_0= ruleIfThenExpCS ) ) (otherlv_2= 'elseif' ( (lv_ownedIfThenExpressions_3_0= ruleIfThenExpCS ) ) )* otherlv_4= 'else' ( (lv_ownedElseExpression_5_0= ruleExpCS ) ) otherlv_6= 'endif' ) ; |
| public final EObject ruleIfExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_6=null; |
| EObject lv_ownedIfThenExpressions_1_0 = null; |
| |
| EObject lv_ownedIfThenExpressions_3_0 = null; |
| |
| EObject lv_ownedElseExpression_5_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5885:28: ( (otherlv_0= 'if' ( (lv_ownedIfThenExpressions_1_0= ruleIfThenExpCS ) ) (otherlv_2= 'elseif' ( (lv_ownedIfThenExpressions_3_0= ruleIfThenExpCS ) ) )* otherlv_4= 'else' ( (lv_ownedElseExpression_5_0= ruleExpCS ) ) otherlv_6= 'endif' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5886:1: (otherlv_0= 'if' ( (lv_ownedIfThenExpressions_1_0= ruleIfThenExpCS ) ) (otherlv_2= 'elseif' ( (lv_ownedIfThenExpressions_3_0= ruleIfThenExpCS ) ) )* otherlv_4= 'else' ( (lv_ownedElseExpression_5_0= ruleExpCS ) ) otherlv_6= 'endif' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5886:1: (otherlv_0= 'if' ( (lv_ownedIfThenExpressions_1_0= ruleIfThenExpCS ) ) (otherlv_2= 'elseif' ( (lv_ownedIfThenExpressions_3_0= ruleIfThenExpCS ) ) )* otherlv_4= 'else' ( (lv_ownedElseExpression_5_0= ruleExpCS ) ) otherlv_6= 'endif' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5886:3: otherlv_0= 'if' ( (lv_ownedIfThenExpressions_1_0= ruleIfThenExpCS ) ) (otherlv_2= 'elseif' ( (lv_ownedIfThenExpressions_3_0= ruleIfThenExpCS ) ) )* otherlv_4= 'else' ( (lv_ownedElseExpression_5_0= ruleExpCS ) ) otherlv_6= 'endif' |
| { |
| otherlv_0=(Token)match(input,92,FollowSets000.FOLLOW_92_in_ruleIfExpCS12976); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getIfExpCSAccess().getIfKeyword_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5890:1: ( (lv_ownedIfThenExpressions_1_0= ruleIfThenExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5891:1: (lv_ownedIfThenExpressions_1_0= ruleIfThenExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5891:1: (lv_ownedIfThenExpressions_1_0= ruleIfThenExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5892:3: lv_ownedIfThenExpressions_1_0= ruleIfThenExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getIfExpCSAccess().getOwnedIfThenExpressionsIfThenExpCSParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleIfThenExpCS_in_ruleIfExpCS12997); |
| lv_ownedIfThenExpressions_1_0=ruleIfThenExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getIfExpCSRule()); |
| } |
| add( |
| current, |
| "ownedIfThenExpressions", |
| lv_ownedIfThenExpressions_1_0, |
| "IfThenExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5908:2: (otherlv_2= 'elseif' ( (lv_ownedIfThenExpressions_3_0= ruleIfThenExpCS ) ) )* |
| loop110: |
| do { |
| int alt110=2; |
| int LA110_0 = input.LA(1); |
| |
| if ( (LA110_0==93) ) { |
| alt110=1; |
| } |
| |
| |
| switch (alt110) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5908:4: otherlv_2= 'elseif' ( (lv_ownedIfThenExpressions_3_0= ruleIfThenExpCS ) ) |
| { |
| otherlv_2=(Token)match(input,93,FollowSets000.FOLLOW_93_in_ruleIfExpCS13010); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getIfExpCSAccess().getElseifKeyword_2_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5912:1: ( (lv_ownedIfThenExpressions_3_0= ruleIfThenExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5913:1: (lv_ownedIfThenExpressions_3_0= ruleIfThenExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5913:1: (lv_ownedIfThenExpressions_3_0= ruleIfThenExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5914:3: lv_ownedIfThenExpressions_3_0= ruleIfThenExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getIfExpCSAccess().getOwnedIfThenExpressionsIfThenExpCSParserRuleCall_2_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleIfThenExpCS_in_ruleIfExpCS13031); |
| lv_ownedIfThenExpressions_3_0=ruleIfThenExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getIfExpCSRule()); |
| } |
| add( |
| current, |
| "ownedIfThenExpressions", |
| lv_ownedIfThenExpressions_3_0, |
| "IfThenExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop110; |
| } |
| } while (true); |
| |
| otherlv_4=(Token)match(input,94,FollowSets000.FOLLOW_94_in_ruleIfExpCS13045); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getIfExpCSAccess().getElseKeyword_3()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5934:1: ( (lv_ownedElseExpression_5_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5935:1: (lv_ownedElseExpression_5_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5935:1: (lv_ownedElseExpression_5_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5936:3: lv_ownedElseExpression_5_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getIfExpCSAccess().getOwnedElseExpressionExpCSParserRuleCall_4_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleIfExpCS13066); |
| lv_ownedElseExpression_5_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getIfExpCSRule()); |
| } |
| set( |
| current, |
| "ownedElseExpression", |
| lv_ownedElseExpression_5_0, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_6=(Token)match(input,95,FollowSets000.FOLLOW_95_in_ruleIfExpCS13078); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getIfExpCSAccess().getEndifKeyword_5()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleIfExpCS" |
| |
| |
| // $ANTLR start "entryRuleIfThenExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5964:1: entryRuleIfThenExpCS returns [EObject current=null] : iv_ruleIfThenExpCS= ruleIfThenExpCS EOF ; |
| public final EObject entryRuleIfThenExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleIfThenExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5965:2: (iv_ruleIfThenExpCS= ruleIfThenExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5966:2: iv_ruleIfThenExpCS= ruleIfThenExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getIfThenExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleIfThenExpCS_in_entryRuleIfThenExpCS13114); |
| iv_ruleIfThenExpCS=ruleIfThenExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleIfThenExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleIfThenExpCS13124); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleIfThenExpCS" |
| |
| |
| // $ANTLR start "ruleIfThenExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5973:1: ruleIfThenExpCS returns [EObject current=null] : ( ( ( (lv_ownedPattern_0_0= rulePatternExpCS ) ) otherlv_1= '=' )? ( (lv_ownedCondition_2_0= ruleExpCS ) ) otherlv_3= 'then' ( (lv_ownedThenExpression_4_0= ruleExpCS ) ) ) ; |
| public final EObject ruleIfThenExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| EObject lv_ownedPattern_0_0 = null; |
| |
| EObject lv_ownedCondition_2_0 = null; |
| |
| EObject lv_ownedThenExpression_4_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5976:28: ( ( ( ( (lv_ownedPattern_0_0= rulePatternExpCS ) ) otherlv_1= '=' )? ( (lv_ownedCondition_2_0= ruleExpCS ) ) otherlv_3= 'then' ( (lv_ownedThenExpression_4_0= ruleExpCS ) ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5977:1: ( ( ( (lv_ownedPattern_0_0= rulePatternExpCS ) ) otherlv_1= '=' )? ( (lv_ownedCondition_2_0= ruleExpCS ) ) otherlv_3= 'then' ( (lv_ownedThenExpression_4_0= ruleExpCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5977:1: ( ( ( (lv_ownedPattern_0_0= rulePatternExpCS ) ) otherlv_1= '=' )? ( (lv_ownedCondition_2_0= ruleExpCS ) ) otherlv_3= 'then' ( (lv_ownedThenExpression_4_0= ruleExpCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5977:2: ( ( (lv_ownedPattern_0_0= rulePatternExpCS ) ) otherlv_1= '=' )? ( (lv_ownedCondition_2_0= ruleExpCS ) ) otherlv_3= 'then' ( (lv_ownedThenExpression_4_0= ruleExpCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5977:2: ( ( (lv_ownedPattern_0_0= rulePatternExpCS ) ) otherlv_1= '=' )? |
| int alt111=2; |
| switch ( input.LA(1) ) { |
| case RULE_SIMPLE_ID: |
| { |
| int LA111_1 = input.LA(2); |
| |
| if ( (LA111_1==23) ) { |
| alt111=1; |
| } |
| } |
| break; |
| case RULE_ESCAPED_ID: |
| { |
| int LA111_2 = input.LA(2); |
| |
| if ( (LA111_2==23) ) { |
| alt111=1; |
| } |
| } |
| break; |
| case 28: |
| { |
| int LA111_3 = input.LA(2); |
| |
| if ( (LA111_3==23) ) { |
| alt111=1; |
| } |
| } |
| break; |
| case 29: |
| { |
| int LA111_4 = input.LA(2); |
| |
| if ( (LA111_4==23) ) { |
| alt111=1; |
| } |
| } |
| break; |
| case 30: |
| { |
| int LA111_5 = input.LA(2); |
| |
| if ( (LA111_5==23) ) { |
| alt111=1; |
| } |
| } |
| break; |
| case 23: |
| { |
| alt111=1; |
| } |
| break; |
| } |
| |
| switch (alt111) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5977:3: ( (lv_ownedPattern_0_0= rulePatternExpCS ) ) otherlv_1= '=' |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5977:3: ( (lv_ownedPattern_0_0= rulePatternExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5978:1: (lv_ownedPattern_0_0= rulePatternExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5978:1: (lv_ownedPattern_0_0= rulePatternExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5979:3: lv_ownedPattern_0_0= rulePatternExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getIfThenExpCSAccess().getOwnedPatternPatternExpCSParserRuleCall_0_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePatternExpCS_in_ruleIfThenExpCS13171); |
| lv_ownedPattern_0_0=rulePatternExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getIfThenExpCSRule()); |
| } |
| set( |
| current, |
| "ownedPattern", |
| lv_ownedPattern_0_0, |
| "PatternExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_1=(Token)match(input,27,FollowSets000.FOLLOW_27_in_ruleIfThenExpCS13183); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getIfThenExpCSAccess().getEqualsSignKeyword_0_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:5999:3: ( (lv_ownedCondition_2_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6000:1: (lv_ownedCondition_2_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6000:1: (lv_ownedCondition_2_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6001:3: lv_ownedCondition_2_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getIfThenExpCSAccess().getOwnedConditionExpCSParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleIfThenExpCS13206); |
| lv_ownedCondition_2_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getIfThenExpCSRule()); |
| } |
| set( |
| current, |
| "ownedCondition", |
| lv_ownedCondition_2_0, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_3=(Token)match(input,96,FollowSets000.FOLLOW_96_in_ruleIfThenExpCS13218); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getIfThenExpCSAccess().getThenKeyword_2()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6021:1: ( (lv_ownedThenExpression_4_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6022:1: (lv_ownedThenExpression_4_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6022:1: (lv_ownedThenExpression_4_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6023:3: lv_ownedThenExpression_4_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getIfThenExpCSAccess().getOwnedThenExpressionExpCSParserRuleCall_3_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleIfThenExpCS13239); |
| lv_ownedThenExpression_4_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getIfThenExpCSRule()); |
| } |
| set( |
| current, |
| "ownedThenExpression", |
| lv_ownedThenExpression_4_0, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleIfThenExpCS" |
| |
| |
| // $ANTLR start "entryRuleLetExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6047:1: entryRuleLetExpCS returns [EObject current=null] : iv_ruleLetExpCS= ruleLetExpCS EOF ; |
| public final EObject entryRuleLetExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleLetExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6048:2: (iv_ruleLetExpCS= ruleLetExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6049:2: iv_ruleLetExpCS= ruleLetExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getLetExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleLetExpCS_in_entryRuleLetExpCS13275); |
| iv_ruleLetExpCS=ruleLetExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleLetExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLetExpCS13285); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleLetExpCS" |
| |
| |
| // $ANTLR start "ruleLetExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6056:1: ruleLetExpCS returns [EObject current=null] : (otherlv_0= 'let' ( (lv_ownedVariables_1_0= ruleLetVariableCS ) ) (otherlv_2= ',' ( (lv_ownedVariables_3_0= ruleLetVariableCS ) ) )* otherlv_4= 'in' ( (lv_ownedInExpression_5_0= ruleExpCS ) ) ) ; |
| public final EObject ruleLetExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| EObject lv_ownedVariables_1_0 = null; |
| |
| EObject lv_ownedVariables_3_0 = null; |
| |
| EObject lv_ownedInExpression_5_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6059:28: ( (otherlv_0= 'let' ( (lv_ownedVariables_1_0= ruleLetVariableCS ) ) (otherlv_2= ',' ( (lv_ownedVariables_3_0= ruleLetVariableCS ) ) )* otherlv_4= 'in' ( (lv_ownedInExpression_5_0= ruleExpCS ) ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6060:1: (otherlv_0= 'let' ( (lv_ownedVariables_1_0= ruleLetVariableCS ) ) (otherlv_2= ',' ( (lv_ownedVariables_3_0= ruleLetVariableCS ) ) )* otherlv_4= 'in' ( (lv_ownedInExpression_5_0= ruleExpCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6060:1: (otherlv_0= 'let' ( (lv_ownedVariables_1_0= ruleLetVariableCS ) ) (otherlv_2= ',' ( (lv_ownedVariables_3_0= ruleLetVariableCS ) ) )* otherlv_4= 'in' ( (lv_ownedInExpression_5_0= ruleExpCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6060:3: otherlv_0= 'let' ( (lv_ownedVariables_1_0= ruleLetVariableCS ) ) (otherlv_2= ',' ( (lv_ownedVariables_3_0= ruleLetVariableCS ) ) )* otherlv_4= 'in' ( (lv_ownedInExpression_5_0= ruleExpCS ) ) |
| { |
| otherlv_0=(Token)match(input,97,FollowSets000.FOLLOW_97_in_ruleLetExpCS13322); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getLetExpCSAccess().getLetKeyword_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6064:1: ( (lv_ownedVariables_1_0= ruleLetVariableCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6065:1: (lv_ownedVariables_1_0= ruleLetVariableCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6065:1: (lv_ownedVariables_1_0= ruleLetVariableCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6066:3: lv_ownedVariables_1_0= ruleLetVariableCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getLetExpCSAccess().getOwnedVariablesLetVariableCSParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleLetVariableCS_in_ruleLetExpCS13343); |
| lv_ownedVariables_1_0=ruleLetVariableCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getLetExpCSRule()); |
| } |
| add( |
| current, |
| "ownedVariables", |
| lv_ownedVariables_1_0, |
| "LetVariableCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6082:2: (otherlv_2= ',' ( (lv_ownedVariables_3_0= ruleLetVariableCS ) ) )* |
| loop112: |
| do { |
| int alt112=2; |
| int LA112_0 = input.LA(1); |
| |
| if ( (LA112_0==26) ) { |
| alt112=1; |
| } |
| |
| |
| switch (alt112) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6082:4: otherlv_2= ',' ( (lv_ownedVariables_3_0= ruleLetVariableCS ) ) |
| { |
| otherlv_2=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleLetExpCS13356); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getLetExpCSAccess().getCommaKeyword_2_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6086:1: ( (lv_ownedVariables_3_0= ruleLetVariableCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6087:1: (lv_ownedVariables_3_0= ruleLetVariableCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6087:1: (lv_ownedVariables_3_0= ruleLetVariableCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6088:3: lv_ownedVariables_3_0= ruleLetVariableCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getLetExpCSAccess().getOwnedVariablesLetVariableCSParserRuleCall_2_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleLetVariableCS_in_ruleLetExpCS13377); |
| lv_ownedVariables_3_0=ruleLetVariableCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getLetExpCSRule()); |
| } |
| add( |
| current, |
| "ownedVariables", |
| lv_ownedVariables_3_0, |
| "LetVariableCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop112; |
| } |
| } while (true); |
| |
| otherlv_4=(Token)match(input,89,FollowSets000.FOLLOW_89_in_ruleLetExpCS13391); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getLetExpCSAccess().getInKeyword_3()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6108:1: ( (lv_ownedInExpression_5_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6109:1: (lv_ownedInExpression_5_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6109:1: (lv_ownedInExpression_5_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6110:3: lv_ownedInExpression_5_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getLetExpCSAccess().getOwnedInExpressionExpCSParserRuleCall_4_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleLetExpCS13412); |
| lv_ownedInExpression_5_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getLetExpCSRule()); |
| } |
| set( |
| current, |
| "ownedInExpression", |
| lv_ownedInExpression_5_0, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleLetExpCS" |
| |
| |
| // $ANTLR start "entryRuleLetVariableCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6134:1: entryRuleLetVariableCS returns [EObject current=null] : iv_ruleLetVariableCS= ruleLetVariableCS EOF ; |
| public final EObject entryRuleLetVariableCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleLetVariableCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6135:2: (iv_ruleLetVariableCS= ruleLetVariableCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6136:2: iv_ruleLetVariableCS= ruleLetVariableCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getLetVariableCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleLetVariableCS_in_entryRuleLetVariableCS13448); |
| iv_ruleLetVariableCS=ruleLetVariableCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleLetVariableCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLetVariableCS13458); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleLetVariableCS" |
| |
| |
| // $ANTLR start "ruleLetVariableCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6143:1: ruleLetVariableCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleUnrestrictedName ) ) ( (lv_ownedRoundBracketedClause_1_0= ruleRoundBracketedClauseCS ) )? (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) )? otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) ) ; |
| public final EObject ruleLetVariableCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| AntlrDatatypeRuleToken lv_name_0_0 = null; |
| |
| EObject lv_ownedRoundBracketedClause_1_0 = null; |
| |
| EObject lv_ownedType_3_0 = null; |
| |
| EObject lv_ownedInitExpression_5_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6146:28: ( ( ( (lv_name_0_0= ruleUnrestrictedName ) ) ( (lv_ownedRoundBracketedClause_1_0= ruleRoundBracketedClauseCS ) )? (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) )? otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6147:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) ( (lv_ownedRoundBracketedClause_1_0= ruleRoundBracketedClauseCS ) )? (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) )? otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6147:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) ( (lv_ownedRoundBracketedClause_1_0= ruleRoundBracketedClauseCS ) )? (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) )? otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6147:2: ( (lv_name_0_0= ruleUnrestrictedName ) ) ( (lv_ownedRoundBracketedClause_1_0= ruleRoundBracketedClauseCS ) )? (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) )? otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6147:2: ( (lv_name_0_0= ruleUnrestrictedName ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6148:1: (lv_name_0_0= ruleUnrestrictedName ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6148:1: (lv_name_0_0= ruleUnrestrictedName ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6149:3: lv_name_0_0= ruleUnrestrictedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getLetVariableCSAccess().getNameUnrestrictedNameParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleLetVariableCS13504); |
| lv_name_0_0=ruleUnrestrictedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getLetVariableCSRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_0_0, |
| "UnrestrictedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6165:2: ( (lv_ownedRoundBracketedClause_1_0= ruleRoundBracketedClauseCS ) )? |
| int alt113=2; |
| int LA113_0 = input.LA(1); |
| |
| if ( (LA113_0==21) ) { |
| alt113=1; |
| } |
| switch (alt113) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6166:1: (lv_ownedRoundBracketedClause_1_0= ruleRoundBracketedClauseCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6166:1: (lv_ownedRoundBracketedClause_1_0= ruleRoundBracketedClauseCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6167:3: lv_ownedRoundBracketedClause_1_0= ruleRoundBracketedClauseCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getLetVariableCSAccess().getOwnedRoundBracketedClauseRoundBracketedClauseCSParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleRoundBracketedClauseCS_in_ruleLetVariableCS13525); |
| lv_ownedRoundBracketedClause_1_0=ruleRoundBracketedClauseCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getLetVariableCSRule()); |
| } |
| set( |
| current, |
| "ownedRoundBracketedClause", |
| lv_ownedRoundBracketedClause_1_0, |
| "RoundBracketedClauseCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6183:3: (otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) )? |
| int alt114=2; |
| int LA114_0 = input.LA(1); |
| |
| if ( (LA114_0==23) ) { |
| alt114=1; |
| } |
| switch (alt114) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6183:5: otherlv_2= ':' ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) |
| { |
| otherlv_2=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleLetVariableCS13539); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getLetVariableCSAccess().getColonKeyword_2_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6187:1: ( (lv_ownedType_3_0= ruleComplexTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6188:1: (lv_ownedType_3_0= ruleComplexTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6188:1: (lv_ownedType_3_0= ruleComplexTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6189:3: lv_ownedType_3_0= ruleComplexTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getLetVariableCSAccess().getOwnedTypeComplexTypeCSParserRuleCall_2_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_ruleLetVariableCS13560); |
| lv_ownedType_3_0=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getLetVariableCSRule()); |
| } |
| set( |
| current, |
| "ownedType", |
| lv_ownedType_3_0, |
| "ComplexTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_4=(Token)match(input,27,FollowSets000.FOLLOW_27_in_ruleLetVariableCS13574); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getLetVariableCSAccess().getEqualsSignKeyword_3()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6209:1: ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6210:1: (lv_ownedInitExpression_5_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6210:1: (lv_ownedInitExpression_5_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6211:3: lv_ownedInitExpression_5_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getLetVariableCSAccess().getOwnedInitExpressionExpCSParserRuleCall_4_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleLetVariableCS13595); |
| lv_ownedInitExpression_5_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getLetVariableCSRule()); |
| } |
| set( |
| current, |
| "ownedInitExpression", |
| lv_ownedInitExpression_5_0, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleLetVariableCS" |
| |
| |
| // $ANTLR start "entryRuleNestedExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6235:1: entryRuleNestedExpCS returns [EObject current=null] : iv_ruleNestedExpCS= ruleNestedExpCS EOF ; |
| public final EObject entryRuleNestedExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleNestedExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6236:2: (iv_ruleNestedExpCS= ruleNestedExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6237:2: iv_ruleNestedExpCS= ruleNestedExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getNestedExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNestedExpCS_in_entryRuleNestedExpCS13631); |
| iv_ruleNestedExpCS=ruleNestedExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleNestedExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNestedExpCS13641); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleNestedExpCS" |
| |
| |
| // $ANTLR start "ruleNestedExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6244:1: ruleNestedExpCS returns [EObject current=null] : (otherlv_0= '(' ( (lv_ownedExpression_1_0= ruleExpCS ) ) otherlv_2= ')' ) ; |
| public final EObject ruleNestedExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_2=null; |
| EObject lv_ownedExpression_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6247:28: ( (otherlv_0= '(' ( (lv_ownedExpression_1_0= ruleExpCS ) ) otherlv_2= ')' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6248:1: (otherlv_0= '(' ( (lv_ownedExpression_1_0= ruleExpCS ) ) otherlv_2= ')' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6248:1: (otherlv_0= '(' ( (lv_ownedExpression_1_0= ruleExpCS ) ) otherlv_2= ')' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6248:3: otherlv_0= '(' ( (lv_ownedExpression_1_0= ruleExpCS ) ) otherlv_2= ')' |
| { |
| otherlv_0=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleNestedExpCS13678); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getNestedExpCSAccess().getLeftParenthesisKeyword_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6252:1: ( (lv_ownedExpression_1_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6253:1: (lv_ownedExpression_1_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6253:1: (lv_ownedExpression_1_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6254:3: lv_ownedExpression_1_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNestedExpCSAccess().getOwnedExpressionExpCSParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleNestedExpCS13699); |
| lv_ownedExpression_1_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getNestedExpCSRule()); |
| } |
| set( |
| current, |
| "ownedExpression", |
| lv_ownedExpression_1_0, |
| "ExpCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_2=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleNestedExpCS13711); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getNestedExpCSAccess().getRightParenthesisKeyword_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleNestedExpCS" |
| |
| |
| // $ANTLR start "entryRuleSelfExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6282:1: entryRuleSelfExpCS returns [EObject current=null] : iv_ruleSelfExpCS= ruleSelfExpCS EOF ; |
| public final EObject entryRuleSelfExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleSelfExpCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6283:2: (iv_ruleSelfExpCS= ruleSelfExpCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6284:2: iv_ruleSelfExpCS= ruleSelfExpCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getSelfExpCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleSelfExpCS_in_entryRuleSelfExpCS13747); |
| iv_ruleSelfExpCS=ruleSelfExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleSelfExpCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleSelfExpCS13757); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleSelfExpCS" |
| |
| |
| // $ANTLR start "ruleSelfExpCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6291:1: ruleSelfExpCS returns [EObject current=null] : ( () otherlv_1= 'self' ) ; |
| public final EObject ruleSelfExpCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6294:28: ( ( () otherlv_1= 'self' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6295:1: ( () otherlv_1= 'self' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6295:1: ( () otherlv_1= 'self' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6295:2: () otherlv_1= 'self' |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6295:2: () |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6296:2: |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getSelfExpCSAccess().getSelfExpCSAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,98,FollowSets000.FOLLOW_98_in_ruleSelfExpCS13806); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getSelfExpCSAccess().getSelfKeyword_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleSelfExpCS" |
| |
| |
| // $ANTLR start "entryRuleTemplateParameterActualCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6316:1: entryRuleTemplateParameterActualCS returns [EObject current=null] : iv_ruleTemplateParameterActualCS= ruleTemplateParameterActualCS EOF ; |
| public final EObject entryRuleTemplateParameterActualCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleTemplateParameterActualCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6317:2: (iv_ruleTemplateParameterActualCS= ruleTemplateParameterActualCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6318:2: iv_ruleTemplateParameterActualCS= ruleTemplateParameterActualCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTemplateParameterActualCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTemplateParameterActualCS_in_entryRuleTemplateParameterActualCS13842); |
| iv_ruleTemplateParameterActualCS=ruleTemplateParameterActualCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleTemplateParameterActualCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTemplateParameterActualCS13852); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleTemplateParameterActualCS" |
| |
| |
| // $ANTLR start "ruleTemplateParameterActualCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6325:1: ruleTemplateParameterActualCS returns [EObject current=null] : (this_ComplexTypeCS_0= ruleComplexTypeCS | this_WildcardTypeRefCS_1= ruleWildcardTypeRefCS | this_PrimitiveLiteralExpCS_2= rulePrimitiveLiteralExpCS ) ; |
| public final EObject ruleTemplateParameterActualCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_ComplexTypeCS_0 = null; |
| |
| EObject this_WildcardTypeRefCS_1 = null; |
| |
| EObject this_PrimitiveLiteralExpCS_2 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6328:28: ( (this_ComplexTypeCS_0= ruleComplexTypeCS | this_WildcardTypeRefCS_1= ruleWildcardTypeRefCS | this_PrimitiveLiteralExpCS_2= rulePrimitiveLiteralExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6329:1: (this_ComplexTypeCS_0= ruleComplexTypeCS | this_WildcardTypeRefCS_1= ruleWildcardTypeRefCS | this_PrimitiveLiteralExpCS_2= rulePrimitiveLiteralExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6329:1: (this_ComplexTypeCS_0= ruleComplexTypeCS | this_WildcardTypeRefCS_1= ruleWildcardTypeRefCS | this_PrimitiveLiteralExpCS_2= rulePrimitiveLiteralExpCS ) |
| int alt115=3; |
| switch ( input.LA(1) ) { |
| case RULE_SIMPLE_ID: |
| case RULE_ESCAPED_ID: |
| case 28: |
| case 29: |
| case 30: |
| case 40: |
| case 41: |
| case 42: |
| case 43: |
| case 44: |
| case 45: |
| case 46: |
| case 47: |
| case 48: |
| case 49: |
| case 68: |
| case 69: |
| case 71: |
| case 72: |
| case 73: |
| case 74: |
| case 75: |
| case 76: |
| { |
| alt115=1; |
| } |
| break; |
| case 39: |
| { |
| alt115=2; |
| } |
| break; |
| case RULE_INT: |
| case RULE_SINGLE_QUOTED_STRING: |
| case 52: |
| case 82: |
| case 83: |
| case 84: |
| case 85: |
| { |
| alt115=3; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 115, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt115) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6330:2: this_ComplexTypeCS_0= ruleComplexTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTemplateParameterActualCSAccess().getComplexTypeCSParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleComplexTypeCS_in_ruleTemplateParameterActualCS13902); |
| this_ComplexTypeCS_0=ruleComplexTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_ComplexTypeCS_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6343:2: this_WildcardTypeRefCS_1= ruleWildcardTypeRefCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTemplateParameterActualCSAccess().getWildcardTypeRefCSParserRuleCall_1()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleWildcardTypeRefCS_in_ruleTemplateParameterActualCS13932); |
| this_WildcardTypeRefCS_1=ruleWildcardTypeRefCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_WildcardTypeRefCS_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6356:2: this_PrimitiveLiteralExpCS_2= rulePrimitiveLiteralExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTemplateParameterActualCSAccess().getPrimitiveLiteralExpCSParserRuleCall_2()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePrimitiveLiteralExpCS_in_ruleTemplateParameterActualCS13962); |
| this_PrimitiveLiteralExpCS_2=rulePrimitiveLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_PrimitiveLiteralExpCS_2; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleTemplateParameterActualCS" |
| |
| |
| // $ANTLR start "entryRuleMultiplicityBoundsCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6375:1: entryRuleMultiplicityBoundsCS returns [EObject current=null] : iv_ruleMultiplicityBoundsCS= ruleMultiplicityBoundsCS EOF ; |
| public final EObject entryRuleMultiplicityBoundsCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleMultiplicityBoundsCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6376:2: (iv_ruleMultiplicityBoundsCS= ruleMultiplicityBoundsCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6377:2: iv_ruleMultiplicityBoundsCS= ruleMultiplicityBoundsCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getMultiplicityBoundsCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleMultiplicityBoundsCS_in_entryRuleMultiplicityBoundsCS13997); |
| iv_ruleMultiplicityBoundsCS=ruleMultiplicityBoundsCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleMultiplicityBoundsCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleMultiplicityBoundsCS14007); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleMultiplicityBoundsCS" |
| |
| |
| // $ANTLR start "ruleMultiplicityBoundsCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6384:1: ruleMultiplicityBoundsCS returns [EObject current=null] : ( ( (lv_lowerBound_0_0= ruleLOWER ) ) (otherlv_1= '..' ( (lv_upperBound_2_0= ruleUPPER ) ) )? ) ; |
| public final EObject ruleMultiplicityBoundsCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| AntlrDatatypeRuleToken lv_lowerBound_0_0 = null; |
| |
| AntlrDatatypeRuleToken lv_upperBound_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6387:28: ( ( ( (lv_lowerBound_0_0= ruleLOWER ) ) (otherlv_1= '..' ( (lv_upperBound_2_0= ruleUPPER ) ) )? ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6388:1: ( ( (lv_lowerBound_0_0= ruleLOWER ) ) (otherlv_1= '..' ( (lv_upperBound_2_0= ruleUPPER ) ) )? ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6388:1: ( ( (lv_lowerBound_0_0= ruleLOWER ) ) (otherlv_1= '..' ( (lv_upperBound_2_0= ruleUPPER ) ) )? ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6388:2: ( (lv_lowerBound_0_0= ruleLOWER ) ) (otherlv_1= '..' ( (lv_upperBound_2_0= ruleUPPER ) ) )? |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6388:2: ( (lv_lowerBound_0_0= ruleLOWER ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6389:1: (lv_lowerBound_0_0= ruleLOWER ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6389:1: (lv_lowerBound_0_0= ruleLOWER ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6390:3: lv_lowerBound_0_0= ruleLOWER |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getMultiplicityBoundsCSAccess().getLowerBoundLOWERParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleLOWER_in_ruleMultiplicityBoundsCS14053); |
| lv_lowerBound_0_0=ruleLOWER(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getMultiplicityBoundsCSRule()); |
| } |
| set( |
| current, |
| "lowerBound", |
| lv_lowerBound_0_0, |
| "LOWER"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6406:2: (otherlv_1= '..' ( (lv_upperBound_2_0= ruleUPPER ) ) )? |
| int alt116=2; |
| int LA116_0 = input.LA(1); |
| |
| if ( (LA116_0==79) ) { |
| alt116=1; |
| } |
| switch (alt116) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6406:4: otherlv_1= '..' ( (lv_upperBound_2_0= ruleUPPER ) ) |
| { |
| otherlv_1=(Token)match(input,79,FollowSets000.FOLLOW_79_in_ruleMultiplicityBoundsCS14066); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getMultiplicityBoundsCSAccess().getFullStopFullStopKeyword_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6410:1: ( (lv_upperBound_2_0= ruleUPPER ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6411:1: (lv_upperBound_2_0= ruleUPPER ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6411:1: (lv_upperBound_2_0= ruleUPPER ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6412:3: lv_upperBound_2_0= ruleUPPER |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getMultiplicityBoundsCSAccess().getUpperBoundUPPERParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUPPER_in_ruleMultiplicityBoundsCS14087); |
| lv_upperBound_2_0=ruleUPPER(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getMultiplicityBoundsCSRule()); |
| } |
| set( |
| current, |
| "upperBound", |
| lv_upperBound_2_0, |
| "UPPER"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleMultiplicityBoundsCS" |
| |
| |
| // $ANTLR start "entryRuleMultiplicityCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6436:1: entryRuleMultiplicityCS returns [EObject current=null] : iv_ruleMultiplicityCS= ruleMultiplicityCS EOF ; |
| public final EObject entryRuleMultiplicityCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleMultiplicityCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6437:2: (iv_ruleMultiplicityCS= ruleMultiplicityCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6438:2: iv_ruleMultiplicityCS= ruleMultiplicityCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getMultiplicityCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleMultiplicityCS_in_entryRuleMultiplicityCS14125); |
| iv_ruleMultiplicityCS=ruleMultiplicityCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleMultiplicityCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleMultiplicityCS14135); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleMultiplicityCS" |
| |
| |
| // $ANTLR start "ruleMultiplicityCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6445:1: ruleMultiplicityCS returns [EObject current=null] : (otherlv_0= '[' (this_MultiplicityBoundsCS_1= ruleMultiplicityBoundsCS | this_MultiplicityStringCS_2= ruleMultiplicityStringCS ) (otherlv_3= '|?' | ( (lv_isNullFree_4_0= '|1' ) ) )? otherlv_5= ']' ) ; |
| public final EObject ruleMultiplicityCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_3=null; |
| Token lv_isNullFree_4_0=null; |
| Token otherlv_5=null; |
| EObject this_MultiplicityBoundsCS_1 = null; |
| |
| EObject this_MultiplicityStringCS_2 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6448:28: ( (otherlv_0= '[' (this_MultiplicityBoundsCS_1= ruleMultiplicityBoundsCS | this_MultiplicityStringCS_2= ruleMultiplicityStringCS ) (otherlv_3= '|?' | ( (lv_isNullFree_4_0= '|1' ) ) )? otherlv_5= ']' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6449:1: (otherlv_0= '[' (this_MultiplicityBoundsCS_1= ruleMultiplicityBoundsCS | this_MultiplicityStringCS_2= ruleMultiplicityStringCS ) (otherlv_3= '|?' | ( (lv_isNullFree_4_0= '|1' ) ) )? otherlv_5= ']' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6449:1: (otherlv_0= '[' (this_MultiplicityBoundsCS_1= ruleMultiplicityBoundsCS | this_MultiplicityStringCS_2= ruleMultiplicityStringCS ) (otherlv_3= '|?' | ( (lv_isNullFree_4_0= '|1' ) ) )? otherlv_5= ']' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6449:3: otherlv_0= '[' (this_MultiplicityBoundsCS_1= ruleMultiplicityBoundsCS | this_MultiplicityStringCS_2= ruleMultiplicityStringCS ) (otherlv_3= '|?' | ( (lv_isNullFree_4_0= '|1' ) ) )? otherlv_5= ']' |
| { |
| otherlv_0=(Token)match(input,87,FollowSets000.FOLLOW_87_in_ruleMultiplicityCS14172); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getMultiplicityCSAccess().getLeftSquareBracketKeyword_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6453:1: (this_MultiplicityBoundsCS_1= ruleMultiplicityBoundsCS | this_MultiplicityStringCS_2= ruleMultiplicityStringCS ) |
| int alt117=2; |
| int LA117_0 = input.LA(1); |
| |
| if ( (LA117_0==RULE_INT) ) { |
| alt117=1; |
| } |
| else if ( (LA117_0==39||LA117_0==52||LA117_0==54) ) { |
| alt117=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 117, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt117) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6454:2: this_MultiplicityBoundsCS_1= ruleMultiplicityBoundsCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getMultiplicityCSAccess().getMultiplicityBoundsCSParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleMultiplicityBoundsCS_in_ruleMultiplicityCS14198); |
| this_MultiplicityBoundsCS_1=ruleMultiplicityBoundsCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_MultiplicityBoundsCS_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6467:2: this_MultiplicityStringCS_2= ruleMultiplicityStringCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getMultiplicityCSAccess().getMultiplicityStringCSParserRuleCall_1_1()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleMultiplicityStringCS_in_ruleMultiplicityCS14228); |
| this_MultiplicityStringCS_2=ruleMultiplicityStringCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_MultiplicityStringCS_2; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6478:2: (otherlv_3= '|?' | ( (lv_isNullFree_4_0= '|1' ) ) )? |
| int alt118=3; |
| int LA118_0 = input.LA(1); |
| |
| if ( (LA118_0==99) ) { |
| alt118=1; |
| } |
| else if ( (LA118_0==100) ) { |
| alt118=2; |
| } |
| switch (alt118) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6478:4: otherlv_3= '|?' |
| { |
| otherlv_3=(Token)match(input,99,FollowSets000.FOLLOW_99_in_ruleMultiplicityCS14241); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getMultiplicityCSAccess().getVerticalLineQuestionMarkKeyword_2_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6483:6: ( (lv_isNullFree_4_0= '|1' ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6483:6: ( (lv_isNullFree_4_0= '|1' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6484:1: (lv_isNullFree_4_0= '|1' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6484:1: (lv_isNullFree_4_0= '|1' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6485:3: lv_isNullFree_4_0= '|1' |
| { |
| lv_isNullFree_4_0=(Token)match(input,100,FollowSets000.FOLLOW_100_in_ruleMultiplicityCS14265); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_isNullFree_4_0, grammarAccess.getMultiplicityCSAccess().getIsNullFree1Keyword_2_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getMultiplicityCSRule()); |
| } |
| setWithLastConsumed(current, "isNullFree", true, "|1"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_5=(Token)match(input,88,FollowSets000.FOLLOW_88_in_ruleMultiplicityCS14292); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getMultiplicityCSAccess().getRightSquareBracketKeyword_3()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleMultiplicityCS" |
| |
| |
| // $ANTLR start "entryRuleMultiplicityStringCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6510:1: entryRuleMultiplicityStringCS returns [EObject current=null] : iv_ruleMultiplicityStringCS= ruleMultiplicityStringCS EOF ; |
| public final EObject entryRuleMultiplicityStringCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleMultiplicityStringCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6511:2: (iv_ruleMultiplicityStringCS= ruleMultiplicityStringCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6512:2: iv_ruleMultiplicityStringCS= ruleMultiplicityStringCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getMultiplicityStringCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleMultiplicityStringCS_in_entryRuleMultiplicityStringCS14328); |
| iv_ruleMultiplicityStringCS=ruleMultiplicityStringCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleMultiplicityStringCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleMultiplicityStringCS14338); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleMultiplicityStringCS" |
| |
| |
| // $ANTLR start "ruleMultiplicityStringCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6519:1: ruleMultiplicityStringCS returns [EObject current=null] : ( ( (lv_stringBounds_0_1= '*' | lv_stringBounds_0_2= '+' | lv_stringBounds_0_3= '?' ) ) ) ; |
| public final EObject ruleMultiplicityStringCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_stringBounds_0_1=null; |
| Token lv_stringBounds_0_2=null; |
| Token lv_stringBounds_0_3=null; |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6522:28: ( ( ( (lv_stringBounds_0_1= '*' | lv_stringBounds_0_2= '+' | lv_stringBounds_0_3= '?' ) ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6523:1: ( ( (lv_stringBounds_0_1= '*' | lv_stringBounds_0_2= '+' | lv_stringBounds_0_3= '?' ) ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6523:1: ( ( (lv_stringBounds_0_1= '*' | lv_stringBounds_0_2= '+' | lv_stringBounds_0_3= '?' ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6524:1: ( (lv_stringBounds_0_1= '*' | lv_stringBounds_0_2= '+' | lv_stringBounds_0_3= '?' ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6524:1: ( (lv_stringBounds_0_1= '*' | lv_stringBounds_0_2= '+' | lv_stringBounds_0_3= '?' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6525:1: (lv_stringBounds_0_1= '*' | lv_stringBounds_0_2= '+' | lv_stringBounds_0_3= '?' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6525:1: (lv_stringBounds_0_1= '*' | lv_stringBounds_0_2= '+' | lv_stringBounds_0_3= '?' ) |
| int alt119=3; |
| switch ( input.LA(1) ) { |
| case 52: |
| { |
| alt119=1; |
| } |
| break; |
| case 54: |
| { |
| alt119=2; |
| } |
| break; |
| case 39: |
| { |
| alt119=3; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 119, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt119) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6526:3: lv_stringBounds_0_1= '*' |
| { |
| lv_stringBounds_0_1=(Token)match(input,52,FollowSets000.FOLLOW_52_in_ruleMultiplicityStringCS14382); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_stringBounds_0_1, grammarAccess.getMultiplicityStringCSAccess().getStringBoundsAsteriskKeyword_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getMultiplicityStringCSRule()); |
| } |
| setWithLastConsumed(current, "stringBounds", lv_stringBounds_0_1, null); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6538:8: lv_stringBounds_0_2= '+' |
| { |
| lv_stringBounds_0_2=(Token)match(input,54,FollowSets000.FOLLOW_54_in_ruleMultiplicityStringCS14411); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_stringBounds_0_2, grammarAccess.getMultiplicityStringCSAccess().getStringBoundsPlusSignKeyword_0_1()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getMultiplicityStringCSRule()); |
| } |
| setWithLastConsumed(current, "stringBounds", lv_stringBounds_0_2, null); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6550:8: lv_stringBounds_0_3= '?' |
| { |
| lv_stringBounds_0_3=(Token)match(input,39,FollowSets000.FOLLOW_39_in_ruleMultiplicityStringCS14440); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_stringBounds_0_3, grammarAccess.getMultiplicityStringCSAccess().getStringBoundsQuestionMarkKeyword_0_2()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getMultiplicityStringCSRule()); |
| } |
| setWithLastConsumed(current, "stringBounds", lv_stringBounds_0_3, null); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleMultiplicityStringCS" |
| |
| |
| // $ANTLR start "entryRulePathNameCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6573:1: entryRulePathNameCS returns [EObject current=null] : iv_rulePathNameCS= rulePathNameCS EOF ; |
| public final EObject entryRulePathNameCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_rulePathNameCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6574:2: (iv_rulePathNameCS= rulePathNameCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6575:2: iv_rulePathNameCS= rulePathNameCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getPathNameCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePathNameCS_in_entryRulePathNameCS14491); |
| iv_rulePathNameCS=rulePathNameCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_rulePathNameCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePathNameCS14501); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRulePathNameCS" |
| |
| |
| // $ANTLR start "rulePathNameCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6582:1: rulePathNameCS returns [EObject current=null] : ( ( (lv_ownedPathElements_0_0= ruleFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) )* ) ; |
| public final EObject rulePathNameCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| EObject lv_ownedPathElements_0_0 = null; |
| |
| EObject lv_ownedPathElements_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6585:28: ( ( ( (lv_ownedPathElements_0_0= ruleFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) )* ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6586:1: ( ( (lv_ownedPathElements_0_0= ruleFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) )* ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6586:1: ( ( (lv_ownedPathElements_0_0= ruleFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) )* ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6586:2: ( (lv_ownedPathElements_0_0= ruleFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) )* |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6586:2: ( (lv_ownedPathElements_0_0= ruleFirstPathElementCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6587:1: (lv_ownedPathElements_0_0= ruleFirstPathElementCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6587:1: (lv_ownedPathElements_0_0= ruleFirstPathElementCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6588:3: lv_ownedPathElements_0_0= ruleFirstPathElementCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPathNameCSAccess().getOwnedPathElementsFirstPathElementCSParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleFirstPathElementCS_in_rulePathNameCS14547); |
| lv_ownedPathElements_0_0=ruleFirstPathElementCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getPathNameCSRule()); |
| } |
| add( |
| current, |
| "ownedPathElements", |
| lv_ownedPathElements_0_0, |
| "FirstPathElementCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6604:2: (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) )* |
| loop120: |
| do { |
| int alt120=2; |
| int LA120_0 = input.LA(1); |
| |
| if ( (LA120_0==70) ) { |
| alt120=1; |
| } |
| |
| |
| switch (alt120) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6604:4: otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) |
| { |
| otherlv_1=(Token)match(input,70,FollowSets000.FOLLOW_70_in_rulePathNameCS14560); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getPathNameCSAccess().getColonColonKeyword_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6608:1: ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6609:1: (lv_ownedPathElements_2_0= ruleNextPathElementCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6609:1: (lv_ownedPathElements_2_0= ruleNextPathElementCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6610:3: lv_ownedPathElements_2_0= ruleNextPathElementCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPathNameCSAccess().getOwnedPathElementsNextPathElementCSParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNextPathElementCS_in_rulePathNameCS14581); |
| lv_ownedPathElements_2_0=ruleNextPathElementCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getPathNameCSRule()); |
| } |
| add( |
| current, |
| "ownedPathElements", |
| lv_ownedPathElements_2_0, |
| "NextPathElementCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop120; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "rulePathNameCS" |
| |
| |
| // $ANTLR start "entryRuleFirstPathElementCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6634:1: entryRuleFirstPathElementCS returns [EObject current=null] : iv_ruleFirstPathElementCS= ruleFirstPathElementCS EOF ; |
| public final EObject entryRuleFirstPathElementCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleFirstPathElementCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6635:2: (iv_ruleFirstPathElementCS= ruleFirstPathElementCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6636:2: iv_ruleFirstPathElementCS= ruleFirstPathElementCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getFirstPathElementCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleFirstPathElementCS_in_entryRuleFirstPathElementCS14619); |
| iv_ruleFirstPathElementCS=ruleFirstPathElementCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleFirstPathElementCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleFirstPathElementCS14629); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleFirstPathElementCS" |
| |
| |
| // $ANTLR start "ruleFirstPathElementCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6643:1: ruleFirstPathElementCS returns [EObject current=null] : ( ( ruleUnrestrictedName ) ) ; |
| public final EObject ruleFirstPathElementCS() throws RecognitionException { |
| EObject current = null; |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6646:28: ( ( ( ruleUnrestrictedName ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6647:1: ( ( ruleUnrestrictedName ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6647:1: ( ( ruleUnrestrictedName ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6648:1: ( ruleUnrestrictedName ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6648:1: ( ruleUnrestrictedName ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6649:3: ruleUnrestrictedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getFirstPathElementCSRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getFirstPathElementCSAccess().getReferredElementNamedElementCrossReference_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleFirstPathElementCS14680); |
| ruleUnrestrictedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleFirstPathElementCS" |
| |
| |
| // $ANTLR start "entryRuleNextPathElementCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6673:1: entryRuleNextPathElementCS returns [EObject current=null] : iv_ruleNextPathElementCS= ruleNextPathElementCS EOF ; |
| public final EObject entryRuleNextPathElementCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleNextPathElementCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6674:2: (iv_ruleNextPathElementCS= ruleNextPathElementCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6675:2: iv_ruleNextPathElementCS= ruleNextPathElementCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getNextPathElementCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNextPathElementCS_in_entryRuleNextPathElementCS14715); |
| iv_ruleNextPathElementCS=ruleNextPathElementCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleNextPathElementCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNextPathElementCS14725); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleNextPathElementCS" |
| |
| |
| // $ANTLR start "ruleNextPathElementCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6682:1: ruleNextPathElementCS returns [EObject current=null] : ( ( ruleUnreservedName ) ) ; |
| public final EObject ruleNextPathElementCS() throws RecognitionException { |
| EObject current = null; |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6685:28: ( ( ( ruleUnreservedName ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6686:1: ( ( ruleUnreservedName ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6686:1: ( ( ruleUnreservedName ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6687:1: ( ruleUnreservedName ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6687:1: ( ruleUnreservedName ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6688:3: ruleUnreservedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getNextPathElementCSRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getNextPathElementCSAccess().getReferredElementNamedElementCrossReference_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnreservedName_in_ruleNextPathElementCS14776); |
| ruleUnreservedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleNextPathElementCS" |
| |
| |
| // $ANTLR start "entryRulePathTypeCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6712:1: entryRulePathTypeCS returns [EObject current=null] : iv_rulePathTypeCS= rulePathTypeCS EOF ; |
| public final EObject entryRulePathTypeCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_rulePathTypeCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6713:2: (iv_rulePathTypeCS= rulePathTypeCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6714:2: iv_rulePathTypeCS= rulePathTypeCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getPathTypeCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePathTypeCS_in_entryRulePathTypeCS14811); |
| iv_rulePathTypeCS=rulePathTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_rulePathTypeCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePathTypeCS14821); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRulePathTypeCS" |
| |
| |
| // $ANTLR start "rulePathTypeCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6721:1: rulePathTypeCS returns [EObject current=null] : ( ( (lv_ownedPathName_0_0= rulePathNameCS ) ) (otherlv_1= '(' ( (lv_ownedBinding_2_0= ruleTemplateBindingCS ) ) otherlv_3= ')' )? ) ; |
| public final EObject rulePathTypeCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| EObject lv_ownedPathName_0_0 = null; |
| |
| EObject lv_ownedBinding_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6724:28: ( ( ( (lv_ownedPathName_0_0= rulePathNameCS ) ) (otherlv_1= '(' ( (lv_ownedBinding_2_0= ruleTemplateBindingCS ) ) otherlv_3= ')' )? ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6725:1: ( ( (lv_ownedPathName_0_0= rulePathNameCS ) ) (otherlv_1= '(' ( (lv_ownedBinding_2_0= ruleTemplateBindingCS ) ) otherlv_3= ')' )? ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6725:1: ( ( (lv_ownedPathName_0_0= rulePathNameCS ) ) (otherlv_1= '(' ( (lv_ownedBinding_2_0= ruleTemplateBindingCS ) ) otherlv_3= ')' )? ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6725:2: ( (lv_ownedPathName_0_0= rulePathNameCS ) ) (otherlv_1= '(' ( (lv_ownedBinding_2_0= ruleTemplateBindingCS ) ) otherlv_3= ')' )? |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6725:2: ( (lv_ownedPathName_0_0= rulePathNameCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6726:1: (lv_ownedPathName_0_0= rulePathNameCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6726:1: (lv_ownedPathName_0_0= rulePathNameCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6727:3: lv_ownedPathName_0_0= rulePathNameCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPathTypeCSAccess().getOwnedPathNamePathNameCSParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePathNameCS_in_rulePathTypeCS14867); |
| lv_ownedPathName_0_0=rulePathNameCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getPathTypeCSRule()); |
| } |
| set( |
| current, |
| "ownedPathName", |
| lv_ownedPathName_0_0, |
| "PathNameCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6743:2: (otherlv_1= '(' ( (lv_ownedBinding_2_0= ruleTemplateBindingCS ) ) otherlv_3= ')' )? |
| int alt121=2; |
| int LA121_0 = input.LA(1); |
| |
| if ( (LA121_0==21) ) { |
| alt121=1; |
| } |
| switch (alt121) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6743:4: otherlv_1= '(' ( (lv_ownedBinding_2_0= ruleTemplateBindingCS ) ) otherlv_3= ')' |
| { |
| otherlv_1=(Token)match(input,21,FollowSets000.FOLLOW_21_in_rulePathTypeCS14880); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getPathTypeCSAccess().getLeftParenthesisKeyword_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6747:1: ( (lv_ownedBinding_2_0= ruleTemplateBindingCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6748:1: (lv_ownedBinding_2_0= ruleTemplateBindingCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6748:1: (lv_ownedBinding_2_0= ruleTemplateBindingCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6749:3: lv_ownedBinding_2_0= ruleTemplateBindingCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getPathTypeCSAccess().getOwnedBindingTemplateBindingCSParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTemplateBindingCS_in_rulePathTypeCS14901); |
| lv_ownedBinding_2_0=ruleTemplateBindingCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getPathTypeCSRule()); |
| } |
| set( |
| current, |
| "ownedBinding", |
| lv_ownedBinding_2_0, |
| "TemplateBindingCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_3=(Token)match(input,22,FollowSets000.FOLLOW_22_in_rulePathTypeCS14913); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getPathTypeCSAccess().getRightParenthesisKeyword_1_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "rulePathTypeCS" |
| |
| |
| // $ANTLR start "entryRuleTemplateBindingCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6777:1: entryRuleTemplateBindingCS returns [EObject current=null] : iv_ruleTemplateBindingCS= ruleTemplateBindingCS EOF ; |
| public final EObject entryRuleTemplateBindingCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleTemplateBindingCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6778:2: (iv_ruleTemplateBindingCS= ruleTemplateBindingCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6779:2: iv_ruleTemplateBindingCS= ruleTemplateBindingCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTemplateBindingCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTemplateBindingCS_in_entryRuleTemplateBindingCS14951); |
| iv_ruleTemplateBindingCS=ruleTemplateBindingCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleTemplateBindingCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTemplateBindingCS14961); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleTemplateBindingCS" |
| |
| |
| // $ANTLR start "ruleTemplateBindingCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6786:1: ruleTemplateBindingCS returns [EObject current=null] : ( ( (lv_ownedSubstitutions_0_0= ruleTemplateParameterSubstitutionCS ) ) (otherlv_1= ',' ( (lv_ownedSubstitutions_2_0= ruleTemplateParameterSubstitutionCS ) ) )* ) ; |
| public final EObject ruleTemplateBindingCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| EObject lv_ownedSubstitutions_0_0 = null; |
| |
| EObject lv_ownedSubstitutions_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6789:28: ( ( ( (lv_ownedSubstitutions_0_0= ruleTemplateParameterSubstitutionCS ) ) (otherlv_1= ',' ( (lv_ownedSubstitutions_2_0= ruleTemplateParameterSubstitutionCS ) ) )* ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6790:1: ( ( (lv_ownedSubstitutions_0_0= ruleTemplateParameterSubstitutionCS ) ) (otherlv_1= ',' ( (lv_ownedSubstitutions_2_0= ruleTemplateParameterSubstitutionCS ) ) )* ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6790:1: ( ( (lv_ownedSubstitutions_0_0= ruleTemplateParameterSubstitutionCS ) ) (otherlv_1= ',' ( (lv_ownedSubstitutions_2_0= ruleTemplateParameterSubstitutionCS ) ) )* ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6790:2: ( (lv_ownedSubstitutions_0_0= ruleTemplateParameterSubstitutionCS ) ) (otherlv_1= ',' ( (lv_ownedSubstitutions_2_0= ruleTemplateParameterSubstitutionCS ) ) )* |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6790:2: ( (lv_ownedSubstitutions_0_0= ruleTemplateParameterSubstitutionCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6791:1: (lv_ownedSubstitutions_0_0= ruleTemplateParameterSubstitutionCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6791:1: (lv_ownedSubstitutions_0_0= ruleTemplateParameterSubstitutionCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6792:3: lv_ownedSubstitutions_0_0= ruleTemplateParameterSubstitutionCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTemplateBindingCSAccess().getOwnedSubstitutionsTemplateParameterSubstitutionCSParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTemplateParameterSubstitutionCS_in_ruleTemplateBindingCS15007); |
| lv_ownedSubstitutions_0_0=ruleTemplateParameterSubstitutionCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTemplateBindingCSRule()); |
| } |
| add( |
| current, |
| "ownedSubstitutions", |
| lv_ownedSubstitutions_0_0, |
| "TemplateParameterSubstitutionCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6808:2: (otherlv_1= ',' ( (lv_ownedSubstitutions_2_0= ruleTemplateParameterSubstitutionCS ) ) )* |
| loop122: |
| do { |
| int alt122=2; |
| int LA122_0 = input.LA(1); |
| |
| if ( (LA122_0==26) ) { |
| alt122=1; |
| } |
| |
| |
| switch (alt122) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6808:4: otherlv_1= ',' ( (lv_ownedSubstitutions_2_0= ruleTemplateParameterSubstitutionCS ) ) |
| { |
| otherlv_1=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleTemplateBindingCS15020); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getTemplateBindingCSAccess().getCommaKeyword_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6812:1: ( (lv_ownedSubstitutions_2_0= ruleTemplateParameterSubstitutionCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6813:1: (lv_ownedSubstitutions_2_0= ruleTemplateParameterSubstitutionCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6813:1: (lv_ownedSubstitutions_2_0= ruleTemplateParameterSubstitutionCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6814:3: lv_ownedSubstitutions_2_0= ruleTemplateParameterSubstitutionCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTemplateBindingCSAccess().getOwnedSubstitutionsTemplateParameterSubstitutionCSParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTemplateParameterSubstitutionCS_in_ruleTemplateBindingCS15041); |
| lv_ownedSubstitutions_2_0=ruleTemplateParameterSubstitutionCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTemplateBindingCSRule()); |
| } |
| add( |
| current, |
| "ownedSubstitutions", |
| lv_ownedSubstitutions_2_0, |
| "TemplateParameterSubstitutionCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop122; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleTemplateBindingCS" |
| |
| |
| // $ANTLR start "entryRuleTemplateParameterSubstitutionCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6838:1: entryRuleTemplateParameterSubstitutionCS returns [EObject current=null] : iv_ruleTemplateParameterSubstitutionCS= ruleTemplateParameterSubstitutionCS EOF ; |
| public final EObject entryRuleTemplateParameterSubstitutionCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleTemplateParameterSubstitutionCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6839:2: (iv_ruleTemplateParameterSubstitutionCS= ruleTemplateParameterSubstitutionCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6840:2: iv_ruleTemplateParameterSubstitutionCS= ruleTemplateParameterSubstitutionCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTemplateParameterSubstitutionCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTemplateParameterSubstitutionCS_in_entryRuleTemplateParameterSubstitutionCS15079); |
| iv_ruleTemplateParameterSubstitutionCS=ruleTemplateParameterSubstitutionCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleTemplateParameterSubstitutionCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTemplateParameterSubstitutionCS15089); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleTemplateParameterSubstitutionCS" |
| |
| |
| // $ANTLR start "ruleTemplateParameterSubstitutionCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6847:1: ruleTemplateParameterSubstitutionCS returns [EObject current=null] : ( (lv_ownedActualParameter_0_0= ruleTemplateParameterActualCS ) ) ; |
| public final EObject ruleTemplateParameterSubstitutionCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject lv_ownedActualParameter_0_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6850:28: ( ( (lv_ownedActualParameter_0_0= ruleTemplateParameterActualCS ) ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6851:1: ( (lv_ownedActualParameter_0_0= ruleTemplateParameterActualCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6851:1: ( (lv_ownedActualParameter_0_0= ruleTemplateParameterActualCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6852:1: (lv_ownedActualParameter_0_0= ruleTemplateParameterActualCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6852:1: (lv_ownedActualParameter_0_0= ruleTemplateParameterActualCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6853:3: lv_ownedActualParameter_0_0= ruleTemplateParameterActualCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTemplateParameterSubstitutionCSAccess().getOwnedActualParameterTemplateParameterActualCSParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTemplateParameterActualCS_in_ruleTemplateParameterSubstitutionCS15134); |
| lv_ownedActualParameter_0_0=ruleTemplateParameterActualCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTemplateParameterSubstitutionCSRule()); |
| } |
| set( |
| current, |
| "ownedActualParameter", |
| lv_ownedActualParameter_0_0, |
| "TemplateParameterActualCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleTemplateParameterSubstitutionCS" |
| |
| |
| // $ANTLR start "entryRuleTemplateSignatureCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6877:1: entryRuleTemplateSignatureCS returns [EObject current=null] : iv_ruleTemplateSignatureCS= ruleTemplateSignatureCS EOF ; |
| public final EObject entryRuleTemplateSignatureCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleTemplateSignatureCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6878:2: (iv_ruleTemplateSignatureCS= ruleTemplateSignatureCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6879:2: iv_ruleTemplateSignatureCS= ruleTemplateSignatureCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTemplateSignatureCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTemplateSignatureCS_in_entryRuleTemplateSignatureCS15169); |
| iv_ruleTemplateSignatureCS=ruleTemplateSignatureCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleTemplateSignatureCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTemplateSignatureCS15179); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleTemplateSignatureCS" |
| |
| |
| // $ANTLR start "ruleTemplateSignatureCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6886:1: ruleTemplateSignatureCS returns [EObject current=null] : (otherlv_0= '<' ( (lv_ownedParameters_1_0= ruleTypeParameterCS ) ) (otherlv_2= ',' ( (lv_ownedParameters_3_0= ruleTypeParameterCS ) ) )* otherlv_4= '>' ) ; |
| public final EObject ruleTemplateSignatureCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| EObject lv_ownedParameters_1_0 = null; |
| |
| EObject lv_ownedParameters_3_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6889:28: ( (otherlv_0= '<' ( (lv_ownedParameters_1_0= ruleTypeParameterCS ) ) (otherlv_2= ',' ( (lv_ownedParameters_3_0= ruleTypeParameterCS ) ) )* otherlv_4= '>' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6890:1: (otherlv_0= '<' ( (lv_ownedParameters_1_0= ruleTypeParameterCS ) ) (otherlv_2= ',' ( (lv_ownedParameters_3_0= ruleTypeParameterCS ) ) )* otherlv_4= '>' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6890:1: (otherlv_0= '<' ( (lv_ownedParameters_1_0= ruleTypeParameterCS ) ) (otherlv_2= ',' ( (lv_ownedParameters_3_0= ruleTypeParameterCS ) ) )* otherlv_4= '>' ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6890:3: otherlv_0= '<' ( (lv_ownedParameters_1_0= ruleTypeParameterCS ) ) (otherlv_2= ',' ( (lv_ownedParameters_3_0= ruleTypeParameterCS ) ) )* otherlv_4= '>' |
| { |
| otherlv_0=(Token)match(input,56,FollowSets000.FOLLOW_56_in_ruleTemplateSignatureCS15216); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getTemplateSignatureCSAccess().getLessThanSignKeyword_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6894:1: ( (lv_ownedParameters_1_0= ruleTypeParameterCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6895:1: (lv_ownedParameters_1_0= ruleTypeParameterCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6895:1: (lv_ownedParameters_1_0= ruleTypeParameterCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6896:3: lv_ownedParameters_1_0= ruleTypeParameterCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTemplateSignatureCSAccess().getOwnedParametersTypeParameterCSParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTypeParameterCS_in_ruleTemplateSignatureCS15237); |
| lv_ownedParameters_1_0=ruleTypeParameterCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTemplateSignatureCSRule()); |
| } |
| add( |
| current, |
| "ownedParameters", |
| lv_ownedParameters_1_0, |
| "TypeParameterCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6912:2: (otherlv_2= ',' ( (lv_ownedParameters_3_0= ruleTypeParameterCS ) ) )* |
| loop123: |
| do { |
| int alt123=2; |
| int LA123_0 = input.LA(1); |
| |
| if ( (LA123_0==26) ) { |
| alt123=1; |
| } |
| |
| |
| switch (alt123) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6912:4: otherlv_2= ',' ( (lv_ownedParameters_3_0= ruleTypeParameterCS ) ) |
| { |
| otherlv_2=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleTemplateSignatureCS15250); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getTemplateSignatureCSAccess().getCommaKeyword_2_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6916:1: ( (lv_ownedParameters_3_0= ruleTypeParameterCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6917:1: (lv_ownedParameters_3_0= ruleTypeParameterCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6917:1: (lv_ownedParameters_3_0= ruleTypeParameterCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6918:3: lv_ownedParameters_3_0= ruleTypeParameterCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTemplateSignatureCSAccess().getOwnedParametersTypeParameterCSParserRuleCall_2_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTypeParameterCS_in_ruleTemplateSignatureCS15271); |
| lv_ownedParameters_3_0=ruleTypeParameterCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTemplateSignatureCSRule()); |
| } |
| add( |
| current, |
| "ownedParameters", |
| lv_ownedParameters_3_0, |
| "TypeParameterCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop123; |
| } |
| } while (true); |
| |
| otherlv_4=(Token)match(input,55,FollowSets000.FOLLOW_55_in_ruleTemplateSignatureCS15285); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getTemplateSignatureCSAccess().getGreaterThanSignKeyword_3()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleTemplateSignatureCS" |
| |
| |
| // $ANTLR start "entryRuleTypeParameterCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6946:1: entryRuleTypeParameterCS returns [EObject current=null] : iv_ruleTypeParameterCS= ruleTypeParameterCS EOF ; |
| public final EObject entryRuleTypeParameterCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleTypeParameterCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6947:2: (iv_ruleTypeParameterCS= ruleTypeParameterCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6948:2: iv_ruleTypeParameterCS= ruleTypeParameterCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTypeParameterCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTypeParameterCS_in_entryRuleTypeParameterCS15321); |
| iv_ruleTypeParameterCS=ruleTypeParameterCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleTypeParameterCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypeParameterCS15331); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleTypeParameterCS" |
| |
| |
| // $ANTLR start "ruleTypeParameterCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6955:1: ruleTypeParameterCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= 'extends' ( (lv_ownedExtends_2_0= ruleSimpleTypeCS ) ) (otherlv_3= '&&' ( (lv_ownedExtends_4_0= ruleSimpleTypeCS ) ) )* )? ) ; |
| public final EObject ruleTypeParameterCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| AntlrDatatypeRuleToken lv_name_0_0 = null; |
| |
| EObject lv_ownedExtends_2_0 = null; |
| |
| EObject lv_ownedExtends_4_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6958:28: ( ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= 'extends' ( (lv_ownedExtends_2_0= ruleSimpleTypeCS ) ) (otherlv_3= '&&' ( (lv_ownedExtends_4_0= ruleSimpleTypeCS ) ) )* )? ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6959:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= 'extends' ( (lv_ownedExtends_2_0= ruleSimpleTypeCS ) ) (otherlv_3= '&&' ( (lv_ownedExtends_4_0= ruleSimpleTypeCS ) ) )* )? ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6959:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= 'extends' ( (lv_ownedExtends_2_0= ruleSimpleTypeCS ) ) (otherlv_3= '&&' ( (lv_ownedExtends_4_0= ruleSimpleTypeCS ) ) )* )? ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6959:2: ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= 'extends' ( (lv_ownedExtends_2_0= ruleSimpleTypeCS ) ) (otherlv_3= '&&' ( (lv_ownedExtends_4_0= ruleSimpleTypeCS ) ) )* )? |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6959:2: ( (lv_name_0_0= ruleUnrestrictedName ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6960:1: (lv_name_0_0= ruleUnrestrictedName ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6960:1: (lv_name_0_0= ruleUnrestrictedName ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6961:3: lv_name_0_0= ruleUnrestrictedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypeParameterCSAccess().getNameUnrestrictedNameParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleTypeParameterCS15377); |
| lv_name_0_0=ruleUnrestrictedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTypeParameterCSRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_0_0, |
| "UnrestrictedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6977:2: (otherlv_1= 'extends' ( (lv_ownedExtends_2_0= ruleSimpleTypeCS ) ) (otherlv_3= '&&' ( (lv_ownedExtends_4_0= ruleSimpleTypeCS ) ) )* )? |
| int alt125=2; |
| int LA125_0 = input.LA(1); |
| |
| if ( (LA125_0==101) ) { |
| alt125=1; |
| } |
| switch (alt125) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6977:4: otherlv_1= 'extends' ( (lv_ownedExtends_2_0= ruleSimpleTypeCS ) ) (otherlv_3= '&&' ( (lv_ownedExtends_4_0= ruleSimpleTypeCS ) ) )* |
| { |
| otherlv_1=(Token)match(input,101,FollowSets000.FOLLOW_101_in_ruleTypeParameterCS15390); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getTypeParameterCSAccess().getExtendsKeyword_1_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6981:1: ( (lv_ownedExtends_2_0= ruleSimpleTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6982:1: (lv_ownedExtends_2_0= ruleSimpleTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6982:1: (lv_ownedExtends_2_0= ruleSimpleTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6983:3: lv_ownedExtends_2_0= ruleSimpleTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypeParameterCSAccess().getOwnedExtendsSimpleTypeCSParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleSimpleTypeCS_in_ruleTypeParameterCS15411); |
| lv_ownedExtends_2_0=ruleSimpleTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTypeParameterCSRule()); |
| } |
| add( |
| current, |
| "ownedExtends", |
| lv_ownedExtends_2_0, |
| "SimpleTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6999:2: (otherlv_3= '&&' ( (lv_ownedExtends_4_0= ruleSimpleTypeCS ) ) )* |
| loop124: |
| do { |
| int alt124=2; |
| int LA124_0 = input.LA(1); |
| |
| if ( (LA124_0==102) ) { |
| alt124=1; |
| } |
| |
| |
| switch (alt124) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:6999:4: otherlv_3= '&&' ( (lv_ownedExtends_4_0= ruleSimpleTypeCS ) ) |
| { |
| otherlv_3=(Token)match(input,102,FollowSets000.FOLLOW_102_in_ruleTypeParameterCS15424); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getTypeParameterCSAccess().getAmpersandAmpersandKeyword_1_2_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7003:1: ( (lv_ownedExtends_4_0= ruleSimpleTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7004:1: (lv_ownedExtends_4_0= ruleSimpleTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7004:1: (lv_ownedExtends_4_0= ruleSimpleTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7005:3: lv_ownedExtends_4_0= ruleSimpleTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypeParameterCSAccess().getOwnedExtendsSimpleTypeCSParserRuleCall_1_2_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleSimpleTypeCS_in_ruleTypeParameterCS15445); |
| lv_ownedExtends_4_0=ruleSimpleTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTypeParameterCSRule()); |
| } |
| add( |
| current, |
| "ownedExtends", |
| lv_ownedExtends_4_0, |
| "SimpleTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop124; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleTypeParameterCS" |
| |
| |
| // $ANTLR start "entryRuleWildcardTypeRefCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7031:1: entryRuleWildcardTypeRefCS returns [EObject current=null] : iv_ruleWildcardTypeRefCS= ruleWildcardTypeRefCS EOF ; |
| public final EObject entryRuleWildcardTypeRefCS() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleWildcardTypeRefCS = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7032:2: (iv_ruleWildcardTypeRefCS= ruleWildcardTypeRefCS EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7033:2: iv_ruleWildcardTypeRefCS= ruleWildcardTypeRefCS EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getWildcardTypeRefCSRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleWildcardTypeRefCS_in_entryRuleWildcardTypeRefCS15487); |
| iv_ruleWildcardTypeRefCS=ruleWildcardTypeRefCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleWildcardTypeRefCS; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleWildcardTypeRefCS15497); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleWildcardTypeRefCS" |
| |
| |
| // $ANTLR start "ruleWildcardTypeRefCS" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7040:1: ruleWildcardTypeRefCS returns [EObject current=null] : ( () otherlv_1= '?' (otherlv_2= 'extends' ( (lv_ownedExtends_3_0= ruleSimpleTypeCS ) ) )? ) ; |
| public final EObject ruleWildcardTypeRefCS() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| EObject lv_ownedExtends_3_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7043:28: ( ( () otherlv_1= '?' (otherlv_2= 'extends' ( (lv_ownedExtends_3_0= ruleSimpleTypeCS ) ) )? ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7044:1: ( () otherlv_1= '?' (otherlv_2= 'extends' ( (lv_ownedExtends_3_0= ruleSimpleTypeCS ) ) )? ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7044:1: ( () otherlv_1= '?' (otherlv_2= 'extends' ( (lv_ownedExtends_3_0= ruleSimpleTypeCS ) ) )? ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7044:2: () otherlv_1= '?' (otherlv_2= 'extends' ( (lv_ownedExtends_3_0= ruleSimpleTypeCS ) ) )? |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7044:2: () |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7045:2: |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getWildcardTypeRefCSAccess().getWildcardTypeRefCSAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,39,FollowSets000.FOLLOW_39_in_ruleWildcardTypeRefCS15546); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getWildcardTypeRefCSAccess().getQuestionMarkKeyword_1()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7057:1: (otherlv_2= 'extends' ( (lv_ownedExtends_3_0= ruleSimpleTypeCS ) ) )? |
| int alt126=2; |
| int LA126_0 = input.LA(1); |
| |
| if ( (LA126_0==101) ) { |
| alt126=1; |
| } |
| switch (alt126) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7057:3: otherlv_2= 'extends' ( (lv_ownedExtends_3_0= ruleSimpleTypeCS ) ) |
| { |
| otherlv_2=(Token)match(input,101,FollowSets000.FOLLOW_101_in_ruleWildcardTypeRefCS15559); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getWildcardTypeRefCSAccess().getExtendsKeyword_2_0()); |
| |
| } |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7061:1: ( (lv_ownedExtends_3_0= ruleSimpleTypeCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7062:1: (lv_ownedExtends_3_0= ruleSimpleTypeCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7062:1: (lv_ownedExtends_3_0= ruleSimpleTypeCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7063:3: lv_ownedExtends_3_0= ruleSimpleTypeCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getWildcardTypeRefCSAccess().getOwnedExtendsSimpleTypeCSParserRuleCall_2_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleSimpleTypeCS_in_ruleWildcardTypeRefCS15580); |
| lv_ownedExtends_3_0=ruleSimpleTypeCS(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getWildcardTypeRefCSRule()); |
| } |
| set( |
| current, |
| "ownedExtends", |
| lv_ownedExtends_3_0, |
| "SimpleTypeCS"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleWildcardTypeRefCS" |
| |
| |
| // $ANTLR start "entryRuleID" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7087:1: entryRuleID returns [String current=null] : iv_ruleID= ruleID EOF ; |
| public final String entryRuleID() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleID = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7088:2: (iv_ruleID= ruleID EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7089:2: iv_ruleID= ruleID EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getIDRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleID_in_entryRuleID15619); |
| iv_ruleID=ruleID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleID.getText(); |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleID15630); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleID" |
| |
| |
| // $ANTLR start "ruleID" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7096:1: ruleID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_SIMPLE_ID_0= RULE_SIMPLE_ID | this_ESCAPED_ID_1= RULE_ESCAPED_ID ) ; |
| public final AntlrDatatypeRuleToken ruleID() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token this_SIMPLE_ID_0=null; |
| Token this_ESCAPED_ID_1=null; |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7099:28: ( (this_SIMPLE_ID_0= RULE_SIMPLE_ID | this_ESCAPED_ID_1= RULE_ESCAPED_ID ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7100:1: (this_SIMPLE_ID_0= RULE_SIMPLE_ID | this_ESCAPED_ID_1= RULE_ESCAPED_ID ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7100:1: (this_SIMPLE_ID_0= RULE_SIMPLE_ID | this_ESCAPED_ID_1= RULE_ESCAPED_ID ) |
| int alt127=2; |
| int LA127_0 = input.LA(1); |
| |
| if ( (LA127_0==RULE_SIMPLE_ID) ) { |
| alt127=1; |
| } |
| else if ( (LA127_0==RULE_ESCAPED_ID) ) { |
| alt127=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 127, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt127) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7100:6: this_SIMPLE_ID_0= RULE_SIMPLE_ID |
| { |
| this_SIMPLE_ID_0=(Token)match(input,RULE_SIMPLE_ID,FollowSets000.FOLLOW_RULE_SIMPLE_ID_in_ruleID15670); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_SIMPLE_ID_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(this_SIMPLE_ID_0, grammarAccess.getIDAccess().getSIMPLE_IDTerminalRuleCall_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7108:10: this_ESCAPED_ID_1= RULE_ESCAPED_ID |
| { |
| this_ESCAPED_ID_1=(Token)match(input,RULE_ESCAPED_ID,FollowSets000.FOLLOW_RULE_ESCAPED_ID_in_ruleID15696); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_ESCAPED_ID_1); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(this_ESCAPED_ID_1, grammarAccess.getIDAccess().getESCAPED_IDTerminalRuleCall_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleID" |
| |
| |
| // $ANTLR start "entryRuleIdentifier" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7123:1: entryRuleIdentifier returns [String current=null] : iv_ruleIdentifier= ruleIdentifier EOF ; |
| public final String entryRuleIdentifier() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleIdentifier = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7124:2: (iv_ruleIdentifier= ruleIdentifier EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7125:2: iv_ruleIdentifier= ruleIdentifier EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getIdentifierRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleIdentifier_in_entryRuleIdentifier15742); |
| iv_ruleIdentifier=ruleIdentifier(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleIdentifier.getText(); |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleIdentifier15753); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleIdentifier" |
| |
| |
| // $ANTLR start "ruleIdentifier" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7132:1: ruleIdentifier returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= ruleID ; |
| public final AntlrDatatypeRuleToken ruleIdentifier() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| AntlrDatatypeRuleToken this_ID_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7135:28: (this_ID_0= ruleID ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7137:5: this_ID_0= ruleID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getIdentifierAccess().getIDParserRuleCall()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleID_in_ruleIdentifier15799); |
| this_ID_0=ruleID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_ID_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleIdentifier" |
| |
| |
| // $ANTLR start "entryRuleLOWER" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7155:1: entryRuleLOWER returns [String current=null] : iv_ruleLOWER= ruleLOWER EOF ; |
| public final String entryRuleLOWER() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleLOWER = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7156:2: (iv_ruleLOWER= ruleLOWER EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7157:2: iv_ruleLOWER= ruleLOWER EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getLOWERRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleLOWER_in_entryRuleLOWER15844); |
| iv_ruleLOWER=ruleLOWER(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleLOWER.getText(); |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLOWER15855); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleLOWER" |
| |
| |
| // $ANTLR start "ruleLOWER" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7164:1: ruleLOWER returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_INT_0= RULE_INT ; |
| public final AntlrDatatypeRuleToken ruleLOWER() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token this_INT_0=null; |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7167:28: (this_INT_0= RULE_INT ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7168:5: this_INT_0= RULE_INT |
| { |
| this_INT_0=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_RULE_INT_in_ruleLOWER15894); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_INT_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(this_INT_0, grammarAccess.getLOWERAccess().getINTTerminalRuleCall()); |
| |
| } |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleLOWER" |
| |
| |
| // $ANTLR start "entryRuleNUMBER_LITERAL" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7183:1: entryRuleNUMBER_LITERAL returns [String current=null] : iv_ruleNUMBER_LITERAL= ruleNUMBER_LITERAL EOF ; |
| public final String entryRuleNUMBER_LITERAL() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleNUMBER_LITERAL = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7184:2: (iv_ruleNUMBER_LITERAL= ruleNUMBER_LITERAL EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7185:2: iv_ruleNUMBER_LITERAL= ruleNUMBER_LITERAL EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getNUMBER_LITERALRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleNUMBER_LITERAL_in_entryRuleNUMBER_LITERAL15939); |
| iv_ruleNUMBER_LITERAL=ruleNUMBER_LITERAL(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleNUMBER_LITERAL.getText(); |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNUMBER_LITERAL15950); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleNUMBER_LITERAL" |
| |
| |
| // $ANTLR start "ruleNUMBER_LITERAL" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7192:1: ruleNUMBER_LITERAL returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_INT_0= RULE_INT ; |
| public final AntlrDatatypeRuleToken ruleNUMBER_LITERAL() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token this_INT_0=null; |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7195:28: (this_INT_0= RULE_INT ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7196:5: this_INT_0= RULE_INT |
| { |
| this_INT_0=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_RULE_INT_in_ruleNUMBER_LITERAL15989); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_INT_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(this_INT_0, grammarAccess.getNUMBER_LITERALAccess().getINTTerminalRuleCall()); |
| |
| } |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleNUMBER_LITERAL" |
| |
| |
| // $ANTLR start "entryRuleStringLiteral" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7211:1: entryRuleStringLiteral returns [String current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ; |
| public final String entryRuleStringLiteral() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleStringLiteral = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7212:2: (iv_ruleStringLiteral= ruleStringLiteral EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7213:2: iv_ruleStringLiteral= ruleStringLiteral EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getStringLiteralRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral16034); |
| iv_ruleStringLiteral=ruleStringLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleStringLiteral.getText(); |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleStringLiteral16045); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleStringLiteral" |
| |
| |
| // $ANTLR start "ruleStringLiteral" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7220:1: ruleStringLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_SINGLE_QUOTED_STRING_0= RULE_SINGLE_QUOTED_STRING ; |
| public final AntlrDatatypeRuleToken ruleStringLiteral() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token this_SINGLE_QUOTED_STRING_0=null; |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7223:28: (this_SINGLE_QUOTED_STRING_0= RULE_SINGLE_QUOTED_STRING ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7224:5: this_SINGLE_QUOTED_STRING_0= RULE_SINGLE_QUOTED_STRING |
| { |
| this_SINGLE_QUOTED_STRING_0=(Token)match(input,RULE_SINGLE_QUOTED_STRING,FollowSets000.FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleStringLiteral16084); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_SINGLE_QUOTED_STRING_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(this_SINGLE_QUOTED_STRING_0, grammarAccess.getStringLiteralAccess().getSINGLE_QUOTED_STRINGTerminalRuleCall()); |
| |
| } |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleStringLiteral" |
| |
| |
| // $ANTLR start "entryRuleUPPER" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7239:1: entryRuleUPPER returns [String current=null] : iv_ruleUPPER= ruleUPPER EOF ; |
| public final String entryRuleUPPER() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleUPPER = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7240:2: (iv_ruleUPPER= ruleUPPER EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7241:2: iv_ruleUPPER= ruleUPPER EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getUPPERRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleUPPER_in_entryRuleUPPER16129); |
| iv_ruleUPPER=ruleUPPER(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleUPPER.getText(); |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleUPPER16140); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleUPPER" |
| |
| |
| // $ANTLR start "ruleUPPER" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7248:1: ruleUPPER returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT | kw= '*' ) ; |
| public final AntlrDatatypeRuleToken ruleUPPER() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token this_INT_0=null; |
| Token kw=null; |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7251:28: ( (this_INT_0= RULE_INT | kw= '*' ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7252:1: (this_INT_0= RULE_INT | kw= '*' ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7252:1: (this_INT_0= RULE_INT | kw= '*' ) |
| int alt128=2; |
| int LA128_0 = input.LA(1); |
| |
| if ( (LA128_0==RULE_INT) ) { |
| alt128=1; |
| } |
| else if ( (LA128_0==52) ) { |
| alt128=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 128, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt128) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7252:6: this_INT_0= RULE_INT |
| { |
| this_INT_0=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_RULE_INT_in_ruleUPPER16180); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_INT_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(this_INT_0, grammarAccess.getUPPERAccess().getINTTerminalRuleCall_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7261:2: kw= '*' |
| { |
| kw=(Token)match(input,52,FollowSets000.FOLLOW_52_in_ruleUPPER16204); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getUPPERAccess().getAsteriskKeyword_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleUPPER" |
| |
| |
| // $ANTLR start "entryRuleURI" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7274:1: entryRuleURI returns [String current=null] : iv_ruleURI= ruleURI EOF ; |
| public final String entryRuleURI() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleURI = null; |
| |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7275:2: (iv_ruleURI= ruleURI EOF ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7276:2: iv_ruleURI= ruleURI EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getURIRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleURI_in_entryRuleURI16245); |
| iv_ruleURI=ruleURI(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleURI.getText(); |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleURI16256); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleURI" |
| |
| |
| // $ANTLR start "ruleURI" |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7283:1: ruleURI returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_SINGLE_QUOTED_STRING_0= RULE_SINGLE_QUOTED_STRING ; |
| public final AntlrDatatypeRuleToken ruleURI() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token this_SINGLE_QUOTED_STRING_0=null; |
| |
| enterRule(); |
| |
| try { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7286:28: (this_SINGLE_QUOTED_STRING_0= RULE_SINGLE_QUOTED_STRING ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:7287:5: this_SINGLE_QUOTED_STRING_0= RULE_SINGLE_QUOTED_STRING |
| { |
| this_SINGLE_QUOTED_STRING_0=(Token)match(input,RULE_SINGLE_QUOTED_STRING,FollowSets000.FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleURI16295); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_SINGLE_QUOTED_STRING_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(this_SINGLE_QUOTED_STRING_0, grammarAccess.getURIAccess().getSINGLE_QUOTED_STRINGTerminalRuleCall()); |
| |
| } |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleURI" |
| |
| // $ANTLR start synpred11_InternalCompleteOCL |
| public final void synpred11_InternalCompleteOCL_fragment() throws RecognitionException { |
| EObject this_PropertyContextDeclCS_0 = null; |
| |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:404:2: (this_PropertyContextDeclCS_0= rulePropertyContextDeclCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:404:2: this_PropertyContextDeclCS_0= rulePropertyContextDeclCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePropertyContextDeclCS_in_synpred11_InternalCompleteOCL783); |
| this_PropertyContextDeclCS_0=rulePropertyContextDeclCS(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| } |
| // $ANTLR end synpred11_InternalCompleteOCL |
| |
| // $ANTLR start synpred12_InternalCompleteOCL |
| public final void synpred12_InternalCompleteOCL_fragment() throws RecognitionException { |
| EObject this_ClassifierContextDeclCS_1 = null; |
| |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:417:2: (this_ClassifierContextDeclCS_1= ruleClassifierContextDeclCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:417:2: this_ClassifierContextDeclCS_1= ruleClassifierContextDeclCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleClassifierContextDeclCS_in_synpred12_InternalCompleteOCL813); |
| this_ClassifierContextDeclCS_1=ruleClassifierContextDeclCS(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| } |
| // $ANTLR end synpred12_InternalCompleteOCL |
| |
| // $ANTLR start synpred128_InternalCompleteOCL |
| public final void synpred128_InternalCompleteOCL_fragment() throws RecognitionException { |
| EObject this_TypeLiteralWithMultiplicityCS_1 = null; |
| |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4572:2: (this_TypeLiteralWithMultiplicityCS_1= ruleTypeLiteralWithMultiplicityCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4572:2: this_TypeLiteralWithMultiplicityCS_1= ruleTypeLiteralWithMultiplicityCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralWithMultiplicityCS_in_synpred128_InternalCompleteOCL10326); |
| this_TypeLiteralWithMultiplicityCS_1=ruleTypeLiteralWithMultiplicityCS(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| } |
| // $ANTLR end synpred128_InternalCompleteOCL |
| |
| // $ANTLR start synpred130_InternalCompleteOCL |
| public final void synpred130_InternalCompleteOCL_fragment() throws RecognitionException { |
| EObject this_PrefixedPrimaryExpCS_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_2_0 = null; |
| |
| EObject lv_ownedRight_3_0 = null; |
| |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4617:2: ( (this_PrefixedPrimaryExpCS_0= rulePrefixedPrimaryExpCS ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4617:2: (this_PrefixedPrimaryExpCS_0= rulePrefixedPrimaryExpCS ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4617:2: (this_PrefixedPrimaryExpCS_0= rulePrefixedPrimaryExpCS ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4618:2: this_PrefixedPrimaryExpCS_0= rulePrefixedPrimaryExpCS ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_rulePrefixedPrimaryExpCS_in_synpred130_InternalCompleteOCL10452); |
| this_PrefixedPrimaryExpCS_0=rulePrefixedPrimaryExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4629:1: ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? |
| int alt143=2; |
| int LA143_0 = input.LA(1); |
| |
| if ( ((LA143_0>=17 && LA143_0<=18)||LA143_0==27||LA143_0==50||(LA143_0>=52 && LA143_0<=67)) ) { |
| alt143=1; |
| } |
| switch (alt143) { |
| case 1 : |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4629:2: () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4629:2: () |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4630:2: |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4638:2: ( (lv_name_2_0= ruleBinaryOperatorName ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4639:1: (lv_name_2_0= ruleBinaryOperatorName ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4639:1: (lv_name_2_0= ruleBinaryOperatorName ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4640:3: lv_name_2_0= ruleBinaryOperatorName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getExpCSAccess().getNameBinaryOperatorNameParserRuleCall_0_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleBinaryOperatorName_in_synpred130_InternalCompleteOCL10485); |
| lv_name_2_0=ruleBinaryOperatorName(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4656:2: ( (lv_ownedRight_3_0= ruleExpCS ) ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4657:1: (lv_ownedRight_3_0= ruleExpCS ) |
| { |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4657:1: (lv_ownedRight_3_0= ruleExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4658:3: lv_ownedRight_3_0= ruleExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getExpCSAccess().getOwnedRightExpCSParserRuleCall_0_1_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_synpred130_InternalCompleteOCL10506); |
| lv_ownedRight_3_0=ruleExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred130_InternalCompleteOCL |
| |
| // $ANTLR start synpred137_InternalCompleteOCL |
| public final void synpred137_InternalCompleteOCL_fragment() throws RecognitionException { |
| EObject this_TupleLiteralExpCS_4 = null; |
| |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4919:2: (this_TupleLiteralExpCS_4= ruleTupleLiteralExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4919:2: this_TupleLiteralExpCS_4= ruleTupleLiteralExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTupleLiteralExpCS_in_synpred137_InternalCompleteOCL11069); |
| this_TupleLiteralExpCS_4=ruleTupleLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| } |
| // $ANTLR end synpred137_InternalCompleteOCL |
| |
| // $ANTLR start synpred138_InternalCompleteOCL |
| public final void synpred138_InternalCompleteOCL_fragment() throws RecognitionException { |
| EObject this_MapLiteralExpCS_5 = null; |
| |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4932:2: (this_MapLiteralExpCS_5= ruleMapLiteralExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4932:2: this_MapLiteralExpCS_5= ruleMapLiteralExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleMapLiteralExpCS_in_synpred138_InternalCompleteOCL11099); |
| this_MapLiteralExpCS_5=ruleMapLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| } |
| // $ANTLR end synpred138_InternalCompleteOCL |
| |
| // $ANTLR start synpred139_InternalCompleteOCL |
| public final void synpred139_InternalCompleteOCL_fragment() throws RecognitionException { |
| EObject this_CollectionLiteralExpCS_6 = null; |
| |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4945:2: (this_CollectionLiteralExpCS_6= ruleCollectionLiteralExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4945:2: this_CollectionLiteralExpCS_6= ruleCollectionLiteralExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleCollectionLiteralExpCS_in_synpred139_InternalCompleteOCL11129); |
| this_CollectionLiteralExpCS_6=ruleCollectionLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| } |
| // $ANTLR end synpred139_InternalCompleteOCL |
| |
| // $ANTLR start synpred140_InternalCompleteOCL |
| public final void synpred140_InternalCompleteOCL_fragment() throws RecognitionException { |
| EObject this_LambdaLiteralExpCS_7 = null; |
| |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4958:2: (this_LambdaLiteralExpCS_7= ruleLambdaLiteralExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4958:2: this_LambdaLiteralExpCS_7= ruleLambdaLiteralExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleLambdaLiteralExpCS_in_synpred140_InternalCompleteOCL11159); |
| this_LambdaLiteralExpCS_7=ruleLambdaLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| } |
| // $ANTLR end synpred140_InternalCompleteOCL |
| |
| // $ANTLR start synpred141_InternalCompleteOCL |
| public final void synpred141_InternalCompleteOCL_fragment() throws RecognitionException { |
| EObject this_TypeLiteralExpCS_8 = null; |
| |
| |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4971:2: (this_TypeLiteralExpCS_8= ruleTypeLiteralExpCS ) |
| // ../../plugins/org.eclipse.ocl.xtext.completeocl/src-gen/org/eclipse/ocl/xtext/completeocl/parser/antlr/internal/InternalCompleteOCL.g:4971:2: this_TypeLiteralExpCS_8= ruleTypeLiteralExpCS |
| { |
| if ( state.backtracking==0 ) { |
| |
| /* */ |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralExpCS_in_synpred141_InternalCompleteOCL11189); |
| this_TypeLiteralExpCS_8=ruleTypeLiteralExpCS(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| } |
| // $ANTLR end synpred141_InternalCompleteOCL |
| |
| // Delegated rules |
| |
| public final boolean synpred141_InternalCompleteOCL() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred141_InternalCompleteOCL_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred128_InternalCompleteOCL() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred128_InternalCompleteOCL_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred11_InternalCompleteOCL() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred11_InternalCompleteOCL_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred139_InternalCompleteOCL() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred139_InternalCompleteOCL_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred12_InternalCompleteOCL() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred12_InternalCompleteOCL_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred130_InternalCompleteOCL() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred130_InternalCompleteOCL_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred140_InternalCompleteOCL() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred140_InternalCompleteOCL_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred138_InternalCompleteOCL() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred138_InternalCompleteOCL_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred137_InternalCompleteOCL() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred137_InternalCompleteOCL_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| |
| |
| protected DFA10 dfa10 = new DFA10(this); |
| protected DFA82 dfa82 = new DFA82(this); |
| protected DFA84 dfa84 = new DFA84(this); |
| protected DFA87 dfa87 = new DFA87(this); |
| static final String DFA10_eotS = |
| "\20\uffff"; |
| static final String DFA10_eofS = |
| "\20\uffff"; |
| static final String DFA10_minS = |
| "\1\30\1\31\1\5\5\27\1\5\5\25\2\uffff"; |
| static final String DFA10_maxS = |
| "\2\31\1\36\5\27\1\36\5\70\2\uffff"; |
| static final String DFA10_acceptS = |
| "\16\uffff\1\1\1\2"; |
| static final String DFA10_specialS = |
| "\20\uffff}>"; |
| static final String[] DFA10_transitionS = { |
| "\1\1\1\2", |
| "\1\2", |
| "\1\3\1\4\20\uffff\1\10\4\uffff\1\5\1\6\1\7", |
| "\1\10", |
| "\1\10", |
| "\1\10", |
| "\1\10", |
| "\1\10", |
| "\1\11\1\12\25\uffff\1\13\1\14\1\15", |
| "\1\16\1\uffff\1\17\40\uffff\1\16", |
| "\1\16\1\uffff\1\17\40\uffff\1\16", |
| "\1\16\1\uffff\1\17\40\uffff\1\16", |
| "\1\16\1\uffff\1\17\40\uffff\1\16", |
| "\1\16\1\uffff\1\17\40\uffff\1\16", |
| "", |
| "" |
| }; |
| |
| static final short[] DFA10_eot = DFA.unpackEncodedString(DFA10_eotS); |
| static final short[] DFA10_eof = DFA.unpackEncodedString(DFA10_eofS); |
| static final char[] DFA10_min = DFA.unpackEncodedStringToUnsignedChars(DFA10_minS); |
| static final char[] DFA10_max = DFA.unpackEncodedStringToUnsignedChars(DFA10_maxS); |
| static final short[] DFA10_accept = DFA.unpackEncodedString(DFA10_acceptS); |
| static final short[] DFA10_special = DFA.unpackEncodedString(DFA10_specialS); |
| static final short[][] DFA10_transition; |
| |
| static { |
| int numStates = DFA10_transitionS.length; |
| DFA10_transition = new short[numStates][]; |
| for (int i=0; i<numStates; i++) { |
| DFA10_transition[i] = DFA.unpackEncodedString(DFA10_transitionS[i]); |
| } |
| } |
| |
| class DFA10 extends DFA { |
| |
| public DFA10(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 10; |
| this.eot = DFA10_eot; |
| this.eof = DFA10_eof; |
| this.min = DFA10_min; |
| this.max = DFA10_max; |
| this.accept = DFA10_accept; |
| this.special = DFA10_special; |
| this.transition = DFA10_transition; |
| } |
| public String getDescription() { |
| return "462:1: (this_DefOperationCS_0= ruleDefOperationCS | this_DefPropertyCS_1= ruleDefPropertyCS )"; |
| } |
| } |
| static final String DFA82_eotS = |
| "\31\uffff"; |
| static final String DFA82_eofS = |
| "\31\uffff"; |
| static final String DFA82_minS = |
| "\1\5\5\uffff\5\0\16\uffff"; |
| static final String DFA82_maxS = |
| "\1\114\5\uffff\5\0\16\uffff"; |
| static final String DFA82_acceptS = |
| "\1\uffff\1\1\11\uffff\1\2\14\uffff\1\3"; |
| static final String DFA82_specialS = |
| "\6\uffff\1\0\1\1\1\2\1\3\1\4\16\uffff}>"; |
| static final String[] DFA82_transitionS = { |
| "\2\1\25\uffff\3\1\11\uffff\12\13\22\uffff\2\13\1\uffff\1\6"+ |
| "\1\7\1\10\1\11\1\12\1\13", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "" |
| }; |
| |
| static final short[] DFA82_eot = DFA.unpackEncodedString(DFA82_eotS); |
| static final short[] DFA82_eof = DFA.unpackEncodedString(DFA82_eofS); |
| static final char[] DFA82_min = DFA.unpackEncodedStringToUnsignedChars(DFA82_minS); |
| static final char[] DFA82_max = DFA.unpackEncodedStringToUnsignedChars(DFA82_maxS); |
| static final short[] DFA82_accept = DFA.unpackEncodedString(DFA82_acceptS); |
| static final short[] DFA82_special = DFA.unpackEncodedString(DFA82_specialS); |
| static final short[][] DFA82_transition; |
| |
| static { |
| int numStates = DFA82_transitionS.length; |
| DFA82_transition = new short[numStates][]; |
| for (int i=0; i<numStates; i++) { |
| DFA82_transition[i] = DFA.unpackEncodedString(DFA82_transitionS[i]); |
| } |
| } |
| |
| class DFA82 extends DFA { |
| |
| public DFA82(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 82; |
| this.eot = DFA82_eot; |
| this.eof = DFA82_eof; |
| this.min = DFA82_min; |
| this.max = DFA82_max; |
| this.accept = DFA82_accept; |
| this.special = DFA82_special; |
| this.transition = DFA82_transition; |
| } |
| public String getDescription() { |
| return "4558:1: (this_PathExpCS_0= rulePathExpCS | this_TypeLiteralWithMultiplicityCS_1= ruleTypeLiteralWithMultiplicityCS | this_CollectionPatternCS_2= ruleCollectionPatternCS )"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA82_6 = input.LA(1); |
| |
| |
| int index82_6 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred128_InternalCompleteOCL()) ) {s = 11;} |
| |
| else if ( (true) ) {s = 24;} |
| |
| |
| input.seek(index82_6); |
| if ( s>=0 ) return s; |
| break; |
| case 1 : |
| int LA82_7 = input.LA(1); |
| |
| |
| int index82_7 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred128_InternalCompleteOCL()) ) {s = 11;} |
| |
| else if ( (true) ) {s = 24;} |
| |
| |
| input.seek(index82_7); |
| if ( s>=0 ) return s; |
| break; |
| case 2 : |
| int LA82_8 = input.LA(1); |
| |
| |
| int index82_8 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred128_InternalCompleteOCL()) ) {s = 11;} |
| |
| else if ( (true) ) {s = 24;} |
| |
| |
| input.seek(index82_8); |
| if ( s>=0 ) return s; |
| break; |
| case 3 : |
| int LA82_9 = input.LA(1); |
| |
| |
| int index82_9 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred128_InternalCompleteOCL()) ) {s = 11;} |
| |
| else if ( (true) ) {s = 24;} |
| |
| |
| input.seek(index82_9); |
| if ( s>=0 ) return s; |
| break; |
| case 4 : |
| int LA82_10 = input.LA(1); |
| |
| |
| int index82_10 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred128_InternalCompleteOCL()) ) {s = 11;} |
| |
| else if ( (true) ) {s = 24;} |
| |
| |
| input.seek(index82_10); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 82, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| static final String DFA84_eotS = |
| "\45\uffff"; |
| static final String DFA84_eofS = |
| "\45\uffff"; |
| static final String DFA84_minS = |
| "\1\5\2\0\42\uffff"; |
| static final String DFA84_maxS = |
| "\1\142\2\0\42\uffff"; |
| static final String DFA84_acceptS = |
| "\3\uffff\1\1\40\uffff\1\2"; |
| static final String DFA84_specialS = |
| "\1\uffff\1\0\1\1\42\uffff}>"; |
| static final String[] DFA84_transitionS = { |
| "\4\3\14\uffff\1\3\6\uffff\3\3\11\uffff\12\3\1\1\1\2\1\3\17"+ |
| "\uffff\2\3\1\uffff\6\3\5\uffff\4\3\6\uffff\1\3\4\uffff\1\44"+ |
| "\1\3", |
| "\1\uffff", |
| "\1\uffff", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "" |
| }; |
| |
| static final short[] DFA84_eot = DFA.unpackEncodedString(DFA84_eotS); |
| static final short[] DFA84_eof = DFA.unpackEncodedString(DFA84_eofS); |
| static final char[] DFA84_min = DFA.unpackEncodedStringToUnsignedChars(DFA84_minS); |
| static final char[] DFA84_max = DFA.unpackEncodedStringToUnsignedChars(DFA84_maxS); |
| static final short[] DFA84_accept = DFA.unpackEncodedString(DFA84_acceptS); |
| static final short[] DFA84_special = DFA.unpackEncodedString(DFA84_specialS); |
| static final short[][] DFA84_transition; |
| |
| static { |
| int numStates = DFA84_transitionS.length; |
| DFA84_transition = new short[numStates][]; |
| for (int i=0; i<numStates; i++) { |
| DFA84_transition[i] = DFA.unpackEncodedString(DFA84_transitionS[i]); |
| } |
| } |
| |
| class DFA84 extends DFA { |
| |
| public DFA84(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 84; |
| this.eot = DFA84_eot; |
| this.eof = DFA84_eof; |
| this.min = DFA84_min; |
| this.max = DFA84_max; |
| this.accept = DFA84_accept; |
| this.special = DFA84_special; |
| this.transition = DFA84_transition; |
| } |
| public String getDescription() { |
| return "4617:1: ( (this_PrefixedPrimaryExpCS_0= rulePrefixedPrimaryExpCS ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? ) | this_PrefixedLetExpCS_4= rulePrefixedLetExpCS )"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA84_1 = input.LA(1); |
| |
| |
| int index84_1 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred130_InternalCompleteOCL()) ) {s = 3;} |
| |
| else if ( (true) ) {s = 36;} |
| |
| |
| input.seek(index84_1); |
| if ( s>=0 ) return s; |
| break; |
| case 1 : |
| int LA84_2 = input.LA(1); |
| |
| |
| int index84_2 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred130_InternalCompleteOCL()) ) {s = 3;} |
| |
| else if ( (true) ) {s = 36;} |
| |
| |
| input.seek(index84_2); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 84, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| static final String DFA87_eotS = |
| "\46\uffff"; |
| static final String DFA87_eofS = |
| "\46\uffff"; |
| static final String DFA87_minS = |
| "\1\5\12\uffff\10\0\23\uffff"; |
| static final String DFA87_maxS = |
| "\1\142\12\uffff\10\0\23\uffff"; |
| static final String DFA87_acceptS = |
| "\1\uffff\1\1\1\2\1\3\1\4\16\uffff\1\11\11\uffff\1\12\4\uffff\1"+ |
| "\5\1\6\1\7\1\10"; |
| static final String DFA87_specialS = |
| "\13\uffff\1\0\1\1\1\2\1\3\1\4\1\5\1\6\1\7\23\uffff}>"; |
| static final String[] DFA87_transitionS = { |
| "\2\35\2\4\14\uffff\1\1\6\uffff\3\35\11\uffff\12\23\2\uffff"+ |
| "\1\4\17\uffff\1\14\1\13\1\uffff\1\15\1\16\1\17\1\20\1\21\1\22"+ |
| "\5\uffff\4\4\6\uffff\1\2\5\uffff\1\3", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "" |
| }; |
| |
| static final short[] DFA87_eot = DFA.unpackEncodedString(DFA87_eotS); |
| static final short[] DFA87_eof = DFA.unpackEncodedString(DFA87_eofS); |
| static final char[] DFA87_min = DFA.unpackEncodedStringToUnsignedChars(DFA87_minS); |
| static final char[] DFA87_max = DFA.unpackEncodedStringToUnsignedChars(DFA87_maxS); |
| static final short[] DFA87_accept = DFA.unpackEncodedString(DFA87_acceptS); |
| static final short[] DFA87_special = DFA.unpackEncodedString(DFA87_specialS); |
| static final short[][] DFA87_transition; |
| |
| static { |
| int numStates = DFA87_transitionS.length; |
| DFA87_transition = new short[numStates][]; |
| for (int i=0; i<numStates; i++) { |
| DFA87_transition[i] = DFA.unpackEncodedString(DFA87_transitionS[i]); |
| } |
| } |
| |
| class DFA87 extends DFA { |
| |
| public DFA87(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 87; |
| this.eot = DFA87_eot; |
| this.eof = DFA87_eof; |
| this.min = DFA87_min; |
| this.max = DFA87_max; |
| this.accept = DFA87_accept; |
| this.special = DFA87_special; |
| this.transition = DFA87_transition; |
| } |
| public String getDescription() { |
| return "4866:1: (this_NestedExpCS_0= ruleNestedExpCS | this_IfExpCS_1= ruleIfExpCS | this_SelfExpCS_2= ruleSelfExpCS | this_PrimitiveLiteralExpCS_3= rulePrimitiveLiteralExpCS | this_TupleLiteralExpCS_4= ruleTupleLiteralExpCS | this_MapLiteralExpCS_5= ruleMapLiteralExpCS | this_CollectionLiteralExpCS_6= ruleCollectionLiteralExpCS | this_LambdaLiteralExpCS_7= ruleLambdaLiteralExpCS | this_TypeLiteralExpCS_8= ruleTypeLiteralExpCS | this_NameExpCS_9= ruleNameExpCS )"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA87_11 = input.LA(1); |
| |
| |
| int index87_11 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred137_InternalCompleteOCL()) ) {s = 34;} |
| |
| else if ( (synpred141_InternalCompleteOCL()) ) {s = 19;} |
| |
| |
| input.seek(index87_11); |
| if ( s>=0 ) return s; |
| break; |
| case 1 : |
| int LA87_12 = input.LA(1); |
| |
| |
| int index87_12 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred138_InternalCompleteOCL()) ) {s = 35;} |
| |
| else if ( (synpred141_InternalCompleteOCL()) ) {s = 19;} |
| |
| |
| input.seek(index87_12); |
| if ( s>=0 ) return s; |
| break; |
| case 2 : |
| int LA87_13 = input.LA(1); |
| |
| |
| int index87_13 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred139_InternalCompleteOCL()) ) {s = 36;} |
| |
| else if ( (synpred141_InternalCompleteOCL()) ) {s = 19;} |
| |
| |
| input.seek(index87_13); |
| if ( s>=0 ) return s; |
| break; |
| case 3 : |
| int LA87_14 = input.LA(1); |
| |
| |
| int index87_14 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred139_InternalCompleteOCL()) ) {s = 36;} |
| |
| else if ( (synpred141_InternalCompleteOCL()) ) {s = 19;} |
| |
| |
| input.seek(index87_14); |
| if ( s>=0 ) return s; |
| break; |
| case 4 : |
| int LA87_15 = input.LA(1); |
| |
| |
| int index87_15 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred139_InternalCompleteOCL()) ) {s = 36;} |
| |
| else if ( (synpred141_InternalCompleteOCL()) ) {s = 19;} |
| |
| |
| input.seek(index87_15); |
| if ( s>=0 ) return s; |
| break; |
| case 5 : |
| int LA87_16 = input.LA(1); |
| |
| |
| int index87_16 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred139_InternalCompleteOCL()) ) {s = 36;} |
| |
| else if ( (synpred141_InternalCompleteOCL()) ) {s = 19;} |
| |
| |
| input.seek(index87_16); |
| if ( s>=0 ) return s; |
| break; |
| case 6 : |
| int LA87_17 = input.LA(1); |
| |
| |
| int index87_17 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred139_InternalCompleteOCL()) ) {s = 36;} |
| |
| else if ( (synpred141_InternalCompleteOCL()) ) {s = 19;} |
| |
| |
| input.seek(index87_17); |
| if ( s>=0 ) return s; |
| break; |
| case 7 : |
| int LA87_18 = input.LA(1); |
| |
| |
| int index87_18 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred140_InternalCompleteOCL()) ) {s = 37;} |
| |
| else if ( (synpred141_InternalCompleteOCL()) ) {s = 19;} |
| |
| |
| input.seek(index87_18); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 87, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| |
| |
| |
| private static class FollowSets000 { |
| public static final BitSet FOLLOW_ruleCompleteOCLDocumentCS_in_entryRuleCompleteOCLDocumentCS81 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleCompleteOCLDocumentCS91 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleImportCS_in_ruleCompleteOCLDocumentCS137 = new BitSet(new long[]{0x0000000870080002L}); |
| public static final BitSet FOLLOW_rulePackageDeclarationCS_in_ruleCompleteOCLDocumentCS160 = new BitSet(new long[]{0x0000000800080002L}); |
| public static final BitSet FOLLOW_ruleContextDeclCS_in_ruleCompleteOCLDocumentCS187 = new BitSet(new long[]{0x0000000800080002L}); |
| public static final BitSet FOLLOW_ruleCompleteOCLNavigationOperatorName_in_entryRuleCompleteOCLNavigationOperatorName226 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleCompleteOCLNavigationOperatorName237 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_17_in_ruleCompleteOCLNavigationOperatorName275 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_18_in_ruleCompleteOCLNavigationOperatorName294 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleClassifierContextDeclCS_in_entryRuleClassifierContextDeclCS334 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleClassifierContextDeclCS344 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_19_in_ruleClassifierContextDeclCS381 = new BitSet(new long[]{0x0000000070000060L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleClassifierContextDeclCS402 = new BitSet(new long[]{0x0000000070000060L}); |
| public static final BitSet FOLLOW_rulePathNameCS_in_ruleClassifierContextDeclCS424 = new BitSet(new long[]{0x0100000003100000L}); |
| public static final BitSet FOLLOW_ruleTemplateSignatureCS_in_ruleClassifierContextDeclCS445 = new BitSet(new long[]{0x0100000003100000L}); |
| public static final BitSet FOLLOW_20_in_ruleClassifierContextDeclCS460 = new BitSet(new long[]{0x0000000070800060L}); |
| public static final BitSet FOLLOW_ruleConstraintCS_in_ruleClassifierContextDeclCS481 = new BitSet(new long[]{0x0100000003100002L}); |
| public static final BitSet FOLLOW_ruleDefCS_in_ruleClassifierContextDeclCS509 = new BitSet(new long[]{0x0100000003100002L}); |
| public static final BitSet FOLLOW_ruleConstraintCS_in_entryRuleConstraintCS547 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleConstraintCS557 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleConstraintCS604 = new BitSet(new long[]{0x0000000000A00000L}); |
| public static final BitSet FOLLOW_21_in_ruleConstraintCS617 = new BitSet(new long[]{0x001FFF00702001F0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleSpecificationCS_in_ruleConstraintCS638 = new BitSet(new long[]{0x0000000000400000L}); |
| public static final BitSet FOLLOW_22_in_ruleConstraintCS650 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_ruleConstraintCS666 = new BitSet(new long[]{0x001FFF00702001F0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleSpecificationCS_in_ruleConstraintCS687 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleContextDeclCS_in_entryRuleContextDeclCS723 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleContextDeclCS733 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePropertyContextDeclCS_in_ruleContextDeclCS783 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleClassifierContextDeclCS_in_ruleContextDeclCS813 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleOperationContextDeclCS_in_ruleContextDeclCS843 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleDefCS_in_entryRuleDefCS878 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleDefCS888 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleDefOperationCS_in_ruleDefCS938 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleDefPropertyCS_in_ruleDefCS968 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleDefOperationCS_in_entryRuleDefOperationCS1003 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleDefOperationCS1013 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_24_in_ruleDefOperationCS1056 = new BitSet(new long[]{0x0000000002000000L}); |
| public static final BitSet FOLLOW_25_in_ruleDefOperationCS1082 = new BitSet(new long[]{0x0000000070800060L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleDefOperationCS1102 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_ruleDefOperationCS1115 = new BitSet(new long[]{0x0000000070000060L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleDefOperationCS1136 = new BitSet(new long[]{0x0100000000200000L}); |
| public static final BitSet FOLLOW_ruleTemplateSignatureCS_in_ruleDefOperationCS1157 = new BitSet(new long[]{0x0000000000200000L}); |
| public static final BitSet FOLLOW_21_in_ruleDefOperationCS1170 = new BitSet(new long[]{0x0000000070400060L}); |
| public static final BitSet FOLLOW_ruleDefParameterCS_in_ruleDefOperationCS1192 = new BitSet(new long[]{0x0000000004400000L}); |
| public static final BitSet FOLLOW_26_in_ruleDefOperationCS1205 = new BitSet(new long[]{0x0000000070000060L}); |
| public static final BitSet FOLLOW_ruleDefParameterCS_in_ruleDefOperationCS1226 = new BitSet(new long[]{0x0000000004400000L}); |
| public static final BitSet FOLLOW_22_in_ruleDefOperationCS1242 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_ruleDefOperationCS1254 = new BitSet(new long[]{0x0003FF0078000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_ruleDefOperationCS1275 = new BitSet(new long[]{0x0000000008000000L}); |
| public static final BitSet FOLLOW_27_in_ruleDefOperationCS1288 = new BitSet(new long[]{0x001FFF00702001F0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleSpecificationCS_in_ruleDefOperationCS1309 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleDefParameterCS_in_entryRuleDefParameterCS1345 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleDefParameterCS1355 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleDefParameterCS1401 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_ruleDefParameterCS1413 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_ruleDefParameterCS1434 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleDefPropertyCS_in_entryRuleDefPropertyCS1470 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleDefPropertyCS1480 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_24_in_ruleDefPropertyCS1523 = new BitSet(new long[]{0x0000000002000000L}); |
| public static final BitSet FOLLOW_25_in_ruleDefPropertyCS1549 = new BitSet(new long[]{0x0000000070800060L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleDefPropertyCS1569 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_ruleDefPropertyCS1582 = new BitSet(new long[]{0x0000000070000060L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleDefPropertyCS1603 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_ruleDefPropertyCS1615 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_ruleDefPropertyCS1636 = new BitSet(new long[]{0x0000000008000000L}); |
| public static final BitSet FOLLOW_27_in_ruleDefPropertyCS1648 = new BitSet(new long[]{0x001FFF00702001F0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleSpecificationCS_in_ruleDefPropertyCS1669 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleImportCS_in_entryRuleImportCS1705 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleImportCS1715 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_28_in_ruleImportCS1753 = new BitSet(new long[]{0x0000000070000160L}); |
| public static final BitSet FOLLOW_29_in_ruleImportCS1771 = new BitSet(new long[]{0x0000000070000160L}); |
| public static final BitSet FOLLOW_30_in_ruleImportCS1789 = new BitSet(new long[]{0x0000000070000160L}); |
| public static final BitSet FOLLOW_ruleIdentifier_in_ruleImportCS1812 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_ruleImportCS1824 = new BitSet(new long[]{0x0000000070000160L}); |
| public static final BitSet FOLLOW_ruleURIPathNameCS_in_ruleImportCS1847 = new BitSet(new long[]{0x0000000080000002L}); |
| public static final BitSet FOLLOW_31_in_ruleImportCS1865 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleOperationContextDeclCS_in_entryRuleOperationContextDeclCS1915 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleOperationContextDeclCS1925 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_19_in_ruleOperationContextDeclCS1962 = new BitSet(new long[]{0x0000000070000060L}); |
| public static final BitSet FOLLOW_rulePathNameCS_in_ruleOperationContextDeclCS1983 = new BitSet(new long[]{0x0100000000200000L}); |
| public static final BitSet FOLLOW_ruleTemplateSignatureCS_in_ruleOperationContextDeclCS2004 = new BitSet(new long[]{0x0000000000200000L}); |
| public static final BitSet FOLLOW_21_in_ruleOperationContextDeclCS2017 = new BitSet(new long[]{0x0003FF0070400060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleParameterCS_in_ruleOperationContextDeclCS2039 = new BitSet(new long[]{0x0000000004400000L}); |
| public static final BitSet FOLLOW_26_in_ruleOperationContextDeclCS2052 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleParameterCS_in_ruleOperationContextDeclCS2073 = new BitSet(new long[]{0x0000000004400000L}); |
| public static final BitSet FOLLOW_22_in_ruleOperationContextDeclCS2089 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_ruleOperationContextDeclCS2101 = new BitSet(new long[]{0x0003FF0770000062L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_ruleOperationContextDeclCS2122 = new BitSet(new long[]{0x0000000700000002L}); |
| public static final BitSet FOLLOW_32_in_ruleOperationContextDeclCS2137 = new BitSet(new long[]{0x0000000070800060L}); |
| public static final BitSet FOLLOW_ruleConstraintCS_in_ruleOperationContextDeclCS2158 = new BitSet(new long[]{0x0000000700000002L}); |
| public static final BitSet FOLLOW_33_in_ruleOperationContextDeclCS2178 = new BitSet(new long[]{0x0000000070800060L}); |
| public static final BitSet FOLLOW_ruleConstraintCS_in_ruleOperationContextDeclCS2199 = new BitSet(new long[]{0x0000000700000002L}); |
| public static final BitSet FOLLOW_34_in_ruleOperationContextDeclCS2219 = new BitSet(new long[]{0x0000000070800060L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleOperationContextDeclCS2239 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_ruleOperationContextDeclCS2252 = new BitSet(new long[]{0x001FFF00702001F0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleSpecificationCS_in_ruleOperationContextDeclCS2273 = new BitSet(new long[]{0x0000000700000002L}); |
| public static final BitSet FOLLOW_rulePackageDeclarationCS_in_entryRulePackageDeclarationCS2312 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRulePackageDeclarationCS2322 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_35_in_rulePackageDeclarationCS2359 = new BitSet(new long[]{0x0000000070000060L}); |
| public static final BitSet FOLLOW_rulePathNameCS_in_rulePackageDeclarationCS2380 = new BitSet(new long[]{0x0000001800180000L}); |
| public static final BitSet FOLLOW_20_in_rulePackageDeclarationCS2393 = new BitSet(new long[]{0x0000000070800060L}); |
| public static final BitSet FOLLOW_ruleConstraintCS_in_rulePackageDeclarationCS2414 = new BitSet(new long[]{0x0000001800180000L}); |
| public static final BitSet FOLLOW_ruleContextDeclCS_in_rulePackageDeclarationCS2437 = new BitSet(new long[]{0x0000001800080000L}); |
| public static final BitSet FOLLOW_36_in_rulePackageDeclarationCS2450 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleParameterCS_in_entryRuleParameterCS2486 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleParameterCS2496 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleParameterCS2543 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_ruleParameterCS2555 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_ruleParameterCS2578 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePropertyContextDeclCS_in_entryRulePropertyContextDeclCS2614 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRulePropertyContextDeclCS2624 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_19_in_rulePropertyContextDeclCS2661 = new BitSet(new long[]{0x0000000070000060L}); |
| public static final BitSet FOLLOW_rulePathNameCS_in_rulePropertyContextDeclCS2682 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_rulePropertyContextDeclCS2694 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_rulePropertyContextDeclCS2715 = new BitSet(new long[]{0x0000006000000002L}); |
| public static final BitSet FOLLOW_37_in_rulePropertyContextDeclCS2729 = new BitSet(new long[]{0x0000000070800060L}); |
| public static final BitSet FOLLOW_ruleConstraintCS_in_rulePropertyContextDeclCS2750 = new BitSet(new long[]{0x0000006000000002L}); |
| public static final BitSet FOLLOW_38_in_rulePropertyContextDeclCS2770 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_rulePropertyContextDeclCS2782 = new BitSet(new long[]{0x001FFF00702001F0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleSpecificationCS_in_rulePropertyContextDeclCS2803 = new BitSet(new long[]{0x0000006000000002L}); |
| public static final BitSet FOLLOW_ruleSpecificationCS_in_entryRuleSpecificationCS2842 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleSpecificationCS2852 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleSpecificationCS2898 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_RULE_UNQUOTED_STRING_in_ruleSpecificationCS2921 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_entryRuleUnrestrictedName2963 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleUnrestrictedName2974 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleEssentialOCLUnrestrictedName_in_ruleUnrestrictedName3021 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_28_in_ruleUnrestrictedName3045 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_29_in_ruleUnrestrictedName3064 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_30_in_ruleUnrestrictedName3083 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNavigatingArgExpCS_in_entryRuleNavigatingArgExpCS3123 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNavigatingArgExpCS3133 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_39_in_ruleNavigatingArgExpCS3183 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleNavigatingArgExpCS3215 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNavigationOperatorName_in_entryRuleNavigationOperatorName3251 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNavigationOperatorName3262 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleEssentialOCLNavigationOperatorName_in_ruleNavigationOperatorName3309 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCompleteOCLNavigationOperatorName_in_ruleNavigationOperatorName3342 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrimitiveTypeIdentifier_in_entryRulePrimitiveTypeIdentifier3388 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRulePrimitiveTypeIdentifier3399 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_40_in_rulePrimitiveTypeIdentifier3437 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_41_in_rulePrimitiveTypeIdentifier3456 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_42_in_rulePrimitiveTypeIdentifier3475 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_43_in_rulePrimitiveTypeIdentifier3494 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_44_in_rulePrimitiveTypeIdentifier3513 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_45_in_rulePrimitiveTypeIdentifier3532 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_46_in_rulePrimitiveTypeIdentifier3551 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_47_in_rulePrimitiveTypeIdentifier3570 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_48_in_rulePrimitiveTypeIdentifier3589 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_49_in_rulePrimitiveTypeIdentifier3608 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleEssentialOCLUnaryOperatorName_in_entryRuleEssentialOCLUnaryOperatorName3653 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleEssentialOCLUnaryOperatorName3664 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_50_in_ruleEssentialOCLUnaryOperatorName3702 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_51_in_ruleEssentialOCLUnaryOperatorName3721 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleEssentialOCLInfixOperatorName_in_entryRuleEssentialOCLInfixOperatorName3762 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleEssentialOCLInfixOperatorName3773 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_52_in_ruleEssentialOCLInfixOperatorName3811 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_53_in_ruleEssentialOCLInfixOperatorName3830 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_54_in_ruleEssentialOCLInfixOperatorName3849 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_50_in_ruleEssentialOCLInfixOperatorName3868 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_55_in_ruleEssentialOCLInfixOperatorName3887 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_56_in_ruleEssentialOCLInfixOperatorName3906 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_57_in_ruleEssentialOCLInfixOperatorName3925 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_58_in_ruleEssentialOCLInfixOperatorName3944 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_27_in_ruleEssentialOCLInfixOperatorName3963 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_59_in_ruleEssentialOCLInfixOperatorName3982 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_60_in_ruleEssentialOCLInfixOperatorName4001 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_61_in_ruleEssentialOCLInfixOperatorName4020 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_62_in_ruleEssentialOCLInfixOperatorName4039 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_63_in_ruleEssentialOCLInfixOperatorName4058 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleEssentialOCLNavigationOperatorName_in_entryRuleEssentialOCLNavigationOperatorName4099 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleEssentialOCLNavigationOperatorName4110 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_64_in_ruleEssentialOCLNavigationOperatorName4148 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_65_in_ruleEssentialOCLNavigationOperatorName4167 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_66_in_ruleEssentialOCLNavigationOperatorName4186 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_67_in_ruleEssentialOCLNavigationOperatorName4205 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleBinaryOperatorName_in_entryRuleBinaryOperatorName4246 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleBinaryOperatorName4257 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleInfixOperatorName_in_ruleBinaryOperatorName4304 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNavigationOperatorName_in_ruleBinaryOperatorName4337 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleInfixOperatorName_in_entryRuleInfixOperatorName4383 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleInfixOperatorName4394 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleEssentialOCLInfixOperatorName_in_ruleInfixOperatorName4440 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnaryOperatorName_in_entryRuleUnaryOperatorName4485 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleUnaryOperatorName4496 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleEssentialOCLUnaryOperatorName_in_ruleUnaryOperatorName4542 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleEssentialOCLUnrestrictedName_in_entryRuleEssentialOCLUnrestrictedName4587 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleEssentialOCLUnrestrictedName4598 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleIdentifier_in_ruleEssentialOCLUnrestrictedName4644 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleEssentialOCLUnreservedName_in_entryRuleEssentialOCLUnreservedName4689 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleEssentialOCLUnreservedName4700 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleEssentialOCLUnreservedName4747 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionTypeIdentifier_in_ruleEssentialOCLUnreservedName4780 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrimitiveTypeIdentifier_in_ruleEssentialOCLUnreservedName4813 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_68_in_ruleEssentialOCLUnreservedName4837 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_69_in_ruleEssentialOCLUnreservedName4856 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnreservedName_in_entryRuleUnreservedName4897 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleUnreservedName4908 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleEssentialOCLUnreservedName_in_ruleUnreservedName4954 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleURIPathNameCS_in_entryRuleURIPathNameCS4998 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleURIPathNameCS5008 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleURIFirstPathElementCS_in_ruleURIPathNameCS5054 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000040L}); |
| public static final BitSet FOLLOW_70_in_ruleURIPathNameCS5067 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000000FB0L}); |
| public static final BitSet FOLLOW_ruleNextPathElementCS_in_ruleURIPathNameCS5088 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000040L}); |
| public static final BitSet FOLLOW_ruleURIFirstPathElementCS_in_entryRuleURIFirstPathElementCS5126 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleURIFirstPathElementCS5136 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleURIFirstPathElementCS5188 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleURI_in_ruleURIFirstPathElementCS5234 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrimitiveTypeCS_in_entryRulePrimitiveTypeCS5271 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRulePrimitiveTypeCS5281 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrimitiveTypeIdentifier_in_rulePrimitiveTypeCS5326 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionTypeIdentifier_in_entryRuleCollectionTypeIdentifier5362 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleCollectionTypeIdentifier5373 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_71_in_ruleCollectionTypeIdentifier5411 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_72_in_ruleCollectionTypeIdentifier5430 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_73_in_ruleCollectionTypeIdentifier5449 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_74_in_ruleCollectionTypeIdentifier5468 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_75_in_ruleCollectionTypeIdentifier5487 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionTypeCS_in_entryRuleCollectionTypeCS5527 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleCollectionTypeCS5537 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionTypeIdentifier_in_ruleCollectionTypeCS5583 = new BitSet(new long[]{0x0000000000200002L}); |
| public static final BitSet FOLLOW_21_in_ruleCollectionTypeCS5596 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_ruleCollectionTypeCS5617 = new BitSet(new long[]{0x0000000000400000L}); |
| public static final BitSet FOLLOW_22_in_ruleCollectionTypeCS5629 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionTypeWithMultiplicityCS_in_entryRuleCollectionTypeWithMultiplicityCS5667 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleCollectionTypeWithMultiplicityCS5677 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionTypeCS_in_ruleCollectionTypeWithMultiplicityCS5727 = new BitSet(new long[]{0x0000000000000002L,0x0000000000800000L}); |
| public static final BitSet FOLLOW_ruleMultiplicityCS_in_ruleCollectionTypeWithMultiplicityCS5747 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleLambdaTypeCS_in_entryRuleLambdaTypeCS5784 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleLambdaTypeCS5794 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_76_in_ruleLambdaTypeCS5837 = new BitSet(new long[]{0x0100000000200000L}); |
| public static final BitSet FOLLOW_ruleTemplateSignatureCS_in_ruleLambdaTypeCS5871 = new BitSet(new long[]{0x0000000000200000L}); |
| public static final BitSet FOLLOW_21_in_ruleLambdaTypeCS5884 = new BitSet(new long[]{0x0003FF0070400060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_ruleLambdaTypeCS5906 = new BitSet(new long[]{0x0000000004400000L}); |
| public static final BitSet FOLLOW_26_in_ruleLambdaTypeCS5919 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_ruleLambdaTypeCS5940 = new BitSet(new long[]{0x0000000004400000L}); |
| public static final BitSet FOLLOW_22_in_ruleLambdaTypeCS5956 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_ruleLambdaTypeCS5968 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_ruleLambdaTypeCS5989 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleMapTypeCS_in_entryRuleMapTypeCS6025 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleMapTypeCS6035 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_68_in_ruleMapTypeCS6078 = new BitSet(new long[]{0x0000000000200002L}); |
| public static final BitSet FOLLOW_21_in_ruleMapTypeCS6104 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_ruleMapTypeCS6125 = new BitSet(new long[]{0x0000000004000000L}); |
| public static final BitSet FOLLOW_26_in_ruleMapTypeCS6137 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_ruleMapTypeCS6158 = new BitSet(new long[]{0x0000000000400000L}); |
| public static final BitSet FOLLOW_22_in_ruleMapTypeCS6170 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTupleTypeCS_in_entryRuleTupleTypeCS6208 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTupleTypeCS6218 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_69_in_ruleTupleTypeCS6261 = new BitSet(new long[]{0x0000000000200002L}); |
| public static final BitSet FOLLOW_21_in_ruleTupleTypeCS6287 = new BitSet(new long[]{0x0000000070400060L}); |
| public static final BitSet FOLLOW_ruleTuplePartCS_in_ruleTupleTypeCS6309 = new BitSet(new long[]{0x0000000004400000L}); |
| public static final BitSet FOLLOW_26_in_ruleTupleTypeCS6322 = new BitSet(new long[]{0x0000000070000060L}); |
| public static final BitSet FOLLOW_ruleTuplePartCS_in_ruleTupleTypeCS6343 = new BitSet(new long[]{0x0000000004400000L}); |
| public static final BitSet FOLLOW_22_in_ruleTupleTypeCS6359 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTuplePartCS_in_entryRuleTuplePartCS6397 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTuplePartCS6407 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleTuplePartCS6453 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_ruleTuplePartCS6465 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_ruleTuplePartCS6486 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleSimpleTypeCS_in_entryRuleSimpleTypeCS6522 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleSimpleTypeCS6532 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypeLiteralCS_in_ruleSimpleTypeCS6582 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePathTypeCS_in_ruleSimpleTypeCS6612 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_entryRuleComplexTypeCS6647 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleComplexTypeCS6657 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypeLiteralWithMultiplicityCS_in_ruleComplexTypeCS6707 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePathTypeCS_in_ruleComplexTypeCS6738 = new BitSet(new long[]{0x0000000000000002L,0x0000000000800000L}); |
| public static final BitSet FOLLOW_ruleMultiplicityCS_in_ruleComplexTypeCS6758 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionLiteralExpCS_in_entryRuleCollectionLiteralExpCS6796 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleCollectionLiteralExpCS6806 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionTypeWithMultiplicityCS_in_ruleCollectionLiteralExpCS6852 = new BitSet(new long[]{0x0000000000000000L,0x0000000000002000L}); |
| public static final BitSet FOLLOW_77_in_ruleCollectionLiteralExpCS6864 = new BitSet(new long[]{0x001FFF0070A001E0L,0x00000006103C5FB0L}); |
| public static final BitSet FOLLOW_ruleCollectionLiteralPartCS_in_ruleCollectionLiteralExpCS6886 = new BitSet(new long[]{0x0000000004000000L,0x0000000000004000L}); |
| public static final BitSet FOLLOW_26_in_ruleCollectionLiteralExpCS6899 = new BitSet(new long[]{0x001FFF0070A001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleCollectionLiteralPartCS_in_ruleCollectionLiteralExpCS6920 = new BitSet(new long[]{0x0000000004000000L,0x0000000000004000L}); |
| public static final BitSet FOLLOW_78_in_ruleCollectionLiteralExpCS6936 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionLiteralPartCS_in_entryRuleCollectionLiteralPartCS6972 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleCollectionLiteralPartCS6982 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleCollectionLiteralPartCS7029 = new BitSet(new long[]{0x0000000000000002L,0x0000000000008000L}); |
| public static final BitSet FOLLOW_79_in_ruleCollectionLiteralPartCS7042 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleCollectionLiteralPartCS7063 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePatternExpCS_in_ruleCollectionLiteralPartCS7093 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionPatternCS_in_entryRuleCollectionPatternCS7129 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleCollectionPatternCS7139 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionTypeCS_in_ruleCollectionPatternCS7185 = new BitSet(new long[]{0x0000000000000000L,0x0000000000002000L}); |
| public static final BitSet FOLLOW_77_in_ruleCollectionPatternCS7197 = new BitSet(new long[]{0x001FFF0070A001E0L,0x00000006103C5FB0L}); |
| public static final BitSet FOLLOW_rulePatternExpCS_in_ruleCollectionPatternCS7219 = new BitSet(new long[]{0x0000000004000000L,0x0000000000010000L}); |
| public static final BitSet FOLLOW_26_in_ruleCollectionPatternCS7232 = new BitSet(new long[]{0x001FFF0070A001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_rulePatternExpCS_in_ruleCollectionPatternCS7253 = new BitSet(new long[]{0x0000000004000000L,0x0000000000010000L}); |
| public static final BitSet FOLLOW_80_in_ruleCollectionPatternCS7268 = new BitSet(new long[]{0x0000000000000060L}); |
| public static final BitSet FOLLOW_ruleIdentifier_in_ruleCollectionPatternCS7289 = new BitSet(new long[]{0x0000000000000000L,0x0000000000004000L}); |
| public static final BitSet FOLLOW_78_in_ruleCollectionPatternCS7304 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleShadowPartCS_in_entryRuleShadowPartCS7340 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleShadowPartCS7350 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleShadowPartCS7402 = new BitSet(new long[]{0x0000000008000000L}); |
| public static final BitSet FOLLOW_27_in_ruleShadowPartCS7414 = new BitSet(new long[]{0x001FFF0070A001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleShadowPartCS7437 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePatternExpCS_in_ruleShadowPartCS7456 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePatternExpCS_in_entryRulePatternExpCS7495 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRulePatternExpCS7505 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_rulePatternExpCS7551 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_rulePatternExpCS7564 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleTypeExpCS_in_rulePatternExpCS7585 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleLambdaLiteralExpCS_in_entryRuleLambdaLiteralExpCS7621 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleLambdaLiteralExpCS7631 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_76_in_ruleLambdaLiteralExpCS7674 = new BitSet(new long[]{0x0000000000200000L}); |
| public static final BitSet FOLLOW_21_in_ruleLambdaLiteralExpCS7699 = new BitSet(new long[]{0x0000000070400060L}); |
| public static final BitSet FOLLOW_ruleLambdaParameterCS_in_ruleLambdaLiteralExpCS7721 = new BitSet(new long[]{0x0000000004400000L}); |
| public static final BitSet FOLLOW_26_in_ruleLambdaLiteralExpCS7734 = new BitSet(new long[]{0x0000000070000060L}); |
| public static final BitSet FOLLOW_ruleLambdaParameterCS_in_ruleLambdaLiteralExpCS7755 = new BitSet(new long[]{0x0000000004400000L}); |
| public static final BitSet FOLLOW_22_in_ruleLambdaLiteralExpCS7771 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_ruleLambdaLiteralExpCS7783 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_ruleLambdaLiteralExpCS7804 = new BitSet(new long[]{0x0000000000000000L,0x0000000000002000L}); |
| public static final BitSet FOLLOW_77_in_ruleLambdaLiteralExpCS7816 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleLambdaLiteralExpCS7837 = new BitSet(new long[]{0x0000000000000000L,0x0000000000004000L}); |
| public static final BitSet FOLLOW_78_in_ruleLambdaLiteralExpCS7849 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleLambdaParameterCS_in_entryRuleLambdaParameterCS7885 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleLambdaParameterCS7895 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleLambdaParameterCS7941 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_ruleLambdaParameterCS7953 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_ruleLambdaParameterCS7974 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleMapLiteralExpCS_in_entryRuleMapLiteralExpCS8010 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleMapLiteralExpCS8020 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleMapTypeCS_in_ruleMapLiteralExpCS8066 = new BitSet(new long[]{0x0000000000000000L,0x0000000000002000L}); |
| public static final BitSet FOLLOW_77_in_ruleMapLiteralExpCS8078 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C5FB0L}); |
| public static final BitSet FOLLOW_ruleMapLiteralPartCS_in_ruleMapLiteralExpCS8100 = new BitSet(new long[]{0x0000000004000000L,0x0000000000004000L}); |
| public static final BitSet FOLLOW_26_in_ruleMapLiteralExpCS8113 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleMapLiteralPartCS_in_ruleMapLiteralExpCS8134 = new BitSet(new long[]{0x0000000004000000L,0x0000000000004000L}); |
| public static final BitSet FOLLOW_78_in_ruleMapLiteralExpCS8150 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleMapLiteralPartCS_in_entryRuleMapLiteralPartCS8186 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleMapLiteralPartCS8196 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleMapLiteralPartCS8242 = new BitSet(new long[]{0x0000000000000000L,0x0000000000020000L}); |
| public static final BitSet FOLLOW_81_in_ruleMapLiteralPartCS8254 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleMapLiteralPartCS8275 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrimitiveLiteralExpCS_in_entryRulePrimitiveLiteralExpCS8311 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRulePrimitiveLiteralExpCS8321 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNumberLiteralExpCS_in_rulePrimitiveLiteralExpCS8371 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleStringLiteralExpCS_in_rulePrimitiveLiteralExpCS8401 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleBooleanLiteralExpCS_in_rulePrimitiveLiteralExpCS8431 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnlimitedNaturalLiteralExpCS_in_rulePrimitiveLiteralExpCS8461 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleInvalidLiteralExpCS_in_rulePrimitiveLiteralExpCS8491 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNullLiteralExpCS_in_rulePrimitiveLiteralExpCS8521 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTupleLiteralExpCS_in_entryRuleTupleLiteralExpCS8556 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTupleLiteralExpCS8566 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_69_in_ruleTupleLiteralExpCS8603 = new BitSet(new long[]{0x0000000000000000L,0x0000000000002000L}); |
| public static final BitSet FOLLOW_77_in_ruleTupleLiteralExpCS8615 = new BitSet(new long[]{0x0000000070000060L}); |
| public static final BitSet FOLLOW_ruleTupleLiteralPartCS_in_ruleTupleLiteralExpCS8636 = new BitSet(new long[]{0x0000000004000000L,0x0000000000004000L}); |
| public static final BitSet FOLLOW_26_in_ruleTupleLiteralExpCS8649 = new BitSet(new long[]{0x0000000070000060L}); |
| public static final BitSet FOLLOW_ruleTupleLiteralPartCS_in_ruleTupleLiteralExpCS8670 = new BitSet(new long[]{0x0000000004000000L,0x0000000000004000L}); |
| public static final BitSet FOLLOW_78_in_ruleTupleLiteralExpCS8684 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTupleLiteralPartCS_in_entryRuleTupleLiteralPartCS8720 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTupleLiteralPartCS8730 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleTupleLiteralPartCS8776 = new BitSet(new long[]{0x0000000008800000L}); |
| public static final BitSet FOLLOW_23_in_ruleTupleLiteralPartCS8789 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_ruleTupleLiteralPartCS8810 = new BitSet(new long[]{0x0000000008000000L}); |
| public static final BitSet FOLLOW_27_in_ruleTupleLiteralPartCS8824 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleTupleLiteralPartCS8845 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNumberLiteralExpCS_in_entryRuleNumberLiteralExpCS8881 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNumberLiteralExpCS8891 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNUMBER_LITERAL_in_ruleNumberLiteralExpCS8936 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleStringLiteralExpCS_in_entryRuleStringLiteralExpCS8971 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteralExpCS8981 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleStringLiteral_in_ruleStringLiteralExpCS9026 = new BitSet(new long[]{0x0000000000000102L}); |
| public static final BitSet FOLLOW_ruleBooleanLiteralExpCS_in_entryRuleBooleanLiteralExpCS9062 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteralExpCS9072 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_82_in_ruleBooleanLiteralExpCS9115 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_83_in_ruleBooleanLiteralExpCS9152 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnlimitedNaturalLiteralExpCS_in_entryRuleUnlimitedNaturalLiteralExpCS9201 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleUnlimitedNaturalLiteralExpCS9211 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_52_in_ruleUnlimitedNaturalLiteralExpCS9260 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleInvalidLiteralExpCS_in_entryRuleInvalidLiteralExpCS9296 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleInvalidLiteralExpCS9306 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_84_in_ruleInvalidLiteralExpCS9355 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNullLiteralExpCS_in_entryRuleNullLiteralExpCS9391 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNullLiteralExpCS9401 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_85_in_ruleNullLiteralExpCS9450 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypeLiteralCS_in_entryRuleTypeLiteralCS9486 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTypeLiteralCS9496 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrimitiveTypeCS_in_ruleTypeLiteralCS9546 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionTypeCS_in_ruleTypeLiteralCS9576 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleMapTypeCS_in_ruleTypeLiteralCS9606 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTupleTypeCS_in_ruleTypeLiteralCS9636 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypeLiteralWithMultiplicityCS_in_entryRuleTypeLiteralWithMultiplicityCS9671 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTypeLiteralWithMultiplicityCS9681 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionTypeWithMultiplicityCS_in_ruleTypeLiteralWithMultiplicityCS9731 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleLambdaTypeCS_in_ruleTypeLiteralWithMultiplicityCS9761 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrimitiveTypeCS_in_ruleTypeLiteralWithMultiplicityCS9793 = new BitSet(new long[]{0x0000000000000002L,0x0000000000800000L}); |
| public static final BitSet FOLLOW_ruleMapTypeCS_in_ruleTypeLiteralWithMultiplicityCS9823 = new BitSet(new long[]{0x0000000000000002L,0x0000000000800000L}); |
| public static final BitSet FOLLOW_ruleTupleTypeCS_in_ruleTypeLiteralWithMultiplicityCS9853 = new BitSet(new long[]{0x0000000000000002L,0x0000000000800000L}); |
| public static final BitSet FOLLOW_ruleMultiplicityCS_in_ruleTypeLiteralWithMultiplicityCS9874 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypeLiteralExpCS_in_entryRuleTypeLiteralExpCS9912 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTypeLiteralExpCS9922 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypeLiteralWithMultiplicityCS_in_ruleTypeLiteralExpCS9967 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePathExpCS_in_entryRulePathExpCS10002 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRulePathExpCS10012 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePathNameCS_in_rulePathExpCS10058 = new BitSet(new long[]{0x0000000000200002L,0x0000000000802000L}); |
| public static final BitSet FOLLOW_21_in_rulePathExpCS10071 = new BitSet(new long[]{0x0013FF80700001E0L,0x00000000003C1FB0L}); |
| public static final BitSet FOLLOW_ruleTemplateBindingCS_in_rulePathExpCS10092 = new BitSet(new long[]{0x0000000000400000L}); |
| public static final BitSet FOLLOW_22_in_rulePathExpCS10104 = new BitSet(new long[]{0x0000000000000002L,0x0000000000802000L}); |
| public static final BitSet FOLLOW_ruleCurlyBracketedClauseCS_in_rulePathExpCS10128 = new BitSet(new long[]{0x0000000000000002L,0x0000000000802000L}); |
| public static final BitSet FOLLOW_77_in_rulePathExpCS10141 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_rulePathExpCS10162 = new BitSet(new long[]{0x0000000000000000L,0x0000000000004000L}); |
| public static final BitSet FOLLOW_78_in_rulePathExpCS10174 = new BitSet(new long[]{0x0000000000000002L,0x0000000000800000L}); |
| public static final BitSet FOLLOW_ruleMultiplicityCS_in_rulePathExpCS10199 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypeExpCS_in_entryRuleTypeExpCS10236 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTypeExpCS10246 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePathExpCS_in_ruleTypeExpCS10296 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypeLiteralWithMultiplicityCS_in_ruleTypeExpCS10326 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionPatternCS_in_ruleTypeExpCS10356 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_entryRuleExpCS10391 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleExpCS10401 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrefixedPrimaryExpCS_in_ruleExpCS10452 = new BitSet(new long[]{0xFFF4000008060002L,0x000000000000000FL}); |
| public static final BitSet FOLLOW_ruleBinaryOperatorName_in_ruleExpCS10485 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleExpCS10506 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrefixedLetExpCS_in_ruleExpCS10540 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrefixedLetExpCS_in_entryRulePrefixedLetExpCS10575 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRulePrefixedLetExpCS10585 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnaryOperatorName_in_rulePrefixedLetExpCS10644 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_rulePrefixedLetExpCS_in_rulePrefixedLetExpCS10665 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleLetExpCS_in_rulePrefixedLetExpCS10697 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrefixedPrimaryExpCS_in_entryRulePrefixedPrimaryExpCS10732 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRulePrefixedPrimaryExpCS10742 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnaryOperatorName_in_rulePrefixedPrimaryExpCS10801 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000004103C1FB0L}); |
| public static final BitSet FOLLOW_rulePrefixedPrimaryExpCS_in_rulePrefixedPrimaryExpCS10822 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrimaryExpCS_in_rulePrefixedPrimaryExpCS10854 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrimaryExpCS_in_entryRulePrimaryExpCS10889 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRulePrimaryExpCS10899 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNestedExpCS_in_rulePrimaryExpCS10949 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleIfExpCS_in_rulePrimaryExpCS10979 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleSelfExpCS_in_rulePrimaryExpCS11009 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrimitiveLiteralExpCS_in_rulePrimaryExpCS11039 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTupleLiteralExpCS_in_rulePrimaryExpCS11069 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleMapLiteralExpCS_in_rulePrimaryExpCS11099 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionLiteralExpCS_in_rulePrimaryExpCS11129 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleLambdaLiteralExpCS_in_rulePrimaryExpCS11159 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypeLiteralExpCS_in_rulePrimaryExpCS11189 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNameExpCS_in_rulePrimaryExpCS11219 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNameExpCS_in_entryRuleNameExpCS11254 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNameExpCS11264 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePathNameCS_in_ruleNameExpCS11310 = new BitSet(new long[]{0x0000000000200002L,0x0000000000C02000L}); |
| public static final BitSet FOLLOW_ruleSquareBracketedClauseCS_in_ruleNameExpCS11331 = new BitSet(new long[]{0x0000000000200002L,0x0000000000C02000L}); |
| public static final BitSet FOLLOW_ruleRoundBracketedClauseCS_in_ruleNameExpCS11353 = new BitSet(new long[]{0x0000000000000002L,0x0000000000402000L}); |
| public static final BitSet FOLLOW_ruleCurlyBracketedClauseCS_in_ruleNameExpCS11375 = new BitSet(new long[]{0x0000000000000002L,0x0000000000400000L}); |
| public static final BitSet FOLLOW_86_in_ruleNameExpCS11395 = new BitSet(new long[]{0x0000000100000000L}); |
| public static final BitSet FOLLOW_32_in_ruleNameExpCS11420 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCurlyBracketedClauseCS_in_entryRuleCurlyBracketedClauseCS11458 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleCurlyBracketedClauseCS11468 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_77_in_ruleCurlyBracketedClauseCS11517 = new BitSet(new long[]{0x0000000070000160L,0x0000000000004000L}); |
| public static final BitSet FOLLOW_ruleStringLiteral_in_ruleCurlyBracketedClauseCS11539 = new BitSet(new long[]{0x0000000000000000L,0x0000000000004000L}); |
| public static final BitSet FOLLOW_ruleShadowPartCS_in_ruleCurlyBracketedClauseCS11567 = new BitSet(new long[]{0x0000000004000000L,0x0000000000004000L}); |
| public static final BitSet FOLLOW_26_in_ruleCurlyBracketedClauseCS11580 = new BitSet(new long[]{0x0000000070000060L}); |
| public static final BitSet FOLLOW_ruleShadowPartCS_in_ruleCurlyBracketedClauseCS11601 = new BitSet(new long[]{0x0000000004000000L,0x0000000000004000L}); |
| public static final BitSet FOLLOW_78_in_ruleCurlyBracketedClauseCS11618 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleRoundBracketedClauseCS_in_entryRuleRoundBracketedClauseCS11654 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleRoundBracketedClauseCS11664 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_21_in_ruleRoundBracketedClauseCS11713 = new BitSet(new long[]{0x001FFF8070E001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleNavigatingArgCS_in_ruleRoundBracketedClauseCS11735 = new BitSet(new long[]{0x0000000004400000L,0x000000000C000000L}); |
| public static final BitSet FOLLOW_ruleNavigatingCommaArgCS_in_ruleRoundBracketedClauseCS11756 = new BitSet(new long[]{0x0000000004400000L,0x000000000C000000L}); |
| public static final BitSet FOLLOW_ruleNavigatingSemiArgCS_in_ruleRoundBracketedClauseCS11779 = new BitSet(new long[]{0x0000000004400000L,0x0000000004000000L}); |
| public static final BitSet FOLLOW_ruleNavigatingCommaArgCS_in_ruleRoundBracketedClauseCS11800 = new BitSet(new long[]{0x0000000004400000L,0x0000000004000000L}); |
| public static final BitSet FOLLOW_ruleNavigatingBarArgCS_in_ruleRoundBracketedClauseCS11825 = new BitSet(new long[]{0x0000000004400000L,0x0000000004000000L}); |
| public static final BitSet FOLLOW_ruleNavigatingCommaArgCS_in_ruleRoundBracketedClauseCS11846 = new BitSet(new long[]{0x0000000004400000L,0x0000000004000000L}); |
| public static final BitSet FOLLOW_22_in_ruleRoundBracketedClauseCS11863 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleSquareBracketedClauseCS_in_entryRuleSquareBracketedClauseCS11899 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleSquareBracketedClauseCS11909 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_87_in_ruleSquareBracketedClauseCS11946 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleSquareBracketedClauseCS11967 = new BitSet(new long[]{0x0000000004000000L,0x0000000001000000L}); |
| public static final BitSet FOLLOW_26_in_ruleSquareBracketedClauseCS11980 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleSquareBracketedClauseCS12001 = new BitSet(new long[]{0x0000000004000000L,0x0000000001000000L}); |
| public static final BitSet FOLLOW_88_in_ruleSquareBracketedClauseCS12015 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNavigatingArgCS_in_entryRuleNavigatingArgCS12051 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNavigatingArgCS12061 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingArgCS12108 = new BitSet(new long[]{0x0000000000800002L,0x0000000002000000L}); |
| public static final BitSet FOLLOW_23_in_ruleNavigatingArgCS12122 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_ruleNavigatingArgCS12143 = new BitSet(new long[]{0x0000000008000002L}); |
| public static final BitSet FOLLOW_27_in_ruleNavigatingArgCS12156 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleNavigatingArgCS12177 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_89_in_ruleNavigatingArgCS12199 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleNavigatingArgCS12220 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_23_in_ruleNavigatingArgCS12243 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_ruleNavigatingArgCS12264 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNavigatingBarArgCS_in_entryRuleNavigatingBarArgCS12301 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNavigatingBarArgCS12311 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_90_in_ruleNavigatingBarArgCS12354 = new BitSet(new long[]{0x001FFF80702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingBarArgCS12388 = new BitSet(new long[]{0x0000000000800002L}); |
| public static final BitSet FOLLOW_23_in_ruleNavigatingBarArgCS12401 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_ruleNavigatingBarArgCS12422 = new BitSet(new long[]{0x0000000008000002L}); |
| public static final BitSet FOLLOW_27_in_ruleNavigatingBarArgCS12435 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleNavigatingBarArgCS12456 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNavigatingCommaArgCS_in_entryRuleNavigatingCommaArgCS12496 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNavigatingCommaArgCS12506 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_26_in_ruleNavigatingCommaArgCS12549 = new BitSet(new long[]{0x001FFF80702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingCommaArgCS12583 = new BitSet(new long[]{0x0000000000800002L,0x0000000002000000L}); |
| public static final BitSet FOLLOW_23_in_ruleNavigatingCommaArgCS12597 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_ruleNavigatingCommaArgCS12618 = new BitSet(new long[]{0x0000000008000002L}); |
| public static final BitSet FOLLOW_27_in_ruleNavigatingCommaArgCS12631 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleNavigatingCommaArgCS12652 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_89_in_ruleNavigatingCommaArgCS12674 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleNavigatingCommaArgCS12695 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNavigatingSemiArgCS_in_entryRuleNavigatingSemiArgCS12734 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNavigatingSemiArgCS12744 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_91_in_ruleNavigatingSemiArgCS12787 = new BitSet(new long[]{0x001FFF80702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingSemiArgCS12821 = new BitSet(new long[]{0x0000000000800002L}); |
| public static final BitSet FOLLOW_23_in_ruleNavigatingSemiArgCS12834 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_ruleNavigatingSemiArgCS12855 = new BitSet(new long[]{0x0000000008000002L}); |
| public static final BitSet FOLLOW_27_in_ruleNavigatingSemiArgCS12868 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleNavigatingSemiArgCS12889 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleIfExpCS_in_entryRuleIfExpCS12929 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleIfExpCS12939 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_92_in_ruleIfExpCS12976 = new BitSet(new long[]{0x001FFF0070A001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleIfThenExpCS_in_ruleIfExpCS12997 = new BitSet(new long[]{0x0000000000000000L,0x0000000060000000L}); |
| public static final BitSet FOLLOW_93_in_ruleIfExpCS13010 = new BitSet(new long[]{0x001FFF0070A001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleIfThenExpCS_in_ruleIfExpCS13031 = new BitSet(new long[]{0x0000000000000000L,0x0000000060000000L}); |
| public static final BitSet FOLLOW_94_in_ruleIfExpCS13045 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleIfExpCS13066 = new BitSet(new long[]{0x0000000000000000L,0x0000000080000000L}); |
| public static final BitSet FOLLOW_95_in_ruleIfExpCS13078 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleIfThenExpCS_in_entryRuleIfThenExpCS13114 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleIfThenExpCS13124 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePatternExpCS_in_ruleIfThenExpCS13171 = new BitSet(new long[]{0x0000000008000000L}); |
| public static final BitSet FOLLOW_27_in_ruleIfThenExpCS13183 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleIfThenExpCS13206 = new BitSet(new long[]{0x0000000000000000L,0x0000000100000000L}); |
| public static final BitSet FOLLOW_96_in_ruleIfThenExpCS13218 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleIfThenExpCS13239 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleLetExpCS_in_entryRuleLetExpCS13275 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleLetExpCS13285 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_97_in_ruleLetExpCS13322 = new BitSet(new long[]{0x0000000070000060L}); |
| public static final BitSet FOLLOW_ruleLetVariableCS_in_ruleLetExpCS13343 = new BitSet(new long[]{0x0000000004000000L,0x0000000002000000L}); |
| public static final BitSet FOLLOW_26_in_ruleLetExpCS13356 = new BitSet(new long[]{0x0000000070000060L}); |
| public static final BitSet FOLLOW_ruleLetVariableCS_in_ruleLetExpCS13377 = new BitSet(new long[]{0x0000000004000000L,0x0000000002000000L}); |
| public static final BitSet FOLLOW_89_in_ruleLetExpCS13391 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleLetExpCS13412 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleLetVariableCS_in_entryRuleLetVariableCS13448 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleLetVariableCS13458 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleLetVariableCS13504 = new BitSet(new long[]{0x0000000008A00000L}); |
| public static final BitSet FOLLOW_ruleRoundBracketedClauseCS_in_ruleLetVariableCS13525 = new BitSet(new long[]{0x0000000008800000L}); |
| public static final BitSet FOLLOW_23_in_ruleLetVariableCS13539 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_ruleLetVariableCS13560 = new BitSet(new long[]{0x0000000008000000L}); |
| public static final BitSet FOLLOW_27_in_ruleLetVariableCS13574 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleLetVariableCS13595 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNestedExpCS_in_entryRuleNestedExpCS13631 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNestedExpCS13641 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_21_in_ruleNestedExpCS13678 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleNestedExpCS13699 = new BitSet(new long[]{0x0000000000400000L}); |
| public static final BitSet FOLLOW_22_in_ruleNestedExpCS13711 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleSelfExpCS_in_entryRuleSelfExpCS13747 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleSelfExpCS13757 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_98_in_ruleSelfExpCS13806 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTemplateParameterActualCS_in_entryRuleTemplateParameterActualCS13842 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTemplateParameterActualCS13852 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleComplexTypeCS_in_ruleTemplateParameterActualCS13902 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleWildcardTypeRefCS_in_ruleTemplateParameterActualCS13932 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrimitiveLiteralExpCS_in_ruleTemplateParameterActualCS13962 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleMultiplicityBoundsCS_in_entryRuleMultiplicityBoundsCS13997 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicityBoundsCS14007 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleLOWER_in_ruleMultiplicityBoundsCS14053 = new BitSet(new long[]{0x0000000000000002L,0x0000000000008000L}); |
| public static final BitSet FOLLOW_79_in_ruleMultiplicityBoundsCS14066 = new BitSet(new long[]{0x0010000000000080L}); |
| public static final BitSet FOLLOW_ruleUPPER_in_ruleMultiplicityBoundsCS14087 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleMultiplicityCS_in_entryRuleMultiplicityCS14125 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicityCS14135 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_87_in_ruleMultiplicityCS14172 = new BitSet(new long[]{0x0050008000000080L}); |
| public static final BitSet FOLLOW_ruleMultiplicityBoundsCS_in_ruleMultiplicityCS14198 = new BitSet(new long[]{0x0000000000000000L,0x0000001801000000L}); |
| public static final BitSet FOLLOW_ruleMultiplicityStringCS_in_ruleMultiplicityCS14228 = new BitSet(new long[]{0x0000000000000000L,0x0000001801000000L}); |
| public static final BitSet FOLLOW_99_in_ruleMultiplicityCS14241 = new BitSet(new long[]{0x0000000000000000L,0x0000000001000000L}); |
| public static final BitSet FOLLOW_100_in_ruleMultiplicityCS14265 = new BitSet(new long[]{0x0000000000000000L,0x0000000001000000L}); |
| public static final BitSet FOLLOW_88_in_ruleMultiplicityCS14292 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleMultiplicityStringCS_in_entryRuleMultiplicityStringCS14328 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicityStringCS14338 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_52_in_ruleMultiplicityStringCS14382 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_54_in_ruleMultiplicityStringCS14411 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_39_in_ruleMultiplicityStringCS14440 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePathNameCS_in_entryRulePathNameCS14491 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRulePathNameCS14501 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleFirstPathElementCS_in_rulePathNameCS14547 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000040L}); |
| public static final BitSet FOLLOW_70_in_rulePathNameCS14560 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000000FB0L}); |
| public static final BitSet FOLLOW_ruleNextPathElementCS_in_rulePathNameCS14581 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000040L}); |
| public static final BitSet FOLLOW_ruleFirstPathElementCS_in_entryRuleFirstPathElementCS14619 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleFirstPathElementCS14629 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleFirstPathElementCS14680 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNextPathElementCS_in_entryRuleNextPathElementCS14715 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNextPathElementCS14725 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnreservedName_in_ruleNextPathElementCS14776 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePathTypeCS_in_entryRulePathTypeCS14811 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRulePathTypeCS14821 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePathNameCS_in_rulePathTypeCS14867 = new BitSet(new long[]{0x0000000000200002L}); |
| public static final BitSet FOLLOW_21_in_rulePathTypeCS14880 = new BitSet(new long[]{0x0013FF80700001E0L,0x00000000003C1FB0L}); |
| public static final BitSet FOLLOW_ruleTemplateBindingCS_in_rulePathTypeCS14901 = new BitSet(new long[]{0x0000000000400000L}); |
| public static final BitSet FOLLOW_22_in_rulePathTypeCS14913 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTemplateBindingCS_in_entryRuleTemplateBindingCS14951 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTemplateBindingCS14961 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTemplateParameterSubstitutionCS_in_ruleTemplateBindingCS15007 = new BitSet(new long[]{0x0000000004000002L}); |
| public static final BitSet FOLLOW_26_in_ruleTemplateBindingCS15020 = new BitSet(new long[]{0x0013FF80700001E0L,0x00000000003C1FB0L}); |
| public static final BitSet FOLLOW_ruleTemplateParameterSubstitutionCS_in_ruleTemplateBindingCS15041 = new BitSet(new long[]{0x0000000004000002L}); |
| public static final BitSet FOLLOW_ruleTemplateParameterSubstitutionCS_in_entryRuleTemplateParameterSubstitutionCS15079 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTemplateParameterSubstitutionCS15089 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTemplateParameterActualCS_in_ruleTemplateParameterSubstitutionCS15134 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTemplateSignatureCS_in_entryRuleTemplateSignatureCS15169 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTemplateSignatureCS15179 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_56_in_ruleTemplateSignatureCS15216 = new BitSet(new long[]{0x0000000070000060L}); |
| public static final BitSet FOLLOW_ruleTypeParameterCS_in_ruleTemplateSignatureCS15237 = new BitSet(new long[]{0x0080000004000000L}); |
| public static final BitSet FOLLOW_26_in_ruleTemplateSignatureCS15250 = new BitSet(new long[]{0x0000000070000060L}); |
| public static final BitSet FOLLOW_ruleTypeParameterCS_in_ruleTemplateSignatureCS15271 = new BitSet(new long[]{0x0080000004000000L}); |
| public static final BitSet FOLLOW_55_in_ruleTemplateSignatureCS15285 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypeParameterCS_in_entryRuleTypeParameterCS15321 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTypeParameterCS15331 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleTypeParameterCS15377 = new BitSet(new long[]{0x0000000000000002L,0x0000002000000000L}); |
| public static final BitSet FOLLOW_101_in_ruleTypeParameterCS15390 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleSimpleTypeCS_in_ruleTypeParameterCS15411 = new BitSet(new long[]{0x0000000000000002L,0x0000004000000000L}); |
| public static final BitSet FOLLOW_102_in_ruleTypeParameterCS15424 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleSimpleTypeCS_in_ruleTypeParameterCS15445 = new BitSet(new long[]{0x0000000000000002L,0x0000004000000000L}); |
| public static final BitSet FOLLOW_ruleWildcardTypeRefCS_in_entryRuleWildcardTypeRefCS15487 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleWildcardTypeRefCS15497 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_39_in_ruleWildcardTypeRefCS15546 = new BitSet(new long[]{0x0000000000000002L,0x0000002000000000L}); |
| public static final BitSet FOLLOW_101_in_ruleWildcardTypeRefCS15559 = new BitSet(new long[]{0x0003FF0070000060L,0x0000000000001FB0L}); |
| public static final BitSet FOLLOW_ruleSimpleTypeCS_in_ruleWildcardTypeRefCS15580 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleID_in_entryRuleID15619 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleID15630 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_RULE_SIMPLE_ID_in_ruleID15670 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_RULE_ESCAPED_ID_in_ruleID15696 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleIdentifier_in_entryRuleIdentifier15742 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleIdentifier15753 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleID_in_ruleIdentifier15799 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleLOWER_in_entryRuleLOWER15844 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleLOWER15855 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_RULE_INT_in_ruleLOWER15894 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNUMBER_LITERAL_in_entryRuleNUMBER_LITERAL15939 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNUMBER_LITERAL15950 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_RULE_INT_in_ruleNUMBER_LITERAL15989 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral16034 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteral16045 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleStringLiteral16084 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUPPER_in_entryRuleUPPER16129 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleUPPER16140 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_RULE_INT_in_ruleUPPER16180 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_52_in_ruleUPPER16204 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleURI_in_entryRuleURI16245 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleURI16256 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleURI16295 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePropertyContextDeclCS_in_synpred11_InternalCompleteOCL783 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleClassifierContextDeclCS_in_synpred12_InternalCompleteOCL813 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypeLiteralWithMultiplicityCS_in_synpred128_InternalCompleteOCL10326 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrefixedPrimaryExpCS_in_synpred130_InternalCompleteOCL10452 = new BitSet(new long[]{0xFFF4000008060002L,0x000000000000000FL}); |
| public static final BitSet FOLLOW_ruleBinaryOperatorName_in_synpred130_InternalCompleteOCL10485 = new BitSet(new long[]{0x001FFF00702001E0L,0x00000006103C1FB0L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_synpred130_InternalCompleteOCL10506 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTupleLiteralExpCS_in_synpred137_InternalCompleteOCL11069 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleMapLiteralExpCS_in_synpred138_InternalCompleteOCL11099 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionLiteralExpCS_in_synpred139_InternalCompleteOCL11129 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleLambdaLiteralExpCS_in_synpred140_InternalCompleteOCL11159 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypeLiteralExpCS_in_synpred141_InternalCompleteOCL11189 = new BitSet(new long[]{0x0000000000000002L}); |
| } |
| |
| |
| } |