| package org.eclipse.qvtd.xtext.qvtrelation.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.qvtd.xtext.qvtrelation.services.QVTrelationGrammarAccess;
|
|
|
|
|
|
|
| import org.antlr.runtime.*;
|
| import java.util.Stack;
|
| import java.util.List;
|
| import java.util.ArrayList;
|
| import java.util.Map;
|
| import java.util.HashMap;
|
| @SuppressWarnings("all") |
| public class InternalQVTrelationParser extends AbstractInternalAntlrParser {
|
| public static final String[] tokenNames = new String[] {
|
| "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_SIMPLE_ID", "RULE_ESCAPED_ID", "RULE_INT", "RULE_SINGLE_QUOTED_STRING", "RULE_ESCAPED_CHARACTER", "RULE_LETTER_CHARACTER", "RULE_DOUBLE_QUOTED_STRING", "RULE_ML_SINGLE_QUOTED_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "':'", "'{'", "','", "'++'", "'_'", "'}'", "'='", "';'", "'checkonly'", "'enforce'", "'replace'", "'domain'", "'implementedby'", "'default_values'", "'key'", "'library'", "'primitive'", "'query'", "'('", "')'", "'top'", "'relation'", "'overrides'", "'transformation'", "'extends'", "'import'", "'::'", "'*'", "'when'", "'where'", "'-'", "'not'", "'/'", "'+'", "'>'", "'<'", "'>='", "'<='", "'<>'", "'and'", "'or'", "'xor'", "'implies'", "'.'", "'->'", "'Tuple'", "'Boolean'", "'Integer'", "'Real'", "'String'", "'UnlimitedNatural'", "'OclAny'", "'OclInvalid'", "'OclVoid'", "'Set'", "'Bag'", "'Sequence'", "'Collection'", "'OrderedSet'", "'..'", "'['", "']'", "'?'", "'true'", "'false'", "'invalid'", "'null'", "'@'", "'pre'", "'|'", "'if'", "'then'", "'else'", "'endif'", "'let'", "'in'", "'self'"
|
| };
|
| public static final int T__29=29;
|
| public static final int T__28=28;
|
| public static final int T__27=27;
|
| public static final int T__26=26;
|
| public static final int T__25=25;
|
| public static final int RULE_ESCAPED_CHARACTER=8;
|
| public static final int T__24=24;
|
| public static final int T__23=23;
|
| public static final int T__22=22;
|
| public static final int RULE_ANY_OTHER=15;
|
| public static final int T__21=21;
|
| public static final int T__20=20;
|
| public static final int RULE_ESCAPED_ID=5;
|
| public static final int RULE_DOUBLE_QUOTED_STRING=10;
|
| public static final int EOF=-1;
|
| public static final int T__19=19;
|
| public static final int T__91=91;
|
| public static final int T__92=92;
|
| public static final int T__16=16;
|
| public static final int T__90=90;
|
| public static final int T__18=18;
|
| public static final int T__17=17;
|
| public static final int RULE_SIMPLE_ID=4;
|
| public static final int T__80=80;
|
| public static final int T__81=81;
|
| public static final int T__82=82;
|
| public static final int T__83=83;
|
| public static final int RULE_SINGLE_QUOTED_STRING=7;
|
| public static final int T__85=85;
|
| public static final int T__84=84;
|
| public static final int T__87=87;
|
| public static final int T__86=86;
|
| public static final int T__89=89;
|
| public static final int T__88=88;
|
| public static final int RULE_LETTER_CHARACTER=9;
|
| public static final int RULE_ML_COMMENT=12;
|
| public static final int T__71=71;
|
| public static final int T__72=72;
|
| public static final int T__70=70;
|
| public static final int T__76=76;
|
| public static final int T__75=75;
|
| public static final int T__74=74;
|
| public static final int T__73=73;
|
| public static final int T__79=79;
|
| public static final int T__78=78;
|
| public static final int T__77=77;
|
| public static final int T__68=68;
|
| public static final int T__69=69;
|
| public static final int T__66=66;
|
| public static final int T__67=67;
|
| public static final int T__64=64;
|
| public static final int T__65=65;
|
| public static final int T__62=62;
|
| public static final int T__63=63;
|
| public static final int T__61=61;
|
| public static final int T__60=60;
|
| public static final int T__55=55;
|
| public static final int T__56=56;
|
| public static final int T__57=57;
|
| public static final int T__58=58;
|
| public static final int T__51=51;
|
| public static final int T__52=52;
|
| public static final int T__53=53;
|
| public static final int T__54=54;
|
| public static final int T__59=59;
|
| public static final int RULE_INT=6;
|
| public static final int T__50=50;
|
| public static final int T__42=42;
|
| public static final int T__43=43;
|
| public static final int T__40=40;
|
| public static final int T__41=41;
|
| public static final int RULE_ML_SINGLE_QUOTED_STRING=11;
|
| public static final int T__46=46;
|
| public static final int T__47=47;
|
| public static final int T__44=44;
|
| public static final int T__45=45;
|
| public static final int T__48=48;
|
| public static final int T__49=49;
|
| public static final int RULE_SL_COMMENT=13;
|
| public static final int T__30=30;
|
| public static final int T__31=31;
|
| public static final int T__32=32;
|
| public static final int T__33=33;
|
| public static final int T__34=34;
|
| public static final int T__35=35;
|
| public static final int T__36=36;
|
| public static final int T__37=37;
|
| public static final int T__38=38;
|
| public static final int T__39=39;
|
| public static final int RULE_WS=14;
|
|
|
| // delegates
|
| // delegators
|
|
|
|
|
| public InternalQVTrelationParser(TokenStream input) {
|
| this(input, new RecognizerSharedState());
|
| }
|
| public InternalQVTrelationParser(TokenStream input, RecognizerSharedState state) {
|
| super(input, state);
|
|
|
| }
|
|
|
|
|
| public String[] getTokenNames() { return InternalQVTrelationParser.tokenNames; }
|
| public String getGrammarFileName() { return "../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.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 QVTrelationGrammarAccess grammarAccess;
|
|
|
| public InternalQVTrelationParser(TokenStream input, QVTrelationGrammarAccess grammarAccess) {
|
| this(input);
|
| this.grammarAccess = grammarAccess;
|
| registerRules(grammarAccess.getGrammar());
|
| }
|
|
|
| @Override
|
| protected String getFirstRuleName() {
|
| return "TopLevelCS";
|
| }
|
|
|
| @Override
|
| protected QVTrelationGrammarAccess getGrammarAccess() {
|
| return grammarAccess;
|
| }
|
|
|
|
|
|
|
| // $ANTLR start "entryRuleTopLevelCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:73:1: entryRuleTopLevelCS returns [EObject current=null] : iv_ruleTopLevelCS= ruleTopLevelCS EOF ;
|
| public final EObject entryRuleTopLevelCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleTopLevelCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:74:2: (iv_ruleTopLevelCS= ruleTopLevelCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:75:2: iv_ruleTopLevelCS= ruleTopLevelCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getTopLevelCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTopLevelCS_in_entryRuleTopLevelCS81);
|
| iv_ruleTopLevelCS=ruleTopLevelCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleTopLevelCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTopLevelCS91); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleTopLevelCS"
|
|
|
|
|
| // $ANTLR start "ruleTopLevelCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:82:1: ruleTopLevelCS returns [EObject current=null] : ( ( ( (lv_ownedImport_0_0= ruleUnitCS ) ) | ( (lv_ownedLibrary_1_0= ruleLibraryCS ) ) )* ( (lv_transformations_2_0= ruleTransformationCS ) )* ) ;
|
| public final EObject ruleTopLevelCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject lv_ownedImport_0_0 = null;
|
|
|
| EObject lv_ownedLibrary_1_0 = null;
|
|
|
| EObject lv_transformations_2_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:85:28: ( ( ( ( (lv_ownedImport_0_0= ruleUnitCS ) ) | ( (lv_ownedLibrary_1_0= ruleLibraryCS ) ) )* ( (lv_transformations_2_0= ruleTransformationCS ) )* ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:86:1: ( ( ( (lv_ownedImport_0_0= ruleUnitCS ) ) | ( (lv_ownedLibrary_1_0= ruleLibraryCS ) ) )* ( (lv_transformations_2_0= ruleTransformationCS ) )* )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:86:1: ( ( ( (lv_ownedImport_0_0= ruleUnitCS ) ) | ( (lv_ownedLibrary_1_0= ruleLibraryCS ) ) )* ( (lv_transformations_2_0= ruleTransformationCS ) )* )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:86:2: ( ( (lv_ownedImport_0_0= ruleUnitCS ) ) | ( (lv_ownedLibrary_1_0= ruleLibraryCS ) ) )* ( (lv_transformations_2_0= ruleTransformationCS ) )*
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:86:2: ( ( (lv_ownedImport_0_0= ruleUnitCS ) ) | ( (lv_ownedLibrary_1_0= ruleLibraryCS ) ) )*
|
| loop1:
|
| do {
|
| int alt1=3;
|
| int LA1_0 = input.LA(1);
|
|
|
| if ( (LA1_0==41) ) {
|
| alt1=1;
|
| }
|
| else if ( (LA1_0==31) ) {
|
| alt1=2;
|
| }
|
|
|
|
|
| switch (alt1) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:86:3: ( (lv_ownedImport_0_0= ruleUnitCS ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:86:3: ( (lv_ownedImport_0_0= ruleUnitCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:87:1: (lv_ownedImport_0_0= ruleUnitCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:87:1: (lv_ownedImport_0_0= ruleUnitCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:88:3: lv_ownedImport_0_0= ruleUnitCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTopLevelCSAccess().getOwnedImportUnitCSParserRuleCall_0_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnitCS_in_ruleTopLevelCS138);
|
| lv_ownedImport_0_0=ruleUnitCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getTopLevelCSRule());
|
| }
|
| add(
|
| current,
|
| "ownedImport",
|
| lv_ownedImport_0_0,
|
| "UnitCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:105:6: ( (lv_ownedLibrary_1_0= ruleLibraryCS ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:105:6: ( (lv_ownedLibrary_1_0= ruleLibraryCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:106:1: (lv_ownedLibrary_1_0= ruleLibraryCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:106:1: (lv_ownedLibrary_1_0= ruleLibraryCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:107:3: lv_ownedLibrary_1_0= ruleLibraryCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTopLevelCSAccess().getOwnedLibraryLibraryCSParserRuleCall_0_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleLibraryCS_in_ruleTopLevelCS165);
|
| lv_ownedLibrary_1_0=ruleLibraryCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getTopLevelCSRule());
|
| }
|
| add(
|
| current,
|
| "ownedLibrary",
|
| lv_ownedLibrary_1_0,
|
| "LibraryCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop1;
|
| }
|
| } while (true);
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:123:4: ( (lv_transformations_2_0= ruleTransformationCS ) )*
|
| loop2:
|
| do {
|
| int alt2=2;
|
| int LA2_0 = input.LA(1);
|
|
|
| if ( (LA2_0==39) ) {
|
| alt2=1;
|
| }
|
|
|
|
|
| switch (alt2) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:124:1: (lv_transformations_2_0= ruleTransformationCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:124:1: (lv_transformations_2_0= ruleTransformationCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:125:3: lv_transformations_2_0= ruleTransformationCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTopLevelCSAccess().getTransformationsTransformationCSParserRuleCall_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTransformationCS_in_ruleTopLevelCS188);
|
| lv_transformations_2_0=ruleTransformationCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getTopLevelCSRule());
|
| }
|
| add(
|
| current,
|
| "transformations",
|
| lv_transformations_2_0,
|
| "TransformationCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop2;
|
| }
|
| } while (true);
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleTopLevelCS"
|
|
|
|
|
| // $ANTLR start "entryRuleCollectionTemplateCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:149:1: entryRuleCollectionTemplateCS returns [EObject current=null] : iv_ruleCollectionTemplateCS= ruleCollectionTemplateCS EOF ;
|
| public final EObject entryRuleCollectionTemplateCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleCollectionTemplateCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:150:2: (iv_ruleCollectionTemplateCS= ruleCollectionTemplateCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:151:2: iv_ruleCollectionTemplateCS= ruleCollectionTemplateCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getCollectionTemplateCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleCollectionTemplateCS_in_entryRuleCollectionTemplateCS225);
|
| iv_ruleCollectionTemplateCS=ruleCollectionTemplateCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleCollectionTemplateCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCollectionTemplateCS235); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleCollectionTemplateCS"
|
|
|
|
|
| // $ANTLR start "ruleCollectionTemplateCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:158:1: ruleCollectionTemplateCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleUnrestrictedName ) )? otherlv_1= ':' ( (lv_type_2_0= ruleCollectionTypeCS ) ) otherlv_3= '{' ( ( ( (lv_memberIdentifiers_4_1= ruleTemplateCS | lv_memberIdentifiers_4_2= ruleElementTemplateCS ) ) ) (otherlv_5= ',' ( ( (lv_memberIdentifiers_6_1= ruleTemplateCS | lv_memberIdentifiers_6_2= ruleElementTemplateCS ) ) ) )* otherlv_7= '++' ( ( ( ruleUnrestrictedName ) ) | otherlv_9= '_' ) )? otherlv_10= '}' ) ;
|
| public final EObject ruleCollectionTemplateCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_1=null;
|
| Token otherlv_3=null;
|
| Token otherlv_5=null;
|
| Token otherlv_7=null;
|
| Token otherlv_9=null;
|
| Token otherlv_10=null;
|
| AntlrDatatypeRuleToken lv_name_0_0 = null;
|
|
|
| EObject lv_type_2_0 = null;
|
|
|
| EObject lv_memberIdentifiers_4_1 = null;
|
|
|
| EObject lv_memberIdentifiers_4_2 = null;
|
|
|
| EObject lv_memberIdentifiers_6_1 = null;
|
|
|
| EObject lv_memberIdentifiers_6_2 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:161:28: ( ( ( (lv_name_0_0= ruleUnrestrictedName ) )? otherlv_1= ':' ( (lv_type_2_0= ruleCollectionTypeCS ) ) otherlv_3= '{' ( ( ( (lv_memberIdentifiers_4_1= ruleTemplateCS | lv_memberIdentifiers_4_2= ruleElementTemplateCS ) ) ) (otherlv_5= ',' ( ( (lv_memberIdentifiers_6_1= ruleTemplateCS | lv_memberIdentifiers_6_2= ruleElementTemplateCS ) ) ) )* otherlv_7= '++' ( ( ( ruleUnrestrictedName ) ) | otherlv_9= '_' ) )? otherlv_10= '}' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:162:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) )? otherlv_1= ':' ( (lv_type_2_0= ruleCollectionTypeCS ) ) otherlv_3= '{' ( ( ( (lv_memberIdentifiers_4_1= ruleTemplateCS | lv_memberIdentifiers_4_2= ruleElementTemplateCS ) ) ) (otherlv_5= ',' ( ( (lv_memberIdentifiers_6_1= ruleTemplateCS | lv_memberIdentifiers_6_2= ruleElementTemplateCS ) ) ) )* otherlv_7= '++' ( ( ( ruleUnrestrictedName ) ) | otherlv_9= '_' ) )? otherlv_10= '}' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:162:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) )? otherlv_1= ':' ( (lv_type_2_0= ruleCollectionTypeCS ) ) otherlv_3= '{' ( ( ( (lv_memberIdentifiers_4_1= ruleTemplateCS | lv_memberIdentifiers_4_2= ruleElementTemplateCS ) ) ) (otherlv_5= ',' ( ( (lv_memberIdentifiers_6_1= ruleTemplateCS | lv_memberIdentifiers_6_2= ruleElementTemplateCS ) ) ) )* otherlv_7= '++' ( ( ( ruleUnrestrictedName ) ) | otherlv_9= '_' ) )? otherlv_10= '}' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:162:2: ( (lv_name_0_0= ruleUnrestrictedName ) )? otherlv_1= ':' ( (lv_type_2_0= ruleCollectionTypeCS ) ) otherlv_3= '{' ( ( ( (lv_memberIdentifiers_4_1= ruleTemplateCS | lv_memberIdentifiers_4_2= ruleElementTemplateCS ) ) ) (otherlv_5= ',' ( ( (lv_memberIdentifiers_6_1= ruleTemplateCS | lv_memberIdentifiers_6_2= ruleElementTemplateCS ) ) ) )* otherlv_7= '++' ( ( ( ruleUnrestrictedName ) ) | otherlv_9= '_' ) )? otherlv_10= '}'
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:162:2: ( (lv_name_0_0= ruleUnrestrictedName ) )?
|
| int alt3=2;
|
| int LA3_0 = input.LA(1);
|
|
|
| if ( ((LA3_0>=RULE_SIMPLE_ID && LA3_0<=RULE_ESCAPED_ID)||(LA3_0>=24 && LA3_0<=33)||(LA3_0>=36 && LA3_0<=41)||(LA3_0>=44 && LA3_0<=45)) ) {
|
| alt3=1;
|
| }
|
| switch (alt3) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:163:1: (lv_name_0_0= ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:163:1: (lv_name_0_0= ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:164:3: lv_name_0_0= ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getCollectionTemplateCSAccess().getNameUnrestrictedNameParserRuleCall_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleCollectionTemplateCS281);
|
| lv_name_0_0=ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getCollectionTemplateCSRule());
|
| }
|
| set(
|
| current,
|
| "name",
|
| lv_name_0_0,
|
| "UnrestrictedName");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| otherlv_1=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleCollectionTemplateCS294); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getCollectionTemplateCSAccess().getColonKeyword_1());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:184:1: ( (lv_type_2_0= ruleCollectionTypeCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:185:1: (lv_type_2_0= ruleCollectionTypeCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:185:1: (lv_type_2_0= ruleCollectionTypeCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:186:3: lv_type_2_0= ruleCollectionTypeCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getCollectionTemplateCSAccess().getTypeCollectionTypeCSParserRuleCall_2_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeCS_in_ruleCollectionTemplateCS315);
|
| lv_type_2_0=ruleCollectionTypeCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getCollectionTemplateCSRule());
|
| }
|
| set(
|
| current,
|
| "type",
|
| lv_type_2_0,
|
| "CollectionTypeCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_3=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleCollectionTemplateCS327); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_3, grammarAccess.getCollectionTemplateCSAccess().getLeftCurlyBracketKeyword_3());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:206:1: ( ( ( (lv_memberIdentifiers_4_1= ruleTemplateCS | lv_memberIdentifiers_4_2= ruleElementTemplateCS ) ) ) (otherlv_5= ',' ( ( (lv_memberIdentifiers_6_1= ruleTemplateCS | lv_memberIdentifiers_6_2= ruleElementTemplateCS ) ) ) )* otherlv_7= '++' ( ( ( ruleUnrestrictedName ) ) | otherlv_9= '_' ) )?
|
| int alt8=2;
|
| int LA8_0 = input.LA(1);
|
|
|
| if ( ((LA8_0>=RULE_SIMPLE_ID && LA8_0<=RULE_ESCAPED_ID)||LA8_0==16||LA8_0==20||(LA8_0>=24 && LA8_0<=33)||(LA8_0>=36 && LA8_0<=41)||(LA8_0>=44 && LA8_0<=45)) ) {
|
| alt8=1;
|
| }
|
| switch (alt8) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:206:2: ( ( (lv_memberIdentifiers_4_1= ruleTemplateCS | lv_memberIdentifiers_4_2= ruleElementTemplateCS ) ) ) (otherlv_5= ',' ( ( (lv_memberIdentifiers_6_1= ruleTemplateCS | lv_memberIdentifiers_6_2= ruleElementTemplateCS ) ) ) )* otherlv_7= '++' ( ( ( ruleUnrestrictedName ) ) | otherlv_9= '_' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:206:2: ( ( (lv_memberIdentifiers_4_1= ruleTemplateCS | lv_memberIdentifiers_4_2= ruleElementTemplateCS ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:207:1: ( (lv_memberIdentifiers_4_1= ruleTemplateCS | lv_memberIdentifiers_4_2= ruleElementTemplateCS ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:207:1: ( (lv_memberIdentifiers_4_1= ruleTemplateCS | lv_memberIdentifiers_4_2= ruleElementTemplateCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:208:1: (lv_memberIdentifiers_4_1= ruleTemplateCS | lv_memberIdentifiers_4_2= ruleElementTemplateCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:208:1: (lv_memberIdentifiers_4_1= ruleTemplateCS | lv_memberIdentifiers_4_2= ruleElementTemplateCS )
|
| int alt4=2;
|
| alt4 = dfa4.predict(input);
|
| switch (alt4) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:209:3: lv_memberIdentifiers_4_1= ruleTemplateCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getCollectionTemplateCSAccess().getMemberIdentifiersTemplateCSParserRuleCall_4_0_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTemplateCS_in_ruleCollectionTemplateCS351);
|
| lv_memberIdentifiers_4_1=ruleTemplateCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getCollectionTemplateCSRule());
|
| }
|
| add(
|
| current,
|
| "memberIdentifiers",
|
| lv_memberIdentifiers_4_1,
|
| "TemplateCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:224:8: lv_memberIdentifiers_4_2= ruleElementTemplateCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getCollectionTemplateCSAccess().getMemberIdentifiersElementTemplateCSParserRuleCall_4_0_0_1());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleElementTemplateCS_in_ruleCollectionTemplateCS370);
|
| lv_memberIdentifiers_4_2=ruleElementTemplateCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getCollectionTemplateCSRule());
|
| }
|
| add(
|
| current,
|
| "memberIdentifiers",
|
| lv_memberIdentifiers_4_2,
|
| "ElementTemplateCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:242:2: (otherlv_5= ',' ( ( (lv_memberIdentifiers_6_1= ruleTemplateCS | lv_memberIdentifiers_6_2= ruleElementTemplateCS ) ) ) )*
|
| loop6:
|
| do {
|
| int alt6=2;
|
| int LA6_0 = input.LA(1);
|
|
|
| if ( (LA6_0==18) ) {
|
| alt6=1;
|
| }
|
|
|
|
|
| switch (alt6) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:242:4: otherlv_5= ',' ( ( (lv_memberIdentifiers_6_1= ruleTemplateCS | lv_memberIdentifiers_6_2= ruleElementTemplateCS ) ) )
|
| {
|
| otherlv_5=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleCollectionTemplateCS386); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_5, grammarAccess.getCollectionTemplateCSAccess().getCommaKeyword_4_1_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:246:1: ( ( (lv_memberIdentifiers_6_1= ruleTemplateCS | lv_memberIdentifiers_6_2= ruleElementTemplateCS ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:247:1: ( (lv_memberIdentifiers_6_1= ruleTemplateCS | lv_memberIdentifiers_6_2= ruleElementTemplateCS ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:247:1: ( (lv_memberIdentifiers_6_1= ruleTemplateCS | lv_memberIdentifiers_6_2= ruleElementTemplateCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:248:1: (lv_memberIdentifiers_6_1= ruleTemplateCS | lv_memberIdentifiers_6_2= ruleElementTemplateCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:248:1: (lv_memberIdentifiers_6_1= ruleTemplateCS | lv_memberIdentifiers_6_2= ruleElementTemplateCS )
|
| int alt5=2;
|
| alt5 = dfa5.predict(input);
|
| switch (alt5) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:249:3: lv_memberIdentifiers_6_1= ruleTemplateCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getCollectionTemplateCSAccess().getMemberIdentifiersTemplateCSParserRuleCall_4_1_1_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTemplateCS_in_ruleCollectionTemplateCS409);
|
| lv_memberIdentifiers_6_1=ruleTemplateCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getCollectionTemplateCSRule());
|
| }
|
| add(
|
| current,
|
| "memberIdentifiers",
|
| lv_memberIdentifiers_6_1,
|
| "TemplateCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:264:8: lv_memberIdentifiers_6_2= ruleElementTemplateCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getCollectionTemplateCSAccess().getMemberIdentifiersElementTemplateCSParserRuleCall_4_1_1_0_1());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleElementTemplateCS_in_ruleCollectionTemplateCS428);
|
| lv_memberIdentifiers_6_2=ruleElementTemplateCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getCollectionTemplateCSRule());
|
| }
|
| add(
|
| current,
|
| "memberIdentifiers",
|
| lv_memberIdentifiers_6_2,
|
| "ElementTemplateCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop6;
|
| }
|
| } while (true);
|
|
|
| otherlv_7=(Token)match(input,19,FollowSets000.FOLLOW_19_in_ruleCollectionTemplateCS445); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_7, grammarAccess.getCollectionTemplateCSAccess().getPlusSignPlusSignKeyword_4_2());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:286:1: ( ( ( ruleUnrestrictedName ) ) | otherlv_9= '_' )
|
| int alt7=2;
|
| int LA7_0 = input.LA(1);
|
|
|
| if ( ((LA7_0>=RULE_SIMPLE_ID && LA7_0<=RULE_ESCAPED_ID)||(LA7_0>=24 && LA7_0<=33)||(LA7_0>=36 && LA7_0<=41)||(LA7_0>=44 && LA7_0<=45)) ) {
|
| alt7=1;
|
| }
|
| else if ( (LA7_0==20) ) {
|
| alt7=2;
|
| }
|
| else {
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| NoViableAltException nvae =
|
| new NoViableAltException("", 7, 0, input);
|
|
|
| throw nvae;
|
| }
|
| switch (alt7) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:286:2: ( ( ruleUnrestrictedName ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:286:2: ( ( ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:287:1: ( ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:287:1: ( ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:288:3: ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getCollectionTemplateCSRule());
|
| }
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getCollectionTemplateCSAccess().getRestIdentifierVariableCrossReference_4_3_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleCollectionTemplateCS473);
|
| ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:305:7: otherlv_9= '_'
|
| {
|
| otherlv_9=(Token)match(input,20,FollowSets000.FOLLOW_20_in_ruleCollectionTemplateCS491); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_9, grammarAccess.getCollectionTemplateCSAccess().get_Keyword_4_3_1());
|
|
|
| }
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| otherlv_10=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleCollectionTemplateCS506); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_10, grammarAccess.getCollectionTemplateCSAccess().getRightCurlyBracketKeyword_5());
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleCollectionTemplateCS"
|
|
|
|
|
| // $ANTLR start "entryRuleDefaultValueCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:321:1: entryRuleDefaultValueCS returns [EObject current=null] : iv_ruleDefaultValueCS= ruleDefaultValueCS EOF ;
|
| public final EObject entryRuleDefaultValueCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleDefaultValueCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:322:2: (iv_ruleDefaultValueCS= ruleDefaultValueCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:323:2: iv_ruleDefaultValueCS= ruleDefaultValueCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getDefaultValueCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleDefaultValueCS_in_entryRuleDefaultValueCS542);
|
| iv_ruleDefaultValueCS=ruleDefaultValueCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleDefaultValueCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleDefaultValueCS552); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleDefaultValueCS"
|
|
|
|
|
| // $ANTLR start "ruleDefaultValueCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:330:1: ruleDefaultValueCS returns [EObject current=null] : ( ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( (lv_initialiser_2_0= ruleExpCS ) ) otherlv_3= ';' ) ;
|
| public final EObject ruleDefaultValueCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_1=null;
|
| Token otherlv_3=null;
|
| EObject lv_initialiser_2_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:333:28: ( ( ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( (lv_initialiser_2_0= ruleExpCS ) ) otherlv_3= ';' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:334:1: ( ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( (lv_initialiser_2_0= ruleExpCS ) ) otherlv_3= ';' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:334:1: ( ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( (lv_initialiser_2_0= ruleExpCS ) ) otherlv_3= ';' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:334:2: ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( (lv_initialiser_2_0= ruleExpCS ) ) otherlv_3= ';'
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:334:2: ( ( ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:335:1: ( ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:335:1: ( ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:336:3: ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getDefaultValueCSRule());
|
| }
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getDefaultValueCSAccess().getPropertyIdVariableCrossReference_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleDefaultValueCS604);
|
| ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_1=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleDefaultValueCS616); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getDefaultValueCSAccess().getEqualsSignKeyword_1());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:356:1: ( (lv_initialiser_2_0= ruleExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:357:1: (lv_initialiser_2_0= ruleExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:357:1: (lv_initialiser_2_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:358:3: lv_initialiser_2_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getDefaultValueCSAccess().getInitialiserExpCSParserRuleCall_2_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleDefaultValueCS637);
|
| lv_initialiser_2_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getDefaultValueCSRule());
|
| }
|
| set(
|
| current,
|
| "initialiser",
|
| lv_initialiser_2_0,
|
| "ExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_3=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleDefaultValueCS649); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_3, grammarAccess.getDefaultValueCSAccess().getSemicolonKeyword_3());
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleDefaultValueCS"
|
|
|
|
|
| // $ANTLR start "entryRuleDomainCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:386:1: entryRuleDomainCS returns [EObject current=null] : iv_ruleDomainCS= ruleDomainCS EOF ;
|
| public final EObject entryRuleDomainCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleDomainCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:387:2: (iv_ruleDomainCS= ruleDomainCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:388:2: iv_ruleDomainCS= ruleDomainCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getDomainCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleDomainCS_in_entryRuleDomainCS685);
|
| iv_ruleDomainCS=ruleDomainCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleDomainCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleDomainCS695); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleDomainCS"
|
|
|
|
|
| // $ANTLR start "ruleDomainCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:395:1: ruleDomainCS returns [EObject current=null] : ( ( ( (lv_checkonly_0_0= 'checkonly' ) ) | ( (lv_enforce_1_0= 'enforce' ) ) | otherlv_2= 'replace' )? otherlv_3= 'domain' ( ( ruleUnrestrictedName ) ) ( (lv_pattern_5_0= ruleDomainPatternCS ) ) (otherlv_6= 'implementedby' ( (lv_implementedBy_7_0= ruleExpCS ) ) )? (otherlv_8= 'default_values' otherlv_9= '{' ( (lv_defaultValues_10_0= ruleDefaultValueCS ) )+ otherlv_11= '}' )? otherlv_12= ';' ) ;
|
| public final EObject ruleDomainCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token lv_checkonly_0_0=null;
|
| Token lv_enforce_1_0=null;
|
| Token otherlv_2=null;
|
| Token otherlv_3=null;
|
| Token otherlv_6=null;
|
| Token otherlv_8=null;
|
| Token otherlv_9=null;
|
| Token otherlv_11=null;
|
| Token otherlv_12=null;
|
| EObject lv_pattern_5_0 = null;
|
|
|
| EObject lv_implementedBy_7_0 = null;
|
|
|
| EObject lv_defaultValues_10_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:398:28: ( ( ( ( (lv_checkonly_0_0= 'checkonly' ) ) | ( (lv_enforce_1_0= 'enforce' ) ) | otherlv_2= 'replace' )? otherlv_3= 'domain' ( ( ruleUnrestrictedName ) ) ( (lv_pattern_5_0= ruleDomainPatternCS ) ) (otherlv_6= 'implementedby' ( (lv_implementedBy_7_0= ruleExpCS ) ) )? (otherlv_8= 'default_values' otherlv_9= '{' ( (lv_defaultValues_10_0= ruleDefaultValueCS ) )+ otherlv_11= '}' )? otherlv_12= ';' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:399:1: ( ( ( (lv_checkonly_0_0= 'checkonly' ) ) | ( (lv_enforce_1_0= 'enforce' ) ) | otherlv_2= 'replace' )? otherlv_3= 'domain' ( ( ruleUnrestrictedName ) ) ( (lv_pattern_5_0= ruleDomainPatternCS ) ) (otherlv_6= 'implementedby' ( (lv_implementedBy_7_0= ruleExpCS ) ) )? (otherlv_8= 'default_values' otherlv_9= '{' ( (lv_defaultValues_10_0= ruleDefaultValueCS ) )+ otherlv_11= '}' )? otherlv_12= ';' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:399:1: ( ( ( (lv_checkonly_0_0= 'checkonly' ) ) | ( (lv_enforce_1_0= 'enforce' ) ) | otherlv_2= 'replace' )? otherlv_3= 'domain' ( ( ruleUnrestrictedName ) ) ( (lv_pattern_5_0= ruleDomainPatternCS ) ) (otherlv_6= 'implementedby' ( (lv_implementedBy_7_0= ruleExpCS ) ) )? (otherlv_8= 'default_values' otherlv_9= '{' ( (lv_defaultValues_10_0= ruleDefaultValueCS ) )+ otherlv_11= '}' )? otherlv_12= ';' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:399:2: ( ( (lv_checkonly_0_0= 'checkonly' ) ) | ( (lv_enforce_1_0= 'enforce' ) ) | otherlv_2= 'replace' )? otherlv_3= 'domain' ( ( ruleUnrestrictedName ) ) ( (lv_pattern_5_0= ruleDomainPatternCS ) ) (otherlv_6= 'implementedby' ( (lv_implementedBy_7_0= ruleExpCS ) ) )? (otherlv_8= 'default_values' otherlv_9= '{' ( (lv_defaultValues_10_0= ruleDefaultValueCS ) )+ otherlv_11= '}' )? otherlv_12= ';'
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:399:2: ( ( (lv_checkonly_0_0= 'checkonly' ) ) | ( (lv_enforce_1_0= 'enforce' ) ) | otherlv_2= 'replace' )?
|
| int alt9=4;
|
| switch ( input.LA(1) ) {
|
| case 24:
|
| {
|
| alt9=1;
|
| }
|
| break;
|
| case 25:
|
| {
|
| alt9=2;
|
| }
|
| break;
|
| case 26:
|
| {
|
| alt9=3;
|
| }
|
| break;
|
| }
|
|
|
| switch (alt9) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:399:3: ( (lv_checkonly_0_0= 'checkonly' ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:399:3: ( (lv_checkonly_0_0= 'checkonly' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:400:1: (lv_checkonly_0_0= 'checkonly' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:400:1: (lv_checkonly_0_0= 'checkonly' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:401:3: lv_checkonly_0_0= 'checkonly'
|
| {
|
| lv_checkonly_0_0=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleDomainCS739); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_checkonly_0_0, grammarAccess.getDomainCSAccess().getCheckonlyCheckonlyKeyword_0_0_0());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getDomainCSRule());
|
| }
|
| setWithLastConsumed(current, "checkonly", true, "checkonly");
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:415:6: ( (lv_enforce_1_0= 'enforce' ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:415:6: ( (lv_enforce_1_0= 'enforce' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:416:1: (lv_enforce_1_0= 'enforce' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:416:1: (lv_enforce_1_0= 'enforce' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:417:3: lv_enforce_1_0= 'enforce'
|
| {
|
| lv_enforce_1_0=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleDomainCS776); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_enforce_1_0, grammarAccess.getDomainCSAccess().getEnforceEnforceKeyword_0_1_0());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getDomainCSRule());
|
| }
|
| setWithLastConsumed(current, "enforce", true, "enforce");
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
| case 3 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:431:7: otherlv_2= 'replace'
|
| {
|
| otherlv_2=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleDomainCS807); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_2, grammarAccess.getDomainCSAccess().getReplaceKeyword_0_2());
|
|
|
| }
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| otherlv_3=(Token)match(input,27,FollowSets000.FOLLOW_27_in_ruleDomainCS821); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_3, grammarAccess.getDomainCSAccess().getDomainKeyword_1());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:439:1: ( ( ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:440:1: ( ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:440:1: ( ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:441:3: ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getDomainCSRule());
|
| }
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getDomainCSAccess().getModelIdTypedModelCrossReference_2_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleDomainCS848);
|
| ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:457:2: ( (lv_pattern_5_0= ruleDomainPatternCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:458:1: (lv_pattern_5_0= ruleDomainPatternCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:458:1: (lv_pattern_5_0= ruleDomainPatternCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:459:3: lv_pattern_5_0= ruleDomainPatternCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getDomainCSAccess().getPatternDomainPatternCSParserRuleCall_3_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleDomainPatternCS_in_ruleDomainCS869);
|
| lv_pattern_5_0=ruleDomainPatternCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getDomainCSRule());
|
| }
|
| set(
|
| current,
|
| "pattern",
|
| lv_pattern_5_0,
|
| "DomainPatternCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:475:2: (otherlv_6= 'implementedby' ( (lv_implementedBy_7_0= ruleExpCS ) ) )?
|
| int alt10=2;
|
| int LA10_0 = input.LA(1);
|
|
|
| if ( (LA10_0==28) ) {
|
| alt10=1;
|
| }
|
| switch (alt10) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:475:4: otherlv_6= 'implementedby' ( (lv_implementedBy_7_0= ruleExpCS ) )
|
| {
|
| otherlv_6=(Token)match(input,28,FollowSets000.FOLLOW_28_in_ruleDomainCS882); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_6, grammarAccess.getDomainCSAccess().getImplementedbyKeyword_4_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:479:1: ( (lv_implementedBy_7_0= ruleExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:480:1: (lv_implementedBy_7_0= ruleExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:480:1: (lv_implementedBy_7_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:481:3: lv_implementedBy_7_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getDomainCSAccess().getImplementedByExpCSParserRuleCall_4_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleDomainCS903);
|
| lv_implementedBy_7_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getDomainCSRule());
|
| }
|
| set(
|
| current,
|
| "implementedBy",
|
| lv_implementedBy_7_0,
|
| "ExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:497:4: (otherlv_8= 'default_values' otherlv_9= '{' ( (lv_defaultValues_10_0= ruleDefaultValueCS ) )+ otherlv_11= '}' )?
|
| int alt12=2;
|
| int LA12_0 = input.LA(1);
|
|
|
| if ( (LA12_0==29) ) {
|
| alt12=1;
|
| }
|
| switch (alt12) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:497:6: otherlv_8= 'default_values' otherlv_9= '{' ( (lv_defaultValues_10_0= ruleDefaultValueCS ) )+ otherlv_11= '}'
|
| {
|
| otherlv_8=(Token)match(input,29,FollowSets000.FOLLOW_29_in_ruleDomainCS918); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_8, grammarAccess.getDomainCSAccess().getDefault_valuesKeyword_5_0());
|
|
|
| }
|
| otherlv_9=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleDomainCS930); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_9, grammarAccess.getDomainCSAccess().getLeftCurlyBracketKeyword_5_1());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:505:1: ( (lv_defaultValues_10_0= ruleDefaultValueCS ) )+
|
| int cnt11=0;
|
| loop11:
|
| do {
|
| int alt11=2;
|
| int LA11_0 = input.LA(1);
|
|
|
| if ( ((LA11_0>=RULE_SIMPLE_ID && LA11_0<=RULE_ESCAPED_ID)||(LA11_0>=24 && LA11_0<=33)||(LA11_0>=36 && LA11_0<=41)||(LA11_0>=44 && LA11_0<=45)) ) {
|
| alt11=1;
|
| }
|
|
|
|
|
| switch (alt11) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:506:1: (lv_defaultValues_10_0= ruleDefaultValueCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:506:1: (lv_defaultValues_10_0= ruleDefaultValueCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:507:3: lv_defaultValues_10_0= ruleDefaultValueCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getDomainCSAccess().getDefaultValuesDefaultValueCSParserRuleCall_5_2_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleDefaultValueCS_in_ruleDomainCS951);
|
| lv_defaultValues_10_0=ruleDefaultValueCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getDomainCSRule());
|
| }
|
| add(
|
| current,
|
| "defaultValues",
|
| lv_defaultValues_10_0,
|
| "DefaultValueCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| if ( cnt11 >= 1 ) break loop11;
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| EarlyExitException eee =
|
| new EarlyExitException(11, input);
|
| throw eee;
|
| }
|
| cnt11++;
|
| } while (true);
|
|
|
| otherlv_11=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleDomainCS964); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_11, grammarAccess.getDomainCSAccess().getRightCurlyBracketKeyword_5_3());
|
|
|
| }
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| otherlv_12=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleDomainCS978); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_12, grammarAccess.getDomainCSAccess().getSemicolonKeyword_6());
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleDomainCS"
|
|
|
|
|
| // $ANTLR start "entryRuleDomainPatternCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:539:1: entryRuleDomainPatternCS returns [EObject current=null] : iv_ruleDomainPatternCS= ruleDomainPatternCS EOF ;
|
| public final EObject entryRuleDomainPatternCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleDomainPatternCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:540:2: (iv_ruleDomainPatternCS= ruleDomainPatternCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:541:2: iv_ruleDomainPatternCS= ruleDomainPatternCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getDomainPatternCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleDomainPatternCS_in_entryRuleDomainPatternCS1014);
|
| iv_ruleDomainPatternCS=ruleDomainPatternCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleDomainPatternCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleDomainPatternCS1024); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleDomainPatternCS"
|
|
|
|
|
| // $ANTLR start "ruleDomainPatternCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:548:1: ruleDomainPatternCS returns [EObject current=null] : ( (lv_template_0_0= ruleTemplateCS ) ) ;
|
| public final EObject ruleDomainPatternCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject lv_template_0_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:551:28: ( ( (lv_template_0_0= ruleTemplateCS ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:552:1: ( (lv_template_0_0= ruleTemplateCS ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:552:1: ( (lv_template_0_0= ruleTemplateCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:553:1: (lv_template_0_0= ruleTemplateCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:553:1: (lv_template_0_0= ruleTemplateCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:554:3: lv_template_0_0= ruleTemplateCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getDomainPatternCSAccess().getTemplateTemplateCSParserRuleCall_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTemplateCS_in_ruleDomainPatternCS1069);
|
| lv_template_0_0=ruleTemplateCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getDomainPatternCSRule());
|
| }
|
| set(
|
| current,
|
| "template",
|
| lv_template_0_0,
|
| "TemplateCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleDomainPatternCS"
|
|
|
|
|
| // $ANTLR start "entryRuleElementTemplateCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:578:1: entryRuleElementTemplateCS returns [EObject current=null] : iv_ruleElementTemplateCS= ruleElementTemplateCS EOF ;
|
| public final EObject entryRuleElementTemplateCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleElementTemplateCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:579:2: (iv_ruleElementTemplateCS= ruleElementTemplateCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:580:2: iv_ruleElementTemplateCS= ruleElementTemplateCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getElementTemplateCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleElementTemplateCS_in_entryRuleElementTemplateCS1104);
|
| iv_ruleElementTemplateCS=ruleElementTemplateCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleElementTemplateCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleElementTemplateCS1114); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleElementTemplateCS"
|
|
|
|
|
| // $ANTLR start "ruleElementTemplateCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:587:1: ruleElementTemplateCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleUnrestrictedName ) ) | ( () otherlv_2= '_' ) ) ;
|
| public final EObject ruleElementTemplateCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_2=null;
|
| AntlrDatatypeRuleToken lv_name_0_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:590:28: ( ( ( (lv_name_0_0= ruleUnrestrictedName ) ) | ( () otherlv_2= '_' ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:591:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) | ( () otherlv_2= '_' ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:591:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) | ( () otherlv_2= '_' ) )
|
| int alt13=2;
|
| int LA13_0 = input.LA(1);
|
|
|
| if ( ((LA13_0>=RULE_SIMPLE_ID && LA13_0<=RULE_ESCAPED_ID)||(LA13_0>=24 && LA13_0<=33)||(LA13_0>=36 && LA13_0<=41)||(LA13_0>=44 && LA13_0<=45)) ) {
|
| alt13=1;
|
| }
|
| else if ( (LA13_0==20) ) {
|
| alt13=2;
|
| }
|
| else {
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| NoViableAltException nvae =
|
| new NoViableAltException("", 13, 0, input);
|
|
|
| throw nvae;
|
| }
|
| switch (alt13) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:591:2: ( (lv_name_0_0= ruleUnrestrictedName ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:591:2: ( (lv_name_0_0= ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:592:1: (lv_name_0_0= ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:592:1: (lv_name_0_0= ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:593:3: lv_name_0_0= ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getElementTemplateCSAccess().getNameUnrestrictedNameParserRuleCall_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleElementTemplateCS1160);
|
| lv_name_0_0=ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getElementTemplateCSRule());
|
| }
|
| set(
|
| current,
|
| "name",
|
| lv_name_0_0,
|
| "UnrestrictedName");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:610:6: ( () otherlv_2= '_' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:610:6: ( () otherlv_2= '_' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:610:7: () otherlv_2= '_'
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:610:7: ()
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:611:2:
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| current = forceCreateModelElement(
|
| grammarAccess.getElementTemplateCSAccess().getElementTemplateCSAction_1_0(),
|
| current);
|
|
|
| }
|
|
|
| }
|
|
|
| otherlv_2=(Token)match(input,20,FollowSets000.FOLLOW_20_in_ruleElementTemplateCS1191); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_2, grammarAccess.getElementTemplateCSAccess().get_Keyword_1_1());
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleElementTemplateCS"
|
|
|
|
|
| // $ANTLR start "entryRuleKeyDeclCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:631:1: entryRuleKeyDeclCS returns [EObject current=null] : iv_ruleKeyDeclCS= ruleKeyDeclCS EOF ;
|
| public final EObject entryRuleKeyDeclCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleKeyDeclCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:632:2: (iv_ruleKeyDeclCS= ruleKeyDeclCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:633:2: iv_ruleKeyDeclCS= ruleKeyDeclCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getKeyDeclCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleKeyDeclCS_in_entryRuleKeyDeclCS1228);
|
| iv_ruleKeyDeclCS=ruleKeyDeclCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleKeyDeclCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleKeyDeclCS1238); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleKeyDeclCS"
|
|
|
|
|
| // $ANTLR start "ruleKeyDeclCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:640:1: ruleKeyDeclCS returns [EObject current=null] : (otherlv_0= 'key' ( (lv_pathName_1_0= rulePathNameCS ) ) otherlv_2= '{' ( ( ruleUnrestrictedName ) ) (otherlv_4= ',' ( ( ruleUnrestrictedName ) ) )* otherlv_6= '}' otherlv_7= ';' ) ;
|
| public final EObject ruleKeyDeclCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_0=null;
|
| Token otherlv_2=null;
|
| Token otherlv_4=null;
|
| Token otherlv_6=null;
|
| Token otherlv_7=null;
|
| EObject lv_pathName_1_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:643:28: ( (otherlv_0= 'key' ( (lv_pathName_1_0= rulePathNameCS ) ) otherlv_2= '{' ( ( ruleUnrestrictedName ) ) (otherlv_4= ',' ( ( ruleUnrestrictedName ) ) )* otherlv_6= '}' otherlv_7= ';' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:644:1: (otherlv_0= 'key' ( (lv_pathName_1_0= rulePathNameCS ) ) otherlv_2= '{' ( ( ruleUnrestrictedName ) ) (otherlv_4= ',' ( ( ruleUnrestrictedName ) ) )* otherlv_6= '}' otherlv_7= ';' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:644:1: (otherlv_0= 'key' ( (lv_pathName_1_0= rulePathNameCS ) ) otherlv_2= '{' ( ( ruleUnrestrictedName ) ) (otherlv_4= ',' ( ( ruleUnrestrictedName ) ) )* otherlv_6= '}' otherlv_7= ';' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:644:3: otherlv_0= 'key' ( (lv_pathName_1_0= rulePathNameCS ) ) otherlv_2= '{' ( ( ruleUnrestrictedName ) ) (otherlv_4= ',' ( ( ruleUnrestrictedName ) ) )* otherlv_6= '}' otherlv_7= ';'
|
| {
|
| otherlv_0=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleKeyDeclCS1275); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_0, grammarAccess.getKeyDeclCSAccess().getKeyKeyword_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:648:1: ( (lv_pathName_1_0= rulePathNameCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:649:1: (lv_pathName_1_0= rulePathNameCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:649:1: (lv_pathName_1_0= rulePathNameCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:650:3: lv_pathName_1_0= rulePathNameCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getKeyDeclCSAccess().getPathNamePathNameCSParserRuleCall_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePathNameCS_in_ruleKeyDeclCS1296);
|
| lv_pathName_1_0=rulePathNameCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getKeyDeclCSRule());
|
| }
|
| set(
|
| current,
|
| "pathName",
|
| lv_pathName_1_0,
|
| "PathNameCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_2=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleKeyDeclCS1308); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_2, grammarAccess.getKeyDeclCSAccess().getLeftCurlyBracketKeyword_2());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:670:1: ( ( ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:671:1: ( ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:671:1: ( ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:672:3: ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getKeyDeclCSRule());
|
| }
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getKeyDeclCSAccess().getPropertyIdsPropertyCrossReference_3_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleKeyDeclCS1335);
|
| ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:688:2: (otherlv_4= ',' ( ( ruleUnrestrictedName ) ) )*
|
| loop14:
|
| do {
|
| int alt14=2;
|
| int LA14_0 = input.LA(1);
|
|
|
| if ( (LA14_0==18) ) {
|
| alt14=1;
|
| }
|
|
|
|
|
| switch (alt14) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:688:4: otherlv_4= ',' ( ( ruleUnrestrictedName ) )
|
| {
|
| otherlv_4=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleKeyDeclCS1348); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_4, grammarAccess.getKeyDeclCSAccess().getCommaKeyword_4_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:692:1: ( ( ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:693:1: ( ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:693:1: ( ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:694:3: ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getKeyDeclCSRule());
|
| }
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getKeyDeclCSAccess().getPropertyIdsPropertyCrossReference_4_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleKeyDeclCS1375);
|
| ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop14;
|
| }
|
| } while (true);
|
|
|
| otherlv_6=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleKeyDeclCS1389); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_6, grammarAccess.getKeyDeclCSAccess().getRightCurlyBracketKeyword_5());
|
|
|
| }
|
| otherlv_7=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleKeyDeclCS1401); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_7, grammarAccess.getKeyDeclCSAccess().getSemicolonKeyword_6());
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleKeyDeclCS"
|
|
|
|
|
| // $ANTLR start "entryRuleLibraryCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:726:1: entryRuleLibraryCS returns [EObject current=null] : iv_ruleLibraryCS= ruleLibraryCS EOF ;
|
| public final EObject entryRuleLibraryCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleLibraryCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:727:2: (iv_ruleLibraryCS= ruleLibraryCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:728:2: iv_ruleLibraryCS= ruleLibraryCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getLibraryCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleLibraryCS_in_entryRuleLibraryCS1437);
|
| iv_ruleLibraryCS=ruleLibraryCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleLibraryCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLibraryCS1447); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleLibraryCS"
|
|
|
|
|
| // $ANTLR start "ruleLibraryCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:735:1: ruleLibraryCS returns [EObject current=null] : (otherlv_0= 'library' ( ( ruleURI ) ) otherlv_2= ';' ) ;
|
| public final EObject ruleLibraryCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_0=null;
|
| Token otherlv_2=null;
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:738:28: ( (otherlv_0= 'library' ( ( ruleURI ) ) otherlv_2= ';' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:739:1: (otherlv_0= 'library' ( ( ruleURI ) ) otherlv_2= ';' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:739:1: (otherlv_0= 'library' ( ( ruleURI ) ) otherlv_2= ';' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:739:3: otherlv_0= 'library' ( ( ruleURI ) ) otherlv_2= ';'
|
| {
|
| otherlv_0=(Token)match(input,31,FollowSets000.FOLLOW_31_in_ruleLibraryCS1484); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_0, grammarAccess.getLibraryCSAccess().getLibraryKeyword_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:743:1: ( ( ruleURI ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:744:1: ( ruleURI )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:744:1: ( ruleURI )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:745:3: ruleURI
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getLibraryCSRule());
|
| }
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getLibraryCSAccess().getPackagePackageCrossReference_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleURI_in_ruleLibraryCS1511);
|
| ruleURI();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_2=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleLibraryCS1523); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_2, grammarAccess.getLibraryCSAccess().getSemicolonKeyword_2());
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleLibraryCS"
|
|
|
|
|
| // $ANTLR start "entryRuleModelDeclCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:773:1: entryRuleModelDeclCS returns [EObject current=null] : iv_ruleModelDeclCS= ruleModelDeclCS EOF ;
|
| public final EObject entryRuleModelDeclCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleModelDeclCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:774:2: (iv_ruleModelDeclCS= ruleModelDeclCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:775:2: iv_ruleModelDeclCS= ruleModelDeclCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getModelDeclCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleModelDeclCS_in_entryRuleModelDeclCS1559);
|
| iv_ruleModelDeclCS=ruleModelDeclCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleModelDeclCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleModelDeclCS1569); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleModelDeclCS"
|
|
|
|
|
| // $ANTLR start "ruleModelDeclCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:782:1: ruleModelDeclCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( ( ( ruleUnrestrictedName ) ) | (otherlv_3= '{' ( ( ruleUnrestrictedName ) ) (otherlv_5= ',' ( ( ruleUnrestrictedName ) ) )* otherlv_7= '}' ) ) ) ;
|
| public final EObject ruleModelDeclCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_1=null;
|
| Token otherlv_3=null;
|
| Token otherlv_5=null;
|
| Token otherlv_7=null;
|
| AntlrDatatypeRuleToken lv_name_0_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:785:28: ( ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( ( ( ruleUnrestrictedName ) ) | (otherlv_3= '{' ( ( ruleUnrestrictedName ) ) (otherlv_5= ',' ( ( ruleUnrestrictedName ) ) )* otherlv_7= '}' ) ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:786:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( ( ( ruleUnrestrictedName ) ) | (otherlv_3= '{' ( ( ruleUnrestrictedName ) ) (otherlv_5= ',' ( ( ruleUnrestrictedName ) ) )* otherlv_7= '}' ) ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:786:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( ( ( ruleUnrestrictedName ) ) | (otherlv_3= '{' ( ( ruleUnrestrictedName ) ) (otherlv_5= ',' ( ( ruleUnrestrictedName ) ) )* otherlv_7= '}' ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:786:2: ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( ( ( ruleUnrestrictedName ) ) | (otherlv_3= '{' ( ( ruleUnrestrictedName ) ) (otherlv_5= ',' ( ( ruleUnrestrictedName ) ) )* otherlv_7= '}' ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:786:2: ( (lv_name_0_0= ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:787:1: (lv_name_0_0= ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:787:1: (lv_name_0_0= ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:788:3: lv_name_0_0= ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getModelDeclCSAccess().getNameUnrestrictedNameParserRuleCall_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleModelDeclCS1615);
|
| lv_name_0_0=ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getModelDeclCSRule());
|
| }
|
| set(
|
| current,
|
| "name",
|
| lv_name_0_0,
|
| "UnrestrictedName");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_1=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleModelDeclCS1627); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getModelDeclCSAccess().getColonKeyword_1());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:808:1: ( ( ( ruleUnrestrictedName ) ) | (otherlv_3= '{' ( ( ruleUnrestrictedName ) ) (otherlv_5= ',' ( ( ruleUnrestrictedName ) ) )* otherlv_7= '}' ) )
|
| int alt16=2;
|
| int LA16_0 = input.LA(1);
|
|
|
| if ( ((LA16_0>=RULE_SIMPLE_ID && LA16_0<=RULE_ESCAPED_ID)||(LA16_0>=24 && LA16_0<=33)||(LA16_0>=36 && LA16_0<=41)||(LA16_0>=44 && LA16_0<=45)) ) {
|
| alt16=1;
|
| }
|
| else if ( (LA16_0==17) ) {
|
| alt16=2;
|
| }
|
| else {
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| NoViableAltException nvae =
|
| new NoViableAltException("", 16, 0, input);
|
|
|
| throw nvae;
|
| }
|
| switch (alt16) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:808:2: ( ( ruleUnrestrictedName ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:808:2: ( ( ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:809:1: ( ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:809:1: ( ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:810:3: ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getModelDeclCSRule());
|
| }
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getModelDeclCSAccess().getMetaModelIdsNamespaceCrossReference_2_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleModelDeclCS1655);
|
| ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:827:6: (otherlv_3= '{' ( ( ruleUnrestrictedName ) ) (otherlv_5= ',' ( ( ruleUnrestrictedName ) ) )* otherlv_7= '}' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:827:6: (otherlv_3= '{' ( ( ruleUnrestrictedName ) ) (otherlv_5= ',' ( ( ruleUnrestrictedName ) ) )* otherlv_7= '}' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:827:8: otherlv_3= '{' ( ( ruleUnrestrictedName ) ) (otherlv_5= ',' ( ( ruleUnrestrictedName ) ) )* otherlv_7= '}'
|
| {
|
| otherlv_3=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleModelDeclCS1674); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_3, grammarAccess.getModelDeclCSAccess().getLeftCurlyBracketKeyword_2_1_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:831:1: ( ( ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:832:1: ( ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:832:1: ( ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:833:3: ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getModelDeclCSRule());
|
| }
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getModelDeclCSAccess().getMetaModelIdsNamespaceCrossReference_2_1_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleModelDeclCS1701);
|
| ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:849:2: (otherlv_5= ',' ( ( ruleUnrestrictedName ) ) )*
|
| loop15:
|
| do {
|
| int alt15=2;
|
| int LA15_0 = input.LA(1);
|
|
|
| if ( (LA15_0==18) ) {
|
| alt15=1;
|
| }
|
|
|
|
|
| switch (alt15) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:849:4: otherlv_5= ',' ( ( ruleUnrestrictedName ) )
|
| {
|
| otherlv_5=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleModelDeclCS1714); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_5, grammarAccess.getModelDeclCSAccess().getCommaKeyword_2_1_2_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:853:1: ( ( ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:854:1: ( ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:854:1: ( ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:855:3: ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getModelDeclCSRule());
|
| }
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getModelDeclCSAccess().getMetaModelIdsNamespaceCrossReference_2_1_2_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleModelDeclCS1741);
|
| ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop15;
|
| }
|
| } while (true);
|
|
|
| otherlv_7=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleModelDeclCS1755); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_7, grammarAccess.getModelDeclCSAccess().getRightCurlyBracketKeyword_2_1_3());
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleModelDeclCS"
|
|
|
|
|
| // $ANTLR start "entryRuleObjectTemplateCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:883:1: entryRuleObjectTemplateCS returns [EObject current=null] : iv_ruleObjectTemplateCS= ruleObjectTemplateCS EOF ;
|
| public final EObject entryRuleObjectTemplateCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleObjectTemplateCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:884:2: (iv_ruleObjectTemplateCS= ruleObjectTemplateCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:885:2: iv_ruleObjectTemplateCS= ruleObjectTemplateCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getObjectTemplateCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleObjectTemplateCS_in_entryRuleObjectTemplateCS1793);
|
| iv_ruleObjectTemplateCS=ruleObjectTemplateCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleObjectTemplateCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleObjectTemplateCS1803); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleObjectTemplateCS"
|
|
|
|
|
| // $ANTLR start "ruleObjectTemplateCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:892:1: ruleObjectTemplateCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleUnrestrictedName ) )? otherlv_1= ':' ( (lv_type_2_0= ruleTypedRefCS ) ) otherlv_3= '{' ( ( (lv_propertyTemplates_4_0= rulePropertyTemplateCS ) ) (otherlv_5= ',' ( (lv_propertyTemplates_6_0= rulePropertyTemplateCS ) ) )* )? otherlv_7= '}' ) ;
|
| public final EObject ruleObjectTemplateCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_1=null;
|
| Token otherlv_3=null;
|
| Token otherlv_5=null;
|
| Token otherlv_7=null;
|
| AntlrDatatypeRuleToken lv_name_0_0 = null;
|
|
|
| EObject lv_type_2_0 = null;
|
|
|
| EObject lv_propertyTemplates_4_0 = null;
|
|
|
| EObject lv_propertyTemplates_6_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:895:28: ( ( ( (lv_name_0_0= ruleUnrestrictedName ) )? otherlv_1= ':' ( (lv_type_2_0= ruleTypedRefCS ) ) otherlv_3= '{' ( ( (lv_propertyTemplates_4_0= rulePropertyTemplateCS ) ) (otherlv_5= ',' ( (lv_propertyTemplates_6_0= rulePropertyTemplateCS ) ) )* )? otherlv_7= '}' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:896:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) )? otherlv_1= ':' ( (lv_type_2_0= ruleTypedRefCS ) ) otherlv_3= '{' ( ( (lv_propertyTemplates_4_0= rulePropertyTemplateCS ) ) (otherlv_5= ',' ( (lv_propertyTemplates_6_0= rulePropertyTemplateCS ) ) )* )? otherlv_7= '}' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:896:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) )? otherlv_1= ':' ( (lv_type_2_0= ruleTypedRefCS ) ) otherlv_3= '{' ( ( (lv_propertyTemplates_4_0= rulePropertyTemplateCS ) ) (otherlv_5= ',' ( (lv_propertyTemplates_6_0= rulePropertyTemplateCS ) ) )* )? otherlv_7= '}' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:896:2: ( (lv_name_0_0= ruleUnrestrictedName ) )? otherlv_1= ':' ( (lv_type_2_0= ruleTypedRefCS ) ) otherlv_3= '{' ( ( (lv_propertyTemplates_4_0= rulePropertyTemplateCS ) ) (otherlv_5= ',' ( (lv_propertyTemplates_6_0= rulePropertyTemplateCS ) ) )* )? otherlv_7= '}'
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:896:2: ( (lv_name_0_0= ruleUnrestrictedName ) )?
|
| int alt17=2;
|
| int LA17_0 = input.LA(1);
|
|
|
| if ( ((LA17_0>=RULE_SIMPLE_ID && LA17_0<=RULE_ESCAPED_ID)||(LA17_0>=24 && LA17_0<=33)||(LA17_0>=36 && LA17_0<=41)||(LA17_0>=44 && LA17_0<=45)) ) {
|
| alt17=1;
|
| }
|
| switch (alt17) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:897:1: (lv_name_0_0= ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:897:1: (lv_name_0_0= ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:898:3: lv_name_0_0= ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getObjectTemplateCSAccess().getNameUnrestrictedNameParserRuleCall_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleObjectTemplateCS1849);
|
| lv_name_0_0=ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getObjectTemplateCSRule());
|
| }
|
| set(
|
| current,
|
| "name",
|
| lv_name_0_0,
|
| "UnrestrictedName");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| otherlv_1=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleObjectTemplateCS1862); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getObjectTemplateCSAccess().getColonKeyword_1());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:918:1: ( (lv_type_2_0= ruleTypedRefCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:919:1: (lv_type_2_0= ruleTypedRefCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:919:1: (lv_type_2_0= ruleTypedRefCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:920:3: lv_type_2_0= ruleTypedRefCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getObjectTemplateCSAccess().getTypeTypedRefCSParserRuleCall_2_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypedRefCS_in_ruleObjectTemplateCS1883);
|
| lv_type_2_0=ruleTypedRefCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getObjectTemplateCSRule());
|
| }
|
| set(
|
| current,
|
| "type",
|
| lv_type_2_0,
|
| "TypedRefCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_3=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleObjectTemplateCS1895); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_3, grammarAccess.getObjectTemplateCSAccess().getLeftCurlyBracketKeyword_3());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:940:1: ( ( (lv_propertyTemplates_4_0= rulePropertyTemplateCS ) ) (otherlv_5= ',' ( (lv_propertyTemplates_6_0= rulePropertyTemplateCS ) ) )* )?
|
| int alt19=2;
|
| int LA19_0 = input.LA(1);
|
|
|
| if ( ((LA19_0>=RULE_SIMPLE_ID && LA19_0<=RULE_ESCAPED_ID)||(LA19_0>=24 && LA19_0<=33)||(LA19_0>=36 && LA19_0<=41)||(LA19_0>=44 && LA19_0<=45)) ) {
|
| alt19=1;
|
| }
|
| switch (alt19) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:940:2: ( (lv_propertyTemplates_4_0= rulePropertyTemplateCS ) ) (otherlv_5= ',' ( (lv_propertyTemplates_6_0= rulePropertyTemplateCS ) ) )*
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:940:2: ( (lv_propertyTemplates_4_0= rulePropertyTemplateCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:941:1: (lv_propertyTemplates_4_0= rulePropertyTemplateCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:941:1: (lv_propertyTemplates_4_0= rulePropertyTemplateCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:942:3: lv_propertyTemplates_4_0= rulePropertyTemplateCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getObjectTemplateCSAccess().getPropertyTemplatesPropertyTemplateCSParserRuleCall_4_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePropertyTemplateCS_in_ruleObjectTemplateCS1917);
|
| lv_propertyTemplates_4_0=rulePropertyTemplateCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getObjectTemplateCSRule());
|
| }
|
| add(
|
| current,
|
| "propertyTemplates",
|
| lv_propertyTemplates_4_0,
|
| "PropertyTemplateCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:958:2: (otherlv_5= ',' ( (lv_propertyTemplates_6_0= rulePropertyTemplateCS ) ) )*
|
| loop18:
|
| do {
|
| int alt18=2;
|
| int LA18_0 = input.LA(1);
|
|
|
| if ( (LA18_0==18) ) {
|
| alt18=1;
|
| }
|
|
|
|
|
| switch (alt18) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:958:4: otherlv_5= ',' ( (lv_propertyTemplates_6_0= rulePropertyTemplateCS ) )
|
| {
|
| otherlv_5=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleObjectTemplateCS1930); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_5, grammarAccess.getObjectTemplateCSAccess().getCommaKeyword_4_1_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:962:1: ( (lv_propertyTemplates_6_0= rulePropertyTemplateCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:963:1: (lv_propertyTemplates_6_0= rulePropertyTemplateCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:963:1: (lv_propertyTemplates_6_0= rulePropertyTemplateCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:964:3: lv_propertyTemplates_6_0= rulePropertyTemplateCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getObjectTemplateCSAccess().getPropertyTemplatesPropertyTemplateCSParserRuleCall_4_1_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePropertyTemplateCS_in_ruleObjectTemplateCS1951);
|
| lv_propertyTemplates_6_0=rulePropertyTemplateCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getObjectTemplateCSRule());
|
| }
|
| add(
|
| current,
|
| "propertyTemplates",
|
| lv_propertyTemplates_6_0,
|
| "PropertyTemplateCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop18;
|
| }
|
| } while (true);
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| otherlv_7=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleObjectTemplateCS1967); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_7, grammarAccess.getObjectTemplateCSAccess().getRightCurlyBracketKeyword_5());
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleObjectTemplateCS"
|
|
|
|
|
| // $ANTLR start "entryRuleParamDeclarationCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:992:1: entryRuleParamDeclarationCS returns [EObject current=null] : iv_ruleParamDeclarationCS= ruleParamDeclarationCS EOF ;
|
| public final EObject entryRuleParamDeclarationCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleParamDeclarationCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:993:2: (iv_ruleParamDeclarationCS= ruleParamDeclarationCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:994:2: iv_ruleParamDeclarationCS= ruleParamDeclarationCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getParamDeclarationCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleParamDeclarationCS_in_entryRuleParamDeclarationCS2003);
|
| iv_ruleParamDeclarationCS=ruleParamDeclarationCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleParamDeclarationCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleParamDeclarationCS2013); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleParamDeclarationCS"
|
|
|
|
|
| // $ANTLR start "ruleParamDeclarationCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1001:1: ruleParamDeclarationCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedRefCS ) ) ) ;
|
| public final EObject ruleParamDeclarationCS() 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1004:28: ( ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedRefCS ) ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1005:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedRefCS ) ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1005:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedRefCS ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1005:2: ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypedRefCS ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1005:2: ( (lv_name_0_0= ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1006:1: (lv_name_0_0= ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1006:1: (lv_name_0_0= ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1007:3: lv_name_0_0= ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getParamDeclarationCSAccess().getNameUnrestrictedNameParserRuleCall_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleParamDeclarationCS2059);
|
| lv_name_0_0=ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getParamDeclarationCSRule());
|
| }
|
| set(
|
| current,
|
| "name",
|
| lv_name_0_0,
|
| "UnrestrictedName");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_1=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleParamDeclarationCS2071); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getParamDeclarationCSAccess().getColonKeyword_1());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1027:1: ( (lv_ownedType_2_0= ruleTypedRefCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1028:1: (lv_ownedType_2_0= ruleTypedRefCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1028:1: (lv_ownedType_2_0= ruleTypedRefCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1029:3: lv_ownedType_2_0= ruleTypedRefCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getParamDeclarationCSAccess().getOwnedTypeTypedRefCSParserRuleCall_2_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypedRefCS_in_ruleParamDeclarationCS2092);
|
| lv_ownedType_2_0=ruleTypedRefCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getParamDeclarationCSRule());
|
| }
|
| set(
|
| current,
|
| "ownedType",
|
| lv_ownedType_2_0,
|
| "TypedRefCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleParamDeclarationCS"
|
|
|
|
|
| // $ANTLR start "entryRulePredicateCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1053:1: entryRulePredicateCS returns [EObject current=null] : iv_rulePredicateCS= rulePredicateCS EOF ;
|
| public final EObject entryRulePredicateCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_rulePredicateCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1054:2: (iv_rulePredicateCS= rulePredicateCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1055:2: iv_rulePredicateCS= rulePredicateCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getPredicateCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePredicateCS_in_entryRulePredicateCS2128);
|
| iv_rulePredicateCS=rulePredicateCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_rulePredicateCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePredicateCS2138); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRulePredicateCS"
|
|
|
|
|
| // $ANTLR start "rulePredicateCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1062:1: rulePredicateCS returns [EObject current=null] : ( ( (lv_expr_0_0= ruleExpCS ) ) otherlv_1= ';' ) ;
|
| public final EObject rulePredicateCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_1=null;
|
| EObject lv_expr_0_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1065:28: ( ( ( (lv_expr_0_0= ruleExpCS ) ) otherlv_1= ';' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1066:1: ( ( (lv_expr_0_0= ruleExpCS ) ) otherlv_1= ';' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1066:1: ( ( (lv_expr_0_0= ruleExpCS ) ) otherlv_1= ';' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1066:2: ( (lv_expr_0_0= ruleExpCS ) ) otherlv_1= ';'
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1066:2: ( (lv_expr_0_0= ruleExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1067:1: (lv_expr_0_0= ruleExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1067:1: (lv_expr_0_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1068:3: lv_expr_0_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPredicateCSAccess().getExprExpCSParserRuleCall_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_rulePredicateCS2184);
|
| lv_expr_0_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getPredicateCSRule());
|
| }
|
| set(
|
| current,
|
| "expr",
|
| lv_expr_0_0,
|
| "ExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_1=(Token)match(input,23,FollowSets000.FOLLOW_23_in_rulePredicateCS2196); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getPredicateCSAccess().getSemicolonKeyword_1());
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "rulePredicateCS"
|
|
|
|
|
| // $ANTLR start "entryRulePrimitiveTypeDomainCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1096:1: entryRulePrimitiveTypeDomainCS returns [EObject current=null] : iv_rulePrimitiveTypeDomainCS= rulePrimitiveTypeDomainCS EOF ;
|
| public final EObject entryRulePrimitiveTypeDomainCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_rulePrimitiveTypeDomainCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1097:2: (iv_rulePrimitiveTypeDomainCS= rulePrimitiveTypeDomainCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1098:2: iv_rulePrimitiveTypeDomainCS= rulePrimitiveTypeDomainCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getPrimitiveTypeDomainCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePrimitiveTypeDomainCS_in_entryRulePrimitiveTypeDomainCS2232);
|
| iv_rulePrimitiveTypeDomainCS=rulePrimitiveTypeDomainCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_rulePrimitiveTypeDomainCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePrimitiveTypeDomainCS2242); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRulePrimitiveTypeDomainCS"
|
|
|
|
|
| // $ANTLR start "rulePrimitiveTypeDomainCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1105:1: rulePrimitiveTypeDomainCS returns [EObject current=null] : (otherlv_0= 'primitive' otherlv_1= 'domain' ( (lv_name_2_0= ruleUnrestrictedName ) ) otherlv_3= ':' ( (lv_type_4_0= ruleTypedRefCS ) ) otherlv_5= ';' ) ;
|
| public final EObject rulePrimitiveTypeDomainCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_0=null;
|
| Token otherlv_1=null;
|
| Token otherlv_3=null;
|
| Token otherlv_5=null;
|
| AntlrDatatypeRuleToken lv_name_2_0 = null;
|
|
|
| EObject lv_type_4_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1108:28: ( (otherlv_0= 'primitive' otherlv_1= 'domain' ( (lv_name_2_0= ruleUnrestrictedName ) ) otherlv_3= ':' ( (lv_type_4_0= ruleTypedRefCS ) ) otherlv_5= ';' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1109:1: (otherlv_0= 'primitive' otherlv_1= 'domain' ( (lv_name_2_0= ruleUnrestrictedName ) ) otherlv_3= ':' ( (lv_type_4_0= ruleTypedRefCS ) ) otherlv_5= ';' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1109:1: (otherlv_0= 'primitive' otherlv_1= 'domain' ( (lv_name_2_0= ruleUnrestrictedName ) ) otherlv_3= ':' ( (lv_type_4_0= ruleTypedRefCS ) ) otherlv_5= ';' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1109:3: otherlv_0= 'primitive' otherlv_1= 'domain' ( (lv_name_2_0= ruleUnrestrictedName ) ) otherlv_3= ':' ( (lv_type_4_0= ruleTypedRefCS ) ) otherlv_5= ';'
|
| {
|
| otherlv_0=(Token)match(input,32,FollowSets000.FOLLOW_32_in_rulePrimitiveTypeDomainCS2279); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_0, grammarAccess.getPrimitiveTypeDomainCSAccess().getPrimitiveKeyword_0());
|
|
|
| }
|
| otherlv_1=(Token)match(input,27,FollowSets000.FOLLOW_27_in_rulePrimitiveTypeDomainCS2291); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getPrimitiveTypeDomainCSAccess().getDomainKeyword_1());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1117:1: ( (lv_name_2_0= ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1118:1: (lv_name_2_0= ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1118:1: (lv_name_2_0= ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1119:3: lv_name_2_0= ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimitiveTypeDomainCSAccess().getNameUnrestrictedNameParserRuleCall_2_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_rulePrimitiveTypeDomainCS2312);
|
| lv_name_2_0=ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getPrimitiveTypeDomainCSRule());
|
| }
|
| set(
|
| current,
|
| "name",
|
| lv_name_2_0,
|
| "UnrestrictedName");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_3=(Token)match(input,16,FollowSets000.FOLLOW_16_in_rulePrimitiveTypeDomainCS2324); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_3, grammarAccess.getPrimitiveTypeDomainCSAccess().getColonKeyword_3());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1139:1: ( (lv_type_4_0= ruleTypedRefCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1140:1: (lv_type_4_0= ruleTypedRefCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1140:1: (lv_type_4_0= ruleTypedRefCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1141:3: lv_type_4_0= ruleTypedRefCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimitiveTypeDomainCSAccess().getTypeTypedRefCSParserRuleCall_4_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypedRefCS_in_rulePrimitiveTypeDomainCS2345);
|
| lv_type_4_0=ruleTypedRefCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getPrimitiveTypeDomainCSRule());
|
| }
|
| set(
|
| current,
|
| "type",
|
| lv_type_4_0,
|
| "TypedRefCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_5=(Token)match(input,23,FollowSets000.FOLLOW_23_in_rulePrimitiveTypeDomainCS2357); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_5, grammarAccess.getPrimitiveTypeDomainCSAccess().getSemicolonKeyword_5());
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "rulePrimitiveTypeDomainCS"
|
|
|
|
|
| // $ANTLR start "entryRulePropertyTemplateCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1169:1: entryRulePropertyTemplateCS returns [EObject current=null] : iv_rulePropertyTemplateCS= rulePropertyTemplateCS EOF ;
|
| public final EObject entryRulePropertyTemplateCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_rulePropertyTemplateCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1170:2: (iv_rulePropertyTemplateCS= rulePropertyTemplateCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1171:2: iv_rulePropertyTemplateCS= rulePropertyTemplateCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getPropertyTemplateCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePropertyTemplateCS_in_entryRulePropertyTemplateCS2393);
|
| iv_rulePropertyTemplateCS=rulePropertyTemplateCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_rulePropertyTemplateCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePropertyTemplateCS2403); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRulePropertyTemplateCS"
|
|
|
|
|
| // $ANTLR start "rulePropertyTemplateCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1178:1: rulePropertyTemplateCS returns [EObject current=null] : ( ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( (lv_expression_2_0= ruleExpCSOrTemplateCS ) ) ) ;
|
| public final EObject rulePropertyTemplateCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_1=null;
|
| EObject lv_expression_2_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1181:28: ( ( ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( (lv_expression_2_0= ruleExpCSOrTemplateCS ) ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1182:1: ( ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( (lv_expression_2_0= ruleExpCSOrTemplateCS ) ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1182:1: ( ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( (lv_expression_2_0= ruleExpCSOrTemplateCS ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1182:2: ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( (lv_expression_2_0= ruleExpCSOrTemplateCS ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1182:2: ( ( ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1183:1: ( ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1183:1: ( ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1184:3: ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getPropertyTemplateCSRule());
|
| }
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPropertyTemplateCSAccess().getPropertyIdPropertyCrossReference_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_rulePropertyTemplateCS2455);
|
| ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_1=(Token)match(input,22,FollowSets000.FOLLOW_22_in_rulePropertyTemplateCS2467); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getPropertyTemplateCSAccess().getEqualsSignKeyword_1());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1204:1: ( (lv_expression_2_0= ruleExpCSOrTemplateCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1205:1: (lv_expression_2_0= ruleExpCSOrTemplateCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1205:1: (lv_expression_2_0= ruleExpCSOrTemplateCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1206:3: lv_expression_2_0= ruleExpCSOrTemplateCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPropertyTemplateCSAccess().getExpressionExpCSOrTemplateCSParserRuleCall_2_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCSOrTemplateCS_in_rulePropertyTemplateCS2488);
|
| lv_expression_2_0=ruleExpCSOrTemplateCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getPropertyTemplateCSRule());
|
| }
|
| set(
|
| current,
|
| "expression",
|
| lv_expression_2_0,
|
| "ExpCSOrTemplateCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "rulePropertyTemplateCS"
|
|
|
|
|
| // $ANTLR start "entryRuleQueryCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1230:1: entryRuleQueryCS returns [EObject current=null] : iv_ruleQueryCS= ruleQueryCS EOF ;
|
| public final EObject entryRuleQueryCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleQueryCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1231:2: (iv_ruleQueryCS= ruleQueryCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1232:2: iv_ruleQueryCS= ruleQueryCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getQueryCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleQueryCS_in_entryRuleQueryCS2524);
|
| iv_ruleQueryCS=ruleQueryCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleQueryCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleQueryCS2534); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleQueryCS"
|
|
|
|
|
| // $ANTLR start "ruleQueryCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1239:1: ruleQueryCS returns [EObject current=null] : (otherlv_0= 'query' ( (lv_name_1_0= ruleUnrestrictedName ) ) otherlv_2= '(' ( ( (lv_inputParamDeclarations_3_0= ruleParamDeclarationCS ) ) (otherlv_4= ',' ( (lv_inputParamDeclarations_5_0= ruleParamDeclarationCS ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( (lv_ownedType_8_0= ruleTypedRefCS ) ) (otherlv_9= ';' | (otherlv_10= '{' ( (lv_expression_11_0= ruleExpCS ) ) otherlv_12= '}' ) ) ) ;
|
| public final EObject ruleQueryCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_0=null;
|
| Token otherlv_2=null;
|
| Token otherlv_4=null;
|
| Token otherlv_6=null;
|
| Token otherlv_7=null;
|
| Token otherlv_9=null;
|
| Token otherlv_10=null;
|
| Token otherlv_12=null;
|
| AntlrDatatypeRuleToken lv_name_1_0 = null;
|
|
|
| EObject lv_inputParamDeclarations_3_0 = null;
|
|
|
| EObject lv_inputParamDeclarations_5_0 = null;
|
|
|
| EObject lv_ownedType_8_0 = null;
|
|
|
| EObject lv_expression_11_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1242:28: ( (otherlv_0= 'query' ( (lv_name_1_0= ruleUnrestrictedName ) ) otherlv_2= '(' ( ( (lv_inputParamDeclarations_3_0= ruleParamDeclarationCS ) ) (otherlv_4= ',' ( (lv_inputParamDeclarations_5_0= ruleParamDeclarationCS ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( (lv_ownedType_8_0= ruleTypedRefCS ) ) (otherlv_9= ';' | (otherlv_10= '{' ( (lv_expression_11_0= ruleExpCS ) ) otherlv_12= '}' ) ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1243:1: (otherlv_0= 'query' ( (lv_name_1_0= ruleUnrestrictedName ) ) otherlv_2= '(' ( ( (lv_inputParamDeclarations_3_0= ruleParamDeclarationCS ) ) (otherlv_4= ',' ( (lv_inputParamDeclarations_5_0= ruleParamDeclarationCS ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( (lv_ownedType_8_0= ruleTypedRefCS ) ) (otherlv_9= ';' | (otherlv_10= '{' ( (lv_expression_11_0= ruleExpCS ) ) otherlv_12= '}' ) ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1243:1: (otherlv_0= 'query' ( (lv_name_1_0= ruleUnrestrictedName ) ) otherlv_2= '(' ( ( (lv_inputParamDeclarations_3_0= ruleParamDeclarationCS ) ) (otherlv_4= ',' ( (lv_inputParamDeclarations_5_0= ruleParamDeclarationCS ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( (lv_ownedType_8_0= ruleTypedRefCS ) ) (otherlv_9= ';' | (otherlv_10= '{' ( (lv_expression_11_0= ruleExpCS ) ) otherlv_12= '}' ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1243:3: otherlv_0= 'query' ( (lv_name_1_0= ruleUnrestrictedName ) ) otherlv_2= '(' ( ( (lv_inputParamDeclarations_3_0= ruleParamDeclarationCS ) ) (otherlv_4= ',' ( (lv_inputParamDeclarations_5_0= ruleParamDeclarationCS ) ) )* )? otherlv_6= ')' otherlv_7= ':' ( (lv_ownedType_8_0= ruleTypedRefCS ) ) (otherlv_9= ';' | (otherlv_10= '{' ( (lv_expression_11_0= ruleExpCS ) ) otherlv_12= '}' ) )
|
| {
|
| otherlv_0=(Token)match(input,33,FollowSets000.FOLLOW_33_in_ruleQueryCS2571); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_0, grammarAccess.getQueryCSAccess().getQueryKeyword_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1247:1: ( (lv_name_1_0= ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1248:1: (lv_name_1_0= ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1248:1: (lv_name_1_0= ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1249:3: lv_name_1_0= ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getQueryCSAccess().getNameUnrestrictedNameParserRuleCall_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleQueryCS2592);
|
| lv_name_1_0=ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getQueryCSRule());
|
| }
|
| set(
|
| current,
|
| "name",
|
| lv_name_1_0,
|
| "UnrestrictedName");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_2=(Token)match(input,34,FollowSets000.FOLLOW_34_in_ruleQueryCS2604); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_2, grammarAccess.getQueryCSAccess().getLeftParenthesisKeyword_2());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1269:1: ( ( (lv_inputParamDeclarations_3_0= ruleParamDeclarationCS ) ) (otherlv_4= ',' ( (lv_inputParamDeclarations_5_0= ruleParamDeclarationCS ) ) )* )?
|
| int alt21=2;
|
| int LA21_0 = input.LA(1);
|
|
|
| if ( ((LA21_0>=RULE_SIMPLE_ID && LA21_0<=RULE_ESCAPED_ID)||(LA21_0>=24 && LA21_0<=33)||(LA21_0>=36 && LA21_0<=41)||(LA21_0>=44 && LA21_0<=45)) ) {
|
| alt21=1;
|
| }
|
| switch (alt21) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1269:2: ( (lv_inputParamDeclarations_3_0= ruleParamDeclarationCS ) ) (otherlv_4= ',' ( (lv_inputParamDeclarations_5_0= ruleParamDeclarationCS ) ) )*
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1269:2: ( (lv_inputParamDeclarations_3_0= ruleParamDeclarationCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1270:1: (lv_inputParamDeclarations_3_0= ruleParamDeclarationCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1270:1: (lv_inputParamDeclarations_3_0= ruleParamDeclarationCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1271:3: lv_inputParamDeclarations_3_0= ruleParamDeclarationCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getQueryCSAccess().getInputParamDeclarationsParamDeclarationCSParserRuleCall_3_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleParamDeclarationCS_in_ruleQueryCS2626);
|
| lv_inputParamDeclarations_3_0=ruleParamDeclarationCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getQueryCSRule());
|
| }
|
| add(
|
| current,
|
| "inputParamDeclarations",
|
| lv_inputParamDeclarations_3_0,
|
| "ParamDeclarationCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1287:2: (otherlv_4= ',' ( (lv_inputParamDeclarations_5_0= ruleParamDeclarationCS ) ) )*
|
| loop20:
|
| do {
|
| int alt20=2;
|
| int LA20_0 = input.LA(1);
|
|
|
| if ( (LA20_0==18) ) {
|
| alt20=1;
|
| }
|
|
|
|
|
| switch (alt20) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1287:4: otherlv_4= ',' ( (lv_inputParamDeclarations_5_0= ruleParamDeclarationCS ) )
|
| {
|
| otherlv_4=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleQueryCS2639); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_4, grammarAccess.getQueryCSAccess().getCommaKeyword_3_1_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1291:1: ( (lv_inputParamDeclarations_5_0= ruleParamDeclarationCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1292:1: (lv_inputParamDeclarations_5_0= ruleParamDeclarationCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1292:1: (lv_inputParamDeclarations_5_0= ruleParamDeclarationCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1293:3: lv_inputParamDeclarations_5_0= ruleParamDeclarationCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getQueryCSAccess().getInputParamDeclarationsParamDeclarationCSParserRuleCall_3_1_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleParamDeclarationCS_in_ruleQueryCS2660);
|
| lv_inputParamDeclarations_5_0=ruleParamDeclarationCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getQueryCSRule());
|
| }
|
| add(
|
| current,
|
| "inputParamDeclarations",
|
| lv_inputParamDeclarations_5_0,
|
| "ParamDeclarationCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop20;
|
| }
|
| } while (true);
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| otherlv_6=(Token)match(input,35,FollowSets000.FOLLOW_35_in_ruleQueryCS2676); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_6, grammarAccess.getQueryCSAccess().getRightParenthesisKeyword_4());
|
|
|
| }
|
| otherlv_7=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleQueryCS2688); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_7, grammarAccess.getQueryCSAccess().getColonKeyword_5());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1317:1: ( (lv_ownedType_8_0= ruleTypedRefCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1318:1: (lv_ownedType_8_0= ruleTypedRefCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1318:1: (lv_ownedType_8_0= ruleTypedRefCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1319:3: lv_ownedType_8_0= ruleTypedRefCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getQueryCSAccess().getOwnedTypeTypedRefCSParserRuleCall_6_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypedRefCS_in_ruleQueryCS2709);
|
| lv_ownedType_8_0=ruleTypedRefCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getQueryCSRule());
|
| }
|
| set(
|
| current,
|
| "ownedType",
|
| lv_ownedType_8_0,
|
| "TypedRefCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1335:2: (otherlv_9= ';' | (otherlv_10= '{' ( (lv_expression_11_0= ruleExpCS ) ) otherlv_12= '}' ) )
|
| int alt22=2;
|
| int LA22_0 = input.LA(1);
|
|
|
| if ( (LA22_0==23) ) {
|
| alt22=1;
|
| }
|
| else if ( (LA22_0==17) ) {
|
| alt22=2;
|
| }
|
| else {
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| NoViableAltException nvae =
|
| new NoViableAltException("", 22, 0, input);
|
|
|
| throw nvae;
|
| }
|
| switch (alt22) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1335:4: otherlv_9= ';'
|
| {
|
| otherlv_9=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleQueryCS2722); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_9, grammarAccess.getQueryCSAccess().getSemicolonKeyword_7_0());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1340:6: (otherlv_10= '{' ( (lv_expression_11_0= ruleExpCS ) ) otherlv_12= '}' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1340:6: (otherlv_10= '{' ( (lv_expression_11_0= ruleExpCS ) ) otherlv_12= '}' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1340:8: otherlv_10= '{' ( (lv_expression_11_0= ruleExpCS ) ) otherlv_12= '}'
|
| {
|
| otherlv_10=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleQueryCS2741); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_10, grammarAccess.getQueryCSAccess().getLeftCurlyBracketKeyword_7_1_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1344:1: ( (lv_expression_11_0= ruleExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1345:1: (lv_expression_11_0= ruleExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1345:1: (lv_expression_11_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1346:3: lv_expression_11_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getQueryCSAccess().getExpressionExpCSParserRuleCall_7_1_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleQueryCS2762);
|
| lv_expression_11_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getQueryCSRule());
|
| }
|
| set(
|
| current,
|
| "expression",
|
| lv_expression_11_0,
|
| "ExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_12=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleQueryCS2774); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_12, grammarAccess.getQueryCSAccess().getRightCurlyBracketKeyword_7_1_2());
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleQueryCS"
|
|
|
|
|
| // $ANTLR start "entryRuleRelationCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1374:1: entryRuleRelationCS returns [EObject current=null] : iv_ruleRelationCS= ruleRelationCS EOF ;
|
| public final EObject entryRuleRelationCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleRelationCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1375:2: (iv_ruleRelationCS= ruleRelationCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1376:2: iv_ruleRelationCS= ruleRelationCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getRelationCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleRelationCS_in_entryRuleRelationCS2812);
|
| iv_ruleRelationCS=ruleRelationCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleRelationCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleRelationCS2822); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleRelationCS"
|
|
|
|
|
| // $ANTLR start "ruleRelationCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1383:1: ruleRelationCS returns [EObject current=null] : ( ( (lv_top_0_0= 'top' ) )? otherlv_1= 'relation' ( (lv_name_2_0= ruleUnrestrictedName ) ) (otherlv_3= 'overrides' ( ( ruleUnrestrictedName ) ) )? otherlv_5= '{' ( (lv_varDeclarations_6_0= ruleVarDeclarationCS ) )* ( ( (lv_domains_7_0= ruleDomainCS ) ) | ( (lv_domains_8_0= rulePrimitiveTypeDomainCS ) ) )+ ( (lv_when_9_0= ruleWhenCS ) )? ( (lv_where_10_0= ruleWhereCS ) )? otherlv_11= '}' ) ;
|
| public final EObject ruleRelationCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token lv_top_0_0=null;
|
| Token otherlv_1=null;
|
| Token otherlv_3=null;
|
| Token otherlv_5=null;
|
| Token otherlv_11=null;
|
| AntlrDatatypeRuleToken lv_name_2_0 = null;
|
|
|
| EObject lv_varDeclarations_6_0 = null;
|
|
|
| EObject lv_domains_7_0 = null;
|
|
|
| EObject lv_domains_8_0 = null;
|
|
|
| EObject lv_when_9_0 = null;
|
|
|
| EObject lv_where_10_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1386:28: ( ( ( (lv_top_0_0= 'top' ) )? otherlv_1= 'relation' ( (lv_name_2_0= ruleUnrestrictedName ) ) (otherlv_3= 'overrides' ( ( ruleUnrestrictedName ) ) )? otherlv_5= '{' ( (lv_varDeclarations_6_0= ruleVarDeclarationCS ) )* ( ( (lv_domains_7_0= ruleDomainCS ) ) | ( (lv_domains_8_0= rulePrimitiveTypeDomainCS ) ) )+ ( (lv_when_9_0= ruleWhenCS ) )? ( (lv_where_10_0= ruleWhereCS ) )? otherlv_11= '}' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1387:1: ( ( (lv_top_0_0= 'top' ) )? otherlv_1= 'relation' ( (lv_name_2_0= ruleUnrestrictedName ) ) (otherlv_3= 'overrides' ( ( ruleUnrestrictedName ) ) )? otherlv_5= '{' ( (lv_varDeclarations_6_0= ruleVarDeclarationCS ) )* ( ( (lv_domains_7_0= ruleDomainCS ) ) | ( (lv_domains_8_0= rulePrimitiveTypeDomainCS ) ) )+ ( (lv_when_9_0= ruleWhenCS ) )? ( (lv_where_10_0= ruleWhereCS ) )? otherlv_11= '}' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1387:1: ( ( (lv_top_0_0= 'top' ) )? otherlv_1= 'relation' ( (lv_name_2_0= ruleUnrestrictedName ) ) (otherlv_3= 'overrides' ( ( ruleUnrestrictedName ) ) )? otherlv_5= '{' ( (lv_varDeclarations_6_0= ruleVarDeclarationCS ) )* ( ( (lv_domains_7_0= ruleDomainCS ) ) | ( (lv_domains_8_0= rulePrimitiveTypeDomainCS ) ) )+ ( (lv_when_9_0= ruleWhenCS ) )? ( (lv_where_10_0= ruleWhereCS ) )? otherlv_11= '}' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1387:2: ( (lv_top_0_0= 'top' ) )? otherlv_1= 'relation' ( (lv_name_2_0= ruleUnrestrictedName ) ) (otherlv_3= 'overrides' ( ( ruleUnrestrictedName ) ) )? otherlv_5= '{' ( (lv_varDeclarations_6_0= ruleVarDeclarationCS ) )* ( ( (lv_domains_7_0= ruleDomainCS ) ) | ( (lv_domains_8_0= rulePrimitiveTypeDomainCS ) ) )+ ( (lv_when_9_0= ruleWhenCS ) )? ( (lv_where_10_0= ruleWhereCS ) )? otherlv_11= '}'
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1387:2: ( (lv_top_0_0= 'top' ) )?
|
| int alt23=2;
|
| int LA23_0 = input.LA(1);
|
|
|
| if ( (LA23_0==36) ) {
|
| alt23=1;
|
| }
|
| switch (alt23) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1388:1: (lv_top_0_0= 'top' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1388:1: (lv_top_0_0= 'top' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1389:3: lv_top_0_0= 'top'
|
| {
|
| lv_top_0_0=(Token)match(input,36,FollowSets000.FOLLOW_36_in_ruleRelationCS2865); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_top_0_0, grammarAccess.getRelationCSAccess().getTopTopKeyword_0_0());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getRelationCSRule());
|
| }
|
| setWithLastConsumed(current, "top", true, "top");
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| otherlv_1=(Token)match(input,37,FollowSets000.FOLLOW_37_in_ruleRelationCS2891); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getRelationCSAccess().getRelationKeyword_1());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1406:1: ( (lv_name_2_0= ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1407:1: (lv_name_2_0= ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1407:1: (lv_name_2_0= ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1408:3: lv_name_2_0= ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getRelationCSAccess().getNameUnrestrictedNameParserRuleCall_2_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleRelationCS2912);
|
| lv_name_2_0=ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getRelationCSRule());
|
| }
|
| set(
|
| current,
|
| "name",
|
| lv_name_2_0,
|
| "UnrestrictedName");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1424:2: (otherlv_3= 'overrides' ( ( ruleUnrestrictedName ) ) )?
|
| int alt24=2;
|
| int LA24_0 = input.LA(1);
|
|
|
| if ( (LA24_0==38) ) {
|
| alt24=1;
|
| }
|
| switch (alt24) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1424:4: otherlv_3= 'overrides' ( ( ruleUnrestrictedName ) )
|
| {
|
| otherlv_3=(Token)match(input,38,FollowSets000.FOLLOW_38_in_ruleRelationCS2925); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_3, grammarAccess.getRelationCSAccess().getOverridesKeyword_3_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1428:1: ( ( ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1429:1: ( ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1429:1: ( ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1430:3: ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getRelationCSRule());
|
| }
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getRelationCSAccess().getOverridesRelationCrossReference_3_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleRelationCS2952);
|
| ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| otherlv_5=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleRelationCS2966); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_5, grammarAccess.getRelationCSAccess().getLeftCurlyBracketKeyword_4());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1450:1: ( (lv_varDeclarations_6_0= ruleVarDeclarationCS ) )*
|
| loop25:
|
| do {
|
| int alt25=2;
|
| switch ( input.LA(1) ) {
|
| case 24:
|
| {
|
| int LA25_1 = input.LA(2);
|
|
|
| if ( (LA25_1==16||LA25_1==18) ) {
|
| alt25=1;
|
| }
|
|
|
|
|
| }
|
| break;
|
| case 25:
|
| {
|
| int LA25_2 = input.LA(2);
|
|
|
| if ( (LA25_2==16||LA25_2==18) ) {
|
| alt25=1;
|
| }
|
|
|
|
|
| }
|
| break;
|
| case 26:
|
| {
|
| int LA25_3 = input.LA(2);
|
|
|
| if ( (LA25_3==16||LA25_3==18) ) {
|
| alt25=1;
|
| }
|
|
|
|
|
| }
|
| break;
|
| case 27:
|
| {
|
| int LA25_4 = input.LA(2);
|
|
|
| if ( (LA25_4==16||LA25_4==18) ) {
|
| alt25=1;
|
| }
|
|
|
|
|
| }
|
| break;
|
| case 32:
|
| {
|
| int LA25_5 = input.LA(2);
|
|
|
| if ( (LA25_5==16||LA25_5==18) ) {
|
| alt25=1;
|
| }
|
|
|
|
|
| }
|
| break;
|
| case RULE_SIMPLE_ID:
|
| case RULE_ESCAPED_ID:
|
| case 28:
|
| case 29:
|
| case 30:
|
| case 31:
|
| case 33:
|
| case 36:
|
| case 37:
|
| case 38:
|
| case 39:
|
| case 40:
|
| case 41:
|
| case 44:
|
| case 45:
|
| {
|
| alt25=1;
|
| }
|
| break;
|
|
|
| }
|
|
|
| switch (alt25) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1451:1: (lv_varDeclarations_6_0= ruleVarDeclarationCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1451:1: (lv_varDeclarations_6_0= ruleVarDeclarationCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1452:3: lv_varDeclarations_6_0= ruleVarDeclarationCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getRelationCSAccess().getVarDeclarationsVarDeclarationCSParserRuleCall_5_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleVarDeclarationCS_in_ruleRelationCS2987);
|
| lv_varDeclarations_6_0=ruleVarDeclarationCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getRelationCSRule());
|
| }
|
| add(
|
| current,
|
| "varDeclarations",
|
| lv_varDeclarations_6_0,
|
| "VarDeclarationCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop25;
|
| }
|
| } while (true);
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1468:3: ( ( (lv_domains_7_0= ruleDomainCS ) ) | ( (lv_domains_8_0= rulePrimitiveTypeDomainCS ) ) )+
|
| int cnt26=0;
|
| loop26:
|
| do {
|
| int alt26=3;
|
| int LA26_0 = input.LA(1);
|
|
|
| if ( ((LA26_0>=24 && LA26_0<=27)) ) {
|
| alt26=1;
|
| }
|
| else if ( (LA26_0==32) ) {
|
| alt26=2;
|
| }
|
|
|
|
|
| switch (alt26) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1468:4: ( (lv_domains_7_0= ruleDomainCS ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1468:4: ( (lv_domains_7_0= ruleDomainCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1469:1: (lv_domains_7_0= ruleDomainCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1469:1: (lv_domains_7_0= ruleDomainCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1470:3: lv_domains_7_0= ruleDomainCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getRelationCSAccess().getDomainsDomainCSParserRuleCall_6_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleDomainCS_in_ruleRelationCS3010);
|
| lv_domains_7_0=ruleDomainCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getRelationCSRule());
|
| }
|
| add(
|
| current,
|
| "domains",
|
| lv_domains_7_0,
|
| "DomainCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1487:6: ( (lv_domains_8_0= rulePrimitiveTypeDomainCS ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1487:6: ( (lv_domains_8_0= rulePrimitiveTypeDomainCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1488:1: (lv_domains_8_0= rulePrimitiveTypeDomainCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1488:1: (lv_domains_8_0= rulePrimitiveTypeDomainCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1489:3: lv_domains_8_0= rulePrimitiveTypeDomainCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getRelationCSAccess().getDomainsPrimitiveTypeDomainCSParserRuleCall_6_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePrimitiveTypeDomainCS_in_ruleRelationCS3037);
|
| lv_domains_8_0=rulePrimitiveTypeDomainCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getRelationCSRule());
|
| }
|
| add(
|
| current,
|
| "domains",
|
| lv_domains_8_0,
|
| "PrimitiveTypeDomainCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| if ( cnt26 >= 1 ) break loop26;
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| EarlyExitException eee =
|
| new EarlyExitException(26, input);
|
| throw eee;
|
| }
|
| cnt26++;
|
| } while (true);
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1505:4: ( (lv_when_9_0= ruleWhenCS ) )?
|
| int alt27=2;
|
| int LA27_0 = input.LA(1);
|
|
|
| if ( (LA27_0==44) ) {
|
| alt27=1;
|
| }
|
| switch (alt27) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1506:1: (lv_when_9_0= ruleWhenCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1506:1: (lv_when_9_0= ruleWhenCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1507:3: lv_when_9_0= ruleWhenCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getRelationCSAccess().getWhenWhenCSParserRuleCall_7_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleWhenCS_in_ruleRelationCS3060);
|
| lv_when_9_0=ruleWhenCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getRelationCSRule());
|
| }
|
| set(
|
| current,
|
| "when",
|
| lv_when_9_0,
|
| "WhenCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1523:3: ( (lv_where_10_0= ruleWhereCS ) )?
|
| int alt28=2;
|
| int LA28_0 = input.LA(1);
|
|
|
| if ( (LA28_0==45) ) {
|
| alt28=1;
|
| }
|
| switch (alt28) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1524:1: (lv_where_10_0= ruleWhereCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1524:1: (lv_where_10_0= ruleWhereCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1525:3: lv_where_10_0= ruleWhereCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getRelationCSAccess().getWhereWhereCSParserRuleCall_8_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleWhereCS_in_ruleRelationCS3082);
|
| lv_where_10_0=ruleWhereCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getRelationCSRule());
|
| }
|
| set(
|
| current,
|
| "where",
|
| lv_where_10_0,
|
| "WhereCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| otherlv_11=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleRelationCS3095); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_11, grammarAccess.getRelationCSAccess().getRightCurlyBracketKeyword_9());
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleRelationCS"
|
|
|
|
|
| // $ANTLR start "entryRuleTemplateCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1553:1: entryRuleTemplateCS returns [EObject current=null] : iv_ruleTemplateCS= ruleTemplateCS EOF ;
|
| public final EObject entryRuleTemplateCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleTemplateCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1554:2: (iv_ruleTemplateCS= ruleTemplateCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1555:2: iv_ruleTemplateCS= ruleTemplateCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getTemplateCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTemplateCS_in_entryRuleTemplateCS3131);
|
| iv_ruleTemplateCS=ruleTemplateCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleTemplateCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTemplateCS3141); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleTemplateCS"
|
|
|
|
|
| // $ANTLR start "ruleTemplateCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1562:1: ruleTemplateCS returns [EObject current=null] : ( (this_CollectionTemplateCS_0= ruleCollectionTemplateCS | this_ObjectTemplateCS_1= ruleObjectTemplateCS ) (otherlv_2= '{' ( (lv_guardExpression_3_0= ruleExpCS ) ) otherlv_4= '}' )? ) ;
|
| public final EObject ruleTemplateCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_2=null;
|
| Token otherlv_4=null;
|
| EObject this_CollectionTemplateCS_0 = null;
|
|
|
| EObject this_ObjectTemplateCS_1 = null;
|
|
|
| EObject lv_guardExpression_3_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1565:28: ( ( (this_CollectionTemplateCS_0= ruleCollectionTemplateCS | this_ObjectTemplateCS_1= ruleObjectTemplateCS ) (otherlv_2= '{' ( (lv_guardExpression_3_0= ruleExpCS ) ) otherlv_4= '}' )? ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1566:1: ( (this_CollectionTemplateCS_0= ruleCollectionTemplateCS | this_ObjectTemplateCS_1= ruleObjectTemplateCS ) (otherlv_2= '{' ( (lv_guardExpression_3_0= ruleExpCS ) ) otherlv_4= '}' )? )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1566:1: ( (this_CollectionTemplateCS_0= ruleCollectionTemplateCS | this_ObjectTemplateCS_1= ruleObjectTemplateCS ) (otherlv_2= '{' ( (lv_guardExpression_3_0= ruleExpCS ) ) otherlv_4= '}' )? )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1566:2: (this_CollectionTemplateCS_0= ruleCollectionTemplateCS | this_ObjectTemplateCS_1= ruleObjectTemplateCS ) (otherlv_2= '{' ( (lv_guardExpression_3_0= ruleExpCS ) ) otherlv_4= '}' )?
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1566:2: (this_CollectionTemplateCS_0= ruleCollectionTemplateCS | this_ObjectTemplateCS_1= ruleObjectTemplateCS )
|
| int alt29=2;
|
| alt29 = dfa29.predict(input);
|
| switch (alt29) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1567:2: this_CollectionTemplateCS_0= ruleCollectionTemplateCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTemplateCSAccess().getCollectionTemplateCSParserRuleCall_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleCollectionTemplateCS_in_ruleTemplateCS3192);
|
| this_CollectionTemplateCS_0=ruleCollectionTemplateCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current = this_CollectionTemplateCS_0;
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1580:2: this_ObjectTemplateCS_1= ruleObjectTemplateCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTemplateCSAccess().getObjectTemplateCSParserRuleCall_0_1());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleObjectTemplateCS_in_ruleTemplateCS3222);
|
| this_ObjectTemplateCS_1=ruleObjectTemplateCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current = this_ObjectTemplateCS_1;
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1591:2: (otherlv_2= '{' ( (lv_guardExpression_3_0= ruleExpCS ) ) otherlv_4= '}' )?
|
| int alt30=2;
|
| int LA30_0 = input.LA(1);
|
|
|
| if ( (LA30_0==17) ) {
|
| alt30=1;
|
| }
|
| switch (alt30) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1591:4: otherlv_2= '{' ( (lv_guardExpression_3_0= ruleExpCS ) ) otherlv_4= '}'
|
| {
|
| otherlv_2=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleTemplateCS3235); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_2, grammarAccess.getTemplateCSAccess().getLeftCurlyBracketKeyword_1_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1595:1: ( (lv_guardExpression_3_0= ruleExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1596:1: (lv_guardExpression_3_0= ruleExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1596:1: (lv_guardExpression_3_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1597:3: lv_guardExpression_3_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTemplateCSAccess().getGuardExpressionExpCSParserRuleCall_1_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleTemplateCS3256);
|
| lv_guardExpression_3_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getTemplateCSRule());
|
| }
|
| set(
|
| current,
|
| "guardExpression",
|
| lv_guardExpression_3_0,
|
| "ExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_4=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleTemplateCS3268); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_4, grammarAccess.getTemplateCSAccess().getRightCurlyBracketKeyword_1_2());
|
|
|
| }
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleTemplateCS"
|
|
|
|
|
| // $ANTLR start "entryRuleTransformationCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1625:1: entryRuleTransformationCS returns [EObject current=null] : iv_ruleTransformationCS= ruleTransformationCS EOF ;
|
| public final EObject entryRuleTransformationCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleTransformationCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1626:2: (iv_ruleTransformationCS= ruleTransformationCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1627:2: iv_ruleTransformationCS= ruleTransformationCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getTransformationCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTransformationCS_in_entryRuleTransformationCS3306);
|
| iv_ruleTransformationCS=ruleTransformationCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleTransformationCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTransformationCS3316); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleTransformationCS"
|
|
|
|
|
| // $ANTLR start "ruleTransformationCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1634:1: ruleTransformationCS returns [EObject current=null] : (otherlv_0= 'transformation' ( (lv_name_1_0= ruleUnrestrictedName ) ) otherlv_2= '(' ( (lv_modelDecls_3_0= ruleModelDeclCS ) ) (otherlv_4= ',' ( (lv_modelDecls_5_0= ruleModelDeclCS ) ) )* otherlv_6= ')' (otherlv_7= 'extends' ( ( ruleUnrestrictedName ) ) (otherlv_9= ',' ( ( ruleUnrestrictedName ) ) )* )? otherlv_11= '{' ( (lv_keyDecls_12_0= ruleKeyDeclCS ) )* ( ( (lv_relation_13_0= ruleRelationCS ) ) | ( (lv_queries_14_0= ruleQueryCS ) ) )* otherlv_15= '}' ) ;
|
| public final EObject ruleTransformationCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_0=null;
|
| Token otherlv_2=null;
|
| Token otherlv_4=null;
|
| Token otherlv_6=null;
|
| Token otherlv_7=null;
|
| Token otherlv_9=null;
|
| Token otherlv_11=null;
|
| Token otherlv_15=null;
|
| AntlrDatatypeRuleToken lv_name_1_0 = null;
|
|
|
| EObject lv_modelDecls_3_0 = null;
|
|
|
| EObject lv_modelDecls_5_0 = null;
|
|
|
| EObject lv_keyDecls_12_0 = null;
|
|
|
| EObject lv_relation_13_0 = null;
|
|
|
| EObject lv_queries_14_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1637:28: ( (otherlv_0= 'transformation' ( (lv_name_1_0= ruleUnrestrictedName ) ) otherlv_2= '(' ( (lv_modelDecls_3_0= ruleModelDeclCS ) ) (otherlv_4= ',' ( (lv_modelDecls_5_0= ruleModelDeclCS ) ) )* otherlv_6= ')' (otherlv_7= 'extends' ( ( ruleUnrestrictedName ) ) (otherlv_9= ',' ( ( ruleUnrestrictedName ) ) )* )? otherlv_11= '{' ( (lv_keyDecls_12_0= ruleKeyDeclCS ) )* ( ( (lv_relation_13_0= ruleRelationCS ) ) | ( (lv_queries_14_0= ruleQueryCS ) ) )* otherlv_15= '}' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1638:1: (otherlv_0= 'transformation' ( (lv_name_1_0= ruleUnrestrictedName ) ) otherlv_2= '(' ( (lv_modelDecls_3_0= ruleModelDeclCS ) ) (otherlv_4= ',' ( (lv_modelDecls_5_0= ruleModelDeclCS ) ) )* otherlv_6= ')' (otherlv_7= 'extends' ( ( ruleUnrestrictedName ) ) (otherlv_9= ',' ( ( ruleUnrestrictedName ) ) )* )? otherlv_11= '{' ( (lv_keyDecls_12_0= ruleKeyDeclCS ) )* ( ( (lv_relation_13_0= ruleRelationCS ) ) | ( (lv_queries_14_0= ruleQueryCS ) ) )* otherlv_15= '}' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1638:1: (otherlv_0= 'transformation' ( (lv_name_1_0= ruleUnrestrictedName ) ) otherlv_2= '(' ( (lv_modelDecls_3_0= ruleModelDeclCS ) ) (otherlv_4= ',' ( (lv_modelDecls_5_0= ruleModelDeclCS ) ) )* otherlv_6= ')' (otherlv_7= 'extends' ( ( ruleUnrestrictedName ) ) (otherlv_9= ',' ( ( ruleUnrestrictedName ) ) )* )? otherlv_11= '{' ( (lv_keyDecls_12_0= ruleKeyDeclCS ) )* ( ( (lv_relation_13_0= ruleRelationCS ) ) | ( (lv_queries_14_0= ruleQueryCS ) ) )* otherlv_15= '}' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1638:3: otherlv_0= 'transformation' ( (lv_name_1_0= ruleUnrestrictedName ) ) otherlv_2= '(' ( (lv_modelDecls_3_0= ruleModelDeclCS ) ) (otherlv_4= ',' ( (lv_modelDecls_5_0= ruleModelDeclCS ) ) )* otherlv_6= ')' (otherlv_7= 'extends' ( ( ruleUnrestrictedName ) ) (otherlv_9= ',' ( ( ruleUnrestrictedName ) ) )* )? otherlv_11= '{' ( (lv_keyDecls_12_0= ruleKeyDeclCS ) )* ( ( (lv_relation_13_0= ruleRelationCS ) ) | ( (lv_queries_14_0= ruleQueryCS ) ) )* otherlv_15= '}'
|
| {
|
| otherlv_0=(Token)match(input,39,FollowSets000.FOLLOW_39_in_ruleTransformationCS3353); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_0, grammarAccess.getTransformationCSAccess().getTransformationKeyword_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1642:1: ( (lv_name_1_0= ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1643:1: (lv_name_1_0= ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1643:1: (lv_name_1_0= ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1644:3: lv_name_1_0= ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTransformationCSAccess().getNameUnrestrictedNameParserRuleCall_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleTransformationCS3374);
|
| lv_name_1_0=ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getTransformationCSRule());
|
| }
|
| set(
|
| current,
|
| "name",
|
| lv_name_1_0,
|
| "UnrestrictedName");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_2=(Token)match(input,34,FollowSets000.FOLLOW_34_in_ruleTransformationCS3386); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_2, grammarAccess.getTransformationCSAccess().getLeftParenthesisKeyword_2());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1664:1: ( (lv_modelDecls_3_0= ruleModelDeclCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1665:1: (lv_modelDecls_3_0= ruleModelDeclCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1665:1: (lv_modelDecls_3_0= ruleModelDeclCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1666:3: lv_modelDecls_3_0= ruleModelDeclCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTransformationCSAccess().getModelDeclsModelDeclCSParserRuleCall_3_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleModelDeclCS_in_ruleTransformationCS3407);
|
| lv_modelDecls_3_0=ruleModelDeclCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getTransformationCSRule());
|
| }
|
| add(
|
| current,
|
| "modelDecls",
|
| lv_modelDecls_3_0,
|
| "ModelDeclCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1682:2: (otherlv_4= ',' ( (lv_modelDecls_5_0= ruleModelDeclCS ) ) )*
|
| loop31:
|
| do {
|
| int alt31=2;
|
| int LA31_0 = input.LA(1);
|
|
|
| if ( (LA31_0==18) ) {
|
| alt31=1;
|
| }
|
|
|
|
|
| switch (alt31) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1682:4: otherlv_4= ',' ( (lv_modelDecls_5_0= ruleModelDeclCS ) )
|
| {
|
| otherlv_4=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleTransformationCS3420); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_4, grammarAccess.getTransformationCSAccess().getCommaKeyword_4_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1686:1: ( (lv_modelDecls_5_0= ruleModelDeclCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1687:1: (lv_modelDecls_5_0= ruleModelDeclCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1687:1: (lv_modelDecls_5_0= ruleModelDeclCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1688:3: lv_modelDecls_5_0= ruleModelDeclCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTransformationCSAccess().getModelDeclsModelDeclCSParserRuleCall_4_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleModelDeclCS_in_ruleTransformationCS3441);
|
| lv_modelDecls_5_0=ruleModelDeclCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getTransformationCSRule());
|
| }
|
| add(
|
| current,
|
| "modelDecls",
|
| lv_modelDecls_5_0,
|
| "ModelDeclCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop31;
|
| }
|
| } while (true);
|
|
|
| otherlv_6=(Token)match(input,35,FollowSets000.FOLLOW_35_in_ruleTransformationCS3455); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_6, grammarAccess.getTransformationCSAccess().getRightParenthesisKeyword_5());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1708:1: (otherlv_7= 'extends' ( ( ruleUnrestrictedName ) ) (otherlv_9= ',' ( ( ruleUnrestrictedName ) ) )* )?
|
| int alt33=2;
|
| int LA33_0 = input.LA(1);
|
|
|
| if ( (LA33_0==40) ) {
|
| alt33=1;
|
| }
|
| switch (alt33) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1708:3: otherlv_7= 'extends' ( ( ruleUnrestrictedName ) ) (otherlv_9= ',' ( ( ruleUnrestrictedName ) ) )*
|
| {
|
| otherlv_7=(Token)match(input,40,FollowSets000.FOLLOW_40_in_ruleTransformationCS3468); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_7, grammarAccess.getTransformationCSAccess().getExtendsKeyword_6_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1712:1: ( ( ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1713:1: ( ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1713:1: ( ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1714:3: ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getTransformationCSRule());
|
| }
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTransformationCSAccess().getExtendsTransformationCrossReference_6_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleTransformationCS3495);
|
| ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1730:2: (otherlv_9= ',' ( ( ruleUnrestrictedName ) ) )*
|
| loop32:
|
| do {
|
| int alt32=2;
|
| int LA32_0 = input.LA(1);
|
|
|
| if ( (LA32_0==18) ) {
|
| alt32=1;
|
| }
|
|
|
|
|
| switch (alt32) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1730:4: otherlv_9= ',' ( ( ruleUnrestrictedName ) )
|
| {
|
| otherlv_9=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleTransformationCS3508); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_9, grammarAccess.getTransformationCSAccess().getCommaKeyword_6_2_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1734:1: ( ( ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1735:1: ( ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1735:1: ( ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1736:3: ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getTransformationCSRule());
|
| }
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTransformationCSAccess().getExtendsTransformationCrossReference_6_2_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleTransformationCS3535);
|
| ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop32;
|
| }
|
| } while (true);
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| otherlv_11=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleTransformationCS3551); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_11, grammarAccess.getTransformationCSAccess().getLeftCurlyBracketKeyword_7());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1756:1: ( (lv_keyDecls_12_0= ruleKeyDeclCS ) )*
|
| loop34:
|
| do {
|
| int alt34=2;
|
| int LA34_0 = input.LA(1);
|
|
|
| if ( (LA34_0==30) ) {
|
| alt34=1;
|
| }
|
|
|
|
|
| switch (alt34) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1757:1: (lv_keyDecls_12_0= ruleKeyDeclCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1757:1: (lv_keyDecls_12_0= ruleKeyDeclCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1758:3: lv_keyDecls_12_0= ruleKeyDeclCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTransformationCSAccess().getKeyDeclsKeyDeclCSParserRuleCall_8_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleKeyDeclCS_in_ruleTransformationCS3572);
|
| lv_keyDecls_12_0=ruleKeyDeclCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getTransformationCSRule());
|
| }
|
| add(
|
| current,
|
| "keyDecls",
|
| lv_keyDecls_12_0,
|
| "KeyDeclCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop34;
|
| }
|
| } while (true);
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1774:3: ( ( (lv_relation_13_0= ruleRelationCS ) ) | ( (lv_queries_14_0= ruleQueryCS ) ) )*
|
| loop35:
|
| do {
|
| int alt35=3;
|
| int LA35_0 = input.LA(1);
|
|
|
| if ( ((LA35_0>=36 && LA35_0<=37)) ) {
|
| alt35=1;
|
| }
|
| else if ( (LA35_0==33) ) {
|
| alt35=2;
|
| }
|
|
|
|
|
| switch (alt35) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1774:4: ( (lv_relation_13_0= ruleRelationCS ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1774:4: ( (lv_relation_13_0= ruleRelationCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1775:1: (lv_relation_13_0= ruleRelationCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1775:1: (lv_relation_13_0= ruleRelationCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1776:3: lv_relation_13_0= ruleRelationCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTransformationCSAccess().getRelationRelationCSParserRuleCall_9_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleRelationCS_in_ruleTransformationCS3595);
|
| lv_relation_13_0=ruleRelationCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getTransformationCSRule());
|
| }
|
| add(
|
| current,
|
| "relation",
|
| lv_relation_13_0,
|
| "RelationCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1793:6: ( (lv_queries_14_0= ruleQueryCS ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1793:6: ( (lv_queries_14_0= ruleQueryCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1794:1: (lv_queries_14_0= ruleQueryCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1794:1: (lv_queries_14_0= ruleQueryCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1795:3: lv_queries_14_0= ruleQueryCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTransformationCSAccess().getQueriesQueryCSParserRuleCall_9_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleQueryCS_in_ruleTransformationCS3622);
|
| lv_queries_14_0=ruleQueryCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getTransformationCSRule());
|
| }
|
| add(
|
| current,
|
| "queries",
|
| lv_queries_14_0,
|
| "QueryCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop35;
|
| }
|
| } while (true);
|
|
|
| otherlv_15=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleTransformationCS3636); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_15, grammarAccess.getTransformationCSAccess().getRightCurlyBracketKeyword_10());
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleTransformationCS"
|
|
|
|
|
| // $ANTLR start "entryRuleUnitCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1823:1: entryRuleUnitCS returns [EObject current=null] : iv_ruleUnitCS= ruleUnitCS EOF ;
|
| public final EObject entryRuleUnitCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleUnitCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1824:2: (iv_ruleUnitCS= ruleUnitCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1825:2: iv_ruleUnitCS= ruleUnitCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getUnitCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnitCS_in_entryRuleUnitCS3672);
|
| iv_ruleUnitCS=ruleUnitCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleUnitCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleUnitCS3682); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleUnitCS"
|
|
|
|
|
| // $ANTLR start "ruleUnitCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1832:1: ruleUnitCS returns [EObject current=null] : (otherlv_0= 'import' ( ( (lv_name_1_0= ruleUnrestrictedName ) ) otherlv_2= ':' )? ( (lv_pathName_3_0= ruleURIPathNameCS ) ) (otherlv_4= '::' ( (lv_all_5_0= '*' ) ) )? otherlv_6= ';' ) ;
|
| public final EObject ruleUnitCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_0=null;
|
| Token otherlv_2=null;
|
| Token otherlv_4=null;
|
| Token lv_all_5_0=null;
|
| Token otherlv_6=null;
|
| AntlrDatatypeRuleToken lv_name_1_0 = null;
|
|
|
| EObject lv_pathName_3_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1835:28: ( (otherlv_0= 'import' ( ( (lv_name_1_0= ruleUnrestrictedName ) ) otherlv_2= ':' )? ( (lv_pathName_3_0= ruleURIPathNameCS ) ) (otherlv_4= '::' ( (lv_all_5_0= '*' ) ) )? otherlv_6= ';' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1836:1: (otherlv_0= 'import' ( ( (lv_name_1_0= ruleUnrestrictedName ) ) otherlv_2= ':' )? ( (lv_pathName_3_0= ruleURIPathNameCS ) ) (otherlv_4= '::' ( (lv_all_5_0= '*' ) ) )? otherlv_6= ';' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1836:1: (otherlv_0= 'import' ( ( (lv_name_1_0= ruleUnrestrictedName ) ) otherlv_2= ':' )? ( (lv_pathName_3_0= ruleURIPathNameCS ) ) (otherlv_4= '::' ( (lv_all_5_0= '*' ) ) )? otherlv_6= ';' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1836:3: otherlv_0= 'import' ( ( (lv_name_1_0= ruleUnrestrictedName ) ) otherlv_2= ':' )? ( (lv_pathName_3_0= ruleURIPathNameCS ) ) (otherlv_4= '::' ( (lv_all_5_0= '*' ) ) )? otherlv_6= ';'
|
| {
|
| otherlv_0=(Token)match(input,41,FollowSets000.FOLLOW_41_in_ruleUnitCS3719); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_0, grammarAccess.getUnitCSAccess().getImportKeyword_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1840:1: ( ( (lv_name_1_0= ruleUnrestrictedName ) ) otherlv_2= ':' )?
|
| int alt36=2;
|
| alt36 = dfa36.predict(input);
|
| switch (alt36) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1840:2: ( (lv_name_1_0= ruleUnrestrictedName ) ) otherlv_2= ':'
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1840:2: ( (lv_name_1_0= ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1841:1: (lv_name_1_0= ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1841:1: (lv_name_1_0= ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1842:3: lv_name_1_0= ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getUnitCSAccess().getNameUnrestrictedNameParserRuleCall_1_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleUnitCS3741);
|
| lv_name_1_0=ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getUnitCSRule());
|
| }
|
| set(
|
| current,
|
| "name",
|
| lv_name_1_0,
|
| "UnrestrictedName");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_2=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleUnitCS3753); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_2, grammarAccess.getUnitCSAccess().getColonKeyword_1_1());
|
|
|
| }
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1862:3: ( (lv_pathName_3_0= ruleURIPathNameCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1863:1: (lv_pathName_3_0= ruleURIPathNameCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1863:1: (lv_pathName_3_0= ruleURIPathNameCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1864:3: lv_pathName_3_0= ruleURIPathNameCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getUnitCSAccess().getPathNameURIPathNameCSParserRuleCall_2_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleURIPathNameCS_in_ruleUnitCS3776);
|
| lv_pathName_3_0=ruleURIPathNameCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getUnitCSRule());
|
| }
|
| set(
|
| current,
|
| "pathName",
|
| lv_pathName_3_0,
|
| "URIPathNameCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1880:2: (otherlv_4= '::' ( (lv_all_5_0= '*' ) ) )?
|
| int alt37=2;
|
| int LA37_0 = input.LA(1);
|
|
|
| if ( (LA37_0==42) ) {
|
| alt37=1;
|
| }
|
| switch (alt37) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1880:4: otherlv_4= '::' ( (lv_all_5_0= '*' ) )
|
| {
|
| otherlv_4=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleUnitCS3789); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_4, grammarAccess.getUnitCSAccess().getColonColonKeyword_3_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1884:1: ( (lv_all_5_0= '*' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1885:1: (lv_all_5_0= '*' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1885:1: (lv_all_5_0= '*' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1886:3: lv_all_5_0= '*'
|
| {
|
| lv_all_5_0=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleUnitCS3807); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_all_5_0, grammarAccess.getUnitCSAccess().getAllAsteriskKeyword_3_1_0());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getUnitCSRule());
|
| }
|
| setWithLastConsumed(current, "all", true, "*");
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| otherlv_6=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleUnitCS3834); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_6, grammarAccess.getUnitCSAccess().getSemicolonKeyword_4());
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleUnitCS"
|
|
|
|
|
| // $ANTLR start "entryRuleVarDeclarationCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1911:1: entryRuleVarDeclarationCS returns [EObject current=null] : iv_ruleVarDeclarationCS= ruleVarDeclarationCS EOF ;
|
| public final EObject entryRuleVarDeclarationCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleVarDeclarationCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1912:2: (iv_ruleVarDeclarationCS= ruleVarDeclarationCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1913:2: iv_ruleVarDeclarationCS= ruleVarDeclarationCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getVarDeclarationCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleVarDeclarationCS_in_entryRuleVarDeclarationCS3870);
|
| iv_ruleVarDeclarationCS=ruleVarDeclarationCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleVarDeclarationCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleVarDeclarationCS3880); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleVarDeclarationCS"
|
|
|
|
|
| // $ANTLR start "ruleVarDeclarationCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1920:1: ruleVarDeclarationCS returns [EObject current=null] : ( ( (lv_varDeclarationIds_0_0= ruleVarDeclarationIdCS ) ) (otherlv_1= ',' ( (lv_varDeclarationIds_2_0= ruleVarDeclarationIdCS ) ) )* otherlv_3= ':' ( (lv_type_4_0= ruleTypedRefCS ) ) otherlv_5= ';' ) ;
|
| public final EObject ruleVarDeclarationCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_1=null;
|
| Token otherlv_3=null;
|
| Token otherlv_5=null;
|
| EObject lv_varDeclarationIds_0_0 = null;
|
|
|
| EObject lv_varDeclarationIds_2_0 = null;
|
|
|
| EObject lv_type_4_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1923:28: ( ( ( (lv_varDeclarationIds_0_0= ruleVarDeclarationIdCS ) ) (otherlv_1= ',' ( (lv_varDeclarationIds_2_0= ruleVarDeclarationIdCS ) ) )* otherlv_3= ':' ( (lv_type_4_0= ruleTypedRefCS ) ) otherlv_5= ';' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1924:1: ( ( (lv_varDeclarationIds_0_0= ruleVarDeclarationIdCS ) ) (otherlv_1= ',' ( (lv_varDeclarationIds_2_0= ruleVarDeclarationIdCS ) ) )* otherlv_3= ':' ( (lv_type_4_0= ruleTypedRefCS ) ) otherlv_5= ';' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1924:1: ( ( (lv_varDeclarationIds_0_0= ruleVarDeclarationIdCS ) ) (otherlv_1= ',' ( (lv_varDeclarationIds_2_0= ruleVarDeclarationIdCS ) ) )* otherlv_3= ':' ( (lv_type_4_0= ruleTypedRefCS ) ) otherlv_5= ';' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1924:2: ( (lv_varDeclarationIds_0_0= ruleVarDeclarationIdCS ) ) (otherlv_1= ',' ( (lv_varDeclarationIds_2_0= ruleVarDeclarationIdCS ) ) )* otherlv_3= ':' ( (lv_type_4_0= ruleTypedRefCS ) ) otherlv_5= ';'
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1924:2: ( (lv_varDeclarationIds_0_0= ruleVarDeclarationIdCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1925:1: (lv_varDeclarationIds_0_0= ruleVarDeclarationIdCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1925:1: (lv_varDeclarationIds_0_0= ruleVarDeclarationIdCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1926:3: lv_varDeclarationIds_0_0= ruleVarDeclarationIdCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getVarDeclarationCSAccess().getVarDeclarationIdsVarDeclarationIdCSParserRuleCall_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleVarDeclarationIdCS_in_ruleVarDeclarationCS3926);
|
| lv_varDeclarationIds_0_0=ruleVarDeclarationIdCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getVarDeclarationCSRule());
|
| }
|
| add(
|
| current,
|
| "varDeclarationIds",
|
| lv_varDeclarationIds_0_0,
|
| "VarDeclarationIdCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1942:2: (otherlv_1= ',' ( (lv_varDeclarationIds_2_0= ruleVarDeclarationIdCS ) ) )*
|
| loop38:
|
| do {
|
| int alt38=2;
|
| int LA38_0 = input.LA(1);
|
|
|
| if ( (LA38_0==18) ) {
|
| alt38=1;
|
| }
|
|
|
|
|
| switch (alt38) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1942:4: otherlv_1= ',' ( (lv_varDeclarationIds_2_0= ruleVarDeclarationIdCS ) )
|
| {
|
| otherlv_1=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleVarDeclarationCS3939); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getVarDeclarationCSAccess().getCommaKeyword_1_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1946:1: ( (lv_varDeclarationIds_2_0= ruleVarDeclarationIdCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1947:1: (lv_varDeclarationIds_2_0= ruleVarDeclarationIdCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1947:1: (lv_varDeclarationIds_2_0= ruleVarDeclarationIdCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1948:3: lv_varDeclarationIds_2_0= ruleVarDeclarationIdCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getVarDeclarationCSAccess().getVarDeclarationIdsVarDeclarationIdCSParserRuleCall_1_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleVarDeclarationIdCS_in_ruleVarDeclarationCS3960);
|
| lv_varDeclarationIds_2_0=ruleVarDeclarationIdCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getVarDeclarationCSRule());
|
| }
|
| add(
|
| current,
|
| "varDeclarationIds",
|
| lv_varDeclarationIds_2_0,
|
| "VarDeclarationIdCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop38;
|
| }
|
| } while (true);
|
|
|
| otherlv_3=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleVarDeclarationCS3974); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_3, grammarAccess.getVarDeclarationCSAccess().getColonKeyword_2());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1968:1: ( (lv_type_4_0= ruleTypedRefCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1969:1: (lv_type_4_0= ruleTypedRefCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1969:1: (lv_type_4_0= ruleTypedRefCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1970:3: lv_type_4_0= ruleTypedRefCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getVarDeclarationCSAccess().getTypeTypedRefCSParserRuleCall_3_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypedRefCS_in_ruleVarDeclarationCS3995);
|
| lv_type_4_0=ruleTypedRefCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getVarDeclarationCSRule());
|
| }
|
| set(
|
| current,
|
| "type",
|
| lv_type_4_0,
|
| "TypedRefCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_5=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleVarDeclarationCS4007); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_5, grammarAccess.getVarDeclarationCSAccess().getSemicolonKeyword_4());
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleVarDeclarationCS"
|
|
|
|
|
| // $ANTLR start "entryRuleVarDeclarationIdCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1998:1: entryRuleVarDeclarationIdCS returns [EObject current=null] : iv_ruleVarDeclarationIdCS= ruleVarDeclarationIdCS EOF ;
|
| public final EObject entryRuleVarDeclarationIdCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleVarDeclarationIdCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1999:2: (iv_ruleVarDeclarationIdCS= ruleVarDeclarationIdCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2000:2: iv_ruleVarDeclarationIdCS= ruleVarDeclarationIdCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getVarDeclarationIdCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleVarDeclarationIdCS_in_entryRuleVarDeclarationIdCS4043);
|
| iv_ruleVarDeclarationIdCS=ruleVarDeclarationIdCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleVarDeclarationIdCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleVarDeclarationIdCS4053); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleVarDeclarationIdCS"
|
|
|
|
|
| // $ANTLR start "ruleVarDeclarationIdCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2007:1: ruleVarDeclarationIdCS returns [EObject current=null] : ( (lv_name_0_0= ruleUnrestrictedName ) ) ;
|
| public final EObject ruleVarDeclarationIdCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| AntlrDatatypeRuleToken lv_name_0_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2010:28: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2011:1: ( (lv_name_0_0= ruleUnrestrictedName ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2011:1: ( (lv_name_0_0= ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2012:1: (lv_name_0_0= ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2012:1: (lv_name_0_0= ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2013:3: lv_name_0_0= ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getVarDeclarationIdCSAccess().getNameUnrestrictedNameParserRuleCall_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleVarDeclarationIdCS4098);
|
| lv_name_0_0=ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getVarDeclarationIdCSRule());
|
| }
|
| set(
|
| current,
|
| "name",
|
| lv_name_0_0,
|
| "UnrestrictedName");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleVarDeclarationIdCS"
|
|
|
|
|
| // $ANTLR start "entryRuleWhenCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2037:1: entryRuleWhenCS returns [EObject current=null] : iv_ruleWhenCS= ruleWhenCS EOF ;
|
| public final EObject entryRuleWhenCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleWhenCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2038:2: (iv_ruleWhenCS= ruleWhenCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2039:2: iv_ruleWhenCS= ruleWhenCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getWhenCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleWhenCS_in_entryRuleWhenCS4133);
|
| iv_ruleWhenCS=ruleWhenCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleWhenCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleWhenCS4143); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleWhenCS"
|
|
|
|
|
| // $ANTLR start "ruleWhenCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2046:1: ruleWhenCS returns [EObject current=null] : ( () otherlv_1= 'when' otherlv_2= '{' ( (lv_predicates_3_0= rulePredicateCS ) )* otherlv_4= '}' ) ;
|
| public final EObject ruleWhenCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_1=null;
|
| Token otherlv_2=null;
|
| Token otherlv_4=null;
|
| EObject lv_predicates_3_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2049:28: ( ( () otherlv_1= 'when' otherlv_2= '{' ( (lv_predicates_3_0= rulePredicateCS ) )* otherlv_4= '}' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2050:1: ( () otherlv_1= 'when' otherlv_2= '{' ( (lv_predicates_3_0= rulePredicateCS ) )* otherlv_4= '}' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2050:1: ( () otherlv_1= 'when' otherlv_2= '{' ( (lv_predicates_3_0= rulePredicateCS ) )* otherlv_4= '}' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2050:2: () otherlv_1= 'when' otherlv_2= '{' ( (lv_predicates_3_0= rulePredicateCS ) )* otherlv_4= '}'
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2050:2: ()
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2051:2:
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| current = forceCreateModelElement(
|
| grammarAccess.getWhenCSAccess().getPatternCSAction_0(),
|
| current);
|
|
|
| }
|
|
|
| }
|
|
|
| otherlv_1=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleWhenCS4192); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getWhenCSAccess().getWhenKeyword_1());
|
|
|
| }
|
| otherlv_2=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleWhenCS4204); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_2, grammarAccess.getWhenCSAccess().getLeftCurlyBracketKeyword_2());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2067:1: ( (lv_predicates_3_0= rulePredicateCS ) )*
|
| loop39:
|
| do {
|
| int alt39=2;
|
| int LA39_0 = input.LA(1);
|
|
|
| if ( ((LA39_0>=RULE_SIMPLE_ID && LA39_0<=RULE_SINGLE_QUOTED_STRING)||(LA39_0>=24 && LA39_0<=34)||(LA39_0>=36 && LA39_0<=41)||(LA39_0>=43 && LA39_0<=47)||(LA39_0>=61 && LA39_0<=74)||(LA39_0>=79 && LA39_0<=82)||LA39_0==86||LA39_0==90||LA39_0==92) ) {
|
| alt39=1;
|
| }
|
|
|
|
|
| switch (alt39) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2068:1: (lv_predicates_3_0= rulePredicateCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2068:1: (lv_predicates_3_0= rulePredicateCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2069:3: lv_predicates_3_0= rulePredicateCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getWhenCSAccess().getPredicatesPredicateCSParserRuleCall_3_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePredicateCS_in_ruleWhenCS4225);
|
| lv_predicates_3_0=rulePredicateCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getWhenCSRule());
|
| }
|
| add(
|
| current,
|
| "predicates",
|
| lv_predicates_3_0,
|
| "PredicateCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop39;
|
| }
|
| } while (true);
|
|
|
| otherlv_4=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleWhenCS4238); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_4, grammarAccess.getWhenCSAccess().getRightCurlyBracketKeyword_4());
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleWhenCS"
|
|
|
|
|
| // $ANTLR start "entryRuleWhereCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2097:1: entryRuleWhereCS returns [EObject current=null] : iv_ruleWhereCS= ruleWhereCS EOF ;
|
| public final EObject entryRuleWhereCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleWhereCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2098:2: (iv_ruleWhereCS= ruleWhereCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2099:2: iv_ruleWhereCS= ruleWhereCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getWhereCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleWhereCS_in_entryRuleWhereCS4274);
|
| iv_ruleWhereCS=ruleWhereCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleWhereCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleWhereCS4284); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleWhereCS"
|
|
|
|
|
| // $ANTLR start "ruleWhereCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2106:1: ruleWhereCS returns [EObject current=null] : ( () otherlv_1= 'where' otherlv_2= '{' ( (lv_predicates_3_0= rulePredicateCS ) )* otherlv_4= '}' ) ;
|
| public final EObject ruleWhereCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_1=null;
|
| Token otherlv_2=null;
|
| Token otherlv_4=null;
|
| EObject lv_predicates_3_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2109:28: ( ( () otherlv_1= 'where' otherlv_2= '{' ( (lv_predicates_3_0= rulePredicateCS ) )* otherlv_4= '}' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2110:1: ( () otherlv_1= 'where' otherlv_2= '{' ( (lv_predicates_3_0= rulePredicateCS ) )* otherlv_4= '}' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2110:1: ( () otherlv_1= 'where' otherlv_2= '{' ( (lv_predicates_3_0= rulePredicateCS ) )* otherlv_4= '}' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2110:2: () otherlv_1= 'where' otherlv_2= '{' ( (lv_predicates_3_0= rulePredicateCS ) )* otherlv_4= '}'
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2110:2: ()
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2111:2:
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| current = forceCreateModelElement(
|
| grammarAccess.getWhereCSAccess().getPatternCSAction_0(),
|
| current);
|
|
|
| }
|
|
|
| }
|
|
|
| otherlv_1=(Token)match(input,45,FollowSets000.FOLLOW_45_in_ruleWhereCS4333); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getWhereCSAccess().getWhereKeyword_1());
|
|
|
| }
|
| otherlv_2=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleWhereCS4345); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_2, grammarAccess.getWhereCSAccess().getLeftCurlyBracketKeyword_2());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2127:1: ( (lv_predicates_3_0= rulePredicateCS ) )*
|
| loop40:
|
| do {
|
| int alt40=2;
|
| int LA40_0 = input.LA(1);
|
|
|
| if ( ((LA40_0>=RULE_SIMPLE_ID && LA40_0<=RULE_SINGLE_QUOTED_STRING)||(LA40_0>=24 && LA40_0<=34)||(LA40_0>=36 && LA40_0<=41)||(LA40_0>=43 && LA40_0<=47)||(LA40_0>=61 && LA40_0<=74)||(LA40_0>=79 && LA40_0<=82)||LA40_0==86||LA40_0==90||LA40_0==92) ) {
|
| alt40=1;
|
| }
|
|
|
|
|
| switch (alt40) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2128:1: (lv_predicates_3_0= rulePredicateCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2128:1: (lv_predicates_3_0= rulePredicateCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2129:3: lv_predicates_3_0= rulePredicateCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getWhereCSAccess().getPredicatesPredicateCSParserRuleCall_3_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePredicateCS_in_ruleWhereCS4366);
|
| lv_predicates_3_0=rulePredicateCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getWhereCSRule());
|
| }
|
| add(
|
| current,
|
| "predicates",
|
| lv_predicates_3_0,
|
| "PredicateCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop40;
|
| }
|
| } while (true);
|
|
|
| otherlv_4=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleWhereCS4379); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_4, grammarAccess.getWhereCSAccess().getRightCurlyBracketKeyword_4());
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleWhereCS"
|
|
|
|
|
| // $ANTLR start "entryRuleExpCSOrTemplateCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2159:1: entryRuleExpCSOrTemplateCS returns [EObject current=null] : iv_ruleExpCSOrTemplateCS= ruleExpCSOrTemplateCS EOF ;
|
| public final EObject entryRuleExpCSOrTemplateCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleExpCSOrTemplateCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2160:2: (iv_ruleExpCSOrTemplateCS= ruleExpCSOrTemplateCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2161:2: iv_ruleExpCSOrTemplateCS= ruleExpCSOrTemplateCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getExpCSOrTemplateCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCSOrTemplateCS_in_entryRuleExpCSOrTemplateCS4417);
|
| iv_ruleExpCSOrTemplateCS=ruleExpCSOrTemplateCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleExpCSOrTemplateCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleExpCSOrTemplateCS4427); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleExpCSOrTemplateCS"
|
|
|
|
|
| // $ANTLR start "ruleExpCSOrTemplateCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2168:1: ruleExpCSOrTemplateCS returns [EObject current=null] : (this_ExpCS_0= ruleExpCS | this_TemplateCS_1= ruleTemplateCS ) ;
|
| public final EObject ruleExpCSOrTemplateCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject this_ExpCS_0 = null;
|
|
|
| EObject this_TemplateCS_1 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2171:28: ( (this_ExpCS_0= ruleExpCS | this_TemplateCS_1= ruleTemplateCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2172:1: (this_ExpCS_0= ruleExpCS | this_TemplateCS_1= ruleTemplateCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2172:1: (this_ExpCS_0= ruleExpCS | this_TemplateCS_1= ruleTemplateCS )
|
| int alt41=2;
|
| alt41 = dfa41.predict(input);
|
| switch (alt41) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2173:2: this_ExpCS_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getExpCSOrTemplateCSAccess().getExpCSParserRuleCall_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleExpCSOrTemplateCS4477);
|
| this_ExpCS_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current = this_ExpCS_0;
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2186:2: this_TemplateCS_1= ruleTemplateCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getExpCSOrTemplateCSAccess().getTemplateCSParserRuleCall_1());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTemplateCS_in_ruleExpCSOrTemplateCS4507);
|
| this_TemplateCS_1=ruleTemplateCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current = this_TemplateCS_1;
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleExpCSOrTemplateCS"
|
|
|
|
|
| // $ANTLR start "entryRuleTypedTypeRefCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2205: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2206:2: (iv_ruleTypedTypeRefCS= ruleTypedTypeRefCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2207:2: iv_ruleTypedTypeRefCS= ruleTypedTypeRefCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getTypedTypeRefCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypedTypeRefCS_in_entryRuleTypedTypeRefCS4542);
|
| iv_ruleTypedTypeRefCS=ruleTypedTypeRefCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleTypedTypeRefCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypedTypeRefCS4552); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleTypedTypeRefCS"
|
|
|
|
|
| // $ANTLR start "ruleTypedTypeRefCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2214:1: ruleTypedTypeRefCS returns [EObject current=null] : ( (lv_pathName_0_0= rulePathNameCS ) ) ;
|
| public final EObject ruleTypedTypeRefCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject lv_pathName_0_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2217:28: ( ( (lv_pathName_0_0= rulePathNameCS ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2218:1: ( (lv_pathName_0_0= rulePathNameCS ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2218:1: ( (lv_pathName_0_0= rulePathNameCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2219:1: (lv_pathName_0_0= rulePathNameCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2219:1: (lv_pathName_0_0= rulePathNameCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2220:3: lv_pathName_0_0= rulePathNameCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTypedTypeRefCSAccess().getPathNamePathNameCSParserRuleCall_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePathNameCS_in_ruleTypedTypeRefCS4597);
|
| lv_pathName_0_0=rulePathNameCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getTypedTypeRefCSRule());
|
| }
|
| set(
|
| current,
|
| "pathName",
|
| lv_pathName_0_0,
|
| "PathNameCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleTypedTypeRefCS"
|
|
|
|
|
| // $ANTLR start "entryRuleTypedRefCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2244: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2245:2: (iv_ruleTypedRefCS= ruleTypedRefCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2246:2: iv_ruleTypedRefCS= ruleTypedRefCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getTypedRefCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypedRefCS_in_entryRuleTypedRefCS4632);
|
| iv_ruleTypedRefCS=ruleTypedRefCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleTypedRefCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypedRefCS4642); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleTypedRefCS"
|
|
|
|
|
| // $ANTLR start "ruleTypedRefCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2253:1: ruleTypedRefCS returns [EObject current=null] : (this_PrimitiveTypeCS_0= rulePrimitiveTypeCS | this_CollectionTypeCS_1= ruleCollectionTypeCS | this_TypedTypeRefCS_2= ruleTypedTypeRefCS ) ;
|
| public final EObject ruleTypedRefCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject this_PrimitiveTypeCS_0 = null;
|
|
|
| EObject this_CollectionTypeCS_1 = null;
|
|
|
| EObject this_TypedTypeRefCS_2 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2256:28: ( (this_PrimitiveTypeCS_0= rulePrimitiveTypeCS | this_CollectionTypeCS_1= ruleCollectionTypeCS | this_TypedTypeRefCS_2= ruleTypedTypeRefCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2257:1: (this_PrimitiveTypeCS_0= rulePrimitiveTypeCS | this_CollectionTypeCS_1= ruleCollectionTypeCS | this_TypedTypeRefCS_2= ruleTypedTypeRefCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2257:1: (this_PrimitiveTypeCS_0= rulePrimitiveTypeCS | this_CollectionTypeCS_1= ruleCollectionTypeCS | this_TypedTypeRefCS_2= ruleTypedTypeRefCS )
|
| int alt42=3;
|
| switch ( input.LA(1) ) {
|
| case 62:
|
| case 63:
|
| case 64:
|
| case 65:
|
| case 66:
|
| case 67:
|
| case 68:
|
| case 69:
|
| {
|
| alt42=1;
|
| }
|
| break;
|
| case 70:
|
| case 71:
|
| case 72:
|
| case 73:
|
| case 74:
|
| {
|
| alt42=2;
|
| }
|
| break;
|
| case RULE_SIMPLE_ID:
|
| case RULE_ESCAPED_ID:
|
| case 24:
|
| case 25:
|
| case 26:
|
| case 27:
|
| case 28:
|
| case 29:
|
| case 30:
|
| case 31:
|
| case 32:
|
| case 33:
|
| case 36:
|
| case 37:
|
| case 38:
|
| case 39:
|
| case 40:
|
| case 41:
|
| case 44:
|
| case 45:
|
| {
|
| alt42=3;
|
| }
|
| break;
|
| default:
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2258:2: this_PrimitiveTypeCS_0= rulePrimitiveTypeCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTypedRefCSAccess().getPrimitiveTypeCSParserRuleCall_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePrimitiveTypeCS_in_ruleTypedRefCS4692);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2271:2: this_CollectionTypeCS_1= ruleCollectionTypeCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTypedRefCSAccess().getCollectionTypeCSParserRuleCall_1());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeCS_in_ruleTypedRefCS4722);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2284:2: this_TypedTypeRefCS_2= ruleTypedTypeRefCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTypedRefCSAccess().getTypedTypeRefCSParserRuleCall_2());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypedTypeRefCS_in_ruleTypedRefCS4752);
|
| this_TypedTypeRefCS_2=ruleTypedTypeRefCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current = this_TypedTypeRefCS_2;
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleTypedRefCS"
|
|
|
|
|
| // $ANTLR start "entryRuleUnrestrictedName"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2303: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2304:2: (iv_ruleUnrestrictedName= ruleUnrestrictedName EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2305:2: iv_ruleUnrestrictedName= ruleUnrestrictedName EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getUnrestrictedNameRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_entryRuleUnrestrictedName4788);
|
| 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_entryRuleUnrestrictedName4799); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleUnrestrictedName"
|
|
|
|
|
| // $ANTLR start "ruleUnrestrictedName"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2312:1: ruleUnrestrictedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_EssentialOCLUnrestrictedName_0= ruleEssentialOCLUnrestrictedName | kw= 'checkonly' | kw= 'default_values' | kw= 'domain' | kw= 'enforce' | kw= 'extends' | kw= 'implementedby' | kw= 'import' | kw= 'library' | kw= 'key' | kw= 'overrides' | kw= 'primitive' | kw= 'query' | kw= 'relation' | kw= 'replace' | kw= 'top' | kw= 'transformation' | kw= 'when' | kw= 'where' ) ;
|
| public final AntlrDatatypeRuleToken ruleUnrestrictedName() throws RecognitionException {
|
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
|
|
|
| Token kw=null;
|
| AntlrDatatypeRuleToken this_EssentialOCLUnrestrictedName_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2315:28: ( (this_EssentialOCLUnrestrictedName_0= ruleEssentialOCLUnrestrictedName | kw= 'checkonly' | kw= 'default_values' | kw= 'domain' | kw= 'enforce' | kw= 'extends' | kw= 'implementedby' | kw= 'import' | kw= 'library' | kw= 'key' | kw= 'overrides' | kw= 'primitive' | kw= 'query' | kw= 'relation' | kw= 'replace' | kw= 'top' | kw= 'transformation' | kw= 'when' | kw= 'where' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2316:1: (this_EssentialOCLUnrestrictedName_0= ruleEssentialOCLUnrestrictedName | kw= 'checkonly' | kw= 'default_values' | kw= 'domain' | kw= 'enforce' | kw= 'extends' | kw= 'implementedby' | kw= 'import' | kw= 'library' | kw= 'key' | kw= 'overrides' | kw= 'primitive' | kw= 'query' | kw= 'relation' | kw= 'replace' | kw= 'top' | kw= 'transformation' | kw= 'when' | kw= 'where' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2316:1: (this_EssentialOCLUnrestrictedName_0= ruleEssentialOCLUnrestrictedName | kw= 'checkonly' | kw= 'default_values' | kw= 'domain' | kw= 'enforce' | kw= 'extends' | kw= 'implementedby' | kw= 'import' | kw= 'library' | kw= 'key' | kw= 'overrides' | kw= 'primitive' | kw= 'query' | kw= 'relation' | kw= 'replace' | kw= 'top' | kw= 'transformation' | kw= 'when' | kw= 'where' )
|
| int alt43=19;
|
| switch ( input.LA(1) ) {
|
| case RULE_SIMPLE_ID:
|
| case RULE_ESCAPED_ID:
|
| {
|
| alt43=1;
|
| }
|
| break;
|
| case 24:
|
| {
|
| alt43=2;
|
| }
|
| break;
|
| case 29:
|
| {
|
| alt43=3;
|
| }
|
| break;
|
| case 27:
|
| {
|
| alt43=4;
|
| }
|
| break;
|
| case 25:
|
| {
|
| alt43=5;
|
| }
|
| break;
|
| case 40:
|
| {
|
| alt43=6;
|
| }
|
| break;
|
| case 28:
|
| {
|
| alt43=7;
|
| }
|
| break;
|
| case 41:
|
| {
|
| alt43=8;
|
| }
|
| break;
|
| case 31:
|
| {
|
| alt43=9;
|
| }
|
| break;
|
| case 30:
|
| {
|
| alt43=10;
|
| }
|
| break;
|
| case 38:
|
| {
|
| alt43=11;
|
| }
|
| break;
|
| case 32:
|
| {
|
| alt43=12;
|
| }
|
| break;
|
| case 33:
|
| {
|
| alt43=13;
|
| }
|
| break;
|
| case 37:
|
| {
|
| alt43=14;
|
| }
|
| break;
|
| case 26:
|
| {
|
| alt43=15;
|
| }
|
| break;
|
| case 36:
|
| {
|
| alt43=16;
|
| }
|
| break;
|
| case 39:
|
| {
|
| alt43=17;
|
| }
|
| break;
|
| case 44:
|
| {
|
| alt43=18;
|
| }
|
| break;
|
| case 45:
|
| {
|
| alt43=19;
|
| }
|
| break;
|
| default:
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| NoViableAltException nvae =
|
| new NoViableAltException("", 43, 0, input);
|
|
|
| throw nvae;
|
| }
|
|
|
| switch (alt43) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2317:5: this_EssentialOCLUnrestrictedName_0= ruleEssentialOCLUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getUnrestrictedNameAccess().getEssentialOCLUnrestrictedNameParserRuleCall_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLUnrestrictedName_in_ruleUnrestrictedName4846);
|
| this_EssentialOCLUnrestrictedName_0=ruleEssentialOCLUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(this_EssentialOCLUnrestrictedName_0);
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2329:2: kw= 'checkonly'
|
| {
|
| kw=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleUnrestrictedName4870); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getUnrestrictedNameAccess().getCheckonlyKeyword_1());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 3 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2336:2: kw= 'default_values'
|
| {
|
| kw=(Token)match(input,29,FollowSets000.FOLLOW_29_in_ruleUnrestrictedName4889); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getUnrestrictedNameAccess().getDefault_valuesKeyword_2());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 4 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2343:2: kw= 'domain'
|
| {
|
| kw=(Token)match(input,27,FollowSets000.FOLLOW_27_in_ruleUnrestrictedName4908); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getUnrestrictedNameAccess().getDomainKeyword_3());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 5 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2350:2: kw= 'enforce'
|
| {
|
| kw=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleUnrestrictedName4927); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getUnrestrictedNameAccess().getEnforceKeyword_4());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 6 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2357:2: kw= 'extends'
|
| {
|
| kw=(Token)match(input,40,FollowSets000.FOLLOW_40_in_ruleUnrestrictedName4946); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getUnrestrictedNameAccess().getExtendsKeyword_5());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 7 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2364:2: kw= 'implementedby'
|
| {
|
| kw=(Token)match(input,28,FollowSets000.FOLLOW_28_in_ruleUnrestrictedName4965); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getUnrestrictedNameAccess().getImplementedbyKeyword_6());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 8 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2371:2: kw= 'import'
|
| {
|
| kw=(Token)match(input,41,FollowSets000.FOLLOW_41_in_ruleUnrestrictedName4984); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getUnrestrictedNameAccess().getImportKeyword_7());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 9 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2378:2: kw= 'library'
|
| {
|
| kw=(Token)match(input,31,FollowSets000.FOLLOW_31_in_ruleUnrestrictedName5003); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getUnrestrictedNameAccess().getLibraryKeyword_8());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 10 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2385:2: kw= 'key'
|
| {
|
| kw=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleUnrestrictedName5022); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getUnrestrictedNameAccess().getKeyKeyword_9());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 11 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2392:2: kw= 'overrides'
|
| {
|
| kw=(Token)match(input,38,FollowSets000.FOLLOW_38_in_ruleUnrestrictedName5041); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getUnrestrictedNameAccess().getOverridesKeyword_10());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 12 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2399:2: kw= 'primitive'
|
| {
|
| kw=(Token)match(input,32,FollowSets000.FOLLOW_32_in_ruleUnrestrictedName5060); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getUnrestrictedNameAccess().getPrimitiveKeyword_11());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 13 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2406:2: kw= 'query'
|
| {
|
| kw=(Token)match(input,33,FollowSets000.FOLLOW_33_in_ruleUnrestrictedName5079); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getUnrestrictedNameAccess().getQueryKeyword_12());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 14 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2413:2: kw= 'relation'
|
| {
|
| kw=(Token)match(input,37,FollowSets000.FOLLOW_37_in_ruleUnrestrictedName5098); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getUnrestrictedNameAccess().getRelationKeyword_13());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 15 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2420:2: kw= 'replace'
|
| {
|
| kw=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleUnrestrictedName5117); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getUnrestrictedNameAccess().getReplaceKeyword_14());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 16 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2427:2: kw= 'top'
|
| {
|
| kw=(Token)match(input,36,FollowSets000.FOLLOW_36_in_ruleUnrestrictedName5136); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getUnrestrictedNameAccess().getTopKeyword_15());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 17 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2434:2: kw= 'transformation'
|
| {
|
| kw=(Token)match(input,39,FollowSets000.FOLLOW_39_in_ruleUnrestrictedName5155); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getUnrestrictedNameAccess().getTransformationKeyword_16());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 18 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2441:2: kw= 'when'
|
| {
|
| kw=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleUnrestrictedName5174); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getUnrestrictedNameAccess().getWhenKeyword_17());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 19 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2448:2: kw= 'where'
|
| {
|
| kw=(Token)match(input,45,FollowSets000.FOLLOW_45_in_ruleUnrestrictedName5193); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getUnrestrictedNameAccess().getWhereKeyword_18());
|
|
|
| }
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleUnrestrictedName"
|
|
|
|
|
| // $ANTLR start "entryRuleID"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2463: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2464:2: (iv_ruleID= ruleID EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2465:2: iv_ruleID= ruleID EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getIDRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleID_in_entryRuleID5236);
|
| 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_entryRuleID5247); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleID"
|
|
|
|
|
| // $ANTLR start "ruleID"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2472: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2475:28: ( (this_SIMPLE_ID_0= RULE_SIMPLE_ID | this_ESCAPED_ID_1= RULE_ESCAPED_ID ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2476:1: (this_SIMPLE_ID_0= RULE_SIMPLE_ID | this_ESCAPED_ID_1= RULE_ESCAPED_ID )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2476:1: (this_SIMPLE_ID_0= RULE_SIMPLE_ID | this_ESCAPED_ID_1= RULE_ESCAPED_ID )
|
| int alt44=2;
|
| int LA44_0 = input.LA(1);
|
|
|
| if ( (LA44_0==RULE_SIMPLE_ID) ) {
|
| alt44=1;
|
| }
|
| else if ( (LA44_0==RULE_ESCAPED_ID) ) {
|
| alt44=2;
|
| }
|
| else {
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| NoViableAltException nvae =
|
| new NoViableAltException("", 44, 0, input);
|
|
|
| throw nvae;
|
| }
|
| switch (alt44) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2476:6: this_SIMPLE_ID_0= RULE_SIMPLE_ID
|
| {
|
| this_SIMPLE_ID_0=(Token)match(input,RULE_SIMPLE_ID,FollowSets000.FOLLOW_RULE_SIMPLE_ID_in_ruleID5287); 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2484:10: this_ESCAPED_ID_1= RULE_ESCAPED_ID
|
| {
|
| this_ESCAPED_ID_1=(Token)match(input,RULE_ESCAPED_ID,FollowSets000.FOLLOW_RULE_ESCAPED_ID_in_ruleID5313); 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2499: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2500:2: (iv_ruleLOWER= ruleLOWER EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2501:2: iv_ruleLOWER= ruleLOWER EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getLOWERRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleLOWER_in_entryRuleLOWER5359);
|
| 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_entryRuleLOWER5370); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleLOWER"
|
|
|
|
|
| // $ANTLR start "ruleLOWER"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2508: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2511:28: (this_INT_0= RULE_INT )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2512:5: this_INT_0= RULE_INT
|
| {
|
| this_INT_0=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_RULE_INT_in_ruleLOWER5409); 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 "entryRuleUPPER"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2527: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2528:2: (iv_ruleUPPER= ruleUPPER EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2529:2: iv_ruleUPPER= ruleUPPER EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getUPPERRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUPPER_in_entryRuleUPPER5454);
|
| 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_entryRuleUPPER5465); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleUPPER"
|
|
|
|
|
| // $ANTLR start "ruleUPPER"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2536: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2539:28: ( (this_INT_0= RULE_INT | kw= '*' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2540:1: (this_INT_0= RULE_INT | kw= '*' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2540:1: (this_INT_0= RULE_INT | kw= '*' )
|
| int alt45=2;
|
| int LA45_0 = input.LA(1);
|
|
|
| if ( (LA45_0==RULE_INT) ) {
|
| alt45=1;
|
| }
|
| else if ( (LA45_0==43) ) {
|
| alt45=2;
|
| }
|
| else {
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| NoViableAltException nvae =
|
| new NoViableAltException("", 45, 0, input);
|
|
|
| throw nvae;
|
| }
|
| switch (alt45) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2540:6: this_INT_0= RULE_INT
|
| {
|
| this_INT_0=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_RULE_INT_in_ruleUPPER5505); 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2549:2: kw= '*'
|
| {
|
| kw=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleUPPER5529); 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 "entryRuleNUMBER_LITERAL"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2562: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2563:2: (iv_ruleNUMBER_LITERAL= ruleNUMBER_LITERAL EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2564:2: iv_ruleNUMBER_LITERAL= ruleNUMBER_LITERAL EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getNUMBER_LITERALRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNUMBER_LITERAL_in_entryRuleNUMBER_LITERAL5570);
|
| 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_LITERAL5581); 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2571: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2574:28: (this_INT_0= RULE_INT )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2575:5: this_INT_0= RULE_INT
|
| {
|
| this_INT_0=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_RULE_INT_in_ruleNUMBER_LITERAL5620); 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 "entryRuleURI"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2590: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2591:2: (iv_ruleURI= ruleURI EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2592:2: iv_ruleURI= ruleURI EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getURIRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleURI_in_entryRuleURI5665);
|
| 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_entryRuleURI5676); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleURI"
|
|
|
|
|
| // $ANTLR start "ruleURI"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2599: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2602:28: (this_SINGLE_QUOTED_STRING_0= RULE_SINGLE_QUOTED_STRING )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2603: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_ruleURI5715); 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 "entryRuleEssentialOCLUnaryOperatorCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2620:1: entryRuleEssentialOCLUnaryOperatorCS returns [EObject current=null] : iv_ruleEssentialOCLUnaryOperatorCS= ruleEssentialOCLUnaryOperatorCS EOF ;
|
| public final EObject entryRuleEssentialOCLUnaryOperatorCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleEssentialOCLUnaryOperatorCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2621:2: (iv_ruleEssentialOCLUnaryOperatorCS= ruleEssentialOCLUnaryOperatorCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2622:2: iv_ruleEssentialOCLUnaryOperatorCS= ruleEssentialOCLUnaryOperatorCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getEssentialOCLUnaryOperatorCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLUnaryOperatorCS_in_entryRuleEssentialOCLUnaryOperatorCS5761);
|
| iv_ruleEssentialOCLUnaryOperatorCS=ruleEssentialOCLUnaryOperatorCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleEssentialOCLUnaryOperatorCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEssentialOCLUnaryOperatorCS5771); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleEssentialOCLUnaryOperatorCS"
|
|
|
|
|
| // $ANTLR start "ruleEssentialOCLUnaryOperatorCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2629:1: ruleEssentialOCLUnaryOperatorCS returns [EObject current=null] : ( ( (lv_name_0_1= '-' | lv_name_0_2= 'not' ) ) ) ;
|
| public final EObject ruleEssentialOCLUnaryOperatorCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token lv_name_0_1=null;
|
| Token lv_name_0_2=null;
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2632:28: ( ( ( (lv_name_0_1= '-' | lv_name_0_2= 'not' ) ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2633:1: ( ( (lv_name_0_1= '-' | lv_name_0_2= 'not' ) ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2633:1: ( ( (lv_name_0_1= '-' | lv_name_0_2= 'not' ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2634:1: ( (lv_name_0_1= '-' | lv_name_0_2= 'not' ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2634:1: ( (lv_name_0_1= '-' | lv_name_0_2= 'not' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2635:1: (lv_name_0_1= '-' | lv_name_0_2= 'not' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2635:1: (lv_name_0_1= '-' | lv_name_0_2= 'not' )
|
| int alt46=2;
|
| int LA46_0 = input.LA(1);
|
|
|
| if ( (LA46_0==46) ) {
|
| alt46=1;
|
| }
|
| else if ( (LA46_0==47) ) {
|
| alt46=2;
|
| }
|
| else {
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2636:3: lv_name_0_1= '-'
|
| {
|
| lv_name_0_1=(Token)match(input,46,FollowSets000.FOLLOW_46_in_ruleEssentialOCLUnaryOperatorCS5815); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_name_0_1, grammarAccess.getEssentialOCLUnaryOperatorCSAccess().getNameHyphenMinusKeyword_0_0());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getEssentialOCLUnaryOperatorCSRule());
|
| }
|
| setWithLastConsumed(current, "name", lv_name_0_1, null);
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2648:8: lv_name_0_2= 'not'
|
| {
|
| lv_name_0_2=(Token)match(input,47,FollowSets000.FOLLOW_47_in_ruleEssentialOCLUnaryOperatorCS5844); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_name_0_2, grammarAccess.getEssentialOCLUnaryOperatorCSAccess().getNameNotKeyword_0_1());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getEssentialOCLUnaryOperatorCSRule());
|
| }
|
| setWithLastConsumed(current, "name", lv_name_0_2, null);
|
|
|
| }
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleEssentialOCLUnaryOperatorCS"
|
|
|
|
|
| // $ANTLR start "entryRuleEssentialOCLInfixOperatorCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2671:1: entryRuleEssentialOCLInfixOperatorCS returns [EObject current=null] : iv_ruleEssentialOCLInfixOperatorCS= ruleEssentialOCLInfixOperatorCS EOF ;
|
| public final EObject entryRuleEssentialOCLInfixOperatorCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleEssentialOCLInfixOperatorCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2672:2: (iv_ruleEssentialOCLInfixOperatorCS= ruleEssentialOCLInfixOperatorCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2673:2: iv_ruleEssentialOCLInfixOperatorCS= ruleEssentialOCLInfixOperatorCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getEssentialOCLInfixOperatorCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLInfixOperatorCS_in_entryRuleEssentialOCLInfixOperatorCS5895);
|
| iv_ruleEssentialOCLInfixOperatorCS=ruleEssentialOCLInfixOperatorCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleEssentialOCLInfixOperatorCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEssentialOCLInfixOperatorCS5905); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleEssentialOCLInfixOperatorCS"
|
|
|
|
|
| // $ANTLR start "ruleEssentialOCLInfixOperatorCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2680:1: ruleEssentialOCLInfixOperatorCS returns [EObject current=null] : ( ( (lv_name_0_1= '*' | lv_name_0_2= '/' | lv_name_0_3= '+' | lv_name_0_4= '-' | lv_name_0_5= '>' | lv_name_0_6= '<' | lv_name_0_7= '>=' | lv_name_0_8= '<=' | lv_name_0_9= '=' | lv_name_0_10= '<>' | lv_name_0_11= 'and' | lv_name_0_12= 'or' | lv_name_0_13= 'xor' | lv_name_0_14= 'implies' ) ) ) ;
|
| public final EObject ruleEssentialOCLInfixOperatorCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token lv_name_0_1=null;
|
| Token lv_name_0_2=null;
|
| Token lv_name_0_3=null;
|
| Token lv_name_0_4=null;
|
| Token lv_name_0_5=null;
|
| Token lv_name_0_6=null;
|
| Token lv_name_0_7=null;
|
| Token lv_name_0_8=null;
|
| Token lv_name_0_9=null;
|
| Token lv_name_0_10=null;
|
| Token lv_name_0_11=null;
|
| Token lv_name_0_12=null;
|
| Token lv_name_0_13=null;
|
| Token lv_name_0_14=null;
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2683:28: ( ( ( (lv_name_0_1= '*' | lv_name_0_2= '/' | lv_name_0_3= '+' | lv_name_0_4= '-' | lv_name_0_5= '>' | lv_name_0_6= '<' | lv_name_0_7= '>=' | lv_name_0_8= '<=' | lv_name_0_9= '=' | lv_name_0_10= '<>' | lv_name_0_11= 'and' | lv_name_0_12= 'or' | lv_name_0_13= 'xor' | lv_name_0_14= 'implies' ) ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2684:1: ( ( (lv_name_0_1= '*' | lv_name_0_2= '/' | lv_name_0_3= '+' | lv_name_0_4= '-' | lv_name_0_5= '>' | lv_name_0_6= '<' | lv_name_0_7= '>=' | lv_name_0_8= '<=' | lv_name_0_9= '=' | lv_name_0_10= '<>' | lv_name_0_11= 'and' | lv_name_0_12= 'or' | lv_name_0_13= 'xor' | lv_name_0_14= 'implies' ) ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2684:1: ( ( (lv_name_0_1= '*' | lv_name_0_2= '/' | lv_name_0_3= '+' | lv_name_0_4= '-' | lv_name_0_5= '>' | lv_name_0_6= '<' | lv_name_0_7= '>=' | lv_name_0_8= '<=' | lv_name_0_9= '=' | lv_name_0_10= '<>' | lv_name_0_11= 'and' | lv_name_0_12= 'or' | lv_name_0_13= 'xor' | lv_name_0_14= 'implies' ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2685:1: ( (lv_name_0_1= '*' | lv_name_0_2= '/' | lv_name_0_3= '+' | lv_name_0_4= '-' | lv_name_0_5= '>' | lv_name_0_6= '<' | lv_name_0_7= '>=' | lv_name_0_8= '<=' | lv_name_0_9= '=' | lv_name_0_10= '<>' | lv_name_0_11= 'and' | lv_name_0_12= 'or' | lv_name_0_13= 'xor' | lv_name_0_14= 'implies' ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2685:1: ( (lv_name_0_1= '*' | lv_name_0_2= '/' | lv_name_0_3= '+' | lv_name_0_4= '-' | lv_name_0_5= '>' | lv_name_0_6= '<' | lv_name_0_7= '>=' | lv_name_0_8= '<=' | lv_name_0_9= '=' | lv_name_0_10= '<>' | lv_name_0_11= 'and' | lv_name_0_12= 'or' | lv_name_0_13= 'xor' | lv_name_0_14= 'implies' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2686:1: (lv_name_0_1= '*' | lv_name_0_2= '/' | lv_name_0_3= '+' | lv_name_0_4= '-' | lv_name_0_5= '>' | lv_name_0_6= '<' | lv_name_0_7= '>=' | lv_name_0_8= '<=' | lv_name_0_9= '=' | lv_name_0_10= '<>' | lv_name_0_11= 'and' | lv_name_0_12= 'or' | lv_name_0_13= 'xor' | lv_name_0_14= 'implies' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2686:1: (lv_name_0_1= '*' | lv_name_0_2= '/' | lv_name_0_3= '+' | lv_name_0_4= '-' | lv_name_0_5= '>' | lv_name_0_6= '<' | lv_name_0_7= '>=' | lv_name_0_8= '<=' | lv_name_0_9= '=' | lv_name_0_10= '<>' | lv_name_0_11= 'and' | lv_name_0_12= 'or' | lv_name_0_13= 'xor' | lv_name_0_14= 'implies' )
|
| int alt47=14;
|
| switch ( input.LA(1) ) {
|
| case 43:
|
| {
|
| alt47=1;
|
| }
|
| break;
|
| case 48:
|
| {
|
| alt47=2;
|
| }
|
| break;
|
| case 49:
|
| {
|
| alt47=3;
|
| }
|
| break;
|
| case 46:
|
| {
|
| alt47=4;
|
| }
|
| break;
|
| case 50:
|
| {
|
| alt47=5;
|
| }
|
| break;
|
| case 51:
|
| {
|
| alt47=6;
|
| }
|
| break;
|
| case 52:
|
| {
|
| alt47=7;
|
| }
|
| break;
|
| case 53:
|
| {
|
| alt47=8;
|
| }
|
| break;
|
| case 22:
|
| {
|
| alt47=9;
|
| }
|
| break;
|
| case 54:
|
| {
|
| alt47=10;
|
| }
|
| break;
|
| case 55:
|
| {
|
| alt47=11;
|
| }
|
| break;
|
| case 56:
|
| {
|
| alt47=12;
|
| }
|
| break;
|
| case 57:
|
| {
|
| alt47=13;
|
| }
|
| break;
|
| case 58:
|
| {
|
| alt47=14;
|
| }
|
| break;
|
| default:
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| NoViableAltException nvae =
|
| new NoViableAltException("", 47, 0, input);
|
|
|
| throw nvae;
|
| }
|
|
|
| switch (alt47) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2687:3: lv_name_0_1= '*'
|
| {
|
| lv_name_0_1=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleEssentialOCLInfixOperatorCS5949); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_name_0_1, grammarAccess.getEssentialOCLInfixOperatorCSAccess().getNameAsteriskKeyword_0_0());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getEssentialOCLInfixOperatorCSRule());
|
| }
|
| setWithLastConsumed(current, "name", lv_name_0_1, null);
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2699:8: lv_name_0_2= '/'
|
| {
|
| lv_name_0_2=(Token)match(input,48,FollowSets000.FOLLOW_48_in_ruleEssentialOCLInfixOperatorCS5978); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_name_0_2, grammarAccess.getEssentialOCLInfixOperatorCSAccess().getNameSolidusKeyword_0_1());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getEssentialOCLInfixOperatorCSRule());
|
| }
|
| setWithLastConsumed(current, "name", lv_name_0_2, null);
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 3 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2711:8: lv_name_0_3= '+'
|
| {
|
| lv_name_0_3=(Token)match(input,49,FollowSets000.FOLLOW_49_in_ruleEssentialOCLInfixOperatorCS6007); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_name_0_3, grammarAccess.getEssentialOCLInfixOperatorCSAccess().getNamePlusSignKeyword_0_2());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getEssentialOCLInfixOperatorCSRule());
|
| }
|
| setWithLastConsumed(current, "name", lv_name_0_3, null);
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 4 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2723:8: lv_name_0_4= '-'
|
| {
|
| lv_name_0_4=(Token)match(input,46,FollowSets000.FOLLOW_46_in_ruleEssentialOCLInfixOperatorCS6036); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_name_0_4, grammarAccess.getEssentialOCLInfixOperatorCSAccess().getNameHyphenMinusKeyword_0_3());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getEssentialOCLInfixOperatorCSRule());
|
| }
|
| setWithLastConsumed(current, "name", lv_name_0_4, null);
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 5 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2735:8: lv_name_0_5= '>'
|
| {
|
| lv_name_0_5=(Token)match(input,50,FollowSets000.FOLLOW_50_in_ruleEssentialOCLInfixOperatorCS6065); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_name_0_5, grammarAccess.getEssentialOCLInfixOperatorCSAccess().getNameGreaterThanSignKeyword_0_4());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getEssentialOCLInfixOperatorCSRule());
|
| }
|
| setWithLastConsumed(current, "name", lv_name_0_5, null);
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 6 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2747:8: lv_name_0_6= '<'
|
| {
|
| lv_name_0_6=(Token)match(input,51,FollowSets000.FOLLOW_51_in_ruleEssentialOCLInfixOperatorCS6094); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_name_0_6, grammarAccess.getEssentialOCLInfixOperatorCSAccess().getNameLessThanSignKeyword_0_5());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getEssentialOCLInfixOperatorCSRule());
|
| }
|
| setWithLastConsumed(current, "name", lv_name_0_6, null);
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 7 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2759:8: lv_name_0_7= '>='
|
| {
|
| lv_name_0_7=(Token)match(input,52,FollowSets000.FOLLOW_52_in_ruleEssentialOCLInfixOperatorCS6123); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_name_0_7, grammarAccess.getEssentialOCLInfixOperatorCSAccess().getNameGreaterThanSignEqualsSignKeyword_0_6());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getEssentialOCLInfixOperatorCSRule());
|
| }
|
| setWithLastConsumed(current, "name", lv_name_0_7, null);
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 8 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2771:8: lv_name_0_8= '<='
|
| {
|
| lv_name_0_8=(Token)match(input,53,FollowSets000.FOLLOW_53_in_ruleEssentialOCLInfixOperatorCS6152); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_name_0_8, grammarAccess.getEssentialOCLInfixOperatorCSAccess().getNameLessThanSignEqualsSignKeyword_0_7());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getEssentialOCLInfixOperatorCSRule());
|
| }
|
| setWithLastConsumed(current, "name", lv_name_0_8, null);
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 9 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2783:8: lv_name_0_9= '='
|
| {
|
| lv_name_0_9=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleEssentialOCLInfixOperatorCS6181); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_name_0_9, grammarAccess.getEssentialOCLInfixOperatorCSAccess().getNameEqualsSignKeyword_0_8());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getEssentialOCLInfixOperatorCSRule());
|
| }
|
| setWithLastConsumed(current, "name", lv_name_0_9, null);
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 10 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2795:8: lv_name_0_10= '<>'
|
| {
|
| lv_name_0_10=(Token)match(input,54,FollowSets000.FOLLOW_54_in_ruleEssentialOCLInfixOperatorCS6210); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_name_0_10, grammarAccess.getEssentialOCLInfixOperatorCSAccess().getNameLessThanSignGreaterThanSignKeyword_0_9());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getEssentialOCLInfixOperatorCSRule());
|
| }
|
| setWithLastConsumed(current, "name", lv_name_0_10, null);
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 11 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2807:8: lv_name_0_11= 'and'
|
| {
|
| lv_name_0_11=(Token)match(input,55,FollowSets000.FOLLOW_55_in_ruleEssentialOCLInfixOperatorCS6239); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_name_0_11, grammarAccess.getEssentialOCLInfixOperatorCSAccess().getNameAndKeyword_0_10());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getEssentialOCLInfixOperatorCSRule());
|
| }
|
| setWithLastConsumed(current, "name", lv_name_0_11, null);
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 12 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2819:8: lv_name_0_12= 'or'
|
| {
|
| lv_name_0_12=(Token)match(input,56,FollowSets000.FOLLOW_56_in_ruleEssentialOCLInfixOperatorCS6268); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_name_0_12, grammarAccess.getEssentialOCLInfixOperatorCSAccess().getNameOrKeyword_0_11());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getEssentialOCLInfixOperatorCSRule());
|
| }
|
| setWithLastConsumed(current, "name", lv_name_0_12, null);
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 13 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2831:8: lv_name_0_13= 'xor'
|
| {
|
| lv_name_0_13=(Token)match(input,57,FollowSets000.FOLLOW_57_in_ruleEssentialOCLInfixOperatorCS6297); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_name_0_13, grammarAccess.getEssentialOCLInfixOperatorCSAccess().getNameXorKeyword_0_12());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getEssentialOCLInfixOperatorCSRule());
|
| }
|
| setWithLastConsumed(current, "name", lv_name_0_13, null);
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 14 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2843:8: lv_name_0_14= 'implies'
|
| {
|
| lv_name_0_14=(Token)match(input,58,FollowSets000.FOLLOW_58_in_ruleEssentialOCLInfixOperatorCS6326); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_name_0_14, grammarAccess.getEssentialOCLInfixOperatorCSAccess().getNameImpliesKeyword_0_13());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getEssentialOCLInfixOperatorCSRule());
|
| }
|
| setWithLastConsumed(current, "name", lv_name_0_14, null);
|
|
|
| }
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleEssentialOCLInfixOperatorCS"
|
|
|
|
|
| // $ANTLR start "entryRuleEssentialOCLNavigationOperatorCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2866:1: entryRuleEssentialOCLNavigationOperatorCS returns [EObject current=null] : iv_ruleEssentialOCLNavigationOperatorCS= ruleEssentialOCLNavigationOperatorCS EOF ;
|
| public final EObject entryRuleEssentialOCLNavigationOperatorCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleEssentialOCLNavigationOperatorCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2867:2: (iv_ruleEssentialOCLNavigationOperatorCS= ruleEssentialOCLNavigationOperatorCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2868:2: iv_ruleEssentialOCLNavigationOperatorCS= ruleEssentialOCLNavigationOperatorCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getEssentialOCLNavigationOperatorCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLNavigationOperatorCS_in_entryRuleEssentialOCLNavigationOperatorCS6377);
|
| iv_ruleEssentialOCLNavigationOperatorCS=ruleEssentialOCLNavigationOperatorCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleEssentialOCLNavigationOperatorCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEssentialOCLNavigationOperatorCS6387); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleEssentialOCLNavigationOperatorCS"
|
|
|
|
|
| // $ANTLR start "ruleEssentialOCLNavigationOperatorCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2875:1: ruleEssentialOCLNavigationOperatorCS returns [EObject current=null] : ( ( (lv_name_0_1= '.' | lv_name_0_2= '->' ) ) ) ;
|
| public final EObject ruleEssentialOCLNavigationOperatorCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token lv_name_0_1=null;
|
| Token lv_name_0_2=null;
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2878:28: ( ( ( (lv_name_0_1= '.' | lv_name_0_2= '->' ) ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2879:1: ( ( (lv_name_0_1= '.' | lv_name_0_2= '->' ) ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2879:1: ( ( (lv_name_0_1= '.' | lv_name_0_2= '->' ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2880:1: ( (lv_name_0_1= '.' | lv_name_0_2= '->' ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2880:1: ( (lv_name_0_1= '.' | lv_name_0_2= '->' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2881:1: (lv_name_0_1= '.' | lv_name_0_2= '->' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2881:1: (lv_name_0_1= '.' | lv_name_0_2= '->' )
|
| int alt48=2;
|
| int LA48_0 = input.LA(1);
|
|
|
| if ( (LA48_0==59) ) {
|
| alt48=1;
|
| }
|
| else if ( (LA48_0==60) ) {
|
| alt48=2;
|
| }
|
| else {
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| NoViableAltException nvae =
|
| new NoViableAltException("", 48, 0, input);
|
|
|
| throw nvae;
|
| }
|
| switch (alt48) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2882:3: lv_name_0_1= '.'
|
| {
|
| lv_name_0_1=(Token)match(input,59,FollowSets000.FOLLOW_59_in_ruleEssentialOCLNavigationOperatorCS6431); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_name_0_1, grammarAccess.getEssentialOCLNavigationOperatorCSAccess().getNameFullStopKeyword_0_0());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getEssentialOCLNavigationOperatorCSRule());
|
| }
|
| setWithLastConsumed(current, "name", lv_name_0_1, null);
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2894:8: lv_name_0_2= '->'
|
| {
|
| lv_name_0_2=(Token)match(input,60,FollowSets000.FOLLOW_60_in_ruleEssentialOCLNavigationOperatorCS6460); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_name_0_2, grammarAccess.getEssentialOCLNavigationOperatorCSAccess().getNameHyphenMinusGreaterThanSignKeyword_0_1());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getEssentialOCLNavigationOperatorCSRule());
|
| }
|
| setWithLastConsumed(current, "name", lv_name_0_2, null);
|
|
|
| }
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleEssentialOCLNavigationOperatorCS"
|
|
|
|
|
| // $ANTLR start "entryRuleIdentifier"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2917: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2918:2: (iv_ruleIdentifier= ruleIdentifier EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2919:2: iv_ruleIdentifier= ruleIdentifier EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getIdentifierRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleIdentifier_in_entryRuleIdentifier6512);
|
| 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_entryRuleIdentifier6523); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleIdentifier"
|
|
|
|
|
| // $ANTLR start "ruleIdentifier"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2926:1: ruleIdentifier returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= ruleID ;
|
| public final AntlrDatatypeRuleToken ruleIdentifier() throws RecognitionException {
|
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
|
|
|
| AntlrDatatypeRuleToken this_ID_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2929:28: (this_ID_0= ruleID )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2931:5: this_ID_0= ruleID
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getIdentifierAccess().getIDParserRuleCall());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleID_in_ruleIdentifier6569);
|
| this_ID_0=ruleID();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(this_ID_0);
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleIdentifier"
|
|
|
|
|
| // $ANTLR start "entryRuleStringLiteral"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2949: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2950:2: (iv_ruleStringLiteral= ruleStringLiteral EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2951:2: iv_ruleStringLiteral= ruleStringLiteral EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getStringLiteralRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral6614);
|
| 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_entryRuleStringLiteral6625); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleStringLiteral"
|
|
|
|
|
| // $ANTLR start "ruleStringLiteral"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2958: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2961:28: (this_SINGLE_QUOTED_STRING_0= RULE_SINGLE_QUOTED_STRING )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2962: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_ruleStringLiteral6664); 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 "entryRuleBinaryOperatorCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2977:1: entryRuleBinaryOperatorCS returns [EObject current=null] : iv_ruleBinaryOperatorCS= ruleBinaryOperatorCS EOF ;
|
| public final EObject entryRuleBinaryOperatorCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleBinaryOperatorCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2978:2: (iv_ruleBinaryOperatorCS= ruleBinaryOperatorCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2979:2: iv_ruleBinaryOperatorCS= ruleBinaryOperatorCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getBinaryOperatorCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleBinaryOperatorCS_in_entryRuleBinaryOperatorCS6708);
|
| iv_ruleBinaryOperatorCS=ruleBinaryOperatorCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleBinaryOperatorCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleBinaryOperatorCS6718); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleBinaryOperatorCS"
|
|
|
|
|
| // $ANTLR start "ruleBinaryOperatorCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2986:1: ruleBinaryOperatorCS returns [EObject current=null] : (this_InfixOperatorCS_0= ruleInfixOperatorCS | this_NavigationOperatorCS_1= ruleNavigationOperatorCS ) ;
|
| public final EObject ruleBinaryOperatorCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject this_InfixOperatorCS_0 = null;
|
|
|
| EObject this_NavigationOperatorCS_1 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2989:28: ( (this_InfixOperatorCS_0= ruleInfixOperatorCS | this_NavigationOperatorCS_1= ruleNavigationOperatorCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2990:1: (this_InfixOperatorCS_0= ruleInfixOperatorCS | this_NavigationOperatorCS_1= ruleNavigationOperatorCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2990:1: (this_InfixOperatorCS_0= ruleInfixOperatorCS | this_NavigationOperatorCS_1= ruleNavigationOperatorCS )
|
| int alt49=2;
|
| int LA49_0 = input.LA(1);
|
|
|
| if ( (LA49_0==22||LA49_0==43||LA49_0==46||(LA49_0>=48 && LA49_0<=58)) ) {
|
| alt49=1;
|
| }
|
| else if ( ((LA49_0>=59 && LA49_0<=60)) ) {
|
| alt49=2;
|
| }
|
| else {
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| NoViableAltException nvae =
|
| new NoViableAltException("", 49, 0, input);
|
|
|
| throw nvae;
|
| }
|
| switch (alt49) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:2991:2: this_InfixOperatorCS_0= ruleInfixOperatorCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getBinaryOperatorCSAccess().getInfixOperatorCSParserRuleCall_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleInfixOperatorCS_in_ruleBinaryOperatorCS6768);
|
| this_InfixOperatorCS_0=ruleInfixOperatorCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current = this_InfixOperatorCS_0;
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3004:2: this_NavigationOperatorCS_1= ruleNavigationOperatorCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getBinaryOperatorCSAccess().getNavigationOperatorCSParserRuleCall_1());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNavigationOperatorCS_in_ruleBinaryOperatorCS6798);
|
| this_NavigationOperatorCS_1=ruleNavigationOperatorCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current = this_NavigationOperatorCS_1;
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleBinaryOperatorCS"
|
|
|
|
|
| // $ANTLR start "entryRuleInfixOperatorCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3023:1: entryRuleInfixOperatorCS returns [EObject current=null] : iv_ruleInfixOperatorCS= ruleInfixOperatorCS EOF ;
|
| public final EObject entryRuleInfixOperatorCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleInfixOperatorCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3024:2: (iv_ruleInfixOperatorCS= ruleInfixOperatorCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3025:2: iv_ruleInfixOperatorCS= ruleInfixOperatorCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getInfixOperatorCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleInfixOperatorCS_in_entryRuleInfixOperatorCS6833);
|
| iv_ruleInfixOperatorCS=ruleInfixOperatorCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleInfixOperatorCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleInfixOperatorCS6843); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleInfixOperatorCS"
|
|
|
|
|
| // $ANTLR start "ruleInfixOperatorCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3032:1: ruleInfixOperatorCS returns [EObject current=null] : this_EssentialOCLInfixOperatorCS_0= ruleEssentialOCLInfixOperatorCS ;
|
| public final EObject ruleInfixOperatorCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject this_EssentialOCLInfixOperatorCS_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3035:28: (this_EssentialOCLInfixOperatorCS_0= ruleEssentialOCLInfixOperatorCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3037:2: this_EssentialOCLInfixOperatorCS_0= ruleEssentialOCLInfixOperatorCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getInfixOperatorCSAccess().getEssentialOCLInfixOperatorCSParserRuleCall());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLInfixOperatorCS_in_ruleInfixOperatorCS6892);
|
| this_EssentialOCLInfixOperatorCS_0=ruleEssentialOCLInfixOperatorCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current = this_EssentialOCLInfixOperatorCS_0;
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleInfixOperatorCS"
|
|
|
|
|
| // $ANTLR start "entryRuleNavigationOperatorCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3056:1: entryRuleNavigationOperatorCS returns [EObject current=null] : iv_ruleNavigationOperatorCS= ruleNavigationOperatorCS EOF ;
|
| public final EObject entryRuleNavigationOperatorCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleNavigationOperatorCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3057:2: (iv_ruleNavigationOperatorCS= ruleNavigationOperatorCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3058:2: iv_ruleNavigationOperatorCS= ruleNavigationOperatorCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getNavigationOperatorCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNavigationOperatorCS_in_entryRuleNavigationOperatorCS6926);
|
| iv_ruleNavigationOperatorCS=ruleNavigationOperatorCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleNavigationOperatorCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNavigationOperatorCS6936); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleNavigationOperatorCS"
|
|
|
|
|
| // $ANTLR start "ruleNavigationOperatorCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3065:1: ruleNavigationOperatorCS returns [EObject current=null] : this_EssentialOCLNavigationOperatorCS_0= ruleEssentialOCLNavigationOperatorCS ;
|
| public final EObject ruleNavigationOperatorCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject this_EssentialOCLNavigationOperatorCS_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3068:28: (this_EssentialOCLNavigationOperatorCS_0= ruleEssentialOCLNavigationOperatorCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3070:2: this_EssentialOCLNavigationOperatorCS_0= ruleEssentialOCLNavigationOperatorCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getNavigationOperatorCSAccess().getEssentialOCLNavigationOperatorCSParserRuleCall());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLNavigationOperatorCS_in_ruleNavigationOperatorCS6985);
|
| this_EssentialOCLNavigationOperatorCS_0=ruleEssentialOCLNavigationOperatorCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current = this_EssentialOCLNavigationOperatorCS_0;
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleNavigationOperatorCS"
|
|
|
|
|
| // $ANTLR start "entryRuleUnaryOperatorCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3089:1: entryRuleUnaryOperatorCS returns [EObject current=null] : iv_ruleUnaryOperatorCS= ruleUnaryOperatorCS EOF ;
|
| public final EObject entryRuleUnaryOperatorCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleUnaryOperatorCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3090:2: (iv_ruleUnaryOperatorCS= ruleUnaryOperatorCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3091:2: iv_ruleUnaryOperatorCS= ruleUnaryOperatorCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getUnaryOperatorCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnaryOperatorCS_in_entryRuleUnaryOperatorCS7019);
|
| iv_ruleUnaryOperatorCS=ruleUnaryOperatorCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleUnaryOperatorCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleUnaryOperatorCS7029); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleUnaryOperatorCS"
|
|
|
|
|
| // $ANTLR start "ruleUnaryOperatorCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3098:1: ruleUnaryOperatorCS returns [EObject current=null] : this_EssentialOCLUnaryOperatorCS_0= ruleEssentialOCLUnaryOperatorCS ;
|
| public final EObject ruleUnaryOperatorCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject this_EssentialOCLUnaryOperatorCS_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3101:28: (this_EssentialOCLUnaryOperatorCS_0= ruleEssentialOCLUnaryOperatorCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3103:2: this_EssentialOCLUnaryOperatorCS_0= ruleEssentialOCLUnaryOperatorCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getUnaryOperatorCSAccess().getEssentialOCLUnaryOperatorCSParserRuleCall());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLUnaryOperatorCS_in_ruleUnaryOperatorCS7078);
|
| this_EssentialOCLUnaryOperatorCS_0=ruleEssentialOCLUnaryOperatorCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current = this_EssentialOCLUnaryOperatorCS_0;
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleUnaryOperatorCS"
|
|
|
|
|
| // $ANTLR start "entryRuleEssentialOCLUnrestrictedName"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3122: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3123:2: (iv_ruleEssentialOCLUnrestrictedName= ruleEssentialOCLUnrestrictedName EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3124:2: iv_ruleEssentialOCLUnrestrictedName= ruleEssentialOCLUnrestrictedName EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getEssentialOCLUnrestrictedNameRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLUnrestrictedName_in_entryRuleEssentialOCLUnrestrictedName7113);
|
| 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_entryRuleEssentialOCLUnrestrictedName7124); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleEssentialOCLUnrestrictedName"
|
|
|
|
|
| // $ANTLR start "ruleEssentialOCLUnrestrictedName"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3131: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3134:28: (this_Identifier_0= ruleIdentifier )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3136:5: this_Identifier_0= ruleIdentifier
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getEssentialOCLUnrestrictedNameAccess().getIdentifierParserRuleCall());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleIdentifier_in_ruleEssentialOCLUnrestrictedName7170);
|
| this_Identifier_0=ruleIdentifier();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(this_Identifier_0);
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleEssentialOCLUnrestrictedName"
|
|
|
|
|
| // $ANTLR start "entryRuleEssentialOCLUnreservedName"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3154: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3155:2: (iv_ruleEssentialOCLUnreservedName= ruleEssentialOCLUnreservedName EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3156:2: iv_ruleEssentialOCLUnreservedName= ruleEssentialOCLUnreservedName EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getEssentialOCLUnreservedNameRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLUnreservedName_in_entryRuleEssentialOCLUnreservedName7215);
|
| 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_entryRuleEssentialOCLUnreservedName7226); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleEssentialOCLUnreservedName"
|
|
|
|
|
| // $ANTLR start "ruleEssentialOCLUnreservedName"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3163:1: ruleEssentialOCLUnreservedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_UnrestrictedName_0= ruleUnrestrictedName | this_CollectionTypeIdentifier_1= ruleCollectionTypeIdentifier | this_PrimitiveTypeIdentifier_2= rulePrimitiveTypeIdentifier | 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3166:28: ( (this_UnrestrictedName_0= ruleUnrestrictedName | this_CollectionTypeIdentifier_1= ruleCollectionTypeIdentifier | this_PrimitiveTypeIdentifier_2= rulePrimitiveTypeIdentifier | kw= 'Tuple' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3167:1: (this_UnrestrictedName_0= ruleUnrestrictedName | this_CollectionTypeIdentifier_1= ruleCollectionTypeIdentifier | this_PrimitiveTypeIdentifier_2= rulePrimitiveTypeIdentifier | kw= 'Tuple' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3167:1: (this_UnrestrictedName_0= ruleUnrestrictedName | this_CollectionTypeIdentifier_1= ruleCollectionTypeIdentifier | this_PrimitiveTypeIdentifier_2= rulePrimitiveTypeIdentifier | kw= 'Tuple' )
|
| int alt50=4;
|
| switch ( input.LA(1) ) {
|
| case RULE_SIMPLE_ID:
|
| case RULE_ESCAPED_ID:
|
| case 24:
|
| case 25:
|
| case 26:
|
| case 27:
|
| case 28:
|
| case 29:
|
| case 30:
|
| case 31:
|
| case 32:
|
| case 33:
|
| case 36:
|
| case 37:
|
| case 38:
|
| case 39:
|
| case 40:
|
| case 41:
|
| case 44:
|
| case 45:
|
| {
|
| alt50=1;
|
| }
|
| break;
|
| case 70:
|
| case 71:
|
| case 72:
|
| case 73:
|
| case 74:
|
| {
|
| alt50=2;
|
| }
|
| break;
|
| case 62:
|
| case 63:
|
| case 64:
|
| case 65:
|
| case 66:
|
| case 67:
|
| case 68:
|
| case 69:
|
| {
|
| alt50=3;
|
| }
|
| break;
|
| case 61:
|
| {
|
| alt50=4;
|
| }
|
| break;
|
| default:
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| NoViableAltException nvae =
|
| new NoViableAltException("", 50, 0, input);
|
|
|
| throw nvae;
|
| }
|
|
|
| switch (alt50) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3168:5: this_UnrestrictedName_0= ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getEssentialOCLUnreservedNameAccess().getUnrestrictedNameParserRuleCall_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleEssentialOCLUnreservedName7273);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3180:5: this_CollectionTypeIdentifier_1= ruleCollectionTypeIdentifier
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getEssentialOCLUnreservedNameAccess().getCollectionTypeIdentifierParserRuleCall_1());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeIdentifier_in_ruleEssentialOCLUnreservedName7306);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3192:5: this_PrimitiveTypeIdentifier_2= rulePrimitiveTypeIdentifier
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getEssentialOCLUnreservedNameAccess().getPrimitiveTypeIdentifierParserRuleCall_2());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePrimitiveTypeIdentifier_in_ruleEssentialOCLUnreservedName7339);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3204:2: kw= 'Tuple'
|
| {
|
| kw=(Token)match(input,61,FollowSets000.FOLLOW_61_in_ruleEssentialOCLUnreservedName7363); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getEssentialOCLUnreservedNameAccess().getTupleKeyword_3());
|
|
|
| }
|
|
|
| }
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3217: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3218:2: (iv_ruleUnreservedName= ruleUnreservedName EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3219:2: iv_ruleUnreservedName= ruleUnreservedName EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getUnreservedNameRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnreservedName_in_entryRuleUnreservedName7404);
|
| 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_entryRuleUnreservedName7415); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleUnreservedName"
|
|
|
|
|
| // $ANTLR start "ruleUnreservedName"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3226: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3229:28: (this_EssentialOCLUnreservedName_0= ruleEssentialOCLUnreservedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3231:5: this_EssentialOCLUnreservedName_0= ruleEssentialOCLUnreservedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getUnreservedNameAccess().getEssentialOCLUnreservedNameParserRuleCall());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleEssentialOCLUnreservedName_in_ruleUnreservedName7461);
|
| 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 "entryRulePathNameCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3249: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3250:2: (iv_rulePathNameCS= rulePathNameCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3251:2: iv_rulePathNameCS= rulePathNameCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getPathNameCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePathNameCS_in_entryRulePathNameCS7505);
|
| iv_rulePathNameCS=rulePathNameCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_rulePathNameCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePathNameCS7515); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRulePathNameCS"
|
|
|
|
|
| // $ANTLR start "rulePathNameCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3258:1: rulePathNameCS returns [EObject current=null] : ( ( (lv_path_0_0= ruleFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_path_2_0= ruleNextPathElementCS ) ) )* ) ;
|
| public final EObject rulePathNameCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_1=null;
|
| EObject lv_path_0_0 = null;
|
|
|
| EObject lv_path_2_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3261:28: ( ( ( (lv_path_0_0= ruleFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_path_2_0= ruleNextPathElementCS ) ) )* ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3262:1: ( ( (lv_path_0_0= ruleFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_path_2_0= ruleNextPathElementCS ) ) )* )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3262:1: ( ( (lv_path_0_0= ruleFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_path_2_0= ruleNextPathElementCS ) ) )* )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3262:2: ( (lv_path_0_0= ruleFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_path_2_0= ruleNextPathElementCS ) ) )*
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3262:2: ( (lv_path_0_0= ruleFirstPathElementCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3263:1: (lv_path_0_0= ruleFirstPathElementCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3263:1: (lv_path_0_0= ruleFirstPathElementCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3264:3: lv_path_0_0= ruleFirstPathElementCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPathNameCSAccess().getPathFirstPathElementCSParserRuleCall_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleFirstPathElementCS_in_rulePathNameCS7561);
|
| lv_path_0_0=ruleFirstPathElementCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getPathNameCSRule());
|
| }
|
| add(
|
| current,
|
| "path",
|
| lv_path_0_0,
|
| "FirstPathElementCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3280:2: (otherlv_1= '::' ( (lv_path_2_0= ruleNextPathElementCS ) ) )*
|
| loop51:
|
| do {
|
| int alt51=2;
|
| int LA51_0 = input.LA(1);
|
|
|
| if ( (LA51_0==42) ) {
|
| alt51=1;
|
| }
|
|
|
|
|
| switch (alt51) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3280:4: otherlv_1= '::' ( (lv_path_2_0= ruleNextPathElementCS ) )
|
| {
|
| otherlv_1=(Token)match(input,42,FollowSets000.FOLLOW_42_in_rulePathNameCS7574); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getPathNameCSAccess().getColonColonKeyword_1_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3284:1: ( (lv_path_2_0= ruleNextPathElementCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3285:1: (lv_path_2_0= ruleNextPathElementCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3285:1: (lv_path_2_0= ruleNextPathElementCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3286:3: lv_path_2_0= ruleNextPathElementCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPathNameCSAccess().getPathNextPathElementCSParserRuleCall_1_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNextPathElementCS_in_rulePathNameCS7595);
|
| lv_path_2_0=ruleNextPathElementCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getPathNameCSRule());
|
| }
|
| add(
|
| current,
|
| "path",
|
| lv_path_2_0,
|
| "NextPathElementCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop51;
|
| }
|
| } 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3310: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3311:2: (iv_ruleFirstPathElementCS= ruleFirstPathElementCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3312:2: iv_ruleFirstPathElementCS= ruleFirstPathElementCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getFirstPathElementCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleFirstPathElementCS_in_entryRuleFirstPathElementCS7633);
|
| iv_ruleFirstPathElementCS=ruleFirstPathElementCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleFirstPathElementCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleFirstPathElementCS7643); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleFirstPathElementCS"
|
|
|
|
|
| // $ANTLR start "ruleFirstPathElementCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3319:1: ruleFirstPathElementCS returns [EObject current=null] : ( ( ruleUnrestrictedName ) ) ;
|
| public final EObject ruleFirstPathElementCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3322:28: ( ( ( ruleUnrestrictedName ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3323:1: ( ( ruleUnrestrictedName ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3323:1: ( ( ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3324:1: ( ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3324:1: ( ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3325:3: ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getFirstPathElementCSRule());
|
| }
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getFirstPathElementCSAccess().getElementNamedElementCrossReference_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleFirstPathElementCS7694);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3349: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3350:2: (iv_ruleNextPathElementCS= ruleNextPathElementCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3351:2: iv_ruleNextPathElementCS= ruleNextPathElementCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getNextPathElementCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNextPathElementCS_in_entryRuleNextPathElementCS7729);
|
| iv_ruleNextPathElementCS=ruleNextPathElementCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleNextPathElementCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNextPathElementCS7739); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleNextPathElementCS"
|
|
|
|
|
| // $ANTLR start "ruleNextPathElementCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3358:1: ruleNextPathElementCS returns [EObject current=null] : ( ( ruleUnreservedName ) ) ;
|
| public final EObject ruleNextPathElementCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3361:28: ( ( ( ruleUnreservedName ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3362:1: ( ( ruleUnreservedName ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3362:1: ( ( ruleUnreservedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3363:1: ( ruleUnreservedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3363:1: ( ruleUnreservedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3364:3: ruleUnreservedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getNextPathElementCSRule());
|
| }
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getNextPathElementCSAccess().getElementNamedElementCrossReference_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnreservedName_in_ruleNextPathElementCS7790);
|
| 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 "entryRuleURIPathNameCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3388: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3389:2: (iv_ruleURIPathNameCS= ruleURIPathNameCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3390:2: iv_ruleURIPathNameCS= ruleURIPathNameCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getURIPathNameCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleURIPathNameCS_in_entryRuleURIPathNameCS7825);
|
| iv_ruleURIPathNameCS=ruleURIPathNameCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleURIPathNameCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleURIPathNameCS7835); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleURIPathNameCS"
|
|
|
|
|
| // $ANTLR start "ruleURIPathNameCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3397:1: ruleURIPathNameCS returns [EObject current=null] : ( ( (lv_path_0_0= ruleURIFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_path_2_0= ruleNextPathElementCS ) ) )* ) ;
|
| public final EObject ruleURIPathNameCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_1=null;
|
| EObject lv_path_0_0 = null;
|
|
|
| EObject lv_path_2_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3400:28: ( ( ( (lv_path_0_0= ruleURIFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_path_2_0= ruleNextPathElementCS ) ) )* ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3401:1: ( ( (lv_path_0_0= ruleURIFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_path_2_0= ruleNextPathElementCS ) ) )* )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3401:1: ( ( (lv_path_0_0= ruleURIFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_path_2_0= ruleNextPathElementCS ) ) )* )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3401:2: ( (lv_path_0_0= ruleURIFirstPathElementCS ) ) (otherlv_1= '::' ( (lv_path_2_0= ruleNextPathElementCS ) ) )*
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3401:2: ( (lv_path_0_0= ruleURIFirstPathElementCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3402:1: (lv_path_0_0= ruleURIFirstPathElementCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3402:1: (lv_path_0_0= ruleURIFirstPathElementCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3403:3: lv_path_0_0= ruleURIFirstPathElementCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getURIPathNameCSAccess().getPathURIFirstPathElementCSParserRuleCall_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleURIFirstPathElementCS_in_ruleURIPathNameCS7881);
|
| lv_path_0_0=ruleURIFirstPathElementCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getURIPathNameCSRule());
|
| }
|
| add(
|
| current,
|
| "path",
|
| lv_path_0_0,
|
| "URIFirstPathElementCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3419:2: (otherlv_1= '::' ( (lv_path_2_0= ruleNextPathElementCS ) ) )*
|
| loop52:
|
| do {
|
| int alt52=2;
|
| int LA52_0 = input.LA(1);
|
|
|
| if ( (LA52_0==42) ) {
|
| int LA52_1 = input.LA(2);
|
|
|
| if ( ((LA52_1>=RULE_SIMPLE_ID && LA52_1<=RULE_ESCAPED_ID)||(LA52_1>=24 && LA52_1<=33)||(LA52_1>=36 && LA52_1<=41)||(LA52_1>=44 && LA52_1<=45)||(LA52_1>=61 && LA52_1<=74)) ) {
|
| alt52=1;
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| switch (alt52) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3419:4: otherlv_1= '::' ( (lv_path_2_0= ruleNextPathElementCS ) )
|
| {
|
| otherlv_1=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleURIPathNameCS7894); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getURIPathNameCSAccess().getColonColonKeyword_1_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3423:1: ( (lv_path_2_0= ruleNextPathElementCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3424:1: (lv_path_2_0= ruleNextPathElementCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3424:1: (lv_path_2_0= ruleNextPathElementCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3425:3: lv_path_2_0= ruleNextPathElementCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getURIPathNameCSAccess().getPathNextPathElementCSParserRuleCall_1_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNextPathElementCS_in_ruleURIPathNameCS7915);
|
| lv_path_2_0=ruleNextPathElementCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getURIPathNameCSRule());
|
| }
|
| add(
|
| current,
|
| "path",
|
| lv_path_2_0,
|
| "NextPathElementCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop52;
|
| }
|
| } 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3449: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3450:2: (iv_ruleURIFirstPathElementCS= ruleURIFirstPathElementCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3451:2: iv_ruleURIFirstPathElementCS= ruleURIFirstPathElementCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getURIFirstPathElementCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleURIFirstPathElementCS_in_entryRuleURIFirstPathElementCS7953);
|
| iv_ruleURIFirstPathElementCS=ruleURIFirstPathElementCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleURIFirstPathElementCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleURIFirstPathElementCS7963); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleURIFirstPathElementCS"
|
|
|
|
|
| // $ANTLR start "ruleURIFirstPathElementCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3458:1: ruleURIFirstPathElementCS returns [EObject current=null] : ( ( ( ruleUnrestrictedName ) ) | ( () ( ( ruleURI ) ) ) ) ;
|
| public final EObject ruleURIFirstPathElementCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3461:28: ( ( ( ( ruleUnrestrictedName ) ) | ( () ( ( ruleURI ) ) ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3462:1: ( ( ( ruleUnrestrictedName ) ) | ( () ( ( ruleURI ) ) ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3462:1: ( ( ( ruleUnrestrictedName ) ) | ( () ( ( ruleURI ) ) ) )
|
| int alt53=2;
|
| int LA53_0 = input.LA(1);
|
|
|
| if ( ((LA53_0>=RULE_SIMPLE_ID && LA53_0<=RULE_ESCAPED_ID)||(LA53_0>=24 && LA53_0<=33)||(LA53_0>=36 && LA53_0<=41)||(LA53_0>=44 && LA53_0<=45)) ) {
|
| alt53=1;
|
| }
|
| else if ( (LA53_0==RULE_SINGLE_QUOTED_STRING) ) {
|
| alt53=2;
|
| }
|
| else {
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| NoViableAltException nvae =
|
| new NoViableAltException("", 53, 0, input);
|
|
|
| throw nvae;
|
| }
|
| switch (alt53) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3462:2: ( ( ruleUnrestrictedName ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3462:2: ( ( ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3463:1: ( ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3463:1: ( ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3464:3: ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getURIFirstPathElementCSRule());
|
| }
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getURIFirstPathElementCSAccess().getElementNamedElementCrossReference_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleURIFirstPathElementCS8015);
|
| ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3481:6: ( () ( ( ruleURI ) ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3481:6: ( () ( ( ruleURI ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3481:7: () ( ( ruleURI ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3481:7: ()
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3482:2:
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| current = forceCreateModelElement(
|
| grammarAccess.getURIFirstPathElementCSAccess().getPathElementWithURICSAction_1_0(),
|
| current);
|
|
|
| }
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3490:2: ( ( ruleURI ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3491:1: ( ruleURI )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3491:1: ( ruleURI )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3492:3: ruleURI
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getURIFirstPathElementCSRule());
|
| }
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getURIFirstPathElementCSAccess().getElementNamespaceCrossReference_1_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleURI_in_ruleURIFirstPathElementCS8061);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3516: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3517:2: (iv_rulePrimitiveTypeIdentifier= rulePrimitiveTypeIdentifier EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3518:2: iv_rulePrimitiveTypeIdentifier= rulePrimitiveTypeIdentifier EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getPrimitiveTypeIdentifierRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePrimitiveTypeIdentifier_in_entryRulePrimitiveTypeIdentifier8099);
|
| 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_entryRulePrimitiveTypeIdentifier8110); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRulePrimitiveTypeIdentifier"
|
|
|
|
|
| // $ANTLR start "rulePrimitiveTypeIdentifier"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3525: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3528:28: ( (kw= 'Boolean' | kw= 'Integer' | kw= 'Real' | kw= 'String' | kw= 'UnlimitedNatural' | kw= 'OclAny' | kw= 'OclInvalid' | kw= 'OclVoid' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3529:1: (kw= 'Boolean' | kw= 'Integer' | kw= 'Real' | kw= 'String' | kw= 'UnlimitedNatural' | kw= 'OclAny' | kw= 'OclInvalid' | kw= 'OclVoid' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3529:1: (kw= 'Boolean' | kw= 'Integer' | kw= 'Real' | kw= 'String' | kw= 'UnlimitedNatural' | kw= 'OclAny' | kw= 'OclInvalid' | kw= 'OclVoid' )
|
| int alt54=8;
|
| switch ( input.LA(1) ) {
|
| case 62:
|
| {
|
| alt54=1;
|
| }
|
| break;
|
| case 63:
|
| {
|
| alt54=2;
|
| }
|
| break;
|
| case 64:
|
| {
|
| alt54=3;
|
| }
|
| break;
|
| case 65:
|
| {
|
| alt54=4;
|
| }
|
| break;
|
| case 66:
|
| {
|
| alt54=5;
|
| }
|
| break;
|
| case 67:
|
| {
|
| alt54=6;
|
| }
|
| break;
|
| case 68:
|
| {
|
| alt54=7;
|
| }
|
| break;
|
| case 69:
|
| {
|
| alt54=8;
|
| }
|
| break;
|
| default:
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| NoViableAltException nvae =
|
| new NoViableAltException("", 54, 0, input);
|
|
|
| throw nvae;
|
| }
|
|
|
| switch (alt54) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3530:2: kw= 'Boolean'
|
| {
|
| kw=(Token)match(input,62,FollowSets000.FOLLOW_62_in_rulePrimitiveTypeIdentifier8148); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getPrimitiveTypeIdentifierAccess().getBooleanKeyword_0());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3537:2: kw= 'Integer'
|
| {
|
| kw=(Token)match(input,63,FollowSets000.FOLLOW_63_in_rulePrimitiveTypeIdentifier8167); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getPrimitiveTypeIdentifierAccess().getIntegerKeyword_1());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 3 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3544:2: kw= 'Real'
|
| {
|
| kw=(Token)match(input,64,FollowSets000.FOLLOW_64_in_rulePrimitiveTypeIdentifier8186); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getPrimitiveTypeIdentifierAccess().getRealKeyword_2());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 4 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3551:2: kw= 'String'
|
| {
|
| kw=(Token)match(input,65,FollowSets000.FOLLOW_65_in_rulePrimitiveTypeIdentifier8205); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getPrimitiveTypeIdentifierAccess().getStringKeyword_3());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 5 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3558:2: kw= 'UnlimitedNatural'
|
| {
|
| kw=(Token)match(input,66,FollowSets000.FOLLOW_66_in_rulePrimitiveTypeIdentifier8224); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getPrimitiveTypeIdentifierAccess().getUnlimitedNaturalKeyword_4());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 6 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3565:2: kw= 'OclAny'
|
| {
|
| kw=(Token)match(input,67,FollowSets000.FOLLOW_67_in_rulePrimitiveTypeIdentifier8243); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getPrimitiveTypeIdentifierAccess().getOclAnyKeyword_5());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 7 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3572:2: kw= 'OclInvalid'
|
| {
|
| kw=(Token)match(input,68,FollowSets000.FOLLOW_68_in_rulePrimitiveTypeIdentifier8262); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getPrimitiveTypeIdentifierAccess().getOclInvalidKeyword_6());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 8 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3579:2: kw= 'OclVoid'
|
| {
|
| kw=(Token)match(input,69,FollowSets000.FOLLOW_69_in_rulePrimitiveTypeIdentifier8281); 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3592: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3593:2: (iv_rulePrimitiveTypeCS= rulePrimitiveTypeCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3594:2: iv_rulePrimitiveTypeCS= rulePrimitiveTypeCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getPrimitiveTypeCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePrimitiveTypeCS_in_entryRulePrimitiveTypeCS8321);
|
| iv_rulePrimitiveTypeCS=rulePrimitiveTypeCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_rulePrimitiveTypeCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePrimitiveTypeCS8331); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRulePrimitiveTypeCS"
|
|
|
|
|
| // $ANTLR start "rulePrimitiveTypeCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3601: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3604:28: ( ( (lv_name_0_0= rulePrimitiveTypeIdentifier ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3605:1: ( (lv_name_0_0= rulePrimitiveTypeIdentifier ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3605:1: ( (lv_name_0_0= rulePrimitiveTypeIdentifier ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3606:1: (lv_name_0_0= rulePrimitiveTypeIdentifier )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3606:1: (lv_name_0_0= rulePrimitiveTypeIdentifier )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3607:3: lv_name_0_0= rulePrimitiveTypeIdentifier
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimitiveTypeCSAccess().getNamePrimitiveTypeIdentifierParserRuleCall_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePrimitiveTypeIdentifier_in_rulePrimitiveTypeCS8376);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3631: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3632:2: (iv_ruleCollectionTypeIdentifier= ruleCollectionTypeIdentifier EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3633:2: iv_ruleCollectionTypeIdentifier= ruleCollectionTypeIdentifier EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getCollectionTypeIdentifierRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeIdentifier_in_entryRuleCollectionTypeIdentifier8412);
|
| 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_entryRuleCollectionTypeIdentifier8423); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleCollectionTypeIdentifier"
|
|
|
|
|
| // $ANTLR start "ruleCollectionTypeIdentifier"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3640: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3643:28: ( (kw= 'Set' | kw= 'Bag' | kw= 'Sequence' | kw= 'Collection' | kw= 'OrderedSet' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3644:1: (kw= 'Set' | kw= 'Bag' | kw= 'Sequence' | kw= 'Collection' | kw= 'OrderedSet' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3644:1: (kw= 'Set' | kw= 'Bag' | kw= 'Sequence' | kw= 'Collection' | kw= 'OrderedSet' )
|
| int alt55=5;
|
| switch ( input.LA(1) ) {
|
| case 70:
|
| {
|
| alt55=1;
|
| }
|
| break;
|
| case 71:
|
| {
|
| alt55=2;
|
| }
|
| break;
|
| case 72:
|
| {
|
| alt55=3;
|
| }
|
| break;
|
| case 73:
|
| {
|
| alt55=4;
|
| }
|
| break;
|
| case 74:
|
| {
|
| alt55=5;
|
| }
|
| break;
|
| default:
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| NoViableAltException nvae =
|
| new NoViableAltException("", 55, 0, input);
|
|
|
| throw nvae;
|
| }
|
|
|
| switch (alt55) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3645:2: kw= 'Set'
|
| {
|
| kw=(Token)match(input,70,FollowSets000.FOLLOW_70_in_ruleCollectionTypeIdentifier8461); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getCollectionTypeIdentifierAccess().getSetKeyword_0());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3652:2: kw= 'Bag'
|
| {
|
| kw=(Token)match(input,71,FollowSets000.FOLLOW_71_in_ruleCollectionTypeIdentifier8480); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getCollectionTypeIdentifierAccess().getBagKeyword_1());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 3 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3659:2: kw= 'Sequence'
|
| {
|
| kw=(Token)match(input,72,FollowSets000.FOLLOW_72_in_ruleCollectionTypeIdentifier8499); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getCollectionTypeIdentifierAccess().getSequenceKeyword_2());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 4 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3666:2: kw= 'Collection'
|
| {
|
| kw=(Token)match(input,73,FollowSets000.FOLLOW_73_in_ruleCollectionTypeIdentifier8518); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current.merge(kw);
|
| newLeafNode(kw, grammarAccess.getCollectionTypeIdentifierAccess().getCollectionKeyword_3());
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 5 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3673:2: kw= 'OrderedSet'
|
| {
|
| kw=(Token)match(input,74,FollowSets000.FOLLOW_74_in_ruleCollectionTypeIdentifier8537); 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3686: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3687:2: (iv_ruleCollectionTypeCS= ruleCollectionTypeCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3688:2: iv_ruleCollectionTypeCS= ruleCollectionTypeCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getCollectionTypeCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeCS_in_entryRuleCollectionTypeCS8577);
|
| iv_ruleCollectionTypeCS=ruleCollectionTypeCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleCollectionTypeCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCollectionTypeCS8587); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleCollectionTypeCS"
|
|
|
|
|
| // $ANTLR start "ruleCollectionTypeCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3695: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3698:28: ( ( ( (lv_name_0_0= ruleCollectionTypeIdentifier ) ) (otherlv_1= '(' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) otherlv_3= ')' )? ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3699:1: ( ( (lv_name_0_0= ruleCollectionTypeIdentifier ) ) (otherlv_1= '(' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) otherlv_3= ')' )? )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3699:1: ( ( (lv_name_0_0= ruleCollectionTypeIdentifier ) ) (otherlv_1= '(' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) otherlv_3= ')' )? )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3699:2: ( (lv_name_0_0= ruleCollectionTypeIdentifier ) ) (otherlv_1= '(' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) otherlv_3= ')' )?
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3699:2: ( (lv_name_0_0= ruleCollectionTypeIdentifier ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3700:1: (lv_name_0_0= ruleCollectionTypeIdentifier )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3700:1: (lv_name_0_0= ruleCollectionTypeIdentifier )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3701:3: lv_name_0_0= ruleCollectionTypeIdentifier
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getCollectionTypeCSAccess().getNameCollectionTypeIdentifierParserRuleCall_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeIdentifier_in_ruleCollectionTypeCS8633);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3717:2: (otherlv_1= '(' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) otherlv_3= ')' )?
|
| int alt56=2;
|
| int LA56_0 = input.LA(1);
|
|
|
| if ( (LA56_0==34) ) {
|
| alt56=1;
|
| }
|
| switch (alt56) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3717:4: otherlv_1= '(' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) otherlv_3= ')'
|
| {
|
| otherlv_1=(Token)match(input,34,FollowSets000.FOLLOW_34_in_ruleCollectionTypeCS8646); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getCollectionTypeCSAccess().getLeftParenthesisKeyword_1_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3721:1: ( (lv_ownedType_2_0= ruleTypeExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3722:1: (lv_ownedType_2_0= ruleTypeExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3722:1: (lv_ownedType_2_0= ruleTypeExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3723:3: lv_ownedType_2_0= ruleTypeExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getCollectionTypeCSAccess().getOwnedTypeTypeExpCSParserRuleCall_1_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypeExpCS_in_ruleCollectionTypeCS8667);
|
| 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,35,FollowSets000.FOLLOW_35_in_ruleCollectionTypeCS8679); 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 "entryRuleMultiplicityBoundsCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3751: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3752:2: (iv_ruleMultiplicityBoundsCS= ruleMultiplicityBoundsCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3753:2: iv_ruleMultiplicityBoundsCS= ruleMultiplicityBoundsCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getMultiplicityBoundsCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleMultiplicityBoundsCS_in_entryRuleMultiplicityBoundsCS8717);
|
| iv_ruleMultiplicityBoundsCS=ruleMultiplicityBoundsCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleMultiplicityBoundsCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleMultiplicityBoundsCS8727); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleMultiplicityBoundsCS"
|
|
|
|
|
| // $ANTLR start "ruleMultiplicityBoundsCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3760: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3763:28: ( ( ( (lv_lowerBound_0_0= ruleLOWER ) ) (otherlv_1= '..' ( (lv_upperBound_2_0= ruleUPPER ) ) )? ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3764:1: ( ( (lv_lowerBound_0_0= ruleLOWER ) ) (otherlv_1= '..' ( (lv_upperBound_2_0= ruleUPPER ) ) )? )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3764:1: ( ( (lv_lowerBound_0_0= ruleLOWER ) ) (otherlv_1= '..' ( (lv_upperBound_2_0= ruleUPPER ) ) )? )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3764:2: ( (lv_lowerBound_0_0= ruleLOWER ) ) (otherlv_1= '..' ( (lv_upperBound_2_0= ruleUPPER ) ) )?
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3764:2: ( (lv_lowerBound_0_0= ruleLOWER ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3765:1: (lv_lowerBound_0_0= ruleLOWER )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3765:1: (lv_lowerBound_0_0= ruleLOWER )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3766:3: lv_lowerBound_0_0= ruleLOWER
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getMultiplicityBoundsCSAccess().getLowerBoundLOWERParserRuleCall_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleLOWER_in_ruleMultiplicityBoundsCS8773);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3782:2: (otherlv_1= '..' ( (lv_upperBound_2_0= ruleUPPER ) ) )?
|
| int alt57=2;
|
| int LA57_0 = input.LA(1);
|
|
|
| if ( (LA57_0==75) ) {
|
| alt57=1;
|
| }
|
| switch (alt57) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3782:4: otherlv_1= '..' ( (lv_upperBound_2_0= ruleUPPER ) )
|
| {
|
| otherlv_1=(Token)match(input,75,FollowSets000.FOLLOW_75_in_ruleMultiplicityBoundsCS8786); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getMultiplicityBoundsCSAccess().getFullStopFullStopKeyword_1_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3786:1: ( (lv_upperBound_2_0= ruleUPPER ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3787:1: (lv_upperBound_2_0= ruleUPPER )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3787:1: (lv_upperBound_2_0= ruleUPPER )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3788:3: lv_upperBound_2_0= ruleUPPER
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getMultiplicityBoundsCSAccess().getUpperBoundUPPERParserRuleCall_1_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUPPER_in_ruleMultiplicityBoundsCS8807);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3812: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3813:2: (iv_ruleMultiplicityCS= ruleMultiplicityCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3814:2: iv_ruleMultiplicityCS= ruleMultiplicityCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getMultiplicityCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleMultiplicityCS_in_entryRuleMultiplicityCS8845);
|
| iv_ruleMultiplicityCS=ruleMultiplicityCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleMultiplicityCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleMultiplicityCS8855); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleMultiplicityCS"
|
|
|
|
|
| // $ANTLR start "ruleMultiplicityCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3821:1: ruleMultiplicityCS returns [EObject current=null] : (otherlv_0= '[' (this_MultiplicityBoundsCS_1= ruleMultiplicityBoundsCS | this_MultiplicityStringCS_2= ruleMultiplicityStringCS ) otherlv_3= ']' ) ;
|
| public final EObject ruleMultiplicityCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_0=null;
|
| Token otherlv_3=null;
|
| EObject this_MultiplicityBoundsCS_1 = null;
|
|
|
| EObject this_MultiplicityStringCS_2 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3824:28: ( (otherlv_0= '[' (this_MultiplicityBoundsCS_1= ruleMultiplicityBoundsCS | this_MultiplicityStringCS_2= ruleMultiplicityStringCS ) otherlv_3= ']' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3825:1: (otherlv_0= '[' (this_MultiplicityBoundsCS_1= ruleMultiplicityBoundsCS | this_MultiplicityStringCS_2= ruleMultiplicityStringCS ) otherlv_3= ']' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3825:1: (otherlv_0= '[' (this_MultiplicityBoundsCS_1= ruleMultiplicityBoundsCS | this_MultiplicityStringCS_2= ruleMultiplicityStringCS ) otherlv_3= ']' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3825:3: otherlv_0= '[' (this_MultiplicityBoundsCS_1= ruleMultiplicityBoundsCS | this_MultiplicityStringCS_2= ruleMultiplicityStringCS ) otherlv_3= ']'
|
| {
|
| otherlv_0=(Token)match(input,76,FollowSets000.FOLLOW_76_in_ruleMultiplicityCS8892); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_0, grammarAccess.getMultiplicityCSAccess().getLeftSquareBracketKeyword_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3829:1: (this_MultiplicityBoundsCS_1= ruleMultiplicityBoundsCS | this_MultiplicityStringCS_2= ruleMultiplicityStringCS )
|
| int alt58=2;
|
| int LA58_0 = input.LA(1);
|
|
|
| if ( (LA58_0==RULE_INT) ) {
|
| alt58=1;
|
| }
|
| else if ( (LA58_0==43||LA58_0==49||LA58_0==78) ) {
|
| alt58=2;
|
| }
|
| else {
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| NoViableAltException nvae =
|
| new NoViableAltException("", 58, 0, input);
|
|
|
| throw nvae;
|
| }
|
| switch (alt58) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3830:2: this_MultiplicityBoundsCS_1= ruleMultiplicityBoundsCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getMultiplicityCSAccess().getMultiplicityBoundsCSParserRuleCall_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleMultiplicityBoundsCS_in_ruleMultiplicityCS8918);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3843:2: this_MultiplicityStringCS_2= ruleMultiplicityStringCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getMultiplicityCSAccess().getMultiplicityStringCSParserRuleCall_1_1());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleMultiplicityStringCS_in_ruleMultiplicityCS8948);
|
| this_MultiplicityStringCS_2=ruleMultiplicityStringCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current = this_MultiplicityStringCS_2;
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| otherlv_3=(Token)match(input,77,FollowSets000.FOLLOW_77_in_ruleMultiplicityCS8960); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_3, grammarAccess.getMultiplicityCSAccess().getRightSquareBracketKeyword_2());
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleMultiplicityCS"
|
|
|
|
|
| // $ANTLR start "entryRuleMultiplicityStringCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3866: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3867:2: (iv_ruleMultiplicityStringCS= ruleMultiplicityStringCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3868:2: iv_ruleMultiplicityStringCS= ruleMultiplicityStringCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getMultiplicityStringCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleMultiplicityStringCS_in_entryRuleMultiplicityStringCS8996);
|
| iv_ruleMultiplicityStringCS=ruleMultiplicityStringCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleMultiplicityStringCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleMultiplicityStringCS9006); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleMultiplicityStringCS"
|
|
|
|
|
| // $ANTLR start "ruleMultiplicityStringCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3875: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3878:28: ( ( ( (lv_stringBounds_0_1= '*' | lv_stringBounds_0_2= '+' | lv_stringBounds_0_3= '?' ) ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3879:1: ( ( (lv_stringBounds_0_1= '*' | lv_stringBounds_0_2= '+' | lv_stringBounds_0_3= '?' ) ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3879:1: ( ( (lv_stringBounds_0_1= '*' | lv_stringBounds_0_2= '+' | lv_stringBounds_0_3= '?' ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3880:1: ( (lv_stringBounds_0_1= '*' | lv_stringBounds_0_2= '+' | lv_stringBounds_0_3= '?' ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3880:1: ( (lv_stringBounds_0_1= '*' | lv_stringBounds_0_2= '+' | lv_stringBounds_0_3= '?' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3881:1: (lv_stringBounds_0_1= '*' | lv_stringBounds_0_2= '+' | lv_stringBounds_0_3= '?' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3881:1: (lv_stringBounds_0_1= '*' | lv_stringBounds_0_2= '+' | lv_stringBounds_0_3= '?' )
|
| int alt59=3;
|
| switch ( input.LA(1) ) {
|
| case 43:
|
| {
|
| alt59=1;
|
| }
|
| break;
|
| case 49:
|
| {
|
| alt59=2;
|
| }
|
| break;
|
| case 78:
|
| {
|
| alt59=3;
|
| }
|
| break;
|
| default:
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| NoViableAltException nvae =
|
| new NoViableAltException("", 59, 0, input);
|
|
|
| throw nvae;
|
| }
|
|
|
| switch (alt59) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3882:3: lv_stringBounds_0_1= '*'
|
| {
|
| lv_stringBounds_0_1=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleMultiplicityStringCS9050); 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3894:8: lv_stringBounds_0_2= '+'
|
| {
|
| lv_stringBounds_0_2=(Token)match(input,49,FollowSets000.FOLLOW_49_in_ruleMultiplicityStringCS9079); 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3906:8: lv_stringBounds_0_3= '?'
|
| {
|
| lv_stringBounds_0_3=(Token)match(input,78,FollowSets000.FOLLOW_78_in_ruleMultiplicityStringCS9108); 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 "entryRuleTupleTypeCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3929: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3930:2: (iv_ruleTupleTypeCS= ruleTupleTypeCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3931:2: iv_ruleTupleTypeCS= ruleTupleTypeCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getTupleTypeCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTupleTypeCS_in_entryRuleTupleTypeCS9159);
|
| iv_ruleTupleTypeCS=ruleTupleTypeCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleTupleTypeCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTupleTypeCS9169); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleTupleTypeCS"
|
|
|
|
|
| // $ANTLR start "ruleTupleTypeCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3938: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3941: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3942: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3942: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3942: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3942:2: ( (lv_name_0_0= 'Tuple' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3943:1: (lv_name_0_0= 'Tuple' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3943:1: (lv_name_0_0= 'Tuple' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3944:3: lv_name_0_0= 'Tuple'
|
| {
|
| lv_name_0_0=(Token)match(input,61,FollowSets000.FOLLOW_61_in_ruleTupleTypeCS9212); 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3957:2: (otherlv_1= '(' ( ( (lv_ownedParts_2_0= ruleTuplePartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) )* )? otherlv_5= ')' )?
|
| int alt62=2;
|
| int LA62_0 = input.LA(1);
|
|
|
| if ( (LA62_0==34) ) {
|
| alt62=1;
|
| }
|
| switch (alt62) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3957:4: otherlv_1= '(' ( ( (lv_ownedParts_2_0= ruleTuplePartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) )* )? otherlv_5= ')'
|
| {
|
| otherlv_1=(Token)match(input,34,FollowSets000.FOLLOW_34_in_ruleTupleTypeCS9238); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getTupleTypeCSAccess().getLeftParenthesisKeyword_1_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3961:1: ( ( (lv_ownedParts_2_0= ruleTuplePartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) )* )?
|
| int alt61=2;
|
| int LA61_0 = input.LA(1);
|
|
|
| if ( ((LA61_0>=RULE_SIMPLE_ID && LA61_0<=RULE_ESCAPED_ID)||(LA61_0>=24 && LA61_0<=33)||(LA61_0>=36 && LA61_0<=41)||(LA61_0>=44 && LA61_0<=45)) ) {
|
| alt61=1;
|
| }
|
| switch (alt61) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3961:2: ( (lv_ownedParts_2_0= ruleTuplePartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) )*
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3961:2: ( (lv_ownedParts_2_0= ruleTuplePartCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3962:1: (lv_ownedParts_2_0= ruleTuplePartCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3962:1: (lv_ownedParts_2_0= ruleTuplePartCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3963:3: lv_ownedParts_2_0= ruleTuplePartCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTupleTypeCSAccess().getOwnedPartsTuplePartCSParserRuleCall_1_1_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTuplePartCS_in_ruleTupleTypeCS9260);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3979:2: (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTuplePartCS ) ) )*
|
| loop60:
|
| do {
|
| int alt60=2;
|
| int LA60_0 = input.LA(1);
|
|
|
| if ( (LA60_0==18) ) {
|
| alt60=1;
|
| }
|
|
|
|
|
| switch (alt60) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3979:4: otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTuplePartCS ) )
|
| {
|
| otherlv_3=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleTupleTypeCS9273); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_3, grammarAccess.getTupleTypeCSAccess().getCommaKeyword_1_1_1_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3983:1: ( (lv_ownedParts_4_0= ruleTuplePartCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3984:1: (lv_ownedParts_4_0= ruleTuplePartCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3984:1: (lv_ownedParts_4_0= ruleTuplePartCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:3985:3: lv_ownedParts_4_0= ruleTuplePartCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTupleTypeCSAccess().getOwnedPartsTuplePartCSParserRuleCall_1_1_1_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTuplePartCS_in_ruleTupleTypeCS9294);
|
| 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 loop60;
|
| }
|
| } while (true);
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| otherlv_5=(Token)match(input,35,FollowSets000.FOLLOW_35_in_ruleTupleTypeCS9310); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_5, grammarAccess.getTupleTypeCSAccess().getRightParenthesisKeyword_1_2());
|
|
|
| }
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleTupleTypeCS"
|
|
|
|
|
| // $ANTLR start "entryRuleTuplePartCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4013: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4014:2: (iv_ruleTuplePartCS= ruleTuplePartCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4015:2: iv_ruleTuplePartCS= ruleTuplePartCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getTuplePartCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTuplePartCS_in_entryRuleTuplePartCS9348);
|
| iv_ruleTuplePartCS=ruleTuplePartCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleTuplePartCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTuplePartCS9358); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleTuplePartCS"
|
|
|
|
|
| // $ANTLR start "ruleTuplePartCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4022:1: ruleTuplePartCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) ) ;
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4025:28: ( ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4026:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4026:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4026:2: ( (lv_name_0_0= ruleUnrestrictedName ) ) otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4026:2: ( (lv_name_0_0= ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4027:1: (lv_name_0_0= ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4027:1: (lv_name_0_0= ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4028:3: lv_name_0_0= ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTuplePartCSAccess().getNameUnrestrictedNameParserRuleCall_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleTuplePartCS9404);
|
| lv_name_0_0=ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getTuplePartCSRule());
|
| }
|
| set(
|
| current,
|
| "name",
|
| lv_name_0_0,
|
| "UnrestrictedName");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_1=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleTuplePartCS9416); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getTuplePartCSAccess().getColonKeyword_1());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4048:1: ( (lv_ownedType_2_0= ruleTypeExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4049:1: (lv_ownedType_2_0= ruleTypeExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4049:1: (lv_ownedType_2_0= ruleTypeExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4050:3: lv_ownedType_2_0= ruleTypeExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTuplePartCSAccess().getOwnedTypeTypeExpCSParserRuleCall_2_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypeExpCS_in_ruleTuplePartCS9437);
|
| lv_ownedType_2_0=ruleTypeExpCS();
|
|
|
| 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,
|
| "TypeExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleTuplePartCS"
|
|
|
|
|
| // $ANTLR start "entryRuleCollectionLiteralExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4074: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4075:2: (iv_ruleCollectionLiteralExpCS= ruleCollectionLiteralExpCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4076:2: iv_ruleCollectionLiteralExpCS= ruleCollectionLiteralExpCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getCollectionLiteralExpCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleCollectionLiteralExpCS_in_entryRuleCollectionLiteralExpCS9473);
|
| iv_ruleCollectionLiteralExpCS=ruleCollectionLiteralExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleCollectionLiteralExpCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCollectionLiteralExpCS9483); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleCollectionLiteralExpCS"
|
|
|
|
|
| // $ANTLR start "ruleCollectionLiteralExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4083: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4086: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4087: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4087: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4087: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4087:2: ( (lv_ownedType_0_0= ruleCollectionTypeCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4088:1: (lv_ownedType_0_0= ruleCollectionTypeCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4088:1: (lv_ownedType_0_0= ruleCollectionTypeCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4089:3: lv_ownedType_0_0= ruleCollectionTypeCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getCollectionLiteralExpCSAccess().getOwnedTypeCollectionTypeCSParserRuleCall_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeCS_in_ruleCollectionLiteralExpCS9529);
|
| 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,17,FollowSets000.FOLLOW_17_in_ruleCollectionLiteralExpCS9541); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getCollectionLiteralExpCSAccess().getLeftCurlyBracketKeyword_1());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4109:1: ( ( (lv_ownedParts_2_0= ruleCollectionLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) ) )* )?
|
| int alt64=2;
|
| int LA64_0 = input.LA(1);
|
|
|
| if ( ((LA64_0>=RULE_SIMPLE_ID && LA64_0<=RULE_SINGLE_QUOTED_STRING)||(LA64_0>=24 && LA64_0<=34)||(LA64_0>=36 && LA64_0<=41)||(LA64_0>=43 && LA64_0<=47)||(LA64_0>=61 && LA64_0<=74)||(LA64_0>=79 && LA64_0<=82)||LA64_0==86||LA64_0==90||LA64_0==92) ) {
|
| alt64=1;
|
| }
|
| switch (alt64) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4109:2: ( (lv_ownedParts_2_0= ruleCollectionLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) ) )*
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4109:2: ( (lv_ownedParts_2_0= ruleCollectionLiteralPartCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4110:1: (lv_ownedParts_2_0= ruleCollectionLiteralPartCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4110:1: (lv_ownedParts_2_0= ruleCollectionLiteralPartCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4111:3: lv_ownedParts_2_0= ruleCollectionLiteralPartCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getCollectionLiteralExpCSAccess().getOwnedPartsCollectionLiteralPartCSParserRuleCall_2_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleCollectionLiteralPartCS_in_ruleCollectionLiteralExpCS9563);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4127:2: (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) ) )*
|
| loop63:
|
| do {
|
| int alt63=2;
|
| int LA63_0 = input.LA(1);
|
|
|
| if ( (LA63_0==18) ) {
|
| alt63=1;
|
| }
|
|
|
|
|
| switch (alt63) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4127:4: otherlv_3= ',' ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) )
|
| {
|
| otherlv_3=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleCollectionLiteralExpCS9576); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_3, grammarAccess.getCollectionLiteralExpCSAccess().getCommaKeyword_2_1_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4131:1: ( (lv_ownedParts_4_0= ruleCollectionLiteralPartCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4132:1: (lv_ownedParts_4_0= ruleCollectionLiteralPartCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4132:1: (lv_ownedParts_4_0= ruleCollectionLiteralPartCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4133:3: lv_ownedParts_4_0= ruleCollectionLiteralPartCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getCollectionLiteralExpCSAccess().getOwnedPartsCollectionLiteralPartCSParserRuleCall_2_1_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleCollectionLiteralPartCS_in_ruleCollectionLiteralExpCS9597);
|
| 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 loop63;
|
| }
|
| } while (true);
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| otherlv_5=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleCollectionLiteralExpCS9613); 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4161: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4162:2: (iv_ruleCollectionLiteralPartCS= ruleCollectionLiteralPartCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4163:2: iv_ruleCollectionLiteralPartCS= ruleCollectionLiteralPartCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getCollectionLiteralPartCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleCollectionLiteralPartCS_in_entryRuleCollectionLiteralPartCS9649);
|
| iv_ruleCollectionLiteralPartCS=ruleCollectionLiteralPartCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleCollectionLiteralPartCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCollectionLiteralPartCS9659); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleCollectionLiteralPartCS"
|
|
|
|
|
| // $ANTLR start "ruleCollectionLiteralPartCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4170:1: ruleCollectionLiteralPartCS returns [EObject current=null] : ( ( (lv_expressionCS_0_0= ruleExpCS ) ) (otherlv_1= '..' ( (lv_lastExpressionCS_2_0= ruleExpCS ) ) )? ) ;
|
| public final EObject ruleCollectionLiteralPartCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_1=null;
|
| EObject lv_expressionCS_0_0 = null;
|
|
|
| EObject lv_lastExpressionCS_2_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4173:28: ( ( ( (lv_expressionCS_0_0= ruleExpCS ) ) (otherlv_1= '..' ( (lv_lastExpressionCS_2_0= ruleExpCS ) ) )? ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4174:1: ( ( (lv_expressionCS_0_0= ruleExpCS ) ) (otherlv_1= '..' ( (lv_lastExpressionCS_2_0= ruleExpCS ) ) )? )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4174:1: ( ( (lv_expressionCS_0_0= ruleExpCS ) ) (otherlv_1= '..' ( (lv_lastExpressionCS_2_0= ruleExpCS ) ) )? )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4174:2: ( (lv_expressionCS_0_0= ruleExpCS ) ) (otherlv_1= '..' ( (lv_lastExpressionCS_2_0= ruleExpCS ) ) )?
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4174:2: ( (lv_expressionCS_0_0= ruleExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4175:1: (lv_expressionCS_0_0= ruleExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4175:1: (lv_expressionCS_0_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4176:3: lv_expressionCS_0_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getCollectionLiteralPartCSAccess().getExpressionCSExpCSParserRuleCall_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleCollectionLiteralPartCS9705);
|
| lv_expressionCS_0_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getCollectionLiteralPartCSRule());
|
| }
|
| set(
|
| current,
|
| "expressionCS",
|
| lv_expressionCS_0_0,
|
| "ExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4192:2: (otherlv_1= '..' ( (lv_lastExpressionCS_2_0= ruleExpCS ) ) )?
|
| int alt65=2;
|
| int LA65_0 = input.LA(1);
|
|
|
| if ( (LA65_0==75) ) {
|
| alt65=1;
|
| }
|
| switch (alt65) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4192:4: otherlv_1= '..' ( (lv_lastExpressionCS_2_0= ruleExpCS ) )
|
| {
|
| otherlv_1=(Token)match(input,75,FollowSets000.FOLLOW_75_in_ruleCollectionLiteralPartCS9718); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getCollectionLiteralPartCSAccess().getFullStopFullStopKeyword_1_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4196:1: ( (lv_lastExpressionCS_2_0= ruleExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4197:1: (lv_lastExpressionCS_2_0= ruleExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4197:1: (lv_lastExpressionCS_2_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4198:3: lv_lastExpressionCS_2_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getCollectionLiteralPartCSAccess().getLastExpressionCSExpCSParserRuleCall_1_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleCollectionLiteralPartCS9739);
|
| lv_lastExpressionCS_2_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getCollectionLiteralPartCSRule());
|
| }
|
| set(
|
| current,
|
| "lastExpressionCS",
|
| lv_lastExpressionCS_2_0,
|
| "ExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleCollectionLiteralPartCS"
|
|
|
|
|
| // $ANTLR start "entryRuleConstructorPartCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4222:1: entryRuleConstructorPartCS returns [EObject current=null] : iv_ruleConstructorPartCS= ruleConstructorPartCS EOF ;
|
| public final EObject entryRuleConstructorPartCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_ruleConstructorPartCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4223:2: (iv_ruleConstructorPartCS= ruleConstructorPartCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4224:2: iv_ruleConstructorPartCS= ruleConstructorPartCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getConstructorPartCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleConstructorPartCS_in_entryRuleConstructorPartCS9777);
|
| iv_ruleConstructorPartCS=ruleConstructorPartCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleConstructorPartCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleConstructorPartCS9787); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleConstructorPartCS"
|
|
|
|
|
| // $ANTLR start "ruleConstructorPartCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4231:1: ruleConstructorPartCS returns [EObject current=null] : ( ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( (lv_initExpression_2_0= ruleExpCS ) ) ) ;
|
| public final EObject ruleConstructorPartCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_1=null;
|
| EObject lv_initExpression_2_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4234:28: ( ( ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( (lv_initExpression_2_0= ruleExpCS ) ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4235:1: ( ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( (lv_initExpression_2_0= ruleExpCS ) ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4235:1: ( ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( (lv_initExpression_2_0= ruleExpCS ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4235:2: ( ( ruleUnrestrictedName ) ) otherlv_1= '=' ( (lv_initExpression_2_0= ruleExpCS ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4235:2: ( ( ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4236:1: ( ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4236:1: ( ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4237:3: ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getConstructorPartCSRule());
|
| }
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getConstructorPartCSAccess().getPropertyPropertyCrossReference_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleConstructorPartCS9839);
|
| ruleUnrestrictedName();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_1=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleConstructorPartCS9851); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getConstructorPartCSAccess().getEqualsSignKeyword_1());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4257:1: ( (lv_initExpression_2_0= ruleExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4258:1: (lv_initExpression_2_0= ruleExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4258:1: (lv_initExpression_2_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4259:3: lv_initExpression_2_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getConstructorPartCSAccess().getInitExpressionExpCSParserRuleCall_2_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleConstructorPartCS9872);
|
| lv_initExpression_2_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getConstructorPartCSRule());
|
| }
|
| set(
|
| current,
|
| "initExpression",
|
| lv_initExpression_2_0,
|
| "ExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleConstructorPartCS"
|
|
|
|
|
| // $ANTLR start "entryRulePrimitiveLiteralExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4283: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4284:2: (iv_rulePrimitiveLiteralExpCS= rulePrimitiveLiteralExpCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4285:2: iv_rulePrimitiveLiteralExpCS= rulePrimitiveLiteralExpCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getPrimitiveLiteralExpCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePrimitiveLiteralExpCS_in_entryRulePrimitiveLiteralExpCS9908);
|
| iv_rulePrimitiveLiteralExpCS=rulePrimitiveLiteralExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_rulePrimitiveLiteralExpCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePrimitiveLiteralExpCS9918); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRulePrimitiveLiteralExpCS"
|
|
|
|
|
| // $ANTLR start "rulePrimitiveLiteralExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4292: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4295: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4296: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4296: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 alt66=6;
|
| switch ( input.LA(1) ) {
|
| case RULE_INT:
|
| {
|
| alt66=1;
|
| }
|
| break;
|
| case RULE_SINGLE_QUOTED_STRING:
|
| {
|
| alt66=2;
|
| }
|
| break;
|
| case 79:
|
| case 80:
|
| {
|
| alt66=3;
|
| }
|
| break;
|
| case 43:
|
| {
|
| alt66=4;
|
| }
|
| break;
|
| case 81:
|
| {
|
| alt66=5;
|
| }
|
| break;
|
| case 82:
|
| {
|
| alt66=6;
|
| }
|
| break;
|
| default:
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4297:2: this_NumberLiteralExpCS_0= ruleNumberLiteralExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimitiveLiteralExpCSAccess().getNumberLiteralExpCSParserRuleCall_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNumberLiteralExpCS_in_rulePrimitiveLiteralExpCS9968);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4310:2: this_StringLiteralExpCS_1= ruleStringLiteralExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimitiveLiteralExpCSAccess().getStringLiteralExpCSParserRuleCall_1());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleStringLiteralExpCS_in_rulePrimitiveLiteralExpCS9998);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4323:2: this_BooleanLiteralExpCS_2= ruleBooleanLiteralExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimitiveLiteralExpCSAccess().getBooleanLiteralExpCSParserRuleCall_2());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleBooleanLiteralExpCS_in_rulePrimitiveLiteralExpCS10028);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4336:2: this_UnlimitedNaturalLiteralExpCS_3= ruleUnlimitedNaturalLiteralExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimitiveLiteralExpCSAccess().getUnlimitedNaturalLiteralExpCSParserRuleCall_3());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnlimitedNaturalLiteralExpCS_in_rulePrimitiveLiteralExpCS10058);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4349:2: this_InvalidLiteralExpCS_4= ruleInvalidLiteralExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimitiveLiteralExpCSAccess().getInvalidLiteralExpCSParserRuleCall_4());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleInvalidLiteralExpCS_in_rulePrimitiveLiteralExpCS10088);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4362:2: this_NullLiteralExpCS_5= ruleNullLiteralExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimitiveLiteralExpCSAccess().getNullLiteralExpCSParserRuleCall_5());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNullLiteralExpCS_in_rulePrimitiveLiteralExpCS10118);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4381: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4382:2: (iv_ruleTupleLiteralExpCS= ruleTupleLiteralExpCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4383:2: iv_ruleTupleLiteralExpCS= ruleTupleLiteralExpCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getTupleLiteralExpCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTupleLiteralExpCS_in_entryRuleTupleLiteralExpCS10153);
|
| iv_ruleTupleLiteralExpCS=ruleTupleLiteralExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleTupleLiteralExpCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTupleLiteralExpCS10163); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleTupleLiteralExpCS"
|
|
|
|
|
| // $ANTLR start "ruleTupleLiteralExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4390: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4393:28: ( (otherlv_0= 'Tuple' otherlv_1= '{' ( (lv_ownedParts_2_0= ruleTupleLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTupleLiteralPartCS ) ) )* otherlv_5= '}' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4394:1: (otherlv_0= 'Tuple' otherlv_1= '{' ( (lv_ownedParts_2_0= ruleTupleLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTupleLiteralPartCS ) ) )* otherlv_5= '}' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4394:1: (otherlv_0= 'Tuple' otherlv_1= '{' ( (lv_ownedParts_2_0= ruleTupleLiteralPartCS ) ) (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTupleLiteralPartCS ) ) )* otherlv_5= '}' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4394: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,61,FollowSets000.FOLLOW_61_in_ruleTupleLiteralExpCS10200); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_0, grammarAccess.getTupleLiteralExpCSAccess().getTupleKeyword_0());
|
|
|
| }
|
| otherlv_1=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleTupleLiteralExpCS10212); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getTupleLiteralExpCSAccess().getLeftCurlyBracketKeyword_1());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4402:1: ( (lv_ownedParts_2_0= ruleTupleLiteralPartCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4403:1: (lv_ownedParts_2_0= ruleTupleLiteralPartCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4403:1: (lv_ownedParts_2_0= ruleTupleLiteralPartCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4404:3: lv_ownedParts_2_0= ruleTupleLiteralPartCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTupleLiteralExpCSAccess().getOwnedPartsTupleLiteralPartCSParserRuleCall_2_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTupleLiteralPartCS_in_ruleTupleLiteralExpCS10233);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4420:2: (otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTupleLiteralPartCS ) ) )*
|
| loop67:
|
| do {
|
| int alt67=2;
|
| int LA67_0 = input.LA(1);
|
|
|
| if ( (LA67_0==18) ) {
|
| alt67=1;
|
| }
|
|
|
|
|
| switch (alt67) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4420:4: otherlv_3= ',' ( (lv_ownedParts_4_0= ruleTupleLiteralPartCS ) )
|
| {
|
| otherlv_3=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleTupleLiteralExpCS10246); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_3, grammarAccess.getTupleLiteralExpCSAccess().getCommaKeyword_3_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4424:1: ( (lv_ownedParts_4_0= ruleTupleLiteralPartCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4425:1: (lv_ownedParts_4_0= ruleTupleLiteralPartCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4425:1: (lv_ownedParts_4_0= ruleTupleLiteralPartCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4426:3: lv_ownedParts_4_0= ruleTupleLiteralPartCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTupleLiteralExpCSAccess().getOwnedPartsTupleLiteralPartCSParserRuleCall_3_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTupleLiteralPartCS_in_ruleTupleLiteralExpCS10267);
|
| 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 loop67;
|
| }
|
| } while (true);
|
|
|
| otherlv_5=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleTupleLiteralExpCS10281); 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4454: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4455:2: (iv_ruleTupleLiteralPartCS= ruleTupleLiteralPartCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4456:2: iv_ruleTupleLiteralPartCS= ruleTupleLiteralPartCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getTupleLiteralPartCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTupleLiteralPartCS_in_entryRuleTupleLiteralPartCS10317);
|
| iv_ruleTupleLiteralPartCS=ruleTupleLiteralPartCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleTupleLiteralPartCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTupleLiteralPartCS10327); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleTupleLiteralPartCS"
|
|
|
|
|
| // $ANTLR start "ruleTupleLiteralPartCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4463:1: ruleTupleLiteralPartCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) )? otherlv_3= '=' ( (lv_initExpression_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_initExpression_4_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4466:28: ( ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) )? otherlv_3= '=' ( (lv_initExpression_4_0= ruleExpCS ) ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4467:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) )? otherlv_3= '=' ( (lv_initExpression_4_0= ruleExpCS ) ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4467:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) )? otherlv_3= '=' ( (lv_initExpression_4_0= ruleExpCS ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4467:2: ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) )? otherlv_3= '=' ( (lv_initExpression_4_0= ruleExpCS ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4467:2: ( (lv_name_0_0= ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4468:1: (lv_name_0_0= ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4468:1: (lv_name_0_0= ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4469:3: lv_name_0_0= ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTupleLiteralPartCSAccess().getNameUnrestrictedNameParserRuleCall_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleTupleLiteralPartCS10373);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4485:2: (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) )?
|
| int alt68=2;
|
| int LA68_0 = input.LA(1);
|
|
|
| if ( (LA68_0==16) ) {
|
| alt68=1;
|
| }
|
| switch (alt68) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4485:4: otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) )
|
| {
|
| otherlv_1=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleTupleLiteralPartCS10386); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getTupleLiteralPartCSAccess().getColonKeyword_1_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4489:1: ( (lv_ownedType_2_0= ruleTypeExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4490:1: (lv_ownedType_2_0= ruleTypeExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4490:1: (lv_ownedType_2_0= ruleTypeExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4491:3: lv_ownedType_2_0= ruleTypeExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTupleLiteralPartCSAccess().getOwnedTypeTypeExpCSParserRuleCall_1_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypeExpCS_in_ruleTupleLiteralPartCS10407);
|
| 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,22,FollowSets000.FOLLOW_22_in_ruleTupleLiteralPartCS10421); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_3, grammarAccess.getTupleLiteralPartCSAccess().getEqualsSignKeyword_2());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4511:1: ( (lv_initExpression_4_0= ruleExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4512:1: (lv_initExpression_4_0= ruleExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4512:1: (lv_initExpression_4_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4513:3: lv_initExpression_4_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTupleLiteralPartCSAccess().getInitExpressionExpCSParserRuleCall_3_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleTupleLiteralPartCS10442);
|
| lv_initExpression_4_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getTupleLiteralPartCSRule());
|
| }
|
| set(
|
| current,
|
| "initExpression",
|
| lv_initExpression_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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4537: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4538:2: (iv_ruleNumberLiteralExpCS= ruleNumberLiteralExpCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4539:2: iv_ruleNumberLiteralExpCS= ruleNumberLiteralExpCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getNumberLiteralExpCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNumberLiteralExpCS_in_entryRuleNumberLiteralExpCS10478);
|
| iv_ruleNumberLiteralExpCS=ruleNumberLiteralExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleNumberLiteralExpCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNumberLiteralExpCS10488); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleNumberLiteralExpCS"
|
|
|
|
|
| // $ANTLR start "ruleNumberLiteralExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4546:1: ruleNumberLiteralExpCS returns [EObject current=null] : ( (lv_name_0_0= ruleNUMBER_LITERAL ) ) ;
|
| public final EObject ruleNumberLiteralExpCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| AntlrDatatypeRuleToken lv_name_0_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4549:28: ( ( (lv_name_0_0= ruleNUMBER_LITERAL ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4550:1: ( (lv_name_0_0= ruleNUMBER_LITERAL ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4550:1: ( (lv_name_0_0= ruleNUMBER_LITERAL ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4551:1: (lv_name_0_0= ruleNUMBER_LITERAL )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4551:1: (lv_name_0_0= ruleNUMBER_LITERAL )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4552:3: lv_name_0_0= ruleNUMBER_LITERAL
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getNumberLiteralExpCSAccess().getNameNUMBER_LITERALParserRuleCall_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNUMBER_LITERAL_in_ruleNumberLiteralExpCS10533);
|
| lv_name_0_0=ruleNUMBER_LITERAL();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getNumberLiteralExpCSRule());
|
| }
|
| set(
|
| current,
|
| "name",
|
| lv_name_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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4576: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4577:2: (iv_ruleStringLiteralExpCS= ruleStringLiteralExpCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4578:2: iv_ruleStringLiteralExpCS= ruleStringLiteralExpCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getStringLiteralExpCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleStringLiteralExpCS_in_entryRuleStringLiteralExpCS10568);
|
| iv_ruleStringLiteralExpCS=ruleStringLiteralExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleStringLiteralExpCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleStringLiteralExpCS10578); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleStringLiteralExpCS"
|
|
|
|
|
| // $ANTLR start "ruleStringLiteralExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4585:1: ruleStringLiteralExpCS returns [EObject current=null] : ( (lv_name_0_0= ruleStringLiteral ) )+ ;
|
| public final EObject ruleStringLiteralExpCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| AntlrDatatypeRuleToken lv_name_0_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4588:28: ( ( (lv_name_0_0= ruleStringLiteral ) )+ )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4589:1: ( (lv_name_0_0= ruleStringLiteral ) )+
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4589:1: ( (lv_name_0_0= ruleStringLiteral ) )+
|
| int cnt69=0;
|
| loop69:
|
| do {
|
| int alt69=2;
|
| int LA69_0 = input.LA(1);
|
|
|
| if ( (LA69_0==RULE_SINGLE_QUOTED_STRING) ) {
|
| alt69=1;
|
| }
|
|
|
|
|
| switch (alt69) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4590:1: (lv_name_0_0= ruleStringLiteral )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4590:1: (lv_name_0_0= ruleStringLiteral )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4591:3: lv_name_0_0= ruleStringLiteral
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getStringLiteralExpCSAccess().getNameStringLiteralParserRuleCall_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleStringLiteral_in_ruleStringLiteralExpCS10623);
|
| lv_name_0_0=ruleStringLiteral();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getStringLiteralExpCSRule());
|
| }
|
| add(
|
| current,
|
| "name",
|
| lv_name_0_0,
|
| "StringLiteral");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| if ( cnt69 >= 1 ) break loop69;
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| EarlyExitException eee =
|
| new EarlyExitException(69, input);
|
| throw eee;
|
| }
|
| cnt69++;
|
| } 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4615: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4616:2: (iv_ruleBooleanLiteralExpCS= ruleBooleanLiteralExpCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4617:2: iv_ruleBooleanLiteralExpCS= ruleBooleanLiteralExpCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getBooleanLiteralExpCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleBooleanLiteralExpCS_in_entryRuleBooleanLiteralExpCS10659);
|
| iv_ruleBooleanLiteralExpCS=ruleBooleanLiteralExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleBooleanLiteralExpCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleBooleanLiteralExpCS10669); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleBooleanLiteralExpCS"
|
|
|
|
|
| // $ANTLR start "ruleBooleanLiteralExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4624:1: ruleBooleanLiteralExpCS returns [EObject current=null] : ( ( (lv_name_0_0= 'true' ) ) | ( (lv_name_1_0= 'false' ) ) ) ;
|
| public final EObject ruleBooleanLiteralExpCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token lv_name_0_0=null;
|
| Token lv_name_1_0=null;
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4627:28: ( ( ( (lv_name_0_0= 'true' ) ) | ( (lv_name_1_0= 'false' ) ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4628:1: ( ( (lv_name_0_0= 'true' ) ) | ( (lv_name_1_0= 'false' ) ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4628:1: ( ( (lv_name_0_0= 'true' ) ) | ( (lv_name_1_0= 'false' ) ) )
|
| int alt70=2;
|
| int LA70_0 = input.LA(1);
|
|
|
| if ( (LA70_0==79) ) {
|
| alt70=1;
|
| }
|
| else if ( (LA70_0==80) ) {
|
| alt70=2;
|
| }
|
| else {
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| NoViableAltException nvae =
|
| new NoViableAltException("", 70, 0, input);
|
|
|
| throw nvae;
|
| }
|
| switch (alt70) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4628:2: ( (lv_name_0_0= 'true' ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4628:2: ( (lv_name_0_0= 'true' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4629:1: (lv_name_0_0= 'true' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4629:1: (lv_name_0_0= 'true' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4630:3: lv_name_0_0= 'true'
|
| {
|
| lv_name_0_0=(Token)match(input,79,FollowSets000.FOLLOW_79_in_ruleBooleanLiteralExpCS10712); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_name_0_0, grammarAccess.getBooleanLiteralExpCSAccess().getNameTrueKeyword_0_0());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getBooleanLiteralExpCSRule());
|
| }
|
| setWithLastConsumed(current, "name", lv_name_0_0, "true");
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4644:6: ( (lv_name_1_0= 'false' ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4644:6: ( (lv_name_1_0= 'false' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4645:1: (lv_name_1_0= 'false' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4645:1: (lv_name_1_0= 'false' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4646:3: lv_name_1_0= 'false'
|
| {
|
| lv_name_1_0=(Token)match(input,80,FollowSets000.FOLLOW_80_in_ruleBooleanLiteralExpCS10749); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_name_1_0, grammarAccess.getBooleanLiteralExpCSAccess().getNameFalseKeyword_1_0());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getBooleanLiteralExpCSRule());
|
| }
|
| setWithLastConsumed(current, "name", lv_name_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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4667: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4668:2: (iv_ruleUnlimitedNaturalLiteralExpCS= ruleUnlimitedNaturalLiteralExpCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4669:2: iv_ruleUnlimitedNaturalLiteralExpCS= ruleUnlimitedNaturalLiteralExpCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getUnlimitedNaturalLiteralExpCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnlimitedNaturalLiteralExpCS_in_entryRuleUnlimitedNaturalLiteralExpCS10798);
|
| iv_ruleUnlimitedNaturalLiteralExpCS=ruleUnlimitedNaturalLiteralExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleUnlimitedNaturalLiteralExpCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleUnlimitedNaturalLiteralExpCS10808); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleUnlimitedNaturalLiteralExpCS"
|
|
|
|
|
| // $ANTLR start "ruleUnlimitedNaturalLiteralExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4676: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4679:28: ( ( () otherlv_1= '*' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4680:1: ( () otherlv_1= '*' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4680:1: ( () otherlv_1= '*' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4680:2: () otherlv_1= '*'
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4680:2: ()
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4681:2:
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| current = forceCreateModelElement(
|
| grammarAccess.getUnlimitedNaturalLiteralExpCSAccess().getUnlimitedNaturalLiteralExpCSAction_0(),
|
| current);
|
|
|
| }
|
|
|
| }
|
|
|
| otherlv_1=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleUnlimitedNaturalLiteralExpCS10857); 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4701: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4702:2: (iv_ruleInvalidLiteralExpCS= ruleInvalidLiteralExpCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4703:2: iv_ruleInvalidLiteralExpCS= ruleInvalidLiteralExpCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getInvalidLiteralExpCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleInvalidLiteralExpCS_in_entryRuleInvalidLiteralExpCS10893);
|
| iv_ruleInvalidLiteralExpCS=ruleInvalidLiteralExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleInvalidLiteralExpCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleInvalidLiteralExpCS10903); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleInvalidLiteralExpCS"
|
|
|
|
|
| // $ANTLR start "ruleInvalidLiteralExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4710: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4713:28: ( ( () otherlv_1= 'invalid' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4714:1: ( () otherlv_1= 'invalid' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4714:1: ( () otherlv_1= 'invalid' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4714:2: () otherlv_1= 'invalid'
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4714:2: ()
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4715:2:
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| current = forceCreateModelElement(
|
| grammarAccess.getInvalidLiteralExpCSAccess().getInvalidLiteralExpCSAction_0(),
|
| current);
|
|
|
| }
|
|
|
| }
|
|
|
| otherlv_1=(Token)match(input,81,FollowSets000.FOLLOW_81_in_ruleInvalidLiteralExpCS10952); 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4735: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4736:2: (iv_ruleNullLiteralExpCS= ruleNullLiteralExpCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4737:2: iv_ruleNullLiteralExpCS= ruleNullLiteralExpCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getNullLiteralExpCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNullLiteralExpCS_in_entryRuleNullLiteralExpCS10988);
|
| iv_ruleNullLiteralExpCS=ruleNullLiteralExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleNullLiteralExpCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNullLiteralExpCS10998); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleNullLiteralExpCS"
|
|
|
|
|
| // $ANTLR start "ruleNullLiteralExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4744: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4747:28: ( ( () otherlv_1= 'null' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4748:1: ( () otherlv_1= 'null' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4748:1: ( () otherlv_1= 'null' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4748:2: () otherlv_1= 'null'
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4748:2: ()
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4749:2:
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| current = forceCreateModelElement(
|
| grammarAccess.getNullLiteralExpCSAccess().getNullLiteralExpCSAction_0(),
|
| current);
|
|
|
| }
|
|
|
| }
|
|
|
| otherlv_1=(Token)match(input,82,FollowSets000.FOLLOW_82_in_ruleNullLiteralExpCS11047); 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4769: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4770:2: (iv_ruleTypeLiteralCS= ruleTypeLiteralCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4771:2: iv_ruleTypeLiteralCS= ruleTypeLiteralCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getTypeLiteralCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralCS_in_entryRuleTypeLiteralCS11083);
|
| iv_ruleTypeLiteralCS=ruleTypeLiteralCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleTypeLiteralCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypeLiteralCS11093); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleTypeLiteralCS"
|
|
|
|
|
| // $ANTLR start "ruleTypeLiteralCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4778:1: ruleTypeLiteralCS returns [EObject current=null] : (this_PrimitiveTypeCS_0= rulePrimitiveTypeCS | this_CollectionTypeCS_1= ruleCollectionTypeCS | this_TupleTypeCS_2= ruleTupleTypeCS ) ;
|
| public final EObject ruleTypeLiteralCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject this_PrimitiveTypeCS_0 = null;
|
|
|
| EObject this_CollectionTypeCS_1 = null;
|
|
|
| EObject this_TupleTypeCS_2 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4781:28: ( (this_PrimitiveTypeCS_0= rulePrimitiveTypeCS | this_CollectionTypeCS_1= ruleCollectionTypeCS | this_TupleTypeCS_2= ruleTupleTypeCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4782:1: (this_PrimitiveTypeCS_0= rulePrimitiveTypeCS | this_CollectionTypeCS_1= ruleCollectionTypeCS | this_TupleTypeCS_2= ruleTupleTypeCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4782:1: (this_PrimitiveTypeCS_0= rulePrimitiveTypeCS | this_CollectionTypeCS_1= ruleCollectionTypeCS | this_TupleTypeCS_2= ruleTupleTypeCS )
|
| int alt71=3;
|
| switch ( input.LA(1) ) {
|
| case 62:
|
| case 63:
|
| case 64:
|
| case 65:
|
| case 66:
|
| case 67:
|
| case 68:
|
| case 69:
|
| {
|
| alt71=1;
|
| }
|
| break;
|
| case 70:
|
| case 71:
|
| case 72:
|
| case 73:
|
| case 74:
|
| {
|
| alt71=2;
|
| }
|
| break;
|
| case 61:
|
| {
|
| alt71=3;
|
| }
|
| break;
|
| default:
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4783:2: this_PrimitiveTypeCS_0= rulePrimitiveTypeCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTypeLiteralCSAccess().getPrimitiveTypeCSParserRuleCall_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePrimitiveTypeCS_in_ruleTypeLiteralCS11143);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4796:2: this_CollectionTypeCS_1= ruleCollectionTypeCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTypeLiteralCSAccess().getCollectionTypeCSParserRuleCall_1());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleCollectionTypeCS_in_ruleTypeLiteralCS11173);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4809:2: this_TupleTypeCS_2= ruleTupleTypeCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTypeLiteralCSAccess().getTupleTypeCSParserRuleCall_2());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTupleTypeCS_in_ruleTypeLiteralCS11203);
|
| this_TupleTypeCS_2=ruleTupleTypeCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current = this_TupleTypeCS_2;
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4828: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4829:2: (iv_ruleTypeLiteralWithMultiplicityCS= ruleTypeLiteralWithMultiplicityCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4830:2: iv_ruleTypeLiteralWithMultiplicityCS= ruleTypeLiteralWithMultiplicityCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getTypeLiteralWithMultiplicityCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralWithMultiplicityCS_in_entryRuleTypeLiteralWithMultiplicityCS11238);
|
| iv_ruleTypeLiteralWithMultiplicityCS=ruleTypeLiteralWithMultiplicityCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleTypeLiteralWithMultiplicityCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypeLiteralWithMultiplicityCS11248); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleTypeLiteralWithMultiplicityCS"
|
|
|
|
|
| // $ANTLR start "ruleTypeLiteralWithMultiplicityCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4837:1: ruleTypeLiteralWithMultiplicityCS returns [EObject current=null] : (this_TypeLiteralCS_0= ruleTypeLiteralCS ( (lv_multiplicity_1_0= ruleMultiplicityCS ) )? ) ;
|
| public final EObject ruleTypeLiteralWithMultiplicityCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject this_TypeLiteralCS_0 = null;
|
|
|
| EObject lv_multiplicity_1_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4840:28: ( (this_TypeLiteralCS_0= ruleTypeLiteralCS ( (lv_multiplicity_1_0= ruleMultiplicityCS ) )? ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4841:1: (this_TypeLiteralCS_0= ruleTypeLiteralCS ( (lv_multiplicity_1_0= ruleMultiplicityCS ) )? )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4841:1: (this_TypeLiteralCS_0= ruleTypeLiteralCS ( (lv_multiplicity_1_0= ruleMultiplicityCS ) )? )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4842:2: this_TypeLiteralCS_0= ruleTypeLiteralCS ( (lv_multiplicity_1_0= ruleMultiplicityCS ) )?
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTypeLiteralWithMultiplicityCSAccess().getTypeLiteralCSParserRuleCall_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralCS_in_ruleTypeLiteralWithMultiplicityCS11298);
|
| this_TypeLiteralCS_0=ruleTypeLiteralCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current = this_TypeLiteralCS_0;
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4853:1: ( (lv_multiplicity_1_0= ruleMultiplicityCS ) )?
|
| int alt72=2;
|
| int LA72_0 = input.LA(1);
|
|
|
| if ( (LA72_0==76) ) {
|
| alt72=1;
|
| }
|
| switch (alt72) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4854:1: (lv_multiplicity_1_0= ruleMultiplicityCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4854:1: (lv_multiplicity_1_0= ruleMultiplicityCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4855:3: lv_multiplicity_1_0= ruleMultiplicityCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTypeLiteralWithMultiplicityCSAccess().getMultiplicityMultiplicityCSParserRuleCall_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleMultiplicityCS_in_ruleTypeLiteralWithMultiplicityCS11318);
|
| lv_multiplicity_1_0=ruleMultiplicityCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getTypeLiteralWithMultiplicityCSRule());
|
| }
|
| set(
|
| current,
|
| "multiplicity",
|
| lv_multiplicity_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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4879: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4880:2: (iv_ruleTypeLiteralExpCS= ruleTypeLiteralExpCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4881:2: iv_ruleTypeLiteralExpCS= ruleTypeLiteralExpCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getTypeLiteralExpCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralExpCS_in_entryRuleTypeLiteralExpCS11355);
|
| iv_ruleTypeLiteralExpCS=ruleTypeLiteralExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleTypeLiteralExpCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypeLiteralExpCS11365); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleTypeLiteralExpCS"
|
|
|
|
|
| // $ANTLR start "ruleTypeLiteralExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4888: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4891:28: ( ( (lv_ownedType_0_0= ruleTypeLiteralWithMultiplicityCS ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4892:1: ( (lv_ownedType_0_0= ruleTypeLiteralWithMultiplicityCS ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4892:1: ( (lv_ownedType_0_0= ruleTypeLiteralWithMultiplicityCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4893:1: (lv_ownedType_0_0= ruleTypeLiteralWithMultiplicityCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4893:1: (lv_ownedType_0_0= ruleTypeLiteralWithMultiplicityCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4894:3: lv_ownedType_0_0= ruleTypeLiteralWithMultiplicityCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTypeLiteralExpCSAccess().getOwnedTypeTypeLiteralWithMultiplicityCSParserRuleCall_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralWithMultiplicityCS_in_ruleTypeLiteralExpCS11410);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4918: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4919:2: (iv_ruleTypeNameExpCS= ruleTypeNameExpCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4920:2: iv_ruleTypeNameExpCS= ruleTypeNameExpCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getTypeNameExpCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypeNameExpCS_in_entryRuleTypeNameExpCS11445);
|
| iv_ruleTypeNameExpCS=ruleTypeNameExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleTypeNameExpCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypeNameExpCS11455); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleTypeNameExpCS"
|
|
|
|
|
| // $ANTLR start "ruleTypeNameExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4927:1: ruleTypeNameExpCS returns [EObject current=null] : ( (lv_pathName_0_0= rulePathNameCS ) ) ;
|
| public final EObject ruleTypeNameExpCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject lv_pathName_0_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4930:28: ( ( (lv_pathName_0_0= rulePathNameCS ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4931:1: ( (lv_pathName_0_0= rulePathNameCS ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4931:1: ( (lv_pathName_0_0= rulePathNameCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4932:1: (lv_pathName_0_0= rulePathNameCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4932:1: (lv_pathName_0_0= rulePathNameCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4933:3: lv_pathName_0_0= rulePathNameCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTypeNameExpCSAccess().getPathNamePathNameCSParserRuleCall_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePathNameCS_in_ruleTypeNameExpCS11500);
|
| lv_pathName_0_0=rulePathNameCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getTypeNameExpCSRule());
|
| }
|
| set(
|
| current,
|
| "pathName",
|
| lv_pathName_0_0,
|
| "PathNameCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleTypeNameExpCS"
|
|
|
|
|
| // $ANTLR start "entryRuleTypeExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4957: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4958:2: (iv_ruleTypeExpCS= ruleTypeExpCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4959:2: iv_ruleTypeExpCS= ruleTypeExpCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getTypeExpCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypeExpCS_in_entryRuleTypeExpCS11535);
|
| iv_ruleTypeExpCS=ruleTypeExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleTypeExpCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypeExpCS11545); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleTypeExpCS"
|
|
|
|
|
| // $ANTLR start "ruleTypeExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4966:1: ruleTypeExpCS returns [EObject current=null] : ( (this_TypeNameExpCS_0= ruleTypeNameExpCS | this_TypeLiteralCS_1= ruleTypeLiteralCS ) ( (lv_multiplicity_2_0= ruleMultiplicityCS ) )? ) ;
|
| public final EObject ruleTypeExpCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject this_TypeNameExpCS_0 = null;
|
|
|
| EObject this_TypeLiteralCS_1 = null;
|
|
|
| EObject lv_multiplicity_2_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4969:28: ( ( (this_TypeNameExpCS_0= ruleTypeNameExpCS | this_TypeLiteralCS_1= ruleTypeLiteralCS ) ( (lv_multiplicity_2_0= ruleMultiplicityCS ) )? ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4970:1: ( (this_TypeNameExpCS_0= ruleTypeNameExpCS | this_TypeLiteralCS_1= ruleTypeLiteralCS ) ( (lv_multiplicity_2_0= ruleMultiplicityCS ) )? )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4970:1: ( (this_TypeNameExpCS_0= ruleTypeNameExpCS | this_TypeLiteralCS_1= ruleTypeLiteralCS ) ( (lv_multiplicity_2_0= ruleMultiplicityCS ) )? )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4970:2: (this_TypeNameExpCS_0= ruleTypeNameExpCS | this_TypeLiteralCS_1= ruleTypeLiteralCS ) ( (lv_multiplicity_2_0= ruleMultiplicityCS ) )?
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4970:2: (this_TypeNameExpCS_0= ruleTypeNameExpCS | this_TypeLiteralCS_1= ruleTypeLiteralCS )
|
| int alt73=2;
|
| int LA73_0 = input.LA(1);
|
|
|
| if ( ((LA73_0>=RULE_SIMPLE_ID && LA73_0<=RULE_ESCAPED_ID)||(LA73_0>=24 && LA73_0<=33)||(LA73_0>=36 && LA73_0<=41)||(LA73_0>=44 && LA73_0<=45)) ) {
|
| alt73=1;
|
| }
|
| else if ( ((LA73_0>=61 && LA73_0<=74)) ) {
|
| alt73=2;
|
| }
|
| else {
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| NoViableAltException nvae =
|
| new NoViableAltException("", 73, 0, input);
|
|
|
| throw nvae;
|
| }
|
| switch (alt73) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4971:2: this_TypeNameExpCS_0= ruleTypeNameExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTypeExpCSAccess().getTypeNameExpCSParserRuleCall_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypeNameExpCS_in_ruleTypeExpCS11596);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4984:2: this_TypeLiteralCS_1= ruleTypeLiteralCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTypeExpCSAccess().getTypeLiteralCSParserRuleCall_0_1());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralCS_in_ruleTypeExpCS11626);
|
| this_TypeLiteralCS_1=ruleTypeLiteralCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current = this_TypeLiteralCS_1;
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4995:2: ( (lv_multiplicity_2_0= ruleMultiplicityCS ) )?
|
| int alt74=2;
|
| int LA74_0 = input.LA(1);
|
|
|
| if ( (LA74_0==76) ) {
|
| alt74=1;
|
| }
|
| switch (alt74) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4996:1: (lv_multiplicity_2_0= ruleMultiplicityCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4996:1: (lv_multiplicity_2_0= ruleMultiplicityCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:4997:3: lv_multiplicity_2_0= ruleMultiplicityCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getTypeExpCSAccess().getMultiplicityMultiplicityCSParserRuleCall_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleMultiplicityCS_in_ruleTypeExpCS11647);
|
| lv_multiplicity_2_0=ruleMultiplicityCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getTypeExpCSRule());
|
| }
|
| set(
|
| current,
|
| "multiplicity",
|
| lv_multiplicity_2_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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5021: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5022:2: (iv_ruleExpCS= ruleExpCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5023:2: iv_ruleExpCS= ruleExpCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getExpCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_entryRuleExpCS11684);
|
| iv_ruleExpCS=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleExpCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleExpCS11694); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleExpCS"
|
|
|
|
|
| // $ANTLR start "ruleExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5030:1: ruleExpCS returns [EObject current=null] : ( (this_PrefixedExpCS_0= rulePrefixedExpCS ( () ( (lv_ownedOperator_2_0= ruleBinaryOperatorCS ) ) ( ( ( (lv_ownedExpression_3_0= rulePrefixedExpCS ) ) ( ( (lv_ownedOperator_4_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_5_0= rulePrefixedExpCS ) ) )* ( ( (lv_ownedOperator_6_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_7_0= ruleLetExpCS ) ) )? ) | ( (lv_ownedExpression_8_0= ruleLetExpCS ) ) ) )? ) | ( () ( (lv_ownedOperator_10_0= ruleUnaryOperatorCS ) )+ ( (lv_ownedExpression_11_0= ruleLetExpCS ) ) ) | this_LetExpCS_12= ruleLetExpCS ) ;
|
| public final EObject ruleExpCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject this_PrefixedExpCS_0 = null;
|
|
|
| EObject lv_ownedOperator_2_0 = null;
|
|
|
| EObject lv_ownedExpression_3_0 = null;
|
|
|
| EObject lv_ownedOperator_4_0 = null;
|
|
|
| EObject lv_ownedExpression_5_0 = null;
|
|
|
| EObject lv_ownedOperator_6_0 = null;
|
|
|
| EObject lv_ownedExpression_7_0 = null;
|
|
|
| EObject lv_ownedExpression_8_0 = null;
|
|
|
| EObject lv_ownedOperator_10_0 = null;
|
|
|
| EObject lv_ownedExpression_11_0 = null;
|
|
|
| EObject this_LetExpCS_12 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5033:28: ( ( (this_PrefixedExpCS_0= rulePrefixedExpCS ( () ( (lv_ownedOperator_2_0= ruleBinaryOperatorCS ) ) ( ( ( (lv_ownedExpression_3_0= rulePrefixedExpCS ) ) ( ( (lv_ownedOperator_4_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_5_0= rulePrefixedExpCS ) ) )* ( ( (lv_ownedOperator_6_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_7_0= ruleLetExpCS ) ) )? ) | ( (lv_ownedExpression_8_0= ruleLetExpCS ) ) ) )? ) | ( () ( (lv_ownedOperator_10_0= ruleUnaryOperatorCS ) )+ ( (lv_ownedExpression_11_0= ruleLetExpCS ) ) ) | this_LetExpCS_12= ruleLetExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5034:1: ( (this_PrefixedExpCS_0= rulePrefixedExpCS ( () ( (lv_ownedOperator_2_0= ruleBinaryOperatorCS ) ) ( ( ( (lv_ownedExpression_3_0= rulePrefixedExpCS ) ) ( ( (lv_ownedOperator_4_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_5_0= rulePrefixedExpCS ) ) )* ( ( (lv_ownedOperator_6_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_7_0= ruleLetExpCS ) ) )? ) | ( (lv_ownedExpression_8_0= ruleLetExpCS ) ) ) )? ) | ( () ( (lv_ownedOperator_10_0= ruleUnaryOperatorCS ) )+ ( (lv_ownedExpression_11_0= ruleLetExpCS ) ) ) | this_LetExpCS_12= ruleLetExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5034:1: ( (this_PrefixedExpCS_0= rulePrefixedExpCS ( () ( (lv_ownedOperator_2_0= ruleBinaryOperatorCS ) ) ( ( ( (lv_ownedExpression_3_0= rulePrefixedExpCS ) ) ( ( (lv_ownedOperator_4_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_5_0= rulePrefixedExpCS ) ) )* ( ( (lv_ownedOperator_6_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_7_0= ruleLetExpCS ) ) )? ) | ( (lv_ownedExpression_8_0= ruleLetExpCS ) ) ) )? ) | ( () ( (lv_ownedOperator_10_0= ruleUnaryOperatorCS ) )+ ( (lv_ownedExpression_11_0= ruleLetExpCS ) ) ) | this_LetExpCS_12= ruleLetExpCS )
|
| int alt80=3;
|
| alt80 = dfa80.predict(input);
|
| switch (alt80) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5034:2: (this_PrefixedExpCS_0= rulePrefixedExpCS ( () ( (lv_ownedOperator_2_0= ruleBinaryOperatorCS ) ) ( ( ( (lv_ownedExpression_3_0= rulePrefixedExpCS ) ) ( ( (lv_ownedOperator_4_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_5_0= rulePrefixedExpCS ) ) )* ( ( (lv_ownedOperator_6_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_7_0= ruleLetExpCS ) ) )? ) | ( (lv_ownedExpression_8_0= ruleLetExpCS ) ) ) )? )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5034:2: (this_PrefixedExpCS_0= rulePrefixedExpCS ( () ( (lv_ownedOperator_2_0= ruleBinaryOperatorCS ) ) ( ( ( (lv_ownedExpression_3_0= rulePrefixedExpCS ) ) ( ( (lv_ownedOperator_4_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_5_0= rulePrefixedExpCS ) ) )* ( ( (lv_ownedOperator_6_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_7_0= ruleLetExpCS ) ) )? ) | ( (lv_ownedExpression_8_0= ruleLetExpCS ) ) ) )? )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5035:2: this_PrefixedExpCS_0= rulePrefixedExpCS ( () ( (lv_ownedOperator_2_0= ruleBinaryOperatorCS ) ) ( ( ( (lv_ownedExpression_3_0= rulePrefixedExpCS ) ) ( ( (lv_ownedOperator_4_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_5_0= rulePrefixedExpCS ) ) )* ( ( (lv_ownedOperator_6_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_7_0= ruleLetExpCS ) ) )? ) | ( (lv_ownedExpression_8_0= ruleLetExpCS ) ) ) )?
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getExpCSAccess().getPrefixedExpCSParserRuleCall_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePrefixedExpCS_in_ruleExpCS11745);
|
| this_PrefixedExpCS_0=rulePrefixedExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current = this_PrefixedExpCS_0;
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5046:1: ( () ( (lv_ownedOperator_2_0= ruleBinaryOperatorCS ) ) ( ( ( (lv_ownedExpression_3_0= rulePrefixedExpCS ) ) ( ( (lv_ownedOperator_4_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_5_0= rulePrefixedExpCS ) ) )* ( ( (lv_ownedOperator_6_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_7_0= ruleLetExpCS ) ) )? ) | ( (lv_ownedExpression_8_0= ruleLetExpCS ) ) ) )?
|
| int alt78=2;
|
| int LA78_0 = input.LA(1);
|
|
|
| if ( (LA78_0==22||LA78_0==43||LA78_0==46||(LA78_0>=48 && LA78_0<=60)) ) {
|
| alt78=1;
|
| }
|
| switch (alt78) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5046:2: () ( (lv_ownedOperator_2_0= ruleBinaryOperatorCS ) ) ( ( ( (lv_ownedExpression_3_0= rulePrefixedExpCS ) ) ( ( (lv_ownedOperator_4_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_5_0= rulePrefixedExpCS ) ) )* ( ( (lv_ownedOperator_6_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_7_0= ruleLetExpCS ) ) )? ) | ( (lv_ownedExpression_8_0= ruleLetExpCS ) ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5046:2: ()
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5047:2:
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| current = forceCreateModelElementAndAdd(
|
| grammarAccess.getExpCSAccess().getInfixExpCSOwnedExpressionAction_0_1_0(),
|
| current);
|
|
|
| }
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5055:2: ( (lv_ownedOperator_2_0= ruleBinaryOperatorCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5056:1: (lv_ownedOperator_2_0= ruleBinaryOperatorCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5056:1: (lv_ownedOperator_2_0= ruleBinaryOperatorCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5057:3: lv_ownedOperator_2_0= ruleBinaryOperatorCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getExpCSAccess().getOwnedOperatorBinaryOperatorCSParserRuleCall_0_1_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleBinaryOperatorCS_in_ruleExpCS11778);
|
| lv_ownedOperator_2_0=ruleBinaryOperatorCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getExpCSRule());
|
| }
|
| add(
|
| current,
|
| "ownedOperator",
|
| lv_ownedOperator_2_0,
|
| "BinaryOperatorCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5073:2: ( ( ( (lv_ownedExpression_3_0= rulePrefixedExpCS ) ) ( ( (lv_ownedOperator_4_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_5_0= rulePrefixedExpCS ) ) )* ( ( (lv_ownedOperator_6_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_7_0= ruleLetExpCS ) ) )? ) | ( (lv_ownedExpression_8_0= ruleLetExpCS ) ) )
|
| int alt77=2;
|
| int LA77_0 = input.LA(1);
|
|
|
| if ( ((LA77_0>=RULE_SIMPLE_ID && LA77_0<=RULE_SINGLE_QUOTED_STRING)||(LA77_0>=24 && LA77_0<=34)||(LA77_0>=36 && LA77_0<=41)||(LA77_0>=43 && LA77_0<=47)||(LA77_0>=61 && LA77_0<=74)||(LA77_0>=79 && LA77_0<=82)||LA77_0==86||LA77_0==92) ) {
|
| alt77=1;
|
| }
|
| else if ( (LA77_0==90) ) {
|
| alt77=2;
|
| }
|
| else {
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5073:3: ( ( (lv_ownedExpression_3_0= rulePrefixedExpCS ) ) ( ( (lv_ownedOperator_4_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_5_0= rulePrefixedExpCS ) ) )* ( ( (lv_ownedOperator_6_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_7_0= ruleLetExpCS ) ) )? )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5073:3: ( ( (lv_ownedExpression_3_0= rulePrefixedExpCS ) ) ( ( (lv_ownedOperator_4_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_5_0= rulePrefixedExpCS ) ) )* ( ( (lv_ownedOperator_6_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_7_0= ruleLetExpCS ) ) )? )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5073:4: ( (lv_ownedExpression_3_0= rulePrefixedExpCS ) ) ( ( (lv_ownedOperator_4_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_5_0= rulePrefixedExpCS ) ) )* ( ( (lv_ownedOperator_6_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_7_0= ruleLetExpCS ) ) )?
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5073:4: ( (lv_ownedExpression_3_0= rulePrefixedExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5074:1: (lv_ownedExpression_3_0= rulePrefixedExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5074:1: (lv_ownedExpression_3_0= rulePrefixedExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5075:3: lv_ownedExpression_3_0= rulePrefixedExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getExpCSAccess().getOwnedExpressionPrefixedExpCSParserRuleCall_0_1_2_0_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePrefixedExpCS_in_ruleExpCS11801);
|
| lv_ownedExpression_3_0=rulePrefixedExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getExpCSRule());
|
| }
|
| add(
|
| current,
|
| "ownedExpression",
|
| lv_ownedExpression_3_0,
|
| "PrefixedExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5091:2: ( ( (lv_ownedOperator_4_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_5_0= rulePrefixedExpCS ) ) )*
|
| loop75:
|
| do {
|
| int alt75=2;
|
| alt75 = dfa75.predict(input);
|
| switch (alt75) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5091:3: ( (lv_ownedOperator_4_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_5_0= rulePrefixedExpCS ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5091:3: ( (lv_ownedOperator_4_0= ruleBinaryOperatorCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5092:1: (lv_ownedOperator_4_0= ruleBinaryOperatorCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5092:1: (lv_ownedOperator_4_0= ruleBinaryOperatorCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5093:3: lv_ownedOperator_4_0= ruleBinaryOperatorCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getExpCSAccess().getOwnedOperatorBinaryOperatorCSParserRuleCall_0_1_2_0_1_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleBinaryOperatorCS_in_ruleExpCS11823);
|
| lv_ownedOperator_4_0=ruleBinaryOperatorCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getExpCSRule());
|
| }
|
| add(
|
| current,
|
| "ownedOperator",
|
| lv_ownedOperator_4_0,
|
| "BinaryOperatorCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5109:2: ( (lv_ownedExpression_5_0= rulePrefixedExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5110:1: (lv_ownedExpression_5_0= rulePrefixedExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5110:1: (lv_ownedExpression_5_0= rulePrefixedExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5111:3: lv_ownedExpression_5_0= rulePrefixedExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getExpCSAccess().getOwnedExpressionPrefixedExpCSParserRuleCall_0_1_2_0_1_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePrefixedExpCS_in_ruleExpCS11844);
|
| lv_ownedExpression_5_0=rulePrefixedExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getExpCSRule());
|
| }
|
| add(
|
| current,
|
| "ownedExpression",
|
| lv_ownedExpression_5_0,
|
| "PrefixedExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop75;
|
| }
|
| } while (true);
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5127:4: ( ( (lv_ownedOperator_6_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_7_0= ruleLetExpCS ) ) )?
|
| int alt76=2;
|
| int LA76_0 = input.LA(1);
|
|
|
| if ( (LA76_0==22||LA76_0==43||LA76_0==46||(LA76_0>=48 && LA76_0<=60)) ) {
|
| alt76=1;
|
| }
|
| switch (alt76) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5127:5: ( (lv_ownedOperator_6_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_7_0= ruleLetExpCS ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5127:5: ( (lv_ownedOperator_6_0= ruleBinaryOperatorCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5128:1: (lv_ownedOperator_6_0= ruleBinaryOperatorCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5128:1: (lv_ownedOperator_6_0= ruleBinaryOperatorCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5129:3: lv_ownedOperator_6_0= ruleBinaryOperatorCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getExpCSAccess().getOwnedOperatorBinaryOperatorCSParserRuleCall_0_1_2_0_2_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleBinaryOperatorCS_in_ruleExpCS11868);
|
| lv_ownedOperator_6_0=ruleBinaryOperatorCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getExpCSRule());
|
| }
|
| add(
|
| current,
|
| "ownedOperator",
|
| lv_ownedOperator_6_0,
|
| "BinaryOperatorCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5145:2: ( (lv_ownedExpression_7_0= ruleLetExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5146:1: (lv_ownedExpression_7_0= ruleLetExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5146:1: (lv_ownedExpression_7_0= ruleLetExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5147:3: lv_ownedExpression_7_0= ruleLetExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getExpCSAccess().getOwnedExpressionLetExpCSParserRuleCall_0_1_2_0_2_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleLetExpCS_in_ruleExpCS11889);
|
| lv_ownedExpression_7_0=ruleLetExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getExpCSRule());
|
| }
|
| add(
|
| current,
|
| "ownedExpression",
|
| lv_ownedExpression_7_0,
|
| "LetExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5164:6: ( (lv_ownedExpression_8_0= ruleLetExpCS ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5164:6: ( (lv_ownedExpression_8_0= ruleLetExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5165:1: (lv_ownedExpression_8_0= ruleLetExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5165:1: (lv_ownedExpression_8_0= ruleLetExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5166:3: lv_ownedExpression_8_0= ruleLetExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getExpCSAccess().getOwnedExpressionLetExpCSParserRuleCall_0_1_2_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleLetExpCS_in_ruleExpCS11919);
|
| lv_ownedExpression_8_0=ruleLetExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getExpCSRule());
|
| }
|
| add(
|
| current,
|
| "ownedExpression",
|
| lv_ownedExpression_8_0,
|
| "LetExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5183:6: ( () ( (lv_ownedOperator_10_0= ruleUnaryOperatorCS ) )+ ( (lv_ownedExpression_11_0= ruleLetExpCS ) ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5183:6: ( () ( (lv_ownedOperator_10_0= ruleUnaryOperatorCS ) )+ ( (lv_ownedExpression_11_0= ruleLetExpCS ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5183:7: () ( (lv_ownedOperator_10_0= ruleUnaryOperatorCS ) )+ ( (lv_ownedExpression_11_0= ruleLetExpCS ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5183:7: ()
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5184:2:
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| current = forceCreateModelElement(
|
| grammarAccess.getExpCSAccess().getPrefixExpCSAction_1_0(),
|
| current);
|
|
|
| }
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5192:2: ( (lv_ownedOperator_10_0= ruleUnaryOperatorCS ) )+
|
| int cnt79=0;
|
| loop79:
|
| do {
|
| int alt79=2;
|
| int LA79_0 = input.LA(1);
|
|
|
| if ( ((LA79_0>=46 && LA79_0<=47)) ) {
|
| alt79=1;
|
| }
|
|
|
|
|
| switch (alt79) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5193:1: (lv_ownedOperator_10_0= ruleUnaryOperatorCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5193:1: (lv_ownedOperator_10_0= ruleUnaryOperatorCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5194:3: lv_ownedOperator_10_0= ruleUnaryOperatorCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getExpCSAccess().getOwnedOperatorUnaryOperatorCSParserRuleCall_1_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnaryOperatorCS_in_ruleExpCS11963);
|
| lv_ownedOperator_10_0=ruleUnaryOperatorCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getExpCSRule());
|
| }
|
| add(
|
| current,
|
| "ownedOperator",
|
| lv_ownedOperator_10_0,
|
| "UnaryOperatorCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| if ( cnt79 >= 1 ) break loop79;
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| EarlyExitException eee =
|
| new EarlyExitException(79, input);
|
| throw eee;
|
| }
|
| cnt79++;
|
| } while (true);
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5210:3: ( (lv_ownedExpression_11_0= ruleLetExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5211:1: (lv_ownedExpression_11_0= ruleLetExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5211:1: (lv_ownedExpression_11_0= ruleLetExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5212:3: lv_ownedExpression_11_0= ruleLetExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getExpCSAccess().getOwnedExpressionLetExpCSParserRuleCall_1_2_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleLetExpCS_in_ruleExpCS11985);
|
| lv_ownedExpression_11_0=ruleLetExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getExpCSRule());
|
| }
|
| set(
|
| current,
|
| "ownedExpression",
|
| lv_ownedExpression_11_0,
|
| "LetExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
| case 3 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5230:2: this_LetExpCS_12= ruleLetExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getExpCSAccess().getLetExpCSParserRuleCall_2());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleLetExpCS_in_ruleExpCS12017);
|
| this_LetExpCS_12=ruleLetExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current = this_LetExpCS_12;
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleExpCS"
|
|
|
|
|
| // $ANTLR start "entryRulePrefixedExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5249:1: entryRulePrefixedExpCS returns [EObject current=null] : iv_rulePrefixedExpCS= rulePrefixedExpCS EOF ;
|
| public final EObject entryRulePrefixedExpCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject iv_rulePrefixedExpCS = null;
|
|
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5250:2: (iv_rulePrefixedExpCS= rulePrefixedExpCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5251:2: iv_rulePrefixedExpCS= rulePrefixedExpCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getPrefixedExpCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePrefixedExpCS_in_entryRulePrefixedExpCS12052);
|
| iv_rulePrefixedExpCS=rulePrefixedExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_rulePrefixedExpCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePrefixedExpCS12062); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRulePrefixedExpCS"
|
|
|
|
|
| // $ANTLR start "rulePrefixedExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5258:1: rulePrefixedExpCS returns [EObject current=null] : ( ( () ( (lv_ownedOperator_1_0= ruleUnaryOperatorCS ) )+ ( (lv_ownedExpression_2_0= rulePrimaryExpCS ) ) ) | this_PrimaryExpCS_3= rulePrimaryExpCS ) ;
|
| public final EObject rulePrefixedExpCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| EObject lv_ownedOperator_1_0 = null;
|
|
|
| EObject lv_ownedExpression_2_0 = null;
|
|
|
| EObject this_PrimaryExpCS_3 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5261:28: ( ( ( () ( (lv_ownedOperator_1_0= ruleUnaryOperatorCS ) )+ ( (lv_ownedExpression_2_0= rulePrimaryExpCS ) ) ) | this_PrimaryExpCS_3= rulePrimaryExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5262:1: ( ( () ( (lv_ownedOperator_1_0= ruleUnaryOperatorCS ) )+ ( (lv_ownedExpression_2_0= rulePrimaryExpCS ) ) ) | this_PrimaryExpCS_3= rulePrimaryExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5262:1: ( ( () ( (lv_ownedOperator_1_0= ruleUnaryOperatorCS ) )+ ( (lv_ownedExpression_2_0= rulePrimaryExpCS ) ) ) | this_PrimaryExpCS_3= rulePrimaryExpCS )
|
| int alt82=2;
|
| int LA82_0 = input.LA(1);
|
|
|
| if ( ((LA82_0>=46 && LA82_0<=47)) ) {
|
| alt82=1;
|
| }
|
| else if ( ((LA82_0>=RULE_SIMPLE_ID && LA82_0<=RULE_SINGLE_QUOTED_STRING)||(LA82_0>=24 && LA82_0<=34)||(LA82_0>=36 && LA82_0<=41)||(LA82_0>=43 && LA82_0<=45)||(LA82_0>=61 && LA82_0<=74)||(LA82_0>=79 && LA82_0<=82)||LA82_0==86||LA82_0==92) ) {
|
| alt82=2;
|
| }
|
| else {
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5262:2: ( () ( (lv_ownedOperator_1_0= ruleUnaryOperatorCS ) )+ ( (lv_ownedExpression_2_0= rulePrimaryExpCS ) ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5262:2: ( () ( (lv_ownedOperator_1_0= ruleUnaryOperatorCS ) )+ ( (lv_ownedExpression_2_0= rulePrimaryExpCS ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5262:3: () ( (lv_ownedOperator_1_0= ruleUnaryOperatorCS ) )+ ( (lv_ownedExpression_2_0= rulePrimaryExpCS ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5262:3: ()
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5263:2:
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| current = forceCreateModelElement(
|
| grammarAccess.getPrefixedExpCSAccess().getPrefixExpCSAction_0_0(),
|
| current);
|
|
|
| }
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5271:2: ( (lv_ownedOperator_1_0= ruleUnaryOperatorCS ) )+
|
| int cnt81=0;
|
| loop81:
|
| do {
|
| int alt81=2;
|
| int LA81_0 = input.LA(1);
|
|
|
| if ( ((LA81_0>=46 && LA81_0<=47)) ) {
|
| alt81=1;
|
| }
|
|
|
|
|
| switch (alt81) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5272:1: (lv_ownedOperator_1_0= ruleUnaryOperatorCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5272:1: (lv_ownedOperator_1_0= ruleUnaryOperatorCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5273:3: lv_ownedOperator_1_0= ruleUnaryOperatorCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrefixedExpCSAccess().getOwnedOperatorUnaryOperatorCSParserRuleCall_0_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnaryOperatorCS_in_rulePrefixedExpCS12121);
|
| lv_ownedOperator_1_0=ruleUnaryOperatorCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getPrefixedExpCSRule());
|
| }
|
| add(
|
| current,
|
| "ownedOperator",
|
| lv_ownedOperator_1_0,
|
| "UnaryOperatorCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| if ( cnt81 >= 1 ) break loop81;
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| EarlyExitException eee =
|
| new EarlyExitException(81, input);
|
| throw eee;
|
| }
|
| cnt81++;
|
| } while (true);
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5289:3: ( (lv_ownedExpression_2_0= rulePrimaryExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5290:1: (lv_ownedExpression_2_0= rulePrimaryExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5290:1: (lv_ownedExpression_2_0= rulePrimaryExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5291:3: lv_ownedExpression_2_0= rulePrimaryExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrefixedExpCSAccess().getOwnedExpressionPrimaryExpCSParserRuleCall_0_2_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePrimaryExpCS_in_rulePrefixedExpCS12143);
|
| lv_ownedExpression_2_0=rulePrimaryExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getPrefixedExpCSRule());
|
| }
|
| set(
|
| current,
|
| "ownedExpression",
|
| lv_ownedExpression_2_0,
|
| "PrimaryExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5309:2: this_PrimaryExpCS_3= rulePrimaryExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrefixedExpCSAccess().getPrimaryExpCSParserRuleCall_1());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePrimaryExpCS_in_rulePrefixedExpCS12175);
|
| 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 "rulePrefixedExpCS"
|
|
|
|
|
| // $ANTLR start "entryRulePrimaryExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5328: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5329:2: (iv_rulePrimaryExpCS= rulePrimaryExpCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5330:2: iv_rulePrimaryExpCS= rulePrimaryExpCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getPrimaryExpCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePrimaryExpCS_in_entryRulePrimaryExpCS12210);
|
| iv_rulePrimaryExpCS=rulePrimaryExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_rulePrimaryExpCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePrimaryExpCS12220); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRulePrimaryExpCS"
|
|
|
|
|
| // $ANTLR start "rulePrimaryExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5337: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_CollectionLiteralExpCS_5= ruleCollectionLiteralExpCS | this_TypeLiteralExpCS_6= ruleTypeLiteralExpCS | ( () ( (lv_pathName_8_0= rulePathNameCS ) ) ( ( () otherlv_10= '[' ( (lv_firstIndexes_11_0= ruleExpCS ) ) (otherlv_12= ',' ( (lv_firstIndexes_13_0= ruleExpCS ) ) )* otherlv_14= ']' (otherlv_15= '[' ( (lv_secondIndexes_16_0= ruleExpCS ) ) (otherlv_17= ',' ( (lv_secondIndexes_18_0= ruleExpCS ) ) )* otherlv_19= ']' )? ( ( (lv_atPre_20_0= '@' ) ) otherlv_21= 'pre' )? ) | ( () otherlv_23= '{' ( ( ( (lv_ownedParts_24_0= ruleConstructorPartCS ) ) (otherlv_25= ',' ( (lv_ownedParts_26_0= ruleConstructorPartCS ) ) )* ) | ( (lv_value_27_0= ruleStringLiteral ) ) ) otherlv_28= '}' ) | ( ( ( (lv_atPre_29_0= '@' ) ) otherlv_30= 'pre' )? ( () otherlv_32= '(' ( ( (lv_argument_33_0= ruleNavigatingArgCS ) ) ( (lv_argument_34_0= ruleNavigatingCommaArgCS ) )* ( ( (lv_argument_35_0= ruleNavigatingSemiArgCS ) ) ( (lv_argument_36_0= ruleNavigatingCommaArgCS ) )* )? ( ( (lv_argument_37_0= ruleNavigatingBarArgCS ) ) ( (lv_argument_38_0= ruleNavigatingCommaArgCS ) )* )? )? otherlv_39= ')' )? ) ) ) ) ;
|
| public final EObject rulePrimaryExpCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_10=null;
|
| Token otherlv_12=null;
|
| Token otherlv_14=null;
|
| Token otherlv_15=null;
|
| Token otherlv_17=null;
|
| Token otherlv_19=null;
|
| Token lv_atPre_20_0=null;
|
| Token otherlv_21=null;
|
| Token otherlv_23=null;
|
| Token otherlv_25=null;
|
| Token otherlv_28=null;
|
| Token lv_atPre_29_0=null;
|
| Token otherlv_30=null;
|
| Token otherlv_32=null;
|
| Token otherlv_39=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_CollectionLiteralExpCS_5 = null;
|
|
|
| EObject this_TypeLiteralExpCS_6 = null;
|
|
|
| EObject lv_pathName_8_0 = null;
|
|
|
| EObject lv_firstIndexes_11_0 = null;
|
|
|
| EObject lv_firstIndexes_13_0 = null;
|
|
|
| EObject lv_secondIndexes_16_0 = null;
|
|
|
| EObject lv_secondIndexes_18_0 = null;
|
|
|
| EObject lv_ownedParts_24_0 = null;
|
|
|
| EObject lv_ownedParts_26_0 = null;
|
|
|
| AntlrDatatypeRuleToken lv_value_27_0 = null;
|
|
|
| EObject lv_argument_33_0 = null;
|
|
|
| EObject lv_argument_34_0 = null;
|
|
|
| EObject lv_argument_35_0 = null;
|
|
|
| EObject lv_argument_36_0 = null;
|
|
|
| EObject lv_argument_37_0 = null;
|
|
|
| EObject lv_argument_38_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5340:28: ( (this_NestedExpCS_0= ruleNestedExpCS | this_IfExpCS_1= ruleIfExpCS | this_SelfExpCS_2= ruleSelfExpCS | this_PrimitiveLiteralExpCS_3= rulePrimitiveLiteralExpCS | this_TupleLiteralExpCS_4= ruleTupleLiteralExpCS | this_CollectionLiteralExpCS_5= ruleCollectionLiteralExpCS | this_TypeLiteralExpCS_6= ruleTypeLiteralExpCS | ( () ( (lv_pathName_8_0= rulePathNameCS ) ) ( ( () otherlv_10= '[' ( (lv_firstIndexes_11_0= ruleExpCS ) ) (otherlv_12= ',' ( (lv_firstIndexes_13_0= ruleExpCS ) ) )* otherlv_14= ']' (otherlv_15= '[' ( (lv_secondIndexes_16_0= ruleExpCS ) ) (otherlv_17= ',' ( (lv_secondIndexes_18_0= ruleExpCS ) ) )* otherlv_19= ']' )? ( ( (lv_atPre_20_0= '@' ) ) otherlv_21= 'pre' )? ) | ( () otherlv_23= '{' ( ( ( (lv_ownedParts_24_0= ruleConstructorPartCS ) ) (otherlv_25= ',' ( (lv_ownedParts_26_0= ruleConstructorPartCS ) ) )* ) | ( (lv_value_27_0= ruleStringLiteral ) ) ) otherlv_28= '}' ) | ( ( ( (lv_atPre_29_0= '@' ) ) otherlv_30= 'pre' )? ( () otherlv_32= '(' ( ( (lv_argument_33_0= ruleNavigatingArgCS ) ) ( (lv_argument_34_0= ruleNavigatingCommaArgCS ) )* ( ( (lv_argument_35_0= ruleNavigatingSemiArgCS ) ) ( (lv_argument_36_0= ruleNavigatingCommaArgCS ) )* )? ( ( (lv_argument_37_0= ruleNavigatingBarArgCS ) ) ( (lv_argument_38_0= ruleNavigatingCommaArgCS ) )* )? )? otherlv_39= ')' )? ) ) ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5341:1: (this_NestedExpCS_0= ruleNestedExpCS | this_IfExpCS_1= ruleIfExpCS | this_SelfExpCS_2= ruleSelfExpCS | this_PrimitiveLiteralExpCS_3= rulePrimitiveLiteralExpCS | this_TupleLiteralExpCS_4= ruleTupleLiteralExpCS | this_CollectionLiteralExpCS_5= ruleCollectionLiteralExpCS | this_TypeLiteralExpCS_6= ruleTypeLiteralExpCS | ( () ( (lv_pathName_8_0= rulePathNameCS ) ) ( ( () otherlv_10= '[' ( (lv_firstIndexes_11_0= ruleExpCS ) ) (otherlv_12= ',' ( (lv_firstIndexes_13_0= ruleExpCS ) ) )* otherlv_14= ']' (otherlv_15= '[' ( (lv_secondIndexes_16_0= ruleExpCS ) ) (otherlv_17= ',' ( (lv_secondIndexes_18_0= ruleExpCS ) ) )* otherlv_19= ']' )? ( ( (lv_atPre_20_0= '@' ) ) otherlv_21= 'pre' )? ) | ( () otherlv_23= '{' ( ( ( (lv_ownedParts_24_0= ruleConstructorPartCS ) ) (otherlv_25= ',' ( (lv_ownedParts_26_0= ruleConstructorPartCS ) ) )* ) | ( (lv_value_27_0= ruleStringLiteral ) ) ) otherlv_28= '}' ) | ( ( ( (lv_atPre_29_0= '@' ) ) otherlv_30= 'pre' )? ( () otherlv_32= '(' ( ( (lv_argument_33_0= ruleNavigatingArgCS ) ) ( (lv_argument_34_0= ruleNavigatingCommaArgCS ) )* ( ( (lv_argument_35_0= ruleNavigatingSemiArgCS ) ) ( (lv_argument_36_0= ruleNavigatingCommaArgCS ) )* )? ( ( (lv_argument_37_0= ruleNavigatingBarArgCS ) ) ( (lv_argument_38_0= ruleNavigatingCommaArgCS ) )* )? )? otherlv_39= ')' )? ) ) ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5341:1: (this_NestedExpCS_0= ruleNestedExpCS | this_IfExpCS_1= ruleIfExpCS | this_SelfExpCS_2= ruleSelfExpCS | this_PrimitiveLiteralExpCS_3= rulePrimitiveLiteralExpCS | this_TupleLiteralExpCS_4= ruleTupleLiteralExpCS | this_CollectionLiteralExpCS_5= ruleCollectionLiteralExpCS | this_TypeLiteralExpCS_6= ruleTypeLiteralExpCS | ( () ( (lv_pathName_8_0= rulePathNameCS ) ) ( ( () otherlv_10= '[' ( (lv_firstIndexes_11_0= ruleExpCS ) ) (otherlv_12= ',' ( (lv_firstIndexes_13_0= ruleExpCS ) ) )* otherlv_14= ']' (otherlv_15= '[' ( (lv_secondIndexes_16_0= ruleExpCS ) ) (otherlv_17= ',' ( (lv_secondIndexes_18_0= ruleExpCS ) ) )* otherlv_19= ']' )? ( ( (lv_atPre_20_0= '@' ) ) otherlv_21= 'pre' )? ) | ( () otherlv_23= '{' ( ( ( (lv_ownedParts_24_0= ruleConstructorPartCS ) ) (otherlv_25= ',' ( (lv_ownedParts_26_0= ruleConstructorPartCS ) ) )* ) | ( (lv_value_27_0= ruleStringLiteral ) ) ) otherlv_28= '}' ) | ( ( ( (lv_atPre_29_0= '@' ) ) otherlv_30= 'pre' )? ( () otherlv_32= '(' ( ( (lv_argument_33_0= ruleNavigatingArgCS ) ) ( (lv_argument_34_0= ruleNavigatingCommaArgCS ) )* ( ( (lv_argument_35_0= ruleNavigatingSemiArgCS ) ) ( (lv_argument_36_0= ruleNavigatingCommaArgCS ) )* )? ( ( (lv_argument_37_0= ruleNavigatingBarArgCS ) ) ( (lv_argument_38_0= ruleNavigatingCommaArgCS ) )* )? )? otherlv_39= ')' )? ) ) ) )
|
| int alt98=8;
|
| alt98 = dfa98.predict(input);
|
| switch (alt98) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5342:2: this_NestedExpCS_0= ruleNestedExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getNestedExpCSParserRuleCall_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNestedExpCS_in_rulePrimaryExpCS12270);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5355:2: this_IfExpCS_1= ruleIfExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getIfExpCSParserRuleCall_1());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleIfExpCS_in_rulePrimaryExpCS12300);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5368:2: this_SelfExpCS_2= ruleSelfExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getSelfExpCSParserRuleCall_2());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleSelfExpCS_in_rulePrimaryExpCS12330);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5381:2: this_PrimitiveLiteralExpCS_3= rulePrimitiveLiteralExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getPrimitiveLiteralExpCSParserRuleCall_3());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePrimitiveLiteralExpCS_in_rulePrimaryExpCS12360);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5394:2: this_TupleLiteralExpCS_4= ruleTupleLiteralExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getTupleLiteralExpCSParserRuleCall_4());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTupleLiteralExpCS_in_rulePrimaryExpCS12390);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5407:2: this_CollectionLiteralExpCS_5= ruleCollectionLiteralExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getCollectionLiteralExpCSParserRuleCall_5());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleCollectionLiteralExpCS_in_rulePrimaryExpCS12420);
|
| this_CollectionLiteralExpCS_5=ruleCollectionLiteralExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current = this_CollectionLiteralExpCS_5;
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 7 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5420:2: this_TypeLiteralExpCS_6= ruleTypeLiteralExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getTypeLiteralExpCSParserRuleCall_6());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralExpCS_in_rulePrimaryExpCS12450);
|
| this_TypeLiteralExpCS_6=ruleTypeLiteralExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| current = this_TypeLiteralExpCS_6;
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
| break;
|
| case 8 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5432:6: ( () ( (lv_pathName_8_0= rulePathNameCS ) ) ( ( () otherlv_10= '[' ( (lv_firstIndexes_11_0= ruleExpCS ) ) (otherlv_12= ',' ( (lv_firstIndexes_13_0= ruleExpCS ) ) )* otherlv_14= ']' (otherlv_15= '[' ( (lv_secondIndexes_16_0= ruleExpCS ) ) (otherlv_17= ',' ( (lv_secondIndexes_18_0= ruleExpCS ) ) )* otherlv_19= ']' )? ( ( (lv_atPre_20_0= '@' ) ) otherlv_21= 'pre' )? ) | ( () otherlv_23= '{' ( ( ( (lv_ownedParts_24_0= ruleConstructorPartCS ) ) (otherlv_25= ',' ( (lv_ownedParts_26_0= ruleConstructorPartCS ) ) )* ) | ( (lv_value_27_0= ruleStringLiteral ) ) ) otherlv_28= '}' ) | ( ( ( (lv_atPre_29_0= '@' ) ) otherlv_30= 'pre' )? ( () otherlv_32= '(' ( ( (lv_argument_33_0= ruleNavigatingArgCS ) ) ( (lv_argument_34_0= ruleNavigatingCommaArgCS ) )* ( ( (lv_argument_35_0= ruleNavigatingSemiArgCS ) ) ( (lv_argument_36_0= ruleNavigatingCommaArgCS ) )* )? ( ( (lv_argument_37_0= ruleNavigatingBarArgCS ) ) ( (lv_argument_38_0= ruleNavigatingCommaArgCS ) )* )? )? otherlv_39= ')' )? ) ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5432:6: ( () ( (lv_pathName_8_0= rulePathNameCS ) ) ( ( () otherlv_10= '[' ( (lv_firstIndexes_11_0= ruleExpCS ) ) (otherlv_12= ',' ( (lv_firstIndexes_13_0= ruleExpCS ) ) )* otherlv_14= ']' (otherlv_15= '[' ( (lv_secondIndexes_16_0= ruleExpCS ) ) (otherlv_17= ',' ( (lv_secondIndexes_18_0= ruleExpCS ) ) )* otherlv_19= ']' )? ( ( (lv_atPre_20_0= '@' ) ) otherlv_21= 'pre' )? ) | ( () otherlv_23= '{' ( ( ( (lv_ownedParts_24_0= ruleConstructorPartCS ) ) (otherlv_25= ',' ( (lv_ownedParts_26_0= ruleConstructorPartCS ) ) )* ) | ( (lv_value_27_0= ruleStringLiteral ) ) ) otherlv_28= '}' ) | ( ( ( (lv_atPre_29_0= '@' ) ) otherlv_30= 'pre' )? ( () otherlv_32= '(' ( ( (lv_argument_33_0= ruleNavigatingArgCS ) ) ( (lv_argument_34_0= ruleNavigatingCommaArgCS ) )* ( ( (lv_argument_35_0= ruleNavigatingSemiArgCS ) ) ( (lv_argument_36_0= ruleNavigatingCommaArgCS ) )* )? ( ( (lv_argument_37_0= ruleNavigatingBarArgCS ) ) ( (lv_argument_38_0= ruleNavigatingCommaArgCS ) )* )? )? otherlv_39= ')' )? ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5432:7: () ( (lv_pathName_8_0= rulePathNameCS ) ) ( ( () otherlv_10= '[' ( (lv_firstIndexes_11_0= ruleExpCS ) ) (otherlv_12= ',' ( (lv_firstIndexes_13_0= ruleExpCS ) ) )* otherlv_14= ']' (otherlv_15= '[' ( (lv_secondIndexes_16_0= ruleExpCS ) ) (otherlv_17= ',' ( (lv_secondIndexes_18_0= ruleExpCS ) ) )* otherlv_19= ']' )? ( ( (lv_atPre_20_0= '@' ) ) otherlv_21= 'pre' )? ) | ( () otherlv_23= '{' ( ( ( (lv_ownedParts_24_0= ruleConstructorPartCS ) ) (otherlv_25= ',' ( (lv_ownedParts_26_0= ruleConstructorPartCS ) ) )* ) | ( (lv_value_27_0= ruleStringLiteral ) ) ) otherlv_28= '}' ) | ( ( ( (lv_atPre_29_0= '@' ) ) otherlv_30= 'pre' )? ( () otherlv_32= '(' ( ( (lv_argument_33_0= ruleNavigatingArgCS ) ) ( (lv_argument_34_0= ruleNavigatingCommaArgCS ) )* ( ( (lv_argument_35_0= ruleNavigatingSemiArgCS ) ) ( (lv_argument_36_0= ruleNavigatingCommaArgCS ) )* )? ( ( (lv_argument_37_0= ruleNavigatingBarArgCS ) ) ( (lv_argument_38_0= ruleNavigatingCommaArgCS ) )* )? )? otherlv_39= ')' )? ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5432:7: ()
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5433:2:
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| current = forceCreateModelElement(
|
| grammarAccess.getPrimaryExpCSAccess().getNameExpCSAction_7_0(),
|
| current);
|
|
|
| }
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5441:2: ( (lv_pathName_8_0= rulePathNameCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5442:1: (lv_pathName_8_0= rulePathNameCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5442:1: (lv_pathName_8_0= rulePathNameCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5443:3: lv_pathName_8_0= rulePathNameCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getPathNamePathNameCSParserRuleCall_7_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_rulePathNameCS_in_rulePrimaryExpCS12489);
|
| lv_pathName_8_0=rulePathNameCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getPrimaryExpCSRule());
|
| }
|
| set(
|
| current,
|
| "pathName",
|
| lv_pathName_8_0,
|
| "PathNameCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5459:2: ( ( () otherlv_10= '[' ( (lv_firstIndexes_11_0= ruleExpCS ) ) (otherlv_12= ',' ( (lv_firstIndexes_13_0= ruleExpCS ) ) )* otherlv_14= ']' (otherlv_15= '[' ( (lv_secondIndexes_16_0= ruleExpCS ) ) (otherlv_17= ',' ( (lv_secondIndexes_18_0= ruleExpCS ) ) )* otherlv_19= ']' )? ( ( (lv_atPre_20_0= '@' ) ) otherlv_21= 'pre' )? ) | ( () otherlv_23= '{' ( ( ( (lv_ownedParts_24_0= ruleConstructorPartCS ) ) (otherlv_25= ',' ( (lv_ownedParts_26_0= ruleConstructorPartCS ) ) )* ) | ( (lv_value_27_0= ruleStringLiteral ) ) ) otherlv_28= '}' ) | ( ( ( (lv_atPre_29_0= '@' ) ) otherlv_30= 'pre' )? ( () otherlv_32= '(' ( ( (lv_argument_33_0= ruleNavigatingArgCS ) ) ( (lv_argument_34_0= ruleNavigatingCommaArgCS ) )* ( ( (lv_argument_35_0= ruleNavigatingSemiArgCS ) ) ( (lv_argument_36_0= ruleNavigatingCommaArgCS ) )* )? ( ( (lv_argument_37_0= ruleNavigatingBarArgCS ) ) ( (lv_argument_38_0= ruleNavigatingCommaArgCS ) )* )? )? otherlv_39= ')' )? ) )
|
| int alt97=3;
|
| switch ( input.LA(1) ) {
|
| case 76:
|
| {
|
| alt97=1;
|
| }
|
| break;
|
| case 17:
|
| {
|
| alt97=2;
|
| }
|
| break;
|
| case EOF:
|
| case 16:
|
| case 18:
|
| case 21:
|
| case 22:
|
| case 23:
|
| case 29:
|
| case 34:
|
| case 35:
|
| case 43:
|
| case 46:
|
| case 48:
|
| case 49:
|
| case 50:
|
| case 51:
|
| case 52:
|
| case 53:
|
| case 54:
|
| case 55:
|
| case 56:
|
| case 57:
|
| case 58:
|
| case 59:
|
| case 60:
|
| case 75:
|
| case 77:
|
| case 83:
|
| case 85:
|
| case 87:
|
| case 88:
|
| case 89:
|
| case 91:
|
| {
|
| alt97=3;
|
| }
|
| break;
|
| default:
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| NoViableAltException nvae =
|
| new NoViableAltException("", 97, 0, input);
|
|
|
| throw nvae;
|
| }
|
|
|
| switch (alt97) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5459:3: ( () otherlv_10= '[' ( (lv_firstIndexes_11_0= ruleExpCS ) ) (otherlv_12= ',' ( (lv_firstIndexes_13_0= ruleExpCS ) ) )* otherlv_14= ']' (otherlv_15= '[' ( (lv_secondIndexes_16_0= ruleExpCS ) ) (otherlv_17= ',' ( (lv_secondIndexes_18_0= ruleExpCS ) ) )* otherlv_19= ']' )? ( ( (lv_atPre_20_0= '@' ) ) otherlv_21= 'pre' )? )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5459:3: ( () otherlv_10= '[' ( (lv_firstIndexes_11_0= ruleExpCS ) ) (otherlv_12= ',' ( (lv_firstIndexes_13_0= ruleExpCS ) ) )* otherlv_14= ']' (otherlv_15= '[' ( (lv_secondIndexes_16_0= ruleExpCS ) ) (otherlv_17= ',' ( (lv_secondIndexes_18_0= ruleExpCS ) ) )* otherlv_19= ']' )? ( ( (lv_atPre_20_0= '@' ) ) otherlv_21= 'pre' )? )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5459:4: () otherlv_10= '[' ( (lv_firstIndexes_11_0= ruleExpCS ) ) (otherlv_12= ',' ( (lv_firstIndexes_13_0= ruleExpCS ) ) )* otherlv_14= ']' (otherlv_15= '[' ( (lv_secondIndexes_16_0= ruleExpCS ) ) (otherlv_17= ',' ( (lv_secondIndexes_18_0= ruleExpCS ) ) )* otherlv_19= ']' )? ( ( (lv_atPre_20_0= '@' ) ) otherlv_21= 'pre' )?
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5459:4: ()
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5460:2:
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| current = forceCreateModelElementAndSet(
|
| grammarAccess.getPrimaryExpCSAccess().getIndexExpCSNameExpAction_7_2_0_0(),
|
| current);
|
|
|
| }
|
|
|
| }
|
|
|
| otherlv_10=(Token)match(input,76,FollowSets000.FOLLOW_76_in_rulePrimaryExpCS12515); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_10, grammarAccess.getPrimaryExpCSAccess().getLeftSquareBracketKeyword_7_2_0_1());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5472:1: ( (lv_firstIndexes_11_0= ruleExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5473:1: (lv_firstIndexes_11_0= ruleExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5473:1: (lv_firstIndexes_11_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5474:3: lv_firstIndexes_11_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getFirstIndexesExpCSParserRuleCall_7_2_0_2_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_rulePrimaryExpCS12536);
|
| lv_firstIndexes_11_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getPrimaryExpCSRule());
|
| }
|
| add(
|
| current,
|
| "firstIndexes",
|
| lv_firstIndexes_11_0,
|
| "ExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5490:2: (otherlv_12= ',' ( (lv_firstIndexes_13_0= ruleExpCS ) ) )*
|
| loop83:
|
| do {
|
| int alt83=2;
|
| int LA83_0 = input.LA(1);
|
|
|
| if ( (LA83_0==18) ) {
|
| alt83=1;
|
| }
|
|
|
|
|
| switch (alt83) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5490:4: otherlv_12= ',' ( (lv_firstIndexes_13_0= ruleExpCS ) )
|
| {
|
| otherlv_12=(Token)match(input,18,FollowSets000.FOLLOW_18_in_rulePrimaryExpCS12549); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_12, grammarAccess.getPrimaryExpCSAccess().getCommaKeyword_7_2_0_3_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5494:1: ( (lv_firstIndexes_13_0= ruleExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5495:1: (lv_firstIndexes_13_0= ruleExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5495:1: (lv_firstIndexes_13_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5496:3: lv_firstIndexes_13_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getFirstIndexesExpCSParserRuleCall_7_2_0_3_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_rulePrimaryExpCS12570);
|
| lv_firstIndexes_13_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getPrimaryExpCSRule());
|
| }
|
| add(
|
| current,
|
| "firstIndexes",
|
| lv_firstIndexes_13_0,
|
| "ExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop83;
|
| }
|
| } while (true);
|
|
|
| otherlv_14=(Token)match(input,77,FollowSets000.FOLLOW_77_in_rulePrimaryExpCS12584); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_14, grammarAccess.getPrimaryExpCSAccess().getRightSquareBracketKeyword_7_2_0_4());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5516:1: (otherlv_15= '[' ( (lv_secondIndexes_16_0= ruleExpCS ) ) (otherlv_17= ',' ( (lv_secondIndexes_18_0= ruleExpCS ) ) )* otherlv_19= ']' )?
|
| int alt85=2;
|
| int LA85_0 = input.LA(1);
|
|
|
| if ( (LA85_0==76) ) {
|
| alt85=1;
|
| }
|
| switch (alt85) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5516:3: otherlv_15= '[' ( (lv_secondIndexes_16_0= ruleExpCS ) ) (otherlv_17= ',' ( (lv_secondIndexes_18_0= ruleExpCS ) ) )* otherlv_19= ']'
|
| {
|
| otherlv_15=(Token)match(input,76,FollowSets000.FOLLOW_76_in_rulePrimaryExpCS12597); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_15, grammarAccess.getPrimaryExpCSAccess().getLeftSquareBracketKeyword_7_2_0_5_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5520:1: ( (lv_secondIndexes_16_0= ruleExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5521:1: (lv_secondIndexes_16_0= ruleExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5521:1: (lv_secondIndexes_16_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5522:3: lv_secondIndexes_16_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getSecondIndexesExpCSParserRuleCall_7_2_0_5_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_rulePrimaryExpCS12618);
|
| lv_secondIndexes_16_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getPrimaryExpCSRule());
|
| }
|
| add(
|
| current,
|
| "secondIndexes",
|
| lv_secondIndexes_16_0,
|
| "ExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5538:2: (otherlv_17= ',' ( (lv_secondIndexes_18_0= ruleExpCS ) ) )*
|
| loop84:
|
| do {
|
| int alt84=2;
|
| int LA84_0 = input.LA(1);
|
|
|
| if ( (LA84_0==18) ) {
|
| alt84=1;
|
| }
|
|
|
|
|
| switch (alt84) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5538:4: otherlv_17= ',' ( (lv_secondIndexes_18_0= ruleExpCS ) )
|
| {
|
| otherlv_17=(Token)match(input,18,FollowSets000.FOLLOW_18_in_rulePrimaryExpCS12631); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_17, grammarAccess.getPrimaryExpCSAccess().getCommaKeyword_7_2_0_5_2_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5542:1: ( (lv_secondIndexes_18_0= ruleExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5543:1: (lv_secondIndexes_18_0= ruleExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5543:1: (lv_secondIndexes_18_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5544:3: lv_secondIndexes_18_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getSecondIndexesExpCSParserRuleCall_7_2_0_5_2_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_rulePrimaryExpCS12652);
|
| lv_secondIndexes_18_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getPrimaryExpCSRule());
|
| }
|
| add(
|
| current,
|
| "secondIndexes",
|
| lv_secondIndexes_18_0,
|
| "ExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop84;
|
| }
|
| } while (true);
|
|
|
| otherlv_19=(Token)match(input,77,FollowSets000.FOLLOW_77_in_rulePrimaryExpCS12666); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_19, grammarAccess.getPrimaryExpCSAccess().getRightSquareBracketKeyword_7_2_0_5_3());
|
|
|
| }
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5564:3: ( ( (lv_atPre_20_0= '@' ) ) otherlv_21= 'pre' )?
|
| int alt86=2;
|
| int LA86_0 = input.LA(1);
|
|
|
| if ( (LA86_0==83) ) {
|
| alt86=1;
|
| }
|
| switch (alt86) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5564:4: ( (lv_atPre_20_0= '@' ) ) otherlv_21= 'pre'
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5564:4: ( (lv_atPre_20_0= '@' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5565:1: (lv_atPre_20_0= '@' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5565:1: (lv_atPre_20_0= '@' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5566:3: lv_atPre_20_0= '@'
|
| {
|
| lv_atPre_20_0=(Token)match(input,83,FollowSets000.FOLLOW_83_in_rulePrimaryExpCS12687); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_atPre_20_0, grammarAccess.getPrimaryExpCSAccess().getAtPreCommercialAtKeyword_7_2_0_6_0_0());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getPrimaryExpCSRule());
|
| }
|
| setWithLastConsumed(current, "atPre", true, "@");
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_21=(Token)match(input,84,FollowSets000.FOLLOW_84_in_rulePrimaryExpCS12712); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_21, grammarAccess.getPrimaryExpCSAccess().getPreKeyword_7_2_0_6_1());
|
|
|
| }
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5584:6: ( () otherlv_23= '{' ( ( ( (lv_ownedParts_24_0= ruleConstructorPartCS ) ) (otherlv_25= ',' ( (lv_ownedParts_26_0= ruleConstructorPartCS ) ) )* ) | ( (lv_value_27_0= ruleStringLiteral ) ) ) otherlv_28= '}' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5584:6: ( () otherlv_23= '{' ( ( ( (lv_ownedParts_24_0= ruleConstructorPartCS ) ) (otherlv_25= ',' ( (lv_ownedParts_26_0= ruleConstructorPartCS ) ) )* ) | ( (lv_value_27_0= ruleStringLiteral ) ) ) otherlv_28= '}' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5584:7: () otherlv_23= '{' ( ( ( (lv_ownedParts_24_0= ruleConstructorPartCS ) ) (otherlv_25= ',' ( (lv_ownedParts_26_0= ruleConstructorPartCS ) ) )* ) | ( (lv_value_27_0= ruleStringLiteral ) ) ) otherlv_28= '}'
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5584:7: ()
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5585:2:
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| current = forceCreateModelElementAndSet(
|
| grammarAccess.getPrimaryExpCSAccess().getConstructorExpCSNameExpAction_7_2_1_0(),
|
| current);
|
|
|
| }
|
|
|
| }
|
|
|
| otherlv_23=(Token)match(input,17,FollowSets000.FOLLOW_17_in_rulePrimaryExpCS12746); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_23, grammarAccess.getPrimaryExpCSAccess().getLeftCurlyBracketKeyword_7_2_1_1());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5597:1: ( ( ( (lv_ownedParts_24_0= ruleConstructorPartCS ) ) (otherlv_25= ',' ( (lv_ownedParts_26_0= ruleConstructorPartCS ) ) )* ) | ( (lv_value_27_0= ruleStringLiteral ) ) )
|
| int alt88=2;
|
| int LA88_0 = input.LA(1);
|
|
|
| if ( ((LA88_0>=RULE_SIMPLE_ID && LA88_0<=RULE_ESCAPED_ID)||(LA88_0>=24 && LA88_0<=33)||(LA88_0>=36 && LA88_0<=41)||(LA88_0>=44 && LA88_0<=45)) ) {
|
| alt88=1;
|
| }
|
| else if ( (LA88_0==RULE_SINGLE_QUOTED_STRING) ) {
|
| alt88=2;
|
| }
|
| else {
|
| if (state.backtracking>0) {state.failed=true; return current;}
|
| NoViableAltException nvae =
|
| new NoViableAltException("", 88, 0, input);
|
|
|
| throw nvae;
|
| }
|
| switch (alt88) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5597:2: ( ( (lv_ownedParts_24_0= ruleConstructorPartCS ) ) (otherlv_25= ',' ( (lv_ownedParts_26_0= ruleConstructorPartCS ) ) )* )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5597:2: ( ( (lv_ownedParts_24_0= ruleConstructorPartCS ) ) (otherlv_25= ',' ( (lv_ownedParts_26_0= ruleConstructorPartCS ) ) )* )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5597:3: ( (lv_ownedParts_24_0= ruleConstructorPartCS ) ) (otherlv_25= ',' ( (lv_ownedParts_26_0= ruleConstructorPartCS ) ) )*
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5597:3: ( (lv_ownedParts_24_0= ruleConstructorPartCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5598:1: (lv_ownedParts_24_0= ruleConstructorPartCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5598:1: (lv_ownedParts_24_0= ruleConstructorPartCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5599:3: lv_ownedParts_24_0= ruleConstructorPartCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getOwnedPartsConstructorPartCSParserRuleCall_7_2_1_2_0_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleConstructorPartCS_in_rulePrimaryExpCS12769);
|
| lv_ownedParts_24_0=ruleConstructorPartCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getPrimaryExpCSRule());
|
| }
|
| add(
|
| current,
|
| "ownedParts",
|
| lv_ownedParts_24_0,
|
| "ConstructorPartCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5615:2: (otherlv_25= ',' ( (lv_ownedParts_26_0= ruleConstructorPartCS ) ) )*
|
| loop87:
|
| do {
|
| int alt87=2;
|
| int LA87_0 = input.LA(1);
|
|
|
| if ( (LA87_0==18) ) {
|
| alt87=1;
|
| }
|
|
|
|
|
| switch (alt87) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5615:4: otherlv_25= ',' ( (lv_ownedParts_26_0= ruleConstructorPartCS ) )
|
| {
|
| otherlv_25=(Token)match(input,18,FollowSets000.FOLLOW_18_in_rulePrimaryExpCS12782); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_25, grammarAccess.getPrimaryExpCSAccess().getCommaKeyword_7_2_1_2_0_1_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5619:1: ( (lv_ownedParts_26_0= ruleConstructorPartCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5620:1: (lv_ownedParts_26_0= ruleConstructorPartCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5620:1: (lv_ownedParts_26_0= ruleConstructorPartCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5621:3: lv_ownedParts_26_0= ruleConstructorPartCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getOwnedPartsConstructorPartCSParserRuleCall_7_2_1_2_0_1_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleConstructorPartCS_in_rulePrimaryExpCS12803);
|
| lv_ownedParts_26_0=ruleConstructorPartCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getPrimaryExpCSRule());
|
| }
|
| add(
|
| current,
|
| "ownedParts",
|
| lv_ownedParts_26_0,
|
| "ConstructorPartCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop87;
|
| }
|
| } while (true);
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
| case 2 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5638:6: ( (lv_value_27_0= ruleStringLiteral ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5638:6: ( (lv_value_27_0= ruleStringLiteral ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5639:1: (lv_value_27_0= ruleStringLiteral )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5639:1: (lv_value_27_0= ruleStringLiteral )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5640:3: lv_value_27_0= ruleStringLiteral
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getValueStringLiteralParserRuleCall_7_2_1_2_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleStringLiteral_in_rulePrimaryExpCS12833);
|
| lv_value_27_0=ruleStringLiteral();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getPrimaryExpCSRule());
|
| }
|
| set(
|
| current,
|
| "value",
|
| lv_value_27_0,
|
| "StringLiteral");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| otherlv_28=(Token)match(input,21,FollowSets000.FOLLOW_21_in_rulePrimaryExpCS12846); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_28, grammarAccess.getPrimaryExpCSAccess().getRightCurlyBracketKeyword_7_2_1_3());
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
| case 3 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5661:6: ( ( ( (lv_atPre_29_0= '@' ) ) otherlv_30= 'pre' )? ( () otherlv_32= '(' ( ( (lv_argument_33_0= ruleNavigatingArgCS ) ) ( (lv_argument_34_0= ruleNavigatingCommaArgCS ) )* ( ( (lv_argument_35_0= ruleNavigatingSemiArgCS ) ) ( (lv_argument_36_0= ruleNavigatingCommaArgCS ) )* )? ( ( (lv_argument_37_0= ruleNavigatingBarArgCS ) ) ( (lv_argument_38_0= ruleNavigatingCommaArgCS ) )* )? )? otherlv_39= ')' )? )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5661:6: ( ( ( (lv_atPre_29_0= '@' ) ) otherlv_30= 'pre' )? ( () otherlv_32= '(' ( ( (lv_argument_33_0= ruleNavigatingArgCS ) ) ( (lv_argument_34_0= ruleNavigatingCommaArgCS ) )* ( ( (lv_argument_35_0= ruleNavigatingSemiArgCS ) ) ( (lv_argument_36_0= ruleNavigatingCommaArgCS ) )* )? ( ( (lv_argument_37_0= ruleNavigatingBarArgCS ) ) ( (lv_argument_38_0= ruleNavigatingCommaArgCS ) )* )? )? otherlv_39= ')' )? )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5661:7: ( ( (lv_atPre_29_0= '@' ) ) otherlv_30= 'pre' )? ( () otherlv_32= '(' ( ( (lv_argument_33_0= ruleNavigatingArgCS ) ) ( (lv_argument_34_0= ruleNavigatingCommaArgCS ) )* ( ( (lv_argument_35_0= ruleNavigatingSemiArgCS ) ) ( (lv_argument_36_0= ruleNavigatingCommaArgCS ) )* )? ( ( (lv_argument_37_0= ruleNavigatingBarArgCS ) ) ( (lv_argument_38_0= ruleNavigatingCommaArgCS ) )* )? )? otherlv_39= ')' )?
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5661:7: ( ( (lv_atPre_29_0= '@' ) ) otherlv_30= 'pre' )?
|
| int alt89=2;
|
| int LA89_0 = input.LA(1);
|
|
|
| if ( (LA89_0==83) ) {
|
| alt89=1;
|
| }
|
| switch (alt89) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5661:8: ( (lv_atPre_29_0= '@' ) ) otherlv_30= 'pre'
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5661:8: ( (lv_atPre_29_0= '@' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5662:1: (lv_atPre_29_0= '@' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5662:1: (lv_atPre_29_0= '@' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5663:3: lv_atPre_29_0= '@'
|
| {
|
| lv_atPre_29_0=(Token)match(input,83,FollowSets000.FOLLOW_83_in_rulePrimaryExpCS12873); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(lv_atPre_29_0, grammarAccess.getPrimaryExpCSAccess().getAtPreCommercialAtKeyword_7_2_2_0_0_0());
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElement(grammarAccess.getPrimaryExpCSRule());
|
| }
|
| setWithLastConsumed(current, "atPre", true, "@");
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_30=(Token)match(input,84,FollowSets000.FOLLOW_84_in_rulePrimaryExpCS12898); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_30, grammarAccess.getPrimaryExpCSAccess().getPreKeyword_7_2_2_0_1());
|
|
|
| }
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5680:3: ( () otherlv_32= '(' ( ( (lv_argument_33_0= ruleNavigatingArgCS ) ) ( (lv_argument_34_0= ruleNavigatingCommaArgCS ) )* ( ( (lv_argument_35_0= ruleNavigatingSemiArgCS ) ) ( (lv_argument_36_0= ruleNavigatingCommaArgCS ) )* )? ( ( (lv_argument_37_0= ruleNavigatingBarArgCS ) ) ( (lv_argument_38_0= ruleNavigatingCommaArgCS ) )* )? )? otherlv_39= ')' )?
|
| int alt96=2;
|
| int LA96_0 = input.LA(1);
|
|
|
| if ( (LA96_0==34) ) {
|
| alt96=1;
|
| }
|
| switch (alt96) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5680:4: () otherlv_32= '(' ( ( (lv_argument_33_0= ruleNavigatingArgCS ) ) ( (lv_argument_34_0= ruleNavigatingCommaArgCS ) )* ( ( (lv_argument_35_0= ruleNavigatingSemiArgCS ) ) ( (lv_argument_36_0= ruleNavigatingCommaArgCS ) )* )? ( ( (lv_argument_37_0= ruleNavigatingBarArgCS ) ) ( (lv_argument_38_0= ruleNavigatingCommaArgCS ) )* )? )? otherlv_39= ')'
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5680:4: ()
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5681:2:
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| current = forceCreateModelElementAndSet(
|
| grammarAccess.getPrimaryExpCSAccess().getInvocationExpCSNameExpAction_7_2_2_1_0(),
|
| current);
|
|
|
| }
|
|
|
| }
|
|
|
| otherlv_32=(Token)match(input,34,FollowSets000.FOLLOW_34_in_rulePrimaryExpCS12925); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_32, grammarAccess.getPrimaryExpCSAccess().getLeftParenthesisKeyword_7_2_2_1_1());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5693:1: ( ( (lv_argument_33_0= ruleNavigatingArgCS ) ) ( (lv_argument_34_0= ruleNavigatingCommaArgCS ) )* ( ( (lv_argument_35_0= ruleNavigatingSemiArgCS ) ) ( (lv_argument_36_0= ruleNavigatingCommaArgCS ) )* )? ( ( (lv_argument_37_0= ruleNavigatingBarArgCS ) ) ( (lv_argument_38_0= ruleNavigatingCommaArgCS ) )* )? )?
|
| int alt95=2;
|
| int LA95_0 = input.LA(1);
|
|
|
| if ( ((LA95_0>=RULE_SIMPLE_ID && LA95_0<=RULE_SINGLE_QUOTED_STRING)||(LA95_0>=24 && LA95_0<=34)||(LA95_0>=36 && LA95_0<=41)||(LA95_0>=43 && LA95_0<=47)||(LA95_0>=61 && LA95_0<=74)||(LA95_0>=79 && LA95_0<=82)||LA95_0==86||LA95_0==90||LA95_0==92) ) {
|
| alt95=1;
|
| }
|
| switch (alt95) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5693:2: ( (lv_argument_33_0= ruleNavigatingArgCS ) ) ( (lv_argument_34_0= ruleNavigatingCommaArgCS ) )* ( ( (lv_argument_35_0= ruleNavigatingSemiArgCS ) ) ( (lv_argument_36_0= ruleNavigatingCommaArgCS ) )* )? ( ( (lv_argument_37_0= ruleNavigatingBarArgCS ) ) ( (lv_argument_38_0= ruleNavigatingCommaArgCS ) )* )?
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5693:2: ( (lv_argument_33_0= ruleNavigatingArgCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5694:1: (lv_argument_33_0= ruleNavigatingArgCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5694:1: (lv_argument_33_0= ruleNavigatingArgCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5695:3: lv_argument_33_0= ruleNavigatingArgCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getArgumentNavigatingArgCSParserRuleCall_7_2_2_1_2_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingArgCS_in_rulePrimaryExpCS12947);
|
| lv_argument_33_0=ruleNavigatingArgCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getPrimaryExpCSRule());
|
| }
|
| add(
|
| current,
|
| "argument",
|
| lv_argument_33_0,
|
| "NavigatingArgCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5711:2: ( (lv_argument_34_0= ruleNavigatingCommaArgCS ) )*
|
| loop90:
|
| do {
|
| int alt90=2;
|
| int LA90_0 = input.LA(1);
|
|
|
| if ( (LA90_0==18) ) {
|
| alt90=1;
|
| }
|
|
|
|
|
| switch (alt90) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5712:1: (lv_argument_34_0= ruleNavigatingCommaArgCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5712:1: (lv_argument_34_0= ruleNavigatingCommaArgCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5713:3: lv_argument_34_0= ruleNavigatingCommaArgCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getArgumentNavigatingCommaArgCSParserRuleCall_7_2_2_1_2_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingCommaArgCS_in_rulePrimaryExpCS12968);
|
| lv_argument_34_0=ruleNavigatingCommaArgCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getPrimaryExpCSRule());
|
| }
|
| add(
|
| current,
|
| "argument",
|
| lv_argument_34_0,
|
| "NavigatingCommaArgCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop90;
|
| }
|
| } while (true);
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5729:3: ( ( (lv_argument_35_0= ruleNavigatingSemiArgCS ) ) ( (lv_argument_36_0= ruleNavigatingCommaArgCS ) )* )?
|
| int alt92=2;
|
| int LA92_0 = input.LA(1);
|
|
|
| if ( (LA92_0==23) ) {
|
| alt92=1;
|
| }
|
| switch (alt92) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5729:4: ( (lv_argument_35_0= ruleNavigatingSemiArgCS ) ) ( (lv_argument_36_0= ruleNavigatingCommaArgCS ) )*
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5729:4: ( (lv_argument_35_0= ruleNavigatingSemiArgCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5730:1: (lv_argument_35_0= ruleNavigatingSemiArgCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5730:1: (lv_argument_35_0= ruleNavigatingSemiArgCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5731:3: lv_argument_35_0= ruleNavigatingSemiArgCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getArgumentNavigatingSemiArgCSParserRuleCall_7_2_2_1_2_2_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingSemiArgCS_in_rulePrimaryExpCS12991);
|
| lv_argument_35_0=ruleNavigatingSemiArgCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getPrimaryExpCSRule());
|
| }
|
| add(
|
| current,
|
| "argument",
|
| lv_argument_35_0,
|
| "NavigatingSemiArgCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5747:2: ( (lv_argument_36_0= ruleNavigatingCommaArgCS ) )*
|
| loop91:
|
| do {
|
| int alt91=2;
|
| int LA91_0 = input.LA(1);
|
|
|
| if ( (LA91_0==18) ) {
|
| alt91=1;
|
| }
|
|
|
|
|
| switch (alt91) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5748:1: (lv_argument_36_0= ruleNavigatingCommaArgCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5748:1: (lv_argument_36_0= ruleNavigatingCommaArgCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5749:3: lv_argument_36_0= ruleNavigatingCommaArgCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getArgumentNavigatingCommaArgCSParserRuleCall_7_2_2_1_2_2_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingCommaArgCS_in_rulePrimaryExpCS13012);
|
| lv_argument_36_0=ruleNavigatingCommaArgCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getPrimaryExpCSRule());
|
| }
|
| add(
|
| current,
|
| "argument",
|
| lv_argument_36_0,
|
| "NavigatingCommaArgCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop91;
|
| }
|
| } while (true);
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5765:5: ( ( (lv_argument_37_0= ruleNavigatingBarArgCS ) ) ( (lv_argument_38_0= ruleNavigatingCommaArgCS ) )* )?
|
| int alt94=2;
|
| int LA94_0 = input.LA(1);
|
|
|
| if ( (LA94_0==85) ) {
|
| alt94=1;
|
| }
|
| switch (alt94) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5765:6: ( (lv_argument_37_0= ruleNavigatingBarArgCS ) ) ( (lv_argument_38_0= ruleNavigatingCommaArgCS ) )*
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5765:6: ( (lv_argument_37_0= ruleNavigatingBarArgCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5766:1: (lv_argument_37_0= ruleNavigatingBarArgCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5766:1: (lv_argument_37_0= ruleNavigatingBarArgCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5767:3: lv_argument_37_0= ruleNavigatingBarArgCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getArgumentNavigatingBarArgCSParserRuleCall_7_2_2_1_2_3_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingBarArgCS_in_rulePrimaryExpCS13037);
|
| lv_argument_37_0=ruleNavigatingBarArgCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getPrimaryExpCSRule());
|
| }
|
| add(
|
| current,
|
| "argument",
|
| lv_argument_37_0,
|
| "NavigatingBarArgCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5783:2: ( (lv_argument_38_0= ruleNavigatingCommaArgCS ) )*
|
| loop93:
|
| do {
|
| int alt93=2;
|
| int LA93_0 = input.LA(1);
|
|
|
| if ( (LA93_0==18) ) {
|
| alt93=1;
|
| }
|
|
|
|
|
| switch (alt93) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5784:1: (lv_argument_38_0= ruleNavigatingCommaArgCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5784:1: (lv_argument_38_0= ruleNavigatingCommaArgCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5785:3: lv_argument_38_0= ruleNavigatingCommaArgCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getPrimaryExpCSAccess().getArgumentNavigatingCommaArgCSParserRuleCall_7_2_2_1_2_3_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingCommaArgCS_in_rulePrimaryExpCS13058);
|
| lv_argument_38_0=ruleNavigatingCommaArgCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getPrimaryExpCSRule());
|
| }
|
| add(
|
| current,
|
| "argument",
|
| lv_argument_38_0,
|
| "NavigatingCommaArgCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop93;
|
| }
|
| } while (true);
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| otherlv_39=(Token)match(input,35,FollowSets000.FOLLOW_35_in_rulePrimaryExpCS13075); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_39, grammarAccess.getPrimaryExpCSAccess().getRightParenthesisKeyword_7_2_2_1_3());
|
|
|
| }
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "rulePrimaryExpCS"
|
|
|
|
|
| // $ANTLR start "entryRuleNavigatingArgCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5813: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5814:2: (iv_ruleNavigatingArgCS= ruleNavigatingArgCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5815:2: iv_ruleNavigatingArgCS= ruleNavigatingArgCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getNavigatingArgCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingArgCS_in_entryRuleNavigatingArgCS13116);
|
| iv_ruleNavigatingArgCS=ruleNavigatingArgCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleNavigatingArgCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNavigatingArgCS13126); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleNavigatingArgCS"
|
|
|
|
|
| // $ANTLR start "ruleNavigatingArgCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5822:1: ruleNavigatingArgCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleNavigatingArgExpCS ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) (otherlv_3= '=' ( (lv_init_4_0= ruleExpCS ) ) )? )? ) ;
|
| public final EObject ruleNavigatingArgCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_1=null;
|
| Token otherlv_3=null;
|
| EObject lv_name_0_0 = null;
|
|
|
| EObject lv_ownedType_2_0 = null;
|
|
|
| EObject lv_init_4_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5825:28: ( ( ( (lv_name_0_0= ruleNavigatingArgExpCS ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) (otherlv_3= '=' ( (lv_init_4_0= ruleExpCS ) ) )? )? ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5826:1: ( ( (lv_name_0_0= ruleNavigatingArgExpCS ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) (otherlv_3= '=' ( (lv_init_4_0= ruleExpCS ) ) )? )? )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5826:1: ( ( (lv_name_0_0= ruleNavigatingArgExpCS ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) (otherlv_3= '=' ( (lv_init_4_0= ruleExpCS ) ) )? )? )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5826:2: ( (lv_name_0_0= ruleNavigatingArgExpCS ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) (otherlv_3= '=' ( (lv_init_4_0= ruleExpCS ) ) )? )?
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5826:2: ( (lv_name_0_0= ruleNavigatingArgExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5827:1: (lv_name_0_0= ruleNavigatingArgExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5827:1: (lv_name_0_0= ruleNavigatingArgExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5828:3: lv_name_0_0= ruleNavigatingArgExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getNavigatingArgCSAccess().getNameNavigatingArgExpCSParserRuleCall_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingArgCS13172);
|
| lv_name_0_0=ruleNavigatingArgExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getNavigatingArgCSRule());
|
| }
|
| set(
|
| current,
|
| "name",
|
| lv_name_0_0,
|
| "NavigatingArgExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5844:2: (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) (otherlv_3= '=' ( (lv_init_4_0= ruleExpCS ) ) )? )?
|
| int alt100=2;
|
| int LA100_0 = input.LA(1);
|
|
|
| if ( (LA100_0==16) ) {
|
| alt100=1;
|
| }
|
| switch (alt100) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5844:4: otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) (otherlv_3= '=' ( (lv_init_4_0= ruleExpCS ) ) )?
|
| {
|
| otherlv_1=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleNavigatingArgCS13185); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getNavigatingArgCSAccess().getColonKeyword_1_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5848:1: ( (lv_ownedType_2_0= ruleTypeExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5849:1: (lv_ownedType_2_0= ruleTypeExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5849:1: (lv_ownedType_2_0= ruleTypeExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5850:3: lv_ownedType_2_0= ruleTypeExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getNavigatingArgCSAccess().getOwnedTypeTypeExpCSParserRuleCall_1_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypeExpCS_in_ruleNavigatingArgCS13206);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5866:2: (otherlv_3= '=' ( (lv_init_4_0= ruleExpCS ) ) )?
|
| int alt99=2;
|
| int LA99_0 = input.LA(1);
|
|
|
| if ( (LA99_0==22) ) {
|
| alt99=1;
|
| }
|
| switch (alt99) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5866:4: otherlv_3= '=' ( (lv_init_4_0= ruleExpCS ) )
|
| {
|
| otherlv_3=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleNavigatingArgCS13219); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_3, grammarAccess.getNavigatingArgCSAccess().getEqualsSignKeyword_1_2_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5870:1: ( (lv_init_4_0= ruleExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5871:1: (lv_init_4_0= ruleExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5871:1: (lv_init_4_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5872:3: lv_init_4_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getNavigatingArgCSAccess().getInitExpCSParserRuleCall_1_2_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleNavigatingArgCS13240);
|
| lv_init_4_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getNavigatingArgCSRule());
|
| }
|
| set(
|
| current,
|
| "init",
|
| lv_init_4_0,
|
| "ExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5896: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5897:2: (iv_ruleNavigatingBarArgCS= ruleNavigatingBarArgCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5898:2: iv_ruleNavigatingBarArgCS= ruleNavigatingBarArgCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getNavigatingBarArgCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingBarArgCS_in_entryRuleNavigatingBarArgCS13280);
|
| iv_ruleNavigatingBarArgCS=ruleNavigatingBarArgCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleNavigatingBarArgCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNavigatingBarArgCS13290); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleNavigatingBarArgCS"
|
|
|
|
|
| // $ANTLR start "ruleNavigatingBarArgCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5905:1: ruleNavigatingBarArgCS returns [EObject current=null] : ( ( (lv_prefix_0_0= '|' ) ) ( (lv_name_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_init_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_name_1_0 = null;
|
|
|
| EObject lv_ownedType_3_0 = null;
|
|
|
| EObject lv_init_5_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5908:28: ( ( ( (lv_prefix_0_0= '|' ) ) ( (lv_name_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) ) )? )? ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5909:1: ( ( (lv_prefix_0_0= '|' ) ) ( (lv_name_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) ) )? )? )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5909:1: ( ( (lv_prefix_0_0= '|' ) ) ( (lv_name_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) ) )? )? )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5909:2: ( (lv_prefix_0_0= '|' ) ) ( (lv_name_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) ) )? )?
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5909:2: ( (lv_prefix_0_0= '|' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5910:1: (lv_prefix_0_0= '|' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5910:1: (lv_prefix_0_0= '|' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5911:3: lv_prefix_0_0= '|'
|
| {
|
| lv_prefix_0_0=(Token)match(input,85,FollowSets000.FOLLOW_85_in_ruleNavigatingBarArgCS13333); 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5924:2: ( (lv_name_1_0= ruleNavigatingArgExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5925:1: (lv_name_1_0= ruleNavigatingArgExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5925:1: (lv_name_1_0= ruleNavigatingArgExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5926:3: lv_name_1_0= ruleNavigatingArgExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getNavigatingBarArgCSAccess().getNameNavigatingArgExpCSParserRuleCall_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingBarArgCS13367);
|
| lv_name_1_0=ruleNavigatingArgExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getNavigatingBarArgCSRule());
|
| }
|
| set(
|
| current,
|
| "name",
|
| lv_name_1_0,
|
| "NavigatingArgExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5942:2: (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) ) )? )?
|
| int alt102=2;
|
| int LA102_0 = input.LA(1);
|
|
|
| if ( (LA102_0==16) ) {
|
| alt102=1;
|
| }
|
| switch (alt102) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5942:4: otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) ) )?
|
| {
|
| otherlv_2=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleNavigatingBarArgCS13380); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_2, grammarAccess.getNavigatingBarArgCSAccess().getColonKeyword_2_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5946:1: ( (lv_ownedType_3_0= ruleTypeExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5947:1: (lv_ownedType_3_0= ruleTypeExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5947:1: (lv_ownedType_3_0= ruleTypeExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5948:3: lv_ownedType_3_0= ruleTypeExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getNavigatingBarArgCSAccess().getOwnedTypeTypeExpCSParserRuleCall_2_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypeExpCS_in_ruleNavigatingBarArgCS13401);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5964:2: (otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) ) )?
|
| int alt101=2;
|
| int LA101_0 = input.LA(1);
|
|
|
| if ( (LA101_0==22) ) {
|
| alt101=1;
|
| }
|
| switch (alt101) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5964:4: otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) )
|
| {
|
| otherlv_4=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleNavigatingBarArgCS13414); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_4, grammarAccess.getNavigatingBarArgCSAccess().getEqualsSignKeyword_2_2_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5968:1: ( (lv_init_5_0= ruleExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5969:1: (lv_init_5_0= ruleExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5969:1: (lv_init_5_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5970:3: lv_init_5_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getNavigatingBarArgCSAccess().getInitExpCSParserRuleCall_2_2_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleNavigatingBarArgCS13435);
|
| lv_init_5_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getNavigatingBarArgCSRule());
|
| }
|
| set(
|
| current,
|
| "init",
|
| lv_init_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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5994: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5995:2: (iv_ruleNavigatingCommaArgCS= ruleNavigatingCommaArgCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5996:2: iv_ruleNavigatingCommaArgCS= ruleNavigatingCommaArgCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getNavigatingCommaArgCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingCommaArgCS_in_entryRuleNavigatingCommaArgCS13475);
|
| iv_ruleNavigatingCommaArgCS=ruleNavigatingCommaArgCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleNavigatingCommaArgCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNavigatingCommaArgCS13485); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleNavigatingCommaArgCS"
|
|
|
|
|
| // $ANTLR start "ruleNavigatingCommaArgCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6003:1: ruleNavigatingCommaArgCS returns [EObject current=null] : ( ( (lv_prefix_0_0= ',' ) ) ( (lv_name_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_init_5_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;
|
| EObject lv_name_1_0 = null;
|
|
|
| EObject lv_ownedType_3_0 = null;
|
|
|
| EObject lv_init_5_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6006:28: ( ( ( (lv_prefix_0_0= ',' ) ) ( (lv_name_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) ) )? )? ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6007:1: ( ( (lv_prefix_0_0= ',' ) ) ( (lv_name_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) ) )? )? )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6007:1: ( ( (lv_prefix_0_0= ',' ) ) ( (lv_name_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) ) )? )? )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6007:2: ( (lv_prefix_0_0= ',' ) ) ( (lv_name_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) ) )? )?
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6007:2: ( (lv_prefix_0_0= ',' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6008:1: (lv_prefix_0_0= ',' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6008:1: (lv_prefix_0_0= ',' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6009:3: lv_prefix_0_0= ','
|
| {
|
| lv_prefix_0_0=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleNavigatingCommaArgCS13528); 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6022:2: ( (lv_name_1_0= ruleNavigatingArgExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6023:1: (lv_name_1_0= ruleNavigatingArgExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6023:1: (lv_name_1_0= ruleNavigatingArgExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6024:3: lv_name_1_0= ruleNavigatingArgExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getNavigatingCommaArgCSAccess().getNameNavigatingArgExpCSParserRuleCall_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingCommaArgCS13562);
|
| lv_name_1_0=ruleNavigatingArgExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getNavigatingCommaArgCSRule());
|
| }
|
| set(
|
| current,
|
| "name",
|
| lv_name_1_0,
|
| "NavigatingArgExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6040:2: (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) ) )? )?
|
| int alt104=2;
|
| int LA104_0 = input.LA(1);
|
|
|
| if ( (LA104_0==16) ) {
|
| alt104=1;
|
| }
|
| switch (alt104) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6040:4: otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) ) )?
|
| {
|
| otherlv_2=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleNavigatingCommaArgCS13575); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_2, grammarAccess.getNavigatingCommaArgCSAccess().getColonKeyword_2_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6044:1: ( (lv_ownedType_3_0= ruleTypeExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6045:1: (lv_ownedType_3_0= ruleTypeExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6045:1: (lv_ownedType_3_0= ruleTypeExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6046:3: lv_ownedType_3_0= ruleTypeExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedTypeTypeExpCSParserRuleCall_2_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypeExpCS_in_ruleNavigatingCommaArgCS13596);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6062:2: (otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) ) )?
|
| int alt103=2;
|
| int LA103_0 = input.LA(1);
|
|
|
| if ( (LA103_0==22) ) {
|
| alt103=1;
|
| }
|
| switch (alt103) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6062:4: otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) )
|
| {
|
| otherlv_4=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleNavigatingCommaArgCS13609); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_4, grammarAccess.getNavigatingCommaArgCSAccess().getEqualsSignKeyword_2_2_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6066:1: ( (lv_init_5_0= ruleExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6067:1: (lv_init_5_0= ruleExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6067:1: (lv_init_5_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6068:3: lv_init_5_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getNavigatingCommaArgCSAccess().getInitExpCSParserRuleCall_2_2_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleNavigatingCommaArgCS13630);
|
| lv_init_5_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getNavigatingCommaArgCSRule());
|
| }
|
| set(
|
| current,
|
| "init",
|
| lv_init_5_0,
|
| "ExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
|
|
| }
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6092: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6093:2: (iv_ruleNavigatingSemiArgCS= ruleNavigatingSemiArgCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6094:2: iv_ruleNavigatingSemiArgCS= ruleNavigatingSemiArgCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getNavigatingSemiArgCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingSemiArgCS_in_entryRuleNavigatingSemiArgCS13670);
|
| iv_ruleNavigatingSemiArgCS=ruleNavigatingSemiArgCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleNavigatingSemiArgCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNavigatingSemiArgCS13680); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleNavigatingSemiArgCS"
|
|
|
|
|
| // $ANTLR start "ruleNavigatingSemiArgCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6101:1: ruleNavigatingSemiArgCS returns [EObject current=null] : ( ( (lv_prefix_0_0= ';' ) ) ( (lv_name_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_init_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_name_1_0 = null;
|
|
|
| EObject lv_ownedType_3_0 = null;
|
|
|
| EObject lv_init_5_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6104:28: ( ( ( (lv_prefix_0_0= ';' ) ) ( (lv_name_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) ) )? )? ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6105:1: ( ( (lv_prefix_0_0= ';' ) ) ( (lv_name_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) ) )? )? )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6105:1: ( ( (lv_prefix_0_0= ';' ) ) ( (lv_name_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) ) )? )? )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6105:2: ( (lv_prefix_0_0= ';' ) ) ( (lv_name_1_0= ruleNavigatingArgExpCS ) ) (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) ) )? )?
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6105:2: ( (lv_prefix_0_0= ';' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6106:1: (lv_prefix_0_0= ';' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6106:1: (lv_prefix_0_0= ';' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6107:3: lv_prefix_0_0= ';'
|
| {
|
| lv_prefix_0_0=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleNavigatingSemiArgCS13723); 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6120:2: ( (lv_name_1_0= ruleNavigatingArgExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6121:1: (lv_name_1_0= ruleNavigatingArgExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6121:1: (lv_name_1_0= ruleNavigatingArgExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6122:3: lv_name_1_0= ruleNavigatingArgExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getNavigatingSemiArgCSAccess().getNameNavigatingArgExpCSParserRuleCall_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingSemiArgCS13757);
|
| lv_name_1_0=ruleNavigatingArgExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getNavigatingSemiArgCSRule());
|
| }
|
| set(
|
| current,
|
| "name",
|
| lv_name_1_0,
|
| "NavigatingArgExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6138:2: (otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) ) )? )?
|
| int alt106=2;
|
| int LA106_0 = input.LA(1);
|
|
|
| if ( (LA106_0==16) ) {
|
| alt106=1;
|
| }
|
| switch (alt106) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6138:4: otherlv_2= ':' ( (lv_ownedType_3_0= ruleTypeExpCS ) ) (otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) ) )?
|
| {
|
| otherlv_2=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleNavigatingSemiArgCS13770); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_2, grammarAccess.getNavigatingSemiArgCSAccess().getColonKeyword_2_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6142:1: ( (lv_ownedType_3_0= ruleTypeExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6143:1: (lv_ownedType_3_0= ruleTypeExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6143:1: (lv_ownedType_3_0= ruleTypeExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6144:3: lv_ownedType_3_0= ruleTypeExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getNavigatingSemiArgCSAccess().getOwnedTypeTypeExpCSParserRuleCall_2_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypeExpCS_in_ruleNavigatingSemiArgCS13791);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6160:2: (otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) ) )?
|
| int alt105=2;
|
| int LA105_0 = input.LA(1);
|
|
|
| if ( (LA105_0==22) ) {
|
| alt105=1;
|
| }
|
| switch (alt105) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6160:4: otherlv_4= '=' ( (lv_init_5_0= ruleExpCS ) )
|
| {
|
| otherlv_4=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleNavigatingSemiArgCS13804); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_4, grammarAccess.getNavigatingSemiArgCSAccess().getEqualsSignKeyword_2_2_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6164:1: ( (lv_init_5_0= ruleExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6165:1: (lv_init_5_0= ruleExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6165:1: (lv_init_5_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6166:3: lv_init_5_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getNavigatingSemiArgCSAccess().getInitExpCSParserRuleCall_2_2_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleNavigatingSemiArgCS13825);
|
| lv_init_5_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getNavigatingSemiArgCSRule());
|
| }
|
| set(
|
| current,
|
| "init",
|
| lv_init_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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6190: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6191:2: (iv_ruleNavigatingArgExpCS= ruleNavigatingArgExpCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6192:2: iv_ruleNavigatingArgExpCS= ruleNavigatingArgExpCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getNavigatingArgExpCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNavigatingArgExpCS_in_entryRuleNavigatingArgExpCS13865);
|
| iv_ruleNavigatingArgExpCS=ruleNavigatingArgExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleNavigatingArgExpCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNavigatingArgExpCS13875); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleNavigatingArgExpCS"
|
|
|
|
|
| // $ANTLR start "ruleNavigatingArgExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6199: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6202:28: (this_ExpCS_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6204:2: this_ExpCS_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getNavigatingArgExpCSAccess().getExpCSParserRuleCall());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleNavigatingArgExpCS13924);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6223: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6224:2: (iv_ruleIfExpCS= ruleIfExpCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6225:2: iv_ruleIfExpCS= ruleIfExpCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getIfExpCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleIfExpCS_in_entryRuleIfExpCS13958);
|
| iv_ruleIfExpCS=ruleIfExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleIfExpCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleIfExpCS13968); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleIfExpCS"
|
|
|
|
|
| // $ANTLR start "ruleIfExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6232:1: ruleIfExpCS returns [EObject current=null] : (otherlv_0= 'if' ( (lv_condition_1_0= ruleExpCS ) ) otherlv_2= 'then' ( (lv_thenExpression_3_0= ruleExpCS ) ) otherlv_4= 'else' ( (lv_elseExpression_5_0= ruleExpCS ) ) otherlv_6= 'endif' ) ;
|
| public final EObject ruleIfExpCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_0=null;
|
| Token otherlv_2=null;
|
| Token otherlv_4=null;
|
| Token otherlv_6=null;
|
| EObject lv_condition_1_0 = null;
|
|
|
| EObject lv_thenExpression_3_0 = null;
|
|
|
| EObject lv_elseExpression_5_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6235:28: ( (otherlv_0= 'if' ( (lv_condition_1_0= ruleExpCS ) ) otherlv_2= 'then' ( (lv_thenExpression_3_0= ruleExpCS ) ) otherlv_4= 'else' ( (lv_elseExpression_5_0= ruleExpCS ) ) otherlv_6= 'endif' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6236:1: (otherlv_0= 'if' ( (lv_condition_1_0= ruleExpCS ) ) otherlv_2= 'then' ( (lv_thenExpression_3_0= ruleExpCS ) ) otherlv_4= 'else' ( (lv_elseExpression_5_0= ruleExpCS ) ) otherlv_6= 'endif' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6236:1: (otherlv_0= 'if' ( (lv_condition_1_0= ruleExpCS ) ) otherlv_2= 'then' ( (lv_thenExpression_3_0= ruleExpCS ) ) otherlv_4= 'else' ( (lv_elseExpression_5_0= ruleExpCS ) ) otherlv_6= 'endif' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6236:3: otherlv_0= 'if' ( (lv_condition_1_0= ruleExpCS ) ) otherlv_2= 'then' ( (lv_thenExpression_3_0= ruleExpCS ) ) otherlv_4= 'else' ( (lv_elseExpression_5_0= ruleExpCS ) ) otherlv_6= 'endif'
|
| {
|
| otherlv_0=(Token)match(input,86,FollowSets000.FOLLOW_86_in_ruleIfExpCS14005); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_0, grammarAccess.getIfExpCSAccess().getIfKeyword_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6240:1: ( (lv_condition_1_0= ruleExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6241:1: (lv_condition_1_0= ruleExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6241:1: (lv_condition_1_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6242:3: lv_condition_1_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getIfExpCSAccess().getConditionExpCSParserRuleCall_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleIfExpCS14026);
|
| lv_condition_1_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getIfExpCSRule());
|
| }
|
| set(
|
| current,
|
| "condition",
|
| lv_condition_1_0,
|
| "ExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_2=(Token)match(input,87,FollowSets000.FOLLOW_87_in_ruleIfExpCS14038); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_2, grammarAccess.getIfExpCSAccess().getThenKeyword_2());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6262:1: ( (lv_thenExpression_3_0= ruleExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6263:1: (lv_thenExpression_3_0= ruleExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6263:1: (lv_thenExpression_3_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6264:3: lv_thenExpression_3_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getIfExpCSAccess().getThenExpressionExpCSParserRuleCall_3_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleIfExpCS14059);
|
| lv_thenExpression_3_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getIfExpCSRule());
|
| }
|
| set(
|
| current,
|
| "thenExpression",
|
| lv_thenExpression_3_0,
|
| "ExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_4=(Token)match(input,88,FollowSets000.FOLLOW_88_in_ruleIfExpCS14071); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_4, grammarAccess.getIfExpCSAccess().getElseKeyword_4());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6284:1: ( (lv_elseExpression_5_0= ruleExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6285:1: (lv_elseExpression_5_0= ruleExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6285:1: (lv_elseExpression_5_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6286:3: lv_elseExpression_5_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getIfExpCSAccess().getElseExpressionExpCSParserRuleCall_5_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleIfExpCS14092);
|
| lv_elseExpression_5_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getIfExpCSRule());
|
| }
|
| set(
|
| current,
|
| "elseExpression",
|
| lv_elseExpression_5_0,
|
| "ExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_6=(Token)match(input,89,FollowSets000.FOLLOW_89_in_ruleIfExpCS14104); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_6, grammarAccess.getIfExpCSAccess().getEndifKeyword_6());
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| if ( state.backtracking==0 ) {
|
| leaveRule();
|
| }
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "ruleIfExpCS"
|
|
|
|
|
| // $ANTLR start "entryRuleLetExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6314: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6315:2: (iv_ruleLetExpCS= ruleLetExpCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6316:2: iv_ruleLetExpCS= ruleLetExpCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getLetExpCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleLetExpCS_in_entryRuleLetExpCS14140);
|
| iv_ruleLetExpCS=ruleLetExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleLetExpCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLetExpCS14150); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleLetExpCS"
|
|
|
|
|
| // $ANTLR start "ruleLetExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6323:1: ruleLetExpCS returns [EObject current=null] : (otherlv_0= 'let' ( (lv_variable_1_0= ruleLetVariableCS ) ) (otherlv_2= ',' ( (lv_variable_3_0= ruleLetVariableCS ) ) )* otherlv_4= 'in' ( (lv_in_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_variable_1_0 = null;
|
|
|
| EObject lv_variable_3_0 = null;
|
|
|
| EObject lv_in_5_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6326:28: ( (otherlv_0= 'let' ( (lv_variable_1_0= ruleLetVariableCS ) ) (otherlv_2= ',' ( (lv_variable_3_0= ruleLetVariableCS ) ) )* otherlv_4= 'in' ( (lv_in_5_0= ruleExpCS ) ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6327:1: (otherlv_0= 'let' ( (lv_variable_1_0= ruleLetVariableCS ) ) (otherlv_2= ',' ( (lv_variable_3_0= ruleLetVariableCS ) ) )* otherlv_4= 'in' ( (lv_in_5_0= ruleExpCS ) ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6327:1: (otherlv_0= 'let' ( (lv_variable_1_0= ruleLetVariableCS ) ) (otherlv_2= ',' ( (lv_variable_3_0= ruleLetVariableCS ) ) )* otherlv_4= 'in' ( (lv_in_5_0= ruleExpCS ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6327:3: otherlv_0= 'let' ( (lv_variable_1_0= ruleLetVariableCS ) ) (otherlv_2= ',' ( (lv_variable_3_0= ruleLetVariableCS ) ) )* otherlv_4= 'in' ( (lv_in_5_0= ruleExpCS ) )
|
| {
|
| otherlv_0=(Token)match(input,90,FollowSets000.FOLLOW_90_in_ruleLetExpCS14187); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_0, grammarAccess.getLetExpCSAccess().getLetKeyword_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6331:1: ( (lv_variable_1_0= ruleLetVariableCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6332:1: (lv_variable_1_0= ruleLetVariableCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6332:1: (lv_variable_1_0= ruleLetVariableCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6333:3: lv_variable_1_0= ruleLetVariableCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getLetExpCSAccess().getVariableLetVariableCSParserRuleCall_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleLetVariableCS_in_ruleLetExpCS14208);
|
| lv_variable_1_0=ruleLetVariableCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getLetExpCSRule());
|
| }
|
| add(
|
| current,
|
| "variable",
|
| lv_variable_1_0,
|
| "LetVariableCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6349:2: (otherlv_2= ',' ( (lv_variable_3_0= ruleLetVariableCS ) ) )*
|
| loop107:
|
| do {
|
| int alt107=2;
|
| int LA107_0 = input.LA(1);
|
|
|
| if ( (LA107_0==18) ) {
|
| alt107=1;
|
| }
|
|
|
|
|
| switch (alt107) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6349:4: otherlv_2= ',' ( (lv_variable_3_0= ruleLetVariableCS ) )
|
| {
|
| otherlv_2=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleLetExpCS14221); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_2, grammarAccess.getLetExpCSAccess().getCommaKeyword_2_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6353:1: ( (lv_variable_3_0= ruleLetVariableCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6354:1: (lv_variable_3_0= ruleLetVariableCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6354:1: (lv_variable_3_0= ruleLetVariableCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6355:3: lv_variable_3_0= ruleLetVariableCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getLetExpCSAccess().getVariableLetVariableCSParserRuleCall_2_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleLetVariableCS_in_ruleLetExpCS14242);
|
| lv_variable_3_0=ruleLetVariableCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getLetExpCSRule());
|
| }
|
| add(
|
| current,
|
| "variable",
|
| lv_variable_3_0,
|
| "LetVariableCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| default :
|
| break loop107;
|
| }
|
| } while (true);
|
|
|
| otherlv_4=(Token)match(input,91,FollowSets000.FOLLOW_91_in_ruleLetExpCS14256); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_4, grammarAccess.getLetExpCSAccess().getInKeyword_3());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6375:1: ( (lv_in_5_0= ruleExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6376:1: (lv_in_5_0= ruleExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6376:1: (lv_in_5_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6377:3: lv_in_5_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getLetExpCSAccess().getInExpCSParserRuleCall_4_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleLetExpCS14277);
|
| lv_in_5_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getLetExpCSRule());
|
| }
|
| set(
|
| current,
|
| "in",
|
| lv_in_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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6401: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6402:2: (iv_ruleLetVariableCS= ruleLetVariableCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6403:2: iv_ruleLetVariableCS= ruleLetVariableCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getLetVariableCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleLetVariableCS_in_entryRuleLetVariableCS14313);
|
| iv_ruleLetVariableCS=ruleLetVariableCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleLetVariableCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLetVariableCS14323); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleLetVariableCS"
|
|
|
|
|
| // $ANTLR start "ruleLetVariableCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6410:1: ruleLetVariableCS returns [EObject current=null] : ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) )? otherlv_3= '=' ( (lv_initExpression_4_0= ruleExpCS ) ) ) ;
|
| public final EObject ruleLetVariableCS() 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_initExpression_4_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6413:28: ( ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) )? otherlv_3= '=' ( (lv_initExpression_4_0= ruleExpCS ) ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6414:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) )? otherlv_3= '=' ( (lv_initExpression_4_0= ruleExpCS ) ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6414:1: ( ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) )? otherlv_3= '=' ( (lv_initExpression_4_0= ruleExpCS ) ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6414:2: ( (lv_name_0_0= ruleUnrestrictedName ) ) (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) )? otherlv_3= '=' ( (lv_initExpression_4_0= ruleExpCS ) )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6414:2: ( (lv_name_0_0= ruleUnrestrictedName ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6415:1: (lv_name_0_0= ruleUnrestrictedName )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6415:1: (lv_name_0_0= ruleUnrestrictedName )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6416:3: lv_name_0_0= ruleUnrestrictedName
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getLetVariableCSAccess().getNameUnrestrictedNameParserRuleCall_0_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleUnrestrictedName_in_ruleLetVariableCS14369);
|
| 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6432:2: (otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) ) )?
|
| int alt108=2;
|
| int LA108_0 = input.LA(1);
|
|
|
| if ( (LA108_0==16) ) {
|
| alt108=1;
|
| }
|
| switch (alt108) {
|
| case 1 :
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6432:4: otherlv_1= ':' ( (lv_ownedType_2_0= ruleTypeExpCS ) )
|
| {
|
| otherlv_1=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleLetVariableCS14382); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_1, grammarAccess.getLetVariableCSAccess().getColonKeyword_1_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6436:1: ( (lv_ownedType_2_0= ruleTypeExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6437:1: (lv_ownedType_2_0= ruleTypeExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6437:1: (lv_ownedType_2_0= ruleTypeExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6438:3: lv_ownedType_2_0= ruleTypeExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getLetVariableCSAccess().getOwnedTypeTypeExpCSParserRuleCall_1_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypeExpCS_in_ruleLetVariableCS14403);
|
| lv_ownedType_2_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_2_0,
|
| "TypeExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
|
|
| }
|
| break;
|
|
|
| }
|
|
|
| otherlv_3=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleLetVariableCS14417); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_3, grammarAccess.getLetVariableCSAccess().getEqualsSignKeyword_2());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6458:1: ( (lv_initExpression_4_0= ruleExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6459:1: (lv_initExpression_4_0= ruleExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6459:1: (lv_initExpression_4_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6460:3: lv_initExpression_4_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getLetVariableCSAccess().getInitExpressionExpCSParserRuleCall_3_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleLetVariableCS14438);
|
| lv_initExpression_4_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getLetVariableCSRule());
|
| }
|
| set(
|
| current,
|
| "initExpression",
|
| lv_initExpression_4_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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6484: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6485:2: (iv_ruleNestedExpCS= ruleNestedExpCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6486:2: iv_ruleNestedExpCS= ruleNestedExpCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getNestedExpCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleNestedExpCS_in_entryRuleNestedExpCS14474);
|
| iv_ruleNestedExpCS=ruleNestedExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleNestedExpCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleNestedExpCS14484); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleNestedExpCS"
|
|
|
|
|
| // $ANTLR start "ruleNestedExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6493:1: ruleNestedExpCS returns [EObject current=null] : (otherlv_0= '(' ( (lv_source_1_0= ruleExpCS ) ) otherlv_2= ')' ) ;
|
| public final EObject ruleNestedExpCS() throws RecognitionException {
|
| EObject current = null;
|
|
|
| Token otherlv_0=null;
|
| Token otherlv_2=null;
|
| EObject lv_source_1_0 = null;
|
|
|
|
|
| enterRule();
|
|
|
| try {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6496:28: ( (otherlv_0= '(' ( (lv_source_1_0= ruleExpCS ) ) otherlv_2= ')' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6497:1: (otherlv_0= '(' ( (lv_source_1_0= ruleExpCS ) ) otherlv_2= ')' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6497:1: (otherlv_0= '(' ( (lv_source_1_0= ruleExpCS ) ) otherlv_2= ')' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6497:3: otherlv_0= '(' ( (lv_source_1_0= ruleExpCS ) ) otherlv_2= ')'
|
| {
|
| otherlv_0=(Token)match(input,34,FollowSets000.FOLLOW_34_in_ruleNestedExpCS14521); if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| newLeafNode(otherlv_0, grammarAccess.getNestedExpCSAccess().getLeftParenthesisKeyword_0());
|
|
|
| }
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6501:1: ( (lv_source_1_0= ruleExpCS ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6502:1: (lv_source_1_0= ruleExpCS )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6502:1: (lv_source_1_0= ruleExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6503:3: lv_source_1_0= ruleExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| newCompositeNode(grammarAccess.getNestedExpCSAccess().getSourceExpCSParserRuleCall_1_0());
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleExpCS_in_ruleNestedExpCS14542);
|
| lv_source_1_0=ruleExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
|
|
| if (current==null) {
|
| current = createModelElementForParent(grammarAccess.getNestedExpCSRule());
|
| }
|
| set(
|
| current,
|
| "source",
|
| lv_source_1_0,
|
| "ExpCS");
|
| afterParserOrEnumRuleCall();
|
|
|
| }
|
|
|
| }
|
|
|
|
|
| }
|
|
|
| otherlv_2=(Token)match(input,35,FollowSets000.FOLLOW_35_in_ruleNestedExpCS14554); 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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6531: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6532:2: (iv_ruleSelfExpCS= ruleSelfExpCS EOF )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6533:2: iv_ruleSelfExpCS= ruleSelfExpCS EOF
|
| {
|
| if ( state.backtracking==0 ) {
|
| newCompositeNode(grammarAccess.getSelfExpCSRule());
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleSelfExpCS_in_entryRuleSelfExpCS14590);
|
| iv_ruleSelfExpCS=ruleSelfExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return current;
|
| if ( state.backtracking==0 ) {
|
| current =iv_ruleSelfExpCS;
|
| }
|
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleSelfExpCS14600); if (state.failed) return current;
|
|
|
| }
|
|
|
| }
|
|
|
| catch (RecognitionException re) {
|
| recover(input,re);
|
| appendSkippedTokens();
|
| }
|
| finally {
|
| }
|
| return current;
|
| }
|
| // $ANTLR end "entryRuleSelfExpCS"
|
|
|
|
|
| // $ANTLR start "ruleSelfExpCS"
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6540: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.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6543:28: ( ( () otherlv_1= 'self' ) )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6544:1: ( () otherlv_1= 'self' )
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6544:1: ( () otherlv_1= 'self' )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6544:2: () otherlv_1= 'self'
|
| {
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6544:2: ()
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:6545:2:
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| if ( state.backtracking==0 ) {
|
|
|
| current = forceCreateModelElement(
|
| grammarAccess.getSelfExpCSAccess().getSelfExpCSAction_0(),
|
| current);
|
|
|
| }
|
|
|
| }
|
|
|
| otherlv_1=(Token)match(input,92,FollowSets000.FOLLOW_92_in_ruleSelfExpCS14649); 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 synpred33_InternalQVTrelation
|
| public final void synpred33_InternalQVTrelation_fragment() throws RecognitionException {
|
| EObject this_CollectionTemplateCS_0 = null;
|
|
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1567:2: (this_CollectionTemplateCS_0= ruleCollectionTemplateCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:1567:2: this_CollectionTemplateCS_0= ruleCollectionTemplateCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleCollectionTemplateCS_in_synpred33_InternalQVTrelation3192);
|
| this_CollectionTemplateCS_0=ruleCollectionTemplateCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return ;
|
|
|
| }
|
| }
|
| // $ANTLR end synpred33_InternalQVTrelation
|
|
|
| // $ANTLR start synpred140_InternalQVTrelation
|
| public final void synpred140_InternalQVTrelation_fragment() throws RecognitionException {
|
| EObject this_TupleLiteralExpCS_4 = null;
|
|
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5394:2: (this_TupleLiteralExpCS_4= ruleTupleLiteralExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5394:2: this_TupleLiteralExpCS_4= ruleTupleLiteralExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTupleLiteralExpCS_in_synpred140_InternalQVTrelation12390);
|
| this_TupleLiteralExpCS_4=ruleTupleLiteralExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return ;
|
|
|
| }
|
| }
|
| // $ANTLR end synpred140_InternalQVTrelation
|
|
|
| // $ANTLR start synpred141_InternalQVTrelation
|
| public final void synpred141_InternalQVTrelation_fragment() throws RecognitionException {
|
| EObject this_CollectionLiteralExpCS_5 = null;
|
|
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5407:2: (this_CollectionLiteralExpCS_5= ruleCollectionLiteralExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5407:2: this_CollectionLiteralExpCS_5= ruleCollectionLiteralExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleCollectionLiteralExpCS_in_synpred141_InternalQVTrelation12420);
|
| this_CollectionLiteralExpCS_5=ruleCollectionLiteralExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return ;
|
|
|
| }
|
| }
|
| // $ANTLR end synpred141_InternalQVTrelation
|
|
|
| // $ANTLR start synpred142_InternalQVTrelation
|
| public final void synpred142_InternalQVTrelation_fragment() throws RecognitionException {
|
| EObject this_TypeLiteralExpCS_6 = null;
|
|
|
|
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5420:2: (this_TypeLiteralExpCS_6= ruleTypeLiteralExpCS )
|
| // ../../plugins/org.eclipse.qvtd.xtext.qvtrelation/src-gen/org/eclipse/qvtd/xtext/qvtrelation/parser/antlr/internal/InternalQVTrelation.g:5420:2: this_TypeLiteralExpCS_6= ruleTypeLiteralExpCS
|
| {
|
| if ( state.backtracking==0 ) {
|
|
|
| /* */
|
|
|
| }
|
| pushFollow(FollowSets000.FOLLOW_ruleTypeLiteralExpCS_in_synpred142_InternalQVTrelation12450);
|
| this_TypeLiteralExpCS_6=ruleTypeLiteralExpCS();
|
|
|
| state._fsp--;
|
| if (state.failed) return ;
|
|
|
| }
|
| }
|
| // $ANTLR end synpred142_InternalQVTrelation
|
|
|
| // Delegated rules
|
|
|
| public final boolean synpred141_InternalQVTrelation() {
|
| state.backtracking++;
|
| int start = input.mark();
|
| try {
|
| synpred141_InternalQVTrelation_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 synpred33_InternalQVTrelation() {
|
| state.backtracking++;
|
| int start = input.mark();
|
| try {
|
| synpred33_InternalQVTrelation_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 synpred142_InternalQVTrelation() {
|
| state.backtracking++;
|
| int start = input.mark();
|
| try {
|
| synpred142_InternalQVTrelation_fragment(); // can never throw exception
|
| } catch (RecognitionException re) {
|
| System.err.println("impossible: "+re);
|
| }
|
| boolean success = !state.failed;
|
| input.rewind(start);
|
| state.backtracking--;
|
| state.failed=false;
|
| return success;
|
| }
|
| public final boolean synpred140_InternalQVTrelation() {
|
| state.backtracking++;
|
| int start = input.mark();
|
| try {
|
| synpred140_InternalQVTrelation_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 DFA4 dfa4 = new DFA4(this);
|
| protected DFA5 dfa5 = new DFA5(this);
|
| protected DFA29 dfa29 = new DFA29(this);
|
| protected DFA36 dfa36 = new DFA36(this);
|
| protected DFA41 dfa41 = new DFA41(this);
|
| protected DFA80 dfa80 = new DFA80(this);
|
| protected DFA75 dfa75 = new DFA75(this);
|
| protected DFA98 dfa98 = new DFA98(this);
|
| static final String DFA4_eotS =
|
| "\27\uffff";
|
| static final String DFA4_eofS =
|
| "\27\uffff";
|
| static final String DFA4_minS =
|
| "\1\4\24\20\2\uffff";
|
| static final String DFA4_maxS =
|
| "\1\55\24\23\2\uffff";
|
| static final String DFA4_acceptS =
|
| "\25\uffff\1\1\1\2";
|
| static final String DFA4_specialS =
|
| "\27\uffff}>";
|
| static final String[] DFA4_transitionS = {
|
| "\1\1\1\2\12\uffff\1\25\3\uffff\1\26\3\uffff\1\3\1\6\1\20\1"+
|
| "\5\1\10\1\4\1\13\1\12\1\15\1\16\2\uffff\1\21\1\17\1\14\1\22"+
|
| "\1\7\1\11\2\uffff\1\23\1\24",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "",
|
| ""
|
| };
|
|
|
| static final short[] DFA4_eot = DFA.unpackEncodedString(DFA4_eotS);
|
| static final short[] DFA4_eof = DFA.unpackEncodedString(DFA4_eofS);
|
| static final char[] DFA4_min = DFA.unpackEncodedStringToUnsignedChars(DFA4_minS);
|
| static final char[] DFA4_max = DFA.unpackEncodedStringToUnsignedChars(DFA4_maxS);
|
| static final short[] DFA4_accept = DFA.unpackEncodedString(DFA4_acceptS);
|
| static final short[] DFA4_special = DFA.unpackEncodedString(DFA4_specialS);
|
| static final short[][] DFA4_transition;
|
|
|
| static {
|
| int numStates = DFA4_transitionS.length;
|
| DFA4_transition = new short[numStates][];
|
| for (int i=0; i<numStates; i++) {
|
| DFA4_transition[i] = DFA.unpackEncodedString(DFA4_transitionS[i]);
|
| }
|
| }
|
|
|
| class DFA4 extends DFA {
|
|
|
| public DFA4(BaseRecognizer recognizer) {
|
| this.recognizer = recognizer;
|
| this.decisionNumber = 4;
|
| this.eot = DFA4_eot;
|
| this.eof = DFA4_eof;
|
| this.min = DFA4_min;
|
| this.max = DFA4_max;
|
| this.accept = DFA4_accept;
|
| this.special = DFA4_special;
|
| this.transition = DFA4_transition;
|
| }
|
| public String getDescription() {
|
| return "208:1: (lv_memberIdentifiers_4_1= ruleTemplateCS | lv_memberIdentifiers_4_2= ruleElementTemplateCS )";
|
| }
|
| }
|
| static final String DFA5_eotS =
|
| "\27\uffff";
|
| static final String DFA5_eofS =
|
| "\27\uffff";
|
| static final String DFA5_minS =
|
| "\1\4\24\20\2\uffff";
|
| static final String DFA5_maxS =
|
| "\1\55\24\23\2\uffff";
|
| static final String DFA5_acceptS =
|
| "\25\uffff\1\1\1\2";
|
| static final String DFA5_specialS =
|
| "\27\uffff}>";
|
| static final String[] DFA5_transitionS = {
|
| "\1\1\1\2\12\uffff\1\25\3\uffff\1\26\3\uffff\1\3\1\6\1\20\1"+
|
| "\5\1\10\1\4\1\13\1\12\1\15\1\16\2\uffff\1\21\1\17\1\14\1\22"+
|
| "\1\7\1\11\2\uffff\1\23\1\24",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "\1\25\1\uffff\2\26",
|
| "",
|
| ""
|
| };
|
|
|
| static final short[] DFA5_eot = DFA.unpackEncodedString(DFA5_eotS);
|
| static final short[] DFA5_eof = DFA.unpackEncodedString(DFA5_eofS);
|
| static final char[] DFA5_min = DFA.unpackEncodedStringToUnsignedChars(DFA5_minS);
|
| static final char[] DFA5_max = DFA.unpackEncodedStringToUnsignedChars(DFA5_maxS);
|
| static final short[] DFA5_accept = DFA.unpackEncodedString(DFA5_acceptS);
|
| static final short[] DFA5_special = DFA.unpackEncodedString(DFA5_specialS);
|
| static final short[][] DFA5_transition;
|
|
|
| static {
|
| int numStates = DFA5_transitionS.length;
|
| DFA5_transition = new short[numStates][];
|
| for (int i=0; i<numStates; i++) {
|
| DFA5_transition[i] = DFA.unpackEncodedString(DFA5_transitionS[i]);
|
| }
|
| }
|
|
|
| class DFA5 extends DFA {
|
|
|
| public DFA5(BaseRecognizer recognizer) {
|
| this.recognizer = recognizer;
|
| this.decisionNumber = 5;
|
| this.eot = DFA5_eot;
|
| this.eof = DFA5_eof;
|
| this.min = DFA5_min;
|
| this.max = DFA5_max;
|
| this.accept = DFA5_accept;
|
| this.special = DFA5_special;
|
| this.transition = DFA5_transition;
|
| }
|
| public String getDescription() {
|
| return "248:1: (lv_memberIdentifiers_6_1= ruleTemplateCS | lv_memberIdentifiers_6_2= ruleElementTemplateCS )";
|
| }
|
| }
|
| static final String DFA29_eotS =
|
| "\30\uffff";
|
| static final String DFA29_eofS =
|
| "\30\uffff";
|
| static final String DFA29_minS =
|
| "\1\4\25\0\2\uffff";
|
| static final String DFA29_maxS =
|
| "\1\55\25\0\2\uffff";
|
| static final String DFA29_acceptS =
|
| "\26\uffff\1\1\1\2";
|
| static final String DFA29_specialS =
|
| "\1\uffff\1\0\1\1\1\2\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\2\uffff}>";
|
| static final String[] DFA29_transitionS = {
|
| "\1\1\1\2\12\uffff\1\25\7\uffff\1\3\1\6\1\20\1\5\1\10\1\4\1"+
|
| "\13\1\12\1\15\1\16\2\uffff\1\21\1\17\1\14\1\22\1\7\1\11\2\uffff"+
|
| "\1\23\1\24",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "",
|
| ""
|
| };
|
|
|
| static final short[] DFA29_eot = DFA.unpackEncodedString(DFA29_eotS);
|
| static final short[] DFA29_eof = DFA.unpackEncodedString(DFA29_eofS);
|
| static final char[] DFA29_min = DFA.unpackEncodedStringToUnsignedChars(DFA29_minS);
|
| static final char[] DFA29_max = DFA.unpackEncodedStringToUnsignedChars(DFA29_maxS);
|
| static final short[] DFA29_accept = DFA.unpackEncodedString(DFA29_acceptS);
|
| static final short[] DFA29_special = DFA.unpackEncodedString(DFA29_specialS);
|
| static final short[][] DFA29_transition;
|
|
|
| static {
|
| int numStates = DFA29_transitionS.length;
|
| DFA29_transition = new short[numStates][];
|
| for (int i=0; i<numStates; i++) {
|
| DFA29_transition[i] = DFA.unpackEncodedString(DFA29_transitionS[i]);
|
| }
|
| }
|
|
|
| class DFA29 extends DFA {
|
|
|
| public DFA29(BaseRecognizer recognizer) {
|
| this.recognizer = recognizer;
|
| this.decisionNumber = 29;
|
| this.eot = DFA29_eot;
|
| this.eof = DFA29_eof;
|
| this.min = DFA29_min;
|
| this.max = DFA29_max;
|
| this.accept = DFA29_accept;
|
| this.special = DFA29_special;
|
| this.transition = DFA29_transition;
|
| }
|
| public String getDescription() {
|
| return "1566:2: (this_CollectionTemplateCS_0= ruleCollectionTemplateCS | this_ObjectTemplateCS_1= ruleObjectTemplateCS )";
|
| }
|
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
|
| TokenStream input = (TokenStream)_input;
|
| int _s = s;
|
| switch ( s ) {
|
| case 0 :
|
| int LA29_1 = input.LA(1);
|
|
|
|
|
| int index29_1 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred33_InternalQVTrelation()) ) {s = 22;}
|
|
|
| else if ( (true) ) {s = 23;}
|
|
|
|
|
| input.seek(index29_1);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 1 :
|
| int LA29_2 = input.LA(1);
|
|
|
|
|
| int index29_2 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred33_InternalQVTrelation()) ) {s = 22;}
|
|
|
| else if ( (true) ) {s = 23;}
|
|
|
|
|
| input.seek(index29_2);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 2 :
|
| int LA29_3 = input.LA(1);
|
|
|
|
|
| int index29_3 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred33_InternalQVTrelation()) ) {s = 22;}
|
|
|
| else if ( (true) ) {s = 23;}
|
|
|
|
|
| input.seek(index29_3);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 3 :
|
| int LA29_4 = input.LA(1);
|
|
|
|
|
| int index29_4 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred33_InternalQVTrelation()) ) {s = 22;}
|
|
|
| else if ( (true) ) {s = 23;}
|
|
|
|
|
| input.seek(index29_4);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 4 :
|
| int LA29_5 = input.LA(1);
|
|
|
|
|
| int index29_5 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred33_InternalQVTrelation()) ) {s = 22;}
|
|
|
| else if ( (true) ) {s = 23;}
|
|
|
|
|
| input.seek(index29_5);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 5 :
|
| int LA29_6 = input.LA(1);
|
|
|
|
|
| int index29_6 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred33_InternalQVTrelation()) ) {s = 22;}
|
|
|
| else if ( (true) ) {s = 23;}
|
|
|
|
|
| input.seek(index29_6);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 6 :
|
| int LA29_7 = input.LA(1);
|
|
|
|
|
| int index29_7 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred33_InternalQVTrelation()) ) {s = 22;}
|
|
|
| else if ( (true) ) {s = 23;}
|
|
|
|
|
| input.seek(index29_7);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 7 :
|
| int LA29_8 = input.LA(1);
|
|
|
|
|
| int index29_8 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred33_InternalQVTrelation()) ) {s = 22;}
|
|
|
| else if ( (true) ) {s = 23;}
|
|
|
|
|
| input.seek(index29_8);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 8 :
|
| int LA29_9 = input.LA(1);
|
|
|
|
|
| int index29_9 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred33_InternalQVTrelation()) ) {s = 22;}
|
|
|
| else if ( (true) ) {s = 23;}
|
|
|
|
|
| input.seek(index29_9);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 9 :
|
| int LA29_10 = input.LA(1);
|
|
|
|
|
| int index29_10 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred33_InternalQVTrelation()) ) {s = 22;}
|
|
|
| else if ( (true) ) {s = 23;}
|
|
|
|
|
| input.seek(index29_10);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 10 :
|
| int LA29_11 = input.LA(1);
|
|
|
|
|
| int index29_11 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred33_InternalQVTrelation()) ) {s = 22;}
|
|
|
| else if ( (true) ) {s = 23;}
|
|
|
|
|
| input.seek(index29_11);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 11 :
|
| int LA29_12 = input.LA(1);
|
|
|
|
|
| int index29_12 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred33_InternalQVTrelation()) ) {s = 22;}
|
|
|
| else if ( (true) ) {s = 23;}
|
|
|
|
|
| input.seek(index29_12);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 12 :
|
| int LA29_13 = input.LA(1);
|
|
|
|
|
| int index29_13 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred33_InternalQVTrelation()) ) {s = 22;}
|
|
|
| else if ( (true) ) {s = 23;}
|
|
|
|
|
| input.seek(index29_13);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 13 :
|
| int LA29_14 = input.LA(1);
|
|
|
|
|
| int index29_14 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred33_InternalQVTrelation()) ) {s = 22;}
|
|
|
| else if ( (true) ) {s = 23;}
|
|
|
|
|
| input.seek(index29_14);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 14 :
|
| int LA29_15 = input.LA(1);
|
|
|
|
|
| int index29_15 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred33_InternalQVTrelation()) ) {s = 22;}
|
|
|
| else if ( (true) ) {s = 23;}
|
|
|
|
|
| input.seek(index29_15);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 15 :
|
| int LA29_16 = input.LA(1);
|
|
|
|
|
| int index29_16 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred33_InternalQVTrelation()) ) {s = 22;}
|
|
|
| else if ( (true) ) {s = 23;}
|
|
|
|
|
| input.seek(index29_16);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 16 :
|
| int LA29_17 = input.LA(1);
|
|
|
|
|
| int index29_17 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred33_InternalQVTrelation()) ) {s = 22;}
|
|
|
| else if ( (true) ) {s = 23;}
|
|
|
|
|
| input.seek(index29_17);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 17 :
|
| int LA29_18 = input.LA(1);
|
|
|
|
|
| int index29_18 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred33_InternalQVTrelation()) ) {s = 22;}
|
|
|
| else if ( (true) ) {s = 23;}
|
|
|
|
|
| input.seek(index29_18);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 18 :
|
| int LA29_19 = input.LA(1);
|
|
|
|
|
| int index29_19 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred33_InternalQVTrelation()) ) {s = 22;}
|
|
|
| else if ( (true) ) {s = 23;}
|
|
|
|
|
| input.seek(index29_19);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 19 :
|
| int LA29_20 = input.LA(1);
|
|
|
|
|
| int index29_20 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred33_InternalQVTrelation()) ) {s = 22;}
|
|
|
| else if ( (true) ) {s = 23;}
|
|
|
|
|
| input.seek(index29_20);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 20 :
|
| int LA29_21 = input.LA(1);
|
|
|
|
|
| int index29_21 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred33_InternalQVTrelation()) ) {s = 22;}
|
|
|
| else if ( (true) ) {s = 23;}
|
|
|
|
|
| input.seek(index29_21);
|
| if ( s>=0 ) return s;
|
| break;
|
| }
|
| if (state.backtracking>0) {state.failed=true; return -1;}
|
| NoViableAltException nvae =
|
| new NoViableAltException(getDescription(), 29, _s, input);
|
| error(nvae);
|
| throw nvae;
|
| }
|
| }
|
| static final String DFA36_eotS =
|
| "\27\uffff";
|
| static final String DFA36_eofS =
|
| "\27\uffff";
|
| static final String DFA36_minS =
|
| "\1\4\24\20\2\uffff";
|
| static final String DFA36_maxS =
|
| "\1\55\24\52\2\uffff";
|
| static final String DFA36_acceptS =
|
| "\25\uffff\1\2\1\1";
|
| static final String DFA36_specialS =
|
| "\27\uffff}>";
|
| static final String[] DFA36_transitionS = {
|
| "\1\1\1\2\1\uffff\1\25\20\uffff\1\3\1\6\1\20\1\5\1\10\1\4\1"+
|
| "\13\1\12\1\15\1\16\2\uffff\1\21\1\17\1\14\1\22\1\7\1\11\2\uffff"+
|
| "\1\23\1\24",
|
| "\1\26\6\uffff\1\25\22\uffff\1\25",
|
| "\1\26\6\uffff\1\25\22\uffff\1\25",
|
| "\1\26\6\uffff\1\25\22\uffff\1\25",
|
| "\1\26\6\uffff\1\25\22\uffff\1\25",
|
| "\1\26\6\uffff\1\25\22\uffff\1\25",
|
| "\1\26\6\uffff\1\25\22\uffff\1\25",
|
| "\1\26\6\uffff\1\25\22\uffff\1\25",
|
| "\1\26\6\uffff\1\25\22\uffff\1\25",
|
| "\1\26\6\uffff\1\25\22\uffff\1\25",
|
| "\1\26\6\uffff\1\25\22\uffff\1\25",
|
| "\1\26\6\uffff\1\25\22\uffff\1\25",
|
| "\1\26\6\uffff\1\25\22\uffff\1\25",
|
| "\1\26\6\uffff\1\25\22\uffff\1\25",
|
| "\1\26\6\uffff\1\25\22\uffff\1\25",
|
| "\1\26\6\uffff\1\25\22\uffff\1\25",
|
| "\1\26\6\uffff\1\25\22\uffff\1\25",
|
| "\1\26\6\uffff\1\25\22\uffff\1\25",
|
| "\1\26\6\uffff\1\25\22\uffff\1\25",
|
| "\1\26\6\uffff\1\25\22\uffff\1\25",
|
| "\1\26\6\uffff\1\25\22\uffff\1\25",
|
| "",
|
| ""
|
| };
|
|
|
| static final short[] DFA36_eot = DFA.unpackEncodedString(DFA36_eotS);
|
| static final short[] DFA36_eof = DFA.unpackEncodedString(DFA36_eofS);
|
| static final char[] DFA36_min = DFA.unpackEncodedStringToUnsignedChars(DFA36_minS);
|
| static final char[] DFA36_max = DFA.unpackEncodedStringToUnsignedChars(DFA36_maxS);
|
| static final short[] DFA36_accept = DFA.unpackEncodedString(DFA36_acceptS);
|
| static final short[] DFA36_special = DFA.unpackEncodedString(DFA36_specialS);
|
| static final short[][] DFA36_transition;
|
|
|
| static {
|
| int numStates = DFA36_transitionS.length;
|
| DFA36_transition = new short[numStates][];
|
| for (int i=0; i<numStates; i++) {
|
| DFA36_transition[i] = DFA.unpackEncodedString(DFA36_transitionS[i]);
|
| }
|
| }
|
|
|
| class DFA36 extends DFA {
|
|
|
| public DFA36(BaseRecognizer recognizer) {
|
| this.recognizer = recognizer;
|
| this.decisionNumber = 36;
|
| this.eot = DFA36_eot;
|
| this.eof = DFA36_eof;
|
| this.min = DFA36_min;
|
| this.max = DFA36_max;
|
| this.accept = DFA36_accept;
|
| this.special = DFA36_special;
|
| this.transition = DFA36_transition;
|
| }
|
| public String getDescription() {
|
| return "1840:1: ( ( (lv_name_1_0= ruleUnrestrictedName ) ) otherlv_2= ':' )?";
|
| }
|
| }
|
| static final String DFA41_eotS =
|
| "\27\uffff";
|
| static final String DFA41_eofS =
|
| "\2\uffff\24\1\1\uffff";
|
| static final String DFA41_minS =
|
| "\1\4\1\uffff\24\20\1\uffff";
|
| static final String DFA41_maxS =
|
| "\1\134\1\uffff\24\123\1\uffff";
|
| static final String DFA41_acceptS =
|
| "\1\uffff\1\1\24\uffff\1\2";
|
| static final String DFA41_specialS =
|
| "\27\uffff}>";
|
| static final String[] DFA41_transitionS = {
|
| "\1\2\1\3\2\1\10\uffff\1\26\7\uffff\1\4\1\7\1\21\1\6\1\11\1"+
|
| "\5\1\14\1\13\1\16\1\17\1\1\1\uffff\1\22\1\20\1\15\1\23\1\10"+
|
| "\1\12\1\uffff\1\1\1\24\1\25\2\1\15\uffff\16\1\4\uffff\4\1\3"+
|
| "\uffff\1\1\3\uffff\1\1\1\uffff\1\1",
|
| "",
|
| "\1\26\2\1\2\uffff\2\1\13\uffff\1\1\7\uffff\2\1\2\uffff\1\1"+
|
| "\1\uffff\15\1\17\uffff\1\1\6\uffff\1\1",
|
| "\1\26\2\1\2\uffff\2\1\13\uffff\1\1\7\uffff\2\1\2\uffff\1\1"+
|
| "\1\uffff\15\1\17\uffff\1\1\6\uffff\1\1",
|
| "\1\26\2\1\2\uffff\2\1\13\uffff\1\1\7\uffff\2\1\2\uffff\1\1"+
|
| "\1\uffff\15\1\17\uffff\1\1\6\uffff\1\1",
|
| "\1\26\2\1\2\uffff\2\1\13\uffff\1\1\7\uffff\2\1\2\uffff\1\1"+
|
| "\1\uffff\15\1\17\uffff\1\1\6\uffff\1\1",
|
| "\1\26\2\1\2\uffff\2\1\13\uffff\1\1\7\uffff\2\1\2\uffff\1\1"+
|
| "\1\uffff\15\1\17\uffff\1\1\6\uffff\1\1",
|
| "\1\26\2\1\2\uffff\2\1\13\uffff\1\1\7\uffff\2\1\2\uffff\1\1"+
|
| "\1\uffff\15\1\17\uffff\1\1\6\uffff\1\1",
|
| "\1\26\2\1\2\uffff\2\1\13\uffff\1\1\7\uffff\2\1\2\uffff\1\1"+
|
| "\1\uffff\15\1\17\uffff\1\1\6\uffff\1\1",
|
| "\1\26\2\1\2\uffff\2\1\13\uffff\1\1\7\uffff\2\1\2\uffff\1\1"+
|
| "\1\uffff\15\1\17\uffff\1\1\6\uffff\1\1",
|
| "\1\26\2\1\2\uffff\2\1\13\uffff\1\1\7\uffff\2\1\2\uffff\1\1"+
|
| "\1\uffff\15\1\17\uffff\1\1\6\uffff\1\1",
|
| "\1\26\2\1\2\uffff\2\1\13\uffff\1\1\7\uffff\2\1\2\uffff\1\1"+
|
| "\1\uffff\15\1\17\uffff\1\1\6\uffff\1\1",
|
| "\1\26\2\1\2\uffff\2\1\13\uffff\1\1\7\uffff\2\1\2\uffff\1\1"+
|
| "\1\uffff\15\1\17\uffff\1\1\6\uffff\1\1",
|
| "\1\26\2\1\2\uffff\2\1\13\uffff\1\1\7\uffff\2\1\2\uffff\1\1"+
|
| "\1\uffff\15\1\17\uffff\1\1\6\uffff\1\1",
|
| "\1\26\2\1\2\uffff\2\1\13\uffff\1\1\7\uffff\2\1\2\uffff\1\1"+
|
| "\1\uffff\15\1\17\uffff\1\1\6\uffff\1\1",
|
| "\1\26\2\1\2\uffff\2\1\13\uffff\1\1\7\uffff\2\1\2\uffff\1\1"+
|
| "\1\uffff\15\1\17\uffff\1\1\6\uffff\1\1",
|
| "\1\26\2\1\2\uffff\2\1\13\uffff\1\1\7\uffff\2\1\2\uffff\1\1"+
|
| "\1\uffff\15\1\17\uffff\1\1\6\uffff\1\1",
|
| "\1\26\2\1\2\uffff\2\1\13\uffff\1\1\7\uffff\2\1\2\uffff\1\1"+
|
| "\1\uffff\15\1\17\uffff\1\1\6\uffff\1\1",
|
| "\1\26\2\1\2\uffff\2\1\13\uffff\1\1\7\uffff\2\1\2\uffff\1\1"+
|
| "\1\uffff\15\1\17\uffff\1\1\6\uffff\1\1",
|
| "\1\26\2\1\2\uffff\2\1\13\uffff\1\1\7\uffff\2\1\2\uffff\1\1"+
|
| "\1\uffff\15\1\17\uffff\1\1\6\uffff\1\1",
|
| "\1\26\2\1\2\uffff\2\1\13\uffff\1\1\7\uffff\2\1\2\uffff\1\1"+
|
| "\1\uffff\15\1\17\uffff\1\1\6\uffff\1\1",
|
| "\1\26\2\1\2\uffff\2\1\13\uffff\1\1\7\uffff\2\1\2\uffff\1\1"+
|
| "\1\uffff\15\1\17\uffff\1\1\6\uffff\1\1",
|
| ""
|
| };
|
|
|
| static final short[] DFA41_eot = DFA.unpackEncodedString(DFA41_eotS);
|
| static final short[] DFA41_eof = DFA.unpackEncodedString(DFA41_eofS);
|
| static final char[] DFA41_min = DFA.unpackEncodedStringToUnsignedChars(DFA41_minS);
|
| static final char[] DFA41_max = DFA.unpackEncodedStringToUnsignedChars(DFA41_maxS);
|
| static final short[] DFA41_accept = DFA.unpackEncodedString(DFA41_acceptS);
|
| static final short[] DFA41_special = DFA.unpackEncodedString(DFA41_specialS);
|
| static final short[][] DFA41_transition;
|
|
|
| static {
|
| int numStates = DFA41_transitionS.length;
|
| DFA41_transition = new short[numStates][];
|
| for (int i=0; i<numStates; i++) {
|
| DFA41_transition[i] = DFA.unpackEncodedString(DFA41_transitionS[i]);
|
| }
|
| }
|
|
|
| class DFA41 extends DFA {
|
|
|
| public DFA41(BaseRecognizer recognizer) {
|
| this.recognizer = recognizer;
|
| this.decisionNumber = 41;
|
| this.eot = DFA41_eot;
|
| this.eof = DFA41_eof;
|
| this.min = DFA41_min;
|
| this.max = DFA41_max;
|
| this.accept = DFA41_accept;
|
| this.special = DFA41_special;
|
| this.transition = DFA41_transition;
|
| }
|
| public String getDescription() {
|
| return "2172:1: (this_ExpCS_0= ruleExpCS | this_TemplateCS_1= ruleTemplateCS )";
|
| }
|
| }
|
| static final String DFA80_eotS =
|
| "\6\uffff";
|
| static final String DFA80_eofS =
|
| "\6\uffff";
|
| static final String DFA80_minS =
|
| "\3\4\3\uffff";
|
| static final String DFA80_maxS =
|
| "\3\134\3\uffff";
|
| static final String DFA80_acceptS =
|
| "\3\uffff\1\1\1\3\1\2";
|
| static final String DFA80_specialS =
|
| "\6\uffff}>";
|
| static final String[] DFA80_transitionS = {
|
| "\4\3\20\uffff\13\3\1\uffff\6\3\1\uffff\3\3\1\1\1\2\15\uffff"+
|
| "\16\3\4\uffff\4\3\3\uffff\1\3\3\uffff\1\4\1\uffff\1\3",
|
| "\4\3\20\uffff\13\3\1\uffff\6\3\1\uffff\3\3\1\1\1\2\15\uffff"+
|
| "\16\3\4\uffff\4\3\3\uffff\1\3\3\uffff\1\5\1\uffff\1\3",
|
| "\4\3\20\uffff\13\3\1\uffff\6\3\1\uffff\3\3\1\1\1\2\15\uffff"+
|
| "\16\3\4\uffff\4\3\3\uffff\1\3\3\uffff\1\5\1\uffff\1\3",
|
| "",
|
| "",
|
| ""
|
| };
|
|
|
| static final short[] DFA80_eot = DFA.unpackEncodedString(DFA80_eotS);
|
| static final short[] DFA80_eof = DFA.unpackEncodedString(DFA80_eofS);
|
| static final char[] DFA80_min = DFA.unpackEncodedStringToUnsignedChars(DFA80_minS);
|
| static final char[] DFA80_max = DFA.unpackEncodedStringToUnsignedChars(DFA80_maxS);
|
| static final short[] DFA80_accept = DFA.unpackEncodedString(DFA80_acceptS);
|
| static final short[] DFA80_special = DFA.unpackEncodedString(DFA80_specialS);
|
| static final short[][] DFA80_transition;
|
|
|
| static {
|
| int numStates = DFA80_transitionS.length;
|
| DFA80_transition = new short[numStates][];
|
| for (int i=0; i<numStates; i++) {
|
| DFA80_transition[i] = DFA.unpackEncodedString(DFA80_transitionS[i]);
|
| }
|
| }
|
|
|
| class DFA80 extends DFA {
|
|
|
| public DFA80(BaseRecognizer recognizer) {
|
| this.recognizer = recognizer;
|
| this.decisionNumber = 80;
|
| this.eot = DFA80_eot;
|
| this.eof = DFA80_eof;
|
| this.min = DFA80_min;
|
| this.max = DFA80_max;
|
| this.accept = DFA80_accept;
|
| this.special = DFA80_special;
|
| this.transition = DFA80_transition;
|
| }
|
| public String getDescription() {
|
| return "5034:1: ( (this_PrefixedExpCS_0= rulePrefixedExpCS ( () ( (lv_ownedOperator_2_0= ruleBinaryOperatorCS ) ) ( ( ( (lv_ownedExpression_3_0= rulePrefixedExpCS ) ) ( ( (lv_ownedOperator_4_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_5_0= rulePrefixedExpCS ) ) )* ( ( (lv_ownedOperator_6_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_7_0= ruleLetExpCS ) ) )? ) | ( (lv_ownedExpression_8_0= ruleLetExpCS ) ) ) )? ) | ( () ( (lv_ownedOperator_10_0= ruleUnaryOperatorCS ) )+ ( (lv_ownedExpression_11_0= ruleLetExpCS ) ) ) | this_LetExpCS_12= ruleLetExpCS )";
|
| }
|
| }
|
| static final String DFA75_eotS =
|
| "\23\uffff";
|
| static final String DFA75_eofS =
|
| "\1\21\22\uffff";
|
| static final String DFA75_minS =
|
| "\1\20\20\4\2\uffff";
|
| static final String DFA75_maxS =
|
| "\1\133\20\134\2\uffff";
|
| static final String DFA75_acceptS =
|
| "\21\uffff\1\2\1\1";
|
| static final String DFA75_specialS =
|
| "\23\uffff}>";
|
| static final String[] DFA75_transitionS = {
|
| "\1\21\1\uffff\1\21\2\uffff\1\21\1\11\1\21\5\uffff\1\21\5\uffff"+
|
| "\1\21\7\uffff\1\1\2\uffff\1\4\1\uffff\1\2\1\3\1\5\1\6\1\7\1"+
|
| "\10\1\12\1\13\1\14\1\15\1\16\1\17\1\20\16\uffff\1\21\1\uffff"+
|
| "\1\21\7\uffff\1\21\1\uffff\3\21\1\uffff\1\21",
|
| "\4\22\20\uffff\13\22\1\uffff\6\22\1\uffff\5\22\15\uffff\16"+
|
| "\22\4\uffff\4\22\3\uffff\1\22\3\uffff\1\21\1\uffff\1\22",
|
| "\4\22\20\uffff\13\22\1\uffff\6\22\1\uffff\5\22\15\uffff\16"+
|
| "\22\4\uffff\4\22\3\uffff\1\22\3\uffff\1\21\1\uffff\1\22",
|
| "\4\22\20\uffff\13\22\1\uffff\6\22\1\uffff\5\22\15\uffff\16"+
|
| "\22\4\uffff\4\22\3\uffff\1\22\3\uffff\1\21\1\uffff\1\22",
|
| "\4\22\20\uffff\13\22\1\uffff\6\22\1\uffff\5\22\15\uffff\16"+
|
| "\22\4\uffff\4\22\3\uffff\1\22\3\uffff\1\21\1\uffff\1\22",
|
| "\4\22\20\uffff\13\22\1\uffff\6\22\1\uffff\5\22\15\uffff\16"+
|
| "\22\4\uffff\4\22\3\uffff\1\22\3\uffff\1\21\1\uffff\1\22",
|
| "\4\22\20\uffff\13\22\1\uffff\6\22\1\uffff\5\22\15\uffff\16"+
|
| "\22\4\uffff\4\22\3\uffff\1\22\3\uffff\1\21\1\uffff\1\22",
|
| "\4\22\20\uffff\13\22\1\uffff\6\22\1\uffff\5\22\15\uffff\16"+
|
| "\22\4\uffff\4\22\3\uffff\1\22\3\uffff\1\21\1\uffff\1\22",
|
| "\4\22\20\uffff\13\22\1\uffff\6\22\1\uffff\5\22\15\uffff\16"+
|
| "\22\4\uffff\4\22\3\uffff\1\22\3\uffff\1\21\1\uffff\1\22",
|
| "\4\22\20\uffff\13\22\1\uffff\6\22\1\uffff\5\22\15\uffff\16"+
|
| "\22\4\uffff\4\22\3\uffff\1\22\3\uffff\1\21\1\uffff\1\22",
|
| "\4\22\20\uffff\13\22\1\uffff\6\22\1\uffff\5\22\15\uffff\16"+
|
| "\22\4\uffff\4\22\3\uffff\1\22\3\uffff\1\21\1\uffff\1\22",
|
| "\4\22\20\uffff\13\22\1\uffff\6\22\1\uffff\5\22\15\uffff\16"+
|
| "\22\4\uffff\4\22\3\uffff\1\22\3\uffff\1\21\1\uffff\1\22",
|
| "\4\22\20\uffff\13\22\1\uffff\6\22\1\uffff\5\22\15\uffff\16"+
|
| "\22\4\uffff\4\22\3\uffff\1\22\3\uffff\1\21\1\uffff\1\22",
|
| "\4\22\20\uffff\13\22\1\uffff\6\22\1\uffff\5\22\15\uffff\16"+
|
| "\22\4\uffff\4\22\3\uffff\1\22\3\uffff\1\21\1\uffff\1\22",
|
| "\4\22\20\uffff\13\22\1\uffff\6\22\1\uffff\5\22\15\uffff\16"+
|
| "\22\4\uffff\4\22\3\uffff\1\22\3\uffff\1\21\1\uffff\1\22",
|
| "\4\22\20\uffff\13\22\1\uffff\6\22\1\uffff\5\22\15\uffff\16"+
|
| "\22\4\uffff\4\22\3\uffff\1\22\3\uffff\1\21\1\uffff\1\22",
|
| "\4\22\20\uffff\13\22\1\uffff\6\22\1\uffff\5\22\15\uffff\16"+
|
| "\22\4\uffff\4\22\3\uffff\1\22\3\uffff\1\21\1\uffff\1\22",
|
| "",
|
| ""
|
| };
|
|
|
| static final short[] DFA75_eot = DFA.unpackEncodedString(DFA75_eotS);
|
| static final short[] DFA75_eof = DFA.unpackEncodedString(DFA75_eofS);
|
| static final char[] DFA75_min = DFA.unpackEncodedStringToUnsignedChars(DFA75_minS);
|
| static final char[] DFA75_max = DFA.unpackEncodedStringToUnsignedChars(DFA75_maxS);
|
| static final short[] DFA75_accept = DFA.unpackEncodedString(DFA75_acceptS);
|
| static final short[] DFA75_special = DFA.unpackEncodedString(DFA75_specialS);
|
| static final short[][] DFA75_transition;
|
|
|
| static {
|
| int numStates = DFA75_transitionS.length;
|
| DFA75_transition = new short[numStates][];
|
| for (int i=0; i<numStates; i++) {
|
| DFA75_transition[i] = DFA.unpackEncodedString(DFA75_transitionS[i]);
|
| }
|
| }
|
|
|
| class DFA75 extends DFA {
|
|
|
| public DFA75(BaseRecognizer recognizer) {
|
| this.recognizer = recognizer;
|
| this.decisionNumber = 75;
|
| this.eot = DFA75_eot;
|
| this.eof = DFA75_eof;
|
| this.min = DFA75_min;
|
| this.max = DFA75_max;
|
| this.accept = DFA75_accept;
|
| this.special = DFA75_special;
|
| this.transition = DFA75_transition;
|
| }
|
| public String getDescription() {
|
| return "()* loopback of 5091:2: ( ( (lv_ownedOperator_4_0= ruleBinaryOperatorCS ) ) ( (lv_ownedExpression_5_0= rulePrefixedExpCS ) ) )*";
|
| }
|
| }
|
| static final String DFA98_eotS =
|
| "\57\uffff";
|
| static final String DFA98_eofS =
|
| "\57\uffff";
|
| static final String DFA98_minS =
|
| "\1\4\12\uffff\6\0\36\uffff";
|
| static final String DFA98_maxS =
|
| "\1\134\12\uffff\6\0\36\uffff";
|
| static final String DFA98_acceptS =
|
| "\1\uffff\1\1\1\2\1\3\1\4\14\uffff\1\7\7\uffff\1\10\23\uffff\1\5"+
|
| "\1\6";
|
| static final String DFA98_specialS =
|
| "\13\uffff\1\0\1\1\1\2\1\3\1\4\1\5\36\uffff}>";
|
| static final String[] DFA98_transitionS = {
|
| "\2\31\2\4\20\uffff\12\31\1\1\1\uffff\6\31\1\uffff\1\4\2\31"+
|
| "\17\uffff\1\13\10\21\1\14\1\15\1\16\1\17\1\20\4\uffff\4\4\3"+
|
| "\uffff\1\2\5\uffff\1\3",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "\1\uffff",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| "",
|
| ""
|
| };
|
|
|
| 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 "5341:1: (this_NestedExpCS_0= ruleNestedExpCS | this_IfExpCS_1= ruleIfExpCS | this_SelfExpCS_2= ruleSelfExpCS | this_PrimitiveLiteralExpCS_3= rulePrimitiveLiteralExpCS | this_TupleLiteralExpCS_4= ruleTupleLiteralExpCS | this_CollectionLiteralExpCS_5= ruleCollectionLiteralExpCS | this_TypeLiteralExpCS_6= ruleTypeLiteralExpCS | ( () ( (lv_pathName_8_0= rulePathNameCS ) ) ( ( () otherlv_10= '[' ( (lv_firstIndexes_11_0= ruleExpCS ) ) (otherlv_12= ',' ( (lv_firstIndexes_13_0= ruleExpCS ) ) )* otherlv_14= ']' (otherlv_15= '[' ( (lv_secondIndexes_16_0= ruleExpCS ) ) (otherlv_17= ',' ( (lv_secondIndexes_18_0= ruleExpCS ) ) )* otherlv_19= ']' )? ( ( (lv_atPre_20_0= '@' ) ) otherlv_21= 'pre' )? ) | ( () otherlv_23= '{' ( ( ( (lv_ownedParts_24_0= ruleConstructorPartCS ) ) (otherlv_25= ',' ( (lv_ownedParts_26_0= ruleConstructorPartCS ) ) )* ) | ( (lv_value_27_0= ruleStringLiteral ) ) ) otherlv_28= '}' ) | ( ( ( (lv_atPre_29_0= '@' ) ) otherlv_30= 'pre' )? ( () otherlv_32= '(' ( ( (lv_argument_33_0= ruleNavigatingArgCS ) ) ( (lv_argument_34_0= ruleNavigatingCommaArgCS ) )* ( ( (lv_argument_35_0= ruleNavigatingSemiArgCS ) ) ( (lv_argument_36_0= ruleNavigatingCommaArgCS ) )* )? ( ( (lv_argument_37_0= ruleNavigatingBarArgCS ) ) ( (lv_argument_38_0= ruleNavigatingCommaArgCS ) )* )? )? otherlv_39= ')' )? ) ) ) )";
|
| }
|
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
|
| TokenStream input = (TokenStream)_input;
|
| int _s = s;
|
| switch ( s ) {
|
| case 0 :
|
| int LA98_11 = input.LA(1);
|
|
|
|
|
| int index98_11 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred140_InternalQVTrelation()) ) {s = 45;}
|
|
|
| else if ( (synpred142_InternalQVTrelation()) ) {s = 17;}
|
|
|
|
|
| input.seek(index98_11);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 1 :
|
| int LA98_12 = input.LA(1);
|
|
|
|
|
| int index98_12 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred141_InternalQVTrelation()) ) {s = 46;}
|
|
|
| else if ( (synpred142_InternalQVTrelation()) ) {s = 17;}
|
|
|
|
|
| input.seek(index98_12);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 2 :
|
| int LA98_13 = input.LA(1);
|
|
|
|
|
| int index98_13 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred141_InternalQVTrelation()) ) {s = 46;}
|
|
|
| else if ( (synpred142_InternalQVTrelation()) ) {s = 17;}
|
|
|
|
|
| input.seek(index98_13);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 3 :
|
| int LA98_14 = input.LA(1);
|
|
|
|
|
| int index98_14 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred141_InternalQVTrelation()) ) {s = 46;}
|
|
|
| else if ( (synpred142_InternalQVTrelation()) ) {s = 17;}
|
|
|
|
|
| input.seek(index98_14);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 4 :
|
| int LA98_15 = input.LA(1);
|
|
|
|
|
| int index98_15 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred141_InternalQVTrelation()) ) {s = 46;}
|
|
|
| else if ( (synpred142_InternalQVTrelation()) ) {s = 17;}
|
|
|
|
|
| input.seek(index98_15);
|
| if ( s>=0 ) return s;
|
| break;
|
| case 5 :
|
| int LA98_16 = input.LA(1);
|
|
|
|
|
| int index98_16 = input.index();
|
| input.rewind();
|
| s = -1;
|
| if ( (synpred141_InternalQVTrelation()) ) {s = 46;}
|
|
|
| else if ( (synpred142_InternalQVTrelation()) ) {s = 17;}
|
|
|
|
|
| input.seek(index98_16);
|
| if ( s>=0 ) return s;
|
| break;
|
| }
|
| if (state.backtracking>0) {state.failed=true; return -1;}
|
| NoViableAltException nvae =
|
| new NoViableAltException(getDescription(), 98, _s, input);
|
| error(nvae);
|
| throw nvae;
|
| }
|
| }
|
|
|
|
|
| |
| private static class FollowSets000 { |
| public static final BitSet FOLLOW_ruleTopLevelCS_in_entryRuleTopLevelCS81 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTopLevelCS91 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnitCS_in_ruleTopLevelCS138 = new BitSet(new long[]{0x0000028080000002L}); |
| public static final BitSet FOLLOW_ruleLibraryCS_in_ruleTopLevelCS165 = new BitSet(new long[]{0x0000028080000002L}); |
| public static final BitSet FOLLOW_ruleTransformationCS_in_ruleTopLevelCS188 = new BitSet(new long[]{0x0000008000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionTemplateCS_in_entryRuleCollectionTemplateCS225 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleCollectionTemplateCS235 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleCollectionTemplateCS281 = new BitSet(new long[]{0x0000000000010000L}); |
| public static final BitSet FOLLOW_16_in_ruleCollectionTemplateCS294 = new BitSet(new long[]{0x0000000000000000L,0x00000000000007C0L}); |
| public static final BitSet FOLLOW_ruleCollectionTypeCS_in_ruleCollectionTemplateCS315 = new BitSet(new long[]{0x0000000000020000L}); |
| public static final BitSet FOLLOW_17_in_ruleCollectionTemplateCS327 = new BitSet(new long[]{0x000033F3FF310030L}); |
| public static final BitSet FOLLOW_ruleTemplateCS_in_ruleCollectionTemplateCS351 = new BitSet(new long[]{0x00000000000C0000L}); |
| public static final BitSet FOLLOW_ruleElementTemplateCS_in_ruleCollectionTemplateCS370 = new BitSet(new long[]{0x00000000000C0000L}); |
| public static final BitSet FOLLOW_18_in_ruleCollectionTemplateCS386 = new BitSet(new long[]{0x000033F3FF110030L}); |
| public static final BitSet FOLLOW_ruleTemplateCS_in_ruleCollectionTemplateCS409 = new BitSet(new long[]{0x00000000000C0000L}); |
| public static final BitSet FOLLOW_ruleElementTemplateCS_in_ruleCollectionTemplateCS428 = new BitSet(new long[]{0x00000000000C0000L}); |
| public static final BitSet FOLLOW_19_in_ruleCollectionTemplateCS445 = new BitSet(new long[]{0x000033F3FF100030L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleCollectionTemplateCS473 = new BitSet(new long[]{0x0000000000200000L}); |
| public static final BitSet FOLLOW_20_in_ruleCollectionTemplateCS491 = new BitSet(new long[]{0x0000000000200000L}); |
| public static final BitSet FOLLOW_21_in_ruleCollectionTemplateCS506 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleDefaultValueCS_in_entryRuleDefaultValueCS542 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleDefaultValueCS552 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleDefaultValueCS604 = new BitSet(new long[]{0x0000000000400000L}); |
| public static final BitSet FOLLOW_22_in_ruleDefaultValueCS616 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleDefaultValueCS637 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_ruleDefaultValueCS649 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleDomainCS_in_entryRuleDomainCS685 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleDomainCS695 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_24_in_ruleDomainCS739 = new BitSet(new long[]{0x0000000008000000L}); |
| public static final BitSet FOLLOW_25_in_ruleDomainCS776 = new BitSet(new long[]{0x0000000008000000L}); |
| public static final BitSet FOLLOW_26_in_ruleDomainCS807 = new BitSet(new long[]{0x0000000008000000L}); |
| public static final BitSet FOLLOW_27_in_ruleDomainCS821 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleDomainCS848 = new BitSet(new long[]{0x000033F3FF010030L}); |
| public static final BitSet FOLLOW_ruleDomainPatternCS_in_ruleDomainCS869 = new BitSet(new long[]{0x0000000030800000L}); |
| public static final BitSet FOLLOW_28_in_ruleDomainCS882 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleDomainCS903 = new BitSet(new long[]{0x0000000020800000L}); |
| public static final BitSet FOLLOW_29_in_ruleDomainCS918 = new BitSet(new long[]{0x0000000000020000L}); |
| public static final BitSet FOLLOW_17_in_ruleDomainCS930 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleDefaultValueCS_in_ruleDomainCS951 = new BitSet(new long[]{0x000033F3FF200030L}); |
| public static final BitSet FOLLOW_21_in_ruleDomainCS964 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_ruleDomainCS978 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleDomainPatternCS_in_entryRuleDomainPatternCS1014 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleDomainPatternCS1024 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTemplateCS_in_ruleDomainPatternCS1069 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleElementTemplateCS_in_entryRuleElementTemplateCS1104 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleElementTemplateCS1114 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleElementTemplateCS1160 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_20_in_ruleElementTemplateCS1191 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleKeyDeclCS_in_entryRuleKeyDeclCS1228 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleKeyDeclCS1238 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_30_in_ruleKeyDeclCS1275 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000104787FFL}); |
| public static final BitSet FOLLOW_rulePathNameCS_in_ruleKeyDeclCS1296 = new BitSet(new long[]{0x0000000000020000L}); |
| public static final BitSet FOLLOW_17_in_ruleKeyDeclCS1308 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleKeyDeclCS1335 = new BitSet(new long[]{0x0000000000240000L}); |
| public static final BitSet FOLLOW_18_in_ruleKeyDeclCS1348 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleKeyDeclCS1375 = new BitSet(new long[]{0x0000000000240000L}); |
| public static final BitSet FOLLOW_21_in_ruleKeyDeclCS1389 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_ruleKeyDeclCS1401 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleLibraryCS_in_entryRuleLibraryCS1437 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleLibraryCS1447 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_31_in_ruleLibraryCS1484 = new BitSet(new long[]{0x0000000000000080L}); |
| public static final BitSet FOLLOW_ruleURI_in_ruleLibraryCS1511 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_ruleLibraryCS1523 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleModelDeclCS_in_entryRuleModelDeclCS1559 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleModelDeclCS1569 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleModelDeclCS1615 = new BitSet(new long[]{0x0000000000010000L}); |
| public static final BitSet FOLLOW_16_in_ruleModelDeclCS1627 = new BitSet(new long[]{0x000033F3FF020030L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleModelDeclCS1655 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_17_in_ruleModelDeclCS1674 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleModelDeclCS1701 = new BitSet(new long[]{0x0000000000240000L}); |
| public static final BitSet FOLLOW_18_in_ruleModelDeclCS1714 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleModelDeclCS1741 = new BitSet(new long[]{0x0000000000240000L}); |
| public static final BitSet FOLLOW_21_in_ruleModelDeclCS1755 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleObjectTemplateCS_in_entryRuleObjectTemplateCS1793 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleObjectTemplateCS1803 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleObjectTemplateCS1849 = new BitSet(new long[]{0x0000000000010000L}); |
| public static final BitSet FOLLOW_16_in_ruleObjectTemplateCS1862 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000104787FFL}); |
| public static final BitSet FOLLOW_ruleTypedRefCS_in_ruleObjectTemplateCS1883 = new BitSet(new long[]{0x0000000000020000L}); |
| public static final BitSet FOLLOW_17_in_ruleObjectTemplateCS1895 = new BitSet(new long[]{0x000033F3FF200030L}); |
| public static final BitSet FOLLOW_rulePropertyTemplateCS_in_ruleObjectTemplateCS1917 = new BitSet(new long[]{0x0000000000240000L}); |
| public static final BitSet FOLLOW_18_in_ruleObjectTemplateCS1930 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_rulePropertyTemplateCS_in_ruleObjectTemplateCS1951 = new BitSet(new long[]{0x0000000000240000L}); |
| public static final BitSet FOLLOW_21_in_ruleObjectTemplateCS1967 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleParamDeclarationCS_in_entryRuleParamDeclarationCS2003 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleParamDeclarationCS2013 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleParamDeclarationCS2059 = new BitSet(new long[]{0x0000000000010000L}); |
| public static final BitSet FOLLOW_16_in_ruleParamDeclarationCS2071 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000104787FFL}); |
| public static final BitSet FOLLOW_ruleTypedRefCS_in_ruleParamDeclarationCS2092 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePredicateCS_in_entryRulePredicateCS2128 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRulePredicateCS2138 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_rulePredicateCS2184 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_rulePredicateCS2196 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrimitiveTypeDomainCS_in_entryRulePrimitiveTypeDomainCS2232 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRulePrimitiveTypeDomainCS2242 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_32_in_rulePrimitiveTypeDomainCS2279 = new BitSet(new long[]{0x0000000008000000L}); |
| public static final BitSet FOLLOW_27_in_rulePrimitiveTypeDomainCS2291 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_rulePrimitiveTypeDomainCS2312 = new BitSet(new long[]{0x0000000000010000L}); |
| public static final BitSet FOLLOW_16_in_rulePrimitiveTypeDomainCS2324 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000104787FFL}); |
| public static final BitSet FOLLOW_ruleTypedRefCS_in_rulePrimitiveTypeDomainCS2345 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_rulePrimitiveTypeDomainCS2357 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePropertyTemplateCS_in_entryRulePropertyTemplateCS2393 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRulePropertyTemplateCS2403 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_rulePropertyTemplateCS2455 = new BitSet(new long[]{0x0000000000400000L}); |
| public static final BitSet FOLLOW_22_in_rulePropertyTemplateCS2467 = new BitSet(new long[]{0xE000FBF7FF0100F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleExpCSOrTemplateCS_in_rulePropertyTemplateCS2488 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleQueryCS_in_entryRuleQueryCS2524 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleQueryCS2534 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_33_in_ruleQueryCS2571 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleQueryCS2592 = new BitSet(new long[]{0x0000000400000000L}); |
| public static final BitSet FOLLOW_34_in_ruleQueryCS2604 = new BitSet(new long[]{0x000033FBFF000030L}); |
| public static final BitSet FOLLOW_ruleParamDeclarationCS_in_ruleQueryCS2626 = new BitSet(new long[]{0x0000000800040000L}); |
| public static final BitSet FOLLOW_18_in_ruleQueryCS2639 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleParamDeclarationCS_in_ruleQueryCS2660 = new BitSet(new long[]{0x0000000800040000L}); |
| public static final BitSet FOLLOW_35_in_ruleQueryCS2676 = new BitSet(new long[]{0x0000000000010000L}); |
| public static final BitSet FOLLOW_16_in_ruleQueryCS2688 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000104787FFL}); |
| public static final BitSet FOLLOW_ruleTypedRefCS_in_ruleQueryCS2709 = new BitSet(new long[]{0x0000000000820000L}); |
| public static final BitSet FOLLOW_23_in_ruleQueryCS2722 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_17_in_ruleQueryCS2741 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleQueryCS2762 = new BitSet(new long[]{0x0000000000200000L}); |
| public static final BitSet FOLLOW_21_in_ruleQueryCS2774 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleRelationCS_in_entryRuleRelationCS2812 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleRelationCS2822 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_36_in_ruleRelationCS2865 = new BitSet(new long[]{0x0000002000000000L}); |
| public static final BitSet FOLLOW_37_in_ruleRelationCS2891 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleRelationCS2912 = new BitSet(new long[]{0x0000004000020000L}); |
| public static final BitSet FOLLOW_38_in_ruleRelationCS2925 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleRelationCS2952 = new BitSet(new long[]{0x0000000000020000L}); |
| public static final BitSet FOLLOW_17_in_ruleRelationCS2966 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleVarDeclarationCS_in_ruleRelationCS2987 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleDomainCS_in_ruleRelationCS3010 = new BitSet(new long[]{0x000033F3FF200030L}); |
| public static final BitSet FOLLOW_rulePrimitiveTypeDomainCS_in_ruleRelationCS3037 = new BitSet(new long[]{0x000033F3FF200030L}); |
| public static final BitSet FOLLOW_ruleWhenCS_in_ruleRelationCS3060 = new BitSet(new long[]{0x0000200000200000L}); |
| public static final BitSet FOLLOW_ruleWhereCS_in_ruleRelationCS3082 = new BitSet(new long[]{0x0000000000200000L}); |
| public static final BitSet FOLLOW_21_in_ruleRelationCS3095 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTemplateCS_in_entryRuleTemplateCS3131 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTemplateCS3141 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionTemplateCS_in_ruleTemplateCS3192 = new BitSet(new long[]{0x0000000000020002L}); |
| public static final BitSet FOLLOW_ruleObjectTemplateCS_in_ruleTemplateCS3222 = new BitSet(new long[]{0x0000000000020002L}); |
| public static final BitSet FOLLOW_17_in_ruleTemplateCS3235 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleTemplateCS3256 = new BitSet(new long[]{0x0000000000200000L}); |
| public static final BitSet FOLLOW_21_in_ruleTemplateCS3268 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTransformationCS_in_entryRuleTransformationCS3306 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTransformationCS3316 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_39_in_ruleTransformationCS3353 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleTransformationCS3374 = new BitSet(new long[]{0x0000000400000000L}); |
| public static final BitSet FOLLOW_34_in_ruleTransformationCS3386 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleModelDeclCS_in_ruleTransformationCS3407 = new BitSet(new long[]{0x0000000800040000L}); |
| public static final BitSet FOLLOW_18_in_ruleTransformationCS3420 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleModelDeclCS_in_ruleTransformationCS3441 = new BitSet(new long[]{0x0000000800040000L}); |
| public static final BitSet FOLLOW_35_in_ruleTransformationCS3455 = new BitSet(new long[]{0x0000010000020000L}); |
| public static final BitSet FOLLOW_40_in_ruleTransformationCS3468 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleTransformationCS3495 = new BitSet(new long[]{0x0000000000060000L}); |
| public static final BitSet FOLLOW_18_in_ruleTransformationCS3508 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleTransformationCS3535 = new BitSet(new long[]{0x0000000000060000L}); |
| public static final BitSet FOLLOW_17_in_ruleTransformationCS3551 = new BitSet(new long[]{0x0000003240200000L}); |
| public static final BitSet FOLLOW_ruleKeyDeclCS_in_ruleTransformationCS3572 = new BitSet(new long[]{0x0000003240200000L}); |
| public static final BitSet FOLLOW_ruleRelationCS_in_ruleTransformationCS3595 = new BitSet(new long[]{0x0000003200200000L}); |
| public static final BitSet FOLLOW_ruleQueryCS_in_ruleTransformationCS3622 = new BitSet(new long[]{0x0000003200200000L}); |
| public static final BitSet FOLLOW_21_in_ruleTransformationCS3636 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnitCS_in_entryRuleUnitCS3672 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleUnitCS3682 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_41_in_ruleUnitCS3719 = new BitSet(new long[]{0x000033F3FF0000B0L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleUnitCS3741 = new BitSet(new long[]{0x0000000000010000L}); |
| public static final BitSet FOLLOW_16_in_ruleUnitCS3753 = new BitSet(new long[]{0x000033F3FF0000B0L}); |
| public static final BitSet FOLLOW_ruleURIPathNameCS_in_ruleUnitCS3776 = new BitSet(new long[]{0x0000040000800000L}); |
| public static final BitSet FOLLOW_42_in_ruleUnitCS3789 = new BitSet(new long[]{0x0000080000000000L}); |
| public static final BitSet FOLLOW_43_in_ruleUnitCS3807 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_ruleUnitCS3834 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleVarDeclarationCS_in_entryRuleVarDeclarationCS3870 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleVarDeclarationCS3880 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleVarDeclarationIdCS_in_ruleVarDeclarationCS3926 = new BitSet(new long[]{0x0000000000050000L}); |
| public static final BitSet FOLLOW_18_in_ruleVarDeclarationCS3939 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleVarDeclarationIdCS_in_ruleVarDeclarationCS3960 = new BitSet(new long[]{0x0000000000050000L}); |
| public static final BitSet FOLLOW_16_in_ruleVarDeclarationCS3974 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000104787FFL}); |
| public static final BitSet FOLLOW_ruleTypedRefCS_in_ruleVarDeclarationCS3995 = new BitSet(new long[]{0x0000000000800000L}); |
| public static final BitSet FOLLOW_23_in_ruleVarDeclarationCS4007 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleVarDeclarationIdCS_in_entryRuleVarDeclarationIdCS4043 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleVarDeclarationIdCS4053 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleVarDeclarationIdCS4098 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleWhenCS_in_entryRuleWhenCS4133 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleWhenCS4143 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_44_in_ruleWhenCS4192 = new BitSet(new long[]{0x0000000000020000L}); |
| public static final BitSet FOLLOW_17_in_ruleWhenCS4204 = new BitSet(new long[]{0xE000FBF7FF2000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_rulePredicateCS_in_ruleWhenCS4225 = new BitSet(new long[]{0xE000FBF7FF2000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_21_in_ruleWhenCS4238 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleWhereCS_in_entryRuleWhereCS4274 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleWhereCS4284 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_45_in_ruleWhereCS4333 = new BitSet(new long[]{0x0000000000020000L}); |
| public static final BitSet FOLLOW_17_in_ruleWhereCS4345 = new BitSet(new long[]{0xE000FBF7FF2000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_rulePredicateCS_in_ruleWhereCS4366 = new BitSet(new long[]{0xE000FBF7FF2000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_21_in_ruleWhereCS4379 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleExpCSOrTemplateCS_in_entryRuleExpCSOrTemplateCS4417 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleExpCSOrTemplateCS4427 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleExpCSOrTemplateCS4477 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTemplateCS_in_ruleExpCSOrTemplateCS4507 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypedTypeRefCS_in_entryRuleTypedTypeRefCS4542 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTypedTypeRefCS4552 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePathNameCS_in_ruleTypedTypeRefCS4597 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypedRefCS_in_entryRuleTypedRefCS4632 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTypedRefCS4642 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrimitiveTypeCS_in_ruleTypedRefCS4692 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionTypeCS_in_ruleTypedRefCS4722 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypedTypeRefCS_in_ruleTypedRefCS4752 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_entryRuleUnrestrictedName4788 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleUnrestrictedName4799 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleEssentialOCLUnrestrictedName_in_ruleUnrestrictedName4846 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_24_in_ruleUnrestrictedName4870 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_29_in_ruleUnrestrictedName4889 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_27_in_ruleUnrestrictedName4908 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_25_in_ruleUnrestrictedName4927 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_40_in_ruleUnrestrictedName4946 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_28_in_ruleUnrestrictedName4965 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_41_in_ruleUnrestrictedName4984 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_31_in_ruleUnrestrictedName5003 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_30_in_ruleUnrestrictedName5022 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_38_in_ruleUnrestrictedName5041 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_32_in_ruleUnrestrictedName5060 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_33_in_ruleUnrestrictedName5079 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_37_in_ruleUnrestrictedName5098 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_26_in_ruleUnrestrictedName5117 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_36_in_ruleUnrestrictedName5136 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_39_in_ruleUnrestrictedName5155 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_44_in_ruleUnrestrictedName5174 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_45_in_ruleUnrestrictedName5193 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleID_in_entryRuleID5236 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleID5247 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_RULE_SIMPLE_ID_in_ruleID5287 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_RULE_ESCAPED_ID_in_ruleID5313 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleLOWER_in_entryRuleLOWER5359 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleLOWER5370 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_RULE_INT_in_ruleLOWER5409 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUPPER_in_entryRuleUPPER5454 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleUPPER5465 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_RULE_INT_in_ruleUPPER5505 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_43_in_ruleUPPER5529 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNUMBER_LITERAL_in_entryRuleNUMBER_LITERAL5570 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNUMBER_LITERAL5581 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_RULE_INT_in_ruleNUMBER_LITERAL5620 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleURI_in_entryRuleURI5665 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleURI5676 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleURI5715 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleEssentialOCLUnaryOperatorCS_in_entryRuleEssentialOCLUnaryOperatorCS5761 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleEssentialOCLUnaryOperatorCS5771 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_46_in_ruleEssentialOCLUnaryOperatorCS5815 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_47_in_ruleEssentialOCLUnaryOperatorCS5844 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleEssentialOCLInfixOperatorCS_in_entryRuleEssentialOCLInfixOperatorCS5895 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleEssentialOCLInfixOperatorCS5905 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_43_in_ruleEssentialOCLInfixOperatorCS5949 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_48_in_ruleEssentialOCLInfixOperatorCS5978 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_49_in_ruleEssentialOCLInfixOperatorCS6007 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_46_in_ruleEssentialOCLInfixOperatorCS6036 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_50_in_ruleEssentialOCLInfixOperatorCS6065 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_51_in_ruleEssentialOCLInfixOperatorCS6094 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_52_in_ruleEssentialOCLInfixOperatorCS6123 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_53_in_ruleEssentialOCLInfixOperatorCS6152 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_22_in_ruleEssentialOCLInfixOperatorCS6181 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_54_in_ruleEssentialOCLInfixOperatorCS6210 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_55_in_ruleEssentialOCLInfixOperatorCS6239 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_56_in_ruleEssentialOCLInfixOperatorCS6268 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_57_in_ruleEssentialOCLInfixOperatorCS6297 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_58_in_ruleEssentialOCLInfixOperatorCS6326 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleEssentialOCLNavigationOperatorCS_in_entryRuleEssentialOCLNavigationOperatorCS6377 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleEssentialOCLNavigationOperatorCS6387 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_59_in_ruleEssentialOCLNavigationOperatorCS6431 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_60_in_ruleEssentialOCLNavigationOperatorCS6460 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleIdentifier_in_entryRuleIdentifier6512 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleIdentifier6523 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleID_in_ruleIdentifier6569 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral6614 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteral6625 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_RULE_SINGLE_QUOTED_STRING_in_ruleStringLiteral6664 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleBinaryOperatorCS_in_entryRuleBinaryOperatorCS6708 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleBinaryOperatorCS6718 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleInfixOperatorCS_in_ruleBinaryOperatorCS6768 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNavigationOperatorCS_in_ruleBinaryOperatorCS6798 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleInfixOperatorCS_in_entryRuleInfixOperatorCS6833 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleInfixOperatorCS6843 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleEssentialOCLInfixOperatorCS_in_ruleInfixOperatorCS6892 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNavigationOperatorCS_in_entryRuleNavigationOperatorCS6926 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNavigationOperatorCS6936 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleEssentialOCLNavigationOperatorCS_in_ruleNavigationOperatorCS6985 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnaryOperatorCS_in_entryRuleUnaryOperatorCS7019 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleUnaryOperatorCS7029 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleEssentialOCLUnaryOperatorCS_in_ruleUnaryOperatorCS7078 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleEssentialOCLUnrestrictedName_in_entryRuleEssentialOCLUnrestrictedName7113 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleEssentialOCLUnrestrictedName7124 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleIdentifier_in_ruleEssentialOCLUnrestrictedName7170 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleEssentialOCLUnreservedName_in_entryRuleEssentialOCLUnreservedName7215 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleEssentialOCLUnreservedName7226 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleEssentialOCLUnreservedName7273 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionTypeIdentifier_in_ruleEssentialOCLUnreservedName7306 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrimitiveTypeIdentifier_in_ruleEssentialOCLUnreservedName7339 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_61_in_ruleEssentialOCLUnreservedName7363 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnreservedName_in_entryRuleUnreservedName7404 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleUnreservedName7415 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleEssentialOCLUnreservedName_in_ruleUnreservedName7461 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePathNameCS_in_entryRulePathNameCS7505 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRulePathNameCS7515 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleFirstPathElementCS_in_rulePathNameCS7561 = new BitSet(new long[]{0x0000040000000002L}); |
| public static final BitSet FOLLOW_42_in_rulePathNameCS7574 = new BitSet(new long[]{0xE00033F3FF000030L,0x00000000000007FFL}); |
| public static final BitSet FOLLOW_ruleNextPathElementCS_in_rulePathNameCS7595 = new BitSet(new long[]{0x0000040000000002L}); |
| public static final BitSet FOLLOW_ruleFirstPathElementCS_in_entryRuleFirstPathElementCS7633 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleFirstPathElementCS7643 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleFirstPathElementCS7694 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNextPathElementCS_in_entryRuleNextPathElementCS7729 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNextPathElementCS7739 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnreservedName_in_ruleNextPathElementCS7790 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleURIPathNameCS_in_entryRuleURIPathNameCS7825 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleURIPathNameCS7835 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleURIFirstPathElementCS_in_ruleURIPathNameCS7881 = new BitSet(new long[]{0x0000040000000002L}); |
| public static final BitSet FOLLOW_42_in_ruleURIPathNameCS7894 = new BitSet(new long[]{0xE00033F3FF000030L,0x00000000000007FFL}); |
| public static final BitSet FOLLOW_ruleNextPathElementCS_in_ruleURIPathNameCS7915 = new BitSet(new long[]{0x0000040000000002L}); |
| public static final BitSet FOLLOW_ruleURIFirstPathElementCS_in_entryRuleURIFirstPathElementCS7953 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleURIFirstPathElementCS7963 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleURIFirstPathElementCS8015 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleURI_in_ruleURIFirstPathElementCS8061 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrimitiveTypeIdentifier_in_entryRulePrimitiveTypeIdentifier8099 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRulePrimitiveTypeIdentifier8110 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_62_in_rulePrimitiveTypeIdentifier8148 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_63_in_rulePrimitiveTypeIdentifier8167 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_64_in_rulePrimitiveTypeIdentifier8186 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_65_in_rulePrimitiveTypeIdentifier8205 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_66_in_rulePrimitiveTypeIdentifier8224 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_67_in_rulePrimitiveTypeIdentifier8243 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_68_in_rulePrimitiveTypeIdentifier8262 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_69_in_rulePrimitiveTypeIdentifier8281 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrimitiveTypeCS_in_entryRulePrimitiveTypeCS8321 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRulePrimitiveTypeCS8331 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrimitiveTypeIdentifier_in_rulePrimitiveTypeCS8376 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionTypeIdentifier_in_entryRuleCollectionTypeIdentifier8412 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleCollectionTypeIdentifier8423 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_70_in_ruleCollectionTypeIdentifier8461 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_71_in_ruleCollectionTypeIdentifier8480 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_72_in_ruleCollectionTypeIdentifier8499 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_73_in_ruleCollectionTypeIdentifier8518 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_74_in_ruleCollectionTypeIdentifier8537 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionTypeCS_in_entryRuleCollectionTypeCS8577 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleCollectionTypeCS8587 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionTypeIdentifier_in_ruleCollectionTypeCS8633 = new BitSet(new long[]{0x0000000400000002L}); |
| public static final BitSet FOLLOW_34_in_ruleCollectionTypeCS8646 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000104787FFL}); |
| public static final BitSet FOLLOW_ruleTypeExpCS_in_ruleCollectionTypeCS8667 = new BitSet(new long[]{0x0000000800000000L}); |
| public static final BitSet FOLLOW_35_in_ruleCollectionTypeCS8679 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleMultiplicityBoundsCS_in_entryRuleMultiplicityBoundsCS8717 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicityBoundsCS8727 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleLOWER_in_ruleMultiplicityBoundsCS8773 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000800L}); |
| public static final BitSet FOLLOW_75_in_ruleMultiplicityBoundsCS8786 = new BitSet(new long[]{0x0000080000000040L}); |
| public static final BitSet FOLLOW_ruleUPPER_in_ruleMultiplicityBoundsCS8807 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleMultiplicityCS_in_entryRuleMultiplicityCS8845 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicityCS8855 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_76_in_ruleMultiplicityCS8892 = new BitSet(new long[]{0x0002080000000040L,0x0000000000004000L}); |
| public static final BitSet FOLLOW_ruleMultiplicityBoundsCS_in_ruleMultiplicityCS8918 = new BitSet(new long[]{0x0000000000000000L,0x0000000000002000L}); |
| public static final BitSet FOLLOW_ruleMultiplicityStringCS_in_ruleMultiplicityCS8948 = new BitSet(new long[]{0x0000000000000000L,0x0000000000002000L}); |
| public static final BitSet FOLLOW_77_in_ruleMultiplicityCS8960 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleMultiplicityStringCS_in_entryRuleMultiplicityStringCS8996 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicityStringCS9006 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_43_in_ruleMultiplicityStringCS9050 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_49_in_ruleMultiplicityStringCS9079 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_78_in_ruleMultiplicityStringCS9108 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTupleTypeCS_in_entryRuleTupleTypeCS9159 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTupleTypeCS9169 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_61_in_ruleTupleTypeCS9212 = new BitSet(new long[]{0x0000000400000002L}); |
| public static final BitSet FOLLOW_34_in_ruleTupleTypeCS9238 = new BitSet(new long[]{0x000033FBFF000030L}); |
| public static final BitSet FOLLOW_ruleTuplePartCS_in_ruleTupleTypeCS9260 = new BitSet(new long[]{0x0000000800040000L}); |
| public static final BitSet FOLLOW_18_in_ruleTupleTypeCS9273 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleTuplePartCS_in_ruleTupleTypeCS9294 = new BitSet(new long[]{0x0000000800040000L}); |
| public static final BitSet FOLLOW_35_in_ruleTupleTypeCS9310 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTuplePartCS_in_entryRuleTuplePartCS9348 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTuplePartCS9358 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleTuplePartCS9404 = new BitSet(new long[]{0x0000000000010000L}); |
| public static final BitSet FOLLOW_16_in_ruleTuplePartCS9416 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000104787FFL}); |
| public static final BitSet FOLLOW_ruleTypeExpCS_in_ruleTuplePartCS9437 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionLiteralExpCS_in_entryRuleCollectionLiteralExpCS9473 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleCollectionLiteralExpCS9483 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionTypeCS_in_ruleCollectionLiteralExpCS9529 = new BitSet(new long[]{0x0000000000020000L}); |
| public static final BitSet FOLLOW_17_in_ruleCollectionLiteralExpCS9541 = new BitSet(new long[]{0xE000FBF7FF2000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleCollectionLiteralPartCS_in_ruleCollectionLiteralExpCS9563 = new BitSet(new long[]{0x0000000000240000L}); |
| public static final BitSet FOLLOW_18_in_ruleCollectionLiteralExpCS9576 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleCollectionLiteralPartCS_in_ruleCollectionLiteralExpCS9597 = new BitSet(new long[]{0x0000000000240000L}); |
| public static final BitSet FOLLOW_21_in_ruleCollectionLiteralExpCS9613 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionLiteralPartCS_in_entryRuleCollectionLiteralPartCS9649 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleCollectionLiteralPartCS9659 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleCollectionLiteralPartCS9705 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000800L}); |
| public static final BitSet FOLLOW_75_in_ruleCollectionLiteralPartCS9718 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleCollectionLiteralPartCS9739 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleConstructorPartCS_in_entryRuleConstructorPartCS9777 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleConstructorPartCS9787 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleConstructorPartCS9839 = new BitSet(new long[]{0x0000000000400000L}); |
| public static final BitSet FOLLOW_22_in_ruleConstructorPartCS9851 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleConstructorPartCS9872 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrimitiveLiteralExpCS_in_entryRulePrimitiveLiteralExpCS9908 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRulePrimitiveLiteralExpCS9918 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNumberLiteralExpCS_in_rulePrimitiveLiteralExpCS9968 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleStringLiteralExpCS_in_rulePrimitiveLiteralExpCS9998 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleBooleanLiteralExpCS_in_rulePrimitiveLiteralExpCS10028 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnlimitedNaturalLiteralExpCS_in_rulePrimitiveLiteralExpCS10058 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleInvalidLiteralExpCS_in_rulePrimitiveLiteralExpCS10088 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNullLiteralExpCS_in_rulePrimitiveLiteralExpCS10118 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTupleLiteralExpCS_in_entryRuleTupleLiteralExpCS10153 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTupleLiteralExpCS10163 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_61_in_ruleTupleLiteralExpCS10200 = new BitSet(new long[]{0x0000000000020000L}); |
| public static final BitSet FOLLOW_17_in_ruleTupleLiteralExpCS10212 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleTupleLiteralPartCS_in_ruleTupleLiteralExpCS10233 = new BitSet(new long[]{0x0000000000240000L}); |
| public static final BitSet FOLLOW_18_in_ruleTupleLiteralExpCS10246 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleTupleLiteralPartCS_in_ruleTupleLiteralExpCS10267 = new BitSet(new long[]{0x0000000000240000L}); |
| public static final BitSet FOLLOW_21_in_ruleTupleLiteralExpCS10281 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTupleLiteralPartCS_in_entryRuleTupleLiteralPartCS10317 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTupleLiteralPartCS10327 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleTupleLiteralPartCS10373 = new BitSet(new long[]{0x0000000000410000L}); |
| public static final BitSet FOLLOW_16_in_ruleTupleLiteralPartCS10386 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000104787FFL}); |
| public static final BitSet FOLLOW_ruleTypeExpCS_in_ruleTupleLiteralPartCS10407 = new BitSet(new long[]{0x0000000000400000L}); |
| public static final BitSet FOLLOW_22_in_ruleTupleLiteralPartCS10421 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleTupleLiteralPartCS10442 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNumberLiteralExpCS_in_entryRuleNumberLiteralExpCS10478 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNumberLiteralExpCS10488 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNUMBER_LITERAL_in_ruleNumberLiteralExpCS10533 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleStringLiteralExpCS_in_entryRuleStringLiteralExpCS10568 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteralExpCS10578 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleStringLiteral_in_ruleStringLiteralExpCS10623 = new BitSet(new long[]{0x0000000000000082L}); |
| public static final BitSet FOLLOW_ruleBooleanLiteralExpCS_in_entryRuleBooleanLiteralExpCS10659 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteralExpCS10669 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_79_in_ruleBooleanLiteralExpCS10712 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_80_in_ruleBooleanLiteralExpCS10749 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnlimitedNaturalLiteralExpCS_in_entryRuleUnlimitedNaturalLiteralExpCS10798 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleUnlimitedNaturalLiteralExpCS10808 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_43_in_ruleUnlimitedNaturalLiteralExpCS10857 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleInvalidLiteralExpCS_in_entryRuleInvalidLiteralExpCS10893 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleInvalidLiteralExpCS10903 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_81_in_ruleInvalidLiteralExpCS10952 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNullLiteralExpCS_in_entryRuleNullLiteralExpCS10988 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNullLiteralExpCS10998 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_82_in_ruleNullLiteralExpCS11047 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypeLiteralCS_in_entryRuleTypeLiteralCS11083 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTypeLiteralCS11093 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrimitiveTypeCS_in_ruleTypeLiteralCS11143 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionTypeCS_in_ruleTypeLiteralCS11173 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTupleTypeCS_in_ruleTypeLiteralCS11203 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypeLiteralWithMultiplicityCS_in_entryRuleTypeLiteralWithMultiplicityCS11238 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTypeLiteralWithMultiplicityCS11248 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypeLiteralCS_in_ruleTypeLiteralWithMultiplicityCS11298 = new BitSet(new long[]{0x0000000000000002L,0x0000000000001000L}); |
| public static final BitSet FOLLOW_ruleMultiplicityCS_in_ruleTypeLiteralWithMultiplicityCS11318 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypeLiteralExpCS_in_entryRuleTypeLiteralExpCS11355 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTypeLiteralExpCS11365 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypeLiteralWithMultiplicityCS_in_ruleTypeLiteralExpCS11410 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypeNameExpCS_in_entryRuleTypeNameExpCS11445 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTypeNameExpCS11455 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePathNameCS_in_ruleTypeNameExpCS11500 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypeExpCS_in_entryRuleTypeExpCS11535 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleTypeExpCS11545 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypeNameExpCS_in_ruleTypeExpCS11596 = new BitSet(new long[]{0x0000000000000002L,0x0000000000001000L}); |
| public static final BitSet FOLLOW_ruleTypeLiteralCS_in_ruleTypeExpCS11626 = new BitSet(new long[]{0x0000000000000002L,0x0000000000001000L}); |
| public static final BitSet FOLLOW_ruleMultiplicityCS_in_ruleTypeExpCS11647 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_entryRuleExpCS11684 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleExpCS11694 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrefixedExpCS_in_ruleExpCS11745 = new BitSet(new long[]{0x1FFF480000400002L}); |
| public static final BitSet FOLLOW_ruleBinaryOperatorCS_in_ruleExpCS11778 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_rulePrefixedExpCS_in_ruleExpCS11801 = new BitSet(new long[]{0x1FFF480000400002L}); |
| public static final BitSet FOLLOW_ruleBinaryOperatorCS_in_ruleExpCS11823 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000104787FFL}); |
| public static final BitSet FOLLOW_rulePrefixedExpCS_in_ruleExpCS11844 = new BitSet(new long[]{0x1FFF480000400002L}); |
| public static final BitSet FOLLOW_ruleBinaryOperatorCS_in_ruleExpCS11868 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleLetExpCS_in_ruleExpCS11889 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleLetExpCS_in_ruleExpCS11919 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnaryOperatorCS_in_ruleExpCS11963 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleLetExpCS_in_ruleExpCS11985 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleLetExpCS_in_ruleExpCS12017 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrefixedExpCS_in_entryRulePrefixedExpCS12052 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRulePrefixedExpCS12062 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnaryOperatorCS_in_rulePrefixedExpCS12121 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000104787FFL}); |
| public static final BitSet FOLLOW_rulePrimaryExpCS_in_rulePrefixedExpCS12143 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrimaryExpCS_in_rulePrefixedExpCS12175 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrimaryExpCS_in_entryRulePrimaryExpCS12210 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRulePrimaryExpCS12220 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNestedExpCS_in_rulePrimaryExpCS12270 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleIfExpCS_in_rulePrimaryExpCS12300 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleSelfExpCS_in_rulePrimaryExpCS12330 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePrimitiveLiteralExpCS_in_rulePrimaryExpCS12360 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTupleLiteralExpCS_in_rulePrimaryExpCS12390 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionLiteralExpCS_in_rulePrimaryExpCS12420 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypeLiteralExpCS_in_rulePrimaryExpCS12450 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_rulePathNameCS_in_rulePrimaryExpCS12489 = new BitSet(new long[]{0x0000000400020002L,0x0000000000081000L}); |
| public static final BitSet FOLLOW_76_in_rulePrimaryExpCS12515 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleExpCS_in_rulePrimaryExpCS12536 = new BitSet(new long[]{0x0000000000040000L,0x0000000000002000L}); |
| public static final BitSet FOLLOW_18_in_rulePrimaryExpCS12549 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleExpCS_in_rulePrimaryExpCS12570 = new BitSet(new long[]{0x0000000000040000L,0x0000000000002000L}); |
| public static final BitSet FOLLOW_77_in_rulePrimaryExpCS12584 = new BitSet(new long[]{0x0000000000000002L,0x0000000000081000L}); |
| public static final BitSet FOLLOW_76_in_rulePrimaryExpCS12597 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleExpCS_in_rulePrimaryExpCS12618 = new BitSet(new long[]{0x0000000000040000L,0x0000000000002000L}); |
| public static final BitSet FOLLOW_18_in_rulePrimaryExpCS12631 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleExpCS_in_rulePrimaryExpCS12652 = new BitSet(new long[]{0x0000000000040000L,0x0000000000002000L}); |
| public static final BitSet FOLLOW_77_in_rulePrimaryExpCS12666 = new BitSet(new long[]{0x0000000000000002L,0x0000000000080000L}); |
| public static final BitSet FOLLOW_83_in_rulePrimaryExpCS12687 = new BitSet(new long[]{0x0000000000000000L,0x0000000000100000L}); |
| public static final BitSet FOLLOW_84_in_rulePrimaryExpCS12712 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_17_in_rulePrimaryExpCS12746 = new BitSet(new long[]{0x000033F3FF0000B0L}); |
| public static final BitSet FOLLOW_ruleConstructorPartCS_in_rulePrimaryExpCS12769 = new BitSet(new long[]{0x0000000000240000L}); |
| public static final BitSet FOLLOW_18_in_rulePrimaryExpCS12782 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleConstructorPartCS_in_rulePrimaryExpCS12803 = new BitSet(new long[]{0x0000000000240000L}); |
| public static final BitSet FOLLOW_ruleStringLiteral_in_rulePrimaryExpCS12833 = new BitSet(new long[]{0x0000000000200000L}); |
| public static final BitSet FOLLOW_21_in_rulePrimaryExpCS12846 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_83_in_rulePrimaryExpCS12873 = new BitSet(new long[]{0x0000000000000000L,0x0000000000100000L}); |
| public static final BitSet FOLLOW_84_in_rulePrimaryExpCS12898 = new BitSet(new long[]{0x0000000400000002L}); |
| public static final BitSet FOLLOW_34_in_rulePrimaryExpCS12925 = new BitSet(new long[]{0xE000FBFFFF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleNavigatingArgCS_in_rulePrimaryExpCS12947 = new BitSet(new long[]{0x0000000800840000L,0x0000000000200000L}); |
| public static final BitSet FOLLOW_ruleNavigatingCommaArgCS_in_rulePrimaryExpCS12968 = new BitSet(new long[]{0x0000000800840000L,0x0000000000200000L}); |
| public static final BitSet FOLLOW_ruleNavigatingSemiArgCS_in_rulePrimaryExpCS12991 = new BitSet(new long[]{0x0000000800040000L,0x0000000000200000L}); |
| public static final BitSet FOLLOW_ruleNavigatingCommaArgCS_in_rulePrimaryExpCS13012 = new BitSet(new long[]{0x0000000800040000L,0x0000000000200000L}); |
| public static final BitSet FOLLOW_ruleNavigatingBarArgCS_in_rulePrimaryExpCS13037 = new BitSet(new long[]{0x0000000800040000L}); |
| public static final BitSet FOLLOW_ruleNavigatingCommaArgCS_in_rulePrimaryExpCS13058 = new BitSet(new long[]{0x0000000800040000L}); |
| public static final BitSet FOLLOW_35_in_rulePrimaryExpCS13075 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNavigatingArgCS_in_entryRuleNavigatingArgCS13116 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNavigatingArgCS13126 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingArgCS13172 = new BitSet(new long[]{0x0000000000010002L}); |
| public static final BitSet FOLLOW_16_in_ruleNavigatingArgCS13185 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000104787FFL}); |
| public static final BitSet FOLLOW_ruleTypeExpCS_in_ruleNavigatingArgCS13206 = new BitSet(new long[]{0x0000000000400002L}); |
| public static final BitSet FOLLOW_22_in_ruleNavigatingArgCS13219 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleNavigatingArgCS13240 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNavigatingBarArgCS_in_entryRuleNavigatingBarArgCS13280 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNavigatingBarArgCS13290 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_85_in_ruleNavigatingBarArgCS13333 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingBarArgCS13367 = new BitSet(new long[]{0x0000000000010002L}); |
| public static final BitSet FOLLOW_16_in_ruleNavigatingBarArgCS13380 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000104787FFL}); |
| public static final BitSet FOLLOW_ruleTypeExpCS_in_ruleNavigatingBarArgCS13401 = new BitSet(new long[]{0x0000000000400002L}); |
| public static final BitSet FOLLOW_22_in_ruleNavigatingBarArgCS13414 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleNavigatingBarArgCS13435 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNavigatingCommaArgCS_in_entryRuleNavigatingCommaArgCS13475 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNavigatingCommaArgCS13485 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_18_in_ruleNavigatingCommaArgCS13528 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingCommaArgCS13562 = new BitSet(new long[]{0x0000000000010002L}); |
| public static final BitSet FOLLOW_16_in_ruleNavigatingCommaArgCS13575 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000104787FFL}); |
| public static final BitSet FOLLOW_ruleTypeExpCS_in_ruleNavigatingCommaArgCS13596 = new BitSet(new long[]{0x0000000000400002L}); |
| public static final BitSet FOLLOW_22_in_ruleNavigatingCommaArgCS13609 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleNavigatingCommaArgCS13630 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNavigatingSemiArgCS_in_entryRuleNavigatingSemiArgCS13670 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNavigatingSemiArgCS13680 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_23_in_ruleNavigatingSemiArgCS13723 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleNavigatingArgExpCS_in_ruleNavigatingSemiArgCS13757 = new BitSet(new long[]{0x0000000000010002L}); |
| public static final BitSet FOLLOW_16_in_ruleNavigatingSemiArgCS13770 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000104787FFL}); |
| public static final BitSet FOLLOW_ruleTypeExpCS_in_ruleNavigatingSemiArgCS13791 = new BitSet(new long[]{0x0000000000400002L}); |
| public static final BitSet FOLLOW_22_in_ruleNavigatingSemiArgCS13804 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleNavigatingSemiArgCS13825 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNavigatingArgExpCS_in_entryRuleNavigatingArgExpCS13865 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNavigatingArgExpCS13875 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleNavigatingArgExpCS13924 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleIfExpCS_in_entryRuleIfExpCS13958 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleIfExpCS13968 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_86_in_ruleIfExpCS14005 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleIfExpCS14026 = new BitSet(new long[]{0x0000000000000000L,0x0000000000800000L}); |
| public static final BitSet FOLLOW_87_in_ruleIfExpCS14038 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleIfExpCS14059 = new BitSet(new long[]{0x0000000000000000L,0x0000000001000000L}); |
| public static final BitSet FOLLOW_88_in_ruleIfExpCS14071 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleIfExpCS14092 = new BitSet(new long[]{0x0000000000000000L,0x0000000002000000L}); |
| public static final BitSet FOLLOW_89_in_ruleIfExpCS14104 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleLetExpCS_in_entryRuleLetExpCS14140 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleLetExpCS14150 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_90_in_ruleLetExpCS14187 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleLetVariableCS_in_ruleLetExpCS14208 = new BitSet(new long[]{0x0000000000040000L,0x0000000008000000L}); |
| public static final BitSet FOLLOW_18_in_ruleLetExpCS14221 = new BitSet(new long[]{0x000033F3FF000030L}); |
| public static final BitSet FOLLOW_ruleLetVariableCS_in_ruleLetExpCS14242 = new BitSet(new long[]{0x0000000000040000L,0x0000000008000000L}); |
| public static final BitSet FOLLOW_91_in_ruleLetExpCS14256 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleLetExpCS14277 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleLetVariableCS_in_entryRuleLetVariableCS14313 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleLetVariableCS14323 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleUnrestrictedName_in_ruleLetVariableCS14369 = new BitSet(new long[]{0x0000000000410000L}); |
| public static final BitSet FOLLOW_16_in_ruleLetVariableCS14382 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000104787FFL}); |
| public static final BitSet FOLLOW_ruleTypeExpCS_in_ruleLetVariableCS14403 = new BitSet(new long[]{0x0000000000400000L}); |
| public static final BitSet FOLLOW_22_in_ruleLetVariableCS14417 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleLetVariableCS14438 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleNestedExpCS_in_entryRuleNestedExpCS14474 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleNestedExpCS14484 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_34_in_ruleNestedExpCS14521 = new BitSet(new long[]{0xE000FBF7FF0000F0L,0x00000000144787FFL}); |
| public static final BitSet FOLLOW_ruleExpCS_in_ruleNestedExpCS14542 = new BitSet(new long[]{0x0000000800000000L}); |
| public static final BitSet FOLLOW_35_in_ruleNestedExpCS14554 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleSelfExpCS_in_entryRuleSelfExpCS14590 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_EOF_in_entryRuleSelfExpCS14600 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_92_in_ruleSelfExpCS14649 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionTemplateCS_in_synpred33_InternalQVTrelation3192 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTupleLiteralExpCS_in_synpred140_InternalQVTrelation12390 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleCollectionLiteralExpCS_in_synpred141_InternalQVTrelation12420 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_ruleTypeLiteralExpCS_in_synpred142_InternalQVTrelation12450 = new BitSet(new long[]{0x0000000000000002L}); |
| } |
| |
| |
| } |