package org.eclipse.ocl.xtext.oclstdlib.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.oclstdlib.services.OCLstdlibGrammarAccess; import org.antlr.runtime.*; import java.util.Stack; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.util.HashMap; /******************************************************************************* * Copyright (c) 2011, 2016 Willink Transformations and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * E.D.Willink - initial API and implementation *******************************************************************************/ @SuppressWarnings("all") public class InternalOCLstdlibParser extends AbstractInternalAntlrParser { public static final String[] tokenNames = new String[] { "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_DOUBLE_QUOTED_STRING", "RULE_SINGLE_QUOTED_STRING", "RULE_ML_SINGLE_QUOTED_STRING", "RULE_SIMPLE_ID", "RULE_ESCAPED_ID", "RULE_INT", "RULE_ESCAPED_CHARACTER", "RULE_LETTER_CHARACTER", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "';'", "'abstract'", "'annotation'", "'conformsTo'", "'documentation'", "'extends'", "'import'", "'inv'", "'invalidating'", "'iteration'", "'left'", "'library'", "'operation'", "'package'", "'post'", "'pre'", "'precedence'", "'property'", "'right'", "'static'", "'type'", "'validating'", "'Lambda'", "'Map'", "'Tuple'", "'::'", "':'", "'('", "','", "')'", "'{'", "'}'", "'='", "'::*'", "'coercion'", "'=>'", "'|'", "'body'", "'typeof'", "'and'", "'else'", "'endif'", "'if'", "'implies'", "'in'", "'let'", "'not'", "'or'", "'then'", "'xor'", "'-'", "'*'", "'/'", "'+'", "'>'", "'<'", "'>='", "'<='", "'<>'", "'.'", "'->'", "'?.'", "'?->'", "'Boolean'", "'Integer'", "'Real'", "'String'", "'UnlimitedNatural'", "'OclAny'", "'OclInvalid'", "'OclVoid'", "'Set'", "'Bag'", "'Sequence'", "'Collection'", "'OrderedSet'", "'..'", "'++'", "'<-'", "'true'", "'false'", "'invalid'", "'null'", "'@'", "'['", "']'", "'elseif'", "'self'", "'|?'", "'|1'", "'?'", "'&&'" }; public static final int T__50=50; public static final int T__59=59; 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__60=60; public static final int T__61=61; public static final int RULE_INT=9; public static final int T__66=66; public static final int RULE_ML_COMMENT=12; public static final int T__67=67; public static final int T__68=68; public static final int T__69=69; public static final int T__62=62; public static final int T__63=63; public static final int T__64=64; public static final int T__65=65; 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 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__30=30; public static final int T__31=31; public static final int T__32=32; public static final int RULE_SINGLE_QUOTED_STRING=5; public static final int T__48=48; public static final int T__49=49; public static final int RULE_DOUBLE_QUOTED_STRING=4; public static final int T__44=44; public static final int T__45=45; public static final int T__46=46; public static final int T__47=47; public static final int RULE_ESCAPED_ID=8; public static final int T__40=40; public static final int T__41=41; public static final int T__42=42; public static final int T__43=43; public static final int T__91=91; public static final int T__100=100; public static final int T__92=92; public static final int T__93=93; public static final int T__102=102; public static final int T__94=94; public static final int T__101=101; public static final int T__90=90; public static final int RULE_LETTER_CHARACTER=11; public static final int T__19=19; public static final int T__16=16; public static final int T__17=17; public static final int T__18=18; public static final int T__99=99; public static final int RULE_ESCAPED_CHARACTER=10; public static final int T__95=95; public static final int RULE_ML_SINGLE_QUOTED_STRING=6; public static final int T__96=96; public static final int T__97=97; public static final int T__98=98; public static final int T__26=26; public static final int T__27=27; public static final int T__28=28; public static final int T__29=29; public static final int T__22=22; public static final int T__23=23; public static final int T__24=24; public static final int T__25=25; public static final int T__20=20; public static final int T__21=21; public static final int T__70=70; public static final int T__71=71; public static final int T__72=72; public static final int RULE_SL_COMMENT=13; public static final int T__77=77; public static final int T__78=78; public static final int T__79=79; public static final int T__73=73; public static final int EOF=-1; public static final int T__74=74; public static final int T__75=75; public static final int T__76=76; 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 RULE_SIMPLE_ID=7; public static final int T__83=83; public static final int RULE_WS=14; public static final int RULE_ANY_OTHER=15; public static final int T__88=88; public static final int T__89=89; public static final int T__107=107; public static final int T__84=84; public static final int T__104=104; public static final int T__85=85; public static final int T__103=103; public static final int T__86=86; public static final int T__106=106; public static final int T__87=87; public static final int T__105=105; // delegates // delegators public InternalOCLstdlibParser(TokenStream input) { this(input, new RecognizerSharedState()); } public InternalOCLstdlibParser(TokenStream input, RecognizerSharedState state) { super(input, state); } public String[] getTokenNames() { return InternalOCLstdlibParser.tokenNames; } public String getGrammarFileName() { return "../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.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 OCLstdlibGrammarAccess grammarAccess; public InternalOCLstdlibParser(TokenStream input, OCLstdlibGrammarAccess grammarAccess) { this(input); this.grammarAccess = grammarAccess; registerRules(grammarAccess.getGrammar()); } @Override protected String getFirstRuleName() { return "Library"; } @Override protected OCLstdlibGrammarAccess getGrammarAccess() { return grammarAccess; } // $ANTLR start "entryRuleLibrary" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:80:1: entryRuleLibrary returns [EObject current=null] : iv_ruleLibrary= ruleLibrary EOF ; public final EObject entryRuleLibrary() throws RecognitionException { EObject current = null; EObject iv_ruleLibrary = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:81:2: (iv_ruleLibrary= ruleLibrary EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:82:2: iv_ruleLibrary= ruleLibrary EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibraryRule()); } pushFollow(FollowSets000.FOLLOW_ruleLibrary_in_entryRuleLibrary81); iv_ruleLibrary=ruleLibrary(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleLibrary; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLibrary91); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleLibrary" // $ANTLR start "ruleLibrary" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:89:1: ruleLibrary returns [EObject current=null] : ( ( ( (lv_ownedImports_0_0= ruleImportCS ) ) otherlv_1= ';' )* ( (lv_ownedPackages_2_0= ruleLibPackageCS ) )* ) ; public final EObject ruleLibrary() throws RecognitionException { EObject current = null; Token otherlv_1=null; EObject lv_ownedImports_0_0 = null; EObject lv_ownedPackages_2_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:92:28: ( ( ( ( (lv_ownedImports_0_0= ruleImportCS ) ) otherlv_1= ';' )* ( (lv_ownedPackages_2_0= ruleLibPackageCS ) )* ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:93:1: ( ( ( (lv_ownedImports_0_0= ruleImportCS ) ) otherlv_1= ';' )* ( (lv_ownedPackages_2_0= ruleLibPackageCS ) )* ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:93:1: ( ( ( (lv_ownedImports_0_0= ruleImportCS ) ) otherlv_1= ';' )* ( (lv_ownedPackages_2_0= ruleLibPackageCS ) )* ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:93:2: ( ( (lv_ownedImports_0_0= ruleImportCS ) ) otherlv_1= ';' )* ( (lv_ownedPackages_2_0= ruleLibPackageCS ) )* { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:93:2: ( ( (lv_ownedImports_0_0= ruleImportCS ) ) otherlv_1= ';' )* loop1: do { int alt1=2; int LA1_0 = input.LA(1); if ( (LA1_0==22) ) { alt1=1; } switch (alt1) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:93:3: ( (lv_ownedImports_0_0= ruleImportCS ) ) otherlv_1= ';' { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:93:3: ( (lv_ownedImports_0_0= ruleImportCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:94:1: (lv_ownedImports_0_0= ruleImportCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:94:1: (lv_ownedImports_0_0= ruleImportCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:95:3: lv_ownedImports_0_0= ruleImportCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibraryAccess().getOwnedImportsImportCSParserRuleCall_0_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleImportCS_in_ruleLibrary138); lv_ownedImports_0_0=ruleImportCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibraryRule()); } add( current, "ownedImports", lv_ownedImports_0_0, "ImportCS"); afterParserOrEnumRuleCall(); } } } otherlv_1=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleLibrary150); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getLibraryAccess().getSemicolonKeyword_0_1()); } } break; default : break loop1; } } while (true); // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:115:3: ( (lv_ownedPackages_2_0= ruleLibPackageCS ) )* loop2: do { int alt2=2; int LA2_0 = input.LA(1); if ( (LA2_0==27) ) { alt2=1; } switch (alt2) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:116:1: (lv_ownedPackages_2_0= ruleLibPackageCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:116:1: (lv_ownedPackages_2_0= ruleLibPackageCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:117:3: lv_ownedPackages_2_0= ruleLibPackageCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibraryAccess().getOwnedPackagesLibPackageCSParserRuleCall_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleLibPackageCS_in_ruleLibrary173); lv_ownedPackages_2_0=ruleLibPackageCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibraryRule()); } add( current, "ownedPackages", lv_ownedPackages_2_0, "LibPackageCS"); afterParserOrEnumRuleCall(); } } } break; default : break loop2; } } while (true); } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleLibrary" // $ANTLR start "entryRuleIdentifier" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:141: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:142:2: (iv_ruleIdentifier= ruleIdentifier EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:143:2: iv_ruleIdentifier= ruleIdentifier EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getIdentifierRule()); } pushFollow(FollowSets000.FOLLOW_ruleIdentifier_in_entryRuleIdentifier211); 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_entryRuleIdentifier222); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:150:1: ruleIdentifier returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= ruleID | this_RestrictedKeywords_1= ruleRestrictedKeywords ) ; public final AntlrDatatypeRuleToken ruleIdentifier() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); AntlrDatatypeRuleToken this_ID_0 = null; AntlrDatatypeRuleToken this_RestrictedKeywords_1 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:153:28: ( (this_ID_0= ruleID | this_RestrictedKeywords_1= ruleRestrictedKeywords ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:154:1: (this_ID_0= ruleID | this_RestrictedKeywords_1= ruleRestrictedKeywords ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:154:1: (this_ID_0= ruleID | this_RestrictedKeywords_1= ruleRestrictedKeywords ) int alt3=2; int LA3_0 = input.LA(1); if ( ((LA3_0>=RULE_SIMPLE_ID && LA3_0<=RULE_ESCAPED_ID)) ) { alt3=1; } else if ( ((LA3_0>=17 && LA3_0<=37)) ) { 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:155:5: this_ID_0= ruleID { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getIdentifierAccess().getIDParserRuleCall_0()); } pushFollow(FollowSets000.FOLLOW_ruleID_in_ruleIdentifier269); 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(); } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:167:5: this_RestrictedKeywords_1= ruleRestrictedKeywords { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getIdentifierAccess().getRestrictedKeywordsParserRuleCall_1()); } pushFollow(FollowSets000.FOLLOW_ruleRestrictedKeywords_in_ruleIdentifier302); this_RestrictedKeywords_1=ruleRestrictedKeywords(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(this_RestrictedKeywords_1); } if ( state.backtracking==0 ) { afterParserOrEnumRuleCall(); } } break; } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleIdentifier" // $ANTLR start "entryRuleRestrictedKeywords" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:185:1: entryRuleRestrictedKeywords returns [String current=null] : iv_ruleRestrictedKeywords= ruleRestrictedKeywords EOF ; public final String entryRuleRestrictedKeywords() throws RecognitionException { String current = null; AntlrDatatypeRuleToken iv_ruleRestrictedKeywords = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:186:2: (iv_ruleRestrictedKeywords= ruleRestrictedKeywords EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:187:2: iv_ruleRestrictedKeywords= ruleRestrictedKeywords EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getRestrictedKeywordsRule()); } pushFollow(FollowSets000.FOLLOW_ruleRestrictedKeywords_in_entryRuleRestrictedKeywords348); iv_ruleRestrictedKeywords=ruleRestrictedKeywords(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleRestrictedKeywords.getText(); } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleRestrictedKeywords359); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleRestrictedKeywords" // $ANTLR start "ruleRestrictedKeywords" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:194:1: ruleRestrictedKeywords returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'abstract' | kw= 'annotation' | kw= 'conformsTo' | kw= 'documentation' | kw= 'extends' | kw= 'import' | kw= 'inv' | kw= 'invalidating' | kw= 'iteration' | kw= 'left' | kw= 'library' | kw= 'operation' | kw= 'package' | kw= 'post' | kw= 'pre' | kw= 'precedence' | kw= 'property' | kw= 'right' | kw= 'static' | kw= 'type' | kw= 'validating' ) ; public final AntlrDatatypeRuleToken ruleRestrictedKeywords() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:197:28: ( (kw= 'abstract' | kw= 'annotation' | kw= 'conformsTo' | kw= 'documentation' | kw= 'extends' | kw= 'import' | kw= 'inv' | kw= 'invalidating' | kw= 'iteration' | kw= 'left' | kw= 'library' | kw= 'operation' | kw= 'package' | kw= 'post' | kw= 'pre' | kw= 'precedence' | kw= 'property' | kw= 'right' | kw= 'static' | kw= 'type' | kw= 'validating' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:198:1: (kw= 'abstract' | kw= 'annotation' | kw= 'conformsTo' | kw= 'documentation' | kw= 'extends' | kw= 'import' | kw= 'inv' | kw= 'invalidating' | kw= 'iteration' | kw= 'left' | kw= 'library' | kw= 'operation' | kw= 'package' | kw= 'post' | kw= 'pre' | kw= 'precedence' | kw= 'property' | kw= 'right' | kw= 'static' | kw= 'type' | kw= 'validating' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:198:1: (kw= 'abstract' | kw= 'annotation' | kw= 'conformsTo' | kw= 'documentation' | kw= 'extends' | kw= 'import' | kw= 'inv' | kw= 'invalidating' | kw= 'iteration' | kw= 'left' | kw= 'library' | kw= 'operation' | kw= 'package' | kw= 'post' | kw= 'pre' | kw= 'precedence' | kw= 'property' | kw= 'right' | kw= 'static' | kw= 'type' | kw= 'validating' ) int alt4=21; switch ( input.LA(1) ) { case 17: { alt4=1; } break; case 18: { alt4=2; } break; case 19: { alt4=3; } break; case 20: { alt4=4; } break; case 21: { alt4=5; } break; case 22: { alt4=6; } break; case 23: { alt4=7; } break; case 24: { alt4=8; } break; case 25: { alt4=9; } break; case 26: { alt4=10; } break; case 27: { alt4=11; } break; case 28: { alt4=12; } break; case 29: { alt4=13; } break; case 30: { alt4=14; } break; case 31: { alt4=15; } break; case 32: { alt4=16; } break; case 33: { alt4=17; } break; case 34: { alt4=18; } break; case 35: { alt4=19; } break; case 36: { alt4=20; } break; case 37: { alt4=21; } break; default: if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 4, 0, input); throw nvae; } switch (alt4) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:199:2: kw= 'abstract' { kw=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleRestrictedKeywords397); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getRestrictedKeywordsAccess().getAbstractKeyword_0()); } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:206:2: kw= 'annotation' { kw=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleRestrictedKeywords416); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getRestrictedKeywordsAccess().getAnnotationKeyword_1()); } } break; case 3 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:213:2: kw= 'conformsTo' { kw=(Token)match(input,19,FollowSets000.FOLLOW_19_in_ruleRestrictedKeywords435); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getRestrictedKeywordsAccess().getConformsToKeyword_2()); } } break; case 4 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:220:2: kw= 'documentation' { kw=(Token)match(input,20,FollowSets000.FOLLOW_20_in_ruleRestrictedKeywords454); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getRestrictedKeywordsAccess().getDocumentationKeyword_3()); } } break; case 5 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:227:2: kw= 'extends' { kw=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleRestrictedKeywords473); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getRestrictedKeywordsAccess().getExtendsKeyword_4()); } } break; case 6 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:234:2: kw= 'import' { kw=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleRestrictedKeywords492); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getRestrictedKeywordsAccess().getImportKeyword_5()); } } break; case 7 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:241:2: kw= 'inv' { kw=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleRestrictedKeywords511); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getRestrictedKeywordsAccess().getInvKeyword_6()); } } break; case 8 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:248:2: kw= 'invalidating' { kw=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleRestrictedKeywords530); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getRestrictedKeywordsAccess().getInvalidatingKeyword_7()); } } break; case 9 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:255:2: kw= 'iteration' { kw=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleRestrictedKeywords549); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getRestrictedKeywordsAccess().getIterationKeyword_8()); } } break; case 10 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:262:2: kw= 'left' { kw=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleRestrictedKeywords568); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getRestrictedKeywordsAccess().getLeftKeyword_9()); } } break; case 11 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:269:2: kw= 'library' { kw=(Token)match(input,27,FollowSets000.FOLLOW_27_in_ruleRestrictedKeywords587); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getRestrictedKeywordsAccess().getLibraryKeyword_10()); } } break; case 12 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:276:2: kw= 'operation' { kw=(Token)match(input,28,FollowSets000.FOLLOW_28_in_ruleRestrictedKeywords606); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getRestrictedKeywordsAccess().getOperationKeyword_11()); } } break; case 13 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:283:2: kw= 'package' { kw=(Token)match(input,29,FollowSets000.FOLLOW_29_in_ruleRestrictedKeywords625); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getRestrictedKeywordsAccess().getPackageKeyword_12()); } } break; case 14 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:290:2: kw= 'post' { kw=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleRestrictedKeywords644); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getRestrictedKeywordsAccess().getPostKeyword_13()); } } break; case 15 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:297:2: kw= 'pre' { kw=(Token)match(input,31,FollowSets000.FOLLOW_31_in_ruleRestrictedKeywords663); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getRestrictedKeywordsAccess().getPreKeyword_14()); } } break; case 16 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:304:2: kw= 'precedence' { kw=(Token)match(input,32,FollowSets000.FOLLOW_32_in_ruleRestrictedKeywords682); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getRestrictedKeywordsAccess().getPrecedenceKeyword_15()); } } break; case 17 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:311:2: kw= 'property' { kw=(Token)match(input,33,FollowSets000.FOLLOW_33_in_ruleRestrictedKeywords701); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getRestrictedKeywordsAccess().getPropertyKeyword_16()); } } break; case 18 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:318:2: kw= 'right' { kw=(Token)match(input,34,FollowSets000.FOLLOW_34_in_ruleRestrictedKeywords720); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getRestrictedKeywordsAccess().getRightKeyword_17()); } } break; case 19 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:325:2: kw= 'static' { kw=(Token)match(input,35,FollowSets000.FOLLOW_35_in_ruleRestrictedKeywords739); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getRestrictedKeywordsAccess().getStaticKeyword_18()); } } break; case 20 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:332:2: kw= 'type' { kw=(Token)match(input,36,FollowSets000.FOLLOW_36_in_ruleRestrictedKeywords758); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getRestrictedKeywordsAccess().getTypeKeyword_19()); } } break; case 21 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:339:2: kw= 'validating' { kw=(Token)match(input,37,FollowSets000.FOLLOW_37_in_ruleRestrictedKeywords777); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getRestrictedKeywordsAccess().getValidatingKeyword_20()); } } break; } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleRestrictedKeywords" // $ANTLR start "entryRuleName" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:352:1: entryRuleName returns [String current=null] : iv_ruleName= ruleName EOF ; public final String entryRuleName() throws RecognitionException { String current = null; AntlrDatatypeRuleToken iv_ruleName = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:353:2: (iv_ruleName= ruleName EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:354:2: iv_ruleName= ruleName EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNameRule()); } pushFollow(FollowSets000.FOLLOW_ruleName_in_entryRuleName818); iv_ruleName=ruleName(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleName.getText(); } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleName829); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleName" // $ANTLR start "ruleName" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:361:1: ruleName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_Identifier_0= ruleIdentifier | this_DOUBLE_QUOTED_STRING_1= RULE_DOUBLE_QUOTED_STRING | this_EssentialOCLReservedKeyword_2= ruleEssentialOCLReservedKeyword | this_PrimitiveTypeIdentifier_3= rulePrimitiveTypeIdentifier | this_CollectionTypeIdentifier_4= ruleCollectionTypeIdentifier ) ; public final AntlrDatatypeRuleToken ruleName() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token this_DOUBLE_QUOTED_STRING_1=null; AntlrDatatypeRuleToken this_Identifier_0 = null; AntlrDatatypeRuleToken this_EssentialOCLReservedKeyword_2 = null; AntlrDatatypeRuleToken this_PrimitiveTypeIdentifier_3 = null; AntlrDatatypeRuleToken this_CollectionTypeIdentifier_4 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:364:28: ( (this_Identifier_0= ruleIdentifier | this_DOUBLE_QUOTED_STRING_1= RULE_DOUBLE_QUOTED_STRING | this_EssentialOCLReservedKeyword_2= ruleEssentialOCLReservedKeyword | this_PrimitiveTypeIdentifier_3= rulePrimitiveTypeIdentifier | this_CollectionTypeIdentifier_4= ruleCollectionTypeIdentifier ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:365:1: (this_Identifier_0= ruleIdentifier | this_DOUBLE_QUOTED_STRING_1= RULE_DOUBLE_QUOTED_STRING | this_EssentialOCLReservedKeyword_2= ruleEssentialOCLReservedKeyword | this_PrimitiveTypeIdentifier_3= rulePrimitiveTypeIdentifier | this_CollectionTypeIdentifier_4= ruleCollectionTypeIdentifier ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:365:1: (this_Identifier_0= ruleIdentifier | this_DOUBLE_QUOTED_STRING_1= RULE_DOUBLE_QUOTED_STRING | this_EssentialOCLReservedKeyword_2= ruleEssentialOCLReservedKeyword | this_PrimitiveTypeIdentifier_3= rulePrimitiveTypeIdentifier | this_CollectionTypeIdentifier_4= ruleCollectionTypeIdentifier ) int alt5=5; switch ( input.LA(1) ) { case RULE_SIMPLE_ID: case RULE_ESCAPED_ID: case 17: case 18: case 19: case 20: case 21: case 22: case 23: case 24: case 25: case 26: case 27: case 28: case 29: case 30: case 31: case 32: case 33: case 34: case 35: case 36: case 37: { alt5=1; } break; case RULE_DOUBLE_QUOTED_STRING: { alt5=2; } break; case 55: case 56: case 57: case 58: case 59: case 60: case 61: case 62: case 63: case 64: case 65: { alt5=3; } break; case 79: case 80: case 81: case 82: case 83: case 84: case 85: case 86: { alt5=4; } break; case 87: case 88: case 89: case 90: case 91: { alt5=5; } break; default: if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 5, 0, input); throw nvae; } switch (alt5) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:366:5: this_Identifier_0= ruleIdentifier { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNameAccess().getIdentifierParserRuleCall_0()); } pushFollow(FollowSets000.FOLLOW_ruleIdentifier_in_ruleName876); 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(); } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:377:10: this_DOUBLE_QUOTED_STRING_1= RULE_DOUBLE_QUOTED_STRING { this_DOUBLE_QUOTED_STRING_1=(Token)match(input,RULE_DOUBLE_QUOTED_STRING,FollowSets000.FOLLOW_RULE_DOUBLE_QUOTED_STRING_in_ruleName902); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(this_DOUBLE_QUOTED_STRING_1); } if ( state.backtracking==0 ) { newLeafNode(this_DOUBLE_QUOTED_STRING_1, grammarAccess.getNameAccess().getDOUBLE_QUOTED_STRINGTerminalRuleCall_1()); } } break; case 3 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:386:5: this_EssentialOCLReservedKeyword_2= ruleEssentialOCLReservedKeyword { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNameAccess().getEssentialOCLReservedKeywordParserRuleCall_2()); } pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLReservedKeyword_in_ruleName935); this_EssentialOCLReservedKeyword_2=ruleEssentialOCLReservedKeyword(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(this_EssentialOCLReservedKeyword_2); } if ( state.backtracking==0 ) { afterParserOrEnumRuleCall(); } } break; case 4 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:398:5: this_PrimitiveTypeIdentifier_3= rulePrimitiveTypeIdentifier { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNameAccess().getPrimitiveTypeIdentifierParserRuleCall_3()); } pushFollow(FollowSets000.FOLLOW_rulePrimitiveTypeIdentifier_in_ruleName968); this_PrimitiveTypeIdentifier_3=rulePrimitiveTypeIdentifier(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(this_PrimitiveTypeIdentifier_3); } if ( state.backtracking==0 ) { afterParserOrEnumRuleCall(); } } break; case 5 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:410:5: this_CollectionTypeIdentifier_4= ruleCollectionTypeIdentifier { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNameAccess().getCollectionTypeIdentifierParserRuleCall_4()); } pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeIdentifier_in_ruleName1001); this_CollectionTypeIdentifier_4=ruleCollectionTypeIdentifier(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(this_CollectionTypeIdentifier_4); } if ( state.backtracking==0 ) { afterParserOrEnumRuleCall(); } } break; } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleName" // $ANTLR start "entryRuleAnyName" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:428:1: entryRuleAnyName returns [String current=null] : iv_ruleAnyName= ruleAnyName EOF ; public final String entryRuleAnyName() throws RecognitionException { String current = null; AntlrDatatypeRuleToken iv_ruleAnyName = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:429:2: (iv_ruleAnyName= ruleAnyName EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:430:2: iv_ruleAnyName= ruleAnyName EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getAnyNameRule()); } pushFollow(FollowSets000.FOLLOW_ruleAnyName_in_entryRuleAnyName1047); iv_ruleAnyName=ruleAnyName(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleAnyName.getText(); } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleAnyName1058); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleAnyName" // $ANTLR start "ruleAnyName" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:437:1: ruleAnyName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_Name_0= ruleName | kw= 'Lambda' | kw= 'Map' | kw= 'Tuple' ) ; public final AntlrDatatypeRuleToken ruleAnyName() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; AntlrDatatypeRuleToken this_Name_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:440:28: ( (this_Name_0= ruleName | kw= 'Lambda' | kw= 'Map' | kw= 'Tuple' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:441:1: (this_Name_0= ruleName | kw= 'Lambda' | kw= 'Map' | kw= 'Tuple' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:441:1: (this_Name_0= ruleName | kw= 'Lambda' | kw= 'Map' | kw= 'Tuple' ) int alt6=4; switch ( input.LA(1) ) { case RULE_DOUBLE_QUOTED_STRING: case RULE_SIMPLE_ID: case RULE_ESCAPED_ID: case 17: case 18: case 19: case 20: case 21: case 22: case 23: case 24: case 25: case 26: case 27: case 28: case 29: case 30: case 31: case 32: case 33: case 34: case 35: case 36: case 37: case 55: case 56: case 57: case 58: case 59: case 60: case 61: case 62: case 63: case 64: case 65: case 79: case 80: case 81: case 82: case 83: case 84: case 85: case 86: case 87: case 88: case 89: case 90: case 91: { alt6=1; } break; case 38: { alt6=2; } break; case 39: { alt6=3; } break; case 40: { alt6=4; } break; default: if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 6, 0, input); throw nvae; } switch (alt6) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:442:5: this_Name_0= ruleName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getAnyNameAccess().getNameParserRuleCall_0()); } pushFollow(FollowSets000.FOLLOW_ruleName_in_ruleAnyName1105); this_Name_0=ruleName(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(this_Name_0); } if ( state.backtracking==0 ) { afterParserOrEnumRuleCall(); } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:454:2: kw= 'Lambda' { kw=(Token)match(input,38,FollowSets000.FOLLOW_38_in_ruleAnyName1129); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getAnyNameAccess().getLambdaKeyword_1()); } } break; case 3 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:461:2: kw= 'Map' { kw=(Token)match(input,39,FollowSets000.FOLLOW_39_in_ruleAnyName1148); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getAnyNameAccess().getMapKeyword_2()); } } break; case 4 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:468:2: kw= 'Tuple' { kw=(Token)match(input,40,FollowSets000.FOLLOW_40_in_ruleAnyName1167); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getAnyNameAccess().getTupleKeyword_3()); } } break; } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleAnyName" // $ANTLR start "entryRuleLibPathNameCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:481:1: entryRuleLibPathNameCS returns [EObject current=null] : iv_ruleLibPathNameCS= ruleLibPathNameCS EOF ; public final EObject entryRuleLibPathNameCS() throws RecognitionException { EObject current = null; EObject iv_ruleLibPathNameCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:482:2: (iv_ruleLibPathNameCS= ruleLibPathNameCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:483:2: iv_ruleLibPathNameCS= ruleLibPathNameCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibPathNameCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleLibPathNameCS_in_entryRuleLibPathNameCS1207); iv_ruleLibPathNameCS=ruleLibPathNameCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleLibPathNameCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLibPathNameCS1217); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleLibPathNameCS" // $ANTLR start "ruleLibPathNameCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:490:1: ruleLibPathNameCS returns [EObject current=null] : ( ( (lv_ownedPathElements_0_0= ruleLibPathElementCS ) ) (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleLibPathElementCS ) ) )* ) ; public final EObject ruleLibPathNameCS() 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:493:28: ( ( ( (lv_ownedPathElements_0_0= ruleLibPathElementCS ) ) (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleLibPathElementCS ) ) )* ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:494:1: ( ( (lv_ownedPathElements_0_0= ruleLibPathElementCS ) ) (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleLibPathElementCS ) ) )* ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:494:1: ( ( (lv_ownedPathElements_0_0= ruleLibPathElementCS ) ) (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleLibPathElementCS ) ) )* ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:494:2: ( (lv_ownedPathElements_0_0= ruleLibPathElementCS ) ) (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleLibPathElementCS ) ) )* { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:494:2: ( (lv_ownedPathElements_0_0= ruleLibPathElementCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:495:1: (lv_ownedPathElements_0_0= ruleLibPathElementCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:495:1: (lv_ownedPathElements_0_0= ruleLibPathElementCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:496:3: lv_ownedPathElements_0_0= ruleLibPathElementCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibPathNameCSAccess().getOwnedPathElementsLibPathElementCSParserRuleCall_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleLibPathElementCS_in_ruleLibPathNameCS1263); lv_ownedPathElements_0_0=ruleLibPathElementCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibPathNameCSRule()); } add( current, "ownedPathElements", lv_ownedPathElements_0_0, "LibPathElementCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:512:2: (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleLibPathElementCS ) ) )* loop7: do { int alt7=2; int LA7_0 = input.LA(1); if ( (LA7_0==41) ) { alt7=1; } switch (alt7) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:512:4: otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleLibPathElementCS ) ) { otherlv_1=(Token)match(input,41,FollowSets000.FOLLOW_41_in_ruleLibPathNameCS1276); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getLibPathNameCSAccess().getColonColonKeyword_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:516:1: ( (lv_ownedPathElements_2_0= ruleLibPathElementCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:517:1: (lv_ownedPathElements_2_0= ruleLibPathElementCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:517:1: (lv_ownedPathElements_2_0= ruleLibPathElementCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:518:3: lv_ownedPathElements_2_0= ruleLibPathElementCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibPathNameCSAccess().getOwnedPathElementsLibPathElementCSParserRuleCall_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleLibPathElementCS_in_ruleLibPathNameCS1297); lv_ownedPathElements_2_0=ruleLibPathElementCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibPathNameCSRule()); } add( current, "ownedPathElements", lv_ownedPathElements_2_0, "LibPathElementCS"); afterParserOrEnumRuleCall(); } } } } break; default : break loop7; } } while (true); } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleLibPathNameCS" // $ANTLR start "entryRuleLibPathElementCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:542:1: entryRuleLibPathElementCS returns [EObject current=null] : iv_ruleLibPathElementCS= ruleLibPathElementCS EOF ; public final EObject entryRuleLibPathElementCS() throws RecognitionException { EObject current = null; EObject iv_ruleLibPathElementCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:543:2: (iv_ruleLibPathElementCS= ruleLibPathElementCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:544:2: iv_ruleLibPathElementCS= ruleLibPathElementCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibPathElementCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleLibPathElementCS_in_entryRuleLibPathElementCS1335); iv_ruleLibPathElementCS=ruleLibPathElementCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleLibPathElementCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLibPathElementCS1345); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleLibPathElementCS" // $ANTLR start "ruleLibPathElementCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:551:1: ruleLibPathElementCS returns [EObject current=null] : ( ( ruleName ) ) ; public final EObject ruleLibPathElementCS() throws RecognitionException { EObject current = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:554:28: ( ( ( ruleName ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:555:1: ( ( ruleName ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:555:1: ( ( ruleName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:556:1: ( ruleName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:556:1: ( ruleName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:557:3: ruleName { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getLibPathElementCSRule()); } } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibPathElementCSAccess().getReferredElementNamedElementCrossReference_0()); } pushFollow(FollowSets000.FOLLOW_ruleName_in_ruleLibPathElementCS1396); ruleName(); 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 "ruleLibPathElementCS" // $ANTLR start "entryRuleAccumulatorCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:581:1: entryRuleAccumulatorCS returns [EObject current=null] : iv_ruleAccumulatorCS= ruleAccumulatorCS EOF ; public final EObject entryRuleAccumulatorCS() throws RecognitionException { EObject current = null; EObject iv_ruleAccumulatorCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:582:2: (iv_ruleAccumulatorCS= ruleAccumulatorCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:583:2: iv_ruleAccumulatorCS= ruleAccumulatorCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getAccumulatorCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleAccumulatorCS_in_entryRuleAccumulatorCS1431); iv_ruleAccumulatorCS=ruleAccumulatorCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleAccumulatorCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleAccumulatorCS1441); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleAccumulatorCS" // $ANTLR start "ruleAccumulatorCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:590:1: ruleAccumulatorCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleIdentifier ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) ) ; public final EObject ruleAccumulatorCS() 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:593:28: ( ( ( (lv_name_0_0= ruleIdentifier ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:594:1: ( ( (lv_name_0_0= ruleIdentifier ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:594:1: ( ( (lv_name_0_0= ruleIdentifier ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:594:2: ( (lv_name_0_0= ruleIdentifier ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:594:2: ( (lv_name_0_0= ruleIdentifier ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:595:1: (lv_name_0_0= ruleIdentifier ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:595:1: (lv_name_0_0= ruleIdentifier ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:596:3: lv_name_0_0= ruleIdentifier { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getAccumulatorCSAccess().getNameIdentifierParserRuleCall_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleIdentifier_in_ruleAccumulatorCS1487); lv_name_0_0=ruleIdentifier(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getAccumulatorCSRule()); } set( current, "name", lv_name_0_0, "Identifier"); afterParserOrEnumRuleCall(); } } } otherlv_1=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleAccumulatorCS1499); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getAccumulatorCSAccess().getColonKeyword_1()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:616:1: ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:617:1: (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:617:1: (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:618:3: lv_ownedType_2_0= ruleTypedMultiplicityRefCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getAccumulatorCSAccess().getOwnedTypeTypedMultiplicityRefCSParserRuleCall_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypedMultiplicityRefCS_in_ruleAccumulatorCS1520); lv_ownedType_2_0=ruleTypedMultiplicityRefCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getAccumulatorCSRule()); } set( current, "ownedType", lv_ownedType_2_0, "TypedMultiplicityRefCS"); afterParserOrEnumRuleCall(); } } } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleAccumulatorCS" // $ANTLR start "entryRuleAnnotationCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:642:1: entryRuleAnnotationCS returns [EObject current=null] : iv_ruleAnnotationCS= ruleAnnotationCS EOF ; public final EObject entryRuleAnnotationCS() throws RecognitionException { EObject current = null; EObject iv_ruleAnnotationCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:643:2: (iv_ruleAnnotationCS= ruleAnnotationCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:644:2: iv_ruleAnnotationCS= ruleAnnotationCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getAnnotationCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleAnnotationCS_in_entryRuleAnnotationCS1556); iv_ruleAnnotationCS=ruleAnnotationCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleAnnotationCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleAnnotationCS1566); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleAnnotationCS" // $ANTLR start "ruleAnnotationCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:651:1: ruleAnnotationCS returns [EObject current=null] : (otherlv_0= 'annotation' ( ( (lv_name_1_1= ruleIdentifier | lv_name_1_2= RULE_SINGLE_QUOTED_STRING ) ) ) (otherlv_2= '(' ( (lv_ownedDetails_3_0= ruleDetailCS ) ) (otherlv_4= ',' ( (lv_ownedDetails_5_0= ruleDetailCS ) ) )* otherlv_6= ')' )? ( (otherlv_7= '{' ( (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) ) otherlv_9= '}' ) | otherlv_10= ';' ) ) ; public final EObject ruleAnnotationCS() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_name_1_2=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_10=null; AntlrDatatypeRuleToken lv_name_1_1 = null; EObject lv_ownedDetails_3_0 = null; EObject lv_ownedDetails_5_0 = null; EObject lv_ownedAnnotations_8_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:654:28: ( (otherlv_0= 'annotation' ( ( (lv_name_1_1= ruleIdentifier | lv_name_1_2= RULE_SINGLE_QUOTED_STRING ) ) ) (otherlv_2= '(' ( (lv_ownedDetails_3_0= ruleDetailCS ) ) (otherlv_4= ',' ( (lv_ownedDetails_5_0= ruleDetailCS ) ) )* otherlv_6= ')' )? ( (otherlv_7= '{' ( (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) ) otherlv_9= '}' ) | otherlv_10= ';' ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:655:1: (otherlv_0= 'annotation' ( ( (lv_name_1_1= ruleIdentifier | lv_name_1_2= RULE_SINGLE_QUOTED_STRING ) ) ) (otherlv_2= '(' ( (lv_ownedDetails_3_0= ruleDetailCS ) ) (otherlv_4= ',' ( (lv_ownedDetails_5_0= ruleDetailCS ) ) )* otherlv_6= ')' )? ( (otherlv_7= '{' ( (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) ) otherlv_9= '}' ) | otherlv_10= ';' ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:655:1: (otherlv_0= 'annotation' ( ( (lv_name_1_1= ruleIdentifier | lv_name_1_2= RULE_SINGLE_QUOTED_STRING ) ) ) (otherlv_2= '(' ( (lv_ownedDetails_3_0= ruleDetailCS ) ) (otherlv_4= ',' ( (lv_ownedDetails_5_0= ruleDetailCS ) ) )* otherlv_6= ')' )? ( (otherlv_7= '{' ( (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) ) otherlv_9= '}' ) | otherlv_10= ';' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:655:3: otherlv_0= 'annotation' ( ( (lv_name_1_1= ruleIdentifier | lv_name_1_2= RULE_SINGLE_QUOTED_STRING ) ) ) (otherlv_2= '(' ( (lv_ownedDetails_3_0= ruleDetailCS ) ) (otherlv_4= ',' ( (lv_ownedDetails_5_0= ruleDetailCS ) ) )* otherlv_6= ')' )? ( (otherlv_7= '{' ( (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) ) otherlv_9= '}' ) | otherlv_10= ';' ) { otherlv_0=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleAnnotationCS1603); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_0, grammarAccess.getAnnotationCSAccess().getAnnotationKeyword_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:659:1: ( ( (lv_name_1_1= ruleIdentifier | lv_name_1_2= RULE_SINGLE_QUOTED_STRING ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:660:1: ( (lv_name_1_1= ruleIdentifier | lv_name_1_2= RULE_SINGLE_QUOTED_STRING ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:660:1: ( (lv_name_1_1= ruleIdentifier | lv_name_1_2= RULE_SINGLE_QUOTED_STRING ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:661:1: (lv_name_1_1= ruleIdentifier | lv_name_1_2= RULE_SINGLE_QUOTED_STRING ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:661:1: (lv_name_1_1= ruleIdentifier | lv_name_1_2= RULE_SINGLE_QUOTED_STRING ) int alt8=2; int LA8_0 = input.LA(1); if ( ((LA8_0>=RULE_SIMPLE_ID && LA8_0<=RULE_ESCAPED_ID)||(LA8_0>=17 && LA8_0<=37)) ) { alt8=1; } else if ( (LA8_0==RULE_SINGLE_QUOTED_STRING) ) { alt8=2; } else { if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 8, 0, input); throw nvae; } switch (alt8) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:662:3: lv_name_1_1= ruleIdentifier { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getAnnotationCSAccess().getNameIdentifierParserRuleCall_1_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleIdentifier_in_ruleAnnotationCS1626); lv_name_1_1=ruleIdentifier(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getAnnotationCSRule()); } set( current, "name", lv_name_1_1, "Identifier"); afterParserOrEnumRuleCall(); } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:677:8: lv_name_1_2= RULE_SINGLE_QUOTED_STRING { lv_name_1_2=(Token)match(input,RULE_SINGLE_QUOTED_STRING,FollowSets000.FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleAnnotationCS1641); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(lv_name_1_2, grammarAccess.getAnnotationCSAccess().getNameSINGLE_QUOTED_STRINGTerminalRuleCall_1_0_1()); } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getAnnotationCSRule()); } setWithLastConsumed( current, "name", lv_name_1_2, "SINGLE_QUOTED_STRING"); } } break; } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:695:2: (otherlv_2= '(' ( (lv_ownedDetails_3_0= ruleDetailCS ) ) (otherlv_4= ',' ( (lv_ownedDetails_5_0= ruleDetailCS ) ) )* otherlv_6= ')' )? int alt10=2; int LA10_0 = input.LA(1); if ( (LA10_0==43) ) { alt10=1; } switch (alt10) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:695:4: otherlv_2= '(' ( (lv_ownedDetails_3_0= ruleDetailCS ) ) (otherlv_4= ',' ( (lv_ownedDetails_5_0= ruleDetailCS ) ) )* otherlv_6= ')' { otherlv_2=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleAnnotationCS1662); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_2, grammarAccess.getAnnotationCSAccess().getLeftParenthesisKeyword_2_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:699:1: ( (lv_ownedDetails_3_0= ruleDetailCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:700:1: (lv_ownedDetails_3_0= ruleDetailCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:700:1: (lv_ownedDetails_3_0= ruleDetailCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:701:3: lv_ownedDetails_3_0= ruleDetailCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getAnnotationCSAccess().getOwnedDetailsDetailCSParserRuleCall_2_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleDetailCS_in_ruleAnnotationCS1683); lv_ownedDetails_3_0=ruleDetailCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getAnnotationCSRule()); } add( current, "ownedDetails", lv_ownedDetails_3_0, "DetailCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:717:2: (otherlv_4= ',' ( (lv_ownedDetails_5_0= ruleDetailCS ) ) )* loop9: do { int alt9=2; int LA9_0 = input.LA(1); if ( (LA9_0==44) ) { alt9=1; } switch (alt9) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:717:4: otherlv_4= ',' ( (lv_ownedDetails_5_0= ruleDetailCS ) ) { otherlv_4=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleAnnotationCS1696); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_4, grammarAccess.getAnnotationCSAccess().getCommaKeyword_2_2_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:721:1: ( (lv_ownedDetails_5_0= ruleDetailCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:722:1: (lv_ownedDetails_5_0= ruleDetailCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:722:1: (lv_ownedDetails_5_0= ruleDetailCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:723:3: lv_ownedDetails_5_0= ruleDetailCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getAnnotationCSAccess().getOwnedDetailsDetailCSParserRuleCall_2_2_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleDetailCS_in_ruleAnnotationCS1717); lv_ownedDetails_5_0=ruleDetailCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getAnnotationCSRule()); } add( current, "ownedDetails", lv_ownedDetails_5_0, "DetailCS"); afterParserOrEnumRuleCall(); } } } } break; default : break loop9; } } while (true); otherlv_6=(Token)match(input,45,FollowSets000.FOLLOW_45_in_ruleAnnotationCS1731); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_6, grammarAccess.getAnnotationCSAccess().getRightParenthesisKeyword_2_3()); } } break; } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:743:3: ( (otherlv_7= '{' ( (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) ) otherlv_9= '}' ) | otherlv_10= ';' ) int alt11=2; int LA11_0 = input.LA(1); if ( (LA11_0==46) ) { alt11=1; } else if ( (LA11_0==16) ) { alt11=2; } else { if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 11, 0, input); throw nvae; } switch (alt11) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:743:4: (otherlv_7= '{' ( (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) ) otherlv_9= '}' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:743:4: (otherlv_7= '{' ( (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) ) otherlv_9= '}' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:743:6: otherlv_7= '{' ( (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) ) otherlv_9= '}' { otherlv_7=(Token)match(input,46,FollowSets000.FOLLOW_46_in_ruleAnnotationCS1747); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_7, grammarAccess.getAnnotationCSAccess().getLeftCurlyBracketKeyword_3_0_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:747:1: ( (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:748:1: (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:748:1: (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:749:3: lv_ownedAnnotations_8_0= ruleAnnotationElementCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getAnnotationCSAccess().getOwnedAnnotationsAnnotationElementCSParserRuleCall_3_0_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleAnnotationElementCS_in_ruleAnnotationCS1768); lv_ownedAnnotations_8_0=ruleAnnotationElementCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getAnnotationCSRule()); } add( current, "ownedAnnotations", lv_ownedAnnotations_8_0, "AnnotationElementCS"); afterParserOrEnumRuleCall(); } } } otherlv_9=(Token)match(input,47,FollowSets000.FOLLOW_47_in_ruleAnnotationCS1780); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_9, grammarAccess.getAnnotationCSAccess().getRightCurlyBracketKeyword_3_0_2()); } } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:770:7: otherlv_10= ';' { otherlv_10=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleAnnotationCS1799); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_10, grammarAccess.getAnnotationCSAccess().getSemicolonKeyword_3_1()); } } break; } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleAnnotationCS" // $ANTLR start "entryRuleAnnotationElementCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:782:1: entryRuleAnnotationElementCS returns [EObject current=null] : iv_ruleAnnotationElementCS= ruleAnnotationElementCS EOF ; public final EObject entryRuleAnnotationElementCS() throws RecognitionException { EObject current = null; EObject iv_ruleAnnotationElementCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:783:2: (iv_ruleAnnotationElementCS= ruleAnnotationElementCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:784:2: iv_ruleAnnotationElementCS= ruleAnnotationElementCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getAnnotationElementCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleAnnotationElementCS_in_entryRuleAnnotationElementCS1836); iv_ruleAnnotationElementCS=ruleAnnotationElementCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleAnnotationElementCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleAnnotationElementCS1846); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleAnnotationElementCS" // $ANTLR start "ruleAnnotationElementCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:791:1: ruleAnnotationElementCS returns [EObject current=null] : (this_AnnotationCS_0= ruleAnnotationCS | this_DocumentationCS_1= ruleDocumentationCS ) ; public final EObject ruleAnnotationElementCS() throws RecognitionException { EObject current = null; EObject this_AnnotationCS_0 = null; EObject this_DocumentationCS_1 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:794:28: ( (this_AnnotationCS_0= ruleAnnotationCS | this_DocumentationCS_1= ruleDocumentationCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:795:1: (this_AnnotationCS_0= ruleAnnotationCS | this_DocumentationCS_1= ruleDocumentationCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:795:1: (this_AnnotationCS_0= ruleAnnotationCS | this_DocumentationCS_1= ruleDocumentationCS ) int alt12=2; int LA12_0 = input.LA(1); if ( (LA12_0==18) ) { alt12=1; } else if ( (LA12_0==20) ) { alt12=2; } else { if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 12, 0, input); throw nvae; } switch (alt12) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:796:2: this_AnnotationCS_0= ruleAnnotationCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getAnnotationElementCSAccess().getAnnotationCSParserRuleCall_0()); } pushFollow(FollowSets000.FOLLOW_ruleAnnotationCS_in_ruleAnnotationElementCS1896); this_AnnotationCS_0=ruleAnnotationCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current = this_AnnotationCS_0; afterParserOrEnumRuleCall(); } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:809:2: this_DocumentationCS_1= ruleDocumentationCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getAnnotationElementCSAccess().getDocumentationCSParserRuleCall_1()); } pushFollow(FollowSets000.FOLLOW_ruleDocumentationCS_in_ruleAnnotationElementCS1926); this_DocumentationCS_1=ruleDocumentationCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current = this_DocumentationCS_1; afterParserOrEnumRuleCall(); } } break; } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleAnnotationElementCS" // $ANTLR start "entryRuleLibClassCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:828:1: entryRuleLibClassCS returns [EObject current=null] : iv_ruleLibClassCS= ruleLibClassCS EOF ; public final EObject entryRuleLibClassCS() throws RecognitionException { EObject current = null; EObject iv_ruleLibClassCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:829:2: (iv_ruleLibClassCS= ruleLibClassCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:830:2: iv_ruleLibClassCS= ruleLibClassCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibClassCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleLibClassCS_in_entryRuleLibClassCS1961); iv_ruleLibClassCS=ruleLibClassCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleLibClassCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLibClassCS1971); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleLibClassCS" // $ANTLR start "ruleLibClassCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:837:1: ruleLibClassCS returns [EObject current=null] : ( ( (lv_isAbstract_0_0= 'abstract' ) )? otherlv_1= 'type' ( (lv_name_2_0= ruleAnyName ) ) ( (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) )? (otherlv_4= ':' ( ( ruleAnyName ) ) )? (otherlv_6= 'conformsTo' ( (lv_ownedSuperTypes_7_0= ruleTypedRefCS ) ) (otherlv_8= ',' ( (lv_ownedSuperTypes_9_0= ruleTypedRefCS ) ) )* )? otherlv_10= '{' ( ( (lv_ownedOperations_11_0= ruleOperationCS ) ) | ( (lv_ownedProperties_12_0= ruleLibPropertyCS ) ) | ( (lv_ownedConstraints_13_0= ruleInvCS ) ) | ( (lv_ownedAnnotations_14_0= ruleAnnotationElementCS ) ) )* otherlv_15= '}' ) ; public final EObject ruleLibClassCS() throws RecognitionException { EObject current = null; Token lv_isAbstract_0_0=null; Token otherlv_1=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_10=null; Token otherlv_15=null; AntlrDatatypeRuleToken lv_name_2_0 = null; EObject lv_ownedSignature_3_0 = null; EObject lv_ownedSuperTypes_7_0 = null; EObject lv_ownedSuperTypes_9_0 = null; EObject lv_ownedOperations_11_0 = null; EObject lv_ownedProperties_12_0 = null; EObject lv_ownedConstraints_13_0 = null; EObject lv_ownedAnnotations_14_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:840:28: ( ( ( (lv_isAbstract_0_0= 'abstract' ) )? otherlv_1= 'type' ( (lv_name_2_0= ruleAnyName ) ) ( (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) )? (otherlv_4= ':' ( ( ruleAnyName ) ) )? (otherlv_6= 'conformsTo' ( (lv_ownedSuperTypes_7_0= ruleTypedRefCS ) ) (otherlv_8= ',' ( (lv_ownedSuperTypes_9_0= ruleTypedRefCS ) ) )* )? otherlv_10= '{' ( ( (lv_ownedOperations_11_0= ruleOperationCS ) ) | ( (lv_ownedProperties_12_0= ruleLibPropertyCS ) ) | ( (lv_ownedConstraints_13_0= ruleInvCS ) ) | ( (lv_ownedAnnotations_14_0= ruleAnnotationElementCS ) ) )* otherlv_15= '}' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:841:1: ( ( (lv_isAbstract_0_0= 'abstract' ) )? otherlv_1= 'type' ( (lv_name_2_0= ruleAnyName ) ) ( (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) )? (otherlv_4= ':' ( ( ruleAnyName ) ) )? (otherlv_6= 'conformsTo' ( (lv_ownedSuperTypes_7_0= ruleTypedRefCS ) ) (otherlv_8= ',' ( (lv_ownedSuperTypes_9_0= ruleTypedRefCS ) ) )* )? otherlv_10= '{' ( ( (lv_ownedOperations_11_0= ruleOperationCS ) ) | ( (lv_ownedProperties_12_0= ruleLibPropertyCS ) ) | ( (lv_ownedConstraints_13_0= ruleInvCS ) ) | ( (lv_ownedAnnotations_14_0= ruleAnnotationElementCS ) ) )* otherlv_15= '}' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:841:1: ( ( (lv_isAbstract_0_0= 'abstract' ) )? otherlv_1= 'type' ( (lv_name_2_0= ruleAnyName ) ) ( (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) )? (otherlv_4= ':' ( ( ruleAnyName ) ) )? (otherlv_6= 'conformsTo' ( (lv_ownedSuperTypes_7_0= ruleTypedRefCS ) ) (otherlv_8= ',' ( (lv_ownedSuperTypes_9_0= ruleTypedRefCS ) ) )* )? otherlv_10= '{' ( ( (lv_ownedOperations_11_0= ruleOperationCS ) ) | ( (lv_ownedProperties_12_0= ruleLibPropertyCS ) ) | ( (lv_ownedConstraints_13_0= ruleInvCS ) ) | ( (lv_ownedAnnotations_14_0= ruleAnnotationElementCS ) ) )* otherlv_15= '}' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:841:2: ( (lv_isAbstract_0_0= 'abstract' ) )? otherlv_1= 'type' ( (lv_name_2_0= ruleAnyName ) ) ( (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) )? (otherlv_4= ':' ( ( ruleAnyName ) ) )? (otherlv_6= 'conformsTo' ( (lv_ownedSuperTypes_7_0= ruleTypedRefCS ) ) (otherlv_8= ',' ( (lv_ownedSuperTypes_9_0= ruleTypedRefCS ) ) )* )? otherlv_10= '{' ( ( (lv_ownedOperations_11_0= ruleOperationCS ) ) | ( (lv_ownedProperties_12_0= ruleLibPropertyCS ) ) | ( (lv_ownedConstraints_13_0= ruleInvCS ) ) | ( (lv_ownedAnnotations_14_0= ruleAnnotationElementCS ) ) )* otherlv_15= '}' { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:841:2: ( (lv_isAbstract_0_0= 'abstract' ) )? int alt13=2; int LA13_0 = input.LA(1); if ( (LA13_0==17) ) { alt13=1; } switch (alt13) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:842:1: (lv_isAbstract_0_0= 'abstract' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:842:1: (lv_isAbstract_0_0= 'abstract' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:843:3: lv_isAbstract_0_0= 'abstract' { lv_isAbstract_0_0=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleLibClassCS2014); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(lv_isAbstract_0_0, grammarAccess.getLibClassCSAccess().getIsAbstractAbstractKeyword_0_0()); } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getLibClassCSRule()); } setWithLastConsumed(current, "isAbstract", true, "abstract"); } } } break; } otherlv_1=(Token)match(input,36,FollowSets000.FOLLOW_36_in_ruleLibClassCS2040); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getLibClassCSAccess().getTypeKeyword_1()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:860:1: ( (lv_name_2_0= ruleAnyName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:861:1: (lv_name_2_0= ruleAnyName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:861:1: (lv_name_2_0= ruleAnyName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:862:3: lv_name_2_0= ruleAnyName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibClassCSAccess().getNameAnyNameParserRuleCall_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleAnyName_in_ruleLibClassCS2061); lv_name_2_0=ruleAnyName(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibClassCSRule()); } set( current, "name", lv_name_2_0, "AnyName"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:878:2: ( (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) )? int alt14=2; int LA14_0 = input.LA(1); if ( (LA14_0==43) ) { alt14=1; } switch (alt14) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:879:1: (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:879:1: (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:880:3: lv_ownedSignature_3_0= ruleTemplateSignatureCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibClassCSAccess().getOwnedSignatureTemplateSignatureCSParserRuleCall_3_0()); } pushFollow(FollowSets000.FOLLOW_ruleTemplateSignatureCS_in_ruleLibClassCS2082); lv_ownedSignature_3_0=ruleTemplateSignatureCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibClassCSRule()); } set( current, "ownedSignature", lv_ownedSignature_3_0, "TemplateSignatureCS"); afterParserOrEnumRuleCall(); } } } break; } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:896:3: (otherlv_4= ':' ( ( ruleAnyName ) ) )? int alt15=2; int LA15_0 = input.LA(1); if ( (LA15_0==42) ) { alt15=1; } switch (alt15) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:896:5: otherlv_4= ':' ( ( ruleAnyName ) ) { otherlv_4=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleLibClassCS2096); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_4, grammarAccess.getLibClassCSAccess().getColonKeyword_4_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:900:1: ( ( ruleAnyName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:901:1: ( ruleAnyName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:901:1: ( ruleAnyName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:902:3: ruleAnyName { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getLibClassCSRule()); } } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibClassCSAccess().getMetaclassNameMetaclassNameCSCrossReference_4_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleAnyName_in_ruleLibClassCS2123); ruleAnyName(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { afterParserOrEnumRuleCall(); } } } } break; } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:918:4: (otherlv_6= 'conformsTo' ( (lv_ownedSuperTypes_7_0= ruleTypedRefCS ) ) (otherlv_8= ',' ( (lv_ownedSuperTypes_9_0= ruleTypedRefCS ) ) )* )? int alt17=2; int LA17_0 = input.LA(1); if ( (LA17_0==19) ) { alt17=1; } switch (alt17) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:918:6: otherlv_6= 'conformsTo' ( (lv_ownedSuperTypes_7_0= ruleTypedRefCS ) ) (otherlv_8= ',' ( (lv_ownedSuperTypes_9_0= ruleTypedRefCS ) ) )* { otherlv_6=(Token)match(input,19,FollowSets000.FOLLOW_19_in_ruleLibClassCS2138); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_6, grammarAccess.getLibClassCSAccess().getConformsToKeyword_5_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:922:1: ( (lv_ownedSuperTypes_7_0= ruleTypedRefCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:923:1: (lv_ownedSuperTypes_7_0= ruleTypedRefCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:923:1: (lv_ownedSuperTypes_7_0= ruleTypedRefCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:924:3: lv_ownedSuperTypes_7_0= ruleTypedRefCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibClassCSAccess().getOwnedSuperTypesTypedRefCSParserRuleCall_5_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypedRefCS_in_ruleLibClassCS2159); lv_ownedSuperTypes_7_0=ruleTypedRefCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibClassCSRule()); } add( current, "ownedSuperTypes", lv_ownedSuperTypes_7_0, "TypedRefCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:940:2: (otherlv_8= ',' ( (lv_ownedSuperTypes_9_0= ruleTypedRefCS ) ) )* loop16: do { int alt16=2; int LA16_0 = input.LA(1); if ( (LA16_0==44) ) { alt16=1; } switch (alt16) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:940:4: otherlv_8= ',' ( (lv_ownedSuperTypes_9_0= ruleTypedRefCS ) ) { otherlv_8=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleLibClassCS2172); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_8, grammarAccess.getLibClassCSAccess().getCommaKeyword_5_2_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:944:1: ( (lv_ownedSuperTypes_9_0= ruleTypedRefCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:945:1: (lv_ownedSuperTypes_9_0= ruleTypedRefCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:945:1: (lv_ownedSuperTypes_9_0= ruleTypedRefCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:946:3: lv_ownedSuperTypes_9_0= ruleTypedRefCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibClassCSAccess().getOwnedSuperTypesTypedRefCSParserRuleCall_5_2_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypedRefCS_in_ruleLibClassCS2193); lv_ownedSuperTypes_9_0=ruleTypedRefCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibClassCSRule()); } add( current, "ownedSuperTypes", lv_ownedSuperTypes_9_0, "TypedRefCS"); afterParserOrEnumRuleCall(); } } } } break; default : break loop16; } } while (true); } break; } otherlv_10=(Token)match(input,46,FollowSets000.FOLLOW_46_in_ruleLibClassCS2209); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_10, grammarAccess.getLibClassCSAccess().getLeftCurlyBracketKeyword_6()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:966:1: ( ( (lv_ownedOperations_11_0= ruleOperationCS ) ) | ( (lv_ownedProperties_12_0= ruleLibPropertyCS ) ) | ( (lv_ownedConstraints_13_0= ruleInvCS ) ) | ( (lv_ownedAnnotations_14_0= ruleAnnotationElementCS ) ) )* loop18: do { int alt18=5; switch ( input.LA(1) ) { case 25: case 28: case 50: { alt18=1; } break; case 35: { int LA18_3 = input.LA(2); if ( (LA18_3==33) ) { alt18=2; } else if ( (LA18_3==28) ) { alt18=1; } } break; case 33: { alt18=2; } break; case 23: { alt18=3; } break; case 18: case 20: { alt18=4; } break; } switch (alt18) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:966:2: ( (lv_ownedOperations_11_0= ruleOperationCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:966:2: ( (lv_ownedOperations_11_0= ruleOperationCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:967:1: (lv_ownedOperations_11_0= ruleOperationCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:967:1: (lv_ownedOperations_11_0= ruleOperationCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:968:3: lv_ownedOperations_11_0= ruleOperationCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibClassCSAccess().getOwnedOperationsOperationCSParserRuleCall_7_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleOperationCS_in_ruleLibClassCS2231); lv_ownedOperations_11_0=ruleOperationCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibClassCSRule()); } add( current, "ownedOperations", lv_ownedOperations_11_0, "OperationCS"); afterParserOrEnumRuleCall(); } } } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:985:6: ( (lv_ownedProperties_12_0= ruleLibPropertyCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:985:6: ( (lv_ownedProperties_12_0= ruleLibPropertyCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:986:1: (lv_ownedProperties_12_0= ruleLibPropertyCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:986:1: (lv_ownedProperties_12_0= ruleLibPropertyCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:987:3: lv_ownedProperties_12_0= ruleLibPropertyCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibClassCSAccess().getOwnedPropertiesLibPropertyCSParserRuleCall_7_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleLibPropertyCS_in_ruleLibClassCS2258); lv_ownedProperties_12_0=ruleLibPropertyCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibClassCSRule()); } add( current, "ownedProperties", lv_ownedProperties_12_0, "LibPropertyCS"); afterParserOrEnumRuleCall(); } } } } break; case 3 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1004:6: ( (lv_ownedConstraints_13_0= ruleInvCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1004:6: ( (lv_ownedConstraints_13_0= ruleInvCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1005:1: (lv_ownedConstraints_13_0= ruleInvCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1005:1: (lv_ownedConstraints_13_0= ruleInvCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1006:3: lv_ownedConstraints_13_0= ruleInvCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibClassCSAccess().getOwnedConstraintsInvCSParserRuleCall_7_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleInvCS_in_ruleLibClassCS2285); lv_ownedConstraints_13_0=ruleInvCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibClassCSRule()); } add( current, "ownedConstraints", lv_ownedConstraints_13_0, "InvCS"); afterParserOrEnumRuleCall(); } } } } break; case 4 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1023:6: ( (lv_ownedAnnotations_14_0= ruleAnnotationElementCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1023:6: ( (lv_ownedAnnotations_14_0= ruleAnnotationElementCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1024:1: (lv_ownedAnnotations_14_0= ruleAnnotationElementCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1024:1: (lv_ownedAnnotations_14_0= ruleAnnotationElementCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1025:3: lv_ownedAnnotations_14_0= ruleAnnotationElementCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibClassCSAccess().getOwnedAnnotationsAnnotationElementCSParserRuleCall_7_3_0()); } pushFollow(FollowSets000.FOLLOW_ruleAnnotationElementCS_in_ruleLibClassCS2312); lv_ownedAnnotations_14_0=ruleAnnotationElementCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibClassCSRule()); } add( current, "ownedAnnotations", lv_ownedAnnotations_14_0, "AnnotationElementCS"); afterParserOrEnumRuleCall(); } } } } break; default : break loop18; } } while (true); otherlv_15=(Token)match(input,47,FollowSets000.FOLLOW_47_in_ruleLibClassCS2326); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_15, grammarAccess.getLibClassCSAccess().getRightCurlyBracketKeyword_8()); } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleLibClassCS" // $ANTLR start "entryRuleClassCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1053:1: entryRuleClassCS returns [EObject current=null] : iv_ruleClassCS= ruleClassCS EOF ; public final EObject entryRuleClassCS() throws RecognitionException { EObject current = null; EObject iv_ruleClassCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1054:2: (iv_ruleClassCS= ruleClassCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1055:2: iv_ruleClassCS= ruleClassCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getClassCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleClassCS_in_entryRuleClassCS2362); iv_ruleClassCS=ruleClassCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleClassCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleClassCS2372); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleClassCS" // $ANTLR start "ruleClassCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1062:1: ruleClassCS returns [EObject current=null] : this_LibClassCS_0= ruleLibClassCS ; public final EObject ruleClassCS() throws RecognitionException { EObject current = null; EObject this_LibClassCS_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1065:28: (this_LibClassCS_0= ruleLibClassCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1067:2: this_LibClassCS_0= ruleLibClassCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getClassCSAccess().getLibClassCSParserRuleCall()); } pushFollow(FollowSets000.FOLLOW_ruleLibClassCS_in_ruleClassCS2421); this_LibClassCS_0=ruleLibClassCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current = this_LibClassCS_0; afterParserOrEnumRuleCall(); } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleClassCS" // $ANTLR start "entryRuleDetailCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1086:1: entryRuleDetailCS returns [EObject current=null] : iv_ruleDetailCS= ruleDetailCS EOF ; public final EObject entryRuleDetailCS() throws RecognitionException { EObject current = null; EObject iv_ruleDetailCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1087:2: (iv_ruleDetailCS= ruleDetailCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1088:2: iv_ruleDetailCS= ruleDetailCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getDetailCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleDetailCS_in_entryRuleDetailCS2455); iv_ruleDetailCS=ruleDetailCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleDetailCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleDetailCS2465); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleDetailCS" // $ANTLR start "ruleDetailCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1095:1: ruleDetailCS returns [EObject current=null] : ( ( ( (lv_name_0_1= ruleName | lv_name_0_2= RULE_SINGLE_QUOTED_STRING ) ) ) otherlv_1= '=' ( ( (lv_values_2_1= RULE_SINGLE_QUOTED_STRING | lv_values_2_2= RULE_ML_SINGLE_QUOTED_STRING ) ) )* ) ; public final EObject ruleDetailCS() throws RecognitionException { EObject current = null; Token lv_name_0_2=null; Token otherlv_1=null; Token lv_values_2_1=null; Token lv_values_2_2=null; AntlrDatatypeRuleToken lv_name_0_1 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1098:28: ( ( ( ( (lv_name_0_1= ruleName | lv_name_0_2= RULE_SINGLE_QUOTED_STRING ) ) ) otherlv_1= '=' ( ( (lv_values_2_1= RULE_SINGLE_QUOTED_STRING | lv_values_2_2= RULE_ML_SINGLE_QUOTED_STRING ) ) )* ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1099:1: ( ( ( (lv_name_0_1= ruleName | lv_name_0_2= RULE_SINGLE_QUOTED_STRING ) ) ) otherlv_1= '=' ( ( (lv_values_2_1= RULE_SINGLE_QUOTED_STRING | lv_values_2_2= RULE_ML_SINGLE_QUOTED_STRING ) ) )* ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1099:1: ( ( ( (lv_name_0_1= ruleName | lv_name_0_2= RULE_SINGLE_QUOTED_STRING ) ) ) otherlv_1= '=' ( ( (lv_values_2_1= RULE_SINGLE_QUOTED_STRING | lv_values_2_2= RULE_ML_SINGLE_QUOTED_STRING ) ) )* ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1099:2: ( ( (lv_name_0_1= ruleName | lv_name_0_2= RULE_SINGLE_QUOTED_STRING ) ) ) otherlv_1= '=' ( ( (lv_values_2_1= RULE_SINGLE_QUOTED_STRING | lv_values_2_2= RULE_ML_SINGLE_QUOTED_STRING ) ) )* { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1099:2: ( ( (lv_name_0_1= ruleName | lv_name_0_2= RULE_SINGLE_QUOTED_STRING ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1100:1: ( (lv_name_0_1= ruleName | lv_name_0_2= RULE_SINGLE_QUOTED_STRING ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1100:1: ( (lv_name_0_1= ruleName | lv_name_0_2= RULE_SINGLE_QUOTED_STRING ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1101:1: (lv_name_0_1= ruleName | lv_name_0_2= RULE_SINGLE_QUOTED_STRING ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1101:1: (lv_name_0_1= ruleName | lv_name_0_2= RULE_SINGLE_QUOTED_STRING ) int alt19=2; int LA19_0 = input.LA(1); if ( (LA19_0==RULE_DOUBLE_QUOTED_STRING||(LA19_0>=RULE_SIMPLE_ID && LA19_0<=RULE_ESCAPED_ID)||(LA19_0>=17 && LA19_0<=37)||(LA19_0>=55 && LA19_0<=65)||(LA19_0>=79 && LA19_0<=91)) ) { alt19=1; } else if ( (LA19_0==RULE_SINGLE_QUOTED_STRING) ) { alt19=2; } else { 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1102:3: lv_name_0_1= ruleName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getDetailCSAccess().getNameNameParserRuleCall_0_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleName_in_ruleDetailCS2513); lv_name_0_1=ruleName(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getDetailCSRule()); } set( current, "name", lv_name_0_1, "Name"); afterParserOrEnumRuleCall(); } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1117:8: lv_name_0_2= RULE_SINGLE_QUOTED_STRING { lv_name_0_2=(Token)match(input,RULE_SINGLE_QUOTED_STRING,FollowSets000.FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleDetailCS2528); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(lv_name_0_2, grammarAccess.getDetailCSAccess().getNameSINGLE_QUOTED_STRINGTerminalRuleCall_0_0_1()); } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getDetailCSRule()); } setWithLastConsumed( current, "name", lv_name_0_2, "SINGLE_QUOTED_STRING"); } } break; } } } otherlv_1=(Token)match(input,48,FollowSets000.FOLLOW_48_in_ruleDetailCS2548); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getDetailCSAccess().getEqualsSignKeyword_1()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1139:1: ( ( (lv_values_2_1= RULE_SINGLE_QUOTED_STRING | lv_values_2_2= RULE_ML_SINGLE_QUOTED_STRING ) ) )* loop21: do { int alt21=2; int LA21_0 = input.LA(1); if ( ((LA21_0>=RULE_SINGLE_QUOTED_STRING && LA21_0<=RULE_ML_SINGLE_QUOTED_STRING)) ) { alt21=1; } switch (alt21) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1140:1: ( (lv_values_2_1= RULE_SINGLE_QUOTED_STRING | lv_values_2_2= RULE_ML_SINGLE_QUOTED_STRING ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1140:1: ( (lv_values_2_1= RULE_SINGLE_QUOTED_STRING | lv_values_2_2= RULE_ML_SINGLE_QUOTED_STRING ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1141:1: (lv_values_2_1= RULE_SINGLE_QUOTED_STRING | lv_values_2_2= RULE_ML_SINGLE_QUOTED_STRING ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1141:1: (lv_values_2_1= RULE_SINGLE_QUOTED_STRING | lv_values_2_2= RULE_ML_SINGLE_QUOTED_STRING ) int alt20=2; int LA20_0 = input.LA(1); if ( (LA20_0==RULE_SINGLE_QUOTED_STRING) ) { alt20=1; } else if ( (LA20_0==RULE_ML_SINGLE_QUOTED_STRING) ) { alt20=2; } else { if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 20, 0, input); throw nvae; } switch (alt20) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1142:3: lv_values_2_1= RULE_SINGLE_QUOTED_STRING { lv_values_2_1=(Token)match(input,RULE_SINGLE_QUOTED_STRING,FollowSets000.FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleDetailCS2567); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(lv_values_2_1, grammarAccess.getDetailCSAccess().getValuesSINGLE_QUOTED_STRINGTerminalRuleCall_2_0_0()); } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getDetailCSRule()); } addWithLastConsumed( current, "values", lv_values_2_1, "SINGLE_QUOTED_STRING"); } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1157:8: lv_values_2_2= RULE_ML_SINGLE_QUOTED_STRING { lv_values_2_2=(Token)match(input,RULE_ML_SINGLE_QUOTED_STRING,FollowSets000.FOLLOW_RULE_ML_SINGLE_QUOTED_STRING_in_ruleDetailCS2587); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(lv_values_2_2, grammarAccess.getDetailCSAccess().getValuesML_SINGLE_QUOTED_STRINGTerminalRuleCall_2_0_1()); } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getDetailCSRule()); } addWithLastConsumed( current, "values", lv_values_2_2, "ML_SINGLE_QUOTED_STRING"); } } break; } } } break; default : break loop21; } } while (true); } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleDetailCS" // $ANTLR start "entryRuleDocumentationCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1183:1: entryRuleDocumentationCS returns [EObject current=null] : iv_ruleDocumentationCS= ruleDocumentationCS EOF ; public final EObject entryRuleDocumentationCS() throws RecognitionException { EObject current = null; EObject iv_ruleDocumentationCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1184:2: (iv_ruleDocumentationCS= ruleDocumentationCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1185:2: iv_ruleDocumentationCS= ruleDocumentationCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getDocumentationCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleDocumentationCS_in_entryRuleDocumentationCS2632); iv_ruleDocumentationCS=ruleDocumentationCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleDocumentationCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleDocumentationCS2642); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleDocumentationCS" // $ANTLR start "ruleDocumentationCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1192:1: ruleDocumentationCS returns [EObject current=null] : ( () otherlv_1= 'documentation' ( (lv_value_2_0= RULE_SINGLE_QUOTED_STRING ) )? (otherlv_3= '(' ( (lv_ownedDetails_4_0= ruleDetailCS ) ) (otherlv_5= ',' ( (lv_ownedDetails_6_0= ruleDetailCS ) ) )* otherlv_7= ')' )? otherlv_8= ';' ) ; public final EObject ruleDocumentationCS() throws RecognitionException { EObject current = null; Token otherlv_1=null; Token lv_value_2_0=null; Token otherlv_3=null; Token otherlv_5=null; Token otherlv_7=null; Token otherlv_8=null; EObject lv_ownedDetails_4_0 = null; EObject lv_ownedDetails_6_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1195:28: ( ( () otherlv_1= 'documentation' ( (lv_value_2_0= RULE_SINGLE_QUOTED_STRING ) )? (otherlv_3= '(' ( (lv_ownedDetails_4_0= ruleDetailCS ) ) (otherlv_5= ',' ( (lv_ownedDetails_6_0= ruleDetailCS ) ) )* otherlv_7= ')' )? otherlv_8= ';' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1196:1: ( () otherlv_1= 'documentation' ( (lv_value_2_0= RULE_SINGLE_QUOTED_STRING ) )? (otherlv_3= '(' ( (lv_ownedDetails_4_0= ruleDetailCS ) ) (otherlv_5= ',' ( (lv_ownedDetails_6_0= ruleDetailCS ) ) )* otherlv_7= ')' )? otherlv_8= ';' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1196:1: ( () otherlv_1= 'documentation' ( (lv_value_2_0= RULE_SINGLE_QUOTED_STRING ) )? (otherlv_3= '(' ( (lv_ownedDetails_4_0= ruleDetailCS ) ) (otherlv_5= ',' ( (lv_ownedDetails_6_0= ruleDetailCS ) ) )* otherlv_7= ')' )? otherlv_8= ';' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1196:2: () otherlv_1= 'documentation' ( (lv_value_2_0= RULE_SINGLE_QUOTED_STRING ) )? (otherlv_3= '(' ( (lv_ownedDetails_4_0= ruleDetailCS ) ) (otherlv_5= ',' ( (lv_ownedDetails_6_0= ruleDetailCS ) ) )* otherlv_7= ')' )? otherlv_8= ';' { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1196:2: () // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1197:2: { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { current = forceCreateModelElement( grammarAccess.getDocumentationCSAccess().getDocumentationCSAction_0(), current); } } otherlv_1=(Token)match(input,20,FollowSets000.FOLLOW_20_in_ruleDocumentationCS2691); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getDocumentationCSAccess().getDocumentationKeyword_1()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1209:1: ( (lv_value_2_0= RULE_SINGLE_QUOTED_STRING ) )? int alt22=2; int LA22_0 = input.LA(1); if ( (LA22_0==RULE_SINGLE_QUOTED_STRING) ) { alt22=1; } switch (alt22) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1210:1: (lv_value_2_0= RULE_SINGLE_QUOTED_STRING ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1210:1: (lv_value_2_0= RULE_SINGLE_QUOTED_STRING ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1211:3: lv_value_2_0= RULE_SINGLE_QUOTED_STRING { lv_value_2_0=(Token)match(input,RULE_SINGLE_QUOTED_STRING,FollowSets000.FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleDocumentationCS2708); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(lv_value_2_0, grammarAccess.getDocumentationCSAccess().getValueSINGLE_QUOTED_STRINGTerminalRuleCall_2_0()); } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getDocumentationCSRule()); } setWithLastConsumed( current, "value", lv_value_2_0, "SINGLE_QUOTED_STRING"); } } } break; } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1227:3: (otherlv_3= '(' ( (lv_ownedDetails_4_0= ruleDetailCS ) ) (otherlv_5= ',' ( (lv_ownedDetails_6_0= ruleDetailCS ) ) )* otherlv_7= ')' )? int alt24=2; int LA24_0 = input.LA(1); if ( (LA24_0==43) ) { alt24=1; } switch (alt24) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1227:5: otherlv_3= '(' ( (lv_ownedDetails_4_0= ruleDetailCS ) ) (otherlv_5= ',' ( (lv_ownedDetails_6_0= ruleDetailCS ) ) )* otherlv_7= ')' { otherlv_3=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleDocumentationCS2727); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_3, grammarAccess.getDocumentationCSAccess().getLeftParenthesisKeyword_3_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1231:1: ( (lv_ownedDetails_4_0= ruleDetailCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1232:1: (lv_ownedDetails_4_0= ruleDetailCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1232:1: (lv_ownedDetails_4_0= ruleDetailCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1233:3: lv_ownedDetails_4_0= ruleDetailCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getDocumentationCSAccess().getOwnedDetailsDetailCSParserRuleCall_3_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleDetailCS_in_ruleDocumentationCS2748); lv_ownedDetails_4_0=ruleDetailCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getDocumentationCSRule()); } add( current, "ownedDetails", lv_ownedDetails_4_0, "DetailCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1249:2: (otherlv_5= ',' ( (lv_ownedDetails_6_0= ruleDetailCS ) ) )* loop23: do { int alt23=2; int LA23_0 = input.LA(1); if ( (LA23_0==44) ) { alt23=1; } switch (alt23) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1249:4: otherlv_5= ',' ( (lv_ownedDetails_6_0= ruleDetailCS ) ) { otherlv_5=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleDocumentationCS2761); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_5, grammarAccess.getDocumentationCSAccess().getCommaKeyword_3_2_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1253:1: ( (lv_ownedDetails_6_0= ruleDetailCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1254:1: (lv_ownedDetails_6_0= ruleDetailCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1254:1: (lv_ownedDetails_6_0= ruleDetailCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1255:3: lv_ownedDetails_6_0= ruleDetailCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getDocumentationCSAccess().getOwnedDetailsDetailCSParserRuleCall_3_2_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleDetailCS_in_ruleDocumentationCS2782); lv_ownedDetails_6_0=ruleDetailCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getDocumentationCSRule()); } add( current, "ownedDetails", lv_ownedDetails_6_0, "DetailCS"); afterParserOrEnumRuleCall(); } } } } break; default : break loop23; } } while (true); otherlv_7=(Token)match(input,45,FollowSets000.FOLLOW_45_in_ruleDocumentationCS2796); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_7, grammarAccess.getDocumentationCSAccess().getRightParenthesisKeyword_3_3()); } } break; } otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleDocumentationCS2810); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_8, grammarAccess.getDocumentationCSAccess().getSemicolonKeyword_4()); } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleDocumentationCS" // $ANTLR start "entryRuleImportCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1287: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1288:2: (iv_ruleImportCS= ruleImportCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1289:2: iv_ruleImportCS= ruleImportCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getImportCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleImportCS_in_entryRuleImportCS2846); iv_ruleImportCS=ruleImportCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleImportCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleImportCS2856); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1296:1: ruleImportCS returns [EObject current=null] : (otherlv_0= 'import' ( ( (lv_name_1_0= ruleIdentifier ) ) otherlv_2= ':' )? ( (lv_ownedPathName_3_0= ruleURIPathNameCS ) ) ( (lv_isAll_4_0= '::*' ) )? ) ; public final EObject ruleImportCS() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_2=null; Token lv_isAll_4_0=null; AntlrDatatypeRuleToken lv_name_1_0 = null; EObject lv_ownedPathName_3_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1299:28: ( (otherlv_0= 'import' ( ( (lv_name_1_0= ruleIdentifier ) ) otherlv_2= ':' )? ( (lv_ownedPathName_3_0= ruleURIPathNameCS ) ) ( (lv_isAll_4_0= '::*' ) )? ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1300:1: (otherlv_0= 'import' ( ( (lv_name_1_0= ruleIdentifier ) ) otherlv_2= ':' )? ( (lv_ownedPathName_3_0= ruleURIPathNameCS ) ) ( (lv_isAll_4_0= '::*' ) )? ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1300:1: (otherlv_0= 'import' ( ( (lv_name_1_0= ruleIdentifier ) ) otherlv_2= ':' )? ( (lv_ownedPathName_3_0= ruleURIPathNameCS ) ) ( (lv_isAll_4_0= '::*' ) )? ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1300:3: otherlv_0= 'import' ( ( (lv_name_1_0= ruleIdentifier ) ) otherlv_2= ':' )? ( (lv_ownedPathName_3_0= ruleURIPathNameCS ) ) ( (lv_isAll_4_0= '::*' ) )? { otherlv_0=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleImportCS2893); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_0, grammarAccess.getImportCSAccess().getImportKeyword_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1304:1: ( ( (lv_name_1_0= ruleIdentifier ) ) otherlv_2= ':' )? int alt25=2; alt25 = dfa25.predict(input); switch (alt25) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1304:2: ( (lv_name_1_0= ruleIdentifier ) ) otherlv_2= ':' { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1304:2: ( (lv_name_1_0= ruleIdentifier ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1305:1: (lv_name_1_0= ruleIdentifier ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1305:1: (lv_name_1_0= ruleIdentifier ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1306:3: lv_name_1_0= ruleIdentifier { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getImportCSAccess().getNameIdentifierParserRuleCall_1_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleIdentifier_in_ruleImportCS2915); lv_name_1_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_1_0, "Identifier"); afterParserOrEnumRuleCall(); } } } otherlv_2=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleImportCS2927); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_2, grammarAccess.getImportCSAccess().getColonKeyword_1_1()); } } break; } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1326:3: ( (lv_ownedPathName_3_0= ruleURIPathNameCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1327:1: (lv_ownedPathName_3_0= ruleURIPathNameCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1327:1: (lv_ownedPathName_3_0= ruleURIPathNameCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1328:3: lv_ownedPathName_3_0= ruleURIPathNameCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getImportCSAccess().getOwnedPathNameURIPathNameCSParserRuleCall_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleURIPathNameCS_in_ruleImportCS2950); lv_ownedPathName_3_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_3_0, "URIPathNameCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1344:2: ( (lv_isAll_4_0= '::*' ) )? int alt26=2; int LA26_0 = input.LA(1); if ( (LA26_0==49) ) { alt26=1; } switch (alt26) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1345:1: (lv_isAll_4_0= '::*' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1345:1: (lv_isAll_4_0= '::*' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1346:3: lv_isAll_4_0= '::*' { lv_isAll_4_0=(Token)match(input,49,FollowSets000.FOLLOW_49_in_ruleImportCS2968); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(lv_isAll_4_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 "entryRuleInvCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1367:1: entryRuleInvCS returns [EObject current=null] : iv_ruleInvCS= ruleInvCS EOF ; public final EObject entryRuleInvCS() throws RecognitionException { EObject current = null; EObject iv_ruleInvCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1368:2: (iv_ruleInvCS= ruleInvCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1369:2: iv_ruleInvCS= ruleInvCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getInvCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleInvCS_in_entryRuleInvCS3018); iv_ruleInvCS=ruleInvCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleInvCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleInvCS3028); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleInvCS" // $ANTLR start "ruleInvCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1376:1: ruleInvCS returns [EObject current=null] : ( ( (lv_stereotype_0_0= 'inv' ) ) ( ( (lv_name_1_0= ruleUnrestrictedName ) ) (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? )? otherlv_5= ':' ( (lv_ownedSpecification_6_0= ruleSpecificationCS ) ) otherlv_7= ';' ) ; public final EObject ruleInvCS() throws RecognitionException { EObject current = null; Token lv_stereotype_0_0=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_5=null; Token otherlv_7=null; AntlrDatatypeRuleToken lv_name_1_0 = null; EObject lv_ownedMessageSpecification_3_0 = null; EObject lv_ownedSpecification_6_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1379:28: ( ( ( (lv_stereotype_0_0= 'inv' ) ) ( ( (lv_name_1_0= ruleUnrestrictedName ) ) (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? )? otherlv_5= ':' ( (lv_ownedSpecification_6_0= ruleSpecificationCS ) ) otherlv_7= ';' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1380:1: ( ( (lv_stereotype_0_0= 'inv' ) ) ( ( (lv_name_1_0= ruleUnrestrictedName ) ) (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? )? otherlv_5= ':' ( (lv_ownedSpecification_6_0= ruleSpecificationCS ) ) otherlv_7= ';' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1380:1: ( ( (lv_stereotype_0_0= 'inv' ) ) ( ( (lv_name_1_0= ruleUnrestrictedName ) ) (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? )? otherlv_5= ':' ( (lv_ownedSpecification_6_0= ruleSpecificationCS ) ) otherlv_7= ';' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1380:2: ( (lv_stereotype_0_0= 'inv' ) ) ( ( (lv_name_1_0= ruleUnrestrictedName ) ) (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? )? otherlv_5= ':' ( (lv_ownedSpecification_6_0= ruleSpecificationCS ) ) otherlv_7= ';' { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1380:2: ( (lv_stereotype_0_0= 'inv' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1381:1: (lv_stereotype_0_0= 'inv' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1381:1: (lv_stereotype_0_0= 'inv' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1382:3: lv_stereotype_0_0= 'inv' { lv_stereotype_0_0=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleInvCS3071); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(lv_stereotype_0_0, grammarAccess.getInvCSAccess().getStereotypeInvKeyword_0_0()); } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getInvCSRule()); } setWithLastConsumed(current, "stereotype", lv_stereotype_0_0, "inv"); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1395:2: ( ( (lv_name_1_0= ruleUnrestrictedName ) ) (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? )? int alt28=2; int LA28_0 = input.LA(1); if ( ((LA28_0>=RULE_SIMPLE_ID && LA28_0<=RULE_ESCAPED_ID)||(LA28_0>=17 && LA28_0<=37)) ) { alt28=1; } switch (alt28) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1395:3: ( (lv_name_1_0= ruleUnrestrictedName ) ) (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1395:3: ( (lv_name_1_0= ruleUnrestrictedName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1396:1: (lv_name_1_0= ruleUnrestrictedName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1396:1: (lv_name_1_0= ruleUnrestrictedName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1397:3: lv_name_1_0= ruleUnrestrictedName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getInvCSAccess().getNameUnrestrictedNameParserRuleCall_1_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleInvCS3106); lv_name_1_0=ruleUnrestrictedName(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getInvCSRule()); } set( current, "name", lv_name_1_0, "UnrestrictedName"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1413:2: (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? int alt27=2; int LA27_0 = input.LA(1); if ( (LA27_0==43) ) { alt27=1; } switch (alt27) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1413:4: otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' { otherlv_2=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleInvCS3119); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_2, grammarAccess.getInvCSAccess().getLeftParenthesisKeyword_1_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1417:1: ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1418:1: (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1418:1: (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1419:3: lv_ownedMessageSpecification_3_0= ruleSpecificationCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getInvCSAccess().getOwnedMessageSpecificationSpecificationCSParserRuleCall_1_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleSpecificationCS_in_ruleInvCS3140); lv_ownedMessageSpecification_3_0=ruleSpecificationCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getInvCSRule()); } set( current, "ownedMessageSpecification", lv_ownedMessageSpecification_3_0, "SpecificationCS"); afterParserOrEnumRuleCall(); } } } otherlv_4=(Token)match(input,45,FollowSets000.FOLLOW_45_in_ruleInvCS3152); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_4, grammarAccess.getInvCSAccess().getRightParenthesisKeyword_1_1_2()); } } break; } } break; } otherlv_5=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleInvCS3168); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_5, grammarAccess.getInvCSAccess().getColonKeyword_2()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1443:1: ( (lv_ownedSpecification_6_0= ruleSpecificationCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1444:1: (lv_ownedSpecification_6_0= ruleSpecificationCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1444:1: (lv_ownedSpecification_6_0= ruleSpecificationCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1445:3: lv_ownedSpecification_6_0= ruleSpecificationCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getInvCSAccess().getOwnedSpecificationSpecificationCSParserRuleCall_3_0()); } pushFollow(FollowSets000.FOLLOW_ruleSpecificationCS_in_ruleInvCS3189); lv_ownedSpecification_6_0=ruleSpecificationCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getInvCSRule()); } set( current, "ownedSpecification", lv_ownedSpecification_6_0, "SpecificationCS"); afterParserOrEnumRuleCall(); } } } otherlv_7=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleInvCS3201); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_7, grammarAccess.getInvCSAccess().getSemicolonKeyword_4()); } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleInvCS" // $ANTLR start "entryRuleLibCoercionCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1473:1: entryRuleLibCoercionCS returns [EObject current=null] : iv_ruleLibCoercionCS= ruleLibCoercionCS EOF ; public final EObject entryRuleLibCoercionCS() throws RecognitionException { EObject current = null; EObject iv_ruleLibCoercionCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1474:2: (iv_ruleLibCoercionCS= ruleLibCoercionCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1475:2: iv_ruleLibCoercionCS= ruleLibCoercionCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibCoercionCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleLibCoercionCS_in_entryRuleLibCoercionCS3237); iv_ruleLibCoercionCS=ruleLibCoercionCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleLibCoercionCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLibCoercionCS3247); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleLibCoercionCS" // $ANTLR start "ruleLibCoercionCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1482:1: ruleLibCoercionCS returns [EObject current=null] : (otherlv_0= 'coercion' ( (lv_name_1_0= ruleName ) ) otherlv_2= '(' otherlv_3= ')' otherlv_4= ':' ( (lv_ownedType_5_0= ruleTypedMultiplicityRefCS ) ) (otherlv_6= '=>' ( (otherlv_7= RULE_SINGLE_QUOTED_STRING ) ) )? ( (otherlv_8= '{' ( ( (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) ) | ( (lv_ownedPreconditions_10_0= rulePostCS ) ) | ( (lv_ownedPostconditions_11_0= rulePreCS ) ) )* otherlv_12= '}' ) | otherlv_13= ';' ) ) ; public final EObject ruleLibCoercionCS() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_2=null; Token otherlv_3=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_7=null; Token otherlv_8=null; Token otherlv_12=null; Token otherlv_13=null; AntlrDatatypeRuleToken lv_name_1_0 = null; EObject lv_ownedType_5_0 = null; EObject lv_ownedAnnotations_9_0 = null; EObject lv_ownedPreconditions_10_0 = null; EObject lv_ownedPostconditions_11_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1485:28: ( (otherlv_0= 'coercion' ( (lv_name_1_0= ruleName ) ) otherlv_2= '(' otherlv_3= ')' otherlv_4= ':' ( (lv_ownedType_5_0= ruleTypedMultiplicityRefCS ) ) (otherlv_6= '=>' ( (otherlv_7= RULE_SINGLE_QUOTED_STRING ) ) )? ( (otherlv_8= '{' ( ( (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) ) | ( (lv_ownedPreconditions_10_0= rulePostCS ) ) | ( (lv_ownedPostconditions_11_0= rulePreCS ) ) )* otherlv_12= '}' ) | otherlv_13= ';' ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1486:1: (otherlv_0= 'coercion' ( (lv_name_1_0= ruleName ) ) otherlv_2= '(' otherlv_3= ')' otherlv_4= ':' ( (lv_ownedType_5_0= ruleTypedMultiplicityRefCS ) ) (otherlv_6= '=>' ( (otherlv_7= RULE_SINGLE_QUOTED_STRING ) ) )? ( (otherlv_8= '{' ( ( (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) ) | ( (lv_ownedPreconditions_10_0= rulePostCS ) ) | ( (lv_ownedPostconditions_11_0= rulePreCS ) ) )* otherlv_12= '}' ) | otherlv_13= ';' ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1486:1: (otherlv_0= 'coercion' ( (lv_name_1_0= ruleName ) ) otherlv_2= '(' otherlv_3= ')' otherlv_4= ':' ( (lv_ownedType_5_0= ruleTypedMultiplicityRefCS ) ) (otherlv_6= '=>' ( (otherlv_7= RULE_SINGLE_QUOTED_STRING ) ) )? ( (otherlv_8= '{' ( ( (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) ) | ( (lv_ownedPreconditions_10_0= rulePostCS ) ) | ( (lv_ownedPostconditions_11_0= rulePreCS ) ) )* otherlv_12= '}' ) | otherlv_13= ';' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1486:3: otherlv_0= 'coercion' ( (lv_name_1_0= ruleName ) ) otherlv_2= '(' otherlv_3= ')' otherlv_4= ':' ( (lv_ownedType_5_0= ruleTypedMultiplicityRefCS ) ) (otherlv_6= '=>' ( (otherlv_7= RULE_SINGLE_QUOTED_STRING ) ) )? ( (otherlv_8= '{' ( ( (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) ) | ( (lv_ownedPreconditions_10_0= rulePostCS ) ) | ( (lv_ownedPostconditions_11_0= rulePreCS ) ) )* otherlv_12= '}' ) | otherlv_13= ';' ) { otherlv_0=(Token)match(input,50,FollowSets000.FOLLOW_50_in_ruleLibCoercionCS3284); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_0, grammarAccess.getLibCoercionCSAccess().getCoercionKeyword_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1490:1: ( (lv_name_1_0= ruleName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1491:1: (lv_name_1_0= ruleName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1491:1: (lv_name_1_0= ruleName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1492:3: lv_name_1_0= ruleName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibCoercionCSAccess().getNameNameParserRuleCall_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleName_in_ruleLibCoercionCS3305); lv_name_1_0=ruleName(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibCoercionCSRule()); } set( current, "name", lv_name_1_0, "Name"); afterParserOrEnumRuleCall(); } } } otherlv_2=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleLibCoercionCS3317); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_2, grammarAccess.getLibCoercionCSAccess().getLeftParenthesisKeyword_2()); } otherlv_3=(Token)match(input,45,FollowSets000.FOLLOW_45_in_ruleLibCoercionCS3329); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_3, grammarAccess.getLibCoercionCSAccess().getRightParenthesisKeyword_3()); } otherlv_4=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleLibCoercionCS3341); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_4, grammarAccess.getLibCoercionCSAccess().getColonKeyword_4()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1520:1: ( (lv_ownedType_5_0= ruleTypedMultiplicityRefCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1521:1: (lv_ownedType_5_0= ruleTypedMultiplicityRefCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1521:1: (lv_ownedType_5_0= ruleTypedMultiplicityRefCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1522:3: lv_ownedType_5_0= ruleTypedMultiplicityRefCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibCoercionCSAccess().getOwnedTypeTypedMultiplicityRefCSParserRuleCall_5_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypedMultiplicityRefCS_in_ruleLibCoercionCS3362); lv_ownedType_5_0=ruleTypedMultiplicityRefCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibCoercionCSRule()); } set( current, "ownedType", lv_ownedType_5_0, "TypedMultiplicityRefCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1538:2: (otherlv_6= '=>' ( (otherlv_7= RULE_SINGLE_QUOTED_STRING ) ) )? int alt29=2; int LA29_0 = input.LA(1); if ( (LA29_0==51) ) { alt29=1; } switch (alt29) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1538:4: otherlv_6= '=>' ( (otherlv_7= RULE_SINGLE_QUOTED_STRING ) ) { otherlv_6=(Token)match(input,51,FollowSets000.FOLLOW_51_in_ruleLibCoercionCS3375); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_6, grammarAccess.getLibCoercionCSAccess().getEqualsSignGreaterThanSignKeyword_6_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1542:1: ( (otherlv_7= RULE_SINGLE_QUOTED_STRING ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1543:1: (otherlv_7= RULE_SINGLE_QUOTED_STRING ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1543:1: (otherlv_7= RULE_SINGLE_QUOTED_STRING ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1544:3: otherlv_7= RULE_SINGLE_QUOTED_STRING { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getLibCoercionCSRule()); } } otherlv_7=(Token)match(input,RULE_SINGLE_QUOTED_STRING,FollowSets000.FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleLibCoercionCS3399); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_7, grammarAccess.getLibCoercionCSAccess().getImplementationJavaClassCSCrossReference_6_1_0()); } } } } break; } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1558:4: ( (otherlv_8= '{' ( ( (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) ) | ( (lv_ownedPreconditions_10_0= rulePostCS ) ) | ( (lv_ownedPostconditions_11_0= rulePreCS ) ) )* otherlv_12= '}' ) | otherlv_13= ';' ) int alt31=2; int LA31_0 = input.LA(1); if ( (LA31_0==46) ) { alt31=1; } else if ( (LA31_0==16) ) { alt31=2; } else { if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 31, 0, input); throw nvae; } switch (alt31) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1558:5: (otherlv_8= '{' ( ( (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) ) | ( (lv_ownedPreconditions_10_0= rulePostCS ) ) | ( (lv_ownedPostconditions_11_0= rulePreCS ) ) )* otherlv_12= '}' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1558:5: (otherlv_8= '{' ( ( (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) ) | ( (lv_ownedPreconditions_10_0= rulePostCS ) ) | ( (lv_ownedPostconditions_11_0= rulePreCS ) ) )* otherlv_12= '}' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1558:7: otherlv_8= '{' ( ( (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) ) | ( (lv_ownedPreconditions_10_0= rulePostCS ) ) | ( (lv_ownedPostconditions_11_0= rulePreCS ) ) )* otherlv_12= '}' { otherlv_8=(Token)match(input,46,FollowSets000.FOLLOW_46_in_ruleLibCoercionCS3415); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_8, grammarAccess.getLibCoercionCSAccess().getLeftCurlyBracketKeyword_7_0_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1562:1: ( ( (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) ) | ( (lv_ownedPreconditions_10_0= rulePostCS ) ) | ( (lv_ownedPostconditions_11_0= rulePreCS ) ) )* loop30: do { int alt30=4; switch ( input.LA(1) ) { case 18: case 20: { alt30=1; } break; case 30: { alt30=2; } break; case 31: { alt30=3; } break; } switch (alt30) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1562:2: ( (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1562:2: ( (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1563:1: (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1563:1: (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1564:3: lv_ownedAnnotations_9_0= ruleAnnotationElementCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibCoercionCSAccess().getOwnedAnnotationsAnnotationElementCSParserRuleCall_7_0_1_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleAnnotationElementCS_in_ruleLibCoercionCS3437); lv_ownedAnnotations_9_0=ruleAnnotationElementCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibCoercionCSRule()); } add( current, "ownedAnnotations", lv_ownedAnnotations_9_0, "AnnotationElementCS"); afterParserOrEnumRuleCall(); } } } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1581:6: ( (lv_ownedPreconditions_10_0= rulePostCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1581:6: ( (lv_ownedPreconditions_10_0= rulePostCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1582:1: (lv_ownedPreconditions_10_0= rulePostCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1582:1: (lv_ownedPreconditions_10_0= rulePostCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1583:3: lv_ownedPreconditions_10_0= rulePostCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibCoercionCSAccess().getOwnedPreconditionsPostCSParserRuleCall_7_0_1_1_0()); } pushFollow(FollowSets000.FOLLOW_rulePostCS_in_ruleLibCoercionCS3464); lv_ownedPreconditions_10_0=rulePostCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibCoercionCSRule()); } add( current, "ownedPreconditions", lv_ownedPreconditions_10_0, "PostCS"); afterParserOrEnumRuleCall(); } } } } break; case 3 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1600:6: ( (lv_ownedPostconditions_11_0= rulePreCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1600:6: ( (lv_ownedPostconditions_11_0= rulePreCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1601:1: (lv_ownedPostconditions_11_0= rulePreCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1601:1: (lv_ownedPostconditions_11_0= rulePreCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1602:3: lv_ownedPostconditions_11_0= rulePreCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibCoercionCSAccess().getOwnedPostconditionsPreCSParserRuleCall_7_0_1_2_0()); } pushFollow(FollowSets000.FOLLOW_rulePreCS_in_ruleLibCoercionCS3491); lv_ownedPostconditions_11_0=rulePreCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibCoercionCSRule()); } add( current, "ownedPostconditions", lv_ownedPostconditions_11_0, "PreCS"); afterParserOrEnumRuleCall(); } } } } break; default : break loop30; } } while (true); otherlv_12=(Token)match(input,47,FollowSets000.FOLLOW_47_in_ruleLibCoercionCS3505); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_12, grammarAccess.getLibCoercionCSAccess().getRightCurlyBracketKeyword_7_0_2()); } } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1623:7: otherlv_13= ';' { otherlv_13=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleLibCoercionCS3524); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_13, grammarAccess.getLibCoercionCSAccess().getSemicolonKeyword_7_1()); } } break; } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleLibCoercionCS" // $ANTLR start "entryRuleLibIterationCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1635:1: entryRuleLibIterationCS returns [EObject current=null] : iv_ruleLibIterationCS= ruleLibIterationCS EOF ; public final EObject entryRuleLibIterationCS() throws RecognitionException { EObject current = null; EObject iv_ruleLibIterationCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1636:2: (iv_ruleLibIterationCS= ruleLibIterationCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1637:2: iv_ruleLibIterationCS= ruleLibIterationCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibIterationCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleLibIterationCS_in_entryRuleLibIterationCS3561); iv_ruleLibIterationCS=ruleLibIterationCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleLibIterationCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLibIterationCS3571); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleLibIterationCS" // $ANTLR start "ruleLibIterationCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1644:1: ruleLibIterationCS returns [EObject current=null] : (otherlv_0= 'iteration' ( (lv_name_1_0= ruleName ) ) ( (lv_ownedSignature_2_0= ruleTemplateSignatureCS ) )? otherlv_3= '(' ( (lv_ownedIterators_4_0= ruleIteratorCS ) ) (otherlv_5= ',' ( (lv_ownedIterators_6_0= ruleIteratorCS ) ) )* (otherlv_7= ';' ( (lv_ownedAccumulators_8_0= ruleAccumulatorCS ) ) (otherlv_9= ',' ( (lv_ownedAccumulators_10_0= ruleAccumulatorCS ) ) )* )? (otherlv_11= '|' ( (lv_ownedParameters_12_0= ruleParameterCS ) ) (otherlv_13= ',' ( (lv_ownedParameters_14_0= ruleParameterCS ) ) )* )? otherlv_15= ')' otherlv_16= ':' ( (lv_ownedType_17_0= ruleTypedMultiplicityRefCS ) ) ( (lv_isInvalidating_18_0= 'invalidating' ) )? ( (lv_isValidating_19_0= 'validating' ) )? (otherlv_20= '=>' ( (otherlv_21= RULE_SINGLE_QUOTED_STRING ) ) )? ( (otherlv_22= '{' ( ( (lv_ownedAnnotations_23_0= ruleAnnotationElementCS ) ) | ( (lv_ownedPreconditions_24_0= rulePostCS ) ) | ( (lv_ownedPostconditions_25_0= rulePreCS ) ) )* otherlv_26= '}' ) | otherlv_27= ';' ) ) ; public final EObject ruleLibIterationCS() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_3=null; Token otherlv_5=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_11=null; Token otherlv_13=null; Token otherlv_15=null; Token otherlv_16=null; Token lv_isInvalidating_18_0=null; Token lv_isValidating_19_0=null; Token otherlv_20=null; Token otherlv_21=null; Token otherlv_22=null; Token otherlv_26=null; Token otherlv_27=null; AntlrDatatypeRuleToken lv_name_1_0 = null; EObject lv_ownedSignature_2_0 = null; EObject lv_ownedIterators_4_0 = null; EObject lv_ownedIterators_6_0 = null; EObject lv_ownedAccumulators_8_0 = null; EObject lv_ownedAccumulators_10_0 = null; EObject lv_ownedParameters_12_0 = null; EObject lv_ownedParameters_14_0 = null; EObject lv_ownedType_17_0 = null; EObject lv_ownedAnnotations_23_0 = null; EObject lv_ownedPreconditions_24_0 = null; EObject lv_ownedPostconditions_25_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1647:28: ( (otherlv_0= 'iteration' ( (lv_name_1_0= ruleName ) ) ( (lv_ownedSignature_2_0= ruleTemplateSignatureCS ) )? otherlv_3= '(' ( (lv_ownedIterators_4_0= ruleIteratorCS ) ) (otherlv_5= ',' ( (lv_ownedIterators_6_0= ruleIteratorCS ) ) )* (otherlv_7= ';' ( (lv_ownedAccumulators_8_0= ruleAccumulatorCS ) ) (otherlv_9= ',' ( (lv_ownedAccumulators_10_0= ruleAccumulatorCS ) ) )* )? (otherlv_11= '|' ( (lv_ownedParameters_12_0= ruleParameterCS ) ) (otherlv_13= ',' ( (lv_ownedParameters_14_0= ruleParameterCS ) ) )* )? otherlv_15= ')' otherlv_16= ':' ( (lv_ownedType_17_0= ruleTypedMultiplicityRefCS ) ) ( (lv_isInvalidating_18_0= 'invalidating' ) )? ( (lv_isValidating_19_0= 'validating' ) )? (otherlv_20= '=>' ( (otherlv_21= RULE_SINGLE_QUOTED_STRING ) ) )? ( (otherlv_22= '{' ( ( (lv_ownedAnnotations_23_0= ruleAnnotationElementCS ) ) | ( (lv_ownedPreconditions_24_0= rulePostCS ) ) | ( (lv_ownedPostconditions_25_0= rulePreCS ) ) )* otherlv_26= '}' ) | otherlv_27= ';' ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1648:1: (otherlv_0= 'iteration' ( (lv_name_1_0= ruleName ) ) ( (lv_ownedSignature_2_0= ruleTemplateSignatureCS ) )? otherlv_3= '(' ( (lv_ownedIterators_4_0= ruleIteratorCS ) ) (otherlv_5= ',' ( (lv_ownedIterators_6_0= ruleIteratorCS ) ) )* (otherlv_7= ';' ( (lv_ownedAccumulators_8_0= ruleAccumulatorCS ) ) (otherlv_9= ',' ( (lv_ownedAccumulators_10_0= ruleAccumulatorCS ) ) )* )? (otherlv_11= '|' ( (lv_ownedParameters_12_0= ruleParameterCS ) ) (otherlv_13= ',' ( (lv_ownedParameters_14_0= ruleParameterCS ) ) )* )? otherlv_15= ')' otherlv_16= ':' ( (lv_ownedType_17_0= ruleTypedMultiplicityRefCS ) ) ( (lv_isInvalidating_18_0= 'invalidating' ) )? ( (lv_isValidating_19_0= 'validating' ) )? (otherlv_20= '=>' ( (otherlv_21= RULE_SINGLE_QUOTED_STRING ) ) )? ( (otherlv_22= '{' ( ( (lv_ownedAnnotations_23_0= ruleAnnotationElementCS ) ) | ( (lv_ownedPreconditions_24_0= rulePostCS ) ) | ( (lv_ownedPostconditions_25_0= rulePreCS ) ) )* otherlv_26= '}' ) | otherlv_27= ';' ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1648:1: (otherlv_0= 'iteration' ( (lv_name_1_0= ruleName ) ) ( (lv_ownedSignature_2_0= ruleTemplateSignatureCS ) )? otherlv_3= '(' ( (lv_ownedIterators_4_0= ruleIteratorCS ) ) (otherlv_5= ',' ( (lv_ownedIterators_6_0= ruleIteratorCS ) ) )* (otherlv_7= ';' ( (lv_ownedAccumulators_8_0= ruleAccumulatorCS ) ) (otherlv_9= ',' ( (lv_ownedAccumulators_10_0= ruleAccumulatorCS ) ) )* )? (otherlv_11= '|' ( (lv_ownedParameters_12_0= ruleParameterCS ) ) (otherlv_13= ',' ( (lv_ownedParameters_14_0= ruleParameterCS ) ) )* )? otherlv_15= ')' otherlv_16= ':' ( (lv_ownedType_17_0= ruleTypedMultiplicityRefCS ) ) ( (lv_isInvalidating_18_0= 'invalidating' ) )? ( (lv_isValidating_19_0= 'validating' ) )? (otherlv_20= '=>' ( (otherlv_21= RULE_SINGLE_QUOTED_STRING ) ) )? ( (otherlv_22= '{' ( ( (lv_ownedAnnotations_23_0= ruleAnnotationElementCS ) ) | ( (lv_ownedPreconditions_24_0= rulePostCS ) ) | ( (lv_ownedPostconditions_25_0= rulePreCS ) ) )* otherlv_26= '}' ) | otherlv_27= ';' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1648:3: otherlv_0= 'iteration' ( (lv_name_1_0= ruleName ) ) ( (lv_ownedSignature_2_0= ruleTemplateSignatureCS ) )? otherlv_3= '(' ( (lv_ownedIterators_4_0= ruleIteratorCS ) ) (otherlv_5= ',' ( (lv_ownedIterators_6_0= ruleIteratorCS ) ) )* (otherlv_7= ';' ( (lv_ownedAccumulators_8_0= ruleAccumulatorCS ) ) (otherlv_9= ',' ( (lv_ownedAccumulators_10_0= ruleAccumulatorCS ) ) )* )? (otherlv_11= '|' ( (lv_ownedParameters_12_0= ruleParameterCS ) ) (otherlv_13= ',' ( (lv_ownedParameters_14_0= ruleParameterCS ) ) )* )? otherlv_15= ')' otherlv_16= ':' ( (lv_ownedType_17_0= ruleTypedMultiplicityRefCS ) ) ( (lv_isInvalidating_18_0= 'invalidating' ) )? ( (lv_isValidating_19_0= 'validating' ) )? (otherlv_20= '=>' ( (otherlv_21= RULE_SINGLE_QUOTED_STRING ) ) )? ( (otherlv_22= '{' ( ( (lv_ownedAnnotations_23_0= ruleAnnotationElementCS ) ) | ( (lv_ownedPreconditions_24_0= rulePostCS ) ) | ( (lv_ownedPostconditions_25_0= rulePreCS ) ) )* otherlv_26= '}' ) | otherlv_27= ';' ) { otherlv_0=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleLibIterationCS3608); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_0, grammarAccess.getLibIterationCSAccess().getIterationKeyword_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1652:1: ( (lv_name_1_0= ruleName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1653:1: (lv_name_1_0= ruleName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1653:1: (lv_name_1_0= ruleName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1654:3: lv_name_1_0= ruleName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibIterationCSAccess().getNameNameParserRuleCall_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleName_in_ruleLibIterationCS3629); lv_name_1_0=ruleName(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibIterationCSRule()); } set( current, "name", lv_name_1_0, "Name"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1670:2: ( (lv_ownedSignature_2_0= ruleTemplateSignatureCS ) )? int alt32=2; alt32 = dfa32.predict(input); switch (alt32) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1671:1: (lv_ownedSignature_2_0= ruleTemplateSignatureCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1671:1: (lv_ownedSignature_2_0= ruleTemplateSignatureCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1672:3: lv_ownedSignature_2_0= ruleTemplateSignatureCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibIterationCSAccess().getOwnedSignatureTemplateSignatureCSParserRuleCall_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleTemplateSignatureCS_in_ruleLibIterationCS3650); lv_ownedSignature_2_0=ruleTemplateSignatureCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibIterationCSRule()); } set( current, "ownedSignature", lv_ownedSignature_2_0, "TemplateSignatureCS"); afterParserOrEnumRuleCall(); } } } break; } otherlv_3=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleLibIterationCS3663); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_3, grammarAccess.getLibIterationCSAccess().getLeftParenthesisKeyword_3()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1692:1: ( (lv_ownedIterators_4_0= ruleIteratorCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1693:1: (lv_ownedIterators_4_0= ruleIteratorCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1693:1: (lv_ownedIterators_4_0= ruleIteratorCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1694:3: lv_ownedIterators_4_0= ruleIteratorCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibIterationCSAccess().getOwnedIteratorsIteratorCSParserRuleCall_4_0()); } pushFollow(FollowSets000.FOLLOW_ruleIteratorCS_in_ruleLibIterationCS3684); lv_ownedIterators_4_0=ruleIteratorCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibIterationCSRule()); } add( current, "ownedIterators", lv_ownedIterators_4_0, "IteratorCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1710:2: (otherlv_5= ',' ( (lv_ownedIterators_6_0= ruleIteratorCS ) ) )* loop33: do { int alt33=2; int LA33_0 = input.LA(1); if ( (LA33_0==44) ) { alt33=1; } switch (alt33) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1710:4: otherlv_5= ',' ( (lv_ownedIterators_6_0= ruleIteratorCS ) ) { otherlv_5=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleLibIterationCS3697); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_5, grammarAccess.getLibIterationCSAccess().getCommaKeyword_5_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1714:1: ( (lv_ownedIterators_6_0= ruleIteratorCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1715:1: (lv_ownedIterators_6_0= ruleIteratorCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1715:1: (lv_ownedIterators_6_0= ruleIteratorCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1716:3: lv_ownedIterators_6_0= ruleIteratorCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibIterationCSAccess().getOwnedIteratorsIteratorCSParserRuleCall_5_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleIteratorCS_in_ruleLibIterationCS3718); lv_ownedIterators_6_0=ruleIteratorCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibIterationCSRule()); } add( current, "ownedIterators", lv_ownedIterators_6_0, "IteratorCS"); afterParserOrEnumRuleCall(); } } } } break; default : break loop33; } } while (true); // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1732:4: (otherlv_7= ';' ( (lv_ownedAccumulators_8_0= ruleAccumulatorCS ) ) (otherlv_9= ',' ( (lv_ownedAccumulators_10_0= ruleAccumulatorCS ) ) )* )? int alt35=2; int LA35_0 = input.LA(1); if ( (LA35_0==16) ) { alt35=1; } switch (alt35) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1732:6: otherlv_7= ';' ( (lv_ownedAccumulators_8_0= ruleAccumulatorCS ) ) (otherlv_9= ',' ( (lv_ownedAccumulators_10_0= ruleAccumulatorCS ) ) )* { otherlv_7=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleLibIterationCS3733); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_7, grammarAccess.getLibIterationCSAccess().getSemicolonKeyword_6_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1736:1: ( (lv_ownedAccumulators_8_0= ruleAccumulatorCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1737:1: (lv_ownedAccumulators_8_0= ruleAccumulatorCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1737:1: (lv_ownedAccumulators_8_0= ruleAccumulatorCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1738:3: lv_ownedAccumulators_8_0= ruleAccumulatorCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibIterationCSAccess().getOwnedAccumulatorsAccumulatorCSParserRuleCall_6_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleAccumulatorCS_in_ruleLibIterationCS3754); lv_ownedAccumulators_8_0=ruleAccumulatorCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibIterationCSRule()); } add( current, "ownedAccumulators", lv_ownedAccumulators_8_0, "AccumulatorCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1754:2: (otherlv_9= ',' ( (lv_ownedAccumulators_10_0= ruleAccumulatorCS ) ) )* loop34: do { int alt34=2; int LA34_0 = input.LA(1); if ( (LA34_0==44) ) { alt34=1; } switch (alt34) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1754:4: otherlv_9= ',' ( (lv_ownedAccumulators_10_0= ruleAccumulatorCS ) ) { otherlv_9=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleLibIterationCS3767); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_9, grammarAccess.getLibIterationCSAccess().getCommaKeyword_6_2_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1758:1: ( (lv_ownedAccumulators_10_0= ruleAccumulatorCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1759:1: (lv_ownedAccumulators_10_0= ruleAccumulatorCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1759:1: (lv_ownedAccumulators_10_0= ruleAccumulatorCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1760:3: lv_ownedAccumulators_10_0= ruleAccumulatorCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibIterationCSAccess().getOwnedAccumulatorsAccumulatorCSParserRuleCall_6_2_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleAccumulatorCS_in_ruleLibIterationCS3788); lv_ownedAccumulators_10_0=ruleAccumulatorCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibIterationCSRule()); } add( current, "ownedAccumulators", lv_ownedAccumulators_10_0, "AccumulatorCS"); afterParserOrEnumRuleCall(); } } } } break; default : break loop34; } } while (true); } break; } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1776:6: (otherlv_11= '|' ( (lv_ownedParameters_12_0= ruleParameterCS ) ) (otherlv_13= ',' ( (lv_ownedParameters_14_0= ruleParameterCS ) ) )* )? int alt37=2; int LA37_0 = input.LA(1); if ( (LA37_0==52) ) { alt37=1; } switch (alt37) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1776:8: otherlv_11= '|' ( (lv_ownedParameters_12_0= ruleParameterCS ) ) (otherlv_13= ',' ( (lv_ownedParameters_14_0= ruleParameterCS ) ) )* { otherlv_11=(Token)match(input,52,FollowSets000.FOLLOW_52_in_ruleLibIterationCS3805); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_11, grammarAccess.getLibIterationCSAccess().getVerticalLineKeyword_7_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1780:1: ( (lv_ownedParameters_12_0= ruleParameterCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1781:1: (lv_ownedParameters_12_0= ruleParameterCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1781:1: (lv_ownedParameters_12_0= ruleParameterCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1782:3: lv_ownedParameters_12_0= ruleParameterCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibIterationCSAccess().getOwnedParametersParameterCSParserRuleCall_7_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleParameterCS_in_ruleLibIterationCS3826); lv_ownedParameters_12_0=ruleParameterCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibIterationCSRule()); } add( current, "ownedParameters", lv_ownedParameters_12_0, "ParameterCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1798:2: (otherlv_13= ',' ( (lv_ownedParameters_14_0= ruleParameterCS ) ) )* loop36: do { int alt36=2; int LA36_0 = input.LA(1); if ( (LA36_0==44) ) { alt36=1; } switch (alt36) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1798:4: otherlv_13= ',' ( (lv_ownedParameters_14_0= ruleParameterCS ) ) { otherlv_13=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleLibIterationCS3839); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_13, grammarAccess.getLibIterationCSAccess().getCommaKeyword_7_2_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1802:1: ( (lv_ownedParameters_14_0= ruleParameterCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1803:1: (lv_ownedParameters_14_0= ruleParameterCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1803:1: (lv_ownedParameters_14_0= ruleParameterCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1804:3: lv_ownedParameters_14_0= ruleParameterCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibIterationCSAccess().getOwnedParametersParameterCSParserRuleCall_7_2_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleParameterCS_in_ruleLibIterationCS3860); lv_ownedParameters_14_0=ruleParameterCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibIterationCSRule()); } add( current, "ownedParameters", lv_ownedParameters_14_0, "ParameterCS"); afterParserOrEnumRuleCall(); } } } } break; default : break loop36; } } while (true); } break; } otherlv_15=(Token)match(input,45,FollowSets000.FOLLOW_45_in_ruleLibIterationCS3876); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_15, grammarAccess.getLibIterationCSAccess().getRightParenthesisKeyword_8()); } otherlv_16=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleLibIterationCS3888); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_16, grammarAccess.getLibIterationCSAccess().getColonKeyword_9()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1828:1: ( (lv_ownedType_17_0= ruleTypedMultiplicityRefCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1829:1: (lv_ownedType_17_0= ruleTypedMultiplicityRefCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1829:1: (lv_ownedType_17_0= ruleTypedMultiplicityRefCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1830:3: lv_ownedType_17_0= ruleTypedMultiplicityRefCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibIterationCSAccess().getOwnedTypeTypedMultiplicityRefCSParserRuleCall_10_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypedMultiplicityRefCS_in_ruleLibIterationCS3909); lv_ownedType_17_0=ruleTypedMultiplicityRefCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibIterationCSRule()); } set( current, "ownedType", lv_ownedType_17_0, "TypedMultiplicityRefCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1846:2: ( (lv_isInvalidating_18_0= 'invalidating' ) )? int alt38=2; int LA38_0 = input.LA(1); if ( (LA38_0==24) ) { alt38=1; } switch (alt38) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1847:1: (lv_isInvalidating_18_0= 'invalidating' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1847:1: (lv_isInvalidating_18_0= 'invalidating' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1848:3: lv_isInvalidating_18_0= 'invalidating' { lv_isInvalidating_18_0=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleLibIterationCS3927); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(lv_isInvalidating_18_0, grammarAccess.getLibIterationCSAccess().getIsInvalidatingInvalidatingKeyword_11_0()); } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getLibIterationCSRule()); } setWithLastConsumed(current, "isInvalidating", true, "invalidating"); } } } break; } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1861:3: ( (lv_isValidating_19_0= 'validating' ) )? int alt39=2; int LA39_0 = input.LA(1); if ( (LA39_0==37) ) { alt39=1; } switch (alt39) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1862:1: (lv_isValidating_19_0= 'validating' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1862:1: (lv_isValidating_19_0= 'validating' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1863:3: lv_isValidating_19_0= 'validating' { lv_isValidating_19_0=(Token)match(input,37,FollowSets000.FOLLOW_37_in_ruleLibIterationCS3959); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(lv_isValidating_19_0, grammarAccess.getLibIterationCSAccess().getIsValidatingValidatingKeyword_12_0()); } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getLibIterationCSRule()); } setWithLastConsumed(current, "isValidating", true, "validating"); } } } break; } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1876:3: (otherlv_20= '=>' ( (otherlv_21= RULE_SINGLE_QUOTED_STRING ) ) )? int alt40=2; int LA40_0 = input.LA(1); if ( (LA40_0==51) ) { alt40=1; } switch (alt40) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1876:5: otherlv_20= '=>' ( (otherlv_21= RULE_SINGLE_QUOTED_STRING ) ) { otherlv_20=(Token)match(input,51,FollowSets000.FOLLOW_51_in_ruleLibIterationCS3986); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_20, grammarAccess.getLibIterationCSAccess().getEqualsSignGreaterThanSignKeyword_13_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1880:1: ( (otherlv_21= RULE_SINGLE_QUOTED_STRING ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1881:1: (otherlv_21= RULE_SINGLE_QUOTED_STRING ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1881:1: (otherlv_21= RULE_SINGLE_QUOTED_STRING ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1882:3: otherlv_21= RULE_SINGLE_QUOTED_STRING { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getLibIterationCSRule()); } } otherlv_21=(Token)match(input,RULE_SINGLE_QUOTED_STRING,FollowSets000.FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleLibIterationCS4010); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_21, grammarAccess.getLibIterationCSAccess().getImplementationJavaClassCSCrossReference_13_1_0()); } } } } break; } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1896:4: ( (otherlv_22= '{' ( ( (lv_ownedAnnotations_23_0= ruleAnnotationElementCS ) ) | ( (lv_ownedPreconditions_24_0= rulePostCS ) ) | ( (lv_ownedPostconditions_25_0= rulePreCS ) ) )* otherlv_26= '}' ) | otherlv_27= ';' ) int alt42=2; int LA42_0 = input.LA(1); if ( (LA42_0==46) ) { alt42=1; } else if ( (LA42_0==16) ) { alt42=2; } else { if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 42, 0, input); throw nvae; } switch (alt42) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1896:5: (otherlv_22= '{' ( ( (lv_ownedAnnotations_23_0= ruleAnnotationElementCS ) ) | ( (lv_ownedPreconditions_24_0= rulePostCS ) ) | ( (lv_ownedPostconditions_25_0= rulePreCS ) ) )* otherlv_26= '}' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1896:5: (otherlv_22= '{' ( ( (lv_ownedAnnotations_23_0= ruleAnnotationElementCS ) ) | ( (lv_ownedPreconditions_24_0= rulePostCS ) ) | ( (lv_ownedPostconditions_25_0= rulePreCS ) ) )* otherlv_26= '}' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1896:7: otherlv_22= '{' ( ( (lv_ownedAnnotations_23_0= ruleAnnotationElementCS ) ) | ( (lv_ownedPreconditions_24_0= rulePostCS ) ) | ( (lv_ownedPostconditions_25_0= rulePreCS ) ) )* otherlv_26= '}' { otherlv_22=(Token)match(input,46,FollowSets000.FOLLOW_46_in_ruleLibIterationCS4026); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_22, grammarAccess.getLibIterationCSAccess().getLeftCurlyBracketKeyword_14_0_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1900:1: ( ( (lv_ownedAnnotations_23_0= ruleAnnotationElementCS ) ) | ( (lv_ownedPreconditions_24_0= rulePostCS ) ) | ( (lv_ownedPostconditions_25_0= rulePreCS ) ) )* loop41: do { int alt41=4; switch ( input.LA(1) ) { case 18: case 20: { alt41=1; } break; case 30: { alt41=2; } break; case 31: { alt41=3; } break; } switch (alt41) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1900:2: ( (lv_ownedAnnotations_23_0= ruleAnnotationElementCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1900:2: ( (lv_ownedAnnotations_23_0= ruleAnnotationElementCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1901:1: (lv_ownedAnnotations_23_0= ruleAnnotationElementCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1901:1: (lv_ownedAnnotations_23_0= ruleAnnotationElementCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1902:3: lv_ownedAnnotations_23_0= ruleAnnotationElementCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibIterationCSAccess().getOwnedAnnotationsAnnotationElementCSParserRuleCall_14_0_1_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleAnnotationElementCS_in_ruleLibIterationCS4048); lv_ownedAnnotations_23_0=ruleAnnotationElementCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibIterationCSRule()); } add( current, "ownedAnnotations", lv_ownedAnnotations_23_0, "AnnotationElementCS"); afterParserOrEnumRuleCall(); } } } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1919:6: ( (lv_ownedPreconditions_24_0= rulePostCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1919:6: ( (lv_ownedPreconditions_24_0= rulePostCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1920:1: (lv_ownedPreconditions_24_0= rulePostCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1920:1: (lv_ownedPreconditions_24_0= rulePostCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1921:3: lv_ownedPreconditions_24_0= rulePostCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibIterationCSAccess().getOwnedPreconditionsPostCSParserRuleCall_14_0_1_1_0()); } pushFollow(FollowSets000.FOLLOW_rulePostCS_in_ruleLibIterationCS4075); lv_ownedPreconditions_24_0=rulePostCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibIterationCSRule()); } add( current, "ownedPreconditions", lv_ownedPreconditions_24_0, "PostCS"); afterParserOrEnumRuleCall(); } } } } break; case 3 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1938:6: ( (lv_ownedPostconditions_25_0= rulePreCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1938:6: ( (lv_ownedPostconditions_25_0= rulePreCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1939:1: (lv_ownedPostconditions_25_0= rulePreCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1939:1: (lv_ownedPostconditions_25_0= rulePreCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1940:3: lv_ownedPostconditions_25_0= rulePreCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibIterationCSAccess().getOwnedPostconditionsPreCSParserRuleCall_14_0_1_2_0()); } pushFollow(FollowSets000.FOLLOW_rulePreCS_in_ruleLibIterationCS4102); lv_ownedPostconditions_25_0=rulePreCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibIterationCSRule()); } add( current, "ownedPostconditions", lv_ownedPostconditions_25_0, "PreCS"); afterParserOrEnumRuleCall(); } } } } break; default : break loop41; } } while (true); otherlv_26=(Token)match(input,47,FollowSets000.FOLLOW_47_in_ruleLibIterationCS4116); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_26, grammarAccess.getLibIterationCSAccess().getRightCurlyBracketKeyword_14_0_2()); } } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1961:7: otherlv_27= ';' { otherlv_27=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleLibIterationCS4135); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_27, grammarAccess.getLibIterationCSAccess().getSemicolonKeyword_14_1()); } } break; } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleLibIterationCS" // $ANTLR start "entryRuleIteratorCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1973:1: entryRuleIteratorCS returns [EObject current=null] : iv_ruleIteratorCS= ruleIteratorCS EOF ; public final EObject entryRuleIteratorCS() throws RecognitionException { EObject current = null; EObject iv_ruleIteratorCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1974:2: (iv_ruleIteratorCS= ruleIteratorCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1975:2: iv_ruleIteratorCS= ruleIteratorCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getIteratorCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleIteratorCS_in_entryRuleIteratorCS4172); iv_ruleIteratorCS=ruleIteratorCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleIteratorCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleIteratorCS4182); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleIteratorCS" // $ANTLR start "ruleIteratorCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1982:1: ruleIteratorCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleIdentifier ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) ) ; public final EObject ruleIteratorCS() 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1985:28: ( ( ( (lv_name_0_0= ruleIdentifier ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1986:1: ( ( (lv_name_0_0= ruleIdentifier ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1986:1: ( ( (lv_name_0_0= ruleIdentifier ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1986:2: ( (lv_name_0_0= ruleIdentifier ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1986:2: ( (lv_name_0_0= ruleIdentifier ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1987:1: (lv_name_0_0= ruleIdentifier ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1987:1: (lv_name_0_0= ruleIdentifier ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:1988:3: lv_name_0_0= ruleIdentifier { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getIteratorCSAccess().getNameIdentifierParserRuleCall_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleIdentifier_in_ruleIteratorCS4228); lv_name_0_0=ruleIdentifier(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getIteratorCSRule()); } set( current, "name", lv_name_0_0, "Identifier"); afterParserOrEnumRuleCall(); } } } otherlv_1=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleIteratorCS4240); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getIteratorCSAccess().getColonKeyword_1()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2008:1: ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2009:1: (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2009:1: (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2010:3: lv_ownedType_2_0= ruleTypedMultiplicityRefCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getIteratorCSAccess().getOwnedTypeTypedMultiplicityRefCSParserRuleCall_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypedMultiplicityRefCS_in_ruleIteratorCS4261); lv_ownedType_2_0=ruleTypedMultiplicityRefCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getIteratorCSRule()); } set( current, "ownedType", lv_ownedType_2_0, "TypedMultiplicityRefCS"); afterParserOrEnumRuleCall(); } } } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleIteratorCS" // $ANTLR start "entryRuleLambdaTypeCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2034: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2035:2: (iv_ruleLambdaTypeCS= ruleLambdaTypeCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2036:2: iv_ruleLambdaTypeCS= ruleLambdaTypeCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLambdaTypeCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleLambdaTypeCS_in_entryRuleLambdaTypeCS4297); iv_ruleLambdaTypeCS=ruleLambdaTypeCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleLambdaTypeCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLambdaTypeCS4307); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2043:1: ruleLambdaTypeCS returns [EObject current=null] : ( ( (lv_name_0_0= 'Lambda' ) ) ( (lv_ownedSignature_1_0= ruleTemplateSignatureCS ) )? ( (lv_ownedContextType_2_0= ruleLambdaContextTypeRefCS ) ) otherlv_3= '(' ( ( (lv_ownedParameterTypes_4_0= ruleTypedMultiplicityRefCS ) ) (otherlv_5= ',' ( (lv_ownedParameterTypes_6_0= ruleTypedMultiplicityRefCS ) ) )* )? otherlv_7= ')' otherlv_8= ':' ( (lv_ownedResultType_9_0= ruleTypedRefCS ) ) ) ; public final EObject ruleLambdaTypeCS() throws RecognitionException { EObject current = null; Token lv_name_0_0=null; Token otherlv_3=null; Token otherlv_5=null; Token otherlv_7=null; Token otherlv_8=null; EObject lv_ownedSignature_1_0 = null; EObject lv_ownedContextType_2_0 = null; EObject lv_ownedParameterTypes_4_0 = null; EObject lv_ownedParameterTypes_6_0 = null; EObject lv_ownedResultType_9_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2046:28: ( ( ( (lv_name_0_0= 'Lambda' ) ) ( (lv_ownedSignature_1_0= ruleTemplateSignatureCS ) )? ( (lv_ownedContextType_2_0= ruleLambdaContextTypeRefCS ) ) otherlv_3= '(' ( ( (lv_ownedParameterTypes_4_0= ruleTypedMultiplicityRefCS ) ) (otherlv_5= ',' ( (lv_ownedParameterTypes_6_0= ruleTypedMultiplicityRefCS ) ) )* )? otherlv_7= ')' otherlv_8= ':' ( (lv_ownedResultType_9_0= ruleTypedRefCS ) ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2047:1: ( ( (lv_name_0_0= 'Lambda' ) ) ( (lv_ownedSignature_1_0= ruleTemplateSignatureCS ) )? ( (lv_ownedContextType_2_0= ruleLambdaContextTypeRefCS ) ) otherlv_3= '(' ( ( (lv_ownedParameterTypes_4_0= ruleTypedMultiplicityRefCS ) ) (otherlv_5= ',' ( (lv_ownedParameterTypes_6_0= ruleTypedMultiplicityRefCS ) ) )* )? otherlv_7= ')' otherlv_8= ':' ( (lv_ownedResultType_9_0= ruleTypedRefCS ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2047:1: ( ( (lv_name_0_0= 'Lambda' ) ) ( (lv_ownedSignature_1_0= ruleTemplateSignatureCS ) )? ( (lv_ownedContextType_2_0= ruleLambdaContextTypeRefCS ) ) otherlv_3= '(' ( ( (lv_ownedParameterTypes_4_0= ruleTypedMultiplicityRefCS ) ) (otherlv_5= ',' ( (lv_ownedParameterTypes_6_0= ruleTypedMultiplicityRefCS ) ) )* )? otherlv_7= ')' otherlv_8= ':' ( (lv_ownedResultType_9_0= ruleTypedRefCS ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2047:2: ( (lv_name_0_0= 'Lambda' ) ) ( (lv_ownedSignature_1_0= ruleTemplateSignatureCS ) )? ( (lv_ownedContextType_2_0= ruleLambdaContextTypeRefCS ) ) otherlv_3= '(' ( ( (lv_ownedParameterTypes_4_0= ruleTypedMultiplicityRefCS ) ) (otherlv_5= ',' ( (lv_ownedParameterTypes_6_0= ruleTypedMultiplicityRefCS ) ) )* )? otherlv_7= ')' otherlv_8= ':' ( (lv_ownedResultType_9_0= ruleTypedRefCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2047:2: ( (lv_name_0_0= 'Lambda' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2048:1: (lv_name_0_0= 'Lambda' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2048:1: (lv_name_0_0= 'Lambda' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2049:3: lv_name_0_0= 'Lambda' { lv_name_0_0=(Token)match(input,38,FollowSets000.FOLLOW_38_in_ruleLambdaTypeCS4350); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2062:2: ( (lv_ownedSignature_1_0= ruleTemplateSignatureCS ) )? int alt43=2; int LA43_0 = input.LA(1); if ( (LA43_0==43) ) { alt43=1; } switch (alt43) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2063:1: (lv_ownedSignature_1_0= ruleTemplateSignatureCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2063:1: (lv_ownedSignature_1_0= ruleTemplateSignatureCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2064:3: lv_ownedSignature_1_0= ruleTemplateSignatureCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLambdaTypeCSAccess().getOwnedSignatureTemplateSignatureCSParserRuleCall_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleTemplateSignatureCS_in_ruleLambdaTypeCS4384); 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; } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2080:3: ( (lv_ownedContextType_2_0= ruleLambdaContextTypeRefCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2081:1: (lv_ownedContextType_2_0= ruleLambdaContextTypeRefCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2081:1: (lv_ownedContextType_2_0= ruleLambdaContextTypeRefCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2082:3: lv_ownedContextType_2_0= ruleLambdaContextTypeRefCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLambdaTypeCSAccess().getOwnedContextTypeLambdaContextTypeRefCSParserRuleCall_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleLambdaContextTypeRefCS_in_ruleLambdaTypeCS4406); lv_ownedContextType_2_0=ruleLambdaContextTypeRefCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLambdaTypeCSRule()); } set( current, "ownedContextType", lv_ownedContextType_2_0, "LambdaContextTypeRefCS"); afterParserOrEnumRuleCall(); } } } otherlv_3=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleLambdaTypeCS4418); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_3, grammarAccess.getLambdaTypeCSAccess().getLeftParenthesisKeyword_3()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2102:1: ( ( (lv_ownedParameterTypes_4_0= ruleTypedMultiplicityRefCS ) ) (otherlv_5= ',' ( (lv_ownedParameterTypes_6_0= ruleTypedMultiplicityRefCS ) ) )* )? int alt45=2; int LA45_0 = input.LA(1); if ( (LA45_0==RULE_DOUBLE_QUOTED_STRING||(LA45_0>=RULE_SIMPLE_ID && LA45_0<=RULE_ESCAPED_ID)||(LA45_0>=17 && LA45_0<=40)||(LA45_0>=54 && LA45_0<=65)||(LA45_0>=79 && LA45_0<=91)) ) { alt45=1; } switch (alt45) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2102:2: ( (lv_ownedParameterTypes_4_0= ruleTypedMultiplicityRefCS ) ) (otherlv_5= ',' ( (lv_ownedParameterTypes_6_0= ruleTypedMultiplicityRefCS ) ) )* { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2102:2: ( (lv_ownedParameterTypes_4_0= ruleTypedMultiplicityRefCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2103:1: (lv_ownedParameterTypes_4_0= ruleTypedMultiplicityRefCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2103:1: (lv_ownedParameterTypes_4_0= ruleTypedMultiplicityRefCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2104:3: lv_ownedParameterTypes_4_0= ruleTypedMultiplicityRefCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLambdaTypeCSAccess().getOwnedParameterTypesTypedMultiplicityRefCSParserRuleCall_4_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypedMultiplicityRefCS_in_ruleLambdaTypeCS4440); lv_ownedParameterTypes_4_0=ruleTypedMultiplicityRefCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLambdaTypeCSRule()); } add( current, "ownedParameterTypes", lv_ownedParameterTypes_4_0, "TypedMultiplicityRefCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2120:2: (otherlv_5= ',' ( (lv_ownedParameterTypes_6_0= ruleTypedMultiplicityRefCS ) ) )* loop44: do { int alt44=2; int LA44_0 = input.LA(1); if ( (LA44_0==44) ) { alt44=1; } switch (alt44) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2120:4: otherlv_5= ',' ( (lv_ownedParameterTypes_6_0= ruleTypedMultiplicityRefCS ) ) { otherlv_5=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleLambdaTypeCS4453); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_5, grammarAccess.getLambdaTypeCSAccess().getCommaKeyword_4_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2124:1: ( (lv_ownedParameterTypes_6_0= ruleTypedMultiplicityRefCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2125:1: (lv_ownedParameterTypes_6_0= ruleTypedMultiplicityRefCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2125:1: (lv_ownedParameterTypes_6_0= ruleTypedMultiplicityRefCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2126:3: lv_ownedParameterTypes_6_0= ruleTypedMultiplicityRefCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLambdaTypeCSAccess().getOwnedParameterTypesTypedMultiplicityRefCSParserRuleCall_4_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypedMultiplicityRefCS_in_ruleLambdaTypeCS4474); lv_ownedParameterTypes_6_0=ruleTypedMultiplicityRefCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLambdaTypeCSRule()); } add( current, "ownedParameterTypes", lv_ownedParameterTypes_6_0, "TypedMultiplicityRefCS"); afterParserOrEnumRuleCall(); } } } } break; default : break loop44; } } while (true); } break; } otherlv_7=(Token)match(input,45,FollowSets000.FOLLOW_45_in_ruleLambdaTypeCS4490); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_7, grammarAccess.getLambdaTypeCSAccess().getRightParenthesisKeyword_5()); } otherlv_8=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleLambdaTypeCS4502); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_8, grammarAccess.getLambdaTypeCSAccess().getColonKeyword_6()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2150:1: ( (lv_ownedResultType_9_0= ruleTypedRefCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2151:1: (lv_ownedResultType_9_0= ruleTypedRefCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2151:1: (lv_ownedResultType_9_0= ruleTypedRefCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2152:3: lv_ownedResultType_9_0= ruleTypedRefCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLambdaTypeCSAccess().getOwnedResultTypeTypedRefCSParserRuleCall_7_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypedRefCS_in_ruleLambdaTypeCS4523); lv_ownedResultType_9_0=ruleTypedRefCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLambdaTypeCSRule()); } set( current, "ownedResultType", lv_ownedResultType_9_0, "TypedRefCS"); afterParserOrEnumRuleCall(); } } } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleLambdaTypeCS" // $ANTLR start "entryRuleLambdaContextTypeRefCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2176:1: entryRuleLambdaContextTypeRefCS returns [EObject current=null] : iv_ruleLambdaContextTypeRefCS= ruleLambdaContextTypeRefCS EOF ; public final EObject entryRuleLambdaContextTypeRefCS() throws RecognitionException { EObject current = null; EObject iv_ruleLambdaContextTypeRefCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2177:2: (iv_ruleLambdaContextTypeRefCS= ruleLambdaContextTypeRefCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2178:2: iv_ruleLambdaContextTypeRefCS= ruleLambdaContextTypeRefCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLambdaContextTypeRefCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleLambdaContextTypeRefCS_in_entryRuleLambdaContextTypeRefCS4559); iv_ruleLambdaContextTypeRefCS=ruleLambdaContextTypeRefCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleLambdaContextTypeRefCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLambdaContextTypeRefCS4569); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleLambdaContextTypeRefCS" // $ANTLR start "ruleLambdaContextTypeRefCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2185:1: ruleLambdaContextTypeRefCS returns [EObject current=null] : ( (lv_ownedPathName_0_0= ruleLibPathNameCS ) ) ; public final EObject ruleLambdaContextTypeRefCS() throws RecognitionException { EObject current = null; EObject lv_ownedPathName_0_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2188:28: ( ( (lv_ownedPathName_0_0= ruleLibPathNameCS ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2189:1: ( (lv_ownedPathName_0_0= ruleLibPathNameCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2189:1: ( (lv_ownedPathName_0_0= ruleLibPathNameCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2190:1: (lv_ownedPathName_0_0= ruleLibPathNameCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2190:1: (lv_ownedPathName_0_0= ruleLibPathNameCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2191:3: lv_ownedPathName_0_0= ruleLibPathNameCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLambdaContextTypeRefCSAccess().getOwnedPathNameLibPathNameCSParserRuleCall_0()); } pushFollow(FollowSets000.FOLLOW_ruleLibPathNameCS_in_ruleLambdaContextTypeRefCS4614); lv_ownedPathName_0_0=ruleLibPathNameCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLambdaContextTypeRefCSRule()); } set( current, "ownedPathName", lv_ownedPathName_0_0, "LibPathNameCS"); afterParserOrEnumRuleCall(); } } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleLambdaContextTypeRefCS" // $ANTLR start "entryRuleOperationCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2215:1: entryRuleOperationCS returns [EObject current=null] : iv_ruleOperationCS= ruleOperationCS EOF ; public final EObject entryRuleOperationCS() throws RecognitionException { EObject current = null; EObject iv_ruleOperationCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2216:2: (iv_ruleOperationCS= ruleOperationCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2217:2: iv_ruleOperationCS= ruleOperationCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getOperationCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleOperationCS_in_entryRuleOperationCS4649); iv_ruleOperationCS=ruleOperationCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleOperationCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleOperationCS4659); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleOperationCS" // $ANTLR start "ruleOperationCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2224:1: ruleOperationCS returns [EObject current=null] : (this_LibCoercionCS_0= ruleLibCoercionCS | this_LibIterationCS_1= ruleLibIterationCS | this_LibOperationCS_2= ruleLibOperationCS ) ; public final EObject ruleOperationCS() throws RecognitionException { EObject current = null; EObject this_LibCoercionCS_0 = null; EObject this_LibIterationCS_1 = null; EObject this_LibOperationCS_2 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2227:28: ( (this_LibCoercionCS_0= ruleLibCoercionCS | this_LibIterationCS_1= ruleLibIterationCS | this_LibOperationCS_2= ruleLibOperationCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2228:1: (this_LibCoercionCS_0= ruleLibCoercionCS | this_LibIterationCS_1= ruleLibIterationCS | this_LibOperationCS_2= ruleLibOperationCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2228:1: (this_LibCoercionCS_0= ruleLibCoercionCS | this_LibIterationCS_1= ruleLibIterationCS | this_LibOperationCS_2= ruleLibOperationCS ) int alt46=3; switch ( input.LA(1) ) { case 50: { alt46=1; } break; case 25: { alt46=2; } break; case 28: case 35: { alt46=3; } break; default: if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 46, 0, input); throw nvae; } switch (alt46) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2229:2: this_LibCoercionCS_0= ruleLibCoercionCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getOperationCSAccess().getLibCoercionCSParserRuleCall_0()); } pushFollow(FollowSets000.FOLLOW_ruleLibCoercionCS_in_ruleOperationCS4709); this_LibCoercionCS_0=ruleLibCoercionCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current = this_LibCoercionCS_0; afterParserOrEnumRuleCall(); } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2242:2: this_LibIterationCS_1= ruleLibIterationCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getOperationCSAccess().getLibIterationCSParserRuleCall_1()); } pushFollow(FollowSets000.FOLLOW_ruleLibIterationCS_in_ruleOperationCS4739); this_LibIterationCS_1=ruleLibIterationCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current = this_LibIterationCS_1; afterParserOrEnumRuleCall(); } } break; case 3 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2255:2: this_LibOperationCS_2= ruleLibOperationCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getOperationCSAccess().getLibOperationCSParserRuleCall_2()); } pushFollow(FollowSets000.FOLLOW_ruleLibOperationCS_in_ruleOperationCS4769); this_LibOperationCS_2=ruleLibOperationCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current = this_LibOperationCS_2; afterParserOrEnumRuleCall(); } } break; } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleOperationCS" // $ANTLR start "entryRuleLibOperationCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2274:1: entryRuleLibOperationCS returns [EObject current=null] : iv_ruleLibOperationCS= ruleLibOperationCS EOF ; public final EObject entryRuleLibOperationCS() throws RecognitionException { EObject current = null; EObject iv_ruleLibOperationCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2275:2: (iv_ruleLibOperationCS= ruleLibOperationCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2276:2: iv_ruleLibOperationCS= ruleLibOperationCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibOperationCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleLibOperationCS_in_entryRuleLibOperationCS4804); iv_ruleLibOperationCS=ruleLibOperationCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleLibOperationCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLibOperationCS4814); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleLibOperationCS" // $ANTLR start "ruleLibOperationCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2283:1: ruleLibOperationCS returns [EObject current=null] : ( ( (lv_isStatic_0_0= 'static' ) )? otherlv_1= 'operation' ( (lv_name_2_0= ruleName ) ) ( (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) )? otherlv_4= '(' ( ( (lv_ownedParameters_5_0= ruleParameterCS ) ) (otherlv_6= ',' ( (lv_ownedParameters_7_0= ruleParameterCS ) ) )* )? otherlv_8= ')' otherlv_9= ':' ( (lv_ownedType_10_0= ruleTypedMultiplicityRefCS ) ) ( (lv_isValidating_11_0= 'validating' ) )? ( (lv_isInvalidating_12_0= 'invalidating' ) )? (otherlv_13= 'precedence' otherlv_14= '=' ( ( ruleName ) ) )? (otherlv_16= '=>' ( (otherlv_17= RULE_SINGLE_QUOTED_STRING ) ) )? ( (otherlv_18= '{' ( ( (lv_ownedAnnotations_19_0= ruleAnnotationElementCS ) ) | (otherlv_20= 'body' ( ruleUnrestrictedName )? otherlv_22= ':' ( (lv_ownedBodyExpressions_23_0= ruleSpecificationCS ) ) otherlv_24= ';' ) | ( (lv_ownedPostconditions_25_0= rulePostCS ) ) | ( (lv_ownedPreconditions_26_0= rulePreCS ) ) )* otherlv_27= '}' ) | otherlv_28= ';' ) ) ; public final EObject ruleLibOperationCS() throws RecognitionException { EObject current = null; Token lv_isStatic_0_0=null; Token otherlv_1=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_9=null; Token lv_isValidating_11_0=null; Token lv_isInvalidating_12_0=null; Token otherlv_13=null; Token otherlv_14=null; Token otherlv_16=null; Token otherlv_17=null; Token otherlv_18=null; Token otherlv_20=null; Token otherlv_22=null; Token otherlv_24=null; Token otherlv_27=null; Token otherlv_28=null; AntlrDatatypeRuleToken lv_name_2_0 = null; EObject lv_ownedSignature_3_0 = null; EObject lv_ownedParameters_5_0 = null; EObject lv_ownedParameters_7_0 = null; EObject lv_ownedType_10_0 = null; EObject lv_ownedAnnotations_19_0 = null; EObject lv_ownedBodyExpressions_23_0 = null; EObject lv_ownedPostconditions_25_0 = null; EObject lv_ownedPreconditions_26_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2286:28: ( ( ( (lv_isStatic_0_0= 'static' ) )? otherlv_1= 'operation' ( (lv_name_2_0= ruleName ) ) ( (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) )? otherlv_4= '(' ( ( (lv_ownedParameters_5_0= ruleParameterCS ) ) (otherlv_6= ',' ( (lv_ownedParameters_7_0= ruleParameterCS ) ) )* )? otherlv_8= ')' otherlv_9= ':' ( (lv_ownedType_10_0= ruleTypedMultiplicityRefCS ) ) ( (lv_isValidating_11_0= 'validating' ) )? ( (lv_isInvalidating_12_0= 'invalidating' ) )? (otherlv_13= 'precedence' otherlv_14= '=' ( ( ruleName ) ) )? (otherlv_16= '=>' ( (otherlv_17= RULE_SINGLE_QUOTED_STRING ) ) )? ( (otherlv_18= '{' ( ( (lv_ownedAnnotations_19_0= ruleAnnotationElementCS ) ) | (otherlv_20= 'body' ( ruleUnrestrictedName )? otherlv_22= ':' ( (lv_ownedBodyExpressions_23_0= ruleSpecificationCS ) ) otherlv_24= ';' ) | ( (lv_ownedPostconditions_25_0= rulePostCS ) ) | ( (lv_ownedPreconditions_26_0= rulePreCS ) ) )* otherlv_27= '}' ) | otherlv_28= ';' ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2287:1: ( ( (lv_isStatic_0_0= 'static' ) )? otherlv_1= 'operation' ( (lv_name_2_0= ruleName ) ) ( (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) )? otherlv_4= '(' ( ( (lv_ownedParameters_5_0= ruleParameterCS ) ) (otherlv_6= ',' ( (lv_ownedParameters_7_0= ruleParameterCS ) ) )* )? otherlv_8= ')' otherlv_9= ':' ( (lv_ownedType_10_0= ruleTypedMultiplicityRefCS ) ) ( (lv_isValidating_11_0= 'validating' ) )? ( (lv_isInvalidating_12_0= 'invalidating' ) )? (otherlv_13= 'precedence' otherlv_14= '=' ( ( ruleName ) ) )? (otherlv_16= '=>' ( (otherlv_17= RULE_SINGLE_QUOTED_STRING ) ) )? ( (otherlv_18= '{' ( ( (lv_ownedAnnotations_19_0= ruleAnnotationElementCS ) ) | (otherlv_20= 'body' ( ruleUnrestrictedName )? otherlv_22= ':' ( (lv_ownedBodyExpressions_23_0= ruleSpecificationCS ) ) otherlv_24= ';' ) | ( (lv_ownedPostconditions_25_0= rulePostCS ) ) | ( (lv_ownedPreconditions_26_0= rulePreCS ) ) )* otherlv_27= '}' ) | otherlv_28= ';' ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2287:1: ( ( (lv_isStatic_0_0= 'static' ) )? otherlv_1= 'operation' ( (lv_name_2_0= ruleName ) ) ( (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) )? otherlv_4= '(' ( ( (lv_ownedParameters_5_0= ruleParameterCS ) ) (otherlv_6= ',' ( (lv_ownedParameters_7_0= ruleParameterCS ) ) )* )? otherlv_8= ')' otherlv_9= ':' ( (lv_ownedType_10_0= ruleTypedMultiplicityRefCS ) ) ( (lv_isValidating_11_0= 'validating' ) )? ( (lv_isInvalidating_12_0= 'invalidating' ) )? (otherlv_13= 'precedence' otherlv_14= '=' ( ( ruleName ) ) )? (otherlv_16= '=>' ( (otherlv_17= RULE_SINGLE_QUOTED_STRING ) ) )? ( (otherlv_18= '{' ( ( (lv_ownedAnnotations_19_0= ruleAnnotationElementCS ) ) | (otherlv_20= 'body' ( ruleUnrestrictedName )? otherlv_22= ':' ( (lv_ownedBodyExpressions_23_0= ruleSpecificationCS ) ) otherlv_24= ';' ) | ( (lv_ownedPostconditions_25_0= rulePostCS ) ) | ( (lv_ownedPreconditions_26_0= rulePreCS ) ) )* otherlv_27= '}' ) | otherlv_28= ';' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2287:2: ( (lv_isStatic_0_0= 'static' ) )? otherlv_1= 'operation' ( (lv_name_2_0= ruleName ) ) ( (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) )? otherlv_4= '(' ( ( (lv_ownedParameters_5_0= ruleParameterCS ) ) (otherlv_6= ',' ( (lv_ownedParameters_7_0= ruleParameterCS ) ) )* )? otherlv_8= ')' otherlv_9= ':' ( (lv_ownedType_10_0= ruleTypedMultiplicityRefCS ) ) ( (lv_isValidating_11_0= 'validating' ) )? ( (lv_isInvalidating_12_0= 'invalidating' ) )? (otherlv_13= 'precedence' otherlv_14= '=' ( ( ruleName ) ) )? (otherlv_16= '=>' ( (otherlv_17= RULE_SINGLE_QUOTED_STRING ) ) )? ( (otherlv_18= '{' ( ( (lv_ownedAnnotations_19_0= ruleAnnotationElementCS ) ) | (otherlv_20= 'body' ( ruleUnrestrictedName )? otherlv_22= ':' ( (lv_ownedBodyExpressions_23_0= ruleSpecificationCS ) ) otherlv_24= ';' ) | ( (lv_ownedPostconditions_25_0= rulePostCS ) ) | ( (lv_ownedPreconditions_26_0= rulePreCS ) ) )* otherlv_27= '}' ) | otherlv_28= ';' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2287:2: ( (lv_isStatic_0_0= 'static' ) )? int alt47=2; int LA47_0 = input.LA(1); if ( (LA47_0==35) ) { alt47=1; } switch (alt47) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2288:1: (lv_isStatic_0_0= 'static' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2288:1: (lv_isStatic_0_0= 'static' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2289:3: lv_isStatic_0_0= 'static' { lv_isStatic_0_0=(Token)match(input,35,FollowSets000.FOLLOW_35_in_ruleLibOperationCS4857); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(lv_isStatic_0_0, grammarAccess.getLibOperationCSAccess().getIsStaticStaticKeyword_0_0()); } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getLibOperationCSRule()); } setWithLastConsumed(current, "isStatic", true, "static"); } } } break; } otherlv_1=(Token)match(input,28,FollowSets000.FOLLOW_28_in_ruleLibOperationCS4883); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getLibOperationCSAccess().getOperationKeyword_1()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2306:1: ( (lv_name_2_0= ruleName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2307:1: (lv_name_2_0= ruleName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2307:1: (lv_name_2_0= ruleName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2308:3: lv_name_2_0= ruleName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibOperationCSAccess().getNameNameParserRuleCall_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleName_in_ruleLibOperationCS4904); lv_name_2_0=ruleName(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibOperationCSRule()); } set( current, "name", lv_name_2_0, "Name"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2324:2: ( (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) )? int alt48=2; alt48 = dfa48.predict(input); switch (alt48) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2325:1: (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2325:1: (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2326:3: lv_ownedSignature_3_0= ruleTemplateSignatureCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibOperationCSAccess().getOwnedSignatureTemplateSignatureCSParserRuleCall_3_0()); } pushFollow(FollowSets000.FOLLOW_ruleTemplateSignatureCS_in_ruleLibOperationCS4925); lv_ownedSignature_3_0=ruleTemplateSignatureCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibOperationCSRule()); } set( current, "ownedSignature", lv_ownedSignature_3_0, "TemplateSignatureCS"); afterParserOrEnumRuleCall(); } } } break; } otherlv_4=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleLibOperationCS4938); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_4, grammarAccess.getLibOperationCSAccess().getLeftParenthesisKeyword_4()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2346:1: ( ( (lv_ownedParameters_5_0= ruleParameterCS ) ) (otherlv_6= ',' ( (lv_ownedParameters_7_0= ruleParameterCS ) ) )* )? int alt50=2; int LA50_0 = input.LA(1); if ( ((LA50_0>=RULE_SIMPLE_ID && LA50_0<=RULE_ESCAPED_ID)||(LA50_0>=17 && LA50_0<=37)) ) { alt50=1; } switch (alt50) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2346:2: ( (lv_ownedParameters_5_0= ruleParameterCS ) ) (otherlv_6= ',' ( (lv_ownedParameters_7_0= ruleParameterCS ) ) )* { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2346:2: ( (lv_ownedParameters_5_0= ruleParameterCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2347:1: (lv_ownedParameters_5_0= ruleParameterCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2347:1: (lv_ownedParameters_5_0= ruleParameterCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2348:3: lv_ownedParameters_5_0= ruleParameterCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibOperationCSAccess().getOwnedParametersParameterCSParserRuleCall_5_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleParameterCS_in_ruleLibOperationCS4960); lv_ownedParameters_5_0=ruleParameterCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibOperationCSRule()); } add( current, "ownedParameters", lv_ownedParameters_5_0, "ParameterCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2364:2: (otherlv_6= ',' ( (lv_ownedParameters_7_0= ruleParameterCS ) ) )* loop49: do { int alt49=2; int LA49_0 = input.LA(1); if ( (LA49_0==44) ) { alt49=1; } switch (alt49) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2364:4: otherlv_6= ',' ( (lv_ownedParameters_7_0= ruleParameterCS ) ) { otherlv_6=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleLibOperationCS4973); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_6, grammarAccess.getLibOperationCSAccess().getCommaKeyword_5_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2368:1: ( (lv_ownedParameters_7_0= ruleParameterCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2369:1: (lv_ownedParameters_7_0= ruleParameterCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2369:1: (lv_ownedParameters_7_0= ruleParameterCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2370:3: lv_ownedParameters_7_0= ruleParameterCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibOperationCSAccess().getOwnedParametersParameterCSParserRuleCall_5_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleParameterCS_in_ruleLibOperationCS4994); lv_ownedParameters_7_0=ruleParameterCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibOperationCSRule()); } add( current, "ownedParameters", lv_ownedParameters_7_0, "ParameterCS"); afterParserOrEnumRuleCall(); } } } } break; default : break loop49; } } while (true); } break; } otherlv_8=(Token)match(input,45,FollowSets000.FOLLOW_45_in_ruleLibOperationCS5010); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_8, grammarAccess.getLibOperationCSAccess().getRightParenthesisKeyword_6()); } otherlv_9=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleLibOperationCS5022); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_9, grammarAccess.getLibOperationCSAccess().getColonKeyword_7()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2394:1: ( (lv_ownedType_10_0= ruleTypedMultiplicityRefCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2395:1: (lv_ownedType_10_0= ruleTypedMultiplicityRefCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2395:1: (lv_ownedType_10_0= ruleTypedMultiplicityRefCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2396:3: lv_ownedType_10_0= ruleTypedMultiplicityRefCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibOperationCSAccess().getOwnedTypeTypedMultiplicityRefCSParserRuleCall_8_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypedMultiplicityRefCS_in_ruleLibOperationCS5043); lv_ownedType_10_0=ruleTypedMultiplicityRefCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibOperationCSRule()); } set( current, "ownedType", lv_ownedType_10_0, "TypedMultiplicityRefCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2412:2: ( (lv_isValidating_11_0= 'validating' ) )? int alt51=2; int LA51_0 = input.LA(1); if ( (LA51_0==37) ) { alt51=1; } switch (alt51) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2413:1: (lv_isValidating_11_0= 'validating' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2413:1: (lv_isValidating_11_0= 'validating' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2414:3: lv_isValidating_11_0= 'validating' { lv_isValidating_11_0=(Token)match(input,37,FollowSets000.FOLLOW_37_in_ruleLibOperationCS5061); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(lv_isValidating_11_0, grammarAccess.getLibOperationCSAccess().getIsValidatingValidatingKeyword_9_0()); } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getLibOperationCSRule()); } setWithLastConsumed(current, "isValidating", true, "validating"); } } } break; } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2427:3: ( (lv_isInvalidating_12_0= 'invalidating' ) )? int alt52=2; int LA52_0 = input.LA(1); if ( (LA52_0==24) ) { alt52=1; } switch (alt52) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2428:1: (lv_isInvalidating_12_0= 'invalidating' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2428:1: (lv_isInvalidating_12_0= 'invalidating' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2429:3: lv_isInvalidating_12_0= 'invalidating' { lv_isInvalidating_12_0=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleLibOperationCS5093); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(lv_isInvalidating_12_0, grammarAccess.getLibOperationCSAccess().getIsInvalidatingInvalidatingKeyword_10_0()); } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getLibOperationCSRule()); } setWithLastConsumed(current, "isInvalidating", true, "invalidating"); } } } break; } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2442:3: (otherlv_13= 'precedence' otherlv_14= '=' ( ( ruleName ) ) )? int alt53=2; int LA53_0 = input.LA(1); if ( (LA53_0==32) ) { alt53=1; } switch (alt53) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2442:5: otherlv_13= 'precedence' otherlv_14= '=' ( ( ruleName ) ) { otherlv_13=(Token)match(input,32,FollowSets000.FOLLOW_32_in_ruleLibOperationCS5120); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_13, grammarAccess.getLibOperationCSAccess().getPrecedenceKeyword_11_0()); } otherlv_14=(Token)match(input,48,FollowSets000.FOLLOW_48_in_ruleLibOperationCS5132); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_14, grammarAccess.getLibOperationCSAccess().getEqualsSignKeyword_11_1()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2450:1: ( ( ruleName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2451:1: ( ruleName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2451:1: ( ruleName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2452:3: ruleName { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getLibOperationCSRule()); } } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibOperationCSAccess().getPrecedencePrecedenceCrossReference_11_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleName_in_ruleLibOperationCS5159); ruleName(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { afterParserOrEnumRuleCall(); } } } } break; } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2468:4: (otherlv_16= '=>' ( (otherlv_17= RULE_SINGLE_QUOTED_STRING ) ) )? int alt54=2; int LA54_0 = input.LA(1); if ( (LA54_0==51) ) { alt54=1; } switch (alt54) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2468:6: otherlv_16= '=>' ( (otherlv_17= RULE_SINGLE_QUOTED_STRING ) ) { otherlv_16=(Token)match(input,51,FollowSets000.FOLLOW_51_in_ruleLibOperationCS5174); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_16, grammarAccess.getLibOperationCSAccess().getEqualsSignGreaterThanSignKeyword_12_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2472:1: ( (otherlv_17= RULE_SINGLE_QUOTED_STRING ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2473:1: (otherlv_17= RULE_SINGLE_QUOTED_STRING ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2473:1: (otherlv_17= RULE_SINGLE_QUOTED_STRING ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2474:3: otherlv_17= RULE_SINGLE_QUOTED_STRING { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getLibOperationCSRule()); } } otherlv_17=(Token)match(input,RULE_SINGLE_QUOTED_STRING,FollowSets000.FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleLibOperationCS5198); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_17, grammarAccess.getLibOperationCSAccess().getImplementationJavaClassCSCrossReference_12_1_0()); } } } } break; } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2488:4: ( (otherlv_18= '{' ( ( (lv_ownedAnnotations_19_0= ruleAnnotationElementCS ) ) | (otherlv_20= 'body' ( ruleUnrestrictedName )? otherlv_22= ':' ( (lv_ownedBodyExpressions_23_0= ruleSpecificationCS ) ) otherlv_24= ';' ) | ( (lv_ownedPostconditions_25_0= rulePostCS ) ) | ( (lv_ownedPreconditions_26_0= rulePreCS ) ) )* otherlv_27= '}' ) | otherlv_28= ';' ) int alt57=2; int LA57_0 = input.LA(1); if ( (LA57_0==46) ) { alt57=1; } else if ( (LA57_0==16) ) { alt57=2; } else { if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 57, 0, input); throw nvae; } switch (alt57) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2488:5: (otherlv_18= '{' ( ( (lv_ownedAnnotations_19_0= ruleAnnotationElementCS ) ) | (otherlv_20= 'body' ( ruleUnrestrictedName )? otherlv_22= ':' ( (lv_ownedBodyExpressions_23_0= ruleSpecificationCS ) ) otherlv_24= ';' ) | ( (lv_ownedPostconditions_25_0= rulePostCS ) ) | ( (lv_ownedPreconditions_26_0= rulePreCS ) ) )* otherlv_27= '}' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2488:5: (otherlv_18= '{' ( ( (lv_ownedAnnotations_19_0= ruleAnnotationElementCS ) ) | (otherlv_20= 'body' ( ruleUnrestrictedName )? otherlv_22= ':' ( (lv_ownedBodyExpressions_23_0= ruleSpecificationCS ) ) otherlv_24= ';' ) | ( (lv_ownedPostconditions_25_0= rulePostCS ) ) | ( (lv_ownedPreconditions_26_0= rulePreCS ) ) )* otherlv_27= '}' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2488:7: otherlv_18= '{' ( ( (lv_ownedAnnotations_19_0= ruleAnnotationElementCS ) ) | (otherlv_20= 'body' ( ruleUnrestrictedName )? otherlv_22= ':' ( (lv_ownedBodyExpressions_23_0= ruleSpecificationCS ) ) otherlv_24= ';' ) | ( (lv_ownedPostconditions_25_0= rulePostCS ) ) | ( (lv_ownedPreconditions_26_0= rulePreCS ) ) )* otherlv_27= '}' { otherlv_18=(Token)match(input,46,FollowSets000.FOLLOW_46_in_ruleLibOperationCS5214); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_18, grammarAccess.getLibOperationCSAccess().getLeftCurlyBracketKeyword_13_0_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2492:1: ( ( (lv_ownedAnnotations_19_0= ruleAnnotationElementCS ) ) | (otherlv_20= 'body' ( ruleUnrestrictedName )? otherlv_22= ':' ( (lv_ownedBodyExpressions_23_0= ruleSpecificationCS ) ) otherlv_24= ';' ) | ( (lv_ownedPostconditions_25_0= rulePostCS ) ) | ( (lv_ownedPreconditions_26_0= rulePreCS ) ) )* loop56: do { int alt56=5; switch ( input.LA(1) ) { case 18: case 20: { alt56=1; } break; case 53: { alt56=2; } break; case 30: { alt56=3; } break; case 31: { alt56=4; } break; } switch (alt56) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2492:2: ( (lv_ownedAnnotations_19_0= ruleAnnotationElementCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2492:2: ( (lv_ownedAnnotations_19_0= ruleAnnotationElementCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2493:1: (lv_ownedAnnotations_19_0= ruleAnnotationElementCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2493:1: (lv_ownedAnnotations_19_0= ruleAnnotationElementCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2494:3: lv_ownedAnnotations_19_0= ruleAnnotationElementCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibOperationCSAccess().getOwnedAnnotationsAnnotationElementCSParserRuleCall_13_0_1_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleAnnotationElementCS_in_ruleLibOperationCS5236); lv_ownedAnnotations_19_0=ruleAnnotationElementCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibOperationCSRule()); } add( current, "ownedAnnotations", lv_ownedAnnotations_19_0, "AnnotationElementCS"); afterParserOrEnumRuleCall(); } } } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2511:6: (otherlv_20= 'body' ( ruleUnrestrictedName )? otherlv_22= ':' ( (lv_ownedBodyExpressions_23_0= ruleSpecificationCS ) ) otherlv_24= ';' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2511:6: (otherlv_20= 'body' ( ruleUnrestrictedName )? otherlv_22= ':' ( (lv_ownedBodyExpressions_23_0= ruleSpecificationCS ) ) otherlv_24= ';' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2511:8: otherlv_20= 'body' ( ruleUnrestrictedName )? otherlv_22= ':' ( (lv_ownedBodyExpressions_23_0= ruleSpecificationCS ) ) otherlv_24= ';' { otherlv_20=(Token)match(input,53,FollowSets000.FOLLOW_53_in_ruleLibOperationCS5255); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_20, grammarAccess.getLibOperationCSAccess().getBodyKeyword_13_0_1_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2515:1: ( ruleUnrestrictedName )? int alt55=2; int LA55_0 = input.LA(1); if ( ((LA55_0>=RULE_SIMPLE_ID && LA55_0<=RULE_ESCAPED_ID)||(LA55_0>=17 && LA55_0<=37)) ) { alt55=1; } switch (alt55) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2516:2: ruleUnrestrictedName { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibOperationCSAccess().getUnrestrictedNameParserRuleCall_13_0_1_1_1()); } pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleLibOperationCS5275); ruleUnrestrictedName(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { afterParserOrEnumRuleCall(); } } break; } otherlv_22=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleLibOperationCS5288); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_22, grammarAccess.getLibOperationCSAccess().getColonKeyword_13_0_1_1_2()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2530:1: ( (lv_ownedBodyExpressions_23_0= ruleSpecificationCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2531:1: (lv_ownedBodyExpressions_23_0= ruleSpecificationCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2531:1: (lv_ownedBodyExpressions_23_0= ruleSpecificationCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2532:3: lv_ownedBodyExpressions_23_0= ruleSpecificationCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibOperationCSAccess().getOwnedBodyExpressionsSpecificationCSParserRuleCall_13_0_1_1_3_0()); } pushFollow(FollowSets000.FOLLOW_ruleSpecificationCS_in_ruleLibOperationCS5309); lv_ownedBodyExpressions_23_0=ruleSpecificationCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibOperationCSRule()); } add( current, "ownedBodyExpressions", lv_ownedBodyExpressions_23_0, "SpecificationCS"); afterParserOrEnumRuleCall(); } } } otherlv_24=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleLibOperationCS5321); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_24, grammarAccess.getLibOperationCSAccess().getSemicolonKeyword_13_0_1_1_4()); } } } break; case 3 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2553:6: ( (lv_ownedPostconditions_25_0= rulePostCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2553:6: ( (lv_ownedPostconditions_25_0= rulePostCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2554:1: (lv_ownedPostconditions_25_0= rulePostCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2554:1: (lv_ownedPostconditions_25_0= rulePostCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2555:3: lv_ownedPostconditions_25_0= rulePostCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibOperationCSAccess().getOwnedPostconditionsPostCSParserRuleCall_13_0_1_2_0()); } pushFollow(FollowSets000.FOLLOW_rulePostCS_in_ruleLibOperationCS5349); lv_ownedPostconditions_25_0=rulePostCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibOperationCSRule()); } add( current, "ownedPostconditions", lv_ownedPostconditions_25_0, "PostCS"); afterParserOrEnumRuleCall(); } } } } break; case 4 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2572:6: ( (lv_ownedPreconditions_26_0= rulePreCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2572:6: ( (lv_ownedPreconditions_26_0= rulePreCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2573:1: (lv_ownedPreconditions_26_0= rulePreCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2573:1: (lv_ownedPreconditions_26_0= rulePreCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2574:3: lv_ownedPreconditions_26_0= rulePreCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibOperationCSAccess().getOwnedPreconditionsPreCSParserRuleCall_13_0_1_3_0()); } pushFollow(FollowSets000.FOLLOW_rulePreCS_in_ruleLibOperationCS5376); lv_ownedPreconditions_26_0=rulePreCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibOperationCSRule()); } add( current, "ownedPreconditions", lv_ownedPreconditions_26_0, "PreCS"); afterParserOrEnumRuleCall(); } } } } break; default : break loop56; } } while (true); otherlv_27=(Token)match(input,47,FollowSets000.FOLLOW_47_in_ruleLibOperationCS5390); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_27, grammarAccess.getLibOperationCSAccess().getRightCurlyBracketKeyword_13_0_2()); } } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2595:7: otherlv_28= ';' { otherlv_28=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleLibOperationCS5409); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_28, grammarAccess.getLibOperationCSAccess().getSemicolonKeyword_13_1()); } } break; } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleLibOperationCS" // $ANTLR start "entryRuleLibPackageCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2607:1: entryRuleLibPackageCS returns [EObject current=null] : iv_ruleLibPackageCS= ruleLibPackageCS EOF ; public final EObject entryRuleLibPackageCS() throws RecognitionException { EObject current = null; EObject iv_ruleLibPackageCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2608:2: (iv_ruleLibPackageCS= ruleLibPackageCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2609:2: iv_ruleLibPackageCS= ruleLibPackageCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibPackageCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleLibPackageCS_in_entryRuleLibPackageCS5446); iv_ruleLibPackageCS=ruleLibPackageCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleLibPackageCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLibPackageCS5456); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleLibPackageCS" // $ANTLR start "ruleLibPackageCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2616:1: ruleLibPackageCS returns [EObject current=null] : (otherlv_0= 'library' ( (lv_name_1_0= ruleName ) ) (otherlv_2= ':' ( (lv_nsPrefix_3_0= ruleIdentifier ) ) otherlv_4= '=' ( (lv_nsURI_5_0= ruleURI ) ) )? otherlv_6= '{' ( ( (lv_ownedPackages_7_0= rulePackageCS ) ) | (otherlv_8= 'precedence' ( (lv_ownedPrecedences_9_0= rulePrecedenceCS ) )+ otherlv_10= ';' ) | ( (lv_ownedClasses_11_0= ruleClassCS ) ) | ( (lv_ownedAnnotations_12_0= ruleAnnotationElementCS ) ) )* otherlv_13= '}' ) ; public final EObject ruleLibPackageCS() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_8=null; Token otherlv_10=null; Token otherlv_13=null; AntlrDatatypeRuleToken lv_name_1_0 = null; AntlrDatatypeRuleToken lv_nsPrefix_3_0 = null; AntlrDatatypeRuleToken lv_nsURI_5_0 = null; EObject lv_ownedPackages_7_0 = null; EObject lv_ownedPrecedences_9_0 = null; EObject lv_ownedClasses_11_0 = null; EObject lv_ownedAnnotations_12_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2619:28: ( (otherlv_0= 'library' ( (lv_name_1_0= ruleName ) ) (otherlv_2= ':' ( (lv_nsPrefix_3_0= ruleIdentifier ) ) otherlv_4= '=' ( (lv_nsURI_5_0= ruleURI ) ) )? otherlv_6= '{' ( ( (lv_ownedPackages_7_0= rulePackageCS ) ) | (otherlv_8= 'precedence' ( (lv_ownedPrecedences_9_0= rulePrecedenceCS ) )+ otherlv_10= ';' ) | ( (lv_ownedClasses_11_0= ruleClassCS ) ) | ( (lv_ownedAnnotations_12_0= ruleAnnotationElementCS ) ) )* otherlv_13= '}' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2620:1: (otherlv_0= 'library' ( (lv_name_1_0= ruleName ) ) (otherlv_2= ':' ( (lv_nsPrefix_3_0= ruleIdentifier ) ) otherlv_4= '=' ( (lv_nsURI_5_0= ruleURI ) ) )? otherlv_6= '{' ( ( (lv_ownedPackages_7_0= rulePackageCS ) ) | (otherlv_8= 'precedence' ( (lv_ownedPrecedences_9_0= rulePrecedenceCS ) )+ otherlv_10= ';' ) | ( (lv_ownedClasses_11_0= ruleClassCS ) ) | ( (lv_ownedAnnotations_12_0= ruleAnnotationElementCS ) ) )* otherlv_13= '}' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2620:1: (otherlv_0= 'library' ( (lv_name_1_0= ruleName ) ) (otherlv_2= ':' ( (lv_nsPrefix_3_0= ruleIdentifier ) ) otherlv_4= '=' ( (lv_nsURI_5_0= ruleURI ) ) )? otherlv_6= '{' ( ( (lv_ownedPackages_7_0= rulePackageCS ) ) | (otherlv_8= 'precedence' ( (lv_ownedPrecedences_9_0= rulePrecedenceCS ) )+ otherlv_10= ';' ) | ( (lv_ownedClasses_11_0= ruleClassCS ) ) | ( (lv_ownedAnnotations_12_0= ruleAnnotationElementCS ) ) )* otherlv_13= '}' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2620:3: otherlv_0= 'library' ( (lv_name_1_0= ruleName ) ) (otherlv_2= ':' ( (lv_nsPrefix_3_0= ruleIdentifier ) ) otherlv_4= '=' ( (lv_nsURI_5_0= ruleURI ) ) )? otherlv_6= '{' ( ( (lv_ownedPackages_7_0= rulePackageCS ) ) | (otherlv_8= 'precedence' ( (lv_ownedPrecedences_9_0= rulePrecedenceCS ) )+ otherlv_10= ';' ) | ( (lv_ownedClasses_11_0= ruleClassCS ) ) | ( (lv_ownedAnnotations_12_0= ruleAnnotationElementCS ) ) )* otherlv_13= '}' { otherlv_0=(Token)match(input,27,FollowSets000.FOLLOW_27_in_ruleLibPackageCS5493); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_0, grammarAccess.getLibPackageCSAccess().getLibraryKeyword_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2624:1: ( (lv_name_1_0= ruleName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2625:1: (lv_name_1_0= ruleName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2625:1: (lv_name_1_0= ruleName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2626:3: lv_name_1_0= ruleName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibPackageCSAccess().getNameNameParserRuleCall_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleName_in_ruleLibPackageCS5514); lv_name_1_0=ruleName(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibPackageCSRule()); } set( current, "name", lv_name_1_0, "Name"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2642:2: (otherlv_2= ':' ( (lv_nsPrefix_3_0= ruleIdentifier ) ) otherlv_4= '=' ( (lv_nsURI_5_0= ruleURI ) ) )? int alt58=2; int LA58_0 = input.LA(1); if ( (LA58_0==42) ) { alt58=1; } switch (alt58) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2642:4: otherlv_2= ':' ( (lv_nsPrefix_3_0= ruleIdentifier ) ) otherlv_4= '=' ( (lv_nsURI_5_0= ruleURI ) ) { otherlv_2=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleLibPackageCS5527); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_2, grammarAccess.getLibPackageCSAccess().getColonKeyword_2_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2646:1: ( (lv_nsPrefix_3_0= ruleIdentifier ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2647:1: (lv_nsPrefix_3_0= ruleIdentifier ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2647:1: (lv_nsPrefix_3_0= ruleIdentifier ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2648:3: lv_nsPrefix_3_0= ruleIdentifier { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibPackageCSAccess().getNsPrefixIdentifierParserRuleCall_2_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleIdentifier_in_ruleLibPackageCS5548); lv_nsPrefix_3_0=ruleIdentifier(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibPackageCSRule()); } set( current, "nsPrefix", lv_nsPrefix_3_0, "Identifier"); afterParserOrEnumRuleCall(); } } } otherlv_4=(Token)match(input,48,FollowSets000.FOLLOW_48_in_ruleLibPackageCS5560); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_4, grammarAccess.getLibPackageCSAccess().getEqualsSignKeyword_2_2()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2668:1: ( (lv_nsURI_5_0= ruleURI ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2669:1: (lv_nsURI_5_0= ruleURI ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2669:1: (lv_nsURI_5_0= ruleURI ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2670:3: lv_nsURI_5_0= ruleURI { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibPackageCSAccess().getNsURIURIParserRuleCall_2_3_0()); } pushFollow(FollowSets000.FOLLOW_ruleURI_in_ruleLibPackageCS5581); lv_nsURI_5_0=ruleURI(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibPackageCSRule()); } set( current, "nsURI", lv_nsURI_5_0, "URI"); afterParserOrEnumRuleCall(); } } } } break; } otherlv_6=(Token)match(input,46,FollowSets000.FOLLOW_46_in_ruleLibPackageCS5595); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_6, grammarAccess.getLibPackageCSAccess().getLeftCurlyBracketKeyword_3()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2690:1: ( ( (lv_ownedPackages_7_0= rulePackageCS ) ) | (otherlv_8= 'precedence' ( (lv_ownedPrecedences_9_0= rulePrecedenceCS ) )+ otherlv_10= ';' ) | ( (lv_ownedClasses_11_0= ruleClassCS ) ) | ( (lv_ownedAnnotations_12_0= ruleAnnotationElementCS ) ) )* loop60: do { int alt60=5; switch ( input.LA(1) ) { case 29: { alt60=1; } break; case 32: { alt60=2; } break; case 17: case 36: { alt60=3; } break; case 18: case 20: { alt60=4; } break; } switch (alt60) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2690:2: ( (lv_ownedPackages_7_0= rulePackageCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2690:2: ( (lv_ownedPackages_7_0= rulePackageCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2691:1: (lv_ownedPackages_7_0= rulePackageCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2691:1: (lv_ownedPackages_7_0= rulePackageCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2692:3: lv_ownedPackages_7_0= rulePackageCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibPackageCSAccess().getOwnedPackagesPackageCSParserRuleCall_4_0_0()); } pushFollow(FollowSets000.FOLLOW_rulePackageCS_in_ruleLibPackageCS5617); lv_ownedPackages_7_0=rulePackageCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibPackageCSRule()); } add( current, "ownedPackages", lv_ownedPackages_7_0, "PackageCS"); afterParserOrEnumRuleCall(); } } } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2709:6: (otherlv_8= 'precedence' ( (lv_ownedPrecedences_9_0= rulePrecedenceCS ) )+ otherlv_10= ';' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2709:6: (otherlv_8= 'precedence' ( (lv_ownedPrecedences_9_0= rulePrecedenceCS ) )+ otherlv_10= ';' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2709:8: otherlv_8= 'precedence' ( (lv_ownedPrecedences_9_0= rulePrecedenceCS ) )+ otherlv_10= ';' { otherlv_8=(Token)match(input,32,FollowSets000.FOLLOW_32_in_ruleLibPackageCS5636); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_8, grammarAccess.getLibPackageCSAccess().getPrecedenceKeyword_4_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2713:1: ( (lv_ownedPrecedences_9_0= rulePrecedenceCS ) )+ int cnt59=0; loop59: do { int alt59=2; int LA59_0 = input.LA(1); if ( (LA59_0==26||LA59_0==34) ) { alt59=1; } switch (alt59) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2714:1: (lv_ownedPrecedences_9_0= rulePrecedenceCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2714:1: (lv_ownedPrecedences_9_0= rulePrecedenceCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2715:3: lv_ownedPrecedences_9_0= rulePrecedenceCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibPackageCSAccess().getOwnedPrecedencesPrecedenceCSParserRuleCall_4_1_1_0()); } pushFollow(FollowSets000.FOLLOW_rulePrecedenceCS_in_ruleLibPackageCS5657); lv_ownedPrecedences_9_0=rulePrecedenceCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibPackageCSRule()); } add( current, "ownedPrecedences", lv_ownedPrecedences_9_0, "PrecedenceCS"); afterParserOrEnumRuleCall(); } } } break; default : if ( cnt59 >= 1 ) break loop59; if (state.backtracking>0) {state.failed=true; return current;} EarlyExitException eee = new EarlyExitException(59, input); throw eee; } cnt59++; } while (true); otherlv_10=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleLibPackageCS5670); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_10, grammarAccess.getLibPackageCSAccess().getSemicolonKeyword_4_1_2()); } } } break; case 3 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2736:6: ( (lv_ownedClasses_11_0= ruleClassCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2736:6: ( (lv_ownedClasses_11_0= ruleClassCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2737:1: (lv_ownedClasses_11_0= ruleClassCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2737:1: (lv_ownedClasses_11_0= ruleClassCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2738:3: lv_ownedClasses_11_0= ruleClassCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibPackageCSAccess().getOwnedClassesClassCSParserRuleCall_4_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleClassCS_in_ruleLibPackageCS5698); lv_ownedClasses_11_0=ruleClassCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibPackageCSRule()); } add( current, "ownedClasses", lv_ownedClasses_11_0, "ClassCS"); afterParserOrEnumRuleCall(); } } } } break; case 4 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2755:6: ( (lv_ownedAnnotations_12_0= ruleAnnotationElementCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2755:6: ( (lv_ownedAnnotations_12_0= ruleAnnotationElementCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2756:1: (lv_ownedAnnotations_12_0= ruleAnnotationElementCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2756:1: (lv_ownedAnnotations_12_0= ruleAnnotationElementCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2757:3: lv_ownedAnnotations_12_0= ruleAnnotationElementCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibPackageCSAccess().getOwnedAnnotationsAnnotationElementCSParserRuleCall_4_3_0()); } pushFollow(FollowSets000.FOLLOW_ruleAnnotationElementCS_in_ruleLibPackageCS5725); lv_ownedAnnotations_12_0=ruleAnnotationElementCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibPackageCSRule()); } add( current, "ownedAnnotations", lv_ownedAnnotations_12_0, "AnnotationElementCS"); afterParserOrEnumRuleCall(); } } } } break; default : break loop60; } } while (true); otherlv_13=(Token)match(input,47,FollowSets000.FOLLOW_47_in_ruleLibPackageCS5739); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_13, grammarAccess.getLibPackageCSAccess().getRightCurlyBracketKeyword_5()); } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleLibPackageCS" // $ANTLR start "entryRulePackageCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2785:1: entryRulePackageCS returns [EObject current=null] : iv_rulePackageCS= rulePackageCS EOF ; public final EObject entryRulePackageCS() throws RecognitionException { EObject current = null; EObject iv_rulePackageCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2786:2: (iv_rulePackageCS= rulePackageCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2787:2: iv_rulePackageCS= rulePackageCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPackageCSRule()); } pushFollow(FollowSets000.FOLLOW_rulePackageCS_in_entryRulePackageCS5775); iv_rulePackageCS=rulePackageCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_rulePackageCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePackageCS5785); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRulePackageCS" // $ANTLR start "rulePackageCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2794:1: rulePackageCS returns [EObject current=null] : (otherlv_0= 'package' ( (lv_name_1_0= ruleName ) ) (otherlv_2= ':' ( (lv_nsPrefix_3_0= ruleIdentifier ) ) otherlv_4= '=' ( (lv_nsURI_5_0= ruleURI ) ) )? otherlv_6= '{' ( ( (lv_ownedPackages_7_0= rulePackageCS ) ) | ( (lv_ownedClasses_8_0= ruleClassCS ) ) | ( (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) ) )* otherlv_10= '}' ) ; public final EObject rulePackageCS() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_6=null; Token otherlv_10=null; AntlrDatatypeRuleToken lv_name_1_0 = null; AntlrDatatypeRuleToken lv_nsPrefix_3_0 = null; AntlrDatatypeRuleToken lv_nsURI_5_0 = null; EObject lv_ownedPackages_7_0 = null; EObject lv_ownedClasses_8_0 = null; EObject lv_ownedAnnotations_9_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2797:28: ( (otherlv_0= 'package' ( (lv_name_1_0= ruleName ) ) (otherlv_2= ':' ( (lv_nsPrefix_3_0= ruleIdentifier ) ) otherlv_4= '=' ( (lv_nsURI_5_0= ruleURI ) ) )? otherlv_6= '{' ( ( (lv_ownedPackages_7_0= rulePackageCS ) ) | ( (lv_ownedClasses_8_0= ruleClassCS ) ) | ( (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) ) )* otherlv_10= '}' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2798:1: (otherlv_0= 'package' ( (lv_name_1_0= ruleName ) ) (otherlv_2= ':' ( (lv_nsPrefix_3_0= ruleIdentifier ) ) otherlv_4= '=' ( (lv_nsURI_5_0= ruleURI ) ) )? otherlv_6= '{' ( ( (lv_ownedPackages_7_0= rulePackageCS ) ) | ( (lv_ownedClasses_8_0= ruleClassCS ) ) | ( (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) ) )* otherlv_10= '}' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2798:1: (otherlv_0= 'package' ( (lv_name_1_0= ruleName ) ) (otherlv_2= ':' ( (lv_nsPrefix_3_0= ruleIdentifier ) ) otherlv_4= '=' ( (lv_nsURI_5_0= ruleURI ) ) )? otherlv_6= '{' ( ( (lv_ownedPackages_7_0= rulePackageCS ) ) | ( (lv_ownedClasses_8_0= ruleClassCS ) ) | ( (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) ) )* otherlv_10= '}' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2798:3: otherlv_0= 'package' ( (lv_name_1_0= ruleName ) ) (otherlv_2= ':' ( (lv_nsPrefix_3_0= ruleIdentifier ) ) otherlv_4= '=' ( (lv_nsURI_5_0= ruleURI ) ) )? otherlv_6= '{' ( ( (lv_ownedPackages_7_0= rulePackageCS ) ) | ( (lv_ownedClasses_8_0= ruleClassCS ) ) | ( (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) ) )* otherlv_10= '}' { otherlv_0=(Token)match(input,29,FollowSets000.FOLLOW_29_in_rulePackageCS5822); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_0, grammarAccess.getPackageCSAccess().getPackageKeyword_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2802:1: ( (lv_name_1_0= ruleName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2803:1: (lv_name_1_0= ruleName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2803:1: (lv_name_1_0= ruleName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2804:3: lv_name_1_0= ruleName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPackageCSAccess().getNameNameParserRuleCall_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleName_in_rulePackageCS5843); lv_name_1_0=ruleName(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getPackageCSRule()); } set( current, "name", lv_name_1_0, "Name"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2820:2: (otherlv_2= ':' ( (lv_nsPrefix_3_0= ruleIdentifier ) ) otherlv_4= '=' ( (lv_nsURI_5_0= ruleURI ) ) )? int alt61=2; int LA61_0 = input.LA(1); if ( (LA61_0==42) ) { alt61=1; } switch (alt61) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2820:4: otherlv_2= ':' ( (lv_nsPrefix_3_0= ruleIdentifier ) ) otherlv_4= '=' ( (lv_nsURI_5_0= ruleURI ) ) { otherlv_2=(Token)match(input,42,FollowSets000.FOLLOW_42_in_rulePackageCS5856); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_2, grammarAccess.getPackageCSAccess().getColonKeyword_2_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2824:1: ( (lv_nsPrefix_3_0= ruleIdentifier ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2825:1: (lv_nsPrefix_3_0= ruleIdentifier ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2825:1: (lv_nsPrefix_3_0= ruleIdentifier ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2826:3: lv_nsPrefix_3_0= ruleIdentifier { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPackageCSAccess().getNsPrefixIdentifierParserRuleCall_2_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleIdentifier_in_rulePackageCS5877); lv_nsPrefix_3_0=ruleIdentifier(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getPackageCSRule()); } set( current, "nsPrefix", lv_nsPrefix_3_0, "Identifier"); afterParserOrEnumRuleCall(); } } } otherlv_4=(Token)match(input,48,FollowSets000.FOLLOW_48_in_rulePackageCS5889); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_4, grammarAccess.getPackageCSAccess().getEqualsSignKeyword_2_2()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2846:1: ( (lv_nsURI_5_0= ruleURI ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2847:1: (lv_nsURI_5_0= ruleURI ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2847:1: (lv_nsURI_5_0= ruleURI ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2848:3: lv_nsURI_5_0= ruleURI { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPackageCSAccess().getNsURIURIParserRuleCall_2_3_0()); } pushFollow(FollowSets000.FOLLOW_ruleURI_in_rulePackageCS5910); lv_nsURI_5_0=ruleURI(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getPackageCSRule()); } set( current, "nsURI", lv_nsURI_5_0, "URI"); afterParserOrEnumRuleCall(); } } } } break; } otherlv_6=(Token)match(input,46,FollowSets000.FOLLOW_46_in_rulePackageCS5924); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_6, grammarAccess.getPackageCSAccess().getLeftCurlyBracketKeyword_3()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2868:1: ( ( (lv_ownedPackages_7_0= rulePackageCS ) ) | ( (lv_ownedClasses_8_0= ruleClassCS ) ) | ( (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) ) )* loop62: do { int alt62=4; switch ( input.LA(1) ) { case 29: { alt62=1; } break; case 17: case 36: { alt62=2; } break; case 18: case 20: { alt62=3; } break; } switch (alt62) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2868:2: ( (lv_ownedPackages_7_0= rulePackageCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2868:2: ( (lv_ownedPackages_7_0= rulePackageCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2869:1: (lv_ownedPackages_7_0= rulePackageCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2869:1: (lv_ownedPackages_7_0= rulePackageCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2870:3: lv_ownedPackages_7_0= rulePackageCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPackageCSAccess().getOwnedPackagesPackageCSParserRuleCall_4_0_0()); } pushFollow(FollowSets000.FOLLOW_rulePackageCS_in_rulePackageCS5946); lv_ownedPackages_7_0=rulePackageCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getPackageCSRule()); } add( current, "ownedPackages", lv_ownedPackages_7_0, "PackageCS"); afterParserOrEnumRuleCall(); } } } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2887:6: ( (lv_ownedClasses_8_0= ruleClassCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2887:6: ( (lv_ownedClasses_8_0= ruleClassCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2888:1: (lv_ownedClasses_8_0= ruleClassCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2888:1: (lv_ownedClasses_8_0= ruleClassCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2889:3: lv_ownedClasses_8_0= ruleClassCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPackageCSAccess().getOwnedClassesClassCSParserRuleCall_4_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleClassCS_in_rulePackageCS5973); lv_ownedClasses_8_0=ruleClassCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getPackageCSRule()); } add( current, "ownedClasses", lv_ownedClasses_8_0, "ClassCS"); afterParserOrEnumRuleCall(); } } } } break; case 3 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2906:6: ( (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2906:6: ( (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2907:1: (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2907:1: (lv_ownedAnnotations_9_0= ruleAnnotationElementCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2908:3: lv_ownedAnnotations_9_0= ruleAnnotationElementCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPackageCSAccess().getOwnedAnnotationsAnnotationElementCSParserRuleCall_4_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleAnnotationElementCS_in_rulePackageCS6000); lv_ownedAnnotations_9_0=ruleAnnotationElementCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getPackageCSRule()); } add( current, "ownedAnnotations", lv_ownedAnnotations_9_0, "AnnotationElementCS"); afterParserOrEnumRuleCall(); } } } } break; default : break loop62; } } while (true); otherlv_10=(Token)match(input,47,FollowSets000.FOLLOW_47_in_rulePackageCS6014); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_10, grammarAccess.getPackageCSAccess().getRightCurlyBracketKeyword_5()); } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "rulePackageCS" // $ANTLR start "entryRuleParameterCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2936: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2937:2: (iv_ruleParameterCS= ruleParameterCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2938:2: iv_ruleParameterCS= ruleParameterCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getParameterCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleParameterCS_in_entryRuleParameterCS6050); iv_ruleParameterCS=ruleParameterCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleParameterCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleParameterCS6060); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2945:1: ruleParameterCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleIdentifier ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) ) ; 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2948:28: ( ( ( (lv_name_0_0= ruleIdentifier ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2949:1: ( ( (lv_name_0_0= ruleIdentifier ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2949:1: ( ( (lv_name_0_0= ruleIdentifier ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2949:2: ( (lv_name_0_0= ruleIdentifier ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2949:2: ( (lv_name_0_0= ruleIdentifier ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2950:1: (lv_name_0_0= ruleIdentifier ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2950:1: (lv_name_0_0= ruleIdentifier ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2951:3: lv_name_0_0= ruleIdentifier { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getParameterCSAccess().getNameIdentifierParserRuleCall_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleIdentifier_in_ruleParameterCS6106); lv_name_0_0=ruleIdentifier(); 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, "Identifier"); afterParserOrEnumRuleCall(); } } } otherlv_1=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleParameterCS6118); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getParameterCSAccess().getColonKeyword_1()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2971:1: ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2972:1: (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2972:1: (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2973:3: lv_ownedType_2_0= ruleTypedMultiplicityRefCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getParameterCSAccess().getOwnedTypeTypedMultiplicityRefCSParserRuleCall_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypedMultiplicityRefCS_in_ruleParameterCS6139); lv_ownedType_2_0=ruleTypedMultiplicityRefCS(); 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, "TypedMultiplicityRefCS"); afterParserOrEnumRuleCall(); } } } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleParameterCS" // $ANTLR start "entryRuleLibPropertyCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2997:1: entryRuleLibPropertyCS returns [EObject current=null] : iv_ruleLibPropertyCS= ruleLibPropertyCS EOF ; public final EObject entryRuleLibPropertyCS() throws RecognitionException { EObject current = null; EObject iv_ruleLibPropertyCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2998:2: (iv_ruleLibPropertyCS= ruleLibPropertyCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:2999:2: iv_ruleLibPropertyCS= ruleLibPropertyCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibPropertyCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleLibPropertyCS_in_entryRuleLibPropertyCS6175); iv_ruleLibPropertyCS=ruleLibPropertyCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleLibPropertyCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLibPropertyCS6185); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleLibPropertyCS" // $ANTLR start "ruleLibPropertyCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3006:1: ruleLibPropertyCS returns [EObject current=null] : ( ( (lv_isStatic_0_0= 'static' ) )? otherlv_1= 'property' ( (lv_name_2_0= ruleName ) ) otherlv_3= ':' ( (lv_ownedType_4_0= ruleTypedMultiplicityRefCS ) ) (otherlv_5= '=>' ( (otherlv_6= RULE_SINGLE_QUOTED_STRING ) ) )? ( (otherlv_7= '{' ( (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) )* otherlv_9= '}' ) | otherlv_10= ';' ) ) ; public final EObject ruleLibPropertyCS() 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_6=null; Token otherlv_7=null; Token otherlv_9=null; Token otherlv_10=null; AntlrDatatypeRuleToken lv_name_2_0 = null; EObject lv_ownedType_4_0 = null; EObject lv_ownedAnnotations_8_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3009:28: ( ( ( (lv_isStatic_0_0= 'static' ) )? otherlv_1= 'property' ( (lv_name_2_0= ruleName ) ) otherlv_3= ':' ( (lv_ownedType_4_0= ruleTypedMultiplicityRefCS ) ) (otherlv_5= '=>' ( (otherlv_6= RULE_SINGLE_QUOTED_STRING ) ) )? ( (otherlv_7= '{' ( (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) )* otherlv_9= '}' ) | otherlv_10= ';' ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3010:1: ( ( (lv_isStatic_0_0= 'static' ) )? otherlv_1= 'property' ( (lv_name_2_0= ruleName ) ) otherlv_3= ':' ( (lv_ownedType_4_0= ruleTypedMultiplicityRefCS ) ) (otherlv_5= '=>' ( (otherlv_6= RULE_SINGLE_QUOTED_STRING ) ) )? ( (otherlv_7= '{' ( (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) )* otherlv_9= '}' ) | otherlv_10= ';' ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3010:1: ( ( (lv_isStatic_0_0= 'static' ) )? otherlv_1= 'property' ( (lv_name_2_0= ruleName ) ) otherlv_3= ':' ( (lv_ownedType_4_0= ruleTypedMultiplicityRefCS ) ) (otherlv_5= '=>' ( (otherlv_6= RULE_SINGLE_QUOTED_STRING ) ) )? ( (otherlv_7= '{' ( (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) )* otherlv_9= '}' ) | otherlv_10= ';' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3010:2: ( (lv_isStatic_0_0= 'static' ) )? otherlv_1= 'property' ( (lv_name_2_0= ruleName ) ) otherlv_3= ':' ( (lv_ownedType_4_0= ruleTypedMultiplicityRefCS ) ) (otherlv_5= '=>' ( (otherlv_6= RULE_SINGLE_QUOTED_STRING ) ) )? ( (otherlv_7= '{' ( (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) )* otherlv_9= '}' ) | otherlv_10= ';' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3010:2: ( (lv_isStatic_0_0= 'static' ) )? int alt63=2; int LA63_0 = input.LA(1); if ( (LA63_0==35) ) { alt63=1; } switch (alt63) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3011:1: (lv_isStatic_0_0= 'static' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3011:1: (lv_isStatic_0_0= 'static' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3012:3: lv_isStatic_0_0= 'static' { lv_isStatic_0_0=(Token)match(input,35,FollowSets000.FOLLOW_35_in_ruleLibPropertyCS6228); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(lv_isStatic_0_0, grammarAccess.getLibPropertyCSAccess().getIsStaticStaticKeyword_0_0()); } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getLibPropertyCSRule()); } setWithLastConsumed(current, "isStatic", true, "static"); } } } break; } otherlv_1=(Token)match(input,33,FollowSets000.FOLLOW_33_in_ruleLibPropertyCS6254); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getLibPropertyCSAccess().getPropertyKeyword_1()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3029:1: ( (lv_name_2_0= ruleName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3030:1: (lv_name_2_0= ruleName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3030:1: (lv_name_2_0= ruleName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3031:3: lv_name_2_0= ruleName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibPropertyCSAccess().getNameNameParserRuleCall_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleName_in_ruleLibPropertyCS6275); lv_name_2_0=ruleName(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibPropertyCSRule()); } set( current, "name", lv_name_2_0, "Name"); afterParserOrEnumRuleCall(); } } } otherlv_3=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleLibPropertyCS6287); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_3, grammarAccess.getLibPropertyCSAccess().getColonKeyword_3()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3051:1: ( (lv_ownedType_4_0= ruleTypedMultiplicityRefCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3052:1: (lv_ownedType_4_0= ruleTypedMultiplicityRefCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3052:1: (lv_ownedType_4_0= ruleTypedMultiplicityRefCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3053:3: lv_ownedType_4_0= ruleTypedMultiplicityRefCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibPropertyCSAccess().getOwnedTypeTypedMultiplicityRefCSParserRuleCall_4_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypedMultiplicityRefCS_in_ruleLibPropertyCS6308); lv_ownedType_4_0=ruleTypedMultiplicityRefCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibPropertyCSRule()); } set( current, "ownedType", lv_ownedType_4_0, "TypedMultiplicityRefCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3069:2: (otherlv_5= '=>' ( (otherlv_6= RULE_SINGLE_QUOTED_STRING ) ) )? int alt64=2; int LA64_0 = input.LA(1); if ( (LA64_0==51) ) { alt64=1; } switch (alt64) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3069:4: otherlv_5= '=>' ( (otherlv_6= RULE_SINGLE_QUOTED_STRING ) ) { otherlv_5=(Token)match(input,51,FollowSets000.FOLLOW_51_in_ruleLibPropertyCS6321); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_5, grammarAccess.getLibPropertyCSAccess().getEqualsSignGreaterThanSignKeyword_5_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3073:1: ( (otherlv_6= RULE_SINGLE_QUOTED_STRING ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3074:1: (otherlv_6= RULE_SINGLE_QUOTED_STRING ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3074:1: (otherlv_6= RULE_SINGLE_QUOTED_STRING ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3075:3: otherlv_6= RULE_SINGLE_QUOTED_STRING { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getLibPropertyCSRule()); } } otherlv_6=(Token)match(input,RULE_SINGLE_QUOTED_STRING,FollowSets000.FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleLibPropertyCS6345); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_6, grammarAccess.getLibPropertyCSAccess().getImplementationJavaClassCSCrossReference_5_1_0()); } } } } break; } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3089:4: ( (otherlv_7= '{' ( (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) )* otherlv_9= '}' ) | otherlv_10= ';' ) int alt66=2; int LA66_0 = input.LA(1); if ( (LA66_0==46) ) { alt66=1; } else if ( (LA66_0==16) ) { alt66=2; } else { if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 66, 0, input); throw nvae; } switch (alt66) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3089:5: (otherlv_7= '{' ( (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) )* otherlv_9= '}' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3089:5: (otherlv_7= '{' ( (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) )* otherlv_9= '}' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3089:7: otherlv_7= '{' ( (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) )* otherlv_9= '}' { otherlv_7=(Token)match(input,46,FollowSets000.FOLLOW_46_in_ruleLibPropertyCS6361); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_7, grammarAccess.getLibPropertyCSAccess().getLeftCurlyBracketKeyword_6_0_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3093:1: ( (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) )* loop65: do { int alt65=2; int LA65_0 = input.LA(1); if ( (LA65_0==18||LA65_0==20) ) { alt65=1; } switch (alt65) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3094:1: (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3094:1: (lv_ownedAnnotations_8_0= ruleAnnotationElementCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3095:3: lv_ownedAnnotations_8_0= ruleAnnotationElementCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLibPropertyCSAccess().getOwnedAnnotationsAnnotationElementCSParserRuleCall_6_0_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleAnnotationElementCS_in_ruleLibPropertyCS6382); lv_ownedAnnotations_8_0=ruleAnnotationElementCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLibPropertyCSRule()); } add( current, "ownedAnnotations", lv_ownedAnnotations_8_0, "AnnotationElementCS"); afterParserOrEnumRuleCall(); } } } break; default : break loop65; } } while (true); otherlv_9=(Token)match(input,47,FollowSets000.FOLLOW_47_in_ruleLibPropertyCS6395); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_9, grammarAccess.getLibPropertyCSAccess().getRightCurlyBracketKeyword_6_0_2()); } } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3116:7: otherlv_10= ';' { otherlv_10=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleLibPropertyCS6414); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_10, grammarAccess.getLibPropertyCSAccess().getSemicolonKeyword_6_1()); } } break; } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleLibPropertyCS" // $ANTLR start "entryRulePostCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3128:1: entryRulePostCS returns [EObject current=null] : iv_rulePostCS= rulePostCS EOF ; public final EObject entryRulePostCS() throws RecognitionException { EObject current = null; EObject iv_rulePostCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3129:2: (iv_rulePostCS= rulePostCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3130:2: iv_rulePostCS= rulePostCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPostCSRule()); } pushFollow(FollowSets000.FOLLOW_rulePostCS_in_entryRulePostCS6451); iv_rulePostCS=rulePostCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_rulePostCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePostCS6461); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRulePostCS" // $ANTLR start "rulePostCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3137:1: rulePostCS returns [EObject current=null] : ( ( (lv_stereotype_0_0= 'post' ) ) ( ( (lv_name_1_0= ruleUnrestrictedName ) ) (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? )? otherlv_5= ':' ( (lv_ownedSpecification_6_0= ruleSpecificationCS ) ) otherlv_7= ';' ) ; public final EObject rulePostCS() throws RecognitionException { EObject current = null; Token lv_stereotype_0_0=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_5=null; Token otherlv_7=null; AntlrDatatypeRuleToken lv_name_1_0 = null; EObject lv_ownedMessageSpecification_3_0 = null; EObject lv_ownedSpecification_6_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3140:28: ( ( ( (lv_stereotype_0_0= 'post' ) ) ( ( (lv_name_1_0= ruleUnrestrictedName ) ) (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? )? otherlv_5= ':' ( (lv_ownedSpecification_6_0= ruleSpecificationCS ) ) otherlv_7= ';' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3141:1: ( ( (lv_stereotype_0_0= 'post' ) ) ( ( (lv_name_1_0= ruleUnrestrictedName ) ) (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? )? otherlv_5= ':' ( (lv_ownedSpecification_6_0= ruleSpecificationCS ) ) otherlv_7= ';' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3141:1: ( ( (lv_stereotype_0_0= 'post' ) ) ( ( (lv_name_1_0= ruleUnrestrictedName ) ) (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? )? otherlv_5= ':' ( (lv_ownedSpecification_6_0= ruleSpecificationCS ) ) otherlv_7= ';' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3141:2: ( (lv_stereotype_0_0= 'post' ) ) ( ( (lv_name_1_0= ruleUnrestrictedName ) ) (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? )? otherlv_5= ':' ( (lv_ownedSpecification_6_0= ruleSpecificationCS ) ) otherlv_7= ';' { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3141:2: ( (lv_stereotype_0_0= 'post' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3142:1: (lv_stereotype_0_0= 'post' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3142:1: (lv_stereotype_0_0= 'post' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3143:3: lv_stereotype_0_0= 'post' { lv_stereotype_0_0=(Token)match(input,30,FollowSets000.FOLLOW_30_in_rulePostCS6504); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(lv_stereotype_0_0, grammarAccess.getPostCSAccess().getStereotypePostKeyword_0_0()); } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getPostCSRule()); } setWithLastConsumed(current, "stereotype", lv_stereotype_0_0, "post"); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3156:2: ( ( (lv_name_1_0= ruleUnrestrictedName ) ) (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? )? int alt68=2; int LA68_0 = input.LA(1); if ( ((LA68_0>=RULE_SIMPLE_ID && LA68_0<=RULE_ESCAPED_ID)||(LA68_0>=17 && LA68_0<=37)) ) { alt68=1; } switch (alt68) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3156:3: ( (lv_name_1_0= ruleUnrestrictedName ) ) (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3156:3: ( (lv_name_1_0= ruleUnrestrictedName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3157:1: (lv_name_1_0= ruleUnrestrictedName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3157:1: (lv_name_1_0= ruleUnrestrictedName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3158:3: lv_name_1_0= ruleUnrestrictedName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPostCSAccess().getNameUnrestrictedNameParserRuleCall_1_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_rulePostCS6539); lv_name_1_0=ruleUnrestrictedName(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getPostCSRule()); } set( current, "name", lv_name_1_0, "UnrestrictedName"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3174:2: (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? int alt67=2; int LA67_0 = input.LA(1); if ( (LA67_0==43) ) { alt67=1; } switch (alt67) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3174:4: otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' { otherlv_2=(Token)match(input,43,FollowSets000.FOLLOW_43_in_rulePostCS6552); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_2, grammarAccess.getPostCSAccess().getLeftParenthesisKeyword_1_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3178:1: ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3179:1: (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3179:1: (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3180:3: lv_ownedMessageSpecification_3_0= ruleSpecificationCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPostCSAccess().getOwnedMessageSpecificationSpecificationCSParserRuleCall_1_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleSpecificationCS_in_rulePostCS6573); lv_ownedMessageSpecification_3_0=ruleSpecificationCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getPostCSRule()); } set( current, "ownedMessageSpecification", lv_ownedMessageSpecification_3_0, "SpecificationCS"); afterParserOrEnumRuleCall(); } } } otherlv_4=(Token)match(input,45,FollowSets000.FOLLOW_45_in_rulePostCS6585); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_4, grammarAccess.getPostCSAccess().getRightParenthesisKeyword_1_1_2()); } } break; } } break; } otherlv_5=(Token)match(input,42,FollowSets000.FOLLOW_42_in_rulePostCS6601); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_5, grammarAccess.getPostCSAccess().getColonKeyword_2()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3204:1: ( (lv_ownedSpecification_6_0= ruleSpecificationCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3205:1: (lv_ownedSpecification_6_0= ruleSpecificationCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3205:1: (lv_ownedSpecification_6_0= ruleSpecificationCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3206:3: lv_ownedSpecification_6_0= ruleSpecificationCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPostCSAccess().getOwnedSpecificationSpecificationCSParserRuleCall_3_0()); } pushFollow(FollowSets000.FOLLOW_ruleSpecificationCS_in_rulePostCS6622); lv_ownedSpecification_6_0=ruleSpecificationCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getPostCSRule()); } set( current, "ownedSpecification", lv_ownedSpecification_6_0, "SpecificationCS"); afterParserOrEnumRuleCall(); } } } otherlv_7=(Token)match(input,16,FollowSets000.FOLLOW_16_in_rulePostCS6634); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_7, grammarAccess.getPostCSAccess().getSemicolonKeyword_4()); } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "rulePostCS" // $ANTLR start "entryRulePreCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3234:1: entryRulePreCS returns [EObject current=null] : iv_rulePreCS= rulePreCS EOF ; public final EObject entryRulePreCS() throws RecognitionException { EObject current = null; EObject iv_rulePreCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3235:2: (iv_rulePreCS= rulePreCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3236:2: iv_rulePreCS= rulePreCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPreCSRule()); } pushFollow(FollowSets000.FOLLOW_rulePreCS_in_entryRulePreCS6670); iv_rulePreCS=rulePreCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_rulePreCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePreCS6680); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRulePreCS" // $ANTLR start "rulePreCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3243:1: rulePreCS returns [EObject current=null] : ( ( (lv_stereotype_0_0= 'pre' ) ) ( ( (lv_name_1_0= ruleUnrestrictedName ) ) (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? )? otherlv_5= ':' ( (lv_ownedSpecification_6_0= ruleSpecificationCS ) ) otherlv_7= ';' ) ; public final EObject rulePreCS() throws RecognitionException { EObject current = null; Token lv_stereotype_0_0=null; Token otherlv_2=null; Token otherlv_4=null; Token otherlv_5=null; Token otherlv_7=null; AntlrDatatypeRuleToken lv_name_1_0 = null; EObject lv_ownedMessageSpecification_3_0 = null; EObject lv_ownedSpecification_6_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3246:28: ( ( ( (lv_stereotype_0_0= 'pre' ) ) ( ( (lv_name_1_0= ruleUnrestrictedName ) ) (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? )? otherlv_5= ':' ( (lv_ownedSpecification_6_0= ruleSpecificationCS ) ) otherlv_7= ';' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3247:1: ( ( (lv_stereotype_0_0= 'pre' ) ) ( ( (lv_name_1_0= ruleUnrestrictedName ) ) (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? )? otherlv_5= ':' ( (lv_ownedSpecification_6_0= ruleSpecificationCS ) ) otherlv_7= ';' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3247:1: ( ( (lv_stereotype_0_0= 'pre' ) ) ( ( (lv_name_1_0= ruleUnrestrictedName ) ) (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? )? otherlv_5= ':' ( (lv_ownedSpecification_6_0= ruleSpecificationCS ) ) otherlv_7= ';' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3247:2: ( (lv_stereotype_0_0= 'pre' ) ) ( ( (lv_name_1_0= ruleUnrestrictedName ) ) (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? )? otherlv_5= ':' ( (lv_ownedSpecification_6_0= ruleSpecificationCS ) ) otherlv_7= ';' { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3247:2: ( (lv_stereotype_0_0= 'pre' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3248:1: (lv_stereotype_0_0= 'pre' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3248:1: (lv_stereotype_0_0= 'pre' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3249:3: lv_stereotype_0_0= 'pre' { lv_stereotype_0_0=(Token)match(input,31,FollowSets000.FOLLOW_31_in_rulePreCS6723); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(lv_stereotype_0_0, grammarAccess.getPreCSAccess().getStereotypePreKeyword_0_0()); } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getPreCSRule()); } setWithLastConsumed(current, "stereotype", lv_stereotype_0_0, "pre"); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3262:2: ( ( (lv_name_1_0= ruleUnrestrictedName ) ) (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? )? int alt70=2; int LA70_0 = input.LA(1); if ( ((LA70_0>=RULE_SIMPLE_ID && LA70_0<=RULE_ESCAPED_ID)||(LA70_0>=17 && LA70_0<=37)) ) { alt70=1; } switch (alt70) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3262:3: ( (lv_name_1_0= ruleUnrestrictedName ) ) (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3262:3: ( (lv_name_1_0= ruleUnrestrictedName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3263:1: (lv_name_1_0= ruleUnrestrictedName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3263:1: (lv_name_1_0= ruleUnrestrictedName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3264:3: lv_name_1_0= ruleUnrestrictedName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPreCSAccess().getNameUnrestrictedNameParserRuleCall_1_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_rulePreCS6758); lv_name_1_0=ruleUnrestrictedName(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getPreCSRule()); } set( current, "name", lv_name_1_0, "UnrestrictedName"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3280:2: (otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' )? int alt69=2; int LA69_0 = input.LA(1); if ( (LA69_0==43) ) { alt69=1; } switch (alt69) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3280:4: otherlv_2= '(' ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) otherlv_4= ')' { otherlv_2=(Token)match(input,43,FollowSets000.FOLLOW_43_in_rulePreCS6771); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_2, grammarAccess.getPreCSAccess().getLeftParenthesisKeyword_1_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3284:1: ( (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3285:1: (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3285:1: (lv_ownedMessageSpecification_3_0= ruleSpecificationCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3286:3: lv_ownedMessageSpecification_3_0= ruleSpecificationCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPreCSAccess().getOwnedMessageSpecificationSpecificationCSParserRuleCall_1_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleSpecificationCS_in_rulePreCS6792); lv_ownedMessageSpecification_3_0=ruleSpecificationCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getPreCSRule()); } set( current, "ownedMessageSpecification", lv_ownedMessageSpecification_3_0, "SpecificationCS"); afterParserOrEnumRuleCall(); } } } otherlv_4=(Token)match(input,45,FollowSets000.FOLLOW_45_in_rulePreCS6804); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_4, grammarAccess.getPreCSAccess().getRightParenthesisKeyword_1_1_2()); } } break; } } break; } otherlv_5=(Token)match(input,42,FollowSets000.FOLLOW_42_in_rulePreCS6820); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_5, grammarAccess.getPreCSAccess().getColonKeyword_2()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3310:1: ( (lv_ownedSpecification_6_0= ruleSpecificationCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3311:1: (lv_ownedSpecification_6_0= ruleSpecificationCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3311:1: (lv_ownedSpecification_6_0= ruleSpecificationCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3312:3: lv_ownedSpecification_6_0= ruleSpecificationCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPreCSAccess().getOwnedSpecificationSpecificationCSParserRuleCall_3_0()); } pushFollow(FollowSets000.FOLLOW_ruleSpecificationCS_in_rulePreCS6841); lv_ownedSpecification_6_0=ruleSpecificationCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getPreCSRule()); } set( current, "ownedSpecification", lv_ownedSpecification_6_0, "SpecificationCS"); afterParserOrEnumRuleCall(); } } } otherlv_7=(Token)match(input,16,FollowSets000.FOLLOW_16_in_rulePreCS6853); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_7, grammarAccess.getPreCSAccess().getSemicolonKeyword_4()); } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "rulePreCS" // $ANTLR start "entryRulePrecedenceCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3340:1: entryRulePrecedenceCS returns [EObject current=null] : iv_rulePrecedenceCS= rulePrecedenceCS EOF ; public final EObject entryRulePrecedenceCS() throws RecognitionException { EObject current = null; EObject iv_rulePrecedenceCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3341:2: (iv_rulePrecedenceCS= rulePrecedenceCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3342:2: iv_rulePrecedenceCS= rulePrecedenceCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrecedenceCSRule()); } pushFollow(FollowSets000.FOLLOW_rulePrecedenceCS_in_entryRulePrecedenceCS6889); iv_rulePrecedenceCS=rulePrecedenceCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_rulePrecedenceCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePrecedenceCS6899); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRulePrecedenceCS" // $ANTLR start "rulePrecedenceCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3349:1: rulePrecedenceCS returns [EObject current=null] : ( (otherlv_0= 'left' | ( (lv_isRightAssociative_1_0= 'right' ) ) ) otherlv_2= ':' ( (lv_name_3_0= ruleName ) ) ) ; public final EObject rulePrecedenceCS() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_isRightAssociative_1_0=null; Token otherlv_2=null; AntlrDatatypeRuleToken lv_name_3_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3352:28: ( ( (otherlv_0= 'left' | ( (lv_isRightAssociative_1_0= 'right' ) ) ) otherlv_2= ':' ( (lv_name_3_0= ruleName ) ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3353:1: ( (otherlv_0= 'left' | ( (lv_isRightAssociative_1_0= 'right' ) ) ) otherlv_2= ':' ( (lv_name_3_0= ruleName ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3353:1: ( (otherlv_0= 'left' | ( (lv_isRightAssociative_1_0= 'right' ) ) ) otherlv_2= ':' ( (lv_name_3_0= ruleName ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3353:2: (otherlv_0= 'left' | ( (lv_isRightAssociative_1_0= 'right' ) ) ) otherlv_2= ':' ( (lv_name_3_0= ruleName ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3353:2: (otherlv_0= 'left' | ( (lv_isRightAssociative_1_0= 'right' ) ) ) int alt71=2; int LA71_0 = input.LA(1); if ( (LA71_0==26) ) { alt71=1; } else if ( (LA71_0==34) ) { alt71=2; } else { if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 71, 0, input); throw nvae; } switch (alt71) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3353:4: otherlv_0= 'left' { otherlv_0=(Token)match(input,26,FollowSets000.FOLLOW_26_in_rulePrecedenceCS6937); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_0, grammarAccess.getPrecedenceCSAccess().getLeftKeyword_0_0()); } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3358:6: ( (lv_isRightAssociative_1_0= 'right' ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3358:6: ( (lv_isRightAssociative_1_0= 'right' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3359:1: (lv_isRightAssociative_1_0= 'right' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3359:1: (lv_isRightAssociative_1_0= 'right' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3360:3: lv_isRightAssociative_1_0= 'right' { lv_isRightAssociative_1_0=(Token)match(input,34,FollowSets000.FOLLOW_34_in_rulePrecedenceCS6961); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(lv_isRightAssociative_1_0, grammarAccess.getPrecedenceCSAccess().getIsRightAssociativeRightKeyword_0_1_0()); } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getPrecedenceCSRule()); } setWithLastConsumed(current, "isRightAssociative", true, "right"); } } } } break; } otherlv_2=(Token)match(input,42,FollowSets000.FOLLOW_42_in_rulePrecedenceCS6987); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_2, grammarAccess.getPrecedenceCSAccess().getColonKeyword_1()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3377:1: ( (lv_name_3_0= ruleName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3378:1: (lv_name_3_0= ruleName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3378:1: (lv_name_3_0= ruleName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3379:3: lv_name_3_0= ruleName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrecedenceCSAccess().getNameNameParserRuleCall_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleName_in_rulePrecedenceCS7008); lv_name_3_0=ruleName(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getPrecedenceCSRule()); } set( current, "name", lv_name_3_0, "Name"); afterParserOrEnumRuleCall(); } } } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "rulePrecedenceCS" // $ANTLR start "entryRuleSpecificationCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3403: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3404:2: (iv_ruleSpecificationCS= ruleSpecificationCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3405:2: iv_ruleSpecificationCS= ruleSpecificationCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getSpecificationCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleSpecificationCS_in_entryRuleSpecificationCS7044); iv_ruleSpecificationCS=ruleSpecificationCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleSpecificationCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleSpecificationCS7054); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3412:1: ruleSpecificationCS returns [EObject current=null] : ( (lv_ownedExpression_0_0= ruleExpCS ) ) ; public final EObject ruleSpecificationCS() throws RecognitionException { EObject current = null; EObject lv_ownedExpression_0_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3415:28: ( ( (lv_ownedExpression_0_0= ruleExpCS ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3416:1: ( (lv_ownedExpression_0_0= ruleExpCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3416:1: ( (lv_ownedExpression_0_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3417:1: (lv_ownedExpression_0_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3417:1: (lv_ownedExpression_0_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3418:3: lv_ownedExpression_0_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getSpecificationCSAccess().getOwnedExpressionExpCSParserRuleCall_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleSpecificationCS7099); 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(); } } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleSpecificationCS" // $ANTLR start "entryRuleTypedMultiplicityRefCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3442:1: entryRuleTypedMultiplicityRefCS returns [EObject current=null] : iv_ruleTypedMultiplicityRefCS= ruleTypedMultiplicityRefCS EOF ; public final EObject entryRuleTypedMultiplicityRefCS() throws RecognitionException { EObject current = null; EObject iv_ruleTypedMultiplicityRefCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3443:2: (iv_ruleTypedMultiplicityRefCS= ruleTypedMultiplicityRefCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3444:2: iv_ruleTypedMultiplicityRefCS= ruleTypedMultiplicityRefCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypedMultiplicityRefCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleTypedMultiplicityRefCS_in_entryRuleTypedMultiplicityRefCS7134); iv_ruleTypedMultiplicityRefCS=ruleTypedMultiplicityRefCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleTypedMultiplicityRefCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypedMultiplicityRefCS7144); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleTypedMultiplicityRefCS" // $ANTLR start "ruleTypedMultiplicityRefCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3451:1: ruleTypedMultiplicityRefCS returns [EObject current=null] : ( (this_MapTypeCS_0= ruleMapTypeCS | this_TupleTypeCS_1= ruleTupleTypeCS | this_TypedTypeRefCS_2= ruleTypedTypeRefCS | this_LambdaTypeCS_3= ruleLambdaTypeCS ) ( (lv_ownedMultiplicity_4_0= ruleMultiplicityCS ) )? ) ; public final EObject ruleTypedMultiplicityRefCS() throws RecognitionException { EObject current = null; EObject this_MapTypeCS_0 = null; EObject this_TupleTypeCS_1 = null; EObject this_TypedTypeRefCS_2 = null; EObject this_LambdaTypeCS_3 = null; EObject lv_ownedMultiplicity_4_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3454:28: ( ( (this_MapTypeCS_0= ruleMapTypeCS | this_TupleTypeCS_1= ruleTupleTypeCS | this_TypedTypeRefCS_2= ruleTypedTypeRefCS | this_LambdaTypeCS_3= ruleLambdaTypeCS ) ( (lv_ownedMultiplicity_4_0= ruleMultiplicityCS ) )? ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3455:1: ( (this_MapTypeCS_0= ruleMapTypeCS | this_TupleTypeCS_1= ruleTupleTypeCS | this_TypedTypeRefCS_2= ruleTypedTypeRefCS | this_LambdaTypeCS_3= ruleLambdaTypeCS ) ( (lv_ownedMultiplicity_4_0= ruleMultiplicityCS ) )? ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3455:1: ( (this_MapTypeCS_0= ruleMapTypeCS | this_TupleTypeCS_1= ruleTupleTypeCS | this_TypedTypeRefCS_2= ruleTypedTypeRefCS | this_LambdaTypeCS_3= ruleLambdaTypeCS ) ( (lv_ownedMultiplicity_4_0= ruleMultiplicityCS ) )? ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3455:2: (this_MapTypeCS_0= ruleMapTypeCS | this_TupleTypeCS_1= ruleTupleTypeCS | this_TypedTypeRefCS_2= ruleTypedTypeRefCS | this_LambdaTypeCS_3= ruleLambdaTypeCS ) ( (lv_ownedMultiplicity_4_0= ruleMultiplicityCS ) )? { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3455:2: (this_MapTypeCS_0= ruleMapTypeCS | this_TupleTypeCS_1= ruleTupleTypeCS | this_TypedTypeRefCS_2= ruleTypedTypeRefCS | this_LambdaTypeCS_3= ruleLambdaTypeCS ) int alt72=4; switch ( input.LA(1) ) { case 39: { alt72=1; } break; case 40: { alt72=2; } break; case RULE_DOUBLE_QUOTED_STRING: case RULE_SIMPLE_ID: case RULE_ESCAPED_ID: case 17: case 18: case 19: case 20: case 21: case 22: case 23: case 24: case 25: case 26: case 27: case 28: case 29: case 30: case 31: case 32: case 33: case 34: case 35: case 36: case 37: case 54: case 55: case 56: case 57: case 58: case 59: case 60: case 61: case 62: case 63: case 64: case 65: case 79: case 80: case 81: case 82: case 83: case 84: case 85: case 86: case 87: case 88: case 89: case 90: case 91: { alt72=3; } break; case 38: { alt72=4; } break; default: if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 72, 0, input); throw nvae; } switch (alt72) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3456:2: this_MapTypeCS_0= ruleMapTypeCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypedMultiplicityRefCSAccess().getMapTypeCSParserRuleCall_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleMapTypeCS_in_ruleTypedMultiplicityRefCS7195); this_MapTypeCS_0=ruleMapTypeCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current = this_MapTypeCS_0; afterParserOrEnumRuleCall(); } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3469:2: this_TupleTypeCS_1= ruleTupleTypeCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypedMultiplicityRefCSAccess().getTupleTypeCSParserRuleCall_0_1()); } pushFollow(FollowSets000.FOLLOW_ruleTupleTypeCS_in_ruleTypedMultiplicityRefCS7225); this_TupleTypeCS_1=ruleTupleTypeCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current = this_TupleTypeCS_1; afterParserOrEnumRuleCall(); } } break; case 3 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3482:2: this_TypedTypeRefCS_2= ruleTypedTypeRefCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypedMultiplicityRefCSAccess().getTypedTypeRefCSParserRuleCall_0_2()); } pushFollow(FollowSets000.FOLLOW_ruleTypedTypeRefCS_in_ruleTypedMultiplicityRefCS7255); this_TypedTypeRefCS_2=ruleTypedTypeRefCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current = this_TypedTypeRefCS_2; afterParserOrEnumRuleCall(); } } break; case 4 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3495:2: this_LambdaTypeCS_3= ruleLambdaTypeCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypedMultiplicityRefCSAccess().getLambdaTypeCSParserRuleCall_0_3()); } pushFollow(FollowSets000.FOLLOW_ruleLambdaTypeCS_in_ruleTypedMultiplicityRefCS7285); this_LambdaTypeCS_3=ruleLambdaTypeCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current = this_LambdaTypeCS_3; afterParserOrEnumRuleCall(); } } break; } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3506:2: ( (lv_ownedMultiplicity_4_0= ruleMultiplicityCS ) )? int alt73=2; int LA73_0 = input.LA(1); if ( (LA73_0==100) ) { alt73=1; } switch (alt73) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3507:1: (lv_ownedMultiplicity_4_0= ruleMultiplicityCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3507:1: (lv_ownedMultiplicity_4_0= ruleMultiplicityCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3508:3: lv_ownedMultiplicity_4_0= ruleMultiplicityCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypedMultiplicityRefCSAccess().getOwnedMultiplicityMultiplicityCSParserRuleCall_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleMultiplicityCS_in_ruleTypedMultiplicityRefCS7306); lv_ownedMultiplicity_4_0=ruleMultiplicityCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getTypedMultiplicityRefCSRule()); } set( current, "ownedMultiplicity", lv_ownedMultiplicity_4_0, "MultiplicityCS"); afterParserOrEnumRuleCall(); } } } break; } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleTypedMultiplicityRefCS" // $ANTLR start "entryRuleTypedRefCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3532:1: entryRuleTypedRefCS returns [EObject current=null] : iv_ruleTypedRefCS= ruleTypedRefCS EOF ; public final EObject entryRuleTypedRefCS() throws RecognitionException { EObject current = null; EObject iv_ruleTypedRefCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3533:2: (iv_ruleTypedRefCS= ruleTypedRefCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3534:2: iv_ruleTypedRefCS= ruleTypedRefCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypedRefCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleTypedRefCS_in_entryRuleTypedRefCS7343); iv_ruleTypedRefCS=ruleTypedRefCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleTypedRefCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypedRefCS7353); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleTypedRefCS" // $ANTLR start "ruleTypedRefCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3541:1: ruleTypedRefCS returns [EObject current=null] : (this_MapTypeCS_0= ruleMapTypeCS | this_TupleTypeCS_1= ruleTupleTypeCS | this_TypedTypeRefCS_2= ruleTypedTypeRefCS | this_LambdaTypeCS_3= ruleLambdaTypeCS ) ; public final EObject ruleTypedRefCS() throws RecognitionException { EObject current = null; EObject this_MapTypeCS_0 = null; EObject this_TupleTypeCS_1 = null; EObject this_TypedTypeRefCS_2 = null; EObject this_LambdaTypeCS_3 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3544:28: ( (this_MapTypeCS_0= ruleMapTypeCS | this_TupleTypeCS_1= ruleTupleTypeCS | this_TypedTypeRefCS_2= ruleTypedTypeRefCS | this_LambdaTypeCS_3= ruleLambdaTypeCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3545:1: (this_MapTypeCS_0= ruleMapTypeCS | this_TupleTypeCS_1= ruleTupleTypeCS | this_TypedTypeRefCS_2= ruleTypedTypeRefCS | this_LambdaTypeCS_3= ruleLambdaTypeCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3545:1: (this_MapTypeCS_0= ruleMapTypeCS | this_TupleTypeCS_1= ruleTupleTypeCS | this_TypedTypeRefCS_2= ruleTypedTypeRefCS | this_LambdaTypeCS_3= ruleLambdaTypeCS ) int alt74=4; switch ( input.LA(1) ) { case 39: { alt74=1; } break; case 40: { alt74=2; } break; case RULE_DOUBLE_QUOTED_STRING: case RULE_SIMPLE_ID: case RULE_ESCAPED_ID: case 17: case 18: case 19: case 20: case 21: case 22: case 23: case 24: case 25: case 26: case 27: case 28: case 29: case 30: case 31: case 32: case 33: case 34: case 35: case 36: case 37: case 54: case 55: case 56: case 57: case 58: case 59: case 60: case 61: case 62: case 63: case 64: case 65: case 79: case 80: case 81: case 82: case 83: case 84: case 85: case 86: case 87: case 88: case 89: case 90: case 91: { alt74=3; } break; case 38: { 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3546:2: this_MapTypeCS_0= ruleMapTypeCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypedRefCSAccess().getMapTypeCSParserRuleCall_0()); } pushFollow(FollowSets000.FOLLOW_ruleMapTypeCS_in_ruleTypedRefCS7403); this_MapTypeCS_0=ruleMapTypeCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current = this_MapTypeCS_0; afterParserOrEnumRuleCall(); } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3559:2: this_TupleTypeCS_1= ruleTupleTypeCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypedRefCSAccess().getTupleTypeCSParserRuleCall_1()); } pushFollow(FollowSets000.FOLLOW_ruleTupleTypeCS_in_ruleTypedRefCS7433); this_TupleTypeCS_1=ruleTupleTypeCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current = this_TupleTypeCS_1; afterParserOrEnumRuleCall(); } } break; case 3 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3572:2: this_TypedTypeRefCS_2= ruleTypedTypeRefCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypedRefCSAccess().getTypedTypeRefCSParserRuleCall_2()); } pushFollow(FollowSets000.FOLLOW_ruleTypedTypeRefCS_in_ruleTypedRefCS7463); this_TypedTypeRefCS_2=ruleTypedTypeRefCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current = this_TypedTypeRefCS_2; afterParserOrEnumRuleCall(); } } break; case 4 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3585:2: this_LambdaTypeCS_3= ruleLambdaTypeCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypedRefCSAccess().getLambdaTypeCSParserRuleCall_3()); } pushFollow(FollowSets000.FOLLOW_ruleLambdaTypeCS_in_ruleTypedRefCS7493); this_LambdaTypeCS_3=ruleLambdaTypeCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current = this_LambdaTypeCS_3; afterParserOrEnumRuleCall(); } } break; } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleTypedRefCS" // $ANTLR start "entryRuleTypedTypeRefCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3604:1: entryRuleTypedTypeRefCS returns [EObject current=null] : iv_ruleTypedTypeRefCS= ruleTypedTypeRefCS EOF ; public final EObject entryRuleTypedTypeRefCS() throws RecognitionException { EObject current = null; EObject iv_ruleTypedTypeRefCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3605:2: (iv_ruleTypedTypeRefCS= ruleTypedTypeRefCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3606:2: iv_ruleTypedTypeRefCS= ruleTypedTypeRefCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypedTypeRefCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleTypedTypeRefCS_in_entryRuleTypedTypeRefCS7528); iv_ruleTypedTypeRefCS=ruleTypedTypeRefCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleTypedTypeRefCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypedTypeRefCS7538); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleTypedTypeRefCS" // $ANTLR start "ruleTypedTypeRefCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3613:1: ruleTypedTypeRefCS returns [EObject current=null] : ( ( ( (lv_isTypeof_0_0= 'typeof' ) ) otherlv_1= '(' ( (lv_ownedPathName_2_0= ruleLibPathNameCS ) ) otherlv_3= ')' ) | ( ( (lv_ownedPathName_4_0= ruleLibPathNameCS ) ) (otherlv_5= '(' ( (lv_ownedBinding_6_0= ruleTemplateBindingCS ) ) otherlv_7= ')' )? ) ) ; public final EObject ruleTypedTypeRefCS() throws RecognitionException { EObject current = null; Token lv_isTypeof_0_0=null; Token otherlv_1=null; Token otherlv_3=null; Token otherlv_5=null; Token otherlv_7=null; EObject lv_ownedPathName_2_0 = null; EObject lv_ownedPathName_4_0 = null; EObject lv_ownedBinding_6_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3616:28: ( ( ( ( (lv_isTypeof_0_0= 'typeof' ) ) otherlv_1= '(' ( (lv_ownedPathName_2_0= ruleLibPathNameCS ) ) otherlv_3= ')' ) | ( ( (lv_ownedPathName_4_0= ruleLibPathNameCS ) ) (otherlv_5= '(' ( (lv_ownedBinding_6_0= ruleTemplateBindingCS ) ) otherlv_7= ')' )? ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3617:1: ( ( ( (lv_isTypeof_0_0= 'typeof' ) ) otherlv_1= '(' ( (lv_ownedPathName_2_0= ruleLibPathNameCS ) ) otherlv_3= ')' ) | ( ( (lv_ownedPathName_4_0= ruleLibPathNameCS ) ) (otherlv_5= '(' ( (lv_ownedBinding_6_0= ruleTemplateBindingCS ) ) otherlv_7= ')' )? ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3617:1: ( ( ( (lv_isTypeof_0_0= 'typeof' ) ) otherlv_1= '(' ( (lv_ownedPathName_2_0= ruleLibPathNameCS ) ) otherlv_3= ')' ) | ( ( (lv_ownedPathName_4_0= ruleLibPathNameCS ) ) (otherlv_5= '(' ( (lv_ownedBinding_6_0= ruleTemplateBindingCS ) ) otherlv_7= ')' )? ) ) int alt76=2; int LA76_0 = input.LA(1); if ( (LA76_0==54) ) { alt76=1; } else if ( (LA76_0==RULE_DOUBLE_QUOTED_STRING||(LA76_0>=RULE_SIMPLE_ID && LA76_0<=RULE_ESCAPED_ID)||(LA76_0>=17 && LA76_0<=37)||(LA76_0>=55 && LA76_0<=65)||(LA76_0>=79 && LA76_0<=91)) ) { alt76=2; } else { if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 76, 0, input); throw nvae; } switch (alt76) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3617:2: ( ( (lv_isTypeof_0_0= 'typeof' ) ) otherlv_1= '(' ( (lv_ownedPathName_2_0= ruleLibPathNameCS ) ) otherlv_3= ')' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3617:2: ( ( (lv_isTypeof_0_0= 'typeof' ) ) otherlv_1= '(' ( (lv_ownedPathName_2_0= ruleLibPathNameCS ) ) otherlv_3= ')' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3617:3: ( (lv_isTypeof_0_0= 'typeof' ) ) otherlv_1= '(' ( (lv_ownedPathName_2_0= ruleLibPathNameCS ) ) otherlv_3= ')' { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3617:3: ( (lv_isTypeof_0_0= 'typeof' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3618:1: (lv_isTypeof_0_0= 'typeof' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3618:1: (lv_isTypeof_0_0= 'typeof' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3619:3: lv_isTypeof_0_0= 'typeof' { lv_isTypeof_0_0=(Token)match(input,54,FollowSets000.FOLLOW_54_in_ruleTypedTypeRefCS7582); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(lv_isTypeof_0_0, grammarAccess.getTypedTypeRefCSAccess().getIsTypeofTypeofKeyword_0_0_0()); } if ( state.backtracking==0 ) { if (current==null) { current = createModelElement(grammarAccess.getTypedTypeRefCSRule()); } setWithLastConsumed(current, "isTypeof", true, "typeof"); } } } otherlv_1=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleTypedTypeRefCS7607); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getTypedTypeRefCSAccess().getLeftParenthesisKeyword_0_1()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3636:1: ( (lv_ownedPathName_2_0= ruleLibPathNameCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3637:1: (lv_ownedPathName_2_0= ruleLibPathNameCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3637:1: (lv_ownedPathName_2_0= ruleLibPathNameCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3638:3: lv_ownedPathName_2_0= ruleLibPathNameCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypedTypeRefCSAccess().getOwnedPathNameLibPathNameCSParserRuleCall_0_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleLibPathNameCS_in_ruleTypedTypeRefCS7628); lv_ownedPathName_2_0=ruleLibPathNameCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getTypedTypeRefCSRule()); } set( current, "ownedPathName", lv_ownedPathName_2_0, "LibPathNameCS"); afterParserOrEnumRuleCall(); } } } otherlv_3=(Token)match(input,45,FollowSets000.FOLLOW_45_in_ruleTypedTypeRefCS7640); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_3, grammarAccess.getTypedTypeRefCSAccess().getRightParenthesisKeyword_0_3()); } } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3659:6: ( ( (lv_ownedPathName_4_0= ruleLibPathNameCS ) ) (otherlv_5= '(' ( (lv_ownedBinding_6_0= ruleTemplateBindingCS ) ) otherlv_7= ')' )? ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3659:6: ( ( (lv_ownedPathName_4_0= ruleLibPathNameCS ) ) (otherlv_5= '(' ( (lv_ownedBinding_6_0= ruleTemplateBindingCS ) ) otherlv_7= ')' )? ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3659:7: ( (lv_ownedPathName_4_0= ruleLibPathNameCS ) ) (otherlv_5= '(' ( (lv_ownedBinding_6_0= ruleTemplateBindingCS ) ) otherlv_7= ')' )? { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3659:7: ( (lv_ownedPathName_4_0= ruleLibPathNameCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3660:1: (lv_ownedPathName_4_0= ruleLibPathNameCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3660:1: (lv_ownedPathName_4_0= ruleLibPathNameCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3661:3: lv_ownedPathName_4_0= ruleLibPathNameCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypedTypeRefCSAccess().getOwnedPathNameLibPathNameCSParserRuleCall_1_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleLibPathNameCS_in_ruleTypedTypeRefCS7669); lv_ownedPathName_4_0=ruleLibPathNameCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getTypedTypeRefCSRule()); } set( current, "ownedPathName", lv_ownedPathName_4_0, "LibPathNameCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3677:2: (otherlv_5= '(' ( (lv_ownedBinding_6_0= ruleTemplateBindingCS ) ) otherlv_7= ')' )? int alt75=2; int LA75_0 = input.LA(1); if ( (LA75_0==43) ) { alt75=1; } switch (alt75) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3677:4: otherlv_5= '(' ( (lv_ownedBinding_6_0= ruleTemplateBindingCS ) ) otherlv_7= ')' { otherlv_5=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleTypedTypeRefCS7682); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_5, grammarAccess.getTypedTypeRefCSAccess().getLeftParenthesisKeyword_1_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3681:1: ( (lv_ownedBinding_6_0= ruleTemplateBindingCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3682:1: (lv_ownedBinding_6_0= ruleTemplateBindingCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3682:1: (lv_ownedBinding_6_0= ruleTemplateBindingCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3683:3: lv_ownedBinding_6_0= ruleTemplateBindingCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypedTypeRefCSAccess().getOwnedBindingTemplateBindingCSParserRuleCall_1_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleTemplateBindingCS_in_ruleTypedTypeRefCS7703); lv_ownedBinding_6_0=ruleTemplateBindingCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getTypedTypeRefCSRule()); } set( current, "ownedBinding", lv_ownedBinding_6_0, "TemplateBindingCS"); afterParserOrEnumRuleCall(); } } } otherlv_7=(Token)match(input,45,FollowSets000.FOLLOW_45_in_ruleTypedTypeRefCS7715); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_7, grammarAccess.getTypedTypeRefCSAccess().getRightParenthesisKeyword_1_1_2()); } } break; } } } break; } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleTypedTypeRefCS" // $ANTLR start "entryRuleTuplePartCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3711: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3712:2: (iv_ruleTuplePartCS= ruleTuplePartCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3713:2: iv_ruleTuplePartCS= ruleTuplePartCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTuplePartCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleTuplePartCS_in_entryRuleTuplePartCS7754); iv_ruleTuplePartCS=ruleTuplePartCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleTuplePartCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTuplePartCS7764); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3720:1: ruleTuplePartCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleIdentifier ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) ) ; 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3723:28: ( ( ( (lv_name_0_0= ruleIdentifier ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3724:1: ( ( (lv_name_0_0= ruleIdentifier ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3724:1: ( ( (lv_name_0_0= ruleIdentifier ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3724:2: ( (lv_name_0_0= ruleIdentifier ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3724:2: ( (lv_name_0_0= ruleIdentifier ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3725:1: (lv_name_0_0= ruleIdentifier ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3725:1: (lv_name_0_0= ruleIdentifier ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3726:3: lv_name_0_0= ruleIdentifier { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTuplePartCSAccess().getNameIdentifierParserRuleCall_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleIdentifier_in_ruleTuplePartCS7810); lv_name_0_0=ruleIdentifier(); 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, "Identifier"); afterParserOrEnumRuleCall(); } } } otherlv_1=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleTuplePartCS7822); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getTuplePartCSAccess().getColonKeyword_1()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3746:1: ( (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3747:1: (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3747:1: (lv_ownedType_2_0= ruleTypedMultiplicityRefCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3748:3: lv_ownedType_2_0= ruleTypedMultiplicityRefCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTuplePartCSAccess().getOwnedTypeTypedMultiplicityRefCSParserRuleCall_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypedMultiplicityRefCS_in_ruleTuplePartCS7843); lv_ownedType_2_0=ruleTypedMultiplicityRefCS(); 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, "TypedMultiplicityRefCS"); afterParserOrEnumRuleCall(); } } } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleTuplePartCS" // $ANTLR start "entryRuleEssentialOCLReservedKeyword" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3774:1: entryRuleEssentialOCLReservedKeyword returns [String current=null] : iv_ruleEssentialOCLReservedKeyword= ruleEssentialOCLReservedKeyword EOF ; public final String entryRuleEssentialOCLReservedKeyword() throws RecognitionException { String current = null; AntlrDatatypeRuleToken iv_ruleEssentialOCLReservedKeyword = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3775:2: (iv_ruleEssentialOCLReservedKeyword= ruleEssentialOCLReservedKeyword EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3776:2: iv_ruleEssentialOCLReservedKeyword= ruleEssentialOCLReservedKeyword EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getEssentialOCLReservedKeywordRule()); } pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLReservedKeyword_in_entryRuleEssentialOCLReservedKeyword7882); iv_ruleEssentialOCLReservedKeyword=ruleEssentialOCLReservedKeyword(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleEssentialOCLReservedKeyword.getText(); } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEssentialOCLReservedKeyword7893); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleEssentialOCLReservedKeyword" // $ANTLR start "ruleEssentialOCLReservedKeyword" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3783:1: ruleEssentialOCLReservedKeyword returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'and' | kw= 'else' | kw= 'endif' | kw= 'if' | kw= 'implies' | kw= 'in' | kw= 'let' | kw= 'not' | kw= 'or' | kw= 'then' | kw= 'xor' ) ; public final AntlrDatatypeRuleToken ruleEssentialOCLReservedKeyword() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3786:28: ( (kw= 'and' | kw= 'else' | kw= 'endif' | kw= 'if' | kw= 'implies' | kw= 'in' | kw= 'let' | kw= 'not' | kw= 'or' | kw= 'then' | kw= 'xor' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3787:1: (kw= 'and' | kw= 'else' | kw= 'endif' | kw= 'if' | kw= 'implies' | kw= 'in' | kw= 'let' | kw= 'not' | kw= 'or' | kw= 'then' | kw= 'xor' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3787:1: (kw= 'and' | kw= 'else' | kw= 'endif' | kw= 'if' | kw= 'implies' | kw= 'in' | kw= 'let' | kw= 'not' | kw= 'or' | kw= 'then' | kw= 'xor' ) int alt77=11; switch ( input.LA(1) ) { case 55: { alt77=1; } break; case 56: { alt77=2; } break; case 57: { alt77=3; } break; case 58: { alt77=4; } break; case 59: { alt77=5; } break; case 60: { alt77=6; } break; case 61: { alt77=7; } break; case 62: { alt77=8; } break; case 63: { alt77=9; } break; case 64: { alt77=10; } break; case 65: { alt77=11; } 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3788:2: kw= 'and' { kw=(Token)match(input,55,FollowSets000.FOLLOW_55_in_ruleEssentialOCLReservedKeyword7931); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getEssentialOCLReservedKeywordAccess().getAndKeyword_0()); } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3795:2: kw= 'else' { kw=(Token)match(input,56,FollowSets000.FOLLOW_56_in_ruleEssentialOCLReservedKeyword7950); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getEssentialOCLReservedKeywordAccess().getElseKeyword_1()); } } break; case 3 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3802:2: kw= 'endif' { kw=(Token)match(input,57,FollowSets000.FOLLOW_57_in_ruleEssentialOCLReservedKeyword7969); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getEssentialOCLReservedKeywordAccess().getEndifKeyword_2()); } } break; case 4 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3809:2: kw= 'if' { kw=(Token)match(input,58,FollowSets000.FOLLOW_58_in_ruleEssentialOCLReservedKeyword7988); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getEssentialOCLReservedKeywordAccess().getIfKeyword_3()); } } break; case 5 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3816:2: kw= 'implies' { kw=(Token)match(input,59,FollowSets000.FOLLOW_59_in_ruleEssentialOCLReservedKeyword8007); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getEssentialOCLReservedKeywordAccess().getImpliesKeyword_4()); } } break; case 6 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3823:2: kw= 'in' { kw=(Token)match(input,60,FollowSets000.FOLLOW_60_in_ruleEssentialOCLReservedKeyword8026); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getEssentialOCLReservedKeywordAccess().getInKeyword_5()); } } break; case 7 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3830:2: kw= 'let' { kw=(Token)match(input,61,FollowSets000.FOLLOW_61_in_ruleEssentialOCLReservedKeyword8045); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getEssentialOCLReservedKeywordAccess().getLetKeyword_6()); } } break; case 8 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3837:2: kw= 'not' { kw=(Token)match(input,62,FollowSets000.FOLLOW_62_in_ruleEssentialOCLReservedKeyword8064); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getEssentialOCLReservedKeywordAccess().getNotKeyword_7()); } } break; case 9 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3844:2: kw= 'or' { kw=(Token)match(input,63,FollowSets000.FOLLOW_63_in_ruleEssentialOCLReservedKeyword8083); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getEssentialOCLReservedKeywordAccess().getOrKeyword_8()); } } break; case 10 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3851:2: kw= 'then' { kw=(Token)match(input,64,FollowSets000.FOLLOW_64_in_ruleEssentialOCLReservedKeyword8102); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getEssentialOCLReservedKeywordAccess().getThenKeyword_9()); } } break; case 11 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3858:2: kw= 'xor' { kw=(Token)match(input,65,FollowSets000.FOLLOW_65_in_ruleEssentialOCLReservedKeyword8121); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getEssentialOCLReservedKeywordAccess().getXorKeyword_10()); } } break; } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleEssentialOCLReservedKeyword" // $ANTLR start "entryRuleEssentialOCLUnaryOperatorName" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3871: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3872:2: (iv_ruleEssentialOCLUnaryOperatorName= ruleEssentialOCLUnaryOperatorName EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3873:2: iv_ruleEssentialOCLUnaryOperatorName= ruleEssentialOCLUnaryOperatorName EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getEssentialOCLUnaryOperatorNameRule()); } pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLUnaryOperatorName_in_entryRuleEssentialOCLUnaryOperatorName8162); 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_entryRuleEssentialOCLUnaryOperatorName8173); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3880: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3883:28: ( (kw= '-' | kw= 'not' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3884:1: (kw= '-' | kw= 'not' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3884:1: (kw= '-' | kw= 'not' ) int alt78=2; int LA78_0 = input.LA(1); if ( (LA78_0==66) ) { alt78=1; } else if ( (LA78_0==62) ) { alt78=2; } else { if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 78, 0, input); throw nvae; } switch (alt78) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3885:2: kw= '-' { kw=(Token)match(input,66,FollowSets000.FOLLOW_66_in_ruleEssentialOCLUnaryOperatorName8211); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3892:2: kw= 'not' { kw=(Token)match(input,62,FollowSets000.FOLLOW_62_in_ruleEssentialOCLUnaryOperatorName8230); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3905: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3906:2: (iv_ruleEssentialOCLInfixOperatorName= ruleEssentialOCLInfixOperatorName EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3907:2: iv_ruleEssentialOCLInfixOperatorName= ruleEssentialOCLInfixOperatorName EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getEssentialOCLInfixOperatorNameRule()); } pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLInfixOperatorName_in_entryRuleEssentialOCLInfixOperatorName8271); 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_entryRuleEssentialOCLInfixOperatorName8282); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3914: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3917:28: ( (kw= '*' | kw= '/' | kw= '+' | kw= '-' | kw= '>' | kw= '<' | kw= '>=' | kw= '<=' | kw= '=' | kw= '<>' | kw= 'and' | kw= 'or' | kw= 'xor' | kw= 'implies' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3918:1: (kw= '*' | kw= '/' | kw= '+' | kw= '-' | kw= '>' | kw= '<' | kw= '>=' | kw= '<=' | kw= '=' | kw= '<>' | kw= 'and' | kw= 'or' | kw= 'xor' | kw= 'implies' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3918:1: (kw= '*' | kw= '/' | kw= '+' | kw= '-' | kw= '>' | kw= '<' | kw= '>=' | kw= '<=' | kw= '=' | kw= '<>' | kw= 'and' | kw= 'or' | kw= 'xor' | kw= 'implies' ) int alt79=14; switch ( input.LA(1) ) { case 67: { alt79=1; } break; case 68: { alt79=2; } break; case 69: { alt79=3; } break; case 66: { alt79=4; } break; case 70: { alt79=5; } break; case 71: { alt79=6; } break; case 72: { alt79=7; } break; case 73: { alt79=8; } break; case 48: { alt79=9; } break; case 74: { alt79=10; } break; case 55: { alt79=11; } break; case 63: { alt79=12; } break; case 65: { alt79=13; } break; case 59: { alt79=14; } break; default: if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 79, 0, input); throw nvae; } switch (alt79) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3919:2: kw= '*' { kw=(Token)match(input,67,FollowSets000.FOLLOW_67_in_ruleEssentialOCLInfixOperatorName8320); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3926:2: kw= '/' { kw=(Token)match(input,68,FollowSets000.FOLLOW_68_in_ruleEssentialOCLInfixOperatorName8339); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3933:2: kw= '+' { kw=(Token)match(input,69,FollowSets000.FOLLOW_69_in_ruleEssentialOCLInfixOperatorName8358); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3940:2: kw= '-' { kw=(Token)match(input,66,FollowSets000.FOLLOW_66_in_ruleEssentialOCLInfixOperatorName8377); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3947:2: kw= '>' { kw=(Token)match(input,70,FollowSets000.FOLLOW_70_in_ruleEssentialOCLInfixOperatorName8396); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3954:2: kw= '<' { kw=(Token)match(input,71,FollowSets000.FOLLOW_71_in_ruleEssentialOCLInfixOperatorName8415); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3961:2: kw= '>=' { kw=(Token)match(input,72,FollowSets000.FOLLOW_72_in_ruleEssentialOCLInfixOperatorName8434); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3968:2: kw= '<=' { kw=(Token)match(input,73,FollowSets000.FOLLOW_73_in_ruleEssentialOCLInfixOperatorName8453); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3975:2: kw= '=' { kw=(Token)match(input,48,FollowSets000.FOLLOW_48_in_ruleEssentialOCLInfixOperatorName8472); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3982:2: kw= '<>' { kw=(Token)match(input,74,FollowSets000.FOLLOW_74_in_ruleEssentialOCLInfixOperatorName8491); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3989:2: kw= 'and' { kw=(Token)match(input,55,FollowSets000.FOLLOW_55_in_ruleEssentialOCLInfixOperatorName8510); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:3996:2: kw= 'or' { kw=(Token)match(input,63,FollowSets000.FOLLOW_63_in_ruleEssentialOCLInfixOperatorName8529); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4003:2: kw= 'xor' { kw=(Token)match(input,65,FollowSets000.FOLLOW_65_in_ruleEssentialOCLInfixOperatorName8548); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4010:2: kw= 'implies' { kw=(Token)match(input,59,FollowSets000.FOLLOW_59_in_ruleEssentialOCLInfixOperatorName8567); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4023: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4024:2: (iv_ruleEssentialOCLNavigationOperatorName= ruleEssentialOCLNavigationOperatorName EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4025:2: iv_ruleEssentialOCLNavigationOperatorName= ruleEssentialOCLNavigationOperatorName EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getEssentialOCLNavigationOperatorNameRule()); } pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLNavigationOperatorName_in_entryRuleEssentialOCLNavigationOperatorName8608); 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_entryRuleEssentialOCLNavigationOperatorName8619); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4032: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4035:28: ( (kw= '.' | kw= '->' | kw= '?.' | kw= '?->' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4036:1: (kw= '.' | kw= '->' | kw= '?.' | kw= '?->' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4036:1: (kw= '.' | kw= '->' | kw= '?.' | kw= '?->' ) int alt80=4; switch ( input.LA(1) ) { case 75: { alt80=1; } break; case 76: { alt80=2; } break; case 77: { alt80=3; } break; case 78: { alt80=4; } break; default: if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 80, 0, input); throw nvae; } switch (alt80) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4037:2: kw= '.' { kw=(Token)match(input,75,FollowSets000.FOLLOW_75_in_ruleEssentialOCLNavigationOperatorName8657); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4044:2: kw= '->' { kw=(Token)match(input,76,FollowSets000.FOLLOW_76_in_ruleEssentialOCLNavigationOperatorName8676); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4051:2: kw= '?.' { kw=(Token)match(input,77,FollowSets000.FOLLOW_77_in_ruleEssentialOCLNavigationOperatorName8695); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4058:2: kw= '?->' { kw=(Token)match(input,78,FollowSets000.FOLLOW_78_in_ruleEssentialOCLNavigationOperatorName8714); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4071: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4072:2: (iv_ruleBinaryOperatorName= ruleBinaryOperatorName EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4073:2: iv_ruleBinaryOperatorName= ruleBinaryOperatorName EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getBinaryOperatorNameRule()); } pushFollow(FollowSets000.FOLLOW_ruleBinaryOperatorName_in_entryRuleBinaryOperatorName8755); 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_entryRuleBinaryOperatorName8766); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4080: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4083:28: ( (this_InfixOperatorName_0= ruleInfixOperatorName | this_NavigationOperatorName_1= ruleNavigationOperatorName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4084:1: (this_InfixOperatorName_0= ruleInfixOperatorName | this_NavigationOperatorName_1= ruleNavigationOperatorName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4084:1: (this_InfixOperatorName_0= ruleInfixOperatorName | this_NavigationOperatorName_1= ruleNavigationOperatorName ) int alt81=2; int LA81_0 = input.LA(1); if ( (LA81_0==48||LA81_0==55||LA81_0==59||LA81_0==63||(LA81_0>=65 && LA81_0<=74)) ) { alt81=1; } else if ( ((LA81_0>=75 && LA81_0<=78)) ) { alt81=2; } else { if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 81, 0, input); throw nvae; } switch (alt81) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4085:5: this_InfixOperatorName_0= ruleInfixOperatorName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getBinaryOperatorNameAccess().getInfixOperatorNameParserRuleCall_0()); } pushFollow(FollowSets000.FOLLOW_ruleInfixOperatorName_in_ruleBinaryOperatorName8813); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4097:5: this_NavigationOperatorName_1= ruleNavigationOperatorName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getBinaryOperatorNameAccess().getNavigationOperatorNameParserRuleCall_1()); } pushFollow(FollowSets000.FOLLOW_ruleNavigationOperatorName_in_ruleBinaryOperatorName8846); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4115: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4116:2: (iv_ruleInfixOperatorName= ruleInfixOperatorName EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4117:2: iv_ruleInfixOperatorName= ruleInfixOperatorName EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getInfixOperatorNameRule()); } pushFollow(FollowSets000.FOLLOW_ruleInfixOperatorName_in_entryRuleInfixOperatorName8892); 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_entryRuleInfixOperatorName8903); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4124: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4127:28: (this_EssentialOCLInfixOperatorName_0= ruleEssentialOCLInfixOperatorName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4129:5: this_EssentialOCLInfixOperatorName_0= ruleEssentialOCLInfixOperatorName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getInfixOperatorNameAccess().getEssentialOCLInfixOperatorNameParserRuleCall()); } pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLInfixOperatorName_in_ruleInfixOperatorName8949); 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 "entryRuleNavigationOperatorName" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4147: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4148:2: (iv_ruleNavigationOperatorName= ruleNavigationOperatorName EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4149:2: iv_ruleNavigationOperatorName= ruleNavigationOperatorName EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNavigationOperatorNameRule()); } pushFollow(FollowSets000.FOLLOW_ruleNavigationOperatorName_in_entryRuleNavigationOperatorName8994); 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_entryRuleNavigationOperatorName9005); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4156:1: ruleNavigationOperatorName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_EssentialOCLNavigationOperatorName_0= ruleEssentialOCLNavigationOperatorName ; public final AntlrDatatypeRuleToken ruleNavigationOperatorName() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); AntlrDatatypeRuleToken this_EssentialOCLNavigationOperatorName_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4159:28: (this_EssentialOCLNavigationOperatorName_0= ruleEssentialOCLNavigationOperatorName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4161:5: this_EssentialOCLNavigationOperatorName_0= ruleEssentialOCLNavigationOperatorName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNavigationOperatorNameAccess().getEssentialOCLNavigationOperatorNameParserRuleCall()); } pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLNavigationOperatorName_in_ruleNavigationOperatorName9051); 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(); } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleNavigationOperatorName" // $ANTLR start "entryRuleUnaryOperatorName" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4179: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4180:2: (iv_ruleUnaryOperatorName= ruleUnaryOperatorName EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4181:2: iv_ruleUnaryOperatorName= ruleUnaryOperatorName EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getUnaryOperatorNameRule()); } pushFollow(FollowSets000.FOLLOW_ruleUnaryOperatorName_in_entryRuleUnaryOperatorName9096); 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_entryRuleUnaryOperatorName9107); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4188: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4191:28: (this_EssentialOCLUnaryOperatorName_0= ruleEssentialOCLUnaryOperatorName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4193:5: this_EssentialOCLUnaryOperatorName_0= ruleEssentialOCLUnaryOperatorName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getUnaryOperatorNameAccess().getEssentialOCLUnaryOperatorNameParserRuleCall()); } pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLUnaryOperatorName_in_ruleUnaryOperatorName9153); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4211: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4212:2: (iv_ruleEssentialOCLUnrestrictedName= ruleEssentialOCLUnrestrictedName EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4213:2: iv_ruleEssentialOCLUnrestrictedName= ruleEssentialOCLUnrestrictedName EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getEssentialOCLUnrestrictedNameRule()); } pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLUnrestrictedName_in_entryRuleEssentialOCLUnrestrictedName9198); 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_entryRuleEssentialOCLUnrestrictedName9209); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4220: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4223:28: (this_Identifier_0= ruleIdentifier ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4225:5: this_Identifier_0= ruleIdentifier { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getEssentialOCLUnrestrictedNameAccess().getIdentifierParserRuleCall()); } pushFollow(FollowSets000.FOLLOW_ruleIdentifier_in_ruleEssentialOCLUnrestrictedName9255); 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 "entryRuleUnrestrictedName" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4243: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4244:2: (iv_ruleUnrestrictedName= ruleUnrestrictedName EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4245:2: iv_ruleUnrestrictedName= ruleUnrestrictedName EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getUnrestrictedNameRule()); } pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_entryRuleUnrestrictedName9300); 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_entryRuleUnrestrictedName9311); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4252:1: ruleUnrestrictedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_EssentialOCLUnrestrictedName_0= ruleEssentialOCLUnrestrictedName ; public final AntlrDatatypeRuleToken ruleUnrestrictedName() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); AntlrDatatypeRuleToken this_EssentialOCLUnrestrictedName_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4255:28: (this_EssentialOCLUnrestrictedName_0= ruleEssentialOCLUnrestrictedName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4257:5: this_EssentialOCLUnrestrictedName_0= ruleEssentialOCLUnrestrictedName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getUnrestrictedNameAccess().getEssentialOCLUnrestrictedNameParserRuleCall()); } pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLUnrestrictedName_in_ruleUnrestrictedName9357); 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(); } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleUnrestrictedName" // $ANTLR start "entryRuleEssentialOCLUnreservedName" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4275: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4276:2: (iv_ruleEssentialOCLUnreservedName= ruleEssentialOCLUnreservedName EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4277:2: iv_ruleEssentialOCLUnreservedName= ruleEssentialOCLUnreservedName EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getEssentialOCLUnreservedNameRule()); } pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLUnreservedName_in_entryRuleEssentialOCLUnreservedName9402); 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_entryRuleEssentialOCLUnreservedName9413); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4284: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4287:28: ( (this_UnrestrictedName_0= ruleUnrestrictedName | this_CollectionTypeIdentifier_1= ruleCollectionTypeIdentifier | this_PrimitiveTypeIdentifier_2= rulePrimitiveTypeIdentifier | kw= 'Map' | kw= 'Tuple' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4288:1: (this_UnrestrictedName_0= ruleUnrestrictedName | this_CollectionTypeIdentifier_1= ruleCollectionTypeIdentifier | this_PrimitiveTypeIdentifier_2= rulePrimitiveTypeIdentifier | kw= 'Map' | kw= 'Tuple' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4288:1: (this_UnrestrictedName_0= ruleUnrestrictedName | this_CollectionTypeIdentifier_1= ruleCollectionTypeIdentifier | this_PrimitiveTypeIdentifier_2= rulePrimitiveTypeIdentifier | kw= 'Map' | kw= 'Tuple' ) int alt82=5; switch ( input.LA(1) ) { case RULE_SIMPLE_ID: case RULE_ESCAPED_ID: case 17: case 18: case 19: case 20: case 21: case 22: case 23: case 24: case 25: case 26: case 27: case 28: case 29: case 30: case 31: case 32: case 33: case 34: case 35: case 36: case 37: { alt82=1; } break; case 87: case 88: case 89: case 90: case 91: { alt82=2; } break; case 79: case 80: case 81: case 82: case 83: case 84: case 85: case 86: { alt82=3; } break; case 39: { alt82=4; } break; case 40: { alt82=5; } break; default: if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 82, 0, input); throw nvae; } switch (alt82) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4289:5: this_UnrestrictedName_0= ruleUnrestrictedName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getEssentialOCLUnreservedNameAccess().getUnrestrictedNameParserRuleCall_0()); } pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleEssentialOCLUnreservedName9460); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4301:5: this_CollectionTypeIdentifier_1= ruleCollectionTypeIdentifier { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getEssentialOCLUnreservedNameAccess().getCollectionTypeIdentifierParserRuleCall_1()); } pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeIdentifier_in_ruleEssentialOCLUnreservedName9493); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4313:5: this_PrimitiveTypeIdentifier_2= rulePrimitiveTypeIdentifier { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getEssentialOCLUnreservedNameAccess().getPrimitiveTypeIdentifierParserRuleCall_2()); } pushFollow(FollowSets000.FOLLOW_rulePrimitiveTypeIdentifier_in_ruleEssentialOCLUnreservedName9526); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4325:2: kw= 'Map' { kw=(Token)match(input,39,FollowSets000.FOLLOW_39_in_ruleEssentialOCLUnreservedName9550); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4332:2: kw= 'Tuple' { kw=(Token)match(input,40,FollowSets000.FOLLOW_40_in_ruleEssentialOCLUnreservedName9569); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4345: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4346:2: (iv_ruleUnreservedName= ruleUnreservedName EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4347:2: iv_ruleUnreservedName= ruleUnreservedName EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getUnreservedNameRule()); } pushFollow(FollowSets000.FOLLOW_ruleUnreservedName_in_entryRuleUnreservedName9610); 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_entryRuleUnreservedName9621); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4354: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4357:28: (this_EssentialOCLUnreservedName_0= ruleEssentialOCLUnreservedName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4359:5: this_EssentialOCLUnreservedName_0= ruleEssentialOCLUnreservedName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getUnreservedNameAccess().getEssentialOCLUnreservedNameParserRuleCall()); } pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLUnreservedName_in_ruleUnreservedName9667); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4377: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4378:2: (iv_ruleURIPathNameCS= ruleURIPathNameCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4379:2: iv_ruleURIPathNameCS= ruleURIPathNameCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getURIPathNameCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleURIPathNameCS_in_entryRuleURIPathNameCS9711); iv_ruleURIPathNameCS=ruleURIPathNameCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleURIPathNameCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleURIPathNameCS9721); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4386: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4389:28: ( ( ( (lv_ownedPathElements_0_0= ruleURIFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) )* ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4390:1: ( ( (lv_ownedPathElements_0_0= ruleURIFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) )* ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4390:1: ( ( (lv_ownedPathElements_0_0= ruleURIFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) )* ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4390:2: ( (lv_ownedPathElements_0_0= ruleURIFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) )* { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4390:2: ( (lv_ownedPathElements_0_0= ruleURIFirstPathElementCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4391:1: (lv_ownedPathElements_0_0= ruleURIFirstPathElementCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4391:1: (lv_ownedPathElements_0_0= ruleURIFirstPathElementCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4392:3: lv_ownedPathElements_0_0= ruleURIFirstPathElementCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getURIPathNameCSAccess().getOwnedPathElementsURIFirstPathElementCSParserRuleCall_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleURIFirstPathElementCS_in_ruleURIPathNameCS9767); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4408:2: (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) )* loop83: do { int alt83=2; int LA83_0 = input.LA(1); if ( (LA83_0==41) ) { alt83=1; } switch (alt83) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4408:4: otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) { otherlv_1=(Token)match(input,41,FollowSets000.FOLLOW_41_in_ruleURIPathNameCS9780); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getURIPathNameCSAccess().getColonColonKeyword_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4412:1: ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4413:1: (lv_ownedPathElements_2_0= ruleNextPathElementCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4413:1: (lv_ownedPathElements_2_0= ruleNextPathElementCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4414:3: lv_ownedPathElements_2_0= ruleNextPathElementCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getURIPathNameCSAccess().getOwnedPathElementsNextPathElementCSParserRuleCall_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleNextPathElementCS_in_ruleURIPathNameCS9801); 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 loop83; } } 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4438: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4439:2: (iv_ruleURIFirstPathElementCS= ruleURIFirstPathElementCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4440:2: iv_ruleURIFirstPathElementCS= ruleURIFirstPathElementCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getURIFirstPathElementCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleURIFirstPathElementCS_in_entryRuleURIFirstPathElementCS9839); iv_ruleURIFirstPathElementCS=ruleURIFirstPathElementCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleURIFirstPathElementCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleURIFirstPathElementCS9849); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4447:1: ruleURIFirstPathElementCS returns [EObject current=null] : ( ( ( ruleUnrestrictedName ) ) | ( () ( ( ruleURI ) ) ) ) ; public final EObject ruleURIFirstPathElementCS() throws RecognitionException { EObject current = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4450:28: ( ( ( ( ruleUnrestrictedName ) ) | ( () ( ( ruleURI ) ) ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4451:1: ( ( ( ruleUnrestrictedName ) ) | ( () ( ( ruleURI ) ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4451:1: ( ( ( ruleUnrestrictedName ) ) | ( () ( ( ruleURI ) ) ) ) int alt84=2; int LA84_0 = input.LA(1); if ( ((LA84_0>=RULE_SIMPLE_ID && LA84_0<=RULE_ESCAPED_ID)||(LA84_0>=17 && LA84_0<=37)) ) { alt84=1; } else if ( (LA84_0==RULE_SINGLE_QUOTED_STRING) ) { alt84=2; } else { if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 84, 0, input); throw nvae; } switch (alt84) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4451:2: ( ( ruleUnrestrictedName ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4451:2: ( ( ruleUnrestrictedName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4452:1: ( ruleUnrestrictedName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4452:1: ( ruleUnrestrictedName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4453: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_ruleURIFirstPathElementCS9901); ruleUnrestrictedName(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { afterParserOrEnumRuleCall(); } } } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4470:6: ( () ( ( ruleURI ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4470:6: ( () ( ( ruleURI ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4470:7: () ( ( ruleURI ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4470:7: () // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4471:2: { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { current = forceCreateModelElement( grammarAccess.getURIFirstPathElementCSAccess().getPathElementWithURICSAction_1_0(), current); } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4479:2: ( ( ruleURI ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4480:1: ( ruleURI ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4480:1: ( ruleURI ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4481: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_ruleURIFirstPathElementCS9947); 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 "entryRulePrimitiveTypeIdentifier" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4505: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4506:2: (iv_rulePrimitiveTypeIdentifier= rulePrimitiveTypeIdentifier EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4507:2: iv_rulePrimitiveTypeIdentifier= rulePrimitiveTypeIdentifier EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrimitiveTypeIdentifierRule()); } pushFollow(FollowSets000.FOLLOW_rulePrimitiveTypeIdentifier_in_entryRulePrimitiveTypeIdentifier9985); 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_entryRulePrimitiveTypeIdentifier9996); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4514:1: rulePrimitiveTypeIdentifier returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'Boolean' | kw= 'Integer' | kw= 'Real' | kw= 'String' | kw= 'UnlimitedNatural' | kw= 'OclAny' | kw= 'OclInvalid' | kw= 'OclVoid' ) ; public final AntlrDatatypeRuleToken rulePrimitiveTypeIdentifier() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4517:28: ( (kw= 'Boolean' | kw= 'Integer' | kw= 'Real' | kw= 'String' | kw= 'UnlimitedNatural' | kw= 'OclAny' | kw= 'OclInvalid' | kw= 'OclVoid' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4518:1: (kw= 'Boolean' | kw= 'Integer' | kw= 'Real' | kw= 'String' | kw= 'UnlimitedNatural' | kw= 'OclAny' | kw= 'OclInvalid' | kw= 'OclVoid' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4518:1: (kw= 'Boolean' | kw= 'Integer' | kw= 'Real' | kw= 'String' | kw= 'UnlimitedNatural' | kw= 'OclAny' | kw= 'OclInvalid' | kw= 'OclVoid' ) int alt85=8; switch ( input.LA(1) ) { case 79: { alt85=1; } break; case 80: { alt85=2; } break; case 81: { alt85=3; } break; case 82: { alt85=4; } break; case 83: { alt85=5; } break; case 84: { alt85=6; } break; case 85: { alt85=7; } break; case 86: { alt85=8; } break; default: 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4519:2: kw= 'Boolean' { kw=(Token)match(input,79,FollowSets000.FOLLOW_79_in_rulePrimitiveTypeIdentifier10034); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4526:2: kw= 'Integer' { kw=(Token)match(input,80,FollowSets000.FOLLOW_80_in_rulePrimitiveTypeIdentifier10053); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4533:2: kw= 'Real' { kw=(Token)match(input,81,FollowSets000.FOLLOW_81_in_rulePrimitiveTypeIdentifier10072); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4540:2: kw= 'String' { kw=(Token)match(input,82,FollowSets000.FOLLOW_82_in_rulePrimitiveTypeIdentifier10091); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4547:2: kw= 'UnlimitedNatural' { kw=(Token)match(input,83,FollowSets000.FOLLOW_83_in_rulePrimitiveTypeIdentifier10110); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4554:2: kw= 'OclAny' { kw=(Token)match(input,84,FollowSets000.FOLLOW_84_in_rulePrimitiveTypeIdentifier10129); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4561:2: kw= 'OclInvalid' { kw=(Token)match(input,85,FollowSets000.FOLLOW_85_in_rulePrimitiveTypeIdentifier10148); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4568:2: kw= 'OclVoid' { kw=(Token)match(input,86,FollowSets000.FOLLOW_86_in_rulePrimitiveTypeIdentifier10167); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(kw); newLeafNode(kw, grammarAccess.getPrimitiveTypeIdentifierAccess().getOclVoidKeyword_7()); } } break; } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "rulePrimitiveTypeIdentifier" // $ANTLR start "entryRulePrimitiveTypeCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4581: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4582:2: (iv_rulePrimitiveTypeCS= rulePrimitiveTypeCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4583:2: iv_rulePrimitiveTypeCS= rulePrimitiveTypeCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrimitiveTypeCSRule()); } pushFollow(FollowSets000.FOLLOW_rulePrimitiveTypeCS_in_entryRulePrimitiveTypeCS10207); iv_rulePrimitiveTypeCS=rulePrimitiveTypeCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_rulePrimitiveTypeCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePrimitiveTypeCS10217); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4590: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4593:28: ( ( (lv_name_0_0= rulePrimitiveTypeIdentifier ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4594:1: ( (lv_name_0_0= rulePrimitiveTypeIdentifier ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4594:1: ( (lv_name_0_0= rulePrimitiveTypeIdentifier ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4595:1: (lv_name_0_0= rulePrimitiveTypeIdentifier ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4595:1: (lv_name_0_0= rulePrimitiveTypeIdentifier ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4596:3: lv_name_0_0= rulePrimitiveTypeIdentifier { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrimitiveTypeCSAccess().getNamePrimitiveTypeIdentifierParserRuleCall_0()); } pushFollow(FollowSets000.FOLLOW_rulePrimitiveTypeIdentifier_in_rulePrimitiveTypeCS10262); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4620: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4621:2: (iv_ruleCollectionTypeIdentifier= ruleCollectionTypeIdentifier EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4622:2: iv_ruleCollectionTypeIdentifier= ruleCollectionTypeIdentifier EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getCollectionTypeIdentifierRule()); } pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeIdentifier_in_entryRuleCollectionTypeIdentifier10298); 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_entryRuleCollectionTypeIdentifier10309); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4629: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4632:28: ( (kw= 'Set' | kw= 'Bag' | kw= 'Sequence' | kw= 'Collection' | kw= 'OrderedSet' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4633:1: (kw= 'Set' | kw= 'Bag' | kw= 'Sequence' | kw= 'Collection' | kw= 'OrderedSet' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4633:1: (kw= 'Set' | kw= 'Bag' | kw= 'Sequence' | kw= 'Collection' | kw= 'OrderedSet' ) int alt86=5; switch ( input.LA(1) ) { case 87: { alt86=1; } break; case 88: { alt86=2; } break; case 89: { alt86=3; } break; case 90: { alt86=4; } break; case 91: { alt86=5; } break; default: 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4634:2: kw= 'Set' { kw=(Token)match(input,87,FollowSets000.FOLLOW_87_in_ruleCollectionTypeIdentifier10347); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4641:2: kw= 'Bag' { kw=(Token)match(input,88,FollowSets000.FOLLOW_88_in_ruleCollectionTypeIdentifier10366); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4648:2: kw= 'Sequence' { kw=(Token)match(input,89,FollowSets000.FOLLOW_89_in_ruleCollectionTypeIdentifier10385); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4655:2: kw= 'Collection' { kw=(Token)match(input,90,FollowSets000.FOLLOW_90_in_ruleCollectionTypeIdentifier10404); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4662:2: kw= 'OrderedSet' { kw=(Token)match(input,91,FollowSets000.FOLLOW_91_in_ruleCollectionTypeIdentifier10423); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4675: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4676:2: (iv_ruleCollectionTypeCS= ruleCollectionTypeCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4677:2: iv_ruleCollectionTypeCS= ruleCollectionTypeCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getCollectionTypeCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeCS_in_entryRuleCollectionTypeCS10463); iv_ruleCollectionTypeCS=ruleCollectionTypeCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleCollectionTypeCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCollectionTypeCS10473); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4684:1: ruleCollectionTypeCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleCollectionTypeIdentifier ) ) (otherlv_1= '(' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4687:28: ( ( ( (lv_name_0_0= ruleCollectionTypeIdentifier ) ) (otherlv_1= '(' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) otherlv_3= ')' )? ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4688:1: ( ( (lv_name_0_0= ruleCollectionTypeIdentifier ) ) (otherlv_1= '(' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) otherlv_3= ')' )? ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4688:1: ( ( (lv_name_0_0= ruleCollectionTypeIdentifier ) ) (otherlv_1= '(' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) otherlv_3= ')' )? ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4688:2: ( (lv_name_0_0= ruleCollectionTypeIdentifier ) ) (otherlv_1= '(' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) otherlv_3= ')' )? { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4688:2: ( (lv_name_0_0= ruleCollectionTypeIdentifier ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4689:1: (lv_name_0_0= ruleCollectionTypeIdentifier ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4689:1: (lv_name_0_0= ruleCollectionTypeIdentifier ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4690:3: lv_name_0_0= ruleCollectionTypeIdentifier { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getCollectionTypeCSAccess().getNameCollectionTypeIdentifierParserRuleCall_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeIdentifier_in_ruleCollectionTypeCS10519); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4706:2: (otherlv_1= '(' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) otherlv_3= ')' )? int alt87=2; int LA87_0 = input.LA(1); if ( (LA87_0==43) ) { alt87=1; } switch (alt87) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4706:4: otherlv_1= '(' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) otherlv_3= ')' { otherlv_1=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleCollectionTypeCS10532); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getCollectionTypeCSAccess().getLeftParenthesisKeyword_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4710:1: ( (lv_ownedType_2_0= ruleTypeExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4711:1: (lv_ownedType_2_0= ruleTypeExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4711:1: (lv_ownedType_2_0= ruleTypeExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4712:3: lv_ownedType_2_0= ruleTypeExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getCollectionTypeCSAccess().getOwnedTypeTypeExpCSParserRuleCall_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypeExpCS_in_ruleCollectionTypeCS10553); lv_ownedType_2_0=ruleTypeExpCS(); 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, "TypeExpCS"); afterParserOrEnumRuleCall(); } } } otherlv_3=(Token)match(input,45,FollowSets000.FOLLOW_45_in_ruleCollectionTypeCS10565); 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 "entryRuleMapTypeCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4740: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4741:2: (iv_ruleMapTypeCS= ruleMapTypeCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4742:2: iv_ruleMapTypeCS= ruleMapTypeCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getMapTypeCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleMapTypeCS_in_entryRuleMapTypeCS10603); iv_ruleMapTypeCS=ruleMapTypeCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleMapTypeCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleMapTypeCS10613); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4749:1: ruleMapTypeCS returns [EObject current=null] : ( ( (lv_name_0_0= 'Map' ) ) (otherlv_1= '(' ( (lv_ownedKeyType_2_0= ruleTypeExpCS ) ) otherlv_3= ',' ( (lv_ownedValueType_4_0= ruleTypeExpCS ) ) 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4752:28: ( ( ( (lv_name_0_0= 'Map' ) ) (otherlv_1= '(' ( (lv_ownedKeyType_2_0= ruleTypeExpCS ) ) otherlv_3= ',' ( (lv_ownedValueType_4_0= ruleTypeExpCS ) ) otherlv_5= ')' )? ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4753:1: ( ( (lv_name_0_0= 'Map' ) ) (otherlv_1= '(' ( (lv_ownedKeyType_2_0= ruleTypeExpCS ) ) otherlv_3= ',' ( (lv_ownedValueType_4_0= ruleTypeExpCS ) ) otherlv_5= ')' )? ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4753:1: ( ( (lv_name_0_0= 'Map' ) ) (otherlv_1= '(' ( (lv_ownedKeyType_2_0= ruleTypeExpCS ) ) otherlv_3= ',' ( (lv_ownedValueType_4_0= ruleTypeExpCS ) ) otherlv_5= ')' )? ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4753:2: ( (lv_name_0_0= 'Map' ) ) (otherlv_1= '(' ( (lv_ownedKeyType_2_0= ruleTypeExpCS ) ) otherlv_3= ',' ( (lv_ownedValueType_4_0= ruleTypeExpCS ) ) otherlv_5= ')' )? { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4753:2: ( (lv_name_0_0= 'Map' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4754:1: (lv_name_0_0= 'Map' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4754:1: (lv_name_0_0= 'Map' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4755:3: lv_name_0_0= 'Map' { lv_name_0_0=(Token)match(input,39,FollowSets000.FOLLOW_39_in_ruleMapTypeCS10656); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4768:2: (otherlv_1= '(' ( (lv_ownedKeyType_2_0= ruleTypeExpCS ) ) otherlv_3= ',' ( (lv_ownedValueType_4_0= ruleTypeExpCS ) ) otherlv_5= ')' )? int alt88=2; int LA88_0 = input.LA(1); if ( (LA88_0==43) ) { alt88=1; } switch (alt88) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4768:4: otherlv_1= '(' ( (lv_ownedKeyType_2_0= ruleTypeExpCS ) ) otherlv_3= ',' ( (lv_ownedValueType_4_0= ruleTypeExpCS ) ) otherlv_5= ')' { otherlv_1=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleMapTypeCS10682); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getMapTypeCSAccess().getLeftParenthesisKeyword_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4772:1: ( (lv_ownedKeyType_2_0= ruleTypeExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4773:1: (lv_ownedKeyType_2_0= ruleTypeExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4773:1: (lv_ownedKeyType_2_0= ruleTypeExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4774:3: lv_ownedKeyType_2_0= ruleTypeExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getMapTypeCSAccess().getOwnedKeyTypeTypeExpCSParserRuleCall_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypeExpCS_in_ruleMapTypeCS10703); lv_ownedKeyType_2_0=ruleTypeExpCS(); 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, "TypeExpCS"); afterParserOrEnumRuleCall(); } } } otherlv_3=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleMapTypeCS10715); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_3, grammarAccess.getMapTypeCSAccess().getCommaKeyword_1_2()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4794:1: ( (lv_ownedValueType_4_0= ruleTypeExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4795:1: (lv_ownedValueType_4_0= ruleTypeExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4795:1: (lv_ownedValueType_4_0= ruleTypeExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4796:3: lv_ownedValueType_4_0= ruleTypeExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getMapTypeCSAccess().getOwnedValueTypeTypeExpCSParserRuleCall_1_3_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypeExpCS_in_ruleMapTypeCS10736); lv_ownedValueType_4_0=ruleTypeExpCS(); 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, "TypeExpCS"); afterParserOrEnumRuleCall(); } } } otherlv_5=(Token)match(input,45,FollowSets000.FOLLOW_45_in_ruleMapTypeCS10748); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4824: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4825:2: (iv_ruleTupleTypeCS= ruleTupleTypeCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4826:2: iv_ruleTupleTypeCS= ruleTupleTypeCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTupleTypeCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleTupleTypeCS_in_entryRuleTupleTypeCS10786); iv_ruleTupleTypeCS=ruleTupleTypeCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleTupleTypeCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTupleTypeCS10796); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4833: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4836: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4837: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4837: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4837: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4837:2: ( (lv_name_0_0= 'Tuple' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4838:1: (lv_name_0_0= 'Tuple' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4838:1: (lv_name_0_0= 'Tuple' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4839:3: lv_name_0_0= 'Tuple' { lv_name_0_0=(Token)match(input,40,FollowSets000.FOLLOW_40_in_ruleTupleTypeCS10839); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4852:2: (otherlv_1= '(' ( ( (lv_ownedParts_2_0= ruleTuplePartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) )* )? otherlv_5= ')' )? int alt91=2; int LA91_0 = input.LA(1); if ( (LA91_0==43) ) { alt91=1; } switch (alt91) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4852:4: otherlv_1= '(' ( ( (lv_ownedParts_2_0= ruleTuplePartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) )* )? otherlv_5= ')' { otherlv_1=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleTupleTypeCS10865); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getTupleTypeCSAccess().getLeftParenthesisKeyword_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4856:1: ( ( (lv_ownedParts_2_0= ruleTuplePartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) )* )? int alt90=2; int LA90_0 = input.LA(1); if ( ((LA90_0>=RULE_SIMPLE_ID && LA90_0<=RULE_ESCAPED_ID)||(LA90_0>=17 && LA90_0<=37)) ) { alt90=1; } switch (alt90) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4856:2: ( (lv_ownedParts_2_0= ruleTuplePartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) )* { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4856:2: ( (lv_ownedParts_2_0= ruleTuplePartCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4857:1: (lv_ownedParts_2_0= ruleTuplePartCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4857:1: (lv_ownedParts_2_0= ruleTuplePartCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4858:3: lv_ownedParts_2_0= ruleTuplePartCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTupleTypeCSAccess().getOwnedPartsTuplePartCSParserRuleCall_1_1_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleTuplePartCS_in_ruleTupleTypeCS10887); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4874:2: (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) )* loop89: do { int alt89=2; int LA89_0 = input.LA(1); if ( (LA89_0==44) ) { alt89=1; } switch (alt89) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4874:4: otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) { otherlv_3=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleTupleTypeCS10900); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_3, grammarAccess.getTupleTypeCSAccess().getCommaKeyword_1_1_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4878:1: ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4879:1: (lv_ownedParts_4_0= ruleTuplePartCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4879:1: (lv_ownedParts_4_0= ruleTuplePartCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4880:3: lv_ownedParts_4_0= ruleTuplePartCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTupleTypeCSAccess().getOwnedPartsTuplePartCSParserRuleCall_1_1_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleTuplePartCS_in_ruleTupleTypeCS10921); 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 loop89; } } while (true); } break; } otherlv_5=(Token)match(input,45,FollowSets000.FOLLOW_45_in_ruleTupleTypeCS10937); 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 "entryRuleCollectionLiteralExpCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4908: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4909:2: (iv_ruleCollectionLiteralExpCS= ruleCollectionLiteralExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4910:2: iv_ruleCollectionLiteralExpCS= ruleCollectionLiteralExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getCollectionLiteralExpCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleCollectionLiteralExpCS_in_entryRuleCollectionLiteralExpCS10975); iv_ruleCollectionLiteralExpCS=ruleCollectionLiteralExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleCollectionLiteralExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCollectionLiteralExpCS10985); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4917:1: ruleCollectionLiteralExpCS returns [EObject current=null] : ( ( (lv_ownedType_0_0= ruleCollectionTypeCS ) ) 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4920:28: ( ( ( (lv_ownedType_0_0= ruleCollectionTypeCS ) ) otherlv_1= '{' ( ( (lv_ownedParts_2_0= ruleCollectionLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) ) )* )? otherlv_5= '}' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4921:1: ( ( (lv_ownedType_0_0= ruleCollectionTypeCS ) ) otherlv_1= '{' ( ( (lv_ownedParts_2_0= ruleCollectionLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) ) )* )? otherlv_5= '}' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4921:1: ( ( (lv_ownedType_0_0= ruleCollectionTypeCS ) ) otherlv_1= '{' ( ( (lv_ownedParts_2_0= ruleCollectionLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) ) )* )? otherlv_5= '}' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4921:2: ( (lv_ownedType_0_0= ruleCollectionTypeCS ) ) otherlv_1= '{' ( ( (lv_ownedParts_2_0= ruleCollectionLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) ) )* )? otherlv_5= '}' { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4921:2: ( (lv_ownedType_0_0= ruleCollectionTypeCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4922:1: (lv_ownedType_0_0= ruleCollectionTypeCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4922:1: (lv_ownedType_0_0= ruleCollectionTypeCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4923:3: lv_ownedType_0_0= ruleCollectionTypeCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getCollectionLiteralExpCSAccess().getOwnedTypeCollectionTypeCSParserRuleCall_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeCS_in_ruleCollectionLiteralExpCS11031); lv_ownedType_0_0=ruleCollectionTypeCS(); 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, "CollectionTypeCS"); afterParserOrEnumRuleCall(); } } } otherlv_1=(Token)match(input,46,FollowSets000.FOLLOW_46_in_ruleCollectionLiteralExpCS11043); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getCollectionLiteralExpCSAccess().getLeftCurlyBracketKeyword_1()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4943:1: ( ( (lv_ownedParts_2_0= ruleCollectionLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) ) )* )? int alt93=2; int LA93_0 = input.LA(1); if ( (LA93_0==RULE_SINGLE_QUOTED_STRING||(LA93_0>=RULE_SIMPLE_ID && LA93_0<=RULE_INT)||(LA93_0>=17 && LA93_0<=40)||(LA93_0>=42 && LA93_0<=43)||LA93_0==58||(LA93_0>=61 && LA93_0<=62)||(LA93_0>=66 && LA93_0<=67)||(LA93_0>=79 && LA93_0<=91)||(LA93_0>=95 && LA93_0<=98)||LA93_0==103) ) { alt93=1; } switch (alt93) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4943:2: ( (lv_ownedParts_2_0= ruleCollectionLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) ) )* { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4943:2: ( (lv_ownedParts_2_0= ruleCollectionLiteralPartCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4944:1: (lv_ownedParts_2_0= ruleCollectionLiteralPartCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4944:1: (lv_ownedParts_2_0= ruleCollectionLiteralPartCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4945:3: lv_ownedParts_2_0= ruleCollectionLiteralPartCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getCollectionLiteralExpCSAccess().getOwnedPartsCollectionLiteralPartCSParserRuleCall_2_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleCollectionLiteralPartCS_in_ruleCollectionLiteralExpCS11065); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4961:2: (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) ) )* loop92: do { int alt92=2; int LA92_0 = input.LA(1); if ( (LA92_0==44) ) { alt92=1; } switch (alt92) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4961:4: otherlv_3= ',' ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) ) { otherlv_3=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleCollectionLiteralExpCS11078); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_3, grammarAccess.getCollectionLiteralExpCSAccess().getCommaKeyword_2_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4965:1: ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4966:1: (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4966:1: (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4967:3: lv_ownedParts_4_0= ruleCollectionLiteralPartCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getCollectionLiteralExpCSAccess().getOwnedPartsCollectionLiteralPartCSParserRuleCall_2_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleCollectionLiteralPartCS_in_ruleCollectionLiteralExpCS11099); 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 loop92; } } while (true); } break; } otherlv_5=(Token)match(input,47,FollowSets000.FOLLOW_47_in_ruleCollectionLiteralExpCS11115); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4995: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4996:2: (iv_ruleCollectionLiteralPartCS= ruleCollectionLiteralPartCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:4997:2: iv_ruleCollectionLiteralPartCS= ruleCollectionLiteralPartCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getCollectionLiteralPartCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleCollectionLiteralPartCS_in_entryRuleCollectionLiteralPartCS11151); iv_ruleCollectionLiteralPartCS=ruleCollectionLiteralPartCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleCollectionLiteralPartCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCollectionLiteralPartCS11161); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5004: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5007:28: ( ( ( ( (lv_ownedExpression_0_0= ruleExpCS ) ) (otherlv_1= '..' ( (lv_ownedLastExpression_2_0= ruleExpCS ) ) )? ) | ( (lv_ownedExpression_3_0= rulePatternExpCS ) ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5008:1: ( ( ( (lv_ownedExpression_0_0= ruleExpCS ) ) (otherlv_1= '..' ( (lv_ownedLastExpression_2_0= ruleExpCS ) ) )? ) | ( (lv_ownedExpression_3_0= rulePatternExpCS ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5008:1: ( ( ( (lv_ownedExpression_0_0= ruleExpCS ) ) (otherlv_1= '..' ( (lv_ownedLastExpression_2_0= ruleExpCS ) ) )? ) | ( (lv_ownedExpression_3_0= rulePatternExpCS ) ) ) int alt95=2; alt95 = dfa95.predict(input); switch (alt95) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5008:2: ( ( (lv_ownedExpression_0_0= ruleExpCS ) ) (otherlv_1= '..' ( (lv_ownedLastExpression_2_0= ruleExpCS ) ) )? ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5008:2: ( ( (lv_ownedExpression_0_0= ruleExpCS ) ) (otherlv_1= '..' ( (lv_ownedLastExpression_2_0= ruleExpCS ) ) )? ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5008:3: ( (lv_ownedExpression_0_0= ruleExpCS ) ) (otherlv_1= '..' ( (lv_ownedLastExpression_2_0= ruleExpCS ) ) )? { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5008:3: ( (lv_ownedExpression_0_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5009:1: (lv_ownedExpression_0_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5009:1: (lv_ownedExpression_0_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5010:3: lv_ownedExpression_0_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getCollectionLiteralPartCSAccess().getOwnedExpressionExpCSParserRuleCall_0_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleCollectionLiteralPartCS11208); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5026:2: (otherlv_1= '..' ( (lv_ownedLastExpression_2_0= ruleExpCS ) ) )? int alt94=2; int LA94_0 = input.LA(1); if ( (LA94_0==92) ) { alt94=1; } switch (alt94) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5026:4: otherlv_1= '..' ( (lv_ownedLastExpression_2_0= ruleExpCS ) ) { otherlv_1=(Token)match(input,92,FollowSets000.FOLLOW_92_in_ruleCollectionLiteralPartCS11221); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getCollectionLiteralPartCSAccess().getFullStopFullStopKeyword_0_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5030:1: ( (lv_ownedLastExpression_2_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5031:1: (lv_ownedLastExpression_2_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5031:1: (lv_ownedLastExpression_2_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5032:3: lv_ownedLastExpression_2_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getCollectionLiteralPartCSAccess().getOwnedLastExpressionExpCSParserRuleCall_0_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleCollectionLiteralPartCS11242); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5049:6: ( (lv_ownedExpression_3_0= rulePatternExpCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5049:6: ( (lv_ownedExpression_3_0= rulePatternExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5050:1: (lv_ownedExpression_3_0= rulePatternExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5050:1: (lv_ownedExpression_3_0= rulePatternExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5051:3: lv_ownedExpression_3_0= rulePatternExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getCollectionLiteralPartCSAccess().getOwnedExpressionPatternExpCSParserRuleCall_1_0()); } pushFollow(FollowSets000.FOLLOW_rulePatternExpCS_in_ruleCollectionLiteralPartCS11272); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5075: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5076:2: (iv_ruleCollectionPatternCS= ruleCollectionPatternCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5077:2: iv_ruleCollectionPatternCS= ruleCollectionPatternCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getCollectionPatternCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleCollectionPatternCS_in_entryRuleCollectionPatternCS11308); iv_ruleCollectionPatternCS=ruleCollectionPatternCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleCollectionPatternCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCollectionPatternCS11318); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5084: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5087: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5088: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5088: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5088: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5088:2: ( (lv_ownedType_0_0= ruleCollectionTypeCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5089:1: (lv_ownedType_0_0= ruleCollectionTypeCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5089:1: (lv_ownedType_0_0= ruleCollectionTypeCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5090:3: lv_ownedType_0_0= ruleCollectionTypeCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getCollectionPatternCSAccess().getOwnedTypeCollectionTypeCSParserRuleCall_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeCS_in_ruleCollectionPatternCS11364); 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,46,FollowSets000.FOLLOW_46_in_ruleCollectionPatternCS11376); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getCollectionPatternCSAccess().getLeftCurlyBracketKeyword_1()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5110:1: ( ( (lv_ownedParts_2_0= rulePatternExpCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= rulePatternExpCS ) ) )* (otherlv_5= '++' ( (lv_restVariableName_6_0= ruleIdentifier ) ) ) )? int alt97=2; int LA97_0 = input.LA(1); if ( ((LA97_0>=RULE_SIMPLE_ID && LA97_0<=RULE_ESCAPED_ID)||(LA97_0>=17 && LA97_0<=37)||LA97_0==42) ) { alt97=1; } switch (alt97) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5110: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5110:2: ( (lv_ownedParts_2_0= rulePatternExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5111:1: (lv_ownedParts_2_0= rulePatternExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5111:1: (lv_ownedParts_2_0= rulePatternExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5112:3: lv_ownedParts_2_0= rulePatternExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getCollectionPatternCSAccess().getOwnedPartsPatternExpCSParserRuleCall_2_0_0()); } pushFollow(FollowSets000.FOLLOW_rulePatternExpCS_in_ruleCollectionPatternCS11398); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5128:2: (otherlv_3= ',' ( (lv_ownedParts_4_0= rulePatternExpCS ) ) )* loop96: do { int alt96=2; int LA96_0 = input.LA(1); if ( (LA96_0==44) ) { alt96=1; } switch (alt96) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5128:4: otherlv_3= ',' ( (lv_ownedParts_4_0= rulePatternExpCS ) ) { otherlv_3=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleCollectionPatternCS11411); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_3, grammarAccess.getCollectionPatternCSAccess().getCommaKeyword_2_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5132:1: ( (lv_ownedParts_4_0= rulePatternExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5133:1: (lv_ownedParts_4_0= rulePatternExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5133:1: (lv_ownedParts_4_0= rulePatternExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5134:3: lv_ownedParts_4_0= rulePatternExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getCollectionPatternCSAccess().getOwnedPartsPatternExpCSParserRuleCall_2_1_1_0()); } pushFollow(FollowSets000.FOLLOW_rulePatternExpCS_in_ruleCollectionPatternCS11432); 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 loop96; } } while (true); // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5150:4: (otherlv_5= '++' ( (lv_restVariableName_6_0= ruleIdentifier ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5150:6: otherlv_5= '++' ( (lv_restVariableName_6_0= ruleIdentifier ) ) { otherlv_5=(Token)match(input,93,FollowSets000.FOLLOW_93_in_ruleCollectionPatternCS11447); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_5, grammarAccess.getCollectionPatternCSAccess().getPlusSignPlusSignKeyword_2_2_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5154:1: ( (lv_restVariableName_6_0= ruleIdentifier ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5155:1: (lv_restVariableName_6_0= ruleIdentifier ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5155:1: (lv_restVariableName_6_0= ruleIdentifier ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5156:3: lv_restVariableName_6_0= ruleIdentifier { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getCollectionPatternCSAccess().getRestVariableNameIdentifierParserRuleCall_2_2_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleIdentifier_in_ruleCollectionPatternCS11468); 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,47,FollowSets000.FOLLOW_47_in_ruleCollectionPatternCS11483); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5184: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5185:2: (iv_ruleShadowPartCS= ruleShadowPartCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5186:2: iv_ruleShadowPartCS= ruleShadowPartCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getShadowPartCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleShadowPartCS_in_entryRuleShadowPartCS11519); iv_ruleShadowPartCS=ruleShadowPartCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleShadowPartCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleShadowPartCS11529); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5193: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5196:28: ( ( ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( ( (lv_ownedInitExpression_2_1= ruleExpCS | lv_ownedInitExpression_2_2= rulePatternExpCS ) ) ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5197:1: ( ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( ( (lv_ownedInitExpression_2_1= ruleExpCS | lv_ownedInitExpression_2_2= rulePatternExpCS ) ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5197:1: ( ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( ( (lv_ownedInitExpression_2_1= ruleExpCS | lv_ownedInitExpression_2_2= rulePatternExpCS ) ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5197:2: ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( ( (lv_ownedInitExpression_2_1= ruleExpCS | lv_ownedInitExpression_2_2= rulePatternExpCS ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5197:2: ( ( ruleUnrestrictedName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5198:1: ( ruleUnrestrictedName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5198:1: ( ruleUnrestrictedName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5199: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_ruleShadowPartCS11581); ruleUnrestrictedName(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { afterParserOrEnumRuleCall(); } } } otherlv_1=(Token)match(input,48,FollowSets000.FOLLOW_48_in_ruleShadowPartCS11593); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getShadowPartCSAccess().getEqualsSignKeyword_1()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5219:1: ( ( (lv_ownedInitExpression_2_1= ruleExpCS | lv_ownedInitExpression_2_2= rulePatternExpCS ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5220:1: ( (lv_ownedInitExpression_2_1= ruleExpCS | lv_ownedInitExpression_2_2= rulePatternExpCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5220:1: ( (lv_ownedInitExpression_2_1= ruleExpCS | lv_ownedInitExpression_2_2= rulePatternExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5221:1: (lv_ownedInitExpression_2_1= ruleExpCS | lv_ownedInitExpression_2_2= rulePatternExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5221:1: (lv_ownedInitExpression_2_1= ruleExpCS | lv_ownedInitExpression_2_2= rulePatternExpCS ) int alt98=2; alt98 = dfa98.predict(input); switch (alt98) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5222:3: lv_ownedInitExpression_2_1= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getShadowPartCSAccess().getOwnedInitExpressionExpCSParserRuleCall_2_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleShadowPartCS11616); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5237:8: lv_ownedInitExpression_2_2= rulePatternExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getShadowPartCSAccess().getOwnedInitExpressionPatternExpCSParserRuleCall_2_0_1()); } pushFollow(FollowSets000.FOLLOW_rulePatternExpCS_in_ruleShadowPartCS11635); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5263: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5264:2: (iv_rulePatternExpCS= rulePatternExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5265:2: iv_rulePatternExpCS= rulePatternExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPatternExpCSRule()); } pushFollow(FollowSets000.FOLLOW_rulePatternExpCS_in_entryRulePatternExpCS11674); iv_rulePatternExpCS=rulePatternExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_rulePatternExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePatternExpCS11684); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5272: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5275:28: ( ( ( (lv_patternVariableName_0_0= ruleUnrestrictedName ) )? otherlv_1= ':' ( (lv_ownedPatternType_2_0= ruleTypeExpCS ) ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5276:1: ( ( (lv_patternVariableName_0_0= ruleUnrestrictedName ) )? otherlv_1= ':' ( (lv_ownedPatternType_2_0= ruleTypeExpCS ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5276:1: ( ( (lv_patternVariableName_0_0= ruleUnrestrictedName ) )? otherlv_1= ':' ( (lv_ownedPatternType_2_0= ruleTypeExpCS ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5276:2: ( (lv_patternVariableName_0_0= ruleUnrestrictedName ) )? otherlv_1= ':' ( (lv_ownedPatternType_2_0= ruleTypeExpCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5276:2: ( (lv_patternVariableName_0_0= ruleUnrestrictedName ) )? int alt99=2; int LA99_0 = input.LA(1); if ( ((LA99_0>=RULE_SIMPLE_ID && LA99_0<=RULE_ESCAPED_ID)||(LA99_0>=17 && LA99_0<=37)) ) { alt99=1; } switch (alt99) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5277:1: (lv_patternVariableName_0_0= ruleUnrestrictedName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5277:1: (lv_patternVariableName_0_0= ruleUnrestrictedName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5278:3: lv_patternVariableName_0_0= ruleUnrestrictedName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPatternExpCSAccess().getPatternVariableNameUnrestrictedNameParserRuleCall_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_rulePatternExpCS11730); 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,42,FollowSets000.FOLLOW_42_in_rulePatternExpCS11743); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getPatternExpCSAccess().getColonKeyword_1()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5298:1: ( (lv_ownedPatternType_2_0= ruleTypeExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5299:1: (lv_ownedPatternType_2_0= ruleTypeExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5299:1: (lv_ownedPatternType_2_0= ruleTypeExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5300:3: lv_ownedPatternType_2_0= ruleTypeExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPatternExpCSAccess().getOwnedPatternTypeTypeExpCSParserRuleCall_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypeExpCS_in_rulePatternExpCS11764); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5324: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5325:2: (iv_ruleLambdaLiteralExpCS= ruleLambdaLiteralExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5326:2: iv_ruleLambdaLiteralExpCS= ruleLambdaLiteralExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLambdaLiteralExpCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleLambdaLiteralExpCS_in_entryRuleLambdaLiteralExpCS11800); iv_ruleLambdaLiteralExpCS=ruleLambdaLiteralExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleLambdaLiteralExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLambdaLiteralExpCS11810); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5333:1: ruleLambdaLiteralExpCS returns [EObject current=null] : (otherlv_0= 'Lambda' otherlv_1= '{' ( (lv_ownedExpressionCS_2_0= ruleExpCS ) ) otherlv_3= '}' ) ; public final EObject ruleLambdaLiteralExpCS() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_3=null; EObject lv_ownedExpressionCS_2_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5336:28: ( (otherlv_0= 'Lambda' otherlv_1= '{' ( (lv_ownedExpressionCS_2_0= ruleExpCS ) ) otherlv_3= '}' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5337:1: (otherlv_0= 'Lambda' otherlv_1= '{' ( (lv_ownedExpressionCS_2_0= ruleExpCS ) ) otherlv_3= '}' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5337:1: (otherlv_0= 'Lambda' otherlv_1= '{' ( (lv_ownedExpressionCS_2_0= ruleExpCS ) ) otherlv_3= '}' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5337:3: otherlv_0= 'Lambda' otherlv_1= '{' ( (lv_ownedExpressionCS_2_0= ruleExpCS ) ) otherlv_3= '}' { otherlv_0=(Token)match(input,38,FollowSets000.FOLLOW_38_in_ruleLambdaLiteralExpCS11847); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_0, grammarAccess.getLambdaLiteralExpCSAccess().getLambdaKeyword_0()); } otherlv_1=(Token)match(input,46,FollowSets000.FOLLOW_46_in_ruleLambdaLiteralExpCS11859); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getLambdaLiteralExpCSAccess().getLeftCurlyBracketKeyword_1()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5345:1: ( (lv_ownedExpressionCS_2_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5346:1: (lv_ownedExpressionCS_2_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5346:1: (lv_ownedExpressionCS_2_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5347:3: lv_ownedExpressionCS_2_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLambdaLiteralExpCSAccess().getOwnedExpressionCSExpCSParserRuleCall_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleLambdaLiteralExpCS11880); lv_ownedExpressionCS_2_0=ruleExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getLambdaLiteralExpCSRule()); } set( current, "ownedExpressionCS", lv_ownedExpressionCS_2_0, "ExpCS"); afterParserOrEnumRuleCall(); } } } otherlv_3=(Token)match(input,47,FollowSets000.FOLLOW_47_in_ruleLambdaLiteralExpCS11892); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_3, grammarAccess.getLambdaLiteralExpCSAccess().getRightCurlyBracketKeyword_3()); } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleLambdaLiteralExpCS" // $ANTLR start "entryRuleMapLiteralExpCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5375: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5376:2: (iv_ruleMapLiteralExpCS= ruleMapLiteralExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5377:2: iv_ruleMapLiteralExpCS= ruleMapLiteralExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getMapLiteralExpCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleMapLiteralExpCS_in_entryRuleMapLiteralExpCS11928); iv_ruleMapLiteralExpCS=ruleMapLiteralExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleMapLiteralExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleMapLiteralExpCS11938); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5384: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5387: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5388: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5388: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5388: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5388:2: ( (lv_ownedType_0_0= ruleMapTypeCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5389:1: (lv_ownedType_0_0= ruleMapTypeCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5389:1: (lv_ownedType_0_0= ruleMapTypeCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5390:3: lv_ownedType_0_0= ruleMapTypeCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getMapLiteralExpCSAccess().getOwnedTypeMapTypeCSParserRuleCall_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleMapTypeCS_in_ruleMapLiteralExpCS11984); 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,46,FollowSets000.FOLLOW_46_in_ruleMapLiteralExpCS11996); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getMapLiteralExpCSAccess().getLeftCurlyBracketKeyword_1()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5410:1: ( ( (lv_ownedParts_2_0= ruleMapLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleMapLiteralPartCS ) ) )* )? int alt101=2; int LA101_0 = input.LA(1); if ( (LA101_0==RULE_SINGLE_QUOTED_STRING||(LA101_0>=RULE_SIMPLE_ID && LA101_0<=RULE_INT)||(LA101_0>=17 && LA101_0<=40)||LA101_0==43||LA101_0==58||(LA101_0>=61 && LA101_0<=62)||(LA101_0>=66 && LA101_0<=67)||(LA101_0>=79 && LA101_0<=91)||(LA101_0>=95 && LA101_0<=98)||LA101_0==103) ) { alt101=1; } switch (alt101) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5410:2: ( (lv_ownedParts_2_0= ruleMapLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleMapLiteralPartCS ) ) )* { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5410:2: ( (lv_ownedParts_2_0= ruleMapLiteralPartCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5411:1: (lv_ownedParts_2_0= ruleMapLiteralPartCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5411:1: (lv_ownedParts_2_0= ruleMapLiteralPartCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5412:3: lv_ownedParts_2_0= ruleMapLiteralPartCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getMapLiteralExpCSAccess().getOwnedPartsMapLiteralPartCSParserRuleCall_2_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleMapLiteralPartCS_in_ruleMapLiteralExpCS12018); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5428:2: (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleMapLiteralPartCS ) ) )* loop100: do { int alt100=2; int LA100_0 = input.LA(1); if ( (LA100_0==44) ) { alt100=1; } switch (alt100) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5428:4: otherlv_3= ',' ( (lv_ownedParts_4_0= ruleMapLiteralPartCS ) ) { otherlv_3=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleMapLiteralExpCS12031); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_3, grammarAccess.getMapLiteralExpCSAccess().getCommaKeyword_2_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5432:1: ( (lv_ownedParts_4_0= ruleMapLiteralPartCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5433:1: (lv_ownedParts_4_0= ruleMapLiteralPartCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5433:1: (lv_ownedParts_4_0= ruleMapLiteralPartCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5434:3: lv_ownedParts_4_0= ruleMapLiteralPartCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getMapLiteralExpCSAccess().getOwnedPartsMapLiteralPartCSParserRuleCall_2_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleMapLiteralPartCS_in_ruleMapLiteralExpCS12052); 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 loop100; } } while (true); } break; } otherlv_5=(Token)match(input,47,FollowSets000.FOLLOW_47_in_ruleMapLiteralExpCS12068); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5462: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5463:2: (iv_ruleMapLiteralPartCS= ruleMapLiteralPartCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5464:2: iv_ruleMapLiteralPartCS= ruleMapLiteralPartCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getMapLiteralPartCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleMapLiteralPartCS_in_entryRuleMapLiteralPartCS12104); iv_ruleMapLiteralPartCS=ruleMapLiteralPartCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleMapLiteralPartCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleMapLiteralPartCS12114); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5471: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5474:28: ( ( ( (lv_ownedKey_0_0= ruleExpCS ) ) otherlv_1= '<-' ( (lv_ownedValue_2_0= ruleExpCS ) ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5475:1: ( ( (lv_ownedKey_0_0= ruleExpCS ) ) otherlv_1= '<-' ( (lv_ownedValue_2_0= ruleExpCS ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5475:1: ( ( (lv_ownedKey_0_0= ruleExpCS ) ) otherlv_1= '<-' ( (lv_ownedValue_2_0= ruleExpCS ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5475:2: ( (lv_ownedKey_0_0= ruleExpCS ) ) otherlv_1= '<-' ( (lv_ownedValue_2_0= ruleExpCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5475:2: ( (lv_ownedKey_0_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5476:1: (lv_ownedKey_0_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5476:1: (lv_ownedKey_0_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5477:3: lv_ownedKey_0_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getMapLiteralPartCSAccess().getOwnedKeyExpCSParserRuleCall_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleMapLiteralPartCS12160); 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,94,FollowSets000.FOLLOW_94_in_ruleMapLiteralPartCS12172); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getMapLiteralPartCSAccess().getLessThanSignHyphenMinusKeyword_1()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5497:1: ( (lv_ownedValue_2_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5498:1: (lv_ownedValue_2_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5498:1: (lv_ownedValue_2_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5499:3: lv_ownedValue_2_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getMapLiteralPartCSAccess().getOwnedValueExpCSParserRuleCall_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleMapLiteralPartCS12193); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5523: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5524:2: (iv_rulePrimitiveLiteralExpCS= rulePrimitiveLiteralExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5525:2: iv_rulePrimitiveLiteralExpCS= rulePrimitiveLiteralExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrimitiveLiteralExpCSRule()); } pushFollow(FollowSets000.FOLLOW_rulePrimitiveLiteralExpCS_in_entryRulePrimitiveLiteralExpCS12229); iv_rulePrimitiveLiteralExpCS=rulePrimitiveLiteralExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_rulePrimitiveLiteralExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePrimitiveLiteralExpCS12239); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5532: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5535: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5536: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5536: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 alt102=6; switch ( input.LA(1) ) { case RULE_INT: { alt102=1; } break; case RULE_SINGLE_QUOTED_STRING: { alt102=2; } break; case 95: case 96: { alt102=3; } break; case 67: { alt102=4; } break; case 97: { alt102=5; } break; case 98: { alt102=6; } break; default: if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 102, 0, input); throw nvae; } switch (alt102) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5537:2: this_NumberLiteralExpCS_0= ruleNumberLiteralExpCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrimitiveLiteralExpCSAccess().getNumberLiteralExpCSParserRuleCall_0()); } pushFollow(FollowSets000.FOLLOW_ruleNumberLiteralExpCS_in_rulePrimitiveLiteralExpCS12289); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5550:2: this_StringLiteralExpCS_1= ruleStringLiteralExpCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrimitiveLiteralExpCSAccess().getStringLiteralExpCSParserRuleCall_1()); } pushFollow(FollowSets000.FOLLOW_ruleStringLiteralExpCS_in_rulePrimitiveLiteralExpCS12319); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5563:2: this_BooleanLiteralExpCS_2= ruleBooleanLiteralExpCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrimitiveLiteralExpCSAccess().getBooleanLiteralExpCSParserRuleCall_2()); } pushFollow(FollowSets000.FOLLOW_ruleBooleanLiteralExpCS_in_rulePrimitiveLiteralExpCS12349); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5576:2: this_UnlimitedNaturalLiteralExpCS_3= ruleUnlimitedNaturalLiteralExpCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrimitiveLiteralExpCSAccess().getUnlimitedNaturalLiteralExpCSParserRuleCall_3()); } pushFollow(FollowSets000.FOLLOW_ruleUnlimitedNaturalLiteralExpCS_in_rulePrimitiveLiteralExpCS12379); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5589:2: this_InvalidLiteralExpCS_4= ruleInvalidLiteralExpCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrimitiveLiteralExpCSAccess().getInvalidLiteralExpCSParserRuleCall_4()); } pushFollow(FollowSets000.FOLLOW_ruleInvalidLiteralExpCS_in_rulePrimitiveLiteralExpCS12409); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5602:2: this_NullLiteralExpCS_5= ruleNullLiteralExpCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrimitiveLiteralExpCSAccess().getNullLiteralExpCSParserRuleCall_5()); } pushFollow(FollowSets000.FOLLOW_ruleNullLiteralExpCS_in_rulePrimitiveLiteralExpCS12439); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5621: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5622:2: (iv_ruleTupleLiteralExpCS= ruleTupleLiteralExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5623:2: iv_ruleTupleLiteralExpCS= ruleTupleLiteralExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTupleLiteralExpCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleTupleLiteralExpCS_in_entryRuleTupleLiteralExpCS12474); iv_ruleTupleLiteralExpCS=ruleTupleLiteralExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleTupleLiteralExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTupleLiteralExpCS12484); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5630: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5633: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5634: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5634: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5634: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,40,FollowSets000.FOLLOW_40_in_ruleTupleLiteralExpCS12521); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_0, grammarAccess.getTupleLiteralExpCSAccess().getTupleKeyword_0()); } otherlv_1=(Token)match(input,46,FollowSets000.FOLLOW_46_in_ruleTupleLiteralExpCS12533); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getTupleLiteralExpCSAccess().getLeftCurlyBracketKeyword_1()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5642:1: ( (lv_ownedParts_2_0= ruleTupleLiteralPartCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5643:1: (lv_ownedParts_2_0= ruleTupleLiteralPartCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5643:1: (lv_ownedParts_2_0= ruleTupleLiteralPartCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5644:3: lv_ownedParts_2_0= ruleTupleLiteralPartCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTupleLiteralExpCSAccess().getOwnedPartsTupleLiteralPartCSParserRuleCall_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleTupleLiteralPartCS_in_ruleTupleLiteralExpCS12554); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5660:2: (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTupleLiteralPartCS ) ) )* loop103: do { int alt103=2; int LA103_0 = input.LA(1); if ( (LA103_0==44) ) { alt103=1; } switch (alt103) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5660:4: otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTupleLiteralPartCS ) ) { otherlv_3=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleTupleLiteralExpCS12567); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_3, grammarAccess.getTupleLiteralExpCSAccess().getCommaKeyword_3_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5664:1: ( (lv_ownedParts_4_0= ruleTupleLiteralPartCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5665:1: (lv_ownedParts_4_0= ruleTupleLiteralPartCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5665:1: (lv_ownedParts_4_0= ruleTupleLiteralPartCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5666:3: lv_ownedParts_4_0= ruleTupleLiteralPartCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTupleLiteralExpCSAccess().getOwnedPartsTupleLiteralPartCSParserRuleCall_3_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleTupleLiteralPartCS_in_ruleTupleLiteralExpCS12588); 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 loop103; } } while (true); otherlv_5=(Token)match(input,47,FollowSets000.FOLLOW_47_in_ruleTupleLiteralExpCS12602); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5694: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5695:2: (iv_ruleTupleLiteralPartCS= ruleTupleLiteralPartCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5696:2: iv_ruleTupleLiteralPartCS= ruleTupleLiteralPartCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTupleLiteralPartCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleTupleLiteralPartCS_in_entryRuleTupleLiteralPartCS12638); iv_ruleTupleLiteralPartCS=ruleTupleLiteralPartCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleTupleLiteralPartCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTupleLiteralPartCS12648); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5703:1: ruleTupleLiteralPartCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) )? 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5706:28: ( ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) )? otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5707:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) )? otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5707:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) )? otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5707:2: ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) )? otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5707:2: ( (lv_name_0_0= ruleUnrestrictedName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5708:1: (lv_name_0_0= ruleUnrestrictedName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5708:1: (lv_name_0_0= ruleUnrestrictedName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5709:3: lv_name_0_0= ruleUnrestrictedName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTupleLiteralPartCSAccess().getNameUnrestrictedNameParserRuleCall_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleTupleLiteralPartCS12694); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5725:2: (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) )? int alt104=2; int LA104_0 = input.LA(1); if ( (LA104_0==42) ) { alt104=1; } switch (alt104) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5725:4: otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) { otherlv_1=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleTupleLiteralPartCS12707); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getTupleLiteralPartCSAccess().getColonKeyword_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5729:1: ( (lv_ownedType_2_0= ruleTypeExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5730:1: (lv_ownedType_2_0= ruleTypeExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5730:1: (lv_ownedType_2_0= ruleTypeExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5731:3: lv_ownedType_2_0= ruleTypeExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTupleLiteralPartCSAccess().getOwnedTypeTypeExpCSParserRuleCall_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypeExpCS_in_ruleTupleLiteralPartCS12728); lv_ownedType_2_0=ruleTypeExpCS(); 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, "TypeExpCS"); afterParserOrEnumRuleCall(); } } } } break; } otherlv_3=(Token)match(input,48,FollowSets000.FOLLOW_48_in_ruleTupleLiteralPartCS12742); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_3, grammarAccess.getTupleLiteralPartCSAccess().getEqualsSignKeyword_2()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5751:1: ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5752:1: (lv_ownedInitExpression_4_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5752:1: (lv_ownedInitExpression_4_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5753:3: lv_ownedInitExpression_4_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTupleLiteralPartCSAccess().getOwnedInitExpressionExpCSParserRuleCall_3_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleTupleLiteralPartCS12763); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5777: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5778:2: (iv_ruleNumberLiteralExpCS= ruleNumberLiteralExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5779:2: iv_ruleNumberLiteralExpCS= ruleNumberLiteralExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNumberLiteralExpCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleNumberLiteralExpCS_in_entryRuleNumberLiteralExpCS12799); iv_ruleNumberLiteralExpCS=ruleNumberLiteralExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleNumberLiteralExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNumberLiteralExpCS12809); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5786: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5789:28: ( ( (lv_symbol_0_0= ruleNUMBER_LITERAL ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5790:1: ( (lv_symbol_0_0= ruleNUMBER_LITERAL ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5790:1: ( (lv_symbol_0_0= ruleNUMBER_LITERAL ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5791:1: (lv_symbol_0_0= ruleNUMBER_LITERAL ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5791:1: (lv_symbol_0_0= ruleNUMBER_LITERAL ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5792:3: lv_symbol_0_0= ruleNUMBER_LITERAL { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNumberLiteralExpCSAccess().getSymbolNUMBER_LITERALParserRuleCall_0()); } pushFollow(FollowSets000.FOLLOW_ruleNUMBER_LITERAL_in_ruleNumberLiteralExpCS12854); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5816: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5817:2: (iv_ruleStringLiteralExpCS= ruleStringLiteralExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5818:2: iv_ruleStringLiteralExpCS= ruleStringLiteralExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getStringLiteralExpCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleStringLiteralExpCS_in_entryRuleStringLiteralExpCS12889); iv_ruleStringLiteralExpCS=ruleStringLiteralExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleStringLiteralExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleStringLiteralExpCS12899); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5825: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5828:28: ( ( (lv_segments_0_0= ruleStringLiteral ) )+ ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5829:1: ( (lv_segments_0_0= ruleStringLiteral ) )+ { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5829:1: ( (lv_segments_0_0= ruleStringLiteral ) )+ int cnt105=0; loop105: do { int alt105=2; int LA105_0 = input.LA(1); if ( (LA105_0==RULE_SINGLE_QUOTED_STRING) ) { alt105=1; } switch (alt105) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5830:1: (lv_segments_0_0= ruleStringLiteral ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5830:1: (lv_segments_0_0= ruleStringLiteral ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5831:3: lv_segments_0_0= ruleStringLiteral { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getStringLiteralExpCSAccess().getSegmentsStringLiteralParserRuleCall_0()); } pushFollow(FollowSets000.FOLLOW_ruleStringLiteral_in_ruleStringLiteralExpCS12944); 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 ( cnt105 >= 1 ) break loop105; if (state.backtracking>0) {state.failed=true; return current;} EarlyExitException eee = new EarlyExitException(105, input); throw eee; } cnt105++; } 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5855: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5856:2: (iv_ruleBooleanLiteralExpCS= ruleBooleanLiteralExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5857:2: iv_ruleBooleanLiteralExpCS= ruleBooleanLiteralExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getBooleanLiteralExpCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleBooleanLiteralExpCS_in_entryRuleBooleanLiteralExpCS12980); iv_ruleBooleanLiteralExpCS=ruleBooleanLiteralExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleBooleanLiteralExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleBooleanLiteralExpCS12990); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5864: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5867:28: ( ( ( (lv_symbol_0_0= 'true' ) ) | ( (lv_symbol_1_0= 'false' ) ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5868:1: ( ( (lv_symbol_0_0= 'true' ) ) | ( (lv_symbol_1_0= 'false' ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5868:1: ( ( (lv_symbol_0_0= 'true' ) ) | ( (lv_symbol_1_0= 'false' ) ) ) int alt106=2; int LA106_0 = input.LA(1); if ( (LA106_0==95) ) { alt106=1; } else if ( (LA106_0==96) ) { alt106=2; } else { if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 106, 0, input); throw nvae; } switch (alt106) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5868:2: ( (lv_symbol_0_0= 'true' ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5868:2: ( (lv_symbol_0_0= 'true' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5869:1: (lv_symbol_0_0= 'true' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5869:1: (lv_symbol_0_0= 'true' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5870:3: lv_symbol_0_0= 'true' { lv_symbol_0_0=(Token)match(input,95,FollowSets000.FOLLOW_95_in_ruleBooleanLiteralExpCS13033); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5884:6: ( (lv_symbol_1_0= 'false' ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5884:6: ( (lv_symbol_1_0= 'false' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5885:1: (lv_symbol_1_0= 'false' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5885:1: (lv_symbol_1_0= 'false' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5886:3: lv_symbol_1_0= 'false' { lv_symbol_1_0=(Token)match(input,96,FollowSets000.FOLLOW_96_in_ruleBooleanLiteralExpCS13070); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5907: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5908:2: (iv_ruleUnlimitedNaturalLiteralExpCS= ruleUnlimitedNaturalLiteralExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5909:2: iv_ruleUnlimitedNaturalLiteralExpCS= ruleUnlimitedNaturalLiteralExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getUnlimitedNaturalLiteralExpCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleUnlimitedNaturalLiteralExpCS_in_entryRuleUnlimitedNaturalLiteralExpCS13119); iv_ruleUnlimitedNaturalLiteralExpCS=ruleUnlimitedNaturalLiteralExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleUnlimitedNaturalLiteralExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleUnlimitedNaturalLiteralExpCS13129); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5916: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5919:28: ( ( () otherlv_1= '*' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5920:1: ( () otherlv_1= '*' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5920:1: ( () otherlv_1= '*' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5920:2: () otherlv_1= '*' { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5920:2: () // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5921:2: { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { current = forceCreateModelElement( grammarAccess.getUnlimitedNaturalLiteralExpCSAccess().getUnlimitedNaturalLiteralExpCSAction_0(), current); } } otherlv_1=(Token)match(input,67,FollowSets000.FOLLOW_67_in_ruleUnlimitedNaturalLiteralExpCS13178); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5941: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5942:2: (iv_ruleInvalidLiteralExpCS= ruleInvalidLiteralExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5943:2: iv_ruleInvalidLiteralExpCS= ruleInvalidLiteralExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getInvalidLiteralExpCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleInvalidLiteralExpCS_in_entryRuleInvalidLiteralExpCS13214); iv_ruleInvalidLiteralExpCS=ruleInvalidLiteralExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleInvalidLiteralExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleInvalidLiteralExpCS13224); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5950: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5953:28: ( ( () otherlv_1= 'invalid' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5954:1: ( () otherlv_1= 'invalid' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5954:1: ( () otherlv_1= 'invalid' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5954:2: () otherlv_1= 'invalid' { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5954:2: () // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5955:2: { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { current = forceCreateModelElement( grammarAccess.getInvalidLiteralExpCSAccess().getInvalidLiteralExpCSAction_0(), current); } } otherlv_1=(Token)match(input,97,FollowSets000.FOLLOW_97_in_ruleInvalidLiteralExpCS13273); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5975: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5976:2: (iv_ruleNullLiteralExpCS= ruleNullLiteralExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5977:2: iv_ruleNullLiteralExpCS= ruleNullLiteralExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNullLiteralExpCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleNullLiteralExpCS_in_entryRuleNullLiteralExpCS13309); iv_ruleNullLiteralExpCS=ruleNullLiteralExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleNullLiteralExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNullLiteralExpCS13319); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5984: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5987:28: ( ( () otherlv_1= 'null' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5988:1: ( () otherlv_1= 'null' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5988:1: ( () otherlv_1= 'null' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5988:2: () otherlv_1= 'null' { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5988:2: () // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:5989:2: { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { current = forceCreateModelElement( grammarAccess.getNullLiteralExpCSAccess().getNullLiteralExpCSAction_0(), current); } } otherlv_1=(Token)match(input,98,FollowSets000.FOLLOW_98_in_ruleNullLiteralExpCS13368); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6009: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6010:2: (iv_ruleTypeLiteralCS= ruleTypeLiteralCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6011:2: iv_ruleTypeLiteralCS= ruleTypeLiteralCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeLiteralCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralCS_in_entryRuleTypeLiteralCS13404); iv_ruleTypeLiteralCS=ruleTypeLiteralCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleTypeLiteralCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypeLiteralCS13414); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6018: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6021:28: ( (this_PrimitiveTypeCS_0= rulePrimitiveTypeCS | this_CollectionTypeCS_1= ruleCollectionTypeCS | this_MapTypeCS_2= ruleMapTypeCS | this_TupleTypeCS_3= ruleTupleTypeCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6022:1: (this_PrimitiveTypeCS_0= rulePrimitiveTypeCS | this_CollectionTypeCS_1= ruleCollectionTypeCS | this_MapTypeCS_2= ruleMapTypeCS | this_TupleTypeCS_3= ruleTupleTypeCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6022:1: (this_PrimitiveTypeCS_0= rulePrimitiveTypeCS | this_CollectionTypeCS_1= ruleCollectionTypeCS | this_MapTypeCS_2= ruleMapTypeCS | this_TupleTypeCS_3= ruleTupleTypeCS ) int alt107=4; switch ( input.LA(1) ) { case 79: case 80: case 81: case 82: case 83: case 84: case 85: case 86: { alt107=1; } break; case 87: case 88: case 89: case 90: case 91: { alt107=2; } break; case 39: { alt107=3; } break; case 40: { alt107=4; } break; default: if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 107, 0, input); throw nvae; } switch (alt107) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6023:2: this_PrimitiveTypeCS_0= rulePrimitiveTypeCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeLiteralCSAccess().getPrimitiveTypeCSParserRuleCall_0()); } pushFollow(FollowSets000.FOLLOW_rulePrimitiveTypeCS_in_ruleTypeLiteralCS13464); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6036:2: this_CollectionTypeCS_1= ruleCollectionTypeCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeLiteralCSAccess().getCollectionTypeCSParserRuleCall_1()); } pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeCS_in_ruleTypeLiteralCS13494); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6049:2: this_MapTypeCS_2= ruleMapTypeCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeLiteralCSAccess().getMapTypeCSParserRuleCall_2()); } pushFollow(FollowSets000.FOLLOW_ruleMapTypeCS_in_ruleTypeLiteralCS13524); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6062:2: this_TupleTypeCS_3= ruleTupleTypeCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeLiteralCSAccess().getTupleTypeCSParserRuleCall_3()); } pushFollow(FollowSets000.FOLLOW_ruleTupleTypeCS_in_ruleTypeLiteralCS13554); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6081: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6082:2: (iv_ruleTypeLiteralWithMultiplicityCS= ruleTypeLiteralWithMultiplicityCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6083:2: iv_ruleTypeLiteralWithMultiplicityCS= ruleTypeLiteralWithMultiplicityCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeLiteralWithMultiplicityCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralWithMultiplicityCS_in_entryRuleTypeLiteralWithMultiplicityCS13589); iv_ruleTypeLiteralWithMultiplicityCS=ruleTypeLiteralWithMultiplicityCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleTypeLiteralWithMultiplicityCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypeLiteralWithMultiplicityCS13599); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6090:1: ruleTypeLiteralWithMultiplicityCS returns [EObject current=null] : (this_TypeLiteralCS_0= ruleTypeLiteralCS ( (lv_ownedMultiplicity_1_0= ruleMultiplicityCS ) )? ) ; public final EObject ruleTypeLiteralWithMultiplicityCS() throws RecognitionException { EObject current = null; EObject this_TypeLiteralCS_0 = null; EObject lv_ownedMultiplicity_1_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6093:28: ( (this_TypeLiteralCS_0= ruleTypeLiteralCS ( (lv_ownedMultiplicity_1_0= ruleMultiplicityCS ) )? ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6094:1: (this_TypeLiteralCS_0= ruleTypeLiteralCS ( (lv_ownedMultiplicity_1_0= ruleMultiplicityCS ) )? ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6094:1: (this_TypeLiteralCS_0= ruleTypeLiteralCS ( (lv_ownedMultiplicity_1_0= ruleMultiplicityCS ) )? ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6095:2: this_TypeLiteralCS_0= ruleTypeLiteralCS ( (lv_ownedMultiplicity_1_0= ruleMultiplicityCS ) )? { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeLiteralWithMultiplicityCSAccess().getTypeLiteralCSParserRuleCall_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralCS_in_ruleTypeLiteralWithMultiplicityCS13649); this_TypeLiteralCS_0=ruleTypeLiteralCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current = this_TypeLiteralCS_0; afterParserOrEnumRuleCall(); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6106:1: ( (lv_ownedMultiplicity_1_0= ruleMultiplicityCS ) )? int alt108=2; int LA108_0 = input.LA(1); if ( (LA108_0==100) ) { alt108=1; } switch (alt108) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6107:1: (lv_ownedMultiplicity_1_0= ruleMultiplicityCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6107:1: (lv_ownedMultiplicity_1_0= ruleMultiplicityCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6108:3: lv_ownedMultiplicity_1_0= ruleMultiplicityCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeLiteralWithMultiplicityCSAccess().getOwnedMultiplicityMultiplicityCSParserRuleCall_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleMultiplicityCS_in_ruleTypeLiteralWithMultiplicityCS13669); lv_ownedMultiplicity_1_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_1_0, "MultiplicityCS"); afterParserOrEnumRuleCall(); } } } 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6132: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6133:2: (iv_ruleTypeLiteralExpCS= ruleTypeLiteralExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6134:2: iv_ruleTypeLiteralExpCS= ruleTypeLiteralExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeLiteralExpCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralExpCS_in_entryRuleTypeLiteralExpCS13706); iv_ruleTypeLiteralExpCS=ruleTypeLiteralExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleTypeLiteralExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypeLiteralExpCS13716); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6141: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6144:28: ( ( (lv_ownedType_0_0= ruleTypeLiteralWithMultiplicityCS ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6145:1: ( (lv_ownedType_0_0= ruleTypeLiteralWithMultiplicityCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6145:1: ( (lv_ownedType_0_0= ruleTypeLiteralWithMultiplicityCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6146:1: (lv_ownedType_0_0= ruleTypeLiteralWithMultiplicityCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6146:1: (lv_ownedType_0_0= ruleTypeLiteralWithMultiplicityCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6147:3: lv_ownedType_0_0= ruleTypeLiteralWithMultiplicityCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeLiteralExpCSAccess().getOwnedTypeTypeLiteralWithMultiplicityCSParserRuleCall_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralWithMultiplicityCS_in_ruleTypeLiteralExpCS13761); 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 "entryRuleTypeNameExpCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6171:1: entryRuleTypeNameExpCS returns [EObject current=null] : iv_ruleTypeNameExpCS= ruleTypeNameExpCS EOF ; public final EObject entryRuleTypeNameExpCS() throws RecognitionException { EObject current = null; EObject iv_ruleTypeNameExpCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6172:2: (iv_ruleTypeNameExpCS= ruleTypeNameExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6173:2: iv_ruleTypeNameExpCS= ruleTypeNameExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeNameExpCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleTypeNameExpCS_in_entryRuleTypeNameExpCS13796); iv_ruleTypeNameExpCS=ruleTypeNameExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleTypeNameExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypeNameExpCS13806); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleTypeNameExpCS" // $ANTLR start "ruleTypeNameExpCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6180:1: ruleTypeNameExpCS returns [EObject current=null] : ( ( (lv_ownedPathName_0_0= rulePathNameCS ) ) ( ( (lv_ownedCurlyBracketedClause_1_0= ruleCurlyBracketedClauseCS ) ) (otherlv_2= '{' ( (lv_ownedPatternGuard_3_0= ruleExpCS ) ) otherlv_4= '}' )? )? ) ; public final EObject ruleTypeNameExpCS() throws RecognitionException { EObject current = null; Token otherlv_2=null; Token otherlv_4=null; EObject lv_ownedPathName_0_0 = null; EObject lv_ownedCurlyBracketedClause_1_0 = null; EObject lv_ownedPatternGuard_3_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6183:28: ( ( ( (lv_ownedPathName_0_0= rulePathNameCS ) ) ( ( (lv_ownedCurlyBracketedClause_1_0= ruleCurlyBracketedClauseCS ) ) (otherlv_2= '{' ( (lv_ownedPatternGuard_3_0= ruleExpCS ) ) otherlv_4= '}' )? )? ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6184:1: ( ( (lv_ownedPathName_0_0= rulePathNameCS ) ) ( ( (lv_ownedCurlyBracketedClause_1_0= ruleCurlyBracketedClauseCS ) ) (otherlv_2= '{' ( (lv_ownedPatternGuard_3_0= ruleExpCS ) ) otherlv_4= '}' )? )? ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6184:1: ( ( (lv_ownedPathName_0_0= rulePathNameCS ) ) ( ( (lv_ownedCurlyBracketedClause_1_0= ruleCurlyBracketedClauseCS ) ) (otherlv_2= '{' ( (lv_ownedPatternGuard_3_0= ruleExpCS ) ) otherlv_4= '}' )? )? ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6184:2: ( (lv_ownedPathName_0_0= rulePathNameCS ) ) ( ( (lv_ownedCurlyBracketedClause_1_0= ruleCurlyBracketedClauseCS ) ) (otherlv_2= '{' ( (lv_ownedPatternGuard_3_0= ruleExpCS ) ) otherlv_4= '}' )? )? { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6184:2: ( (lv_ownedPathName_0_0= rulePathNameCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6185:1: (lv_ownedPathName_0_0= rulePathNameCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6185:1: (lv_ownedPathName_0_0= rulePathNameCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6186:3: lv_ownedPathName_0_0= rulePathNameCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeNameExpCSAccess().getOwnedPathNamePathNameCSParserRuleCall_0_0()); } pushFollow(FollowSets000.FOLLOW_rulePathNameCS_in_ruleTypeNameExpCS13852); lv_ownedPathName_0_0=rulePathNameCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getTypeNameExpCSRule()); } set( current, "ownedPathName", lv_ownedPathName_0_0, "PathNameCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6202:2: ( ( (lv_ownedCurlyBracketedClause_1_0= ruleCurlyBracketedClauseCS ) ) (otherlv_2= '{' ( (lv_ownedPatternGuard_3_0= ruleExpCS ) ) otherlv_4= '}' )? )? int alt110=2; int LA110_0 = input.LA(1); if ( (LA110_0==46) ) { alt110=1; } switch (alt110) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6202:3: ( (lv_ownedCurlyBracketedClause_1_0= ruleCurlyBracketedClauseCS ) ) (otherlv_2= '{' ( (lv_ownedPatternGuard_3_0= ruleExpCS ) ) otherlv_4= '}' )? { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6202:3: ( (lv_ownedCurlyBracketedClause_1_0= ruleCurlyBracketedClauseCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6203:1: (lv_ownedCurlyBracketedClause_1_0= ruleCurlyBracketedClauseCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6203:1: (lv_ownedCurlyBracketedClause_1_0= ruleCurlyBracketedClauseCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6204:3: lv_ownedCurlyBracketedClause_1_0= ruleCurlyBracketedClauseCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeNameExpCSAccess().getOwnedCurlyBracketedClauseCurlyBracketedClauseCSParserRuleCall_1_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleCurlyBracketedClauseCS_in_ruleTypeNameExpCS13874); lv_ownedCurlyBracketedClause_1_0=ruleCurlyBracketedClauseCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getTypeNameExpCSRule()); } set( current, "ownedCurlyBracketedClause", lv_ownedCurlyBracketedClause_1_0, "CurlyBracketedClauseCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6220:2: (otherlv_2= '{' ( (lv_ownedPatternGuard_3_0= ruleExpCS ) ) otherlv_4= '}' )? int alt109=2; int LA109_0 = input.LA(1); if ( (LA109_0==46) ) { alt109=1; } switch (alt109) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6220:4: otherlv_2= '{' ( (lv_ownedPatternGuard_3_0= ruleExpCS ) ) otherlv_4= '}' { otherlv_2=(Token)match(input,46,FollowSets000.FOLLOW_46_in_ruleTypeNameExpCS13887); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_2, grammarAccess.getTypeNameExpCSAccess().getLeftCurlyBracketKeyword_1_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6224:1: ( (lv_ownedPatternGuard_3_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6225:1: (lv_ownedPatternGuard_3_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6225:1: (lv_ownedPatternGuard_3_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6226:3: lv_ownedPatternGuard_3_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeNameExpCSAccess().getOwnedPatternGuardExpCSParserRuleCall_1_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleTypeNameExpCS13908); lv_ownedPatternGuard_3_0=ruleExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getTypeNameExpCSRule()); } set( current, "ownedPatternGuard", lv_ownedPatternGuard_3_0, "ExpCS"); afterParserOrEnumRuleCall(); } } } otherlv_4=(Token)match(input,47,FollowSets000.FOLLOW_47_in_ruleTypeNameExpCS13920); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_4, grammarAccess.getTypeNameExpCSAccess().getRightCurlyBracketKeyword_1_1_2()); } } break; } } break; } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleTypeNameExpCS" // $ANTLR start "entryRuleTypeExpCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6254: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6255:2: (iv_ruleTypeExpCS= ruleTypeExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6256:2: iv_ruleTypeExpCS= ruleTypeExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeExpCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleTypeExpCS_in_entryRuleTypeExpCS13960); iv_ruleTypeExpCS=ruleTypeExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleTypeExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypeExpCS13970); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6263:1: ruleTypeExpCS returns [EObject current=null] : ( (this_TypeNameExpCS_0= ruleTypeNameExpCS | this_TypeLiteralCS_1= ruleTypeLiteralCS | this_CollectionPatternCS_2= ruleCollectionPatternCS ) ( (lv_ownedMultiplicity_3_0= ruleMultiplicityCS ) )? ) ; public final EObject ruleTypeExpCS() throws RecognitionException { EObject current = null; EObject this_TypeNameExpCS_0 = null; EObject this_TypeLiteralCS_1 = null; EObject this_CollectionPatternCS_2 = null; EObject lv_ownedMultiplicity_3_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6266:28: ( ( (this_TypeNameExpCS_0= ruleTypeNameExpCS | this_TypeLiteralCS_1= ruleTypeLiteralCS | this_CollectionPatternCS_2= ruleCollectionPatternCS ) ( (lv_ownedMultiplicity_3_0= ruleMultiplicityCS ) )? ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6267:1: ( (this_TypeNameExpCS_0= ruleTypeNameExpCS | this_TypeLiteralCS_1= ruleTypeLiteralCS | this_CollectionPatternCS_2= ruleCollectionPatternCS ) ( (lv_ownedMultiplicity_3_0= ruleMultiplicityCS ) )? ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6267:1: ( (this_TypeNameExpCS_0= ruleTypeNameExpCS | this_TypeLiteralCS_1= ruleTypeLiteralCS | this_CollectionPatternCS_2= ruleCollectionPatternCS ) ( (lv_ownedMultiplicity_3_0= ruleMultiplicityCS ) )? ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6267:2: (this_TypeNameExpCS_0= ruleTypeNameExpCS | this_TypeLiteralCS_1= ruleTypeLiteralCS | this_CollectionPatternCS_2= ruleCollectionPatternCS ) ( (lv_ownedMultiplicity_3_0= ruleMultiplicityCS ) )? { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6267:2: (this_TypeNameExpCS_0= ruleTypeNameExpCS | this_TypeLiteralCS_1= ruleTypeLiteralCS | this_CollectionPatternCS_2= ruleCollectionPatternCS ) int alt111=3; alt111 = dfa111.predict(input); switch (alt111) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6268:2: this_TypeNameExpCS_0= ruleTypeNameExpCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeExpCSAccess().getTypeNameExpCSParserRuleCall_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypeNameExpCS_in_ruleTypeExpCS14021); this_TypeNameExpCS_0=ruleTypeNameExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current = this_TypeNameExpCS_0; afterParserOrEnumRuleCall(); } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6281:2: this_TypeLiteralCS_1= ruleTypeLiteralCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeExpCSAccess().getTypeLiteralCSParserRuleCall_0_1()); } pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralCS_in_ruleTypeExpCS14051); this_TypeLiteralCS_1=ruleTypeLiteralCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current = this_TypeLiteralCS_1; afterParserOrEnumRuleCall(); } } break; case 3 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6294:2: this_CollectionPatternCS_2= ruleCollectionPatternCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeExpCSAccess().getCollectionPatternCSParserRuleCall_0_2()); } pushFollow(FollowSets000.FOLLOW_ruleCollectionPatternCS_in_ruleTypeExpCS14081); this_CollectionPatternCS_2=ruleCollectionPatternCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current = this_CollectionPatternCS_2; afterParserOrEnumRuleCall(); } } break; } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6305:2: ( (lv_ownedMultiplicity_3_0= ruleMultiplicityCS ) )? int alt112=2; int LA112_0 = input.LA(1); if ( (LA112_0==100) ) { alt112=1; } switch (alt112) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6306:1: (lv_ownedMultiplicity_3_0= ruleMultiplicityCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6306:1: (lv_ownedMultiplicity_3_0= ruleMultiplicityCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6307:3: lv_ownedMultiplicity_3_0= ruleMultiplicityCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeExpCSAccess().getOwnedMultiplicityMultiplicityCSParserRuleCall_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleMultiplicityCS_in_ruleTypeExpCS14102); lv_ownedMultiplicity_3_0=ruleMultiplicityCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getTypeExpCSRule()); } set( current, "ownedMultiplicity", lv_ownedMultiplicity_3_0, "MultiplicityCS"); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6331: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6332:2: (iv_ruleExpCS= ruleExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6333:2: iv_ruleExpCS= ruleExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getExpCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_entryRuleExpCS14139); iv_ruleExpCS=ruleExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleExpCS14149); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6340: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6343:28: ( ( (this_PrefixedPrimaryExpCS_0= rulePrefixedPrimaryExpCS ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? ) | this_PrefixedLetExpCS_4= rulePrefixedLetExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6344:1: ( (this_PrefixedPrimaryExpCS_0= rulePrefixedPrimaryExpCS ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? ) | this_PrefixedLetExpCS_4= rulePrefixedLetExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6344:1: ( (this_PrefixedPrimaryExpCS_0= rulePrefixedPrimaryExpCS ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? ) | this_PrefixedLetExpCS_4= rulePrefixedLetExpCS ) int alt114=2; alt114 = dfa114.predict(input); switch (alt114) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6344:2: (this_PrefixedPrimaryExpCS_0= rulePrefixedPrimaryExpCS ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6344:2: (this_PrefixedPrimaryExpCS_0= rulePrefixedPrimaryExpCS ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6345: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_ruleExpCS14200); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6356:1: ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? int alt113=2; int LA113_0 = input.LA(1); if ( (LA113_0==48||LA113_0==55||LA113_0==59||LA113_0==63||(LA113_0>=65 && LA113_0<=78)) ) { alt113=1; } switch (alt113) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6356:2: () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6356:2: () // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6357:2: { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { current = forceCreateModelElementAndSet( grammarAccess.getExpCSAccess().getInfixExpCSOwnedLeftAction_0_1_0(), current); } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6365:2: ( (lv_name_2_0= ruleBinaryOperatorName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6366:1: (lv_name_2_0= ruleBinaryOperatorName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6366:1: (lv_name_2_0= ruleBinaryOperatorName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6367:3: lv_name_2_0= ruleBinaryOperatorName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getExpCSAccess().getNameBinaryOperatorNameParserRuleCall_0_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleBinaryOperatorName_in_ruleExpCS14233); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6383:2: ( (lv_ownedRight_3_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6384:1: (lv_ownedRight_3_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6384:1: (lv_ownedRight_3_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6385:3: lv_ownedRight_3_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getExpCSAccess().getOwnedRightExpCSParserRuleCall_0_1_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleExpCS14254); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6403:2: this_PrefixedLetExpCS_4= rulePrefixedLetExpCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getExpCSAccess().getPrefixedLetExpCSParserRuleCall_1()); } pushFollow(FollowSets000.FOLLOW_rulePrefixedLetExpCS_in_ruleExpCS14288); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6422: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6423:2: (iv_rulePrefixedLetExpCS= rulePrefixedLetExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6424:2: iv_rulePrefixedLetExpCS= rulePrefixedLetExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrefixedLetExpCSRule()); } pushFollow(FollowSets000.FOLLOW_rulePrefixedLetExpCS_in_entryRulePrefixedLetExpCS14323); iv_rulePrefixedLetExpCS=rulePrefixedLetExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_rulePrefixedLetExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePrefixedLetExpCS14333); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6431: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6434:28: ( ( ( () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedLetExpCS ) ) ) | this_LetExpCS_3= ruleLetExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6435:1: ( ( () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedLetExpCS ) ) ) | this_LetExpCS_3= ruleLetExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6435:1: ( ( () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedLetExpCS ) ) ) | this_LetExpCS_3= ruleLetExpCS ) int alt115=2; int LA115_0 = input.LA(1); if ( (LA115_0==62||LA115_0==66) ) { alt115=1; } else if ( (LA115_0==61) ) { alt115=2; } else { 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6435:2: ( () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedLetExpCS ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6435:2: ( () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedLetExpCS ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6435:3: () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedLetExpCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6435:3: () // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6436:2: { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { current = forceCreateModelElement( grammarAccess.getPrefixedLetExpCSAccess().getPrefixExpCSAction_0_0(), current); } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6444:2: ( (lv_name_1_0= ruleUnaryOperatorName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6445:1: (lv_name_1_0= ruleUnaryOperatorName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6445:1: (lv_name_1_0= ruleUnaryOperatorName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6446:3: lv_name_1_0= ruleUnaryOperatorName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrefixedLetExpCSAccess().getNameUnaryOperatorNameParserRuleCall_0_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleUnaryOperatorName_in_rulePrefixedLetExpCS14392); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6462:2: ( (lv_ownedRight_2_0= rulePrefixedLetExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6463:1: (lv_ownedRight_2_0= rulePrefixedLetExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6463:1: (lv_ownedRight_2_0= rulePrefixedLetExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6464:3: lv_ownedRight_2_0= rulePrefixedLetExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrefixedLetExpCSAccess().getOwnedRightPrefixedLetExpCSParserRuleCall_0_2_0()); } pushFollow(FollowSets000.FOLLOW_rulePrefixedLetExpCS_in_rulePrefixedLetExpCS14413); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6482:2: this_LetExpCS_3= ruleLetExpCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrefixedLetExpCSAccess().getLetExpCSParserRuleCall_1()); } pushFollow(FollowSets000.FOLLOW_ruleLetExpCS_in_rulePrefixedLetExpCS14445); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6501: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6502:2: (iv_rulePrefixedPrimaryExpCS= rulePrefixedPrimaryExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6503:2: iv_rulePrefixedPrimaryExpCS= rulePrefixedPrimaryExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrefixedPrimaryExpCSRule()); } pushFollow(FollowSets000.FOLLOW_rulePrefixedPrimaryExpCS_in_entryRulePrefixedPrimaryExpCS14480); iv_rulePrefixedPrimaryExpCS=rulePrefixedPrimaryExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_rulePrefixedPrimaryExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePrefixedPrimaryExpCS14490); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6510: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6513:28: ( ( ( () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedPrimaryExpCS ) ) ) | this_PrimaryExpCS_3= rulePrimaryExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6514:1: ( ( () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedPrimaryExpCS ) ) ) | this_PrimaryExpCS_3= rulePrimaryExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6514:1: ( ( () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedPrimaryExpCS ) ) ) | this_PrimaryExpCS_3= rulePrimaryExpCS ) int alt116=2; int LA116_0 = input.LA(1); if ( (LA116_0==62||LA116_0==66) ) { alt116=1; } else if ( (LA116_0==RULE_SINGLE_QUOTED_STRING||(LA116_0>=RULE_SIMPLE_ID && LA116_0<=RULE_INT)||(LA116_0>=17 && LA116_0<=40)||LA116_0==43||LA116_0==58||LA116_0==67||(LA116_0>=79 && LA116_0<=91)||(LA116_0>=95 && LA116_0<=98)||LA116_0==103) ) { alt116=2; } else { if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 116, 0, input); throw nvae; } switch (alt116) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6514:2: ( () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedPrimaryExpCS ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6514:2: ( () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedPrimaryExpCS ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6514:3: () ( (lv_name_1_0= ruleUnaryOperatorName ) ) ( (lv_ownedRight_2_0= rulePrefixedPrimaryExpCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6514:3: () // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6515:2: { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { current = forceCreateModelElement( grammarAccess.getPrefixedPrimaryExpCSAccess().getPrefixExpCSAction_0_0(), current); } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6523:2: ( (lv_name_1_0= ruleUnaryOperatorName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6524:1: (lv_name_1_0= ruleUnaryOperatorName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6524:1: (lv_name_1_0= ruleUnaryOperatorName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6525:3: lv_name_1_0= ruleUnaryOperatorName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrefixedPrimaryExpCSAccess().getNameUnaryOperatorNameParserRuleCall_0_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleUnaryOperatorName_in_rulePrefixedPrimaryExpCS14549); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6541:2: ( (lv_ownedRight_2_0= rulePrefixedPrimaryExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6542:1: (lv_ownedRight_2_0= rulePrefixedPrimaryExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6542:1: (lv_ownedRight_2_0= rulePrefixedPrimaryExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6543:3: lv_ownedRight_2_0= rulePrefixedPrimaryExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrefixedPrimaryExpCSAccess().getOwnedRightPrefixedPrimaryExpCSParserRuleCall_0_2_0()); } pushFollow(FollowSets000.FOLLOW_rulePrefixedPrimaryExpCS_in_rulePrefixedPrimaryExpCS14570); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6561:2: this_PrimaryExpCS_3= rulePrimaryExpCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrefixedPrimaryExpCSAccess().getPrimaryExpCSParserRuleCall_1()); } pushFollow(FollowSets000.FOLLOW_rulePrimaryExpCS_in_rulePrefixedPrimaryExpCS14602); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6580: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6581:2: (iv_rulePrimaryExpCS= rulePrimaryExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6582:2: iv_rulePrimaryExpCS= rulePrimaryExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrimaryExpCSRule()); } pushFollow(FollowSets000.FOLLOW_rulePrimaryExpCS_in_entryRulePrimaryExpCS14637); iv_rulePrimaryExpCS=rulePrimaryExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_rulePrimaryExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePrimaryExpCS14647); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6589: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6592: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6593: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6593: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 alt117=10; alt117 = dfa117.predict(input); switch (alt117) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6594:2: this_NestedExpCS_0= ruleNestedExpCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getNestedExpCSParserRuleCall_0()); } pushFollow(FollowSets000.FOLLOW_ruleNestedExpCS_in_rulePrimaryExpCS14697); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6607:2: this_IfExpCS_1= ruleIfExpCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getIfExpCSParserRuleCall_1()); } pushFollow(FollowSets000.FOLLOW_ruleIfExpCS_in_rulePrimaryExpCS14727); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6620:2: this_SelfExpCS_2= ruleSelfExpCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getSelfExpCSParserRuleCall_2()); } pushFollow(FollowSets000.FOLLOW_ruleSelfExpCS_in_rulePrimaryExpCS14757); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6633:2: this_PrimitiveLiteralExpCS_3= rulePrimitiveLiteralExpCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getPrimitiveLiteralExpCSParserRuleCall_3()); } pushFollow(FollowSets000.FOLLOW_rulePrimitiveLiteralExpCS_in_rulePrimaryExpCS14787); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6646:2: this_TupleLiteralExpCS_4= ruleTupleLiteralExpCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getTupleLiteralExpCSParserRuleCall_4()); } pushFollow(FollowSets000.FOLLOW_ruleTupleLiteralExpCS_in_rulePrimaryExpCS14817); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6659:2: this_MapLiteralExpCS_5= ruleMapLiteralExpCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getMapLiteralExpCSParserRuleCall_5()); } pushFollow(FollowSets000.FOLLOW_ruleMapLiteralExpCS_in_rulePrimaryExpCS14847); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6672:2: this_CollectionLiteralExpCS_6= ruleCollectionLiteralExpCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getCollectionLiteralExpCSParserRuleCall_6()); } pushFollow(FollowSets000.FOLLOW_ruleCollectionLiteralExpCS_in_rulePrimaryExpCS14877); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6685:2: this_LambdaLiteralExpCS_7= ruleLambdaLiteralExpCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getLambdaLiteralExpCSParserRuleCall_7()); } pushFollow(FollowSets000.FOLLOW_ruleLambdaLiteralExpCS_in_rulePrimaryExpCS14907); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6698:2: this_TypeLiteralExpCS_8= ruleTypeLiteralExpCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getTypeLiteralExpCSParserRuleCall_8()); } pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralExpCS_in_rulePrimaryExpCS14937); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6711:2: this_NameExpCS_9= ruleNameExpCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getNameExpCSParserRuleCall_9()); } pushFollow(FollowSets000.FOLLOW_ruleNameExpCS_in_rulePrimaryExpCS14967); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6730: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6731:2: (iv_ruleNameExpCS= ruleNameExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6732:2: iv_ruleNameExpCS= ruleNameExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNameExpCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleNameExpCS_in_entryRuleNameExpCS15002); iv_ruleNameExpCS=ruleNameExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleNameExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNameExpCS15012); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6739: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6742: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6743: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6743: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6743: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6743:2: ( (lv_ownedPathName_0_0= rulePathNameCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6744:1: (lv_ownedPathName_0_0= rulePathNameCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6744:1: (lv_ownedPathName_0_0= rulePathNameCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6745:3: lv_ownedPathName_0_0= rulePathNameCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNameExpCSAccess().getOwnedPathNamePathNameCSParserRuleCall_0_0()); } pushFollow(FollowSets000.FOLLOW_rulePathNameCS_in_ruleNameExpCS15058); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6761:2: ( (lv_ownedSquareBracketedClauses_1_0= ruleSquareBracketedClauseCS ) )* loop118: do { int alt118=2; int LA118_0 = input.LA(1); if ( (LA118_0==100) ) { alt118=1; } switch (alt118) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6762:1: (lv_ownedSquareBracketedClauses_1_0= ruleSquareBracketedClauseCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6762:1: (lv_ownedSquareBracketedClauses_1_0= ruleSquareBracketedClauseCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6763:3: lv_ownedSquareBracketedClauses_1_0= ruleSquareBracketedClauseCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNameExpCSAccess().getOwnedSquareBracketedClausesSquareBracketedClauseCSParserRuleCall_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleSquareBracketedClauseCS_in_ruleNameExpCS15079); 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 loop118; } } while (true); // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6779:3: ( (lv_ownedRoundBracketedClause_2_0= ruleRoundBracketedClauseCS ) )? int alt119=2; int LA119_0 = input.LA(1); if ( (LA119_0==43) ) { alt119=1; } switch (alt119) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6780:1: (lv_ownedRoundBracketedClause_2_0= ruleRoundBracketedClauseCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6780:1: (lv_ownedRoundBracketedClause_2_0= ruleRoundBracketedClauseCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6781:3: lv_ownedRoundBracketedClause_2_0= ruleRoundBracketedClauseCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNameExpCSAccess().getOwnedRoundBracketedClauseRoundBracketedClauseCSParserRuleCall_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleRoundBracketedClauseCS_in_ruleNameExpCS15101); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6797:3: ( (lv_ownedCurlyBracketedClause_3_0= ruleCurlyBracketedClauseCS ) )? int alt120=2; int LA120_0 = input.LA(1); if ( (LA120_0==46) ) { alt120=1; } switch (alt120) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6798:1: (lv_ownedCurlyBracketedClause_3_0= ruleCurlyBracketedClauseCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6798:1: (lv_ownedCurlyBracketedClause_3_0= ruleCurlyBracketedClauseCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6799:3: lv_ownedCurlyBracketedClause_3_0= ruleCurlyBracketedClauseCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNameExpCSAccess().getOwnedCurlyBracketedClauseCurlyBracketedClauseCSParserRuleCall_3_0()); } pushFollow(FollowSets000.FOLLOW_ruleCurlyBracketedClauseCS_in_ruleNameExpCS15123); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6815:3: ( ( (lv_isPre_4_0= '@' ) ) otherlv_5= 'pre' )? int alt121=2; int LA121_0 = input.LA(1); if ( (LA121_0==99) ) { alt121=1; } switch (alt121) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6815:4: ( (lv_isPre_4_0= '@' ) ) otherlv_5= 'pre' { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6815:4: ( (lv_isPre_4_0= '@' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6816:1: (lv_isPre_4_0= '@' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6816:1: (lv_isPre_4_0= '@' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6817:3: lv_isPre_4_0= '@' { lv_isPre_4_0=(Token)match(input,99,FollowSets000.FOLLOW_99_in_ruleNameExpCS15143); 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,31,FollowSets000.FOLLOW_31_in_ruleNameExpCS15168); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6842: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6843:2: (iv_ruleCurlyBracketedClauseCS= ruleCurlyBracketedClauseCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6844:2: iv_ruleCurlyBracketedClauseCS= ruleCurlyBracketedClauseCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getCurlyBracketedClauseCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleCurlyBracketedClauseCS_in_entryRuleCurlyBracketedClauseCS15206); iv_ruleCurlyBracketedClauseCS=ruleCurlyBracketedClauseCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleCurlyBracketedClauseCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCurlyBracketedClauseCS15216); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6851:1: ruleCurlyBracketedClauseCS returns [EObject current=null] : ( () otherlv_1= '{' ( ( ( (lv_ownedParts_2_0= ruleShadowPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleShadowPartCS ) ) )* )? | ( (lv_value_5_0= ruleStringLiteral ) ) ) otherlv_6= '}' ) ; public final EObject ruleCurlyBracketedClauseCS() throws RecognitionException { EObject current = null; Token otherlv_1=null; Token otherlv_3=null; Token otherlv_6=null; EObject lv_ownedParts_2_0 = null; EObject lv_ownedParts_4_0 = null; AntlrDatatypeRuleToken lv_value_5_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6854:28: ( ( () otherlv_1= '{' ( ( ( (lv_ownedParts_2_0= ruleShadowPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleShadowPartCS ) ) )* )? | ( (lv_value_5_0= ruleStringLiteral ) ) ) otherlv_6= '}' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6855:1: ( () otherlv_1= '{' ( ( ( (lv_ownedParts_2_0= ruleShadowPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleShadowPartCS ) ) )* )? | ( (lv_value_5_0= ruleStringLiteral ) ) ) otherlv_6= '}' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6855:1: ( () otherlv_1= '{' ( ( ( (lv_ownedParts_2_0= ruleShadowPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleShadowPartCS ) ) )* )? | ( (lv_value_5_0= ruleStringLiteral ) ) ) otherlv_6= '}' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6855:2: () otherlv_1= '{' ( ( ( (lv_ownedParts_2_0= ruleShadowPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleShadowPartCS ) ) )* )? | ( (lv_value_5_0= ruleStringLiteral ) ) ) otherlv_6= '}' { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6855:2: () // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6856:2: { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { current = forceCreateModelElement( grammarAccess.getCurlyBracketedClauseCSAccess().getCurlyBracketedClauseCSAction_0(), current); } } otherlv_1=(Token)match(input,46,FollowSets000.FOLLOW_46_in_ruleCurlyBracketedClauseCS15265); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getCurlyBracketedClauseCSAccess().getLeftCurlyBracketKeyword_1()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6868:1: ( ( ( (lv_ownedParts_2_0= ruleShadowPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleShadowPartCS ) ) )* )? | ( (lv_value_5_0= ruleStringLiteral ) ) ) int alt124=2; int LA124_0 = input.LA(1); if ( ((LA124_0>=RULE_SIMPLE_ID && LA124_0<=RULE_ESCAPED_ID)||(LA124_0>=17 && LA124_0<=37)||LA124_0==47) ) { alt124=1; } else if ( (LA124_0==RULE_SINGLE_QUOTED_STRING) ) { alt124=2; } else { if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 124, 0, input); throw nvae; } switch (alt124) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6868:2: ( ( (lv_ownedParts_2_0= ruleShadowPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleShadowPartCS ) ) )* )? { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6868:2: ( ( (lv_ownedParts_2_0= ruleShadowPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleShadowPartCS ) ) )* )? int alt123=2; int LA123_0 = input.LA(1); if ( ((LA123_0>=RULE_SIMPLE_ID && LA123_0<=RULE_ESCAPED_ID)||(LA123_0>=17 && LA123_0<=37)) ) { alt123=1; } switch (alt123) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6868:3: ( (lv_ownedParts_2_0= ruleShadowPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleShadowPartCS ) ) )* { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6868:3: ( (lv_ownedParts_2_0= ruleShadowPartCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6869:1: (lv_ownedParts_2_0= ruleShadowPartCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6869:1: (lv_ownedParts_2_0= ruleShadowPartCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6870:3: lv_ownedParts_2_0= ruleShadowPartCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getCurlyBracketedClauseCSAccess().getOwnedPartsShadowPartCSParserRuleCall_2_0_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleShadowPartCS_in_ruleCurlyBracketedClauseCS15288); lv_ownedParts_2_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_2_0, "ShadowPartCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6886:2: (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleShadowPartCS ) ) )* loop122: do { int alt122=2; int LA122_0 = input.LA(1); if ( (LA122_0==44) ) { alt122=1; } switch (alt122) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6886:4: otherlv_3= ',' ( (lv_ownedParts_4_0= ruleShadowPartCS ) ) { otherlv_3=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleCurlyBracketedClauseCS15301); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_3, grammarAccess.getCurlyBracketedClauseCSAccess().getCommaKeyword_2_0_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6890:1: ( (lv_ownedParts_4_0= ruleShadowPartCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6891:1: (lv_ownedParts_4_0= ruleShadowPartCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6891:1: (lv_ownedParts_4_0= ruleShadowPartCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6892:3: lv_ownedParts_4_0= ruleShadowPartCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getCurlyBracketedClauseCSAccess().getOwnedPartsShadowPartCSParserRuleCall_2_0_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleShadowPartCS_in_ruleCurlyBracketedClauseCS15322); lv_ownedParts_4_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_4_0, "ShadowPartCS"); afterParserOrEnumRuleCall(); } } } } break; default : break loop122; } } while (true); } break; } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6909:6: ( (lv_value_5_0= ruleStringLiteral ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6909:6: ( (lv_value_5_0= ruleStringLiteral ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6910:1: (lv_value_5_0= ruleStringLiteral ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6910:1: (lv_value_5_0= ruleStringLiteral ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6911:3: lv_value_5_0= ruleStringLiteral { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getCurlyBracketedClauseCSAccess().getValueStringLiteralParserRuleCall_2_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleStringLiteral_in_ruleCurlyBracketedClauseCS15353); lv_value_5_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_5_0, "StringLiteral"); afterParserOrEnumRuleCall(); } } } } break; } otherlv_6=(Token)match(input,47,FollowSets000.FOLLOW_47_in_ruleCurlyBracketedClauseCS15366); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6939: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6940:2: (iv_ruleRoundBracketedClauseCS= ruleRoundBracketedClauseCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6941:2: iv_ruleRoundBracketedClauseCS= ruleRoundBracketedClauseCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getRoundBracketedClauseCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleRoundBracketedClauseCS_in_entryRuleRoundBracketedClauseCS15402); iv_ruleRoundBracketedClauseCS=ruleRoundBracketedClauseCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleRoundBracketedClauseCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleRoundBracketedClauseCS15412); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6948: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6951: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6952: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6952: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6952: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6952:2: () // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6953:2: { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { current = forceCreateModelElement( grammarAccess.getRoundBracketedClauseCSAccess().getRoundBracketedClauseCSAction_0(), current); } } otherlv_1=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleRoundBracketedClauseCS15461); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getRoundBracketedClauseCSAccess().getLeftParenthesisKeyword_1()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6965: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 alt130=2; int LA130_0 = input.LA(1); if ( (LA130_0==RULE_SINGLE_QUOTED_STRING||(LA130_0>=RULE_SIMPLE_ID && LA130_0<=RULE_INT)||(LA130_0>=17 && LA130_0<=40)||(LA130_0>=42 && LA130_0<=43)||LA130_0==58||(LA130_0>=61 && LA130_0<=62)||(LA130_0>=66 && LA130_0<=67)||(LA130_0>=79 && LA130_0<=91)||(LA130_0>=95 && LA130_0<=98)||LA130_0==103) ) { alt130=1; } switch (alt130) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6965: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6965:2: ( (lv_ownedArguments_2_0= ruleNavigatingArgCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6966:1: (lv_ownedArguments_2_0= ruleNavigatingArgCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6966:1: (lv_ownedArguments_2_0= ruleNavigatingArgCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6967:3: lv_ownedArguments_2_0= ruleNavigatingArgCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getRoundBracketedClauseCSAccess().getOwnedArgumentsNavigatingArgCSParserRuleCall_2_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleNavigatingArgCS_in_ruleRoundBracketedClauseCS15483); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6983:2: ( (lv_ownedArguments_3_0= ruleNavigatingCommaArgCS ) )* loop125: do { int alt125=2; int LA125_0 = input.LA(1); if ( (LA125_0==44) ) { alt125=1; } switch (alt125) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6984:1: (lv_ownedArguments_3_0= ruleNavigatingCommaArgCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6984:1: (lv_ownedArguments_3_0= ruleNavigatingCommaArgCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6985:3: lv_ownedArguments_3_0= ruleNavigatingCommaArgCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getRoundBracketedClauseCSAccess().getOwnedArgumentsNavigatingCommaArgCSParserRuleCall_2_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleNavigatingCommaArgCS_in_ruleRoundBracketedClauseCS15504); 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 loop125; } } while (true); // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7001:3: ( ( (lv_ownedArguments_4_0= ruleNavigatingSemiArgCS ) ) ( (lv_ownedArguments_5_0= ruleNavigatingCommaArgCS ) )* )? int alt127=2; int LA127_0 = input.LA(1); if ( (LA127_0==16) ) { alt127=1; } switch (alt127) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7001:4: ( (lv_ownedArguments_4_0= ruleNavigatingSemiArgCS ) ) ( (lv_ownedArguments_5_0= ruleNavigatingCommaArgCS ) )* { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7001:4: ( (lv_ownedArguments_4_0= ruleNavigatingSemiArgCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7002:1: (lv_ownedArguments_4_0= ruleNavigatingSemiArgCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7002:1: (lv_ownedArguments_4_0= ruleNavigatingSemiArgCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7003:3: lv_ownedArguments_4_0= ruleNavigatingSemiArgCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getRoundBracketedClauseCSAccess().getOwnedArgumentsNavigatingSemiArgCSParserRuleCall_2_2_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleNavigatingSemiArgCS_in_ruleRoundBracketedClauseCS15527); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7019:2: ( (lv_ownedArguments_5_0= ruleNavigatingCommaArgCS ) )* loop126: do { int alt126=2; int LA126_0 = input.LA(1); if ( (LA126_0==44) ) { alt126=1; } switch (alt126) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7020:1: (lv_ownedArguments_5_0= ruleNavigatingCommaArgCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7020:1: (lv_ownedArguments_5_0= ruleNavigatingCommaArgCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7021:3: lv_ownedArguments_5_0= ruleNavigatingCommaArgCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getRoundBracketedClauseCSAccess().getOwnedArgumentsNavigatingCommaArgCSParserRuleCall_2_2_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleNavigatingCommaArgCS_in_ruleRoundBracketedClauseCS15548); 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 loop126; } } while (true); } break; } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7037:5: ( ( (lv_ownedArguments_6_0= ruleNavigatingBarArgCS ) ) ( (lv_ownedArguments_7_0= ruleNavigatingCommaArgCS ) )* )* loop129: do { int alt129=2; int LA129_0 = input.LA(1); if ( (LA129_0==52) ) { alt129=1; } switch (alt129) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7037:6: ( (lv_ownedArguments_6_0= ruleNavigatingBarArgCS ) ) ( (lv_ownedArguments_7_0= ruleNavigatingCommaArgCS ) )* { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7037:6: ( (lv_ownedArguments_6_0= ruleNavigatingBarArgCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7038:1: (lv_ownedArguments_6_0= ruleNavigatingBarArgCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7038:1: (lv_ownedArguments_6_0= ruleNavigatingBarArgCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7039:3: lv_ownedArguments_6_0= ruleNavigatingBarArgCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getRoundBracketedClauseCSAccess().getOwnedArgumentsNavigatingBarArgCSParserRuleCall_2_3_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleNavigatingBarArgCS_in_ruleRoundBracketedClauseCS15573); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7055:2: ( (lv_ownedArguments_7_0= ruleNavigatingCommaArgCS ) )* loop128: do { int alt128=2; int LA128_0 = input.LA(1); if ( (LA128_0==44) ) { alt128=1; } switch (alt128) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7056:1: (lv_ownedArguments_7_0= ruleNavigatingCommaArgCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7056:1: (lv_ownedArguments_7_0= ruleNavigatingCommaArgCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7057:3: lv_ownedArguments_7_0= ruleNavigatingCommaArgCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getRoundBracketedClauseCSAccess().getOwnedArgumentsNavigatingCommaArgCSParserRuleCall_2_3_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleNavigatingCommaArgCS_in_ruleRoundBracketedClauseCS15594); 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 loop128; } } while (true); } break; default : break loop129; } } while (true); } break; } otherlv_8=(Token)match(input,45,FollowSets000.FOLLOW_45_in_ruleRoundBracketedClauseCS15611); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7085: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7086:2: (iv_ruleSquareBracketedClauseCS= ruleSquareBracketedClauseCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7087:2: iv_ruleSquareBracketedClauseCS= ruleSquareBracketedClauseCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getSquareBracketedClauseCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleSquareBracketedClauseCS_in_entryRuleSquareBracketedClauseCS15647); iv_ruleSquareBracketedClauseCS=ruleSquareBracketedClauseCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleSquareBracketedClauseCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleSquareBracketedClauseCS15657); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7094: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7097:28: ( (otherlv_0= '[' ( (lv_ownedTerms_1_0= ruleExpCS ) ) (otherlv_2= ',' ( (lv_ownedTerms_3_0= ruleExpCS ) ) )* otherlv_4= ']' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7098:1: (otherlv_0= '[' ( (lv_ownedTerms_1_0= ruleExpCS ) ) (otherlv_2= ',' ( (lv_ownedTerms_3_0= ruleExpCS ) ) )* otherlv_4= ']' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7098:1: (otherlv_0= '[' ( (lv_ownedTerms_1_0= ruleExpCS ) ) (otherlv_2= ',' ( (lv_ownedTerms_3_0= ruleExpCS ) ) )* otherlv_4= ']' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7098:3: otherlv_0= '[' ( (lv_ownedTerms_1_0= ruleExpCS ) ) (otherlv_2= ',' ( (lv_ownedTerms_3_0= ruleExpCS ) ) )* otherlv_4= ']' { otherlv_0=(Token)match(input,100,FollowSets000.FOLLOW_100_in_ruleSquareBracketedClauseCS15694); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_0, grammarAccess.getSquareBracketedClauseCSAccess().getLeftSquareBracketKeyword_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7102:1: ( (lv_ownedTerms_1_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7103:1: (lv_ownedTerms_1_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7103:1: (lv_ownedTerms_1_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7104:3: lv_ownedTerms_1_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getSquareBracketedClauseCSAccess().getOwnedTermsExpCSParserRuleCall_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleSquareBracketedClauseCS15715); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7120:2: (otherlv_2= ',' ( (lv_ownedTerms_3_0= ruleExpCS ) ) )* loop131: do { int alt131=2; int LA131_0 = input.LA(1); if ( (LA131_0==44) ) { alt131=1; } switch (alt131) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7120:4: otherlv_2= ',' ( (lv_ownedTerms_3_0= ruleExpCS ) ) { otherlv_2=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleSquareBracketedClauseCS15728); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_2, grammarAccess.getSquareBracketedClauseCSAccess().getCommaKeyword_2_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7124:1: ( (lv_ownedTerms_3_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7125:1: (lv_ownedTerms_3_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7125:1: (lv_ownedTerms_3_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7126:3: lv_ownedTerms_3_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getSquareBracketedClauseCSAccess().getOwnedTermsExpCSParserRuleCall_2_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleSquareBracketedClauseCS15749); 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 loop131; } } while (true); otherlv_4=(Token)match(input,101,FollowSets000.FOLLOW_101_in_ruleSquareBracketedClauseCS15763); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7154: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7155:2: (iv_ruleNavigatingArgCS= ruleNavigatingArgCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7156:2: iv_ruleNavigatingArgCS= ruleNavigatingArgCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNavigatingArgCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleNavigatingArgCS_in_entryRuleNavigatingArgCS15799); iv_ruleNavigatingArgCS=ruleNavigatingArgCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleNavigatingArgCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNavigatingArgCS15809); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7163:1: ruleNavigatingArgCS returns [EObject current=null] : ( ( ( (lv_ownedNameExpression_0_0= ruleNavigatingArgExpCS ) ) ( (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? ) | (otherlv_5= 'in' ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) ) )? ) | (otherlv_7= ':' ( (lv_ownedType_8_0= ruleTypeExpCS ) ) ) ) ; 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7166:28: ( ( ( ( (lv_ownedNameExpression_0_0= ruleNavigatingArgExpCS ) ) ( (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? ) | (otherlv_5= 'in' ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) ) )? ) | (otherlv_7= ':' ( (lv_ownedType_8_0= ruleTypeExpCS ) ) ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7167:1: ( ( ( (lv_ownedNameExpression_0_0= ruleNavigatingArgExpCS ) ) ( (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? ) | (otherlv_5= 'in' ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) ) )? ) | (otherlv_7= ':' ( (lv_ownedType_8_0= ruleTypeExpCS ) ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7167:1: ( ( ( (lv_ownedNameExpression_0_0= ruleNavigatingArgExpCS ) ) ( (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? ) | (otherlv_5= 'in' ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) ) )? ) | (otherlv_7= ':' ( (lv_ownedType_8_0= ruleTypeExpCS ) ) ) ) int alt134=2; int LA134_0 = input.LA(1); if ( (LA134_0==RULE_SINGLE_QUOTED_STRING||(LA134_0>=RULE_SIMPLE_ID && LA134_0<=RULE_INT)||(LA134_0>=17 && LA134_0<=40)||LA134_0==43||LA134_0==58||(LA134_0>=61 && LA134_0<=62)||(LA134_0>=66 && LA134_0<=67)||(LA134_0>=79 && LA134_0<=91)||(LA134_0>=95 && LA134_0<=98)||LA134_0==103) ) { alt134=1; } else if ( (LA134_0==42) ) { alt134=2; } else { if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 134, 0, input); throw nvae; } switch (alt134) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7167:2: ( ( (lv_ownedNameExpression_0_0= ruleNavigatingArgExpCS ) ) ( (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? ) | (otherlv_5= 'in' ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) ) )? ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7167:2: ( ( (lv_ownedNameExpression_0_0= ruleNavigatingArgExpCS ) ) ( (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? ) | (otherlv_5= 'in' ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) ) )? ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7167:3: ( (lv_ownedNameExpression_0_0= ruleNavigatingArgExpCS ) ) ( (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? ) | (otherlv_5= 'in' ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) ) )? { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7167:3: ( (lv_ownedNameExpression_0_0= ruleNavigatingArgExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7168:1: (lv_ownedNameExpression_0_0= ruleNavigatingArgExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7168:1: (lv_ownedNameExpression_0_0= ruleNavigatingArgExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7169:3: lv_ownedNameExpression_0_0= ruleNavigatingArgExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNavigatingArgCSAccess().getOwnedNameExpressionNavigatingArgExpCSParserRuleCall_0_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingArgCS15856); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7185:2: ( (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? ) | (otherlv_5= 'in' ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) ) )? int alt133=3; int LA133_0 = input.LA(1); if ( (LA133_0==42) ) { alt133=1; } else if ( (LA133_0==60) ) { alt133=2; } switch (alt133) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7185:3: (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7185:3: (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7185:5: otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? { otherlv_1=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleNavigatingArgCS15870); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getNavigatingArgCSAccess().getColonKeyword_0_1_0_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7189:1: ( (lv_ownedType_2_0= ruleTypeExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7190:1: (lv_ownedType_2_0= ruleTypeExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7190:1: (lv_ownedType_2_0= ruleTypeExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7191:3: lv_ownedType_2_0= ruleTypeExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNavigatingArgCSAccess().getOwnedTypeTypeExpCSParserRuleCall_0_1_0_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypeExpCS_in_ruleNavigatingArgCS15891); lv_ownedType_2_0=ruleTypeExpCS(); 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, "TypeExpCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7207:2: (otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) )? int alt132=2; int LA132_0 = input.LA(1); if ( (LA132_0==48) ) { alt132=1; } switch (alt132) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7207:4: otherlv_3= '=' ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) { otherlv_3=(Token)match(input,48,FollowSets000.FOLLOW_48_in_ruleNavigatingArgCS15904); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7211:1: ( (lv_ownedInitExpression_4_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7212:1: (lv_ownedInitExpression_4_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7212:1: (lv_ownedInitExpression_4_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7213: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_ruleNavigatingArgCS15925); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7230:6: (otherlv_5= 'in' ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7230:6: (otherlv_5= 'in' ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7230:8: otherlv_5= 'in' ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) { otherlv_5=(Token)match(input,60,FollowSets000.FOLLOW_60_in_ruleNavigatingArgCS15947); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_5, grammarAccess.getNavigatingArgCSAccess().getInKeyword_0_1_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7234:1: ( (lv_ownedInitExpression_6_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7235:1: (lv_ownedInitExpression_6_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7235:1: (lv_ownedInitExpression_6_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7236:3: lv_ownedInitExpression_6_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNavigatingArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_0_1_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleNavigatingArgCS15968); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7253:6: (otherlv_7= ':' ( (lv_ownedType_8_0= ruleTypeExpCS ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7253:6: (otherlv_7= ':' ( (lv_ownedType_8_0= ruleTypeExpCS ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7253:8: otherlv_7= ':' ( (lv_ownedType_8_0= ruleTypeExpCS ) ) { otherlv_7=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleNavigatingArgCS15991); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_7, grammarAccess.getNavigatingArgCSAccess().getColonKeyword_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7257:1: ( (lv_ownedType_8_0= ruleTypeExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7258:1: (lv_ownedType_8_0= ruleTypeExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7258:1: (lv_ownedType_8_0= ruleTypeExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7259:3: lv_ownedType_8_0= ruleTypeExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNavigatingArgCSAccess().getOwnedTypeTypeExpCSParserRuleCall_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypeExpCS_in_ruleNavigatingArgCS16012); lv_ownedType_8_0=ruleTypeExpCS(); 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, "TypeExpCS"); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7283: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7284:2: (iv_ruleNavigatingBarArgCS= ruleNavigatingBarArgCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7285:2: iv_ruleNavigatingBarArgCS= ruleNavigatingBarArgCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNavigatingBarArgCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleNavigatingBarArgCS_in_entryRuleNavigatingBarArgCS16049); iv_ruleNavigatingBarArgCS=ruleNavigatingBarArgCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleNavigatingBarArgCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNavigatingBarArgCS16059); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7292:1: ruleNavigatingBarArgCS returns [EObject current=null] : ( ( (lv_prefix_0_0= '|' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7295:28: ( ( ( (lv_prefix_0_0= '|' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? )? ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7296:1: ( ( (lv_prefix_0_0= '|' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? )? ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7296:1: ( ( (lv_prefix_0_0= '|' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? )? ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7296:2: ( (lv_prefix_0_0= '|' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? )? { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7296:2: ( (lv_prefix_0_0= '|' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7297:1: (lv_prefix_0_0= '|' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7297:1: (lv_prefix_0_0= '|' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7298:3: lv_prefix_0_0= '|' { lv_prefix_0_0=(Token)match(input,52,FollowSets000.FOLLOW_52_in_ruleNavigatingBarArgCS16102); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7311:2: ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7312:1: (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7312:1: (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7313:3: lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNavigatingBarArgCSAccess().getOwnedNameExpressionNavigatingArgExpCSParserRuleCall_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingBarArgCS16136); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7329:2: (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? )? int alt136=2; int LA136_0 = input.LA(1); if ( (LA136_0==42) ) { alt136=1; } switch (alt136) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7329:4: otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? { otherlv_2=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleNavigatingBarArgCS16149); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_2, grammarAccess.getNavigatingBarArgCSAccess().getColonKeyword_2_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7333:1: ( (lv_ownedType_3_0= ruleTypeExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7334:1: (lv_ownedType_3_0= ruleTypeExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7334:1: (lv_ownedType_3_0= ruleTypeExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7335:3: lv_ownedType_3_0= ruleTypeExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNavigatingBarArgCSAccess().getOwnedTypeTypeExpCSParserRuleCall_2_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypeExpCS_in_ruleNavigatingBarArgCS16170); lv_ownedType_3_0=ruleTypeExpCS(); 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, "TypeExpCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7351:2: (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? int alt135=2; int LA135_0 = input.LA(1); if ( (LA135_0==48) ) { alt135=1; } switch (alt135) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7351:4: otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) { otherlv_4=(Token)match(input,48,FollowSets000.FOLLOW_48_in_ruleNavigatingBarArgCS16183); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_4, grammarAccess.getNavigatingBarArgCSAccess().getEqualsSignKeyword_2_2_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7355:1: ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7356:1: (lv_ownedInitExpression_5_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7356:1: (lv_ownedInitExpression_5_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7357:3: lv_ownedInitExpression_5_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNavigatingBarArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_2_2_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleNavigatingBarArgCS16204); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7381: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7382:2: (iv_ruleNavigatingCommaArgCS= ruleNavigatingCommaArgCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7383:2: iv_ruleNavigatingCommaArgCS= ruleNavigatingCommaArgCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNavigatingCommaArgCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleNavigatingCommaArgCS_in_entryRuleNavigatingCommaArgCS16244); iv_ruleNavigatingCommaArgCS=ruleNavigatingCommaArgCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleNavigatingCommaArgCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNavigatingCommaArgCS16254); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7390:1: ruleNavigatingCommaArgCS returns [EObject current=null] : ( ( (lv_prefix_0_0= ',' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) ( (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7393:28: ( ( ( (lv_prefix_0_0= ',' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) ( (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? ) | (otherlv_6= 'in' ( (lv_ownedInitExpression_7_0= ruleExpCS ) ) ) )? ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7394:1: ( ( (lv_prefix_0_0= ',' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) ( (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? ) | (otherlv_6= 'in' ( (lv_ownedInitExpression_7_0= ruleExpCS ) ) ) )? ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7394:1: ( ( (lv_prefix_0_0= ',' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) ( (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? ) | (otherlv_6= 'in' ( (lv_ownedInitExpression_7_0= ruleExpCS ) ) ) )? ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7394:2: ( (lv_prefix_0_0= ',' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) ( (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? ) | (otherlv_6= 'in' ( (lv_ownedInitExpression_7_0= ruleExpCS ) ) ) )? { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7394:2: ( (lv_prefix_0_0= ',' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7395:1: (lv_prefix_0_0= ',' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7395:1: (lv_prefix_0_0= ',' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7396:3: lv_prefix_0_0= ',' { lv_prefix_0_0=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleNavigatingCommaArgCS16297); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7409:2: ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7410:1: (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7410:1: (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7411:3: lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedNameExpressionNavigatingArgExpCSParserRuleCall_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingCommaArgCS16331); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7427:2: ( (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? ) | (otherlv_6= 'in' ( (lv_ownedInitExpression_7_0= ruleExpCS ) ) ) )? int alt138=3; int LA138_0 = input.LA(1); if ( (LA138_0==42) ) { alt138=1; } else if ( (LA138_0==60) ) { alt138=2; } switch (alt138) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7427:3: (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7427:3: (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7427:5: otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? { otherlv_2=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleNavigatingCommaArgCS16345); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_2, grammarAccess.getNavigatingCommaArgCSAccess().getColonKeyword_2_0_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7431:1: ( (lv_ownedType_3_0= ruleTypeExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7432:1: (lv_ownedType_3_0= ruleTypeExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7432:1: (lv_ownedType_3_0= ruleTypeExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7433:3: lv_ownedType_3_0= ruleTypeExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedTypeTypeExpCSParserRuleCall_2_0_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypeExpCS_in_ruleNavigatingCommaArgCS16366); lv_ownedType_3_0=ruleTypeExpCS(); 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, "TypeExpCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7449:2: (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? int alt137=2; int LA137_0 = input.LA(1); if ( (LA137_0==48) ) { alt137=1; } switch (alt137) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7449:4: otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) { otherlv_4=(Token)match(input,48,FollowSets000.FOLLOW_48_in_ruleNavigatingCommaArgCS16379); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_4, grammarAccess.getNavigatingCommaArgCSAccess().getEqualsSignKeyword_2_0_2_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7453:1: ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7454:1: (lv_ownedInitExpression_5_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7454:1: (lv_ownedInitExpression_5_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7455:3: lv_ownedInitExpression_5_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_2_0_2_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleNavigatingCommaArgCS16400); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7472:6: (otherlv_6= 'in' ( (lv_ownedInitExpression_7_0= ruleExpCS ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7472:6: (otherlv_6= 'in' ( (lv_ownedInitExpression_7_0= ruleExpCS ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7472:8: otherlv_6= 'in' ( (lv_ownedInitExpression_7_0= ruleExpCS ) ) { otherlv_6=(Token)match(input,60,FollowSets000.FOLLOW_60_in_ruleNavigatingCommaArgCS16422); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_6, grammarAccess.getNavigatingCommaArgCSAccess().getInKeyword_2_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7476:1: ( (lv_ownedInitExpression_7_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7477:1: (lv_ownedInitExpression_7_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7477:1: (lv_ownedInitExpression_7_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7478:3: lv_ownedInitExpression_7_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_2_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleNavigatingCommaArgCS16443); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7502: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7503:2: (iv_ruleNavigatingSemiArgCS= ruleNavigatingSemiArgCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7504:2: iv_ruleNavigatingSemiArgCS= ruleNavigatingSemiArgCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNavigatingSemiArgCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleNavigatingSemiArgCS_in_entryRuleNavigatingSemiArgCS16482); iv_ruleNavigatingSemiArgCS=ruleNavigatingSemiArgCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleNavigatingSemiArgCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNavigatingSemiArgCS16492); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7511:1: ruleNavigatingSemiArgCS returns [EObject current=null] : ( ( (lv_prefix_0_0= ';' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7514:28: ( ( ( (lv_prefix_0_0= ';' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? )? ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7515:1: ( ( (lv_prefix_0_0= ';' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? )? ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7515:1: ( ( (lv_prefix_0_0= ';' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? )? ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7515:2: ( (lv_prefix_0_0= ';' ) ) ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? )? { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7515:2: ( (lv_prefix_0_0= ';' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7516:1: (lv_prefix_0_0= ';' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7516:1: (lv_prefix_0_0= ';' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7517:3: lv_prefix_0_0= ';' { lv_prefix_0_0=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleNavigatingSemiArgCS16535); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7530:2: ( (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7531:1: (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7531:1: (lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7532:3: lv_ownedNameExpression_1_0= ruleNavigatingArgExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNavigatingSemiArgCSAccess().getOwnedNameExpressionNavigatingArgExpCSParserRuleCall_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingSemiArgCS16569); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7548:2: (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? )? int alt140=2; int LA140_0 = input.LA(1); if ( (LA140_0==42) ) { alt140=1; } switch (alt140) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7548:4: otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? { otherlv_2=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleNavigatingSemiArgCS16582); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_2, grammarAccess.getNavigatingSemiArgCSAccess().getColonKeyword_2_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7552:1: ( (lv_ownedType_3_0= ruleTypeExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7553:1: (lv_ownedType_3_0= ruleTypeExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7553:1: (lv_ownedType_3_0= ruleTypeExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7554:3: lv_ownedType_3_0= ruleTypeExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNavigatingSemiArgCSAccess().getOwnedTypeTypeExpCSParserRuleCall_2_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypeExpCS_in_ruleNavigatingSemiArgCS16603); lv_ownedType_3_0=ruleTypeExpCS(); 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, "TypeExpCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7570:2: (otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) )? int alt139=2; int LA139_0 = input.LA(1); if ( (LA139_0==48) ) { alt139=1; } switch (alt139) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7570:4: otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) { otherlv_4=(Token)match(input,48,FollowSets000.FOLLOW_48_in_ruleNavigatingSemiArgCS16616); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_4, grammarAccess.getNavigatingSemiArgCSAccess().getEqualsSignKeyword_2_2_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7574:1: ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7575:1: (lv_ownedInitExpression_5_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7575:1: (lv_ownedInitExpression_5_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7576:3: lv_ownedInitExpression_5_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNavigatingSemiArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_2_2_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleNavigatingSemiArgCS16637); 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 "entryRuleNavigatingArgExpCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7600: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7601:2: (iv_ruleNavigatingArgExpCS= ruleNavigatingArgExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7602:2: iv_ruleNavigatingArgExpCS= ruleNavigatingArgExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNavigatingArgExpCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleNavigatingArgExpCS_in_entryRuleNavigatingArgExpCS16677); iv_ruleNavigatingArgExpCS=ruleNavigatingArgExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleNavigatingArgExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNavigatingArgExpCS16687); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7609:1: ruleNavigatingArgExpCS returns [EObject current=null] : this_ExpCS_0= ruleExpCS ; public final EObject ruleNavigatingArgExpCS() throws RecognitionException { EObject current = null; EObject this_ExpCS_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7612:28: (this_ExpCS_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7614:2: this_ExpCS_0= ruleExpCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNavigatingArgExpCSAccess().getExpCSParserRuleCall()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleNavigatingArgExpCS16736); this_ExpCS_0=ruleExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current = this_ExpCS_0; afterParserOrEnumRuleCall(); } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleNavigatingArgExpCS" // $ANTLR start "entryRuleIfExpCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7633: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7634:2: (iv_ruleIfExpCS= ruleIfExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7635:2: iv_ruleIfExpCS= ruleIfExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getIfExpCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleIfExpCS_in_entryRuleIfExpCS16770); iv_ruleIfExpCS=ruleIfExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleIfExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleIfExpCS16780); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7642:1: ruleIfExpCS returns [EObject current=null] : (otherlv_0= 'if' ( ( (lv_ownedCondition_1_1= ruleExpCS | lv_ownedCondition_1_2= rulePatternExpCS ) ) ) otherlv_2= 'then' ( (lv_ownedThenExpression_3_0= ruleExpCS ) ) ( (lv_ownedIfThenExpressions_4_0= ruleElseIfThenExpCS ) )* otherlv_5= 'else' ( (lv_ownedElseExpression_6_0= ruleExpCS ) ) otherlv_7= 'endif' ) ; public final EObject ruleIfExpCS() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_2=null; Token otherlv_5=null; Token otherlv_7=null; EObject lv_ownedCondition_1_1 = null; EObject lv_ownedCondition_1_2 = null; EObject lv_ownedThenExpression_3_0 = null; EObject lv_ownedIfThenExpressions_4_0 = null; EObject lv_ownedElseExpression_6_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7645:28: ( (otherlv_0= 'if' ( ( (lv_ownedCondition_1_1= ruleExpCS | lv_ownedCondition_1_2= rulePatternExpCS ) ) ) otherlv_2= 'then' ( (lv_ownedThenExpression_3_0= ruleExpCS ) ) ( (lv_ownedIfThenExpressions_4_0= ruleElseIfThenExpCS ) )* otherlv_5= 'else' ( (lv_ownedElseExpression_6_0= ruleExpCS ) ) otherlv_7= 'endif' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7646:1: (otherlv_0= 'if' ( ( (lv_ownedCondition_1_1= ruleExpCS | lv_ownedCondition_1_2= rulePatternExpCS ) ) ) otherlv_2= 'then' ( (lv_ownedThenExpression_3_0= ruleExpCS ) ) ( (lv_ownedIfThenExpressions_4_0= ruleElseIfThenExpCS ) )* otherlv_5= 'else' ( (lv_ownedElseExpression_6_0= ruleExpCS ) ) otherlv_7= 'endif' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7646:1: (otherlv_0= 'if' ( ( (lv_ownedCondition_1_1= ruleExpCS | lv_ownedCondition_1_2= rulePatternExpCS ) ) ) otherlv_2= 'then' ( (lv_ownedThenExpression_3_0= ruleExpCS ) ) ( (lv_ownedIfThenExpressions_4_0= ruleElseIfThenExpCS ) )* otherlv_5= 'else' ( (lv_ownedElseExpression_6_0= ruleExpCS ) ) otherlv_7= 'endif' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7646:3: otherlv_0= 'if' ( ( (lv_ownedCondition_1_1= ruleExpCS | lv_ownedCondition_1_2= rulePatternExpCS ) ) ) otherlv_2= 'then' ( (lv_ownedThenExpression_3_0= ruleExpCS ) ) ( (lv_ownedIfThenExpressions_4_0= ruleElseIfThenExpCS ) )* otherlv_5= 'else' ( (lv_ownedElseExpression_6_0= ruleExpCS ) ) otherlv_7= 'endif' { otherlv_0=(Token)match(input,58,FollowSets000.FOLLOW_58_in_ruleIfExpCS16817); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_0, grammarAccess.getIfExpCSAccess().getIfKeyword_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7650:1: ( ( (lv_ownedCondition_1_1= ruleExpCS | lv_ownedCondition_1_2= rulePatternExpCS ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7651:1: ( (lv_ownedCondition_1_1= ruleExpCS | lv_ownedCondition_1_2= rulePatternExpCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7651:1: ( (lv_ownedCondition_1_1= ruleExpCS | lv_ownedCondition_1_2= rulePatternExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7652:1: (lv_ownedCondition_1_1= ruleExpCS | lv_ownedCondition_1_2= rulePatternExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7652:1: (lv_ownedCondition_1_1= ruleExpCS | lv_ownedCondition_1_2= rulePatternExpCS ) int alt141=2; alt141 = dfa141.predict(input); switch (alt141) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7653:3: lv_ownedCondition_1_1= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getIfExpCSAccess().getOwnedConditionExpCSParserRuleCall_1_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleIfExpCS16840); lv_ownedCondition_1_1=ruleExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getIfExpCSRule()); } set( current, "ownedCondition", lv_ownedCondition_1_1, "ExpCS"); afterParserOrEnumRuleCall(); } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7668:8: lv_ownedCondition_1_2= rulePatternExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getIfExpCSAccess().getOwnedConditionPatternExpCSParserRuleCall_1_0_1()); } pushFollow(FollowSets000.FOLLOW_rulePatternExpCS_in_ruleIfExpCS16859); lv_ownedCondition_1_2=rulePatternExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getIfExpCSRule()); } set( current, "ownedCondition", lv_ownedCondition_1_2, "PatternExpCS"); afterParserOrEnumRuleCall(); } } break; } } } otherlv_2=(Token)match(input,64,FollowSets000.FOLLOW_64_in_ruleIfExpCS16874); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_2, grammarAccess.getIfExpCSAccess().getThenKeyword_2()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7690:1: ( (lv_ownedThenExpression_3_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7691:1: (lv_ownedThenExpression_3_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7691:1: (lv_ownedThenExpression_3_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7692:3: lv_ownedThenExpression_3_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getIfExpCSAccess().getOwnedThenExpressionExpCSParserRuleCall_3_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleIfExpCS16895); lv_ownedThenExpression_3_0=ruleExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getIfExpCSRule()); } set( current, "ownedThenExpression", lv_ownedThenExpression_3_0, "ExpCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7708:2: ( (lv_ownedIfThenExpressions_4_0= ruleElseIfThenExpCS ) )* loop142: do { int alt142=2; int LA142_0 = input.LA(1); if ( (LA142_0==102) ) { alt142=1; } switch (alt142) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7709:1: (lv_ownedIfThenExpressions_4_0= ruleElseIfThenExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7709:1: (lv_ownedIfThenExpressions_4_0= ruleElseIfThenExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7710:3: lv_ownedIfThenExpressions_4_0= ruleElseIfThenExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getIfExpCSAccess().getOwnedIfThenExpressionsElseIfThenExpCSParserRuleCall_4_0()); } pushFollow(FollowSets000.FOLLOW_ruleElseIfThenExpCS_in_ruleIfExpCS16916); lv_ownedIfThenExpressions_4_0=ruleElseIfThenExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getIfExpCSRule()); } add( current, "ownedIfThenExpressions", lv_ownedIfThenExpressions_4_0, "ElseIfThenExpCS"); afterParserOrEnumRuleCall(); } } } break; default : break loop142; } } while (true); otherlv_5=(Token)match(input,56,FollowSets000.FOLLOW_56_in_ruleIfExpCS16929); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_5, grammarAccess.getIfExpCSAccess().getElseKeyword_5()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7730:1: ( (lv_ownedElseExpression_6_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7731:1: (lv_ownedElseExpression_6_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7731:1: (lv_ownedElseExpression_6_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7732:3: lv_ownedElseExpression_6_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getIfExpCSAccess().getOwnedElseExpressionExpCSParserRuleCall_6_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleIfExpCS16950); lv_ownedElseExpression_6_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_6_0, "ExpCS"); afterParserOrEnumRuleCall(); } } } otherlv_7=(Token)match(input,57,FollowSets000.FOLLOW_57_in_ruleIfExpCS16962); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_7, grammarAccess.getIfExpCSAccess().getEndifKeyword_7()); } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleIfExpCS" // $ANTLR start "entryRuleElseIfThenExpCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7760:1: entryRuleElseIfThenExpCS returns [EObject current=null] : iv_ruleElseIfThenExpCS= ruleElseIfThenExpCS EOF ; public final EObject entryRuleElseIfThenExpCS() throws RecognitionException { EObject current = null; EObject iv_ruleElseIfThenExpCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7761:2: (iv_ruleElseIfThenExpCS= ruleElseIfThenExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7762:2: iv_ruleElseIfThenExpCS= ruleElseIfThenExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getElseIfThenExpCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleElseIfThenExpCS_in_entryRuleElseIfThenExpCS16998); iv_ruleElseIfThenExpCS=ruleElseIfThenExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleElseIfThenExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleElseIfThenExpCS17008); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleElseIfThenExpCS" // $ANTLR start "ruleElseIfThenExpCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7769:1: ruleElseIfThenExpCS returns [EObject current=null] : (otherlv_0= 'elseif' ( (lv_ownedCondition_1_0= ruleExpCS ) ) otherlv_2= 'then' ( (lv_ownedThenExpression_3_0= ruleExpCS ) ) ) ; public final EObject ruleElseIfThenExpCS() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_2=null; EObject lv_ownedCondition_1_0 = null; EObject lv_ownedThenExpression_3_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7772:28: ( (otherlv_0= 'elseif' ( (lv_ownedCondition_1_0= ruleExpCS ) ) otherlv_2= 'then' ( (lv_ownedThenExpression_3_0= ruleExpCS ) ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7773:1: (otherlv_0= 'elseif' ( (lv_ownedCondition_1_0= ruleExpCS ) ) otherlv_2= 'then' ( (lv_ownedThenExpression_3_0= ruleExpCS ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7773:1: (otherlv_0= 'elseif' ( (lv_ownedCondition_1_0= ruleExpCS ) ) otherlv_2= 'then' ( (lv_ownedThenExpression_3_0= ruleExpCS ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7773:3: otherlv_0= 'elseif' ( (lv_ownedCondition_1_0= ruleExpCS ) ) otherlv_2= 'then' ( (lv_ownedThenExpression_3_0= ruleExpCS ) ) { otherlv_0=(Token)match(input,102,FollowSets000.FOLLOW_102_in_ruleElseIfThenExpCS17045); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_0, grammarAccess.getElseIfThenExpCSAccess().getElseifKeyword_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7777:1: ( (lv_ownedCondition_1_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7778:1: (lv_ownedCondition_1_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7778:1: (lv_ownedCondition_1_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7779:3: lv_ownedCondition_1_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getElseIfThenExpCSAccess().getOwnedConditionExpCSParserRuleCall_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleElseIfThenExpCS17066); lv_ownedCondition_1_0=ruleExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getElseIfThenExpCSRule()); } set( current, "ownedCondition", lv_ownedCondition_1_0, "ExpCS"); afterParserOrEnumRuleCall(); } } } otherlv_2=(Token)match(input,64,FollowSets000.FOLLOW_64_in_ruleElseIfThenExpCS17078); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_2, grammarAccess.getElseIfThenExpCSAccess().getThenKeyword_2()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7799:1: ( (lv_ownedThenExpression_3_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7800:1: (lv_ownedThenExpression_3_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7800:1: (lv_ownedThenExpression_3_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7801:3: lv_ownedThenExpression_3_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getElseIfThenExpCSAccess().getOwnedThenExpressionExpCSParserRuleCall_3_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleElseIfThenExpCS17099); lv_ownedThenExpression_3_0=ruleExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getElseIfThenExpCSRule()); } set( current, "ownedThenExpression", lv_ownedThenExpression_3_0, "ExpCS"); afterParserOrEnumRuleCall(); } } } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleElseIfThenExpCS" // $ANTLR start "entryRuleLetExpCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7825: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7826:2: (iv_ruleLetExpCS= ruleLetExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7827:2: iv_ruleLetExpCS= ruleLetExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLetExpCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleLetExpCS_in_entryRuleLetExpCS17135); iv_ruleLetExpCS=ruleLetExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleLetExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLetExpCS17145); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7834: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7837: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7838: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7838: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7838: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,61,FollowSets000.FOLLOW_61_in_ruleLetExpCS17182); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_0, grammarAccess.getLetExpCSAccess().getLetKeyword_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7842:1: ( (lv_ownedVariables_1_0= ruleLetVariableCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7843:1: (lv_ownedVariables_1_0= ruleLetVariableCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7843:1: (lv_ownedVariables_1_0= ruleLetVariableCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7844:3: lv_ownedVariables_1_0= ruleLetVariableCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLetExpCSAccess().getOwnedVariablesLetVariableCSParserRuleCall_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleLetVariableCS_in_ruleLetExpCS17203); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7860:2: (otherlv_2= ',' ( (lv_ownedVariables_3_0= ruleLetVariableCS ) ) )* loop143: do { int alt143=2; int LA143_0 = input.LA(1); if ( (LA143_0==44) ) { alt143=1; } switch (alt143) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7860:4: otherlv_2= ',' ( (lv_ownedVariables_3_0= ruleLetVariableCS ) ) { otherlv_2=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleLetExpCS17216); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_2, grammarAccess.getLetExpCSAccess().getCommaKeyword_2_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7864:1: ( (lv_ownedVariables_3_0= ruleLetVariableCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7865:1: (lv_ownedVariables_3_0= ruleLetVariableCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7865:1: (lv_ownedVariables_3_0= ruleLetVariableCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7866:3: lv_ownedVariables_3_0= ruleLetVariableCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLetExpCSAccess().getOwnedVariablesLetVariableCSParserRuleCall_2_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleLetVariableCS_in_ruleLetExpCS17237); 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 loop143; } } while (true); otherlv_4=(Token)match(input,60,FollowSets000.FOLLOW_60_in_ruleLetExpCS17251); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_4, grammarAccess.getLetExpCSAccess().getInKeyword_3()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7886:1: ( (lv_ownedInExpression_5_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7887:1: (lv_ownedInExpression_5_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7887:1: (lv_ownedInExpression_5_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7888:3: lv_ownedInExpression_5_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLetExpCSAccess().getOwnedInExpressionExpCSParserRuleCall_4_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleLetExpCS17272); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7912: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7913:2: (iv_ruleLetVariableCS= ruleLetVariableCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7914:2: iv_ruleLetVariableCS= ruleLetVariableCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLetVariableCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleLetVariableCS_in_entryRuleLetVariableCS17308); iv_ruleLetVariableCS=ruleLetVariableCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleLetVariableCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLetVariableCS17318); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7921:1: ruleLetVariableCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleUnrestrictedName ) ) ( (lv_ownedRoundBracketedClause_1_0= ruleRoundBracketedClauseCS ) )? (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) )? 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7924:28: ( ( ( (lv_name_0_0= ruleUnrestrictedName ) ) ( (lv_ownedRoundBracketedClause_1_0= ruleRoundBracketedClauseCS ) )? (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) )? otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7925:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) ( (lv_ownedRoundBracketedClause_1_0= ruleRoundBracketedClauseCS ) )? (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) )? otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7925:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) ( (lv_ownedRoundBracketedClause_1_0= ruleRoundBracketedClauseCS ) )? (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) )? otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7925:2: ( (lv_name_0_0= ruleUnrestrictedName ) ) ( (lv_ownedRoundBracketedClause_1_0= ruleRoundBracketedClauseCS ) )? (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) )? otherlv_4= '=' ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7925:2: ( (lv_name_0_0= ruleUnrestrictedName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7926:1: (lv_name_0_0= ruleUnrestrictedName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7926:1: (lv_name_0_0= ruleUnrestrictedName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7927:3: lv_name_0_0= ruleUnrestrictedName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLetVariableCSAccess().getNameUnrestrictedNameParserRuleCall_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleLetVariableCS17364); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7943:2: ( (lv_ownedRoundBracketedClause_1_0= ruleRoundBracketedClauseCS ) )? int alt144=2; int LA144_0 = input.LA(1); if ( (LA144_0==43) ) { alt144=1; } switch (alt144) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7944:1: (lv_ownedRoundBracketedClause_1_0= ruleRoundBracketedClauseCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7944:1: (lv_ownedRoundBracketedClause_1_0= ruleRoundBracketedClauseCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7945:3: lv_ownedRoundBracketedClause_1_0= ruleRoundBracketedClauseCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLetVariableCSAccess().getOwnedRoundBracketedClauseRoundBracketedClauseCSParserRuleCall_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleRoundBracketedClauseCS_in_ruleLetVariableCS17385); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7961:3: (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) )? int alt145=2; int LA145_0 = input.LA(1); if ( (LA145_0==42) ) { alt145=1; } switch (alt145) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7961:5: otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) { otherlv_2=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleLetVariableCS17399); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_2, grammarAccess.getLetVariableCSAccess().getColonKeyword_2_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7965:1: ( (lv_ownedType_3_0= ruleTypeExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7966:1: (lv_ownedType_3_0= ruleTypeExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7966:1: (lv_ownedType_3_0= ruleTypeExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7967:3: lv_ownedType_3_0= ruleTypeExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLetVariableCSAccess().getOwnedTypeTypeExpCSParserRuleCall_2_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypeExpCS_in_ruleLetVariableCS17420); lv_ownedType_3_0=ruleTypeExpCS(); 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, "TypeExpCS"); afterParserOrEnumRuleCall(); } } } } break; } otherlv_4=(Token)match(input,48,FollowSets000.FOLLOW_48_in_ruleLetVariableCS17434); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_4, grammarAccess.getLetVariableCSAccess().getEqualsSignKeyword_3()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7987:1: ( (lv_ownedInitExpression_5_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7988:1: (lv_ownedInitExpression_5_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7988:1: (lv_ownedInitExpression_5_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:7989:3: lv_ownedInitExpression_5_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLetVariableCSAccess().getOwnedInitExpressionExpCSParserRuleCall_4_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleLetVariableCS17455); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8013: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8014:2: (iv_ruleNestedExpCS= ruleNestedExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8015:2: iv_ruleNestedExpCS= ruleNestedExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNestedExpCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleNestedExpCS_in_entryRuleNestedExpCS17491); iv_ruleNestedExpCS=ruleNestedExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleNestedExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNestedExpCS17501); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8022: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8025:28: ( (otherlv_0= '(' ( (lv_ownedExpression_1_0= ruleExpCS ) ) otherlv_2= ')' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8026:1: (otherlv_0= '(' ( (lv_ownedExpression_1_0= ruleExpCS ) ) otherlv_2= ')' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8026:1: (otherlv_0= '(' ( (lv_ownedExpression_1_0= ruleExpCS ) ) otherlv_2= ')' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8026:3: otherlv_0= '(' ( (lv_ownedExpression_1_0= ruleExpCS ) ) otherlv_2= ')' { otherlv_0=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleNestedExpCS17538); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_0, grammarAccess.getNestedExpCSAccess().getLeftParenthesisKeyword_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8030:1: ( (lv_ownedExpression_1_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8031:1: (lv_ownedExpression_1_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8031:1: (lv_ownedExpression_1_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8032:3: lv_ownedExpression_1_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNestedExpCSAccess().getOwnedExpressionExpCSParserRuleCall_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleNestedExpCS17559); 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,45,FollowSets000.FOLLOW_45_in_ruleNestedExpCS17571); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8060: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8061:2: (iv_ruleSelfExpCS= ruleSelfExpCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8062:2: iv_ruleSelfExpCS= ruleSelfExpCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getSelfExpCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleSelfExpCS_in_entryRuleSelfExpCS17607); iv_ruleSelfExpCS=ruleSelfExpCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleSelfExpCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleSelfExpCS17617); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8069: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8072:28: ( ( () otherlv_1= 'self' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8073:1: ( () otherlv_1= 'self' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8073:1: ( () otherlv_1= 'self' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8073:2: () otherlv_1= 'self' { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8073:2: () // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8074:2: { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { current = forceCreateModelElement( grammarAccess.getSelfExpCSAccess().getSelfExpCSAction_0(), current); } } otherlv_1=(Token)match(input,103,FollowSets000.FOLLOW_103_in_ruleSelfExpCS17666); 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 "entryRuleMultiplicityBoundsCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8094: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8095:2: (iv_ruleMultiplicityBoundsCS= ruleMultiplicityBoundsCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8096:2: iv_ruleMultiplicityBoundsCS= ruleMultiplicityBoundsCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getMultiplicityBoundsCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleMultiplicityBoundsCS_in_entryRuleMultiplicityBoundsCS17702); iv_ruleMultiplicityBoundsCS=ruleMultiplicityBoundsCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleMultiplicityBoundsCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleMultiplicityBoundsCS17712); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8103: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8106:28: ( ( ( (lv_lowerBound_0_0= ruleLOWER ) ) (otherlv_1= '..' ( (lv_upperBound_2_0= ruleUPPER ) ) )? ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8107:1: ( ( (lv_lowerBound_0_0= ruleLOWER ) ) (otherlv_1= '..' ( (lv_upperBound_2_0= ruleUPPER ) ) )? ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8107:1: ( ( (lv_lowerBound_0_0= ruleLOWER ) ) (otherlv_1= '..' ( (lv_upperBound_2_0= ruleUPPER ) ) )? ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8107:2: ( (lv_lowerBound_0_0= ruleLOWER ) ) (otherlv_1= '..' ( (lv_upperBound_2_0= ruleUPPER ) ) )? { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8107:2: ( (lv_lowerBound_0_0= ruleLOWER ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8108:1: (lv_lowerBound_0_0= ruleLOWER ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8108:1: (lv_lowerBound_0_0= ruleLOWER ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8109:3: lv_lowerBound_0_0= ruleLOWER { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getMultiplicityBoundsCSAccess().getLowerBoundLOWERParserRuleCall_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleLOWER_in_ruleMultiplicityBoundsCS17758); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8125:2: (otherlv_1= '..' ( (lv_upperBound_2_0= ruleUPPER ) ) )? int alt146=2; int LA146_0 = input.LA(1); if ( (LA146_0==92) ) { alt146=1; } switch (alt146) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8125:4: otherlv_1= '..' ( (lv_upperBound_2_0= ruleUPPER ) ) { otherlv_1=(Token)match(input,92,FollowSets000.FOLLOW_92_in_ruleMultiplicityBoundsCS17771); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getMultiplicityBoundsCSAccess().getFullStopFullStopKeyword_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8129:1: ( (lv_upperBound_2_0= ruleUPPER ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8130:1: (lv_upperBound_2_0= ruleUPPER ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8130:1: (lv_upperBound_2_0= ruleUPPER ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8131:3: lv_upperBound_2_0= ruleUPPER { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getMultiplicityBoundsCSAccess().getUpperBoundUPPERParserRuleCall_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleUPPER_in_ruleMultiplicityBoundsCS17792); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8155: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8156:2: (iv_ruleMultiplicityCS= ruleMultiplicityCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8157:2: iv_ruleMultiplicityCS= ruleMultiplicityCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getMultiplicityCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleMultiplicityCS_in_entryRuleMultiplicityCS17830); iv_ruleMultiplicityCS=ruleMultiplicityCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleMultiplicityCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleMultiplicityCS17840); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8164: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8167: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8168: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8168: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8168: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,100,FollowSets000.FOLLOW_100_in_ruleMultiplicityCS17877); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_0, grammarAccess.getMultiplicityCSAccess().getLeftSquareBracketKeyword_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8172:1: (this_MultiplicityBoundsCS_1= ruleMultiplicityBoundsCS | this_MultiplicityStringCS_2= ruleMultiplicityStringCS ) int alt147=2; int LA147_0 = input.LA(1); if ( (LA147_0==RULE_INT) ) { alt147=1; } else if ( (LA147_0==67||LA147_0==69||LA147_0==106) ) { alt147=2; } else { if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 147, 0, input); throw nvae; } switch (alt147) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8173:2: this_MultiplicityBoundsCS_1= ruleMultiplicityBoundsCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getMultiplicityCSAccess().getMultiplicityBoundsCSParserRuleCall_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleMultiplicityBoundsCS_in_ruleMultiplicityCS17903); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8186:2: this_MultiplicityStringCS_2= ruleMultiplicityStringCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getMultiplicityCSAccess().getMultiplicityStringCSParserRuleCall_1_1()); } pushFollow(FollowSets000.FOLLOW_ruleMultiplicityStringCS_in_ruleMultiplicityCS17933); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8197:2: (otherlv_3= '|?' | ( (lv_isNullFree_4_0= '|1' ) ) )? int alt148=3; int LA148_0 = input.LA(1); if ( (LA148_0==104) ) { alt148=1; } else if ( (LA148_0==105) ) { alt148=2; } switch (alt148) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8197:4: otherlv_3= '|?' { otherlv_3=(Token)match(input,104,FollowSets000.FOLLOW_104_in_ruleMultiplicityCS17946); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8202:6: ( (lv_isNullFree_4_0= '|1' ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8202:6: ( (lv_isNullFree_4_0= '|1' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8203:1: (lv_isNullFree_4_0= '|1' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8203:1: (lv_isNullFree_4_0= '|1' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8204:3: lv_isNullFree_4_0= '|1' { lv_isNullFree_4_0=(Token)match(input,105,FollowSets000.FOLLOW_105_in_ruleMultiplicityCS17970); 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,101,FollowSets000.FOLLOW_101_in_ruleMultiplicityCS17997); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8229: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8230:2: (iv_ruleMultiplicityStringCS= ruleMultiplicityStringCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8231:2: iv_ruleMultiplicityStringCS= ruleMultiplicityStringCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getMultiplicityStringCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleMultiplicityStringCS_in_entryRuleMultiplicityStringCS18033); iv_ruleMultiplicityStringCS=ruleMultiplicityStringCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleMultiplicityStringCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleMultiplicityStringCS18043); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8238: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8241:28: ( ( ( (lv_stringBounds_0_1= '*' | lv_stringBounds_0_2= '+' | lv_stringBounds_0_3= '?' ) ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8242:1: ( ( (lv_stringBounds_0_1= '*' | lv_stringBounds_0_2= '+' | lv_stringBounds_0_3= '?' ) ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8242:1: ( ( (lv_stringBounds_0_1= '*' | lv_stringBounds_0_2= '+' | lv_stringBounds_0_3= '?' ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8243:1: ( (lv_stringBounds_0_1= '*' | lv_stringBounds_0_2= '+' | lv_stringBounds_0_3= '?' ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8243:1: ( (lv_stringBounds_0_1= '*' | lv_stringBounds_0_2= '+' | lv_stringBounds_0_3= '?' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8244:1: (lv_stringBounds_0_1= '*' | lv_stringBounds_0_2= '+' | lv_stringBounds_0_3= '?' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8244:1: (lv_stringBounds_0_1= '*' | lv_stringBounds_0_2= '+' | lv_stringBounds_0_3= '?' ) int alt149=3; switch ( input.LA(1) ) { case 67: { alt149=1; } break; case 69: { alt149=2; } break; case 106: { alt149=3; } break; default: if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 149, 0, input); throw nvae; } switch (alt149) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8245:3: lv_stringBounds_0_1= '*' { lv_stringBounds_0_1=(Token)match(input,67,FollowSets000.FOLLOW_67_in_ruleMultiplicityStringCS18087); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8257:8: lv_stringBounds_0_2= '+' { lv_stringBounds_0_2=(Token)match(input,69,FollowSets000.FOLLOW_69_in_ruleMultiplicityStringCS18116); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8269:8: lv_stringBounds_0_3= '?' { lv_stringBounds_0_3=(Token)match(input,106,FollowSets000.FOLLOW_106_in_ruleMultiplicityStringCS18145); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8292: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8293:2: (iv_rulePathNameCS= rulePathNameCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8294:2: iv_rulePathNameCS= rulePathNameCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPathNameCSRule()); } pushFollow(FollowSets000.FOLLOW_rulePathNameCS_in_entryRulePathNameCS18196); iv_rulePathNameCS=rulePathNameCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_rulePathNameCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePathNameCS18206); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8301: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8304:28: ( ( ( (lv_ownedPathElements_0_0= ruleFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) )* ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8305:1: ( ( (lv_ownedPathElements_0_0= ruleFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) )* ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8305:1: ( ( (lv_ownedPathElements_0_0= ruleFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) )* ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8305:2: ( (lv_ownedPathElements_0_0= ruleFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) )* { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8305:2: ( (lv_ownedPathElements_0_0= ruleFirstPathElementCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8306:1: (lv_ownedPathElements_0_0= ruleFirstPathElementCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8306:1: (lv_ownedPathElements_0_0= ruleFirstPathElementCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8307:3: lv_ownedPathElements_0_0= ruleFirstPathElementCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPathNameCSAccess().getOwnedPathElementsFirstPathElementCSParserRuleCall_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleFirstPathElementCS_in_rulePathNameCS18252); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8323:2: (otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) )* loop150: do { int alt150=2; int LA150_0 = input.LA(1); if ( (LA150_0==41) ) { alt150=1; } switch (alt150) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8323:4: otherlv_1= '::' ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) { otherlv_1=(Token)match(input,41,FollowSets000.FOLLOW_41_in_rulePathNameCS18265); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getPathNameCSAccess().getColonColonKeyword_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8327:1: ( (lv_ownedPathElements_2_0= ruleNextPathElementCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8328:1: (lv_ownedPathElements_2_0= ruleNextPathElementCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8328:1: (lv_ownedPathElements_2_0= ruleNextPathElementCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8329:3: lv_ownedPathElements_2_0= ruleNextPathElementCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPathNameCSAccess().getOwnedPathElementsNextPathElementCSParserRuleCall_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleNextPathElementCS_in_rulePathNameCS18286); 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 loop150; } } 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8353: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8354:2: (iv_ruleFirstPathElementCS= ruleFirstPathElementCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8355:2: iv_ruleFirstPathElementCS= ruleFirstPathElementCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getFirstPathElementCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleFirstPathElementCS_in_entryRuleFirstPathElementCS18324); iv_ruleFirstPathElementCS=ruleFirstPathElementCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleFirstPathElementCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleFirstPathElementCS18334); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8362:1: ruleFirstPathElementCS returns [EObject current=null] : ( ( ruleUnrestrictedName ) ) ; public final EObject ruleFirstPathElementCS() throws RecognitionException { EObject current = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8365:28: ( ( ( ruleUnrestrictedName ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8366:1: ( ( ruleUnrestrictedName ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8366:1: ( ( ruleUnrestrictedName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8367:1: ( ruleUnrestrictedName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8367:1: ( ruleUnrestrictedName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8368: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_ruleFirstPathElementCS18385); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8392: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8393:2: (iv_ruleNextPathElementCS= ruleNextPathElementCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8394:2: iv_ruleNextPathElementCS= ruleNextPathElementCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNextPathElementCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleNextPathElementCS_in_entryRuleNextPathElementCS18420); iv_ruleNextPathElementCS=ruleNextPathElementCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleNextPathElementCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNextPathElementCS18430); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8401:1: ruleNextPathElementCS returns [EObject current=null] : ( ( ruleUnreservedName ) ) ; public final EObject ruleNextPathElementCS() throws RecognitionException { EObject current = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8404:28: ( ( ( ruleUnreservedName ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8405:1: ( ( ruleUnreservedName ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8405:1: ( ( ruleUnreservedName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8406:1: ( ruleUnreservedName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8406:1: ( ruleUnreservedName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8407: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_ruleNextPathElementCS18481); 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 "entryRuleTemplateBindingCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8431: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8432:2: (iv_ruleTemplateBindingCS= ruleTemplateBindingCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8433:2: iv_ruleTemplateBindingCS= ruleTemplateBindingCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTemplateBindingCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleTemplateBindingCS_in_entryRuleTemplateBindingCS18516); iv_ruleTemplateBindingCS=ruleTemplateBindingCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleTemplateBindingCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTemplateBindingCS18526); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8440:1: ruleTemplateBindingCS returns [EObject current=null] : ( ( (lv_ownedSubstitutions_0_0= ruleTemplateParameterSubstitutionCS ) ) (otherlv_1= ',' ( (lv_ownedSubstitutions_2_0= ruleTemplateParameterSubstitutionCS ) ) )* ( (lv_ownedMultiplicity_3_0= ruleMultiplicityCS ) )? ) ; 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; EObject lv_ownedMultiplicity_3_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8443:28: ( ( ( (lv_ownedSubstitutions_0_0= ruleTemplateParameterSubstitutionCS ) ) (otherlv_1= ',' ( (lv_ownedSubstitutions_2_0= ruleTemplateParameterSubstitutionCS ) ) )* ( (lv_ownedMultiplicity_3_0= ruleMultiplicityCS ) )? ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8444:1: ( ( (lv_ownedSubstitutions_0_0= ruleTemplateParameterSubstitutionCS ) ) (otherlv_1= ',' ( (lv_ownedSubstitutions_2_0= ruleTemplateParameterSubstitutionCS ) ) )* ( (lv_ownedMultiplicity_3_0= ruleMultiplicityCS ) )? ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8444:1: ( ( (lv_ownedSubstitutions_0_0= ruleTemplateParameterSubstitutionCS ) ) (otherlv_1= ',' ( (lv_ownedSubstitutions_2_0= ruleTemplateParameterSubstitutionCS ) ) )* ( (lv_ownedMultiplicity_3_0= ruleMultiplicityCS ) )? ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8444:2: ( (lv_ownedSubstitutions_0_0= ruleTemplateParameterSubstitutionCS ) ) (otherlv_1= ',' ( (lv_ownedSubstitutions_2_0= ruleTemplateParameterSubstitutionCS ) ) )* ( (lv_ownedMultiplicity_3_0= ruleMultiplicityCS ) )? { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8444:2: ( (lv_ownedSubstitutions_0_0= ruleTemplateParameterSubstitutionCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8445:1: (lv_ownedSubstitutions_0_0= ruleTemplateParameterSubstitutionCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8445:1: (lv_ownedSubstitutions_0_0= ruleTemplateParameterSubstitutionCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8446:3: lv_ownedSubstitutions_0_0= ruleTemplateParameterSubstitutionCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTemplateBindingCSAccess().getOwnedSubstitutionsTemplateParameterSubstitutionCSParserRuleCall_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleTemplateParameterSubstitutionCS_in_ruleTemplateBindingCS18572); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8462:2: (otherlv_1= ',' ( (lv_ownedSubstitutions_2_0= ruleTemplateParameterSubstitutionCS ) ) )* loop151: do { int alt151=2; int LA151_0 = input.LA(1); if ( (LA151_0==44) ) { alt151=1; } switch (alt151) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8462:4: otherlv_1= ',' ( (lv_ownedSubstitutions_2_0= ruleTemplateParameterSubstitutionCS ) ) { otherlv_1=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleTemplateBindingCS18585); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getTemplateBindingCSAccess().getCommaKeyword_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8466:1: ( (lv_ownedSubstitutions_2_0= ruleTemplateParameterSubstitutionCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8467:1: (lv_ownedSubstitutions_2_0= ruleTemplateParameterSubstitutionCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8467:1: (lv_ownedSubstitutions_2_0= ruleTemplateParameterSubstitutionCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8468:3: lv_ownedSubstitutions_2_0= ruleTemplateParameterSubstitutionCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTemplateBindingCSAccess().getOwnedSubstitutionsTemplateParameterSubstitutionCSParserRuleCall_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleTemplateParameterSubstitutionCS_in_ruleTemplateBindingCS18606); 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 loop151; } } while (true); // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8484:4: ( (lv_ownedMultiplicity_3_0= ruleMultiplicityCS ) )? int alt152=2; int LA152_0 = input.LA(1); if ( (LA152_0==100) ) { alt152=1; } switch (alt152) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8485:1: (lv_ownedMultiplicity_3_0= ruleMultiplicityCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8485:1: (lv_ownedMultiplicity_3_0= ruleMultiplicityCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8486:3: lv_ownedMultiplicity_3_0= ruleMultiplicityCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTemplateBindingCSAccess().getOwnedMultiplicityMultiplicityCSParserRuleCall_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleMultiplicityCS_in_ruleTemplateBindingCS18629); lv_ownedMultiplicity_3_0=ruleMultiplicityCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { if (current==null) { current = createModelElementForParent(grammarAccess.getTemplateBindingCSRule()); } set( current, "ownedMultiplicity", lv_ownedMultiplicity_3_0, "MultiplicityCS"); afterParserOrEnumRuleCall(); } } } break; } } } 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8510: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8511:2: (iv_ruleTemplateParameterSubstitutionCS= ruleTemplateParameterSubstitutionCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8512:2: iv_ruleTemplateParameterSubstitutionCS= ruleTemplateParameterSubstitutionCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTemplateParameterSubstitutionCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleTemplateParameterSubstitutionCS_in_entryRuleTemplateParameterSubstitutionCS18666); iv_ruleTemplateParameterSubstitutionCS=ruleTemplateParameterSubstitutionCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleTemplateParameterSubstitutionCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTemplateParameterSubstitutionCS18676); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8519:1: ruleTemplateParameterSubstitutionCS returns [EObject current=null] : ( (lv_ownedActualParameter_0_0= ruleTypeRefCS ) ) ; public final EObject ruleTemplateParameterSubstitutionCS() throws RecognitionException { EObject current = null; EObject lv_ownedActualParameter_0_0 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8522:28: ( ( (lv_ownedActualParameter_0_0= ruleTypeRefCS ) ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8523:1: ( (lv_ownedActualParameter_0_0= ruleTypeRefCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8523:1: ( (lv_ownedActualParameter_0_0= ruleTypeRefCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8524:1: (lv_ownedActualParameter_0_0= ruleTypeRefCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8524:1: (lv_ownedActualParameter_0_0= ruleTypeRefCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8525:3: lv_ownedActualParameter_0_0= ruleTypeRefCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTemplateParameterSubstitutionCSAccess().getOwnedActualParameterTypeRefCSParserRuleCall_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypeRefCS_in_ruleTemplateParameterSubstitutionCS18721); lv_ownedActualParameter_0_0=ruleTypeRefCS(); 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, "TypeRefCS"); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8549: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8550:2: (iv_ruleTemplateSignatureCS= ruleTemplateSignatureCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8551:2: iv_ruleTemplateSignatureCS= ruleTemplateSignatureCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTemplateSignatureCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleTemplateSignatureCS_in_entryRuleTemplateSignatureCS18756); iv_ruleTemplateSignatureCS=ruleTemplateSignatureCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleTemplateSignatureCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTemplateSignatureCS18766); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8558: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8561:28: ( (otherlv_0= '(' ( (lv_ownedParameters_1_0= ruleTypeParameterCS ) ) (otherlv_2= ',' ( (lv_ownedParameters_3_0= ruleTypeParameterCS ) ) )* otherlv_4= ')' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8562:1: (otherlv_0= '(' ( (lv_ownedParameters_1_0= ruleTypeParameterCS ) ) (otherlv_2= ',' ( (lv_ownedParameters_3_0= ruleTypeParameterCS ) ) )* otherlv_4= ')' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8562:1: (otherlv_0= '(' ( (lv_ownedParameters_1_0= ruleTypeParameterCS ) ) (otherlv_2= ',' ( (lv_ownedParameters_3_0= ruleTypeParameterCS ) ) )* otherlv_4= ')' ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8562:3: otherlv_0= '(' ( (lv_ownedParameters_1_0= ruleTypeParameterCS ) ) (otherlv_2= ',' ( (lv_ownedParameters_3_0= ruleTypeParameterCS ) ) )* otherlv_4= ')' { otherlv_0=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleTemplateSignatureCS18803); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_0, grammarAccess.getTemplateSignatureCSAccess().getLeftParenthesisKeyword_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8566:1: ( (lv_ownedParameters_1_0= ruleTypeParameterCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8567:1: (lv_ownedParameters_1_0= ruleTypeParameterCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8567:1: (lv_ownedParameters_1_0= ruleTypeParameterCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8568:3: lv_ownedParameters_1_0= ruleTypeParameterCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTemplateSignatureCSAccess().getOwnedParametersTypeParameterCSParserRuleCall_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypeParameterCS_in_ruleTemplateSignatureCS18824); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8584:2: (otherlv_2= ',' ( (lv_ownedParameters_3_0= ruleTypeParameterCS ) ) )* loop153: do { int alt153=2; int LA153_0 = input.LA(1); if ( (LA153_0==44) ) { alt153=1; } switch (alt153) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8584:4: otherlv_2= ',' ( (lv_ownedParameters_3_0= ruleTypeParameterCS ) ) { otherlv_2=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleTemplateSignatureCS18837); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_2, grammarAccess.getTemplateSignatureCSAccess().getCommaKeyword_2_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8588:1: ( (lv_ownedParameters_3_0= ruleTypeParameterCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8589:1: (lv_ownedParameters_3_0= ruleTypeParameterCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8589:1: (lv_ownedParameters_3_0= ruleTypeParameterCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8590:3: lv_ownedParameters_3_0= ruleTypeParameterCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTemplateSignatureCSAccess().getOwnedParametersTypeParameterCSParserRuleCall_2_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypeParameterCS_in_ruleTemplateSignatureCS18858); 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 loop153; } } while (true); otherlv_4=(Token)match(input,45,FollowSets000.FOLLOW_45_in_ruleTemplateSignatureCS18872); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_4, grammarAccess.getTemplateSignatureCSAccess().getRightParenthesisKeyword_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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8618: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8619:2: (iv_ruleTypeParameterCS= ruleTypeParameterCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8620:2: iv_ruleTypeParameterCS= ruleTypeParameterCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeParameterCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleTypeParameterCS_in_entryRuleTypeParameterCS18908); iv_ruleTypeParameterCS=ruleTypeParameterCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleTypeParameterCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypeParameterCS18918); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8627:1: ruleTypeParameterCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= 'extends' ( (lv_ownedExtends_2_0= ruleTypedRefCS ) ) (otherlv_3= '&&' ( (lv_ownedExtends_4_0= ruleTypedRefCS ) ) )* )? ) ; 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8630:28: ( ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= 'extends' ( (lv_ownedExtends_2_0= ruleTypedRefCS ) ) (otherlv_3= '&&' ( (lv_ownedExtends_4_0= ruleTypedRefCS ) ) )* )? ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8631:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= 'extends' ( (lv_ownedExtends_2_0= ruleTypedRefCS ) ) (otherlv_3= '&&' ( (lv_ownedExtends_4_0= ruleTypedRefCS ) ) )* )? ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8631:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= 'extends' ( (lv_ownedExtends_2_0= ruleTypedRefCS ) ) (otherlv_3= '&&' ( (lv_ownedExtends_4_0= ruleTypedRefCS ) ) )* )? ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8631:2: ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= 'extends' ( (lv_ownedExtends_2_0= ruleTypedRefCS ) ) (otherlv_3= '&&' ( (lv_ownedExtends_4_0= ruleTypedRefCS ) ) )* )? { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8631:2: ( (lv_name_0_0= ruleUnrestrictedName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8632:1: (lv_name_0_0= ruleUnrestrictedName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8632:1: (lv_name_0_0= ruleUnrestrictedName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8633:3: lv_name_0_0= ruleUnrestrictedName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeParameterCSAccess().getNameUnrestrictedNameParserRuleCall_0_0()); } pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleTypeParameterCS18964); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8649:2: (otherlv_1= 'extends' ( (lv_ownedExtends_2_0= ruleTypedRefCS ) ) (otherlv_3= '&&' ( (lv_ownedExtends_4_0= ruleTypedRefCS ) ) )* )? int alt155=2; int LA155_0 = input.LA(1); if ( (LA155_0==21) ) { alt155=1; } switch (alt155) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8649:4: otherlv_1= 'extends' ( (lv_ownedExtends_2_0= ruleTypedRefCS ) ) (otherlv_3= '&&' ( (lv_ownedExtends_4_0= ruleTypedRefCS ) ) )* { otherlv_1=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleTypeParameterCS18977); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getTypeParameterCSAccess().getExtendsKeyword_1_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8653:1: ( (lv_ownedExtends_2_0= ruleTypedRefCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8654:1: (lv_ownedExtends_2_0= ruleTypedRefCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8654:1: (lv_ownedExtends_2_0= ruleTypedRefCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8655:3: lv_ownedExtends_2_0= ruleTypedRefCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeParameterCSAccess().getOwnedExtendsTypedRefCSParserRuleCall_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypedRefCS_in_ruleTypeParameterCS18998); lv_ownedExtends_2_0=ruleTypedRefCS(); 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, "TypedRefCS"); afterParserOrEnumRuleCall(); } } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8671:2: (otherlv_3= '&&' ( (lv_ownedExtends_4_0= ruleTypedRefCS ) ) )* loop154: do { int alt154=2; int LA154_0 = input.LA(1); if ( (LA154_0==107) ) { alt154=1; } switch (alt154) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8671:4: otherlv_3= '&&' ( (lv_ownedExtends_4_0= ruleTypedRefCS ) ) { otherlv_3=(Token)match(input,107,FollowSets000.FOLLOW_107_in_ruleTypeParameterCS19011); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_3, grammarAccess.getTypeParameterCSAccess().getAmpersandAmpersandKeyword_1_2_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8675:1: ( (lv_ownedExtends_4_0= ruleTypedRefCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8676:1: (lv_ownedExtends_4_0= ruleTypedRefCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8676:1: (lv_ownedExtends_4_0= ruleTypedRefCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8677:3: lv_ownedExtends_4_0= ruleTypedRefCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeParameterCSAccess().getOwnedExtendsTypedRefCSParserRuleCall_1_2_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypedRefCS_in_ruleTypeParameterCS19032); lv_ownedExtends_4_0=ruleTypedRefCS(); 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, "TypedRefCS"); afterParserOrEnumRuleCall(); } } } } break; default : break loop154; } } while (true); } break; } } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleTypeParameterCS" // $ANTLR start "entryRuleTypeRefCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8701:1: entryRuleTypeRefCS returns [EObject current=null] : iv_ruleTypeRefCS= ruleTypeRefCS EOF ; public final EObject entryRuleTypeRefCS() throws RecognitionException { EObject current = null; EObject iv_ruleTypeRefCS = null; try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8702:2: (iv_ruleTypeRefCS= ruleTypeRefCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8703:2: iv_ruleTypeRefCS= ruleTypeRefCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeRefCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleTypeRefCS_in_entryRuleTypeRefCS19072); iv_ruleTypeRefCS=ruleTypeRefCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleTypeRefCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypeRefCS19082); if (state.failed) return current; } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "entryRuleTypeRefCS" // $ANTLR start "ruleTypeRefCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8710:1: ruleTypeRefCS returns [EObject current=null] : (this_TypedRefCS_0= ruleTypedRefCS | this_WildcardTypeRefCS_1= ruleWildcardTypeRefCS ) ; public final EObject ruleTypeRefCS() throws RecognitionException { EObject current = null; EObject this_TypedRefCS_0 = null; EObject this_WildcardTypeRefCS_1 = null; enterRule(); try { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8713:28: ( (this_TypedRefCS_0= ruleTypedRefCS | this_WildcardTypeRefCS_1= ruleWildcardTypeRefCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8714:1: (this_TypedRefCS_0= ruleTypedRefCS | this_WildcardTypeRefCS_1= ruleWildcardTypeRefCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8714:1: (this_TypedRefCS_0= ruleTypedRefCS | this_WildcardTypeRefCS_1= ruleWildcardTypeRefCS ) int alt156=2; int LA156_0 = input.LA(1); if ( (LA156_0==RULE_DOUBLE_QUOTED_STRING||(LA156_0>=RULE_SIMPLE_ID && LA156_0<=RULE_ESCAPED_ID)||(LA156_0>=17 && LA156_0<=40)||(LA156_0>=54 && LA156_0<=65)||(LA156_0>=79 && LA156_0<=91)) ) { alt156=1; } else if ( (LA156_0==106) ) { alt156=2; } else { if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 156, 0, input); throw nvae; } switch (alt156) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8715:2: this_TypedRefCS_0= ruleTypedRefCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeRefCSAccess().getTypedRefCSParserRuleCall_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypedRefCS_in_ruleTypeRefCS19132); this_TypedRefCS_0=ruleTypedRefCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current = this_TypedRefCS_0; afterParserOrEnumRuleCall(); } } break; case 2 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8728:2: this_WildcardTypeRefCS_1= ruleWildcardTypeRefCS { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeRefCSAccess().getWildcardTypeRefCSParserRuleCall_1()); } pushFollow(FollowSets000.FOLLOW_ruleWildcardTypeRefCS_in_ruleTypeRefCS19162); this_WildcardTypeRefCS_1=ruleWildcardTypeRefCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current = this_WildcardTypeRefCS_1; afterParserOrEnumRuleCall(); } } break; } } if ( state.backtracking==0 ) { leaveRule(); } } catch (RecognitionException re) { recover(input,re); appendSkippedTokens(); } finally { } return current; } // $ANTLR end "ruleTypeRefCS" // $ANTLR start "entryRuleWildcardTypeRefCS" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8747: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8748:2: (iv_ruleWildcardTypeRefCS= ruleWildcardTypeRefCS EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8749:2: iv_ruleWildcardTypeRefCS= ruleWildcardTypeRefCS EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getWildcardTypeRefCSRule()); } pushFollow(FollowSets000.FOLLOW_ruleWildcardTypeRefCS_in_entryRuleWildcardTypeRefCS19197); iv_ruleWildcardTypeRefCS=ruleWildcardTypeRefCS(); state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { current =iv_ruleWildcardTypeRefCS; } match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleWildcardTypeRefCS19207); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8756:1: ruleWildcardTypeRefCS returns [EObject current=null] : ( () otherlv_1= '?' (otherlv_2= 'extends' ( (lv_ownedExtends_3_0= ruleTypedRefCS ) ) )? ) ; 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8759:28: ( ( () otherlv_1= '?' (otherlv_2= 'extends' ( (lv_ownedExtends_3_0= ruleTypedRefCS ) ) )? ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8760:1: ( () otherlv_1= '?' (otherlv_2= 'extends' ( (lv_ownedExtends_3_0= ruleTypedRefCS ) ) )? ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8760:1: ( () otherlv_1= '?' (otherlv_2= 'extends' ( (lv_ownedExtends_3_0= ruleTypedRefCS ) ) )? ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8760:2: () otherlv_1= '?' (otherlv_2= 'extends' ( (lv_ownedExtends_3_0= ruleTypedRefCS ) ) )? { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8760:2: () // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8761:2: { if ( state.backtracking==0 ) { /* */ } if ( state.backtracking==0 ) { current = forceCreateModelElement( grammarAccess.getWildcardTypeRefCSAccess().getWildcardTypeRefCSAction_0(), current); } } otherlv_1=(Token)match(input,106,FollowSets000.FOLLOW_106_in_ruleWildcardTypeRefCS19256); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getWildcardTypeRefCSAccess().getQuestionMarkKeyword_1()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8773:1: (otherlv_2= 'extends' ( (lv_ownedExtends_3_0= ruleTypedRefCS ) ) )? int alt157=2; int LA157_0 = input.LA(1); if ( (LA157_0==21) ) { alt157=1; } switch (alt157) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8773:3: otherlv_2= 'extends' ( (lv_ownedExtends_3_0= ruleTypedRefCS ) ) { otherlv_2=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleWildcardTypeRefCS19269); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_2, grammarAccess.getWildcardTypeRefCSAccess().getExtendsKeyword_2_0()); } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8777:1: ( (lv_ownedExtends_3_0= ruleTypedRefCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8778:1: (lv_ownedExtends_3_0= ruleTypedRefCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8778:1: (lv_ownedExtends_3_0= ruleTypedRefCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8779:3: lv_ownedExtends_3_0= ruleTypedRefCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getWildcardTypeRefCSAccess().getOwnedExtendsTypedRefCSParserRuleCall_2_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleTypedRefCS_in_ruleWildcardTypeRefCS19290); lv_ownedExtends_3_0=ruleTypedRefCS(); 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, "TypedRefCS"); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8803: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8804:2: (iv_ruleID= ruleID EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8805:2: iv_ruleID= ruleID EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getIDRule()); } pushFollow(FollowSets000.FOLLOW_ruleID_in_entryRuleID19329); 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_entryRuleID19340); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8812: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8815:28: ( (this_SIMPLE_ID_0= RULE_SIMPLE_ID | this_ESCAPED_ID_1= RULE_ESCAPED_ID ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8816:1: (this_SIMPLE_ID_0= RULE_SIMPLE_ID | this_ESCAPED_ID_1= RULE_ESCAPED_ID ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8816:1: (this_SIMPLE_ID_0= RULE_SIMPLE_ID | this_ESCAPED_ID_1= RULE_ESCAPED_ID ) int alt158=2; int LA158_0 = input.LA(1); if ( (LA158_0==RULE_SIMPLE_ID) ) { alt158=1; } else if ( (LA158_0==RULE_ESCAPED_ID) ) { alt158=2; } else { if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 158, 0, input); throw nvae; } switch (alt158) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8816:6: this_SIMPLE_ID_0= RULE_SIMPLE_ID { this_SIMPLE_ID_0=(Token)match(input,RULE_SIMPLE_ID,FollowSets000.FOLLOW_RULE_SIMPLE_ID_in_ruleID19380); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8824:10: this_ESCAPED_ID_1= RULE_ESCAPED_ID { this_ESCAPED_ID_1=(Token)match(input,RULE_ESCAPED_ID,FollowSets000.FOLLOW_RULE_ESCAPED_ID_in_ruleID19406); 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 "entryRuleLOWER" // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8839: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8840:2: (iv_ruleLOWER= ruleLOWER EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8841:2: iv_ruleLOWER= ruleLOWER EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLOWERRule()); } pushFollow(FollowSets000.FOLLOW_ruleLOWER_in_entryRuleLOWER19452); 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_entryRuleLOWER19463); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8848: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8851:28: (this_INT_0= RULE_INT ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8852:5: this_INT_0= RULE_INT { this_INT_0=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_RULE_INT_in_ruleLOWER19502); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8867: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8868:2: (iv_ruleNUMBER_LITERAL= ruleNUMBER_LITERAL EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8869:2: iv_ruleNUMBER_LITERAL= ruleNUMBER_LITERAL EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getNUMBER_LITERALRule()); } pushFollow(FollowSets000.FOLLOW_ruleNUMBER_LITERAL_in_entryRuleNUMBER_LITERAL19547); 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_LITERAL19558); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8876: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8879:28: (this_INT_0= RULE_INT ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8880:5: this_INT_0= RULE_INT { this_INT_0=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_RULE_INT_in_ruleNUMBER_LITERAL19597); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8895: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8896:2: (iv_ruleStringLiteral= ruleStringLiteral EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8897:2: iv_ruleStringLiteral= ruleStringLiteral EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getStringLiteralRule()); } pushFollow(FollowSets000.FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral19642); 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_entryRuleStringLiteral19653); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8904: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8907:28: (this_SINGLE_QUOTED_STRING_0= RULE_SINGLE_QUOTED_STRING ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8908: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_ruleStringLiteral19692); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8923: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8924:2: (iv_ruleUPPER= ruleUPPER EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8925:2: iv_ruleUPPER= ruleUPPER EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getUPPERRule()); } pushFollow(FollowSets000.FOLLOW_ruleUPPER_in_entryRuleUPPER19737); 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_entryRuleUPPER19748); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8932: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8935:28: ( (this_INT_0= RULE_INT | kw= '*' ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8936:1: (this_INT_0= RULE_INT | kw= '*' ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8936:1: (this_INT_0= RULE_INT | kw= '*' ) int alt159=2; int LA159_0 = input.LA(1); if ( (LA159_0==RULE_INT) ) { alt159=1; } else if ( (LA159_0==67) ) { alt159=2; } else { if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 159, 0, input); throw nvae; } switch (alt159) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8936:6: this_INT_0= RULE_INT { this_INT_0=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_RULE_INT_in_ruleUPPER19788); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8945:2: kw= '*' { kw=(Token)match(input,67,FollowSets000.FOLLOW_67_in_ruleUPPER19812); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8958: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8959:2: (iv_ruleURI= ruleURI EOF ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8960:2: iv_ruleURI= ruleURI EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getURIRule()); } pushFollow(FollowSets000.FOLLOW_ruleURI_in_entryRuleURI19853); 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_entryRuleURI19864); 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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8967: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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8970:28: (this_SINGLE_QUOTED_STRING_0= RULE_SINGLE_QUOTED_STRING ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:8971: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_ruleURI19903); 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 synpred197_InternalOCLstdlib public final void synpred197_InternalOCLstdlib_fragment() throws RecognitionException { EObject this_TypeLiteralCS_1 = null; // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6281:2: (this_TypeLiteralCS_1= ruleTypeLiteralCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6281:2: this_TypeLiteralCS_1= ruleTypeLiteralCS { if ( state.backtracking==0 ) { /* */ } pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralCS_in_synpred197_InternalOCLstdlib14051); this_TypeLiteralCS_1=ruleTypeLiteralCS(); state._fsp--; if (state.failed) return ; } } // $ANTLR end synpred197_InternalOCLstdlib // $ANTLR start synpred200_InternalOCLstdlib public final void synpred200_InternalOCLstdlib_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.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6344:2: ( (this_PrefixedPrimaryExpCS_0= rulePrefixedPrimaryExpCS ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6344:2: (this_PrefixedPrimaryExpCS_0= rulePrefixedPrimaryExpCS ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6344:2: (this_PrefixedPrimaryExpCS_0= rulePrefixedPrimaryExpCS ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6345:2: this_PrefixedPrimaryExpCS_0= rulePrefixedPrimaryExpCS ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? { if ( state.backtracking==0 ) { /* */ } pushFollow(FollowSets000.FOLLOW_rulePrefixedPrimaryExpCS_in_synpred200_InternalOCLstdlib14200); this_PrefixedPrimaryExpCS_0=rulePrefixedPrimaryExpCS(); state._fsp--; if (state.failed) return ; // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6356:1: ( () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) )? int alt186=2; int LA186_0 = input.LA(1); if ( (LA186_0==48||LA186_0==55||LA186_0==59||LA186_0==63||(LA186_0>=65 && LA186_0<=78)) ) { alt186=1; } switch (alt186) { case 1 : // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6356:2: () ( (lv_name_2_0= ruleBinaryOperatorName ) ) ( (lv_ownedRight_3_0= ruleExpCS ) ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6356:2: () // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6357:2: { if ( state.backtracking==0 ) { /* */ } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6365:2: ( (lv_name_2_0= ruleBinaryOperatorName ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6366:1: (lv_name_2_0= ruleBinaryOperatorName ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6366:1: (lv_name_2_0= ruleBinaryOperatorName ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6367:3: lv_name_2_0= ruleBinaryOperatorName { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getExpCSAccess().getNameBinaryOperatorNameParserRuleCall_0_1_1_0()); } pushFollow(FollowSets000.FOLLOW_ruleBinaryOperatorName_in_synpred200_InternalOCLstdlib14233); lv_name_2_0=ruleBinaryOperatorName(); state._fsp--; if (state.failed) return ; } } // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6383:2: ( (lv_ownedRight_3_0= ruleExpCS ) ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6384:1: (lv_ownedRight_3_0= ruleExpCS ) { // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6384:1: (lv_ownedRight_3_0= ruleExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6385:3: lv_ownedRight_3_0= ruleExpCS { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getExpCSAccess().getOwnedRightExpCSParserRuleCall_0_1_2_0()); } pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_synpred200_InternalOCLstdlib14254); lv_ownedRight_3_0=ruleExpCS(); state._fsp--; if (state.failed) return ; } } } break; } } } } // $ANTLR end synpred200_InternalOCLstdlib // $ANTLR start synpred207_InternalOCLstdlib public final void synpred207_InternalOCLstdlib_fragment() throws RecognitionException { EObject this_TupleLiteralExpCS_4 = null; // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6646:2: (this_TupleLiteralExpCS_4= ruleTupleLiteralExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6646:2: this_TupleLiteralExpCS_4= ruleTupleLiteralExpCS { if ( state.backtracking==0 ) { /* */ } pushFollow(FollowSets000.FOLLOW_ruleTupleLiteralExpCS_in_synpred207_InternalOCLstdlib14817); this_TupleLiteralExpCS_4=ruleTupleLiteralExpCS(); state._fsp--; if (state.failed) return ; } } // $ANTLR end synpred207_InternalOCLstdlib // $ANTLR start synpred208_InternalOCLstdlib public final void synpred208_InternalOCLstdlib_fragment() throws RecognitionException { EObject this_MapLiteralExpCS_5 = null; // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6659:2: (this_MapLiteralExpCS_5= ruleMapLiteralExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6659:2: this_MapLiteralExpCS_5= ruleMapLiteralExpCS { if ( state.backtracking==0 ) { /* */ } pushFollow(FollowSets000.FOLLOW_ruleMapLiteralExpCS_in_synpred208_InternalOCLstdlib14847); this_MapLiteralExpCS_5=ruleMapLiteralExpCS(); state._fsp--; if (state.failed) return ; } } // $ANTLR end synpred208_InternalOCLstdlib // $ANTLR start synpred209_InternalOCLstdlib public final void synpred209_InternalOCLstdlib_fragment() throws RecognitionException { EObject this_CollectionLiteralExpCS_6 = null; // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6672:2: (this_CollectionLiteralExpCS_6= ruleCollectionLiteralExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6672:2: this_CollectionLiteralExpCS_6= ruleCollectionLiteralExpCS { if ( state.backtracking==0 ) { /* */ } pushFollow(FollowSets000.FOLLOW_ruleCollectionLiteralExpCS_in_synpred209_InternalOCLstdlib14877); this_CollectionLiteralExpCS_6=ruleCollectionLiteralExpCS(); state._fsp--; if (state.failed) return ; } } // $ANTLR end synpred209_InternalOCLstdlib // $ANTLR start synpred211_InternalOCLstdlib public final void synpred211_InternalOCLstdlib_fragment() throws RecognitionException { EObject this_TypeLiteralExpCS_8 = null; // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6698:2: (this_TypeLiteralExpCS_8= ruleTypeLiteralExpCS ) // ../../plugins/org.eclipse.ocl.xtext.oclstdlib/src-gen/org/eclipse/ocl/xtext/oclstdlib/parser/antlr/internal/InternalOCLstdlib.g:6698:2: this_TypeLiteralExpCS_8= ruleTypeLiteralExpCS { if ( state.backtracking==0 ) { /* */ } pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralExpCS_in_synpred211_InternalOCLstdlib14937); this_TypeLiteralExpCS_8=ruleTypeLiteralExpCS(); state._fsp--; if (state.failed) return ; } } // $ANTLR end synpred211_InternalOCLstdlib // Delegated rules public final boolean synpred211_InternalOCLstdlib() { state.backtracking++; int start = input.mark(); try { synpred211_InternalOCLstdlib_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 synpred208_InternalOCLstdlib() { state.backtracking++; int start = input.mark(); try { synpred208_InternalOCLstdlib_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 synpred209_InternalOCLstdlib() { state.backtracking++; int start = input.mark(); try { synpred209_InternalOCLstdlib_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 synpred207_InternalOCLstdlib() { state.backtracking++; int start = input.mark(); try { synpred207_InternalOCLstdlib_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 synpred197_InternalOCLstdlib() { state.backtracking++; int start = input.mark(); try { synpred197_InternalOCLstdlib_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 synpred200_InternalOCLstdlib() { state.backtracking++; int start = input.mark(); try { synpred200_InternalOCLstdlib_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 DFA25 dfa25 = new DFA25(this); protected DFA32 dfa32 = new DFA32(this); protected DFA48 dfa48 = new DFA48(this); protected DFA95 dfa95 = new DFA95(this); protected DFA98 dfa98 = new DFA98(this); protected DFA111 dfa111 = new DFA111(this); protected DFA114 dfa114 = new DFA114(this); protected DFA117 dfa117 = new DFA117(this); protected DFA141 dfa141 = new DFA141(this); static final String DFA25_eotS = "\32\uffff"; static final String DFA25_eofS = "\1\uffff\27\30\2\uffff"; static final String DFA25_minS = "\1\5\27\20\2\uffff"; static final String DFA25_maxS = "\1\45\27\61\2\uffff"; static final String DFA25_acceptS = "\30\uffff\1\2\1\1"; static final String DFA25_specialS = "\32\uffff}>"; static final String[] DFA25_transitionS = { "\1\30\1\uffff\1\1\1\2\10\uffff\1\3\1\4\1\5\1\6\1\7\1\10\1\11"+ "\1\12\1\13\1\14\1\15\1\16\1\17\1\20\1\21\1\22\1\23\1\24\1\25"+ "\1\26\1\27", "\1\30\30\uffff\1\30\1\31\6\uffff\1\30", "\1\30\30\uffff\1\30\1\31\6\uffff\1\30", "\1\30\30\uffff\1\30\1\31\6\uffff\1\30", "\1\30\30\uffff\1\30\1\31\6\uffff\1\30", "\1\30\30\uffff\1\30\1\31\6\uffff\1\30", "\1\30\30\uffff\1\30\1\31\6\uffff\1\30", "\1\30\30\uffff\1\30\1\31\6\uffff\1\30", "\1\30\30\uffff\1\30\1\31\6\uffff\1\30", "\1\30\30\uffff\1\30\1\31\6\uffff\1\30", "\1\30\30\uffff\1\30\1\31\6\uffff\1\30", "\1\30\30\uffff\1\30\1\31\6\uffff\1\30", "\1\30\30\uffff\1\30\1\31\6\uffff\1\30", "\1\30\30\uffff\1\30\1\31\6\uffff\1\30", "\1\30\30\uffff\1\30\1\31\6\uffff\1\30", "\1\30\30\uffff\1\30\1\31\6\uffff\1\30", "\1\30\30\uffff\1\30\1\31\6\uffff\1\30", "\1\30\30\uffff\1\30\1\31\6\uffff\1\30", "\1\30\30\uffff\1\30\1\31\6\uffff\1\30", "\1\30\30\uffff\1\30\1\31\6\uffff\1\30", "\1\30\30\uffff\1\30\1\31\6\uffff\1\30", "\1\30\30\uffff\1\30\1\31\6\uffff\1\30", "\1\30\30\uffff\1\30\1\31\6\uffff\1\30", "\1\30\30\uffff\1\30\1\31\6\uffff\1\30", "", "" }; static final short[] DFA25_eot = DFA.unpackEncodedString(DFA25_eotS); static final short[] DFA25_eof = DFA.unpackEncodedString(DFA25_eofS); static final char[] DFA25_min = DFA.unpackEncodedStringToUnsignedChars(DFA25_minS); static final char[] DFA25_max = DFA.unpackEncodedStringToUnsignedChars(DFA25_maxS); static final short[] DFA25_accept = DFA.unpackEncodedString(DFA25_acceptS); static final short[] DFA25_special = DFA.unpackEncodedString(DFA25_specialS); static final short[][] DFA25_transition; static { int numStates = DFA25_transitionS.length; DFA25_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { DFA25_transition[i] = DFA.unpackEncodedString(DFA25_transitionS[i]); } } class DFA25 extends DFA { public DFA25(BaseRecognizer recognizer) { this.recognizer = recognizer; this.decisionNumber = 25; this.eot = DFA25_eot; this.eof = DFA25_eof; this.min = DFA25_min; this.max = DFA25_max; this.accept = DFA25_accept; this.special = DFA25_special; this.transition = DFA25_transition; } public String getDescription() { return "1304:1: ( ( (lv_name_1_0= ruleIdentifier ) ) otherlv_2= ':' )?"; } } static final String DFA32_eotS = "\33\uffff"; static final String DFA32_eofS = "\33\uffff"; static final String DFA32_minS = "\1\53\1\7\27\25\2\uffff"; static final String DFA32_maxS = "\1\53\1\45\27\55\2\uffff"; static final String DFA32_acceptS = "\31\uffff\1\2\1\1"; static final String DFA32_specialS = "\33\uffff}>"; static final String[] DFA32_transitionS = { "\1\1", "\1\2\1\3\10\uffff\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14"+ "\1\15\1\16\1\17\1\20\1\21\1\22\1\23\1\24\1\25\1\26\1\27\1\30", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "", "" }; static final short[] DFA32_eot = DFA.unpackEncodedString(DFA32_eotS); static final short[] DFA32_eof = DFA.unpackEncodedString(DFA32_eofS); static final char[] DFA32_min = DFA.unpackEncodedStringToUnsignedChars(DFA32_minS); static final char[] DFA32_max = DFA.unpackEncodedStringToUnsignedChars(DFA32_maxS); static final short[] DFA32_accept = DFA.unpackEncodedString(DFA32_acceptS); static final short[] DFA32_special = DFA.unpackEncodedString(DFA32_specialS); static final short[][] DFA32_transition; static { int numStates = DFA32_transitionS.length; DFA32_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { DFA32_transition[i] = DFA.unpackEncodedString(DFA32_transitionS[i]); } } class DFA32 extends DFA { public DFA32(BaseRecognizer recognizer) { this.recognizer = recognizer; this.decisionNumber = 32; this.eot = DFA32_eot; this.eof = DFA32_eof; this.min = DFA32_min; this.max = DFA32_max; this.accept = DFA32_accept; this.special = DFA32_special; this.transition = DFA32_transition; } public String getDescription() { return "1670:2: ( (lv_ownedSignature_2_0= ruleTemplateSignatureCS ) )?"; } } static final String DFA48_eotS = "\33\uffff"; static final String DFA48_eofS = "\33\uffff"; static final String DFA48_minS = "\1\53\1\7\27\25\2\uffff"; static final String DFA48_maxS = "\1\53\30\55\2\uffff"; static final String DFA48_acceptS = "\31\uffff\1\2\1\1"; static final String DFA48_specialS = "\33\uffff}>"; static final String[] DFA48_transitionS = { "\1\1", "\1\2\1\3\10\uffff\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14"+ "\1\15\1\16\1\17\1\20\1\21\1\22\1\23\1\24\1\25\1\26\1\27\1\30"+ "\7\uffff\1\31", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "\1\32\24\uffff\1\31\1\uffff\2\32", "", "" }; static final short[] DFA48_eot = DFA.unpackEncodedString(DFA48_eotS); static final short[] DFA48_eof = DFA.unpackEncodedString(DFA48_eofS); static final char[] DFA48_min = DFA.unpackEncodedStringToUnsignedChars(DFA48_minS); static final char[] DFA48_max = DFA.unpackEncodedStringToUnsignedChars(DFA48_maxS); static final short[] DFA48_accept = DFA.unpackEncodedString(DFA48_acceptS); static final short[] DFA48_special = DFA.unpackEncodedString(DFA48_specialS); static final short[][] DFA48_transition; static { int numStates = DFA48_transitionS.length; DFA48_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { DFA48_transition[i] = DFA.unpackEncodedString(DFA48_transitionS[i]); } } class DFA48 extends DFA { public DFA48(BaseRecognizer recognizer) { this.recognizer = recognizer; this.decisionNumber = 48; this.eot = DFA48_eot; this.eof = DFA48_eof; this.min = DFA48_min; this.max = DFA48_max; this.accept = DFA48_accept; this.special = DFA48_special; this.transition = DFA48_transition; } public String getDescription() { return "2324:2: ( (lv_ownedSignature_3_0= ruleTemplateSignatureCS ) )?"; } } static final String DFA95_eotS = "\32\uffff"; static final String DFA95_eofS = "\2\uffff\27\1\1\uffff"; static final String DFA95_minS = "\1\5\1\uffff\27\51\1\uffff"; static final String DFA95_maxS = "\1\147\1\uffff\27\144\1\uffff"; static final String DFA95_acceptS = "\1\uffff\1\1\27\uffff\1\2"; static final String DFA95_specialS = "\32\uffff}>"; static final String[] DFA95_transitionS = { "\1\1\1\uffff\1\2\1\3\1\1\7\uffff\1\4\1\5\1\6\1\7\1\10\1\11"+ "\1\12\1\13\1\14\1\15\1\16\1\17\1\20\1\21\1\22\1\23\1\24\1\25"+ "\1\26\1\27\1\30\3\1\1\uffff\1\31\1\1\16\uffff\1\1\2\uffff\2"+ "\1\3\uffff\2\1\13\uffff\15\1\3\uffff\4\1\4\uffff\1\1", "", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\15\uffff\1\1\6\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\15\uffff\1\1\6\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\15\uffff\1\1\6\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\15\uffff\1\1\6\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\15\uffff\1\1\6\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\15\uffff\1\1\6\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\15\uffff\1\1\6\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\15\uffff\1\1\6\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\15\uffff\1\1\6\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\15\uffff\1\1\6\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\15\uffff\1\1\6\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\15\uffff\1\1\6\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\15\uffff\1\1\6\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\15\uffff\1\1\6\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\15\uffff\1\1\6\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\15\uffff\1\1\6\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\15\uffff\1\1\6\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\15\uffff\1\1\6\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\15\uffff\1\1\6\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\15\uffff\1\1\6\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\15\uffff\1\1\6\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\15\uffff\1\1\6\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\15\uffff\1\1\6\uffff\2\1", "" }; static final short[] DFA95_eot = DFA.unpackEncodedString(DFA95_eotS); static final short[] DFA95_eof = DFA.unpackEncodedString(DFA95_eofS); static final char[] DFA95_min = DFA.unpackEncodedStringToUnsignedChars(DFA95_minS); static final char[] DFA95_max = DFA.unpackEncodedStringToUnsignedChars(DFA95_maxS); static final short[] DFA95_accept = DFA.unpackEncodedString(DFA95_acceptS); static final short[] DFA95_special = DFA.unpackEncodedString(DFA95_specialS); static final short[][] DFA95_transition; static { int numStates = DFA95_transitionS.length; DFA95_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { DFA95_transition[i] = DFA.unpackEncodedString(DFA95_transitionS[i]); } } class DFA95 extends DFA { public DFA95(BaseRecognizer recognizer) { this.recognizer = recognizer; this.decisionNumber = 95; this.eot = DFA95_eot; this.eof = DFA95_eof; this.min = DFA95_min; this.max = DFA95_max; this.accept = DFA95_accept; this.special = DFA95_special; this.transition = DFA95_transition; } public String getDescription() { return "5008:1: ( ( ( (lv_ownedExpression_0_0= ruleExpCS ) ) (otherlv_1= '..' ( (lv_ownedLastExpression_2_0= ruleExpCS ) ) )? ) | ( (lv_ownedExpression_3_0= rulePatternExpCS ) ) )"; } } static final String DFA98_eotS = "\32\uffff"; static final String DFA98_eofS = "\2\uffff\27\1\1\uffff"; static final String DFA98_minS = "\1\5\1\uffff\27\51\1\uffff"; static final String DFA98_maxS = "\1\147\1\uffff\27\144\1\uffff"; static final String DFA98_acceptS = "\1\uffff\1\1\27\uffff\1\2"; static final String DFA98_specialS = "\32\uffff}>"; static final String[] DFA98_transitionS = { "\1\1\1\uffff\1\2\1\3\1\1\7\uffff\1\4\1\5\1\6\1\7\1\10\1\11"+ "\1\12\1\13\1\14\1\15\1\16\1\17\1\20\1\21\1\22\1\23\1\24\1\25"+ "\1\26\1\27\1\30\3\1\1\uffff\1\31\1\1\16\uffff\1\1\2\uffff\2"+ "\1\3\uffff\2\1\13\uffff\15\1\3\uffff\4\1\4\uffff\1\1", "", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\24\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\24\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\24\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\24\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\24\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\24\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\24\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\24\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\24\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\24\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\24\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\24\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\24\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\24\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\24\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\24\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\24\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\24\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\24\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\24\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\24\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\24\uffff\2\1", "\1\1\1\31\2\1\1\uffff\3\1\6\uffff\1\1\3\uffff\1\1\3\uffff"+ "\1\1\1\uffff\16\1\24\uffff\2\1", "" }; static final short[] DFA98_eot = DFA.unpackEncodedString(DFA98_eotS); static final short[] DFA98_eof = DFA.unpackEncodedString(DFA98_eofS); static final char[] DFA98_min = DFA.unpackEncodedStringToUnsignedChars(DFA98_minS); static final char[] DFA98_max = DFA.unpackEncodedStringToUnsignedChars(DFA98_maxS); static final short[] DFA98_accept = DFA.unpackEncodedString(DFA98_acceptS); static final short[] DFA98_special = DFA.unpackEncodedString(DFA98_specialS); static final short[][] DFA98_transition; static { int numStates = DFA98_transitionS.length; DFA98_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { DFA98_transition[i] = DFA.unpackEncodedString(DFA98_transitionS[i]); } } class DFA98 extends DFA { public DFA98(BaseRecognizer recognizer) { this.recognizer = recognizer; this.decisionNumber = 98; this.eot = DFA98_eot; this.eof = DFA98_eof; this.min = DFA98_min; this.max = DFA98_max; this.accept = DFA98_accept; this.special = DFA98_special; this.transition = DFA98_transition; } public String getDescription() { return "5221:1: (lv_ownedInitExpression_2_1= ruleExpCS | lv_ownedInitExpression_2_2= rulePatternExpCS )"; } } static final String DFA111_eotS = "\50\uffff"; static final String DFA111_eofS = "\50\uffff"; static final String DFA111_minS = "\1\7\37\uffff\5\0\3\uffff"; static final String DFA111_maxS = "\1\133\37\uffff\5\0\3\uffff"; static final String DFA111_acceptS = "\1\uffff\1\1\26\uffff\1\2\16\uffff\1\3"; static final String DFA111_specialS = "\40\uffff\1\0\1\1\1\2\1\3\1\4\3\uffff}>"; static final String[] DFA111_transitionS = { "\2\1\10\uffff\25\1\1\uffff\2\30\46\uffff\10\30\1\40\1\41\1"+ "\42\1\43\1\44", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "\1\uffff", "\1\uffff", "\1\uffff", "\1\uffff", "\1\uffff", "", "", "" }; static final short[] DFA111_eot = DFA.unpackEncodedString(DFA111_eotS); static final short[] DFA111_eof = DFA.unpackEncodedString(DFA111_eofS); static final char[] DFA111_min = DFA.unpackEncodedStringToUnsignedChars(DFA111_minS); static final char[] DFA111_max = DFA.unpackEncodedStringToUnsignedChars(DFA111_maxS); static final short[] DFA111_accept = DFA.unpackEncodedString(DFA111_acceptS); static final short[] DFA111_special = DFA.unpackEncodedString(DFA111_specialS); static final short[][] DFA111_transition; static { int numStates = DFA111_transitionS.length; DFA111_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { DFA111_transition[i] = DFA.unpackEncodedString(DFA111_transitionS[i]); } } class DFA111 extends DFA { public DFA111(BaseRecognizer recognizer) { this.recognizer = recognizer; this.decisionNumber = 111; this.eot = DFA111_eot; this.eof = DFA111_eof; this.min = DFA111_min; this.max = DFA111_max; this.accept = DFA111_accept; this.special = DFA111_special; this.transition = DFA111_transition; } public String getDescription() { return "6267:2: (this_TypeNameExpCS_0= ruleTypeNameExpCS | this_TypeLiteralCS_1= ruleTypeLiteralCS | 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 LA111_32 = input.LA(1); int index111_32 = input.index(); input.rewind(); s = -1; if ( (synpred197_InternalOCLstdlib()) ) {s = 24;} else if ( (true) ) {s = 39;} input.seek(index111_32); if ( s>=0 ) return s; break; case 1 : int LA111_33 = input.LA(1); int index111_33 = input.index(); input.rewind(); s = -1; if ( (synpred197_InternalOCLstdlib()) ) {s = 24;} else if ( (true) ) {s = 39;} input.seek(index111_33); if ( s>=0 ) return s; break; case 2 : int LA111_34 = input.LA(1); int index111_34 = input.index(); input.rewind(); s = -1; if ( (synpred197_InternalOCLstdlib()) ) {s = 24;} else if ( (true) ) {s = 39;} input.seek(index111_34); if ( s>=0 ) return s; break; case 3 : int LA111_35 = input.LA(1); int index111_35 = input.index(); input.rewind(); s = -1; if ( (synpred197_InternalOCLstdlib()) ) {s = 24;} else if ( (true) ) {s = 39;} input.seek(index111_35); if ( s>=0 ) return s; break; case 4 : int LA111_36 = input.LA(1); int index111_36 = input.index(); input.rewind(); s = -1; if ( (synpred197_InternalOCLstdlib()) ) {s = 24;} else if ( (true) ) {s = 39;} input.seek(index111_36); if ( s>=0 ) return s; break; } if (state.backtracking>0) {state.failed=true; return -1;} NoViableAltException nvae = new NoViableAltException(getDescription(), 111, _s, input); error(nvae); throw nvae; } } static final String DFA114_eotS = "\65\uffff"; static final String DFA114_eofS = "\65\uffff"; static final String DFA114_minS = "\1\5\2\0\62\uffff"; static final String DFA114_maxS = "\1\147\2\0\62\uffff"; static final String DFA114_acceptS = "\3\uffff\1\1\60\uffff\1\2"; static final String DFA114_specialS = "\1\uffff\1\0\1\1\62\uffff}>"; static final String[] DFA114_transitionS = { "\1\3\1\uffff\3\3\7\uffff\30\3\2\uffff\1\3\16\uffff\1\3\2\uffff"+ "\1\64\1\2\3\uffff\1\1\1\3\13\uffff\15\3\3\uffff\4\3\4\uffff"+ "\1\3", "\1\uffff", "\1\uffff", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" }; static final short[] DFA114_eot = DFA.unpackEncodedString(DFA114_eotS); static final short[] DFA114_eof = DFA.unpackEncodedString(DFA114_eofS); static final char[] DFA114_min = DFA.unpackEncodedStringToUnsignedChars(DFA114_minS); static final char[] DFA114_max = DFA.unpackEncodedStringToUnsignedChars(DFA114_maxS); static final short[] DFA114_accept = DFA.unpackEncodedString(DFA114_acceptS); static final short[] DFA114_special = DFA.unpackEncodedString(DFA114_specialS); static final short[][] DFA114_transition; static { int numStates = DFA114_transitionS.length; DFA114_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { DFA114_transition[i] = DFA.unpackEncodedString(DFA114_transitionS[i]); } } class DFA114 extends DFA { public DFA114(BaseRecognizer recognizer) { this.recognizer = recognizer; this.decisionNumber = 114; this.eot = DFA114_eot; this.eof = DFA114_eof; this.min = DFA114_min; this.max = DFA114_max; this.accept = DFA114_accept; this.special = DFA114_special; this.transition = DFA114_transition; } public String getDescription() { return "6344: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 LA114_1 = input.LA(1); int index114_1 = input.index(); input.rewind(); s = -1; if ( (synpred200_InternalOCLstdlib()) ) {s = 3;} else if ( (true) ) {s = 52;} input.seek(index114_1); if ( s>=0 ) return s; break; case 1 : int LA114_2 = input.LA(1); int index114_2 = input.index(); input.rewind(); s = -1; if ( (synpred200_InternalOCLstdlib()) ) {s = 3;} else if ( (true) ) {s = 52;} input.seek(index114_2); if ( s>=0 ) return s; break; } if (state.backtracking>0) {state.failed=true; return -1;} NoViableAltException nvae = new NoViableAltException(getDescription(), 114, _s, input); error(nvae); throw nvae; } } static final String DFA117_eotS = "\65\uffff"; static final String DFA117_eofS = "\65\uffff"; static final String DFA117_minS = "\1\5\12\uffff\7\0\43\uffff"; static final String DFA117_maxS = "\1\147\12\uffff\7\0\43\uffff"; static final String DFA117_acceptS = "\1\uffff\1\1\1\2\1\3\1\4\15\uffff\1\10\1\11\7\uffff\1\12\26\uffff"+ "\1\5\1\6\1\7"; static final String DFA117_specialS = "\13\uffff\1\0\1\1\1\2\1\3\1\4\1\5\1\6\43\uffff}>"; static final String[] DFA117_transitionS = { "\1\4\1\uffff\2\33\1\4\7\uffff\25\33\1\22\1\14\1\13\2\uffff"+ "\1\1\16\uffff\1\2\10\uffff\1\4\13\uffff\10\23\1\15\1\16\1\17"+ "\1\20\1\21\3\uffff\4\4\4\uffff\1\3", "", "", "", "", "", "", "", "", "", "", "\1\uffff", "\1\uffff", "\1\uffff", "\1\uffff", "\1\uffff", "\1\uffff", "\1\uffff", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" }; static final short[] DFA117_eot = DFA.unpackEncodedString(DFA117_eotS); static final short[] DFA117_eof = DFA.unpackEncodedString(DFA117_eofS); static final char[] DFA117_min = DFA.unpackEncodedStringToUnsignedChars(DFA117_minS); static final char[] DFA117_max = DFA.unpackEncodedStringToUnsignedChars(DFA117_maxS); static final short[] DFA117_accept = DFA.unpackEncodedString(DFA117_acceptS); static final short[] DFA117_special = DFA.unpackEncodedString(DFA117_specialS); static final short[][] DFA117_transition; static { int numStates = DFA117_transitionS.length; DFA117_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { DFA117_transition[i] = DFA.unpackEncodedString(DFA117_transitionS[i]); } } class DFA117 extends DFA { public DFA117(BaseRecognizer recognizer) { this.recognizer = recognizer; this.decisionNumber = 117; this.eot = DFA117_eot; this.eof = DFA117_eof; this.min = DFA117_min; this.max = DFA117_max; this.accept = DFA117_accept; this.special = DFA117_special; this.transition = DFA117_transition; } public String getDescription() { return "6593: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 LA117_11 = input.LA(1); int index117_11 = input.index(); input.rewind(); s = -1; if ( (synpred207_InternalOCLstdlib()) ) {s = 50;} else if ( (synpred211_InternalOCLstdlib()) ) {s = 19;} input.seek(index117_11); if ( s>=0 ) return s; break; case 1 : int LA117_12 = input.LA(1); int index117_12 = input.index(); input.rewind(); s = -1; if ( (synpred208_InternalOCLstdlib()) ) {s = 51;} else if ( (synpred211_InternalOCLstdlib()) ) {s = 19;} input.seek(index117_12); if ( s>=0 ) return s; break; case 2 : int LA117_13 = input.LA(1); int index117_13 = input.index(); input.rewind(); s = -1; if ( (synpred209_InternalOCLstdlib()) ) {s = 52;} else if ( (synpred211_InternalOCLstdlib()) ) {s = 19;} input.seek(index117_13); if ( s>=0 ) return s; break; case 3 : int LA117_14 = input.LA(1); int index117_14 = input.index(); input.rewind(); s = -1; if ( (synpred209_InternalOCLstdlib()) ) {s = 52;} else if ( (synpred211_InternalOCLstdlib()) ) {s = 19;} input.seek(index117_14); if ( s>=0 ) return s; break; case 4 : int LA117_15 = input.LA(1); int index117_15 = input.index(); input.rewind(); s = -1; if ( (synpred209_InternalOCLstdlib()) ) {s = 52;} else if ( (synpred211_InternalOCLstdlib()) ) {s = 19;} input.seek(index117_15); if ( s>=0 ) return s; break; case 5 : int LA117_16 = input.LA(1); int index117_16 = input.index(); input.rewind(); s = -1; if ( (synpred209_InternalOCLstdlib()) ) {s = 52;} else if ( (synpred211_InternalOCLstdlib()) ) {s = 19;} input.seek(index117_16); if ( s>=0 ) return s; break; case 6 : int LA117_17 = input.LA(1); int index117_17 = input.index(); input.rewind(); s = -1; if ( (synpred209_InternalOCLstdlib()) ) {s = 52;} else if ( (synpred211_InternalOCLstdlib()) ) {s = 19;} input.seek(index117_17); if ( s>=0 ) return s; break; } if (state.backtracking>0) {state.failed=true; return -1;} NoViableAltException nvae = new NoViableAltException(getDescription(), 117, _s, input); error(nvae); throw nvae; } } static final String DFA141_eotS = "\32\uffff"; static final String DFA141_eofS = "\32\uffff"; static final String DFA141_minS = "\1\5\1\uffff\27\51\1\uffff"; static final String DFA141_maxS = "\1\147\1\uffff\27\144\1\uffff"; static final String DFA141_acceptS = "\1\uffff\1\1\27\uffff\1\2"; static final String DFA141_specialS = "\32\uffff}>"; static final String[] DFA141_transitionS = { "\1\1\1\uffff\1\2\1\3\1\1\7\uffff\1\4\1\5\1\6\1\7\1\10\1\11"+ "\1\12\1\13\1\14\1\15\1\16\1\17\1\20\1\21\1\22\1\23\1\24\1\25"+ "\1\26\1\27\1\30\3\1\1\uffff\1\31\1\1\16\uffff\1\1\2\uffff\2"+ "\1\3\uffff\2\1\13\uffff\15\1\3\uffff\4\1\4\uffff\1\1", "", "\1\1\1\31\1\1\2\uffff\1\1\1\uffff\1\1\6\uffff\1\1\3\uffff"+ "\1\1\3\uffff\20\1\24\uffff\2\1", "\1\1\1\31\1\1\2\uffff\1\1\1\uffff\1\1\6\uffff\1\1\3\uffff"+ "\1\1\3\uffff\20\1\24\uffff\2\1", "\1\1\1\31\1\1\2\uffff\1\1\1\uffff\1\1\6\uffff\1\1\3\uffff"+ "\1\1\3\uffff\20\1\24\uffff\2\1", "\1\1\1\31\1\1\2\uffff\1\1\1\uffff\1\1\6\uffff\1\1\3\uffff"+ "\1\1\3\uffff\20\1\24\uffff\2\1", "\1\1\1\31\1\1\2\uffff\1\1\1\uffff\1\1\6\uffff\1\1\3\uffff"+ "\1\1\3\uffff\20\1\24\uffff\2\1", "\1\1\1\31\1\1\2\uffff\1\1\1\uffff\1\1\6\uffff\1\1\3\uffff"+ "\1\1\3\uffff\20\1\24\uffff\2\1", "\1\1\1\31\1\1\2\uffff\1\1\1\uffff\1\1\6\uffff\1\1\3\uffff"+ "\1\1\3\uffff\20\1\24\uffff\2\1", "\1\1\1\31\1\1\2\uffff\1\1\1\uffff\1\1\6\uffff\1\1\3\uffff"+ "\1\1\3\uffff\20\1\24\uffff\2\1", "\1\1\1\31\1\1\2\uffff\1\1\1\uffff\1\1\6\uffff\1\1\3\uffff"+ "\1\1\3\uffff\20\1\24\uffff\2\1", "\1\1\1\31\1\1\2\uffff\1\1\1\uffff\1\1\6\uffff\1\1\3\uffff"+ "\1\1\3\uffff\20\1\24\uffff\2\1", "\1\1\1\31\1\1\2\uffff\1\1\1\uffff\1\1\6\uffff\1\1\3\uffff"+ "\1\1\3\uffff\20\1\24\uffff\2\1", "\1\1\1\31\1\1\2\uffff\1\1\1\uffff\1\1\6\uffff\1\1\3\uffff"+ "\1\1\3\uffff\20\1\24\uffff\2\1", "\1\1\1\31\1\1\2\uffff\1\1\1\uffff\1\1\6\uffff\1\1\3\uffff"+ "\1\1\3\uffff\20\1\24\uffff\2\1", "\1\1\1\31\1\1\2\uffff\1\1\1\uffff\1\1\6\uffff\1\1\3\uffff"+ "\1\1\3\uffff\20\1\24\uffff\2\1", "\1\1\1\31\1\1\2\uffff\1\1\1\uffff\1\1\6\uffff\1\1\3\uffff"+ "\1\1\3\uffff\20\1\24\uffff\2\1", "\1\1\1\31\1\1\2\uffff\1\1\1\uffff\1\1\6\uffff\1\1\3\uffff"+ "\1\1\3\uffff\20\1\24\uffff\2\1", "\1\1\1\31\1\1\2\uffff\1\1\1\uffff\1\1\6\uffff\1\1\3\uffff"+ "\1\1\3\uffff\20\1\24\uffff\2\1", "\1\1\1\31\1\1\2\uffff\1\1\1\uffff\1\1\6\uffff\1\1\3\uffff"+ "\1\1\3\uffff\20\1\24\uffff\2\1", "\1\1\1\31\1\1\2\uffff\1\1\1\uffff\1\1\6\uffff\1\1\3\uffff"+ "\1\1\3\uffff\20\1\24\uffff\2\1", "\1\1\1\31\1\1\2\uffff\1\1\1\uffff\1\1\6\uffff\1\1\3\uffff"+ "\1\1\3\uffff\20\1\24\uffff\2\1", "\1\1\1\31\1\1\2\uffff\1\1\1\uffff\1\1\6\uffff\1\1\3\uffff"+ "\1\1\3\uffff\20\1\24\uffff\2\1", "\1\1\1\31\1\1\2\uffff\1\1\1\uffff\1\1\6\uffff\1\1\3\uffff"+ "\1\1\3\uffff\20\1\24\uffff\2\1", "\1\1\1\31\1\1\2\uffff\1\1\1\uffff\1\1\6\uffff\1\1\3\uffff"+ "\1\1\3\uffff\20\1\24\uffff\2\1", "" }; static final short[] DFA141_eot = DFA.unpackEncodedString(DFA141_eotS); static final short[] DFA141_eof = DFA.unpackEncodedString(DFA141_eofS); static final char[] DFA141_min = DFA.unpackEncodedStringToUnsignedChars(DFA141_minS); static final char[] DFA141_max = DFA.unpackEncodedStringToUnsignedChars(DFA141_maxS); static final short[] DFA141_accept = DFA.unpackEncodedString(DFA141_acceptS); static final short[] DFA141_special = DFA.unpackEncodedString(DFA141_specialS); static final short[][] DFA141_transition; static { int numStates = DFA141_transitionS.length; DFA141_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { DFA141_transition[i] = DFA.unpackEncodedString(DFA141_transitionS[i]); } } class DFA141 extends DFA { public DFA141(BaseRecognizer recognizer) { this.recognizer = recognizer; this.decisionNumber = 141; this.eot = DFA141_eot; this.eof = DFA141_eof; this.min = DFA141_min; this.max = DFA141_max; this.accept = DFA141_accept; this.special = DFA141_special; this.transition = DFA141_transition; } public String getDescription() { return "7652:1: (lv_ownedCondition_1_1= ruleExpCS | lv_ownedCondition_1_2= rulePatternExpCS )"; } } private static class FollowSets000 { public static final BitSet FOLLOW_ruleLibrary_in_entryRuleLibrary81 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleLibrary91 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleImportCS_in_ruleLibrary138 = new BitSet(new long[]{0x0000000000010000L}); public static final BitSet FOLLOW_16_in_ruleLibrary150 = new BitSet(new long[]{0x0000000008400002L}); public static final BitSet FOLLOW_ruleLibPackageCS_in_ruleLibrary173 = new BitSet(new long[]{0x0000000008000002L}); public static final BitSet FOLLOW_ruleIdentifier_in_entryRuleIdentifier211 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleIdentifier222 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleID_in_ruleIdentifier269 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleRestrictedKeywords_in_ruleIdentifier302 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleRestrictedKeywords_in_entryRuleRestrictedKeywords348 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleRestrictedKeywords359 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_17_in_ruleRestrictedKeywords397 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_18_in_ruleRestrictedKeywords416 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_19_in_ruleRestrictedKeywords435 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_20_in_ruleRestrictedKeywords454 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_21_in_ruleRestrictedKeywords473 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_22_in_ruleRestrictedKeywords492 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_23_in_ruleRestrictedKeywords511 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_24_in_ruleRestrictedKeywords530 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_25_in_ruleRestrictedKeywords549 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_26_in_ruleRestrictedKeywords568 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_27_in_ruleRestrictedKeywords587 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_28_in_ruleRestrictedKeywords606 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_29_in_ruleRestrictedKeywords625 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_30_in_ruleRestrictedKeywords644 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_31_in_ruleRestrictedKeywords663 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_32_in_ruleRestrictedKeywords682 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_33_in_ruleRestrictedKeywords701 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_34_in_ruleRestrictedKeywords720 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_35_in_ruleRestrictedKeywords739 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_36_in_ruleRestrictedKeywords758 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_37_in_ruleRestrictedKeywords777 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleName_in_entryRuleName818 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleName829 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleIdentifier_in_ruleName876 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_RULE_DOUBLE_QUOTED_STRING_in_ruleName902 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleEssentialOCLReservedKeyword_in_ruleName935 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePrimitiveTypeIdentifier_in_ruleName968 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleCollectionTypeIdentifier_in_ruleName1001 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleAnyName_in_entryRuleAnyName1047 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleAnyName1058 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleName_in_ruleAnyName1105 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_38_in_ruleAnyName1129 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_39_in_ruleAnyName1148 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_40_in_ruleAnyName1167 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLibPathNameCS_in_entryRuleLibPathNameCS1207 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleLibPathNameCS1217 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLibPathElementCS_in_ruleLibPathNameCS1263 = new BitSet(new long[]{0x0000020000000002L}); public static final BitSet FOLLOW_41_in_ruleLibPathNameCS1276 = new BitSet(new long[]{0xFF80003FFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleLibPathElementCS_in_ruleLibPathNameCS1297 = new BitSet(new long[]{0x0000020000000002L}); public static final BitSet FOLLOW_ruleLibPathElementCS_in_entryRuleLibPathElementCS1335 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleLibPathElementCS1345 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleName_in_ruleLibPathElementCS1396 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleAccumulatorCS_in_entryRuleAccumulatorCS1431 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleAccumulatorCS1441 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleIdentifier_in_ruleAccumulatorCS1487 = new BitSet(new long[]{0x0000040000000000L}); public static final BitSet FOLLOW_42_in_ruleAccumulatorCS1499 = new BitSet(new long[]{0xFFC001FFFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleTypedMultiplicityRefCS_in_ruleAccumulatorCS1520 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleAnnotationCS_in_entryRuleAnnotationCS1556 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleAnnotationCS1566 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_18_in_ruleAnnotationCS1603 = new BitSet(new long[]{0x0000003FFFFE01A0L}); public static final BitSet FOLLOW_ruleIdentifier_in_ruleAnnotationCS1626 = new BitSet(new long[]{0x0000480000010000L}); public static final BitSet FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleAnnotationCS1641 = new BitSet(new long[]{0x0000480000010000L}); public static final BitSet FOLLOW_43_in_ruleAnnotationCS1662 = new BitSet(new long[]{0xFF80003FFFFE01B0L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleDetailCS_in_ruleAnnotationCS1683 = new BitSet(new long[]{0x0000300000000000L}); public static final BitSet FOLLOW_44_in_ruleAnnotationCS1696 = new BitSet(new long[]{0xFF80003FFFFE01B0L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleDetailCS_in_ruleAnnotationCS1717 = new BitSet(new long[]{0x0000300000000000L}); public static final BitSet FOLLOW_45_in_ruleAnnotationCS1731 = new BitSet(new long[]{0x0000400000010000L}); public static final BitSet FOLLOW_46_in_ruleAnnotationCS1747 = new BitSet(new long[]{0x0000000000140000L}); public static final BitSet FOLLOW_ruleAnnotationElementCS_in_ruleAnnotationCS1768 = new BitSet(new long[]{0x0000800000000000L}); public static final BitSet FOLLOW_47_in_ruleAnnotationCS1780 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_16_in_ruleAnnotationCS1799 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleAnnotationElementCS_in_entryRuleAnnotationElementCS1836 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleAnnotationElementCS1846 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleAnnotationCS_in_ruleAnnotationElementCS1896 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleDocumentationCS_in_ruleAnnotationElementCS1926 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLibClassCS_in_entryRuleLibClassCS1961 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleLibClassCS1971 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_17_in_ruleLibClassCS2014 = new BitSet(new long[]{0x0000001000000000L}); public static final BitSet FOLLOW_36_in_ruleLibClassCS2040 = new BitSet(new long[]{0xFF8001FFFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleAnyName_in_ruleLibClassCS2061 = new BitSet(new long[]{0x00004C0000080000L}); public static final BitSet FOLLOW_ruleTemplateSignatureCS_in_ruleLibClassCS2082 = new BitSet(new long[]{0x0000440000080000L}); public static final BitSet FOLLOW_42_in_ruleLibClassCS2096 = new BitSet(new long[]{0xFF8001FFFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleAnyName_in_ruleLibClassCS2123 = new BitSet(new long[]{0x0000400000080000L}); public static final BitSet FOLLOW_19_in_ruleLibClassCS2138 = new BitSet(new long[]{0xFFC001FFFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleTypedRefCS_in_ruleLibClassCS2159 = new BitSet(new long[]{0x0000500000000000L}); public static final BitSet FOLLOW_44_in_ruleLibClassCS2172 = new BitSet(new long[]{0xFFC001FFFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleTypedRefCS_in_ruleLibClassCS2193 = new BitSet(new long[]{0x0000500000000000L}); public static final BitSet FOLLOW_46_in_ruleLibClassCS2209 = new BitSet(new long[]{0x0004800A12940000L}); public static final BitSet FOLLOW_ruleOperationCS_in_ruleLibClassCS2231 = new BitSet(new long[]{0x0004800A12940000L}); public static final BitSet FOLLOW_ruleLibPropertyCS_in_ruleLibClassCS2258 = new BitSet(new long[]{0x0004800A12940000L}); public static final BitSet FOLLOW_ruleInvCS_in_ruleLibClassCS2285 = new BitSet(new long[]{0x0004800A12940000L}); public static final BitSet FOLLOW_ruleAnnotationElementCS_in_ruleLibClassCS2312 = new BitSet(new long[]{0x0004800A12940000L}); public static final BitSet FOLLOW_47_in_ruleLibClassCS2326 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleClassCS_in_entryRuleClassCS2362 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleClassCS2372 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLibClassCS_in_ruleClassCS2421 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleDetailCS_in_entryRuleDetailCS2455 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleDetailCS2465 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleName_in_ruleDetailCS2513 = new BitSet(new long[]{0x0001000000000000L}); public static final BitSet FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleDetailCS2528 = new BitSet(new long[]{0x0001000000000000L}); public static final BitSet FOLLOW_48_in_ruleDetailCS2548 = new BitSet(new long[]{0x0000000000000062L}); public static final BitSet FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleDetailCS2567 = new BitSet(new long[]{0x0000000000000062L}); public static final BitSet FOLLOW_RULE_ML_SINGLE_QUOTED_STRING_in_ruleDetailCS2587 = new BitSet(new long[]{0x0000000000000062L}); public static final BitSet FOLLOW_ruleDocumentationCS_in_entryRuleDocumentationCS2632 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleDocumentationCS2642 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_20_in_ruleDocumentationCS2691 = new BitSet(new long[]{0x0000080000010020L}); public static final BitSet FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleDocumentationCS2708 = new BitSet(new long[]{0x0000080000010000L}); public static final BitSet FOLLOW_43_in_ruleDocumentationCS2727 = new BitSet(new long[]{0xFF80003FFFFE01B0L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleDetailCS_in_ruleDocumentationCS2748 = new BitSet(new long[]{0x0000300000000000L}); public static final BitSet FOLLOW_44_in_ruleDocumentationCS2761 = new BitSet(new long[]{0xFF80003FFFFE01B0L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleDetailCS_in_ruleDocumentationCS2782 = new BitSet(new long[]{0x0000300000000000L}); public static final BitSet FOLLOW_45_in_ruleDocumentationCS2796 = new BitSet(new long[]{0x0000000000010000L}); public static final BitSet FOLLOW_16_in_ruleDocumentationCS2810 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleImportCS_in_entryRuleImportCS2846 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleImportCS2856 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_22_in_ruleImportCS2893 = new BitSet(new long[]{0x0000003FFFFE01A0L}); public static final BitSet FOLLOW_ruleIdentifier_in_ruleImportCS2915 = new BitSet(new long[]{0x0000040000000000L}); public static final BitSet FOLLOW_42_in_ruleImportCS2927 = new BitSet(new long[]{0x0000003FFFFE01A0L}); public static final BitSet FOLLOW_ruleURIPathNameCS_in_ruleImportCS2950 = new BitSet(new long[]{0x0002000000000002L}); public static final BitSet FOLLOW_49_in_ruleImportCS2968 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleInvCS_in_entryRuleInvCS3018 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleInvCS3028 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_23_in_ruleInvCS3071 = new BitSet(new long[]{0x0000043FFFFE0180L}); public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleInvCS3106 = new BitSet(new long[]{0x00000C0000000000L}); public static final BitSet FOLLOW_43_in_ruleInvCS3119 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleSpecificationCS_in_ruleInvCS3140 = new BitSet(new long[]{0x0000200000000000L}); public static final BitSet FOLLOW_45_in_ruleInvCS3152 = new BitSet(new long[]{0x0000040000000000L}); public static final BitSet FOLLOW_42_in_ruleInvCS3168 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleSpecificationCS_in_ruleInvCS3189 = new BitSet(new long[]{0x0000000000010000L}); public static final BitSet FOLLOW_16_in_ruleInvCS3201 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLibCoercionCS_in_entryRuleLibCoercionCS3237 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleLibCoercionCS3247 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_50_in_ruleLibCoercionCS3284 = new BitSet(new long[]{0xFF80003FFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleName_in_ruleLibCoercionCS3305 = new BitSet(new long[]{0x0000080000000000L}); public static final BitSet FOLLOW_43_in_ruleLibCoercionCS3317 = new BitSet(new long[]{0x0000200000000000L}); public static final BitSet FOLLOW_45_in_ruleLibCoercionCS3329 = new BitSet(new long[]{0x0000040000000000L}); public static final BitSet FOLLOW_42_in_ruleLibCoercionCS3341 = new BitSet(new long[]{0xFFC001FFFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleTypedMultiplicityRefCS_in_ruleLibCoercionCS3362 = new BitSet(new long[]{0x0008400000010000L}); public static final BitSet FOLLOW_51_in_ruleLibCoercionCS3375 = new BitSet(new long[]{0x0000000000000020L}); public static final BitSet FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleLibCoercionCS3399 = new BitSet(new long[]{0x0000400000010000L}); public static final BitSet FOLLOW_46_in_ruleLibCoercionCS3415 = new BitSet(new long[]{0x00008000C0140000L}); public static final BitSet FOLLOW_ruleAnnotationElementCS_in_ruleLibCoercionCS3437 = new BitSet(new long[]{0x00008000C0140000L}); public static final BitSet FOLLOW_rulePostCS_in_ruleLibCoercionCS3464 = new BitSet(new long[]{0x00008000C0140000L}); public static final BitSet FOLLOW_rulePreCS_in_ruleLibCoercionCS3491 = new BitSet(new long[]{0x00008000C0140000L}); public static final BitSet FOLLOW_47_in_ruleLibCoercionCS3505 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_16_in_ruleLibCoercionCS3524 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLibIterationCS_in_entryRuleLibIterationCS3561 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleLibIterationCS3571 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_25_in_ruleLibIterationCS3608 = new BitSet(new long[]{0xFF80003FFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleName_in_ruleLibIterationCS3629 = new BitSet(new long[]{0x0000080000000000L}); public static final BitSet FOLLOW_ruleTemplateSignatureCS_in_ruleLibIterationCS3650 = new BitSet(new long[]{0x0000080000000000L}); public static final BitSet FOLLOW_43_in_ruleLibIterationCS3663 = new BitSet(new long[]{0x0000003FFFFE0180L}); public static final BitSet FOLLOW_ruleIteratorCS_in_ruleLibIterationCS3684 = new BitSet(new long[]{0x0010300000010000L}); public static final BitSet FOLLOW_44_in_ruleLibIterationCS3697 = new BitSet(new long[]{0x0000003FFFFE0180L}); public static final BitSet FOLLOW_ruleIteratorCS_in_ruleLibIterationCS3718 = new BitSet(new long[]{0x0010300000010000L}); public static final BitSet FOLLOW_16_in_ruleLibIterationCS3733 = new BitSet(new long[]{0x0000003FFFFE0180L}); public static final BitSet FOLLOW_ruleAccumulatorCS_in_ruleLibIterationCS3754 = new BitSet(new long[]{0x0010300000000000L}); public static final BitSet FOLLOW_44_in_ruleLibIterationCS3767 = new BitSet(new long[]{0x0000003FFFFE0180L}); public static final BitSet FOLLOW_ruleAccumulatorCS_in_ruleLibIterationCS3788 = new BitSet(new long[]{0x0010300000000000L}); public static final BitSet FOLLOW_52_in_ruleLibIterationCS3805 = new BitSet(new long[]{0x0000003FFFFE0180L}); public static final BitSet FOLLOW_ruleParameterCS_in_ruleLibIterationCS3826 = new BitSet(new long[]{0x0000300000000000L}); public static final BitSet FOLLOW_44_in_ruleLibIterationCS3839 = new BitSet(new long[]{0x0000003FFFFE0180L}); public static final BitSet FOLLOW_ruleParameterCS_in_ruleLibIterationCS3860 = new BitSet(new long[]{0x0000300000000000L}); public static final BitSet FOLLOW_45_in_ruleLibIterationCS3876 = new BitSet(new long[]{0x0000040000000000L}); public static final BitSet FOLLOW_42_in_ruleLibIterationCS3888 = new BitSet(new long[]{0xFFC001FFFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleTypedMultiplicityRefCS_in_ruleLibIterationCS3909 = new BitSet(new long[]{0x0008402001010000L}); public static final BitSet FOLLOW_24_in_ruleLibIterationCS3927 = new BitSet(new long[]{0x0008402000010000L}); public static final BitSet FOLLOW_37_in_ruleLibIterationCS3959 = new BitSet(new long[]{0x0008400000010000L}); public static final BitSet FOLLOW_51_in_ruleLibIterationCS3986 = new BitSet(new long[]{0x0000000000000020L}); public static final BitSet FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleLibIterationCS4010 = new BitSet(new long[]{0x0000400000010000L}); public static final BitSet FOLLOW_46_in_ruleLibIterationCS4026 = new BitSet(new long[]{0x00008000C0140000L}); public static final BitSet FOLLOW_ruleAnnotationElementCS_in_ruleLibIterationCS4048 = new BitSet(new long[]{0x00008000C0140000L}); public static final BitSet FOLLOW_rulePostCS_in_ruleLibIterationCS4075 = new BitSet(new long[]{0x00008000C0140000L}); public static final BitSet FOLLOW_rulePreCS_in_ruleLibIterationCS4102 = new BitSet(new long[]{0x00008000C0140000L}); public static final BitSet FOLLOW_47_in_ruleLibIterationCS4116 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_16_in_ruleLibIterationCS4135 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleIteratorCS_in_entryRuleIteratorCS4172 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleIteratorCS4182 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleIdentifier_in_ruleIteratorCS4228 = new BitSet(new long[]{0x0000040000000000L}); public static final BitSet FOLLOW_42_in_ruleIteratorCS4240 = new BitSet(new long[]{0xFFC001FFFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleTypedMultiplicityRefCS_in_ruleIteratorCS4261 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLambdaTypeCS_in_entryRuleLambdaTypeCS4297 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleLambdaTypeCS4307 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_38_in_ruleLambdaTypeCS4350 = new BitSet(new long[]{0xFFC0083FFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleTemplateSignatureCS_in_ruleLambdaTypeCS4384 = new BitSet(new long[]{0xFFC0083FFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleLambdaContextTypeRefCS_in_ruleLambdaTypeCS4406 = new BitSet(new long[]{0x0000080000000000L}); public static final BitSet FOLLOW_43_in_ruleLambdaTypeCS4418 = new BitSet(new long[]{0xFFC021FFFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleTypedMultiplicityRefCS_in_ruleLambdaTypeCS4440 = new BitSet(new long[]{0x0000300000000000L}); public static final BitSet FOLLOW_44_in_ruleLambdaTypeCS4453 = new BitSet(new long[]{0xFFC001FFFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleTypedMultiplicityRefCS_in_ruleLambdaTypeCS4474 = new BitSet(new long[]{0x0000300000000000L}); public static final BitSet FOLLOW_45_in_ruleLambdaTypeCS4490 = new BitSet(new long[]{0x0000040000000000L}); public static final BitSet FOLLOW_42_in_ruleLambdaTypeCS4502 = new BitSet(new long[]{0xFFC001FFFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleTypedRefCS_in_ruleLambdaTypeCS4523 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLambdaContextTypeRefCS_in_entryRuleLambdaContextTypeRefCS4559 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleLambdaContextTypeRefCS4569 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLibPathNameCS_in_ruleLambdaContextTypeRefCS4614 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleOperationCS_in_entryRuleOperationCS4649 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleOperationCS4659 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLibCoercionCS_in_ruleOperationCS4709 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLibIterationCS_in_ruleOperationCS4739 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLibOperationCS_in_ruleOperationCS4769 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLibOperationCS_in_entryRuleLibOperationCS4804 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleLibOperationCS4814 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_35_in_ruleLibOperationCS4857 = new BitSet(new long[]{0x0000000010000000L}); public static final BitSet FOLLOW_28_in_ruleLibOperationCS4883 = new BitSet(new long[]{0xFF80003FFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleName_in_ruleLibOperationCS4904 = new BitSet(new long[]{0x0000080000000000L}); public static final BitSet FOLLOW_ruleTemplateSignatureCS_in_ruleLibOperationCS4925 = new BitSet(new long[]{0x0000080000000000L}); public static final BitSet FOLLOW_43_in_ruleLibOperationCS4938 = new BitSet(new long[]{0x0000203FFFFE0180L}); public static final BitSet FOLLOW_ruleParameterCS_in_ruleLibOperationCS4960 = new BitSet(new long[]{0x0000300000000000L}); public static final BitSet FOLLOW_44_in_ruleLibOperationCS4973 = new BitSet(new long[]{0x0000003FFFFE0180L}); public static final BitSet FOLLOW_ruleParameterCS_in_ruleLibOperationCS4994 = new BitSet(new long[]{0x0000300000000000L}); public static final BitSet FOLLOW_45_in_ruleLibOperationCS5010 = new BitSet(new long[]{0x0000040000000000L}); public static final BitSet FOLLOW_42_in_ruleLibOperationCS5022 = new BitSet(new long[]{0xFFC001FFFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleTypedMultiplicityRefCS_in_ruleLibOperationCS5043 = new BitSet(new long[]{0x0008402101010000L}); public static final BitSet FOLLOW_37_in_ruleLibOperationCS5061 = new BitSet(new long[]{0x0008400101010000L}); public static final BitSet FOLLOW_24_in_ruleLibOperationCS5093 = new BitSet(new long[]{0x0008400100010000L}); public static final BitSet FOLLOW_32_in_ruleLibOperationCS5120 = new BitSet(new long[]{0x0001000000000000L}); public static final BitSet FOLLOW_48_in_ruleLibOperationCS5132 = new BitSet(new long[]{0xFF80003FFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleName_in_ruleLibOperationCS5159 = new BitSet(new long[]{0x0008400000010000L}); public static final BitSet FOLLOW_51_in_ruleLibOperationCS5174 = new BitSet(new long[]{0x0000000000000020L}); public static final BitSet FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleLibOperationCS5198 = new BitSet(new long[]{0x0000400000010000L}); public static final BitSet FOLLOW_46_in_ruleLibOperationCS5214 = new BitSet(new long[]{0x00208000C0140000L}); public static final BitSet FOLLOW_ruleAnnotationElementCS_in_ruleLibOperationCS5236 = new BitSet(new long[]{0x00208000C0140000L}); public static final BitSet FOLLOW_53_in_ruleLibOperationCS5255 = new BitSet(new long[]{0x0000043FFFFE0180L}); public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleLibOperationCS5275 = new BitSet(new long[]{0x0000040000000000L}); public static final BitSet FOLLOW_42_in_ruleLibOperationCS5288 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleSpecificationCS_in_ruleLibOperationCS5309 = new BitSet(new long[]{0x0000000000010000L}); public static final BitSet FOLLOW_16_in_ruleLibOperationCS5321 = new BitSet(new long[]{0x00208000C0140000L}); public static final BitSet FOLLOW_rulePostCS_in_ruleLibOperationCS5349 = new BitSet(new long[]{0x00208000C0140000L}); public static final BitSet FOLLOW_rulePreCS_in_ruleLibOperationCS5376 = new BitSet(new long[]{0x00208000C0140000L}); public static final BitSet FOLLOW_47_in_ruleLibOperationCS5390 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_16_in_ruleLibOperationCS5409 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLibPackageCS_in_entryRuleLibPackageCS5446 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleLibPackageCS5456 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_27_in_ruleLibPackageCS5493 = new BitSet(new long[]{0xFF80003FFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleName_in_ruleLibPackageCS5514 = new BitSet(new long[]{0x0000440000000000L}); public static final BitSet FOLLOW_42_in_ruleLibPackageCS5527 = new BitSet(new long[]{0x0000003FFFFE0180L}); public static final BitSet FOLLOW_ruleIdentifier_in_ruleLibPackageCS5548 = new BitSet(new long[]{0x0001000000000000L}); public static final BitSet FOLLOW_48_in_ruleLibPackageCS5560 = new BitSet(new long[]{0x0000003FFFFE01A0L}); public static final BitSet FOLLOW_ruleURI_in_ruleLibPackageCS5581 = new BitSet(new long[]{0x0000400000000000L}); public static final BitSet FOLLOW_46_in_ruleLibPackageCS5595 = new BitSet(new long[]{0x0000801120160000L}); public static final BitSet FOLLOW_rulePackageCS_in_ruleLibPackageCS5617 = new BitSet(new long[]{0x0000801120160000L}); public static final BitSet FOLLOW_32_in_ruleLibPackageCS5636 = new BitSet(new long[]{0x0000000404000000L}); public static final BitSet FOLLOW_rulePrecedenceCS_in_ruleLibPackageCS5657 = new BitSet(new long[]{0x0000000404010000L}); public static final BitSet FOLLOW_16_in_ruleLibPackageCS5670 = new BitSet(new long[]{0x0000801120160000L}); public static final BitSet FOLLOW_ruleClassCS_in_ruleLibPackageCS5698 = new BitSet(new long[]{0x0000801120160000L}); public static final BitSet FOLLOW_ruleAnnotationElementCS_in_ruleLibPackageCS5725 = new BitSet(new long[]{0x0000801120160000L}); public static final BitSet FOLLOW_47_in_ruleLibPackageCS5739 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePackageCS_in_entryRulePackageCS5775 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRulePackageCS5785 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_29_in_rulePackageCS5822 = new BitSet(new long[]{0xFF80003FFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleName_in_rulePackageCS5843 = new BitSet(new long[]{0x0000440000000000L}); public static final BitSet FOLLOW_42_in_rulePackageCS5856 = new BitSet(new long[]{0x0000003FFFFE0180L}); public static final BitSet FOLLOW_ruleIdentifier_in_rulePackageCS5877 = new BitSet(new long[]{0x0001000000000000L}); public static final BitSet FOLLOW_48_in_rulePackageCS5889 = new BitSet(new long[]{0x0000003FFFFE01A0L}); public static final BitSet FOLLOW_ruleURI_in_rulePackageCS5910 = new BitSet(new long[]{0x0000400000000000L}); public static final BitSet FOLLOW_46_in_rulePackageCS5924 = new BitSet(new long[]{0x0000801020160000L}); public static final BitSet FOLLOW_rulePackageCS_in_rulePackageCS5946 = new BitSet(new long[]{0x0000801020160000L}); public static final BitSet FOLLOW_ruleClassCS_in_rulePackageCS5973 = new BitSet(new long[]{0x0000801020160000L}); public static final BitSet FOLLOW_ruleAnnotationElementCS_in_rulePackageCS6000 = new BitSet(new long[]{0x0000801020160000L}); public static final BitSet FOLLOW_47_in_rulePackageCS6014 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleParameterCS_in_entryRuleParameterCS6050 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleParameterCS6060 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleIdentifier_in_ruleParameterCS6106 = new BitSet(new long[]{0x0000040000000000L}); public static final BitSet FOLLOW_42_in_ruleParameterCS6118 = new BitSet(new long[]{0xFFC001FFFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleTypedMultiplicityRefCS_in_ruleParameterCS6139 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLibPropertyCS_in_entryRuleLibPropertyCS6175 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleLibPropertyCS6185 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_35_in_ruleLibPropertyCS6228 = new BitSet(new long[]{0x0000000200000000L}); public static final BitSet FOLLOW_33_in_ruleLibPropertyCS6254 = new BitSet(new long[]{0xFF80003FFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleName_in_ruleLibPropertyCS6275 = new BitSet(new long[]{0x0000040000000000L}); public static final BitSet FOLLOW_42_in_ruleLibPropertyCS6287 = new BitSet(new long[]{0xFFC001FFFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleTypedMultiplicityRefCS_in_ruleLibPropertyCS6308 = new BitSet(new long[]{0x0008400000010000L}); public static final BitSet FOLLOW_51_in_ruleLibPropertyCS6321 = new BitSet(new long[]{0x0000000000000020L}); public static final BitSet FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleLibPropertyCS6345 = new BitSet(new long[]{0x0000400000010000L}); public static final BitSet FOLLOW_46_in_ruleLibPropertyCS6361 = new BitSet(new long[]{0x0000800000140000L}); public static final BitSet FOLLOW_ruleAnnotationElementCS_in_ruleLibPropertyCS6382 = new BitSet(new long[]{0x0000800000140000L}); public static final BitSet FOLLOW_47_in_ruleLibPropertyCS6395 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_16_in_ruleLibPropertyCS6414 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePostCS_in_entryRulePostCS6451 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRulePostCS6461 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_30_in_rulePostCS6504 = new BitSet(new long[]{0x0000043FFFFE0180L}); public static final BitSet FOLLOW_ruleUnrestrictedName_in_rulePostCS6539 = new BitSet(new long[]{0x00000C0000000000L}); public static final BitSet FOLLOW_43_in_rulePostCS6552 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleSpecificationCS_in_rulePostCS6573 = new BitSet(new long[]{0x0000200000000000L}); public static final BitSet FOLLOW_45_in_rulePostCS6585 = new BitSet(new long[]{0x0000040000000000L}); public static final BitSet FOLLOW_42_in_rulePostCS6601 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleSpecificationCS_in_rulePostCS6622 = new BitSet(new long[]{0x0000000000010000L}); public static final BitSet FOLLOW_16_in_rulePostCS6634 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePreCS_in_entryRulePreCS6670 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRulePreCS6680 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_31_in_rulePreCS6723 = new BitSet(new long[]{0x0000043FFFFE0180L}); public static final BitSet FOLLOW_ruleUnrestrictedName_in_rulePreCS6758 = new BitSet(new long[]{0x00000C0000000000L}); public static final BitSet FOLLOW_43_in_rulePreCS6771 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleSpecificationCS_in_rulePreCS6792 = new BitSet(new long[]{0x0000200000000000L}); public static final BitSet FOLLOW_45_in_rulePreCS6804 = new BitSet(new long[]{0x0000040000000000L}); public static final BitSet FOLLOW_42_in_rulePreCS6820 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleSpecificationCS_in_rulePreCS6841 = new BitSet(new long[]{0x0000000000010000L}); public static final BitSet FOLLOW_16_in_rulePreCS6853 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePrecedenceCS_in_entryRulePrecedenceCS6889 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRulePrecedenceCS6899 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_26_in_rulePrecedenceCS6937 = new BitSet(new long[]{0x0000040000000000L}); public static final BitSet FOLLOW_34_in_rulePrecedenceCS6961 = new BitSet(new long[]{0x0000040000000000L}); public static final BitSet FOLLOW_42_in_rulePrecedenceCS6987 = new BitSet(new long[]{0xFF80003FFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleName_in_rulePrecedenceCS7008 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleSpecificationCS_in_entryRuleSpecificationCS7044 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleSpecificationCS7054 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleExpCS_in_ruleSpecificationCS7099 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTypedMultiplicityRefCS_in_entryRuleTypedMultiplicityRefCS7134 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleTypedMultiplicityRefCS7144 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleMapTypeCS_in_ruleTypedMultiplicityRefCS7195 = new BitSet(new long[]{0x0000000000000002L,0x0000001000000000L}); public static final BitSet FOLLOW_ruleTupleTypeCS_in_ruleTypedMultiplicityRefCS7225 = new BitSet(new long[]{0x0000000000000002L,0x0000001000000000L}); public static final BitSet FOLLOW_ruleTypedTypeRefCS_in_ruleTypedMultiplicityRefCS7255 = new BitSet(new long[]{0x0000000000000002L,0x0000001000000000L}); public static final BitSet FOLLOW_ruleLambdaTypeCS_in_ruleTypedMultiplicityRefCS7285 = new BitSet(new long[]{0x0000000000000002L,0x0000001000000000L}); public static final BitSet FOLLOW_ruleMultiplicityCS_in_ruleTypedMultiplicityRefCS7306 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTypedRefCS_in_entryRuleTypedRefCS7343 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleTypedRefCS7353 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleMapTypeCS_in_ruleTypedRefCS7403 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTupleTypeCS_in_ruleTypedRefCS7433 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTypedTypeRefCS_in_ruleTypedRefCS7463 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLambdaTypeCS_in_ruleTypedRefCS7493 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTypedTypeRefCS_in_entryRuleTypedTypeRefCS7528 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleTypedTypeRefCS7538 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_54_in_ruleTypedTypeRefCS7582 = new BitSet(new long[]{0x0000080000000000L}); public static final BitSet FOLLOW_43_in_ruleTypedTypeRefCS7607 = new BitSet(new long[]{0xFFC0003FFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleLibPathNameCS_in_ruleTypedTypeRefCS7628 = new BitSet(new long[]{0x0000200000000000L}); public static final BitSet FOLLOW_45_in_ruleTypedTypeRefCS7640 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLibPathNameCS_in_ruleTypedTypeRefCS7669 = new BitSet(new long[]{0x0000080000000002L}); public static final BitSet FOLLOW_43_in_ruleTypedTypeRefCS7682 = new BitSet(new long[]{0xFFC001FFFFFE0190L,0x000004000FFF8003L}); public static final BitSet FOLLOW_ruleTemplateBindingCS_in_ruleTypedTypeRefCS7703 = new BitSet(new long[]{0x0000200000000000L}); public static final BitSet FOLLOW_45_in_ruleTypedTypeRefCS7715 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTuplePartCS_in_entryRuleTuplePartCS7754 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleTuplePartCS7764 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleIdentifier_in_ruleTuplePartCS7810 = new BitSet(new long[]{0x0000040000000000L}); public static final BitSet FOLLOW_42_in_ruleTuplePartCS7822 = new BitSet(new long[]{0xFFC001FFFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleTypedMultiplicityRefCS_in_ruleTuplePartCS7843 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleEssentialOCLReservedKeyword_in_entryRuleEssentialOCLReservedKeyword7882 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleEssentialOCLReservedKeyword7893 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_55_in_ruleEssentialOCLReservedKeyword7931 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_56_in_ruleEssentialOCLReservedKeyword7950 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_57_in_ruleEssentialOCLReservedKeyword7969 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_58_in_ruleEssentialOCLReservedKeyword7988 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_59_in_ruleEssentialOCLReservedKeyword8007 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_60_in_ruleEssentialOCLReservedKeyword8026 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_61_in_ruleEssentialOCLReservedKeyword8045 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_62_in_ruleEssentialOCLReservedKeyword8064 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_63_in_ruleEssentialOCLReservedKeyword8083 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_64_in_ruleEssentialOCLReservedKeyword8102 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_65_in_ruleEssentialOCLReservedKeyword8121 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleEssentialOCLUnaryOperatorName_in_entryRuleEssentialOCLUnaryOperatorName8162 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleEssentialOCLUnaryOperatorName8173 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_66_in_ruleEssentialOCLUnaryOperatorName8211 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_62_in_ruleEssentialOCLUnaryOperatorName8230 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleEssentialOCLInfixOperatorName_in_entryRuleEssentialOCLInfixOperatorName8271 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleEssentialOCLInfixOperatorName8282 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_67_in_ruleEssentialOCLInfixOperatorName8320 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_68_in_ruleEssentialOCLInfixOperatorName8339 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_69_in_ruleEssentialOCLInfixOperatorName8358 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_66_in_ruleEssentialOCLInfixOperatorName8377 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_70_in_ruleEssentialOCLInfixOperatorName8396 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_71_in_ruleEssentialOCLInfixOperatorName8415 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_72_in_ruleEssentialOCLInfixOperatorName8434 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_73_in_ruleEssentialOCLInfixOperatorName8453 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_48_in_ruleEssentialOCLInfixOperatorName8472 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_74_in_ruleEssentialOCLInfixOperatorName8491 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_55_in_ruleEssentialOCLInfixOperatorName8510 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_63_in_ruleEssentialOCLInfixOperatorName8529 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_65_in_ruleEssentialOCLInfixOperatorName8548 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_59_in_ruleEssentialOCLInfixOperatorName8567 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleEssentialOCLNavigationOperatorName_in_entryRuleEssentialOCLNavigationOperatorName8608 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleEssentialOCLNavigationOperatorName8619 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_75_in_ruleEssentialOCLNavigationOperatorName8657 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_76_in_ruleEssentialOCLNavigationOperatorName8676 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_77_in_ruleEssentialOCLNavigationOperatorName8695 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_78_in_ruleEssentialOCLNavigationOperatorName8714 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleBinaryOperatorName_in_entryRuleBinaryOperatorName8755 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleBinaryOperatorName8766 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleInfixOperatorName_in_ruleBinaryOperatorName8813 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleNavigationOperatorName_in_ruleBinaryOperatorName8846 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleInfixOperatorName_in_entryRuleInfixOperatorName8892 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleInfixOperatorName8903 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleEssentialOCLInfixOperatorName_in_ruleInfixOperatorName8949 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleNavigationOperatorName_in_entryRuleNavigationOperatorName8994 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleNavigationOperatorName9005 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleEssentialOCLNavigationOperatorName_in_ruleNavigationOperatorName9051 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleUnaryOperatorName_in_entryRuleUnaryOperatorName9096 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleUnaryOperatorName9107 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleEssentialOCLUnaryOperatorName_in_ruleUnaryOperatorName9153 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleEssentialOCLUnrestrictedName_in_entryRuleEssentialOCLUnrestrictedName9198 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleEssentialOCLUnrestrictedName9209 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleIdentifier_in_ruleEssentialOCLUnrestrictedName9255 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleUnrestrictedName_in_entryRuleUnrestrictedName9300 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleUnrestrictedName9311 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleEssentialOCLUnrestrictedName_in_ruleUnrestrictedName9357 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleEssentialOCLUnreservedName_in_entryRuleEssentialOCLUnreservedName9402 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleEssentialOCLUnreservedName9413 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleEssentialOCLUnreservedName9460 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleCollectionTypeIdentifier_in_ruleEssentialOCLUnreservedName9493 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePrimitiveTypeIdentifier_in_ruleEssentialOCLUnreservedName9526 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_39_in_ruleEssentialOCLUnreservedName9550 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_40_in_ruleEssentialOCLUnreservedName9569 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleUnreservedName_in_entryRuleUnreservedName9610 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleUnreservedName9621 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleEssentialOCLUnreservedName_in_ruleUnreservedName9667 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleURIPathNameCS_in_entryRuleURIPathNameCS9711 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleURIPathNameCS9721 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleURIFirstPathElementCS_in_ruleURIPathNameCS9767 = new BitSet(new long[]{0x0000020000000002L}); public static final BitSet FOLLOW_41_in_ruleURIPathNameCS9780 = new BitSet(new long[]{0xFF8001BFFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleNextPathElementCS_in_ruleURIPathNameCS9801 = new BitSet(new long[]{0x0000020000000002L}); public static final BitSet FOLLOW_ruleURIFirstPathElementCS_in_entryRuleURIFirstPathElementCS9839 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleURIFirstPathElementCS9849 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleURIFirstPathElementCS9901 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleURI_in_ruleURIFirstPathElementCS9947 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePrimitiveTypeIdentifier_in_entryRulePrimitiveTypeIdentifier9985 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRulePrimitiveTypeIdentifier9996 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_79_in_rulePrimitiveTypeIdentifier10034 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_80_in_rulePrimitiveTypeIdentifier10053 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_81_in_rulePrimitiveTypeIdentifier10072 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_82_in_rulePrimitiveTypeIdentifier10091 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_83_in_rulePrimitiveTypeIdentifier10110 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_84_in_rulePrimitiveTypeIdentifier10129 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_85_in_rulePrimitiveTypeIdentifier10148 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_86_in_rulePrimitiveTypeIdentifier10167 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePrimitiveTypeCS_in_entryRulePrimitiveTypeCS10207 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRulePrimitiveTypeCS10217 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePrimitiveTypeIdentifier_in_rulePrimitiveTypeCS10262 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleCollectionTypeIdentifier_in_entryRuleCollectionTypeIdentifier10298 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleCollectionTypeIdentifier10309 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_87_in_ruleCollectionTypeIdentifier10347 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_88_in_ruleCollectionTypeIdentifier10366 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_89_in_ruleCollectionTypeIdentifier10385 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_90_in_ruleCollectionTypeIdentifier10404 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_91_in_ruleCollectionTypeIdentifier10423 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleCollectionTypeCS_in_entryRuleCollectionTypeCS10463 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleCollectionTypeCS10473 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleCollectionTypeIdentifier_in_ruleCollectionTypeCS10519 = new BitSet(new long[]{0x0000080000000002L}); public static final BitSet FOLLOW_43_in_ruleCollectionTypeCS10532 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleTypeExpCS_in_ruleCollectionTypeCS10553 = new BitSet(new long[]{0x0000200000000000L}); public static final BitSet FOLLOW_45_in_ruleCollectionTypeCS10565 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleMapTypeCS_in_entryRuleMapTypeCS10603 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleMapTypeCS10613 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_39_in_ruleMapTypeCS10656 = new BitSet(new long[]{0x0000080000000002L}); public static final BitSet FOLLOW_43_in_ruleMapTypeCS10682 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleTypeExpCS_in_ruleMapTypeCS10703 = new BitSet(new long[]{0x0000100000000000L}); public static final BitSet FOLLOW_44_in_ruleMapTypeCS10715 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleTypeExpCS_in_ruleMapTypeCS10736 = new BitSet(new long[]{0x0000200000000000L}); public static final BitSet FOLLOW_45_in_ruleMapTypeCS10748 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTupleTypeCS_in_entryRuleTupleTypeCS10786 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleTupleTypeCS10796 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_40_in_ruleTupleTypeCS10839 = new BitSet(new long[]{0x0000080000000002L}); public static final BitSet FOLLOW_43_in_ruleTupleTypeCS10865 = new BitSet(new long[]{0x0000203FFFFE0180L}); public static final BitSet FOLLOW_ruleTuplePartCS_in_ruleTupleTypeCS10887 = new BitSet(new long[]{0x0000300000000000L}); public static final BitSet FOLLOW_44_in_ruleTupleTypeCS10900 = new BitSet(new long[]{0x0000003FFFFE0180L}); public static final BitSet FOLLOW_ruleTuplePartCS_in_ruleTupleTypeCS10921 = new BitSet(new long[]{0x0000300000000000L}); public static final BitSet FOLLOW_45_in_ruleTupleTypeCS10937 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleCollectionLiteralExpCS_in_entryRuleCollectionLiteralExpCS10975 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleCollectionLiteralExpCS10985 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleCollectionTypeCS_in_ruleCollectionLiteralExpCS11031 = new BitSet(new long[]{0x0000400000000000L}); public static final BitSet FOLLOW_46_in_ruleCollectionLiteralExpCS11043 = new BitSet(new long[]{0xFF808DFFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleCollectionLiteralPartCS_in_ruleCollectionLiteralExpCS11065 = new BitSet(new long[]{0x0000900000000000L}); public static final BitSet FOLLOW_44_in_ruleCollectionLiteralExpCS11078 = new BitSet(new long[]{0xFF800DFFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleCollectionLiteralPartCS_in_ruleCollectionLiteralExpCS11099 = new BitSet(new long[]{0x0000900000000000L}); public static final BitSet FOLLOW_47_in_ruleCollectionLiteralExpCS11115 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleCollectionLiteralPartCS_in_entryRuleCollectionLiteralPartCS11151 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleCollectionLiteralPartCS11161 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleExpCS_in_ruleCollectionLiteralPartCS11208 = new BitSet(new long[]{0x0000000000000002L,0x0000000010000000L}); public static final BitSet FOLLOW_92_in_ruleCollectionLiteralPartCS11221 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_ruleCollectionLiteralPartCS11242 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePatternExpCS_in_ruleCollectionLiteralPartCS11272 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleCollectionPatternCS_in_entryRuleCollectionPatternCS11308 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleCollectionPatternCS11318 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleCollectionTypeCS_in_ruleCollectionPatternCS11364 = new BitSet(new long[]{0x0000400000000000L}); public static final BitSet FOLLOW_46_in_ruleCollectionPatternCS11376 = new BitSet(new long[]{0xFF808DFFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_rulePatternExpCS_in_ruleCollectionPatternCS11398 = new BitSet(new long[]{0x0000100000000000L,0x0000000020000000L}); public static final BitSet FOLLOW_44_in_ruleCollectionPatternCS11411 = new BitSet(new long[]{0xFF800DFFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_rulePatternExpCS_in_ruleCollectionPatternCS11432 = new BitSet(new long[]{0x0000100000000000L,0x0000000020000000L}); public static final BitSet FOLLOW_93_in_ruleCollectionPatternCS11447 = new BitSet(new long[]{0x0000003FFFFE0180L}); public static final BitSet FOLLOW_ruleIdentifier_in_ruleCollectionPatternCS11468 = new BitSet(new long[]{0x0000800000000000L}); public static final BitSet FOLLOW_47_in_ruleCollectionPatternCS11483 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleShadowPartCS_in_entryRuleShadowPartCS11519 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleShadowPartCS11529 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleShadowPartCS11581 = new BitSet(new long[]{0x0001000000000000L}); public static final BitSet FOLLOW_48_in_ruleShadowPartCS11593 = new BitSet(new long[]{0xFF800DFFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_ruleShadowPartCS11616 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePatternExpCS_in_ruleShadowPartCS11635 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePatternExpCS_in_entryRulePatternExpCS11674 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRulePatternExpCS11684 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleUnrestrictedName_in_rulePatternExpCS11730 = new BitSet(new long[]{0x0000040000000000L}); public static final BitSet FOLLOW_42_in_rulePatternExpCS11743 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleTypeExpCS_in_rulePatternExpCS11764 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLambdaLiteralExpCS_in_entryRuleLambdaLiteralExpCS11800 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleLambdaLiteralExpCS11810 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_38_in_ruleLambdaLiteralExpCS11847 = new BitSet(new long[]{0x0000400000000000L}); public static final BitSet FOLLOW_46_in_ruleLambdaLiteralExpCS11859 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_ruleLambdaLiteralExpCS11880 = new BitSet(new long[]{0x0000800000000000L}); public static final BitSet FOLLOW_47_in_ruleLambdaLiteralExpCS11892 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleMapLiteralExpCS_in_entryRuleMapLiteralExpCS11928 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleMapLiteralExpCS11938 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleMapTypeCS_in_ruleMapLiteralExpCS11984 = new BitSet(new long[]{0x0000400000000000L}); public static final BitSet FOLLOW_46_in_ruleMapLiteralExpCS11996 = new BitSet(new long[]{0xFF8089FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleMapLiteralPartCS_in_ruleMapLiteralExpCS12018 = new BitSet(new long[]{0x0000900000000000L}); public static final BitSet FOLLOW_44_in_ruleMapLiteralExpCS12031 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleMapLiteralPartCS_in_ruleMapLiteralExpCS12052 = new BitSet(new long[]{0x0000900000000000L}); public static final BitSet FOLLOW_47_in_ruleMapLiteralExpCS12068 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleMapLiteralPartCS_in_entryRuleMapLiteralPartCS12104 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleMapLiteralPartCS12114 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleExpCS_in_ruleMapLiteralPartCS12160 = new BitSet(new long[]{0x0000000000000000L,0x0000000040000000L}); public static final BitSet FOLLOW_94_in_ruleMapLiteralPartCS12172 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_ruleMapLiteralPartCS12193 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePrimitiveLiteralExpCS_in_entryRulePrimitiveLiteralExpCS12229 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRulePrimitiveLiteralExpCS12239 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleNumberLiteralExpCS_in_rulePrimitiveLiteralExpCS12289 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleStringLiteralExpCS_in_rulePrimitiveLiteralExpCS12319 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleBooleanLiteralExpCS_in_rulePrimitiveLiteralExpCS12349 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleUnlimitedNaturalLiteralExpCS_in_rulePrimitiveLiteralExpCS12379 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleInvalidLiteralExpCS_in_rulePrimitiveLiteralExpCS12409 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleNullLiteralExpCS_in_rulePrimitiveLiteralExpCS12439 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTupleLiteralExpCS_in_entryRuleTupleLiteralExpCS12474 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleTupleLiteralExpCS12484 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_40_in_ruleTupleLiteralExpCS12521 = new BitSet(new long[]{0x0000400000000000L}); public static final BitSet FOLLOW_46_in_ruleTupleLiteralExpCS12533 = new BitSet(new long[]{0x0000003FFFFE0180L}); public static final BitSet FOLLOW_ruleTupleLiteralPartCS_in_ruleTupleLiteralExpCS12554 = new BitSet(new long[]{0x0000900000000000L}); public static final BitSet FOLLOW_44_in_ruleTupleLiteralExpCS12567 = new BitSet(new long[]{0x0000003FFFFE0180L}); public static final BitSet FOLLOW_ruleTupleLiteralPartCS_in_ruleTupleLiteralExpCS12588 = new BitSet(new long[]{0x0000900000000000L}); public static final BitSet FOLLOW_47_in_ruleTupleLiteralExpCS12602 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTupleLiteralPartCS_in_entryRuleTupleLiteralPartCS12638 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleTupleLiteralPartCS12648 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleTupleLiteralPartCS12694 = new BitSet(new long[]{0x0001040000000000L}); public static final BitSet FOLLOW_42_in_ruleTupleLiteralPartCS12707 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleTypeExpCS_in_ruleTupleLiteralPartCS12728 = new BitSet(new long[]{0x0001000000000000L}); public static final BitSet FOLLOW_48_in_ruleTupleLiteralPartCS12742 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_ruleTupleLiteralPartCS12763 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleNumberLiteralExpCS_in_entryRuleNumberLiteralExpCS12799 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleNumberLiteralExpCS12809 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleNUMBER_LITERAL_in_ruleNumberLiteralExpCS12854 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleStringLiteralExpCS_in_entryRuleStringLiteralExpCS12889 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteralExpCS12899 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleStringLiteral_in_ruleStringLiteralExpCS12944 = new BitSet(new long[]{0x0000000000000022L}); public static final BitSet FOLLOW_ruleBooleanLiteralExpCS_in_entryRuleBooleanLiteralExpCS12980 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteralExpCS12990 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_95_in_ruleBooleanLiteralExpCS13033 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_96_in_ruleBooleanLiteralExpCS13070 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleUnlimitedNaturalLiteralExpCS_in_entryRuleUnlimitedNaturalLiteralExpCS13119 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleUnlimitedNaturalLiteralExpCS13129 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_67_in_ruleUnlimitedNaturalLiteralExpCS13178 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleInvalidLiteralExpCS_in_entryRuleInvalidLiteralExpCS13214 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleInvalidLiteralExpCS13224 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_97_in_ruleInvalidLiteralExpCS13273 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleNullLiteralExpCS_in_entryRuleNullLiteralExpCS13309 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleNullLiteralExpCS13319 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_98_in_ruleNullLiteralExpCS13368 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTypeLiteralCS_in_entryRuleTypeLiteralCS13404 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleTypeLiteralCS13414 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePrimitiveTypeCS_in_ruleTypeLiteralCS13464 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleCollectionTypeCS_in_ruleTypeLiteralCS13494 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleMapTypeCS_in_ruleTypeLiteralCS13524 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTupleTypeCS_in_ruleTypeLiteralCS13554 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTypeLiteralWithMultiplicityCS_in_entryRuleTypeLiteralWithMultiplicityCS13589 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleTypeLiteralWithMultiplicityCS13599 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTypeLiteralCS_in_ruleTypeLiteralWithMultiplicityCS13649 = new BitSet(new long[]{0x0000000000000002L,0x0000001000000000L}); public static final BitSet FOLLOW_ruleMultiplicityCS_in_ruleTypeLiteralWithMultiplicityCS13669 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTypeLiteralExpCS_in_entryRuleTypeLiteralExpCS13706 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleTypeLiteralExpCS13716 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTypeLiteralWithMultiplicityCS_in_ruleTypeLiteralExpCS13761 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTypeNameExpCS_in_entryRuleTypeNameExpCS13796 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleTypeNameExpCS13806 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePathNameCS_in_ruleTypeNameExpCS13852 = new BitSet(new long[]{0x0000400000000002L}); public static final BitSet FOLLOW_ruleCurlyBracketedClauseCS_in_ruleTypeNameExpCS13874 = new BitSet(new long[]{0x0000400000000002L}); public static final BitSet FOLLOW_46_in_ruleTypeNameExpCS13887 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_ruleTypeNameExpCS13908 = new BitSet(new long[]{0x0000800000000000L}); public static final BitSet FOLLOW_47_in_ruleTypeNameExpCS13920 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTypeExpCS_in_entryRuleTypeExpCS13960 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleTypeExpCS13970 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTypeNameExpCS_in_ruleTypeExpCS14021 = new BitSet(new long[]{0x0000000000000002L,0x0000001000000000L}); public static final BitSet FOLLOW_ruleTypeLiteralCS_in_ruleTypeExpCS14051 = new BitSet(new long[]{0x0000000000000002L,0x0000001000000000L}); public static final BitSet FOLLOW_ruleCollectionPatternCS_in_ruleTypeExpCS14081 = new BitSet(new long[]{0x0000000000000002L,0x0000001000000000L}); public static final BitSet FOLLOW_ruleMultiplicityCS_in_ruleTypeExpCS14102 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleExpCS_in_entryRuleExpCS14139 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleExpCS14149 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePrefixedPrimaryExpCS_in_ruleExpCS14200 = new BitSet(new long[]{0x8881000000000002L,0x0000000000007FFEL}); public static final BitSet FOLLOW_ruleBinaryOperatorName_in_ruleExpCS14233 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_ruleExpCS14254 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePrefixedLetExpCS_in_ruleExpCS14288 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePrefixedLetExpCS_in_entryRulePrefixedLetExpCS14323 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRulePrefixedLetExpCS14333 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleUnaryOperatorName_in_rulePrefixedLetExpCS14392 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_rulePrefixedLetExpCS_in_rulePrefixedLetExpCS14413 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLetExpCS_in_rulePrefixedLetExpCS14445 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePrefixedPrimaryExpCS_in_entryRulePrefixedPrimaryExpCS14480 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRulePrefixedPrimaryExpCS14490 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleUnaryOperatorName_in_rulePrefixedPrimaryExpCS14549 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_rulePrefixedPrimaryExpCS_in_rulePrefixedPrimaryExpCS14570 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePrimaryExpCS_in_rulePrefixedPrimaryExpCS14602 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePrimaryExpCS_in_entryRulePrimaryExpCS14637 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRulePrimaryExpCS14647 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleNestedExpCS_in_rulePrimaryExpCS14697 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleIfExpCS_in_rulePrimaryExpCS14727 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleSelfExpCS_in_rulePrimaryExpCS14757 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePrimitiveLiteralExpCS_in_rulePrimaryExpCS14787 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTupleLiteralExpCS_in_rulePrimaryExpCS14817 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleMapLiteralExpCS_in_rulePrimaryExpCS14847 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleCollectionLiteralExpCS_in_rulePrimaryExpCS14877 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLambdaLiteralExpCS_in_rulePrimaryExpCS14907 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTypeLiteralExpCS_in_rulePrimaryExpCS14937 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleNameExpCS_in_rulePrimaryExpCS14967 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleNameExpCS_in_entryRuleNameExpCS15002 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleNameExpCS15012 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePathNameCS_in_ruleNameExpCS15058 = new BitSet(new long[]{0x0000480000000002L,0x0000001800000000L}); public static final BitSet FOLLOW_ruleSquareBracketedClauseCS_in_ruleNameExpCS15079 = new BitSet(new long[]{0x0000480000000002L,0x0000001800000000L}); public static final BitSet FOLLOW_ruleRoundBracketedClauseCS_in_ruleNameExpCS15101 = new BitSet(new long[]{0x0000400000000002L,0x0000000800000000L}); public static final BitSet FOLLOW_ruleCurlyBracketedClauseCS_in_ruleNameExpCS15123 = new BitSet(new long[]{0x0000000000000002L,0x0000000800000000L}); public static final BitSet FOLLOW_99_in_ruleNameExpCS15143 = new BitSet(new long[]{0x0000000080000000L}); public static final BitSet FOLLOW_31_in_ruleNameExpCS15168 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleCurlyBracketedClauseCS_in_entryRuleCurlyBracketedClauseCS15206 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleCurlyBracketedClauseCS15216 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_46_in_ruleCurlyBracketedClauseCS15265 = new BitSet(new long[]{0x0000803FFFFE01A0L}); public static final BitSet FOLLOW_ruleShadowPartCS_in_ruleCurlyBracketedClauseCS15288 = new BitSet(new long[]{0x0000900000000000L}); public static final BitSet FOLLOW_44_in_ruleCurlyBracketedClauseCS15301 = new BitSet(new long[]{0x0000003FFFFE0180L}); public static final BitSet FOLLOW_ruleShadowPartCS_in_ruleCurlyBracketedClauseCS15322 = new BitSet(new long[]{0x0000900000000000L}); public static final BitSet FOLLOW_ruleStringLiteral_in_ruleCurlyBracketedClauseCS15353 = new BitSet(new long[]{0x0000800000000000L}); public static final BitSet FOLLOW_47_in_ruleCurlyBracketedClauseCS15366 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleRoundBracketedClauseCS_in_entryRuleRoundBracketedClauseCS15402 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleRoundBracketedClauseCS15412 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_43_in_ruleRoundBracketedClauseCS15461 = new BitSet(new long[]{0xFF802DFFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleNavigatingArgCS_in_ruleRoundBracketedClauseCS15483 = new BitSet(new long[]{0x0010300000010000L}); public static final BitSet FOLLOW_ruleNavigatingCommaArgCS_in_ruleRoundBracketedClauseCS15504 = new BitSet(new long[]{0x0010300000010000L}); public static final BitSet FOLLOW_ruleNavigatingSemiArgCS_in_ruleRoundBracketedClauseCS15527 = new BitSet(new long[]{0x0010300000000000L}); public static final BitSet FOLLOW_ruleNavigatingCommaArgCS_in_ruleRoundBracketedClauseCS15548 = new BitSet(new long[]{0x0010300000000000L}); public static final BitSet FOLLOW_ruleNavigatingBarArgCS_in_ruleRoundBracketedClauseCS15573 = new BitSet(new long[]{0x0010300000000000L}); public static final BitSet FOLLOW_ruleNavigatingCommaArgCS_in_ruleRoundBracketedClauseCS15594 = new BitSet(new long[]{0x0010300000000000L}); public static final BitSet FOLLOW_45_in_ruleRoundBracketedClauseCS15611 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleSquareBracketedClauseCS_in_entryRuleSquareBracketedClauseCS15647 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleSquareBracketedClauseCS15657 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_100_in_ruleSquareBracketedClauseCS15694 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_ruleSquareBracketedClauseCS15715 = new BitSet(new long[]{0x0000100000000000L,0x0000002000000000L}); public static final BitSet FOLLOW_44_in_ruleSquareBracketedClauseCS15728 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_ruleSquareBracketedClauseCS15749 = new BitSet(new long[]{0x0000100000000000L,0x0000002000000000L}); public static final BitSet FOLLOW_101_in_ruleSquareBracketedClauseCS15763 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleNavigatingArgCS_in_entryRuleNavigatingArgCS15799 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleNavigatingArgCS15809 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingArgCS15856 = new BitSet(new long[]{0x1000040000000002L}); public static final BitSet FOLLOW_42_in_ruleNavigatingArgCS15870 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleTypeExpCS_in_ruleNavigatingArgCS15891 = new BitSet(new long[]{0x0001000000000002L}); public static final BitSet FOLLOW_48_in_ruleNavigatingArgCS15904 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_ruleNavigatingArgCS15925 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_60_in_ruleNavigatingArgCS15947 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_ruleNavigatingArgCS15968 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_42_in_ruleNavigatingArgCS15991 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleTypeExpCS_in_ruleNavigatingArgCS16012 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleNavigatingBarArgCS_in_entryRuleNavigatingBarArgCS16049 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleNavigatingBarArgCS16059 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_52_in_ruleNavigatingBarArgCS16102 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingBarArgCS16136 = new BitSet(new long[]{0x0000040000000002L}); public static final BitSet FOLLOW_42_in_ruleNavigatingBarArgCS16149 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleTypeExpCS_in_ruleNavigatingBarArgCS16170 = new BitSet(new long[]{0x0001000000000002L}); public static final BitSet FOLLOW_48_in_ruleNavigatingBarArgCS16183 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_ruleNavigatingBarArgCS16204 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleNavigatingCommaArgCS_in_entryRuleNavigatingCommaArgCS16244 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleNavigatingCommaArgCS16254 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_44_in_ruleNavigatingCommaArgCS16297 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingCommaArgCS16331 = new BitSet(new long[]{0x1000040000000002L}); public static final BitSet FOLLOW_42_in_ruleNavigatingCommaArgCS16345 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleTypeExpCS_in_ruleNavigatingCommaArgCS16366 = new BitSet(new long[]{0x0001000000000002L}); public static final BitSet FOLLOW_48_in_ruleNavigatingCommaArgCS16379 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_ruleNavigatingCommaArgCS16400 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_60_in_ruleNavigatingCommaArgCS16422 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_ruleNavigatingCommaArgCS16443 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleNavigatingSemiArgCS_in_entryRuleNavigatingSemiArgCS16482 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleNavigatingSemiArgCS16492 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_16_in_ruleNavigatingSemiArgCS16535 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingSemiArgCS16569 = new BitSet(new long[]{0x0000040000000002L}); public static final BitSet FOLLOW_42_in_ruleNavigatingSemiArgCS16582 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleTypeExpCS_in_ruleNavigatingSemiArgCS16603 = new BitSet(new long[]{0x0001000000000002L}); public static final BitSet FOLLOW_48_in_ruleNavigatingSemiArgCS16616 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_ruleNavigatingSemiArgCS16637 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleNavigatingArgExpCS_in_entryRuleNavigatingArgExpCS16677 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleNavigatingArgExpCS16687 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleExpCS_in_ruleNavigatingArgExpCS16736 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleIfExpCS_in_entryRuleIfExpCS16770 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleIfExpCS16780 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_58_in_ruleIfExpCS16817 = new BitSet(new long[]{0xFF800DFFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_ruleIfExpCS16840 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L}); public static final BitSet FOLLOW_rulePatternExpCS_in_ruleIfExpCS16859 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L}); public static final BitSet FOLLOW_64_in_ruleIfExpCS16874 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_ruleIfExpCS16895 = new BitSet(new long[]{0x0100000000000000L,0x0000004000000000L}); public static final BitSet FOLLOW_ruleElseIfThenExpCS_in_ruleIfExpCS16916 = new BitSet(new long[]{0x0100000000000000L,0x0000004000000000L}); public static final BitSet FOLLOW_56_in_ruleIfExpCS16929 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_ruleIfExpCS16950 = new BitSet(new long[]{0x0200000000000000L}); public static final BitSet FOLLOW_57_in_ruleIfExpCS16962 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleElseIfThenExpCS_in_entryRuleElseIfThenExpCS16998 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleElseIfThenExpCS17008 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_102_in_ruleElseIfThenExpCS17045 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_ruleElseIfThenExpCS17066 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L}); public static final BitSet FOLLOW_64_in_ruleElseIfThenExpCS17078 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_ruleElseIfThenExpCS17099 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLetExpCS_in_entryRuleLetExpCS17135 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleLetExpCS17145 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_61_in_ruleLetExpCS17182 = new BitSet(new long[]{0x0000003FFFFE0180L}); public static final BitSet FOLLOW_ruleLetVariableCS_in_ruleLetExpCS17203 = new BitSet(new long[]{0x1000100000000000L}); public static final BitSet FOLLOW_44_in_ruleLetExpCS17216 = new BitSet(new long[]{0x0000003FFFFE0180L}); public static final BitSet FOLLOW_ruleLetVariableCS_in_ruleLetExpCS17237 = new BitSet(new long[]{0x1000100000000000L}); public static final BitSet FOLLOW_60_in_ruleLetExpCS17251 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_ruleLetExpCS17272 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLetVariableCS_in_entryRuleLetVariableCS17308 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleLetVariableCS17318 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleLetVariableCS17364 = new BitSet(new long[]{0x00010C0000000000L}); public static final BitSet FOLLOW_ruleRoundBracketedClauseCS_in_ruleLetVariableCS17385 = new BitSet(new long[]{0x0001040000000000L}); public static final BitSet FOLLOW_42_in_ruleLetVariableCS17399 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleTypeExpCS_in_ruleLetVariableCS17420 = new BitSet(new long[]{0x0001000000000000L}); public static final BitSet FOLLOW_48_in_ruleLetVariableCS17434 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_ruleLetVariableCS17455 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleNestedExpCS_in_entryRuleNestedExpCS17491 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleNestedExpCS17501 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_43_in_ruleNestedExpCS17538 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_ruleNestedExpCS17559 = new BitSet(new long[]{0x0000200000000000L}); public static final BitSet FOLLOW_45_in_ruleNestedExpCS17571 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleSelfExpCS_in_entryRuleSelfExpCS17607 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleSelfExpCS17617 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_103_in_ruleSelfExpCS17666 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleMultiplicityBoundsCS_in_entryRuleMultiplicityBoundsCS17702 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicityBoundsCS17712 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLOWER_in_ruleMultiplicityBoundsCS17758 = new BitSet(new long[]{0x0000000000000002L,0x0000000010000000L}); public static final BitSet FOLLOW_92_in_ruleMultiplicityBoundsCS17771 = new BitSet(new long[]{0x0000000000000200L,0x0000000000000008L}); public static final BitSet FOLLOW_ruleUPPER_in_ruleMultiplicityBoundsCS17792 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleMultiplicityCS_in_entryRuleMultiplicityCS17830 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicityCS17840 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_100_in_ruleMultiplicityCS17877 = new BitSet(new long[]{0x0000000000000200L,0x0000040000000028L}); public static final BitSet FOLLOW_ruleMultiplicityBoundsCS_in_ruleMultiplicityCS17903 = new BitSet(new long[]{0x0000000000000000L,0x0000032000000000L}); public static final BitSet FOLLOW_ruleMultiplicityStringCS_in_ruleMultiplicityCS17933 = new BitSet(new long[]{0x0000000000000000L,0x0000032000000000L}); public static final BitSet FOLLOW_104_in_ruleMultiplicityCS17946 = new BitSet(new long[]{0x0000000000000000L,0x0000002000000000L}); public static final BitSet FOLLOW_105_in_ruleMultiplicityCS17970 = new BitSet(new long[]{0x0000000000000000L,0x0000002000000000L}); public static final BitSet FOLLOW_101_in_ruleMultiplicityCS17997 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleMultiplicityStringCS_in_entryRuleMultiplicityStringCS18033 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicityStringCS18043 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_67_in_ruleMultiplicityStringCS18087 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_69_in_ruleMultiplicityStringCS18116 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_106_in_ruleMultiplicityStringCS18145 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePathNameCS_in_entryRulePathNameCS18196 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRulePathNameCS18206 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleFirstPathElementCS_in_rulePathNameCS18252 = new BitSet(new long[]{0x0000020000000002L}); public static final BitSet FOLLOW_41_in_rulePathNameCS18265 = new BitSet(new long[]{0xFF8001BFFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleNextPathElementCS_in_rulePathNameCS18286 = new BitSet(new long[]{0x0000020000000002L}); public static final BitSet FOLLOW_ruleFirstPathElementCS_in_entryRuleFirstPathElementCS18324 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleFirstPathElementCS18334 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleFirstPathElementCS18385 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleNextPathElementCS_in_entryRuleNextPathElementCS18420 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleNextPathElementCS18430 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleUnreservedName_in_ruleNextPathElementCS18481 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTemplateBindingCS_in_entryRuleTemplateBindingCS18516 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleTemplateBindingCS18526 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTemplateParameterSubstitutionCS_in_ruleTemplateBindingCS18572 = new BitSet(new long[]{0x0000100000000002L,0x0000001000000000L}); public static final BitSet FOLLOW_44_in_ruleTemplateBindingCS18585 = new BitSet(new long[]{0xFFC001FFFFFE0190L,0x000004000FFF8003L}); public static final BitSet FOLLOW_ruleTemplateParameterSubstitutionCS_in_ruleTemplateBindingCS18606 = new BitSet(new long[]{0x0000100000000002L,0x0000001000000000L}); public static final BitSet FOLLOW_ruleMultiplicityCS_in_ruleTemplateBindingCS18629 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTemplateParameterSubstitutionCS_in_entryRuleTemplateParameterSubstitutionCS18666 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleTemplateParameterSubstitutionCS18676 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTypeRefCS_in_ruleTemplateParameterSubstitutionCS18721 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTemplateSignatureCS_in_entryRuleTemplateSignatureCS18756 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleTemplateSignatureCS18766 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_43_in_ruleTemplateSignatureCS18803 = new BitSet(new long[]{0x0000003FFFFE0180L}); public static final BitSet FOLLOW_ruleTypeParameterCS_in_ruleTemplateSignatureCS18824 = new BitSet(new long[]{0x0000300000000000L}); public static final BitSet FOLLOW_44_in_ruleTemplateSignatureCS18837 = new BitSet(new long[]{0x0000003FFFFE0180L}); public static final BitSet FOLLOW_ruleTypeParameterCS_in_ruleTemplateSignatureCS18858 = new BitSet(new long[]{0x0000300000000000L}); public static final BitSet FOLLOW_45_in_ruleTemplateSignatureCS18872 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTypeParameterCS_in_entryRuleTypeParameterCS18908 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleTypeParameterCS18918 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleTypeParameterCS18964 = new BitSet(new long[]{0x0000000000200002L}); public static final BitSet FOLLOW_21_in_ruleTypeParameterCS18977 = new BitSet(new long[]{0xFFC001FFFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleTypedRefCS_in_ruleTypeParameterCS18998 = new BitSet(new long[]{0x0000000000000002L,0x0000080000000000L}); public static final BitSet FOLLOW_107_in_ruleTypeParameterCS19011 = new BitSet(new long[]{0xFFC001FFFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleTypedRefCS_in_ruleTypeParameterCS19032 = new BitSet(new long[]{0x0000000000000002L,0x0000080000000000L}); public static final BitSet FOLLOW_ruleTypeRefCS_in_entryRuleTypeRefCS19072 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleTypeRefCS19082 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTypedRefCS_in_ruleTypeRefCS19132 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleWildcardTypeRefCS_in_ruleTypeRefCS19162 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleWildcardTypeRefCS_in_entryRuleWildcardTypeRefCS19197 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleWildcardTypeRefCS19207 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_106_in_ruleWildcardTypeRefCS19256 = new BitSet(new long[]{0x0000000000200002L}); public static final BitSet FOLLOW_21_in_ruleWildcardTypeRefCS19269 = new BitSet(new long[]{0xFFC001FFFFFE0190L,0x000000000FFF8003L}); public static final BitSet FOLLOW_ruleTypedRefCS_in_ruleWildcardTypeRefCS19290 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleID_in_entryRuleID19329 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleID19340 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_RULE_SIMPLE_ID_in_ruleID19380 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_RULE_ESCAPED_ID_in_ruleID19406 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleLOWER_in_entryRuleLOWER19452 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleLOWER19463 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_RULE_INT_in_ruleLOWER19502 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleNUMBER_LITERAL_in_entryRuleNUMBER_LITERAL19547 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleNUMBER_LITERAL19558 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_RULE_INT_in_ruleNUMBER_LITERAL19597 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral19642 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteral19653 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleStringLiteral19692 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleUPPER_in_entryRuleUPPER19737 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleUPPER19748 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_RULE_INT_in_ruleUPPER19788 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_67_in_ruleUPPER19812 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleURI_in_entryRuleURI19853 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleURI19864 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleURI19903 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTypeLiteralCS_in_synpred197_InternalOCLstdlib14051 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePrefixedPrimaryExpCS_in_synpred200_InternalOCLstdlib14200 = new BitSet(new long[]{0x8881000000000002L,0x0000000000007FFEL}); public static final BitSet FOLLOW_ruleBinaryOperatorName_in_synpred200_InternalOCLstdlib14233 = new BitSet(new long[]{0xFF8009FFFFFE03B0L,0x000000878FFF800FL}); public static final BitSet FOLLOW_ruleExpCS_in_synpred200_InternalOCLstdlib14254 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTupleLiteralExpCS_in_synpred207_InternalOCLstdlib14817 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleMapLiteralExpCS_in_synpred208_InternalOCLstdlib14847 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleCollectionLiteralExpCS_in_synpred209_InternalOCLstdlib14877 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTypeLiteralExpCS_in_synpred211_InternalOCLstdlib14937 = new BitSet(new long[]{0x0000000000000002L}); } }